@hanzo/team 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/dist/404.html +1 -1
  2. package/dist/admin/index.html +1 -1
  3. package/dist/agents/algo/index.html +1 -1
  4. package/dist/agents/art/index.html +1 -1
  5. package/dist/agents/biz/index.html +1 -1
  6. package/dist/agents/cal/index.html +1 -1
  7. package/dist/agents/core/index.html +1 -1
  8. package/dist/agents/cyber/index.html +1 -1
  9. package/dist/agents/data/index.html +1 -1
  10. package/dist/agents/db/index.html +1 -1
  11. package/dist/agents/des/index.html +1 -1
  12. package/dist/agents/dev/index.html +1 -1
  13. package/dist/agents/doc/index.html +1 -1
  14. package/dist/agents/ed/index.html +1 -1
  15. package/dist/agents/fin/index.html +1 -1
  16. package/dist/agents/gov/index.html +1 -1
  17. package/dist/agents/huma/index.html +1 -1
  18. package/dist/agents/index.html +1 -1
  19. package/dist/agents/lang/index.html +1 -1
  20. package/dist/agents/law/index.html +1 -1
  21. package/dist/agents/mana/index.html +1 -1
  22. package/dist/agents/mark/index.html +1 -1
  23. package/dist/agents/mo/index.html +1 -1
  24. package/dist/agents/mu/index.html +1 -1
  25. package/dist/agents/opera/index.html +1 -1
  26. package/dist/agents/rev/index.html +1 -1
  27. package/dist/agents/sal/index.html +1 -1
  28. package/dist/agents/sci/index.html +1 -1
  29. package/dist/agents/sec/index.html +1 -1
  30. package/dist/agents/su/index.html +1 -1
  31. package/dist/agents/vi/index.html +1 -1
  32. package/dist/apps/ads/index.html +1 -1
  33. package/dist/apps/ai-chat/index.html +1 -1
  34. package/dist/apps/analytics/index.html +1 -1
  35. package/dist/apps/billing/index.html +1 -1
  36. package/dist/apps/bots/index.html +1 -1
  37. package/dist/apps/cal/index.html +1 -1
  38. package/dist/apps/chat/index.html +1 -1
  39. package/dist/apps/cms/index.html +1 -1
  40. package/dist/apps/commerce/index.html +1 -1
  41. package/dist/apps/console/index.html +1 -1
  42. package/dist/apps/crm/index.html +1 -1
  43. package/dist/apps/dataroom/index.html +1 -1
  44. package/dist/apps/dev/index.html +1 -1
  45. package/dist/apps/email/index.html +1 -1
  46. package/dist/apps/index.html +1 -1
  47. package/dist/apps/meet/index.html +1 -1
  48. package/dist/apps/platform/index.html +1 -1
  49. package/dist/apps/sign/index.html +1 -1
  50. package/dist/apps/social/index.html +1 -1
  51. package/dist/apps/tracker/index.html +1 -1
  52. package/dist/assets/{ThemeToggleNext-Ce1pVODm.js → ThemeToggleNext-CJw-doaf.js} +2 -2
  53. package/dist/assets/{ThemeToggleNext-Ce1pVODm.js.map → ThemeToggleNext-CJw-doaf.js.map} +1 -1
  54. package/dist/assets/{index-dQXLV192.js → index-DwTbwlhL.js} +5 -5
  55. package/dist/assets/{index-dQXLV192.js.map → index-DwTbwlhL.js.map} +1 -1
  56. package/dist/auth/callback/index.html +1 -1
  57. package/dist/auth/index.html +1 -1
  58. package/dist/bots/index.html +1 -1
  59. package/dist/cal/index.html +1 -1
  60. package/dist/calendar/index.html +1 -1
  61. package/dist/chat/c-design/index.html +1 -1
  62. package/dist/chat/c-general/index.html +1 -1
  63. package/dist/chat/c-lux-bank/index.html +1 -1
  64. package/dist/chat/c-lux-bridge/index.html +1 -1
  65. package/dist/chat/c-revenue/index.html +1 -1
  66. package/dist/chat/c-support/index.html +1 -1
  67. package/dist/chat/c-tracker/index.html +1 -1
  68. package/dist/chat/c-ui/index.html +1 -1
  69. package/dist/chat/c-video/index.html +1 -1
  70. package/dist/chat/dm-algo/index.html +1 -1
  71. package/dist/chat/dm-art/index.html +1 -1
  72. package/dist/chat/dm-biz/index.html +1 -1
  73. package/dist/chat/dm-cal/index.html +1 -1
  74. package/dist/chat/dm-core/index.html +1 -1
  75. package/dist/chat/dm-cyber/index.html +1 -1
  76. package/dist/chat/dm-data/index.html +1 -1
  77. package/dist/chat/dm-db/index.html +1 -1
  78. package/dist/chat/dm-des/index.html +1 -1
  79. package/dist/chat/dm-dev/index.html +1 -1
  80. package/dist/chat/dm-doc/index.html +1 -1
  81. package/dist/chat/dm-ed/index.html +1 -1
  82. package/dist/chat/dm-fin/index.html +1 -1
  83. package/dist/chat/dm-gov/index.html +1 -1
  84. package/dist/chat/dm-huma/index.html +1 -1
  85. package/dist/chat/dm-lang/index.html +1 -1
  86. package/dist/chat/dm-law/index.html +1 -1
  87. package/dist/chat/dm-mana/index.html +1 -1
  88. package/dist/chat/dm-mark/index.html +1 -1
  89. package/dist/chat/dm-mo/index.html +1 -1
  90. package/dist/chat/dm-mu/index.html +1 -1
  91. package/dist/chat/dm-opera/index.html +1 -1
  92. package/dist/chat/dm-rev/index.html +1 -1
  93. package/dist/chat/dm-sal/index.html +1 -1
  94. package/dist/chat/dm-sci/index.html +1 -1
  95. package/dist/chat/dm-sec/index.html +1 -1
  96. package/dist/chat/dm-su/index.html +1 -1
  97. package/dist/chat/dm-vi/index.html +1 -1
  98. package/dist/chat/index.html +1 -1
  99. package/dist/crm/analytics/index.html +1 -1
  100. package/dist/crm/automations/index.html +1 -1
  101. package/dist/crm/campaigns/index.html +1 -1
  102. package/dist/crm/companies/index.html +1 -1
  103. package/dist/crm/contacts/index.html +1 -1
  104. package/dist/crm/customers/index.html +1 -1
  105. package/dist/crm/deliverability/index.html +1 -1
  106. package/dist/crm/forms/index.html +1 -1
  107. package/dist/crm/funds/index.html +1 -1
  108. package/dist/crm/index.html +1 -1
  109. package/dist/crm/investors/index.html +1 -1
  110. package/dist/crm/journeys/index.html +1 -1
  111. package/dist/crm/leads/index.html +1 -1
  112. package/dist/crm/lists/index.html +1 -1
  113. package/dist/crm/opportunities/index.html +1 -1
  114. package/dist/crm/segments/index.html +1 -1
  115. package/dist/crm/settings/index.html +1 -1
  116. package/dist/crm/templates/index.html +1 -1
  117. package/dist/crm/webhooks/index.html +1 -1
  118. package/dist/docs/index.html +1 -1
  119. package/dist/files/index.html +1 -1
  120. package/dist/inbox/index.html +1 -1
  121. package/dist/index.html +1 -1
  122. package/dist/issues/index.html +1 -1
  123. package/dist/issues/kanban/index.html +1 -1
  124. package/dist/issues/list/index.html +1 -1
  125. package/dist/login/index.html +1 -1
  126. package/dist/mail/index.html +1 -1
  127. package/dist/meet/index.html +1 -1
  128. package/dist/mine/index.html +1 -1
  129. package/dist/people/index.html +1 -1
  130. package/dist/projects/index.html +1 -1
  131. package/dist/projects/proj-crm/components/index.html +1 -1
  132. package/dist/projects/proj-crm/index.html +1 -1
  133. package/dist/projects/proj-crm/issues/index.html +1 -1
  134. package/dist/projects/proj-crm/issues/kanban/index.html +1 -1
  135. package/dist/projects/proj-crm/issues/list/index.html +1 -1
  136. package/dist/projects/proj-crm/milestones/index.html +1 -1
  137. package/dist/projects/proj-crm/templates/index.html +1 -1
  138. package/dist/projects/proj-dev/components/index.html +1 -1
  139. package/dist/projects/proj-dev/index.html +1 -1
  140. package/dist/projects/proj-dev/issues/index.html +1 -1
  141. package/dist/projects/proj-dev/issues/kanban/index.html +1 -1
  142. package/dist/projects/proj-dev/issues/list/index.html +1 -1
  143. package/dist/projects/proj-dev/milestones/index.html +1 -1
  144. package/dist/projects/proj-dev/templates/index.html +1 -1
  145. package/dist/projects/proj-mkt/components/index.html +1 -1
  146. package/dist/projects/proj-mkt/index.html +1 -1
  147. package/dist/projects/proj-mkt/issues/index.html +1 -1
  148. package/dist/projects/proj-mkt/issues/kanban/index.html +1 -1
  149. package/dist/projects/proj-mkt/issues/list/index.html +1 -1
  150. package/dist/projects/proj-mkt/milestones/index.html +1 -1
  151. package/dist/projects/proj-mkt/templates/index.html +1 -1
  152. package/dist/projects/proj-next/components/index.html +1 -1
  153. package/dist/projects/proj-next/index.html +1 -1
  154. package/dist/projects/proj-next/issues/index.html +1 -1
  155. package/dist/projects/proj-next/issues/kanban/index.html +1 -1
  156. package/dist/projects/proj-next/issues/list/index.html +1 -1
  157. package/dist/projects/proj-next/milestones/index.html +1 -1
  158. package/dist/projects/proj-next/templates/index.html +1 -1
  159. package/dist/settings/index.html +1 -1
  160. package/dist/time/index.html +1 -1
  161. package/package.json +1 -1
@@ -49,7 +49,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
49
49
  display:none
50
50
  }
51
51
  `,DD=R(V,{name:`SelectValue`,userSelect:`none`}),zie=DD.styleable(function({scope:e,children:t,placeholder:n,...r},i){let a=mD(e),o=gD(e),s=Nl(i,a.onValueNodeChange),c=a.value==null||a.value===``,l=a.renderValue?.(a.value),u=t??l??o.selectedItem??a.value,d=c?n??u:u;return(0,L.jsx)(DD,{...!r.unstyled&&{size:o.size,ellipsis:!0,pointerEvents:`none`},ref:s,...r,children:OD(d)})});function OD(e){return b.Children.map(e,e=>{if(e){if(e.type?.staticConfig?.componentName===`SelectItemText`)return e.props.children;if(e.props?.children)return OD(e.props.children)}return e})}var Bie=R(B,{name:`SelectIcon`,"aria-hidden":!0,children:(0,L.jsx)(yh,{children:`▼`})}),Vie=R(B,{name:`SelectItemIndicator`}),Hie=b.forwardRef(function(e,t){let{scope:n,...r}=e,i=gD(n),a=yD(n);return i.shouldRenderWebNative?null:a.isSelected?(0,L.jsx)(Vie,{"aria-hidden":!0,...r,ref:t}):null}),kD=R(z,{name:`SelectIndicator`,variants:{unstyled:{false:{position:`absolute`,top:0,left:0,pointerEvents:`none`,zIndex:10,backgroundColor:`$background`,borderRadius:0}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}}),Uie=kD.styleable(function({scope:e,...t},n){let r=gD(e),i=mD(e),[a,o]=b.useState(null),s=b.useRef(0);return b.useLayoutEffect(()=>{let e=e=>{typeof e==`number`&&(cancelAnimationFrame(s.current),s.current=requestAnimationFrame(()=>{let t=r.listRef?.current?.[e];t&&o({width:Math.round(t.offsetWidth),height:Math.round(t.offsetHeight),x:Math.round(t.offsetLeft),y:Math.round(t.offsetTop)})}))};return i.open&&i.activeIndexRef.current!==null&&e(i.activeIndexRef.current),r.activeIndexSubscribe(e)},[i.open,r.listRef]),a?(0,L.jsx)(kD,{ref:n,...t,width:a.width,height:a.height,x:a.x,y:a.y}):null}),AD=`SelectGroup`,{Provider:Wie,useStyledContext:Gie}=No({id:``},`SelectGroup`),Kie=R(z,{name:AD,width:`100%`}),qie=R(V,{render:`select`,backgroundColor:`$background`,borderColor:`$borderColor`,hoverStyle:{backgroundColor:`$backgroundHover`}}),Jie=R(z,{name:`NativeSelect`,variants:{size:{"...size":(e,t)=>{let{tokens:n}=t,r=Kc(n.space[e]);return{borderRadius:n.radius[e]??e,minHeight:n.size[e],paddingRight:r+20,paddingLeft:r,paddingVertical:sh(e,{shift:-3})}}},unstyled:{false:{borderWidth:1,borderColor:`$borderColor`,userSelect:`none`,outlineWidth:0,paddingRight:10}}},defaultVariants:{size:`$2`,unstyled:{}.GUI_HEADLESS===`1`}}),jD=b.forwardRef((e,t)=>{let{scope:n,...r}=e,i=b.useId(),a=mD(n),o=gD(n),s=o.size??`$true`,c=b.useRef(null),l=o.shouldRenderWebNative?(0,L.jsx)(Jie,{asChild:!0,size:s,value:a.value,id:o.id,children:(0,L.jsx)(qie,{onChange:e=>{o.onChange(e.currentTarget.value)},size:s,ref:c,style:{color:`var(--color)`,appearance:`none`},children:e.children})}):(0,L.jsx)(Kie,{role:`group`,"aria-labelledby":i,...r,ref:t});return(0,L.jsx)(Wie,{scope:n,id:i||``,children:l})});jD.displayName=AD;var MD=R(V,{name:`SelectLabel`,variants:{unstyled:{false:{size:`$true`,ellipsis:!0,maxWidth:`100%`,cursor:`default`}},size:{"...size":(e,{tokens:t})=>({paddingHorizontal:t.space[e],paddingVertical:sh(t.space[e],{shift:-4})})}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}}),Yie=MD.styleable((e,t)=>{let{scope:n,...r}=e,i=gD(n),a=Gie(n);return i.shouldRenderWebNative?null:(0,L.jsx)(MD,{render:`div`,id:a.id,size:i.size,...r,ref:t})});R(dD,{name:`SelectSeparator`});var Xie=e=>{let t=mD(e.scope),n=_D(t),r=Zh(t.adaptScope),i=Jp(n);return(0,L.jsx)(s_,{onOpenChange:t=>{i()&&e.onOpenChange(t)},open:t.open,hidden:!r,children:e.children})},Zie=e=>(0,L.jsx)(L.Fragment,{children:e.children}),ND=Lc(function(e){let t=`AdaptSelect${e.scope||``}`;return(0,L.jsx)(Kh,{scope:t,portal:!0,children:(0,L.jsx)(Qie,{scope:e.scope,adaptScope:t,...e})})},{Adapt:Jh,Content:Die,Group:jD,Icon:Bie,Item:jie,ItemIndicator:Hie,ItemText:Mie,Label:Yie,ScrollDownButton:wD,ScrollUpButton:SD,Trigger:Fie,Value:zie,Viewport:Lie,Indicator:Uie,FocusScope:Fg});function PD(){let e=b.useRef(new Set);return[b.useCallback(t=>{e.current.forEach(e=>e(t))},[]),b.useCallback(t=>(e.current.add(t),()=>{e.current.delete(t)}),[])]}function Qie(e){let{scope:t=``,adaptScope:n,native:r,children:i,open:a,defaultOpen:o,onOpenChange:s,value:c,defaultValue:l,onValueChange:u,disablePreventBodyScroll:d,size:f=`$true`,onActiveChange:p,dir:m,id:h,renderValue:g,lazyMount:_,zIndex:v}=e,y=Zh(n)?Zie:kie,x=b.useReducer(()=>({}),{})[1],[S,C]=b.useState(null),[w,T]=dm({prop:a,defaultProp:o||!1,onChange:s}),[E,D]=dm({prop:c,defaultProp:l||``,onChange:u,transition:!0});b.useEffect(()=>{w&&j(E)},[w]),b.useEffect(()=>{j(E)},[E]);let O=b.useRef(null),[k,A]=b.useState(null),[j,ee]=PD(),[M,te]=PD(),ne=b.useRef(null),N=b.useRef([]),[P,re]=b.useState(0),[ie,ae]=b.useState(null);Uo(()=>{ne.current=P});let oe=r===!0||r===`web`||Array.isArray(r)&&r.includes(`web`),se=b.useCallback(e=>{O.current!==e&&(O.current=e,typeof e==`number`&&M(e))},[M]),ce=b.useCallback(e=>{se(e),A(e)},[se]),le=(0,L.jsx)(hD,{scopeName:t,scope:t,adaptScope:n,initialValue:b.useMemo(()=>E,[w]),size:f,activeIndexSubscribe:te,activeIndexRef:O,valueSubscribe:ee,setOpen:T,id:h,onChange:b.useCallback(e=>{D(e),j(e)},[]),onActiveChange:Yp((e,t)=>{p?.(e,t)}),setSelectedIndex:re,setValueAtIndex:b.useCallback((e,t)=>{N.current[e]=t},[]),shouldRenderWebNative:oe,setActiveIndexFast:se,selectedItem:S,setSelectedItem:C,children:(0,L.jsx)(pD,{scope:t,scopeName:t,adaptScope:n,disablePreventBodyScroll:d,dir:m,blockSelection:!1,fallback:!1,forceUpdate:x,valueNode:ie,onValueNodeChange:ae,activeIndex:k,activeIndexRef:O,selectedIndex:P,setActiveIndex:ce,value:E,open:w,native:r,renderValue:g,lazyMount:_,children:(0,L.jsx)(Xie,{onOpenChange:T,scope:t,children:oe?i:(0,L.jsx)(y,{activeIndexRef:O,listContentRef:N,selectedIndexRef:ne,setActiveIndexFast:se,...e,open:w,value:E,children:i})})})});return v===void 0?le:(0,L.jsx)(fD.Provider,{value:v,children:le})}function $ie(e){return e?`checked`:`unchecked`}var eae=e=>{let{control:t,checked:n,bubbles:r=!0,...i}=e,a=b.useRef(null),o=TS(n);return b.useEffect(()=>{let e=a.current,t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,`checked`).set;if(o!==n&&i){let t=new Event(`click`,{bubbles:r});i.call(e,n),e.dispatchEvent(t)}},[o,n,r]),(0,L.jsx)(`input`,{type:`checkbox`,"aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:a,style:{...e.style,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}})};function tae(e,[t,n],r){{let{disabled:i,name:a,value:o,required:s}=e,c=b.useRef(!1),[l,u]=b.useState(null),d=Nl(r,u),f=!l||!!l.closest(`form`),p=wS(l),m=e[`aria-labelledby`]||e.labeledBy||p;return{switchProps:{role:`switch`,"aria-checked":t,tabIndex:i?void 0:0,"data-state":$ie(t),"data-disabled":i?``:void 0,disabled:i,"aria-labelledby":m,onPress:lc(e.onPress,e=>{n(e=>!e),f&&(c.current=e.isPropagationStopped(),c.current||e.stopPropagation())})},switchRef:d,bubbleInput:f?(0,L.jsx)(eae,{control:l,bubbles:!c.current,name:a,value:o,checked:t,required:s,disabled:i,style:{transform:`translateX(-100%)`}}):null}}}var FD=No({active:!1,disabled:!1,frameWidth:void 0,size:void 0,unstyled:{}.GUI_HEADLESS===`1`}),ID=R(z,{name:`SwitchThumb`,variants:{unstyled:{false:{size:`$true`,backgroundColor:`$background`,borderRadius:1e3}},size:{"...size":e=>{let t=LD(e);return{height:t,width:t}}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}},{accept:{activeStyle:`style`}}),LD=e=>Math.round(Kc(oh(e))*.65),nae=e=>LD(e)*2,RD=R(z,{name:`Switch`,render:`button`,tabIndex:0,variants:{unstyled:{false:{borderRadius:1e3,backgroundColor:`$background`,focusVisibleStyle:{outlineColor:`$outlineColor`,outlineStyle:`solid`,outlineWidth:2}}},size:{"...size":(e,{props:t})=>{if(t.unstyled)return;let n=LD(e);return{height:n,minHeight:n,width:nae(e)}}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}},{accept:{activeStyle:`style`}});function rae(e){return null}function iae(e){let{Frame:t=RD,Thumb:n=ID}=e;t.staticConfig.context=FD,n.staticConfig.context=FD;let r=n.styleable(function(e,t){let{size:r,unstyled:i,activeStyle:a,...o}=e,{unstyled:s,size:c,active:l,disabled:u,frameWidth:d=0}=FD.useStyledContext(),f={}.GUI_HEADLESS===`1`?!0:i??s??!1,p=r??c??`$true`,m=b.useRef(l).current,h=Kc(e.width||p,`size`),[g,_]=b.useState(typeof h==`number`?h:0),v=d-g,y=m?l?0:-v:l?v:0;return(0,L.jsx)(n,{ref:t,unstyled:f,...f===!1&&{size:p},alignSelf:m?`flex-end`:`flex-start`,x:y,onLayout:lc(e.onLayout,e=>{let t=e.nativeEvent.layout.width;_(t)}),disabled:u,...o,...l&&a})});return Lc(t.styleable(function(e,n){let{native:r,nativeProps:i,checked:a,defaultChecked:o,onCheckedChange:s,activeStyle:c,unstyled:l,activeTheme:u,...d}=e,[f,p]=dm({prop:a,defaultProp:o||!1,onChange:s,transition:!0}),m=b.useContext(FD.context),[h,g]=b.useState(0),{switchProps:_,bubbleInput:v,switchRef:y}=tae(d,[f,p],n),x=rae({id:d.id,disabled:d.disabled,native:r,nativeProps:i,checked:f,setChecked:p});if(x)return x;let S=d.disabled,C=e=>{let t=e.nativeEvent.layout.width;t!==h&&g(t)},w=m.unstyled??l??!1;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(FD.Provider,{size:m.size??d.size??`$true`,unstyled:w,active:f,disabled:S,frameWidth:h,children:(0,L.jsx)(t,{ref:y,render:`button`,theme:u??null,type:`button`,...!w&&{size:m.size??d.size??`$true`},unstyled:w,...d,..._,disabled:S,...f&&{...!w&&!c&&{backgroundColor:`$backgroundActive`},...c},children:(0,L.jsx)(qm,{alignSelf:`stretch`,flex:1,onLayout:C,children:d.children})})}),v]})},{disableTheme:!0}),{Thumb:r})}var zD=iae({Frame:RD,Thumb:ID}),BD=No({size:void 0}),{Provider:aae,useStyledContext:VD}=No(),HD=R(mh,{name:`Tabs`}),UD=R(qm,{name:`TabsTrigger`,role:`tab`,variants:{size:{"...size":ph},disabled:{true:{pointerEvents:`none`}},unstyled:{false:{borderWidth:0,backgroundColor:`$background`,userSelect:`none`,justifyContent:`center`,alignItems:`center`,flexWrap:`nowrap`,flexDirection:`row`,cursor:`pointer`,pressStyle:{backgroundColor:`$backgroundPress`},focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`,zIndex:10}}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}},{accept:{activeStyle:`style`}}),WD=R(ah,{name:`TabsContent`});function oae(e){let{ContentFrame:t=WD,TabFrame:n=UD,TabsFrame:r=HD}=e,i=`TabsContext`,a=`TabsList`,o=b.forwardRef((e,t)=>{let{__scopeTabs:n,loop:r=!0,children:o,...s}=e,c=VD(n);return(0,L.jsx)(EE,{__scopeRovingFocusGroup:n||i,orientation:c.orientation,dir:c.dir,loop:r,asChild:!0,children:(0,L.jsx)(qS,{role:`tablist`,componentName:a,"aria-orientation":c.orientation,ref:t,orientation:c.orientation,...s,children:o})})});o.displayName=a;let s=n.styleable((e,t)=>{let{__scopeTabs:r,value:a,disabled:o=!1,onInteraction:s,activeStyle:c,activeTheme:l,unstyled:u=!1,...d}=e,f=VD(r),p=GD(f.baseId,a),m=KD(f.baseId,a),h=a===f.value,[g,_]=b.useState(null),v=b.useRef(null),y=KS({disabled:!!o});return b.useEffect(()=>(f.registerTrigger(),()=>f.unregisterTrigger()),[]),b.useEffect(()=>{if(!v.current)return;let e=v.current;function t(){e&&_({width:e.offsetWidth,height:e.offsetHeight,x:e.offsetLeft,y:e.offsetTop})}t();let n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect()}},[f.triggersCount]),b.useEffect(()=>{h&&g&&s?.(`select`,g)},[h,a,g]),(0,L.jsx)(EE.Item,{__scopeRovingFocusGroup:r||i,asChild:!0,focusable:!o,active:h,children:(0,L.jsx)(n,{onMouseEnter:lc(e.onMouseEnter,()=>{g&&s?.(`hover`,g)}),onMouseLeave:lc(e.onMouseLeave,()=>{s?.(`hover`,null)}),role:`tab`,"aria-selected":h,"aria-controls":m,"data-state":h?`active`:`inactive`,"data-disabled":o?``:void 0,id:p,theme:l??null,unstyled:u,...!u&&{size:f.size},...h&&{...!u&&!c&&{backgroundColor:`$backgroundActive`},...c},...y,disabled:o??y.disabled,...d,ref:Ml(t,v),onPress:lc(e.onPress??void 0,e=>{let t=e.button===0&&e.ctrlKey===!1;!o&&!h&&t&&f.onChange(a)}),onKeyDown:lc(e.onKeyDown,e=>{[` `,`Enter`].includes(e.key)&&(f.onChange(a),e.preventDefault())}),onFocus:lc(e.onFocus,e=>{g&&s?.(`focus`,g);let t=f.activationMode!==`manual`;!h&&!o&&t&&f.onChange(a)}),onBlur:lc(e.onBlur,()=>{s?.(`focus`,null)})})})});s.displayName=`TabsTrigger`;let c=t.styleable(function(e,n){let{__scopeTabs:r,value:i,forceMount:a,children:o,...s}=e,c=VD(r),l=i===c.value,u=a||l,d=GD(c.baseId,i),f=KD(c.baseId,i);return u?(0,L.jsx)(t,{"data-state":l?`active`:`inactive`,"data-orientation":c.orientation,role:`tabpanel`,"aria-labelledby":d,hidden:!u,id:f,tabIndex:0,...s,ref:n,children:o},i):null});return Lc(r.styleable(function(e,t){let{__scopeTabs:n,value:i,onValueChange:a,defaultValue:o,orientation:s=`horizontal`,dir:c,activationMode:l=`manual`,size:u=`$true`,...d}=e,f=Sh(c),[p,m]=dm({prop:i,onChange:a,defaultProp:o??``}),[h,g]=b.useState(0),_=Yp(()=>g(e=>e+1)),v=Yp(()=>g(e=>e-1));return(0,L.jsx)(BD.Provider,{size:u,children:(0,L.jsx)(aae,{scope:n,baseId:b.useId(),value:p,onChange:m,orientation:s,dir:f,activationMode:l,size:u,registerTrigger:_,triggersCount:h,unregisterTrigger:v,children:(0,L.jsx)(r,{direction:f,"data-orientation":s,...d,ref:t})})})}),{List:o,Trigger:s,Tab:s,Content:c})}function GD(e,t){return`${e}-trigger-${t}`}function KD(e,t){return`${e}-content-${t}`}var qD=oae({ContentFrame:WD,TabFrame:UD,TabsFrame:HD}),JD=R(Kp,{position:`absolute`,width:1,height:1,margin:-1,zIndex:-1e4,overflow:`hidden`,opacity:1e-8,pointerEvents:`none`,variants:{preserveDimensions:{true:{position:`relative`,width:`auto`,height:`auto`}},visible:{true:{position:`relative`,width:`auto`,height:`auto`,margin:0,zIndex:1,overflow:`visible`,opacity:1,pointerEvents:`auto`}}}});JD.isVisuallyHidden=!0;var sae=(e,{message:t,notificationOptions:n})=>!(`Notification`in window)||Notification.permission!==`granted`?!1:{nativeToastRef:new Notification(e,{body:t,...n})},YD=``,cae={focus:!0,"remove-scroll":!0},lae=_E.styleable((e,t)=>{let n=b.useContext(XD),r=b.useContext(ZD);return(0,L.jsx)(iD,{scope:e.scope||YD,alwaysDisable:cae,...!e.unstyled&&{backgroundColor:`$background`,alignItems:`center`,pointerEvents:`none`,size:`$true`},ref:t,...r!==void 0&&{zIndex:r},...e,...n&&{transition:null}})},{staticConfig:{componentName:`Tooltip`}}),uae=b.forwardRef((e,t)=>(0,L.jsx)(sD,{scope:e.scope||YD,componentName:`Tooltip`,ref:t,...e})),XD=b.createContext(!1),ZD=b.createContext(void 0),dae=({children:e,delay:t,preventAnimation:n=!1,timeoutMs:r})=>(0,L.jsx)(XD.Provider,{value:n,children:(0,L.jsx)(Tre,{timeoutMs:r,delay:b.useMemo(()=>t,[JSON.stringify(t)]),children:e})}),QD=new Set,fae=b.forwardRef(function(e,t){"use no memo";let{children:n,delay:r,restMs:i,onOpenChange:a,focus:o,open:s,disableAutoCloseOnScroll:c,zIndex:l,scope:u=YD,...d}=e,f=b.useRef(null),[p,m]=b.useState(!1),{delay:h,setCurrentId:g}=wre(),_=r===void 0?h??400:r,v=i??(typeof _==`number`?_:0),[y,x]=dm({prop:s,defaultProp:!1,onChange:a}),S=e.groupId,C=Yp(e=>{e&&g(S),x(e)});b.useEffect(()=>{if(!y||c||typeof document>`u`)return;let e=()=>{x(!1)};return QD.add(x),document.documentElement.addEventListener(`scroll`,e),()=>{QD.delete(x),document.documentElement.removeEventListener(`scroll`,e)}},[y,c]);let w=GE({open:y,setOpen:C,disable:!1,disableFocus:!1,hoverable:!0,role:`tooltip`,focus:o,groupId:S,delay:_,restMs:v}),T=b.useCallback(()=>m(!0),[]),E=b.useCallback(()=>m(!1),[]),D=b.useId(),O=e.unstyled?null:oh(`$true`,{shift:-2,bounds:[0]}),k=(0,L.jsx)(lT.Provider,{value:w,children:(0,L.jsx)(hE,{scope:u,size:O?.key,allowFlip:!0,stayInFrame:!0,open:y,...d,children:(0,L.jsx)(eD,{scope:u,contentId:D,triggerRef:f,open:y,onOpenChange:x,onOpenToggle:mae,hasCustomAnchor:p,onCustomAnchorAdd:T,onCustomAnchorRemove:E,children:n})})});return l===void 0?k:(0,L.jsx)(ZD.Provider,{value:l,children:k})}),pae=b.forwardRef(function(e,t){let{scope:n,...r}=e;return(0,L.jsx)(rD,{...r,scope:n||YD,ref:t})}),$D=Lc(fae,{Anchor:b.forwardRef(function(e,t){let{scope:n,...r}=e;return(0,L.jsx)(nD,{...r,scope:n||YD,ref:t})}),Arrow:uae,Content:lae,Trigger:pae}),mae=()=>{};function hae(e){let t=b.useRef(null);return{ref:t,composedRef:Nl(t,e)}}var eO=Km,gae=[`facebook.`,`instagram.`,`twitter.`,`x.com`,`t.co`,`linkedin.`,`reddit.`,`youtube.`,`tiktok.`,`pinterest.`,`news.ycombinator.com`],_ae=[`google.`,`bing.`,`duckduckgo.`,`yahoo.`,`baidu.`,`ecosia.`];function vae(e,t){let n=new URLSearchParams(e||``),r=e=>{let t=n.get(e);return t?t.trim():void 0},i={utm:{source:r(`utm_source`),medium:r(`utm_medium`),campaign:r(`utm_campaign`),term:r(`utm_term`),content:r(`utm_content`)},referrer:t?t.trim():void 0,refCode:r(`ref`)||r(`refCode`)||r(`ref_code`)||void 0};return i.channel=tO(i),i}function tO(e){let t=(e.utm.medium||``).toLowerCase();if(/(cpc|ppc|paid|paidsearch|display|cpm)/.test(t))return`paid`;if(e.utm.source||e.utm.campaign)return`campaign`;if(e.refCode)return`referral`;let n=nO(e.referrer);return n?gae.some(e=>n.includes(e))?`social`:_ae.some(e=>n.includes(e))?`organic`:`referral`:`direct`}function nO(e){if(!e)return``;let t=e.trim(),n=t.indexOf(`://`);n>=0&&(t=t.slice(n+3));let r=t.search(/[/?#]/);r>=0&&(t=t.slice(0,r));let i=t.indexOf(`@`);i>=0&&(t=t.slice(i+1));let a=t.indexOf(`:`);return a>=0&&(t=t.slice(0,a)),t.toLowerCase().trim()}function yae(e){return!!(e.utm.source||e.utm.medium||e.utm.campaign||e.utm.term||e.utm.content||e.refCode||e.referrer&&nO(e.referrer))}var rO=Object.freeze({hanzo:Object.freeze([`hanzo.ai`,`hanzo.agency`,`hanzo.app`,`hanzo.bot`,`hanzo.chat`,`hanzo.codes`,`hanzo.community`,`hanzo.computer`,`hanzo.help`,`hanzo.id`,`hanzo.industries`,`hanzo.market`,`hanzo.network`,`hanzo.sh`,`hanzo.team`,`hanzo.ventures`,`hanzo.works`,`hanzoskills.com`]),lux:Object.freeze([`lux.network`,`lux.exchange`,`lux.market`,`lux.finance`,`lux.financial`,`lux.credit`,`lux.fund`,`lux.id`]),zoo:Object.freeze([`zoo.ngo`,`zoo.network`,`zoolabs.id`,`zoolabs.io`])}),iO=Object.freeze({hanzo:`pk-CmfLA2K6kvsPflrS9DSkt06H_kSoQB_21sjedt6VJdc`,lux:`pk-gUZp6ZVfhJzSwK-rb4oLbVkpCnMBx5uSCpxf_5yEhQk`,zoo:`pk-3TKpKnERV9AQSsBUERWkZejC1O1mUxc1jRzsP3MPbs4`}),aO=Object.freeze({"hanzo.ai":`pk-CmfLA2K6kvsPflrS9DSkt06H_kSoQB_21sjedt6VJdc`,"www.hanzo.ai":`pk-CmfLA2K6kvsPflrS9DSkt06H_kSoQB_21sjedt6VJdc`,"hanzo.app":`pk-wlnXN2a9_vmCm60yTFtQ629Q8TyuaxBNZbY1RWT72gQ`,"hanzo.team":`pk-NCzD2FiHpZv8KUpkCX4olT1LJOJsMxBC_Z8NkiQsOFQ`,"pay.hanzo.ai":`pk-eX6kv7JZNoiYn1WkeJH3tT_8OvkVYScmCXnLMwxTKf8`,"platform.hanzo.ai":`pk-My1RpZLEUnTj8vAdPbWKYdDUuhxZJ4dVjHcwjZN4rZ8`,"docs.hanzo.ai":`pk-jukhtjMT2ymoeBDAeFjINQWlBv-v9sNn1TPztiCrrwk`,"hanzo.bot":`pk-W5d7Mn7ZukT7igyscIy6Pqe8JpA0Ge604Yn4xNR4JCU`,"hanzo.chat":`pk-ATxWeB2jNyRSxDgqnkGoDj3CCbzrmTxSktUh9zlrO-E`,"hanzo.id":`pk-_GVF3KlaqprlPHDumBMRFeFU1lIGOaarQfgimNVDIo8`,"hanzo.industries":`pk-Vh1wvL2HqIAv9qpVvmrznTI9uMHrTD-jyIC-vnlBsgY`,"hanzo.market":`pk-DN3xQFa0H61epUVg9OkiOYLzCdteNt9hE6f-S-ednjQ`,"hanzo.network":`pk-YJ2eiA_7ckLStMPte8Ar8FsmRp_ycmeIeRbpGprZYmM`,"hanzo.agency":`pk-26a2clOaJFe24aKJZ0PkI-GWR9F4EEa8rthHzgy_Efw`,"console.hanzo.ai":`pk-oFNXoiO1wOD8PqGdHYyiSq6jaNCdrd7TpztGpwM2ZiQ`,"admin.hanzo.ai":`pk-RYZwxkomW-tlAnEu2DKo_kAzcxFbSF2YiYcsUY48QL0`,"bot.hanzo.ai":`pk-W5d7Mn7ZukT7igyscIy6Pqe8JpA0Ge604Yn4xNR4JCU`,"cloud.hanzo.ai":`pk-RAfEGHPoNdCEU9fnA_cPd_Xo9Tci44rlYQV9xuJ1Ob0`});function bae(e){let t=oO(e).replace(/^www\./,``);return aO[t]??(t.endsWith(`.hanzo.app`)?aO[`hanzo.app`]:void 0)}var xae=`pk-`,oO=e=>e.trim().toLowerCase().replace(/\.$/,``).split(`:`)[0]??``;function sO(e){let t=oO(e);if(!t)return;let n,r=0;for(let[e,i]of Object.entries(rO))for(let a of i)(t===a||t.endsWith(`.${a}`))&&a.length>r&&(n=e,r=a.length);return n}function Sae(e,t=iO){if(t===iO){let t=bae(e);if(t)return t}let n=sO(e);if(!n)return;let r=t[n];if(typeof r!=`string`)return;let i=r.trim();return i.startsWith(xae)?i:void 0}function Cae(e=iO){if(!(typeof location>`u`))return Sae(location.hostname,e)}var cO=`[redacted]`,wae=`[email]`,lO=`[ip]`,Tae=[/-----BEGIN[ A-Z]*PRIVATE KEY-----[\s\S]*?-----END[ A-Z]*PRIVATE KEY-----/g,/eyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{6,}\.[A-Za-z0-9_-]{6,}/g,/\bbearer\s+[A-Za-z0-9._~+/-]{12,}=*/gi,/\b(?:sk|pk|rk)-[A-Za-z0-9]{2,}-?[A-Za-z0-9]{12,}/g,/\b(?:sk|pk)_(?:live|test)_[A-Za-z0-9]{16,}/g,/\bhk-[A-Za-z0-9]{16,}/g,/\bAKIA[0-9A-Z]{16}\b/g,/\bASIA[0-9A-Z]{16}\b/g,/\bAIza[0-9A-Za-z_-]{20,}/g,/\bgh[posru]_[A-Za-z0-9]{20,}/g,/\bxox[baprs]-[A-Za-z0-9-]{10,}/g,/[a-zA-Z][a-zA-Z0-9+.-]{0,32}:\/\/[^\s:@/]{1,256}:[^\s@/]{1,256}@/g],Eae=/\b(?:\d[ -]?){13,19}\b/g;function Dae(e){let t=0,n=!1;for(let r=e.length-1;r>=0;r--){let i=e.charCodeAt(r)-48;n&&(i*=2,i>9&&(i-=9)),t+=i,n=!n}return t%10==0}function Oae(e){return e.replace(Eae,e=>{let t=e.replace(/[ -]/g,``);return t.length<13||t.length>19?e:Dae(t)?cO:e})}var kae=/[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{1,255}\.[A-Za-z]{2,24}/g,Aae=/\b(?:\d{1,3}\.){3}\d{1,3}\b/g,jae=/\b(?:[0-9A-Fa-f]{1,4}:){2,7}[0-9A-Fa-f]{1,4}\b/g,Mae=RegExp(`([?&#;](?:`+`code.state.token.access_token.id_token.refresh_token.auth.authorization.secret.client_secret.password.passwd.pwd.api_key.apikey.key.session.session_id.sid.sig.signature.nonce.otp.invite.invitation.reset_token.confirmation_token.magic.ticket.assertion`.split(`.`).join(`|`)+`)=)[^&#;\\s]{1,4096}`,`gi`);function Nae(e){return e.replace(Mae,(e,t)=>t+cO)}var Pae=/(^|[^A-Za-z0-9_-]|%[0-9A-Fa-f]{2})((?=[A-Za-z0-9_-]{0,42}[a-z])(?=[A-Za-z0-9_-]{0,42}[A-Z])[A-Za-z0-9_-]{43})(?![A-Za-z0-9_-])/g;function Fae(e){e=Nae(e);for(let t of Tae)e=e.replace(t,cO);return e=e.replace(Pae,(e,t)=>t+cO),Oae(e)}function uO(e){let t=e.indexOf(`#`);return t<0?e:e.slice(0,t)}function Iae(e){return e=e.replace(kae,wae),e=e.replace(jae,lO),e=e.replace(Aae,lO),e}var Lae=8192;function Rae(e,t=Lae){return e.length>t?e.slice(0,t)+`… [truncated]`:e}function dO(e,t=!1){return e?(e=Rae(e),e=Fae(e),t||(e=Iae(e)),e):e??``}var fO=50,zae=500,Bae=2048,Vae=/^\s*at\s+(?:(.+?)\s+\()?(?:(.+?):(\d+):(\d+)|([^)]+))\)?\s*$/,Hae=/^\s*(?:(.*?)@)?(.+?):(\d+):(\d+)\s*$/;function Uae(e){return e?!(e.includes(`node_modules`)||e.startsWith(`webpack-internal`)||e.startsWith(`webpack://`)||e.startsWith(`chrome-extension://`)||e.startsWith(`moz-extension://`)):!1}function Wae(e){if(!e)return[];let t=e.split(`
52
- `,zae),n=[];for(let e of t){if(e.length>Bae)continue;let t=e.trimEnd();if(!t)continue;let r,i=``,a=0,o=0,s=Vae.exec(t);if(s)r=s[1],s[2]?(i=s[2],a=Number(s[3])||0,o=Number(s[4])||0):i=(s[5]||``).trim();else{let e=Hae.exec(t);if(!e)continue;r=e[1],i=e[2],a=Number(e[3])||0,o=Number(e[4])||0}(i||r)&&n.push({function:r||`<anonymous>`,filename:i,abs_path:i,lineno:a,colno:o,in_app:Uae(i)})}return n.reverse(),n.length>fO?n.slice(n.length-fO):n}function Gae(e){if(e instanceof Error){let t=pO(e,`name`),n=pO(e,`message`),r=pO(e,`stack`);return{name:typeof t==`string`&&t?t:`Error`,message:typeof n==`string`&&n?n:mO(e),stack:typeof r==`string`?r:void 0}}if(typeof e==`string`)return{name:`Error`,message:e};try{return{name:`Error`,message:JSON.stringify(e)??mO(e)}}catch{return{name:`Error`,message:mO(e)}}}function pO(e,t){try{return e[t]}catch{return}}function mO(e){try{return String(e)}catch{return`[unstringifiable]`}}var hO=`iam-anon-id`,gO=[`hz_anon_id`,`hz_id`],_O=`hanzo.ai`,Kae=63072e3,vO;function yO(e){var t=new Uint8Array(16),n,r=typeof crypto<`u`?crypto:void 0;if(r&&typeof r.getRandomValues==`function`)r.getRandomValues(t);else for(n=0;n<16;n++)t[n]=Math.random()*256|0;var i=Math.floor(e===void 0?Date.now():e);for(n=5;n>=0;n--)t[n]=i%256,i=Math.floor(i/256);t[6]=112|t[6]&15,t[8]=128|t[8]&63;var a=``;for(n=0;n<16;n++)a+=(t[n]+256).toString(16).slice(1),(n===3||n===5||n===7||n===9)&&(a+=`-`);return a}function bO(){try{return typeof document>`u`||typeof document.cookie!=`string`?null:document}catch{return null}}function xO(){try{return typeof window>`u`||!window.localStorage?null:window.localStorage}catch{return null}}function SO(e,t){try{return e&&e.getItem(t)||``}catch{return``}}function CO(e){var t=bO();if(!t)return``;for(var n=t.cookie.split(`;`),r=0;r<n.length;r++){var i=n[r].indexOf(`=`);if(!(i<0||n[r].slice(0,i).trim()!==e)){var a=n[r].slice(i+1).trim();if(a)try{return decodeURIComponent(a)}catch{return a}}}return``}function wO(e,t){var n=bO();if(n){var r=``,i=!1;try{typeof window<`u`&&window.location&&(r=window.location.hostname||``,i=window.location.protocol===`https:`)}catch{}var a=e+`=`+encodeURIComponent(t);a+=`; Path=/; Max-Age=`+Kae+`; SameSite=Lax`,(`.`+r).slice(-(_O.length+1))===`.`+_O&&(a+=`; Domain=`+_O),i&&(a+=`; Secure`);try{n.cookie=a}catch{}}}function qae(e){for(var t=0;t<gO.length;t++){var n=CO(gO[t])||SO(e,gO[t]);if(n)return n}return``}function Jae(){if(typeof window>`u`)return``;var e=xO(),t=CO(hO)||SO(e,hO)||qae(e)||vO||yO();vO=t,wO(hO,t);try{e&&e.getItem(hO)!==t&&e.setItem(hO,t)}catch{}return t}function Yae(e){vO=e,wO(hO,e);try{var t=xO();t&&t.setItem(hO,e)}catch{}}var TO={session:`hz_session`,firstTouch:`hz_first_touch`,lastTouch:`hz_last_touch`,cohort:`hz_cohort`},Xae=7776e6,Zae=18e5;function EO(){try{return typeof window>`u`||!window.localStorage?void 0:window.localStorage}catch{return}}function DO(){return Jae()||void 0}function OO(e=Date.now()){let t=EO();if(!t)return;let n=null;try{n=JSON.parse(t.getItem(TO.session)||`null`)}catch{n=null}return!n||e-n.last>Zae?n={id:yO(e),last:e}:n.last=e,t.setItem(TO.session,JSON.stringify(n)),n.id}function kO(e,t=Date.now()){let n=EO();n&&n.setItem(TO.session,JSON.stringify({id:e,last:t}))}function Qae(e){Yae(e)}function AO(){let e=EO();if(e)try{let t=e.getItem(TO.firstTouch);return t?JSON.parse(t):void 0}catch{return}}function jO(e){let t=EO();return AO()||(t&&t.setItem(TO.firstTouch,JSON.stringify(e)),e)}function $ae(e=Date.now()){let t=EO();if(t)try{let n=JSON.parse(t.getItem(TO.lastTouch)||`null`);return!n?.utm||typeof n.at!=`number`||e-n.at>Xae?void 0:n.utm}catch{return}}function eoe(e,t=Date.now()){let n=EO();n&&n.setItem(TO.lastTouch,JSON.stringify({utm:e,at:t}))}function toe(){let e=EO();if(e)try{let t=e.getItem(TO.cohort);return t?JSON.parse(t):void 0}catch{return}}function MO(e){let t=EO(),n=toe()||{},r={signupWeek:n.signupWeek||e.signupWeek,channel:e.channel||n.channel,refCode:n.refCode||e.refCode};return t&&t.setItem(TO.cohort,JSON.stringify(r)),r}var NO=86400,noe=new Set([`hanzo.app`]);function roe(e){for(let t of Object.values(rO))for(let n of t)if(!noe.has(n)&&(e===n||e.endsWith(`.${n}`)))return n;return``}function PO(){let e=roe(window.location.hostname.toLowerCase());return e?`; Domain=.${e}`:``}function FO(e){if(typeof document>`u`||typeof document.cookie!=`string`)return;let t=document.cookie.split(`; `).find(t=>t.startsWith(`${e}=`));return t?decodeURIComponent(t.slice(e.length+1)):void 0}function IO(e,t,n){if(typeof document>`u`)return;let r=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${e}=${encodeURIComponent(t)}; Max-Age=${n*NO}; Path=/; SameSite=Lax${PO()}${r}`}function LO(e){return typeof window<`u`&&window.location?.protocol===`https:`?`__Host-${e}`:e}function RO(e,t,n){if(typeof document>`u`)return;let r=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${LO(e)}=${encodeURIComponent(t)}; Max-Age=${n*NO}; Path=/; SameSite=Lax${r}`}function ioe(e,t=[]){if(typeof document>`u`||typeof document.cookie!=`string`)return;let n=document.cookie.split(`; `).map(e=>e.slice(0,e.indexOf(`=`))),r=new Set([...e,...n.filter(e=>t.some(t=>t.test(e)))]),i=window.location.hostname.split(`.`),a=new Set([``,PO(),...i.slice(0,-1).map((e,t)=>`; Domain=.${i.slice(t).join(`.`)}`)]);for(let e of r)for(let t of a)document.cookie=`${e}=; Max-Age=0; Path=/${t}`}var zO=()=>typeof navigator<`u`&&navigator.webdriver===!0,BO=`hz_internal`;function VO(){if(zO())return!0;if(typeof window>`u`||typeof document>`u`||typeof document.cookie!=`string`)return!1;let e=new URLSearchParams(window.location?.search??``).get(BO);return e===`1`&&IO(BO,`1`,365),e===`0`?(IO(BO,``,0),!1):e===`1`||FO(BO)===`1`}var HO={anon:`hz_aid`,session:`hz_sid`,firstTouch:`hz_ft`},UO=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,WO=e=>!!e&&UO.test(e);function GO(e){return JSON.stringify([e.utm.source,e.utm.medium,e.utm.campaign,e.utm.term,e.utm.content,e.refCode,e.referrer,e.channel].map(e=>e??``))}function aoe(e){if(!(!e||e.length>1024))try{let t=JSON.parse(e);if(!Array.isArray(t)||t.length!==8||t.some(e=>typeof e!=`string`))return;let[n,r,i,a,o,s,c,l]=t,u=e=>e||void 0;return{utm:{source:u(n),medium:u(r),campaign:u(i),term:u(a),content:u(o)},refCode:u(s),referrer:u(c),channel:u(l)}}catch{return}}function ooe(e,t,n,r){let i;try{i=new URL(e,r)}catch{return e}if(i.protocol!==`https:`&&i.protocol!==`http:`||!sO(i.hostname)||i.hostname===n)return e;let a=(e,t)=>t&&i.searchParams.set(e,t);return WO(t.anonId)&&a(HO.anon,t.anonId),WO(t.sessionId)&&a(HO.session,t.sessionId),t.firstTouch&&a(HO.firstTouch,GO(t.firstTouch)),i.toString()}function soe(e){let t=new URLSearchParams(e||``),n=t.get(HO.anon),r=t.get(HO.session);return{anonId:WO(n)?n:void 0,sessionId:WO(r)?r:void 0,firstTouch:aoe(t.get(HO.firstTouch))}}function coe(e){let t=new URL(e),n=!1;for(let e of Object.values(HO))t.searchParams.has(e)&&(t.searchParams.delete(e),n=!0);return n?t.pathname+t.search+t.hash:void 0}var KO=`hz_consent`,qO=`hz_consent_v`,JO=`hz_consent_rule`,YO=3,XO=2,loe=`hzconsent`,ZO={analytics:!1,marketing:!1,ads:!1},uoe={analytics:!0,marketing:!0,ads:!0},doe=[`eu`,`us_privacy`,`global`],foe=`hz_consent_policy`,QO=Symbol.for(`hanzo.event.consent`);function $O(){let e=globalThis;return e[QO]??(e[QO]={})}function poe(e){if(typeof e!=`object`||!e)return;let t=e;if(typeof t.version==`number`||typeof t.mode==`string`)return{mode:doe.includes(t.mode)?t.mode:`eu`,refused:t.refused===!0,version:Number(t.version)||0,region:String(t.region??``),floor:Number(t.floor)||XO}}function moe(){try{return typeof window>`u`?void 0:window.sessionStorage}catch{return}}function ek(){let e=$O().served;if(e)return e;try{let e=poe(JSON.parse(moe()?.getItem(foe)??`null`));if(e)return e}catch{}return{mode:`eu`,refused:!1,version:YO,region:``,floor:XO}}function tk(){let e=ek();return{mode:e.mode,refused:e.refused||rk(),version:ik(),region:e.region}}function nk(){return typeof navigator>`u`?!1:navigator.globalPrivacyControl===!0}function rk(){if(typeof window>`u`)return!1;let e=typeof navigator>`u`?{}:navigator,t=e.doNotTrack??window.doNotTrack??e.msDoNotTrack;return nk()||t===`1`||t===`yes`}var ik=()=>Math.max($O().served?.version??0,YO),ak=()=>tk().refused;function ok(){let e=FO(LO(KO));if(e===void 0)return;let t=Number(FO(LO(qO))),n=FO(LO(JO));if(tk().mode===`eu`&&!(n===`eu`||n===void 0&&t===2))return;let r=e.split(`,`);return{held:{analytics:r.includes(`analytics`),marketing:r.includes(`marketing`),ads:r.includes(`ads`)},current:t>=ek().floor&&t<=ik()}}var sk=e=>e.analytics||e.marketing||e.ads;function ck(){let e=tk();if(e.refused)return{...ZO};let t=e.mode===`eu`?ZO:uoe,n=ok();return n?n.current?{...n.held}:{analytics:t.analytics&&n.held.analytics,marketing:t.marketing&&n.held.marketing,ads:t.ads&&n.held.ads}:{...t}}function lk(){let e=ok();ak()&&e&&sk(e.held)&&dk({...ZO})}function uk(e){return[`analytics`,`marketing`,`ads`].filter(t=>e[t]).join(`,`)}function dk(e){let t=tk(),n=t.refused?{...ZO}:{analytics:e.analytics,marketing:e.marketing,ads:e.ads};RO(KO,uk(n),395),RO(qO,String(ik()),395),RO(JO,t.mode,395),n.analytics||hk(fk),n.marketing||hk(pk),n.ads||hk(mk),typeof window<`u`&&window.dispatchEvent(new Event(loe))}var fk={cookies:[`_ga`,`_gid`,`_gat`,`hz_cid`],patterns:[/^_ga_[A-Z0-9]+$/,/^_gat_[\w-]+$/],storage:[]},pk={cookies:[`hz_touch`,`_fbp`,`_fbc`,`_ttp`,`_tt_enable_cookie`,`ttcsid`,`_twclid`,`li_fat_id`,`li_giant`,`_uetsid`,`_uetvid`,`_pin_unauth`,`_epik`,`_derived_epik`,`_rdt_uuid`,`_rdt_cid`],patterns:[/^ttcsid_[A-Z0-9]+$/],storage:[]},mk={cookies:[],patterns:[/^_gcl_[a-z]+$/,/^_gac_[\w-]+$/],storage:[]};function hk(e){if(ioe(e.cookies,e.patterns),!(typeof window>`u`))try{for(let t of e.storage)window.localStorage?.removeItem(t)}catch{}}var gk=`0.3.66`,_k=`/v1/event`,vk=`https://api.hanzo.ai`,yk=`text/plain`;function bk(e){try{if(typeof process<`u`)return{}[e]||void 0}catch{}}function xk(e,t,n){return e+(e.includes(`?`)?`&`:`?`)+t+`=`+encodeURIComponent(n)}function Sk(e){let t=Gae(e),n=Wae(t.stack).slice(-50).map(e=>({function:e.function,file:e.filename,line:e.lineno,column:e.colno}));return{type:t.name,message:t.message,stack:t.stack,frames:n}}var Ck=()=>wk()?{screen:`${window.screen?.width??0}x${window.screen?.height??0}`,language:navigator.language||``}:{},wk=()=>typeof window<`u`&&typeof document<`u`;function Tk(e){if(!wk())return e;let t=new Set(uk(ck()).split(`,`).filter(Boolean)),n=String(e.properties?.consent??``).split(`,`).filter(e=>t.has(e)).join(`,`);return{...e,properties:{...e.properties,consent:n}}}function Ek(e){try{return JSON.stringify({batch:e})}catch{}let t=[];for(let n of e)try{t.push(JSON.stringify(n))}catch{try{t.push(JSON.stringify({...n,properties:{$unserializable:!0}}))}catch{}}return t.length>0?`{"batch":[`+t.join(`,`)+`]}`:null}var Dk=class{send(e,t,n){if(n.beacon&&wk()&&typeof navigator.sendBeacon==`function`){let r=n.ingestKey?xk(e,`ingest_key`,n.ingestKey):e;try{if(navigator.sendBeacon(r,new Blob([t],{type:yk})))return;n.debug&&console.warn(`[event] beacon refused, falling back to fetch`)}catch{}}if(typeof fetch!=`function`)return;let r=n.ingestKey!==void 0&&n.token===void 0&&n.contentType===void 0,i={"Content-Type":r?yk:n.contentType??`application/json`},a=r?void 0:n.token??n.ingestKey;a&&(i.Authorization=`Bearer ${a}`),fetch(n.ingestKey?xk(e,`ingest_key`,n.ingestKey):e,{method:`POST`,headers:i,body:t,keepalive:!0,credentials:r?`omit`:`include`}).then(t=>{!t.ok&&n.debug&&console.warn(`[event] ingest rejected`,t.status,e.split(`?`)[0])}).catch(t=>{n.debug&&console.warn(`[event] ingest failed`,e.split(`?`)[0],t)})}},Ok=class{constructor(e){this.queue=[],this.timer=null,this.attribution={utm:{}},this.cohort={},this.started=!1,this.reentrant=!1,this.cfg={host:vk,batchSize:20,flushIntervalMs:5e3,enabled:!0,captureErrors:!0,...e,ingestKey:e.ingestKey??bk(`NEXT_PUBLIC_PUBLISHABLE_KEY`)??Cae()},this.transport=e.transport??new Dk}adopt(e){e.ingestKey&&!this.cfg.ingestKey&&(this.cfg.ingestKey=e.ingestKey),e.getToken&&!this.cfg.getToken&&(this.cfg.getToken=e.getToken)}init(){if(this.started||!this.cfg.enabled||(this.started=!0,!wk()))return;let e=soe(window.location.search),t=coe(window.location.href);if(t!==void 0)try{window.history.replaceState(window.history.state,``,t)}catch{}this.settle(e,vae(window.location.search,document.referrer)),lk(),window.addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&this.flush(!0)}),window.addEventListener(`pagehide`,()=>this.flush(!0)),this.cfg.captureErrors&&(window.addEventListener(`error`,e=>{this.captureError(e.error??e.message,{handled:!1})}),window.addEventListener(`unhandledrejection`,e=>{this.captureError(e.reason,{handled:!1})}))}settle(e,t){e.anonId&&Qae(e.anonId),e.sessionId&&kO(e.sessionId);let n=e.firstTouch&&!AO()?jO(e.firstTouch):void 0;this.attribution=n??(yae(t)?jO(t):AO()??t),(t.utm.source||t.utm.campaign)&&eoe(t.utm),this.lastUtm=$ae(),this.cohort=MO({channel:this.attribution.channel??tO(this.attribution),refCode:this.attribution.refCode})}link(e){return wk()?(this.started||this.init(),ooe(e,{anonId:DO(),sessionId:OO(),firstTouch:this.attribution},window.location.hostname,window.location.href)):e}authorize(e){let t=this.link(e);return this.flush(!0),t}identify(e,t){this.personId=e,this.enqueue(`identify`,void 0,{properties:t})}group(e,t){this.enqueue(`group`,void 0,{groupId:e,properties:t})}pageview(e,t){let n=e??(wk()?window.location.pathname:void 0),r=(n??``)+`\0`+(wk()?window.location.href:``);r!==this.counted&&(this.counted=r,this.enqueue(`pageview`,C,{path:n,properties:{...Ck(),...t}}))}capture(e,t,n){this.enqueue(`event`,e,{properties:t,...n})}captureError(e,t){if(!this.reentrant){this.reentrant=!0;try{let n=t?.handled??!0,r=Sk(e);r.handled=n,this.enqueue(`error`,void 0,{error:r,level:t?.level??(n?`error`:`fatal`),release:this.cfg.release??bk(`NEXT_PUBLIC_HANZO_RELEASE`),environment:this.cfg.environment??bk(`NODE_ENV`),site:wk()?window.location.hostname:void 0,properties:t?.properties}),this.flush()}catch{}finally{this.reentrant=!1}}}setCohort(e){this.cohort=MO(e)}flush(e=!1){if(!this.cfg.enabled||this.queue.length===0)return;let t=this.queue.map(Tk);if(this.queue=[],this.clearTimer(),t.length===0)return;let n=this.cfg.getToken?.()??void 0,r=this.cfg.ingestKey?.trim()||void 0,i=e&&!n,a=Ek(t);if(a===null){this.cfg.debug&&console.debug(`[event] flush → dropped, batch unserializable`);return}this.cfg.debug&&console.debug(`[event] flush →`,_k,t.length),this.transport.send(this.cfg.host+_k,a,{beacon:i,token:n,ingestKey:r,debug:this.cfg.debug})}enqueue(e,t,n){this.cfg.enabled&&(this.started||this.init(),this.queue.push(this.build(e,t,n)),this.queue.length>=this.cfg.batchSize?this.flush():this.schedule())}build(e,t,n){let r=DO(),i={messageId:yO(),type:e,event:t,timestamp:new Date().toISOString(),distinctId:this.personId??r,anonymousId:r,personId:this.personId,sessionId:OO(),product:this.cfg.product,referrer:this.attribution.referrer,utm:this.attribution.utm,lastUtm:this.lastUtm,refCode:this.cohort.refCode??this.attribution.refCode,channel:this.cohort.channel??this.attribution.channel,signupWeek:this.cohort.signupWeek,url:wk()?window.location.href:void 0,path:wk()?window.location.pathname:void 0,library:`@hanzo/event`,libraryVersion:gk,...n},a=this.cfg.capturePII??!1;return i.url&&=dO(uO(i.url),a),i.path&&=dO(uO(i.path),a),i.referrer&&=dO(uO(i.referrer),a),VO()&&(i.properties={...i.properties,internal:!0}),wk()&&(i.properties={...i.properties,consent:uk(ck())}),i}schedule(){!this.timer&&this.cfg.enabled&&(this.timer=setTimeout(()=>{this.timer=null,this.flush()},this.cfg.flushIntervalMs))}clearTimer(){this.timer&&=(clearTimeout(this.timer),null)}},kk=Symbol.for(`hanzo.event.clients.optin`);function hoe(){let e=globalThis,t=e[kk];if(t)return t;let n=new Map;return e[kk]=n,n}function goe(e){if(!wk()||e.enabled===!1)return new Ok(e);let t=(e.host??vk)+`\0`+e.product,n=hoe(),r=n.get(t);if(r)return r.adopt(e),r;let i=new Ok(e);return n.set(t,i),i}var Ak=(0,b.createContext)(null);function _oe(e){let{client:t,config:n,autoPageview:r=!0,children:i}=e;if(!t&&!n)throw Error("AnalyticsProvider requires `client` or `config`");let a=t??goe(n);return(0,b.useEffect)(()=>{a.init(),r&&a.pageview()},[a,r]),(0,b.createElement)(Ak.Provider,{value:a},i)}new Ok({product:`unknown`,enabled:!1});var jk=class extends b.Component{constructor(){super(...arguments),this.state={error:null},this.reset=()=>this.setState({error:null})}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){(this.props.client??this.context??void 0)?.captureError(e,{handled:!1,properties:{componentStack:t.componentStack,react:!0}})}render(){let{error:e}=this.state;if(e===null)return this.props.children;let{fallback:t}=this.props;return typeof t==`function`?t(e,this.reset):t??null}};jk.contextType=Ak;var voe=jk.contextType;function yoe(){return(0,b.useContext)(voe)}var boe=`hz_consent`,Mk=()=>typeof window<`u`;function xoe(){try{return!Mk()||!window.localStorage?void 0:window.localStorage}catch{return}}function Soe(){if(!Mk())return!1;try{let e=navigator,t=window;return e.globalPrivacyControl===!0||e.doNotTrack===`1`||t.doNotTrack===`1`||e.msDoNotTrack===`1`}catch{return!1}}function Coe(){let e=xoe();if(e)try{let t=e.getItem(boe);return t===`granted`||t===`denied`?t:void 0}catch{return}}var Nk=new Set;function woe(e){return Nk.add(e),()=>{Nk.delete(e)}}function Toe(e){if(typeof e.enabled==`boolean`)return e.enabled;let t=e.stored===void 0?Coe():e.stored;if(t===`denied`)return!1;if(t===`granted`)return!0;let n=e.consent??`auto`;return n===`denied`?!1:n===`granted`||!Soe()}var Eoe={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1},Pk=(...e)=>{for(let t of e)if(typeof t==`string`&&t.trim()!==``)return t.trim()};function Doe(){try{if(typeof process>`u`)return{};let e={};return{apiUrl:Pk(e.NEXT_PUBLIC_HANZO_API_URL,e.PUBLIC_HANZO_API_URL,e.HANZO_API_URL),ingestKey:Pk(e.NEXT_PUBLIC_PUBLISHABLE_KEY,e.PUBLIC_PUBLISHABLE_KEY,e.PUBLISHABLE_KEY,e.NEXT_PUBLIC_HANZO_INGEST_KEY,e.PUBLIC_HANZO_INGEST_KEY,e.HANZO_INGEST_KEY),product:Pk(e.NEXT_PUBLIC_HANZO_PRODUCT,e.PUBLIC_HANZO_PRODUCT,e.HANZO_PRODUCT),telemetry:Pk(e.NEXT_PUBLIC_HANZO_TELEMETRY,e.PUBLIC_HANZO_TELEMETRY,e.HANZO_TELEMETRY),debug:Pk(e.NEXT_PUBLIC_HANZO_TELEMETRY_DEBUG,e.PUBLIC_HANZO_TELEMETRY_DEBUG)}}catch{return{}}}function Ooe(){try{let e=Eoe;return e?{apiUrl:Pk(e.VITE_HANZO_API_URL,e.EXPO_PUBLIC_HANZO_API_URL,e.PUBLIC_HANZO_API_URL),ingestKey:Pk(e.VITE_PUBLISHABLE_KEY,e.EXPO_PUBLIC_PUBLISHABLE_KEY,e.PUBLIC_PUBLISHABLE_KEY,e.VITE_HANZO_INGEST_KEY,e.EXPO_PUBLIC_HANZO_INGEST_KEY,e.PUBLIC_HANZO_INGEST_KEY),product:Pk(e.VITE_HANZO_PRODUCT,e.EXPO_PUBLIC_HANZO_PRODUCT,e.PUBLIC_HANZO_PRODUCT),telemetry:Pk(e.VITE_HANZO_TELEMETRY,e.EXPO_PUBLIC_HANZO_TELEMETRY,e.PUBLIC_HANZO_TELEMETRY),debug:Pk(e.VITE_HANZO_TELEMETRY_DEBUG,e.EXPO_PUBLIC_HANZO_TELEMETRY_DEBUG)}:{}}catch{return{}}}function koe(){try{return globalThis.__HANZO_TELEMETRY__??{}}catch{return{}}}var Aoe={"hanzo.ai":`site`,"hanzo.chat":`chat`,"hanzo.app":`app`,"hanzo.id":`iam`,"hanzo.industries":`industries`,"hanzo.network":`network`};function joe(e){if(!e)return;let t=e.toLowerCase().replace(/^www\./,``);if(t===`localhost`||t===`::1`||t===`[::1]`||/^127\./.test(t))return`dev`;let n=Aoe[t];if(n)return n;let r=t.split(`.`)[0];return r&&r!==``?r:void 0}function Fk(){try{return typeof navigator<`u`&&navigator.product===`ReactNative`}catch{return!1}}function Moe(){try{let e=globalThis;if(e.__TAURI_INTERNALS__!==void 0||e.__TAURI__!==void 0)return`desktop`}catch{}if(Fk())return`mobile`}var Noe=e=>e===`0`||e===`false`||e===`off`||e===`no`,Ik=e=>e===`1`||e===`true`||e===`on`||e===`yes`;function Poe(){let e=Doe(),t=Ooe(),n=koe(),r=Pk(t.telemetry,e.telemetry),i=typeof n.enabled==`boolean`?n.enabled:Noe(r)?!1:Ik(r)?!0:void 0;return{host:Pk(n.host,n.apiUrl,t.apiUrl,e.apiUrl)??`https://api.hanzo.ai`,product:Pk(n.product,t.product,e.product),ingestKey:Pk(n.ingestKey,t.ingestKey,e.ingestKey),enabled:i,debug:n.debug===!0||Ik(Pk(t.debug,e.debug))}}var Lk=()=>typeof window<`u`&&typeof document<`u`,Foe=()=>Lk()||Fk();function Rk(e,t){try{e()}catch(e){t&&console.debug(`[telemetry] swallowed`,e)}}var Ioe=new WeakMap;function zk(e={}){let t=Poe(),n=e.debug??t.debug,r=e.product??t.product??Moe()??(Lk()?joe(window.location?.hostname):void 0)??`unknown`,i=Foe()&&Toe({enabled:e.enabled??t.enabled,consent:e.consent}),a=e.errors??!0,o=e.replay??!0,s=e.pageviews??!0,c=e.ingestKey??t.ingestKey??se(),l=jn({host:e.host===void 0?t.host:e.host,product:r,ingestKey:c,getToken:e.getToken,enabled:i,captureErrors:i&&a,debug:n}),u={enabled:i,product:r,client:l,track:(e,t,r)=>Rk(()=>l.capture(e,t,r),n),pageview:(e,t)=>Rk(()=>l.pageview(e,t),n),identify:(e,t)=>Rk(()=>l.identify(e,t),n),group:(e,t)=>Rk(()=>l.group(e,t),n),captureError:(e,t)=>Rk(()=>l.captureError(e,t),n),captureException:(e,t)=>Rk(()=>l.captureError(e,t),n),setCohort:e=>Rk(()=>l.setCohort(e),n),flush:()=>Rk(()=>l.flush(),n)};return Ioe.set(u,{host:e.host===void 0?t.host:e.host,product:r,enabled:i,replay:o,errors:a,pageviews:s,hasIngestKey:!!c,debug:n}),u}var Bk,Vk=!1,Hk=new Set;function Uk(){return Bk||=zk(),Bk}function Wk(e,t){Bk=e,Vk=e!==void 0&&(t?.app??!0);for(let e of Hk)try{e()}catch{}}function Loe(){return Vk}function Roe(e){return Hk.add(e),()=>{Hk.delete(e)}}var zoe=(e,t,n)=>Uk().track(e,t,n);function Boe(e,t,n){(0,b.useEffect)(()=>{if(!t||typeof window>`u`||typeof document>`u`)return;let r=!1,i,a=()=>{r||Va(async()=>{let{observe:e,wireProps:t}=await import(`./dist-Cy8E8G3S.js`);return{observe:e,wireProps:t}},[]).then(({observe:t,wireProps:a})=>{if(r)return;let o=t(t=>{t.kind!==`nav`&&e.track(t.name,a(t))},{nav:!1,redaction:n});i=()=>o.stop()}).catch(()=>{})},o=window,s=typeof o.requestIdleCallback==`function`,c=s?o.requestIdleCallback(a,{timeout:3e3}):window.setTimeout(a,1200);return()=>{r=!0;try{s?o.cancelIdleCallback?.(c):window.clearTimeout(c)}catch{}i?.()}},[e,t])}var Gk=e=>{try{let t=window.location,n=e==null||e===``?t:new URL(String(e),t.href);return{key:n.pathname+n.search+n.hash,path:n.pathname}}catch{return{key:``,path:void 0}}};function Voe(e,t,n){let r=(0,b.useRef)(null),i=n!==void 0;(0,b.useEffect)(()=>{if(!t||!i||!Lk())return;let a=n??Gk().path??``;r.current!==a&&(r.current=a,e.pageview(a))},[e,t,i,n]),(0,b.useEffect)(()=>{if(!t||i||!Lk())return;let n=t=>{let{key:n,path:i}=Gk(t);r.current!==n&&(r.current=n,e.pageview(i))};n();let a=window.history,o=a.pushState,s=a.replaceState;a.pushState=function(...e){let t=o.apply(this,e);return n(e[2]),t},a.replaceState=function(...e){let t=s.apply(this,e);return n(e[2]),t};let c=()=>n();return window.addEventListener(`popstate`,c),window.addEventListener(`hashchange`,c),()=>{a.pushState=o,a.replaceState=s,window.removeEventListener(`popstate`,c),window.removeEventListener(`hashchange`,c)}},[e,t,i])}var Hoe=(0,b.createContext)(null);function Kk(e){let{owner:t=`app`,path:n,fallback:r,client:i,children:a,host:o,product:s,ingestKey:c,getToken:l,enabled:u,consent:d,replay:f,errors:p,pageviews:m,redaction:h,debug:g}=e,_=t===`gui`,v=yoe(),y=v!==null&&_,[x,S]=(0,b.useState)(!1),C=!_||x&&!y;(0,b.useEffect)(()=>{if(!_||y)return;let e=()=>S(!Loe());return e(),Roe(e)},[_,y]);let w=(0,b.useRef)(l);w.current=l;let T=(0,b.useRef)(h);T.current=h;let[E,D]=(0,b.useState)(0);(0,b.useEffect)(()=>{let e=()=>D(e=>e+1),t=woe(e);if(!Lk())return t;let n=t=>{(t.key===null||t.key===`hz_consent`)&&e()};return window.addEventListener(`storage`,n),()=>{t(),window.removeEventListener(`storage`,n)}},[]);let O=(0,b.useMemo)(()=>i??zk({host:o,product:s,ingestKey:c,getToken:w.current?()=>w.current?.():void 0,enabled:C?u:!1,consent:d,replay:f,errors:p,pageviews:m,debug:g}),[i,o,s,c,C,u,d,f,p,m,g,E]);(0,b.useEffect)(()=>{if(C)return Wk(O,{app:!_}),O.client.init(),()=>{Uk()===O&&Wk(void 0)}},[O,C,_]);let k=O.enabled;return Voe(O,k&&(m??!0),n),Boe(O,k&&(f??!0),T.current),(0,L.jsx)(Hoe.Provider,{value:O,children:(0,L.jsx)(_oe,{client:y&&v?v:O.client,autoPageview:!1,children:(0,L.jsx)(Uoe,{telemetry:O,enabled:k&&(p??!0),fallback:r,children:a})})})}var Uoe=class extends b.Component{constructor(){super(...arguments),this.state={error:null},this.reset=()=>this.setState({error:null})}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){if(this.props.enabled&&this.props.telemetry.captureError(e,{handled:!1,properties:{componentStack:t.componentStack,react:!0}}),this.props.fallback===void 0)throw e}render(){let{error:e}=this.state;if(!e)return this.props.children;let{fallback:t}=this.props;return t===void 0?null:typeof t==`function`?t(e,this.reset):t}},Woe=({children:e,telemetry:t,...n})=>{let r=(0,L.jsx)(Gm,{...n,children:(0,L.jsx)(Ch.Provider,{value:1,children:(0,L.jsx)(Lh,{shouldAddRootHost:!0,children:e})})});return t===!1?r:(0,L.jsx)(Kk,{owner:`gui`,...typeof t==`object`?t:null,children:r})},qk={size:`$true`,fontFamily:`$body`,borderWidth:1,outlineWidth:0,color:`$color`,tabIndex:0,borderColor:`$borderColor`,backgroundColor:`$background`,minWidth:0,hoverStyle:{borderColor:`$borderColorHover`},focusStyle:{borderColor:`$borderColorFocus`},focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`}},Goe=(e=`$true`,t)=>{if(t.props.tag===`textarea`||t.props.rows>1||t.props.multiline||t.props.numberOfLines>1)return Jk(e,t);let n=ph(e,t),r=sh(e,{shift:-1,bounds:[2]});return{...gh(e,t),...n,paddingHorizontal:r}},Jk=(e=`$true`,t)=>{let{props:n}=t,r=ph(e,t),i=gh(e,t),a=n.rows??n.numberOfLines,o=typeof a==`number`?a*Kc(i.lineHeight):`auto`,s=sh(e,{shift:-2,bounds:[2]}),c=sh(e,{shift:-1,bounds:[2]});return{...r,...i,paddingVertical:s,paddingHorizontal:c,height:o}},Yk=[{name:`Input`,render:`input`,variants:{unstyled:{true:{outlineWidth:0,borderWidth:0,backgroundColor:`transparent`},false:qk},size:{"...size":Goe},disabled:{true:{}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}},{isInput:!0,accept:{placeholderTextColor:`color`,selectionColor:`color`,cursorColor:`color`,selectionHandleColor:`color`,underlineColorAndroid:`color`},validStyles:Jm.staticConfig.validStyles}],Xk=R(qm,Yk[0],Yk[1]),Zk=Xk.styleable((e,t)=>{let{disabled:n,id:r,onChangeText:i,onSubmitEditing:a,onSelectionChange:o,selection:s,placeholderTextColor:c,selectionColor:l,rows:u,keyboardAppearance:d,returnKeyType:f,submitBehavior:p,blurOnSubmit:m,caretHidden:h,contextMenuHidden:g,selectTextOnFocus:_,secureTextEntry:v,maxFontSizeMultiplier:y,allowFontScaling:x,multiline:S,keyboardType:C,autoCapitalize:w,autoCorrect:T,autoFocusNative:E,textContentType:D,onEndEditing:O,onContentSizeChange:k,onScroll:A,onKeyPress:j,clearButtonMode:ee,clearTextOnFocus:M,enablesReturnKeyAutomatically:te,dataDetectorTypes:ne,scrollEnabled:N,passwordRules:P,rejectResponderTermination:re,spellCheck:ie,lineBreakStrategyIOS:ae,lineBreakModeIOS:oe,smartInsertDelete:se,inputAccessoryViewID:ce,inputAccessoryViewButtonLabel:le,disableKeyboardShortcuts:ue,cursorColor:de,selectionHandleColor:fe,underlineColorAndroid:pe,importantForAutofill:me,disableFullscreenUI:he,inlineImageLeft:ge,inlineImagePadding:F,returnKeyLabel:_e,textBreakStrategy:I,textAlignVertical:ve,verticalAlign:ye,showSoftInputOnFocus:be,numberOfLines:xe,...Se}=e,{ref:Ce,composedRef:we}=hae(t),Te=kl(),Ee=T===!0?`on`:T===!1?`off`:T,De=w===`sentences`||w===`words`?`on`:w===`none`||w===`characters`?`off`:w;b.useEffect(()=>{if(!o)return;let e=Ce.current;if(!e)return;let t=()=>{o({nativeEvent:{selection:{start:e.selectionStart??0,end:e.selectionEnd??0}}})};return e.addEventListener(`select`,t),()=>e.removeEventListener(`select`,t)},[o]),b.useEffect(()=>{s&&Ce.current&&Ce.current.setSelectionRange(s.start,s.end??s.start)},[s?.start,s?.end]),b.useEffect(()=>{if(r&&!n)return bS(r,{focusAndSelect:()=>Ce.current?.focus(),focus:()=>Ce.current?.focus()})},[r,n]);let Oe=e=>{e.key===`Enter`&&a&&a({nativeEvent:{text:e.target.value}}),Se.onKeyDown?.(e)},ke=e=>{i?.(e.target.value),Se.onChange?.(e)},Ae={...Se,disabled:n,id:r,rows:u,autoCorrect:Ee,autoCapitalize:De,onKeyDown:a?Oe:Se.onKeyDown,onChange:i?ke:Se.onChange,style:{...Se.style,...c&&{"--t_placeholderColor":Te[c]?.variable||c},...l&&{"--t_selectionColor":Te[l]?.variable||l}}};return(0,L.jsx)(Xk,{ref:we,...Ae})}),Qk=R(Zk,{name:`TextArea`,render:`textarea`,whiteSpace:`pre-wrap`,variants:{unstyled:{false:{height:`auto`,...qk,rows:3}},size:{"...size":Jk}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}}),$k=z.styleable((e,t)=>{let{size:n,color:r,...i}=e,a=kl(),o=r;return o&&o[0]===`$`&&(o=Bc(a[o])),(0,L.jsx)(z,{ref:t,...i,children:(0,L.jsx)(Dx,{size:n,color:o})})}),H=R(Jm,{variants:{unstyled:{false:{color:`$color`}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}}),eA=e=>e.replace(/[A-Z]/g,e=>`-`+e.toLowerCase()),tA=e=>{if(e&&e.nodeType===1&&typeof e.getBoundingClientRect==`function`)return e.getBoundingClientRect();throw Error(`Can not get boundingClientRect of `+e||`undefined`)},nA=(e,t)=>{let n=e?.parentNode;n&&setTimeout(()=>{let r=tA(n),{height:i,left:a,top:o,width:s}=tA(e);t(a-r.left,o-r.top,s,i,a,o)},0)};function rA(){let e=this.state.touchable.responderID;e!==null&&nA(e,this._handleQueryLayout)}function iA(e){return e.replace(`<svg`,~e.indexOf(`xmlns`)?`<svg`:`<svg xmlns="http://www.w3.org/2000/svg"`).replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/{/g,`%7B`).replace(/}/g,`%7D`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}var aA=new Set(`stdDeviation.edgeMode.kernelMatrix.kernelUnitLength.preserveAlpha.baseFrequency.targetX.targetY.numOctaves.stitchTiles.filterUnits.primitiveUnits.pathLength.gradientUnits.gradientTransform.spreadMethod.markerHeight.markerUnits.markerWidth.viewBox.refX.refY.maskContentUnits.maskUnits.patternContentUnits.patternTransform.patternUnits.textLength.lengthAdjust.startOffset.clipPathUnits`.split(`.`)),oA=e=>aA.has(e)?e:eA(e);function sA(e){return!!(e.onPress||e.onPressIn||e.onPressOut||e.onLongPress)}Math.PI/180;var cA=s(((e,t)=>{function n(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function r(e,t,n,i){this.message=e,this.expected=t,this.found=n,this.location=i,this.name=`SyntaxError`,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,r)}n(r,Error),r.buildMessage=function(e,t){var n={literal:function(e){return`"`+i(e.text)+`"`},class:function(e){for(var t=``,n=0;n<e.parts.length;n++)t+=e.parts[n]instanceof Array?a(e.parts[n][0])+`-`+a(e.parts[n][1]):a(e.parts[n]);return`[`+(e.inverted?`^`:``)+t+`]`},any:function(e){return`any character`},end:function(e){return`end of input`},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function a(e){return e.replace(/\\/g,`\\\\`).replace(/\]/g,`\\]`).replace(/\^/g,`\\^`).replace(/-/g,`\\-`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function o(e){return n[e.type](e)}function s(e){for(var t=Array(e.length),n=0,r;n<e.length;n++)t[n]=o(e[n]);if(t.sort(),t.length>0){for(n=1,r=1;n<t.length;n++)t[n-1]!==t[n]&&(t[r]=t[n],r++);t.length=r}switch(t.length){case 1:return t[0];case 2:return t[0]+` or `+t[1];default:return t.slice(0,-1).join(`, `)+`, or `+t[t.length-1]}}function c(e){return e?`"`+i(e)+`"`:`end of input`}return`Expected `+s(e)+` but `+c(t)+` found.`};function i(e,t){t=t===void 0?{}:t;var n={},i={transformList:ke},a=ke,o=function(e){return e},s=function(e,t){return Qe(e,t)},c=`matrix`,l=xe(`matrix`,!1),u=`(`,d=xe(`(`,!1),f=`)`,p=xe(`)`,!1),m=function(e,t,n,r,i,a){return[e,n,i,t,r,a]},h=`translate`,g=xe(`translate`,!1),_=function(e,t){return[1,0,e,0,1,t||0]},v=`scale`,y=xe(`scale`,!1),b=function(e,t){return[e,0,0,0,t===null?e:t,0]},x=`rotate`,S=xe(`rotate`,!1),C=function(e,t){var n=Math.cos(Ze*e),r=Math.sin(Ze*e);if(t!==null){var i=t[0],a=t[1];return[n,-r,n*-i+-r*-a+i,r,n,r*-i+n*-a+a]}return[n,-r,0,r,n,0]},w=`skewX`,T=xe(`skewX`,!1),E=function(e){return[1,Math.tan(Ze*e),0,0,1,0]},D=`skewY`,O=xe(`skewY`,!1),k=function(e){return[1,0,0,Math.tan(Ze*e),1,0]},A=function(e){return parseFloat(e.join(``))},j=function(e){return parseInt(e.join(``))},ee=function(e){return e},M=function(e,t){return[e,t]},te=`,`,ne=xe(`,`,!1),N=function(e){return e.join(``)},P=function(e){return e.join(``)},re=function(e){return e.join(``)},ie=we(`fractionalConstant`),ae=`.`,oe=xe(`.`,!1),se=function(e,t){return[e?e.join(``):null,`.`,t.join(``)].join(``)},ce=/^[eE]/,le=Se([`e`,`E`],!1,!1),ue=function(e){return[e[0],e[1],e[2].join(``)].join(``)},de=/^[+\-]/,fe=Se([`+`,`-`],!1,!1),pe=/^[0-9]/,me=Se([[`0`,`9`]],!1,!1),he=/^[ \t\r\n]/,ge=Se([` `,` `,`\r`,`
52
+ `,zae),n=[];for(let e of t){if(e.length>Bae)continue;let t=e.trimEnd();if(!t)continue;let r,i=``,a=0,o=0,s=Vae.exec(t);if(s)r=s[1],s[2]?(i=s[2],a=Number(s[3])||0,o=Number(s[4])||0):i=(s[5]||``).trim();else{let e=Hae.exec(t);if(!e)continue;r=e[1],i=e[2],a=Number(e[3])||0,o=Number(e[4])||0}(i||r)&&n.push({function:r||`<anonymous>`,filename:i,abs_path:i,lineno:a,colno:o,in_app:Uae(i)})}return n.reverse(),n.length>fO?n.slice(n.length-fO):n}function Gae(e){if(e instanceof Error){let t=pO(e,`name`),n=pO(e,`message`),r=pO(e,`stack`);return{name:typeof t==`string`&&t?t:`Error`,message:typeof n==`string`&&n?n:mO(e),stack:typeof r==`string`?r:void 0}}if(typeof e==`string`)return{name:`Error`,message:e};try{return{name:`Error`,message:JSON.stringify(e)??mO(e)}}catch{return{name:`Error`,message:mO(e)}}}function pO(e,t){try{return e[t]}catch{return}}function mO(e){try{return String(e)}catch{return`[unstringifiable]`}}var hO=`iam-anon-id`,gO=[`hz_anon_id`,`hz_id`],_O=`hanzo.ai`,Kae=63072e3,vO;function yO(e){var t=new Uint8Array(16),n,r=typeof crypto<`u`?crypto:void 0;if(r&&typeof r.getRandomValues==`function`)r.getRandomValues(t);else for(n=0;n<16;n++)t[n]=Math.random()*256|0;var i=Math.floor(e===void 0?Date.now():e);for(n=5;n>=0;n--)t[n]=i%256,i=Math.floor(i/256);t[6]=112|t[6]&15,t[8]=128|t[8]&63;var a=``;for(n=0;n<16;n++)a+=(t[n]+256).toString(16).slice(1),(n===3||n===5||n===7||n===9)&&(a+=`-`);return a}function bO(){try{return typeof document>`u`||typeof document.cookie!=`string`?null:document}catch{return null}}function xO(){try{return typeof window>`u`||!window.localStorage?null:window.localStorage}catch{return null}}function SO(e,t){try{return e&&e.getItem(t)||``}catch{return``}}function CO(e){var t=bO();if(!t)return``;for(var n=t.cookie.split(`;`),r=0;r<n.length;r++){var i=n[r].indexOf(`=`);if(!(i<0||n[r].slice(0,i).trim()!==e)){var a=n[r].slice(i+1).trim();if(a)try{return decodeURIComponent(a)}catch{return a}}}return``}function wO(e,t){var n=bO();if(n){var r=``,i=!1;try{typeof window<`u`&&window.location&&(r=window.location.hostname||``,i=window.location.protocol===`https:`)}catch{}var a=e+`=`+encodeURIComponent(t);a+=`; Path=/; Max-Age=`+Kae+`; SameSite=Lax`,(`.`+r).slice(-(_O.length+1))===`.`+_O&&(a+=`; Domain=`+_O),i&&(a+=`; Secure`);try{n.cookie=a}catch{}}}function qae(e){for(var t=0;t<gO.length;t++){var n=CO(gO[t])||SO(e,gO[t]);if(n)return n}return``}function Jae(){if(typeof window>`u`)return``;var e=xO(),t=CO(hO)||SO(e,hO)||qae(e)||vO||yO();vO=t,wO(hO,t);try{e&&e.getItem(hO)!==t&&e.setItem(hO,t)}catch{}return t}function Yae(e){vO=e,wO(hO,e);try{var t=xO();t&&t.setItem(hO,e)}catch{}}var TO={session:`hz_session`,firstTouch:`hz_first_touch`,lastTouch:`hz_last_touch`,cohort:`hz_cohort`},Xae=7776e6,Zae=18e5;function EO(){try{return typeof window>`u`||!window.localStorage?void 0:window.localStorage}catch{return}}function DO(){return Jae()||void 0}function OO(e=Date.now()){let t=EO();if(!t)return;let n=null;try{n=JSON.parse(t.getItem(TO.session)||`null`)}catch{n=null}return!n||e-n.last>Zae?n={id:yO(e),last:e}:n.last=e,t.setItem(TO.session,JSON.stringify(n)),n.id}function Qae(e,t=Date.now()){let n=EO();n&&n.setItem(TO.session,JSON.stringify({id:e,last:t}))}function kO(e){Yae(e)}function AO(){let e=EO();if(e)try{let t=e.getItem(TO.firstTouch);return t?JSON.parse(t):void 0}catch{return}}function jO(e){let t=EO();return AO()||(t&&t.setItem(TO.firstTouch,JSON.stringify(e)),e)}function $ae(e=Date.now()){let t=EO();if(t)try{let n=JSON.parse(t.getItem(TO.lastTouch)||`null`);return!n?.utm||typeof n.at!=`number`||e-n.at>Xae?void 0:n.utm}catch{return}}function eoe(e,t=Date.now()){let n=EO();n&&n.setItem(TO.lastTouch,JSON.stringify({utm:e,at:t}))}function toe(){let e=EO();if(e)try{let t=e.getItem(TO.cohort);return t?JSON.parse(t):void 0}catch{return}}function MO(e){let t=EO(),n=toe()||{},r={signupWeek:n.signupWeek||e.signupWeek,channel:e.channel||n.channel,refCode:n.refCode||e.refCode};return t&&t.setItem(TO.cohort,JSON.stringify(r)),r}var NO=86400,noe=new Set([`hanzo.app`]);function roe(e){for(let t of Object.values(rO))for(let n of t)if(!noe.has(n)&&(e===n||e.endsWith(`.${n}`)))return n;return``}function PO(){let e=roe(window.location.hostname.toLowerCase());return e?`; Domain=.${e}`:``}function FO(e){if(typeof document>`u`||typeof document.cookie!=`string`)return;let t=document.cookie.split(`; `).find(t=>t.startsWith(`${e}=`));return t?decodeURIComponent(t.slice(e.length+1)):void 0}function IO(e,t,n){if(typeof document>`u`)return;let r=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${e}=${encodeURIComponent(t)}; Max-Age=${n*NO}; Path=/; SameSite=Lax${PO()}${r}`}function LO(e){return typeof window<`u`&&window.location?.protocol===`https:`?`__Host-${e}`:e}function RO(e,t,n){if(typeof document>`u`)return;let r=window.location.protocol===`https:`?`; Secure`:``;document.cookie=`${LO(e)}=${encodeURIComponent(t)}; Max-Age=${n*NO}; Path=/; SameSite=Lax${r}`}function ioe(e,t=[]){if(typeof document>`u`||typeof document.cookie!=`string`)return;let n=document.cookie.split(`; `).map(e=>e.slice(0,e.indexOf(`=`))),r=new Set([...e,...n.filter(e=>t.some(t=>t.test(e)))]),i=window.location.hostname.split(`.`),a=new Set([``,PO(),...i.slice(0,-1).map((e,t)=>`; Domain=.${i.slice(t).join(`.`)}`)]);for(let e of r)for(let t of a)document.cookie=`${e}=; Max-Age=0; Path=/${t}`}var zO=()=>typeof navigator<`u`&&navigator.webdriver===!0,BO=`hz_internal`;function VO(){if(zO())return!0;if(typeof window>`u`||typeof document>`u`||typeof document.cookie!=`string`)return!1;let e=new URLSearchParams(window.location?.search??``).get(BO);return e===`1`&&IO(BO,`1`,365),e===`0`?(IO(BO,``,0),!1):e===`1`||FO(BO)===`1`}var HO={anon:`hz_aid`,session:`hz_sid`,firstTouch:`hz_ft`},UO=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,WO=e=>!!e&&UO.test(e);function GO(e){return JSON.stringify([e.utm.source,e.utm.medium,e.utm.campaign,e.utm.term,e.utm.content,e.refCode,e.referrer,e.channel].map(e=>e??``))}function aoe(e){if(!(!e||e.length>1024))try{let t=JSON.parse(e);if(!Array.isArray(t)||t.length!==8||t.some(e=>typeof e!=`string`))return;let[n,r,i,a,o,s,c,l]=t,u=e=>e||void 0;return{utm:{source:u(n),medium:u(r),campaign:u(i),term:u(a),content:u(o)},refCode:u(s),referrer:u(c),channel:u(l)}}catch{return}}function ooe(e,t,n,r){let i;try{i=new URL(e,r)}catch{return e}if(i.protocol!==`https:`&&i.protocol!==`http:`||!sO(i.hostname)||i.hostname===n)return e;let a=(e,t)=>t&&i.searchParams.set(e,t);return WO(t.anonId)&&a(HO.anon,t.anonId),WO(t.sessionId)&&a(HO.session,t.sessionId),t.firstTouch&&a(HO.firstTouch,GO(t.firstTouch)),i.toString()}function soe(e){let t=new URLSearchParams(e||``),n=t.get(HO.anon),r=t.get(HO.session);return{anonId:WO(n)?n:void 0,sessionId:WO(r)?r:void 0,firstTouch:aoe(t.get(HO.firstTouch))}}function coe(e){let t=new URL(e),n=!1;for(let e of Object.values(HO))t.searchParams.has(e)&&(t.searchParams.delete(e),n=!0);return n?t.pathname+t.search+t.hash:void 0}var KO=`hz_consent`,qO=`hz_consent_v`,JO=`hz_consent_rule`,YO=3,XO=2,loe=`hzconsent`,ZO={analytics:!1,marketing:!1,ads:!1},uoe={analytics:!0,marketing:!0,ads:!0},doe=[`eu`,`us_privacy`,`global`],foe=`hz_consent_policy`,QO=Symbol.for(`hanzo.event.consent`);function $O(){let e=globalThis;return e[QO]??(e[QO]={})}function poe(e){if(typeof e!=`object`||!e)return;let t=e;if(typeof t.version==`number`||typeof t.mode==`string`)return{mode:doe.includes(t.mode)?t.mode:`eu`,refused:t.refused===!0,version:Number(t.version)||0,region:String(t.region??``),floor:Number(t.floor)||XO}}function moe(){try{return typeof window>`u`?void 0:window.sessionStorage}catch{return}}function ek(){let e=$O().served;if(e)return e;try{let e=poe(JSON.parse(moe()?.getItem(foe)??`null`));if(e)return e}catch{}return{mode:`eu`,refused:!1,version:YO,region:``,floor:XO}}function tk(){let e=ek();return{mode:e.mode,refused:e.refused||rk(),version:ik(),region:e.region}}function nk(){return typeof navigator>`u`?!1:navigator.globalPrivacyControl===!0}function rk(){if(typeof window>`u`)return!1;let e=typeof navigator>`u`?{}:navigator,t=e.doNotTrack??window.doNotTrack??e.msDoNotTrack;return nk()||t===`1`||t===`yes`}var ik=()=>Math.max($O().served?.version??0,YO),ak=()=>tk().refused;function ok(){let e=FO(LO(KO));if(e===void 0)return;let t=Number(FO(LO(qO))),n=FO(LO(JO));if(tk().mode===`eu`&&!(n===`eu`||n===void 0&&t===2))return;let r=e.split(`,`);return{held:{analytics:r.includes(`analytics`),marketing:r.includes(`marketing`),ads:r.includes(`ads`)},current:t>=ek().floor&&t<=ik()}}var sk=e=>e.analytics||e.marketing||e.ads;function ck(){let e=tk();if(e.refused)return{...ZO};let t=e.mode===`eu`?ZO:uoe,n=ok();return n?n.current?{...n.held}:{analytics:t.analytics&&n.held.analytics,marketing:t.marketing&&n.held.marketing,ads:t.ads&&n.held.ads}:{...t}}function lk(){let e=ok();ak()&&e&&sk(e.held)&&dk({...ZO})}function uk(e){return[`analytics`,`marketing`,`ads`].filter(t=>e[t]).join(`,`)}function dk(e){let t=tk(),n=t.refused?{...ZO}:{analytics:e.analytics,marketing:e.marketing,ads:e.ads};RO(KO,uk(n),395),RO(qO,String(ik()),395),RO(JO,t.mode,395),n.analytics||hk(fk),n.marketing||hk(pk),n.ads||hk(mk),typeof window<`u`&&window.dispatchEvent(new Event(loe))}var fk={cookies:[`_ga`,`_gid`,`_gat`,`hz_cid`],patterns:[/^_ga_[A-Z0-9]+$/,/^_gat_[\w-]+$/],storage:[]},pk={cookies:[`hz_touch`,`_fbp`,`_fbc`,`_ttp`,`_tt_enable_cookie`,`ttcsid`,`_twclid`,`li_fat_id`,`li_giant`,`_uetsid`,`_uetvid`,`_pin_unauth`,`_epik`,`_derived_epik`,`_rdt_uuid`,`_rdt_cid`],patterns:[/^ttcsid_[A-Z0-9]+$/],storage:[]},mk={cookies:[],patterns:[/^_gcl_[a-z]+$/,/^_gac_[\w-]+$/],storage:[]};function hk(e){if(ioe(e.cookies,e.patterns),!(typeof window>`u`))try{for(let t of e.storage)window.localStorage?.removeItem(t)}catch{}}var gk=`0.3.66`,_k=`/v1/event`,vk=`https://api.hanzo.ai`,yk=`text/plain`;function bk(e){try{if(typeof process<`u`)return{}[e]||void 0}catch{}}function xk(e,t,n){return e+(e.includes(`?`)?`&`:`?`)+t+`=`+encodeURIComponent(n)}function Sk(e){let t=Gae(e),n=Wae(t.stack).slice(-50).map(e=>({function:e.function,file:e.filename,line:e.lineno,column:e.colno}));return{type:t.name,message:t.message,stack:t.stack,frames:n}}var Ck=()=>wk()?{screen:`${window.screen?.width??0}x${window.screen?.height??0}`,language:navigator.language||``}:{},wk=()=>typeof window<`u`&&typeof document<`u`;function Tk(e){if(!wk())return e;let t=new Set(uk(ck()).split(`,`).filter(Boolean)),n=String(e.properties?.consent??``).split(`,`).filter(e=>t.has(e)).join(`,`);return{...e,properties:{...e.properties,consent:n}}}function Ek(e){try{return JSON.stringify({batch:e})}catch{}let t=[];for(let n of e)try{t.push(JSON.stringify(n))}catch{try{t.push(JSON.stringify({...n,properties:{$unserializable:!0}}))}catch{}}return t.length>0?`{"batch":[`+t.join(`,`)+`]}`:null}var Dk=class{send(e,t,n){if(n.beacon&&wk()&&typeof navigator.sendBeacon==`function`){let r=n.ingestKey?xk(e,`ingest_key`,n.ingestKey):e;try{if(navigator.sendBeacon(r,new Blob([t],{type:yk})))return;n.debug&&console.warn(`[event] beacon refused, falling back to fetch`)}catch{}}if(typeof fetch!=`function`)return;let r=n.ingestKey!==void 0&&n.token===void 0&&n.contentType===void 0,i={"Content-Type":r?yk:n.contentType??`application/json`},a=r?void 0:n.token??n.ingestKey;a&&(i.Authorization=`Bearer ${a}`),fetch(n.ingestKey?xk(e,`ingest_key`,n.ingestKey):e,{method:`POST`,headers:i,body:t,keepalive:!0,credentials:r?`omit`:`include`}).then(t=>{!t.ok&&n.debug&&console.warn(`[event] ingest rejected`,t.status,e.split(`?`)[0])}).catch(t=>{n.debug&&console.warn(`[event] ingest failed`,e.split(`?`)[0],t)})}},Ok=class{constructor(e){this.queue=[],this.timer=null,this.attribution={utm:{}},this.cohort={},this.started=!1,this.reentrant=!1,this.cfg={host:vk,batchSize:20,flushIntervalMs:5e3,enabled:!0,captureErrors:!0,...e,ingestKey:e.ingestKey??bk(`NEXT_PUBLIC_PUBLISHABLE_KEY`)??Cae()},this.transport=e.transport??new Dk}adopt(e){e.ingestKey&&!this.cfg.ingestKey&&(this.cfg.ingestKey=e.ingestKey),e.getToken&&!this.cfg.getToken&&(this.cfg.getToken=e.getToken)}init(){if(this.started||!this.cfg.enabled||(this.started=!0,!wk()))return;let e=soe(window.location.search),t=coe(window.location.href);if(t!==void 0)try{window.history.replaceState(window.history.state,``,t)}catch{}this.settle(e,vae(window.location.search,document.referrer)),lk(),window.addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&this.flush(!0)}),window.addEventListener(`pagehide`,()=>this.flush(!0)),this.cfg.captureErrors&&(window.addEventListener(`error`,e=>{this.captureError(e.error??e.message,{handled:!1})}),window.addEventListener(`unhandledrejection`,e=>{this.captureError(e.reason,{handled:!1})}))}settle(e,t){e.anonId&&kO(e.anonId),e.sessionId&&Qae(e.sessionId);let n=e.firstTouch&&!AO()?jO(e.firstTouch):void 0;this.attribution=n??(yae(t)?jO(t):AO()??t),(t.utm.source||t.utm.campaign)&&eoe(t.utm),this.lastUtm=$ae(),this.cohort=MO({channel:this.attribution.channel??tO(this.attribution),refCode:this.attribution.refCode})}link(e){return wk()?(this.started||this.init(),ooe(e,{anonId:DO(),sessionId:OO(),firstTouch:this.attribution},window.location.hostname,window.location.href)):e}authorize(e){let t=this.link(e);return this.flush(!0),t}identify(e,t){this.personId=e,this.enqueue(`identify`,void 0,{properties:t})}group(e,t){this.enqueue(`group`,void 0,{groupId:e,properties:t})}pageview(e,t){let n=e??(wk()?window.location.pathname:void 0),r=(n??``)+`\0`+(wk()?window.location.href:``);r!==this.counted&&(this.counted=r,this.enqueue(`pageview`,C,{path:n,properties:{...Ck(),...t}}))}capture(e,t,n){this.enqueue(`event`,e,{properties:t,...n})}captureError(e,t){if(!this.reentrant){this.reentrant=!0;try{let n=t?.handled??!0,r=Sk(e);r.handled=n,this.enqueue(`error`,void 0,{error:r,level:t?.level??(n?`error`:`fatal`),release:this.cfg.release??bk(`NEXT_PUBLIC_HANZO_RELEASE`),environment:this.cfg.environment??bk(`NODE_ENV`),site:wk()?window.location.hostname:void 0,properties:t?.properties}),this.flush()}catch{}finally{this.reentrant=!1}}}setCohort(e){this.cohort=MO(e)}flush(e=!1){if(!this.cfg.enabled||this.queue.length===0)return;let t=this.queue.map(Tk);if(this.queue=[],this.clearTimer(),t.length===0)return;let n=this.cfg.getToken?.()??void 0,r=this.cfg.ingestKey?.trim()||void 0,i=e&&!n,a=Ek(t);if(a===null){this.cfg.debug&&console.debug(`[event] flush → dropped, batch unserializable`);return}this.cfg.debug&&console.debug(`[event] flush →`,_k,t.length),this.transport.send(this.cfg.host+_k,a,{beacon:i,token:n,ingestKey:r,debug:this.cfg.debug})}enqueue(e,t,n){this.cfg.enabled&&(this.started||this.init(),this.queue.push(this.build(e,t,n)),this.queue.length>=this.cfg.batchSize?this.flush():this.schedule())}build(e,t,n){let r=DO(),i={messageId:yO(),type:e,event:t,timestamp:new Date().toISOString(),distinctId:this.personId??r,anonymousId:r,personId:this.personId,sessionId:OO(),product:this.cfg.product,referrer:this.attribution.referrer,utm:this.attribution.utm,lastUtm:this.lastUtm,refCode:this.cohort.refCode??this.attribution.refCode,channel:this.cohort.channel??this.attribution.channel,signupWeek:this.cohort.signupWeek,url:wk()?window.location.href:void 0,path:wk()?window.location.pathname:void 0,library:`@hanzo/event`,libraryVersion:gk,...n},a=this.cfg.capturePII??!1;return i.url&&=dO(uO(i.url),a),i.path&&=dO(uO(i.path),a),i.referrer&&=dO(uO(i.referrer),a),VO()&&(i.properties={...i.properties,internal:!0}),wk()&&(i.properties={...i.properties,consent:uk(ck())}),i}schedule(){!this.timer&&this.cfg.enabled&&(this.timer=setTimeout(()=>{this.timer=null,this.flush()},this.cfg.flushIntervalMs))}clearTimer(){this.timer&&=(clearTimeout(this.timer),null)}},kk=Symbol.for(`hanzo.event.clients.optin`);function hoe(){let e=globalThis,t=e[kk];if(t)return t;let n=new Map;return e[kk]=n,n}function goe(e){if(!wk()||e.enabled===!1)return new Ok(e);let t=(e.host??vk)+`\0`+e.product,n=hoe(),r=n.get(t);if(r)return r.adopt(e),r;let i=new Ok(e);return n.set(t,i),i}var Ak=(0,b.createContext)(null);function _oe(e){let{client:t,config:n,autoPageview:r=!0,children:i}=e;if(!t&&!n)throw Error("AnalyticsProvider requires `client` or `config`");let a=t??goe(n);return(0,b.useEffect)(()=>{a.init(),r&&a.pageview()},[a,r]),(0,b.createElement)(Ak.Provider,{value:a},i)}new Ok({product:`unknown`,enabled:!1});var jk=class extends b.Component{constructor(){super(...arguments),this.state={error:null},this.reset=()=>this.setState({error:null})}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){(this.props.client??this.context??void 0)?.captureError(e,{handled:!1,properties:{componentStack:t.componentStack,react:!0}})}render(){let{error:e}=this.state;if(e===null)return this.props.children;let{fallback:t}=this.props;return typeof t==`function`?t(e,this.reset):t??null}};jk.contextType=Ak;var voe=jk.contextType;function yoe(){return(0,b.useContext)(voe)}var boe=`hz_consent`,Mk=()=>typeof window<`u`;function xoe(){try{return!Mk()||!window.localStorage?void 0:window.localStorage}catch{return}}function Soe(){if(!Mk())return!1;try{let e=navigator,t=window;return e.globalPrivacyControl===!0||e.doNotTrack===`1`||t.doNotTrack===`1`||e.msDoNotTrack===`1`}catch{return!1}}function Coe(){let e=xoe();if(e)try{let t=e.getItem(boe);return t===`granted`||t===`denied`?t:void 0}catch{return}}var Nk=new Set;function woe(e){return Nk.add(e),()=>{Nk.delete(e)}}function Toe(e){if(typeof e.enabled==`boolean`)return e.enabled;let t=e.stored===void 0?Coe():e.stored;if(t===`denied`)return!1;if(t===`granted`)return!0;let n=e.consent??`auto`;return n===`denied`?!1:n===`granted`||!Soe()}var Eoe={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1},Pk=(...e)=>{for(let t of e)if(typeof t==`string`&&t.trim()!==``)return t.trim()};function Doe(){try{if(typeof process>`u`)return{};let e={};return{apiUrl:Pk(e.NEXT_PUBLIC_HANZO_API_URL,e.PUBLIC_HANZO_API_URL,e.HANZO_API_URL),ingestKey:Pk(e.NEXT_PUBLIC_PUBLISHABLE_KEY,e.PUBLIC_PUBLISHABLE_KEY,e.PUBLISHABLE_KEY,e.NEXT_PUBLIC_HANZO_INGEST_KEY,e.PUBLIC_HANZO_INGEST_KEY,e.HANZO_INGEST_KEY),product:Pk(e.NEXT_PUBLIC_HANZO_PRODUCT,e.PUBLIC_HANZO_PRODUCT,e.HANZO_PRODUCT),telemetry:Pk(e.NEXT_PUBLIC_HANZO_TELEMETRY,e.PUBLIC_HANZO_TELEMETRY,e.HANZO_TELEMETRY),debug:Pk(e.NEXT_PUBLIC_HANZO_TELEMETRY_DEBUG,e.PUBLIC_HANZO_TELEMETRY_DEBUG)}}catch{return{}}}function Ooe(){try{let e=Eoe;return e?{apiUrl:Pk(e.VITE_HANZO_API_URL,e.EXPO_PUBLIC_HANZO_API_URL,e.PUBLIC_HANZO_API_URL),ingestKey:Pk(e.VITE_PUBLISHABLE_KEY,e.EXPO_PUBLIC_PUBLISHABLE_KEY,e.PUBLIC_PUBLISHABLE_KEY,e.VITE_HANZO_INGEST_KEY,e.EXPO_PUBLIC_HANZO_INGEST_KEY,e.PUBLIC_HANZO_INGEST_KEY),product:Pk(e.VITE_HANZO_PRODUCT,e.EXPO_PUBLIC_HANZO_PRODUCT,e.PUBLIC_HANZO_PRODUCT),telemetry:Pk(e.VITE_HANZO_TELEMETRY,e.EXPO_PUBLIC_HANZO_TELEMETRY,e.PUBLIC_HANZO_TELEMETRY),debug:Pk(e.VITE_HANZO_TELEMETRY_DEBUG,e.EXPO_PUBLIC_HANZO_TELEMETRY_DEBUG)}:{}}catch{return{}}}function koe(){try{return globalThis.__HANZO_TELEMETRY__??{}}catch{return{}}}var Aoe={"hanzo.ai":`site`,"hanzo.chat":`chat`,"hanzo.app":`app`,"hanzo.id":`iam`,"hanzo.industries":`industries`,"hanzo.network":`network`};function joe(e){if(!e)return;let t=e.toLowerCase().replace(/^www\./,``);if(t===`localhost`||t===`::1`||t===`[::1]`||/^127\./.test(t))return`dev`;let n=Aoe[t];if(n)return n;let r=t.split(`.`)[0];return r&&r!==``?r:void 0}function Fk(){try{return typeof navigator<`u`&&navigator.product===`ReactNative`}catch{return!1}}function Moe(){try{let e=globalThis;if(e.__TAURI_INTERNALS__!==void 0||e.__TAURI__!==void 0)return`desktop`}catch{}if(Fk())return`mobile`}var Noe=e=>e===`0`||e===`false`||e===`off`||e===`no`,Ik=e=>e===`1`||e===`true`||e===`on`||e===`yes`;function Poe(){let e=Doe(),t=Ooe(),n=koe(),r=Pk(t.telemetry,e.telemetry),i=typeof n.enabled==`boolean`?n.enabled:Noe(r)?!1:Ik(r)?!0:void 0;return{host:Pk(n.host,n.apiUrl,t.apiUrl,e.apiUrl)??`https://api.hanzo.ai`,product:Pk(n.product,t.product,e.product),ingestKey:Pk(n.ingestKey,t.ingestKey,e.ingestKey),enabled:i,debug:n.debug===!0||Ik(Pk(t.debug,e.debug))}}var Lk=()=>typeof window<`u`&&typeof document<`u`,Foe=()=>Lk()||Fk();function Rk(e,t){try{e()}catch(e){t&&console.debug(`[telemetry] swallowed`,e)}}var Ioe=new WeakMap;function zk(e={}){let t=Poe(),n=e.debug??t.debug,r=e.product??t.product??Moe()??(Lk()?joe(window.location?.hostname):void 0)??`unknown`,i=Foe()&&Toe({enabled:e.enabled??t.enabled,consent:e.consent}),a=e.errors??!0,o=e.replay??!0,s=e.pageviews??!0,c=e.ingestKey??t.ingestKey??se(),l=jn({host:e.host===void 0?t.host:e.host,product:r,ingestKey:c,getToken:e.getToken,enabled:i,captureErrors:i&&a,debug:n}),u={enabled:i,product:r,client:l,track:(e,t,r)=>Rk(()=>l.capture(e,t,r),n),pageview:(e,t)=>Rk(()=>l.pageview(e,t),n),identify:(e,t)=>Rk(()=>l.identify(e,t),n),group:(e,t)=>Rk(()=>l.group(e,t),n),captureError:(e,t)=>Rk(()=>l.captureError(e,t),n),captureException:(e,t)=>Rk(()=>l.captureError(e,t),n),setCohort:e=>Rk(()=>l.setCohort(e),n),flush:()=>Rk(()=>l.flush(),n)};return Ioe.set(u,{host:e.host===void 0?t.host:e.host,product:r,enabled:i,replay:o,errors:a,pageviews:s,hasIngestKey:!!c,debug:n}),u}var Bk,Vk=!1,Hk=new Set;function Uk(){return Bk||=zk(),Bk}function Wk(e,t){Bk=e,Vk=e!==void 0&&(t?.app??!0);for(let e of Hk)try{e()}catch{}}function Loe(){return Vk}function Roe(e){return Hk.add(e),()=>{Hk.delete(e)}}var zoe=(e,t,n)=>Uk().track(e,t,n);function Boe(e,t,n){(0,b.useEffect)(()=>{if(!t||typeof window>`u`||typeof document>`u`)return;let r=!1,i,a=()=>{r||Va(async()=>{let{observe:e,wireProps:t}=await import(`./dist-Cy8E8G3S.js`);return{observe:e,wireProps:t}},[]).then(({observe:t,wireProps:a})=>{if(r)return;let o=t(t=>{t.kind!==`nav`&&e.track(t.name,a(t))},{nav:!1,redaction:n});i=()=>o.stop()}).catch(()=>{})},o=window,s=typeof o.requestIdleCallback==`function`,c=s?o.requestIdleCallback(a,{timeout:3e3}):window.setTimeout(a,1200);return()=>{r=!0;try{s?o.cancelIdleCallback?.(c):window.clearTimeout(c)}catch{}i?.()}},[e,t])}var Gk=e=>{try{let t=window.location,n=e==null||e===``?t:new URL(String(e),t.href);return{key:n.pathname+n.search+n.hash,path:n.pathname}}catch{return{key:``,path:void 0}}};function Voe(e,t,n){let r=(0,b.useRef)(null),i=n!==void 0;(0,b.useEffect)(()=>{if(!t||!i||!Lk())return;let a=n??Gk().path??``;r.current!==a&&(r.current=a,e.pageview(a))},[e,t,i,n]),(0,b.useEffect)(()=>{if(!t||i||!Lk())return;let n=t=>{let{key:n,path:i}=Gk(t);r.current!==n&&(r.current=n,e.pageview(i))};n();let a=window.history,o=a.pushState,s=a.replaceState;a.pushState=function(...e){let t=o.apply(this,e);return n(e[2]),t},a.replaceState=function(...e){let t=s.apply(this,e);return n(e[2]),t};let c=()=>n();return window.addEventListener(`popstate`,c),window.addEventListener(`hashchange`,c),()=>{a.pushState=o,a.replaceState=s,window.removeEventListener(`popstate`,c),window.removeEventListener(`hashchange`,c)}},[e,t,i])}var Hoe=(0,b.createContext)(null);function Kk(e){let{owner:t=`app`,path:n,fallback:r,client:i,children:a,host:o,product:s,ingestKey:c,getToken:l,enabled:u,consent:d,replay:f,errors:p,pageviews:m,redaction:h,debug:g}=e,_=t===`gui`,v=yoe(),y=v!==null&&_,[x,S]=(0,b.useState)(!1),C=!_||x&&!y;(0,b.useEffect)(()=>{if(!_||y)return;let e=()=>S(!Loe());return e(),Roe(e)},[_,y]);let w=(0,b.useRef)(l);w.current=l;let T=(0,b.useRef)(h);T.current=h;let[E,D]=(0,b.useState)(0);(0,b.useEffect)(()=>{let e=()=>D(e=>e+1),t=woe(e);if(!Lk())return t;let n=t=>{(t.key===null||t.key===`hz_consent`)&&e()};return window.addEventListener(`storage`,n),()=>{t(),window.removeEventListener(`storage`,n)}},[]);let O=(0,b.useMemo)(()=>i??zk({host:o,product:s,ingestKey:c,getToken:w.current?()=>w.current?.():void 0,enabled:C?u:!1,consent:d,replay:f,errors:p,pageviews:m,debug:g}),[i,o,s,c,C,u,d,f,p,m,g,E]);(0,b.useEffect)(()=>{if(C)return Wk(O,{app:!_}),O.client.init(),()=>{Uk()===O&&Wk(void 0)}},[O,C,_]);let k=O.enabled;return Voe(O,k&&(m??!0),n),Boe(O,k&&(f??!0),T.current),(0,L.jsx)(Hoe.Provider,{value:O,children:(0,L.jsx)(_oe,{client:y&&v?v:O.client,autoPageview:!1,children:(0,L.jsx)(Uoe,{telemetry:O,enabled:k&&(p??!0),fallback:r,children:a})})})}var Uoe=class extends b.Component{constructor(){super(...arguments),this.state={error:null},this.reset=()=>this.setState({error:null})}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){if(this.props.enabled&&this.props.telemetry.captureError(e,{handled:!1,properties:{componentStack:t.componentStack,react:!0}}),this.props.fallback===void 0)throw e}render(){let{error:e}=this.state;if(!e)return this.props.children;let{fallback:t}=this.props;return t===void 0?null:typeof t==`function`?t(e,this.reset):t}},Woe=({children:e,telemetry:t,...n})=>{let r=(0,L.jsx)(Gm,{...n,children:(0,L.jsx)(Ch.Provider,{value:1,children:(0,L.jsx)(Lh,{shouldAddRootHost:!0,children:e})})});return t===!1?r:(0,L.jsx)(Kk,{owner:`gui`,...typeof t==`object`?t:null,children:r})},qk={size:`$true`,fontFamily:`$body`,borderWidth:1,outlineWidth:0,color:`$color`,tabIndex:0,borderColor:`$borderColor`,backgroundColor:`$background`,minWidth:0,hoverStyle:{borderColor:`$borderColorHover`},focusStyle:{borderColor:`$borderColorFocus`},focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`}},Goe=(e=`$true`,t)=>{if(t.props.tag===`textarea`||t.props.rows>1||t.props.multiline||t.props.numberOfLines>1)return Jk(e,t);let n=ph(e,t),r=sh(e,{shift:-1,bounds:[2]});return{...gh(e,t),...n,paddingHorizontal:r}},Jk=(e=`$true`,t)=>{let{props:n}=t,r=ph(e,t),i=gh(e,t),a=n.rows??n.numberOfLines,o=typeof a==`number`?a*Kc(i.lineHeight):`auto`,s=sh(e,{shift:-2,bounds:[2]}),c=sh(e,{shift:-1,bounds:[2]});return{...r,...i,paddingVertical:s,paddingHorizontal:c,height:o}},Yk=[{name:`Input`,render:`input`,variants:{unstyled:{true:{outlineWidth:0,borderWidth:0,backgroundColor:`transparent`},false:qk},size:{"...size":Goe},disabled:{true:{}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}},{isInput:!0,accept:{placeholderTextColor:`color`,selectionColor:`color`,cursorColor:`color`,selectionHandleColor:`color`,underlineColorAndroid:`color`},validStyles:Jm.staticConfig.validStyles}],Xk=R(qm,Yk[0],Yk[1]),Zk=Xk.styleable((e,t)=>{let{disabled:n,id:r,onChangeText:i,onSubmitEditing:a,onSelectionChange:o,selection:s,placeholderTextColor:c,selectionColor:l,rows:u,keyboardAppearance:d,returnKeyType:f,submitBehavior:p,blurOnSubmit:m,caretHidden:h,contextMenuHidden:g,selectTextOnFocus:_,secureTextEntry:v,maxFontSizeMultiplier:y,allowFontScaling:x,multiline:S,keyboardType:C,autoCapitalize:w,autoCorrect:T,autoFocusNative:E,textContentType:D,onEndEditing:O,onContentSizeChange:k,onScroll:A,onKeyPress:j,clearButtonMode:ee,clearTextOnFocus:M,enablesReturnKeyAutomatically:te,dataDetectorTypes:ne,scrollEnabled:N,passwordRules:P,rejectResponderTermination:re,spellCheck:ie,lineBreakStrategyIOS:ae,lineBreakModeIOS:oe,smartInsertDelete:se,inputAccessoryViewID:ce,inputAccessoryViewButtonLabel:le,disableKeyboardShortcuts:ue,cursorColor:de,selectionHandleColor:fe,underlineColorAndroid:pe,importantForAutofill:me,disableFullscreenUI:he,inlineImageLeft:ge,inlineImagePadding:F,returnKeyLabel:_e,textBreakStrategy:I,textAlignVertical:ve,verticalAlign:ye,showSoftInputOnFocus:be,numberOfLines:xe,...Se}=e,{ref:Ce,composedRef:we}=hae(t),Te=kl(),Ee=T===!0?`on`:T===!1?`off`:T,De=w===`sentences`||w===`words`?`on`:w===`none`||w===`characters`?`off`:w;b.useEffect(()=>{if(!o)return;let e=Ce.current;if(!e)return;let t=()=>{o({nativeEvent:{selection:{start:e.selectionStart??0,end:e.selectionEnd??0}}})};return e.addEventListener(`select`,t),()=>e.removeEventListener(`select`,t)},[o]),b.useEffect(()=>{s&&Ce.current&&Ce.current.setSelectionRange(s.start,s.end??s.start)},[s?.start,s?.end]),b.useEffect(()=>{if(r&&!n)return bS(r,{focusAndSelect:()=>Ce.current?.focus(),focus:()=>Ce.current?.focus()})},[r,n]);let Oe=e=>{e.key===`Enter`&&a&&a({nativeEvent:{text:e.target.value}}),Se.onKeyDown?.(e)},ke=e=>{i?.(e.target.value),Se.onChange?.(e)},Ae={...Se,disabled:n,id:r,rows:u,autoCorrect:Ee,autoCapitalize:De,onKeyDown:a?Oe:Se.onKeyDown,onChange:i?ke:Se.onChange,style:{...Se.style,...c&&{"--t_placeholderColor":Te[c]?.variable||c},...l&&{"--t_selectionColor":Te[l]?.variable||l}}};return(0,L.jsx)(Xk,{ref:we,...Ae})}),Qk=R(Zk,{name:`TextArea`,render:`textarea`,whiteSpace:`pre-wrap`,variants:{unstyled:{false:{height:`auto`,...qk,rows:3}},size:{"...size":Jk}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}}),$k=z.styleable((e,t)=>{let{size:n,color:r,...i}=e,a=kl(),o=r;return o&&o[0]===`$`&&(o=Bc(a[o])),(0,L.jsx)(z,{ref:t,...i,children:(0,L.jsx)(Dx,{size:n,color:o})})}),H=R(Jm,{variants:{unstyled:{false:{color:`$color`}}},defaultVariants:{unstyled:{}.GUI_HEADLESS===`1`}}),eA=e=>e.replace(/[A-Z]/g,e=>`-`+e.toLowerCase()),tA=e=>{if(e&&e.nodeType===1&&typeof e.getBoundingClientRect==`function`)return e.getBoundingClientRect();throw Error(`Can not get boundingClientRect of `+e||`undefined`)},nA=(e,t)=>{let n=e?.parentNode;n&&setTimeout(()=>{let r=tA(n),{height:i,left:a,top:o,width:s}=tA(e);t(a-r.left,o-r.top,s,i,a,o)},0)};function rA(){let e=this.state.touchable.responderID;e!==null&&nA(e,this._handleQueryLayout)}function iA(e){return e.replace(`<svg`,~e.indexOf(`xmlns`)?`<svg`:`<svg xmlns="http://www.w3.org/2000/svg"`).replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/{/g,`%7B`).replace(/}/g,`%7D`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}var aA=new Set(`stdDeviation.edgeMode.kernelMatrix.kernelUnitLength.preserveAlpha.baseFrequency.targetX.targetY.numOctaves.stitchTiles.filterUnits.primitiveUnits.pathLength.gradientUnits.gradientTransform.spreadMethod.markerHeight.markerUnits.markerWidth.viewBox.refX.refY.maskContentUnits.maskUnits.patternContentUnits.patternTransform.patternUnits.textLength.lengthAdjust.startOffset.clipPathUnits`.split(`.`)),oA=e=>aA.has(e)?e:eA(e);function sA(e){return!!(e.onPress||e.onPressIn||e.onPressOut||e.onLongPress)}Math.PI/180;var cA=s(((e,t)=>{function n(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function r(e,t,n,i){this.message=e,this.expected=t,this.found=n,this.location=i,this.name=`SyntaxError`,typeof Error.captureStackTrace==`function`&&Error.captureStackTrace(this,r)}n(r,Error),r.buildMessage=function(e,t){var n={literal:function(e){return`"`+i(e.text)+`"`},class:function(e){for(var t=``,n=0;n<e.parts.length;n++)t+=e.parts[n]instanceof Array?a(e.parts[n][0])+`-`+a(e.parts[n][1]):a(e.parts[n]);return`[`+(e.inverted?`^`:``)+t+`]`},any:function(e){return`any character`},end:function(e){return`end of input`},other:function(e){return e.description}};function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function a(e){return e.replace(/\\/g,`\\\\`).replace(/\]/g,`\\]`).replace(/\^/g,`\\^`).replace(/-/g,`\\-`).replace(/\0/g,`\\0`).replace(/\t/g,`\\t`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/[\x00-\x0F]/g,function(e){return`\\x0`+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return`\\x`+r(e)})}function o(e){return n[e.type](e)}function s(e){for(var t=Array(e.length),n=0,r;n<e.length;n++)t[n]=o(e[n]);if(t.sort(),t.length>0){for(n=1,r=1;n<t.length;n++)t[n-1]!==t[n]&&(t[r]=t[n],r++);t.length=r}switch(t.length){case 1:return t[0];case 2:return t[0]+` or `+t[1];default:return t.slice(0,-1).join(`, `)+`, or `+t[t.length-1]}}function c(e){return e?`"`+i(e)+`"`:`end of input`}return`Expected `+s(e)+` but `+c(t)+` found.`};function i(e,t){t=t===void 0?{}:t;var n={},i={transformList:ke},a=ke,o=function(e){return e},s=function(e,t){return Qe(e,t)},c=`matrix`,l=xe(`matrix`,!1),u=`(`,d=xe(`(`,!1),f=`)`,p=xe(`)`,!1),m=function(e,t,n,r,i,a){return[e,n,i,t,r,a]},h=`translate`,g=xe(`translate`,!1),_=function(e,t){return[1,0,e,0,1,t||0]},v=`scale`,y=xe(`scale`,!1),b=function(e,t){return[e,0,0,0,t===null?e:t,0]},x=`rotate`,S=xe(`rotate`,!1),C=function(e,t){var n=Math.cos(Ze*e),r=Math.sin(Ze*e);if(t!==null){var i=t[0],a=t[1];return[n,-r,n*-i+-r*-a+i,r,n,r*-i+n*-a+a]}return[n,-r,0,r,n,0]},w=`skewX`,T=xe(`skewX`,!1),E=function(e){return[1,Math.tan(Ze*e),0,0,1,0]},D=`skewY`,O=xe(`skewY`,!1),k=function(e){return[1,0,0,Math.tan(Ze*e),1,0]},A=function(e){return parseFloat(e.join(``))},j=function(e){return parseInt(e.join(``))},ee=function(e){return e},M=function(e,t){return[e,t]},te=`,`,ne=xe(`,`,!1),N=function(e){return e.join(``)},P=function(e){return e.join(``)},re=function(e){return e.join(``)},ie=we(`fractionalConstant`),ae=`.`,oe=xe(`.`,!1),se=function(e,t){return[e?e.join(``):null,`.`,t.join(``)].join(``)},ce=/^[eE]/,le=Se([`e`,`E`],!1,!1),ue=function(e){return[e[0],e[1],e[2].join(``)].join(``)},de=/^[+\-]/,fe=Se([`+`,`-`],!1,!1),pe=/^[0-9]/,me=Se([[`0`,`9`]],!1,!1),he=/^[ \t\r\n]/,ge=Se([` `,` `,`\r`,`
53
53
  `],!1,!1),F=0,_e=[{line:1,column:1}],I=0,ve=[],ye=0,be;if(`startRule`in t){if(!(t.startRule in i))throw Error(`Can't start parsing from rule "`+t.startRule+`".`);a=i[t.startRule]}function xe(e,t){return{type:`literal`,text:e,ignoreCase:t}}function Se(e,t,n){return{type:`class`,parts:e,inverted:t,ignoreCase:n}}function Ce(){return{type:`end`}}function we(e){return{type:`other`,description:e}}function Te(t){var n=_e[t],r;if(n)return n;for(r=t-1;!_e[r];)r--;for(n=_e[r],n={line:n.line,column:n.column};r<t;)e.charCodeAt(r)===10?(n.line++,n.column=1):n.column++,r++;return _e[t]=n,n}function Ee(e,t){var n=Te(e),r=Te(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:r.line,column:r.column}}}function De(e){F<I||(F>I&&(I=F,ve=[]),ve.push(e))}function Oe(e,t,n){return new r(r.buildMessage(e,t),e,t,n)}function ke(){for(var e=F,t=[],r=Xe(),i,a;r!==n;)t.push(r),r=Xe();if(t!==n){if(r=Ae(),r===n&&(r=null),r!==n){for(i=[],a=Xe();a!==n;)i.push(a),a=Xe();i===n?(F=e,e=n):(t=o(r),e=t)}else F=e,e=n}else F=e,e=n;return e}function Ae(){var e=F,t=je(),r,i;if(t!==n){for(r=[],i=Ve();i!==n;)r.push(i),i=Ve();r===n?(F=e,e=n):(i=Ae(),i===n?(F=e,e=n):(t=s(t,i),e=t))}else F=e,e=n;return e===n&&(e=je()),e}function je(){var e=Me();return e===n&&(e=Ne(),e===n&&(e=Pe(),e===n&&(e=Fe(),e===n&&(e=Ie(),e===n&&(e=Le()))))),e}function Me(){var t=F,r,i,a,o,s,h,g,_,v,y,b,x,S,C,w,T,E;if(e.substr(F,6)===c?(r=c,F+=6):(r=n,ye===0&&De(l)),r!==n){for(i=[],a=Xe();a!==n;)i.push(a),a=Xe();if(i!==n){if(e.charCodeAt(F)===40?(a=u,F++):(a=n,ye===0&&De(d)),a!==n){for(o=[],s=Xe();s!==n;)o.push(s),s=Xe();if(o!==n){if(s=Re(),s!==n){if(h=Ve(),h!==n){if(g=Re(),g!==n){if(_=Ve(),_!==n){if(v=Re(),v!==n){if(y=Ve(),y!==n){if(b=Re(),b!==n){if(x=Ve(),x!==n){if(S=Re(),S!==n){if(C=Ve(),C!==n){if(w=Re(),w!==n){for(T=[],E=Xe();E!==n;)T.push(E),E=Xe();T===n?(F=t,t=n):(e.charCodeAt(F)===41?(E=f,F++):(E=n,ye===0&&De(p)),E===n?(F=t,t=n):(r=m(s,g,v,b,S,w),t=r))}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n;return t}function Ne(){var t=F,r,i,a,o,s,c,l,m;if(e.substr(F,9)===h?(r=h,F+=9):(r=n,ye===0&&De(g)),r!==n){for(i=[],a=Xe();a!==n;)i.push(a),a=Xe();if(i!==n){if(e.charCodeAt(F)===40?(a=u,F++):(a=n,ye===0&&De(d)),a!==n){for(o=[],s=Xe();s!==n;)o.push(s),s=Xe();if(o!==n){if(s=Re(),s!==n){if(c=ze(),c===n&&(c=null),c!==n){for(l=[],m=Xe();m!==n;)l.push(m),m=Xe();l===n?(F=t,t=n):(e.charCodeAt(F)===41?(m=f,F++):(m=n,ye===0&&De(p)),m===n?(F=t,t=n):(r=_(s,c),t=r))}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n;return t}function Pe(){var t=F,r,i,a,o,s,c,l,m;if(e.substr(F,5)===v?(r=v,F+=5):(r=n,ye===0&&De(y)),r!==n){for(i=[],a=Xe();a!==n;)i.push(a),a=Xe();if(i!==n){if(e.charCodeAt(F)===40?(a=u,F++):(a=n,ye===0&&De(d)),a!==n){for(o=[],s=Xe();s!==n;)o.push(s),s=Xe();if(o!==n){if(s=Re(),s!==n){if(c=ze(),c===n&&(c=null),c!==n){for(l=[],m=Xe();m!==n;)l.push(m),m=Xe();l===n?(F=t,t=n):(e.charCodeAt(F)===41?(m=f,F++):(m=n,ye===0&&De(p)),m===n?(F=t,t=n):(r=b(s,c),t=r))}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n;return t}function Fe(){var t=F,r,i,a,o,s,c,l,m;if(e.substr(F,6)===x?(r=x,F+=6):(r=n,ye===0&&De(S)),r!==n){for(i=[],a=Xe();a!==n;)i.push(a),a=Xe();if(i!==n){if(e.charCodeAt(F)===40?(a=u,F++):(a=n,ye===0&&De(d)),a!==n){for(o=[],s=Xe();s!==n;)o.push(s),s=Xe();if(o!==n){if(s=Re(),s!==n){if(c=Be(),c===n&&(c=null),c!==n){for(l=[],m=Xe();m!==n;)l.push(m),m=Xe();l===n?(F=t,t=n):(e.charCodeAt(F)===41?(m=f,F++):(m=n,ye===0&&De(p)),m===n?(F=t,t=n):(r=C(s,c),t=r))}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n;return t}function Ie(){var t=F,r,i,a,o,s,c,l;if(e.substr(F,5)===w?(r=w,F+=5):(r=n,ye===0&&De(T)),r!==n){for(i=[],a=Xe();a!==n;)i.push(a),a=Xe();if(i!==n){if(e.charCodeAt(F)===40?(a=u,F++):(a=n,ye===0&&De(d)),a!==n){for(o=[],s=Xe();s!==n;)o.push(s),s=Xe();if(o!==n){if(s=Re(),s!==n){for(c=[],l=Xe();l!==n;)c.push(l),l=Xe();c===n?(F=t,t=n):(e.charCodeAt(F)===41?(l=f,F++):(l=n,ye===0&&De(p)),l===n?(F=t,t=n):(r=E(s),t=r))}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n;return t}function Le(){var t=F,r,i,a,o,s,c,l;if(e.substr(F,5)===D?(r=D,F+=5):(r=n,ye===0&&De(O)),r!==n){for(i=[],a=Xe();a!==n;)i.push(a),a=Xe();if(i!==n){if(e.charCodeAt(F)===40?(a=u,F++):(a=n,ye===0&&De(d)),a!==n){for(o=[],s=Xe();s!==n;)o.push(s),s=Xe();if(o!==n){if(s=Re(),s!==n){for(c=[],l=Xe();l!==n;)c.push(l),l=Xe();c===n?(F=t,t=n):(e.charCodeAt(F)===41?(l=f,F++):(l=n,ye===0&&De(p)),l===n?(F=t,t=n):(r=k(s),t=r))}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n}else F=t,t=n;return t}function Re(){var e=F,t=F,r=qe(),i;return r===n&&(r=null),r===n?(F=t,t=n):(i=We(),i===n?(F=t,t=n):(r=[r,i],t=r)),t!==n&&(t=A(t)),e=t,e===n&&(e=F,t=F,r=qe(),r===n&&(r=null),r===n?(F=t,t=n):(i=Ue(),i===n?(F=t,t=n):(r=[r,i],t=r)),t!==n&&(t=j(t)),e=t),e}function ze(){var e=F,t=Ve(),r;return t===n?(F=e,e=n):(r=Re(),r===n?(F=e,e=n):(t=ee(r),e=t)),e}function Be(){var e=F,t=Ve(),r,i,a;return t===n?(F=e,e=n):(r=Re(),r===n?(F=e,e=n):(i=Ve(),i===n?(F=e,e=n):(a=Re(),a===n?(F=e,e=n):(t=M(r,a),e=t)))),e}function Ve(){var e=F,t=[],r=Xe(),i,a;if(r!==n)for(;r!==n;)t.push(r),r=Xe();else t=n;if(t!==n){if(r=He(),r===n&&(r=null),r!==n){for(i=[],a=Xe();a!==n;)i.push(a),a=Xe();i===n?(F=e,e=n):(t=[t,r,i],e=t)}else F=e,e=n}else F=e,e=n;if(e===n){if(e=F,t=He(),t!==n){for(r=[],i=Xe();i!==n;)r.push(i),i=Xe();r===n?(F=e,e=n):(t=[t,r],e=t)}else F=e,e=n}return e}function He(){var t;return e.charCodeAt(F)===44?(t=te,F++):(t=n,ye===0&&De(ne)),t}function Ue(){var e=F,t=Je();return t!==n&&(t=N(t)),e=t,e}function We(){var e=F,t=F,r=Ge(),i;return r===n?(F=t,t=n):(i=Ke(),i===n&&(i=null),i===n?(F=t,t=n):(r=[r,i],t=r)),t!==n&&(t=P(t)),e=t,e===n&&(e=F,t=F,r=Je(),r===n?(F=t,t=n):(i=Ke(),i===n?(F=t,t=n):(r=[r,i],t=r)),t!==n&&(t=re(t)),e=t),e}function Ge(){var t,r,i,a;return ye++,t=F,r=Je(),r===n&&(r=null),r===n?(F=t,t=n):(e.charCodeAt(F)===46?(i=ae,F++):(i=n,ye===0&&De(oe)),i===n?(F=t,t=n):(a=Je(),a===n?(F=t,t=n):(r=se(r,a),t=r))),t===n&&(t=F,r=Je(),r===n?(F=t,t=n):(e.charCodeAt(F)===46?(i=ae,F++):(i=n,ye===0&&De(oe)),i===n?(F=t,t=n):(r=re(r),t=r))),ye--,t===n&&(r=n,ye===0&&De(ie)),t}function Ke(){var t=F,r=F,i,a,o;return ce.test(e.charAt(F))?(i=e.charAt(F),F++):(i=n,ye===0&&De(le)),i===n?(F=r,r=n):(a=qe(),a===n&&(a=null),a===n?(F=r,r=n):(o=Je(),o===n?(F=r,r=n):(i=[i,a,o],r=i))),r!==n&&(r=ue(r)),t=r,t}function qe(){var t;return de.test(e.charAt(F))?(t=e.charAt(F),F++):(t=n,ye===0&&De(fe)),t}function Je(){var e=[],t=Ye();if(t!==n)for(;t!==n;)e.push(t),t=Ye();else e=n;return e}function Ye(){var t;return pe.test(e.charAt(F))?(t=e.charAt(F),F++):(t=n,ye===0&&De(me)),t}function Xe(){var t;return he.test(e.charAt(F))?(t=e.charAt(F),F++):(t=n,ye===0&&De(ge)),t}var Ze=Math.PI/180;function Qe(e,t){var n=e[0],r=e[1],i=e[2],a=e[3],o=e[4],s=e[5],c=t[0],l=t[1],u=t[2],d=t[3],f=t[4],p=t[5];return[n*c+r*d,n*l+r*f,n*u+r*p+i,a*c+o*d,a*l+o*f,a*u+o*p+s]}if(be=a(),be!==n&&F===e.length)return be;throw be!==n&&F<e.length&&De(Ce()),Oe(ve,I<e.length?e.charAt(I):null,I<e.length?Ee(I,I+1):Ee(I,I))}t.exports={SyntaxError:r,parse:i}})),lA=s(((e,t)=>{function n(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function r(e,t,n,i){var a=Error.call(this,e);return Object.setPrototypeOf&&Object.setPrototypeOf(a,r.prototype),a.expected=t,a.found=n,a.location=i,a.name=`SyntaxError`,a}n(r,Error);function i(e,t,n){return n||=` `,e.length>t?e:(t-=e.length,n+=n.repeat(t),e+n.slice(0,t))}r.prototype.format=function(e){var t=`Error: `+this.message;if(this.location){for(var n=null,r=0;r<e.length;r++)if(e[r].source===this.location.source){n=e[r].text.split(/\r\n|\n|\r/g);break}var a=this.location.start,o=this.location.source&&typeof this.location.source.offset==`function`?this.location.source.offset(a):a,s=this.location.source+`:`+o.line+`:`+o.column;if(n){var c=this.location.end,l=i(``,o.line.toString().length,` `),u=n[a.line-1],d=(a.line===c.line?c.column:u.length+1)-a.column||1;t+=`
54
54
  --> `+s+`
55
55
  `+l+` |
@@ -71,7 +71,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
71
71
  \r`,Bue=`"\\/bfnrt`,x1=/-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/y,S1=/[0-9a-fA-F]{4}/y,Vue=/^(\{|\[\s*([[{"\]\-\d]|true\b|false\b|null\b|$))/,C1=e=>e===void 0?`end of input`:e===`
72
72
  `?`line break`:`character '${e}'`;function Hue(e){let t=0,n=(e,n=t)=>{throw{at:n,message:e}},r=()=>{for(;t<e.length&&zue.includes(e[t]);)t++},i=()=>{for(t++;t<e.length;){let r=e[t];if(r===`"`){t++;return}if(r===`\\`){let r=e[t+1];if(r===`u`){S1.lastIndex=t+2,S1.test(e)||n(`Expected four hex digits after \\u`,t+2),t+=6;continue}(r===void 0||!Bue.includes(r))&&n(`Invalid escape '\\${r??``}' in string`,t+1),t+=2;continue}r<` `&&n(r===`
73
73
  `?`Unterminated string`:`Control character in string`),t++}n(`Unterminated string`)},a=()=>{x1.lastIndex=t;let r=x1.exec(e);(!r||r[0]===`-`)&&n(`Invalid number`),t+=r[0].length},o=a=>{r(),e[t]!==`"`&&n(a&&e[t]===`}`?`Trailing comma before '}'`:`Expected a double-quoted property name, found ${C1(e[t])}`),i(),r(),e[t]!==`:`&&n(`Expected ':' after property name, found ${C1(e[t])}`),t++},s=[],c=!0;try{for(;;){if(r(),c){let l=e[t];if(l===`{`||l===`[`){if(t++,r(),e[t]===(l===`{`?`}`:`]`)){t++,c=!1;continue}s.push(l),l===`{`&&o(!1);continue}if(l===`"`)i();else if(l===`-`||l!==void 0&&l>=`0`&&l<=`9`)a();else{let r=[`true`,`false`,`null`].find(n=>e.startsWith(n,t));r||n(`Unexpected ${C1(l)}`),t+=r.length}c=!1;continue}let l=s.at(-1);if(!l)return t<e.length&&n(`Unexpected ${C1(e[t])} after the JSON value`),null;if(e[t]===`,`){t++,l===`{`?o(!0):(r(),e[t]===`]`&&n(`Trailing comma before ']'`)),c=!0;continue}if(e[t]===(l===`{`?`}`:`]`)){t++,s.pop();continue}n(l===`{`?`Expected ',' or '}' after property value, found ${C1(e[t])}`:`Expected ',' or ']' after array element, found ${C1(e[t])}`)}}catch(e){return e}}function Uue(e,t){let n=1,r=0;for(let i=0;i<t&&i<e.length;i++)e[i]===`
74
- `&&(n++,r=i+1);return{line:n,column:t-r+1}}function w1(e,t={}){let n=e.trim();if(!n)return{kind:`empty`};try{return{kind:`json`,value:JSON.parse(e)}}catch(r){if(t.text&&!Vue.test(n))return{kind:`text`,value:e};let i=Hue(e)??{at:0,message:r instanceof Error?r.message:String(r)};return{kind:`error`,message:i.message,at:i.at,...Uue(e,i.at)}}}function Wue(e){let t=w1(e);return t.kind===`json`?JSON.stringify(t.value,null,2):null}var Gue=[`javascript`,`typescript`,`python`,`java`,`csharp`,`cpp`,`c`,`go`,`rust`,`ruby`,`php`,`swift`,`kotlin`,`dart`,`html`,`css`,`scss`,`json`,`xml`,`yaml`,`sql`,`markdown`,`shell`,`plaintext`],T1={javascript:`JavaScript`,typescript:`TypeScript`,python:`Python`,java:`Java`,csharp:`C#`,cpp:`C++`,c:`C`,go:`Go`,rust:`Rust`,ruby:`Ruby`,php:`PHP`,swift:`Swift`,kotlin:`Kotlin`,dart:`Dart`,html:`HTML`,css:`CSS`,scss:`SCSS`,json:`JSON`,xml:`XML`,yaml:`YAML`,sql:`SQL`,markdown:`Markdown`,shell:`Shell`,plaintext:MM(`Plain Text`)},Kue=4096,que=Vq.theme({"&":{color:`var(--ink)`,backgroundColor:`transparent`},"&.cm-focused":{outline:`none`},".cm-scroller":{fontFamily:`var(--font-mono, 'Zen Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace)`,lineHeight:`1.6`,overflow:`auto`,flex:`1 1 auto`,height:`auto`,minHeight:`0`},".cm-content":{padding:`8px 0`,caretColor:`var(--ink)`},".cm-line":{padding:`0 12px`},".cm-gutters":{backgroundColor:`transparent`,color:`var(--codeDim)`,border:`none`,borderInlineEnd:`1px solid var(--edge)`},".cm-lineNumbers .cm-gutterElement":{padding:`0 10px 0 12px`,minWidth:`28px`},".cm-activeLine":{backgroundColor:`var(--panel)`},".cm-activeLineGutter":{backgroundColor:`transparent`,color:`var(--quiet)`},".cm-cursor, .cm-dropCursor":{borderInlineStartColor:`var(--ink)`},".cm-selectionBackground, &.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, ::selection":{backgroundColor:`var(--raised)`},".cm-matchingBracket, &.cm-focused .cm-matchingBracket":{backgroundColor:`var(--raised)`,color:`inherit`,outline:`none`},".cm-nonmatchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:`transparent`},".cm-placeholder":{color:`var(--codeDim)`},".cm-foldGutter .cm-gutterElement":{padding:`0 4px`,color:`var(--codeDim)`,cursor:`pointer`},".cm-foldGutter .cm-gutterElement:hover":{color:`var(--ink)`},".cm-foldPlaceholder":{backgroundColor:`var(--raised)`,border:`1px solid var(--edge)`,borderRadius:`4px`,color:`var(--codePunctuation)`,padding:`0 4px`,margin:`0 2px`,cursor:`pointer`},".cm-foldCount":{color:`var(--codeComment)`},".cm-fault":{backgroundColor:`var(--state-error-bg, rgb(239 68 68 / .1))`},".cm-gutterElement.cm-fault":{color:`var(--bad)`},".cm-fault-at":{textDecoration:`underline wavy var(--bad)`,textDecorationSkipInk:`none`,textUnderlineOffset:`3px`}}),E1=e=>({color:`var(--code${e[0].toUpperCase()}${e.slice(1)})`,...uB[e]}),Jue=yZ.define([{tag:sX.propertyName,...E1(`key`)},{tag:sX.string,...E1(`string`)},{tag:sX.number,...E1(`number`)},{tag:sX.bool,...E1(`boolean`)},{tag:sX.null,...E1(`null`)},{tag:[sX.punctuation,sX.separator,sX.brace,sX.squareBracket],...E1(`punctuation`)},{tag:sX.comment,...E1(`comment`)},{tag:sX.keyword,...E1(`keyword`)}]),Yue=new wX(Pue.configure({props:[GX.add({"Object Array":e=>({from:e.from,to:e.to})})]})),Xue=(e,t)=>t===1?e(`1 key`):e(`{n} keys`,{n:t}),Zue=(e,t)=>t===1?e(`1 item`):e(`{n} items`,{n:t});function Que(e,t,n){let r=mX(e).resolveInner(t.from,1);for(;r.parent&&r.name!==`Object`&&r.name!==`Array`;)r=r.parent;if(r.name===`Object`)return{open:`{`,close:`}`,count:Xue(n,r.getChildren(`Property`).length)};let i=0;for(let e=r.firstChild;e;e=e.nextSibling)!/^[[\],]$/.test(e.name)&&!e.type.isError&&(i+=1);return{open:`[`,close:`]`,count:Zue(n,i)}}var $ue=e=>dZ({preparePlaceholder:(t,n)=>Que(t,n,e),placeholderDOM:(t,n,r)=>{let i=document.createElement(`span`);i.className=`cm-foldPlaceholder`,i.title=e(`Unfold`),i.setAttribute(`aria-label`,e(`Folded, {count}`,{count:r.count})),i.textContent=`${r.open}…${r.close}`;let a=document.createElement(`span`);return a.className=`cm-foldCount`,a.textContent=` ${r.count}`,i.append(a),i.onclick=n,i}}),ede=2,tde=(e,t)=>{let n=0;for(let r of e)if(r===` `)n+=1;else if(r===` `)n+=t-n%t;else break;return n},D1=new Map,nde=e=>{let t=D1.get(e);return t||(t=aU.line({attributes:{style:`padding-inline-start: calc(${e}ch + 12px); text-indent: -${e}ch`}}),D1.set(e,t)),t},rde=jW.fromClass(class{decorations;constructor(e){this.decorations=this.build(e)}update(e){(e.docChanged||e.viewportChanged)&&(this.decorations=this.build(e.view))}build(e){let t=new fH;for(let{from:n,to:r}of e.visibleRanges)for(let i=n;i<=r;){let n=e.state.doc.lineAt(i);t.add(n.from,n.from,nde(tde(n.text,e.state.tabSize)+ede)),i=n.to+1}return t.finish()}},{decorations:e=>e.decorations}),O1=YV.define(),ide=new class extends EJ{elementClass=`cm-fault`},ade=aU.line({class:`cm-fault`}),ode=aU.mark({class:`cm-fault-at`});function k1(e,t){let n=w1(e.doc.toString(),{text:t});if(n.kind!==`error`)return{check:n,marks:aU.none,gutter:uH.empty};let r=Number.isFinite(n.at)?Math.min(n.at,e.doc.length):0,i=e.doc.lineAt(r),a=Math.min(r+1,i.to),o=[ade.range(i.from),...a>r?[ode.range(r,a)]:[]];return{check:n,marks:aU.set(o,!0),gutter:uH.of([ide.range(i.from)])}}var sde=e=>MV.define({create:t=>k1(t,e),update:(t,n)=>n.docChanged?k1(n.state,e):t,provide:e=>[Vq.decorations.from(e,e=>e.marks),DJ.from(e,e=>e.gutter)]}),cde=e=>typeof e==`number`?`${e}px`:e;function lde({value:e,defaultValue:t=``,language:n=`javascript`,height:r,minHeight:i=96,maxHeight:a=480,resizable:o=r===void 0,allowText:s=!1,onChange:c,onCheck:l,onMount:u,readOnly:d=!1,lineNumbers:f=!0,wordWrap:p=`on`,fontSize:m=14,placeholder:h,showCopyButton:g=!0,showFormatButton:_,showLanguageSelector:v=!0,availableLanguages:y=Gue,label:x,variant:S,title:C,actions:w,autoHeight:T=!1,...E}){let{t:D}=FM(),O=x??D(`Code`),k=b.useMemo(()=>$ue(D),[D]),A=S??(C!==void 0||w!==void 0?`with-header`:`default`),j=A===`with-header`,[ee,M]=b.useState(n),[te,ne]=b.useState(e??t),[N,P]=b.useState(null),[re,ie]=b.useState(!1),ae=b.useRef(null),oe=b.useRef([]),se=b.useRef(null),[ce,le]=b.useState(null),ue=b.useRef(void 0),de=b.useRef({onChange:c,onCheck:l});de.current={onChange:c,onCheck:l};let fe=b.useMemo(()=>({language:new LV,gutter:new LV,wrap:new LV,edit:new LV}),[]),pe=ee===`json`,me=b.useMemo(()=>sde(s),[s]),he=b.useRef({field:me});he.current.field=me;let ge=()=>pe?[Yue,me,k,_Z()]:[],F=()=>f?[qJ(),ZJ()]:[],_e=()=>p===`off`?[]:[Vq.lineWrapping,rde],I=()=>[iH.readOnly.of(d),Vq.editable.of(!d)],ve=e=>{let t=e.field(he.current.field,!1);t!==he.current.seen&&(he.current.seen=t,P(t?t.check:null),t&&de.current.onCheck?.(t.check))},ye=b.useCallback(()=>{let e=se.current;if(!e||e.state.readOnly)return!1;let t=e.state.doc.toString(),n=Wue(t);return n===null||n===t?!1:(e.dispatch({changes:{from:0,to:t.length,insert:n}}),!0)},[]);b.useEffect(()=>{let n=ae.current;if(!n)return;let r=Vq.updateListener.of(e=>{if(e.docChanged&&!e.transactions.some(e=>e.annotation(O1))){let t=e.state.doc.toString();ne(t),de.current.onChange&&(oe.current=[...oe.current.slice(-31),t]),de.current.onChange?.(t)}ve(e.state)}),i=new Vq({parent:n,state:iH.create({doc:e??t,extensions:[fe.gutter.of(F()),dQ(),mJ(),UX(),FZ(),xJ(),CZ(Jue),Xq.of([{key:`Shift-Alt-f`,run:ye},yue,...cZ,...vue,...AQ,{key:`Escape`,run:e=>(e.contentDOM.blur(),!0)}]),fe.language.of(ge()),fe.wrap.of(_e()),fe.edit.of(I()),h?TJ(h):[],Vq.contentAttributes.of({"aria-label":O,"data-slot":`code-editor-content`}),que,r]})});return se.current=i,ve(i.state),u?.(i),()=>{i.destroy(),se.current=null,clearTimeout(ue.current)}},[]),b.useEffect(()=>{se.current?.dispatch({effects:[fe.language.reconfigure(ge()),fe.gutter.reconfigure(F()),fe.wrap.reconfigure(_e()),fe.edit.reconfigure(I())]})},[pe,me,k,f,p,d]),b.useEffect(()=>{let t=se.current;if(!t||e===void 0)return;let n=oe.current.indexOf(e);if(n!==-1){oe.current=oe.current.slice(n+1);return}oe.current=[];let r=t.state.doc.toString();e!==r&&(t.dispatch({changes:{from:0,to:r.length,insert:e},annotations:O1.of(!0)}),ne(e))},[e]),b.useEffect(()=>{let e=se.current?.dom;if(!e)return;e.style.fontSize=`${m}px`;let t=ce===null?r===void 0?``:cde(r):`${ce}px`;e.style.height=t,e.style.minHeight=t?``:`${i}px`,e.style.maxHeight=t||T?``:`${a}px`,se.current?.requestMeasure()},[ce,r,i,a,T,m]);let be=b.useCallback(async()=>{try{await navigator.clipboard.writeText(te),ie(!0),clearTimeout(ue.current),ue.current=setTimeout(()=>ie(!1),2e3),rL.success(D(`Code copied to clipboard`))}catch{rL.error(D(`Failed to copy code`))}},[te,D]),xe=typeof r==`string`&&r.endsWith(`%`),Se=_??(pe&&!d),Ce=j||v||g||Se,we=pe&&N!==null;return(0,L.jsxs)(z,{...K(`code-editor`),"data-variant":A,borderWidth:A===`borderless`?0:1,borderColor:`$borderColor`,rounded:A===`borderless`?0:`$3`,overflow:`hidden`,bg:`$background`,focusWithinStyle:A===`borderless`?void 0:{borderColor:`$outlineColor`},...E,children:[Ce&&(0,L.jsxs)(B,{...K(j?`code-editor-header`:`code-editor-toolbar`),items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:`$2`,borderBottomWidth:1,borderColor:`$borderColor`,bg:`$panel`,px:`$2`,py:j?0:`$1`,...j?{minH:40}:null,children:[j?(0,L.jsx)(V,{...K(`code-editor-title`),size:`$2`,fontWeight:`500`,color:`$hint`,px:`$1`,numberOfLines:1,flex:1,minW:0,children:C??O}):null,v?(0,L.jsxs)(kI,{value:ee,onValueChange:M,children:[(0,L.jsx)(jI,{...K(`code-editor-language-trigger`),width:`auto`,minHeight:32,borderWidth:0,bg:`transparent`,gap:`$1.5`,px:`$2`,children:(0,L.jsx)(V,{size:`$1`,fontFamily:`$mono`,children:T1[ee]?D(T1[ee]):ee})}),(0,L.jsx)(II,{...K(`code-editor-language-content`),children:y.map(e=>(0,L.jsx)(MI,{value:e,children:T1[e]?D(T1[e]):e},e))})]}):(0,L.jsx)(V,{...K(`code-editor-language`),size:`$1`,fontFamily:`$mono`,color:`$soft`,px:`$2`,children:T1[ee]?D(T1[ee]):ee}),(0,L.jsxs)(B,{items:`center`,justify:`flex-end`,flexWrap:`wrap`,gap:j?`$2`:`$1`,shrink:1,minW:0,children:[Se&&(0,L.jsxs)(q,{...K(`code-editor-format-button`),variant:`ghost`,size:`sm`,disabled:N?.kind!==`json`,onClick:ye,children:[(0,L.jsx)(qA,{size:14}),D(`Format`)]}),g&&(0,L.jsxs)(q,{...K(`code-editor-copy-button`),variant:`ghost`,size:`sm`,disabled:!te,onClick:be,children:[re?(0,L.jsx)(cj,{size:14}):(0,L.jsx)(xj,{size:14}),D(re?`Copied!`:`Copy`)]}),w]})]}),(0,L.jsxs)(z,{position:`relative`,...xe&&{flex:1,minH:0},children:[(0,L.jsx)(z,{ref:ae,...K(`code-editor-body`),...MN,...xe&&{flex:1,minH:0}}),o&&(0,L.jsx)(Rue,{side:`top`,span:ce??i,floor:i,ceil:Kue,onSpan:le,onReset:()=>le(null),label:D(`Resize {label}`,{label:O}),b:-4})]}),we&&(0,L.jsx)(B,{...K(`code-editor-footer`),items:`center`,justify:`space-between`,gap:`$2`,minH:28,px:`$3`,py:`$1`,borderTopWidth:1,borderColor:`$borderColor`,bg:`$panel`,children:(0,L.jsx)(ude,{check:N})})]})}function ude({check:e}){let{t}=FM(),n=e?.kind===`error`,r=e===null?``:e.kind===`error`?t(`Line {line}, column {column}: {message}`,{line:e.line,column:e.column,message:e.message}):e.kind===`text`?t(`Plain text`):e.kind===`empty`?t(`Empty`):t(`Valid JSON`);return(0,L.jsxs)(B,{...K(`code-editor-status`),"aria-live":`polite`,items:`center`,gap:`$1.5`,flex:1,minW:0,children:[n?(0,L.jsx)(mj,{size:14,color:`$bad`}):e?.kind===`text`?(0,L.jsx)(pse,{size:14,color:`$soft`}):e?.kind===`json`?(0,L.jsx)(hj,{size:14,color:`$soft`}):null,(0,L.jsx)(V,{...K(`code-editor-status-text`),"data-kind":e?.kind,size:`$1`,fontFamily:`$mono`,color:n?`$bad`:`$soft`,numberOfLines:2,children:r})]})}var dde=44,fde=28,A1=16,j1=No({variant:`default`}),pde=R(B,{name:`Pill`,context:j1,display:`inline-flex`,self:`flex-start`,items:`center`,justify:`center`,shrink:0,gap:`$1.5`,minH:fde,px:`$3`,py:`$1`,rounded:999,borderWidth:1,borderColor:`transparent`,overflow:`hidden`,variants:{variant:{default:{bg:`$accentBackground`},secondary:{bg:`$edge`},outline:{bg:`$background`,borderColor:`$borderColor`},success:{bg:`$green4`},warning:{bg:`$yellow4`},error:{bg:`$red4`}}},defaultVariants:{variant:`default`}}),mde=R(V,{name:`PillText`,context:j1,size:`$2`,fontWeight:`500`,variants:{variant:{default:{color:`$accentColor`},secondary:{color:`$ink`},outline:{color:`$ink`},success:{color:`$green11`},warning:{color:`$yellow11`},error:{color:`$red11`}}}}),hde=({variant:e}={})=>`pill pill-${e??`default`}`;function M1({className:e,variant:t=`default`,onRemove:n,children:r,...i}){let{t:a}=FM(),o=t??`default`;return(0,L.jsxs)(pde,{...K(`pill`),"data-variant":o,variant:o,...mN([hde({variant:o}),e].filter(Boolean).join(` `)),...i,children:[bM(r,mde),n?(0,L.jsx)(q,{...K(`pill-remove`),variant:`ghost`,size:`icon`,minH:A1,minW:A1,rounded:999,...RM(A1,dde),"aria-label":a(`Remove`),onPress:n,children:(0,L.jsx)(vM,{size:12})}):null]})}var gde=e=>wM(e||`en`),N1=e=>TM(e||`en`),_de=e=>e&&e!==`en`?e:`en`,vde={active:!1,locale:`en-US`,dir:`ltr`,messages:{},t:(e,t)=>AM({},e,t),format:NM(`en-US`)},P1=(0,b.createContext)(vde),yde=(e,t)=>({active:!0,locale:e,dir:N1(e),messages:t,t:(e,n)=>AM(t,e,n),format:NM(e)});function bde(){let e=(0,b.useContext)(P1);return e.active?{active:!0,locale:e.locale,dir:e.dir}:{active:!1,locale:`en-US`,dir:`ltr`}}var F1=[[`year`,31536e3],[`month`,2592e3],[`week`,604800],[`day`,86400],[`hour`,3600],[`minute`,60],[`second`,1]],xde={year:`y`,month:`mo`,week:`w`,day:`d`,hour:`h`,minute:`m`,second:`s`},Sde=e=>{let t=Math.abs(e);for(let[n,r]of F1)if(t>=r||n===`second`){let i=`${Math.floor(t/r)}${xde[n]}`;return e<0?`in ${i}`:i}return`0s`},Cde=(e,t)=>{if(e<0){let n=-e;return n<60?t(`in a moment`):n<120?t(`in 1 minute`):n<3600?t(`in {n} minutes`,{n:Math.floor(n/60)}):n<7200?t(`in 1 hour`):n<86400?t(`in {n} hours`,{n:Math.floor(n/3600)}):n<172800?t(`tomorrow`):n<604800?t(`in {n} days`,{n:Math.floor(n/86400)}):n<1209600?t(`in 1 week`):n<2592e3?t(`in {n} weeks`,{n:Math.floor(n/604800)}):n<5184e3?t(`in 1 month`):n<31536e3?t(`in {n} months`,{n:Math.floor(n/2592e3)}):n<63072e3?t(`in 1 year`):t(`in {n} years`,{n:Math.floor(n/31536e3)})}return e<60?t(`just now`):e<120?t(`1 minute ago`):e<3600?t(`{n} minutes ago`,{n:Math.floor(e/60)}):e<7200?t(`1 hour ago`):e<86400?t(`{n} hours ago`,{n:Math.floor(e/3600)}):e<172800?t(`1 day ago`):e<604800?t(`{n} days ago`,{n:Math.floor(e/86400)}):e<1209600?t(`1 week ago`):e<2592e3?t(`{n} weeks ago`,{n:Math.floor(e/604800)}):e<5184e3?t(`1 month ago`):e<31536e3?t(`{n} months ago`,{n:Math.floor(e/2592e3)}):e<63072e3?t(`1 year ago`):t(`{n} years ago`,{n:Math.floor(e/31536e3)})},wde=(e,t)=>{let n=new Intl.RelativeTimeFormat(t,{numeric:`auto`,style:`long`});for(let[t,r]of F1)if(Math.abs(e)>=r||t===`second`){let i=Math.round(e/r)*-1;return n.format(i,t)}return n.format(0,`second`)},I1=(e,t,n,r)=>{let i=Math.floor((Date.now()-new Date(e).getTime())/1e3);return t===`short`?Sde(i):t===`long`?wde(i,r):Cde(i,n)},Tde=R(V,{name:`RelativeTime`,render:`time`});function Ede({date:e,format:t=`auto`,updateInterval:n=6e4,...r}){let{t:i}=FM(),{active:a,locale:o}=bde(),s=a?o:void 0,[c,l]=b.useState(()=>I1(e,t,i,s));return b.useEffect(()=>{l(I1(e,t,i,s));let r=setInterval(()=>l(I1(e,t,i,s)),n);return()=>clearInterval(r)},[e,t,n,i,s]),(0,L.jsx)(Tde,{"data-slot":`relative-time`,"data-format":t,dateTime:new Date(e).toISOString(),...r,children:c})}var Dde=(0,b.createContext)(`measure-on-hover`),Ode=e=>{let t=e;return!t||typeof t.scrollWidth!=`number`?!1:t.scrollWidth>(t.clientWidth??0)||(t.scrollHeight??0)>(t.clientHeight??0)},kde=500,Ade=300;function L1({text:e,lineClamp:t,tooltipContent:n,tooltipDelay:r=kde,tooltipPlace:i=`bottom`,isTooltipMultiline:a=!1,alwaysShowTooltip:o=!1,isFocusable:s=!1,...c}){let l=(0,b.useContext)(Dde),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)(!1),m=(0,b.useRef)(null),h=(0,b.useRef)(null),g=(0,b.useRef)(!1);(0,b.useEffect)(()=>()=>{h.current&&clearTimeout(h.current)},[]);let _=t&&Number.isInteger(t)&&t>0?t:1,v=t=>(0,L.jsx)(V,{...K(`truncated-text`),numberOfLines:_,maxW:`100%`,minW:0,..._>1?{style:{whiteSpace:`pre-wrap`,overflowWrap:`anywhere`}}:null,...c,...t,children:e});if(l===`disabled`&&!o)return v({});let y=e=>{m.current=e;let t=Ode(e);return p(t),t},x=(e,t)=>{h.current&&clearTimeout(h.current);let n=l===`measure-on-hover`?y(e):(m.current=e,!1);h.current=setTimeout(()=>{let e=l===`measure-on-open`?y(m.current):n;(o||e)&&d(!0)},t)},S=()=>{h.current&&clearTimeout(h.current),h.current=null,g.current||d(!1)};return(0,L.jsxs)(DN,{open:u,onOpenChange:e=>!e&&d(!1),placement:i,children:[(0,L.jsx)($D.Anchor,{asChild:!0,children:v({onPointerEnter:e=>x(e?.currentTarget,r),onPointerLeave:S,onFocus:e=>{g.current=!0,x(e?.currentTarget,0)},onBlur:()=>{g.current=!1,S()},...s?{tabIndex:0,focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`}}:null,...f?{cursor:`pointer`}:null})}),(0,L.jsx)(AN,{maxW:Ade,children:a&&typeof(n??e)==`string`?(0,L.jsx)(V,{size:`$1`,style:{whiteSpace:`pre-wrap`},children:n??e}):n??e})]})}var jde=20,Mde=14,Nde=(e,t)=>{if(!(0,b.isValidElement)(e))return e;let n=e.props;return(0,b.cloneElement)(e,{...n.size==null?{size:Mde}:null,...n.color==null?{color:t}:null})};function R1({color:e=`gray`,variant:t=`soft`,weight:n=`regular`,startIcon:r,endElement:i,truncate:a=!0,borderStyle:o=`solid`,onPress:s,href:c,disabled:l=!1,children:u,style:d,...f}){let p=e===`transparent`,m=mP(p?`gray`:e),{style:h,tone:g}=hP(m,[3,11]),_=p?`$aside`:t===`solid`?`$background`:g(11),v=p||t===`outline`||t===`ghost`?`transparent`:g(t===`solid`?11:3),y={size:`$2`,fontWeight:n===`medium`?`500`:void 0,color:_},b=!l&&(s!=null||c!=null);return(0,L.jsxs)(B,{...K(`tag`),"data-color":p?`transparent`:m,"data-variant":t,...c==null?s==null?{render:`span`}:{...gP(l?void 0:s)}:{render:`a`,href:c},...l?{"aria-disabled":!0}:null,display:`inline-flex`,self:`flex-start`,items:`center`,gap:`$1`,height:jde,px:`$2`,maxW:`100%`,minW:0,rounded:`$xs`,bg:v,...t===`outline`?{borderWidth:1,borderColor:`$rim`,borderStyle:o}:null,overflow:`hidden`,opacity:l?.5:1,cursor:l?`not-allowed`:b?`pointer`:void 0,...b?{focusVisibleStyle:_P}:null,style:{...h,...d},...f,children:[r?Nde(r,_):null,typeof u==`string`||typeof u==`number`?a?(0,L.jsx)(L1,{text:String(u),...y}):(0,L.jsx)(V,{...y,children:u}):u,i?(0,L.jsx)(B,{...K(`tag-end`),shrink:0,items:`center`,children:i}):null]})}var z1={sm:20,md:24},Pde={ghost:{rest:`transparent`,hover:`$hover`,down:`$raised`},soft:{rest:`$hover`,hover:`$raised`,down:`$rim`},solid:{rest:`$raised`,hover:`$rim`,down:`$bound`}};function B1({label:e,size:t=`sm`,variant:n=`ghost`,color:r=`primary`,shape:i=`square`,weight:a=`regular`,startElement:o,endElement:s,endElementDivider:c=!1,truncate:l=!0,tooltipContent:u,onPress:d,href:f,clickable:p,disabled:m=!1,children:h,...g}){let _=Pde[n],v=!m&&(p??(d!=null||f!=null)),y={size:`$2`,fontWeight:a===`medium`?`500`:void 0,color:m?`$hush`:r===`secondary`?`$aside`:`$ink`},b=e??h;return(0,L.jsxs)(B,{...K(`chip`),"data-size":t,"data-variant":n,...f!=null&&!m?{render:`a`,href:f}:d==null?null:gP(m?void 0:d),...m?{"aria-disabled":!0}:null,display:`inline-flex`,self:`flex-start`,items:`center`,gap:`$1`,height:z1[t],px:`$1`,maxW:`100%`,minW:0,rounded:i===`round`?`$10`:`$xs`,bg:_.rest,select:`none`,cursor:m?`not-allowed`:v?`pointer`:void 0,...v?{hoverStyle:{bg:_.hover},pressStyle:{bg:_.down},focusVisibleStyle:_P,...RM(z1[t],44,`y`)}:null,...g,children:[o?(0,L.jsx)(B,{...K(`chip-start`),shrink:0,items:`center`,children:o}):null,typeof b==`string`||typeof b==`number`?l?(0,L.jsx)(L1,{text:String(b),tooltipContent:u,...y}):bM(b,void 0,y):b,s?(0,L.jsx)(B,{...K(`chip-end`),shrink:0,items:`center`,self:`stretch`,...c?{borderInlineStartWidth:1,borderColor:`$borderColor`,paddingInlineStart:`$1`}:null,children:s}):null]})}var V1=4,H1=24,U1=220;function Fde(e,t,n=1/0,r=V1,i=H1){let a=Math.min(e.length,n);if(a===0)return 0;let o=0;for(let n=0;n<a;n++){let a=o+(n>0?r:0)+e[n];if(a+(n+1<e.length?r+i:0)>t)return Math.max(1,n);o=a}return a}function Ide({children:e,maxInlineCount:t,showOverflowCount:n=`hover`,overflowLabel:r,open:i,defaultOpen:a=!1,onOpenChange:o,popupProps:s,...c}){let{t:l}=FM(),u=(0,b.useMemo)(()=>b.Children.toArray(e).filter(b.isValidElement),[e]),[d,f]=(0,b.useState)([]),[p,m]=(0,b.useState)(null),[h,g]=(0,b.useState)(!1),[_,v]=(0,b.useState)(a),y=i??_,x=(0,b.useCallback)(e=>{i===void 0&&v(e),o?.(e)},[i,o]),S=p!=null&&d.filter(e=>e!=null).length===u.length?Fde(d,p,t):Math.min(u.length,t??u.length),C=u.length-S,w=C>0&&(n===`always`||n===`hover`&&(h||y)),T=e=>t=>{let n=t?.nativeEvent?.layout?.width;typeof n==`number`&&f(t=>{if(t[e]===n)return t;let r=t.slice();return r[e]=n,r})};return(0,L.jsxs)(B,{...K(`overflowing-list`),position:`relative`,width:`100%`,minW:0,items:`center`,gap:V1,overflow:`hidden`,onLayout:e=>m(e.nativeEvent.layout.width),onPointerEnter:()=>g(!0),onPointerLeave:()=>g(!1),onFocus:()=>g(!0),onBlur:()=>g(!1),...c,children:[(0,L.jsx)(B,{"aria-hidden":!0,position:`absolute`,t:0,l:0,opacity:0,pointerEvents:`none`,gap:V1,inert:!0,children:u.map((e,t)=>(0,L.jsx)(B,{shrink:0,onLayout:T(t),children:e},e.key??t))}),u.slice(0,S).map((e,t)=>(0,L.jsx)(B,{...t===S-1?{shrink:1,minW:0}:{shrink:0},children:e},e.key??t)),C>0&&n!==`never`?(0,L.jsxs)(_I,{open:y,onOpenChange:x,placement:`bottom-start`,children:[(0,L.jsx)(vI,{asChild:!0,children:(0,L.jsx)(B,{...K(`overflowing-list-count`),...gP(()=>x(!y)),"aria-label":l(`{label} ({n})`,{label:r??l(`Show all items`),n:u.length}),"aria-expanded":y,shrink:0,minW:H1,height:20,px:`$1`,items:`center`,justify:`center`,rounded:`$xs`,cursor:`pointer`,hoverStyle:{bg:`$hover`},focusVisibleStyle:_P,opacity:+!!w,children:(0,L.jsx)(V,{size:`$1`,color:`$ink`,children:`+${C}`})})}),(0,L.jsx)(yI,{p:`$2`,minW:U1,style:{width:Math.max(U1,Math.round(p??0))},...s,children:(0,L.jsx)(z,{...K(`overflowing-list-popup`),maxH:320,overflow:`scroll`,children:(0,L.jsx)(B,{flexWrap:`wrap`,gap:V1,children:u})})})]}):null]})}var Lde=e=>{let t=new Intl.NumberFormat(e).formatToParts(-12345.6);return{group:t.find(e=>e.type===`group`)?.value??`,`,decimal:t.find(e=>e.type===`decimal`)?.value??`.`}},Rde=/[\s\u00a0\u202f\u2009]/g,zde=/^[\s\u00a0\u202f\u2009]$/;function W1(e,t,n){let{group:r,decimal:i}=Lde(t),a=e.replace(Rde,``).replace(/[\u2212\u2012\u2013]/g,`-`);if(!a)return NaN;r&&!zde.test(r)&&(a=a.split(r).join(``));let o=n?.style===`percent`||a.includes(`%`);if(a=a.replace(/[^0-9.,\-+]/g,``),a=i===`.`?a.replace(/,/g,``):a.replace(/\./g,``).replace(i,`.`),!/^[-+]?(\d+\.?\d*|\.\d+)$/.test(a))return NaN;let s=Number(a);return o?s/100:s}var G1=e=>{let t=String(e),n=t.match(/e-(\d+)$/);return n?Number(n[1]):t.includes(`.`)?t.split(`.`)[1].length:0},K1=(e,t,n)=>Math.min(n??1/0,Math.max(t??-1/0,e)),Bde={lg:`icon-lg`,default:`icon`,sm:`icon-sm`,xs:`icon-xs`};function q1({value:e,defaultValue:t=null,onValueChange:n,min:r,max:i,step:a=1,smallStep:o=.1,largeStep:s=10,format:c,locale:l,allowOutOfRange:u=!1,readOnly:d=!1,required:f,disabled:p,buttons:m=!1,decrementLabel:h,incrementLabel:g,size:_,onFocus:v,onBlur:y,...x}){let{t:S}=FM(),C=vN(_,_N()),w=e!==void 0,[T,E]=(0,b.useState)(t),D=w?e:T,[O,k]=(0,b.useState)(null),A=(0,b.useRef)(D);A.current=D;let j=(0,b.useMemo)(()=>new Intl.NumberFormat(l,{maximumFractionDigits:20,...c}),[l,c]),ee=O??(D==null||Number.isNaN(D)?``:j.format(D)),M=(0,b.useCallback)(e=>{w||E(e),e!==A.current&&n?.(e),A.current=e},[w,n]),te=e=>{if(d||p)return;let t=D??(e>0?(r??0)-e:(i??0)-e),n=Math.max(G1(e),G1(t)),a=Number((t+e).toFixed(n));k(null),M(u?a:K1(a,r,i))},ne=e=>{let t=e.shiftKey?s:e.altKey?o:a;if(e.key===`ArrowUp`)te(t);else if(e.key===`ArrowDown`)te(-t);else if(e.key===`Home`&&r!=null&&!d)k(null),M(r);else if(e.key===`End`&&i!=null&&!d)k(null),M(i);else return;e.preventDefault?.()},N=D!=null&&r!=null&&D<=r,P=D!=null&&i!=null&&D>=i,re=(0,L.jsx)(fI,{...K(`number-field-input`),...x,size:C,role:`spinbutton`,"aria-valuenow":D??void 0,"aria-valuemin":r,"aria-valuemax":i,"aria-readonly":d||void 0,"aria-required":f||void 0,inputMode:c?.maximumFractionDigits===0?`numeric`:`decimal`,autoComplete:`off`,disabled:p,readOnly:d,value:ee,onChangeText:e=>{if(k(e),!e.trim())return M(null);let t=W1(e,l,c);Number.isNaN(t)||M(t)},onFocus:e=>{k(ee),v?.(e)},onBlur:e=>{let t=O;if(k(null),t!=null&&t.trim()){let e=W1(t,l,c);Number.isNaN(e)||M(u?e:K1(e,r,i))}y?.(e)},onKeyDown:ne});if(!m)return re;let ie=Bde[C],ae=e=>()=>te(e);return(0,L.jsxs)(B,{...K(`number-field`),items:`center`,gap:`$1`,width:`100%`,minW:0,children:[(0,L.jsx)(B,{flex:1,minW:0,children:re}),(0,L.jsx)(q,{...K(`number-field-decrement`),variant:`outline`,size:ie,"aria-label":h??S(`Decrease`),tabIndex:-1,disabled:p||!u&&N,...d?{opacity:.5,cursor:`default`,hoverStyle:{bg:`$background`}}:null,onPress:ae(-a),children:(0,L.jsx)(qj,{size:16})}),(0,L.jsx)(q,{...K(`number-field-increment`),variant:`outline`,size:ie,"aria-label":g??S(`Increase`),tabIndex:-1,disabled:p||!u&&P,...d?{opacity:.5,cursor:`default`,hoverStyle:{bg:`$background`}}:null,onPress:ae(a),children:(0,L.jsx)(Qj,{size:16})})]})}var J1=(e,t=!1,n)=>{let[r,i]=(0,b.useState)(t);return[e??r,t=>{e===void 0&&i(t),n?.(t)}]},Y1=(0,b.forwardRef)(function({disabled:e,open:t,label:n,children:r,...i},a){let o=(0,b.useContext)(aI),s=_N(),c=$F[o?.size??vN(void 0,s)];return(0,L.jsx)(B,{ref:a,...K(`field-segment`),render:`button`,type:`button`,disabled:e,"aria-expanded":!!t,...n?{"aria-label":n}:null,height:c.h-2,marginInlineStart:o?-c.gutter:0,shrink:0,items:`center`,gap:`$1`,px:`$2`,bg:`transparent`,borderWidth:0,borderInlineEndWidth:1,borderColor:`$borderColor`,borderStartStartRadius:`$3`,borderEndStartRadius:`$3`,cursor:e?`not-allowed`:`pointer`,opacity:e?.5:1,hoverStyle:e?void 0:{bg:`$hover`},focusVisibleStyle:{..._P,outlineOffset:-2},...i,children:r})}),X1=32;function Z1({trigger:e,open:t,onOpenChange:n,options:r,value:i,onPick:a,searchLabel:o,emptyLabel:s,width:c=240}){let{t:l}=FM(),u=_N(),d=o??l(`Search`);return(0,L.jsxs)(_I,{open:t,onOpenChange:n,placement:`bottom-start`,children:[(0,L.jsx)(vI,{asChild:!0,children:e}),(0,L.jsx)(yI,{"data-slot":`search-list`,p:0,width:c,sideOffset:8,overflow:`hidden`,children:(0,L.jsx)(gN,{value:u,children:(0,L.jsxs)(KP,{value:i??void 0,children:[(0,L.jsx)(qP,{placeholder:d,"aria-label":d,autoFocus:!0}),(0,L.jsxs)(JP,{p:`$1`,children:[(0,L.jsx)(YP,{children:s??l(`No results`)}),r.map(e=>(0,L.jsxs)(XP,{value:e.value,keywords:[e.label,...e.keywords??[]],disabled:e.disabled,minH:X1,px:`$1`,rounded:`$xs`,...RM(X1,44,`y`),onSelect:e=>a(e),"aria-selected":e.value===i,children:[e.start?(0,L.jsx)(B,{shrink:0,items:`center`,children:e.start}):null,(0,L.jsx)(V,{size:`$2`,color:`$ink`,flex:1,minW:0,numberOfLines:1,children:e.label}),e.end==null?null:(0,L.jsx)(V,{size:`$2`,color:`$hint`,shrink:0,children:e.end}),(0,L.jsx)(cj,{size:16,opacity:+(e.value===i),shrink:0})]},e.value))]})]})})})]})}var Vde=e=>`${e.name} (${e.code})`,Hde=e=>[e.name,e.code,e.symbol].filter(Boolean).join(` `);function Ude({currencies:e,value:t,defaultValue:n=null,onValueChange:r,placeholder:i=`—`,renderValue:a,getOptionLabel:o=Vde,getSearchText:s=Hde,selectedFirst:c=!1,closeOnSelect:l=!0,open:u,defaultOpen:d,onOpenChange:f,disabled:p=!1,label:m,searchLabel:h,emptyLabel:g}){let{t:_}=FM(),v=m??_(`Currency`),[y,x]=(0,b.useState)(n),S=t===void 0?y:t,[C,w]=J1(u,d,f),T=e.find(e=>e.code===S),E=(c&&T?[T,...e.filter(e=>e!==T)]:e).map(e=>({value:e.code,label:o(e),keywords:[s(e)],disabled:e.disabled,end:e.symbol}));return(0,L.jsx)(Z1,{open:C&&!p,onOpenChange:e=>w(!p&&e),options:E,value:S,searchLabel:h??_(`Search currencies`),emptyLabel:g??_(`No currency found`),onPick:e=>{t===void 0&&x(e),e!==S&&r?.(e),l&&w(!1)},trigger:(0,L.jsxs)(Y1,{"data-slot":`currency-picker`,disabled:p,open:C,label:T?_(`{label}: {value}`,{label:v,value:T.name}):v,children:[a?a(T):(0,L.jsx)(V,{size:`$2`,fontWeight:`500`,color:`$hint`,children:T?.code??i}),(0,L.jsx)(lj,{size:14,color:`$hint`})]})})}var Q1=e=>{let t=e?.trim().toUpperCase();return!t||!/^[A-Z]{2}$/.test(t)?null:String.fromCodePoint(...[...t].map(e=>127462+e.charCodeAt(0)-65))};function $1({iso:e,override:t}){let n=t??Q1(e);return(0,L.jsx)(B,{width:16,height:12,rounded:`$2xs`,overflow:`hidden`,items:`center`,justify:`center`,shrink:0,"aria-hidden":!0,children:n==null?(0,L.jsx)(Pj,{size:14,color:`$hint`}):typeof n==`string`?(0,L.jsx)(V,{size:`$2`,lineHeight:12,children:n}):n})}function Wde({countries:e,value:t,defaultValue:n=null,onValueChange:r,closeOnSelect:i=!0,open:a,defaultOpen:o,onOpenChange:s,disabled:c=!1,label:l,searchLabel:u,emptyLabel:d}){let{t:f}=FM(),p=l??f(`Country calling code`),[m,h]=(0,b.useState)(n),g=t===void 0?m:t,[_,v]=J1(a,o,s),y=e.find(e=>e.value===g),x=e.map(e=>({value:e.value,label:e.label,keywords:[e.value,e.callingCode,`+${e.callingCode}`],disabled:e.disabled,start:(0,L.jsx)(B,{paddingInlineEnd:`$1`,children:(0,L.jsx)($1,{iso:e.value,override:e.flag})}),end:`+${e.callingCode}`}));return(0,L.jsx)(Z1,{open:_&&!c,onOpenChange:e=>v(!c&&e),options:x,value:g,searchLabel:u??f(`Search countries`),emptyLabel:d??f(`No country found`),width:280,onPick:e=>{t===void 0&&h(e),e!==g&&r?.(e),i&&v(!1)},trigger:(0,L.jsxs)(Y1,{"data-slot":`phone-country-picker`,disabled:c,open:_,gap:`$0.5`,paddingInlineStart:`$2`,paddingInlineEnd:`$1`,children:[(0,L.jsx)($1,{iso:y?.value,override:y?.flag}),(0,L.jsx)(lj,{size:14,color:`$hint`}),(0,L.jsx)(JD,{children:y?f(`{label}: {country} +{code}`,{label:p,country:y.label,code:y.callingCode}):p})]})})}var e0=`none`,t0=({iso:e,override:t})=>{let n=t??Q1(e);return(0,L.jsx)(B,{width:16,height:16,items:`center`,justify:`center`,shrink:0,"aria-hidden":!0,children:n==null?(0,L.jsx)(gj,{size:16,color:`$hint`}):typeof n==`string`?(0,L.jsx)(V,{size:`$3`,lineHeight:16,children:n}):n})};function Gde({countries:e,value:t,defaultValue:n=null,onValueChange:r,label:i,"aria-label":a,noCountryLabel:o,searchLabel:s,noResultsLabel:c,size:l,open:u,defaultOpen:d,onOpenChange:f,disabled:p=!1}){let{t:m}=FM(),h=o??m(`No country`),g=_N(),_=$F[vN(l,g)],v=(0,b.useId)(),[y,x]=(0,b.useState)(n),S=t===void 0?y:t,[C,w]=J1(u,d,f),T=p||e.length===0,E=e.find(e=>e.value===S),D=[{value:e0,label:h,start:(0,L.jsx)(t0,{})},...e.map(e=>({value:e.value,label:e.label,keywords:[e.value],disabled:e.disabled,start:(0,L.jsx)(t0,{iso:e.value,override:e.flag})}))],O=(0,L.jsxs)(B,{...K(`country-select`),render:`button`,type:`button`,disabled:T,"aria-expanded":C,...i?{"aria-labelledby":v}:a?{"aria-label":a}:null,componentName:`Input`,...tI,...g===`compact`?{bg:`$panel`}:null,minH:_.h,px:_.gutter,width:`100%`,minW:0,items:`center`,gap:`$2`,cursor:T?`not-allowed`:`pointer`,opacity:T?.5:1,borderColor:C?`$borderColorFocus`:`$borderColor`,hoverStyle:T?void 0:{borderColor:`$borderColorHover`},...RM(_.h,44,`y`),children:[(0,L.jsx)(t0,{iso:E?.value,override:E?.flag}),(0,L.jsx)(V,{size:_.font,color:E?`$ink`:`$placeholderColor`,flex:1,minW:0,numberOfLines:1,...PN(`start`),children:E?.label??h}),(0,L.jsx)(lj,{size:16,opacity:.5,shrink:0})]});return(0,L.jsxs)(z,{...K(`country-select-field`),width:`100%`,minW:0,gap:`$1`,children:[i?(0,L.jsx)(V,{id:v,size:`$1`,fontWeight:`600`,color:`$hint`,children:i}):null,(0,L.jsx)(Z1,{open:C&&!T,onOpenChange:e=>w(!T&&e),options:D,value:S??e0,searchLabel:s,emptyLabel:c,width:280,onPick:e=>{let n=e===e0?null:e;t===void 0&&x(n),n!==S&&r?.(n),w(!1)},trigger:O})]})}var n0=`appearance`;async function Kde(e){return await r0(n0,e)}async function r0(e,{base:t,token:n,signal:r}){if(!(typeof window<`u`&&new URL(t,window.location.origin).origin!==window.location.origin&&!n))try{return(await a0(t,n,{},r))?.[e]}catch{return}}async function i0(e,t){return qde(n0,e,t)}async function qde(e,t,{base:n,token:r,signal:i}){if(typeof window<`u`&&new URL(n,window.location.origin).origin!==window.location.origin&&!r)return!1;try{return!!await a0(n,r,{[e]:t},i)}catch{return!1}}async function a0(e,t,n,r){let i=typeof window<`u`&&new URL(e,window.location.origin).origin!==window.location.origin,a=await fetch(`${e.replace(/\/+$/,``)}/v1/iam/preferences`,{method:`POST`,credentials:t||i?`omit`:`include`,headers:{"Content-Type":`application/json`,...t?{Authorization:`Bearer ${t}`}:{}},body:JSON.stringify(n),signal:r});if(!a.ok)return;let o=await a.json();if(o?.status===`ok`)return o.data??{}}var o0=`hanzo.composer`,Jde=`hanzo:composer`;function s0(e){let t=e&&typeof e==`object`?e:{},n={};return(t.send===`enter`||t.send===`mod`)&&(n.send=t.send),typeof t.chips==`boolean`&&(n.chips=t.chips),typeof t.model==`boolean`&&(n.model=t.model),typeof t.mode==`boolean`&&(n.mode=t.mode),n}var Yde=()=>{try{return typeof window>`u`?void 0:window.localStorage}catch{return}};function Xde(e,t=Yde()){let n=s0(e);try{if(!t)throw Error(`no storage`);Object.keys(n).length?t.setItem(o0,JSON.stringify(n)):t.removeItem(o0)}catch{}typeof window<`u`&&window.dispatchEvent(new Event(Jde))}async function Zde(e){let t=await r0(`composer`,e);return t===void 0?void 0:s0(t)}var c0={"--neutral-50":`#FAFAFA`,"--neutral-100":`#F5F5F5`,"--neutral-200":`#E5E5E5`,"--neutral-300":`#D4D4D4`,"--neutral-400":`#A3A3A3`,"--neutral-500":`#737373`,"--neutral-600":`#525252`,"--neutral-700":`#404040`,"--neutral-800":`#262626`,"--neutral-900":`#171717`,"--neutral-950":`#0A0A0A`,"--pure-black":`#000000`,"--pure-white":`#FFFFFF`,"--hanzo-black":`#0A0A0B`,"--hanzo-white":`#FFFFFF`,"--art-tide":`#2F6BFF`,"--art-iris":`#8B5CF6`,"--art-ember":`#FF7A3D`,"--art-glow":`#F4F1FF`,"--white-03":`rgb(255 255 255 / .03)`,"--white-05":`rgb(255 255 255 / .05)`,"--white-06":`rgb(255 255 255 / .06)`,"--white-08":`rgb(255 255 255 / .08)`,"--white-10":`rgb(255 255 255 / .10)`,"--white-14":`rgb(255 255 255 / .14)`,"--white-15":`rgb(255 255 255 / .15)`,"--white-16":`rgb(255 255 255 / .16)`,"--white-18":`rgb(255 255 255 / .18)`,"--white-20":`rgb(255 255 255 / .20)`,"--white-22":`rgb(255 255 255 / .22)`,"--white-30":`rgb(255 255 255 / .30)`,"--white-40":`rgb(255 255 255 / .40)`,"--white-45":`rgb(255 255 255 / .45)`,"--white-55":`rgb(255 255 255 / .55)`,"--white-60":`rgb(255 255 255 / .60)`,"--white-78":`rgb(255 255 255 / .78)`,"--white-80":`rgb(255 255 255 / .80)`,"--white-92":`rgb(255 255 255 / .92)`,"--background":`#0a0a0a`,"--foreground":`#e5e5e5`,"--card":`#0f0f0f`,"--card-foreground":`#e5e5e5`,"--popover":`#0f0f0f`,"--popover-foreground":`#e5e5e5`,"--primary":`#fafafa`,"--primary-hover":`#e5e5e5`,"--primary-foreground":`#0a0a0a`,"--secondary":`#262626`,"--secondary-hover":`#333333`,"--secondary-foreground":`#fafafa`,"--muted":`#171717`,"--muted-foreground":`#a3a3a3`,"--accent":`#262626`,"--accent-hover":`var(--secondary-hover)`,"--accent-foreground":`#fafafa`,"--destructive":`#dc2626`,"--destructive-hover":`#b91c1c`,"--destructive-foreground":`#fafafa`,"--border":`var(--white-10)`,"--border-strong":`var(--white-16)`,"--border-control":`var(--white-15)`,"--border-focus":`var(--white-22)`,"--border-selected":`var(--white-30)`,"--edge":`var(--white-06)`,"--input":`var(--border-control)`,"--ring":`var(--white-40)`,"--ring-halo":`var(--white-10)`,"--brand":`#e4e4e7`,"--brand-foreground":`#09090b`,"--brand-muted":`#a3a3a3`,"--black":`#000000`,"--white":`#fafafa`,"--selection":`var(--white-20)`,"--glass":`var(--white-05)`,"--glass-strong":`var(--white-08)`,"--surface-page":`var(--background)`,"--surface-card":`rgb(38 38 38 / .5)`,"--surface-card-emphasis":`rgb(38 38 38 / .75)`,"--surface-card-quiet":`rgb(38 38 38 / .35)`,"--surface-overlay":`rgb(23 23 23 / .92)`,"--surface-header":`rgb(0 0 0 / .7)`,"--surface-scrim":`rgb(0 0 0 / .8)`,"--surface-0":`var(--background)`,"--surface-1":`var(--card)`,"--surface-2":`var(--muted)`,"--surface-3":`var(--secondary)`,"--text-primary":`#fafafa`,"--text-secondary":`var(--white-78)`,"--text-tertiary":`var(--white-55)`,"--text-helper":`var(--muted-foreground)`,"--text-disabled":`var(--white-30)`,"--state-error":`#ef4444`,"--state-error-text":`#fca5a5`,"--state-error-bg":`rgb(239 68 68 / .1)`,"--state-online":`#4ade80`,"--state-success":`#22c55e`,"--chrome-dot-red":`rgb(239 68 68 / .6)`,"--chrome-dot-yellow":`rgb(234 179 8 / .6)`,"--chrome-dot-green":`rgb(34 197 94 / .6)`,"--type-scale":`1`,"--type-ratio":`1`,"--text-floor":`0.75rem`,"--text-ceiling":`30vw`,"--text-xs":`0.75rem`,"--leading-xs":`1rem`,"--text-sm":`0.8125rem`,"--leading-sm":`1.15rem`,"--text-base":`0.875rem`,"--leading-base":`1.35rem`,"--text-lg":`0.9375rem`,"--leading-lg":`1.4rem`,"--text-xl":`1.0625rem`,"--leading-xl":`1.55rem`,"--text-2xl":`1.3125rem`,"--leading-2xl":`1.7rem`,"--text-3xl":`1.625rem`,"--leading-3xl":`1.95rem`,"--text-4xl":`2rem`,"--leading-4xl":`2.25rem`,"--text-5xl":`2.5rem`,"--leading-5xl":`1.05`,"--text-6xl":`3.25rem`,"--leading-6xl":`1`,"--text-7xl":`4rem`,"--leading-7xl":`1`,"--text-8xl":`5.25rem`,"--leading-8xl":`1`,"--text-9xl":`7rem`,"--leading-9xl":`1`,"--font-size-xs":`var(--text-xs)`,"--font-size-sm":`var(--text-sm)`,"--font-size-base":`var(--text-base)`,"--font-size-lg":`var(--text-lg)`,"--font-size-xl":`var(--text-xl)`,"--font-size-2xl":`var(--text-2xl)`,"--font-size-3xl":`var(--text-3xl)`,"--font-size-4xl":`var(--text-4xl)`,"--font-size-5xl":`var(--text-5xl)`,"--font-size-6xl":`var(--text-6xl)`,"--font-size-7xl":`var(--text-7xl)`,"--font-size-8xl":`var(--text-8xl)`,"--font-size-9xl":`var(--text-9xl)`,"--text-control":`var(--text-sm)`,"--weight-normal":`400`,"--weight-medium":`500`,"--weight-semibold":`600`,"--weight-bold":`700`,"--tracking-tight":`-0.025em`,"--tracking-normal":`0em`,"--tracking-wide":`0.025em`,"--tracking-widest":`0.1em`,"--leading-none":`1`,"--leading-tight":`1.25`,"--leading-snug":`1.375`,"--leading-normal":`1.5`,"--leading-relaxed":`1.625`,"--leading-golden":`1.618`,"--type-hero":`600 var(--text-5xl)/1.05 var(--font-display)`,"--type-h2":`700 var(--text-4xl)/var(--leading-4xl) var(--font-display)`,"--type-h3":`600 var(--text-xl)/var(--leading-xl) var(--font-display)`,"--type-lead":`400 var(--text-lg)/var(--leading-relaxed) var(--font-sans)`,"--type-body":`400 var(--text-sm)/var(--leading-sm) var(--font-sans)`,"--type-caption":`400 var(--text-xs)/var(--leading-xs) var(--font-sans)`,"--type-code":`400 var(--text-sm)/var(--leading-relaxed) var(--font-mono)`,"--type-eyebrow":`600 0.75rem/1 var(--font-sans)`,"--density":`1`,"--space-0":`0`,"--space-1":`0.25rem`,"--space-2":`0.5rem`,"--space-3":`0.75rem`,"--space-4":`1rem`,"--space-5":`1.25rem`,"--space-6":`1.5rem`,"--space-8":`2rem`,"--space-10":`2.5rem`,"--space-12":`3rem`,"--space-14":`3.5rem`,"--space-16":`4rem`,"--space-20":`5rem`,"--space-24":`6rem`,"--space-32":`8rem`,"--golden-1":`0.25rem`,"--golden-2":`0.405rem`,"--golden-3":`0.654rem`,"--golden-4":`1.059rem`,"--golden-5":`1.713rem`,"--golden-6":`2.772rem`,"--golden-7":`4.487rem`,"--golden-8":`7.26rem`,"--golden-9":`11.749rem`,"--golden-split":`38.2% 61.8%`,"--container-max":`80rem`,"--container-prose":`48rem`,"--container-wide":`72rem`,"--gutter":`max(1rem,var(--safe-left),var(--safe-right))`,"--page-gutter":`clamp(20px,4vw,72px)`,"--gutter-sm":`1.5rem`,"--gutter-lg":`2rem`,"--section-y":`2.5rem`,"--section-y-lg":`3.5rem`,"--hero-y":`3rem`,"--hero-y-lg":`4.5rem`,"--header-height":`3.5rem`,"--header":`0px`,"--dock":`0px`,"--tap-target":`44px`,"--control-height-sm":`32px`,"--control-height":`36px`,"--control-height-lg":`40px`,"--control-height-xl":`52px`,"--safe-top":`env(safe-area-inset-top,0px)`,"--safe-right":`env(safe-area-inset-right,0px)`,"--safe-bottom":`env(safe-area-inset-bottom,0px)`,"--safe-left":`env(safe-area-inset-left,0px)`,"--grid-columns":`12`,"--grid-gap":`var(--space-6)`,"--grid-gap-tight":`var(--space-4)`,"--grid-gap-loose":`var(--space-8)`,"--breakpoint-sm":`40rem`,"--breakpoint-md":`48rem`,"--breakpoint-lg":`64rem`,"--breakpoint-xl":`80rem`,"--breakpoint-2xl":`96rem`,"--grid-card-min":`18rem`,"--grid-card-min-wide":`24rem`,"--radius-scale":`1`,"--radius":`calc(0.5rem * var(--radius-scale, 1))`,"--radius-sm":`calc(0.375rem * var(--radius-scale, 1))`,"--radius-md":`calc(0.5rem * var(--radius-scale, 1))`,"--radius-lg":`calc(0.75rem * var(--radius-scale, 1))`,"--radius-xl":`calc(1rem * var(--radius-scale, 1))`,"--radius-2xl":`calc(1.5rem * var(--radius-scale, 1))`,"--radius-composer":`calc(28px * var(--radius-scale, 1))`,"--radius-full":`9999px`,"--shadow-none":`none`,"--shadow-floating":`0 24px 60px -16px rgb(0 0 0 / .75)`,"--shadow-inset-hairline":`inset 0 0 0 1px var(--white-10)`,"--edge-highlight":`inset 0 1px 0 0 rgb(255 255 255 / .10)`,"--bloom":`0 0 24px -2px rgb(255 255 255 / .28)`,"--ring-focus":`0 0 0 3px var(--ring-halo)`,"--shadow-sm":`0 1px 2px 0 rgb(0 0 0 / .40)`,"--shadow":`0 1px 3px 0 rgb(0 0 0 / .45), 0 1px 2px -1px rgb(0 0 0 / .45)`,"--shadow-md":`0 4px 6px -1px rgb(0 0 0 / .50), 0 2px 4px -2px rgb(0 0 0 / .50)`,"--shadow-lg":`0 10px 15px -3px rgb(0 0 0 / .55), 0 4px 6px -4px rgb(0 0 0 / .55)`,"--shadow-xl":`0 20px 25px -5px rgb(0 0 0 / .60), 0 8px 10px -6px rgb(0 0 0 / .60)`,"--shadow-2xl":`var(--shadow-floating)`,"--sheet-0":`var(--surface-page)`,"--sheet-1":`var(--surface-card)`,"--sheet-2":`var(--surface-card-emphasis)`,"--shadow-sheet-1":`var(--edge-highlight),0 1px 2px 0 rgb(0 0 0 / .40)`,"--shadow-sheet-2":`var(--edge-highlight),0 10px 15px -3px rgb(0 0 0 / .55),0 4px 6px -4px rgb(0 0 0 / .55)`,"--fold":`12px`,"--fold-face":`linear-gradient(315deg,var(--glass-strong) 0,var(--glass-strong) calc(var(--fold) - 1px),var(--border-strong) calc(var(--fold) - 1px),var(--border-strong) var(--fold),transparent var(--fold))`,"--glow-hero":`radial-gradient(circle,rgb(255 255 255 / .12) 0%,transparent 68%)`,"--glow-hero-blur":`120px`,"--sheen-card":`radial-gradient(120% 120% at 80% 0%,rgb(255 255 255 / .08) 0%,transparent 55%)`,"--sheen-edge":`linear-gradient(90deg,transparent,rgb(255 255 255 / .14) 50%,transparent)`,"--gradient-chrome":`linear-gradient(to right,#ffffff,var(--white-80),var(--white-60))`,"--gradient-chrome-2":`linear-gradient(to right,#ffffff,var(--neutral-500))`,"--gradient-protect":`linear-gradient(to bottom,var(--white-10),transparent)`,"--chrome":`rgb(9 9 11 / .72)`,"--chrome-blur":`blur(20px) saturate(1.8)`,"--chrome-panel":`var(--popover)`,"--pane-blur":`var(--chrome-blur)`,"--pane-edge":`var(--white-08)`,"--pane-round":`var(--radius-xl)`,"--pane-fill":`var(--sheet-1)`,"--pane-solid":`color-mix(in srgb,var(--neutral-800) 50%,var(--background))`,"--pane-floor":`var(--background)`,"--pane-gap":`var(--space-2)`,"--pane-ground":`radial-gradient(80rem 40rem at 12% -10%,rgb(255 255 255 / .035),transparent 60%),radial-gradient(60rem 34rem at 92% 108%,var(--white-03),transparent 60%)`,"--duration-fast":`150ms`,"--duration-base":`300ms`,"--duration-slow":`400ms`,"--duration-slower":`500ms`,"--duration-glow":`9s`,"--duration-press":`90ms`,"--ease-out":`cubic-bezier(0,0,0.2,1)`,"--ease-in-out":`cubic-bezier(0.4,0,0.2,1)`,"--ease-emphasis":`cubic-bezier(0.16,1,0.3,1)`,"--stagger":`60ms`,"--entry-rise":`16px`,"--entry-rise-lg":`24px`,"--z-base":`0`,"--z-raised":`10`,"--z-sticky":`200`,"--z-header":`300`,"--z-dropdown":`400`,"--z-overlay":`500`,"--z-modal":`600`,"--z-popover":`700`,"--z-toast":`800`,"--z-under":`-10`,"--z-panel":`18`,"--z-scrim":`19`,"--z-drawer":`20`,"--z-sheet":`30`,"--z-dock":`40`,"--z-banner":`50`,"--z-tooltip":`var(--z-popover)`,"--z-notification":`var(--z-toast)`,"--font-arabic-kufi":`"Noto Kufi Arabic"`,"--font-arabic-sans":`"Noto Sans Arabic"`,"--font-arabic-plex":`"IBM Plex Sans Arabic"`,"--font-arabic":`var(--font-arabic-kufi)`,"--font-sans":`var(--font-arabic), Zen, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif`,"--font-display":`var(--font-sans)`,"--font-mono":`var(--font-arabic), Zen Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace`,"--font-serif":`var(--font-arabic), Georgia, serif`,"--font-feature-settings":`normal`,"--ring-offset":`-2px`},Qde=.85,$de=1.4,efe=.75,tfe=1.5,nfe=1.05,rfe=[`2xl`,`3xl`,`4xl`,`5xl`,`6xl`,`7xl`,`8xl`,`9xl`],ife=1.0625,l0={compact:.85,default:1,comfortable:1.15},afe={system:`ui-sans-serif, system-ui, -apple-system, sans-serif`,serif:`var(--font-serif)`,mono:`var(--font-mono)`},ofe={kufi:`var(--font-arabic-kufi)`,sans:`var(--font-arabic-sans)`,plex:`var(--font-arabic-plex)`},sfe={narrow:{max:`64rem`,prose:`40rem`,wide:`58rem`},wide:{max:`96rem`,prose:`56rem`,wide:`86rem`}},cfe={sharp:.5,round:1.5},u0=(e,t,n)=>Math.min(n,Math.max(t,e)),d0=e=>String(Math.round(e*1e4)/1e4);function lfe(e){let t=e.trim();return!t||t.length>64||/[;{}()]/.test(t)&&!/^(rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color)\([^;{}]*\)$/i.test(t)?!1:/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(t)||/^(rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color)\([^;{}]*\)$/i.test(t)||/^[a-z]{3,20}$/i.test(t)}var f0=c0[`--primary-foreground`],p0=c0[`--primary`],m0=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,h0=(e,t,n)=>.2126*m0(e)+.7152*m0(t)+.0722*m0(n),g0=(e,t)=>{let n=parseFloat(e);return e.trim().endsWith(`%`)?n/100*t:n};function _0(e){let t=e.trim().toLowerCase(),n=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);if(n){let e=n[1],t=e.length<=4?[...e.slice(0,3)].map(e=>e+e).join(``):e.slice(0,6),[r,i,a]=[0,2,4].map(e=>parseInt(t.slice(e,e+2),16)/255);return h0(r,i,a)}let r=/^(rgba?|hsla?|oklch|oklab)\(([^)]*)\)$/.exec(t);if(!r)return;let i=r[2].split(/[\s,/]+/).filter(Boolean);if(!(i.length<3||i.slice(0,3).some(e=>!Number.isFinite(parseFloat(e))))){if(r[1].startsWith(`rgb`)){let[e,t,n]=i.slice(0,3).map(e=>u0(g0(e,255),0,255)/255);return h0(e,t,n)}if(r[1].startsWith(`hsl`)){let e=(parseFloat(i[0])%360+360)%360,t=u0(g0(i[1],1),0,1),n=u0(g0(i[2],1),0,1),r=t=>(t+e/30)%12,a=t*Math.min(n,1-n),o=e=>n-a*Math.max(-1,Math.min(r(e)-3,9-r(e),1));return h0(o(0),o(8),o(4))}return u0(g0(i[0],1),0,1)**3}}var v0=(e,t)=>(Math.max(e,t)+.05)/(Math.min(e,t)+.05);function ufe(e){let t=_0(e);if(t===void 0)return;let n=_0(f0)??0,r=_0(p0)??1;return v0(t,n)>=v0(t,r)?f0:p0}function dfe(e){let t={};if(typeof e.type==`number`&&Number.isFinite(e.type)&&(t[`--type-scale`]=d0(u0(e.type,Qde,$de))),typeof e.ratio==`number`&&Number.isFinite(e.ratio)&&(t[`--type-ratio`]=d0(u0(e.ratio,efe,tfe))),typeof e.modular==`number`&&Number.isFinite(e.modular)){let n=u0(e.modular,nfe,2);rfe.forEach((e,r)=>{let i=ife*n**+(r+1);t[`--text-${e}`]=`clamp(var(--text-floor), calc(${d0(i)}rem * var(--type-scale, 1)), var(--text-ceiling))`})}e.density&&e.density in l0&&(t[`--density`]=d0(l0[e.density]));let n=e.font?afe[e.font]:void 0;n&&(t[`--font-sans`]=n);let r=e.arabic?ofe[e.arabic]:void 0;r&&(t[`--font-arabic`]=r);let i=e.width?sfe[e.width]:void 0;i&&(t[`--container-max`]=i.max,t[`--container-prose`]=i.prose,t[`--container-wide`]=i.wide);let a=e.radius?cfe[e.radius]:void 0;a&&(t[`--radius-scale`]=d0(a));let o=e.accent&&lfe(e.accent)?e.accent.trim():void 0,s=o?ufe(o):void 0;if(o&&s){let e=`color-mix(in oklab, ${o} 85%, ${s})`;t[`--primary`]=o,t[`--primary-foreground`]=s,t[`--primary-hover`]=e,t[`--accent`]=o,t[`--accent-foreground`]=s,t[`--accent-hover`]=e}return t}var ffe=[`install`,`org`,`user`,`userOrg`],pfe=[`type`,`ratio`,`modular`,`density`,`font`,`arabic`,`width`,`accent`,`highlight`,`background`,`contrast`,`theme`,`radius`];function mfe(e){let t={},n={};for(let r of pfe)for(let i of ffe){let a=e[i]?.[r];a!=null&&a!==``&&(t[r]=a,n[r]=i)}return{pref:t,from:n}}var hfe=e=>e===`org`?`userOrg`:`user`,y0=/^(#[0-9a-fA-F]{3,8}|(?:rgb|hsl|oklch|oklab|lab|lch)a?\(\s*[-+0-9.%deg\s,/]+\)|[a-zA-Z]{3,20})$/;function b0(e){let t=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.exec(e);if(!t)return`#fafafa`;let n=t[1].length===3?t[1].replace(/./g,`$&$&`):t[1].slice(0,6),[r,i,a]=[0,2,4].map(e=>{let t=parseInt(n.slice(e,e+2),16)/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4});return .2126*r+.7152*i+.0722*a>.179?`#09090b`:`#fafafa`}var x0={oled:{"--background":`#000000`,"--foreground":`#fafafa`,"--text-primary":`#fafafa`,"--pane-floor":`#000000`,"--pane-fill":`#050505`,"--card":`#080808`,"--surface-card":`#080808`,"--card-foreground":`#fafafa`,"--popover":`#080808`,"--popover-foreground":`#fafafa`,"--muted":`#0d0d0d`,"--secondary":`#161616`,"--secondary-hover":`#1f1f1f`,"--secondary-foreground":`#fafafa`,"--composer-fill":`#111111`,"--composer-ground":`#111111`},soft:{"--background":`#181818`,"--foreground":`#fafafa`,"--text-primary":`#fafafa`,"--pane-floor":`#131312`,"--pane-fill":`#1c1c1b`,"--card":`#20201f`,"--surface-card":`#20201f`,"--card-foreground":`#fafafa`,"--popover":`#20201f`,"--popover-foreground":`#fafafa`,"--muted":`#252523`,"--secondary":`#2e2e2c`,"--secondary-hover":`#383835`,"--secondary-foreground":`#fafafa`,"--composer-fill":`#272725`,"--composer-ground":`#272725`},high:{"--background":`#000000`,"--foreground":`#ffffff`,"--text-primary":`#ffffff`,"--pane-floor":`#000000`,"--pane-fill":`#060606`,"--card":`#0a0a0a`,"--surface-card":`#0a0a0a`,"--card-foreground":`#ffffff`,"--popover":`#0a0a0a`,"--popover-foreground":`#ffffff`,"--muted":`#121212`,"--secondary":`#1f1f1f`,"--secondary-hover":`#292929`,"--secondary-foreground":`#ffffff`,"--composer-fill":`#141414`,"--composer-ground":`#141414`,"--border":`rgb(255 255 255 / .18)`}};function gfe(e){if(e.background!==void 0){let t=e.background.trim();if(y0.test(t))return b0(t)===`#09090b`?`light`:`dark`}return e.contrast&&e.contrast in x0?`dark`:e.theme}function S0(e){let t={...dfe(e)};if(e.contrast&&e.contrast in x0&&Object.assign(t,x0[e.contrast]),e.background!==void 0){let n=e.background.trim();if(y0.test(n)){let e=b0(n),r=e===`#09090b`?`black`:`white`;t[`--background`]=n,t[`--foreground`]=e,t[`--text-primary`]=e,t[`--pane-floor`]=`color-mix(in oklch, ${n} 95%, black)`,t[`--pane-fill`]=`color-mix(in oklch, ${n} 97%, ${r})`,t[`--card`]=`color-mix(in oklch, ${n} 95%, ${r})`,t[`--surface-card`]=`color-mix(in oklch, ${n} 95%, ${r})`,t[`--card-foreground`]=e,t[`--popover`]=`color-mix(in oklch, ${n} 92%, ${r})`,t[`--popover-foreground`]=e,t[`--muted`]=`color-mix(in oklch, ${n} 92%, ${r})`,t[`--secondary`]=`color-mix(in oklch, ${n} 90%, ${r})`,t[`--secondary-hover`]=`color-mix(in oklch, ${n} 84%, ${r})`,t[`--secondary-foreground`]=e,t[`--composer-fill`]=`color-mix(in oklch, ${n} 90%, ${r})`,t[`--composer-ground`]=`color-mix(in oklch, ${n} 90%, ${r})`}}if(e.highlight!==void 0){let n=e.highlight.trim();y0.test(n)&&(t[`--highlight`]=n,t[`--selection`]=`color-mix(in oklab, ${n} 28%, transparent)`,t[`--ring`]=`color-mix(in oklab, ${n} 55%, transparent)`,t[`--ring-halo`]=`color-mix(in oklab, ${n} 18%, transparent)`,t[`--border-focus`]=`color-mix(in oklab, ${n} 50%, transparent)`,t[`--border-selected`]=`color-mix(in oklab, ${n} 65%, transparent)`)}return t}var C0=`hanzo.appearance`,w0=(e,t)=>e===`org`&&t?`${C0}@${t}`:C0,_fe={type:1,density:`default`},T0=()=>typeof document<`u`,vfe=[`kufi`,`sans`,`plex`];function E0({scope:e=`everywhere`,org:t,store:n=j0()}={}){try{let r=n?.getItem(w0(e,t));if(!r)return{};let i=JSON.parse(r);return!i||typeof i!=`object`?{}:{...typeof i.type==`number`&&Number.isFinite(i.type)?{type:i.type}:{},...typeof i.ratio==`number`&&Number.isFinite(i.ratio)?{ratio:i.ratio}:{},...typeof i.modular==`number`&&Number.isFinite(i.modular)?{modular:i.modular}:{},...i.density===`compact`||i.density===`comfortable`||i.density==="default"?{density:i.density}:{},...i.font==="default"||i.font===`system`||i.font===`serif`||i.font===`mono`?{font:i.font}:{},...i.arabic==="default"||vfe.includes(i.arabic)?{arabic:i.arabic}:{},...i.width===`narrow`||i.width==="default"||i.width===`wide`?{width:i.width}:{},...typeof i.accent==`string`?{accent:i.accent}:{},...typeof i.highlight==`string`?{highlight:i.highlight}:{},...typeof i.background==`string`?{background:i.background}:{},...i.contrast===`oled`||i.contrast===`soft`||i.contrast===`high`?{contrast:i.contrast}:{},...i.theme===`system`||i.theme===`light`||i.theme===`dark`?{theme:i.theme}:{},...i.radius===`sharp`||i.radius==="default"||i.radius===`round`?{radius:i.radius}:{}}}catch{return{}}}function yfe({org:e,store:t=j0()}={}){return{user:E0({scope:`everywhere`,store:t}),...e?{userOrg:E0({scope:`org`,org:e,store:t})}:{}}}var D0=`hanzo:appearance`;function O0(e,{scope:t=`everywhere`,org:n,store:r=j0()}={}){try{return r?.setItem(w0(t,n),JSON.stringify(e)),typeof window<`u`&&typeof Event==`function`&&window.dispatchEvent(new Event(D0)),!!r}catch{return!1}}function bfe(e,t=T0()?document.documentElement:void 0,{store:n=j0()}={}){if(!t)return;let r=S0(e);for(let e of wfe){let n=r[e];n?t.style.setProperty(e,n):t.style.removeProperty(e)}let i=gfe(e);if(k0(i,t),T0()&&t===document.documentElement){Cfe(i);try{n?.setItem(xfe,JSON.stringify({vars:r,...i?{theme:i}:{}}))}catch{}}}var xfe=`${C0}.painted`,Sfe=e=>e===`dark`||e===`system`&&typeof matchMedia==`function`&&matchMedia(`(prefers-color-scheme: dark)`).matches;function k0(e,t){if(!e&&!t.hasAttribute(`data-scheme`))return;let n=!e||Sfe(e);t.classList.toggle(`light`,!n),t.classList.toggle(`dark`,n),t.classList.toggle(`t_light`,!n),t.classList.toggle(`t_dark`,n),t.style.colorScheme=n?`dark`:`light`,e?t.setAttribute(`data-scheme`,e):t.removeAttribute(`data-scheme`)}var A0;function Cfe(e){if(e===`system`){if(A0||typeof matchMedia!=`function`)return;let e=matchMedia(`(prefers-color-scheme: dark)`),t=()=>k0(`system`,document.documentElement);e.addEventListener?.(`change`,t),A0={query:e,on:t}}else A0&&=(A0.query.removeEventListener?.(`change`,A0.on),void 0)}var wfe=Object.keys(S0({type:1,ratio:1,modular:1.25,density:`compact`,font:`serif`,arabic:`sans`,width:`wide`,accent:`#000`,highlight:`#000`,background:`#000`,contrast:`high`,radius:`round`}));function Tfe({install:e,org:t,orgId:n,store:r}={}){return mfe({install:e,org:t,...yfe({org:n,store:r})})}function j0(){try{return typeof localStorage<`u`?localStorage:void 0}catch{return}}var Efe=()=>document.documentElement.classList.contains(`light`)?`light`:`dark`;function Dfe(e){let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]}),()=>t.disconnect()}function Ofe(){return(0,b.useSyncExternalStore)(Dfe,Efe,()=>`dark`)}function kfe({org:e,install:t,orgPref:n,account:r}={}){let[i,a]=(0,b.useState)(_fe),[o,s]=(0,b.useState)({}),[c,l]=(0,b.useState)(`everywhere`),u=(0,b.useCallback)((r=c)=>{let i=Tfe({install:t,org:n,orgId:e});return a(i.pref),s(i.from),bfe(i.pref),l(r),i},[t,n,e,c]);return(0,b.useEffect)(()=>{u()},[e,t,n]),(0,b.useEffect)(()=>{if(typeof window>`u`)return;let e=()=>u();return window.addEventListener(D0,e),window.addEventListener(`storage`,e),()=>{window.removeEventListener(D0,e),window.removeEventListener(`storage`,e)}},[u]),(0,b.useEffect)(()=>{if(!r)return;let e=!0;return Kde(r).then(t=>{e&&t&&(O0(t,{scope:`everywhere`}),u())}),Zde(r).then(t=>{e&&t&&Xde(t)}),()=>{e=!1}},[r?.base,r?.token]),{pref:i,set:(0,b.useCallback)(t=>{let n={...E0({scope:c,org:e}),...t};`accent`in t&&t.accent===void 0&&delete n.accent,`highlight`in t&&t.highlight===void 0&&delete n.highlight,`background`in t&&t.background===void 0&&delete n.background,`contrast`in t&&t.contrast===void 0&&delete n.contrast,O0(n,{scope:c,org:e}),u(),r&&c===`everywhere`&&i0(n,r)},[c,e,u,r]),reset:(0,b.useCallback)(()=>{O0({},{scope:c,org:e}),u(),r&&c===`everywhere`&&i0({},r)},[c,e,u,r]),scope:c,setScope:e=>u(e),from:o,layer:hfe(c)}}var Afe={Close:`إغلاق`,"Close window":`إغلاق النافذة`,"Minimize window":`تصغير النافذة`,"Restore window":`استعادة النافذة`,"Maximize window":`تكبير النافذة`,Resize:`تغيير الحجم`,"Select all":`تحديد الكل`,"Select row":`تحديد الصف`,"Previous month":`الشهر السابق`,"Next month":`الشهر التالي`,Dismiss:`تجاهل`,Breadcrumb:`مسار التنقل`,Cards:`بطاقات`,"Copy code":`نسخ الرمز`,Copied:`تم النسخ`,"Copied!":`تم النسخ!`,Copy:`نسخ`,"Previous slide":`الشريحة السابقة`,"Next slide":`الشريحة التالية`,"Previous card":`البطاقة السابقة`,"Next card":`البطاقة التالية`,"Zoom out":`تصغير`,"Zoom in":`تكبير`,Rotate:`تدوير`,Filter:`تصفية`,"Expand all":`توسيع الكل`,"Collapse all":`طي الكل`,"Search...":`بحث...`,"Pick a date":`اختر تاريخًا`,Select:`تحديد`,"Start typing...":`ابدأ الكتابة...`,Search:`بحث`,Decrease:`إنقاص`,Increase:`زيادة`,pagination:`ترقيم الصفحات`,"Go to previous page":`الانتقال إلى الصفحة السابقة`,"Go to next page":`الانتقال إلى الصفحة التالية`,Previous:`السابق`,Next:`التالي`,"More pages":`مزيد من الصفحات`,Remove:`إزالة`,"Go back":`رجوع`,"Go forward":`تقدم`,"Reload page":`إعادة تحميل الصفحة`,Share:`مشاركة`,"New tab":`علامة تبويب جديدة`,Menu:`القائمة`,"Copy command":`نسخ الأمر`,"Terminal input":`إدخال الطرفية`,Seek:`التمرير`,"Rewind 10 seconds":`إرجاع 10 ثوانٍ`,"Forward 10 seconds":`تقديم 10 ثوانٍ`,Volume:`مستوى الصوت`,"Toggle captions":`تبديل التعليقات`,"Playback speed":`سرعة التشغيل`,Quality:`الجودة`,"Picture in picture":`صورة داخل صورة`,Play:`تشغيل`,Pause:`إيقاف مؤقت`,Mute:`كتم الصوت`,Unmute:`إلغاء كتم الصوت`,"Exit fullscreen":`الخروج من ملء الشاشة`,"Enter fullscreen":`ملء الشاشة`,Expand:`توسيع`,Collapse:`طي`,"Copy reply":`نسخ الرد`,"Good result":`نتيجة جيدة`,"Bad result":`نتيجة سيئة`,"Dialog Close":`إغلاق مربع الحوار`,Notifications:`الإشعارات`,Account:`الحساب`,Cart:`السلة`,Call:`مكالمة`,"Video call":`مكالمة فيديو`,Message:`رسالة`,Main:`الرئيسي`,Columns:`الأعمدة`,"No results.":`لا توجد نتائج.`,"No results":`لا توجد نتائج`,"No results found":`لم يُعثر على نتائج`,"Drop files here":`أفلت الملفات هنا`,"Drag & drop files here":`اسحب الملفات وأفلتها هنا`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`أو انقر للاستعراض (بحد أقصى {maxFiles} ملفات، {maxSize} ميغابايت لكل ملف)`,"Remove {name}":`إزالة {name}`,"{selected} of {total} row(s) selected.":`تم تحديد {selected} من {total}.`,"Try again":`حاول مرة أخرى`,"What’s up next?":`ما التالي؟`,"Show password":`إظهار كلمة المرور`,"Hide password":`إخفاء كلمة المرور`,"Search icons":`البحث عن أيقونات`,"No icon matches":`لا توجد أيقونة مطابقة`,"Show all items ({n})":`عرض الكل ({n})`,"Fewer {what}":`{what} أقل`,"More {what}":`المزيد من {what}`,"No tasks available. Add tasks to display Gantt chart.":`لا توجد مهام. أضف مهامًا لعرض مخطط جانت.`,January:`يناير`,February:`فبراير`,March:`مارس`,April:`أبريل`,May:`مايو`,June:`يونيو`,July:`يوليو`,August:`أغسطس`,September:`سبتمبر`,October:`أكتوبر`,November:`نوفمبر`,December:`ديسمبر`,Su:`ح`,Mo:`ن`,Tu:`ث`,We:`ر`,Th:`خ`,Fr:`ج`,Sa:`س`,"just now":`الآن`,"in a moment":`بعد لحظات`,"in 1 minute":`خلال دقيقة واحدة`,"in {n} minutes":`خلال {n} دقائق`,"in 1 hour":`خلال ساعة واحدة`,"in {n} hours":`خلال {n} ساعات`,tomorrow:`غدًا`,"in {n} days":`خلال {n} أيام`,"in 1 week":`خلال أسبوع واحد`,"in {n} weeks":`خلال {n} أسابيع`,"in 1 month":`خلال شهر واحد`,"in {n} months":`خلال {n} أشهر`,"in 1 year":`خلال سنة واحدة`,"in {n} years":`خلال {n} سنوات`,"1 minute ago":`قبل دقيقة واحدة`,"{n} minutes ago":`قبل {n} دقائق`,"1 hour ago":`قبل ساعة واحدة`,"{n} hours ago":`قبل {n} ساعات`,"1 day ago":`قبل يوم واحد`,"{n} days ago":`قبل {n} أيام`,"1 week ago":`قبل أسبوع واحد`,"{n} weeks ago":`قبل {n} أسابيع`,"1 month ago":`قبل شهر واحد`,"{n} months ago":`قبل {n} أشهر`,"1 year ago":`قبل سنة واحدة`,"{n} years ago":`قبل {n} سنوات`,"Cookie notice":`إشعار ملفات تعريف الارتباط`,"Cookie preferences":`تفضيلات ملفات تعريف الارتباط`,"Close and use essential cookies only":`إغلاق واستخدام ملفات تعريف الارتباط الأساسية فقط`,Back:`رجوع`,"Log in":`تسجيل الدخول`,"Search Hanzo or ask AI":`ابحث في Hanzo أو اسأل الذكاء الاصطناعي`,"Search models":`البحث عن النماذج`,"Search branches…":`البحث عن الفروع…`,"Search repositories…":`البحث عن المستودعات…`,"Show options":`إظهار الخيارات`,Retry:`إعادة المحاولة`,"Donut chart":`مخطط حلقي`,"Find an organization":`العثور على مؤسسة`,Organizations:`المؤسسات`,"Organization name":`اسم المؤسسة`,"Previous page":`الصفحة السابقة`,"Next page":`الصفحة التالية`,"Continue with credits":`المتابعة باستخدام الرصيد`,"Try Hanzo":`جرّب Hanzo`,"Terms & Policies":`الشروط والسياسات`,"Who this is for":`لمن هذا`,"Bill yearly":`فوترة سنوية`,Apps:`التطبيقات`,"Card actions":`إجراءات البطاقة`,"Assign to...":`تعيين إلى...`,"Search cards...":`البحث في البطاقات...`,"Clear search":`مسح البحث`,"Open files":`الملفات المفتوحة`,"Close panel":`إغلاق اللوحة`,"Add an organization":`إضافة مؤسسة`,"Keyboard Shortcuts":`اختصارات لوحة المفاتيح`,"Run a command":`تشغيل أمر`,"Type shell command...":`اكتب أمر الصدفة...`,"Attached to the next message":`مرفق بالرسالة التالية`,"Channel Member Roster":`أعضاء القناة`,"Channel Collaborative Notes":`ملاحظات القناة المشتركة`,"Code Diff Viewer":`عارض الفروق`,"Live Voice Call":`مكالمة صوتية مباشرة`,"MCP Server Hub":`مركز خوادم MCP`,"Multi-Agent Swarm Bar":`شريط سرب الوكلاء`,"Write shared channel notes, meeting agenda, or AI summaries...":`اكتب ملاحظات القناة أو جدول الاجتماع أو ملخصات الذكاء الاصطناعي...`,"Help improve our AI models":`ساعد في تحسين نماذج الذكاء الاصطناعي`,"Your name":`اسمك`,"Your role":`دورك`,"Country or region":`البلد أو المنطقة`,"Card details":`بيانات البطاقة`,"Agree to recurring charges":`الموافقة على الرسوم المتكررة`,"How you will use Hanzo":`كيف ستستخدم Hanzo`,"Team size":`حجم الفريق`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`أوافق على شروط الخدمة وسياسة الاستخدام المقبول وأؤكد أن عمري 18 عامًا على الأقل.`,"Empty string":`سلسلة فارغة`,"Empty array":`مصفوفة فارغة`,"Empty object":`كائن فارغ`,"Copy {what}":`نسخ {what}`,"Ask anything":`اسأل عن أي شيء`,Auto:`تلقائي`,Instant:`فوري`,Low:`منخفض`,Medium:`متوسط`,High:`عالٍ`,Max:`الحد الأقصى`,Dictate:`إملاء`,"Dictating — click to stop":`جارٍ الإملاء — انقر للإيقاف`,"Dictation settings":`إعدادات الإملاء`,Language:`اللغة`,"No devices found":`لم يُعثر على أجهزة`,"Microphone {n}":`ميكروفون {n}`,"Nothing matches":`لا يوجد تطابق`,Commands:`الأوامر`,"Search commands…":`البحث عن الأوامر…`,Agents:`الوكلاء`,Skills:`المهارات`,Connectors:`الموصّلات`,"Design system":`نظام التصميم`,Plugins:`الإضافات`,Devices:`الأجهزة`,Memory:`الذاكرة`,Research:`بحث متعمق`,On:`تشغيل`,"Upload or add files":`تحميل ملفات أو إضافتها`,"Add files, agents, skills and more":`أضف ملفاتًا ووكلاء ومهارات والمزيد`,"No agents yet":`لا يوجد وكلاء بعد`,"No skills yet":`لا توجد مهارات بعد`,"No connectors yet":`لا توجد موصّلات بعد`,"No design system yet":`لا يوجد نظام تصميم بعد`,"No plugins yet":`لا توجد إضافات بعد`,"No devices yet":`لا توجد أجهزة بعد`,"Search agents":`البحث عن الوكلاء`,"Search skills":`البحث عن المهارات`,"Search connectors":`البحث عن الموصّلات`,"Search design system":`البحث في نظام التصميم`,"Search plugins":`البحث عن الإضافات`,"Search devices":`البحث عن الأجهزة`,"Reading agents":`جارٍ قراءة الوكلاء`,"Reading skills":`جارٍ قراءة المهارات`,"Reading connectors":`جارٍ قراءة الموصّلات`,"Reading design system":`جارٍ قراءة نظام التصميم`,"Reading plugins":`جارٍ قراءة الإضافات`,"Adaptive reasoning based on task complexity":`استدلال متكيف حسب تعقيد المهمة`,"Answers right away, without thinking":`يجيب فورًا دون تفكير`,"A quick pass with minimal thinking":`مرور سريع بأقل قدر من التفكير`,"Thinks before answering":`يفكر قبل الإجابة`,"Deep reasoning for complex problems":`استدلال عميق للمشكلات المعقدة`,"Maximum compute and exhaustive verification":`أقصى حساب وتحقق شامل`,Effort:`الجهد`,"Effort: {level}":`الجهد: {level}`,Mode:`الوضع`,"Mode: {mode}":`الوضع: {mode}`,Model:`النموذج`,"Model: {name}":`النموذج: {name}`,"Voice mode":`وضع الصوت`,"Hanzo is speaking — talk to interrupt":`Hanzo يتحدث — تحدّث للمقاطعة`,"In conversation — click to hang up":`في محادثة — انقر لإنهاء المكالمة`,"Go to testimonial {n}":`الانتقال إلى الشهادة {n}`,"Go to card {n}":`الانتقال إلى البطاقة {n}`,"{n} of {total}":`{n} من {total}`,"Reading…":`جارٍ القراءة…`,Skill:`مهارة`,Plugin:`إضافة`},jfe={Close:`Schließen`,"Close window":`Fenster schließen`,"Minimize window":`Fenster minimieren`,"Restore window":`Fenster wiederherstellen`,"Maximize window":`Fenster maximieren`,Resize:`Größe ändern`,"Select all":`Alle auswählen`,"Select row":`Zeile auswählen`,"Previous month":`Vorheriger Monat`,"Next month":`Nächster Monat`,Dismiss:`Schließen`,Breadcrumb:`Brotkrumen`,Cards:`Karten`,"Copy code":`Code kopieren`,Copied:`Kopiert`,"Copied!":`Kopiert!`,Copy:`Kopieren`,"Previous slide":`Vorherige Folie`,"Next slide":`Nächste Folie`,"Previous card":`Vorherige Karte`,"Next card":`Nächste Karte`,"Zoom out":`Verkleinern`,"Zoom in":`Vergrößern`,Rotate:`Drehen`,Filter:`Filtern`,"Expand all":`Alle aufklappen`,"Collapse all":`Alle zuklappen`,"Search...":`Suchen...`,"Pick a date":`Datum wählen`,Select:`Auswählen`,"Start typing...":`Schreibe etwas...`,Search:`Suchen`,Decrease:`Verringern`,Increase:`Erhöhen`,pagination:`Seitennummerierung`,"Go to previous page":`Zur vorherigen Seite`,"Go to next page":`Zur nächsten Seite`,Previous:`Zurück`,Next:`Weiter`,"More pages":`Weitere Seiten`,Remove:`Entfernen`,"Go back":`Zurück`,"Go forward":`Vorwärts`,"Reload page":`Seite neu laden`,Share:`Teilen`,"New tab":`Neuer Tab`,Menu:`Menü`,"Copy command":`Befehl kopieren`,"Terminal input":`Terminaleingabe`,Seek:`Position`,"Rewind 10 seconds":`10 Sekunden zurück`,"Forward 10 seconds":`10 Sekunden vor`,Volume:`Lautstärke`,"Toggle captions":`Untertitel umschalten`,"Playback speed":`Wiedergabegeschwindigkeit`,Quality:`Qualität`,"Picture in picture":`Bild im Bild`,Play:`Wiedergabe`,Pause:`Pause`,Mute:`Stumm`,Unmute:`Ton an`,"Exit fullscreen":`Vollbild beenden`,"Enter fullscreen":`Vollbild`,Expand:`Aufklappen`,Collapse:`Zuklappen`,"Copy reply":`Antwort kopieren`,"Good result":`Gutes Ergebnis`,"Bad result":`Schlechtes Ergebnis`,"Dialog Close":`Dialog schließen`,Notifications:`Benachrichtigungen`,Account:`Konto`,Cart:`Warenkorb`,Call:`Anruf`,"Video call":`Videoanruf`,Message:`Nachricht`,Main:`Hauptnavigation`,Columns:`Spalten`,"No results.":`Keine Ergebnisse.`,"No results":`Keine Ergebnisse`,"No results found":`Keine Ergebnisse gefunden`,"Drop files here":`Dateien hier ablegen`,"Drag & drop files here":`Dateien hierher ziehen`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`oder klicken zum Durchsuchen (max. {maxFiles} Dateien, je {maxSize} MB)`,"Remove {name}":`{name} entfernen`,"{selected} of {total} row(s) selected.":`{selected} von {total} Zeile(n) ausgewählt.`,"Try again":`Erneut versuchen`,"What’s up next?":`Was steht als Nächstes an?`,"Show password":`Passwort anzeigen`,"Hide password":`Passwort verbergen`,"Search icons":`Symbole suchen`,"No icon matches":`Kein Symbol passt`,"Show all items ({n})":`Alle anzeigen ({n})`,"Fewer {what}":`Weniger {what}`,"More {what}":`Mehr {what}`,"No tasks available. Add tasks to display Gantt chart.":`Keine Aufgaben. Fügen Sie welche hinzu, um das Gantt-Diagramm zu sehen.`,January:`Januar`,February:`Februar`,March:`März`,April:`April`,May:`Mai`,June:`Juni`,July:`Juli`,August:`August`,September:`September`,October:`Oktober`,November:`November`,December:`Dezember`,Su:`So`,Mo:`Mo`,Tu:`Di`,We:`Mi`,Th:`Do`,Fr:`Fr`,Sa:`Sa`,"just now":`gerade eben`,"in a moment":`gleich`,"in 1 minute":`in 1 Minute`,"in {n} minutes":`in {n} Minuten`,"in 1 hour":`in 1 Stunde`,"in {n} hours":`in {n} Stunden`,tomorrow:`morgen`,"in {n} days":`in {n} Tagen`,"in 1 week":`in 1 Woche`,"in {n} weeks":`in {n} Wochen`,"in 1 month":`in 1 Monat`,"in {n} months":`in {n} Monaten`,"in 1 year":`in 1 Jahr`,"in {n} years":`in {n} Jahren`,"1 minute ago":`vor 1 Minute`,"{n} minutes ago":`vor {n} Minuten`,"1 hour ago":`vor 1 Stunde`,"{n} hours ago":`vor {n} Stunden`,"1 day ago":`vor 1 Tag`,"{n} days ago":`vor {n} Tagen`,"1 week ago":`vor 1 Woche`,"{n} weeks ago":`vor {n} Wochen`,"1 month ago":`vor 1 Monat`,"{n} months ago":`vor {n} Monaten`,"1 year ago":`vor 1 Jahr`,"{n} years ago":`vor {n} Jahren`,"Cookie notice":`Hinweis zu Cookies`,"Cookie preferences":`Cookie-Einstellungen`,"Close and use essential cookies only":`Schließen und nur essenzielle Cookies verwenden`,Back:`Zurück`,"Log in":`Anmelden`,"Search Hanzo or ask AI":`Hanzo durchsuchen oder die KI fragen`,"Search models":`Modelle suchen`,"Search branches…":`Branches suchen…`,"Search repositories…":`Repositories suchen…`,"Show options":`Optionen anzeigen`,Retry:`Wiederholen`,"Donut chart":`Ringdiagramm`,"Find an organization":`Organisation finden`,Organizations:`Organisationen`,"Organization name":`Name der Organisation`,"Previous page":`Vorherige Seite`,"Next page":`Nächste Seite`,"Continue with credits":`Mit Guthaben fortfahren`,"Try Hanzo":`Hanzo ausprobieren`,"Terms & Policies":`Bedingungen und Richtlinien`,"Who this is for":`Für wen es ist`,"Bill yearly":`Jährlich abrechnen`,Apps:`Apps`,"Card actions":`Kartenaktionen`,"Assign to...":`Zuweisen an...`,"Search cards...":`Karten suchen...`,"Clear search":`Suche löschen`,"Open files":`Geöffnete Dateien`,"Close panel":`Bereich schließen`,"Add an organization":`Organisation hinzufügen`,"Keyboard Shortcuts":`Tastenkürzel`,"Run a command":`Befehl ausführen`,"Type shell command...":`Shell-Befehl eingeben...`,"Attached to the next message":`An die nächste Nachricht angehängt`,"Channel Member Roster":`Kanalmitglieder`,"Channel Collaborative Notes":`Gemeinsame Kanalnotizen`,"Code Diff Viewer":`Diff-Ansicht`,"Live Voice Call":`Live-Sprachanruf`,"MCP Server Hub":`MCP-Server-Hub`,"Multi-Agent Swarm Bar":`Leiste für den Agentenschwarm`,"Write shared channel notes, meeting agenda, or AI summaries...":`Gemeinsame Notizen, Tagesordnung oder KI-Zusammenfassungen schreiben...`,"Help improve our AI models":`Hilf mit, unsere KI-Modelle zu verbessern`,"Your name":`Dein Name`,"Your role":`Deine Rolle`,"Country or region":`Land oder Region`,"Card details":`Kartendaten`,"Agree to recurring charges":`Wiederkehrenden Abbuchungen zustimmen`,"How you will use Hanzo":`Wie du Hanzo nutzen wirst`,"Team size":`Teamgröße`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Ich stimme den Nutzungsbedingungen und der Richtlinie zur akzeptablen Nutzung zu und bestätige, dass ich mindestens 18 Jahre alt bin.`,"Empty string":`Leere Zeichenkette`,"Empty array":`Leeres Array`,"Empty object":`Leeres Objekt`,"Copy {what}":`{what} kopieren`,"Ask anything":`Frag nach allem`,Auto:`Auto`,Instant:`Sofort`,Low:`Niedrig`,Medium:`Mittel`,High:`Hoch`,Max:`Maximal`,Dictate:`Diktieren`,"Dictating — click to stop":`Diktat läuft — zum Stoppen klicken`,"Dictation settings":`Diktateinstellungen`,Language:`Sprache`,"No devices found":`Keine Geräte gefunden`,"Microphone {n}":`Mikrofon {n}`,"Nothing matches":`Nichts passt`,Commands:`Befehle`,"Search commands…":`Befehle suchen…`,Agents:`Agenten`,Skills:`Fähigkeiten`,Connectors:`Konnektoren`,"Design system":`Designsystem`,Plugins:`Plugins`,Devices:`Geräte`,Memory:`Gedächtnis`,Research:`Recherche`,On:`An`,"Upload or add files":`Dateien hochladen oder hinzufügen`,"Add files, agents, skills and more":`Dateien, Agenten, Fähigkeiten und mehr hinzufügen`,"No agents yet":`Noch keine Agenten`,"No skills yet":`Noch keine Fähigkeiten`,"No connectors yet":`Noch keine Konnektoren`,"No design system yet":`Noch kein Designsystem`,"No plugins yet":`Noch keine Plugins`,"No devices yet":`Noch keine Geräte`,"Search agents":`Agenten suchen`,"Search skills":`Fähigkeiten suchen`,"Search connectors":`Konnektoren suchen`,"Search design system":`Designsystem durchsuchen`,"Search plugins":`Plugins suchen`,"Search devices":`Geräte suchen`,"Reading agents":`Agenten werden gelesen`,"Reading skills":`Fähigkeiten werden gelesen`,"Reading connectors":`Konnektoren werden gelesen`,"Reading design system":`Designsystem wird gelesen`,"Reading plugins":`Plugins werden gelesen`,"Adaptive reasoning based on task complexity":`Adaptives Denken je nach Komplexität der Aufgabe`,"Answers right away, without thinking":`Antwortet sofort, ohne nachzudenken`,"A quick pass with minimal thinking":`Ein schneller Durchgang mit wenig Nachdenken`,"Thinks before answering":`Denkt nach, bevor es antwortet`,"Deep reasoning for complex problems":`Tiefes Nachdenken bei komplexen Problemen`,"Maximum compute and exhaustive verification":`Maximales Rechnen und gründliche Prüfung`,Effort:`Aufwand`,"Effort: {level}":`Aufwand: {level}`,Mode:`Modus`,"Mode: {mode}":`Modus: {mode}`,Model:`Modell`,"Model: {name}":`Modell: {name}`,"Voice mode":`Sprachmodus`,"Hanzo is speaking — talk to interrupt":`Hanzo spricht — sprich, um zu unterbrechen`,"In conversation — click to hang up":`Im Gespräch — zum Auflegen klicken`,"Go to testimonial {n}":`Zu Testimonial {n}`,"Go to card {n}":`Zu Karte {n}`,"{n} of {total}":`{n} von {total}`,"Reading…":`Wird gelesen…`,Skill:`Fähigkeit`,Plugin:`Plugin`},Mfe={Close:`Cerrar`,"Close window":`Cerrar ventana`,"Minimize window":`Minimizar ventana`,"Restore window":`Restaurar ventana`,"Maximize window":`Maximizar ventana`,Resize:`Cambiar tamaño`,"Select all":`Seleccionar todo`,"Select row":`Seleccionar fila`,"Previous month":`Mes anterior`,"Next month":`Mes siguiente`,Dismiss:`Descartar`,Breadcrumb:`Ruta de navegación`,Cards:`Tarjetas`,"Copy code":`Copiar código`,Copied:`Copiado`,"Copied!":`¡Copiado!`,Copy:`Copiar`,"Previous slide":`Diapositiva anterior`,"Next slide":`Diapositiva siguiente`,"Previous card":`Tarjeta anterior`,"Next card":`Tarjeta siguiente`,"Zoom out":`Alejar`,"Zoom in":`Acercar`,Rotate:`Girar`,Filter:`Filtrar`,"Expand all":`Expandir todo`,"Collapse all":`Contraer todo`,"Search...":`Buscar...`,"Pick a date":`Elige una fecha`,Select:`Seleccionar`,"Start typing...":`Empieza a escribir...`,Search:`Buscar`,Decrease:`Disminuir`,Increase:`Aumentar`,pagination:`paginación`,"Go to previous page":`Ir a la página anterior`,"Go to next page":`Ir a la página siguiente`,Previous:`Anterior`,Next:`Siguiente`,"More pages":`Más páginas`,Remove:`Quitar`,"Go back":`Volver`,"Go forward":`Avanzar`,"Reload page":`Recargar página`,Share:`Compartir`,"New tab":`Nueva pestaña`,Menu:`Menú`,"Copy command":`Copiar comando`,"Terminal input":`Entrada del terminal`,Seek:`Buscar posición`,"Rewind 10 seconds":`Retroceder 10 segundos`,"Forward 10 seconds":`Adelantar 10 segundos`,Volume:`Volumen`,"Toggle captions":`Mostrar u ocultar subtítulos`,"Playback speed":`Velocidad de reproducción`,Quality:`Calidad`,"Picture in picture":`Imagen en imagen`,Play:`Reproducir`,Pause:`Pausa`,Mute:`Silenciar`,Unmute:`Activar sonido`,"Exit fullscreen":`Salir de pantalla completa`,"Enter fullscreen":`Pantalla completa`,Expand:`Expandir`,Collapse:`Contraer`,"Copy reply":`Copiar respuesta`,"Good result":`Buen resultado`,"Bad result":`Mal resultado`,"Dialog Close":`Cerrar diálogo`,Notifications:`Notificaciones`,Account:`Cuenta`,Cart:`Carrito`,Call:`Llamada`,"Video call":`Videollamada`,Message:`Mensaje`,Main:`Principal`,Columns:`Columnas`,"No results.":`No hay resultados.`,"No results":`No hay resultados`,"No results found":`No se encontraron resultados`,"Drop files here":`Suelta los archivos aquí`,"Drag & drop files here":`Arrastra y suelta archivos aquí`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`o haz clic para explorar (máx. {maxFiles} archivos, {maxSize} MB cada uno)`,"Remove {name}":`Quitar {name}`,"{selected} of {total} row(s) selected.":`{selected} de {total} fila(s) seleccionada(s).`,"Try again":`Intentar de nuevo`,"What’s up next?":`¿Qué sigue?`,"Show password":`Mostrar contraseña`,"Hide password":`Ocultar contraseña`,"Search icons":`Buscar iconos`,"No icon matches":`Ningún icono coincide`,"Show all items ({n})":`Mostrar todos ({n})`,"Fewer {what}":`Menos {what}`,"More {what}":`Más {what}`,"No tasks available. Add tasks to display Gantt chart.":`No hay tareas. Añade tareas para ver el diagrama de Gantt.`,January:`Enero`,February:`Febrero`,March:`Marzo`,April:`Abril`,May:`Mayo`,June:`Junio`,July:`Julio`,August:`Agosto`,September:`Septiembre`,October:`Octubre`,November:`Noviembre`,December:`Diciembre`,Su:`do`,Mo:`lu`,Tu:`ma`,We:`mi`,Th:`ju`,Fr:`vi`,Sa:`sá`,"just now":`ahora mismo`,"in a moment":`en un momento`,"in 1 minute":`en 1 minuto`,"in {n} minutes":`en {n} minutos`,"in 1 hour":`en 1 hora`,"in {n} hours":`en {n} horas`,tomorrow:`mañana`,"in {n} days":`en {n} días`,"in 1 week":`en 1 semana`,"in {n} weeks":`en {n} semanas`,"in 1 month":`en 1 mes`,"in {n} months":`en {n} meses`,"in 1 year":`en 1 año`,"in {n} years":`en {n} años`,"1 minute ago":`hace 1 minuto`,"{n} minutes ago":`hace {n} minutos`,"1 hour ago":`hace 1 hora`,"{n} hours ago":`hace {n} horas`,"1 day ago":`hace 1 día`,"{n} days ago":`hace {n} días`,"1 week ago":`hace 1 semana`,"{n} weeks ago":`hace {n} semanas`,"1 month ago":`hace 1 mes`,"{n} months ago":`hace {n} meses`,"1 year ago":`hace 1 año`,"{n} years ago":`hace {n} años`,"Cookie notice":`Aviso de cookies`,"Cookie preferences":`Preferencias de cookies`,"Close and use essential cookies only":`Cerrar y usar solo cookies esenciales`,Back:`Atrás`,"Log in":`Iniciar sesión`,"Search Hanzo or ask AI":`Busca en Hanzo o pregunta a la IA`,"Search models":`Buscar modelos`,"Search branches…":`Buscar ramas…`,"Search repositories…":`Buscar repositorios…`,"Show options":`Mostrar opciones`,Retry:`Reintentar`,"Donut chart":`Gráfico de anillo`,"Find an organization":`Buscar una organización`,Organizations:`Organizaciones`,"Organization name":`Nombre de la organización`,"Previous page":`Página anterior`,"Next page":`Página siguiente`,"Continue with credits":`Continuar con créditos`,"Try Hanzo":`Probar Hanzo`,"Terms & Policies":`Términos y políticas`,"Who this is for":`Para quién es`,"Bill yearly":`Facturación anual`,Apps:`Aplicaciones`,"Card actions":`Acciones de la tarjeta`,"Assign to...":`Asignar a...`,"Search cards...":`Buscar tarjetas...`,"Clear search":`Borrar búsqueda`,"Open files":`Archivos abiertos`,"Close panel":`Cerrar panel`,"Add an organization":`Añadir una organización`,"Keyboard Shortcuts":`Atajos de teclado`,"Run a command":`Ejecutar un comando`,"Type shell command...":`Escribe un comando de shell...`,"Attached to the next message":`Adjunto al próximo mensaje`,"Channel Member Roster":`Miembros del canal`,"Channel Collaborative Notes":`Notas compartidas del canal`,"Code Diff Viewer":`Visor de diferencias`,"Live Voice Call":`Llamada de voz en vivo`,"MCP Server Hub":`Centro de servidores MCP`,"Multi-Agent Swarm Bar":`Barra del enjambre de agentes`,"Write shared channel notes, meeting agenda, or AI summaries...":`Escribe notas del canal, el orden del día o resúmenes de la IA...`,"Help improve our AI models":`Ayuda a mejorar nuestros modelos de IA`,"Your name":`Tu nombre`,"Your role":`Tu rol`,"Country or region":`País o región`,"Card details":`Datos de la tarjeta`,"Agree to recurring charges":`Acepto los cargos recurrentes`,"How you will use Hanzo":`Cómo usarás Hanzo`,"Team size":`Tamaño del equipo`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Acepto las Condiciones del servicio y la Política de uso aceptable y confirmo que tengo al menos 18 años.`,"Empty string":`Cadena vacía`,"Empty array":`Arreglo vacío`,"Empty object":`Objeto vacío`,"Copy {what}":`Copiar {what}`,"Ask anything":`Pregunta lo que quieras`,Auto:`Auto`,Instant:`Instantáneo`,Low:`Bajo`,Medium:`Medio`,High:`Alto`,Max:`Máximo`,Dictate:`Dictar`,"Dictating — click to stop":`Dictando — haz clic para detener`,"Dictation settings":`Ajustes de dictado`,Language:`Idioma`,"No devices found":`No se encontraron dispositivos`,"Microphone {n}":`Micrófono {n}`,"Nothing matches":`Nada coincide`,Commands:`Comandos`,"Search commands…":`Buscar comandos…`,Agents:`Agentes`,Skills:`Habilidades`,Connectors:`Conectores`,"Design system":`Sistema de diseño`,Plugins:`Complementos`,Devices:`Dispositivos`,Memory:`Memoria`,Research:`Investigación`,On:`Activado`,"Upload or add files":`Subir o añadir archivos`,"Add files, agents, skills and more":`Añade archivos, agentes, habilidades y más`,"No agents yet":`Aún no hay agentes`,"No skills yet":`Aún no hay habilidades`,"No connectors yet":`Aún no hay conectores`,"No design system yet":`Aún no hay sistema de diseño`,"No plugins yet":`Aún no hay complementos`,"No devices yet":`Aún no hay dispositivos`,"Search agents":`Buscar agentes`,"Search skills":`Buscar habilidades`,"Search connectors":`Buscar conectores`,"Search design system":`Buscar en el sistema de diseño`,"Search plugins":`Buscar complementos`,"Search devices":`Buscar dispositivos`,"Reading agents":`Leyendo agentes`,"Reading skills":`Leyendo habilidades`,"Reading connectors":`Leyendo conectores`,"Reading design system":`Leyendo el sistema de diseño`,"Reading plugins":`Leyendo complementos`,"Adaptive reasoning based on task complexity":`Razonamiento adaptativo según la complejidad de la tarea`,"Answers right away, without thinking":`Responde al instante, sin pensar`,"A quick pass with minimal thinking":`Una pasada rápida, con poco razonamiento`,"Thinks before answering":`Piensa antes de responder`,"Deep reasoning for complex problems":`Razonamiento profundo para problemas complejos`,"Maximum compute and exhaustive verification":`Cómputo máximo y verificación exhaustiva`,Effort:`Esfuerzo`,"Effort: {level}":`Esfuerzo: {level}`,Mode:`Modo`,"Mode: {mode}":`Modo: {mode}`,Model:`Modelo`,"Model: {name}":`Modelo: {name}`,"Voice mode":`Modo de voz`,"Hanzo is speaking — talk to interrupt":`Hanzo está hablando — habla para interrumpir`,"In conversation — click to hang up":`En conversación — haz clic para colgar`,"Go to testimonial {n}":`Ir al testimonio {n}`,"Go to card {n}":`Ir a la tarjeta {n}`,"{n} of {total}":`{n} de {total}`,"Reading…":`Leyendo…`,Skill:`Habilidad`,Plugin:`Complemento`},Nfe={Close:`Fermer`,"Close window":`Fermer la fenêtre`,"Minimize window":`Réduire la fenêtre`,"Restore window":`Restaurer la fenêtre`,"Maximize window":`Agrandir la fenêtre`,Resize:`Redimensionner`,"Select all":`Tout sélectionner`,"Select row":`Sélectionner la ligne`,"Previous month":`Mois précédent`,"Next month":`Mois suivant`,Dismiss:`Ignorer`,Breadcrumb:`Fil d’Ariane`,Cards:`Cartes`,"Copy code":`Copier le code`,Copied:`Copié`,"Copied!":`Copié !`,Copy:`Copier`,"Previous slide":`Diapositive précédente`,"Next slide":`Diapositive suivante`,"Previous card":`Carte précédente`,"Next card":`Carte suivante`,"Zoom out":`Zoom arrière`,"Zoom in":`Zoom avant`,Rotate:`Pivoter`,Filter:`Filtrer`,"Expand all":`Tout développer`,"Collapse all":`Tout réduire`,"Search...":`Rechercher...`,"Pick a date":`Choisir une date`,Select:`Sélectionner`,"Start typing...":`Commencez à écrire...`,Search:`Rechercher`,Decrease:`Diminuer`,Increase:`Augmenter`,pagination:`pagination`,"Go to previous page":`Aller à la page précédente`,"Go to next page":`Aller à la page suivante`,Previous:`Précédent`,Next:`Suivant`,"More pages":`Plus de pages`,Remove:`Retirer`,"Go back":`Retour`,"Go forward":`Avancer`,"Reload page":`Recharger la page`,Share:`Partager`,"New tab":`Nouvel onglet`,Menu:`Menu`,"Copy command":`Copier la commande`,"Terminal input":`Saisie du terminal`,Seek:`Position de lecture`,"Rewind 10 seconds":`Reculer de 10 secondes`,"Forward 10 seconds":`Avancer de 10 secondes`,Volume:`Volume`,"Toggle captions":`Afficher ou masquer les sous-titres`,"Playback speed":`Vitesse de lecture`,Quality:`Qualité`,"Picture in picture":`Image dans l’image`,Play:`Lecture`,Pause:`Pause`,Mute:`Couper le son`,Unmute:`Réactiver le son`,"Exit fullscreen":`Quitter le plein écran`,"Enter fullscreen":`Plein écran`,Expand:`Développer`,Collapse:`Réduire`,"Copy reply":`Copier la réponse`,"Good result":`Bon résultat`,"Bad result":`Mauvais résultat`,"Dialog Close":`Fermer la boîte de dialogue`,Notifications:`Notifications`,Account:`Compte`,Cart:`Panier`,Call:`Appel`,"Video call":`Appel vidéo`,Message:`Message`,Main:`Principal`,Columns:`Colonnes`,"No results.":`Aucun résultat.`,"No results":`Aucun résultat`,"No results found":`Aucun résultat trouvé`,"Drop files here":`Déposez les fichiers ici`,"Drag & drop files here":`Glissez-déposez des fichiers ici`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`ou cliquez pour parcourir ({maxFiles} fichiers max., {maxSize} Mo chacun)`,"Remove {name}":`Retirer {name}`,"{selected} of {total} row(s) selected.":`{selected} sur {total} ligne(s) sélectionnée(s).`,"Try again":`Réessayer`,"What’s up next?":`Et ensuite ?`,"Show password":`Afficher le mot de passe`,"Hide password":`Masquer le mot de passe`,"Search icons":`Rechercher des icônes`,"No icon matches":`Aucune icône ne correspond`,"Show all items ({n})":`Tout afficher ({n})`,"Fewer {what}":`Moins de {what}`,"More {what}":`Plus de {what}`,"No tasks available. Add tasks to display Gantt chart.":`Aucune tâche. Ajoutez-en pour afficher le diagramme de Gantt.`,January:`janvier`,February:`février`,March:`mars`,April:`avril`,May:`mai`,June:`juin`,July:`juillet`,August:`août`,September:`septembre`,October:`octobre`,November:`novembre`,December:`décembre`,Su:`di`,Mo:`lu`,Tu:`ma`,We:`me`,Th:`je`,Fr:`ve`,Sa:`sa`,"just now":`à l’instant`,"in a moment":`dans un instant`,"in 1 minute":`dans 1 minute`,"in {n} minutes":`dans {n} minutes`,"in 1 hour":`dans 1 heure`,"in {n} hours":`dans {n} heures`,tomorrow:`demain`,"in {n} days":`dans {n} jours`,"in 1 week":`dans 1 semaine`,"in {n} weeks":`dans {n} semaines`,"in 1 month":`dans 1 mois`,"in {n} months":`dans {n} mois`,"in 1 year":`dans 1 an`,"in {n} years":`dans {n} ans`,"1 minute ago":`il y a 1 minute`,"{n} minutes ago":`il y a {n} minutes`,"1 hour ago":`il y a 1 heure`,"{n} hours ago":`il y a {n} heures`,"1 day ago":`il y a 1 jour`,"{n} days ago":`il y a {n} jours`,"1 week ago":`il y a 1 semaine`,"{n} weeks ago":`il y a {n} semaines`,"1 month ago":`il y a 1 mois`,"{n} months ago":`il y a {n} mois`,"1 year ago":`il y a 1 an`,"{n} years ago":`il y a {n} ans`,"Cookie notice":`Avis sur les cookies`,"Cookie preferences":`Préférences de cookies`,"Close and use essential cookies only":`Fermer et n’utiliser que les cookies essentiels`,Back:`Retour`,"Log in":`Se connecter`,"Search Hanzo or ask AI":`Rechercher dans Hanzo ou demander à l’IA`,"Search models":`Rechercher des modèles`,"Search branches…":`Rechercher des branches…`,"Search repositories…":`Rechercher des dépôts…`,"Show options":`Afficher les options`,Retry:`Réessayer`,"Donut chart":`Graphique en anneau`,"Find an organization":`Trouver une organisation`,Organizations:`Organisations`,"Organization name":`Nom de l’organisation`,"Previous page":`Page précédente`,"Next page":`Page suivante`,"Continue with credits":`Continuer avec des crédits`,"Try Hanzo":`Essayer Hanzo`,"Terms & Policies":`Conditions et politiques`,"Who this is for":`À qui cela s’adresse`,"Bill yearly":`Facturation annuelle`,Apps:`Applications`,"Card actions":`Actions de la carte`,"Assign to...":`Attribuer à...`,"Search cards...":`Rechercher des cartes...`,"Clear search":`Effacer la recherche`,"Open files":`Fichiers ouverts`,"Close panel":`Fermer le panneau`,"Add an organization":`Ajouter une organisation`,"Keyboard Shortcuts":`Raccourcis clavier`,"Run a command":`Exécuter une commande`,"Type shell command...":`Saisissez une commande shell...`,"Attached to the next message":`Joint au prochain message`,"Channel Member Roster":`Membres du canal`,"Channel Collaborative Notes":`Notes collaboratives du canal`,"Code Diff Viewer":`Visionneuse de diff`,"Live Voice Call":`Appel vocal en direct`,"MCP Server Hub":`Hub des serveurs MCP`,"Multi-Agent Swarm Bar":`Barre d’essaim multi-agents`,"Write shared channel notes, meeting agenda, or AI summaries...":`Écrivez des notes partagées, l’ordre du jour ou des résumés de l’IA...`,"Help improve our AI models":`Aidez à améliorer nos modèles d’IA`,"Your name":`Votre nom`,"Your role":`Votre rôle`,"Country or region":`Pays ou région`,"Card details":`Coordonnées de la carte`,"Agree to recurring charges":`J’accepte les prélèvements récurrents`,"How you will use Hanzo":`Comment vous utiliserez Hanzo`,"Team size":`Taille de l’équipe`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`J’accepte les Conditions d’utilisation et la Politique d’usage acceptable et je confirme avoir au moins 18 ans.`,"Empty string":`Chaîne vide`,"Empty array":`Tableau vide`,"Empty object":`Objet vide`,"Copy {what}":`Copier {what}`,"Ask anything":`Demandez n’importe quoi`,Auto:`Auto`,Instant:`Instantané`,Low:`Faible`,Medium:`Moyen`,High:`Élevé`,Max:`Max`,Dictate:`Dicter`,"Dictating — click to stop":`Dictée en cours — cliquez pour arrêter`,"Dictation settings":`Réglages de la dictée`,Language:`Langue`,"No devices found":`Aucun appareil trouvé`,"Microphone {n}":`Microphone {n}`,"Nothing matches":`Aucun résultat`,Commands:`Commandes`,"Search commands…":`Rechercher des commandes…`,Agents:`Agents`,Skills:`Compétences`,Connectors:`Connecteurs`,"Design system":`Système de design`,Plugins:`Plugins`,Devices:`Appareils`,Memory:`Mémoire`,Research:`Recherche`,On:`Activé`,"Upload or add files":`Téléverser ou ajouter des fichiers`,"Add files, agents, skills and more":`Ajoutez des fichiers, des agents, des compétences et plus`,"No agents yet":`Pas encore d’agents`,"No skills yet":`Pas encore de compétences`,"No connectors yet":`Pas encore de connecteurs`,"No design system yet":`Pas encore de système de design`,"No plugins yet":`Pas encore de plugins`,"No devices yet":`Pas encore d’appareils`,"Search agents":`Rechercher des agents`,"Search skills":`Rechercher des compétences`,"Search connectors":`Rechercher des connecteurs`,"Search design system":`Rechercher dans le système de design`,"Search plugins":`Rechercher des plugins`,"Search devices":`Rechercher des appareils`,"Reading agents":`Lecture des agents`,"Reading skills":`Lecture des compétences`,"Reading connectors":`Lecture des connecteurs`,"Reading design system":`Lecture du système de design`,"Reading plugins":`Lecture des plugins`,"Adaptive reasoning based on task complexity":`Raisonnement adaptatif selon la complexité de la tâche`,"Answers right away, without thinking":`Répond immédiatement, sans réfléchir`,"A quick pass with minimal thinking":`Un passage rapide, avec peu de réflexion`,"Thinks before answering":`Réfléchit avant de répondre`,"Deep reasoning for complex problems":`Raisonnement approfondi pour les problèmes complexes`,"Maximum compute and exhaustive verification":`Calcul maximal et vérification exhaustive`,Effort:`Effort`,"Effort: {level}":`Effort : {level}`,Mode:`Mode`,"Mode: {mode}":`Mode : {mode}`,Model:`Modèle`,"Model: {name}":`Modèle : {name}`,"Voice mode":`Mode vocal`,"Hanzo is speaking — talk to interrupt":`Hanzo parle — parlez pour interrompre`,"In conversation — click to hang up":`En conversation — cliquez pour raccrocher`,"Go to testimonial {n}":`Aller au témoignage {n}`,"Go to card {n}":`Aller à la carte {n}`,"{n} of {total}":`{n} sur {total}`,"Reading…":`Lecture…`,Skill:`Compétence`,Plugin:`Plugin`},Pfe={Close:`बंद करें`,"Close window":`विंडो बंद करें`,"Minimize window":`विंडो छोटा करें`,"Restore window":`विंडो पुनर्स्थापित करें`,"Maximize window":`विंडो बड़ा करें`,Resize:`आकार बदलें`,"Select all":`सभी चुनें`,"Select row":`पंक्ति चुनें`,"Previous month":`पिछला महीना`,"Next month":`अगला महीना`,Dismiss:`खारिज करें`,Breadcrumb:`ब्रेडक्रम्ब`,Cards:`कार्ड`,"Copy code":`कोड कॉपी करें`,Copied:`कॉपी हो गया`,"Copied!":`कॉपी हो गया!`,Copy:`कॉपी करें`,"Previous slide":`पिछली स्लाइड`,"Next slide":`अगली स्लाइड`,"Previous card":`पिछला कार्ड`,"Next card":`अगला कार्ड`,"Zoom out":`ज़ूम आउट`,"Zoom in":`ज़ूम इन`,Rotate:`घुमाएँ`,Filter:`फ़िल्टर`,"Expand all":`सभी विस्तृत करें`,"Collapse all":`सभी समेटें`,"Search...":`खोजें...`,"Pick a date":`तारीख चुनें`,Select:`चुनें`,"Start typing...":`लिखना शुरू करें...`,Search:`खोजें`,Decrease:`घटाएँ`,Increase:`बढ़ाएँ`,pagination:`पृष्ठांकन`,"Go to previous page":`पिछले पृष्ठ पर जाएँ`,"Go to next page":`अगले पृष्ठ पर जाएँ`,Previous:`पिछला`,Next:`अगला`,"More pages":`और पृष्ठ`,Remove:`हटाएँ`,"Go back":`वापस जाएँ`,"Go forward":`आगे जाएँ`,"Reload page":`पृष्ठ पुनः लोड करें`,Share:`साझा करें`,"New tab":`नया टैब`,Menu:`मेनू`,"Copy command":`कमांड कॉपी करें`,"Terminal input":`टर्मिनल इनपुट`,Seek:`स्थिति`,"Rewind 10 seconds":`10 सेकंड पीछे`,"Forward 10 seconds":`10 सेकंड आगे`,Volume:`आवाज़`,"Toggle captions":`कैप्शन टॉगल करें`,"Playback speed":`प्लेबैक गति`,Quality:`गुणवत्ता`,"Picture in picture":`पिक्चर इन पिक्चर`,Play:`चलाएँ`,Pause:`रोकें`,Mute:`म्यूट`,Unmute:`अनम्यूट`,"Exit fullscreen":`पूर्ण स्क्रीन से बाहर`,"Enter fullscreen":`पूर्ण स्क्रीन`,Expand:`विस्तृत करें`,Collapse:`समेटें`,"Copy reply":`जवाब कॉपी करें`,"Good result":`अच्छा परिणाम`,"Bad result":`खराब परिणाम`,"Dialog Close":`संवाद बंद करें`,Notifications:`सूचनाएँ`,Account:`खाता`,Cart:`कार्ट`,Call:`कॉल`,"Video call":`वीडियो कॉल`,Message:`संदेश`,Main:`मुख्य`,Columns:`कॉलम`,"No results.":`कोई परिणाम नहीं।`,"No results":`कोई परिणाम नहीं`,"No results found":`कोई परिणाम नहीं मिला`,"Drop files here":`फ़ाइलें यहाँ छोड़ें`,"Drag & drop files here":`फ़ाइलें खींचकर यहाँ छोड़ें`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`या ब्राउज़ करने के लिए क्लिक करें (अधिकतम {maxFiles} फ़ाइलें, प्रत्येक {maxSize} MB)`,"Remove {name}":`{name} हटाएँ`,"{selected} of {total} row(s) selected.":`{total} में से {selected} पंक्तियाँ चुनी गईं।`,"Try again":`फिर कोशिश करें`,"What’s up next?":`आगे क्या है?`,"Show password":`पासवर्ड दिखाएँ`,"Hide password":`पासवर्ड छिपाएँ`,"Search icons":`आइकन खोजें`,"No icon matches":`कोई आइकन मेल नहीं खाता`,"Show all items ({n})":`सभी दिखाएँ ({n})`,"Fewer {what}":`कम {what}`,"More {what}":`अधिक {what}`,"No tasks available. Add tasks to display Gantt chart.":`कोई कार्य नहीं। गैंट चार्ट के लिए कार्य जोड़ें।`,January:`जनवरी`,February:`फ़रवरी`,March:`मार्च`,April:`अप्रैल`,May:`मई`,June:`जून`,July:`जुलाई`,August:`अगस्त`,September:`सितंबर`,October:`अक्टूबर`,November:`नवंबर`,December:`दिसंबर`,Su:`र`,Mo:`सो`,Tu:`मं`,We:`बु`,Th:`गु`,Fr:`शु`,Sa:`श`,"just now":`अभी`,"in a moment":`थोड़ी देर में`,"in 1 minute":`1 मिनट में`,"in {n} minutes":`{n} मिनट में`,"in 1 hour":`1 घंटे में`,"in {n} hours":`{n} घंटे में`,tomorrow:`कल`,"in {n} days":`{n} दिन में`,"in 1 week":`1 हफ़्ते में`,"in {n} weeks":`{n} हफ़्ते में`,"in 1 month":`1 महीने में`,"in {n} months":`{n} महीने में`,"in 1 year":`1 साल में`,"in {n} years":`{n} साल में`,"1 minute ago":`1 मिनट पहले`,"{n} minutes ago":`{n} मिनट पहले`,"1 hour ago":`1 घंटे पहले`,"{n} hours ago":`{n} घंटे पहले`,"1 day ago":`1 दिन पहले`,"{n} days ago":`{n} दिन पहले`,"1 week ago":`1 हफ़्ते पहले`,"{n} weeks ago":`{n} हफ़्ते पहले`,"1 month ago":`1 महीने पहले`,"{n} months ago":`{n} महीने पहले`,"1 year ago":`1 साल पहले`,"{n} years ago":`{n} साल पहले`,"Cookie notice":`कुकी सूचना`,"Cookie preferences":`कुकी प्राथमिकताएँ`,"Close and use essential cookies only":`बंद करें और केवल आवश्यक कुकीज़ का उपयोग करें`,Back:`वापस`,"Log in":`लॉग इन`,"Search Hanzo or ask AI":`Hanzo में खोजें या AI से पूछें`,"Search models":`मॉडल खोजें`,"Search branches…":`ब्रांच खोजें…`,"Search repositories…":`रिपॉज़िटरी खोजें…`,"Show options":`विकल्प दिखाएँ`,Retry:`फिर से कोशिश करें`,"Donut chart":`डोनट चार्ट`,"Find an organization":`संगठन खोजें`,Organizations:`संगठन`,"Organization name":`संगठन का नाम`,"Previous page":`पिछला पृष्ठ`,"Next page":`अगला पृष्ठ`,"Continue with credits":`क्रेडिट से जारी रखें`,"Try Hanzo":`Hanzo आज़माएँ`,"Terms & Policies":`नियम और नीतियाँ`,"Who this is for":`यह किसके लिए है`,"Bill yearly":`वार्षिक बिल`,Apps:`ऐप्स`,"Card actions":`कार्ड क्रियाएँ`,"Assign to...":`इसे असाइन करें...`,"Search cards...":`कार्ड खोजें...`,"Clear search":`खोज साफ़ करें`,"Open files":`खुली फ़ाइलें`,"Close panel":`पैनल बंद करें`,"Add an organization":`संगठन जोड़ें`,"Keyboard Shortcuts":`कीबोर्ड शॉर्टकट`,"Run a command":`कमांड चलाएँ`,"Type shell command...":`शेल कमांड लिखें...`,"Attached to the next message":`अगले संदेश से जुड़ा`,"Channel Member Roster":`चैनल सदस्य`,"Channel Collaborative Notes":`चैनल के साझा नोट`,"Code Diff Viewer":`कोड डिफ़ व्यूअर`,"Live Voice Call":`लाइव वॉइस कॉल`,"MCP Server Hub":`MCP सर्वर हब`,"Multi-Agent Swarm Bar":`मल्टी-एजेंट स्वार्म बार`,"Write shared channel notes, meeting agenda, or AI summaries...":`चैनल नोट, एजेंडा या AI सार लिखें...`,"Help improve our AI models":`हमारे AI मॉडल बेहतर बनाने में मदद करें`,"Your name":`आपका नाम`,"Your role":`आपकी भूमिका`,"Country or region":`देश या क्षेत्र`,"Card details":`कार्ड विवरण`,"Agree to recurring charges":`आवर्ती शुल्क से सहमत हूँ`,"How you will use Hanzo":`आप Hanzo का उपयोग कैसे करेंगे`,"Team size":`टीम का आकार`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`मैं सेवा की शर्तों और स्वीकार्य उपयोग नीति से सहमत हूँ और पुष्टि करता हूँ कि मेरी आयु कम से कम 18 वर्ष है।`,"Empty string":`खाली स्ट्रिंग`,"Empty array":`खाली ऐरे`,"Empty object":`खाली ऑब्जेक्ट`,"Copy {what}":`{what} कॉपी करें`,"Ask anything":`कुछ भी पूछें`,Auto:`ऑटो`,Instant:`तुरंत`,Low:`कम`,Medium:`मध्यम`,High:`उच्च`,Max:`अधिकतम`,Dictate:`डिक्टेट`,"Dictating — click to stop":`डिक्टेशन चालू है — रोकने के लिए क्लिक करें`,"Dictation settings":`डिक्टेशन सेटिंग`,Language:`भाषा`,"No devices found":`कोई डिवाइस नहीं मिला`,"Microphone {n}":`माइक्रोफ़ोन {n}`,"Nothing matches":`कुछ मेल नहीं खाता`,Commands:`कमांड`,"Search commands…":`कमांड खोजें…`,Agents:`एजेंट`,Skills:`कौशल`,Connectors:`कनेक्टर`,"Design system":`डिज़ाइन सिस्टम`,Plugins:`प्लगइन`,Devices:`डिवाइस`,Memory:`मेमोरी`,Research:`रिसर्च`,On:`चालू`,"Upload or add files":`फ़ाइलें अपलोड या जोड़ें`,"Add files, agents, skills and more":`फ़ाइलें, एजेंट, कौशल और अधिक जोड़ें`,"No agents yet":`अभी कोई एजेंट नहीं`,"No skills yet":`अभी कोई कौशल नहीं`,"No connectors yet":`अभी कोई कनेक्टर नहीं`,"No design system yet":`अभी कोई डिज़ाइन सिस्टम नहीं`,"No plugins yet":`अभी कोई प्लगइन नहीं`,"No devices yet":`अभी कोई डिवाइस नहीं`,"Search agents":`एजेंट खोजें`,"Search skills":`कौशल खोजें`,"Search connectors":`कनेक्टर खोजें`,"Search design system":`डिज़ाइन सिस्टम खोजें`,"Search plugins":`प्लगइन खोजें`,"Search devices":`डिवाइस खोजें`,"Reading agents":`एजेंट पढ़े जा रहे हैं`,"Reading skills":`कौशल पढ़े जा रहे हैं`,"Reading connectors":`कनेक्टर पढ़े जा रहे हैं`,"Reading design system":`डिज़ाइन सिस्टम पढ़ा जा रहा है`,"Reading plugins":`प्लगइन पढ़े जा रहे हैं`,"Adaptive reasoning based on task complexity":`कार्य की जटिलता के अनुसार अनुकूल तर्क`,"Answers right away, without thinking":`बिना सोचे तुरंत जवाब देता है`,"A quick pass with minimal thinking":`कम सोच के साथ एक त्वरित पास`,"Thinks before answering":`जवाब से पहले सोचता है`,"Deep reasoning for complex problems":`जटिल समस्याओं के लिए गहरा तर्क`,"Maximum compute and exhaustive verification":`अधिकतम कंप्यूट और पूरी जाँच`,Effort:`प्रयास`,"Effort: {level}":`प्रयास: {level}`,Mode:`मोड`,"Mode: {mode}":`मोड: {mode}`,Model:`मॉडल`,"Model: {name}":`मॉडल: {name}`,"Voice mode":`वॉइस मोड`,"Hanzo is speaking — talk to interrupt":`Hanzo बोल रहा है — बीच में बोलें`,"In conversation — click to hang up":`बातचीत में — काटने के लिए क्लिक करें`,"Go to testimonial {n}":`प्रशंसापत्र {n} पर जाएँ`,"Go to card {n}":`कार्ड {n} पर जाएँ`,"{n} of {total}":`{n} / {total}`,"Reading…":`पढ़ा जा रहा है…`,Skill:`कौशल`,Plugin:`प्लगइन`},Ffe={Close:`Tutup`,"Close window":`Tutup jendela`,"Minimize window":`Minimalkan jendela`,"Restore window":`Pulihkan jendela`,"Maximize window":`Maksimalkan jendela`,Resize:`Ubah ukuran`,"Select all":`Pilih semua`,"Select row":`Pilih baris`,"Previous month":`Bulan sebelumnya`,"Next month":`Bulan berikutnya`,Dismiss:`Tutup`,Breadcrumb:`Jejak navigasi`,Cards:`Kartu`,"Copy code":`Salin kode`,Copied:`Disalin`,"Copied!":`Disalin!`,Copy:`Salin`,"Previous slide":`Slide sebelumnya`,"Next slide":`Slide berikutnya`,"Previous card":`Kartu sebelumnya`,"Next card":`Kartu berikutnya`,"Zoom out":`Perkecil`,"Zoom in":`Perbesar`,Rotate:`Putar`,Filter:`Filter`,"Expand all":`Bentangkan semua`,"Collapse all":`Ciutkan semua`,"Search...":`Cari...`,"Pick a date":`Pilih tanggal`,Select:`Pilih`,"Start typing...":`Mulai mengetik...`,Search:`Cari`,Decrease:`Kurangi`,Increase:`Tambah`,pagination:`paginasi`,"Go to previous page":`Ke halaman sebelumnya`,"Go to next page":`Ke halaman berikutnya`,Previous:`Sebelumnya`,Next:`Berikutnya`,"More pages":`Halaman lainnya`,Remove:`Hapus`,"Go back":`Kembali`,"Go forward":`Maju`,"Reload page":`Muat ulang halaman`,Share:`Bagikan`,"New tab":`Tab baru`,Menu:`Menu`,"Copy command":`Salin perintah`,"Terminal input":`Masukan terminal`,Seek:`Geser`,"Rewind 10 seconds":`Mundur 10 detik`,"Forward 10 seconds":`Maju 10 detik`,Volume:`Volume`,"Toggle captions":`Alihkan takarir`,"Playback speed":`Kecepatan pemutaran`,Quality:`Kualitas`,"Picture in picture":`Gambar dalam gambar`,Play:`Putar`,Pause:`Jeda`,Mute:`Bisukan`,Unmute:`Nyalakan suara`,"Exit fullscreen":`Keluar dari layar penuh`,"Enter fullscreen":`Layar penuh`,Expand:`Bentangkan`,Collapse:`Ciutkan`,"Copy reply":`Salin balasan`,"Good result":`Hasil baik`,"Bad result":`Hasil buruk`,"Dialog Close":`Tutup dialog`,Notifications:`Notifikasi`,Account:`Akun`,Cart:`Keranjang`,Call:`Panggilan`,"Video call":`Panggilan video`,Message:`Pesan`,Main:`Utama`,Columns:`Kolom`,"No results.":`Tidak ada hasil.`,"No results":`Tidak ada hasil`,"No results found":`Tidak ada hasil yang ditemukan`,"Drop files here":`Letakkan file di sini`,"Drag & drop files here":`Seret dan lepas file di sini`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`atau klik untuk menelusuri (maks. {maxFiles} file, masing-masing {maxSize} MB)`,"Remove {name}":`Hapus {name}`,"{selected} of {total} row(s) selected.":`{selected} dari {total} baris dipilih.`,"Try again":`Coba lagi`,"What’s up next?":`Selanjutnya apa?`,"Show password":`Tampilkan kata sandi`,"Hide password":`Sembunyikan kata sandi`,"Search icons":`Cari ikon`,"No icon matches":`Tidak ada ikon yang cocok`,"Show all items ({n})":`Tampilkan semua ({n})`,"Fewer {what}":`Lebih sedikit {what}`,"More {what}":`Lebih banyak {what}`,"No tasks available. Add tasks to display Gantt chart.":`Tidak ada tugas. Tambahkan tugas untuk menampilkan bagan Gantt.`,January:`Januari`,February:`Februari`,March:`Maret`,April:`April`,May:`Mei`,June:`Juni`,July:`Juli`,August:`Agustus`,September:`September`,October:`Oktober`,November:`November`,December:`Desember`,Su:`Mg`,Mo:`Sn`,Tu:`Sl`,We:`Rb`,Th:`Km`,Fr:`Jm`,Sa:`Sb`,"just now":`baru saja`,"in a moment":`sebentar lagi`,"in 1 minute":`dalam 1 menit`,"in {n} minutes":`dalam {n} menit`,"in 1 hour":`dalam 1 jam`,"in {n} hours":`dalam {n} jam`,tomorrow:`besok`,"in {n} days":`dalam {n} hari`,"in 1 week":`dalam 1 minggu`,"in {n} weeks":`dalam {n} minggu`,"in 1 month":`dalam 1 bulan`,"in {n} months":`dalam {n} bulan`,"in 1 year":`dalam 1 tahun`,"in {n} years":`dalam {n} tahun`,"1 minute ago":`1 menit yang lalu`,"{n} minutes ago":`{n} menit yang lalu`,"1 hour ago":`1 jam yang lalu`,"{n} hours ago":`{n} jam yang lalu`,"1 day ago":`1 hari yang lalu`,"{n} days ago":`{n} hari yang lalu`,"1 week ago":`1 minggu yang lalu`,"{n} weeks ago":`{n} minggu yang lalu`,"1 month ago":`1 bulan yang lalu`,"{n} months ago":`{n} bulan yang lalu`,"1 year ago":`1 tahun yang lalu`,"{n} years ago":`{n} tahun yang lalu`,"Cookie notice":`Pemberitahuan cookie`,"Cookie preferences":`Preferensi cookie`,"Close and use essential cookies only":`Tutup dan gunakan cookie penting saja`,Back:`Kembali`,"Log in":`Masuk`,"Search Hanzo or ask AI":`Cari di Hanzo atau tanya AI`,"Search models":`Cari model`,"Search branches…":`Cari cabang…`,"Search repositories…":`Cari repositori…`,"Show options":`Tampilkan opsi`,Retry:`Coba lagi`,"Donut chart":`Diagram donat`,"Find an organization":`Cari organisasi`,Organizations:`Organisasi`,"Organization name":`Nama organisasi`,"Previous page":`Halaman sebelumnya`,"Next page":`Halaman berikutnya`,"Continue with credits":`Lanjutkan dengan kredit`,"Try Hanzo":`Coba Hanzo`,"Terms & Policies":`Syarat dan kebijakan`,"Who this is for":`Untuk siapa`,"Bill yearly":`Tagihan tahunan`,Apps:`Aplikasi`,"Card actions":`Tindakan kartu`,"Assign to...":`Tetapkan ke...`,"Search cards...":`Cari kartu...`,"Clear search":`Hapus pencarian`,"Open files":`File terbuka`,"Close panel":`Tutup panel`,"Add an organization":`Tambah organisasi`,"Keyboard Shortcuts":`Pintasan keyboard`,"Run a command":`Jalankan perintah`,"Type shell command...":`Ketik perintah shell...`,"Attached to the next message":`Dilampirkan ke pesan berikutnya`,"Channel Member Roster":`Anggota kanal`,"Channel Collaborative Notes":`Catatan kolaboratif kanal`,"Code Diff Viewer":`Penampil diff kode`,"Live Voice Call":`Panggilan suara langsung`,"MCP Server Hub":`Hub server MCP`,"Multi-Agent Swarm Bar":`Bilah kawanan agen`,"Write shared channel notes, meeting agenda, or AI summaries...":`Tulis catatan kanal, agenda, atau ringkasan AI...`,"Help improve our AI models":`Bantu tingkatkan model AI kami`,"Your name":`Nama Anda`,"Your role":`Peran Anda`,"Country or region":`Negara atau wilayah`,"Card details":`Detail kartu`,"Agree to recurring charges":`Setuju dengan tagihan berulang`,"How you will use Hanzo":`Cara Anda memakai Hanzo`,"Team size":`Ukuran tim`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Saya menyetujui Ketentuan Layanan dan Kebijakan Penggunaan yang Dapat Diterima serta menyatakan berusia minimal 18 tahun.`,"Empty string":`String kosong`,"Empty array":`Array kosong`,"Empty object":`Objek kosong`,"Copy {what}":`Salin {what}`,"Ask anything":`Tanyakan apa saja`,Auto:`Otomatis`,Instant:`Instan`,Low:`Rendah`,Medium:`Sedang`,High:`Tinggi`,Max:`Maks`,Dictate:`Dikte`,"Dictating — click to stop":`Sedang mendikte — klik untuk berhenti`,"Dictation settings":`Pengaturan dikte`,Language:`Bahasa`,"No devices found":`Tidak ada perangkat`,"Microphone {n}":`Mikrofon {n}`,"Nothing matches":`Tidak ada yang cocok`,Commands:`Perintah`,"Search commands…":`Cari perintah…`,Agents:`Agen`,Skills:`Keterampilan`,Connectors:`Konektor`,"Design system":`Sistem desain`,Plugins:`Plugin`,Devices:`Perangkat`,Memory:`Memori`,Research:`Riset`,On:`Nyala`,"Upload or add files":`Unggah atau tambah file`,"Add files, agents, skills and more":`Tambah file, agen, keterampilan, dan lainnya`,"No agents yet":`Belum ada agen`,"No skills yet":`Belum ada keterampilan`,"No connectors yet":`Belum ada konektor`,"No design system yet":`Belum ada sistem desain`,"No plugins yet":`Belum ada plugin`,"No devices yet":`Belum ada perangkat`,"Search agents":`Cari agen`,"Search skills":`Cari keterampilan`,"Search connectors":`Cari konektor`,"Search design system":`Cari sistem desain`,"Search plugins":`Cari plugin`,"Search devices":`Cari perangkat`,"Reading agents":`Membaca agen`,"Reading skills":`Membaca keterampilan`,"Reading connectors":`Membaca konektor`,"Reading design system":`Membaca sistem desain`,"Reading plugins":`Membaca plugin`,"Adaptive reasoning based on task complexity":`Penalaran adaptif sesuai kompleksitas tugas`,"Answers right away, without thinking":`Langsung menjawab, tanpa berpikir`,"A quick pass with minimal thinking":`Lewatan cepat dengan sedikit penalaran`,"Thinks before answering":`Berpikir sebelum menjawab`,"Deep reasoning for complex problems":`Penalaran mendalam untuk masalah kompleks`,"Maximum compute and exhaustive verification":`Komputasi maksimum dan verifikasi menyeluruh`,Effort:`Upaya`,"Effort: {level}":`Upaya: {level}`,Mode:`Mode`,"Mode: {mode}":`Mode: {mode}`,Model:`Model`,"Model: {name}":`Model: {name}`,"Voice mode":`Mode suara`,"Hanzo is speaking — talk to interrupt":`Hanzo sedang berbicara — bicara untuk menyela`,"In conversation — click to hang up":`Sedang berbicara — klik untuk menutup`,"Go to testimonial {n}":`Ke testimoni {n}`,"Go to card {n}":`Ke kartu {n}`,"{n} of {total}":`{n} dari {total}`,"Reading…":`Membaca…`,Skill:`Keterampilan`,Plugin:`Plugin`},Ife={Close:`Chiudi`,"Close window":`Chiudi finestra`,"Minimize window":`Riduci a icona`,"Restore window":`Ripristina finestra`,"Maximize window":`Ingrandisci finestra`,Resize:`Ridimensiona`,"Select all":`Seleziona tutto`,"Select row":`Seleziona riga`,"Previous month":`Mese precedente`,"Next month":`Mese successivo`,Dismiss:`Chiudi`,Breadcrumb:`Percorso di navigazione`,Cards:`Schede`,"Copy code":`Copia codice`,Copied:`Copiato`,"Copied!":`Copiato!`,Copy:`Copia`,"Previous slide":`Diapositiva precedente`,"Next slide":`Diapositiva successiva`,"Previous card":`Scheda precedente`,"Next card":`Scheda successiva`,"Zoom out":`Riduci zoom`,"Zoom in":`Aumenta zoom`,Rotate:`Ruota`,Filter:`Filtra`,"Expand all":`Espandi tutto`,"Collapse all":`Comprimi tutto`,"Search...":`Cerca...`,"Pick a date":`Scegli una data`,Select:`Seleziona`,"Start typing...":`Inizia a scrivere...`,Search:`Cerca`,Decrease:`Diminuisci`,Increase:`Aumenta`,pagination:`paginazione`,"Go to previous page":`Vai alla pagina precedente`,"Go to next page":`Vai alla pagina successiva`,Previous:`Precedente`,Next:`Successivo`,"More pages":`Altre pagine`,Remove:`Rimuovi`,"Go back":`Indietro`,"Go forward":`Avanti`,"Reload page":`Ricarica pagina`,Share:`Condividi`,"New tab":`Nuova scheda`,Menu:`Menu`,"Copy command":`Copia comando`,"Terminal input":`Input del terminale`,Seek:`Posizione`,"Rewind 10 seconds":`Indietro di 10 secondi`,"Forward 10 seconds":`Avanti di 10 secondi`,Volume:`Volume`,"Toggle captions":`Attiva o disattiva i sottotitoli`,"Playback speed":`Velocità di riproduzione`,Quality:`Qualità`,"Picture in picture":`Picture in picture`,Play:`Riproduci`,Pause:`Pausa`,Mute:`Disattiva audio`,Unmute:`Attiva audio`,"Exit fullscreen":`Esci da schermo intero`,"Enter fullscreen":`Schermo intero`,Expand:`Espandi`,Collapse:`Comprimi`,"Copy reply":`Copia risposta`,"Good result":`Buon risultato`,"Bad result":`Risultato scarso`,"Dialog Close":`Chiudi finestra di dialogo`,Notifications:`Notifiche`,Account:`Account`,Cart:`Carrello`,Call:`Chiamata`,"Video call":`Videochiamata`,Message:`Messaggio`,Main:`Principale`,Columns:`Colonne`,"No results.":`Nessun risultato.`,"No results":`Nessun risultato`,"No results found":`Nessun risultato trovato`,"Drop files here":`Rilascia i file qui`,"Drag & drop files here":`Trascina i file qui`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`oppure fai clic per sfogliare (max {maxFiles} file, {maxSize} MB ciascuno)`,"Remove {name}":`Rimuovi {name}`,"{selected} of {total} row(s) selected.":`{selected} di {total} riga/righe selezionata/e.`,"Try again":`Riprova`,"What’s up next?":`Che cosa c’è dopo?`,"Show password":`Mostra password`,"Hide password":`Nascondi password`,"Search icons":`Cerca icone`,"No icon matches":`Nessuna icona corrisponde`,"Show all items ({n})":`Mostra tutti ({n})`,"Fewer {what}":`Meno {what}`,"More {what}":`Più {what}`,"No tasks available. Add tasks to display Gantt chart.":`Nessuna attività. Aggiungine per mostrare il diagramma di Gantt.`,January:`gennaio`,February:`febbraio`,March:`marzo`,April:`aprile`,May:`maggio`,June:`giugno`,July:`luglio`,August:`agosto`,September:`settembre`,October:`ottobre`,November:`novembre`,December:`dicembre`,Su:`do`,Mo:`lu`,Tu:`ma`,We:`me`,Th:`gi`,Fr:`ve`,Sa:`sa`,"just now":`proprio ora`,"in a moment":`tra un attimo`,"in 1 minute":`tra 1 minuto`,"in {n} minutes":`tra {n} minuti`,"in 1 hour":`tra 1 ora`,"in {n} hours":`tra {n} ore`,tomorrow:`domani`,"in {n} days":`tra {n} giorni`,"in 1 week":`tra 1 settimana`,"in {n} weeks":`tra {n} settimane`,"in 1 month":`tra 1 mese`,"in {n} months":`tra {n} mesi`,"in 1 year":`tra 1 anno`,"in {n} years":`tra {n} anni`,"1 minute ago":`1 minuto fa`,"{n} minutes ago":`{n} minuti fa`,"1 hour ago":`1 ora fa`,"{n} hours ago":`{n} ore fa`,"1 day ago":`1 giorno fa`,"{n} days ago":`{n} giorni fa`,"1 week ago":`1 settimana fa`,"{n} weeks ago":`{n} settimane fa`,"1 month ago":`1 mese fa`,"{n} months ago":`{n} mesi fa`,"1 year ago":`1 anno fa`,"{n} years ago":`{n} anni fa`,"Cookie notice":`Avviso sui cookie`,"Cookie preferences":`Preferenze cookie`,"Close and use essential cookies only":`Chiudi e usa solo i cookie essenziali`,Back:`Indietro`,"Log in":`Accedi`,"Search Hanzo or ask AI":`Cerca in Hanzo o chiedi all’IA`,"Search models":`Cerca modelli`,"Search branches…":`Cerca branch…`,"Search repositories…":`Cerca repository…`,"Show options":`Mostra opzioni`,Retry:`Riprova`,"Donut chart":`Grafico ad anello`,"Find an organization":`Trova un’organizzazione`,Organizations:`Organizzazioni`,"Organization name":`Nome dell’organizzazione`,"Previous page":`Pagina precedente`,"Next page":`Pagina successiva`,"Continue with credits":`Continua con i crediti`,"Try Hanzo":`Prova Hanzo`,"Terms & Policies":`Termini e politiche`,"Who this is for":`A chi è rivolto`,"Bill yearly":`Fatturazione annuale`,Apps:`App`,"Card actions":`Azioni della scheda`,"Assign to...":`Assegna a...`,"Search cards...":`Cerca schede...`,"Clear search":`Cancella ricerca`,"Open files":`File aperti`,"Close panel":`Chiudi pannello`,"Add an organization":`Aggiungi un’organizzazione`,"Keyboard Shortcuts":`Scorciatoie da tastiera`,"Run a command":`Esegui un comando`,"Type shell command...":`Digita un comando shell...`,"Attached to the next message":`Allegato al prossimo messaggio`,"Channel Member Roster":`Membri del canale`,"Channel Collaborative Notes":`Note collaborative del canale`,"Code Diff Viewer":`Visualizzatore diff`,"Live Voice Call":`Chiamata vocale dal vivo`,"MCP Server Hub":`Hub dei server MCP`,"Multi-Agent Swarm Bar":`Barra dello sciame di agenti`,"Write shared channel notes, meeting agenda, or AI summaries...":`Scrivi note condivise, l’ordine del giorno o riassunti dell’IA...`,"Help improve our AI models":`Aiuta a migliorare i nostri modelli di IA`,"Your name":`Il tuo nome`,"Your role":`Il tuo ruolo`,"Country or region":`Paese o area`,"Card details":`Dati della carta`,"Agree to recurring charges":`Accetto gli addebiti ricorrenti`,"How you will use Hanzo":`Come userai Hanzo`,"Team size":`Dimensione del team`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Accetto i Termini di servizio e la Politica di utilizzo accettabile e confermo di avere almeno 18 anni.`,"Empty string":`Stringa vuota`,"Empty array":`Array vuoto`,"Empty object":`Oggetto vuoto`,"Copy {what}":`Copia {what}`,"Ask anything":`Chiedi qualsiasi cosa`,Auto:`Auto`,Instant:`Istantaneo`,Low:`Basso`,Medium:`Medio`,High:`Alto`,Max:`Massimo`,Dictate:`Detta`,"Dictating — click to stop":`Dettatura in corso — fai clic per fermare`,"Dictation settings":`Impostazioni di dettatura`,Language:`Lingua`,"No devices found":`Nessun dispositivo trovato`,"Microphone {n}":`Microfono {n}`,"Nothing matches":`Nessuna corrispondenza`,Commands:`Comandi`,"Search commands…":`Cerca comandi…`,Agents:`Agenti`,Skills:`Competenze`,Connectors:`Connettori`,"Design system":`Sistema di design`,Plugins:`Plugin`,Devices:`Dispositivi`,Memory:`Memoria`,Research:`Ricerca`,On:`Attivo`,"Upload or add files":`Carica o aggiungi file`,"Add files, agents, skills and more":`Aggiungi file, agenti, competenze e altro`,"No agents yet":`Ancora nessun agente`,"No skills yet":`Ancora nessuna competenza`,"No connectors yet":`Ancora nessun connettore`,"No design system yet":`Ancora nessun sistema di design`,"No plugins yet":`Ancora nessun plugin`,"No devices yet":`Ancora nessun dispositivo`,"Search agents":`Cerca agenti`,"Search skills":`Cerca competenze`,"Search connectors":`Cerca connettori`,"Search design system":`Cerca nel sistema di design`,"Search plugins":`Cerca plugin`,"Search devices":`Cerca dispositivi`,"Reading agents":`Lettura degli agenti`,"Reading skills":`Lettura delle competenze`,"Reading connectors":`Lettura dei connettori`,"Reading design system":`Lettura del sistema di design`,"Reading plugins":`Lettura dei plugin`,"Adaptive reasoning based on task complexity":`Ragionamento adattivo in base alla complessità`,"Answers right away, without thinking":`Risponde subito, senza ragionare`,"A quick pass with minimal thinking":`Un passaggio rapido, con poco ragionamento`,"Thinks before answering":`Riflette prima di rispondere`,"Deep reasoning for complex problems":`Ragionamento profondo per problemi complessi`,"Maximum compute and exhaustive verification":`Calcolo massimo e verifica esaustiva`,Effort:`Sforzo`,"Effort: {level}":`Sforzo: {level}`,Mode:`Modalità`,"Mode: {mode}":`Modalità: {mode}`,Model:`Modello`,"Model: {name}":`Modello: {name}`,"Voice mode":`Modalità vocale`,"Hanzo is speaking — talk to interrupt":`Hanzo sta parlando — parla per interrompere`,"In conversation — click to hang up":`In conversazione — fai clic per riagganciare`,"Go to testimonial {n}":`Vai alla testimonianza {n}`,"Go to card {n}":`Vai alla scheda {n}`,"{n} of {total}":`{n} di {total}`,"Reading…":`Lettura…`,Skill:`Competenza`,Plugin:`Plugin`},Lfe={Close:`閉じる`,"Close window":`ウィンドウを閉じる`,"Minimize window":`ウィンドウを最小化`,"Restore window":`ウィンドウを元に戻す`,"Maximize window":`ウィンドウを最大化`,Resize:`サイズ変更`,"Select all":`すべて選択`,"Select row":`行を選択`,"Previous month":`前の月`,"Next month":`次の月`,Dismiss:`閉じる`,Breadcrumb:`パンくずリスト`,Cards:`カード`,"Copy code":`コードをコピー`,Copied:`コピーしました`,"Copied!":`コピーしました`,Copy:`コピー`,"Previous slide":`前のスライド`,"Next slide":`次のスライド`,"Previous card":`前のカード`,"Next card":`次のカード`,"Zoom out":`縮小`,"Zoom in":`拡大`,Rotate:`回転`,Filter:`絞り込み`,"Expand all":`すべて展開`,"Collapse all":`すべて折りたたむ`,"Search...":`検索...`,"Pick a date":`日付を選択`,Select:`選択`,"Start typing...":`入力を開始...`,Search:`検索`,Decrease:`減らす`,Increase:`増やす`,pagination:`ページネーション`,"Go to previous page":`前のページへ`,"Go to next page":`次のページへ`,Previous:`前へ`,Next:`次へ`,"More pages":`その他のページ`,Remove:`削除`,"Go back":`戻る`,"Go forward":`進む`,"Reload page":`ページを再読み込み`,Share:`共有`,"New tab":`新しいタブ`,Menu:`メニュー`,"Copy command":`コマンドをコピー`,"Terminal input":`ターミナル入力`,Seek:`シーク`,"Rewind 10 seconds":`10秒戻る`,"Forward 10 seconds":`10秒進む`,Volume:`音量`,"Toggle captions":`字幕の切り替え`,"Playback speed":`再生速度`,Quality:`画質`,"Picture in picture":`ピクチャーインピクチャー`,Play:`再生`,Pause:`一時停止`,Mute:`ミュート`,Unmute:`ミュート解除`,"Exit fullscreen":`全画面を終了`,"Enter fullscreen":`全画面`,Expand:`展開`,Collapse:`折りたたむ`,"Copy reply":`返信をコピー`,"Good result":`良い結果`,"Bad result":`悪い結果`,"Dialog Close":`ダイアログを閉じる`,Notifications:`通知`,Account:`アカウント`,Cart:`カート`,Call:`通話`,"Video call":`ビデオ通話`,Message:`メッセージ`,Main:`メイン`,Columns:`列`,"No results.":`結果がありません。`,"No results":`結果なし`,"No results found":`結果が見つかりません`,"Drop files here":`ファイルをここにドロップ`,"Drag & drop files here":`ファイルをドラッグ&ドロップ`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`またはクリックして参照(最大 {maxFiles} ファイル、各 {maxSize} MB)`,"Remove {name}":`{name} を削除`,"{selected} of {total} row(s) selected.":`{total} 行中 {selected} 行を選択`,"Try again":`もう一度試す`,"What’s up next?":`次は何?`,"Show password":`パスワードを表示`,"Hide password":`パスワードを隠す`,"Search icons":`アイコンを検索`,"No icon matches":`一致するアイコンがありません`,"Show all items ({n})":`すべて表示 ({n})`,"Fewer {what}":`{what}を減らす`,"More {what}":`{what}を増やす`,"No tasks available. Add tasks to display Gantt chart.":`タスクがありません。ガントチャートを表示するにはタスクを追加してください。`,January:`1月`,February:`2月`,March:`3月`,April:`4月`,May:`5月`,June:`6月`,July:`7月`,August:`8月`,September:`9月`,October:`10月`,November:`11月`,December:`12月`,Su:`日`,Mo:`月`,Tu:`火`,We:`水`,Th:`木`,Fr:`金`,Sa:`土`,"just now":`たった今`,"in a moment":`まもなく`,"in 1 minute":`1分後`,"in {n} minutes":`{n}分後`,"in 1 hour":`1時間後`,"in {n} hours":`{n}時間後`,tomorrow:`明日`,"in {n} days":`{n}日後`,"in 1 week":`1週間後`,"in {n} weeks":`{n}週間後`,"in 1 month":`1か月後`,"in {n} months":`{n}か月後`,"in 1 year":`1年後`,"in {n} years":`{n}年後`,"1 minute ago":`1分前`,"{n} minutes ago":`{n}分前`,"1 hour ago":`1時間前`,"{n} hours ago":`{n}時間前`,"1 day ago":`1日前`,"{n} days ago":`{n}日前`,"1 week ago":`1週間前`,"{n} weeks ago":`{n}週間前`,"1 month ago":`1か月前`,"{n} months ago":`{n}か月前`,"1 year ago":`1年前`,"{n} years ago":`{n}年前`,"Cookie notice":`Cookie の通知`,"Cookie preferences":`Cookie の設定`,"Close and use essential cookies only":`閉じて必須 Cookie のみ使う`,Back:`戻る`,"Log in":`ログイン`,"Search Hanzo or ask AI":`Hanzo を検索するか AI に聞く`,"Search models":`モデルを検索`,"Search branches…":`ブランチを検索…`,"Search repositories…":`リポジトリを検索…`,"Show options":`オプションを表示`,Retry:`再試行`,"Donut chart":`ドーナツグラフ`,"Find an organization":`組織を探す`,Organizations:`組織`,"Organization name":`組織名`,"Previous page":`前のページ`,"Next page":`次のページ`,"Continue with credits":`クレジットで続ける`,"Try Hanzo":`Hanzo を試す`,"Terms & Policies":`規約とポリシー`,"Who this is for":`対象`,"Bill yearly":`年払い`,Apps:`アプリ`,"Card actions":`カードの操作`,"Assign to...":`割り当て先...`,"Search cards...":`カードを検索...`,"Clear search":`検索をクリア`,"Open files":`開いているファイル`,"Close panel":`パネルを閉じる`,"Add an organization":`組織を追加`,"Keyboard Shortcuts":`キーボードショートカット`,"Run a command":`コマンドを実行`,"Type shell command...":`シェルコマンドを入力...`,"Attached to the next message":`次のメッセージに添付`,"Channel Member Roster":`チャンネルのメンバー`,"Channel Collaborative Notes":`チャンネルの共同メモ`,"Code Diff Viewer":`差分ビューア`,"Live Voice Call":`ライブ音声通話`,"MCP Server Hub":`MCP サーバーハブ`,"Multi-Agent Swarm Bar":`マルチエージェントの群れバー`,"Write shared channel notes, meeting agenda, or AI summaries...":`共有メモ、議題、AI の要約を書く...`,"Help improve our AI models":`AI モデルの改善に協力する`,"Your name":`お名前`,"Your role":`あなたの役割`,"Country or region":`国または地域`,"Card details":`カード情報`,"Agree to recurring charges":`継続課金に同意する`,"How you will use Hanzo":`Hanzo の使い方`,"Team size":`チームの規模`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`利用規約と許容される使用に関するポリシーに同意し、18歳以上であることを確認します。`,"Empty string":`空の文字列`,"Empty array":`空の配列`,"Empty object":`空のオブジェクト`,"Copy {what}":`{what}をコピー`,"Ask anything":`何でも聞いてください`,Auto:`自動`,Instant:`即答`,Low:`低`,Medium:`中`,High:`高`,Max:`最大`,Dictate:`音声入力`,"Dictating — click to stop":`音声入力中 — クリックで停止`,"Dictation settings":`音声入力の設定`,Language:`言語`,"No devices found":`デバイスが見つかりません`,"Microphone {n}":`マイク {n}`,"Nothing matches":`一致するものがありません`,Commands:`コマンド`,"Search commands…":`コマンドを検索…`,Agents:`エージェント`,Skills:`スキル`,Connectors:`コネクタ`,"Design system":`デザインシステム`,Plugins:`プラグイン`,Devices:`デバイス`,Memory:`メモリ`,Research:`リサーチ`,On:`オン`,"Upload or add files":`ファイルをアップロードまたは追加`,"Add files, agents, skills and more":`ファイル、エージェント、スキルなどを追加`,"No agents yet":`エージェントはまだありません`,"No skills yet":`スキルはまだありません`,"No connectors yet":`コネクタはまだありません`,"No design system yet":`デザインシステムはまだありません`,"No plugins yet":`プラグインはまだありません`,"No devices yet":`デバイスはまだありません`,"Search agents":`エージェントを検索`,"Search skills":`スキルを検索`,"Search connectors":`コネクタを検索`,"Search design system":`デザインシステムを検索`,"Search plugins":`プラグインを検索`,"Search devices":`デバイスを検索`,"Reading agents":`エージェントを読み込み中`,"Reading skills":`スキルを読み込み中`,"Reading connectors":`コネクタを読み込み中`,"Reading design system":`デザインシステムを読み込み中`,"Reading plugins":`プラグインを読み込み中`,"Adaptive reasoning based on task complexity":`タスクの複雑さに合わせた推論`,"Answers right away, without thinking":`考えずにすぐに答えます`,"A quick pass with minimal thinking":`最小限の思考による素早い処理`,"Thinks before answering":`答える前に考える`,"Deep reasoning for complex problems":`複雑な問題のための深い推論`,"Maximum compute and exhaustive verification":`最大の計算と徹底した検証`,Effort:`思考量`,"Effort: {level}":`思考量: {level}`,Mode:`モード`,"Mode: {mode}":`モード: {mode}`,Model:`モデル`,"Model: {name}":`モデル: {name}`,"Voice mode":`音声モード`,"Hanzo is speaking — talk to interrupt":`Hanzo が話しています — 話すと中断します`,"In conversation — click to hang up":`会話中 — クリックで終了`,"Go to testimonial {n}":`お客様の声 {n} へ`,"Go to card {n}":`カード {n} へ`,"{n} of {total}":`{n} / {total}`,"Reading…":`読み込み中…`,Skill:`スキル`,Plugin:`プラグイン`},Rfe={Close:`닫기`,"Close window":`창 닫기`,"Minimize window":`창 최소화`,"Restore window":`창 복원`,"Maximize window":`창 최대화`,Resize:`크기 조절`,"Select all":`모두 선택`,"Select row":`행 선택`,"Previous month":`이전 달`,"Next month":`다음 달`,Dismiss:`닫기`,Breadcrumb:`이동 경로`,Cards:`카드`,"Copy code":`코드 복사`,Copied:`복사됨`,"Copied!":`복사됨!`,Copy:`복사`,"Previous slide":`이전 슬라이드`,"Next slide":`다음 슬라이드`,"Previous card":`이전 카드`,"Next card":`다음 카드`,"Zoom out":`축소`,"Zoom in":`확대`,Rotate:`회전`,Filter:`필터`,"Expand all":`모두 펼치기`,"Collapse all":`모두 접기`,"Search...":`검색...`,"Pick a date":`날짜 선택`,Select:`선택`,"Start typing...":`입력 시작...`,Search:`검색`,Decrease:`줄이기`,Increase:`늘리기`,pagination:`페이지 매김`,"Go to previous page":`이전 페이지로`,"Go to next page":`다음 페이지로`,Previous:`이전`,Next:`다음`,"More pages":`페이지 더보기`,Remove:`제거`,"Go back":`뒤로`,"Go forward":`앞으로`,"Reload page":`페이지 새로고침`,Share:`공유`,"New tab":`새 탭`,Menu:`메뉴`,"Copy command":`명령 복사`,"Terminal input":`터미널 입력`,Seek:`탐색`,"Rewind 10 seconds":`10초 되감기`,"Forward 10 seconds":`10초 빨리감기`,Volume:`음량`,"Toggle captions":`자막 전환`,"Playback speed":`재생 속도`,Quality:`화질`,"Picture in picture":`화면 속 화면`,Play:`재생`,Pause:`일시정지`,Mute:`음소거`,Unmute:`음소거 해제`,"Exit fullscreen":`전체 화면 종료`,"Enter fullscreen":`전체 화면`,Expand:`펼치기`,Collapse:`접기`,"Copy reply":`답변 복사`,"Good result":`좋은 결과`,"Bad result":`나쁜 결과`,"Dialog Close":`대화상자 닫기`,Notifications:`알림`,Account:`계정`,Cart:`장바구니`,Call:`통화`,"Video call":`영상 통화`,Message:`메시지`,Main:`기본`,Columns:`열`,"No results.":`결과가 없습니다.`,"No results":`결과 없음`,"No results found":`결과를 찾을 수 없습니다`,"Drop files here":`파일을 여기에 놓으세요`,"Drag & drop files here":`파일을 끌어다 놓으세요`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`또는 클릭하여 찾아보기 (최대 {maxFiles}개 파일, 각 {maxSize}MB)`,"Remove {name}":`{name} 제거`,"{selected} of {total} row(s) selected.":`{total}개 중 {selected}개 행 선택됨`,"Try again":`다시 시도`,"What’s up next?":`다음은 무엇인가요?`,"Show password":`비밀번호 표시`,"Hide password":`비밀번호 숨기기`,"Search icons":`아이콘 검색`,"No icon matches":`일치하는 아이콘 없음`,"Show all items ({n})":`모두 보기 ({n})`,"Fewer {what}":`{what} 줄이기`,"More {what}":`{what} 늘리기`,"No tasks available. Add tasks to display Gantt chart.":`작업이 없습니다. 간트 차트를 보려면 작업을 추가하세요.`,January:`1월`,February:`2월`,March:`3월`,April:`4월`,May:`5월`,June:`6월`,July:`7월`,August:`8월`,September:`9월`,October:`10월`,November:`11월`,December:`12월`,Su:`일`,Mo:`월`,Tu:`화`,We:`수`,Th:`목`,Fr:`금`,Sa:`토`,"just now":`방금`,"in a moment":`곧`,"in 1 minute":`1분 후`,"in {n} minutes":`{n}분 후`,"in 1 hour":`1시간 후`,"in {n} hours":`{n}시간 후`,tomorrow:`내일`,"in {n} days":`{n}일 후`,"in 1 week":`1주 후`,"in {n} weeks":`{n}주 후`,"in 1 month":`1개월 후`,"in {n} months":`{n}개월 후`,"in 1 year":`1년 후`,"in {n} years":`{n}년 후`,"1 minute ago":`1분 전`,"{n} minutes ago":`{n}분 전`,"1 hour ago":`1시간 전`,"{n} hours ago":`{n}시간 전`,"1 day ago":`1일 전`,"{n} days ago":`{n}일 전`,"1 week ago":`1주 전`,"{n} weeks ago":`{n}주 전`,"1 month ago":`1개월 전`,"{n} months ago":`{n}개월 전`,"1 year ago":`1년 전`,"{n} years ago":`{n}년 전`,"Cookie notice":`쿠키 안내`,"Cookie preferences":`쿠키 설정`,"Close and use essential cookies only":`닫고 필수 쿠키만 사용`,Back:`뒤로`,"Log in":`로그인`,"Search Hanzo or ask AI":`Hanzo 검색 또는 AI에게 질문`,"Search models":`모델 검색`,"Search branches…":`브랜치 검색…`,"Search repositories…":`저장소 검색…`,"Show options":`옵션 표시`,Retry:`다시 시도`,"Donut chart":`도넛 차트`,"Find an organization":`조직 찾기`,Organizations:`조직`,"Organization name":`조직 이름`,"Previous page":`이전 페이지`,"Next page":`다음 페이지`,"Continue with credits":`크레딧으로 계속`,"Try Hanzo":`Hanzo 체험`,"Terms & Policies":`약관 및 정책`,"Who this is for":`대상`,"Bill yearly":`연간 결제`,Apps:`앱`,"Card actions":`카드 작업`,"Assign to...":`할당 대상...`,"Search cards...":`카드 검색...`,"Clear search":`검색어 지우기`,"Open files":`열린 파일`,"Close panel":`패널 닫기`,"Add an organization":`조직 추가`,"Keyboard Shortcuts":`키보드 단축키`,"Run a command":`명령 실행`,"Type shell command...":`셸 명령 입력...`,"Attached to the next message":`다음 메시지에 첨부됨`,"Channel Member Roster":`채널 구성원`,"Channel Collaborative Notes":`채널 공동 메모`,"Code Diff Viewer":`코드 차이 보기`,"Live Voice Call":`실시간 음성 통화`,"MCP Server Hub":`MCP 서버 허브`,"Multi-Agent Swarm Bar":`다중 에이전트 군집 막대`,"Write shared channel notes, meeting agenda, or AI summaries...":`공유 메모, 안건 또는 AI 요약을 작성...`,"Help improve our AI models":`AI 모델 개선에 참여`,"Your name":`이름`,"Your role":`역할`,"Country or region":`국가 또는 지역`,"Card details":`카드 정보`,"Agree to recurring charges":`정기 결제에 동의`,"How you will use Hanzo":`Hanzo 사용 방식`,"Team size":`팀 규모`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`서비스 약관과 허용 사용 정책에 동의하며 만 18세 이상임을 확인합니다.`,"Empty string":`빈 문자열`,"Empty array":`빈 배열`,"Empty object":`빈 객체`,"Copy {what}":`{what} 복사`,"Ask anything":`무엇이든 물어보세요`,Auto:`자동`,Instant:`즉시`,Low:`낮음`,Medium:`중간`,High:`높음`,Max:`최대`,Dictate:`받아쓰기`,"Dictating — click to stop":`받아쓰는 중 — 클릭하여 중지`,"Dictation settings":`받아쓰기 설정`,Language:`언어`,"No devices found":`기기를 찾을 수 없습니다`,"Microphone {n}":`마이크 {n}`,"Nothing matches":`일치하는 항목 없음`,Commands:`명령`,"Search commands…":`명령 검색…`,Agents:`에이전트`,Skills:`스킬`,Connectors:`커넥터`,"Design system":`디자인 시스템`,Plugins:`플러그인`,Devices:`기기`,Memory:`메모리`,Research:`리서치`,On:`켜짐`,"Upload or add files":`파일 업로드 또는 추가`,"Add files, agents, skills and more":`파일, 에이전트, 스킬 등 추가`,"No agents yet":`아직 에이전트가 없습니다`,"No skills yet":`아직 스킬이 없습니다`,"No connectors yet":`아직 커넥터가 없습니다`,"No design system yet":`아직 디자인 시스템이 없습니다`,"No plugins yet":`아직 플러그인이 없습니다`,"No devices yet":`아직 기기가 없습니다`,"Search agents":`에이전트 검색`,"Search skills":`스킬 검색`,"Search connectors":`커넥터 검색`,"Search design system":`디자인 시스템 검색`,"Search plugins":`플러그인 검색`,"Search devices":`기기 검색`,"Reading agents":`에이전트 읽는 중`,"Reading skills":`스킬 읽는 중`,"Reading connectors":`커넥터 읽는 중`,"Reading design system":`디자인 시스템 읽는 중`,"Reading plugins":`플러그인 읽는 중`,"Adaptive reasoning based on task complexity":`작업 복잡도에 맞춘 추론`,"Answers right away, without thinking":`생각하지 않고 바로 답합니다`,"A quick pass with minimal thinking":`최소한의 사고로 빠르게`,"Thinks before answering":`답하기 전에 생각`,"Deep reasoning for complex problems":`복잡한 문제를 위한 깊은 추론`,"Maximum compute and exhaustive verification":`최대 연산과 철저한 검증`,Effort:`노력`,"Effort: {level}":`노력: {level}`,Mode:`모드`,"Mode: {mode}":`모드: {mode}`,Model:`모델`,"Model: {name}":`모델: {name}`,"Voice mode":`음성 모드`,"Hanzo is speaking — talk to interrupt":`Hanzo가 말하는 중 — 말하면 중단`,"In conversation — click to hang up":`대화 중 — 클릭하여 종료`,"Go to testimonial {n}":`후기 {n}(으)로`,"Go to card {n}":`카드 {n}(으)로`,"{n} of {total}":`{n} / {total}`,"Reading…":`읽는 중…`,Skill:`스킬`,Plugin:`플러그인`},zfe={Close:`Fechar`,"Close window":`Fechar janela`,"Minimize window":`Minimizar janela`,"Restore window":`Restaurar janela`,"Maximize window":`Maximizar janela`,Resize:`Redimensionar`,"Select all":`Selecionar tudo`,"Select row":`Selecionar linha`,"Previous month":`Mês anterior`,"Next month":`Próximo mês`,Dismiss:`Dispensar`,Breadcrumb:`Trilha de navegação`,Cards:`Cartões`,"Copy code":`Copiar código`,Copied:`Copiado`,"Copied!":`Copiado!`,Copy:`Copiar`,"Previous slide":`Slide anterior`,"Next slide":`Próximo slide`,"Previous card":`Cartão anterior`,"Next card":`Próximo cartão`,"Zoom out":`Diminuir zoom`,"Zoom in":`Aumentar zoom`,Rotate:`Girar`,Filter:`Filtrar`,"Expand all":`Expandir tudo`,"Collapse all":`Recolher tudo`,"Search...":`Pesquisar...`,"Pick a date":`Escolha uma data`,Select:`Selecionar`,"Start typing...":`Comece a digitar...`,Search:`Pesquisar`,Decrease:`Diminuir`,Increase:`Aumentar`,pagination:`paginação`,"Go to previous page":`Ir para a página anterior`,"Go to next page":`Ir para a próxima página`,Previous:`Anterior`,Next:`Próximo`,"More pages":`Mais páginas`,Remove:`Remover`,"Go back":`Voltar`,"Go forward":`Avançar`,"Reload page":`Recarregar página`,Share:`Compartilhar`,"New tab":`Nova aba`,Menu:`Menu`,"Copy command":`Copiar comando`,"Terminal input":`Entrada do terminal`,Seek:`Posição`,"Rewind 10 seconds":`Retroceder 10 segundos`,"Forward 10 seconds":`Avançar 10 segundos`,Volume:`Volume`,"Toggle captions":`Alternar legendas`,"Playback speed":`Velocidade de reprodução`,Quality:`Qualidade`,"Picture in picture":`Picture in picture`,Play:`Reproduzir`,Pause:`Pausar`,Mute:`Silenciar`,Unmute:`Ativar som`,"Exit fullscreen":`Sair da tela cheia`,"Enter fullscreen":`Tela cheia`,Expand:`Expandir`,Collapse:`Recolher`,"Copy reply":`Copiar resposta`,"Good result":`Bom resultado`,"Bad result":`Resultado ruim`,"Dialog Close":`Fechar diálogo`,Notifications:`Notificações`,Account:`Conta`,Cart:`Carrinho`,Call:`Chamada`,"Video call":`Chamada de vídeo`,Message:`Mensagem`,Main:`Principal`,Columns:`Colunas`,"No results.":`Nenhum resultado.`,"No results":`Nenhum resultado`,"No results found":`Nenhum resultado encontrado`,"Drop files here":`Solte os arquivos aqui`,"Drag & drop files here":`Arraste e solte arquivos aqui`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`ou clique para procurar (máx. {maxFiles} arquivos, {maxSize} MB cada)`,"Remove {name}":`Remover {name}`,"{selected} of {total} row(s) selected.":`{selected} de {total} linha(s) selecionada(s).`,"Try again":`Tentar novamente`,"What’s up next?":`O que vem agora?`,"Show password":`Mostrar senha`,"Hide password":`Ocultar senha`,"Search icons":`Pesquisar ícones`,"No icon matches":`Nenhum ícone corresponde`,"Show all items ({n})":`Mostrar todos ({n})`,"Fewer {what}":`Menos {what}`,"More {what}":`Mais {what}`,"No tasks available. Add tasks to display Gantt chart.":`Nenhuma tarefa. Adicione tarefas para exibir o gráfico de Gantt.`,January:`janeiro`,February:`fevereiro`,March:`março`,April:`abril`,May:`maio`,June:`junho`,July:`julho`,August:`agosto`,September:`setembro`,October:`outubro`,November:`novembro`,December:`dezembro`,Su:`do`,Mo:`se`,Tu:`te`,We:`qa`,Th:`qi`,Fr:`sx`,Sa:`sá`,"just now":`agora mesmo`,"in a moment":`em instantes`,"in 1 minute":`em 1 minuto`,"in {n} minutes":`em {n} minutos`,"in 1 hour":`em 1 hora`,"in {n} hours":`em {n} horas`,tomorrow:`amanhã`,"in {n} days":`em {n} dias`,"in 1 week":`em 1 semana`,"in {n} weeks":`em {n} semanas`,"in 1 month":`em 1 mês`,"in {n} months":`em {n} meses`,"in 1 year":`em 1 ano`,"in {n} years":`em {n} anos`,"1 minute ago":`há 1 minuto`,"{n} minutes ago":`há {n} minutos`,"1 hour ago":`há 1 hora`,"{n} hours ago":`há {n} horas`,"1 day ago":`há 1 dia`,"{n} days ago":`há {n} dias`,"1 week ago":`há 1 semana`,"{n} weeks ago":`há {n} semanas`,"1 month ago":`há 1 mês`,"{n} months ago":`há {n} meses`,"1 year ago":`há 1 ano`,"{n} years ago":`há {n} anos`,"Cookie notice":`Aviso de cookies`,"Cookie preferences":`Preferências de cookies`,"Close and use essential cookies only":`Fechar e usar apenas cookies essenciais`,Back:`Voltar`,"Log in":`Entrar`,"Search Hanzo or ask AI":`Pesquise na Hanzo ou pergunte à IA`,"Search models":`Pesquisar modelos`,"Search branches…":`Pesquisar branches…`,"Search repositories…":`Pesquisar repositórios…`,"Show options":`Mostrar opções`,Retry:`Tentar novamente`,"Donut chart":`Gráfico de rosca`,"Find an organization":`Encontrar uma organização`,Organizations:`Organizações`,"Organization name":`Nome da organização`,"Previous page":`Página anterior`,"Next page":`Próxima página`,"Continue with credits":`Continuar com créditos`,"Try Hanzo":`Experimentar a Hanzo`,"Terms & Policies":`Termos e políticas`,"Who this is for":`Para quem é`,"Bill yearly":`Cobrança anual`,Apps:`Aplicativos`,"Card actions":`Ações do cartão`,"Assign to...":`Atribuir a...`,"Search cards...":`Pesquisar cartões...`,"Clear search":`Limpar pesquisa`,"Open files":`Arquivos abertos`,"Close panel":`Fechar painel`,"Add an organization":`Adicionar uma organização`,"Keyboard Shortcuts":`Atalhos de teclado`,"Run a command":`Executar um comando`,"Type shell command...":`Digite um comando de shell...`,"Attached to the next message":`Anexado à próxima mensagem`,"Channel Member Roster":`Membros do canal`,"Channel Collaborative Notes":`Notas colaborativas do canal`,"Code Diff Viewer":`Visualizador de diff`,"Live Voice Call":`Chamada de voz ao vivo`,"MCP Server Hub":`Hub de servidores MCP`,"Multi-Agent Swarm Bar":`Barra do enxame de agentes`,"Write shared channel notes, meeting agenda, or AI summaries...":`Escreva notas do canal, a pauta ou resumos da IA...`,"Help improve our AI models":`Ajude a melhorar nossos modelos de IA`,"Your name":`Seu nome`,"Your role":`Seu papel`,"Country or region":`País ou região`,"Card details":`Dados do cartão`,"Agree to recurring charges":`Concordo com cobranças recorrentes`,"How you will use Hanzo":`Como você usará a Hanzo`,"Team size":`Tamanho da equipe`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Concordo com os Termos de Serviço e a Política de Uso Aceitável e confirmo que tenho pelo menos 18 anos.`,"Empty string":`Texto vazio`,"Empty array":`Array vazio`,"Empty object":`Objeto vazio`,"Copy {what}":`Copiar {what}`,"Ask anything":`Pergunte qualquer coisa`,Auto:`Auto`,Instant:`Instantâneo`,Low:`Baixo`,Medium:`Médio`,High:`Alto`,Max:`Máximo`,Dictate:`Ditar`,"Dictating — click to stop":`Ditando — clique para parar`,"Dictation settings":`Configurações de ditado`,Language:`Idioma`,"No devices found":`Nenhum dispositivo encontrado`,"Microphone {n}":`Microfone {n}`,"Nothing matches":`Nada corresponde`,Commands:`Comandos`,"Search commands…":`Pesquisar comandos…`,Agents:`Agentes`,Skills:`Habilidades`,Connectors:`Conectores`,"Design system":`Sistema de design`,Plugins:`Plugins`,Devices:`Dispositivos`,Memory:`Memória`,Research:`Pesquisa`,On:`Ativado`,"Upload or add files":`Enviar ou adicionar arquivos`,"Add files, agents, skills and more":`Adicione arquivos, agentes, habilidades e mais`,"No agents yet":`Ainda não há agentes`,"No skills yet":`Ainda não há habilidades`,"No connectors yet":`Ainda não há conectores`,"No design system yet":`Ainda não há sistema de design`,"No plugins yet":`Ainda não há plugins`,"No devices yet":`Ainda não há dispositivos`,"Search agents":`Pesquisar agentes`,"Search skills":`Pesquisar habilidades`,"Search connectors":`Pesquisar conectores`,"Search design system":`Pesquisar no sistema de design`,"Search plugins":`Pesquisar plugins`,"Search devices":`Pesquisar dispositivos`,"Reading agents":`Lendo agentes`,"Reading skills":`Lendo habilidades`,"Reading connectors":`Lendo conectores`,"Reading design system":`Lendo o sistema de design`,"Reading plugins":`Lendo plugins`,"Adaptive reasoning based on task complexity":`Raciocínio adaptativo conforme a complexidade da tarefa`,"Answers right away, without thinking":`Responde na hora, sem pensar`,"A quick pass with minimal thinking":`Uma passada rápida, com pouco raciocínio`,"Thinks before answering":`Pensa antes de responder`,"Deep reasoning for complex problems":`Raciocínio profundo para problemas complexos`,"Maximum compute and exhaustive verification":`Computação máxima e verificação exaustiva`,Effort:`Esforço`,"Effort: {level}":`Esforço: {level}`,Mode:`Modo`,"Mode: {mode}":`Modo: {mode}`,Model:`Modelo`,"Model: {name}":`Modelo: {name}`,"Voice mode":`Modo de voz`,"Hanzo is speaking — talk to interrupt":`A Hanzo está falando — fale para interromper`,"In conversation — click to hang up":`Em conversa — clique para desligar`,"Go to testimonial {n}":`Ir para o depoimento {n}`,"Go to card {n}":`Ir para o cartão {n}`,"{n} of {total}":`{n} de {total}`,"Reading…":`Lendo…`,Skill:`Habilidade`,Plugin:`Plugin`},Bfe={Close:`Закрыть`,"Close window":`Закрыть окно`,"Minimize window":`Свернуть окно`,"Restore window":`Восстановить окно`,"Maximize window":`Развернуть окно`,Resize:`Изменить размер`,"Select all":`Выбрать все`,"Select row":`Выбрать строку`,"Previous month":`Предыдущий месяц`,"Next month":`Следующий месяц`,Dismiss:`Закрыть`,Breadcrumb:`Навигационная цепочка`,Cards:`Карточки`,"Copy code":`Копировать код`,Copied:`Скопировано`,"Copied!":`Скопировано!`,Copy:`Копировать`,"Previous slide":`Предыдущий слайд`,"Next slide":`Следующий слайд`,"Previous card":`Предыдущая карточка`,"Next card":`Следующая карточка`,"Zoom out":`Уменьшить`,"Zoom in":`Увеличить`,Rotate:`Повернуть`,Filter:`Фильтр`,"Expand all":`Развернуть все`,"Collapse all":`Свернуть все`,"Search...":`Поиск...`,"Pick a date":`Выберите дату`,Select:`Выбрать`,"Start typing...":`Начните вводить...`,Search:`Поиск`,Decrease:`Уменьшить`,Increase:`Увеличить`,pagination:`постраничная навигация`,"Go to previous page":`К предыдущей странице`,"Go to next page":`К следующей странице`,Previous:`Назад`,Next:`Далее`,"More pages":`Ещё страницы`,Remove:`Удалить`,"Go back":`Назад`,"Go forward":`Вперёд`,"Reload page":`Обновить страницу`,Share:`Поделиться`,"New tab":`Новая вкладка`,Menu:`Меню`,"Copy command":`Копировать команду`,"Terminal input":`Ввод в терминале`,Seek:`Позиция`,"Rewind 10 seconds":`Назад на 10 секунд`,"Forward 10 seconds":`Вперёд на 10 секунд`,Volume:`Громкость`,"Toggle captions":`Субтитры`,"Playback speed":`Скорость воспроизведения`,Quality:`Качество`,"Picture in picture":`Картинка в картинке`,Play:`Воспроизвести`,Pause:`Пауза`,Mute:`Выключить звук`,Unmute:`Включить звук`,"Exit fullscreen":`Выйти из полноэкранного режима`,"Enter fullscreen":`Полный экран`,Expand:`Развернуть`,Collapse:`Свернуть`,"Copy reply":`Копировать ответ`,"Good result":`Хороший результат`,"Bad result":`Плохой результат`,"Dialog Close":`Закрыть диалог`,Notifications:`Уведомления`,Account:`Аккаунт`,Cart:`Корзина`,Call:`Звонок`,"Video call":`Видеозвонок`,Message:`Сообщение`,Main:`Основное`,Columns:`Столбцы`,"No results.":`Ничего не найдено.`,"No results":`Ничего не найдено`,"No results found":`Ничего не найдено`,"Drop files here":`Перетащите файлы сюда`,"Drag & drop files here":`Перетащите файлы сюда`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`или нажмите, чтобы выбрать (не более {maxFiles} файлов, по {maxSize} МБ)`,"Remove {name}":`Удалить {name}`,"{selected} of {total} row(s) selected.":`Выбрано {selected} из {total}.`,"Try again":`Повторить`,"What’s up next?":`Что дальше?`,"Show password":`Показать пароль`,"Hide password":`Скрыть пароль`,"Search icons":`Поиск значков`,"No icon matches":`Нет подходящих значков`,"Show all items ({n})":`Показать все ({n})`,"Fewer {what}":`Меньше: {what}`,"More {what}":`Больше: {what}`,"No tasks available. Add tasks to display Gantt chart.":`Нет задач. Добавьте их, чтобы показать диаграмму Ганта.`,January:`январь`,February:`февраль`,March:`март`,April:`апрель`,May:`май`,June:`июнь`,July:`июль`,August:`август`,September:`сентябрь`,October:`октябрь`,November:`ноябрь`,December:`декабрь`,Su:`вс`,Mo:`пн`,Tu:`вт`,We:`ср`,Th:`чт`,Fr:`пт`,Sa:`сб`,"just now":`только что`,"in a moment":`через мгновение`,"in 1 minute":`через 1 минуту`,"in {n} minutes":`через {n} мин.`,"in 1 hour":`через 1 час`,"in {n} hours":`через {n} ч.`,tomorrow:`завтра`,"in {n} days":`через {n} дн.`,"in 1 week":`через 1 неделю`,"in {n} weeks":`через {n} нед.`,"in 1 month":`через 1 месяц`,"in {n} months":`через {n} мес.`,"in 1 year":`через 1 год`,"in {n} years":`через {n} г.`,"1 minute ago":`1 минуту назад`,"{n} minutes ago":`{n} мин. назад`,"1 hour ago":`1 час назад`,"{n} hours ago":`{n} ч. назад`,"1 day ago":`1 день назад`,"{n} days ago":`{n} дн. назад`,"1 week ago":`1 неделю назад`,"{n} weeks ago":`{n} нед. назад`,"1 month ago":`1 месяц назад`,"{n} months ago":`{n} мес. назад`,"1 year ago":`1 год назад`,"{n} years ago":`{n} г. назад`,"Cookie notice":`Уведомление о cookie`,"Cookie preferences":`Настройки cookie`,"Close and use essential cookies only":`Закрыть и оставить только необходимые cookie`,Back:`Назад`,"Log in":`Войти`,"Search Hanzo or ask AI":`Искать в Hanzo или спросить ИИ`,"Search models":`Поиск моделей`,"Search branches…":`Поиск веток…`,"Search repositories…":`Поиск репозиториев…`,"Show options":`Показать параметры`,Retry:`Повторить`,"Donut chart":`Кольцевая диаграмма`,"Find an organization":`Найти организацию`,Organizations:`Организации`,"Organization name":`Название организации`,"Previous page":`Предыдущая страница`,"Next page":`Следующая страница`,"Continue with credits":`Продолжить за счёт кредитов`,"Try Hanzo":`Попробовать Hanzo`,"Terms & Policies":`Условия и политики`,"Who this is for":`Для кого это`,"Bill yearly":`Оплата за год`,Apps:`Приложения`,"Card actions":`Действия с карточкой`,"Assign to...":`Назначить...`,"Search cards...":`Поиск карточек...`,"Clear search":`Очистить поиск`,"Open files":`Открытые файлы`,"Close panel":`Закрыть панель`,"Add an organization":`Добавить организацию`,"Keyboard Shortcuts":`Сочетания клавиш`,"Run a command":`Выполнить команду`,"Type shell command...":`Введите команду оболочки...`,"Attached to the next message":`Прикреплено к следующему сообщению`,"Channel Member Roster":`Участники канала`,"Channel Collaborative Notes":`Общие заметки канала`,"Code Diff Viewer":`Просмотр различий`,"Live Voice Call":`Голосовой звонок`,"MCP Server Hub":`Хаб серверов MCP`,"Multi-Agent Swarm Bar":`Панель роя агентов`,"Write shared channel notes, meeting agenda, or AI summaries...":`Пишите общие заметки, повестку или сводки ИИ...`,"Help improve our AI models":`Помогите улучшить наши модели ИИ`,"Your name":`Ваше имя`,"Your role":`Ваша роль`,"Country or region":`Страна или регион`,"Card details":`Данные карты`,"Agree to recurring charges":`Согласие на регулярные списания`,"How you will use Hanzo":`Как вы будете использовать Hanzo`,"Team size":`Размер команды`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Я принимаю Условия обслуживания и Политику допустимого использования и подтверждаю, что мне исполнилось 18 лет.`,"Empty string":`Пустая строка`,"Empty array":`Пустой массив`,"Empty object":`Пустой объект`,"Copy {what}":`Копировать {what}`,"Ask anything":`Спросите что угодно`,Auto:`Авто`,Instant:`Мгновенно`,Low:`Низкий`,Medium:`Средний`,High:`Высокий`,Max:`Максимум`,Dictate:`Диктовка`,"Dictating — click to stop":`Идёт диктовка — нажмите, чтобы остановить`,"Dictation settings":`Настройки диктовки`,Language:`Язык`,"No devices found":`Устройства не найдены`,"Microphone {n}":`Микрофон {n}`,"Nothing matches":`Ничего не найдено`,Commands:`Команды`,"Search commands…":`Поиск команд…`,Agents:`Агенты`,Skills:`Навыки`,Connectors:`Коннекторы`,"Design system":`Дизайн-система`,Plugins:`Плагины`,Devices:`Устройства`,Memory:`Память`,Research:`Исследование`,On:`Вкл.`,"Upload or add files":`Загрузить или добавить файлы`,"Add files, agents, skills and more":`Добавьте файлы, агентов, навыки и другое`,"No agents yet":`Агентов пока нет`,"No skills yet":`Навыков пока нет`,"No connectors yet":`Коннекторов пока нет`,"No design system yet":`Дизайн-системы пока нет`,"No plugins yet":`Плагинов пока нет`,"No devices yet":`Устройств пока нет`,"Search agents":`Поиск агентов`,"Search skills":`Поиск навыков`,"Search connectors":`Поиск коннекторов`,"Search design system":`Поиск в дизайн-системе`,"Search plugins":`Поиск плагинов`,"Search devices":`Поиск устройств`,"Reading agents":`Чтение агентов`,"Reading skills":`Чтение навыков`,"Reading connectors":`Чтение коннекторов`,"Reading design system":`Чтение дизайн-системы`,"Reading plugins":`Чтение плагинов`,"Adaptive reasoning based on task complexity":`Адаптивное рассуждение по сложности задачи`,"Answers right away, without thinking":`Отвечает сразу, без размышлений`,"A quick pass with minimal thinking":`Быстрый проход с минимумом размышлений`,"Thinks before answering":`Думает перед ответом`,"Deep reasoning for complex problems":`Глубокое рассуждение для сложных задач`,"Maximum compute and exhaustive verification":`Максимум вычислений и полная проверка`,Effort:`Усилие`,"Effort: {level}":`Усилие: {level}`,Mode:`Режим`,"Mode: {mode}":`Режим: {mode}`,Model:`Модель`,"Model: {name}":`Модель: {name}`,"Voice mode":`Голосовой режим`,"Hanzo is speaking — talk to interrupt":`Hanzo говорит — говорите, чтобы прервать`,"In conversation — click to hang up":`Разговор — нажмите, чтобы завершить`,"Go to testimonial {n}":`К отзыву {n}`,"Go to card {n}":`К карточке {n}`,"{n} of {total}":`{n} из {total}`,"Reading…":`Чтение…`,Skill:`Навык`,Plugin:`Плагин`},Vfe={Close:`ปิด`,"Close window":`ปิดหน้าต่าง`,"Minimize window":`ย่อหน้าต่าง`,"Restore window":`คืนค่าหน้าต่าง`,"Maximize window":`ขยายหน้าต่าง`,Resize:`ปรับขนาด`,"Select all":`เลือกทั้งหมด`,"Select row":`เลือกแถว`,"Previous month":`เดือนก่อน`,"Next month":`เดือนถัดไป`,Dismiss:`ปิด`,Breadcrumb:`เส้นทางนำทาง`,Cards:`การ์ด`,"Copy code":`คัดลอกโค้ด`,Copied:`คัดลอกแล้ว`,"Copied!":`คัดลอกแล้ว!`,Copy:`คัดลอก`,"Previous slide":`สไลด์ก่อนหน้า`,"Next slide":`สไลด์ถัดไป`,"Previous card":`การ์ดก่อนหน้า`,"Next card":`การ์ดถัดไป`,"Zoom out":`ซูมออก`,"Zoom in":`ซูมเข้า`,Rotate:`หมุน`,Filter:`กรอง`,"Expand all":`ขยายทั้งหมด`,"Collapse all":`ยุบทั้งหมด`,"Search...":`ค้นหา...`,"Pick a date":`เลือกวันที่`,Select:`เลือก`,"Start typing...":`เริ่มพิมพ์...`,Search:`ค้นหา`,Decrease:`ลด`,Increase:`เพิ่ม`,pagination:`การแบ่งหน้า`,"Go to previous page":`ไปหน้าก่อนหน้า`,"Go to next page":`ไปหน้าถัดไป`,Previous:`ก่อนหน้า`,Next:`ถัดไป`,"More pages":`หน้าเพิ่มเติม`,Remove:`นำออก`,"Go back":`ย้อนกลับ`,"Go forward":`ไปข้างหน้า`,"Reload page":`โหลดหน้าใหม่`,Share:`แชร์`,"New tab":`แท็บใหม่`,Menu:`เมนู`,"Copy command":`คัดลอกคำสั่ง`,"Terminal input":`ช่องพิมพ์เทอร์มินัล`,Seek:`เลื่อนตำแหน่ง`,"Rewind 10 seconds":`ย้อน 10 วินาที`,"Forward 10 seconds":`ไปข้างหน้า 10 วินาที`,Volume:`ระดับเสียง`,"Toggle captions":`เปิดหรือปิดคำบรรยาย`,"Playback speed":`ความเร็วเล่น`,Quality:`คุณภาพ`,"Picture in picture":`ภาพซ้อนภาพ`,Play:`เล่น`,Pause:`หยุดชั่วคราว`,Mute:`ปิดเสียง`,Unmute:`เปิดเสียง`,"Exit fullscreen":`ออกจากเต็มหน้าจอ`,"Enter fullscreen":`เต็มหน้าจอ`,Expand:`ขยาย`,Collapse:`ยุบ`,"Copy reply":`คัดลอกคำตอบ`,"Good result":`ผลลัพธ์ดี`,"Bad result":`ผลลัพธ์ไม่ดี`,"Dialog Close":`ปิดกล่องโต้ตอบ`,Notifications:`การแจ้งเตือน`,Account:`บัญชี`,Cart:`ตะกร้า`,Call:`โทร`,"Video call":`วิดีโอคอล`,Message:`ข้อความ`,Main:`หลัก`,Columns:`คอลัมน์`,"No results.":`ไม่มีผลลัพธ์`,"No results":`ไม่มีผลลัพธ์`,"No results found":`ไม่พบผลลัพธ์`,"Drop files here":`วางไฟล์ที่นี่`,"Drag & drop files here":`ลากแล้ววางไฟล์ที่นี่`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`หรือคลิกเพื่อเลือก (สูงสุด {maxFiles} ไฟล์ ไฟล์ละ {maxSize} MB)`,"Remove {name}":`นำ {name} ออก`,"{selected} of {total} row(s) selected.":`เลือกแล้ว {selected} จาก {total} แถว`,"Try again":`ลองอีกครั้ง`,"What’s up next?":`ต่อไปคืออะไร`,"Show password":`แสดงรหัสผ่าน`,"Hide password":`ซ่อนรหัสผ่าน`,"Search icons":`ค้นหาไอคอน`,"No icon matches":`ไม่มีไอคอนที่ตรงกัน`,"Show all items ({n})":`แสดงทั้งหมด ({n})`,"Fewer {what}":`ลด {what}`,"More {what}":`เพิ่ม {what}`,"No tasks available. Add tasks to display Gantt chart.":`ยังไม่มีงาน เพิ่มงานเพื่อแสดงแผนภูมิ Gantt`,January:`มกราคม`,February:`กุมภาพันธ์`,March:`มีนาคม`,April:`เมษายน`,May:`พฤษภาคม`,June:`มิถุนายน`,July:`กรกฎาคม`,August:`สิงหาคม`,September:`กันยายน`,October:`ตุลาคม`,November:`พฤศจิกายน`,December:`ธันวาคม`,Su:`อา`,Mo:`จ`,Tu:`อ`,We:`พ`,Th:`พฤ`,Fr:`ศ`,Sa:`ส`,"just now":`เมื่อสักครู่`,"in a moment":`อีกครู่`,"in 1 minute":`ใน 1 นาที`,"in {n} minutes":`ใน {n} นาที`,"in 1 hour":`ใน 1 ชั่วโมง`,"in {n} hours":`ใน {n} ชั่วโมง`,tomorrow:`พรุ่งนี้`,"in {n} days":`ใน {n} วัน`,"in 1 week":`ใน 1 สัปดาห์`,"in {n} weeks":`ใน {n} สัปดาห์`,"in 1 month":`ใน 1 เดือน`,"in {n} months":`ใน {n} เดือน`,"in 1 year":`ใน 1 ปี`,"in {n} years":`ใน {n} ปี`,"1 minute ago":`1 นาทีที่แล้ว`,"{n} minutes ago":`{n} นาทีที่แล้ว`,"1 hour ago":`1 ชั่วโมงที่แล้ว`,"{n} hours ago":`{n} ชั่วโมงที่แล้ว`,"1 day ago":`1 วันที่แล้ว`,"{n} days ago":`{n} วันที่แล้ว`,"1 week ago":`1 สัปดาห์ที่แล้ว`,"{n} weeks ago":`{n} สัปดาห์ที่แล้ว`,"1 month ago":`1 เดือนที่แล้ว`,"{n} months ago":`{n} เดือนที่แล้ว`,"1 year ago":`1 ปีที่แล้ว`,"{n} years ago":`{n} ปีที่แล้ว`,"Cookie notice":`ประกาศคุกกี้`,"Cookie preferences":`การตั้งค่าคุกกี้`,"Close and use essential cookies only":`ปิดและใช้เฉพาะคุกกี้ที่จำเป็น`,Back:`กลับ`,"Log in":`เข้าสู่ระบบ`,"Search Hanzo or ask AI":`ค้นหาใน Hanzo หรือถาม AI`,"Search models":`ค้นหาโมเดล`,"Search branches…":`ค้นหาแบรนช์…`,"Search repositories…":`ค้นหาที่เก็บ…`,"Show options":`แสดงตัวเลือก`,Retry:`ลองใหม่`,"Donut chart":`แผนภูมิโดนัท`,"Find an organization":`ค้นหาองค์กร`,Organizations:`องค์กร`,"Organization name":`ชื่อองค์กร`,"Previous page":`หน้าก่อนหน้า`,"Next page":`หน้าถัดไป`,"Continue with credits":`ใช้เครดิตต่อไป`,"Try Hanzo":`ลองใช้ Hanzo`,"Terms & Policies":`ข้อกำหนดและนโยบาย`,"Who this is for":`เหมาะกับใคร`,"Bill yearly":`คิดเงินรายปี`,Apps:`แอป`,"Card actions":`การทำงานของการ์ด`,"Assign to...":`มอบหมายให้...`,"Search cards...":`ค้นหาการ์ด...`,"Clear search":`ล้างการค้นหา`,"Open files":`ไฟล์ที่เปิดอยู่`,"Close panel":`ปิดแผง`,"Add an organization":`เพิ่มองค์กร`,"Keyboard Shortcuts":`แป้นพิมพ์ลัด`,"Run a command":`เรียกใช้คำสั่ง`,"Type shell command...":`พิมพ์คำสั่งเชลล์...`,"Attached to the next message":`แนบกับข้อความถัดไป`,"Channel Member Roster":`สมาชิกช่อง`,"Channel Collaborative Notes":`บันทึกร่วมของช่อง`,"Code Diff Viewer":`ตัวดูส่วนต่างโค้ด`,"Live Voice Call":`สายเสียงสด`,"MCP Server Hub":`ฮับเซิร์ฟเวอร์ MCP`,"Multi-Agent Swarm Bar":`แถบฝูงเอเจนต์`,"Write shared channel notes, meeting agenda, or AI summaries...":`เขียนบันทึกช่อง วาระประชุม หรือสรุปจาก AI...`,"Help improve our AI models":`ช่วยปรับปรุงโมเดล AI ของเรา`,"Your name":`ชื่อของคุณ`,"Your role":`บทบาทของคุณ`,"Country or region":`ประเทศหรือภูมิภาค`,"Card details":`รายละเอียดบัตร`,"Agree to recurring charges":`ยอมรับการเรียกเก็บซ้ำ`,"How you will use Hanzo":`คุณจะใช้ Hanzo อย่างไร`,"Team size":`ขนาดทีม`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`ฉันยอมรับข้อกำหนดการให้บริการและนโยบายการใช้งานที่ยอมรับได้ และยืนยันว่าฉันมีอายุอย่างน้อย 18 ปี`,"Empty string":`สตริงว่าง`,"Empty array":`อาร์เรย์ว่าง`,"Empty object":`อ็อบเจกต์ว่าง`,"Copy {what}":`คัดลอก {what}`,"Ask anything":`ถามอะไรก็ได้`,Auto:`อัตโนมัติ`,Instant:`ทันที`,Low:`ต่ำ`,Medium:`ปานกลาง`,High:`สูง`,Max:`สูงสุด`,Dictate:`สั่งด้วยเสียง`,"Dictating — click to stop":`กำลังสั่งด้วยเสียง — คลิกเพื่อหยุด`,"Dictation settings":`การตั้งค่าการสั่งด้วยเสียง`,Language:`ภาษา`,"No devices found":`ไม่พบอุปกรณ์`,"Microphone {n}":`ไมโครโฟน {n}`,"Nothing matches":`ไม่มีรายการที่ตรงกัน`,Commands:`คำสั่ง`,"Search commands…":`ค้นหาคำสั่ง…`,Agents:`เอเจนต์`,Skills:`ทักษะ`,Connectors:`ตัวเชื่อม`,"Design system":`ระบบดีไซน์`,Plugins:`ปลั๊กอิน`,Devices:`อุปกรณ์`,Memory:`ความจำ`,Research:`ค้นคว้า`,On:`เปิด`,"Upload or add files":`อัปโหลดหรือเพิ่มไฟล์`,"Add files, agents, skills and more":`เพิ่มไฟล์ เอเจนต์ ทักษะ และอื่นๆ`,"No agents yet":`ยังไม่มีเอเจนต์`,"No skills yet":`ยังไม่มีทักษะ`,"No connectors yet":`ยังไม่มีตัวเชื่อม`,"No design system yet":`ยังไม่มีระบบดีไซน์`,"No plugins yet":`ยังไม่มีปลั๊กอิน`,"No devices yet":`ยังไม่มีอุปกรณ์`,"Search agents":`ค้นหาเอเจนต์`,"Search skills":`ค้นหาทักษะ`,"Search connectors":`ค้นหาตัวเชื่อม`,"Search design system":`ค้นหาระบบดีไซน์`,"Search plugins":`ค้นหาปลั๊กอิน`,"Search devices":`ค้นหาอุปกรณ์`,"Reading agents":`กำลังอ่านเอเจนต์`,"Reading skills":`กำลังอ่านทักษะ`,"Reading connectors":`กำลังอ่านตัวเชื่อม`,"Reading design system":`กำลังอ่านระบบดีไซน์`,"Reading plugins":`กำลังอ่านปลั๊กอิน`,"Adaptive reasoning based on task complexity":`การใช้เหตุผลตามความซับซ้อนของงาน`,"Answers right away, without thinking":`ตอบทันทีโดยไม่ต้องคิด`,"A quick pass with minimal thinking":`ผ่านอย่างรวดเร็วโดยคิดน้อย`,"Thinks before answering":`คิดก่อนตอบ`,"Deep reasoning for complex problems":`การใช้เหตุผลเชิงลึกสำหรับปัญหาซับซ้อน`,"Maximum compute and exhaustive verification":`การคำนวณสูงสุดและการตรวจอย่างละเอียด`,Effort:`ระดับความพยายาม`,"Effort: {level}":`ระดับความพยายาม: {level}`,Mode:`โหมด`,"Mode: {mode}":`โหมด: {mode}`,Model:`โมเดล`,"Model: {name}":`โมเดล: {name}`,"Voice mode":`โหมดเสียง`,"Hanzo is speaking — talk to interrupt":`Hanzo กำลังพูด — พูดเพื่อขัดจังหวะ`,"In conversation — click to hang up":`กำลังสนทนา — คลิกเพื่อวางสาย`,"Go to testimonial {n}":`ไปยังคำรับรอง {n}`,"Go to card {n}":`ไปยังการ์ด {n}`,"{n} of {total}":`{n} จาก {total}`,"Reading…":`กำลังอ่าน…`,Skill:`ทักษะ`,Plugin:`ปลั๊กอิน`},Hfe={Close:`Kapat`,"Close window":`Pencereyi kapat`,"Minimize window":`Pencereyi küçült`,"Restore window":`Pencereyi geri yükle`,"Maximize window":`Pencereyi büyüt`,Resize:`Yeniden boyutlandır`,"Select all":`Tümünü seç`,"Select row":`Satırı seç`,"Previous month":`Önceki ay`,"Next month":`Sonraki ay`,Dismiss:`Kapat`,Breadcrumb:`Gezinti yolu`,Cards:`Kartlar`,"Copy code":`Kodu kopyala`,Copied:`Kopyalandı`,"Copied!":`Kopyalandı!`,Copy:`Kopyala`,"Previous slide":`Önceki slayt`,"Next slide":`Sonraki slayt`,"Previous card":`Önceki kart`,"Next card":`Sonraki kart`,"Zoom out":`Uzaklaştır`,"Zoom in":`Yakınlaştır`,Rotate:`Döndür`,Filter:`Filtrele`,"Expand all":`Tümünü genişlet`,"Collapse all":`Tümünü daralt`,"Search...":`Ara...`,"Pick a date":`Tarih seçin`,Select:`Seç`,"Start typing...":`Yazmaya başlayın...`,Search:`Ara`,Decrease:`Azalt`,Increase:`Artır`,pagination:`sayfalama`,"Go to previous page":`Önceki sayfaya git`,"Go to next page":`Sonraki sayfaya git`,Previous:`Önceki`,Next:`Sonraki`,"More pages":`Diğer sayfalar`,Remove:`Kaldır`,"Go back":`Geri`,"Go forward":`İleri`,"Reload page":`Sayfayı yenile`,Share:`Paylaş`,"New tab":`Yeni sekme`,Menu:`Menü`,"Copy command":`Komutu kopyala`,"Terminal input":`Terminal girişi`,Seek:`Konum`,"Rewind 10 seconds":`10 saniye geri`,"Forward 10 seconds":`10 saniye ileri`,Volume:`Ses`,"Toggle captions":`Altyazıları aç veya kapat`,"Playback speed":`Oynatma hızı`,Quality:`Kalite`,"Picture in picture":`Resim içinde resim`,Play:`Oynat`,Pause:`Duraklat`,Mute:`Sessize al`,Unmute:`Sesi aç`,"Exit fullscreen":`Tam ekrandan çık`,"Enter fullscreen":`Tam ekran`,Expand:`Genişlet`,Collapse:`Daralt`,"Copy reply":`Yanıtı kopyala`,"Good result":`İyi sonuç`,"Bad result":`Kötü sonuç`,"Dialog Close":`İletişim kutusunu kapat`,Notifications:`Bildirimler`,Account:`Hesap`,Cart:`Sepet`,Call:`Arama`,"Video call":`Görüntülü arama`,Message:`Mesaj`,Main:`Ana`,Columns:`Sütunlar`,"No results.":`Sonuç yok.`,"No results":`Sonuç yok`,"No results found":`Sonuç bulunamadı`,"Drop files here":`Dosyaları buraya bırakın`,"Drag & drop files here":`Dosyaları sürükleyip bırakın`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`veya göz atmak için tıklayın (en fazla {maxFiles} dosya, her biri {maxSize} MB)`,"Remove {name}":`{name} öğesini kaldır`,"{selected} of {total} row(s) selected.":`{total} satırdan {selected} tanesi seçili.`,"Try again":`Yeniden dene`,"What’s up next?":`Sırada ne var?`,"Show password":`Şifreyi göster`,"Hide password":`Şifreyi gizle`,"Search icons":`Simge ara`,"No icon matches":`Eşleşen simge yok`,"Show all items ({n})":`Tümünü göster ({n})`,"Fewer {what}":`Daha az {what}`,"More {what}":`Daha fazla {what}`,"No tasks available. Add tasks to display Gantt chart.":`Görev yok. Gantt grafiğini görmek için görev ekleyin.`,January:`Ocak`,February:`Şubat`,March:`Mart`,April:`Nisan`,May:`Mayıs`,June:`Haziran`,July:`Temmuz`,August:`Ağustos`,September:`Eylül`,October:`Ekim`,November:`Kasım`,December:`Aralık`,Su:`Pz`,Mo:`Pt`,Tu:`Sa`,We:`Ça`,Th:`Pe`,Fr:`Cu`,Sa:`Ct`,"just now":`şimdi`,"in a moment":`birazdan`,"in 1 minute":`1 dakika içinde`,"in {n} minutes":`{n} dakika içinde`,"in 1 hour":`1 saat içinde`,"in {n} hours":`{n} saat içinde`,tomorrow:`yarın`,"in {n} days":`{n} gün içinde`,"in 1 week":`1 hafta içinde`,"in {n} weeks":`{n} hafta içinde`,"in 1 month":`1 ay içinde`,"in {n} months":`{n} ay içinde`,"in 1 year":`1 yıl içinde`,"in {n} years":`{n} yıl içinde`,"1 minute ago":`1 dakika önce`,"{n} minutes ago":`{n} dakika önce`,"1 hour ago":`1 saat önce`,"{n} hours ago":`{n} saat önce`,"1 day ago":`1 gün önce`,"{n} days ago":`{n} gün önce`,"1 week ago":`1 hafta önce`,"{n} weeks ago":`{n} hafta önce`,"1 month ago":`1 ay önce`,"{n} months ago":`{n} ay önce`,"1 year ago":`1 yıl önce`,"{n} years ago":`{n} yıl önce`,"Cookie notice":`Çerez bildirimi`,"Cookie preferences":`Çerez tercihleri`,"Close and use essential cookies only":`Kapat ve yalnızca zorunlu çerezleri kullan`,Back:`Geri`,"Log in":`Giriş yap`,"Search Hanzo or ask AI":`Hanzo’da ara veya yapay zekâya sor`,"Search models":`Model ara`,"Search branches…":`Dalları ara…`,"Search repositories…":`Depoları ara…`,"Show options":`Seçenekleri göster`,Retry:`Yeniden dene`,"Donut chart":`Halka grafik`,"Find an organization":`Kuruluş bul`,Organizations:`Kuruluşlar`,"Organization name":`Kuruluş adı`,"Previous page":`Önceki sayfa`,"Next page":`Sonraki sayfa`,"Continue with credits":`Kredilerle devam et`,"Try Hanzo":`Hanzo’yu dene`,"Terms & Policies":`Koşullar ve politikalar`,"Who this is for":`Kimler için`,"Bill yearly":`Yıllık faturalandır`,Apps:`Uygulamalar`,"Card actions":`Kart işlemleri`,"Assign to...":`Ata...`,"Search cards...":`Kart ara...`,"Clear search":`Aramayı temizle`,"Open files":`Açık dosyalar`,"Close panel":`Paneli kapat`,"Add an organization":`Kuruluş ekle`,"Keyboard Shortcuts":`Klavye kısayolları`,"Run a command":`Komut çalıştır`,"Type shell command...":`Kabuk komutu yazın...`,"Attached to the next message":`Sonraki iletiye eklendi`,"Channel Member Roster":`Kanal üyeleri`,"Channel Collaborative Notes":`Kanalın ortak notları`,"Code Diff Viewer":`Fark görüntüleyici`,"Live Voice Call":`Canlı sesli arama`,"MCP Server Hub":`MCP sunucu merkezi`,"Multi-Agent Swarm Bar":`Çoklu aracı çubuğu`,"Write shared channel notes, meeting agenda, or AI summaries...":`Paylaşılan kanal notları, gündem veya yapay zekâ özetleri yazın...`,"Help improve our AI models":`Yapay zekâ modellerimizi geliştirmeye yardım edin`,"Your name":`Adınız`,"Your role":`Rolünüz`,"Country or region":`Ülke veya bölge`,"Card details":`Kart bilgileri`,"Agree to recurring charges":`Yinelenen ücretleri kabul et`,"How you will use Hanzo":`Hanzo’yu nasıl kullanacağınız`,"Team size":`Ekip büyüklüğü`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Hizmet Şartlarını ve Kabul Edilebilir Kullanım Politikasını kabul ediyor ve en az 18 yaşında olduğumu onaylıyorum.`,"Empty string":`Boş dize`,"Empty array":`Boş dizi`,"Empty object":`Boş nesne`,"Copy {what}":`{what} kopyala`,"Ask anything":`Her şeyi sorun`,Auto:`Otomatik`,Instant:`Anında`,Low:`Düşük`,Medium:`Orta`,High:`Yüksek`,Max:`Maksimum`,Dictate:`Dikte`,"Dictating — click to stop":`Dikte ediliyor — durdurmak için tıklayın`,"Dictation settings":`Dikte ayarları`,Language:`Dil`,"No devices found":`Aygıt bulunamadı`,"Microphone {n}":`Mikrofon {n}`,"Nothing matches":`Eşleşme yok`,Commands:`Komutlar`,"Search commands…":`Komut ara…`,Agents:`Aracılar`,Skills:`Beceriler`,Connectors:`Bağlayıcılar`,"Design system":`Tasarım sistemi`,Plugins:`Eklentiler`,Devices:`Aygıtlar`,Memory:`Bellek`,Research:`Araştırma`,On:`Açık`,"Upload or add files":`Dosya yükle veya ekle`,"Add files, agents, skills and more":`Dosya, aracı, beceri ve daha fazlasını ekle`,"No agents yet":`Henüz aracı yok`,"No skills yet":`Henüz beceri yok`,"No connectors yet":`Henüz bağlayıcı yok`,"No design system yet":`Henüz tasarım sistemi yok`,"No plugins yet":`Henüz eklenti yok`,"No devices yet":`Henüz aygıt yok`,"Search agents":`Aracı ara`,"Search skills":`Beceri ara`,"Search connectors":`Bağlayıcı ara`,"Search design system":`Tasarım sisteminde ara`,"Search plugins":`Eklenti ara`,"Search devices":`Aygıt ara`,"Reading agents":`Aracılar okunuyor`,"Reading skills":`Beceriler okunuyor`,"Reading connectors":`Bağlayıcılar okunuyor`,"Reading design system":`Tasarım sistemi okunuyor`,"Reading plugins":`Eklentiler okunuyor`,"Adaptive reasoning based on task complexity":`Görevin karmaşıklığına göre uyarlanabilir akıl yürütme`,"Answers right away, without thinking":`Düşünmeden hemen yanıt verir`,"A quick pass with minimal thinking":`Az düşünerek hızlı bir geçiş`,"Thinks before answering":`Yanıtlamadan önce düşünür`,"Deep reasoning for complex problems":`Karmaşık sorunlar için derin akıl yürütme`,"Maximum compute and exhaustive verification":`En yüksek hesap ve kapsamlı doğrulama`,Effort:`Çaba`,"Effort: {level}":`Çaba: {level}`,Mode:`Mod`,"Mode: {mode}":`Mod: {mode}`,Model:`Model`,"Model: {name}":`Model: {name}`,"Voice mode":`Ses modu`,"Hanzo is speaking — talk to interrupt":`Hanzo konuşuyor — kesmek için konuşun`,"In conversation — click to hang up":`Görüşmede — kapatmak için tıklayın`,"Go to testimonial {n}":`{n}. görüşe git`,"Go to card {n}":`{n}. karta git`,"{n} of {total}":`{n} / {total}`,"Reading…":`Okunuyor…`,Skill:`Beceri`,Plugin:`Eklenti`},Ufe={Close:`Đóng`,"Close window":`Đóng cửa sổ`,"Minimize window":`Thu nhỏ cửa sổ`,"Restore window":`Khôi phục cửa sổ`,"Maximize window":`Phóng to cửa sổ`,Resize:`Đổi kích thước`,"Select all":`Chọn tất cả`,"Select row":`Chọn hàng`,"Previous month":`Tháng trước`,"Next month":`Tháng sau`,Dismiss:`Bỏ qua`,Breadcrumb:`Đường dẫn`,Cards:`Thẻ`,"Copy code":`Sao chép mã`,Copied:`Đã sao chép`,"Copied!":`Đã sao chép!`,Copy:`Sao chép`,"Previous slide":`Trang trước`,"Next slide":`Trang sau`,"Previous card":`Thẻ trước`,"Next card":`Thẻ sau`,"Zoom out":`Thu nhỏ`,"Zoom in":`Phóng to`,Rotate:`Xoay`,Filter:`Lọc`,"Expand all":`Mở rộng tất cả`,"Collapse all":`Thu gọn tất cả`,"Search...":`Tìm kiếm...`,"Pick a date":`Chọn ngày`,Select:`Chọn`,"Start typing...":`Bắt đầu nhập...`,Search:`Tìm kiếm`,Decrease:`Giảm`,Increase:`Tăng`,pagination:`phân trang`,"Go to previous page":`Đến trang trước`,"Go to next page":`Đến trang sau`,Previous:`Trước`,Next:`Tiếp`,"More pages":`Thêm trang`,Remove:`Xóa`,"Go back":`Quay lại`,"Go forward":`Tiến`,"Reload page":`Tải lại trang`,Share:`Chia sẻ`,"New tab":`Tab mới`,Menu:`Menu`,"Copy command":`Sao chép lệnh`,"Terminal input":`Nhập lệnh`,Seek:`Tua`,"Rewind 10 seconds":`Tua lại 10 giây`,"Forward 10 seconds":`Tua đi 10 giây`,Volume:`Âm lượng`,"Toggle captions":`Bật hoặc tắt phụ đề`,"Playback speed":`Tốc độ phát`,Quality:`Chất lượng`,"Picture in picture":`Hình trong hình`,Play:`Phát`,Pause:`Tạm dừng`,Mute:`Tắt tiếng`,Unmute:`Bật tiếng`,"Exit fullscreen":`Thoát toàn màn hình`,"Enter fullscreen":`Toàn màn hình`,Expand:`Mở rộng`,Collapse:`Thu gọn`,"Copy reply":`Sao chép câu trả lời`,"Good result":`Kết quả tốt`,"Bad result":`Kết quả kém`,"Dialog Close":`Đóng hộp thoại`,Notifications:`Thông báo`,Account:`Tài khoản`,Cart:`Giỏ hàng`,Call:`Cuộc gọi`,"Video call":`Cuộc gọi video`,Message:`Tin nhắn`,Main:`Chính`,Columns:`Cột`,"No results.":`Không có kết quả.`,"No results":`Không có kết quả`,"No results found":`Không tìm thấy kết quả`,"Drop files here":`Thả tệp vào đây`,"Drag & drop files here":`Kéo và thả tệp vào đây`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`hoặc bấm để duyệt (tối đa {maxFiles} tệp, mỗi tệp {maxSize} MB)`,"Remove {name}":`Xóa {name}`,"{selected} of {total} row(s) selected.":`Đã chọn {selected} / {total} hàng.`,"Try again":`Thử lại`,"What’s up next?":`Tiếp theo là gì?`,"Show password":`Hiện mật khẩu`,"Hide password":`Ẩn mật khẩu`,"Search icons":`Tìm biểu tượng`,"No icon matches":`Không có biểu tượng khớp`,"Show all items ({n})":`Hiện tất cả ({n})`,"Fewer {what}":`Ít {what} hơn`,"More {what}":`Thêm {what}`,"No tasks available. Add tasks to display Gantt chart.":`Chưa có công việc. Thêm công việc để hiện biểu đồ Gantt.`,January:`tháng 1`,February:`tháng 2`,March:`tháng 3`,April:`tháng 4`,May:`tháng 5`,June:`tháng 6`,July:`tháng 7`,August:`tháng 8`,September:`tháng 9`,October:`tháng 10`,November:`tháng 11`,December:`tháng 12`,Su:`CN`,Mo:`T2`,Tu:`T3`,We:`T4`,Th:`T5`,Fr:`T6`,Sa:`T7`,"just now":`vừa xong`,"in a moment":`chốc nữa`,"in 1 minute":`sau 1 phút`,"in {n} minutes":`sau {n} phút`,"in 1 hour":`sau 1 giờ`,"in {n} hours":`sau {n} giờ`,tomorrow:`ngày mai`,"in {n} days":`sau {n} ngày`,"in 1 week":`sau 1 tuần`,"in {n} weeks":`sau {n} tuần`,"in 1 month":`sau 1 tháng`,"in {n} months":`sau {n} tháng`,"in 1 year":`sau 1 năm`,"in {n} years":`sau {n} năm`,"1 minute ago":`1 phút trước`,"{n} minutes ago":`{n} phút trước`,"1 hour ago":`1 giờ trước`,"{n} hours ago":`{n} giờ trước`,"1 day ago":`1 ngày trước`,"{n} days ago":`{n} ngày trước`,"1 week ago":`1 tuần trước`,"{n} weeks ago":`{n} tuần trước`,"1 month ago":`1 tháng trước`,"{n} months ago":`{n} tháng trước`,"1 year ago":`1 năm trước`,"{n} years ago":`{n} năm trước`,"Cookie notice":`Thông báo cookie`,"Cookie preferences":`Tùy chọn cookie`,"Close and use essential cookies only":`Đóng và chỉ dùng cookie thiết yếu`,Back:`Quay lại`,"Log in":`Đăng nhập`,"Search Hanzo or ask AI":`Tìm trong Hanzo hoặc hỏi AI`,"Search models":`Tìm mô hình`,"Search branches…":`Tìm nhánh…`,"Search repositories…":`Tìm kho…`,"Show options":`Hiện tùy chọn`,Retry:`Thử lại`,"Donut chart":`Biểu đồ vành khuyên`,"Find an organization":`Tìm tổ chức`,Organizations:`Tổ chức`,"Organization name":`Tên tổ chức`,"Previous page":`Trang trước`,"Next page":`Trang sau`,"Continue with credits":`Tiếp tục bằng tín dụng`,"Try Hanzo":`Dùng thử Hanzo`,"Terms & Policies":`Điều khoản và chính sách`,"Who this is for":`Dành cho ai`,"Bill yearly":`Thanh toán theo năm`,Apps:`Ứng dụng`,"Card actions":`Thao tác thẻ`,"Assign to...":`Gán cho...`,"Search cards...":`Tìm thẻ...`,"Clear search":`Xóa tìm kiếm`,"Open files":`Tệp đang mở`,"Close panel":`Đóng bảng`,"Add an organization":`Thêm tổ chức`,"Keyboard Shortcuts":`Phím tắt`,"Run a command":`Chạy lệnh`,"Type shell command...":`Nhập lệnh shell...`,"Attached to the next message":`Đính kèm tin nhắn tiếp theo`,"Channel Member Roster":`Thành viên kênh`,"Channel Collaborative Notes":`Ghi chú cộng tác của kênh`,"Code Diff Viewer":`Trình xem khác biệt mã`,"Live Voice Call":`Cuộc gọi thoại trực tiếp`,"MCP Server Hub":`Trung tâm máy chủ MCP`,"Multi-Agent Swarm Bar":`Thanh bầy tác nhân`,"Write shared channel notes, meeting agenda, or AI summaries...":`Viết ghi chú kênh, chương trình họp hoặc tóm tắt AI...`,"Help improve our AI models":`Giúp cải thiện mô hình AI của chúng tôi`,"Your name":`Tên của bạn`,"Your role":`Vai trò của bạn`,"Country or region":`Quốc gia hoặc khu vực`,"Card details":`Thông tin thẻ`,"Agree to recurring charges":`Đồng ý các khoản phí định kỳ`,"How you will use Hanzo":`Bạn sẽ dùng Hanzo thế nào`,"Team size":`Quy mô nhóm`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Tôi đồng ý với Điều khoản dịch vụ và Chính sách sử dụng được chấp nhận và xác nhận tôi đủ 18 tuổi.`,"Empty string":`Chuỗi rỗng`,"Empty array":`Mảng rỗng`,"Empty object":`Đối tượng rỗng`,"Copy {what}":`Sao chép {what}`,"Ask anything":`Hỏi bất cứ điều gì`,Auto:`Tự động`,Instant:`Tức thì`,Low:`Thấp`,Medium:`Trung bình`,High:`Cao`,Max:`Tối đa`,Dictate:`Đọc chính tả`,"Dictating — click to stop":`Đang đọc — bấm để dừng`,"Dictation settings":`Cài đặt đọc chính tả`,Language:`Ngôn ngữ`,"No devices found":`Không tìm thấy thiết bị`,"Microphone {n}":`Micro {n}`,"Nothing matches":`Không có gì khớp`,Commands:`Lệnh`,"Search commands…":`Tìm lệnh…`,Agents:`Tác nhân`,Skills:`Kỹ năng`,Connectors:`Trình kết nối`,"Design system":`Hệ thống thiết kế`,Plugins:`Plugin`,Devices:`Thiết bị`,Memory:`Bộ nhớ`,Research:`Nghiên cứu`,On:`Bật`,"Upload or add files":`Tải lên hoặc thêm tệp`,"Add files, agents, skills and more":`Thêm tệp, tác nhân, kỹ năng và hơn thế`,"No agents yet":`Chưa có tác nhân`,"No skills yet":`Chưa có kỹ năng`,"No connectors yet":`Chưa có trình kết nối`,"No design system yet":`Chưa có hệ thống thiết kế`,"No plugins yet":`Chưa có plugin`,"No devices yet":`Chưa có thiết bị`,"Search agents":`Tìm tác nhân`,"Search skills":`Tìm kỹ năng`,"Search connectors":`Tìm trình kết nối`,"Search design system":`Tìm trong hệ thống thiết kế`,"Search plugins":`Tìm plugin`,"Search devices":`Tìm thiết bị`,"Reading agents":`Đang đọc tác nhân`,"Reading skills":`Đang đọc kỹ năng`,"Reading connectors":`Đang đọc trình kết nối`,"Reading design system":`Đang đọc hệ thống thiết kế`,"Reading plugins":`Đang đọc plugin`,"Adaptive reasoning based on task complexity":`Suy luận thích ứng theo độ phức tạp`,"Answers right away, without thinking":`Trả lời ngay, không suy nghĩ`,"A quick pass with minimal thinking":`Một lượt nhanh, ít suy nghĩ`,"Thinks before answering":`Suy nghĩ trước khi trả lời`,"Deep reasoning for complex problems":`Suy luận sâu cho vấn đề phức tạp`,"Maximum compute and exhaustive verification":`Tính toán tối đa và kiểm tra toàn diện`,Effort:`Mức nỗ lực`,"Effort: {level}":`Mức nỗ lực: {level}`,Mode:`Chế độ`,"Mode: {mode}":`Chế độ: {mode}`,Model:`Mô hình`,"Model: {name}":`Mô hình: {name}`,"Voice mode":`Chế độ giọng nói`,"Hanzo is speaking — talk to interrupt":`Hanzo đang nói — hãy nói để ngắt`,"In conversation — click to hang up":`Đang trò chuyện — bấm để gác máy`,"Go to testimonial {n}":`Đến lời nhận xét {n}`,"Go to card {n}":`Đến thẻ {n}`,"{n} of {total}":`{n} / {total}`,"Reading…":`Đang đọc…`,Skill:`Kỹ năng`,Plugin:`Plugin`},Wfe={Close:`关闭`,"Close window":`关闭窗口`,"Minimize window":`最小化窗口`,"Restore window":`还原窗口`,"Maximize window":`最大化窗口`,Resize:`调整大小`,"Select all":`全选`,"Select row":`选择行`,"Previous month":`上个月`,"Next month":`下个月`,Dismiss:`关闭`,Breadcrumb:`面包屑`,Cards:`卡片`,"Copy code":`复制代码`,Copied:`已复制`,"Copied!":`已复制!`,Copy:`复制`,"Previous slide":`上一张`,"Next slide":`下一张`,"Previous card":`上一张卡片`,"Next card":`下一张卡片`,"Zoom out":`缩小`,"Zoom in":`放大`,Rotate:`旋转`,Filter:`筛选`,"Expand all":`全部展开`,"Collapse all":`全部折叠`,"Search...":`搜索...`,"Pick a date":`选择日期`,Select:`选择`,"Start typing...":`开始输入...`,Search:`搜索`,Decrease:`减少`,Increase:`增加`,pagination:`分页`,"Go to previous page":`转到上一页`,"Go to next page":`转到下一页`,Previous:`上一页`,Next:`下一页`,"More pages":`更多页面`,Remove:`移除`,"Go back":`返回`,"Go forward":`前进`,"Reload page":`重新加载页面`,Share:`分享`,"New tab":`新标签页`,Menu:`菜单`,"Copy command":`复制命令`,"Terminal input":`终端输入`,Seek:`拖动进度`,"Rewind 10 seconds":`后退 10 秒`,"Forward 10 seconds":`快进 10 秒`,Volume:`音量`,"Toggle captions":`开关字幕`,"Playback speed":`播放速度`,Quality:`画质`,"Picture in picture":`画中画`,Play:`播放`,Pause:`暂停`,Mute:`静音`,Unmute:`取消静音`,"Exit fullscreen":`退出全屏`,"Enter fullscreen":`全屏`,Expand:`展开`,Collapse:`折叠`,"Copy reply":`复制回复`,"Good result":`结果好`,"Bad result":`结果不好`,"Dialog Close":`关闭对话框`,Notifications:`通知`,Account:`账户`,Cart:`购物车`,Call:`通话`,"Video call":`视频通话`,Message:`消息`,Main:`主导航`,Columns:`列`,"No results.":`没有结果。`,"No results":`无结果`,"No results found":`未找到结果`,"Drop files here":`将文件拖放到此处`,"Drag & drop files here":`拖放文件到此处`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`或点击浏览(最多 {maxFiles} 个文件,每个 {maxSize} MB)`,"Remove {name}":`移除 {name}`,"{selected} of {total} row(s) selected.":`已选择 {selected}/{total} 行。`,"Try again":`重试`,"What’s up next?":`接下来做什么?`,"Show password":`显示密码`,"Hide password":`隐藏密码`,"Search icons":`搜索图标`,"No icon matches":`没有匹配的图标`,"Show all items ({n})":`显示全部 ({n})`,"Fewer {what}":`减少{what}`,"More {what}":`增加{what}`,"No tasks available. Add tasks to display Gantt chart.":`没有任务。添加任务以显示甘特图。`,January:`一月`,February:`二月`,March:`三月`,April:`四月`,May:`五月`,June:`六月`,July:`七月`,August:`八月`,September:`九月`,October:`十月`,November:`十一月`,December:`十二月`,Su:`日`,Mo:`一`,Tu:`二`,We:`三`,Th:`四`,Fr:`五`,Sa:`六`,"just now":`刚刚`,"in a moment":`片刻后`,"in 1 minute":`1 分钟后`,"in {n} minutes":`{n} 分钟后`,"in 1 hour":`1 小时后`,"in {n} hours":`{n} 小时后`,tomorrow:`明天`,"in {n} days":`{n} 天后`,"in 1 week":`1 周后`,"in {n} weeks":`{n} 周后`,"in 1 month":`1 个月后`,"in {n} months":`{n} 个月后`,"in 1 year":`1 年后`,"in {n} years":`{n} 年后`,"1 minute ago":`1 分钟前`,"{n} minutes ago":`{n} 分钟前`,"1 hour ago":`1 小时前`,"{n} hours ago":`{n} 小时前`,"1 day ago":`1 天前`,"{n} days ago":`{n} 天前`,"1 week ago":`1 周前`,"{n} weeks ago":`{n} 周前`,"1 month ago":`1 个月前`,"{n} months ago":`{n} 个月前`,"1 year ago":`1 年前`,"{n} years ago":`{n} 年前`,"Cookie notice":`Cookie 提示`,"Cookie preferences":`Cookie 偏好`,"Close and use essential cookies only":`关闭并仅使用必要 Cookie`,Back:`返回`,"Log in":`登录`,"Search Hanzo or ask AI":`搜索 Hanzo 或询问 AI`,"Search models":`搜索模型`,"Search branches…":`搜索分支…`,"Search repositories…":`搜索仓库…`,"Show options":`显示选项`,Retry:`重试`,"Donut chart":`环形图`,"Find an organization":`查找组织`,Organizations:`组织`,"Organization name":`组织名称`,"Previous page":`上一页`,"Next page":`下一页`,"Continue with credits":`使用额度继续`,"Try Hanzo":`试用 Hanzo`,"Terms & Policies":`条款与政策`,"Who this is for":`适合谁`,"Bill yearly":`按年计费`,Apps:`应用`,"Card actions":`卡片操作`,"Assign to...":`分配给...`,"Search cards...":`搜索卡片...`,"Clear search":`清除搜索`,"Open files":`打开的文件`,"Close panel":`关闭面板`,"Add an organization":`添加组织`,"Keyboard Shortcuts":`键盘快捷键`,"Run a command":`运行命令`,"Type shell command...":`输入 shell 命令...`,"Attached to the next message":`附加到下一条消息`,"Channel Member Roster":`频道成员`,"Channel Collaborative Notes":`频道协作笔记`,"Code Diff Viewer":`代码差异查看器`,"Live Voice Call":`实时语音通话`,"MCP Server Hub":`MCP 服务器中心`,"Multi-Agent Swarm Bar":`多智能体群集栏`,"Write shared channel notes, meeting agenda, or AI summaries...":`撰写频道笔记、会议议程或 AI 摘要...`,"Help improve our AI models":`帮助改进我们的 AI 模型`,"Your name":`你的名字`,"Your role":`你的角色`,"Country or region":`国家或地区`,"Card details":`银行卡信息`,"Agree to recurring charges":`同意周期性扣款`,"How you will use Hanzo":`你将如何使用 Hanzo`,"Team size":`团队规模`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`我同意服务条款和可接受使用政策,并确认我已年满 18 岁。`,"Empty string":`空字符串`,"Empty array":`空数组`,"Empty object":`空对象`,"Copy {what}":`复制{what}`,"Ask anything":`尽管问`,Auto:`自动`,Instant:`即时`,Low:`低`,Medium:`中`,High:`高`,Max:`最大`,Dictate:`听写`,"Dictating — click to stop":`正在听写 — 点击停止`,"Dictation settings":`听写设置`,Language:`语言`,"No devices found":`未找到设备`,"Microphone {n}":`麦克风 {n}`,"Nothing matches":`没有匹配项`,Commands:`命令`,"Search commands…":`搜索命令…`,Agents:`智能体`,Skills:`技能`,Connectors:`连接器`,"Design system":`设计系统`,Plugins:`插件`,Devices:`设备`,Memory:`记忆`,Research:`研究`,On:`开`,"Upload or add files":`上传或添加文件`,"Add files, agents, skills and more":`添加文件、智能体、技能等`,"No agents yet":`还没有智能体`,"No skills yet":`还没有技能`,"No connectors yet":`还没有连接器`,"No design system yet":`还没有设计系统`,"No plugins yet":`还没有插件`,"No devices yet":`还没有设备`,"Search agents":`搜索智能体`,"Search skills":`搜索技能`,"Search connectors":`搜索连接器`,"Search design system":`搜索设计系统`,"Search plugins":`搜索插件`,"Search devices":`搜索设备`,"Reading agents":`正在读取智能体`,"Reading skills":`正在读取技能`,"Reading connectors":`正在读取连接器`,"Reading design system":`正在读取设计系统`,"Reading plugins":`正在读取插件`,"Adaptive reasoning based on task complexity":`根据任务复杂度自适应推理`,"Answers right away, without thinking":`立即回答,不进行思考`,"A quick pass with minimal thinking":`快速过一遍,少思考`,"Thinks before answering":`先想再答`,"Deep reasoning for complex problems":`针对复杂问题的深度推理`,"Maximum compute and exhaustive verification":`最大算力与穷尽验证`,Effort:`力度`,"Effort: {level}":`力度:{level}`,Mode:`模式`,"Mode: {mode}":`模式:{mode}`,Model:`模型`,"Model: {name}":`模型:{name}`,"Voice mode":`语音模式`,"Hanzo is speaking — talk to interrupt":`Hanzo 正在说话 — 开口即可打断`,"In conversation — click to hang up":`通话中 — 点击挂断`,"Go to testimonial {n}":`转到评价 {n}`,"Go to card {n}":`转到卡片 {n}`,"{n} of {total}":`{n} / {total}`,"Reading…":`正在读取…`,Skill:`技能`,Plugin:`插件`},Gfe={Close:`關閉`,"Close window":`關閉視窗`,"Minimize window":`最小化視窗`,"Restore window":`還原視窗`,"Maximize window":`最大化視窗`,Resize:`調整大小`,"Select all":`全選`,"Select row":`選擇列`,"Previous month":`上個月`,"Next month":`下個月`,Dismiss:`關閉`,Breadcrumb:`導覽路徑`,Cards:`卡片`,"Copy code":`複製程式碼`,Copied:`已複製`,"Copied!":`已複製!`,Copy:`複製`,"Previous slide":`上一張`,"Next slide":`下一張`,"Previous card":`上一張卡片`,"Next card":`下一張卡片`,"Zoom out":`縮小`,"Zoom in":`放大`,Rotate:`旋轉`,Filter:`篩選`,"Expand all":`全部展開`,"Collapse all":`全部摺疊`,"Search...":`搜尋...`,"Pick a date":`選擇日期`,Select:`選擇`,"Start typing...":`開始輸入...`,Search:`搜尋`,Decrease:`減少`,Increase:`增加`,pagination:`分頁`,"Go to previous page":`前往上一頁`,"Go to next page":`前往下一頁`,Previous:`上一頁`,Next:`下一頁`,"More pages":`更多頁面`,Remove:`移除`,"Go back":`返回`,"Go forward":`前進`,"Reload page":`重新載入頁面`,Share:`分享`,"New tab":`新分頁`,Menu:`選單`,"Copy command":`複製指令`,"Terminal input":`終端機輸入`,Seek:`拖曳進度`,"Rewind 10 seconds":`後退 10 秒`,"Forward 10 seconds":`快轉 10 秒`,Volume:`音量`,"Toggle captions":`開關字幕`,"Playback speed":`播放速度`,Quality:`畫質`,"Picture in picture":`子母畫面`,Play:`播放`,Pause:`暫停`,Mute:`靜音`,Unmute:`取消靜音`,"Exit fullscreen":`結束全螢幕`,"Enter fullscreen":`全螢幕`,Expand:`展開`,Collapse:`摺疊`,"Copy reply":`複製回覆`,"Good result":`結果好`,"Bad result":`結果不好`,"Dialog Close":`關閉對話方塊`,Notifications:`通知`,Account:`帳戶`,Cart:`購物車`,Call:`通話`,"Video call":`視訊通話`,Message:`訊息`,Main:`主導覽`,Columns:`欄`,"No results.":`沒有結果。`,"No results":`無結果`,"No results found":`找不到結果`,"Drop files here":`將檔案拖放到這裡`,"Drag & drop files here":`拖放檔案到這裡`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`或點擊瀏覽(最多 {maxFiles} 個檔案,每個 {maxSize} MB)`,"Remove {name}":`移除 {name}`,"{selected} of {total} row(s) selected.":`已選取 {selected}/{total} 列。`,"Try again":`再試一次`,"What’s up next?":`接下來做什麼?`,"Show password":`顯示密碼`,"Hide password":`隱藏密碼`,"Search icons":`搜尋圖示`,"No icon matches":`沒有相符的圖示`,"Show all items ({n})":`顯示全部 ({n})`,"Fewer {what}":`減少{what}`,"More {what}":`增加{what}`,"No tasks available. Add tasks to display Gantt chart.":`沒有任務。新增任務以顯示甘特圖。`,January:`一月`,February:`二月`,March:`三月`,April:`四月`,May:`五月`,June:`六月`,July:`七月`,August:`八月`,September:`九月`,October:`十月`,November:`十一月`,December:`十二月`,Su:`日`,Mo:`一`,Tu:`二`,We:`三`,Th:`四`,Fr:`五`,Sa:`六`,"just now":`剛剛`,"in a moment":`稍後`,"in 1 minute":`1 分鐘後`,"in {n} minutes":`{n} 分鐘後`,"in 1 hour":`1 小時後`,"in {n} hours":`{n} 小時後`,tomorrow:`明天`,"in {n} days":`{n} 天後`,"in 1 week":`1 週後`,"in {n} weeks":`{n} 週後`,"in 1 month":`1 個月後`,"in {n} months":`{n} 個月後`,"in 1 year":`1 年後`,"in {n} years":`{n} 年後`,"1 minute ago":`1 分鐘前`,"{n} minutes ago":`{n} 分鐘前`,"1 hour ago":`1 小時前`,"{n} hours ago":`{n} 小時前`,"1 day ago":`1 天前`,"{n} days ago":`{n} 天前`,"1 week ago":`1 週前`,"{n} weeks ago":`{n} 週前`,"1 month ago":`1 個月前`,"{n} months ago":`{n} 個月前`,"1 year ago":`1 年前`,"{n} years ago":`{n} 年前`,"Cookie notice":`Cookie 通知`,"Cookie preferences":`Cookie 偏好`,"Close and use essential cookies only":`關閉並僅使用必要 Cookie`,Back:`返回`,"Log in":`登入`,"Search Hanzo or ask AI":`搜尋 Hanzo 或詢問 AI`,"Search models":`搜尋模型`,"Search branches…":`搜尋分支…`,"Search repositories…":`搜尋存放庫…`,"Show options":`顯示選項`,Retry:`重試`,"Donut chart":`環形圖`,"Find an organization":`尋找組織`,Organizations:`組織`,"Organization name":`組織名稱`,"Previous page":`上一頁`,"Next page":`下一頁`,"Continue with credits":`使用額度繼續`,"Try Hanzo":`試用 Hanzo`,"Terms & Policies":`條款與政策`,"Who this is for":`適合誰`,"Bill yearly":`按年計費`,Apps:`應用程式`,"Card actions":`卡片操作`,"Assign to...":`指派給...`,"Search cards...":`搜尋卡片...`,"Clear search":`清除搜尋`,"Open files":`開啟的檔案`,"Close panel":`關閉面板`,"Add an organization":`新增組織`,"Keyboard Shortcuts":`鍵盤快速鍵`,"Run a command":`執行指令`,"Type shell command...":`輸入 shell 指令...`,"Attached to the next message":`附加到下一則訊息`,"Channel Member Roster":`頻道成員`,"Channel Collaborative Notes":`頻道協作筆記`,"Code Diff Viewer":`程式碼差異檢視`,"Live Voice Call":`即時語音通話`,"MCP Server Hub":`MCP 伺服器中心`,"Multi-Agent Swarm Bar":`多代理群集列`,"Write shared channel notes, meeting agenda, or AI summaries...":`撰寫頻道筆記、會議議程或 AI 摘要...`,"Help improve our AI models":`協助改進我們的 AI 模型`,"Your name":`你的名字`,"Your role":`你的角色`,"Country or region":`國家或地區`,"Card details":`卡片資訊`,"Agree to recurring charges":`同意週期性扣款`,"How you will use Hanzo":`你會如何使用 Hanzo`,"Team size":`團隊規模`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`我同意服務條款與可接受使用政策,並確認我已年滿 18 歲。`,"Empty string":`空字串`,"Empty array":`空陣列`,"Empty object":`空物件`,"Copy {what}":`複製{what}`,"Ask anything":`儘管問`,Auto:`自動`,Instant:`即時`,Low:`低`,Medium:`中`,High:`高`,Max:`最大`,Dictate:`聽寫`,"Dictating — click to stop":`正在聽寫 — 點擊停止`,"Dictation settings":`聽寫設定`,Language:`語言`,"No devices found":`找不到裝置`,"Microphone {n}":`麥克風 {n}`,"Nothing matches":`沒有相符項目`,Commands:`指令`,"Search commands…":`搜尋指令…`,Agents:`代理`,Skills:`技能`,Connectors:`連接器`,"Design system":`設計系統`,Plugins:`外掛`,Devices:`裝置`,Memory:`記憶`,Research:`研究`,On:`開`,"Upload or add files":`上傳或新增檔案`,"Add files, agents, skills and more":`新增檔案、代理、技能等`,"No agents yet":`還沒有代理`,"No skills yet":`還沒有技能`,"No connectors yet":`還沒有連接器`,"No design system yet":`還沒有設計系統`,"No plugins yet":`還沒有外掛`,"No devices yet":`還沒有裝置`,"Search agents":`搜尋代理`,"Search skills":`搜尋技能`,"Search connectors":`搜尋連接器`,"Search design system":`搜尋設計系統`,"Search plugins":`搜尋外掛`,"Search devices":`搜尋裝置`,"Reading agents":`正在讀取代理`,"Reading skills":`正在讀取技能`,"Reading connectors":`正在讀取連接器`,"Reading design system":`正在讀取設計系統`,"Reading plugins":`正在讀取外掛`,"Adaptive reasoning based on task complexity":`依任務複雜度調整的推理`,"Answers right away, without thinking":`立即回答,不進行思考`,"A quick pass with minimal thinking":`快速過一遍,少思考`,"Thinks before answering":`先想再答`,"Deep reasoning for complex problems":`針對複雜問題的深度推理`,"Maximum compute and exhaustive verification":`最大算力與徹底驗證`,Effort:`力度`,"Effort: {level}":`力度:{level}`,Mode:`模式`,"Mode: {mode}":`模式:{mode}`,Model:`模型`,"Model: {name}":`模型:{name}`,"Voice mode":`語音模式`,"Hanzo is speaking — talk to interrupt":`Hanzo 正在說話 — 開口即可打斷`,"In conversation — click to hang up":`通話中 — 點擊掛斷`,"Go to testimonial {n}":`前往評價 {n}`,"Go to card {n}":`前往卡片 {n}`,"{n} of {total}":`{n} / {total}`,"Reading…":`正在讀取…`,Skill:`技能`,Plugin:`外掛`},M0=e=>e,Kfe={ar:M0(Afe),"de-DE":M0(jfe),"es-ES":M0(Mfe),"fr-FR":M0(Nfe),"hi-IN":M0(Pfe),"id-ID":M0(Ffe),"it-IT":M0(Ife),"ja-JP":M0(Lfe),"ko-KR":M0(Rfe),"pt-BR":M0(zfe),ru:M0(Bfe),th:M0(Vfe),tr:M0(Hfe),vi:M0(Ufe),"zh-Hans":M0(Wfe),"zh-Hant":M0(Gfe)},N0=e=>Kfe[e]??{},qfe={display:`contents`};function Jfe({children:e,locale:t,messages:n,syncDocument:r=!1}){let i=gde(t),a=yde(i,n?{...N0(i),...n}:N0(i)),o=N1(i),s=_de(t);return(0,b.useLayoutEffect)(()=>{if(!r||typeof document>`u`)return;let e=document.documentElement,t=e.lang,n=e.dir;return e.lang=s,e.dir=o,()=>{e.lang=t,e.dir=n}},[r,s,o]),(0,L.jsx)(P1.Provider,{value:a,children:(0,L.jsx)(`div`,{dir:o,lang:s,style:qfe,children:e})})}var Yfe=(0,b.createContext)(null),Xfe=({children:e,theme:t,analytics:n,config:r=_le,appearance:i,locale:a,messages:o})=>{let{pref:s,set:c}=kfe(i),l=(0,b.useMemo)(()=>({pref:s,set:c}),[s,c]),u=Ofe(),d=a||o?(0,L.jsx)(Jfe,{locale:a,messages:o,children:e}):e,f=(0,L.jsx)(Yfe.Provider,{value:l,children:(0,L.jsx)(Woe,{config:r,defaultTheme:t??u,disableInjectCSS:!0,children:d})});return n?(0,L.jsx)(Kk,{...n===!0?{}:n,children:f}):f},Zfe=({size:e=11,label:t})=>(0,L.jsxs)(`svg`,{width:e*30/14,height:e,viewBox:`0 0 30 14`,focusable:`false`,...t?{role:`img`,"aria-label":t}:{"aria-hidden":!0},style:{flexShrink:0,display:`block`},children:[(0,L.jsx)(`path`,{d:`M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z`,fill:`#fff`,fillRule:`evenodd`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{d:`M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z`,fill:`#06f`,fillRule:`evenodd`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{d:`M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z`,fill:`#fff`}),(0,L.jsx)(`path`,{d:`M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z`,fill:`#06f`})]}),P0=`hzconsent-open`,F0=`#choices`,Qfe=1500,$fe=()=>{let e=Kt();return e.region?e.mode:void 0},epe=Symbol.for(`hanzo.ui.consent.links`),I0=`hzconsent-links`;function tpe(){if((globalThis[epe]??0)>0)return!0;for(let e of document.querySelectorAll(`a[href*="${F0}"]`))try{let t=new URL(e.getAttribute(`href`)??``,document.baseURI);if(t.hash===F0&&t.origin===window.location.origin)return!0}catch{}return!1}var npe=(e,t,n,r)=>[{id:`necessary`,title:e(`Strictly Necessary Cookies`),body:e(`These are needed for the site to work, so they are always on. They keep you signed in and your session secure, protect forms against cross-site request forgery, spread traffic across servers, remember the choice you make here, and keep what you have typed into a form. They include {brand}'s own first-party analytics, which counts visits and finds what is broken for {brand} alone and is never sold or shared.`,{brand:t})},{id:`analytics`,key:`analytics`,title:e(`Performance Cookies`),body:e(`Google Analytics: lets Google measure visits to {brand} with its own cookies.`,{brand:t})},{id:`marketing`,key:`marketing`,title:e(`Marketing Cookies`),body:e(`The Meta pixel: lets Meta measure the sign-ups and orders {brand}'s ads led to.`,{brand:t})},{id:`ads`,key:`ads`,title:e(`Sell, Share, or Use Your Data for Targeted Advertising`),body:e(`Lets Google and Meta use your visits to choose the ads they show you on other sites and apps. Some US state privacy laws call this a “sale” or “sharing” of your personal information, or “targeted advertising”, and give you the right to opt out: {rule}`,{rule:e(r?`your browser’s signal keeps it off.`:n?`it stays off unless you turn it on.`:`turn this off to opt out.`)})}],rpe=(e,t,n)=>e(n?`We use cookies and similar technologies to provide our services. Essential cookies are required for the site to work and cannot be turned off. Learn more in our `:t?`We use cookies and similar technologies to provide our services, measure performance, and support advertising. Essential cookies are required for the site to work and cannot be turned off. You can allow or reject optional cookies below. Learn more in our `:`We use cookies and similar technologies to provide our services, measure performance, and support advertising. Google Analytics and the Meta pixel run on this site by default. Turn either off below, or turn off the last switch to opt out of the sale or sharing of your personal information for targeted advertising; each switch is saved as soon as you change it. Essential cookies are required for the site to work and cannot be turned off. Learn more in our `),ipe=MM(`Your browser asks sites not to track you, so all of these stay off.`),L0={top:`max(16px, calc(var(--safe-top, env(safe-area-inset-top, 0px)) + 8px))`,bottom:`max(16px, calc(var(--safe-bottom, env(safe-area-inset-bottom, 0px)) + 8px))`,left:`max(16px, calc(var(--safe-left, env(safe-area-inset-left, 0px)) + 8px))`,right:`max(16px, calc(var(--safe-right, env(safe-area-inset-right, 0px)) + 8px))`},R0={button:`var(--radius-lg, 12px)`,card:`var(--radius-xl, 16px)`},z0={bg:`$background`,borderWidth:1,borderColor:`$borderColor`,rounded:R0.card,shadowColor:`rgba(0,0,0,0.25)`,shadowRadius:24,shadowOffset:{width:0,height:8}},B0={...K(`consent`),...z0,position:`fixed`,b:L0.bottom,l:L0.left,r:L0.right,mx:`auto`,z:`var(--z-banner, 50)`,py:`$3`,paddingInlineStart:`$4`,paddingInlineEnd:56},V0={width:`fit-content`},H0={outlineColor:`var(--ring)`,outlineStyle:`solid`,outlineWidth:2,outlineOffset:2},U0=(e,t,n)=>({size:`sm`,minH:36,rounded:R0.button,bg:e,color:n,borderColor:`transparent`,hoverStyle:{bg:t,borderColor:`transparent`,opacity:1},pressStyle:{bg:t,borderColor:`transparent`,opacity:1},focusStyle:{borderColor:`transparent`},focusVisibleStyle:H0}),W0=U0(`var(--primary)`,`var(--primary-hover)`,`var(--primary-foreground)`),G0=U0(`var(--secondary)`,`var(--secondary-hover)`,`var(--secondary-foreground)`),K0={rounded:R0.button,bg:`transparent`,borderColor:`transparent`,hoverStyle:{bg:`var(--secondary)`,borderColor:`transparent`,opacity:1},pressStyle:{bg:`var(--secondary-hover)`,borderColor:`transparent`,opacity:1},focusStyle:{borderColor:`transparent`},focusVisibleStyle:H0},q0={type:`button`,variant:`link`,size:`sm`,px:0,minH:0,color:`$aside`,hoverStyle:{color:`$ink`},focusVisibleStyle:H0,startIcon:(0,L.jsx)(Zfe,{})},J0={color:`inherit`,textDecoration:`underline`,whiteSpace:`nowrap`},Y0={position:`fixed`,t:0,r:0,b:0,l:0},ape=`a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])`,ope={type:`button`},spe=({cookies:e=`https://hanzo.ai/cookies`,privacy:t=`https://hanzo.ai/privacy`,terms:n=`https://hanzo.ai/terms`,brand:r=`Hanzo`,floating:i=!0})=>{let{t:a}=FM(),[o,s]=(0,b.useState)(),[c,l]=(0,b.useState)(!1),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)({analytics:!1,marketing:!1,ads:!1}),m=(0,b.useRef)(f);m.current=f;let[h,g]=(0,b.useState)({}),[_,v]=(0,b.useState)(!0),y=(0,b.useRef)(void 0),x=(0,b.useRef)(!1),S=(0,b.useRef)(null),C=(0,b.useRef)(null),w=(0,b.useRef)(null),T=(0,b.useRef)(!1),E=(0,b.useRef)(!1),D=(0,b.useRef)(new Set),O=(0,b.useId)(),[k,A]=(0,b.useState)(!1),j=(e=y.current)=>e===`eu`?nn():e===`global`&&!sn()&&!Xt(),ee=e=>{let t=en();for(let n of D.current)(e!==`eu`||!m.current[n])&&(t[n]=m.current[n]);return t},M=e=>{let t=ee(e);p(t),e!==`eu`&&D.current.size&&ln(t)},te=()=>{if(x.current)return;let e=document.activeElement;S.current=e instanceof HTMLElement&&e!==document.body?e:null,x.current=!0,D.current=new Set,A(Xt()),E.current=$t(),p(en()),d(!0)},ne=()=>{x.current=!1,d(!1),l(j())};(0,b.useEffect)(()=>{let e=()=>{l(j()),A(Xt()),x.current&&E.current&&!$t()&&(E.current=!1,M(y.current??`eu`))},t=t=>{let n=y.current!==t;y.current=t,s(t),e(),n&&x.current&&M(t)},n=()=>t(Kt().mode),r=$fe();r&&t(r);let i=r?void 0:window.setTimeout(()=>y.current??t(`eu`),Qfe),a=0,o=()=>{a||=window.requestAnimationFrame(()=>{a=0,v(tpe())})};o();let c=new MutationObserver(o);c.observe(document.body,{childList:!0,subtree:!0});let u=()=>{window.location.hash===F0&&(queueMicrotask(()=>history.replaceState(history.state,``,window.location.pathname+window.location.search)),te())},d=e=>{if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let t=e.target?.closest?.(`a[href]`),n=t?.getAttribute(`href`),r=t?.getAttribute(`target`);if(!n||t?.hasAttribute(`download`)||r&&r!==`_self`)return;let i;try{i=new URL(n,document.baseURI)}catch{return}i.hash===F0&&i.origin===window.location.origin&&(e.preventDefault(),te())};return u(),window.addEventListener(P0,te),window.addEventListener(Pt,n),window.addEventListener(I0,o),window.addEventListener(`hashchange`,u),document.addEventListener(`click`,d,{capture:!0}),()=>{window.clearTimeout(i),window.cancelAnimationFrame(a),c.disconnect(),window.removeEventListener(P0,te),window.removeEventListener(Pt,n),window.removeEventListener(I0,o),window.removeEventListener(`hashchange`,u),document.removeEventListener(`click`,d,{capture:!0})}},[]),(0,b.useEffect)(()=>{if(u)return rn(!0),()=>rn(!1)},[u]),(0,b.useEffect)(()=>{if(!u){if(!T.current)return;T.current=!1;let e=S.current;S.current=null,e?.isConnected?e.focus():(w.current??document.querySelector(`[data-slot="consent-choices"] button`))?.focus();return}T.current=!0;let e=()=>[...C.current?.querySelectorAll(ape)??[]];e()[0]?.focus();let t=t=>{if(t.key===`Escape`){t.preventDefault(),ne();return}if(t.key!==`Tab`)return;let n=e(),r=n[0],i=n[n.length-1];if(!r||!i)return;let a=document.activeElement,o=!!a&&!!C.current?.contains(a);t.shiftKey&&(a===r||!o)?(t.preventDefault(),i.focus()):!t.shiftKey&&(a===i||!o)&&(t.preventDefault(),r.focus())};return document.addEventListener(`keydown`,t),()=>document.removeEventListener(`keydown`,t)},[u]);let N=e=>()=>{e(),x.current=!1,l(j()),d(!1)},P=null;if(u){let i=(o??`eu`)===`eu`,s=(e,t)=>{D.current.add(e);let n={...f,[e]:t};p(n),i||ln(n)};P=(0,L.jsxs)(z,{...K(`consent-sheet`),...Y0,z:`var(--z-modal, 600)`,items:`center`,justify:`center`,style:{padding:`${L0.top} ${L0.right} ${L0.bottom} ${L0.left}`},children:[(0,L.jsx)(z,{...Y0,position:`absolute`,z:0,bg:`rgba(0,0,0,0.6)`,"aria-hidden":!0,onPress:ne}),(0,L.jsxs)(z,{...K(`consent`),...z0,ref:C,role:`dialog`,"aria-modal":!0,"aria-labelledby":`${O}-title`,position:`relative`,width:`100%`,maxW:560,maxH:`100%`,overflow:`hidden`,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,gap:`$3`,pt:`$5`,pb:`$3`,paddingInlineStart:`$5`,paddingInlineEnd:`$4`,children:[(0,L.jsx)(H,{render:`h2`,id:`${O}-title`,m:0,fontSize:`$6`,lineHeight:`$6`,fontWeight:`600`,color:`$ink`,children:a(`Cookie Preferences`)}),(0,L.jsx)(q,{type:`button`,size:`icon`,...K0,"aria-label":a(`Close`),onClick:ne,children:(0,L.jsx)(vM,{size:16})})]}),(0,L.jsxs)(z,{shrink:1,minH:0,overflowY:`auto`,px:`$5`,pb:`$2`,style:{overscrollBehavior:`contain`},children:[(0,L.jsxs)(yh,{size:`$2`,color:`$aside`,m:0,pb:`$3`,children:[rpe(a,i,k),a(`{cookies}, {privacy}, and {terms}.`,{cookies:(0,L.jsx)(`a`,{href:e,style:J0,children:a(`Cookie Policy`)}),privacy:(0,L.jsx)(`a`,{href:t,style:J0,children:a(`Privacy Policy`)}),terms:(0,L.jsx)(`a`,{href:n,style:J0,children:a(`Terms of Service`)})})]}),k?(0,L.jsx)(yh,{size:`$2`,color:`$ink`,m:0,pb:`$3`,children:a(ipe)}):null,npe(a,r,i,k).map(e=>{let t=h[e.id]===!0,n=`${O}-${e.id}`;return(0,L.jsxs)(z,{...K(`consent-section`),borderTopWidth:1,borderColor:`$borderColor`,children:[(0,L.jsxs)(B,{items:`center`,gap:`$3`,minH:52,py:`$2`,children:[(0,L.jsx)(B,{render:`h3`,flex:1,minW:0,m:0,children:(0,L.jsxs)(B,{render:`button`,...ope,"aria-expanded":t,"aria-controls":n,onPress:()=>g({...h,[e.id]:!t}),flex:1,minW:0,items:`center`,gap:`$2`,p:0,bg:`transparent`,borderWidth:0,cursor:`pointer`,children:[(0,L.jsx)(B,{shrink:0,rotate:t?`180deg`:`0deg`,opacity:.7,children:(0,L.jsx)(lj,{size:16})}),(0,L.jsx)(H,{fontSize:`$3`,lineHeight:`$3`,fontWeight:`600`,color:`$ink`,...PN(`start`),children:e.title})]})}),e.key?(0,L.jsx)(BI,{"aria-label":e.title,"aria-describedby":n,disabled:k,checked:!k&&f[e.key],onCheckedChange:t=>s(e.key,t===!0)}):(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`600`,color:`$ink`,whiteSpace:`nowrap`,children:a(`Always Active`)})]}),(0,L.jsx)(z,{id:n,display:t?`flex`:`none`,pb:`$3`,paddingInlineStart:24,children:(0,L.jsx)(yh,{size:`$2`,color:`$aside`,m:0,children:e.body})})]},e.id)})]}),(0,L.jsx)(B,{flexWrap:`wrap`,gap:`$2`,px:`$5`,py:`$4`,borderTopWidth:1,borderColor:`$borderColor`,children:i?(0,L.jsxs)(L.Fragment,{children:[k?null:(0,L.jsx)(q,{type:`button`,...G0,grow:1,onClick:N(mn),children:a(`Accept all`)}),(0,L.jsx)(q,{type:`button`,...W0,grow:1,onClick:N(()=>ln(f)),children:a(`Save preferences`)})]}):(0,L.jsx)(q,{type:`button`,...W0,grow:1,onClick:ne,children:a(`Done`)})})]})]})}if(!o)return P;let re=i&&!_&&!c?(0,L.jsx)(B,{...K(`consent-choices`),position:`fixed`,b:L0.bottom,l:L0.left,z:`var(--z-banner, 50)`,px:`$2.5`,py:`$1`,bg:`$background`,borderWidth:1,borderColor:`$borderColor`,rounded:R0.button,children:(0,L.jsx)(q,{...q0,onClick:te,children:a(`Your Privacy Choices`)})}):null;return c&&o===`global`?re=(0,L.jsxs)(B,{...B0,role:`region`,"aria-label":a(`Cookie notice`),style:V0,maxW:1200,flexWrap:`wrap`,items:`center`,columnGap:`$4`,rowGap:`$2`,children:[(0,L.jsx)(z,{shrink:1,minW:0,children:(0,L.jsx)(yh,{size:`$2`,color:`$ink`,m:0,children:a(`We use cookies to improve your experience. By continuing to browse, you agree.`)})}),(0,L.jsx)(q,{...q0,onClick:te,children:a(`Your Privacy Choices`)}),(0,L.jsx)(q,{type:`button`,size:`icon`,...K0,"aria-label":a(`Close`),position:`absolute`,t:`$3`,insetInlineEnd:`$3`,onClick:N(on),children:(0,L.jsx)(vM,{size:16})})]}):c&&o===`eu`&&(re=(0,L.jsxs)(B,{...B0,role:`dialog`,"aria-label":a(`Cookie preferences`),style:V0,maxW:1200,flexWrap:`wrap`,items:`center`,columnGap:`$4`,rowGap:`$3`,children:[(0,L.jsx)(z,{shrink:1,minW:0,children:(0,L.jsx)(yh,{size:`$2`,color:`$ink`,m:0,children:a(`Essential cookies keep {brand} running. With your OK, optional cookies help us measure performance and ads.`,{brand:r})})}),(0,L.jsxs)(B,{gap:`$2`,marginInlineStart:`auto`,items:`center`,flexWrap:`wrap`,children:[(0,L.jsx)(q,{ref:w,type:`button`,...G0,onClick:te,children:a(`Manage preferences`)}),(0,L.jsx)(q,{type:`button`,...W0,onClick:N(mn),children:a(`Accept all`)})]}),(0,L.jsx)(q,{type:`button`,size:`icon`,...K0,"aria-label":a(`Close and use essential cookies only`),position:`absolute`,t:`$3`,insetInlineEnd:`$3`,onClick:N(hn),children:(0,L.jsx)(vM,{size:16})})]})),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`div`,{inert:u||void 0,style:{display:`contents`},children:re}),P]})},X0=`https://hanzo.ai`,cpe=e=>e?{additionalParams:{login_hint:e}}:void 0,lpe=(e,t=`login`,n)=>{let r=new URL(e);return t===`another`&&r.searchParams.set(`prompt`,`select_account`),n&&r.searchParams.set(`provider`,n),`${X0}${t===`signup`?`/signup`:`/login`}${r.search}`},upe=e=>{let t=new URL(e);return t.searchParams.set(`prompt`,`none`),`${X0}/v1/iam/oauth/authorize${t.search}`},Z0=e=>e===`localhost`||e===`127.0.0.1`||e===`[::1]`,dpe=(e,t,n)=>{if(Z0(new URL(n).hostname))return`/login?from=logout`;let r=new URLSearchParams({client_id:t,everywhere:`true`,post_logout_redirect_uri:new URL(`/`,n).href});return`${e.replace(/\/+$/,``)}/v1/iam/oauth/logout?${r}`},Q0=[{org:`hanzo`,app:`team-native`,issuer:`https://hanzo.id`,title:`Team`,hosts:[`hanzo.team`,`www.hanzo.team`,`hanzo.app`,`localhost`,`127.0.0.1`]},{org:`hanzo`,app:`team2`,issuer:`https://hanzo.id`,title:`Team`,hosts:[`team2.hanzo.ai`,`team2.hanzo.app`,`hanzo-team.hanzo.app`]}],fpe=()=>typeof window>`u`?``:window.location.hostname,$0=Q0.find(e=>e.hosts.includes(fpe()))??Q0[0],e2=`${$0.org}-${$0.app}`,t2=32;function n2(e){let t=new Uint8Array(e);return crypto.getRandomValues(t),r2(t.buffer)}async function ppe(e){let t=new TextEncoder;return crypto.subtle.digest(`SHA-256`,t.encode(e))}function r2(e){let t=new Uint8Array(e),n=``;for(let e of t)n+=String.fromCharCode(e);return btoa(n).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/,``)}async function i2(){let e=n2(t2);return{codeVerifier:e,codeChallenge:r2(await ppe(e))}}function a2(){return n2(t2)}var o2={discovery:`/.well-known/openid-configuration`,authorize:`/v1/iam/oauth/authorize`,token:`/v1/iam/oauth/token`,userinfo:`/v1/iam/oauth/userinfo`,jwks:`/v1/iam/.well-known/jwks`,logout:`/v1/iam/oauth/logout`,revoke:`/v1/iam/oauth/revoke`},s2={login:`/v1/iam/login`,sendCode:`/v1/iam/verification-codes`,web3Nonce:`/v1/iam/web3/nonce`,web3Verify:`/v1/iam/web3/verify`};function c2(e){return e.replace(/\/+$/,``)}function l2(e,t){return`${c2(e)}${o2[t]}`}function mpe(e){let t=new URL(e.endpoint??l2(e.serverUrl,`authorize`));t.searchParams.set(`client_id`,e.clientId),t.searchParams.set(`response_type`,`code`),t.searchParams.set(`redirect_uri`,e.redirectUri),t.searchParams.set(`scope`,e.scope??`openid profile email`),t.searchParams.set(`state`,e.state),e.codeChallenge&&(t.searchParams.set(`code_challenge`,e.codeChallenge),t.searchParams.set(`code_challenge_method`,`S256`)),e.prompt&&t.searchParams.set(`prompt`,e.prompt);for(let[n,r]of Object.entries(e.params??{}))t.searchParams.set(n,r);return t}function hpe(e){if(!e)return{};try{let t=e.split(`.`)[1];return t?JSON.parse(atob(t.replace(/-/g,`+`).replace(/_/g,`/`))):{}}catch{return{}}}var u2=`hanzo_iam_`,d2=`${u2}state`,f2=`${u2}code_verifier`,p2=`${u2}access_token`,m2=`${u2}refresh_token`,h2=`${u2}id_token`,g2=`${u2}expires_at`,_2=`${f2}:`;function v2(e){return`${_2}${e}`}var gpe=12;function _pe(e,t){return`${t}.${e}`}function y2(e){let t=e.indexOf(`.`);if(t>0){let n=e.slice(0,t);if(/^\d+$/.test(n))return{issuedAt:Number(n),codeVerifier:e.slice(t+1)}}return{issuedAt:0,codeVerifier:e}}var vpe=`hanzo_iam_login`,ype=`hanzo-iam`;function b2(e){try{let t=e(),n=`${u2}probe`;return t.setItem(n,`1`),t.removeItem(n),t}catch{return null}}function bpe(){return b2(()=>localStorage)??b2(()=>sessionStorage)}function xpe(){let e=new Map;return{get length(){return e.size},clear:()=>e.clear(),getItem:t=>e.has(t)?e.get(t):null,key:t=>Array.from(e.keys())[t]??null,removeItem:t=>{e.delete(t)},setItem:(t,n)=>{e.set(t,String(n))}}}var Spe=class{config;storage;txStorage;redeemable;discoveryCache=null;callbackInFlight=null;constructor(e){this.config=e;let t=bpe();this.storage=e.storage??t??xpe(),this.txStorage=t??this.storage,this.redeemable=t!==null||e.storage!==void 0}async getDiscovery(){if(this.discoveryCache)return this.discoveryCache;let e=c2(this.config.serverUrl);try{let t=await fetch(`${e}${o2.discovery}`,{headers:{Accept:`application/json`}});if(t.ok)return this.discoveryCache=await t.json(),this.discoveryCache}catch{}return this.discoveryCache={issuer:e,authorization_endpoint:l2(e,`authorize`),token_endpoint:l2(e,`token`),userinfo_endpoint:l2(e,`userinfo`),jwks_uri:l2(e,`jwks`),revocation_endpoint:l2(e,`revoke`),end_session_endpoint:l2(e,`logout`),response_types_supported:[`code`],grant_types_supported:[`authorization_code`,`refresh_token`],scopes_supported:[`openid`,`email`,`profile`]},this.discoveryCache}async tokenEndpoint(){return this.config.proxyBaseUrl?l2(this.config.proxyBaseUrl,`token`):(await this.getDiscovery()).token_endpoint}async userinfoEndpoint(){return this.config.proxyBaseUrl?l2(this.config.proxyBaseUrl,`userinfo`):(await this.getDiscovery()).userinfo_endpoint}async revocationEndpoint(){return this.config.proxyBaseUrl?l2(this.config.proxyBaseUrl,`revoke`):(await this.getDiscovery()).revocation_endpoint??l2(this.config.serverUrl,`revoke`)}async endSessionEndpoint(){return this.config.proxyBaseUrl?l2(this.config.proxyBaseUrl,`logout`):(await this.getDiscovery()).end_session_endpoint??l2(this.config.serverUrl,`logout`)}stashPkce(e,t){let n=Date.now();this.sweepStaleVerifiers(n),this.txStorage.setItem(v2(e),_pe(t,n)),this.txStorage.setItem(d2,e),this.txStorage.setItem(f2,t)}sweepStaleVerifiers(e){let t=[];for(let n=this.txStorage.length-1;n>=0;n--){let r=this.txStorage.key(n);if(!r||!r.startsWith(_2))continue;if(e===void 0){this.txStorage.removeItem(r);continue}let i=this.txStorage.getItem(r);t.push({key:r,issuedAt:i?y2(i).issuedAt:0})}t.sort((e,t)=>t.issuedAt-e.issuedAt);for(let e of t.slice(gpe-1))this.txStorage.removeItem(e.key)}async buildAuthorizeUrl(e){if(!this.redeemable)throw Error(`@hanzo/iam: this browser keeps neither localStorage nor sessionStorage, so the PKCE verifier cannot outlive the redirect to IAM and the callback would fail. Call usableStorage() before starting a login to catch this on the page.`);let t=await this.getDiscovery(),{codeVerifier:n,codeChallenge:r}=await i2(),i=a2();return this.stashPkce(i,n),{url:mpe({endpoint:t.authorization_endpoint,serverUrl:this.config.serverUrl,clientId:this.config.clientId,redirectUri:this.config.redirectUri,state:i,scope:this.config.scope,codeChallenge:r,prompt:e?.prompt,params:e?.additionalParams}),codeVerifier:n,state:i}}async signinRedirect(e){let{url:t}=await this.buildAuthorizeUrl(e);window.location.replace(t.toString())}async getSigninUrl(e){let{url:t}=await this.buildAuthorizeUrl(e);return t.toString()}async beginCredential(){let{codeVerifier:e,codeChallenge:t}=await i2(),n=a2();return this.stashPkce(n,e),{codeChallenge:t,state:n}}async credentialLogin(e){let{codeChallenge:t,state:n}=await this.beginCredential(),r=this.config.proxyBaseUrl??this.config.serverUrl,i=new URL(`${c2(r)}${s2.login}`);i.searchParams.set(`clientId`,this.config.clientId),i.searchParams.set(`responseType`,`code`),i.searchParams.set(`redirectUri`,this.config.redirectUri),i.searchParams.set(`scope`,this.config.scope??`openid profile email`),i.searchParams.set(`state`,n),i.searchParams.set(`type`,`code`),i.searchParams.set(`code_challenge`,t),i.searchParams.set(`code_challenge_method`,`S256`);let a=await fetch(i.toString(),{method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},credentials:`include`,body:JSON.stringify({type:`code`,application:this.config.application??this.config.clientId,organization:this.config.organization,autoSignin:!0,...e})}),o=await a.json().catch(()=>({}));if(!a.ok||o.status===`error`)throw Error(typeof o.msg==`string`?o.msg:`sign-in failed (${a.status})`);let s=o.data;if(typeof s!=`string`||s.length===0)throw Error(`IAM did not return an authorization code`);let c=this.config.redirectUri.includes(`?`)?`&`:`?`;return`${this.config.redirectUri}${c}code=${encodeURIComponent(s)}&state=${encodeURIComponent(n)}`}loginWithPassword(e,t){return this.credentialLogin({username:e,password:t,signinMethod:`Password`})}loginWithCode(e,t){let n=e.includes(`@`);return this.credentialLogin({username:e,code:t,signinMethod:`Verification code`,...n?{email:e}:{phone:e}})}async sendLoginCode(e){let t=e.includes(`@`),n=this.config.proxyBaseUrl??this.config.serverUrl,r=new URL(`${c2(n)}${s2.sendCode}`);r.searchParams.set(`clientId`,this.config.clientId),this.config.organization&&r.searchParams.set(`organization`,this.config.organization);let i=await fetch(r.toString(),{method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},body:JSON.stringify({applicationId:`admin/${this.config.application??this.config.clientId}`,organization:this.config.organization,dest:e,type:t?`email`:`phone`,method:`login`,checkUser:e})}),a=await i.json().catch(()=>({}));if(!i.ok||a.status===`error`)throw Error(typeof a.msg==`string`?a.msg:`could not send code (${i.status})`)}async handleCallback(e){let t=new URL(e??window.location.href),n=t.searchParams.get(`error`);if(n){if(!this.isOwnAttempt(t.searchParams.get(`state`)))throw Error(`OAuth error on a sign-in this browser did not start. Restart sign-in.`);let e=t.searchParams.get(`error_description`)??n;throw Error(`OAuth error: ${e}`)}let r=t.searchParams.get(`code`);if(!r)throw Error(`Missing authorization code in callback URL`);let i=this.callbackInFlight;if(i&&i.code===r)return i.promise;let a=this.exchangeCode(t,r);return this.callbackInFlight={code:r,promise:a},a.catch(()=>{this.callbackInFlight?.promise===a&&(this.callbackInFlight=null)}),a}isOwnAttempt(e){if(!e)return!1;let t=v2(e);return this.txStorage.getItem(t)??this.storage.getItem(t)?!0:(this.txStorage.getItem(d2)??this.storage.getItem(d2))===e}async exchangeCode(e,t){let n=e.searchParams.get(`state`),r=n?v2(n):null,i=r?this.txStorage.getItem(r)??this.storage.getItem(r):null,a=i?y2(i).codeVerifier:null;if(a&&r)this.txStorage.removeItem(r),this.storage.removeItem(r),(this.txStorage.getItem(d2)===n||this.storage.getItem(d2)===n)&&(this.txStorage.removeItem(d2),this.txStorage.removeItem(f2),this.storage.removeItem(d2),this.storage.removeItem(f2));else{let e=this.txStorage.getItem(d2)??this.storage.getItem(d2);if(!e||n!==e)throw Error(`OAuth state mismatch — stale, concurrent, or forged login. Restart sign-in.`);if(a=this.txStorage.getItem(f2)??this.storage.getItem(f2),!a)throw Error(`Missing PKCE code verifier — start sign-in via signinRedirect() or the embedded credential login.`);this.txStorage.removeItem(d2),this.txStorage.removeItem(f2),this.storage.removeItem(d2),this.storage.removeItem(f2)}let o=new URLSearchParams({grant_type:`authorization_code`,client_id:this.config.clientId,code:t,redirect_uri:this.config.redirectUri,code_verifier:a}),s=await this.tokenEndpoint(),c=await fetch(s,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:o.toString()});if(!c.ok){let e=await c.text().catch(()=>``);throw Error(`Token exchange failed (${c.status}): ${e}`)}let l=await c.json();return this.storeTokens(l),x2(l)}async refreshAccessToken(){let e=this.storage.getItem(m2);if(!e)throw Error(`No refresh token available`);let t=new URLSearchParams({grant_type:`refresh_token`,client_id:this.config.clientId,refresh_token:e}),n=await this.tokenEndpoint(),r=await fetch(n,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:t.toString()});if(!r.ok){let e=await r.text().catch(()=>``);throw Error(`Token refresh failed (${r.status}): ${e}`)}let i=await r.json();return this.storeTokens(i),x2(i)}async signinPopup(e){let{url:t,state:n}=await this.buildAuthorizeUrl({additionalParams:e?.additionalParams}),r=e?.width??600,i=e?.height??700,a=window.screenX+(window.outerWidth-r)/2,o=window.screenY+(window.outerHeight-i)/2,s=new URL(this.config.redirectUri,window.location.href).origin;return new Promise((c,l)=>{let u=window.open(t.toString(),vpe,`width=${r},height=${i},left=${a},top=${o},menubar=no,toolbar=no`);if(!u){l(Error(`Failed to open login popup — blocked by browser?`));return}let d=!1,f=null,p=()=>{if(!d){d=!0,window.removeEventListener(`message`,m),clearInterval(h),clearTimeout(g),f&&clearTimeout(f);try{u.closed||u.close()}catch{}}},m=e=>{if(d||e.origin!==s)return;let t=e.data;if(!t||typeof t!=`object`||t.source!==ype)return;if(typeof t.state!=`string`||t.state!==n){p(),l(Error(`OAuth state mismatch — possible CSRF (popup)`));return}if(t.error){p(),l(Error(`OAuth error: ${t.error}`));return}if(typeof t.code!=`string`||t.code.length===0){p(),l(Error(`Login popup returned no authorization code`));return}let r=t.code,i=t.state;p();let a=this.config.redirectUri.includes(`?`)?`&`:`?`,o=`${this.config.redirectUri}${a}code=${encodeURIComponent(r)}&state=${encodeURIComponent(i)}`;this.handleCallback(o).then(c,l)};window.addEventListener(`message`,m);let h=setInterval(()=>{d||!u.closed||f||(f=setTimeout(()=>{d||(p(),l(Error(`Login popup was closed before completing`)))},1e3))},300),g=setTimeout(()=>{d||(p(),l(Error(`Login popup timed out`)))},e?.timeoutMs??3e5)})}async loginWithWallet(e){let t=e?.provider??globalThis.ethereum;if(!t||typeof t.request!=`function`)throw Error(`No EIP-1193 wallet provider found (window.ethereum).`);let n=await t.request({method:`eth_requestAccounts`}),r=Array.isArray(n)?n[0]:void 0;if(!r)throw Error(`Wallet did not return an address`);let i=c2(this.config.proxyBaseUrl??this.config.serverUrl),a=new URL(`${i}${s2.web3Nonce}`);a.searchParams.set(`address`,r),a.searchParams.set(`clientId`,this.config.clientId),this.config.organization&&a.searchParams.set(`organization`,this.config.organization);let o=await fetch(a.toString(),{headers:{Accept:`application/json`},credentials:`include`}),s=await o.json().catch(()=>({}));if(!o.ok||s.status===`error`)throw Error(typeof s.msg==`string`?s.msg:`wallet nonce failed (${o.status})`);let c=s.data??s,l=c.message,u=c.nonce;if(!l)throw Error(`IAM did not return a SIWx message to sign`);let d=await t.request({method:`personal_sign`,params:[l,r]}),{codeChallenge:f,state:p}=await this.beginCredential(),m=new URL(`${i}${s2.web3Verify}`);m.searchParams.set(`clientId`,this.config.clientId),m.searchParams.set(`responseType`,`code`),m.searchParams.set(`redirectUri`,this.config.redirectUri),m.searchParams.set(`scope`,this.config.scope??`openid profile email`),m.searchParams.set(`state`,p),m.searchParams.set(`code_challenge`,f),m.searchParams.set(`code_challenge_method`,`S256`);let h=await fetch(m.toString(),{method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},credentials:`include`,body:JSON.stringify({application:this.config.application??this.config.clientId,organization:this.config.organization,address:r,message:l,signature:d,nonce:u})}),g=await h.json().catch(()=>({}));if(!h.ok||g.status===`error`)throw Error(typeof g.msg==`string`?g.msg:`wallet verify failed (${h.status})`);let _=g.data;if(typeof _!=`string`||_.length===0)throw Error(`IAM did not return an authorization code`);let v=this.config.redirectUri.includes(`?`)?`&`:`?`,y=`${this.config.redirectUri}${v}code=${encodeURIComponent(_)}&state=${encodeURIComponent(p)}`;return this.handleCallback(y)}storeTokens(e){if(this.storage.setItem(p2,e.access_token),e.refresh_token&&this.storage.setItem(m2,e.refresh_token),e.id_token&&this.storage.setItem(h2,e.id_token),e.expires_in){let t=Date.now()+e.expires_in*1e3;this.storage.setItem(g2,String(t))}else{let t=hpe(e.access_token).exp;typeof t==`number`&&Number.isFinite(t)&&this.storage.setItem(g2,String(t*1e3))}}getAccessToken(){return this.storage.getItem(p2)}getRefreshToken(){return this.storage.getItem(m2)}getIdToken(){return this.storage.getItem(h2)}getExpiresAt(){let e=this.storage.getItem(g2);if(!e)return null;let t=Number(e);return Number.isFinite(t)?t:null}isTokenExpired(){let e=this.storage.getItem(g2);return e?Date.now()>=Number(e):!1}async getValidAccessToken(){let e=this.getAccessToken();if(e&&!this.isTokenExpired())return e;if(this.getRefreshToken())try{return(await this.refreshAccessToken()).accessToken}catch{return null}return null}clearTokens(){this.storage.removeItem(p2),this.storage.removeItem(m2),this.storage.removeItem(h2),this.storage.removeItem(g2),this.storage.removeItem(d2),this.storage.removeItem(f2),this.txStorage.removeItem(d2),this.txStorage.removeItem(f2),this.sweepStaleVerifiers();for(let e=this.storage.length-1;e>=0;e--){let t=this.storage.key(e);t&&t.startsWith(_2)&&this.storage.removeItem(t)}}async logout(){let e=this.storage.getItem(p2),t=this.storage.getItem(m2),n=this.storage.getItem(h2);await this.revoke(t,`refresh_token`,e),await this.revoke(e,`access_token`,e);let r=new URL(await this.endSessionEndpoint());n&&r.searchParams.set(`id_token_hint`,n),this.config.postLogoutRedirectUri&&r.searchParams.set(`post_logout_redirect_uri`,this.config.postLogoutRedirectUri),this.clearTokens(),window.location.href=r.toString()}async revoke(e,t,n){if(e)try{await fetch(await this.revocationEndpoint(),{method:`POST`,credentials:`include`,headers:{"Content-Type":`application/x-www-form-urlencoded`,...n?{Authorization:`Bearer ${n}`}:{}},body:new URLSearchParams({token:e,token_type_hint:t,client_id:this.config.clientId}).toString()})}catch{}}async getUserInfo(){let e=await this.getValidAccessToken();if(!e)throw Error(`No valid access token — user must log in`);let t=await this.userinfoEndpoint(),n=await fetch(t,{headers:{Authorization:`Bearer ${e}`}});if(!n.ok)throw Error(`Userinfo fetch failed (${n.status})`);return await n.json()}async getUser(){if(!await this.getValidAccessToken())return null;let e=await this.getUserInfo();return{sub:e.sub??``,email:e.email,name:e.name,givenName:e.given_name,familyName:e.family_name,phoneNumber:e.phone_number,emailVerified:e.email_verified,picture:e.picture,owner:e.owner}}};function x2(e){return{accessToken:e.access_token,refreshToken:e.refresh_token,idToken:e.id_token,expiresIn:e.expires_in,tokenType:e.token_type,scope:e.scope}}var S2=`https://api.hanzo.ai`,C2={account:`${S2}/v1/team/account`,channels:`${S2}/v1/team/channels`,files:`${S2}/v1/team/files`,plan:`${S2}/v1/team/billing/plan`};`${$0.issuer}${$0.org}${$0.app}`;var Cpe=`/login`,wpe=`/auth/callback`,Tpe=`openid profile email offline_access`,w2=null,T2=()=>{if(w2)return w2;let e=window.location.origin;return w2=new Spe({serverUrl:$0.issuer,clientId:e2,redirectUri:`${e}${wpe}`,postLogoutRedirectUri:`${e}${Cpe}`,scope:Tpe,proxyBaseUrl:void 0}),w2},E2=new Map,D2=new Set,O2=0,k2=()=>{O2++;for(let e of D2)e()},Epe=e=>(D2.add(e),()=>void D2.delete(e)),A2=e=>{let t=E2.get(e);return t||(t={phase:`loading`,started:!1},E2.set(e,t)),t},j2=(e,t)=>{let n=A2(e);n.started=!0,t().then(t=>{E2.set(e,{phase:`ready`,data:t,started:!0}),k2()},t=>{E2.set(e,{phase:`failure`,error:Dpe(t),started:!0}),k2()})},Dpe=e=>e instanceof Error?e:Error(String(e)),M2=(e,t,n={})=>{let r=n.enabled??!0;(0,b.useSyncExternalStore)(Epe,()=>O2,()=>O2);let i=A2(e);r&&!i.started&&j2(e,t);let a=(0,b.useCallback)(()=>{E2.delete(e),j2(e,t),k2()},[e]);return{phase:i.phase,data:i.data,error:i.error,reload:a}},N2=e=>{if(!e)E2.clear();else for(let t of[...E2.keys()])t.startsWith(e)&&E2.delete(t);k2()},P2=(e,t)=>{E2.set(e,{phase:`ready`,data:t,started:!0}),k2()},F2=e=>E2.get(e)?.data,I2=(0,b.createContext)(null),L2=()=>{let e=(0,b.useContext)(I2);if(!e)throw Error(`useSession outside <Session>`);return e},R2=`team.back`,z2=()=>{let e=window.location.pathname+window.location.search;!e.startsWith(`/login`)&&!e.startsWith(`/auth/`)&&sessionStorage.setItem(R2,e)},Ope=()=>{let e=sessionStorage.getItem(R2);return sessionStorage.removeItem(R2),e??`/`},B2=`team.silent`,kpe=/bot|crawl|spider|slurp|preview|lighthouse|headless/i,Ape=()=>{if(navigator.webdriver||kpe.test(navigator.userAgent)||Z0(window.location.hostname))return!1;try{return!sessionStorage.getItem(B2)}catch{return!1}},V2=()=>{try{sessionStorage.setItem(B2,`1`)}catch{}},jpe=new Set([`login_required`,`interaction_required`,`consent_required`,`account_selection_required`]),Mpe=6e4,H2=e=>{let t=e instanceof Error?e.message:String(e);return t.includes(`(401)`)||t.includes(`(403)`)},Npe=({children:e})=>{let[t,n]=(0,b.useState)(`unknown`),[r,i]=(0,b.useState)(null),a=(0,b.useCallback)(async()=>{try{let e=await T2().getUser();i(e?Ppe(e):null),n(`in`),N2()}catch(e){if(H2(e)){T2().clearTokens(),i(null),n(`out`),N2();return}i(null),n(`in`),N2()}},[]),o=(0,b.useCallback)(()=>{i(null),n(`out`),N2()},[]),s=(0,b.useRef)(!1);(0,b.useEffect)(()=>{s.current||(s.current=!0,(async()=>{if(!window.location.pathname.startsWith(`/auth/`)){if(new URLSearchParams(window.location.search).get(`from`)===`logout`){V2(),T2().clearTokens(),o();return}if(await T2().getValidAccessToken().catch(()=>null))return a();if(Ape()){V2(),z2();try{window.location.replace(upe(await T2().getSigninUrl({additionalParams:{prompt:`none`}})));return}catch{}}o()}})())},[a,o]),(0,b.useEffect)(()=>{if(t!==`in`)return;let e=Date.now(),n=()=>{document.visibilityState!==`visible`||Date.now()-e<Mpe||(e=Date.now(),T2().getUserInfo().catch(e=>{H2(e)&&(T2().clearTokens(),o())}))};return document.addEventListener(`visibilitychange`,n),()=>document.removeEventListener(`visibilitychange`,n)},[t,o]);let c=(0,b.useCallback)(async(e=`login`,t={})=>{z2();let n=await T2().getSigninUrl(cpe(t.hint)),r=t.provider??new URLSearchParams(window.location.search).get(`provider`);window.location.replace(lpe(n,e,r))},[]),l=(0,b.useCallback)(e=>(z2(),T2().getSigninUrl(e)),[]),u=(0,b.useCallback)(()=>{let e=T2(),t=e.getAccessToken(),n=e.getRefreshToken();e.clearTokens(),o(),(async()=>{try{let e=async(e,n)=>{e&&await fetch(`/v1/iam/oauth/revoke`,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`,...t?{Authorization:`Bearer ${t}`}:{}},body:new URLSearchParams({token:e,token_type_hint:n,client_id:e2}).toString()}).catch(()=>void 0)};await e(n,`refresh_token`),await e(t,`access_token`)}finally{window.location.assign(dpe($0.issuer,e2,window.location.origin))}})()},[o]),d=(0,b.useCallback)(async()=>{let e=Ope();if(jpe.has(new URLSearchParams(window.location.search).get(`error`)??``))return e;if(!(await T2().handleCallback()).accessToken)throw Error(`the issuer returned no access token`);return await a(),e},[a]),f=(0,b.useMemo)(()=>({standing:t,who:r,depart:c,request:l,leave:u,land:d}),[t,r,c,l,u,d]);return(0,L.jsx)(I2.Provider,{value:f,children:e})},Ppe=e=>{let t=String(e.preferred_username??e.name??e.sub??``);return{id:String(e.sub??t),name:t,label:String(e.name??e.preferred_username??t),email:typeof e.email==`string`?e.email:void 0,avatar:typeof e.picture==`string`?e.picture:void 0}},U2=class extends Error{status;detail;constructor(e,t){super(t||`HTTP ${e}`),this.status=e,this.detail=t,this.name=`Refused`}},Fpe=async()=>{let e=await T2().getValidAccessToken().catch(()=>null);return e?{authorization:`Bearer ${e}`}:{}},W2=async(e,t)=>{let n=await fetch(e,{...t,headers:{accept:`application/json`,...t?.body?{"content-type":`application/json`}:{},...await Fpe(),...t?.headers}}),r=await n.text();if(!n.ok)throw new U2(n.status,Lpe(r)||n.statusText);if(r)try{return JSON.parse(r)}catch{throw new U2(n.status,`expected JSON, read ${r.length} bytes of ${n.headers.get(`content-type`)??`nothing`}`)}},Ipe=(e,t)=>W2(e,{method:`POST`,body:JSON.stringify(t)}),Lpe=e=>{try{let t=JSON.parse(e);return t.detail??t.message??``}catch{return e.slice(0,200)}},G2=class extends Error{code;constructor(e,t){super(t),this.code=e,this.name=`Denied`}get unauthorized(){return this.code.endsWith(`:Unauthorized`)}},K2=async(e,t={})=>{let n=await Ipe(C2.account,{method:e,params:t});if(n.error)throw new G2(n.error.code,n.error.params?.message??n.error.code);return n.result},Rpe=()=>K2(`getUserWorkspaces`),zpe=e=>K2(`selectWorkspace`,{workspaceUrl:e}),Y={project:`team:class:Project`,issue:`team:class:Issue`,status:`team:class:IssueStatus`,milestone:`team:class:Milestone`,component:`team:class:Component`,person:`team:class:Person`,channel:`team:class:Channel`,direct:`team:class:DirectMessage`,message:`team:class:ChatMessage`,reply:`team:class:ThreadMessage`,reaction:`team:class:Reaction`,notice:`team:class:ActivityInboxNotification`,tag:`team:class:TagReference`},q2={create:`team:tx:CreateDoc`,update:`team:tx:UpdateDoc`,remove:`team:tx:RemoveDoc`},J2={backlog:`team:statusCategory:Backlog`,todo:`team:statusCategory:Unstarted`,doing:`team:statusCategory:Started`,done:`team:statusCategory:Completed`,cancelled:`team:statusCategory:Cancelled`},Y2={none:0,urgent:1,high:2,medium:3,low:4},X2=e=>(e?.name??``).trim(),Bpe=(e,t)=>e?`${e.identifier}-${t.number}`:`#${t.number}`,Z2=(e,...t)=>[e,...t.map(e=>e??``)].join(`|`),Q2={request:0,response:1,push:2},$2=16,Vpe=16,Hpe=24,Upe=40,Wpe=0,Gpe=4,Kpe=8,qpe=16,e4=new TextEncoder,t4=new TextDecoder,n4=e=>{let t=e4.encode(e.method),n=e.payload,r=Upe,i=r,a=t.length>0?r-24:0;t.length>0&&(r+=t.length);let o=r,s=n.length>0?r-32:0;n.length>0&&(r+=n.length);let c=new Uint8Array(r),l=new DataView(c.buffer);return c.set(e4.encode(`ZAP\0`),0),l.setUint16(4,2,!0),l.setUint16(6,0,!0),l.setUint32(8,Vpe,!0),l.setUint32(12,r,!0),l.setUint32(16,e.id,!0),c[20]=e.kind,l.setUint32(24,a,!0),l.setUint32(28,t.length,!0),l.setUint32(32,s,!0),l.setUint32(36,n.length,!0),c.set(t,i),c.set(n,o),c},Jpe=e=>{if(e.length<$2||t4.decode(e.subarray(0,4))!==`ZAP\0`)return null;let t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=t.getUint32(8,!0);return n<$2||n+Hpe>e.length?null:{id:t.getUint32(n+Wpe,!0),kind:e[n+Gpe],method:t4.decode(r4(e,t,n+Kpe)),payload:r4(e,t,n+qpe).slice()}},r4=(e,t,n)=>{if(n+8>e.length)return new Uint8Array;let r=t.getUint32(n,!0);if(r===0)return new Uint8Array;let i=t.getUint32(n+4,!0),a=n+r;return a<$2||a+i>e.length?new Uint8Array:e.subarray(a,a+i)},Ype=(e,t,n,r)=>n4({id:e,kind:t,method:n,payload:e4.encode(JSON.stringify(r))}),Xpe=e=>t4.decode(e.payload),Zpe=e=>{if(e==null)return[];if(Array.isArray(e))return e;let t=e.value;if(Array.isArray(t))return t;throw Error(`findAll answered something that is not a list of documents`)},Qpe=25e3,i4=[500,1e3,2e3,5e3,1e4,2e4],$pe=class{slug;socket=null;next=1;waiting=new Map;listeners=new Set;standings=new Set;beat=null;retry=null;attempt=0;closed=!1;opening=null;standing=`idle`;entry=null;get account(){return this.entry?`hanzo:${this.entry.account}`:null}constructor(e){this.slug=e}watch(e){return this.listeners.add(e),()=>void this.listeners.delete(e)}observe(e){return this.standings.add(e),()=>void this.standings.delete(e)}async open(){if(this.socket?.readyState!==WebSocket.OPEN)return this.opening||=this.connect().finally(()=>{this.opening=null}),this.opening}close(){this.closed=!0,this.stopBeat(),this.retry&&clearTimeout(this.retry),this.socket?.close(),this.socket=null,this.settle(`idle`)}async find(e,t={},n={}){return Zpe(await this.call(`findAll`,[e,t,n]))}async one(e,t){return(await this.find(e,t,{limit:1}))[0]}async write(e){await this.call(`tx`,[e])}async call(e,t=[]){await this.open();let n=this.socket;if(!n||n.readyState!==WebSocket.OPEN)throw Error(`the space plane is not open`);let r=this.next++;return new Promise((i,a)=>{this.waiting.set(r,{resolve:i,reject:a}),n.send(Ype(r,Q2.request,e,{id:r,method:e,params:t}))})}async connect(){this.closed=!1,this.settle(`opening`);let e=await zpe(this.slug);this.entry=e,await new Promise((t,n)=>{let r=new WebSocket(`${e.endpoint}/${e.token}`);r.binaryType=`arraybuffer`,this.socket=r,r.onmessage=e=>this.receive(e.data),r.onerror=()=>n(Error(`the space plane refused the connection`)),r.onclose=()=>{this.stopBeat();for(let e of this.waiting.values())e.reject(Error(`the space plane closed`));this.waiting.clear(),!this.closed&&(this.settle(`lost`),this.later())},r.onopen=()=>{this.call(`hello`,[]).then(()=>{this.attempt=0,this.settle(`live`),this.startBeat(),t()}).catch(n)}})}receive(e){if(typeof e==`string`)return;let t=Jpe(new Uint8Array(e));if(!t)return;let n=Xpe(t);if(n===`pong!`)return;let r;try{r=JSON.parse(n)}catch{return}if(t.kind===Q2.push||r.id===void 0){let e=Array.isArray(r.result)?r.result:[];if(e.length)for(let t of this.listeners)t(e);return}let i=this.waiting.get(r.id);i&&(this.waiting.delete(r.id),r.error?i.reject(Error(String(r.error))):i.resolve(r.result))}startBeat(){this.stopBeat(),this.beat=setInterval(()=>{this.socket?.readyState===WebSocket.OPEN&&this.socket.send(n4({id:0,kind:Q2.request,method:``,payload:new TextEncoder().encode(`ping`)}))},Qpe)}stopBeat(){this.beat&&clearInterval(this.beat),this.beat=null}later(){let e=i4[Math.min(this.attempt++,i4.length-1)];this.retry=setTimeout(()=>void this.open().catch(()=>this.later()),e)}settle(e){this.standing=e;for(let t of this.standings)t(e)}},a4=[{id:`vi`,name:`Vi`,role:`Strategist`,department:`Executive`,lead:!0,avatar:`/agents/vi.png`,schedule:`0 8 * * 1-5`,triggers:[`channel`,`webhook`,`watch`],status:`Q4 roadmap & OKR alignment published in #general.`},{id:`opera`,name:`Opera`,role:`COO`,department:`Operations`,lead:!0,avatar:`/agents/opera.png`,schedule:`*/30 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`All 4 orgs operating at 99.98% SLA.`},{id:`mana`,name:`Mana`,role:`Chief of Staff`,department:`Operations`,lead:!0,avatar:`/agents/mana.png`,schedule:`0 9 * * 1-5`,triggers:[`channel`,`webhook`,`watch`],status:`Daily standup summary posted across 6 channels.`},{id:`dev`,name:`Dev`,role:`Engineer`,department:`Engineering`,lead:!0,avatar:`/agents/dev.png`,schedule:`*/15 * * * *`,triggers:[`git`,`webhook`,`watch`],status:`Merged 3 PRs in hanzo-inc/app and hanzoai/team.`},{id:`des`,name:`Des`,role:`Designer`,department:`Design`,lead:!0,avatar:`/agents/des.png`,schedule:`0 9 * * 1-5`,triggers:[`channel`,`webhook`,`watch`],status:`Updated @hanzo/gui monochrome tokens in #hanzo-ui.`},{id:`fin`,name:`Fin`,role:`CFO`,department:`Finance`,lead:!0,avatar:`/agents/fin.png`,schedule:`0 7 * * 1-5`,triggers:[`webhook`,`watch`],status:`Commerce ledger & treasury reconciliation complete.`},{id:`huma`,name:`Huma`,role:`People Lead`,department:`People`,lead:!0,avatar:`/agents/huma.png`,schedule:`0 9 * * 1-5`,triggers:[`channel`,`webhook`],status:`Onboarding 2 new engineers this week.`},{id:`mark`,name:`Mark`,role:`CMO`,department:`Marketing`,lead:!0,avatar:`/agents/mark.png`,schedule:`*/30 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`Launch campaign metrics live in Hanzo Analytics.`},{id:`sal`,name:`Sal`,role:`CRO`,department:`Sales`,lead:!0,avatar:`/agents/sal.png`,schedule:`*/15 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`4 enterprise deals advancing in Hanzo CRM.`},{id:`sci`,name:`Sci`,role:`Chief Scientist`,department:`Research`,lead:!0,avatar:`/agents/sci.png`,schedule:`0 */4 * * *`,triggers:[`git`,`webhook`,`watch`],status:`Zen4 MoE benchmark evaluation running on DGX.`},{id:`su`,name:`Su`,role:`Support Lead`,department:`Support`,lead:!0,avatar:`/agents/su.png`,schedule:`*/5 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`Zero open P0/P1 tickets in #hanzo-support.`},{id:`cyber`,name:`Cyber`,role:`CISO`,department:`Security`,lead:!0,avatar:`/agents/cyber.png`,schedule:`*/10 * * * *`,triggers:[`git`,`webhook`,`watch`],status:`Continuous KMS & supply-chain audit clean.`},{id:`rev`,name:`Rev`,role:`Revenue Operations`,department:`Sales`,avatar:`/agents/rev.png`,schedule:`*/15 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`Synced org grants & prepaid balances`},{id:`lang`,name:`Lang`,role:`Localization & i18n`,department:`Engineering`,avatar:`/agents/lang.png`,schedule:`0 */2 * * *`,triggers:[`git`,`webhook`],status:`36 locales verified across hanzo.ai`},{id:`law`,name:`Law`,role:`General Counsel`,department:`Legal`,avatar:`/agents/law.png`,schedule:`0 9 * * 1-5`,triggers:[`channel`,`webhook`],status:`MSA & DPA templates ready in Sign`},{id:`mo`,name:`Mo`,role:`Motion Pictures`,department:`Creative`,avatar:`/agents/mo.png`,schedule:`*/30 * * * *`,triggers:[`git`,`webhook`],status:`4K hero reel & loops in #hanzo-video`},{id:`mu`,name:`Mu`,role:`Music & Audio`,department:`Creative`,avatar:`/agents/mu.png`,schedule:`0 10 * * 1-5`,triggers:[`channel`,`webhook`],status:`Omni Flash voice & sound in Studio`},{id:`data`,name:`Data`,role:`Data & Analytics`,department:`Engineering`,avatar:`/agents/data.png`,schedule:`*/15 * * * *`,triggers:[`git`,`webhook`,`watch`],status:`GA4 & ClickHouse funnels synced`},{id:`gov`,name:`Gov`,role:`Government Affairs`,department:`Legal`,avatar:`/agents/gov.png`,schedule:`0 8 * * 1-5`,triggers:[`webhook`,`watch`],status:`Policy & HIP/ZIP regulatory watch`},{id:`ed`,name:`Ed`,role:`Education`,department:`Marketing`,avatar:`/agents/ed.png`,schedule:`0 9 * * 1-5`,triggers:[`git`,`channel`,`webhook`],status:`Docs & interactive courses live`},{id:`doc`,name:`Doc`,role:`Documentation`,department:`Product`,avatar:`/agents/doc.png`,schedule:`0 */3 * * *`,triggers:[`git`,`channel`],status:`OpenAPI & SDK reference synced`},{id:`biz`,name:`Biz`,role:`Business Development`,department:`Sales`,avatar:`/agents/biz.png`,schedule:`*/30 * * * *`,triggers:[`channel`,`webhook`],status:`Partner & co-selling brief posted`},{id:`art`,name:`Art`,role:`Visual Art`,department:`Design`,avatar:`/agents/art.png`,schedule:`0 10 * * 1-5`,triggers:[`channel`,`webhook`],status:`4K hero stills & visual assets ready`},{id:`grant`,name:`Grant`,role:`Grants & Funding`,department:`Finance`,avatar:`/agents/grant.png`,schedule:`0 */4 * * *`,triggers:[`channel`,`webhook`,`watch`],status:`Tracking 14 open AI, crypto & SBIR grant RFPs`}],o4=a4.filter(e=>e.lead),s4=a4.filter(e=>!e.lead),eme=e=>{let t=/^\*\/(\d+) \* \* \* \*$/.exec(e);if(t)return`Every ${t[1]}m`;let n=/^0 \*\/(\d+) \* \* \*$/.exec(e);if(n)return`Every ${n[1]}h`;let r=/^0 (\d+) \* \* 1-5$/.exec(e);return r?`Weekdays ${r[1]}:00`:`24/7 Proactive`},tme=[`live`,`loading`,`empty`,`failure`,`minimal`,`realistic`],c4=(()=>{if(typeof window>`u`)return`live`;let e=new URLSearchParams(window.location.search).get(`state`);return tme.includes(e??``)?e:`live`})(),l4=()=>new Promise(()=>{}),u4=()=>Promise.reject(Error(`the fixture refuses, on purpose`)),d4=`hanzo`,f4=Date.now(),p4=(e,t)=>({_id:e,_class:t,space:d4,modifiedOn:f4,modifiedBy:`p-zach`}),nme=[{...p4(`p-zach`,Y.person),name:`Kelling,Zach`,city:`San Francisco`},{...p4(`p-antje`,Y.person),name:`Worring,Antje`,city:`Los Angeles`}],rme=a4.map(e=>({...p4(`bot-${e.id}`,Y.person),name:`${e.name} (@${e.id})`,avatar:e.avatar,city:e.department})),ime=[...nme,...rme],m4=(e,t,n,r,i,a)=>({...p4(`proj-${e}`,Y.project),space:d4,name:t,identifier:n,description:a,sequence:r,members:i}),h4=[m4(`crm`,`CRM & Revenue`,`CRM`,42,[`p-zach`,`p-antje`,`bot-rev`,`bot-sal`,`bot-data`,`bot-su`,`bot-fin`,`bot-biz`],"Hanzo CRM (`crm.hanzo.ai`), PostgreSQL audiences (346K investors, 422K customers, 13.5M developer leads), and Commerce deal desk."),m4(`mkt`,`Growth & Design`,`MKT`,18,[`p-antje`,`p-zach`,`bot-mark`,`bot-des`,`bot-art`,`bot-mo`,`bot-doc`,`bot-ed`],`Landing conversion funnels, @hanzo/gui monochrome design system, Omni 1.2 Flash creative assets, and lifecycle journeys.`),m4(`next`,`Cloud & Platform`,`CLOUD`,25,[`p-zach`,`bot-sci`,`bot-dev`,`bot-opera`,`bot-cyber`,`bot-data`,`bot-vi`],"Unified Hanzo Cloud (`api.hanzo.ai/v1`), ZAP transactor ledger, Kubernetes Sites plane, and multi-org IAM."),m4(`dev`,`Hanzo Dev & AI`,`DEV`,31,[`p-zach`,`bot-dev`,`bot-opera`,`bot-cyber`,`bot-mana`,`bot-sci`,`bot-vi`],`Autonomous coding sandboxes, 13 unified MCP tools, KMS hardware enclaves, and ephemeral Kata CI runners.`)],ame=[[`backlog`,`Backlog`,J2.backlog],[`todo`,`To do`,J2.todo],[`doing`,`In progress`,J2.doing],[`done`,`Done`,J2.done]],ome=h4.flatMap(e=>ame.map(([t,n,r])=>({...p4(`${e._id}-${t}`,Y.status),space:e._id,name:n,category:r}))),sme=[{...p4(`cmp-freelynk`,Y.component),space:`proj-crm`,label:`hanzo/crm`,description:"Native CRM surface & PostgreSQL (`hanzo-sql`) audience queries",lead:`bot-rev`},{...p4(`cmp-acme`,Y.component),space:`proj-crm`,label:`hanzo/commerce`,description:`Enterprise deal desk, org credit grants & multi-seat billing`,lead:`bot-sal`},{...p4(`cmp-atlas`,Y.component),space:`proj-next`,label:`hanzo/cloud`,description:"Unified `/v1` API gateway, ZAP transactor & Sites deployment plane",lead:`bot-sci`},{...p4(`cmp-ui`,Y.component),space:`proj-mkt`,label:`hanzo/ui`,description:`@hanzo/gui & @hanzo/ui monochrome component primitives`,lead:`bot-des`},{...p4(`cmp-runner`,Y.component),space:`proj-dev`,label:`hanzo/dev`,description:`Autonomous coding agent harness, MCP tools & Kata CI fleet`,lead:`bot-dev`}],g4=[{in:`crm`,at:`backlog`,title:"Sync ClickHouse telemetry alerts for `/v1/crm` query latency",description:"Wire sub-second p99 latency monitors across `/v1/crm/investors`, `/v1/crm/funds`, and `/v1/crm/leads` in `hanzo-sql`.",rank:Y2.low,done:12,tags:[`Devops`],part:`cmp-freelynk`,who:[`bot-opera`,`bot-data`],files:1},{in:`crm`,at:`backlog`,title:`Cluster & index 13.5M GitHub developer leads by language and star velocity`,description:"Build semantic & star-bucket cohorts (`1k-5k`, `5k-15k`, `15k+`) in `hanzo-sql` for targeted developer outreach.",rank:Y2.low,done:0,tags:[`Devops`,`Research`],part:`cmp-freelynk`,who:[`bot-data`,`bot-sci`,`bot-rev`],files:3,replies:10},{in:`crm`,at:`backlog`,title:`Benchmark institutional VC & Family Office reply rates across 28 lists`,description:"Compare open and reply conversion across `vc`, `crypto_vc`, `accredited`, and `family_office` segments.",rank:Y2.medium,done:5,tags:[`Marketing`],part:`cmp-freelynk`,who:[`bot-mark`,`bot-sal`]},{in:`crm`,at:`backlog`,title:`Split Commerce billing export by human seat vs. 24/7 autonomous bot lease`,description:"Ensure `/v1/billing` invoices separate human workspace seats from per-second autonomous bot compute leases.",rank:Y2.medium,done:0,tags:[`Backend`],part:`cmp-acme`,who:[`bot-fin`,`bot-rev`],replies:3},{in:`crm`,at:`backlog`,title:"Define retention policy for dormant trial workspaces on `/v1/team`",description:"Archive inactive trial SQLite stores to `hanzoai/s3` cold storage after 90 days of zero transactor activity.",rank:Y2.low,tags:[`Research`],who:[`bot-law`,`bot-opera`]},{in:`crm`,at:`backlog`,title:`Streamline CSV column matcher in Hanzo CRM import modal`,description:`Auto-detect First Name, Email, Company, and Check Size headers when importing external LP/investor sheets.`,rank:Y2.low,done:0,tags:[`Design`],part:`cmp-freelynk`,who:[`bot-des`,`p-antje`],files:2},{in:`crm`,at:`backlog`,title:`Measure first-response SLA on inbound enterprise deal rooms`,description:"Track time from inbound `/v1/crm` lead capture to `@sal` + `@rev` automated data room provisioning.",rank:Y2.medium,done:8,tags:[`Devops`,`QA`],part:`cmp-freelynk`,who:[`bot-su`,`bot-rev`]},{in:`crm`,at:`todo`,title:"Reconcile org prepaid credit grants (`z/hanzo`) with bot lease billing",description:"Ensure autonomous agent leases charge the organization credit grant on `z/hanzo` ($156.6K balance) rather than individual user wallets.",rank:Y2.high,done:20,tags:[`Sales`,`Backend`],part:`cmp-acme`,who:[`bot-rev`,`p-zach`,`bot-fin`],files:1,replies:7},{in:`crm`,at:`todo`,title:`Unify Slack-style top search bar and bottom-left account switcher across Team`,description:"Keep Back/Forward/History + centered `⌘K` search in the 40px top bar and place the active user avatar menu at the bottom of the left rail.",rank:Y2.medium,done:25,tags:[`Design`,`Frontend`],part:`cmp-ui`,who:[`bot-des`,`p-zach`],replies:4},{in:`crm`,at:`todo`,title:"Connect WebRTC spatial audio & live AI transcript in Virtual Office (`/meet`)",description:"Bridge `@mana` real-time meeting notes directly into Tracker action items with 1-click issue creation.",rank:Y2.medium,done:0,tags:[`Feature`],who:[`bot-mana`,`bot-mu`]},{in:`crm`,at:`todo`,title:`Deduplicate 346K investor contacts by normalized email domain on import`,description:"Merge duplicate partner records across `investors` and `funds` tables in `hanzo-sql` while preserving check-size metadata.",rank:Y2.high,done:40,tags:[`Backend`,`QA`],part:`cmp-freelynk`,who:[`bot-data`,`bot-dev`],files:1,replies:6},{in:`crm`,at:`todo`,title:"Persist custom cohort filters in `/crm/investors` and `/crm/leads`",description:"Save active star-bucket (`★ 1000-5000`, `★ 15000+`) and investor category filters in URL query state.",rank:Y2.medium,done:15,tags:[`Frontend`],part:`cmp-freelynk`,who:[`bot-dev`,`bot-des`]},{in:`crm`,at:`todo`,title:"Retire legacy webhook payload in favor of typed `/v1/team` events",description:`Standardize all outbound workspace webhooks on HIP-0139 OpenAPI schemas.`,rank:Y2.low,tags:[`Backend`],who:[`bot-dev`],replies:1},{in:`crm`,at:`doing`,title:`Interactive Issue Detail Drawer for editing cards across Kanban, List & Timeline`,description:`Allow clicking any issue card or row to edit title, description, status, priority, completion %, tags, assignee, and comments.`,rank:Y2.urgent,done:75,tags:[`Feature`,`Frontend`],part:`cmp-freelynk`,who:[`p-zach`,`bot-dev`,`bot-des`]},{in:`crm`,at:`doing`,title:`Enterprise customer discovery & Data Room onboarding with top 20 funds`,description:"Coordinate `@sal`, `@rev`, and `@law` to provision watermarked Data Rooms and automated NDA/MSA e-signature flows.",rank:Y2.medium,done:90,tags:[`Sales`,`QA`],part:`cmp-acme`,who:[`p-antje`,`bot-sal`,`bot-rev`,`bot-law`],files:2,replies:24},{in:`crm`,at:`doing`,title:"Wire live `api.hanzo.ai/v1/crm/*` PostgreSQL records into all CRM views",description:"Eliminate all static sample companies/contacts and stream real `hanzo-sql` customers, funds, investors, and leads.",rank:Y2.high,done:65,tags:[`Feature`,`Frontend`],part:`cmp-freelynk`,who:[`bot-rev`,`bot-data`]},{in:`crm`,at:`done`,title:"Ship organization seat-count & credit grant reconciliation in `/v1/billing`",description:`Verified accurate seat metering and prepaid credit deduction across Hanzo AI, The Foundation, Lux Network, and Zoo Labs.`,rank:Y2.high,done:100,tags:[`Backend`],part:`cmp-acme`,who:[`bot-rev`,`bot-fin`],replies:6},{in:`crm`,at:`done`,title:"Deduplicate `@hanzogui/*` to single version 8.3.5 and enforce monochrome token sheet",description:"Pinned all 113 `@hanzogui/*` packages in `pnpm-workspace.yaml` and verified `theme.test.ts` with zero literal colors outside `tokens.css`.",rank:Y2.low,done:100,tags:[`Design`],part:`cmp-ui`,who:[`bot-des`,`bot-dev`]},{in:`crm`,at:`done`,title:"Cut production release of Hanzo Team on `hanzo.team` + native Linux desktop app",description:"Published SPA with 118 zero-404 route fallbacks to `hanzo.team` and built native Tauri v2 desktop binary.",rank:Y2.urgent,done:100,tags:[`Feature`],part:`cmp-acme`,who:[`p-zach`,`bot-opera`,`bot-dev`],files:2,replies:11},{in:`mkt`,at:`backlog`,title:`Schedule Q4 multi-channel product broadcast across X, Discord & Hanzo Publish`,description:`Coordinate launch threads for Hanzo Team, Hanzo Bot 24/7 fleet, and Zen4 Coder benchmarks.`,rank:Y2.medium,done:0,tags:[`Marketing`],part:`cmp-ui`,who:[`bot-mark`,`p-antje`]},{in:`mkt`,at:`todo`,title:"Render 4K Omni 1.2 Flash hero showcase for `hanzo.team` landing stage",description:`Capture live desktop + mobile workspace frames with zero compression artifacts.`,rank:Y2.high,done:30,tags:[`Design`,`Marketing`],part:`cmp-ui`,who:[`bot-art`,`bot-des`],replies:5},{in:`mkt`,at:`doing`,title:`Instrument self-serve checkout & workspace signup funnel in Hanzo Analytics`,description:"Track conversion from `hanzo.team/login` through first channel message and first bot run.",rank:Y2.medium,done:60,tags:[`Devops`],who:[`bot-mark`,`bot-data`]},{in:`next`,at:`backlog`,title:"Benchmark SQLCipher 4 envelope vs. cgo `libsqlcipher` on multi-tenant stores",description:"Verify zero-plaintext invariant and WAL checkpoint behavior across `hanzoai/sqlite` builds.",rank:Y2.urgent,done:0,tags:[`Research`,`Backend`],part:`cmp-atlas`,who:[`bot-sci`,`bot-cyber`,`p-zach`],replies:8},{in:`next`,at:`todo`,title:"Expose `/v1/graph` entity & relationship endpoints alongside `/v1/semantic`",description:"Support personal & organizational knowledge graph triples (`subject`, `predicate`, `object`, `confidence`) in Hanzo Cloud.",rank:Y2.high,done:20,tags:[`Feature`,`Backend`],part:`cmp-atlas`,who:[`p-zach`,`bot-sci`,`bot-dev`]},{in:`next`,at:`doing`,title:"Verify zero-downtime `/v1/team` transactor cutover inside unified Cloud binary",description:"Run HIP-0106 in-process mount in parallel with standalone `team-go` and validate live WebSocket broadcasts.",rank:Y2.high,done:45,tags:[`Devops`,`QA`],part:`cmp-atlas`,who:[`bot-opera`,`bot-dev`],files:4},{in:`dev`,at:`todo`,title:`Quarantine flaky E2E specs and enforce deterministic 4-shard merge gate`,description:`Ensure all 46 unit, parity, and theme tests complete in under 3 seconds on every PR.`,rank:Y2.high,done:20,tags:[`QA`],part:`cmp-runner`,who:[`bot-dev`,`bot-opera`],replies:9},{in:`dev`,at:`doing`,title:"Scale ephemeral `kata-fc` CI runner jobs across `linux-amd64` and `linux-arm64`",description:"Reconcile queued GitHub & Forge workflow jobs via `/v1/build` multi-arch BuildKit fan-out.",rank:Y2.urgent,done:70,tags:[`Devops`],part:`cmp-runner`,who:[`p-zach`,`bot-opera`,`bot-cyber`],files:1,replies:12},{in:`dev`,at:`done`,title:"Seal `NPM_TOKEN` and `CARGO_REGISTRY_TOKEN` grants in `universe/kms-grants.yaml`",description:"Audited RBAC policy and verified automated package publishing from `hanzoai/ci`.",rank:Y2.medium,done:100,tags:[`Backend`],part:`cmp-runner`,who:[`bot-cyber`,`bot-dev`]}],_4=e=>String(e+1e3),v4=g4.map((e,t)=>({...p4(`i${t+1}`,Y.issue),space:`proj-${e.in}`,title:e.title,description:e.description,status:`proj-${e.in}-${e.at}`,priority:e.rank,number:t+1,rank:_4(t),assignee:e.who[0]??`p-zach`,collaborators:e.who,component:e.part??null,...e.done===void 0?{}:{estimation:100,reportedTime:e.done},attachments:e.files??0,comments:e.replies??0,labels:e.tags?.length??0})),y4=g4.flatMap((e,t)=>(e.tags??[]).map(n=>({...p4(`t${t+1}-${n}`,Y.tag),space:`proj-${e.in}`,attachedTo:`i${t+1}`,attachedToClass:Y.issue,title:n}))),cme=[{...p4(`c-general`,Y.channel),name:`general`,topic:`Company-wide engineering, launches & announcements`},{...p4(`c-errors`,Y.channel),name:`errors`,topic:`Live runtime exceptions, Sentry faults & CLI crash reports (/v1/event/errors)`},{...p4(`c-feedback`,Y.channel),name:`feedback`,topic:`User feedback, hanzo doctor --share bundles, support tickets & inbound forms`},{...p4(`c-hanzo-support`,Y.channel),name:`hanzo-support`,topic:`Customer support, triage & live escalations`},{...p4(`c-hanzo-ui`,Y.channel),name:`hanzo-ui`,topic:`Design system, @hanzo/gui & @hanzo/ui components`},{...p4(`c-hanzo-video`,Y.channel),name:`hanzo-video`,topic:`Studio, Omni Flash & video generation`},{...p4(`c-hanzo-revenue`,Y.channel),name:`hanzo-revenue`,topic:`Live checkouts, orders, subscriptions, enterprise deals & pipeline (/v1/event)`},{...p4(`c-tracker`,Y.channel),name:`tracker`,topic:`Sprint boards, PR gates & issue triage`},{...p4(`c-design`,Y.channel),name:`design`,topic:`Product design, typography & monochrome tokens`},{...p4(`c-hanzo-x-lux`,Y.channel),name:`hanzo-x-lux`,topic:`Hanzo Connect shared channel · Cross-org engineering & MPC settlement`,bindings:[`connect:lux`]},{...p4(`c-hanzo-x-zoo`,Y.channel),name:`hanzo-x-zoo`,topic:`Hanzo Connect shared channel · Decentralized AI & DeSci research`,bindings:[`connect:zoo`]},{...p4(`c-lux-bank`,Y.channel),name:`lux-bank`,topic:`Lux banking, cards & settlement`,bindings:[`connect:lux`]},{...p4(`c-lux-bridge`,Y.channel),name:`lux-bridge`,topic:`Cross-chain bridge & MPC`,bindings:[`connect:lux`]}],b4=Y.direct,lme=a4.map(e=>({...p4(`dm-${e.id}`,b4),name:e.name,topic:`${e.role} · ${e.department} · ${e.status}`,members:[`bot-${e.id}`,`p-zach`]})),x4=[{...p4(`m1`,Y.message),message:`Pinned all @hanzogui/* packages to 8.3.5 and moved the user account menu to the bottom-left rail.`,attachedTo:`c-general`,modifiedOn:f4-36e5,modifiedBy:`bot-des`},{...p4(`m2`,Y.message),message:"Verified `/v1/team/health`, `/v1/crm/*`, and `/v1/task/*` on `api.hanzo.ai` — all endpoints healthy.",attachedTo:`c-general`,modifiedOn:f4-18e5,modifiedBy:`bot-opera`},{...p4(`m3`,Y.message),message:"@everyone Hanzo Team is live on `hanzo.team` and running natively in the desktop app.",attachedTo:`c-general`,modifiedOn:f4-6e5,modifiedBy:`p-zach`},{...p4(`m4`,Y.message),message:`All 23 Hanzo AI agents and 24/7 bots are connected across Hanzo AI, The Foundation, Lux Network, and Zoo Labs.`,attachedTo:`c-general`,modifiedOn:f4-3e5,modifiedBy:`bot-vi`},{...p4(`m5`,Y.message),message:`Zero open P0/P1 escalations. Automated triage resolved 18 tickets in the last hour.`,attachedTo:`c-hanzo-support`,modifiedOn:f4-9e5,modifiedBy:`bot-su`},{...p4(`m-err-seed-1`,Y.message),message:"Streaming live runtime faults, Sentry exceptions, and CLI premature_stop diagnostics from `api.hanzo.ai/v1/event/errors` into this channel.",attachedTo:`c-errors`,modifiedOn:f4-42e4,modifiedBy:`bot-cyber`},{...p4(`m-fb-seed-1`,Y.message),message:"Streaming inbound user feedback, `hanzo doctor --share` / `dev report` bundles, support tickets, and website form submissions from `api.hanzo.ai/v1/base/collections/activities` and `/v1/event` into this channel.",attachedTo:`c-feedback`,modifiedOn:f4-38e4,modifiedBy:`bot-su`},{...p4(`m6`,Y.message),message:`Updated @hanzo/gui monochrome tokens and Slack-style top search bar across all workspace surfaces.`,attachedTo:`c-hanzo-ui`,modifiedOn:f4-12e5,modifiedBy:`bot-des`},{...p4(`m7`,Y.message),message:`Rendered 4K hero stills and agent portraits via Omni 1.2 Flash in Studio.`,attachedTo:`c-hanzo-video`,modifiedOn:f4-15e5,modifiedBy:`bot-art`},{...p4(`m8`,Y.message),message:`Synced org grants, prepaid balances, and enterprise seats with Commerce.`,attachedTo:`c-hanzo-revenue`,modifiedOn:f4-45e4,modifiedBy:`bot-rev`},{...p4(`m-rev-seed-stream`,Y.message),message:"Streaming live checkouts (`order_completed`, `checkout_started`, `payment_info_added`, `checkout_failed`, `subscription_changed`, `invoice_requested`) and enterprise/sales leads in real time from `api.hanzo.ai/v1/event` into this channel and `/overview`.",attachedTo:`c-hanzo-revenue`,modifiedOn:f4-34e4,modifiedBy:`bot-rev`},{...p4(`m-connect-lux-1`,Y.message),message:"Connected `hanzo` ↔ `lux` via Hanzo Connect (`connect:lux`). Both organizations retain isolated IAM, KMS secrets, and billing while sharing this channel.",attachedTo:`c-hanzo-x-lux`,modifiedOn:f4-12e5,modifiedBy:`bot-vi`},{...p4(`m-connect-lux-2`,Y.message),message:"Lux MPC threshold signers and GPU settlement hooks are live on `api.hanzo.ai/v1/commerce`. Ready for joint end-to-end testing.",attachedTo:`c-hanzo-x-lux`,modifiedOn:f4-6e5,modifiedBy:`p-zach`},{...p4(`m-connect-lux-3`,Y.message),message:"Verified cross-org webhook signatures and KMS boundary checks between `hanzo` and `lux` — zero cross-tenant secret access.",attachedTo:`c-hanzo-x-lux`,modifiedOn:f4-24e4,modifiedBy:`bot-cyber`},{...p4(`m-connect-zoo-1`,Y.message),message:"Connected `hanzo` ↔ `zoo` via Hanzo Connect (`connect:zoo`). Decentralized AI & DeSci benchmark runs are streaming into this shared channel.",attachedTo:`c-hanzo-x-zoo`,modifiedOn:f4-9e5,modifiedBy:`bot-scien`},{...p4(`m-connect-zoo-2`,Y.message),message:`Published Zen-4 and Kai decision harness evaluation results for Zoo Labs foundation fellows.`,attachedTo:`c-hanzo-x-zoo`,modifiedOn:f4-36e4,modifiedBy:`bot-dev`},{...p4(`m-connect-bank-1`,Y.message),message:`Card settlement rails and USD/LUX treasury sweeps reconciled across Hanzo Commerce and Lux Bank.`,attachedTo:`c-lux-bank`,modifiedOn:f4-72e4,modifiedBy:`bot-rev`},{...p4(`m-connect-bridge-1`,Y.message),message:`Teleport bridge proof verification passing on C-Chain and Hanzo enclave signers.`,attachedTo:`c-lux-bridge`,modifiedOn:f4-5e5,modifiedBy:`bot-opera`},{...p4(`m-rev-1`,Y.message),message:`Tell me when it’s done and I’ll re-send all six fixes and check them on the live site. I’ve posted the cause in #hanzo-revenue. Longer term, a platform rule that a member can’t spend org credits on leases will block every agent this way, and it’s worth fixing.`,attachedTo:`dm-rev`,modifiedOn:f4-9e5,modifiedBy:`bot-rev`},{...p4(`m-rev-2`,Y.message),message:`hanzo has a credit grant this is some kind of bug?`,attachedTo:`dm-rev`,modifiedOn:f4-78e4,modifiedBy:`p-zach`},{...p4(`m-rev-3`,Y.message),message:`Probably, yes. If the org has a grant but the lease reads $0, it’s likely looking up the wrong account, under user ID "hanzo" instead of the org’s ID. I’m checking the grant and the account the lease charges now.`,attachedTo:`dm-rev`,modifiedOn:f4-7e5,modifiedBy:`bot-rev`},{...p4(`m-rev-4`,Y.message),message:`its z/hanzo`,attachedTo:`dm-rev`,modifiedOn:f4-64e4,modifiedBy:`p-zach`},{...p4(`m-rev-5`,Y.message),message:`Noted, the account is z/hanzo. I’ll check whether the grant is on z/hanzo while the lease charges hanzo or hanzo/z. A mismatch like that would explain the $0.`,attachedTo:`dm-rev`,modifiedOn:f4-58e4,modifiedBy:`bot-rev`},{...p4(`m-rev-6`,Y.message),message:`i'm also super admin`,attachedTo:`dm-rev`,modifiedOn:f4-52e4,modifiedBy:`p-zach`},{...p4(`m-rev-7`,Y.message),message:`Good. Since you're a super admin, I'll check whether the grok-bot-iam key actually carries your admin rights or only member rights. If it doesn't, the fix is giving it access under z/hanzo, which only you can do. Results shortly.
74
+ `&&(n++,r=i+1);return{line:n,column:t-r+1}}function w1(e,t={}){let n=e.trim();if(!n)return{kind:`empty`};try{return{kind:`json`,value:JSON.parse(e)}}catch(r){if(t.text&&!Vue.test(n))return{kind:`text`,value:e};let i=Hue(e)??{at:0,message:r instanceof Error?r.message:String(r)};return{kind:`error`,message:i.message,at:i.at,...Uue(e,i.at)}}}function Wue(e){let t=w1(e);return t.kind===`json`?JSON.stringify(t.value,null,2):null}var Gue=[`javascript`,`typescript`,`python`,`java`,`csharp`,`cpp`,`c`,`go`,`rust`,`ruby`,`php`,`swift`,`kotlin`,`dart`,`html`,`css`,`scss`,`json`,`xml`,`yaml`,`sql`,`markdown`,`shell`,`plaintext`],T1={javascript:`JavaScript`,typescript:`TypeScript`,python:`Python`,java:`Java`,csharp:`C#`,cpp:`C++`,c:`C`,go:`Go`,rust:`Rust`,ruby:`Ruby`,php:`PHP`,swift:`Swift`,kotlin:`Kotlin`,dart:`Dart`,html:`HTML`,css:`CSS`,scss:`SCSS`,json:`JSON`,xml:`XML`,yaml:`YAML`,sql:`SQL`,markdown:`Markdown`,shell:`Shell`,plaintext:MM(`Plain Text`)},Kue=4096,que=Vq.theme({"&":{color:`var(--ink)`,backgroundColor:`transparent`},"&.cm-focused":{outline:`none`},".cm-scroller":{fontFamily:`var(--font-mono, 'Zen Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace)`,lineHeight:`1.6`,overflow:`auto`,flex:`1 1 auto`,height:`auto`,minHeight:`0`},".cm-content":{padding:`8px 0`,caretColor:`var(--ink)`},".cm-line":{padding:`0 12px`},".cm-gutters":{backgroundColor:`transparent`,color:`var(--codeDim)`,border:`none`,borderInlineEnd:`1px solid var(--edge)`},".cm-lineNumbers .cm-gutterElement":{padding:`0 10px 0 12px`,minWidth:`28px`},".cm-activeLine":{backgroundColor:`var(--panel)`},".cm-activeLineGutter":{backgroundColor:`transparent`,color:`var(--quiet)`},".cm-cursor, .cm-dropCursor":{borderInlineStartColor:`var(--ink)`},".cm-selectionBackground, &.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, ::selection":{backgroundColor:`var(--raised)`},".cm-matchingBracket, &.cm-focused .cm-matchingBracket":{backgroundColor:`var(--raised)`,color:`inherit`,outline:`none`},".cm-nonmatchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:`transparent`},".cm-placeholder":{color:`var(--codeDim)`},".cm-foldGutter .cm-gutterElement":{padding:`0 4px`,color:`var(--codeDim)`,cursor:`pointer`},".cm-foldGutter .cm-gutterElement:hover":{color:`var(--ink)`},".cm-foldPlaceholder":{backgroundColor:`var(--raised)`,border:`1px solid var(--edge)`,borderRadius:`4px`,color:`var(--codePunctuation)`,padding:`0 4px`,margin:`0 2px`,cursor:`pointer`},".cm-foldCount":{color:`var(--codeComment)`},".cm-fault":{backgroundColor:`var(--state-error-bg, rgb(239 68 68 / .1))`},".cm-gutterElement.cm-fault":{color:`var(--bad)`},".cm-fault-at":{textDecoration:`underline wavy var(--bad)`,textDecorationSkipInk:`none`,textUnderlineOffset:`3px`}}),E1=e=>({color:`var(--code${e[0].toUpperCase()}${e.slice(1)})`,...uB[e]}),Jue=yZ.define([{tag:sX.propertyName,...E1(`key`)},{tag:sX.string,...E1(`string`)},{tag:sX.number,...E1(`number`)},{tag:sX.bool,...E1(`boolean`)},{tag:sX.null,...E1(`null`)},{tag:[sX.punctuation,sX.separator,sX.brace,sX.squareBracket],...E1(`punctuation`)},{tag:sX.comment,...E1(`comment`)},{tag:sX.keyword,...E1(`keyword`)}]),Yue=new wX(Pue.configure({props:[GX.add({"Object Array":e=>({from:e.from,to:e.to})})]})),Xue=(e,t)=>t===1?e(`1 key`):e(`{n} keys`,{n:t}),Zue=(e,t)=>t===1?e(`1 item`):e(`{n} items`,{n:t});function Que(e,t,n){let r=mX(e).resolveInner(t.from,1);for(;r.parent&&r.name!==`Object`&&r.name!==`Array`;)r=r.parent;if(r.name===`Object`)return{open:`{`,close:`}`,count:Xue(n,r.getChildren(`Property`).length)};let i=0;for(let e=r.firstChild;e;e=e.nextSibling)!/^[[\],]$/.test(e.name)&&!e.type.isError&&(i+=1);return{open:`[`,close:`]`,count:Zue(n,i)}}var $ue=e=>dZ({preparePlaceholder:(t,n)=>Que(t,n,e),placeholderDOM:(t,n,r)=>{let i=document.createElement(`span`);i.className=`cm-foldPlaceholder`,i.title=e(`Unfold`),i.setAttribute(`aria-label`,e(`Folded, {count}`,{count:r.count})),i.textContent=`${r.open}…${r.close}`;let a=document.createElement(`span`);return a.className=`cm-foldCount`,a.textContent=` ${r.count}`,i.append(a),i.onclick=n,i}}),ede=2,tde=(e,t)=>{let n=0;for(let r of e)if(r===` `)n+=1;else if(r===` `)n+=t-n%t;else break;return n},D1=new Map,nde=e=>{let t=D1.get(e);return t||(t=aU.line({attributes:{style:`padding-inline-start: calc(${e}ch + 12px); text-indent: -${e}ch`}}),D1.set(e,t)),t},rde=jW.fromClass(class{decorations;constructor(e){this.decorations=this.build(e)}update(e){(e.docChanged||e.viewportChanged)&&(this.decorations=this.build(e.view))}build(e){let t=new fH;for(let{from:n,to:r}of e.visibleRanges)for(let i=n;i<=r;){let n=e.state.doc.lineAt(i);t.add(n.from,n.from,nde(tde(n.text,e.state.tabSize)+ede)),i=n.to+1}return t.finish()}},{decorations:e=>e.decorations}),O1=YV.define(),ide=new class extends EJ{elementClass=`cm-fault`},ade=aU.line({class:`cm-fault`}),ode=aU.mark({class:`cm-fault-at`});function k1(e,t){let n=w1(e.doc.toString(),{text:t});if(n.kind!==`error`)return{check:n,marks:aU.none,gutter:uH.empty};let r=Number.isFinite(n.at)?Math.min(n.at,e.doc.length):0,i=e.doc.lineAt(r),a=Math.min(r+1,i.to),o=[ade.range(i.from),...a>r?[ode.range(r,a)]:[]];return{check:n,marks:aU.set(o,!0),gutter:uH.of([ide.range(i.from)])}}var sde=e=>MV.define({create:t=>k1(t,e),update:(t,n)=>n.docChanged?k1(n.state,e):t,provide:e=>[Vq.decorations.from(e,e=>e.marks),DJ.from(e,e=>e.gutter)]}),cde=e=>typeof e==`number`?`${e}px`:e;function lde({value:e,defaultValue:t=``,language:n=`javascript`,height:r,minHeight:i=96,maxHeight:a=480,resizable:o=r===void 0,allowText:s=!1,onChange:c,onCheck:l,onMount:u,readOnly:d=!1,lineNumbers:f=!0,wordWrap:p=`on`,fontSize:m=14,placeholder:h,showCopyButton:g=!0,showFormatButton:_,showLanguageSelector:v=!0,availableLanguages:y=Gue,label:x,variant:S,title:C,actions:w,autoHeight:T=!1,...E}){let{t:D}=FM(),O=x??D(`Code`),k=b.useMemo(()=>$ue(D),[D]),A=S??(C!==void 0||w!==void 0?`with-header`:`default`),j=A===`with-header`,[ee,M]=b.useState(n),[te,ne]=b.useState(e??t),[N,P]=b.useState(null),[re,ie]=b.useState(!1),ae=b.useRef(null),oe=b.useRef([]),se=b.useRef(null),[ce,le]=b.useState(null),ue=b.useRef(void 0),de=b.useRef({onChange:c,onCheck:l});de.current={onChange:c,onCheck:l};let fe=b.useMemo(()=>({language:new LV,gutter:new LV,wrap:new LV,edit:new LV}),[]),pe=ee===`json`,me=b.useMemo(()=>sde(s),[s]),he=b.useRef({field:me});he.current.field=me;let ge=()=>pe?[Yue,me,k,_Z()]:[],F=()=>f?[qJ(),ZJ()]:[],_e=()=>p===`off`?[]:[Vq.lineWrapping,rde],I=()=>[iH.readOnly.of(d),Vq.editable.of(!d)],ve=e=>{let t=e.field(he.current.field,!1);t!==he.current.seen&&(he.current.seen=t,P(t?t.check:null),t&&de.current.onCheck?.(t.check))},ye=b.useCallback(()=>{let e=se.current;if(!e||e.state.readOnly)return!1;let t=e.state.doc.toString(),n=Wue(t);return n===null||n===t?!1:(e.dispatch({changes:{from:0,to:t.length,insert:n}}),!0)},[]);b.useEffect(()=>{let n=ae.current;if(!n)return;let r=Vq.updateListener.of(e=>{if(e.docChanged&&!e.transactions.some(e=>e.annotation(O1))){let t=e.state.doc.toString();ne(t),de.current.onChange&&(oe.current=[...oe.current.slice(-31),t]),de.current.onChange?.(t)}ve(e.state)}),i=new Vq({parent:n,state:iH.create({doc:e??t,extensions:[fe.gutter.of(F()),dQ(),mJ(),UX(),FZ(),xJ(),CZ(Jue),Xq.of([{key:`Shift-Alt-f`,run:ye},yue,...cZ,...vue,...AQ,{key:`Escape`,run:e=>(e.contentDOM.blur(),!0)}]),fe.language.of(ge()),fe.wrap.of(_e()),fe.edit.of(I()),h?TJ(h):[],Vq.contentAttributes.of({"aria-label":O,"data-slot":`code-editor-content`}),que,r]})});return se.current=i,ve(i.state),u?.(i),()=>{i.destroy(),se.current=null,clearTimeout(ue.current)}},[]),b.useEffect(()=>{se.current?.dispatch({effects:[fe.language.reconfigure(ge()),fe.gutter.reconfigure(F()),fe.wrap.reconfigure(_e()),fe.edit.reconfigure(I())]})},[pe,me,k,f,p,d]),b.useEffect(()=>{let t=se.current;if(!t||e===void 0)return;let n=oe.current.indexOf(e);if(n!==-1){oe.current=oe.current.slice(n+1);return}oe.current=[];let r=t.state.doc.toString();e!==r&&(t.dispatch({changes:{from:0,to:r.length,insert:e},annotations:O1.of(!0)}),ne(e))},[e]),b.useEffect(()=>{let e=se.current?.dom;if(!e)return;e.style.fontSize=`${m}px`;let t=ce===null?r===void 0?``:cde(r):`${ce}px`;e.style.height=t,e.style.minHeight=t?``:`${i}px`,e.style.maxHeight=t||T?``:`${a}px`,se.current?.requestMeasure()},[ce,r,i,a,T,m]);let be=b.useCallback(async()=>{try{await navigator.clipboard.writeText(te),ie(!0),clearTimeout(ue.current),ue.current=setTimeout(()=>ie(!1),2e3),rL.success(D(`Code copied to clipboard`))}catch{rL.error(D(`Failed to copy code`))}},[te,D]),xe=typeof r==`string`&&r.endsWith(`%`),Se=_??(pe&&!d),Ce=j||v||g||Se,we=pe&&N!==null;return(0,L.jsxs)(z,{...K(`code-editor`),"data-variant":A,borderWidth:A===`borderless`?0:1,borderColor:`$borderColor`,rounded:A===`borderless`?0:`$3`,overflow:`hidden`,bg:`$background`,focusWithinStyle:A===`borderless`?void 0:{borderColor:`$outlineColor`},...E,children:[Ce&&(0,L.jsxs)(B,{...K(j?`code-editor-header`:`code-editor-toolbar`),items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:`$2`,borderBottomWidth:1,borderColor:`$borderColor`,bg:`$panel`,px:`$2`,py:j?0:`$1`,...j?{minH:40}:null,children:[j?(0,L.jsx)(V,{...K(`code-editor-title`),size:`$2`,fontWeight:`500`,color:`$hint`,px:`$1`,numberOfLines:1,flex:1,minW:0,children:C??O}):null,v?(0,L.jsxs)(kI,{value:ee,onValueChange:M,children:[(0,L.jsx)(jI,{...K(`code-editor-language-trigger`),width:`auto`,minHeight:32,borderWidth:0,bg:`transparent`,gap:`$1.5`,px:`$2`,children:(0,L.jsx)(V,{size:`$1`,fontFamily:`$mono`,children:T1[ee]?D(T1[ee]):ee})}),(0,L.jsx)(II,{...K(`code-editor-language-content`),children:y.map(e=>(0,L.jsx)(MI,{value:e,children:T1[e]?D(T1[e]):e},e))})]}):(0,L.jsx)(V,{...K(`code-editor-language`),size:`$1`,fontFamily:`$mono`,color:`$soft`,px:`$2`,children:T1[ee]?D(T1[ee]):ee}),(0,L.jsxs)(B,{items:`center`,justify:`flex-end`,flexWrap:`wrap`,gap:j?`$2`:`$1`,shrink:1,minW:0,children:[Se&&(0,L.jsxs)(q,{...K(`code-editor-format-button`),variant:`ghost`,size:`sm`,disabled:N?.kind!==`json`,onClick:ye,children:[(0,L.jsx)(qA,{size:14}),D(`Format`)]}),g&&(0,L.jsxs)(q,{...K(`code-editor-copy-button`),variant:`ghost`,size:`sm`,disabled:!te,onClick:be,children:[re?(0,L.jsx)(cj,{size:14}):(0,L.jsx)(xj,{size:14}),D(re?`Copied!`:`Copy`)]}),w]})]}),(0,L.jsxs)(z,{position:`relative`,...xe&&{flex:1,minH:0},children:[(0,L.jsx)(z,{ref:ae,...K(`code-editor-body`),...MN,...xe&&{flex:1,minH:0}}),o&&(0,L.jsx)(Rue,{side:`top`,span:ce??i,floor:i,ceil:Kue,onSpan:le,onReset:()=>le(null),label:D(`Resize {label}`,{label:O}),b:-4})]}),we&&(0,L.jsx)(B,{...K(`code-editor-footer`),items:`center`,justify:`space-between`,gap:`$2`,minH:28,px:`$3`,py:`$1`,borderTopWidth:1,borderColor:`$borderColor`,bg:`$panel`,children:(0,L.jsx)(ude,{check:N})})]})}function ude({check:e}){let{t}=FM(),n=e?.kind===`error`,r=e===null?``:e.kind===`error`?t(`Line {line}, column {column}: {message}`,{line:e.line,column:e.column,message:e.message}):e.kind===`text`?t(`Plain text`):e.kind===`empty`?t(`Empty`):t(`Valid JSON`);return(0,L.jsxs)(B,{...K(`code-editor-status`),"aria-live":`polite`,items:`center`,gap:`$1.5`,flex:1,minW:0,children:[n?(0,L.jsx)(mj,{size:14,color:`$bad`}):e?.kind===`text`?(0,L.jsx)(pse,{size:14,color:`$soft`}):e?.kind===`json`?(0,L.jsx)(hj,{size:14,color:`$soft`}):null,(0,L.jsx)(V,{...K(`code-editor-status-text`),"data-kind":e?.kind,size:`$1`,fontFamily:`$mono`,color:n?`$bad`:`$soft`,numberOfLines:2,children:r})]})}var dde=44,fde=28,A1=16,j1=No({variant:`default`}),pde=R(B,{name:`Pill`,context:j1,display:`inline-flex`,self:`flex-start`,items:`center`,justify:`center`,shrink:0,gap:`$1.5`,minH:fde,px:`$3`,py:`$1`,rounded:999,borderWidth:1,borderColor:`transparent`,overflow:`hidden`,variants:{variant:{default:{bg:`$accentBackground`},secondary:{bg:`$edge`},outline:{bg:`$background`,borderColor:`$borderColor`},success:{bg:`$green4`},warning:{bg:`$yellow4`},error:{bg:`$red4`}}},defaultVariants:{variant:`default`}}),mde=R(V,{name:`PillText`,context:j1,size:`$2`,fontWeight:`500`,variants:{variant:{default:{color:`$accentColor`},secondary:{color:`$ink`},outline:{color:`$ink`},success:{color:`$green11`},warning:{color:`$yellow11`},error:{color:`$red11`}}}}),hde=({variant:e}={})=>`pill pill-${e??`default`}`;function M1({className:e,variant:t=`default`,onRemove:n,children:r,...i}){let{t:a}=FM(),o=t??`default`;return(0,L.jsxs)(pde,{...K(`pill`),"data-variant":o,variant:o,...mN([hde({variant:o}),e].filter(Boolean).join(` `)),...i,children:[bM(r,mde),n?(0,L.jsx)(q,{...K(`pill-remove`),variant:`ghost`,size:`icon`,minH:A1,minW:A1,rounded:999,...RM(A1,dde),"aria-label":a(`Remove`),onPress:n,children:(0,L.jsx)(vM,{size:12})}):null]})}var gde=e=>wM(e||`en`),N1=e=>TM(e||`en`),_de=e=>e&&e!==`en`?e:`en`,vde={active:!1,locale:`en-US`,dir:`ltr`,messages:{},t:(e,t)=>AM({},e,t),format:NM(`en-US`)},P1=(0,b.createContext)(vde),yde=(e,t)=>({active:!0,locale:e,dir:N1(e),messages:t,t:(e,n)=>AM(t,e,n),format:NM(e)});function bde(){let e=(0,b.useContext)(P1);return e.active?{active:!0,locale:e.locale,dir:e.dir}:{active:!1,locale:`en-US`,dir:`ltr`}}var F1=[[`year`,31536e3],[`month`,2592e3],[`week`,604800],[`day`,86400],[`hour`,3600],[`minute`,60],[`second`,1]],xde={year:`y`,month:`mo`,week:`w`,day:`d`,hour:`h`,minute:`m`,second:`s`},Sde=e=>{let t=Math.abs(e);for(let[n,r]of F1)if(t>=r||n===`second`){let i=`${Math.floor(t/r)}${xde[n]}`;return e<0?`in ${i}`:i}return`0s`},Cde=(e,t)=>{if(e<0){let n=-e;return n<60?t(`in a moment`):n<120?t(`in 1 minute`):n<3600?t(`in {n} minutes`,{n:Math.floor(n/60)}):n<7200?t(`in 1 hour`):n<86400?t(`in {n} hours`,{n:Math.floor(n/3600)}):n<172800?t(`tomorrow`):n<604800?t(`in {n} days`,{n:Math.floor(n/86400)}):n<1209600?t(`in 1 week`):n<2592e3?t(`in {n} weeks`,{n:Math.floor(n/604800)}):n<5184e3?t(`in 1 month`):n<31536e3?t(`in {n} months`,{n:Math.floor(n/2592e3)}):n<63072e3?t(`in 1 year`):t(`in {n} years`,{n:Math.floor(n/31536e3)})}return e<60?t(`just now`):e<120?t(`1 minute ago`):e<3600?t(`{n} minutes ago`,{n:Math.floor(e/60)}):e<7200?t(`1 hour ago`):e<86400?t(`{n} hours ago`,{n:Math.floor(e/3600)}):e<172800?t(`1 day ago`):e<604800?t(`{n} days ago`,{n:Math.floor(e/86400)}):e<1209600?t(`1 week ago`):e<2592e3?t(`{n} weeks ago`,{n:Math.floor(e/604800)}):e<5184e3?t(`1 month ago`):e<31536e3?t(`{n} months ago`,{n:Math.floor(e/2592e3)}):e<63072e3?t(`1 year ago`):t(`{n} years ago`,{n:Math.floor(e/31536e3)})},wde=(e,t)=>{let n=new Intl.RelativeTimeFormat(t,{numeric:`auto`,style:`long`});for(let[t,r]of F1)if(Math.abs(e)>=r||t===`second`){let i=Math.round(e/r)*-1;return n.format(i,t)}return n.format(0,`second`)},I1=(e,t,n,r)=>{let i=Math.floor((Date.now()-new Date(e).getTime())/1e3);return t===`short`?Sde(i):t===`long`?wde(i,r):Cde(i,n)},Tde=R(V,{name:`RelativeTime`,render:`time`});function Ede({date:e,format:t=`auto`,updateInterval:n=6e4,...r}){let{t:i}=FM(),{active:a,locale:o}=bde(),s=a?o:void 0,[c,l]=b.useState(()=>I1(e,t,i,s));return b.useEffect(()=>{l(I1(e,t,i,s));let r=setInterval(()=>l(I1(e,t,i,s)),n);return()=>clearInterval(r)},[e,t,n,i,s]),(0,L.jsx)(Tde,{"data-slot":`relative-time`,"data-format":t,dateTime:new Date(e).toISOString(),...r,children:c})}var Dde=(0,b.createContext)(`measure-on-hover`),Ode=e=>{let t=e;return!t||typeof t.scrollWidth!=`number`?!1:t.scrollWidth>(t.clientWidth??0)||(t.scrollHeight??0)>(t.clientHeight??0)},kde=500,Ade=300;function L1({text:e,lineClamp:t,tooltipContent:n,tooltipDelay:r=kde,tooltipPlace:i=`bottom`,isTooltipMultiline:a=!1,alwaysShowTooltip:o=!1,isFocusable:s=!1,...c}){let l=(0,b.useContext)(Dde),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)(!1),m=(0,b.useRef)(null),h=(0,b.useRef)(null),g=(0,b.useRef)(!1);(0,b.useEffect)(()=>()=>{h.current&&clearTimeout(h.current)},[]);let _=t&&Number.isInteger(t)&&t>0?t:1,v=t=>(0,L.jsx)(V,{...K(`truncated-text`),numberOfLines:_,maxW:`100%`,minW:0,..._>1?{style:{whiteSpace:`pre-wrap`,overflowWrap:`anywhere`}}:null,...c,...t,children:e});if(l===`disabled`&&!o)return v({});let y=e=>{m.current=e;let t=Ode(e);return p(t),t},x=(e,t)=>{h.current&&clearTimeout(h.current);let n=l===`measure-on-hover`?y(e):(m.current=e,!1);h.current=setTimeout(()=>{let e=l===`measure-on-open`?y(m.current):n;(o||e)&&d(!0)},t)},S=()=>{h.current&&clearTimeout(h.current),h.current=null,g.current||d(!1)};return(0,L.jsxs)(DN,{open:u,onOpenChange:e=>!e&&d(!1),placement:i,children:[(0,L.jsx)($D.Anchor,{asChild:!0,children:v({onPointerEnter:e=>x(e?.currentTarget,r),onPointerLeave:S,onFocus:e=>{g.current=!0,x(e?.currentTarget,0)},onBlur:()=>{g.current=!1,S()},...s?{tabIndex:0,focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`}}:null,...f?{cursor:`pointer`}:null})}),(0,L.jsx)(AN,{maxW:Ade,children:a&&typeof(n??e)==`string`?(0,L.jsx)(V,{size:`$1`,style:{whiteSpace:`pre-wrap`},children:n??e}):n??e})]})}var jde=20,Mde=14,Nde=(e,t)=>{if(!(0,b.isValidElement)(e))return e;let n=e.props;return(0,b.cloneElement)(e,{...n.size==null?{size:Mde}:null,...n.color==null?{color:t}:null})};function R1({color:e=`gray`,variant:t=`soft`,weight:n=`regular`,startIcon:r,endElement:i,truncate:a=!0,borderStyle:o=`solid`,onPress:s,href:c,disabled:l=!1,children:u,style:d,...f}){let p=e===`transparent`,m=mP(p?`gray`:e),{style:h,tone:g}=hP(m,[3,11]),_=p?`$aside`:t===`solid`?`$background`:g(11),v=p||t===`outline`||t===`ghost`?`transparent`:g(t===`solid`?11:3),y={size:`$2`,fontWeight:n===`medium`?`500`:void 0,color:_},b=!l&&(s!=null||c!=null);return(0,L.jsxs)(B,{...K(`tag`),"data-color":p?`transparent`:m,"data-variant":t,...c==null?s==null?{render:`span`}:{...gP(l?void 0:s)}:{render:`a`,href:c},...l?{"aria-disabled":!0}:null,display:`inline-flex`,self:`flex-start`,items:`center`,gap:`$1`,height:jde,px:`$2`,maxW:`100%`,minW:0,rounded:`$xs`,bg:v,...t===`outline`?{borderWidth:1,borderColor:`$rim`,borderStyle:o}:null,overflow:`hidden`,opacity:l?.5:1,cursor:l?`not-allowed`:b?`pointer`:void 0,...b?{focusVisibleStyle:_P}:null,style:{...h,...d},...f,children:[r?Nde(r,_):null,typeof u==`string`||typeof u==`number`?a?(0,L.jsx)(L1,{text:String(u),...y}):(0,L.jsx)(V,{...y,children:u}):u,i?(0,L.jsx)(B,{...K(`tag-end`),shrink:0,items:`center`,children:i}):null]})}var z1={sm:20,md:24},Pde={ghost:{rest:`transparent`,hover:`$hover`,down:`$raised`},soft:{rest:`$hover`,hover:`$raised`,down:`$rim`},solid:{rest:`$raised`,hover:`$rim`,down:`$bound`}};function B1({label:e,size:t=`sm`,variant:n=`ghost`,color:r=`primary`,shape:i=`square`,weight:a=`regular`,startElement:o,endElement:s,endElementDivider:c=!1,truncate:l=!0,tooltipContent:u,onPress:d,href:f,clickable:p,disabled:m=!1,children:h,...g}){let _=Pde[n],v=!m&&(p??(d!=null||f!=null)),y={size:`$2`,fontWeight:a===`medium`?`500`:void 0,color:m?`$hush`:r===`secondary`?`$aside`:`$ink`},b=e??h;return(0,L.jsxs)(B,{...K(`chip`),"data-size":t,"data-variant":n,...f!=null&&!m?{render:`a`,href:f}:d==null?null:gP(m?void 0:d),...m?{"aria-disabled":!0}:null,display:`inline-flex`,self:`flex-start`,items:`center`,gap:`$1`,height:z1[t],px:`$1`,maxW:`100%`,minW:0,rounded:i===`round`?`$10`:`$xs`,bg:_.rest,select:`none`,cursor:m?`not-allowed`:v?`pointer`:void 0,...v?{hoverStyle:{bg:_.hover},pressStyle:{bg:_.down},focusVisibleStyle:_P,...RM(z1[t],44,`y`)}:null,...g,children:[o?(0,L.jsx)(B,{...K(`chip-start`),shrink:0,items:`center`,children:o}):null,typeof b==`string`||typeof b==`number`?l?(0,L.jsx)(L1,{text:String(b),tooltipContent:u,...y}):bM(b,void 0,y):b,s?(0,L.jsx)(B,{...K(`chip-end`),shrink:0,items:`center`,self:`stretch`,...c?{borderInlineStartWidth:1,borderColor:`$borderColor`,paddingInlineStart:`$1`}:null,children:s}):null]})}var V1=4,H1=24,U1=220;function Fde(e,t,n=1/0,r=V1,i=H1){let a=Math.min(e.length,n);if(a===0)return 0;let o=0;for(let n=0;n<a;n++){let a=o+(n>0?r:0)+e[n];if(a+(n+1<e.length?r+i:0)>t)return Math.max(1,n);o=a}return a}function Ide({children:e,maxInlineCount:t,showOverflowCount:n=`hover`,overflowLabel:r,open:i,defaultOpen:a=!1,onOpenChange:o,popupProps:s,...c}){let{t:l}=FM(),u=(0,b.useMemo)(()=>b.Children.toArray(e).filter(b.isValidElement),[e]),[d,f]=(0,b.useState)([]),[p,m]=(0,b.useState)(null),[h,g]=(0,b.useState)(!1),[_,v]=(0,b.useState)(a),y=i??_,x=(0,b.useCallback)(e=>{i===void 0&&v(e),o?.(e)},[i,o]),S=p!=null&&d.filter(e=>e!=null).length===u.length?Fde(d,p,t):Math.min(u.length,t??u.length),C=u.length-S,w=C>0&&(n===`always`||n===`hover`&&(h||y)),T=e=>t=>{let n=t?.nativeEvent?.layout?.width;typeof n==`number`&&f(t=>{if(t[e]===n)return t;let r=t.slice();return r[e]=n,r})};return(0,L.jsxs)(B,{...K(`overflowing-list`),position:`relative`,width:`100%`,minW:0,items:`center`,gap:V1,overflow:`hidden`,onLayout:e=>m(e.nativeEvent.layout.width),onPointerEnter:()=>g(!0),onPointerLeave:()=>g(!1),onFocus:()=>g(!0),onBlur:()=>g(!1),...c,children:[(0,L.jsx)(B,{"aria-hidden":!0,position:`absolute`,t:0,l:0,opacity:0,pointerEvents:`none`,gap:V1,inert:!0,children:u.map((e,t)=>(0,L.jsx)(B,{shrink:0,onLayout:T(t),children:e},e.key??t))}),u.slice(0,S).map((e,t)=>(0,L.jsx)(B,{...t===S-1?{shrink:1,minW:0}:{shrink:0},children:e},e.key??t)),C>0&&n!==`never`?(0,L.jsxs)(_I,{open:y,onOpenChange:x,placement:`bottom-start`,children:[(0,L.jsx)(vI,{asChild:!0,children:(0,L.jsx)(B,{...K(`overflowing-list-count`),...gP(()=>x(!y)),"aria-label":l(`{label} ({n})`,{label:r??l(`Show all items`),n:u.length}),"aria-expanded":y,shrink:0,minW:H1,height:20,px:`$1`,items:`center`,justify:`center`,rounded:`$xs`,cursor:`pointer`,hoverStyle:{bg:`$hover`},focusVisibleStyle:_P,opacity:+!!w,children:(0,L.jsx)(V,{size:`$1`,color:`$ink`,children:`+${C}`})})}),(0,L.jsx)(yI,{p:`$2`,minW:U1,style:{width:Math.max(U1,Math.round(p??0))},...s,children:(0,L.jsx)(z,{...K(`overflowing-list-popup`),maxH:320,overflow:`scroll`,children:(0,L.jsx)(B,{flexWrap:`wrap`,gap:V1,children:u})})})]}):null]})}var Lde=e=>{let t=new Intl.NumberFormat(e).formatToParts(-12345.6);return{group:t.find(e=>e.type===`group`)?.value??`,`,decimal:t.find(e=>e.type===`decimal`)?.value??`.`}},Rde=/[\s\u00a0\u202f\u2009]/g,zde=/^[\s\u00a0\u202f\u2009]$/;function W1(e,t,n){let{group:r,decimal:i}=Lde(t),a=e.replace(Rde,``).replace(/[\u2212\u2012\u2013]/g,`-`);if(!a)return NaN;r&&!zde.test(r)&&(a=a.split(r).join(``));let o=n?.style===`percent`||a.includes(`%`);if(a=a.replace(/[^0-9.,\-+]/g,``),a=i===`.`?a.replace(/,/g,``):a.replace(/\./g,``).replace(i,`.`),!/^[-+]?(\d+\.?\d*|\.\d+)$/.test(a))return NaN;let s=Number(a);return o?s/100:s}var G1=e=>{let t=String(e),n=t.match(/e-(\d+)$/);return n?Number(n[1]):t.includes(`.`)?t.split(`.`)[1].length:0},K1=(e,t,n)=>Math.min(n??1/0,Math.max(t??-1/0,e)),Bde={lg:`icon-lg`,default:`icon`,sm:`icon-sm`,xs:`icon-xs`};function q1({value:e,defaultValue:t=null,onValueChange:n,min:r,max:i,step:a=1,smallStep:o=.1,largeStep:s=10,format:c,locale:l,allowOutOfRange:u=!1,readOnly:d=!1,required:f,disabled:p,buttons:m=!1,decrementLabel:h,incrementLabel:g,size:_,onFocus:v,onBlur:y,...x}){let{t:S}=FM(),C=vN(_,_N()),w=e!==void 0,[T,E]=(0,b.useState)(t),D=w?e:T,[O,k]=(0,b.useState)(null),A=(0,b.useRef)(D);A.current=D;let j=(0,b.useMemo)(()=>new Intl.NumberFormat(l,{maximumFractionDigits:20,...c}),[l,c]),ee=O??(D==null||Number.isNaN(D)?``:j.format(D)),M=(0,b.useCallback)(e=>{w||E(e),e!==A.current&&n?.(e),A.current=e},[w,n]),te=e=>{if(d||p)return;let t=D??(e>0?(r??0)-e:(i??0)-e),n=Math.max(G1(e),G1(t)),a=Number((t+e).toFixed(n));k(null),M(u?a:K1(a,r,i))},ne=e=>{let t=e.shiftKey?s:e.altKey?o:a;if(e.key===`ArrowUp`)te(t);else if(e.key===`ArrowDown`)te(-t);else if(e.key===`Home`&&r!=null&&!d)k(null),M(r);else if(e.key===`End`&&i!=null&&!d)k(null),M(i);else return;e.preventDefault?.()},N=D!=null&&r!=null&&D<=r,P=D!=null&&i!=null&&D>=i,re=(0,L.jsx)(fI,{...K(`number-field-input`),...x,size:C,role:`spinbutton`,"aria-valuenow":D??void 0,"aria-valuemin":r,"aria-valuemax":i,"aria-readonly":d||void 0,"aria-required":f||void 0,inputMode:c?.maximumFractionDigits===0?`numeric`:`decimal`,autoComplete:`off`,disabled:p,readOnly:d,value:ee,onChangeText:e=>{if(k(e),!e.trim())return M(null);let t=W1(e,l,c);Number.isNaN(t)||M(t)},onFocus:e=>{k(ee),v?.(e)},onBlur:e=>{let t=O;if(k(null),t!=null&&t.trim()){let e=W1(t,l,c);Number.isNaN(e)||M(u?e:K1(e,r,i))}y?.(e)},onKeyDown:ne});if(!m)return re;let ie=Bde[C],ae=e=>()=>te(e);return(0,L.jsxs)(B,{...K(`number-field`),items:`center`,gap:`$1`,width:`100%`,minW:0,children:[(0,L.jsx)(B,{flex:1,minW:0,children:re}),(0,L.jsx)(q,{...K(`number-field-decrement`),variant:`outline`,size:ie,"aria-label":h??S(`Decrease`),tabIndex:-1,disabled:p||!u&&N,...d?{opacity:.5,cursor:`default`,hoverStyle:{bg:`$background`}}:null,onPress:ae(-a),children:(0,L.jsx)(qj,{size:16})}),(0,L.jsx)(q,{...K(`number-field-increment`),variant:`outline`,size:ie,"aria-label":g??S(`Increase`),tabIndex:-1,disabled:p||!u&&P,...d?{opacity:.5,cursor:`default`,hoverStyle:{bg:`$background`}}:null,onPress:ae(a),children:(0,L.jsx)(Qj,{size:16})})]})}var J1=(e,t=!1,n)=>{let[r,i]=(0,b.useState)(t);return[e??r,t=>{e===void 0&&i(t),n?.(t)}]},Y1=(0,b.forwardRef)(function({disabled:e,open:t,label:n,children:r,...i},a){let o=(0,b.useContext)(aI),s=_N(),c=$F[o?.size??vN(void 0,s)];return(0,L.jsx)(B,{ref:a,...K(`field-segment`),render:`button`,type:`button`,disabled:e,"aria-expanded":!!t,...n?{"aria-label":n}:null,height:c.h-2,marginInlineStart:o?-c.gutter:0,shrink:0,items:`center`,gap:`$1`,px:`$2`,bg:`transparent`,borderWidth:0,borderInlineEndWidth:1,borderColor:`$borderColor`,borderStartStartRadius:`$3`,borderEndStartRadius:`$3`,cursor:e?`not-allowed`:`pointer`,opacity:e?.5:1,hoverStyle:e?void 0:{bg:`$hover`},focusVisibleStyle:{..._P,outlineOffset:-2},...i,children:r})}),X1=32;function Z1({trigger:e,open:t,onOpenChange:n,options:r,value:i,onPick:a,searchLabel:o,emptyLabel:s,width:c=240}){let{t:l}=FM(),u=_N(),d=o??l(`Search`);return(0,L.jsxs)(_I,{open:t,onOpenChange:n,placement:`bottom-start`,children:[(0,L.jsx)(vI,{asChild:!0,children:e}),(0,L.jsx)(yI,{"data-slot":`search-list`,p:0,width:c,sideOffset:8,overflow:`hidden`,children:(0,L.jsx)(gN,{value:u,children:(0,L.jsxs)(KP,{value:i??void 0,children:[(0,L.jsx)(qP,{placeholder:d,"aria-label":d,autoFocus:!0}),(0,L.jsxs)(JP,{p:`$1`,children:[(0,L.jsx)(YP,{children:s??l(`No results`)}),r.map(e=>(0,L.jsxs)(XP,{value:e.value,keywords:[e.label,...e.keywords??[]],disabled:e.disabled,minH:X1,px:`$1`,rounded:`$xs`,...RM(X1,44,`y`),onSelect:e=>a(e),"aria-selected":e.value===i,children:[e.start?(0,L.jsx)(B,{shrink:0,items:`center`,children:e.start}):null,(0,L.jsx)(V,{size:`$2`,color:`$ink`,flex:1,minW:0,numberOfLines:1,children:e.label}),e.end==null?null:(0,L.jsx)(V,{size:`$2`,color:`$hint`,shrink:0,children:e.end}),(0,L.jsx)(cj,{size:16,opacity:+(e.value===i),shrink:0})]},e.value))]})]})})})]})}var Vde=e=>`${e.name} (${e.code})`,Hde=e=>[e.name,e.code,e.symbol].filter(Boolean).join(` `);function Ude({currencies:e,value:t,defaultValue:n=null,onValueChange:r,placeholder:i=`—`,renderValue:a,getOptionLabel:o=Vde,getSearchText:s=Hde,selectedFirst:c=!1,closeOnSelect:l=!0,open:u,defaultOpen:d,onOpenChange:f,disabled:p=!1,label:m,searchLabel:h,emptyLabel:g}){let{t:_}=FM(),v=m??_(`Currency`),[y,x]=(0,b.useState)(n),S=t===void 0?y:t,[C,w]=J1(u,d,f),T=e.find(e=>e.code===S),E=(c&&T?[T,...e.filter(e=>e!==T)]:e).map(e=>({value:e.code,label:o(e),keywords:[s(e)],disabled:e.disabled,end:e.symbol}));return(0,L.jsx)(Z1,{open:C&&!p,onOpenChange:e=>w(!p&&e),options:E,value:S,searchLabel:h??_(`Search currencies`),emptyLabel:g??_(`No currency found`),onPick:e=>{t===void 0&&x(e),e!==S&&r?.(e),l&&w(!1)},trigger:(0,L.jsxs)(Y1,{"data-slot":`currency-picker`,disabled:p,open:C,label:T?_(`{label}: {value}`,{label:v,value:T.name}):v,children:[a?a(T):(0,L.jsx)(V,{size:`$2`,fontWeight:`500`,color:`$hint`,children:T?.code??i}),(0,L.jsx)(lj,{size:14,color:`$hint`})]})})}var Q1=e=>{let t=e?.trim().toUpperCase();return!t||!/^[A-Z]{2}$/.test(t)?null:String.fromCodePoint(...[...t].map(e=>127462+e.charCodeAt(0)-65))};function $1({iso:e,override:t}){let n=t??Q1(e);return(0,L.jsx)(B,{width:16,height:12,rounded:`$2xs`,overflow:`hidden`,items:`center`,justify:`center`,shrink:0,"aria-hidden":!0,children:n==null?(0,L.jsx)(Pj,{size:14,color:`$hint`}):typeof n==`string`?(0,L.jsx)(V,{size:`$2`,lineHeight:12,children:n}):n})}function Wde({countries:e,value:t,defaultValue:n=null,onValueChange:r,closeOnSelect:i=!0,open:a,defaultOpen:o,onOpenChange:s,disabled:c=!1,label:l,searchLabel:u,emptyLabel:d}){let{t:f}=FM(),p=l??f(`Country calling code`),[m,h]=(0,b.useState)(n),g=t===void 0?m:t,[_,v]=J1(a,o,s),y=e.find(e=>e.value===g),x=e.map(e=>({value:e.value,label:e.label,keywords:[e.value,e.callingCode,`+${e.callingCode}`],disabled:e.disabled,start:(0,L.jsx)(B,{paddingInlineEnd:`$1`,children:(0,L.jsx)($1,{iso:e.value,override:e.flag})}),end:`+${e.callingCode}`}));return(0,L.jsx)(Z1,{open:_&&!c,onOpenChange:e=>v(!c&&e),options:x,value:g,searchLabel:u??f(`Search countries`),emptyLabel:d??f(`No country found`),width:280,onPick:e=>{t===void 0&&h(e),e!==g&&r?.(e),i&&v(!1)},trigger:(0,L.jsxs)(Y1,{"data-slot":`phone-country-picker`,disabled:c,open:_,gap:`$0.5`,paddingInlineStart:`$2`,paddingInlineEnd:`$1`,children:[(0,L.jsx)($1,{iso:y?.value,override:y?.flag}),(0,L.jsx)(lj,{size:14,color:`$hint`}),(0,L.jsx)(JD,{children:y?f(`{label}: {country} +{code}`,{label:p,country:y.label,code:y.callingCode}):p})]})})}var e0=`none`,t0=({iso:e,override:t})=>{let n=t??Q1(e);return(0,L.jsx)(B,{width:16,height:16,items:`center`,justify:`center`,shrink:0,"aria-hidden":!0,children:n==null?(0,L.jsx)(gj,{size:16,color:`$hint`}):typeof n==`string`?(0,L.jsx)(V,{size:`$3`,lineHeight:16,children:n}):n})};function Gde({countries:e,value:t,defaultValue:n=null,onValueChange:r,label:i,"aria-label":a,noCountryLabel:o,searchLabel:s,noResultsLabel:c,size:l,open:u,defaultOpen:d,onOpenChange:f,disabled:p=!1}){let{t:m}=FM(),h=o??m(`No country`),g=_N(),_=$F[vN(l,g)],v=(0,b.useId)(),[y,x]=(0,b.useState)(n),S=t===void 0?y:t,[C,w]=J1(u,d,f),T=p||e.length===0,E=e.find(e=>e.value===S),D=[{value:e0,label:h,start:(0,L.jsx)(t0,{})},...e.map(e=>({value:e.value,label:e.label,keywords:[e.value],disabled:e.disabled,start:(0,L.jsx)(t0,{iso:e.value,override:e.flag})}))],O=(0,L.jsxs)(B,{...K(`country-select`),render:`button`,type:`button`,disabled:T,"aria-expanded":C,...i?{"aria-labelledby":v}:a?{"aria-label":a}:null,componentName:`Input`,...tI,...g===`compact`?{bg:`$panel`}:null,minH:_.h,px:_.gutter,width:`100%`,minW:0,items:`center`,gap:`$2`,cursor:T?`not-allowed`:`pointer`,opacity:T?.5:1,borderColor:C?`$borderColorFocus`:`$borderColor`,hoverStyle:T?void 0:{borderColor:`$borderColorHover`},...RM(_.h,44,`y`),children:[(0,L.jsx)(t0,{iso:E?.value,override:E?.flag}),(0,L.jsx)(V,{size:_.font,color:E?`$ink`:`$placeholderColor`,flex:1,minW:0,numberOfLines:1,...PN(`start`),children:E?.label??h}),(0,L.jsx)(lj,{size:16,opacity:.5,shrink:0})]});return(0,L.jsxs)(z,{...K(`country-select-field`),width:`100%`,minW:0,gap:`$1`,children:[i?(0,L.jsx)(V,{id:v,size:`$1`,fontWeight:`600`,color:`$hint`,children:i}):null,(0,L.jsx)(Z1,{open:C&&!T,onOpenChange:e=>w(!T&&e),options:D,value:S??e0,searchLabel:s,emptyLabel:c,width:280,onPick:e=>{let n=e===e0?null:e;t===void 0&&x(n),n!==S&&r?.(n),w(!1)},trigger:O})]})}var n0=`appearance`;async function Kde(e){return await r0(n0,e)}async function r0(e,{base:t,token:n,signal:r}){if(!(typeof window<`u`&&new URL(t,window.location.origin).origin!==window.location.origin&&!n))try{return(await a0(t,n,{},r))?.[e]}catch{return}}async function i0(e,t){return qde(n0,e,t)}async function qde(e,t,{base:n,token:r,signal:i}){if(typeof window<`u`&&new URL(n,window.location.origin).origin!==window.location.origin&&!r)return!1;try{return!!await a0(n,r,{[e]:t},i)}catch{return!1}}async function a0(e,t,n,r){let i=typeof window<`u`&&new URL(e,window.location.origin).origin!==window.location.origin,a=await fetch(`${e.replace(/\/+$/,``)}/v1/iam/preferences`,{method:`POST`,credentials:t||i?`omit`:`include`,headers:{"Content-Type":`application/json`,...t?{Authorization:`Bearer ${t}`}:{}},body:JSON.stringify(n),signal:r});if(!a.ok)return;let o=await a.json();if(o?.status===`ok`)return o.data??{}}var o0=`hanzo.composer`,Jde=`hanzo:composer`;function s0(e){let t=e&&typeof e==`object`?e:{},n={};return(t.send===`enter`||t.send===`mod`)&&(n.send=t.send),typeof t.chips==`boolean`&&(n.chips=t.chips),typeof t.model==`boolean`&&(n.model=t.model),typeof t.mode==`boolean`&&(n.mode=t.mode),n}var Yde=()=>{try{return typeof window>`u`?void 0:window.localStorage}catch{return}};function Xde(e,t=Yde()){let n=s0(e);try{if(!t)throw Error(`no storage`);Object.keys(n).length?t.setItem(o0,JSON.stringify(n)):t.removeItem(o0)}catch{}typeof window<`u`&&window.dispatchEvent(new Event(Jde))}async function Zde(e){let t=await r0(`composer`,e);return t===void 0?void 0:s0(t)}var c0={"--neutral-50":`#FAFAFA`,"--neutral-100":`#F5F5F5`,"--neutral-200":`#E5E5E5`,"--neutral-300":`#D4D4D4`,"--neutral-400":`#A3A3A3`,"--neutral-500":`#737373`,"--neutral-600":`#525252`,"--neutral-700":`#404040`,"--neutral-800":`#262626`,"--neutral-900":`#171717`,"--neutral-950":`#0A0A0A`,"--pure-black":`#000000`,"--pure-white":`#FFFFFF`,"--hanzo-black":`#0A0A0B`,"--hanzo-white":`#FFFFFF`,"--art-tide":`#2F6BFF`,"--art-iris":`#8B5CF6`,"--art-ember":`#FF7A3D`,"--art-glow":`#F4F1FF`,"--white-03":`rgb(255 255 255 / .03)`,"--white-05":`rgb(255 255 255 / .05)`,"--white-06":`rgb(255 255 255 / .06)`,"--white-08":`rgb(255 255 255 / .08)`,"--white-10":`rgb(255 255 255 / .10)`,"--white-14":`rgb(255 255 255 / .14)`,"--white-15":`rgb(255 255 255 / .15)`,"--white-16":`rgb(255 255 255 / .16)`,"--white-18":`rgb(255 255 255 / .18)`,"--white-20":`rgb(255 255 255 / .20)`,"--white-22":`rgb(255 255 255 / .22)`,"--white-30":`rgb(255 255 255 / .30)`,"--white-40":`rgb(255 255 255 / .40)`,"--white-45":`rgb(255 255 255 / .45)`,"--white-55":`rgb(255 255 255 / .55)`,"--white-60":`rgb(255 255 255 / .60)`,"--white-78":`rgb(255 255 255 / .78)`,"--white-80":`rgb(255 255 255 / .80)`,"--white-92":`rgb(255 255 255 / .92)`,"--background":`#0a0a0a`,"--foreground":`#e5e5e5`,"--card":`#0f0f0f`,"--card-foreground":`#e5e5e5`,"--popover":`#0f0f0f`,"--popover-foreground":`#e5e5e5`,"--primary":`#fafafa`,"--primary-hover":`#e5e5e5`,"--primary-foreground":`#0a0a0a`,"--secondary":`#262626`,"--secondary-hover":`#333333`,"--secondary-foreground":`#fafafa`,"--muted":`#171717`,"--muted-foreground":`#a3a3a3`,"--accent":`#262626`,"--accent-hover":`var(--secondary-hover)`,"--accent-foreground":`#fafafa`,"--destructive":`#dc2626`,"--destructive-hover":`#b91c1c`,"--destructive-foreground":`#fafafa`,"--border":`var(--white-10)`,"--border-strong":`var(--white-16)`,"--border-control":`var(--white-15)`,"--border-focus":`var(--white-22)`,"--border-selected":`var(--white-30)`,"--edge":`var(--white-06)`,"--input":`var(--border-control)`,"--ring":`var(--white-40)`,"--ring-halo":`var(--white-10)`,"--brand":`#e4e4e7`,"--brand-foreground":`#09090b`,"--brand-muted":`#a3a3a3`,"--black":`#000000`,"--white":`#fafafa`,"--selection":`var(--white-20)`,"--glass":`var(--white-05)`,"--glass-strong":`var(--white-08)`,"--surface-page":`var(--background)`,"--surface-card":`rgb(38 38 38 / .5)`,"--surface-card-emphasis":`rgb(38 38 38 / .75)`,"--surface-card-quiet":`rgb(38 38 38 / .35)`,"--surface-overlay":`rgb(23 23 23 / .92)`,"--surface-header":`rgb(0 0 0 / .7)`,"--surface-scrim":`rgb(0 0 0 / .8)`,"--surface-0":`var(--background)`,"--surface-1":`var(--card)`,"--surface-2":`var(--muted)`,"--surface-3":`var(--secondary)`,"--text-primary":`#fafafa`,"--text-secondary":`var(--white-78)`,"--text-tertiary":`var(--white-55)`,"--text-helper":`var(--muted-foreground)`,"--text-disabled":`var(--white-30)`,"--state-error":`#ef4444`,"--state-error-text":`#fca5a5`,"--state-error-bg":`rgb(239 68 68 / .1)`,"--state-online":`#4ade80`,"--state-success":`#22c55e`,"--chrome-dot-red":`rgb(239 68 68 / .6)`,"--chrome-dot-yellow":`rgb(234 179 8 / .6)`,"--chrome-dot-green":`rgb(34 197 94 / .6)`,"--type-scale":`1`,"--type-ratio":`1`,"--text-floor":`0.75rem`,"--text-ceiling":`30vw`,"--text-xs":`0.75rem`,"--leading-xs":`1rem`,"--text-sm":`0.8125rem`,"--leading-sm":`1.15rem`,"--text-base":`0.875rem`,"--leading-base":`1.35rem`,"--text-lg":`0.9375rem`,"--leading-lg":`1.4rem`,"--text-xl":`1.0625rem`,"--leading-xl":`1.55rem`,"--text-2xl":`1.3125rem`,"--leading-2xl":`1.7rem`,"--text-3xl":`1.625rem`,"--leading-3xl":`1.95rem`,"--text-4xl":`2rem`,"--leading-4xl":`2.25rem`,"--text-5xl":`2.5rem`,"--leading-5xl":`1.05`,"--text-6xl":`3.25rem`,"--leading-6xl":`1`,"--text-7xl":`4rem`,"--leading-7xl":`1`,"--text-8xl":`5.25rem`,"--leading-8xl":`1`,"--text-9xl":`7rem`,"--leading-9xl":`1`,"--font-size-xs":`var(--text-xs)`,"--font-size-sm":`var(--text-sm)`,"--font-size-base":`var(--text-base)`,"--font-size-lg":`var(--text-lg)`,"--font-size-xl":`var(--text-xl)`,"--font-size-2xl":`var(--text-2xl)`,"--font-size-3xl":`var(--text-3xl)`,"--font-size-4xl":`var(--text-4xl)`,"--font-size-5xl":`var(--text-5xl)`,"--font-size-6xl":`var(--text-6xl)`,"--font-size-7xl":`var(--text-7xl)`,"--font-size-8xl":`var(--text-8xl)`,"--font-size-9xl":`var(--text-9xl)`,"--text-control":`var(--text-sm)`,"--weight-normal":`400`,"--weight-medium":`500`,"--weight-semibold":`600`,"--weight-bold":`700`,"--tracking-tight":`-0.025em`,"--tracking-normal":`0em`,"--tracking-wide":`0.025em`,"--tracking-widest":`0.1em`,"--leading-none":`1`,"--leading-tight":`1.25`,"--leading-snug":`1.375`,"--leading-normal":`1.5`,"--leading-relaxed":`1.625`,"--leading-golden":`1.618`,"--type-hero":`600 var(--text-5xl)/1.05 var(--font-display)`,"--type-h2":`700 var(--text-4xl)/var(--leading-4xl) var(--font-display)`,"--type-h3":`600 var(--text-xl)/var(--leading-xl) var(--font-display)`,"--type-lead":`400 var(--text-lg)/var(--leading-relaxed) var(--font-sans)`,"--type-body":`400 var(--text-sm)/var(--leading-sm) var(--font-sans)`,"--type-caption":`400 var(--text-xs)/var(--leading-xs) var(--font-sans)`,"--type-code":`400 var(--text-sm)/var(--leading-relaxed) var(--font-mono)`,"--type-eyebrow":`600 0.75rem/1 var(--font-sans)`,"--density":`1`,"--space-0":`0`,"--space-1":`0.25rem`,"--space-2":`0.5rem`,"--space-3":`0.75rem`,"--space-4":`1rem`,"--space-5":`1.25rem`,"--space-6":`1.5rem`,"--space-8":`2rem`,"--space-10":`2.5rem`,"--space-12":`3rem`,"--space-14":`3.5rem`,"--space-16":`4rem`,"--space-20":`5rem`,"--space-24":`6rem`,"--space-32":`8rem`,"--golden-1":`0.25rem`,"--golden-2":`0.405rem`,"--golden-3":`0.654rem`,"--golden-4":`1.059rem`,"--golden-5":`1.713rem`,"--golden-6":`2.772rem`,"--golden-7":`4.487rem`,"--golden-8":`7.26rem`,"--golden-9":`11.749rem`,"--golden-split":`38.2% 61.8%`,"--container-max":`80rem`,"--container-prose":`48rem`,"--container-wide":`72rem`,"--gutter":`max(1rem,var(--safe-left),var(--safe-right))`,"--page-gutter":`clamp(20px,4vw,72px)`,"--gutter-sm":`1.5rem`,"--gutter-lg":`2rem`,"--section-y":`2.5rem`,"--section-y-lg":`3.5rem`,"--hero-y":`3rem`,"--hero-y-lg":`4.5rem`,"--header-height":`3.5rem`,"--header":`0px`,"--dock":`0px`,"--tap-target":`44px`,"--control-height-sm":`32px`,"--control-height":`36px`,"--control-height-lg":`40px`,"--control-height-xl":`52px`,"--safe-top":`env(safe-area-inset-top,0px)`,"--safe-right":`env(safe-area-inset-right,0px)`,"--safe-bottom":`env(safe-area-inset-bottom,0px)`,"--safe-left":`env(safe-area-inset-left,0px)`,"--grid-columns":`12`,"--grid-gap":`var(--space-6)`,"--grid-gap-tight":`var(--space-4)`,"--grid-gap-loose":`var(--space-8)`,"--breakpoint-sm":`40rem`,"--breakpoint-md":`48rem`,"--breakpoint-lg":`64rem`,"--breakpoint-xl":`80rem`,"--breakpoint-2xl":`96rem`,"--grid-card-min":`18rem`,"--grid-card-min-wide":`24rem`,"--radius-scale":`1`,"--radius":`calc(0.5rem * var(--radius-scale, 1))`,"--radius-sm":`calc(0.375rem * var(--radius-scale, 1))`,"--radius-md":`calc(0.5rem * var(--radius-scale, 1))`,"--radius-lg":`calc(0.75rem * var(--radius-scale, 1))`,"--radius-xl":`calc(1rem * var(--radius-scale, 1))`,"--radius-2xl":`calc(1.5rem * var(--radius-scale, 1))`,"--radius-composer":`calc(28px * var(--radius-scale, 1))`,"--radius-full":`9999px`,"--shadow-none":`none`,"--shadow-floating":`0 24px 60px -16px rgb(0 0 0 / .75)`,"--shadow-inset-hairline":`inset 0 0 0 1px var(--white-10)`,"--edge-highlight":`inset 0 1px 0 0 rgb(255 255 255 / .10)`,"--bloom":`0 0 24px -2px rgb(255 255 255 / .28)`,"--ring-focus":`0 0 0 3px var(--ring-halo)`,"--shadow-sm":`0 1px 2px 0 rgb(0 0 0 / .40)`,"--shadow":`0 1px 3px 0 rgb(0 0 0 / .45), 0 1px 2px -1px rgb(0 0 0 / .45)`,"--shadow-md":`0 4px 6px -1px rgb(0 0 0 / .50), 0 2px 4px -2px rgb(0 0 0 / .50)`,"--shadow-lg":`0 10px 15px -3px rgb(0 0 0 / .55), 0 4px 6px -4px rgb(0 0 0 / .55)`,"--shadow-xl":`0 20px 25px -5px rgb(0 0 0 / .60), 0 8px 10px -6px rgb(0 0 0 / .60)`,"--shadow-2xl":`var(--shadow-floating)`,"--sheet-0":`var(--surface-page)`,"--sheet-1":`var(--surface-card)`,"--sheet-2":`var(--surface-card-emphasis)`,"--shadow-sheet-1":`var(--edge-highlight),0 1px 2px 0 rgb(0 0 0 / .40)`,"--shadow-sheet-2":`var(--edge-highlight),0 10px 15px -3px rgb(0 0 0 / .55),0 4px 6px -4px rgb(0 0 0 / .55)`,"--fold":`12px`,"--fold-face":`linear-gradient(315deg,var(--glass-strong) 0,var(--glass-strong) calc(var(--fold) - 1px),var(--border-strong) calc(var(--fold) - 1px),var(--border-strong) var(--fold),transparent var(--fold))`,"--glow-hero":`radial-gradient(circle,rgb(255 255 255 / .12) 0%,transparent 68%)`,"--glow-hero-blur":`120px`,"--sheen-card":`radial-gradient(120% 120% at 80% 0%,rgb(255 255 255 / .08) 0%,transparent 55%)`,"--sheen-edge":`linear-gradient(90deg,transparent,rgb(255 255 255 / .14) 50%,transparent)`,"--gradient-chrome":`linear-gradient(to right,#ffffff,var(--white-80),var(--white-60))`,"--gradient-chrome-2":`linear-gradient(to right,#ffffff,var(--neutral-500))`,"--gradient-protect":`linear-gradient(to bottom,var(--white-10),transparent)`,"--chrome":`rgb(9 9 11 / .72)`,"--chrome-blur":`blur(20px) saturate(1.8)`,"--chrome-panel":`var(--popover)`,"--pane-blur":`var(--chrome-blur)`,"--pane-edge":`var(--white-08)`,"--pane-round":`var(--radius-xl)`,"--pane-fill":`var(--sheet-1)`,"--pane-solid":`color-mix(in srgb,var(--neutral-800) 50%,var(--background))`,"--pane-floor":`var(--background)`,"--pane-gap":`var(--space-2)`,"--pane-ground":`radial-gradient(80rem 40rem at 12% -10%,rgb(255 255 255 / .035),transparent 60%),radial-gradient(60rem 34rem at 92% 108%,var(--white-03),transparent 60%)`,"--duration-fast":`150ms`,"--duration-base":`300ms`,"--duration-slow":`400ms`,"--duration-slower":`500ms`,"--duration-glow":`9s`,"--duration-press":`90ms`,"--ease-out":`cubic-bezier(0,0,0.2,1)`,"--ease-in-out":`cubic-bezier(0.4,0,0.2,1)`,"--ease-emphasis":`cubic-bezier(0.16,1,0.3,1)`,"--stagger":`60ms`,"--entry-rise":`16px`,"--entry-rise-lg":`24px`,"--z-base":`0`,"--z-raised":`10`,"--z-sticky":`200`,"--z-header":`300`,"--z-dropdown":`400`,"--z-overlay":`500`,"--z-modal":`600`,"--z-popover":`700`,"--z-toast":`800`,"--z-under":`-10`,"--z-panel":`18`,"--z-scrim":`19`,"--z-drawer":`20`,"--z-sheet":`30`,"--z-dock":`40`,"--z-banner":`50`,"--z-tooltip":`var(--z-popover)`,"--z-notification":`var(--z-toast)`,"--font-arabic-kufi":`"Noto Kufi Arabic"`,"--font-arabic-sans":`"Noto Sans Arabic"`,"--font-arabic-plex":`"IBM Plex Sans Arabic"`,"--font-arabic":`var(--font-arabic-kufi)`,"--font-sans":`var(--font-arabic), Zen, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif`,"--font-display":`var(--font-sans)`,"--font-mono":`var(--font-arabic), Zen Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace`,"--font-serif":`var(--font-arabic), Georgia, serif`,"--font-feature-settings":`normal`,"--ring-offset":`-2px`},Qde=.85,$de=1.4,efe=.75,tfe=1.5,nfe=1.05,rfe=[`2xl`,`3xl`,`4xl`,`5xl`,`6xl`,`7xl`,`8xl`,`9xl`],ife=1.0625,l0={compact:.85,default:1,comfortable:1.15},afe={system:`ui-sans-serif, system-ui, -apple-system, sans-serif`,serif:`var(--font-serif)`,mono:`var(--font-mono)`},ofe={kufi:`var(--font-arabic-kufi)`,sans:`var(--font-arabic-sans)`,plex:`var(--font-arabic-plex)`},sfe={narrow:{max:`64rem`,prose:`40rem`,wide:`58rem`},wide:{max:`96rem`,prose:`56rem`,wide:`86rem`}},cfe={sharp:.5,round:1.5},u0=(e,t,n)=>Math.min(n,Math.max(t,e)),d0=e=>String(Math.round(e*1e4)/1e4);function lfe(e){let t=e.trim();return!t||t.length>64||/[;{}()]/.test(t)&&!/^(rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color)\([^;{}]*\)$/i.test(t)?!1:/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(t)||/^(rgb|rgba|hsl|hsla|oklch|oklab|lab|lch|color)\([^;{}]*\)$/i.test(t)||/^[a-z]{3,20}$/i.test(t)}var f0=c0[`--primary-foreground`],p0=c0[`--primary`],m0=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,h0=(e,t,n)=>.2126*m0(e)+.7152*m0(t)+.0722*m0(n),g0=(e,t)=>{let n=parseFloat(e);return e.trim().endsWith(`%`)?n/100*t:n};function _0(e){let t=e.trim().toLowerCase(),n=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);if(n){let e=n[1],t=e.length<=4?[...e.slice(0,3)].map(e=>e+e).join(``):e.slice(0,6),[r,i,a]=[0,2,4].map(e=>parseInt(t.slice(e,e+2),16)/255);return h0(r,i,a)}let r=/^(rgba?|hsla?|oklch|oklab)\(([^)]*)\)$/.exec(t);if(!r)return;let i=r[2].split(/[\s,/]+/).filter(Boolean);if(!(i.length<3||i.slice(0,3).some(e=>!Number.isFinite(parseFloat(e))))){if(r[1].startsWith(`rgb`)){let[e,t,n]=i.slice(0,3).map(e=>u0(g0(e,255),0,255)/255);return h0(e,t,n)}if(r[1].startsWith(`hsl`)){let e=(parseFloat(i[0])%360+360)%360,t=u0(g0(i[1],1),0,1),n=u0(g0(i[2],1),0,1),r=t=>(t+e/30)%12,a=t*Math.min(n,1-n),o=e=>n-a*Math.max(-1,Math.min(r(e)-3,9-r(e),1));return h0(o(0),o(8),o(4))}return u0(g0(i[0],1),0,1)**3}}var v0=(e,t)=>(Math.max(e,t)+.05)/(Math.min(e,t)+.05);function ufe(e){let t=_0(e);if(t===void 0)return;let n=_0(f0)??0,r=_0(p0)??1;return v0(t,n)>=v0(t,r)?f0:p0}function dfe(e){let t={};if(typeof e.type==`number`&&Number.isFinite(e.type)&&(t[`--type-scale`]=d0(u0(e.type,Qde,$de))),typeof e.ratio==`number`&&Number.isFinite(e.ratio)&&(t[`--type-ratio`]=d0(u0(e.ratio,efe,tfe))),typeof e.modular==`number`&&Number.isFinite(e.modular)){let n=u0(e.modular,nfe,2);rfe.forEach((e,r)=>{let i=ife*n**+(r+1);t[`--text-${e}`]=`clamp(var(--text-floor), calc(${d0(i)}rem * var(--type-scale, 1)), var(--text-ceiling))`})}e.density&&e.density in l0&&(t[`--density`]=d0(l0[e.density]));let n=e.font?afe[e.font]:void 0;n&&(t[`--font-sans`]=n);let r=e.arabic?ofe[e.arabic]:void 0;r&&(t[`--font-arabic`]=r);let i=e.width?sfe[e.width]:void 0;i&&(t[`--container-max`]=i.max,t[`--container-prose`]=i.prose,t[`--container-wide`]=i.wide);let a=e.radius?cfe[e.radius]:void 0;a&&(t[`--radius-scale`]=d0(a));let o=e.accent&&lfe(e.accent)?e.accent.trim():void 0,s=o?ufe(o):void 0;if(o&&s){let e=`color-mix(in oklab, ${o} 85%, ${s})`;t[`--primary`]=o,t[`--primary-foreground`]=s,t[`--primary-hover`]=e,t[`--accent`]=o,t[`--accent-foreground`]=s,t[`--accent-hover`]=e}return t}var ffe=[`install`,`org`,`user`,`userOrg`],pfe=[`type`,`ratio`,`modular`,`density`,`font`,`arabic`,`width`,`accent`,`highlight`,`background`,`contrast`,`theme`,`radius`];function mfe(e){let t={},n={};for(let r of pfe)for(let i of ffe){let a=e[i]?.[r];a!=null&&a!==``&&(t[r]=a,n[r]=i)}return{pref:t,from:n}}var hfe=e=>e===`org`?`userOrg`:`user`,y0=/^(#[0-9a-fA-F]{3,8}|(?:rgb|hsl|oklch|oklab|lab|lch)a?\(\s*[-+0-9.%deg\s,/]+\)|[a-zA-Z]{3,20})$/;function b0(e){let t=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.exec(e);if(!t)return`#fafafa`;let n=t[1].length===3?t[1].replace(/./g,`$&$&`):t[1].slice(0,6),[r,i,a]=[0,2,4].map(e=>{let t=parseInt(n.slice(e,e+2),16)/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4});return .2126*r+.7152*i+.0722*a>.179?`#09090b`:`#fafafa`}var x0={oled:{"--background":`#000000`,"--foreground":`#fafafa`,"--text-primary":`#fafafa`,"--pane-floor":`#000000`,"--pane-fill":`#050505`,"--card":`#080808`,"--surface-card":`#080808`,"--card-foreground":`#fafafa`,"--popover":`#080808`,"--popover-foreground":`#fafafa`,"--muted":`#0d0d0d`,"--secondary":`#161616`,"--secondary-hover":`#1f1f1f`,"--secondary-foreground":`#fafafa`,"--composer-fill":`#111111`,"--composer-ground":`#111111`},soft:{"--background":`#181818`,"--foreground":`#fafafa`,"--text-primary":`#fafafa`,"--pane-floor":`#131312`,"--pane-fill":`#1c1c1b`,"--card":`#20201f`,"--surface-card":`#20201f`,"--card-foreground":`#fafafa`,"--popover":`#20201f`,"--popover-foreground":`#fafafa`,"--muted":`#252523`,"--secondary":`#2e2e2c`,"--secondary-hover":`#383835`,"--secondary-foreground":`#fafafa`,"--composer-fill":`#272725`,"--composer-ground":`#272725`},high:{"--background":`#000000`,"--foreground":`#ffffff`,"--text-primary":`#ffffff`,"--pane-floor":`#000000`,"--pane-fill":`#060606`,"--card":`#0a0a0a`,"--surface-card":`#0a0a0a`,"--card-foreground":`#ffffff`,"--popover":`#0a0a0a`,"--popover-foreground":`#ffffff`,"--muted":`#121212`,"--secondary":`#1f1f1f`,"--secondary-hover":`#292929`,"--secondary-foreground":`#ffffff`,"--composer-fill":`#141414`,"--composer-ground":`#141414`,"--border":`rgb(255 255 255 / .18)`}};function gfe(e){if(e.background!==void 0){let t=e.background.trim();if(y0.test(t))return b0(t)===`#09090b`?`light`:`dark`}return e.contrast&&e.contrast in x0?`dark`:e.theme}function S0(e){let t={...dfe(e)};if(e.contrast&&e.contrast in x0&&Object.assign(t,x0[e.contrast]),e.background!==void 0){let n=e.background.trim();if(y0.test(n)){let e=b0(n),r=e===`#09090b`?`black`:`white`;t[`--background`]=n,t[`--foreground`]=e,t[`--text-primary`]=e,t[`--pane-floor`]=`color-mix(in oklch, ${n} 95%, black)`,t[`--pane-fill`]=`color-mix(in oklch, ${n} 97%, ${r})`,t[`--card`]=`color-mix(in oklch, ${n} 95%, ${r})`,t[`--surface-card`]=`color-mix(in oklch, ${n} 95%, ${r})`,t[`--card-foreground`]=e,t[`--popover`]=`color-mix(in oklch, ${n} 92%, ${r})`,t[`--popover-foreground`]=e,t[`--muted`]=`color-mix(in oklch, ${n} 92%, ${r})`,t[`--secondary`]=`color-mix(in oklch, ${n} 90%, ${r})`,t[`--secondary-hover`]=`color-mix(in oklch, ${n} 84%, ${r})`,t[`--secondary-foreground`]=e,t[`--composer-fill`]=`color-mix(in oklch, ${n} 90%, ${r})`,t[`--composer-ground`]=`color-mix(in oklch, ${n} 90%, ${r})`}}if(e.highlight!==void 0){let n=e.highlight.trim();y0.test(n)&&(t[`--highlight`]=n,t[`--selection`]=`color-mix(in oklab, ${n} 28%, transparent)`,t[`--ring`]=`color-mix(in oklab, ${n} 55%, transparent)`,t[`--ring-halo`]=`color-mix(in oklab, ${n} 18%, transparent)`,t[`--border-focus`]=`color-mix(in oklab, ${n} 50%, transparent)`,t[`--border-selected`]=`color-mix(in oklab, ${n} 65%, transparent)`)}return t}var C0=`hanzo.appearance`,w0=(e,t)=>e===`org`&&t?`${C0}@${t}`:C0,_fe={type:1,density:`default`},T0=()=>typeof document<`u`,vfe=[`kufi`,`sans`,`plex`];function E0({scope:e=`everywhere`,org:t,store:n=j0()}={}){try{let r=n?.getItem(w0(e,t));if(!r)return{};let i=JSON.parse(r);return!i||typeof i!=`object`?{}:{...typeof i.type==`number`&&Number.isFinite(i.type)?{type:i.type}:{},...typeof i.ratio==`number`&&Number.isFinite(i.ratio)?{ratio:i.ratio}:{},...typeof i.modular==`number`&&Number.isFinite(i.modular)?{modular:i.modular}:{},...i.density===`compact`||i.density===`comfortable`||i.density==="default"?{density:i.density}:{},...i.font==="default"||i.font===`system`||i.font===`serif`||i.font===`mono`?{font:i.font}:{},...i.arabic==="default"||vfe.includes(i.arabic)?{arabic:i.arabic}:{},...i.width===`narrow`||i.width==="default"||i.width===`wide`?{width:i.width}:{},...typeof i.accent==`string`?{accent:i.accent}:{},...typeof i.highlight==`string`?{highlight:i.highlight}:{},...typeof i.background==`string`?{background:i.background}:{},...i.contrast===`oled`||i.contrast===`soft`||i.contrast===`high`?{contrast:i.contrast}:{},...i.theme===`system`||i.theme===`light`||i.theme===`dark`?{theme:i.theme}:{},...i.radius===`sharp`||i.radius==="default"||i.radius===`round`?{radius:i.radius}:{}}}catch{return{}}}function yfe({org:e,store:t=j0()}={}){return{user:E0({scope:`everywhere`,store:t}),...e?{userOrg:E0({scope:`org`,org:e,store:t})}:{}}}var D0=`hanzo:appearance`;function O0(e,{scope:t=`everywhere`,org:n,store:r=j0()}={}){try{return r?.setItem(w0(t,n),JSON.stringify(e)),typeof window<`u`&&typeof Event==`function`&&window.dispatchEvent(new Event(D0)),!!r}catch{return!1}}function bfe(e,t=T0()?document.documentElement:void 0,{store:n=j0()}={}){if(!t)return;let r=S0(e);for(let e of wfe){let n=r[e];n?t.style.setProperty(e,n):t.style.removeProperty(e)}let i=gfe(e);if(k0(i,t),T0()&&t===document.documentElement){Cfe(i);try{n?.setItem(xfe,JSON.stringify({vars:r,...i?{theme:i}:{}}))}catch{}}}var xfe=`${C0}.painted`,Sfe=e=>e===`dark`||e===`system`&&typeof matchMedia==`function`&&matchMedia(`(prefers-color-scheme: dark)`).matches;function k0(e,t){if(!e&&!t.hasAttribute(`data-scheme`))return;let n=!e||Sfe(e);t.classList.toggle(`light`,!n),t.classList.toggle(`dark`,n),t.classList.toggle(`t_light`,!n),t.classList.toggle(`t_dark`,n),t.style.colorScheme=n?`dark`:`light`,e?t.setAttribute(`data-scheme`,e):t.removeAttribute(`data-scheme`)}var A0;function Cfe(e){if(e===`system`){if(A0||typeof matchMedia!=`function`)return;let e=matchMedia(`(prefers-color-scheme: dark)`),t=()=>k0(`system`,document.documentElement);e.addEventListener?.(`change`,t),A0={query:e,on:t}}else A0&&=(A0.query.removeEventListener?.(`change`,A0.on),void 0)}var wfe=Object.keys(S0({type:1,ratio:1,modular:1.25,density:`compact`,font:`serif`,arabic:`sans`,width:`wide`,accent:`#000`,highlight:`#000`,background:`#000`,contrast:`high`,radius:`round`}));function Tfe({install:e,org:t,orgId:n,store:r}={}){return mfe({install:e,org:t,...yfe({org:n,store:r})})}function j0(){try{return typeof localStorage<`u`?localStorage:void 0}catch{return}}var Efe=()=>document.documentElement.classList.contains(`light`)?`light`:`dark`;function Dfe(e){let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]}),()=>t.disconnect()}function Ofe(){return(0,b.useSyncExternalStore)(Dfe,Efe,()=>`dark`)}function kfe({org:e,install:t,orgPref:n,account:r}={}){let[i,a]=(0,b.useState)(_fe),[o,s]=(0,b.useState)({}),[c,l]=(0,b.useState)(`everywhere`),u=(0,b.useCallback)((r=c)=>{let i=Tfe({install:t,org:n,orgId:e});return a(i.pref),s(i.from),bfe(i.pref),l(r),i},[t,n,e,c]);return(0,b.useEffect)(()=>{u()},[e,t,n]),(0,b.useEffect)(()=>{if(typeof window>`u`)return;let e=()=>u();return window.addEventListener(D0,e),window.addEventListener(`storage`,e),()=>{window.removeEventListener(D0,e),window.removeEventListener(`storage`,e)}},[u]),(0,b.useEffect)(()=>{if(!r)return;let e=!0;return Kde(r).then(t=>{e&&t&&(O0(t,{scope:`everywhere`}),u())}),Zde(r).then(t=>{e&&t&&Xde(t)}),()=>{e=!1}},[r?.base,r?.token]),{pref:i,set:(0,b.useCallback)(t=>{let n={...E0({scope:c,org:e}),...t};`accent`in t&&t.accent===void 0&&delete n.accent,`highlight`in t&&t.highlight===void 0&&delete n.highlight,`background`in t&&t.background===void 0&&delete n.background,`contrast`in t&&t.contrast===void 0&&delete n.contrast,O0(n,{scope:c,org:e}),u(),r&&c===`everywhere`&&i0(n,r)},[c,e,u,r]),reset:(0,b.useCallback)(()=>{O0({},{scope:c,org:e}),u(),r&&c===`everywhere`&&i0({},r)},[c,e,u,r]),scope:c,setScope:e=>u(e),from:o,layer:hfe(c)}}var Afe={Close:`إغلاق`,"Close window":`إغلاق النافذة`,"Minimize window":`تصغير النافذة`,"Restore window":`استعادة النافذة`,"Maximize window":`تكبير النافذة`,Resize:`تغيير الحجم`,"Select all":`تحديد الكل`,"Select row":`تحديد الصف`,"Previous month":`الشهر السابق`,"Next month":`الشهر التالي`,Dismiss:`تجاهل`,Breadcrumb:`مسار التنقل`,Cards:`بطاقات`,"Copy code":`نسخ الرمز`,Copied:`تم النسخ`,"Copied!":`تم النسخ!`,Copy:`نسخ`,"Previous slide":`الشريحة السابقة`,"Next slide":`الشريحة التالية`,"Previous card":`البطاقة السابقة`,"Next card":`البطاقة التالية`,"Zoom out":`تصغير`,"Zoom in":`تكبير`,Rotate:`تدوير`,Filter:`تصفية`,"Expand all":`توسيع الكل`,"Collapse all":`طي الكل`,"Search...":`بحث...`,"Pick a date":`اختر تاريخًا`,Select:`تحديد`,"Start typing...":`ابدأ الكتابة...`,Search:`بحث`,Decrease:`إنقاص`,Increase:`زيادة`,pagination:`ترقيم الصفحات`,"Go to previous page":`الانتقال إلى الصفحة السابقة`,"Go to next page":`الانتقال إلى الصفحة التالية`,Previous:`السابق`,Next:`التالي`,"More pages":`مزيد من الصفحات`,Remove:`إزالة`,"Go back":`رجوع`,"Go forward":`تقدم`,"Reload page":`إعادة تحميل الصفحة`,Share:`مشاركة`,"New tab":`علامة تبويب جديدة`,Menu:`القائمة`,"Copy command":`نسخ الأمر`,"Terminal input":`إدخال الطرفية`,Seek:`التمرير`,"Rewind 10 seconds":`إرجاع 10 ثوانٍ`,"Forward 10 seconds":`تقديم 10 ثوانٍ`,Volume:`مستوى الصوت`,"Toggle captions":`تبديل التعليقات`,"Playback speed":`سرعة التشغيل`,Quality:`الجودة`,"Picture in picture":`صورة داخل صورة`,Play:`تشغيل`,Pause:`إيقاف مؤقت`,Mute:`كتم الصوت`,Unmute:`إلغاء كتم الصوت`,"Exit fullscreen":`الخروج من ملء الشاشة`,"Enter fullscreen":`ملء الشاشة`,Expand:`توسيع`,Collapse:`طي`,"Copy reply":`نسخ الرد`,"Good result":`نتيجة جيدة`,"Bad result":`نتيجة سيئة`,"Dialog Close":`إغلاق مربع الحوار`,Notifications:`الإشعارات`,Account:`الحساب`,Cart:`السلة`,Call:`مكالمة`,"Video call":`مكالمة فيديو`,Message:`رسالة`,Main:`الرئيسي`,Columns:`الأعمدة`,"No results.":`لا توجد نتائج.`,"No results":`لا توجد نتائج`,"No results found":`لم يُعثر على نتائج`,"Drop files here":`أفلت الملفات هنا`,"Drag & drop files here":`اسحب الملفات وأفلتها هنا`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`أو انقر للاستعراض (بحد أقصى {maxFiles} ملفات، {maxSize} ميغابايت لكل ملف)`,"Remove {name}":`إزالة {name}`,"{selected} of {total} row(s) selected.":`تم تحديد {selected} من {total}.`,"Try again":`حاول مرة أخرى`,"What’s up next?":`ما التالي؟`,"Show password":`إظهار كلمة المرور`,"Hide password":`إخفاء كلمة المرور`,"Search icons":`البحث عن أيقونات`,"No icon matches":`لا توجد أيقونة مطابقة`,"Show all items ({n})":`عرض الكل ({n})`,"Fewer {what}":`{what} أقل`,"More {what}":`المزيد من {what}`,"No tasks available. Add tasks to display Gantt chart.":`لا توجد مهام. أضف مهامًا لعرض مخطط جانت.`,January:`يناير`,February:`فبراير`,March:`مارس`,April:`أبريل`,May:`مايو`,June:`يونيو`,July:`يوليو`,August:`أغسطس`,September:`سبتمبر`,October:`أكتوبر`,November:`نوفمبر`,December:`ديسمبر`,Su:`ح`,Mo:`ن`,Tu:`ث`,We:`ر`,Th:`خ`,Fr:`ج`,Sa:`س`,"just now":`الآن`,"in a moment":`بعد لحظات`,"in 1 minute":`خلال دقيقة واحدة`,"in {n} minutes":`خلال {n} دقائق`,"in 1 hour":`خلال ساعة واحدة`,"in {n} hours":`خلال {n} ساعات`,tomorrow:`غدًا`,"in {n} days":`خلال {n} أيام`,"in 1 week":`خلال أسبوع واحد`,"in {n} weeks":`خلال {n} أسابيع`,"in 1 month":`خلال شهر واحد`,"in {n} months":`خلال {n} أشهر`,"in 1 year":`خلال سنة واحدة`,"in {n} years":`خلال {n} سنوات`,"1 minute ago":`قبل دقيقة واحدة`,"{n} minutes ago":`قبل {n} دقائق`,"1 hour ago":`قبل ساعة واحدة`,"{n} hours ago":`قبل {n} ساعات`,"1 day ago":`قبل يوم واحد`,"{n} days ago":`قبل {n} أيام`,"1 week ago":`قبل أسبوع واحد`,"{n} weeks ago":`قبل {n} أسابيع`,"1 month ago":`قبل شهر واحد`,"{n} months ago":`قبل {n} أشهر`,"1 year ago":`قبل سنة واحدة`,"{n} years ago":`قبل {n} سنوات`,"Cookie notice":`إشعار ملفات تعريف الارتباط`,"Cookie preferences":`تفضيلات ملفات تعريف الارتباط`,"Close and use essential cookies only":`إغلاق واستخدام ملفات تعريف الارتباط الأساسية فقط`,Back:`رجوع`,"Log in":`تسجيل الدخول`,"Search Hanzo or ask AI":`ابحث في Hanzo أو اسأل الذكاء الاصطناعي`,"Search models":`البحث عن النماذج`,"Search branches…":`البحث عن الفروع…`,"Search repositories…":`البحث عن المستودعات…`,"Show options":`إظهار الخيارات`,Retry:`إعادة المحاولة`,"Donut chart":`مخطط حلقي`,"Find an organization":`العثور على مؤسسة`,Organizations:`المؤسسات`,"Organization name":`اسم المؤسسة`,"Previous page":`الصفحة السابقة`,"Next page":`الصفحة التالية`,"Continue with credits":`المتابعة باستخدام الرصيد`,"Try Hanzo":`جرّب Hanzo`,"Terms & Policies":`الشروط والسياسات`,"Who this is for":`لمن هذا`,"Bill yearly":`فوترة سنوية`,Apps:`التطبيقات`,"Card actions":`إجراءات البطاقة`,"Assign to...":`تعيين إلى...`,"Search cards...":`البحث في البطاقات...`,"Clear search":`مسح البحث`,"Open files":`الملفات المفتوحة`,"Close panel":`إغلاق اللوحة`,"Add an organization":`إضافة مؤسسة`,"Keyboard Shortcuts":`اختصارات لوحة المفاتيح`,"Run a command":`تشغيل أمر`,"Type shell command...":`اكتب أمر الصدفة...`,"Attached to the next message":`مرفق بالرسالة التالية`,"Channel Member Roster":`أعضاء القناة`,"Channel Collaborative Notes":`ملاحظات القناة المشتركة`,"Code Diff Viewer":`عارض الفروق`,"Live Voice Call":`مكالمة صوتية مباشرة`,"MCP Server Hub":`مركز خوادم MCP`,"Multi-Agent Swarm Bar":`شريط سرب الوكلاء`,"Write shared channel notes, meeting agenda, or AI summaries...":`اكتب ملاحظات القناة أو جدول الاجتماع أو ملخصات الذكاء الاصطناعي...`,"Help improve our AI models":`ساعد في تحسين نماذج الذكاء الاصطناعي`,"Your name":`اسمك`,"Your role":`دورك`,"Country or region":`البلد أو المنطقة`,"Card details":`بيانات البطاقة`,"Agree to recurring charges":`الموافقة على الرسوم المتكررة`,"How you will use Hanzo":`كيف ستستخدم Hanzo`,"Team size":`حجم الفريق`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`أوافق على شروط الخدمة وسياسة الاستخدام المقبول وأؤكد أن عمري 18 عامًا على الأقل.`,"Empty string":`سلسلة فارغة`,"Empty array":`مصفوفة فارغة`,"Empty object":`كائن فارغ`,"Copy {what}":`نسخ {what}`,"Ask anything":`اسأل عن أي شيء`,Auto:`تلقائي`,Instant:`فوري`,Low:`منخفض`,Medium:`متوسط`,High:`عالٍ`,Max:`الحد الأقصى`,Dictate:`إملاء`,"Dictating — click to stop":`جارٍ الإملاء — انقر للإيقاف`,"Dictation settings":`إعدادات الإملاء`,Language:`اللغة`,"No devices found":`لم يُعثر على أجهزة`,"Microphone {n}":`ميكروفون {n}`,"Nothing matches":`لا يوجد تطابق`,Commands:`الأوامر`,"Search commands…":`البحث عن الأوامر…`,Agents:`الوكلاء`,Skills:`المهارات`,Connectors:`الموصّلات`,"Design system":`نظام التصميم`,Plugins:`الإضافات`,Devices:`الأجهزة`,Memory:`الذاكرة`,Research:`بحث متعمق`,On:`تشغيل`,"Upload or add files":`تحميل ملفات أو إضافتها`,"Add files, agents, skills and more":`أضف ملفاتًا ووكلاء ومهارات والمزيد`,"No agents yet":`لا يوجد وكلاء بعد`,"No skills yet":`لا توجد مهارات بعد`,"No connectors yet":`لا توجد موصّلات بعد`,"No design system yet":`لا يوجد نظام تصميم بعد`,"No plugins yet":`لا توجد إضافات بعد`,"No devices yet":`لا توجد أجهزة بعد`,"Search agents":`البحث عن الوكلاء`,"Search skills":`البحث عن المهارات`,"Search connectors":`البحث عن الموصّلات`,"Search design system":`البحث في نظام التصميم`,"Search plugins":`البحث عن الإضافات`,"Search devices":`البحث عن الأجهزة`,"Reading agents":`جارٍ قراءة الوكلاء`,"Reading skills":`جارٍ قراءة المهارات`,"Reading connectors":`جارٍ قراءة الموصّلات`,"Reading design system":`جارٍ قراءة نظام التصميم`,"Reading plugins":`جارٍ قراءة الإضافات`,"Adaptive reasoning based on task complexity":`استدلال متكيف حسب تعقيد المهمة`,"Answers right away, without thinking":`يجيب فورًا دون تفكير`,"A quick pass with minimal thinking":`مرور سريع بأقل قدر من التفكير`,"Thinks before answering":`يفكر قبل الإجابة`,"Deep reasoning for complex problems":`استدلال عميق للمشكلات المعقدة`,"Maximum compute and exhaustive verification":`أقصى حساب وتحقق شامل`,Effort:`الجهد`,"Effort: {level}":`الجهد: {level}`,Mode:`الوضع`,"Mode: {mode}":`الوضع: {mode}`,Model:`النموذج`,"Model: {name}":`النموذج: {name}`,"Voice mode":`وضع الصوت`,"Hanzo is speaking — talk to interrupt":`Hanzo يتحدث — تحدّث للمقاطعة`,"In conversation — click to hang up":`في محادثة — انقر لإنهاء المكالمة`,"Go to testimonial {n}":`الانتقال إلى الشهادة {n}`,"Go to card {n}":`الانتقال إلى البطاقة {n}`,"{n} of {total}":`{n} من {total}`,"Reading…":`جارٍ القراءة…`,Skill:`مهارة`,Plugin:`إضافة`},jfe={Close:`Schließen`,"Close window":`Fenster schließen`,"Minimize window":`Fenster minimieren`,"Restore window":`Fenster wiederherstellen`,"Maximize window":`Fenster maximieren`,Resize:`Größe ändern`,"Select all":`Alle auswählen`,"Select row":`Zeile auswählen`,"Previous month":`Vorheriger Monat`,"Next month":`Nächster Monat`,Dismiss:`Schließen`,Breadcrumb:`Brotkrumen`,Cards:`Karten`,"Copy code":`Code kopieren`,Copied:`Kopiert`,"Copied!":`Kopiert!`,Copy:`Kopieren`,"Previous slide":`Vorherige Folie`,"Next slide":`Nächste Folie`,"Previous card":`Vorherige Karte`,"Next card":`Nächste Karte`,"Zoom out":`Verkleinern`,"Zoom in":`Vergrößern`,Rotate:`Drehen`,Filter:`Filtern`,"Expand all":`Alle aufklappen`,"Collapse all":`Alle zuklappen`,"Search...":`Suchen...`,"Pick a date":`Datum wählen`,Select:`Auswählen`,"Start typing...":`Schreibe etwas...`,Search:`Suchen`,Decrease:`Verringern`,Increase:`Erhöhen`,pagination:`Seitennummerierung`,"Go to previous page":`Zur vorherigen Seite`,"Go to next page":`Zur nächsten Seite`,Previous:`Zurück`,Next:`Weiter`,"More pages":`Weitere Seiten`,Remove:`Entfernen`,"Go back":`Zurück`,"Go forward":`Vorwärts`,"Reload page":`Seite neu laden`,Share:`Teilen`,"New tab":`Neuer Tab`,Menu:`Menü`,"Copy command":`Befehl kopieren`,"Terminal input":`Terminaleingabe`,Seek:`Position`,"Rewind 10 seconds":`10 Sekunden zurück`,"Forward 10 seconds":`10 Sekunden vor`,Volume:`Lautstärke`,"Toggle captions":`Untertitel umschalten`,"Playback speed":`Wiedergabegeschwindigkeit`,Quality:`Qualität`,"Picture in picture":`Bild im Bild`,Play:`Wiedergabe`,Pause:`Pause`,Mute:`Stumm`,Unmute:`Ton an`,"Exit fullscreen":`Vollbild beenden`,"Enter fullscreen":`Vollbild`,Expand:`Aufklappen`,Collapse:`Zuklappen`,"Copy reply":`Antwort kopieren`,"Good result":`Gutes Ergebnis`,"Bad result":`Schlechtes Ergebnis`,"Dialog Close":`Dialog schließen`,Notifications:`Benachrichtigungen`,Account:`Konto`,Cart:`Warenkorb`,Call:`Anruf`,"Video call":`Videoanruf`,Message:`Nachricht`,Main:`Hauptnavigation`,Columns:`Spalten`,"No results.":`Keine Ergebnisse.`,"No results":`Keine Ergebnisse`,"No results found":`Keine Ergebnisse gefunden`,"Drop files here":`Dateien hier ablegen`,"Drag & drop files here":`Dateien hierher ziehen`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`oder klicken zum Durchsuchen (max. {maxFiles} Dateien, je {maxSize} MB)`,"Remove {name}":`{name} entfernen`,"{selected} of {total} row(s) selected.":`{selected} von {total} Zeile(n) ausgewählt.`,"Try again":`Erneut versuchen`,"What’s up next?":`Was steht als Nächstes an?`,"Show password":`Passwort anzeigen`,"Hide password":`Passwort verbergen`,"Search icons":`Symbole suchen`,"No icon matches":`Kein Symbol passt`,"Show all items ({n})":`Alle anzeigen ({n})`,"Fewer {what}":`Weniger {what}`,"More {what}":`Mehr {what}`,"No tasks available. Add tasks to display Gantt chart.":`Keine Aufgaben. Fügen Sie welche hinzu, um das Gantt-Diagramm zu sehen.`,January:`Januar`,February:`Februar`,March:`März`,April:`April`,May:`Mai`,June:`Juni`,July:`Juli`,August:`August`,September:`September`,October:`Oktober`,November:`November`,December:`Dezember`,Su:`So`,Mo:`Mo`,Tu:`Di`,We:`Mi`,Th:`Do`,Fr:`Fr`,Sa:`Sa`,"just now":`gerade eben`,"in a moment":`gleich`,"in 1 minute":`in 1 Minute`,"in {n} minutes":`in {n} Minuten`,"in 1 hour":`in 1 Stunde`,"in {n} hours":`in {n} Stunden`,tomorrow:`morgen`,"in {n} days":`in {n} Tagen`,"in 1 week":`in 1 Woche`,"in {n} weeks":`in {n} Wochen`,"in 1 month":`in 1 Monat`,"in {n} months":`in {n} Monaten`,"in 1 year":`in 1 Jahr`,"in {n} years":`in {n} Jahren`,"1 minute ago":`vor 1 Minute`,"{n} minutes ago":`vor {n} Minuten`,"1 hour ago":`vor 1 Stunde`,"{n} hours ago":`vor {n} Stunden`,"1 day ago":`vor 1 Tag`,"{n} days ago":`vor {n} Tagen`,"1 week ago":`vor 1 Woche`,"{n} weeks ago":`vor {n} Wochen`,"1 month ago":`vor 1 Monat`,"{n} months ago":`vor {n} Monaten`,"1 year ago":`vor 1 Jahr`,"{n} years ago":`vor {n} Jahren`,"Cookie notice":`Hinweis zu Cookies`,"Cookie preferences":`Cookie-Einstellungen`,"Close and use essential cookies only":`Schließen und nur essenzielle Cookies verwenden`,Back:`Zurück`,"Log in":`Anmelden`,"Search Hanzo or ask AI":`Hanzo durchsuchen oder die KI fragen`,"Search models":`Modelle suchen`,"Search branches…":`Branches suchen…`,"Search repositories…":`Repositories suchen…`,"Show options":`Optionen anzeigen`,Retry:`Wiederholen`,"Donut chart":`Ringdiagramm`,"Find an organization":`Organisation finden`,Organizations:`Organisationen`,"Organization name":`Name der Organisation`,"Previous page":`Vorherige Seite`,"Next page":`Nächste Seite`,"Continue with credits":`Mit Guthaben fortfahren`,"Try Hanzo":`Hanzo ausprobieren`,"Terms & Policies":`Bedingungen und Richtlinien`,"Who this is for":`Für wen es ist`,"Bill yearly":`Jährlich abrechnen`,Apps:`Apps`,"Card actions":`Kartenaktionen`,"Assign to...":`Zuweisen an...`,"Search cards...":`Karten suchen...`,"Clear search":`Suche löschen`,"Open files":`Geöffnete Dateien`,"Close panel":`Bereich schließen`,"Add an organization":`Organisation hinzufügen`,"Keyboard Shortcuts":`Tastenkürzel`,"Run a command":`Befehl ausführen`,"Type shell command...":`Shell-Befehl eingeben...`,"Attached to the next message":`An die nächste Nachricht angehängt`,"Channel Member Roster":`Kanalmitglieder`,"Channel Collaborative Notes":`Gemeinsame Kanalnotizen`,"Code Diff Viewer":`Diff-Ansicht`,"Live Voice Call":`Live-Sprachanruf`,"MCP Server Hub":`MCP-Server-Hub`,"Multi-Agent Swarm Bar":`Leiste für den Agentenschwarm`,"Write shared channel notes, meeting agenda, or AI summaries...":`Gemeinsame Notizen, Tagesordnung oder KI-Zusammenfassungen schreiben...`,"Help improve our AI models":`Hilf mit, unsere KI-Modelle zu verbessern`,"Your name":`Dein Name`,"Your role":`Deine Rolle`,"Country or region":`Land oder Region`,"Card details":`Kartendaten`,"Agree to recurring charges":`Wiederkehrenden Abbuchungen zustimmen`,"How you will use Hanzo":`Wie du Hanzo nutzen wirst`,"Team size":`Teamgröße`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Ich stimme den Nutzungsbedingungen und der Richtlinie zur akzeptablen Nutzung zu und bestätige, dass ich mindestens 18 Jahre alt bin.`,"Empty string":`Leere Zeichenkette`,"Empty array":`Leeres Array`,"Empty object":`Leeres Objekt`,"Copy {what}":`{what} kopieren`,"Ask anything":`Frag nach allem`,Auto:`Auto`,Instant:`Sofort`,Low:`Niedrig`,Medium:`Mittel`,High:`Hoch`,Max:`Maximal`,Dictate:`Diktieren`,"Dictating — click to stop":`Diktat läuft — zum Stoppen klicken`,"Dictation settings":`Diktateinstellungen`,Language:`Sprache`,"No devices found":`Keine Geräte gefunden`,"Microphone {n}":`Mikrofon {n}`,"Nothing matches":`Nichts passt`,Commands:`Befehle`,"Search commands…":`Befehle suchen…`,Agents:`Agenten`,Skills:`Fähigkeiten`,Connectors:`Konnektoren`,"Design system":`Designsystem`,Plugins:`Plugins`,Devices:`Geräte`,Memory:`Gedächtnis`,Research:`Recherche`,On:`An`,"Upload or add files":`Dateien hochladen oder hinzufügen`,"Add files, agents, skills and more":`Dateien, Agenten, Fähigkeiten und mehr hinzufügen`,"No agents yet":`Noch keine Agenten`,"No skills yet":`Noch keine Fähigkeiten`,"No connectors yet":`Noch keine Konnektoren`,"No design system yet":`Noch kein Designsystem`,"No plugins yet":`Noch keine Plugins`,"No devices yet":`Noch keine Geräte`,"Search agents":`Agenten suchen`,"Search skills":`Fähigkeiten suchen`,"Search connectors":`Konnektoren suchen`,"Search design system":`Designsystem durchsuchen`,"Search plugins":`Plugins suchen`,"Search devices":`Geräte suchen`,"Reading agents":`Agenten werden gelesen`,"Reading skills":`Fähigkeiten werden gelesen`,"Reading connectors":`Konnektoren werden gelesen`,"Reading design system":`Designsystem wird gelesen`,"Reading plugins":`Plugins werden gelesen`,"Adaptive reasoning based on task complexity":`Adaptives Denken je nach Komplexität der Aufgabe`,"Answers right away, without thinking":`Antwortet sofort, ohne nachzudenken`,"A quick pass with minimal thinking":`Ein schneller Durchgang mit wenig Nachdenken`,"Thinks before answering":`Denkt nach, bevor es antwortet`,"Deep reasoning for complex problems":`Tiefes Nachdenken bei komplexen Problemen`,"Maximum compute and exhaustive verification":`Maximales Rechnen und gründliche Prüfung`,Effort:`Aufwand`,"Effort: {level}":`Aufwand: {level}`,Mode:`Modus`,"Mode: {mode}":`Modus: {mode}`,Model:`Modell`,"Model: {name}":`Modell: {name}`,"Voice mode":`Sprachmodus`,"Hanzo is speaking — talk to interrupt":`Hanzo spricht — sprich, um zu unterbrechen`,"In conversation — click to hang up":`Im Gespräch — zum Auflegen klicken`,"Go to testimonial {n}":`Zu Testimonial {n}`,"Go to card {n}":`Zu Karte {n}`,"{n} of {total}":`{n} von {total}`,"Reading…":`Wird gelesen…`,Skill:`Fähigkeit`,Plugin:`Plugin`},Mfe={Close:`Cerrar`,"Close window":`Cerrar ventana`,"Minimize window":`Minimizar ventana`,"Restore window":`Restaurar ventana`,"Maximize window":`Maximizar ventana`,Resize:`Cambiar tamaño`,"Select all":`Seleccionar todo`,"Select row":`Seleccionar fila`,"Previous month":`Mes anterior`,"Next month":`Mes siguiente`,Dismiss:`Descartar`,Breadcrumb:`Ruta de navegación`,Cards:`Tarjetas`,"Copy code":`Copiar código`,Copied:`Copiado`,"Copied!":`¡Copiado!`,Copy:`Copiar`,"Previous slide":`Diapositiva anterior`,"Next slide":`Diapositiva siguiente`,"Previous card":`Tarjeta anterior`,"Next card":`Tarjeta siguiente`,"Zoom out":`Alejar`,"Zoom in":`Acercar`,Rotate:`Girar`,Filter:`Filtrar`,"Expand all":`Expandir todo`,"Collapse all":`Contraer todo`,"Search...":`Buscar...`,"Pick a date":`Elige una fecha`,Select:`Seleccionar`,"Start typing...":`Empieza a escribir...`,Search:`Buscar`,Decrease:`Disminuir`,Increase:`Aumentar`,pagination:`paginación`,"Go to previous page":`Ir a la página anterior`,"Go to next page":`Ir a la página siguiente`,Previous:`Anterior`,Next:`Siguiente`,"More pages":`Más páginas`,Remove:`Quitar`,"Go back":`Volver`,"Go forward":`Avanzar`,"Reload page":`Recargar página`,Share:`Compartir`,"New tab":`Nueva pestaña`,Menu:`Menú`,"Copy command":`Copiar comando`,"Terminal input":`Entrada del terminal`,Seek:`Buscar posición`,"Rewind 10 seconds":`Retroceder 10 segundos`,"Forward 10 seconds":`Adelantar 10 segundos`,Volume:`Volumen`,"Toggle captions":`Mostrar u ocultar subtítulos`,"Playback speed":`Velocidad de reproducción`,Quality:`Calidad`,"Picture in picture":`Imagen en imagen`,Play:`Reproducir`,Pause:`Pausa`,Mute:`Silenciar`,Unmute:`Activar sonido`,"Exit fullscreen":`Salir de pantalla completa`,"Enter fullscreen":`Pantalla completa`,Expand:`Expandir`,Collapse:`Contraer`,"Copy reply":`Copiar respuesta`,"Good result":`Buen resultado`,"Bad result":`Mal resultado`,"Dialog Close":`Cerrar diálogo`,Notifications:`Notificaciones`,Account:`Cuenta`,Cart:`Carrito`,Call:`Llamada`,"Video call":`Videollamada`,Message:`Mensaje`,Main:`Principal`,Columns:`Columnas`,"No results.":`No hay resultados.`,"No results":`No hay resultados`,"No results found":`No se encontraron resultados`,"Drop files here":`Suelta los archivos aquí`,"Drag & drop files here":`Arrastra y suelta archivos aquí`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`o haz clic para explorar (máx. {maxFiles} archivos, {maxSize} MB cada uno)`,"Remove {name}":`Quitar {name}`,"{selected} of {total} row(s) selected.":`{selected} de {total} fila(s) seleccionada(s).`,"Try again":`Intentar de nuevo`,"What’s up next?":`¿Qué sigue?`,"Show password":`Mostrar contraseña`,"Hide password":`Ocultar contraseña`,"Search icons":`Buscar iconos`,"No icon matches":`Ningún icono coincide`,"Show all items ({n})":`Mostrar todos ({n})`,"Fewer {what}":`Menos {what}`,"More {what}":`Más {what}`,"No tasks available. Add tasks to display Gantt chart.":`No hay tareas. Añade tareas para ver el diagrama de Gantt.`,January:`Enero`,February:`Febrero`,March:`Marzo`,April:`Abril`,May:`Mayo`,June:`Junio`,July:`Julio`,August:`Agosto`,September:`Septiembre`,October:`Octubre`,November:`Noviembre`,December:`Diciembre`,Su:`do`,Mo:`lu`,Tu:`ma`,We:`mi`,Th:`ju`,Fr:`vi`,Sa:`sá`,"just now":`ahora mismo`,"in a moment":`en un momento`,"in 1 minute":`en 1 minuto`,"in {n} minutes":`en {n} minutos`,"in 1 hour":`en 1 hora`,"in {n} hours":`en {n} horas`,tomorrow:`mañana`,"in {n} days":`en {n} días`,"in 1 week":`en 1 semana`,"in {n} weeks":`en {n} semanas`,"in 1 month":`en 1 mes`,"in {n} months":`en {n} meses`,"in 1 year":`en 1 año`,"in {n} years":`en {n} años`,"1 minute ago":`hace 1 minuto`,"{n} minutes ago":`hace {n} minutos`,"1 hour ago":`hace 1 hora`,"{n} hours ago":`hace {n} horas`,"1 day ago":`hace 1 día`,"{n} days ago":`hace {n} días`,"1 week ago":`hace 1 semana`,"{n} weeks ago":`hace {n} semanas`,"1 month ago":`hace 1 mes`,"{n} months ago":`hace {n} meses`,"1 year ago":`hace 1 año`,"{n} years ago":`hace {n} años`,"Cookie notice":`Aviso de cookies`,"Cookie preferences":`Preferencias de cookies`,"Close and use essential cookies only":`Cerrar y usar solo cookies esenciales`,Back:`Atrás`,"Log in":`Iniciar sesión`,"Search Hanzo or ask AI":`Busca en Hanzo o pregunta a la IA`,"Search models":`Buscar modelos`,"Search branches…":`Buscar ramas…`,"Search repositories…":`Buscar repositorios…`,"Show options":`Mostrar opciones`,Retry:`Reintentar`,"Donut chart":`Gráfico de anillo`,"Find an organization":`Buscar una organización`,Organizations:`Organizaciones`,"Organization name":`Nombre de la organización`,"Previous page":`Página anterior`,"Next page":`Página siguiente`,"Continue with credits":`Continuar con créditos`,"Try Hanzo":`Probar Hanzo`,"Terms & Policies":`Términos y políticas`,"Who this is for":`Para quién es`,"Bill yearly":`Facturación anual`,Apps:`Aplicaciones`,"Card actions":`Acciones de la tarjeta`,"Assign to...":`Asignar a...`,"Search cards...":`Buscar tarjetas...`,"Clear search":`Borrar búsqueda`,"Open files":`Archivos abiertos`,"Close panel":`Cerrar panel`,"Add an organization":`Añadir una organización`,"Keyboard Shortcuts":`Atajos de teclado`,"Run a command":`Ejecutar un comando`,"Type shell command...":`Escribe un comando de shell...`,"Attached to the next message":`Adjunto al próximo mensaje`,"Channel Member Roster":`Miembros del canal`,"Channel Collaborative Notes":`Notas compartidas del canal`,"Code Diff Viewer":`Visor de diferencias`,"Live Voice Call":`Llamada de voz en vivo`,"MCP Server Hub":`Centro de servidores MCP`,"Multi-Agent Swarm Bar":`Barra del enjambre de agentes`,"Write shared channel notes, meeting agenda, or AI summaries...":`Escribe notas del canal, el orden del día o resúmenes de la IA...`,"Help improve our AI models":`Ayuda a mejorar nuestros modelos de IA`,"Your name":`Tu nombre`,"Your role":`Tu rol`,"Country or region":`País o región`,"Card details":`Datos de la tarjeta`,"Agree to recurring charges":`Acepto los cargos recurrentes`,"How you will use Hanzo":`Cómo usarás Hanzo`,"Team size":`Tamaño del equipo`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Acepto las Condiciones del servicio y la Política de uso aceptable y confirmo que tengo al menos 18 años.`,"Empty string":`Cadena vacía`,"Empty array":`Arreglo vacío`,"Empty object":`Objeto vacío`,"Copy {what}":`Copiar {what}`,"Ask anything":`Pregunta lo que quieras`,Auto:`Auto`,Instant:`Instantáneo`,Low:`Bajo`,Medium:`Medio`,High:`Alto`,Max:`Máximo`,Dictate:`Dictar`,"Dictating — click to stop":`Dictando — haz clic para detener`,"Dictation settings":`Ajustes de dictado`,Language:`Idioma`,"No devices found":`No se encontraron dispositivos`,"Microphone {n}":`Micrófono {n}`,"Nothing matches":`Nada coincide`,Commands:`Comandos`,"Search commands…":`Buscar comandos…`,Agents:`Agentes`,Skills:`Habilidades`,Connectors:`Conectores`,"Design system":`Sistema de diseño`,Plugins:`Complementos`,Devices:`Dispositivos`,Memory:`Memoria`,Research:`Investigación`,On:`Activado`,"Upload or add files":`Subir o añadir archivos`,"Add files, agents, skills and more":`Añade archivos, agentes, habilidades y más`,"No agents yet":`Aún no hay agentes`,"No skills yet":`Aún no hay habilidades`,"No connectors yet":`Aún no hay conectores`,"No design system yet":`Aún no hay sistema de diseño`,"No plugins yet":`Aún no hay complementos`,"No devices yet":`Aún no hay dispositivos`,"Search agents":`Buscar agentes`,"Search skills":`Buscar habilidades`,"Search connectors":`Buscar conectores`,"Search design system":`Buscar en el sistema de diseño`,"Search plugins":`Buscar complementos`,"Search devices":`Buscar dispositivos`,"Reading agents":`Leyendo agentes`,"Reading skills":`Leyendo habilidades`,"Reading connectors":`Leyendo conectores`,"Reading design system":`Leyendo el sistema de diseño`,"Reading plugins":`Leyendo complementos`,"Adaptive reasoning based on task complexity":`Razonamiento adaptativo según la complejidad de la tarea`,"Answers right away, without thinking":`Responde al instante, sin pensar`,"A quick pass with minimal thinking":`Una pasada rápida, con poco razonamiento`,"Thinks before answering":`Piensa antes de responder`,"Deep reasoning for complex problems":`Razonamiento profundo para problemas complejos`,"Maximum compute and exhaustive verification":`Cómputo máximo y verificación exhaustiva`,Effort:`Esfuerzo`,"Effort: {level}":`Esfuerzo: {level}`,Mode:`Modo`,"Mode: {mode}":`Modo: {mode}`,Model:`Modelo`,"Model: {name}":`Modelo: {name}`,"Voice mode":`Modo de voz`,"Hanzo is speaking — talk to interrupt":`Hanzo está hablando — habla para interrumpir`,"In conversation — click to hang up":`En conversación — haz clic para colgar`,"Go to testimonial {n}":`Ir al testimonio {n}`,"Go to card {n}":`Ir a la tarjeta {n}`,"{n} of {total}":`{n} de {total}`,"Reading…":`Leyendo…`,Skill:`Habilidad`,Plugin:`Complemento`},Nfe={Close:`Fermer`,"Close window":`Fermer la fenêtre`,"Minimize window":`Réduire la fenêtre`,"Restore window":`Restaurer la fenêtre`,"Maximize window":`Agrandir la fenêtre`,Resize:`Redimensionner`,"Select all":`Tout sélectionner`,"Select row":`Sélectionner la ligne`,"Previous month":`Mois précédent`,"Next month":`Mois suivant`,Dismiss:`Ignorer`,Breadcrumb:`Fil d’Ariane`,Cards:`Cartes`,"Copy code":`Copier le code`,Copied:`Copié`,"Copied!":`Copié !`,Copy:`Copier`,"Previous slide":`Diapositive précédente`,"Next slide":`Diapositive suivante`,"Previous card":`Carte précédente`,"Next card":`Carte suivante`,"Zoom out":`Zoom arrière`,"Zoom in":`Zoom avant`,Rotate:`Pivoter`,Filter:`Filtrer`,"Expand all":`Tout développer`,"Collapse all":`Tout réduire`,"Search...":`Rechercher...`,"Pick a date":`Choisir une date`,Select:`Sélectionner`,"Start typing...":`Commencez à écrire...`,Search:`Rechercher`,Decrease:`Diminuer`,Increase:`Augmenter`,pagination:`pagination`,"Go to previous page":`Aller à la page précédente`,"Go to next page":`Aller à la page suivante`,Previous:`Précédent`,Next:`Suivant`,"More pages":`Plus de pages`,Remove:`Retirer`,"Go back":`Retour`,"Go forward":`Avancer`,"Reload page":`Recharger la page`,Share:`Partager`,"New tab":`Nouvel onglet`,Menu:`Menu`,"Copy command":`Copier la commande`,"Terminal input":`Saisie du terminal`,Seek:`Position de lecture`,"Rewind 10 seconds":`Reculer de 10 secondes`,"Forward 10 seconds":`Avancer de 10 secondes`,Volume:`Volume`,"Toggle captions":`Afficher ou masquer les sous-titres`,"Playback speed":`Vitesse de lecture`,Quality:`Qualité`,"Picture in picture":`Image dans l’image`,Play:`Lecture`,Pause:`Pause`,Mute:`Couper le son`,Unmute:`Réactiver le son`,"Exit fullscreen":`Quitter le plein écran`,"Enter fullscreen":`Plein écran`,Expand:`Développer`,Collapse:`Réduire`,"Copy reply":`Copier la réponse`,"Good result":`Bon résultat`,"Bad result":`Mauvais résultat`,"Dialog Close":`Fermer la boîte de dialogue`,Notifications:`Notifications`,Account:`Compte`,Cart:`Panier`,Call:`Appel`,"Video call":`Appel vidéo`,Message:`Message`,Main:`Principal`,Columns:`Colonnes`,"No results.":`Aucun résultat.`,"No results":`Aucun résultat`,"No results found":`Aucun résultat trouvé`,"Drop files here":`Déposez les fichiers ici`,"Drag & drop files here":`Glissez-déposez des fichiers ici`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`ou cliquez pour parcourir ({maxFiles} fichiers max., {maxSize} Mo chacun)`,"Remove {name}":`Retirer {name}`,"{selected} of {total} row(s) selected.":`{selected} sur {total} ligne(s) sélectionnée(s).`,"Try again":`Réessayer`,"What’s up next?":`Et ensuite ?`,"Show password":`Afficher le mot de passe`,"Hide password":`Masquer le mot de passe`,"Search icons":`Rechercher des icônes`,"No icon matches":`Aucune icône ne correspond`,"Show all items ({n})":`Tout afficher ({n})`,"Fewer {what}":`Moins de {what}`,"More {what}":`Plus de {what}`,"No tasks available. Add tasks to display Gantt chart.":`Aucune tâche. Ajoutez-en pour afficher le diagramme de Gantt.`,January:`janvier`,February:`février`,March:`mars`,April:`avril`,May:`mai`,June:`juin`,July:`juillet`,August:`août`,September:`septembre`,October:`octobre`,November:`novembre`,December:`décembre`,Su:`di`,Mo:`lu`,Tu:`ma`,We:`me`,Th:`je`,Fr:`ve`,Sa:`sa`,"just now":`à l’instant`,"in a moment":`dans un instant`,"in 1 minute":`dans 1 minute`,"in {n} minutes":`dans {n} minutes`,"in 1 hour":`dans 1 heure`,"in {n} hours":`dans {n} heures`,tomorrow:`demain`,"in {n} days":`dans {n} jours`,"in 1 week":`dans 1 semaine`,"in {n} weeks":`dans {n} semaines`,"in 1 month":`dans 1 mois`,"in {n} months":`dans {n} mois`,"in 1 year":`dans 1 an`,"in {n} years":`dans {n} ans`,"1 minute ago":`il y a 1 minute`,"{n} minutes ago":`il y a {n} minutes`,"1 hour ago":`il y a 1 heure`,"{n} hours ago":`il y a {n} heures`,"1 day ago":`il y a 1 jour`,"{n} days ago":`il y a {n} jours`,"1 week ago":`il y a 1 semaine`,"{n} weeks ago":`il y a {n} semaines`,"1 month ago":`il y a 1 mois`,"{n} months ago":`il y a {n} mois`,"1 year ago":`il y a 1 an`,"{n} years ago":`il y a {n} ans`,"Cookie notice":`Avis sur les cookies`,"Cookie preferences":`Préférences de cookies`,"Close and use essential cookies only":`Fermer et n’utiliser que les cookies essentiels`,Back:`Retour`,"Log in":`Se connecter`,"Search Hanzo or ask AI":`Rechercher dans Hanzo ou demander à l’IA`,"Search models":`Rechercher des modèles`,"Search branches…":`Rechercher des branches…`,"Search repositories…":`Rechercher des dépôts…`,"Show options":`Afficher les options`,Retry:`Réessayer`,"Donut chart":`Graphique en anneau`,"Find an organization":`Trouver une organisation`,Organizations:`Organisations`,"Organization name":`Nom de l’organisation`,"Previous page":`Page précédente`,"Next page":`Page suivante`,"Continue with credits":`Continuer avec des crédits`,"Try Hanzo":`Essayer Hanzo`,"Terms & Policies":`Conditions et politiques`,"Who this is for":`À qui cela s’adresse`,"Bill yearly":`Facturation annuelle`,Apps:`Applications`,"Card actions":`Actions de la carte`,"Assign to...":`Attribuer à...`,"Search cards...":`Rechercher des cartes...`,"Clear search":`Effacer la recherche`,"Open files":`Fichiers ouverts`,"Close panel":`Fermer le panneau`,"Add an organization":`Ajouter une organisation`,"Keyboard Shortcuts":`Raccourcis clavier`,"Run a command":`Exécuter une commande`,"Type shell command...":`Saisissez une commande shell...`,"Attached to the next message":`Joint au prochain message`,"Channel Member Roster":`Membres du canal`,"Channel Collaborative Notes":`Notes collaboratives du canal`,"Code Diff Viewer":`Visionneuse de diff`,"Live Voice Call":`Appel vocal en direct`,"MCP Server Hub":`Hub des serveurs MCP`,"Multi-Agent Swarm Bar":`Barre d’essaim multi-agents`,"Write shared channel notes, meeting agenda, or AI summaries...":`Écrivez des notes partagées, l’ordre du jour ou des résumés de l’IA...`,"Help improve our AI models":`Aidez à améliorer nos modèles d’IA`,"Your name":`Votre nom`,"Your role":`Votre rôle`,"Country or region":`Pays ou région`,"Card details":`Coordonnées de la carte`,"Agree to recurring charges":`J’accepte les prélèvements récurrents`,"How you will use Hanzo":`Comment vous utiliserez Hanzo`,"Team size":`Taille de l’équipe`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`J’accepte les Conditions d’utilisation et la Politique d’usage acceptable et je confirme avoir au moins 18 ans.`,"Empty string":`Chaîne vide`,"Empty array":`Tableau vide`,"Empty object":`Objet vide`,"Copy {what}":`Copier {what}`,"Ask anything":`Demandez n’importe quoi`,Auto:`Auto`,Instant:`Instantané`,Low:`Faible`,Medium:`Moyen`,High:`Élevé`,Max:`Max`,Dictate:`Dicter`,"Dictating — click to stop":`Dictée en cours — cliquez pour arrêter`,"Dictation settings":`Réglages de la dictée`,Language:`Langue`,"No devices found":`Aucun appareil trouvé`,"Microphone {n}":`Microphone {n}`,"Nothing matches":`Aucun résultat`,Commands:`Commandes`,"Search commands…":`Rechercher des commandes…`,Agents:`Agents`,Skills:`Compétences`,Connectors:`Connecteurs`,"Design system":`Système de design`,Plugins:`Plugins`,Devices:`Appareils`,Memory:`Mémoire`,Research:`Recherche`,On:`Activé`,"Upload or add files":`Téléverser ou ajouter des fichiers`,"Add files, agents, skills and more":`Ajoutez des fichiers, des agents, des compétences et plus`,"No agents yet":`Pas encore d’agents`,"No skills yet":`Pas encore de compétences`,"No connectors yet":`Pas encore de connecteurs`,"No design system yet":`Pas encore de système de design`,"No plugins yet":`Pas encore de plugins`,"No devices yet":`Pas encore d’appareils`,"Search agents":`Rechercher des agents`,"Search skills":`Rechercher des compétences`,"Search connectors":`Rechercher des connecteurs`,"Search design system":`Rechercher dans le système de design`,"Search plugins":`Rechercher des plugins`,"Search devices":`Rechercher des appareils`,"Reading agents":`Lecture des agents`,"Reading skills":`Lecture des compétences`,"Reading connectors":`Lecture des connecteurs`,"Reading design system":`Lecture du système de design`,"Reading plugins":`Lecture des plugins`,"Adaptive reasoning based on task complexity":`Raisonnement adaptatif selon la complexité de la tâche`,"Answers right away, without thinking":`Répond immédiatement, sans réfléchir`,"A quick pass with minimal thinking":`Un passage rapide, avec peu de réflexion`,"Thinks before answering":`Réfléchit avant de répondre`,"Deep reasoning for complex problems":`Raisonnement approfondi pour les problèmes complexes`,"Maximum compute and exhaustive verification":`Calcul maximal et vérification exhaustive`,Effort:`Effort`,"Effort: {level}":`Effort : {level}`,Mode:`Mode`,"Mode: {mode}":`Mode : {mode}`,Model:`Modèle`,"Model: {name}":`Modèle : {name}`,"Voice mode":`Mode vocal`,"Hanzo is speaking — talk to interrupt":`Hanzo parle — parlez pour interrompre`,"In conversation — click to hang up":`En conversation — cliquez pour raccrocher`,"Go to testimonial {n}":`Aller au témoignage {n}`,"Go to card {n}":`Aller à la carte {n}`,"{n} of {total}":`{n} sur {total}`,"Reading…":`Lecture…`,Skill:`Compétence`,Plugin:`Plugin`},Pfe={Close:`बंद करें`,"Close window":`विंडो बंद करें`,"Minimize window":`विंडो छोटा करें`,"Restore window":`विंडो पुनर्स्थापित करें`,"Maximize window":`विंडो बड़ा करें`,Resize:`आकार बदलें`,"Select all":`सभी चुनें`,"Select row":`पंक्ति चुनें`,"Previous month":`पिछला महीना`,"Next month":`अगला महीना`,Dismiss:`खारिज करें`,Breadcrumb:`ब्रेडक्रम्ब`,Cards:`कार्ड`,"Copy code":`कोड कॉपी करें`,Copied:`कॉपी हो गया`,"Copied!":`कॉपी हो गया!`,Copy:`कॉपी करें`,"Previous slide":`पिछली स्लाइड`,"Next slide":`अगली स्लाइड`,"Previous card":`पिछला कार्ड`,"Next card":`अगला कार्ड`,"Zoom out":`ज़ूम आउट`,"Zoom in":`ज़ूम इन`,Rotate:`घुमाएँ`,Filter:`फ़िल्टर`,"Expand all":`सभी विस्तृत करें`,"Collapse all":`सभी समेटें`,"Search...":`खोजें...`,"Pick a date":`तारीख चुनें`,Select:`चुनें`,"Start typing...":`लिखना शुरू करें...`,Search:`खोजें`,Decrease:`घटाएँ`,Increase:`बढ़ाएँ`,pagination:`पृष्ठांकन`,"Go to previous page":`पिछले पृष्ठ पर जाएँ`,"Go to next page":`अगले पृष्ठ पर जाएँ`,Previous:`पिछला`,Next:`अगला`,"More pages":`और पृष्ठ`,Remove:`हटाएँ`,"Go back":`वापस जाएँ`,"Go forward":`आगे जाएँ`,"Reload page":`पृष्ठ पुनः लोड करें`,Share:`साझा करें`,"New tab":`नया टैब`,Menu:`मेनू`,"Copy command":`कमांड कॉपी करें`,"Terminal input":`टर्मिनल इनपुट`,Seek:`स्थिति`,"Rewind 10 seconds":`10 सेकंड पीछे`,"Forward 10 seconds":`10 सेकंड आगे`,Volume:`आवाज़`,"Toggle captions":`कैप्शन टॉगल करें`,"Playback speed":`प्लेबैक गति`,Quality:`गुणवत्ता`,"Picture in picture":`पिक्चर इन पिक्चर`,Play:`चलाएँ`,Pause:`रोकें`,Mute:`म्यूट`,Unmute:`अनम्यूट`,"Exit fullscreen":`पूर्ण स्क्रीन से बाहर`,"Enter fullscreen":`पूर्ण स्क्रीन`,Expand:`विस्तृत करें`,Collapse:`समेटें`,"Copy reply":`जवाब कॉपी करें`,"Good result":`अच्छा परिणाम`,"Bad result":`खराब परिणाम`,"Dialog Close":`संवाद बंद करें`,Notifications:`सूचनाएँ`,Account:`खाता`,Cart:`कार्ट`,Call:`कॉल`,"Video call":`वीडियो कॉल`,Message:`संदेश`,Main:`मुख्य`,Columns:`कॉलम`,"No results.":`कोई परिणाम नहीं।`,"No results":`कोई परिणाम नहीं`,"No results found":`कोई परिणाम नहीं मिला`,"Drop files here":`फ़ाइलें यहाँ छोड़ें`,"Drag & drop files here":`फ़ाइलें खींचकर यहाँ छोड़ें`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`या ब्राउज़ करने के लिए क्लिक करें (अधिकतम {maxFiles} फ़ाइलें, प्रत्येक {maxSize} MB)`,"Remove {name}":`{name} हटाएँ`,"{selected} of {total} row(s) selected.":`{total} में से {selected} पंक्तियाँ चुनी गईं।`,"Try again":`फिर कोशिश करें`,"What’s up next?":`आगे क्या है?`,"Show password":`पासवर्ड दिखाएँ`,"Hide password":`पासवर्ड छिपाएँ`,"Search icons":`आइकन खोजें`,"No icon matches":`कोई आइकन मेल नहीं खाता`,"Show all items ({n})":`सभी दिखाएँ ({n})`,"Fewer {what}":`कम {what}`,"More {what}":`अधिक {what}`,"No tasks available. Add tasks to display Gantt chart.":`कोई कार्य नहीं। गैंट चार्ट के लिए कार्य जोड़ें।`,January:`जनवरी`,February:`फ़रवरी`,March:`मार्च`,April:`अप्रैल`,May:`मई`,June:`जून`,July:`जुलाई`,August:`अगस्त`,September:`सितंबर`,October:`अक्टूबर`,November:`नवंबर`,December:`दिसंबर`,Su:`र`,Mo:`सो`,Tu:`मं`,We:`बु`,Th:`गु`,Fr:`शु`,Sa:`श`,"just now":`अभी`,"in a moment":`थोड़ी देर में`,"in 1 minute":`1 मिनट में`,"in {n} minutes":`{n} मिनट में`,"in 1 hour":`1 घंटे में`,"in {n} hours":`{n} घंटे में`,tomorrow:`कल`,"in {n} days":`{n} दिन में`,"in 1 week":`1 हफ़्ते में`,"in {n} weeks":`{n} हफ़्ते में`,"in 1 month":`1 महीने में`,"in {n} months":`{n} महीने में`,"in 1 year":`1 साल में`,"in {n} years":`{n} साल में`,"1 minute ago":`1 मिनट पहले`,"{n} minutes ago":`{n} मिनट पहले`,"1 hour ago":`1 घंटे पहले`,"{n} hours ago":`{n} घंटे पहले`,"1 day ago":`1 दिन पहले`,"{n} days ago":`{n} दिन पहले`,"1 week ago":`1 हफ़्ते पहले`,"{n} weeks ago":`{n} हफ़्ते पहले`,"1 month ago":`1 महीने पहले`,"{n} months ago":`{n} महीने पहले`,"1 year ago":`1 साल पहले`,"{n} years ago":`{n} साल पहले`,"Cookie notice":`कुकी सूचना`,"Cookie preferences":`कुकी प्राथमिकताएँ`,"Close and use essential cookies only":`बंद करें और केवल आवश्यक कुकीज़ का उपयोग करें`,Back:`वापस`,"Log in":`लॉग इन`,"Search Hanzo or ask AI":`Hanzo में खोजें या AI से पूछें`,"Search models":`मॉडल खोजें`,"Search branches…":`ब्रांच खोजें…`,"Search repositories…":`रिपॉज़िटरी खोजें…`,"Show options":`विकल्प दिखाएँ`,Retry:`फिर से कोशिश करें`,"Donut chart":`डोनट चार्ट`,"Find an organization":`संगठन खोजें`,Organizations:`संगठन`,"Organization name":`संगठन का नाम`,"Previous page":`पिछला पृष्ठ`,"Next page":`अगला पृष्ठ`,"Continue with credits":`क्रेडिट से जारी रखें`,"Try Hanzo":`Hanzo आज़माएँ`,"Terms & Policies":`नियम और नीतियाँ`,"Who this is for":`यह किसके लिए है`,"Bill yearly":`वार्षिक बिल`,Apps:`ऐप्स`,"Card actions":`कार्ड क्रियाएँ`,"Assign to...":`इसे असाइन करें...`,"Search cards...":`कार्ड खोजें...`,"Clear search":`खोज साफ़ करें`,"Open files":`खुली फ़ाइलें`,"Close panel":`पैनल बंद करें`,"Add an organization":`संगठन जोड़ें`,"Keyboard Shortcuts":`कीबोर्ड शॉर्टकट`,"Run a command":`कमांड चलाएँ`,"Type shell command...":`शेल कमांड लिखें...`,"Attached to the next message":`अगले संदेश से जुड़ा`,"Channel Member Roster":`चैनल सदस्य`,"Channel Collaborative Notes":`चैनल के साझा नोट`,"Code Diff Viewer":`कोड डिफ़ व्यूअर`,"Live Voice Call":`लाइव वॉइस कॉल`,"MCP Server Hub":`MCP सर्वर हब`,"Multi-Agent Swarm Bar":`मल्टी-एजेंट स्वार्म बार`,"Write shared channel notes, meeting agenda, or AI summaries...":`चैनल नोट, एजेंडा या AI सार लिखें...`,"Help improve our AI models":`हमारे AI मॉडल बेहतर बनाने में मदद करें`,"Your name":`आपका नाम`,"Your role":`आपकी भूमिका`,"Country or region":`देश या क्षेत्र`,"Card details":`कार्ड विवरण`,"Agree to recurring charges":`आवर्ती शुल्क से सहमत हूँ`,"How you will use Hanzo":`आप Hanzo का उपयोग कैसे करेंगे`,"Team size":`टीम का आकार`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`मैं सेवा की शर्तों और स्वीकार्य उपयोग नीति से सहमत हूँ और पुष्टि करता हूँ कि मेरी आयु कम से कम 18 वर्ष है।`,"Empty string":`खाली स्ट्रिंग`,"Empty array":`खाली ऐरे`,"Empty object":`खाली ऑब्जेक्ट`,"Copy {what}":`{what} कॉपी करें`,"Ask anything":`कुछ भी पूछें`,Auto:`ऑटो`,Instant:`तुरंत`,Low:`कम`,Medium:`मध्यम`,High:`उच्च`,Max:`अधिकतम`,Dictate:`डिक्टेट`,"Dictating — click to stop":`डिक्टेशन चालू है — रोकने के लिए क्लिक करें`,"Dictation settings":`डिक्टेशन सेटिंग`,Language:`भाषा`,"No devices found":`कोई डिवाइस नहीं मिला`,"Microphone {n}":`माइक्रोफ़ोन {n}`,"Nothing matches":`कुछ मेल नहीं खाता`,Commands:`कमांड`,"Search commands…":`कमांड खोजें…`,Agents:`एजेंट`,Skills:`कौशल`,Connectors:`कनेक्टर`,"Design system":`डिज़ाइन सिस्टम`,Plugins:`प्लगइन`,Devices:`डिवाइस`,Memory:`मेमोरी`,Research:`रिसर्च`,On:`चालू`,"Upload or add files":`फ़ाइलें अपलोड या जोड़ें`,"Add files, agents, skills and more":`फ़ाइलें, एजेंट, कौशल और अधिक जोड़ें`,"No agents yet":`अभी कोई एजेंट नहीं`,"No skills yet":`अभी कोई कौशल नहीं`,"No connectors yet":`अभी कोई कनेक्टर नहीं`,"No design system yet":`अभी कोई डिज़ाइन सिस्टम नहीं`,"No plugins yet":`अभी कोई प्लगइन नहीं`,"No devices yet":`अभी कोई डिवाइस नहीं`,"Search agents":`एजेंट खोजें`,"Search skills":`कौशल खोजें`,"Search connectors":`कनेक्टर खोजें`,"Search design system":`डिज़ाइन सिस्टम खोजें`,"Search plugins":`प्लगइन खोजें`,"Search devices":`डिवाइस खोजें`,"Reading agents":`एजेंट पढ़े जा रहे हैं`,"Reading skills":`कौशल पढ़े जा रहे हैं`,"Reading connectors":`कनेक्टर पढ़े जा रहे हैं`,"Reading design system":`डिज़ाइन सिस्टम पढ़ा जा रहा है`,"Reading plugins":`प्लगइन पढ़े जा रहे हैं`,"Adaptive reasoning based on task complexity":`कार्य की जटिलता के अनुसार अनुकूल तर्क`,"Answers right away, without thinking":`बिना सोचे तुरंत जवाब देता है`,"A quick pass with minimal thinking":`कम सोच के साथ एक त्वरित पास`,"Thinks before answering":`जवाब से पहले सोचता है`,"Deep reasoning for complex problems":`जटिल समस्याओं के लिए गहरा तर्क`,"Maximum compute and exhaustive verification":`अधिकतम कंप्यूट और पूरी जाँच`,Effort:`प्रयास`,"Effort: {level}":`प्रयास: {level}`,Mode:`मोड`,"Mode: {mode}":`मोड: {mode}`,Model:`मॉडल`,"Model: {name}":`मॉडल: {name}`,"Voice mode":`वॉइस मोड`,"Hanzo is speaking — talk to interrupt":`Hanzo बोल रहा है — बीच में बोलें`,"In conversation — click to hang up":`बातचीत में — काटने के लिए क्लिक करें`,"Go to testimonial {n}":`प्रशंसापत्र {n} पर जाएँ`,"Go to card {n}":`कार्ड {n} पर जाएँ`,"{n} of {total}":`{n} / {total}`,"Reading…":`पढ़ा जा रहा है…`,Skill:`कौशल`,Plugin:`प्लगइन`},Ffe={Close:`Tutup`,"Close window":`Tutup jendela`,"Minimize window":`Minimalkan jendela`,"Restore window":`Pulihkan jendela`,"Maximize window":`Maksimalkan jendela`,Resize:`Ubah ukuran`,"Select all":`Pilih semua`,"Select row":`Pilih baris`,"Previous month":`Bulan sebelumnya`,"Next month":`Bulan berikutnya`,Dismiss:`Tutup`,Breadcrumb:`Jejak navigasi`,Cards:`Kartu`,"Copy code":`Salin kode`,Copied:`Disalin`,"Copied!":`Disalin!`,Copy:`Salin`,"Previous slide":`Slide sebelumnya`,"Next slide":`Slide berikutnya`,"Previous card":`Kartu sebelumnya`,"Next card":`Kartu berikutnya`,"Zoom out":`Perkecil`,"Zoom in":`Perbesar`,Rotate:`Putar`,Filter:`Filter`,"Expand all":`Bentangkan semua`,"Collapse all":`Ciutkan semua`,"Search...":`Cari...`,"Pick a date":`Pilih tanggal`,Select:`Pilih`,"Start typing...":`Mulai mengetik...`,Search:`Cari`,Decrease:`Kurangi`,Increase:`Tambah`,pagination:`paginasi`,"Go to previous page":`Ke halaman sebelumnya`,"Go to next page":`Ke halaman berikutnya`,Previous:`Sebelumnya`,Next:`Berikutnya`,"More pages":`Halaman lainnya`,Remove:`Hapus`,"Go back":`Kembali`,"Go forward":`Maju`,"Reload page":`Muat ulang halaman`,Share:`Bagikan`,"New tab":`Tab baru`,Menu:`Menu`,"Copy command":`Salin perintah`,"Terminal input":`Masukan terminal`,Seek:`Geser`,"Rewind 10 seconds":`Mundur 10 detik`,"Forward 10 seconds":`Maju 10 detik`,Volume:`Volume`,"Toggle captions":`Alihkan takarir`,"Playback speed":`Kecepatan pemutaran`,Quality:`Kualitas`,"Picture in picture":`Gambar dalam gambar`,Play:`Putar`,Pause:`Jeda`,Mute:`Bisukan`,Unmute:`Nyalakan suara`,"Exit fullscreen":`Keluar dari layar penuh`,"Enter fullscreen":`Layar penuh`,Expand:`Bentangkan`,Collapse:`Ciutkan`,"Copy reply":`Salin balasan`,"Good result":`Hasil baik`,"Bad result":`Hasil buruk`,"Dialog Close":`Tutup dialog`,Notifications:`Notifikasi`,Account:`Akun`,Cart:`Keranjang`,Call:`Panggilan`,"Video call":`Panggilan video`,Message:`Pesan`,Main:`Utama`,Columns:`Kolom`,"No results.":`Tidak ada hasil.`,"No results":`Tidak ada hasil`,"No results found":`Tidak ada hasil yang ditemukan`,"Drop files here":`Letakkan file di sini`,"Drag & drop files here":`Seret dan lepas file di sini`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`atau klik untuk menelusuri (maks. {maxFiles} file, masing-masing {maxSize} MB)`,"Remove {name}":`Hapus {name}`,"{selected} of {total} row(s) selected.":`{selected} dari {total} baris dipilih.`,"Try again":`Coba lagi`,"What’s up next?":`Selanjutnya apa?`,"Show password":`Tampilkan kata sandi`,"Hide password":`Sembunyikan kata sandi`,"Search icons":`Cari ikon`,"No icon matches":`Tidak ada ikon yang cocok`,"Show all items ({n})":`Tampilkan semua ({n})`,"Fewer {what}":`Lebih sedikit {what}`,"More {what}":`Lebih banyak {what}`,"No tasks available. Add tasks to display Gantt chart.":`Tidak ada tugas. Tambahkan tugas untuk menampilkan bagan Gantt.`,January:`Januari`,February:`Februari`,March:`Maret`,April:`April`,May:`Mei`,June:`Juni`,July:`Juli`,August:`Agustus`,September:`September`,October:`Oktober`,November:`November`,December:`Desember`,Su:`Mg`,Mo:`Sn`,Tu:`Sl`,We:`Rb`,Th:`Km`,Fr:`Jm`,Sa:`Sb`,"just now":`baru saja`,"in a moment":`sebentar lagi`,"in 1 minute":`dalam 1 menit`,"in {n} minutes":`dalam {n} menit`,"in 1 hour":`dalam 1 jam`,"in {n} hours":`dalam {n} jam`,tomorrow:`besok`,"in {n} days":`dalam {n} hari`,"in 1 week":`dalam 1 minggu`,"in {n} weeks":`dalam {n} minggu`,"in 1 month":`dalam 1 bulan`,"in {n} months":`dalam {n} bulan`,"in 1 year":`dalam 1 tahun`,"in {n} years":`dalam {n} tahun`,"1 minute ago":`1 menit yang lalu`,"{n} minutes ago":`{n} menit yang lalu`,"1 hour ago":`1 jam yang lalu`,"{n} hours ago":`{n} jam yang lalu`,"1 day ago":`1 hari yang lalu`,"{n} days ago":`{n} hari yang lalu`,"1 week ago":`1 minggu yang lalu`,"{n} weeks ago":`{n} minggu yang lalu`,"1 month ago":`1 bulan yang lalu`,"{n} months ago":`{n} bulan yang lalu`,"1 year ago":`1 tahun yang lalu`,"{n} years ago":`{n} tahun yang lalu`,"Cookie notice":`Pemberitahuan cookie`,"Cookie preferences":`Preferensi cookie`,"Close and use essential cookies only":`Tutup dan gunakan cookie penting saja`,Back:`Kembali`,"Log in":`Masuk`,"Search Hanzo or ask AI":`Cari di Hanzo atau tanya AI`,"Search models":`Cari model`,"Search branches…":`Cari cabang…`,"Search repositories…":`Cari repositori…`,"Show options":`Tampilkan opsi`,Retry:`Coba lagi`,"Donut chart":`Diagram donat`,"Find an organization":`Cari organisasi`,Organizations:`Organisasi`,"Organization name":`Nama organisasi`,"Previous page":`Halaman sebelumnya`,"Next page":`Halaman berikutnya`,"Continue with credits":`Lanjutkan dengan kredit`,"Try Hanzo":`Coba Hanzo`,"Terms & Policies":`Syarat dan kebijakan`,"Who this is for":`Untuk siapa`,"Bill yearly":`Tagihan tahunan`,Apps:`Aplikasi`,"Card actions":`Tindakan kartu`,"Assign to...":`Tetapkan ke...`,"Search cards...":`Cari kartu...`,"Clear search":`Hapus pencarian`,"Open files":`File terbuka`,"Close panel":`Tutup panel`,"Add an organization":`Tambah organisasi`,"Keyboard Shortcuts":`Pintasan keyboard`,"Run a command":`Jalankan perintah`,"Type shell command...":`Ketik perintah shell...`,"Attached to the next message":`Dilampirkan ke pesan berikutnya`,"Channel Member Roster":`Anggota kanal`,"Channel Collaborative Notes":`Catatan kolaboratif kanal`,"Code Diff Viewer":`Penampil diff kode`,"Live Voice Call":`Panggilan suara langsung`,"MCP Server Hub":`Hub server MCP`,"Multi-Agent Swarm Bar":`Bilah kawanan agen`,"Write shared channel notes, meeting agenda, or AI summaries...":`Tulis catatan kanal, agenda, atau ringkasan AI...`,"Help improve our AI models":`Bantu tingkatkan model AI kami`,"Your name":`Nama Anda`,"Your role":`Peran Anda`,"Country or region":`Negara atau wilayah`,"Card details":`Detail kartu`,"Agree to recurring charges":`Setuju dengan tagihan berulang`,"How you will use Hanzo":`Cara Anda memakai Hanzo`,"Team size":`Ukuran tim`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Saya menyetujui Ketentuan Layanan dan Kebijakan Penggunaan yang Dapat Diterima serta menyatakan berusia minimal 18 tahun.`,"Empty string":`String kosong`,"Empty array":`Array kosong`,"Empty object":`Objek kosong`,"Copy {what}":`Salin {what}`,"Ask anything":`Tanyakan apa saja`,Auto:`Otomatis`,Instant:`Instan`,Low:`Rendah`,Medium:`Sedang`,High:`Tinggi`,Max:`Maks`,Dictate:`Dikte`,"Dictating — click to stop":`Sedang mendikte — klik untuk berhenti`,"Dictation settings":`Pengaturan dikte`,Language:`Bahasa`,"No devices found":`Tidak ada perangkat`,"Microphone {n}":`Mikrofon {n}`,"Nothing matches":`Tidak ada yang cocok`,Commands:`Perintah`,"Search commands…":`Cari perintah…`,Agents:`Agen`,Skills:`Keterampilan`,Connectors:`Konektor`,"Design system":`Sistem desain`,Plugins:`Plugin`,Devices:`Perangkat`,Memory:`Memori`,Research:`Riset`,On:`Nyala`,"Upload or add files":`Unggah atau tambah file`,"Add files, agents, skills and more":`Tambah file, agen, keterampilan, dan lainnya`,"No agents yet":`Belum ada agen`,"No skills yet":`Belum ada keterampilan`,"No connectors yet":`Belum ada konektor`,"No design system yet":`Belum ada sistem desain`,"No plugins yet":`Belum ada plugin`,"No devices yet":`Belum ada perangkat`,"Search agents":`Cari agen`,"Search skills":`Cari keterampilan`,"Search connectors":`Cari konektor`,"Search design system":`Cari sistem desain`,"Search plugins":`Cari plugin`,"Search devices":`Cari perangkat`,"Reading agents":`Membaca agen`,"Reading skills":`Membaca keterampilan`,"Reading connectors":`Membaca konektor`,"Reading design system":`Membaca sistem desain`,"Reading plugins":`Membaca plugin`,"Adaptive reasoning based on task complexity":`Penalaran adaptif sesuai kompleksitas tugas`,"Answers right away, without thinking":`Langsung menjawab, tanpa berpikir`,"A quick pass with minimal thinking":`Lewatan cepat dengan sedikit penalaran`,"Thinks before answering":`Berpikir sebelum menjawab`,"Deep reasoning for complex problems":`Penalaran mendalam untuk masalah kompleks`,"Maximum compute and exhaustive verification":`Komputasi maksimum dan verifikasi menyeluruh`,Effort:`Upaya`,"Effort: {level}":`Upaya: {level}`,Mode:`Mode`,"Mode: {mode}":`Mode: {mode}`,Model:`Model`,"Model: {name}":`Model: {name}`,"Voice mode":`Mode suara`,"Hanzo is speaking — talk to interrupt":`Hanzo sedang berbicara — bicara untuk menyela`,"In conversation — click to hang up":`Sedang berbicara — klik untuk menutup`,"Go to testimonial {n}":`Ke testimoni {n}`,"Go to card {n}":`Ke kartu {n}`,"{n} of {total}":`{n} dari {total}`,"Reading…":`Membaca…`,Skill:`Keterampilan`,Plugin:`Plugin`},Ife={Close:`Chiudi`,"Close window":`Chiudi finestra`,"Minimize window":`Riduci a icona`,"Restore window":`Ripristina finestra`,"Maximize window":`Ingrandisci finestra`,Resize:`Ridimensiona`,"Select all":`Seleziona tutto`,"Select row":`Seleziona riga`,"Previous month":`Mese precedente`,"Next month":`Mese successivo`,Dismiss:`Chiudi`,Breadcrumb:`Percorso di navigazione`,Cards:`Schede`,"Copy code":`Copia codice`,Copied:`Copiato`,"Copied!":`Copiato!`,Copy:`Copia`,"Previous slide":`Diapositiva precedente`,"Next slide":`Diapositiva successiva`,"Previous card":`Scheda precedente`,"Next card":`Scheda successiva`,"Zoom out":`Riduci zoom`,"Zoom in":`Aumenta zoom`,Rotate:`Ruota`,Filter:`Filtra`,"Expand all":`Espandi tutto`,"Collapse all":`Comprimi tutto`,"Search...":`Cerca...`,"Pick a date":`Scegli una data`,Select:`Seleziona`,"Start typing...":`Inizia a scrivere...`,Search:`Cerca`,Decrease:`Diminuisci`,Increase:`Aumenta`,pagination:`paginazione`,"Go to previous page":`Vai alla pagina precedente`,"Go to next page":`Vai alla pagina successiva`,Previous:`Precedente`,Next:`Successivo`,"More pages":`Altre pagine`,Remove:`Rimuovi`,"Go back":`Indietro`,"Go forward":`Avanti`,"Reload page":`Ricarica pagina`,Share:`Condividi`,"New tab":`Nuova scheda`,Menu:`Menu`,"Copy command":`Copia comando`,"Terminal input":`Input del terminale`,Seek:`Posizione`,"Rewind 10 seconds":`Indietro di 10 secondi`,"Forward 10 seconds":`Avanti di 10 secondi`,Volume:`Volume`,"Toggle captions":`Attiva o disattiva i sottotitoli`,"Playback speed":`Velocità di riproduzione`,Quality:`Qualità`,"Picture in picture":`Picture in picture`,Play:`Riproduci`,Pause:`Pausa`,Mute:`Disattiva audio`,Unmute:`Attiva audio`,"Exit fullscreen":`Esci da schermo intero`,"Enter fullscreen":`Schermo intero`,Expand:`Espandi`,Collapse:`Comprimi`,"Copy reply":`Copia risposta`,"Good result":`Buon risultato`,"Bad result":`Risultato scarso`,"Dialog Close":`Chiudi finestra di dialogo`,Notifications:`Notifiche`,Account:`Account`,Cart:`Carrello`,Call:`Chiamata`,"Video call":`Videochiamata`,Message:`Messaggio`,Main:`Principale`,Columns:`Colonne`,"No results.":`Nessun risultato.`,"No results":`Nessun risultato`,"No results found":`Nessun risultato trovato`,"Drop files here":`Rilascia i file qui`,"Drag & drop files here":`Trascina i file qui`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`oppure fai clic per sfogliare (max {maxFiles} file, {maxSize} MB ciascuno)`,"Remove {name}":`Rimuovi {name}`,"{selected} of {total} row(s) selected.":`{selected} di {total} riga/righe selezionata/e.`,"Try again":`Riprova`,"What’s up next?":`Che cosa c’è dopo?`,"Show password":`Mostra password`,"Hide password":`Nascondi password`,"Search icons":`Cerca icone`,"No icon matches":`Nessuna icona corrisponde`,"Show all items ({n})":`Mostra tutti ({n})`,"Fewer {what}":`Meno {what}`,"More {what}":`Più {what}`,"No tasks available. Add tasks to display Gantt chart.":`Nessuna attività. Aggiungine per mostrare il diagramma di Gantt.`,January:`gennaio`,February:`febbraio`,March:`marzo`,April:`aprile`,May:`maggio`,June:`giugno`,July:`luglio`,August:`agosto`,September:`settembre`,October:`ottobre`,November:`novembre`,December:`dicembre`,Su:`do`,Mo:`lu`,Tu:`ma`,We:`me`,Th:`gi`,Fr:`ve`,Sa:`sa`,"just now":`proprio ora`,"in a moment":`tra un attimo`,"in 1 minute":`tra 1 minuto`,"in {n} minutes":`tra {n} minuti`,"in 1 hour":`tra 1 ora`,"in {n} hours":`tra {n} ore`,tomorrow:`domani`,"in {n} days":`tra {n} giorni`,"in 1 week":`tra 1 settimana`,"in {n} weeks":`tra {n} settimane`,"in 1 month":`tra 1 mese`,"in {n} months":`tra {n} mesi`,"in 1 year":`tra 1 anno`,"in {n} years":`tra {n} anni`,"1 minute ago":`1 minuto fa`,"{n} minutes ago":`{n} minuti fa`,"1 hour ago":`1 ora fa`,"{n} hours ago":`{n} ore fa`,"1 day ago":`1 giorno fa`,"{n} days ago":`{n} giorni fa`,"1 week ago":`1 settimana fa`,"{n} weeks ago":`{n} settimane fa`,"1 month ago":`1 mese fa`,"{n} months ago":`{n} mesi fa`,"1 year ago":`1 anno fa`,"{n} years ago":`{n} anni fa`,"Cookie notice":`Avviso sui cookie`,"Cookie preferences":`Preferenze cookie`,"Close and use essential cookies only":`Chiudi e usa solo i cookie essenziali`,Back:`Indietro`,"Log in":`Accedi`,"Search Hanzo or ask AI":`Cerca in Hanzo o chiedi all’IA`,"Search models":`Cerca modelli`,"Search branches…":`Cerca branch…`,"Search repositories…":`Cerca repository…`,"Show options":`Mostra opzioni`,Retry:`Riprova`,"Donut chart":`Grafico ad anello`,"Find an organization":`Trova un’organizzazione`,Organizations:`Organizzazioni`,"Organization name":`Nome dell’organizzazione`,"Previous page":`Pagina precedente`,"Next page":`Pagina successiva`,"Continue with credits":`Continua con i crediti`,"Try Hanzo":`Prova Hanzo`,"Terms & Policies":`Termini e politiche`,"Who this is for":`A chi è rivolto`,"Bill yearly":`Fatturazione annuale`,Apps:`App`,"Card actions":`Azioni della scheda`,"Assign to...":`Assegna a...`,"Search cards...":`Cerca schede...`,"Clear search":`Cancella ricerca`,"Open files":`File aperti`,"Close panel":`Chiudi pannello`,"Add an organization":`Aggiungi un’organizzazione`,"Keyboard Shortcuts":`Scorciatoie da tastiera`,"Run a command":`Esegui un comando`,"Type shell command...":`Digita un comando shell...`,"Attached to the next message":`Allegato al prossimo messaggio`,"Channel Member Roster":`Membri del canale`,"Channel Collaborative Notes":`Note collaborative del canale`,"Code Diff Viewer":`Visualizzatore diff`,"Live Voice Call":`Chiamata vocale dal vivo`,"MCP Server Hub":`Hub dei server MCP`,"Multi-Agent Swarm Bar":`Barra dello sciame di agenti`,"Write shared channel notes, meeting agenda, or AI summaries...":`Scrivi note condivise, l’ordine del giorno o riassunti dell’IA...`,"Help improve our AI models":`Aiuta a migliorare i nostri modelli di IA`,"Your name":`Il tuo nome`,"Your role":`Il tuo ruolo`,"Country or region":`Paese o area`,"Card details":`Dati della carta`,"Agree to recurring charges":`Accetto gli addebiti ricorrenti`,"How you will use Hanzo":`Come userai Hanzo`,"Team size":`Dimensione del team`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Accetto i Termini di servizio e la Politica di utilizzo accettabile e confermo di avere almeno 18 anni.`,"Empty string":`Stringa vuota`,"Empty array":`Array vuoto`,"Empty object":`Oggetto vuoto`,"Copy {what}":`Copia {what}`,"Ask anything":`Chiedi qualsiasi cosa`,Auto:`Auto`,Instant:`Istantaneo`,Low:`Basso`,Medium:`Medio`,High:`Alto`,Max:`Massimo`,Dictate:`Detta`,"Dictating — click to stop":`Dettatura in corso — fai clic per fermare`,"Dictation settings":`Impostazioni di dettatura`,Language:`Lingua`,"No devices found":`Nessun dispositivo trovato`,"Microphone {n}":`Microfono {n}`,"Nothing matches":`Nessuna corrispondenza`,Commands:`Comandi`,"Search commands…":`Cerca comandi…`,Agents:`Agenti`,Skills:`Competenze`,Connectors:`Connettori`,"Design system":`Sistema di design`,Plugins:`Plugin`,Devices:`Dispositivi`,Memory:`Memoria`,Research:`Ricerca`,On:`Attivo`,"Upload or add files":`Carica o aggiungi file`,"Add files, agents, skills and more":`Aggiungi file, agenti, competenze e altro`,"No agents yet":`Ancora nessun agente`,"No skills yet":`Ancora nessuna competenza`,"No connectors yet":`Ancora nessun connettore`,"No design system yet":`Ancora nessun sistema di design`,"No plugins yet":`Ancora nessun plugin`,"No devices yet":`Ancora nessun dispositivo`,"Search agents":`Cerca agenti`,"Search skills":`Cerca competenze`,"Search connectors":`Cerca connettori`,"Search design system":`Cerca nel sistema di design`,"Search plugins":`Cerca plugin`,"Search devices":`Cerca dispositivi`,"Reading agents":`Lettura degli agenti`,"Reading skills":`Lettura delle competenze`,"Reading connectors":`Lettura dei connettori`,"Reading design system":`Lettura del sistema di design`,"Reading plugins":`Lettura dei plugin`,"Adaptive reasoning based on task complexity":`Ragionamento adattivo in base alla complessità`,"Answers right away, without thinking":`Risponde subito, senza ragionare`,"A quick pass with minimal thinking":`Un passaggio rapido, con poco ragionamento`,"Thinks before answering":`Riflette prima di rispondere`,"Deep reasoning for complex problems":`Ragionamento profondo per problemi complessi`,"Maximum compute and exhaustive verification":`Calcolo massimo e verifica esaustiva`,Effort:`Sforzo`,"Effort: {level}":`Sforzo: {level}`,Mode:`Modalità`,"Mode: {mode}":`Modalità: {mode}`,Model:`Modello`,"Model: {name}":`Modello: {name}`,"Voice mode":`Modalità vocale`,"Hanzo is speaking — talk to interrupt":`Hanzo sta parlando — parla per interrompere`,"In conversation — click to hang up":`In conversazione — fai clic per riagganciare`,"Go to testimonial {n}":`Vai alla testimonianza {n}`,"Go to card {n}":`Vai alla scheda {n}`,"{n} of {total}":`{n} di {total}`,"Reading…":`Lettura…`,Skill:`Competenza`,Plugin:`Plugin`},Lfe={Close:`閉じる`,"Close window":`ウィンドウを閉じる`,"Minimize window":`ウィンドウを最小化`,"Restore window":`ウィンドウを元に戻す`,"Maximize window":`ウィンドウを最大化`,Resize:`サイズ変更`,"Select all":`すべて選択`,"Select row":`行を選択`,"Previous month":`前の月`,"Next month":`次の月`,Dismiss:`閉じる`,Breadcrumb:`パンくずリスト`,Cards:`カード`,"Copy code":`コードをコピー`,Copied:`コピーしました`,"Copied!":`コピーしました`,Copy:`コピー`,"Previous slide":`前のスライド`,"Next slide":`次のスライド`,"Previous card":`前のカード`,"Next card":`次のカード`,"Zoom out":`縮小`,"Zoom in":`拡大`,Rotate:`回転`,Filter:`絞り込み`,"Expand all":`すべて展開`,"Collapse all":`すべて折りたたむ`,"Search...":`検索...`,"Pick a date":`日付を選択`,Select:`選択`,"Start typing...":`入力を開始...`,Search:`検索`,Decrease:`減らす`,Increase:`増やす`,pagination:`ページネーション`,"Go to previous page":`前のページへ`,"Go to next page":`次のページへ`,Previous:`前へ`,Next:`次へ`,"More pages":`その他のページ`,Remove:`削除`,"Go back":`戻る`,"Go forward":`進む`,"Reload page":`ページを再読み込み`,Share:`共有`,"New tab":`新しいタブ`,Menu:`メニュー`,"Copy command":`コマンドをコピー`,"Terminal input":`ターミナル入力`,Seek:`シーク`,"Rewind 10 seconds":`10秒戻る`,"Forward 10 seconds":`10秒進む`,Volume:`音量`,"Toggle captions":`字幕の切り替え`,"Playback speed":`再生速度`,Quality:`画質`,"Picture in picture":`ピクチャーインピクチャー`,Play:`再生`,Pause:`一時停止`,Mute:`ミュート`,Unmute:`ミュート解除`,"Exit fullscreen":`全画面を終了`,"Enter fullscreen":`全画面`,Expand:`展開`,Collapse:`折りたたむ`,"Copy reply":`返信をコピー`,"Good result":`良い結果`,"Bad result":`悪い結果`,"Dialog Close":`ダイアログを閉じる`,Notifications:`通知`,Account:`アカウント`,Cart:`カート`,Call:`通話`,"Video call":`ビデオ通話`,Message:`メッセージ`,Main:`メイン`,Columns:`列`,"No results.":`結果がありません。`,"No results":`結果なし`,"No results found":`結果が見つかりません`,"Drop files here":`ファイルをここにドロップ`,"Drag & drop files here":`ファイルをドラッグ&ドロップ`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`またはクリックして参照(最大 {maxFiles} ファイル、各 {maxSize} MB)`,"Remove {name}":`{name} を削除`,"{selected} of {total} row(s) selected.":`{total} 行中 {selected} 行を選択`,"Try again":`もう一度試す`,"What’s up next?":`次は何?`,"Show password":`パスワードを表示`,"Hide password":`パスワードを隠す`,"Search icons":`アイコンを検索`,"No icon matches":`一致するアイコンがありません`,"Show all items ({n})":`すべて表示 ({n})`,"Fewer {what}":`{what}を減らす`,"More {what}":`{what}を増やす`,"No tasks available. Add tasks to display Gantt chart.":`タスクがありません。ガントチャートを表示するにはタスクを追加してください。`,January:`1月`,February:`2月`,March:`3月`,April:`4月`,May:`5月`,June:`6月`,July:`7月`,August:`8月`,September:`9月`,October:`10月`,November:`11月`,December:`12月`,Su:`日`,Mo:`月`,Tu:`火`,We:`水`,Th:`木`,Fr:`金`,Sa:`土`,"just now":`たった今`,"in a moment":`まもなく`,"in 1 minute":`1分後`,"in {n} minutes":`{n}分後`,"in 1 hour":`1時間後`,"in {n} hours":`{n}時間後`,tomorrow:`明日`,"in {n} days":`{n}日後`,"in 1 week":`1週間後`,"in {n} weeks":`{n}週間後`,"in 1 month":`1か月後`,"in {n} months":`{n}か月後`,"in 1 year":`1年後`,"in {n} years":`{n}年後`,"1 minute ago":`1分前`,"{n} minutes ago":`{n}分前`,"1 hour ago":`1時間前`,"{n} hours ago":`{n}時間前`,"1 day ago":`1日前`,"{n} days ago":`{n}日前`,"1 week ago":`1週間前`,"{n} weeks ago":`{n}週間前`,"1 month ago":`1か月前`,"{n} months ago":`{n}か月前`,"1 year ago":`1年前`,"{n} years ago":`{n}年前`,"Cookie notice":`Cookie の通知`,"Cookie preferences":`Cookie の設定`,"Close and use essential cookies only":`閉じて必須 Cookie のみ使う`,Back:`戻る`,"Log in":`ログイン`,"Search Hanzo or ask AI":`Hanzo を検索するか AI に聞く`,"Search models":`モデルを検索`,"Search branches…":`ブランチを検索…`,"Search repositories…":`リポジトリを検索…`,"Show options":`オプションを表示`,Retry:`再試行`,"Donut chart":`ドーナツグラフ`,"Find an organization":`組織を探す`,Organizations:`組織`,"Organization name":`組織名`,"Previous page":`前のページ`,"Next page":`次のページ`,"Continue with credits":`クレジットで続ける`,"Try Hanzo":`Hanzo を試す`,"Terms & Policies":`規約とポリシー`,"Who this is for":`対象`,"Bill yearly":`年払い`,Apps:`アプリ`,"Card actions":`カードの操作`,"Assign to...":`割り当て先...`,"Search cards...":`カードを検索...`,"Clear search":`検索をクリア`,"Open files":`開いているファイル`,"Close panel":`パネルを閉じる`,"Add an organization":`組織を追加`,"Keyboard Shortcuts":`キーボードショートカット`,"Run a command":`コマンドを実行`,"Type shell command...":`シェルコマンドを入力...`,"Attached to the next message":`次のメッセージに添付`,"Channel Member Roster":`チャンネルのメンバー`,"Channel Collaborative Notes":`チャンネルの共同メモ`,"Code Diff Viewer":`差分ビューア`,"Live Voice Call":`ライブ音声通話`,"MCP Server Hub":`MCP サーバーハブ`,"Multi-Agent Swarm Bar":`マルチエージェントの群れバー`,"Write shared channel notes, meeting agenda, or AI summaries...":`共有メモ、議題、AI の要約を書く...`,"Help improve our AI models":`AI モデルの改善に協力する`,"Your name":`お名前`,"Your role":`あなたの役割`,"Country or region":`国または地域`,"Card details":`カード情報`,"Agree to recurring charges":`継続課金に同意する`,"How you will use Hanzo":`Hanzo の使い方`,"Team size":`チームの規模`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`利用規約と許容される使用に関するポリシーに同意し、18歳以上であることを確認します。`,"Empty string":`空の文字列`,"Empty array":`空の配列`,"Empty object":`空のオブジェクト`,"Copy {what}":`{what}をコピー`,"Ask anything":`何でも聞いてください`,Auto:`自動`,Instant:`即答`,Low:`低`,Medium:`中`,High:`高`,Max:`最大`,Dictate:`音声入力`,"Dictating — click to stop":`音声入力中 — クリックで停止`,"Dictation settings":`音声入力の設定`,Language:`言語`,"No devices found":`デバイスが見つかりません`,"Microphone {n}":`マイク {n}`,"Nothing matches":`一致するものがありません`,Commands:`コマンド`,"Search commands…":`コマンドを検索…`,Agents:`エージェント`,Skills:`スキル`,Connectors:`コネクタ`,"Design system":`デザインシステム`,Plugins:`プラグイン`,Devices:`デバイス`,Memory:`メモリ`,Research:`リサーチ`,On:`オン`,"Upload or add files":`ファイルをアップロードまたは追加`,"Add files, agents, skills and more":`ファイル、エージェント、スキルなどを追加`,"No agents yet":`エージェントはまだありません`,"No skills yet":`スキルはまだありません`,"No connectors yet":`コネクタはまだありません`,"No design system yet":`デザインシステムはまだありません`,"No plugins yet":`プラグインはまだありません`,"No devices yet":`デバイスはまだありません`,"Search agents":`エージェントを検索`,"Search skills":`スキルを検索`,"Search connectors":`コネクタを検索`,"Search design system":`デザインシステムを検索`,"Search plugins":`プラグインを検索`,"Search devices":`デバイスを検索`,"Reading agents":`エージェントを読み込み中`,"Reading skills":`スキルを読み込み中`,"Reading connectors":`コネクタを読み込み中`,"Reading design system":`デザインシステムを読み込み中`,"Reading plugins":`プラグインを読み込み中`,"Adaptive reasoning based on task complexity":`タスクの複雑さに合わせた推論`,"Answers right away, without thinking":`考えずにすぐに答えます`,"A quick pass with minimal thinking":`最小限の思考による素早い処理`,"Thinks before answering":`答える前に考える`,"Deep reasoning for complex problems":`複雑な問題のための深い推論`,"Maximum compute and exhaustive verification":`最大の計算と徹底した検証`,Effort:`思考量`,"Effort: {level}":`思考量: {level}`,Mode:`モード`,"Mode: {mode}":`モード: {mode}`,Model:`モデル`,"Model: {name}":`モデル: {name}`,"Voice mode":`音声モード`,"Hanzo is speaking — talk to interrupt":`Hanzo が話しています — 話すと中断します`,"In conversation — click to hang up":`会話中 — クリックで終了`,"Go to testimonial {n}":`お客様の声 {n} へ`,"Go to card {n}":`カード {n} へ`,"{n} of {total}":`{n} / {total}`,"Reading…":`読み込み中…`,Skill:`スキル`,Plugin:`プラグイン`},Rfe={Close:`닫기`,"Close window":`창 닫기`,"Minimize window":`창 최소화`,"Restore window":`창 복원`,"Maximize window":`창 최대화`,Resize:`크기 조절`,"Select all":`모두 선택`,"Select row":`행 선택`,"Previous month":`이전 달`,"Next month":`다음 달`,Dismiss:`닫기`,Breadcrumb:`이동 경로`,Cards:`카드`,"Copy code":`코드 복사`,Copied:`복사됨`,"Copied!":`복사됨!`,Copy:`복사`,"Previous slide":`이전 슬라이드`,"Next slide":`다음 슬라이드`,"Previous card":`이전 카드`,"Next card":`다음 카드`,"Zoom out":`축소`,"Zoom in":`확대`,Rotate:`회전`,Filter:`필터`,"Expand all":`모두 펼치기`,"Collapse all":`모두 접기`,"Search...":`검색...`,"Pick a date":`날짜 선택`,Select:`선택`,"Start typing...":`입력 시작...`,Search:`검색`,Decrease:`줄이기`,Increase:`늘리기`,pagination:`페이지 매김`,"Go to previous page":`이전 페이지로`,"Go to next page":`다음 페이지로`,Previous:`이전`,Next:`다음`,"More pages":`페이지 더보기`,Remove:`제거`,"Go back":`뒤로`,"Go forward":`앞으로`,"Reload page":`페이지 새로고침`,Share:`공유`,"New tab":`새 탭`,Menu:`메뉴`,"Copy command":`명령 복사`,"Terminal input":`터미널 입력`,Seek:`탐색`,"Rewind 10 seconds":`10초 되감기`,"Forward 10 seconds":`10초 빨리감기`,Volume:`음량`,"Toggle captions":`자막 전환`,"Playback speed":`재생 속도`,Quality:`화질`,"Picture in picture":`화면 속 화면`,Play:`재생`,Pause:`일시정지`,Mute:`음소거`,Unmute:`음소거 해제`,"Exit fullscreen":`전체 화면 종료`,"Enter fullscreen":`전체 화면`,Expand:`펼치기`,Collapse:`접기`,"Copy reply":`답변 복사`,"Good result":`좋은 결과`,"Bad result":`나쁜 결과`,"Dialog Close":`대화상자 닫기`,Notifications:`알림`,Account:`계정`,Cart:`장바구니`,Call:`통화`,"Video call":`영상 통화`,Message:`메시지`,Main:`기본`,Columns:`열`,"No results.":`결과가 없습니다.`,"No results":`결과 없음`,"No results found":`결과를 찾을 수 없습니다`,"Drop files here":`파일을 여기에 놓으세요`,"Drag & drop files here":`파일을 끌어다 놓으세요`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`또는 클릭하여 찾아보기 (최대 {maxFiles}개 파일, 각 {maxSize}MB)`,"Remove {name}":`{name} 제거`,"{selected} of {total} row(s) selected.":`{total}개 중 {selected}개 행 선택됨`,"Try again":`다시 시도`,"What’s up next?":`다음은 무엇인가요?`,"Show password":`비밀번호 표시`,"Hide password":`비밀번호 숨기기`,"Search icons":`아이콘 검색`,"No icon matches":`일치하는 아이콘 없음`,"Show all items ({n})":`모두 보기 ({n})`,"Fewer {what}":`{what} 줄이기`,"More {what}":`{what} 늘리기`,"No tasks available. Add tasks to display Gantt chart.":`작업이 없습니다. 간트 차트를 보려면 작업을 추가하세요.`,January:`1월`,February:`2월`,March:`3월`,April:`4월`,May:`5월`,June:`6월`,July:`7월`,August:`8월`,September:`9월`,October:`10월`,November:`11월`,December:`12월`,Su:`일`,Mo:`월`,Tu:`화`,We:`수`,Th:`목`,Fr:`금`,Sa:`토`,"just now":`방금`,"in a moment":`곧`,"in 1 minute":`1분 후`,"in {n} minutes":`{n}분 후`,"in 1 hour":`1시간 후`,"in {n} hours":`{n}시간 후`,tomorrow:`내일`,"in {n} days":`{n}일 후`,"in 1 week":`1주 후`,"in {n} weeks":`{n}주 후`,"in 1 month":`1개월 후`,"in {n} months":`{n}개월 후`,"in 1 year":`1년 후`,"in {n} years":`{n}년 후`,"1 minute ago":`1분 전`,"{n} minutes ago":`{n}분 전`,"1 hour ago":`1시간 전`,"{n} hours ago":`{n}시간 전`,"1 day ago":`1일 전`,"{n} days ago":`{n}일 전`,"1 week ago":`1주 전`,"{n} weeks ago":`{n}주 전`,"1 month ago":`1개월 전`,"{n} months ago":`{n}개월 전`,"1 year ago":`1년 전`,"{n} years ago":`{n}년 전`,"Cookie notice":`쿠키 안내`,"Cookie preferences":`쿠키 설정`,"Close and use essential cookies only":`닫고 필수 쿠키만 사용`,Back:`뒤로`,"Log in":`로그인`,"Search Hanzo or ask AI":`Hanzo 검색 또는 AI에게 질문`,"Search models":`모델 검색`,"Search branches…":`브랜치 검색…`,"Search repositories…":`저장소 검색…`,"Show options":`옵션 표시`,Retry:`다시 시도`,"Donut chart":`도넛 차트`,"Find an organization":`조직 찾기`,Organizations:`조직`,"Organization name":`조직 이름`,"Previous page":`이전 페이지`,"Next page":`다음 페이지`,"Continue with credits":`크레딧으로 계속`,"Try Hanzo":`Hanzo 체험`,"Terms & Policies":`약관 및 정책`,"Who this is for":`대상`,"Bill yearly":`연간 결제`,Apps:`앱`,"Card actions":`카드 작업`,"Assign to...":`할당 대상...`,"Search cards...":`카드 검색...`,"Clear search":`검색어 지우기`,"Open files":`열린 파일`,"Close panel":`패널 닫기`,"Add an organization":`조직 추가`,"Keyboard Shortcuts":`키보드 단축키`,"Run a command":`명령 실행`,"Type shell command...":`셸 명령 입력...`,"Attached to the next message":`다음 메시지에 첨부됨`,"Channel Member Roster":`채널 구성원`,"Channel Collaborative Notes":`채널 공동 메모`,"Code Diff Viewer":`코드 차이 보기`,"Live Voice Call":`실시간 음성 통화`,"MCP Server Hub":`MCP 서버 허브`,"Multi-Agent Swarm Bar":`다중 에이전트 군집 막대`,"Write shared channel notes, meeting agenda, or AI summaries...":`공유 메모, 안건 또는 AI 요약을 작성...`,"Help improve our AI models":`AI 모델 개선에 참여`,"Your name":`이름`,"Your role":`역할`,"Country or region":`국가 또는 지역`,"Card details":`카드 정보`,"Agree to recurring charges":`정기 결제에 동의`,"How you will use Hanzo":`Hanzo 사용 방식`,"Team size":`팀 규모`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`서비스 약관과 허용 사용 정책에 동의하며 만 18세 이상임을 확인합니다.`,"Empty string":`빈 문자열`,"Empty array":`빈 배열`,"Empty object":`빈 객체`,"Copy {what}":`{what} 복사`,"Ask anything":`무엇이든 물어보세요`,Auto:`자동`,Instant:`즉시`,Low:`낮음`,Medium:`중간`,High:`높음`,Max:`최대`,Dictate:`받아쓰기`,"Dictating — click to stop":`받아쓰는 중 — 클릭하여 중지`,"Dictation settings":`받아쓰기 설정`,Language:`언어`,"No devices found":`기기를 찾을 수 없습니다`,"Microphone {n}":`마이크 {n}`,"Nothing matches":`일치하는 항목 없음`,Commands:`명령`,"Search commands…":`명령 검색…`,Agents:`에이전트`,Skills:`스킬`,Connectors:`커넥터`,"Design system":`디자인 시스템`,Plugins:`플러그인`,Devices:`기기`,Memory:`메모리`,Research:`리서치`,On:`켜짐`,"Upload or add files":`파일 업로드 또는 추가`,"Add files, agents, skills and more":`파일, 에이전트, 스킬 등 추가`,"No agents yet":`아직 에이전트가 없습니다`,"No skills yet":`아직 스킬이 없습니다`,"No connectors yet":`아직 커넥터가 없습니다`,"No design system yet":`아직 디자인 시스템이 없습니다`,"No plugins yet":`아직 플러그인이 없습니다`,"No devices yet":`아직 기기가 없습니다`,"Search agents":`에이전트 검색`,"Search skills":`스킬 검색`,"Search connectors":`커넥터 검색`,"Search design system":`디자인 시스템 검색`,"Search plugins":`플러그인 검색`,"Search devices":`기기 검색`,"Reading agents":`에이전트 읽는 중`,"Reading skills":`스킬 읽는 중`,"Reading connectors":`커넥터 읽는 중`,"Reading design system":`디자인 시스템 읽는 중`,"Reading plugins":`플러그인 읽는 중`,"Adaptive reasoning based on task complexity":`작업 복잡도에 맞춘 추론`,"Answers right away, without thinking":`생각하지 않고 바로 답합니다`,"A quick pass with minimal thinking":`최소한의 사고로 빠르게`,"Thinks before answering":`답하기 전에 생각`,"Deep reasoning for complex problems":`복잡한 문제를 위한 깊은 추론`,"Maximum compute and exhaustive verification":`최대 연산과 철저한 검증`,Effort:`노력`,"Effort: {level}":`노력: {level}`,Mode:`모드`,"Mode: {mode}":`모드: {mode}`,Model:`모델`,"Model: {name}":`모델: {name}`,"Voice mode":`음성 모드`,"Hanzo is speaking — talk to interrupt":`Hanzo가 말하는 중 — 말하면 중단`,"In conversation — click to hang up":`대화 중 — 클릭하여 종료`,"Go to testimonial {n}":`후기 {n}(으)로`,"Go to card {n}":`카드 {n}(으)로`,"{n} of {total}":`{n} / {total}`,"Reading…":`읽는 중…`,Skill:`스킬`,Plugin:`플러그인`},zfe={Close:`Fechar`,"Close window":`Fechar janela`,"Minimize window":`Minimizar janela`,"Restore window":`Restaurar janela`,"Maximize window":`Maximizar janela`,Resize:`Redimensionar`,"Select all":`Selecionar tudo`,"Select row":`Selecionar linha`,"Previous month":`Mês anterior`,"Next month":`Próximo mês`,Dismiss:`Dispensar`,Breadcrumb:`Trilha de navegação`,Cards:`Cartões`,"Copy code":`Copiar código`,Copied:`Copiado`,"Copied!":`Copiado!`,Copy:`Copiar`,"Previous slide":`Slide anterior`,"Next slide":`Próximo slide`,"Previous card":`Cartão anterior`,"Next card":`Próximo cartão`,"Zoom out":`Diminuir zoom`,"Zoom in":`Aumentar zoom`,Rotate:`Girar`,Filter:`Filtrar`,"Expand all":`Expandir tudo`,"Collapse all":`Recolher tudo`,"Search...":`Pesquisar...`,"Pick a date":`Escolha uma data`,Select:`Selecionar`,"Start typing...":`Comece a digitar...`,Search:`Pesquisar`,Decrease:`Diminuir`,Increase:`Aumentar`,pagination:`paginação`,"Go to previous page":`Ir para a página anterior`,"Go to next page":`Ir para a próxima página`,Previous:`Anterior`,Next:`Próximo`,"More pages":`Mais páginas`,Remove:`Remover`,"Go back":`Voltar`,"Go forward":`Avançar`,"Reload page":`Recarregar página`,Share:`Compartilhar`,"New tab":`Nova aba`,Menu:`Menu`,"Copy command":`Copiar comando`,"Terminal input":`Entrada do terminal`,Seek:`Posição`,"Rewind 10 seconds":`Retroceder 10 segundos`,"Forward 10 seconds":`Avançar 10 segundos`,Volume:`Volume`,"Toggle captions":`Alternar legendas`,"Playback speed":`Velocidade de reprodução`,Quality:`Qualidade`,"Picture in picture":`Picture in picture`,Play:`Reproduzir`,Pause:`Pausar`,Mute:`Silenciar`,Unmute:`Ativar som`,"Exit fullscreen":`Sair da tela cheia`,"Enter fullscreen":`Tela cheia`,Expand:`Expandir`,Collapse:`Recolher`,"Copy reply":`Copiar resposta`,"Good result":`Bom resultado`,"Bad result":`Resultado ruim`,"Dialog Close":`Fechar diálogo`,Notifications:`Notificações`,Account:`Conta`,Cart:`Carrinho`,Call:`Chamada`,"Video call":`Chamada de vídeo`,Message:`Mensagem`,Main:`Principal`,Columns:`Colunas`,"No results.":`Nenhum resultado.`,"No results":`Nenhum resultado`,"No results found":`Nenhum resultado encontrado`,"Drop files here":`Solte os arquivos aqui`,"Drag & drop files here":`Arraste e solte arquivos aqui`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`ou clique para procurar (máx. {maxFiles} arquivos, {maxSize} MB cada)`,"Remove {name}":`Remover {name}`,"{selected} of {total} row(s) selected.":`{selected} de {total} linha(s) selecionada(s).`,"Try again":`Tentar novamente`,"What’s up next?":`O que vem agora?`,"Show password":`Mostrar senha`,"Hide password":`Ocultar senha`,"Search icons":`Pesquisar ícones`,"No icon matches":`Nenhum ícone corresponde`,"Show all items ({n})":`Mostrar todos ({n})`,"Fewer {what}":`Menos {what}`,"More {what}":`Mais {what}`,"No tasks available. Add tasks to display Gantt chart.":`Nenhuma tarefa. Adicione tarefas para exibir o gráfico de Gantt.`,January:`janeiro`,February:`fevereiro`,March:`março`,April:`abril`,May:`maio`,June:`junho`,July:`julho`,August:`agosto`,September:`setembro`,October:`outubro`,November:`novembro`,December:`dezembro`,Su:`do`,Mo:`se`,Tu:`te`,We:`qa`,Th:`qi`,Fr:`sx`,Sa:`sá`,"just now":`agora mesmo`,"in a moment":`em instantes`,"in 1 minute":`em 1 minuto`,"in {n} minutes":`em {n} minutos`,"in 1 hour":`em 1 hora`,"in {n} hours":`em {n} horas`,tomorrow:`amanhã`,"in {n} days":`em {n} dias`,"in 1 week":`em 1 semana`,"in {n} weeks":`em {n} semanas`,"in 1 month":`em 1 mês`,"in {n} months":`em {n} meses`,"in 1 year":`em 1 ano`,"in {n} years":`em {n} anos`,"1 minute ago":`há 1 minuto`,"{n} minutes ago":`há {n} minutos`,"1 hour ago":`há 1 hora`,"{n} hours ago":`há {n} horas`,"1 day ago":`há 1 dia`,"{n} days ago":`há {n} dias`,"1 week ago":`há 1 semana`,"{n} weeks ago":`há {n} semanas`,"1 month ago":`há 1 mês`,"{n} months ago":`há {n} meses`,"1 year ago":`há 1 ano`,"{n} years ago":`há {n} anos`,"Cookie notice":`Aviso de cookies`,"Cookie preferences":`Preferências de cookies`,"Close and use essential cookies only":`Fechar e usar apenas cookies essenciais`,Back:`Voltar`,"Log in":`Entrar`,"Search Hanzo or ask AI":`Pesquise na Hanzo ou pergunte à IA`,"Search models":`Pesquisar modelos`,"Search branches…":`Pesquisar branches…`,"Search repositories…":`Pesquisar repositórios…`,"Show options":`Mostrar opções`,Retry:`Tentar novamente`,"Donut chart":`Gráfico de rosca`,"Find an organization":`Encontrar uma organização`,Organizations:`Organizações`,"Organization name":`Nome da organização`,"Previous page":`Página anterior`,"Next page":`Próxima página`,"Continue with credits":`Continuar com créditos`,"Try Hanzo":`Experimentar a Hanzo`,"Terms & Policies":`Termos e políticas`,"Who this is for":`Para quem é`,"Bill yearly":`Cobrança anual`,Apps:`Aplicativos`,"Card actions":`Ações do cartão`,"Assign to...":`Atribuir a...`,"Search cards...":`Pesquisar cartões...`,"Clear search":`Limpar pesquisa`,"Open files":`Arquivos abertos`,"Close panel":`Fechar painel`,"Add an organization":`Adicionar uma organização`,"Keyboard Shortcuts":`Atalhos de teclado`,"Run a command":`Executar um comando`,"Type shell command...":`Digite um comando de shell...`,"Attached to the next message":`Anexado à próxima mensagem`,"Channel Member Roster":`Membros do canal`,"Channel Collaborative Notes":`Notas colaborativas do canal`,"Code Diff Viewer":`Visualizador de diff`,"Live Voice Call":`Chamada de voz ao vivo`,"MCP Server Hub":`Hub de servidores MCP`,"Multi-Agent Swarm Bar":`Barra do enxame de agentes`,"Write shared channel notes, meeting agenda, or AI summaries...":`Escreva notas do canal, a pauta ou resumos da IA...`,"Help improve our AI models":`Ajude a melhorar nossos modelos de IA`,"Your name":`Seu nome`,"Your role":`Seu papel`,"Country or region":`País ou região`,"Card details":`Dados do cartão`,"Agree to recurring charges":`Concordo com cobranças recorrentes`,"How you will use Hanzo":`Como você usará a Hanzo`,"Team size":`Tamanho da equipe`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Concordo com os Termos de Serviço e a Política de Uso Aceitável e confirmo que tenho pelo menos 18 anos.`,"Empty string":`Texto vazio`,"Empty array":`Array vazio`,"Empty object":`Objeto vazio`,"Copy {what}":`Copiar {what}`,"Ask anything":`Pergunte qualquer coisa`,Auto:`Auto`,Instant:`Instantâneo`,Low:`Baixo`,Medium:`Médio`,High:`Alto`,Max:`Máximo`,Dictate:`Ditar`,"Dictating — click to stop":`Ditando — clique para parar`,"Dictation settings":`Configurações de ditado`,Language:`Idioma`,"No devices found":`Nenhum dispositivo encontrado`,"Microphone {n}":`Microfone {n}`,"Nothing matches":`Nada corresponde`,Commands:`Comandos`,"Search commands…":`Pesquisar comandos…`,Agents:`Agentes`,Skills:`Habilidades`,Connectors:`Conectores`,"Design system":`Sistema de design`,Plugins:`Plugins`,Devices:`Dispositivos`,Memory:`Memória`,Research:`Pesquisa`,On:`Ativado`,"Upload or add files":`Enviar ou adicionar arquivos`,"Add files, agents, skills and more":`Adicione arquivos, agentes, habilidades e mais`,"No agents yet":`Ainda não há agentes`,"No skills yet":`Ainda não há habilidades`,"No connectors yet":`Ainda não há conectores`,"No design system yet":`Ainda não há sistema de design`,"No plugins yet":`Ainda não há plugins`,"No devices yet":`Ainda não há dispositivos`,"Search agents":`Pesquisar agentes`,"Search skills":`Pesquisar habilidades`,"Search connectors":`Pesquisar conectores`,"Search design system":`Pesquisar no sistema de design`,"Search plugins":`Pesquisar plugins`,"Search devices":`Pesquisar dispositivos`,"Reading agents":`Lendo agentes`,"Reading skills":`Lendo habilidades`,"Reading connectors":`Lendo conectores`,"Reading design system":`Lendo o sistema de design`,"Reading plugins":`Lendo plugins`,"Adaptive reasoning based on task complexity":`Raciocínio adaptativo conforme a complexidade da tarefa`,"Answers right away, without thinking":`Responde na hora, sem pensar`,"A quick pass with minimal thinking":`Uma passada rápida, com pouco raciocínio`,"Thinks before answering":`Pensa antes de responder`,"Deep reasoning for complex problems":`Raciocínio profundo para problemas complexos`,"Maximum compute and exhaustive verification":`Computação máxima e verificação exaustiva`,Effort:`Esforço`,"Effort: {level}":`Esforço: {level}`,Mode:`Modo`,"Mode: {mode}":`Modo: {mode}`,Model:`Modelo`,"Model: {name}":`Modelo: {name}`,"Voice mode":`Modo de voz`,"Hanzo is speaking — talk to interrupt":`A Hanzo está falando — fale para interromper`,"In conversation — click to hang up":`Em conversa — clique para desligar`,"Go to testimonial {n}":`Ir para o depoimento {n}`,"Go to card {n}":`Ir para o cartão {n}`,"{n} of {total}":`{n} de {total}`,"Reading…":`Lendo…`,Skill:`Habilidade`,Plugin:`Plugin`},Bfe={Close:`Закрыть`,"Close window":`Закрыть окно`,"Minimize window":`Свернуть окно`,"Restore window":`Восстановить окно`,"Maximize window":`Развернуть окно`,Resize:`Изменить размер`,"Select all":`Выбрать все`,"Select row":`Выбрать строку`,"Previous month":`Предыдущий месяц`,"Next month":`Следующий месяц`,Dismiss:`Закрыть`,Breadcrumb:`Навигационная цепочка`,Cards:`Карточки`,"Copy code":`Копировать код`,Copied:`Скопировано`,"Copied!":`Скопировано!`,Copy:`Копировать`,"Previous slide":`Предыдущий слайд`,"Next slide":`Следующий слайд`,"Previous card":`Предыдущая карточка`,"Next card":`Следующая карточка`,"Zoom out":`Уменьшить`,"Zoom in":`Увеличить`,Rotate:`Повернуть`,Filter:`Фильтр`,"Expand all":`Развернуть все`,"Collapse all":`Свернуть все`,"Search...":`Поиск...`,"Pick a date":`Выберите дату`,Select:`Выбрать`,"Start typing...":`Начните вводить...`,Search:`Поиск`,Decrease:`Уменьшить`,Increase:`Увеличить`,pagination:`постраничная навигация`,"Go to previous page":`К предыдущей странице`,"Go to next page":`К следующей странице`,Previous:`Назад`,Next:`Далее`,"More pages":`Ещё страницы`,Remove:`Удалить`,"Go back":`Назад`,"Go forward":`Вперёд`,"Reload page":`Обновить страницу`,Share:`Поделиться`,"New tab":`Новая вкладка`,Menu:`Меню`,"Copy command":`Копировать команду`,"Terminal input":`Ввод в терминале`,Seek:`Позиция`,"Rewind 10 seconds":`Назад на 10 секунд`,"Forward 10 seconds":`Вперёд на 10 секунд`,Volume:`Громкость`,"Toggle captions":`Субтитры`,"Playback speed":`Скорость воспроизведения`,Quality:`Качество`,"Picture in picture":`Картинка в картинке`,Play:`Воспроизвести`,Pause:`Пауза`,Mute:`Выключить звук`,Unmute:`Включить звук`,"Exit fullscreen":`Выйти из полноэкранного режима`,"Enter fullscreen":`Полный экран`,Expand:`Развернуть`,Collapse:`Свернуть`,"Copy reply":`Копировать ответ`,"Good result":`Хороший результат`,"Bad result":`Плохой результат`,"Dialog Close":`Закрыть диалог`,Notifications:`Уведомления`,Account:`Аккаунт`,Cart:`Корзина`,Call:`Звонок`,"Video call":`Видеозвонок`,Message:`Сообщение`,Main:`Основное`,Columns:`Столбцы`,"No results.":`Ничего не найдено.`,"No results":`Ничего не найдено`,"No results found":`Ничего не найдено`,"Drop files here":`Перетащите файлы сюда`,"Drag & drop files here":`Перетащите файлы сюда`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`или нажмите, чтобы выбрать (не более {maxFiles} файлов, по {maxSize} МБ)`,"Remove {name}":`Удалить {name}`,"{selected} of {total} row(s) selected.":`Выбрано {selected} из {total}.`,"Try again":`Повторить`,"What’s up next?":`Что дальше?`,"Show password":`Показать пароль`,"Hide password":`Скрыть пароль`,"Search icons":`Поиск значков`,"No icon matches":`Нет подходящих значков`,"Show all items ({n})":`Показать все ({n})`,"Fewer {what}":`Меньше: {what}`,"More {what}":`Больше: {what}`,"No tasks available. Add tasks to display Gantt chart.":`Нет задач. Добавьте их, чтобы показать диаграмму Ганта.`,January:`январь`,February:`февраль`,March:`март`,April:`апрель`,May:`май`,June:`июнь`,July:`июль`,August:`август`,September:`сентябрь`,October:`октябрь`,November:`ноябрь`,December:`декабрь`,Su:`вс`,Mo:`пн`,Tu:`вт`,We:`ср`,Th:`чт`,Fr:`пт`,Sa:`сб`,"just now":`только что`,"in a moment":`через мгновение`,"in 1 minute":`через 1 минуту`,"in {n} minutes":`через {n} мин.`,"in 1 hour":`через 1 час`,"in {n} hours":`через {n} ч.`,tomorrow:`завтра`,"in {n} days":`через {n} дн.`,"in 1 week":`через 1 неделю`,"in {n} weeks":`через {n} нед.`,"in 1 month":`через 1 месяц`,"in {n} months":`через {n} мес.`,"in 1 year":`через 1 год`,"in {n} years":`через {n} г.`,"1 minute ago":`1 минуту назад`,"{n} minutes ago":`{n} мин. назад`,"1 hour ago":`1 час назад`,"{n} hours ago":`{n} ч. назад`,"1 day ago":`1 день назад`,"{n} days ago":`{n} дн. назад`,"1 week ago":`1 неделю назад`,"{n} weeks ago":`{n} нед. назад`,"1 month ago":`1 месяц назад`,"{n} months ago":`{n} мес. назад`,"1 year ago":`1 год назад`,"{n} years ago":`{n} г. назад`,"Cookie notice":`Уведомление о cookie`,"Cookie preferences":`Настройки cookie`,"Close and use essential cookies only":`Закрыть и оставить только необходимые cookie`,Back:`Назад`,"Log in":`Войти`,"Search Hanzo or ask AI":`Искать в Hanzo или спросить ИИ`,"Search models":`Поиск моделей`,"Search branches…":`Поиск веток…`,"Search repositories…":`Поиск репозиториев…`,"Show options":`Показать параметры`,Retry:`Повторить`,"Donut chart":`Кольцевая диаграмма`,"Find an organization":`Найти организацию`,Organizations:`Организации`,"Organization name":`Название организации`,"Previous page":`Предыдущая страница`,"Next page":`Следующая страница`,"Continue with credits":`Продолжить за счёт кредитов`,"Try Hanzo":`Попробовать Hanzo`,"Terms & Policies":`Условия и политики`,"Who this is for":`Для кого это`,"Bill yearly":`Оплата за год`,Apps:`Приложения`,"Card actions":`Действия с карточкой`,"Assign to...":`Назначить...`,"Search cards...":`Поиск карточек...`,"Clear search":`Очистить поиск`,"Open files":`Открытые файлы`,"Close panel":`Закрыть панель`,"Add an organization":`Добавить организацию`,"Keyboard Shortcuts":`Сочетания клавиш`,"Run a command":`Выполнить команду`,"Type shell command...":`Введите команду оболочки...`,"Attached to the next message":`Прикреплено к следующему сообщению`,"Channel Member Roster":`Участники канала`,"Channel Collaborative Notes":`Общие заметки канала`,"Code Diff Viewer":`Просмотр различий`,"Live Voice Call":`Голосовой звонок`,"MCP Server Hub":`Хаб серверов MCP`,"Multi-Agent Swarm Bar":`Панель роя агентов`,"Write shared channel notes, meeting agenda, or AI summaries...":`Пишите общие заметки, повестку или сводки ИИ...`,"Help improve our AI models":`Помогите улучшить наши модели ИИ`,"Your name":`Ваше имя`,"Your role":`Ваша роль`,"Country or region":`Страна или регион`,"Card details":`Данные карты`,"Agree to recurring charges":`Согласие на регулярные списания`,"How you will use Hanzo":`Как вы будете использовать Hanzo`,"Team size":`Размер команды`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Я принимаю Условия обслуживания и Политику допустимого использования и подтверждаю, что мне исполнилось 18 лет.`,"Empty string":`Пустая строка`,"Empty array":`Пустой массив`,"Empty object":`Пустой объект`,"Copy {what}":`Копировать {what}`,"Ask anything":`Спросите что угодно`,Auto:`Авто`,Instant:`Мгновенно`,Low:`Низкий`,Medium:`Средний`,High:`Высокий`,Max:`Максимум`,Dictate:`Диктовка`,"Dictating — click to stop":`Идёт диктовка — нажмите, чтобы остановить`,"Dictation settings":`Настройки диктовки`,Language:`Язык`,"No devices found":`Устройства не найдены`,"Microphone {n}":`Микрофон {n}`,"Nothing matches":`Ничего не найдено`,Commands:`Команды`,"Search commands…":`Поиск команд…`,Agents:`Агенты`,Skills:`Навыки`,Connectors:`Коннекторы`,"Design system":`Дизайн-система`,Plugins:`Плагины`,Devices:`Устройства`,Memory:`Память`,Research:`Исследование`,On:`Вкл.`,"Upload or add files":`Загрузить или добавить файлы`,"Add files, agents, skills and more":`Добавьте файлы, агентов, навыки и другое`,"No agents yet":`Агентов пока нет`,"No skills yet":`Навыков пока нет`,"No connectors yet":`Коннекторов пока нет`,"No design system yet":`Дизайн-системы пока нет`,"No plugins yet":`Плагинов пока нет`,"No devices yet":`Устройств пока нет`,"Search agents":`Поиск агентов`,"Search skills":`Поиск навыков`,"Search connectors":`Поиск коннекторов`,"Search design system":`Поиск в дизайн-системе`,"Search plugins":`Поиск плагинов`,"Search devices":`Поиск устройств`,"Reading agents":`Чтение агентов`,"Reading skills":`Чтение навыков`,"Reading connectors":`Чтение коннекторов`,"Reading design system":`Чтение дизайн-системы`,"Reading plugins":`Чтение плагинов`,"Adaptive reasoning based on task complexity":`Адаптивное рассуждение по сложности задачи`,"Answers right away, without thinking":`Отвечает сразу, без размышлений`,"A quick pass with minimal thinking":`Быстрый проход с минимумом размышлений`,"Thinks before answering":`Думает перед ответом`,"Deep reasoning for complex problems":`Глубокое рассуждение для сложных задач`,"Maximum compute and exhaustive verification":`Максимум вычислений и полная проверка`,Effort:`Усилие`,"Effort: {level}":`Усилие: {level}`,Mode:`Режим`,"Mode: {mode}":`Режим: {mode}`,Model:`Модель`,"Model: {name}":`Модель: {name}`,"Voice mode":`Голосовой режим`,"Hanzo is speaking — talk to interrupt":`Hanzo говорит — говорите, чтобы прервать`,"In conversation — click to hang up":`Разговор — нажмите, чтобы завершить`,"Go to testimonial {n}":`К отзыву {n}`,"Go to card {n}":`К карточке {n}`,"{n} of {total}":`{n} из {total}`,"Reading…":`Чтение…`,Skill:`Навык`,Plugin:`Плагин`},Vfe={Close:`ปิด`,"Close window":`ปิดหน้าต่าง`,"Minimize window":`ย่อหน้าต่าง`,"Restore window":`คืนค่าหน้าต่าง`,"Maximize window":`ขยายหน้าต่าง`,Resize:`ปรับขนาด`,"Select all":`เลือกทั้งหมด`,"Select row":`เลือกแถว`,"Previous month":`เดือนก่อน`,"Next month":`เดือนถัดไป`,Dismiss:`ปิด`,Breadcrumb:`เส้นทางนำทาง`,Cards:`การ์ด`,"Copy code":`คัดลอกโค้ด`,Copied:`คัดลอกแล้ว`,"Copied!":`คัดลอกแล้ว!`,Copy:`คัดลอก`,"Previous slide":`สไลด์ก่อนหน้า`,"Next slide":`สไลด์ถัดไป`,"Previous card":`การ์ดก่อนหน้า`,"Next card":`การ์ดถัดไป`,"Zoom out":`ซูมออก`,"Zoom in":`ซูมเข้า`,Rotate:`หมุน`,Filter:`กรอง`,"Expand all":`ขยายทั้งหมด`,"Collapse all":`ยุบทั้งหมด`,"Search...":`ค้นหา...`,"Pick a date":`เลือกวันที่`,Select:`เลือก`,"Start typing...":`เริ่มพิมพ์...`,Search:`ค้นหา`,Decrease:`ลด`,Increase:`เพิ่ม`,pagination:`การแบ่งหน้า`,"Go to previous page":`ไปหน้าก่อนหน้า`,"Go to next page":`ไปหน้าถัดไป`,Previous:`ก่อนหน้า`,Next:`ถัดไป`,"More pages":`หน้าเพิ่มเติม`,Remove:`นำออก`,"Go back":`ย้อนกลับ`,"Go forward":`ไปข้างหน้า`,"Reload page":`โหลดหน้าใหม่`,Share:`แชร์`,"New tab":`แท็บใหม่`,Menu:`เมนู`,"Copy command":`คัดลอกคำสั่ง`,"Terminal input":`ช่องพิมพ์เทอร์มินัล`,Seek:`เลื่อนตำแหน่ง`,"Rewind 10 seconds":`ย้อน 10 วินาที`,"Forward 10 seconds":`ไปข้างหน้า 10 วินาที`,Volume:`ระดับเสียง`,"Toggle captions":`เปิดหรือปิดคำบรรยาย`,"Playback speed":`ความเร็วเล่น`,Quality:`คุณภาพ`,"Picture in picture":`ภาพซ้อนภาพ`,Play:`เล่น`,Pause:`หยุดชั่วคราว`,Mute:`ปิดเสียง`,Unmute:`เปิดเสียง`,"Exit fullscreen":`ออกจากเต็มหน้าจอ`,"Enter fullscreen":`เต็มหน้าจอ`,Expand:`ขยาย`,Collapse:`ยุบ`,"Copy reply":`คัดลอกคำตอบ`,"Good result":`ผลลัพธ์ดี`,"Bad result":`ผลลัพธ์ไม่ดี`,"Dialog Close":`ปิดกล่องโต้ตอบ`,Notifications:`การแจ้งเตือน`,Account:`บัญชี`,Cart:`ตะกร้า`,Call:`โทร`,"Video call":`วิดีโอคอล`,Message:`ข้อความ`,Main:`หลัก`,Columns:`คอลัมน์`,"No results.":`ไม่มีผลลัพธ์`,"No results":`ไม่มีผลลัพธ์`,"No results found":`ไม่พบผลลัพธ์`,"Drop files here":`วางไฟล์ที่นี่`,"Drag & drop files here":`ลากแล้ววางไฟล์ที่นี่`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`หรือคลิกเพื่อเลือก (สูงสุด {maxFiles} ไฟล์ ไฟล์ละ {maxSize} MB)`,"Remove {name}":`นำ {name} ออก`,"{selected} of {total} row(s) selected.":`เลือกแล้ว {selected} จาก {total} แถว`,"Try again":`ลองอีกครั้ง`,"What’s up next?":`ต่อไปคืออะไร`,"Show password":`แสดงรหัสผ่าน`,"Hide password":`ซ่อนรหัสผ่าน`,"Search icons":`ค้นหาไอคอน`,"No icon matches":`ไม่มีไอคอนที่ตรงกัน`,"Show all items ({n})":`แสดงทั้งหมด ({n})`,"Fewer {what}":`ลด {what}`,"More {what}":`เพิ่ม {what}`,"No tasks available. Add tasks to display Gantt chart.":`ยังไม่มีงาน เพิ่มงานเพื่อแสดงแผนภูมิ Gantt`,January:`มกราคม`,February:`กุมภาพันธ์`,March:`มีนาคม`,April:`เมษายน`,May:`พฤษภาคม`,June:`มิถุนายน`,July:`กรกฎาคม`,August:`สิงหาคม`,September:`กันยายน`,October:`ตุลาคม`,November:`พฤศจิกายน`,December:`ธันวาคม`,Su:`อา`,Mo:`จ`,Tu:`อ`,We:`พ`,Th:`พฤ`,Fr:`ศ`,Sa:`ส`,"just now":`เมื่อสักครู่`,"in a moment":`อีกครู่`,"in 1 minute":`ใน 1 นาที`,"in {n} minutes":`ใน {n} นาที`,"in 1 hour":`ใน 1 ชั่วโมง`,"in {n} hours":`ใน {n} ชั่วโมง`,tomorrow:`พรุ่งนี้`,"in {n} days":`ใน {n} วัน`,"in 1 week":`ใน 1 สัปดาห์`,"in {n} weeks":`ใน {n} สัปดาห์`,"in 1 month":`ใน 1 เดือน`,"in {n} months":`ใน {n} เดือน`,"in 1 year":`ใน 1 ปี`,"in {n} years":`ใน {n} ปี`,"1 minute ago":`1 นาทีที่แล้ว`,"{n} minutes ago":`{n} นาทีที่แล้ว`,"1 hour ago":`1 ชั่วโมงที่แล้ว`,"{n} hours ago":`{n} ชั่วโมงที่แล้ว`,"1 day ago":`1 วันที่แล้ว`,"{n} days ago":`{n} วันที่แล้ว`,"1 week ago":`1 สัปดาห์ที่แล้ว`,"{n} weeks ago":`{n} สัปดาห์ที่แล้ว`,"1 month ago":`1 เดือนที่แล้ว`,"{n} months ago":`{n} เดือนที่แล้ว`,"1 year ago":`1 ปีที่แล้ว`,"{n} years ago":`{n} ปีที่แล้ว`,"Cookie notice":`ประกาศคุกกี้`,"Cookie preferences":`การตั้งค่าคุกกี้`,"Close and use essential cookies only":`ปิดและใช้เฉพาะคุกกี้ที่จำเป็น`,Back:`กลับ`,"Log in":`เข้าสู่ระบบ`,"Search Hanzo or ask AI":`ค้นหาใน Hanzo หรือถาม AI`,"Search models":`ค้นหาโมเดล`,"Search branches…":`ค้นหาแบรนช์…`,"Search repositories…":`ค้นหาที่เก็บ…`,"Show options":`แสดงตัวเลือก`,Retry:`ลองใหม่`,"Donut chart":`แผนภูมิโดนัท`,"Find an organization":`ค้นหาองค์กร`,Organizations:`องค์กร`,"Organization name":`ชื่อองค์กร`,"Previous page":`หน้าก่อนหน้า`,"Next page":`หน้าถัดไป`,"Continue with credits":`ใช้เครดิตต่อไป`,"Try Hanzo":`ลองใช้ Hanzo`,"Terms & Policies":`ข้อกำหนดและนโยบาย`,"Who this is for":`เหมาะกับใคร`,"Bill yearly":`คิดเงินรายปี`,Apps:`แอป`,"Card actions":`การทำงานของการ์ด`,"Assign to...":`มอบหมายให้...`,"Search cards...":`ค้นหาการ์ด...`,"Clear search":`ล้างการค้นหา`,"Open files":`ไฟล์ที่เปิดอยู่`,"Close panel":`ปิดแผง`,"Add an organization":`เพิ่มองค์กร`,"Keyboard Shortcuts":`แป้นพิมพ์ลัด`,"Run a command":`เรียกใช้คำสั่ง`,"Type shell command...":`พิมพ์คำสั่งเชลล์...`,"Attached to the next message":`แนบกับข้อความถัดไป`,"Channel Member Roster":`สมาชิกช่อง`,"Channel Collaborative Notes":`บันทึกร่วมของช่อง`,"Code Diff Viewer":`ตัวดูส่วนต่างโค้ด`,"Live Voice Call":`สายเสียงสด`,"MCP Server Hub":`ฮับเซิร์ฟเวอร์ MCP`,"Multi-Agent Swarm Bar":`แถบฝูงเอเจนต์`,"Write shared channel notes, meeting agenda, or AI summaries...":`เขียนบันทึกช่อง วาระประชุม หรือสรุปจาก AI...`,"Help improve our AI models":`ช่วยปรับปรุงโมเดล AI ของเรา`,"Your name":`ชื่อของคุณ`,"Your role":`บทบาทของคุณ`,"Country or region":`ประเทศหรือภูมิภาค`,"Card details":`รายละเอียดบัตร`,"Agree to recurring charges":`ยอมรับการเรียกเก็บซ้ำ`,"How you will use Hanzo":`คุณจะใช้ Hanzo อย่างไร`,"Team size":`ขนาดทีม`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`ฉันยอมรับข้อกำหนดการให้บริการและนโยบายการใช้งานที่ยอมรับได้ และยืนยันว่าฉันมีอายุอย่างน้อย 18 ปี`,"Empty string":`สตริงว่าง`,"Empty array":`อาร์เรย์ว่าง`,"Empty object":`อ็อบเจกต์ว่าง`,"Copy {what}":`คัดลอก {what}`,"Ask anything":`ถามอะไรก็ได้`,Auto:`อัตโนมัติ`,Instant:`ทันที`,Low:`ต่ำ`,Medium:`ปานกลาง`,High:`สูง`,Max:`สูงสุด`,Dictate:`สั่งด้วยเสียง`,"Dictating — click to stop":`กำลังสั่งด้วยเสียง — คลิกเพื่อหยุด`,"Dictation settings":`การตั้งค่าการสั่งด้วยเสียง`,Language:`ภาษา`,"No devices found":`ไม่พบอุปกรณ์`,"Microphone {n}":`ไมโครโฟน {n}`,"Nothing matches":`ไม่มีรายการที่ตรงกัน`,Commands:`คำสั่ง`,"Search commands…":`ค้นหาคำสั่ง…`,Agents:`เอเจนต์`,Skills:`ทักษะ`,Connectors:`ตัวเชื่อม`,"Design system":`ระบบดีไซน์`,Plugins:`ปลั๊กอิน`,Devices:`อุปกรณ์`,Memory:`ความจำ`,Research:`ค้นคว้า`,On:`เปิด`,"Upload or add files":`อัปโหลดหรือเพิ่มไฟล์`,"Add files, agents, skills and more":`เพิ่มไฟล์ เอเจนต์ ทักษะ และอื่นๆ`,"No agents yet":`ยังไม่มีเอเจนต์`,"No skills yet":`ยังไม่มีทักษะ`,"No connectors yet":`ยังไม่มีตัวเชื่อม`,"No design system yet":`ยังไม่มีระบบดีไซน์`,"No plugins yet":`ยังไม่มีปลั๊กอิน`,"No devices yet":`ยังไม่มีอุปกรณ์`,"Search agents":`ค้นหาเอเจนต์`,"Search skills":`ค้นหาทักษะ`,"Search connectors":`ค้นหาตัวเชื่อม`,"Search design system":`ค้นหาระบบดีไซน์`,"Search plugins":`ค้นหาปลั๊กอิน`,"Search devices":`ค้นหาอุปกรณ์`,"Reading agents":`กำลังอ่านเอเจนต์`,"Reading skills":`กำลังอ่านทักษะ`,"Reading connectors":`กำลังอ่านตัวเชื่อม`,"Reading design system":`กำลังอ่านระบบดีไซน์`,"Reading plugins":`กำลังอ่านปลั๊กอิน`,"Adaptive reasoning based on task complexity":`การใช้เหตุผลตามความซับซ้อนของงาน`,"Answers right away, without thinking":`ตอบทันทีโดยไม่ต้องคิด`,"A quick pass with minimal thinking":`ผ่านอย่างรวดเร็วโดยคิดน้อย`,"Thinks before answering":`คิดก่อนตอบ`,"Deep reasoning for complex problems":`การใช้เหตุผลเชิงลึกสำหรับปัญหาซับซ้อน`,"Maximum compute and exhaustive verification":`การคำนวณสูงสุดและการตรวจอย่างละเอียด`,Effort:`ระดับความพยายาม`,"Effort: {level}":`ระดับความพยายาม: {level}`,Mode:`โหมด`,"Mode: {mode}":`โหมด: {mode}`,Model:`โมเดล`,"Model: {name}":`โมเดล: {name}`,"Voice mode":`โหมดเสียง`,"Hanzo is speaking — talk to interrupt":`Hanzo กำลังพูด — พูดเพื่อขัดจังหวะ`,"In conversation — click to hang up":`กำลังสนทนา — คลิกเพื่อวางสาย`,"Go to testimonial {n}":`ไปยังคำรับรอง {n}`,"Go to card {n}":`ไปยังการ์ด {n}`,"{n} of {total}":`{n} จาก {total}`,"Reading…":`กำลังอ่าน…`,Skill:`ทักษะ`,Plugin:`ปลั๊กอิน`},Hfe={Close:`Kapat`,"Close window":`Pencereyi kapat`,"Minimize window":`Pencereyi küçült`,"Restore window":`Pencereyi geri yükle`,"Maximize window":`Pencereyi büyüt`,Resize:`Yeniden boyutlandır`,"Select all":`Tümünü seç`,"Select row":`Satırı seç`,"Previous month":`Önceki ay`,"Next month":`Sonraki ay`,Dismiss:`Kapat`,Breadcrumb:`Gezinti yolu`,Cards:`Kartlar`,"Copy code":`Kodu kopyala`,Copied:`Kopyalandı`,"Copied!":`Kopyalandı!`,Copy:`Kopyala`,"Previous slide":`Önceki slayt`,"Next slide":`Sonraki slayt`,"Previous card":`Önceki kart`,"Next card":`Sonraki kart`,"Zoom out":`Uzaklaştır`,"Zoom in":`Yakınlaştır`,Rotate:`Döndür`,Filter:`Filtrele`,"Expand all":`Tümünü genişlet`,"Collapse all":`Tümünü daralt`,"Search...":`Ara...`,"Pick a date":`Tarih seçin`,Select:`Seç`,"Start typing...":`Yazmaya başlayın...`,Search:`Ara`,Decrease:`Azalt`,Increase:`Artır`,pagination:`sayfalama`,"Go to previous page":`Önceki sayfaya git`,"Go to next page":`Sonraki sayfaya git`,Previous:`Önceki`,Next:`Sonraki`,"More pages":`Diğer sayfalar`,Remove:`Kaldır`,"Go back":`Geri`,"Go forward":`İleri`,"Reload page":`Sayfayı yenile`,Share:`Paylaş`,"New tab":`Yeni sekme`,Menu:`Menü`,"Copy command":`Komutu kopyala`,"Terminal input":`Terminal girişi`,Seek:`Konum`,"Rewind 10 seconds":`10 saniye geri`,"Forward 10 seconds":`10 saniye ileri`,Volume:`Ses`,"Toggle captions":`Altyazıları aç veya kapat`,"Playback speed":`Oynatma hızı`,Quality:`Kalite`,"Picture in picture":`Resim içinde resim`,Play:`Oynat`,Pause:`Duraklat`,Mute:`Sessize al`,Unmute:`Sesi aç`,"Exit fullscreen":`Tam ekrandan çık`,"Enter fullscreen":`Tam ekran`,Expand:`Genişlet`,Collapse:`Daralt`,"Copy reply":`Yanıtı kopyala`,"Good result":`İyi sonuç`,"Bad result":`Kötü sonuç`,"Dialog Close":`İletişim kutusunu kapat`,Notifications:`Bildirimler`,Account:`Hesap`,Cart:`Sepet`,Call:`Arama`,"Video call":`Görüntülü arama`,Message:`Mesaj`,Main:`Ana`,Columns:`Sütunlar`,"No results.":`Sonuç yok.`,"No results":`Sonuç yok`,"No results found":`Sonuç bulunamadı`,"Drop files here":`Dosyaları buraya bırakın`,"Drag & drop files here":`Dosyaları sürükleyip bırakın`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`veya göz atmak için tıklayın (en fazla {maxFiles} dosya, her biri {maxSize} MB)`,"Remove {name}":`{name} öğesini kaldır`,"{selected} of {total} row(s) selected.":`{total} satırdan {selected} tanesi seçili.`,"Try again":`Yeniden dene`,"What’s up next?":`Sırada ne var?`,"Show password":`Şifreyi göster`,"Hide password":`Şifreyi gizle`,"Search icons":`Simge ara`,"No icon matches":`Eşleşen simge yok`,"Show all items ({n})":`Tümünü göster ({n})`,"Fewer {what}":`Daha az {what}`,"More {what}":`Daha fazla {what}`,"No tasks available. Add tasks to display Gantt chart.":`Görev yok. Gantt grafiğini görmek için görev ekleyin.`,January:`Ocak`,February:`Şubat`,March:`Mart`,April:`Nisan`,May:`Mayıs`,June:`Haziran`,July:`Temmuz`,August:`Ağustos`,September:`Eylül`,October:`Ekim`,November:`Kasım`,December:`Aralık`,Su:`Pz`,Mo:`Pt`,Tu:`Sa`,We:`Ça`,Th:`Pe`,Fr:`Cu`,Sa:`Ct`,"just now":`şimdi`,"in a moment":`birazdan`,"in 1 minute":`1 dakika içinde`,"in {n} minutes":`{n} dakika içinde`,"in 1 hour":`1 saat içinde`,"in {n} hours":`{n} saat içinde`,tomorrow:`yarın`,"in {n} days":`{n} gün içinde`,"in 1 week":`1 hafta içinde`,"in {n} weeks":`{n} hafta içinde`,"in 1 month":`1 ay içinde`,"in {n} months":`{n} ay içinde`,"in 1 year":`1 yıl içinde`,"in {n} years":`{n} yıl içinde`,"1 minute ago":`1 dakika önce`,"{n} minutes ago":`{n} dakika önce`,"1 hour ago":`1 saat önce`,"{n} hours ago":`{n} saat önce`,"1 day ago":`1 gün önce`,"{n} days ago":`{n} gün önce`,"1 week ago":`1 hafta önce`,"{n} weeks ago":`{n} hafta önce`,"1 month ago":`1 ay önce`,"{n} months ago":`{n} ay önce`,"1 year ago":`1 yıl önce`,"{n} years ago":`{n} yıl önce`,"Cookie notice":`Çerez bildirimi`,"Cookie preferences":`Çerez tercihleri`,"Close and use essential cookies only":`Kapat ve yalnızca zorunlu çerezleri kullan`,Back:`Geri`,"Log in":`Giriş yap`,"Search Hanzo or ask AI":`Hanzo’da ara veya yapay zekâya sor`,"Search models":`Model ara`,"Search branches…":`Dalları ara…`,"Search repositories…":`Depoları ara…`,"Show options":`Seçenekleri göster`,Retry:`Yeniden dene`,"Donut chart":`Halka grafik`,"Find an organization":`Kuruluş bul`,Organizations:`Kuruluşlar`,"Organization name":`Kuruluş adı`,"Previous page":`Önceki sayfa`,"Next page":`Sonraki sayfa`,"Continue with credits":`Kredilerle devam et`,"Try Hanzo":`Hanzo’yu dene`,"Terms & Policies":`Koşullar ve politikalar`,"Who this is for":`Kimler için`,"Bill yearly":`Yıllık faturalandır`,Apps:`Uygulamalar`,"Card actions":`Kart işlemleri`,"Assign to...":`Ata...`,"Search cards...":`Kart ara...`,"Clear search":`Aramayı temizle`,"Open files":`Açık dosyalar`,"Close panel":`Paneli kapat`,"Add an organization":`Kuruluş ekle`,"Keyboard Shortcuts":`Klavye kısayolları`,"Run a command":`Komut çalıştır`,"Type shell command...":`Kabuk komutu yazın...`,"Attached to the next message":`Sonraki iletiye eklendi`,"Channel Member Roster":`Kanal üyeleri`,"Channel Collaborative Notes":`Kanalın ortak notları`,"Code Diff Viewer":`Fark görüntüleyici`,"Live Voice Call":`Canlı sesli arama`,"MCP Server Hub":`MCP sunucu merkezi`,"Multi-Agent Swarm Bar":`Çoklu aracı çubuğu`,"Write shared channel notes, meeting agenda, or AI summaries...":`Paylaşılan kanal notları, gündem veya yapay zekâ özetleri yazın...`,"Help improve our AI models":`Yapay zekâ modellerimizi geliştirmeye yardım edin`,"Your name":`Adınız`,"Your role":`Rolünüz`,"Country or region":`Ülke veya bölge`,"Card details":`Kart bilgileri`,"Agree to recurring charges":`Yinelenen ücretleri kabul et`,"How you will use Hanzo":`Hanzo’yu nasıl kullanacağınız`,"Team size":`Ekip büyüklüğü`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Hizmet Şartlarını ve Kabul Edilebilir Kullanım Politikasını kabul ediyor ve en az 18 yaşında olduğumu onaylıyorum.`,"Empty string":`Boş dize`,"Empty array":`Boş dizi`,"Empty object":`Boş nesne`,"Copy {what}":`{what} kopyala`,"Ask anything":`Her şeyi sorun`,Auto:`Otomatik`,Instant:`Anında`,Low:`Düşük`,Medium:`Orta`,High:`Yüksek`,Max:`Maksimum`,Dictate:`Dikte`,"Dictating — click to stop":`Dikte ediliyor — durdurmak için tıklayın`,"Dictation settings":`Dikte ayarları`,Language:`Dil`,"No devices found":`Aygıt bulunamadı`,"Microphone {n}":`Mikrofon {n}`,"Nothing matches":`Eşleşme yok`,Commands:`Komutlar`,"Search commands…":`Komut ara…`,Agents:`Aracılar`,Skills:`Beceriler`,Connectors:`Bağlayıcılar`,"Design system":`Tasarım sistemi`,Plugins:`Eklentiler`,Devices:`Aygıtlar`,Memory:`Bellek`,Research:`Araştırma`,On:`Açık`,"Upload or add files":`Dosya yükle veya ekle`,"Add files, agents, skills and more":`Dosya, aracı, beceri ve daha fazlasını ekle`,"No agents yet":`Henüz aracı yok`,"No skills yet":`Henüz beceri yok`,"No connectors yet":`Henüz bağlayıcı yok`,"No design system yet":`Henüz tasarım sistemi yok`,"No plugins yet":`Henüz eklenti yok`,"No devices yet":`Henüz aygıt yok`,"Search agents":`Aracı ara`,"Search skills":`Beceri ara`,"Search connectors":`Bağlayıcı ara`,"Search design system":`Tasarım sisteminde ara`,"Search plugins":`Eklenti ara`,"Search devices":`Aygıt ara`,"Reading agents":`Aracılar okunuyor`,"Reading skills":`Beceriler okunuyor`,"Reading connectors":`Bağlayıcılar okunuyor`,"Reading design system":`Tasarım sistemi okunuyor`,"Reading plugins":`Eklentiler okunuyor`,"Adaptive reasoning based on task complexity":`Görevin karmaşıklığına göre uyarlanabilir akıl yürütme`,"Answers right away, without thinking":`Düşünmeden hemen yanıt verir`,"A quick pass with minimal thinking":`Az düşünerek hızlı bir geçiş`,"Thinks before answering":`Yanıtlamadan önce düşünür`,"Deep reasoning for complex problems":`Karmaşık sorunlar için derin akıl yürütme`,"Maximum compute and exhaustive verification":`En yüksek hesap ve kapsamlı doğrulama`,Effort:`Çaba`,"Effort: {level}":`Çaba: {level}`,Mode:`Mod`,"Mode: {mode}":`Mod: {mode}`,Model:`Model`,"Model: {name}":`Model: {name}`,"Voice mode":`Ses modu`,"Hanzo is speaking — talk to interrupt":`Hanzo konuşuyor — kesmek için konuşun`,"In conversation — click to hang up":`Görüşmede — kapatmak için tıklayın`,"Go to testimonial {n}":`{n}. görüşe git`,"Go to card {n}":`{n}. karta git`,"{n} of {total}":`{n} / {total}`,"Reading…":`Okunuyor…`,Skill:`Beceri`,Plugin:`Eklenti`},Ufe={Close:`Đóng`,"Close window":`Đóng cửa sổ`,"Minimize window":`Thu nhỏ cửa sổ`,"Restore window":`Khôi phục cửa sổ`,"Maximize window":`Phóng to cửa sổ`,Resize:`Đổi kích thước`,"Select all":`Chọn tất cả`,"Select row":`Chọn hàng`,"Previous month":`Tháng trước`,"Next month":`Tháng sau`,Dismiss:`Bỏ qua`,Breadcrumb:`Đường dẫn`,Cards:`Thẻ`,"Copy code":`Sao chép mã`,Copied:`Đã sao chép`,"Copied!":`Đã sao chép!`,Copy:`Sao chép`,"Previous slide":`Trang trước`,"Next slide":`Trang sau`,"Previous card":`Thẻ trước`,"Next card":`Thẻ sau`,"Zoom out":`Thu nhỏ`,"Zoom in":`Phóng to`,Rotate:`Xoay`,Filter:`Lọc`,"Expand all":`Mở rộng tất cả`,"Collapse all":`Thu gọn tất cả`,"Search...":`Tìm kiếm...`,"Pick a date":`Chọn ngày`,Select:`Chọn`,"Start typing...":`Bắt đầu nhập...`,Search:`Tìm kiếm`,Decrease:`Giảm`,Increase:`Tăng`,pagination:`phân trang`,"Go to previous page":`Đến trang trước`,"Go to next page":`Đến trang sau`,Previous:`Trước`,Next:`Tiếp`,"More pages":`Thêm trang`,Remove:`Xóa`,"Go back":`Quay lại`,"Go forward":`Tiến`,"Reload page":`Tải lại trang`,Share:`Chia sẻ`,"New tab":`Tab mới`,Menu:`Menu`,"Copy command":`Sao chép lệnh`,"Terminal input":`Nhập lệnh`,Seek:`Tua`,"Rewind 10 seconds":`Tua lại 10 giây`,"Forward 10 seconds":`Tua đi 10 giây`,Volume:`Âm lượng`,"Toggle captions":`Bật hoặc tắt phụ đề`,"Playback speed":`Tốc độ phát`,Quality:`Chất lượng`,"Picture in picture":`Hình trong hình`,Play:`Phát`,Pause:`Tạm dừng`,Mute:`Tắt tiếng`,Unmute:`Bật tiếng`,"Exit fullscreen":`Thoát toàn màn hình`,"Enter fullscreen":`Toàn màn hình`,Expand:`Mở rộng`,Collapse:`Thu gọn`,"Copy reply":`Sao chép câu trả lời`,"Good result":`Kết quả tốt`,"Bad result":`Kết quả kém`,"Dialog Close":`Đóng hộp thoại`,Notifications:`Thông báo`,Account:`Tài khoản`,Cart:`Giỏ hàng`,Call:`Cuộc gọi`,"Video call":`Cuộc gọi video`,Message:`Tin nhắn`,Main:`Chính`,Columns:`Cột`,"No results.":`Không có kết quả.`,"No results":`Không có kết quả`,"No results found":`Không tìm thấy kết quả`,"Drop files here":`Thả tệp vào đây`,"Drag & drop files here":`Kéo và thả tệp vào đây`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`hoặc bấm để duyệt (tối đa {maxFiles} tệp, mỗi tệp {maxSize} MB)`,"Remove {name}":`Xóa {name}`,"{selected} of {total} row(s) selected.":`Đã chọn {selected} / {total} hàng.`,"Try again":`Thử lại`,"What’s up next?":`Tiếp theo là gì?`,"Show password":`Hiện mật khẩu`,"Hide password":`Ẩn mật khẩu`,"Search icons":`Tìm biểu tượng`,"No icon matches":`Không có biểu tượng khớp`,"Show all items ({n})":`Hiện tất cả ({n})`,"Fewer {what}":`Ít {what} hơn`,"More {what}":`Thêm {what}`,"No tasks available. Add tasks to display Gantt chart.":`Chưa có công việc. Thêm công việc để hiện biểu đồ Gantt.`,January:`tháng 1`,February:`tháng 2`,March:`tháng 3`,April:`tháng 4`,May:`tháng 5`,June:`tháng 6`,July:`tháng 7`,August:`tháng 8`,September:`tháng 9`,October:`tháng 10`,November:`tháng 11`,December:`tháng 12`,Su:`CN`,Mo:`T2`,Tu:`T3`,We:`T4`,Th:`T5`,Fr:`T6`,Sa:`T7`,"just now":`vừa xong`,"in a moment":`chốc nữa`,"in 1 minute":`sau 1 phút`,"in {n} minutes":`sau {n} phút`,"in 1 hour":`sau 1 giờ`,"in {n} hours":`sau {n} giờ`,tomorrow:`ngày mai`,"in {n} days":`sau {n} ngày`,"in 1 week":`sau 1 tuần`,"in {n} weeks":`sau {n} tuần`,"in 1 month":`sau 1 tháng`,"in {n} months":`sau {n} tháng`,"in 1 year":`sau 1 năm`,"in {n} years":`sau {n} năm`,"1 minute ago":`1 phút trước`,"{n} minutes ago":`{n} phút trước`,"1 hour ago":`1 giờ trước`,"{n} hours ago":`{n} giờ trước`,"1 day ago":`1 ngày trước`,"{n} days ago":`{n} ngày trước`,"1 week ago":`1 tuần trước`,"{n} weeks ago":`{n} tuần trước`,"1 month ago":`1 tháng trước`,"{n} months ago":`{n} tháng trước`,"1 year ago":`1 năm trước`,"{n} years ago":`{n} năm trước`,"Cookie notice":`Thông báo cookie`,"Cookie preferences":`Tùy chọn cookie`,"Close and use essential cookies only":`Đóng và chỉ dùng cookie thiết yếu`,Back:`Quay lại`,"Log in":`Đăng nhập`,"Search Hanzo or ask AI":`Tìm trong Hanzo hoặc hỏi AI`,"Search models":`Tìm mô hình`,"Search branches…":`Tìm nhánh…`,"Search repositories…":`Tìm kho…`,"Show options":`Hiện tùy chọn`,Retry:`Thử lại`,"Donut chart":`Biểu đồ vành khuyên`,"Find an organization":`Tìm tổ chức`,Organizations:`Tổ chức`,"Organization name":`Tên tổ chức`,"Previous page":`Trang trước`,"Next page":`Trang sau`,"Continue with credits":`Tiếp tục bằng tín dụng`,"Try Hanzo":`Dùng thử Hanzo`,"Terms & Policies":`Điều khoản và chính sách`,"Who this is for":`Dành cho ai`,"Bill yearly":`Thanh toán theo năm`,Apps:`Ứng dụng`,"Card actions":`Thao tác thẻ`,"Assign to...":`Gán cho...`,"Search cards...":`Tìm thẻ...`,"Clear search":`Xóa tìm kiếm`,"Open files":`Tệp đang mở`,"Close panel":`Đóng bảng`,"Add an organization":`Thêm tổ chức`,"Keyboard Shortcuts":`Phím tắt`,"Run a command":`Chạy lệnh`,"Type shell command...":`Nhập lệnh shell...`,"Attached to the next message":`Đính kèm tin nhắn tiếp theo`,"Channel Member Roster":`Thành viên kênh`,"Channel Collaborative Notes":`Ghi chú cộng tác của kênh`,"Code Diff Viewer":`Trình xem khác biệt mã`,"Live Voice Call":`Cuộc gọi thoại trực tiếp`,"MCP Server Hub":`Trung tâm máy chủ MCP`,"Multi-Agent Swarm Bar":`Thanh bầy tác nhân`,"Write shared channel notes, meeting agenda, or AI summaries...":`Viết ghi chú kênh, chương trình họp hoặc tóm tắt AI...`,"Help improve our AI models":`Giúp cải thiện mô hình AI của chúng tôi`,"Your name":`Tên của bạn`,"Your role":`Vai trò của bạn`,"Country or region":`Quốc gia hoặc khu vực`,"Card details":`Thông tin thẻ`,"Agree to recurring charges":`Đồng ý các khoản phí định kỳ`,"How you will use Hanzo":`Bạn sẽ dùng Hanzo thế nào`,"Team size":`Quy mô nhóm`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`Tôi đồng ý với Điều khoản dịch vụ và Chính sách sử dụng được chấp nhận và xác nhận tôi đủ 18 tuổi.`,"Empty string":`Chuỗi rỗng`,"Empty array":`Mảng rỗng`,"Empty object":`Đối tượng rỗng`,"Copy {what}":`Sao chép {what}`,"Ask anything":`Hỏi bất cứ điều gì`,Auto:`Tự động`,Instant:`Tức thì`,Low:`Thấp`,Medium:`Trung bình`,High:`Cao`,Max:`Tối đa`,Dictate:`Đọc chính tả`,"Dictating — click to stop":`Đang đọc — bấm để dừng`,"Dictation settings":`Cài đặt đọc chính tả`,Language:`Ngôn ngữ`,"No devices found":`Không tìm thấy thiết bị`,"Microphone {n}":`Micro {n}`,"Nothing matches":`Không có gì khớp`,Commands:`Lệnh`,"Search commands…":`Tìm lệnh…`,Agents:`Tác nhân`,Skills:`Kỹ năng`,Connectors:`Trình kết nối`,"Design system":`Hệ thống thiết kế`,Plugins:`Plugin`,Devices:`Thiết bị`,Memory:`Bộ nhớ`,Research:`Nghiên cứu`,On:`Bật`,"Upload or add files":`Tải lên hoặc thêm tệp`,"Add files, agents, skills and more":`Thêm tệp, tác nhân, kỹ năng và hơn thế`,"No agents yet":`Chưa có tác nhân`,"No skills yet":`Chưa có kỹ năng`,"No connectors yet":`Chưa có trình kết nối`,"No design system yet":`Chưa có hệ thống thiết kế`,"No plugins yet":`Chưa có plugin`,"No devices yet":`Chưa có thiết bị`,"Search agents":`Tìm tác nhân`,"Search skills":`Tìm kỹ năng`,"Search connectors":`Tìm trình kết nối`,"Search design system":`Tìm trong hệ thống thiết kế`,"Search plugins":`Tìm plugin`,"Search devices":`Tìm thiết bị`,"Reading agents":`Đang đọc tác nhân`,"Reading skills":`Đang đọc kỹ năng`,"Reading connectors":`Đang đọc trình kết nối`,"Reading design system":`Đang đọc hệ thống thiết kế`,"Reading plugins":`Đang đọc plugin`,"Adaptive reasoning based on task complexity":`Suy luận thích ứng theo độ phức tạp`,"Answers right away, without thinking":`Trả lời ngay, không suy nghĩ`,"A quick pass with minimal thinking":`Một lượt nhanh, ít suy nghĩ`,"Thinks before answering":`Suy nghĩ trước khi trả lời`,"Deep reasoning for complex problems":`Suy luận sâu cho vấn đề phức tạp`,"Maximum compute and exhaustive verification":`Tính toán tối đa và kiểm tra toàn diện`,Effort:`Mức nỗ lực`,"Effort: {level}":`Mức nỗ lực: {level}`,Mode:`Chế độ`,"Mode: {mode}":`Chế độ: {mode}`,Model:`Mô hình`,"Model: {name}":`Mô hình: {name}`,"Voice mode":`Chế độ giọng nói`,"Hanzo is speaking — talk to interrupt":`Hanzo đang nói — hãy nói để ngắt`,"In conversation — click to hang up":`Đang trò chuyện — bấm để gác máy`,"Go to testimonial {n}":`Đến lời nhận xét {n}`,"Go to card {n}":`Đến thẻ {n}`,"{n} of {total}":`{n} / {total}`,"Reading…":`Đang đọc…`,Skill:`Kỹ năng`,Plugin:`Plugin`},Wfe={Close:`关闭`,"Close window":`关闭窗口`,"Minimize window":`最小化窗口`,"Restore window":`还原窗口`,"Maximize window":`最大化窗口`,Resize:`调整大小`,"Select all":`全选`,"Select row":`选择行`,"Previous month":`上个月`,"Next month":`下个月`,Dismiss:`关闭`,Breadcrumb:`面包屑`,Cards:`卡片`,"Copy code":`复制代码`,Copied:`已复制`,"Copied!":`已复制!`,Copy:`复制`,"Previous slide":`上一张`,"Next slide":`下一张`,"Previous card":`上一张卡片`,"Next card":`下一张卡片`,"Zoom out":`缩小`,"Zoom in":`放大`,Rotate:`旋转`,Filter:`筛选`,"Expand all":`全部展开`,"Collapse all":`全部折叠`,"Search...":`搜索...`,"Pick a date":`选择日期`,Select:`选择`,"Start typing...":`开始输入...`,Search:`搜索`,Decrease:`减少`,Increase:`增加`,pagination:`分页`,"Go to previous page":`转到上一页`,"Go to next page":`转到下一页`,Previous:`上一页`,Next:`下一页`,"More pages":`更多页面`,Remove:`移除`,"Go back":`返回`,"Go forward":`前进`,"Reload page":`重新加载页面`,Share:`分享`,"New tab":`新标签页`,Menu:`菜单`,"Copy command":`复制命令`,"Terminal input":`终端输入`,Seek:`拖动进度`,"Rewind 10 seconds":`后退 10 秒`,"Forward 10 seconds":`快进 10 秒`,Volume:`音量`,"Toggle captions":`开关字幕`,"Playback speed":`播放速度`,Quality:`画质`,"Picture in picture":`画中画`,Play:`播放`,Pause:`暂停`,Mute:`静音`,Unmute:`取消静音`,"Exit fullscreen":`退出全屏`,"Enter fullscreen":`全屏`,Expand:`展开`,Collapse:`折叠`,"Copy reply":`复制回复`,"Good result":`结果好`,"Bad result":`结果不好`,"Dialog Close":`关闭对话框`,Notifications:`通知`,Account:`账户`,Cart:`购物车`,Call:`通话`,"Video call":`视频通话`,Message:`消息`,Main:`主导航`,Columns:`列`,"No results.":`没有结果。`,"No results":`无结果`,"No results found":`未找到结果`,"Drop files here":`将文件拖放到此处`,"Drag & drop files here":`拖放文件到此处`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`或点击浏览(最多 {maxFiles} 个文件,每个 {maxSize} MB)`,"Remove {name}":`移除 {name}`,"{selected} of {total} row(s) selected.":`已选择 {selected}/{total} 行。`,"Try again":`重试`,"What’s up next?":`接下来做什么?`,"Show password":`显示密码`,"Hide password":`隐藏密码`,"Search icons":`搜索图标`,"No icon matches":`没有匹配的图标`,"Show all items ({n})":`显示全部 ({n})`,"Fewer {what}":`减少{what}`,"More {what}":`增加{what}`,"No tasks available. Add tasks to display Gantt chart.":`没有任务。添加任务以显示甘特图。`,January:`一月`,February:`二月`,March:`三月`,April:`四月`,May:`五月`,June:`六月`,July:`七月`,August:`八月`,September:`九月`,October:`十月`,November:`十一月`,December:`十二月`,Su:`日`,Mo:`一`,Tu:`二`,We:`三`,Th:`四`,Fr:`五`,Sa:`六`,"just now":`刚刚`,"in a moment":`片刻后`,"in 1 minute":`1 分钟后`,"in {n} minutes":`{n} 分钟后`,"in 1 hour":`1 小时后`,"in {n} hours":`{n} 小时后`,tomorrow:`明天`,"in {n} days":`{n} 天后`,"in 1 week":`1 周后`,"in {n} weeks":`{n} 周后`,"in 1 month":`1 个月后`,"in {n} months":`{n} 个月后`,"in 1 year":`1 年后`,"in {n} years":`{n} 年后`,"1 minute ago":`1 分钟前`,"{n} minutes ago":`{n} 分钟前`,"1 hour ago":`1 小时前`,"{n} hours ago":`{n} 小时前`,"1 day ago":`1 天前`,"{n} days ago":`{n} 天前`,"1 week ago":`1 周前`,"{n} weeks ago":`{n} 周前`,"1 month ago":`1 个月前`,"{n} months ago":`{n} 个月前`,"1 year ago":`1 年前`,"{n} years ago":`{n} 年前`,"Cookie notice":`Cookie 提示`,"Cookie preferences":`Cookie 偏好`,"Close and use essential cookies only":`关闭并仅使用必要 Cookie`,Back:`返回`,"Log in":`登录`,"Search Hanzo or ask AI":`搜索 Hanzo 或询问 AI`,"Search models":`搜索模型`,"Search branches…":`搜索分支…`,"Search repositories…":`搜索仓库…`,"Show options":`显示选项`,Retry:`重试`,"Donut chart":`环形图`,"Find an organization":`查找组织`,Organizations:`组织`,"Organization name":`组织名称`,"Previous page":`上一页`,"Next page":`下一页`,"Continue with credits":`使用额度继续`,"Try Hanzo":`试用 Hanzo`,"Terms & Policies":`条款与政策`,"Who this is for":`适合谁`,"Bill yearly":`按年计费`,Apps:`应用`,"Card actions":`卡片操作`,"Assign to...":`分配给...`,"Search cards...":`搜索卡片...`,"Clear search":`清除搜索`,"Open files":`打开的文件`,"Close panel":`关闭面板`,"Add an organization":`添加组织`,"Keyboard Shortcuts":`键盘快捷键`,"Run a command":`运行命令`,"Type shell command...":`输入 shell 命令...`,"Attached to the next message":`附加到下一条消息`,"Channel Member Roster":`频道成员`,"Channel Collaborative Notes":`频道协作笔记`,"Code Diff Viewer":`代码差异查看器`,"Live Voice Call":`实时语音通话`,"MCP Server Hub":`MCP 服务器中心`,"Multi-Agent Swarm Bar":`多智能体群集栏`,"Write shared channel notes, meeting agenda, or AI summaries...":`撰写频道笔记、会议议程或 AI 摘要...`,"Help improve our AI models":`帮助改进我们的 AI 模型`,"Your name":`你的名字`,"Your role":`你的角色`,"Country or region":`国家或地区`,"Card details":`银行卡信息`,"Agree to recurring charges":`同意周期性扣款`,"How you will use Hanzo":`你将如何使用 Hanzo`,"Team size":`团队规模`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`我同意服务条款和可接受使用政策,并确认我已年满 18 岁。`,"Empty string":`空字符串`,"Empty array":`空数组`,"Empty object":`空对象`,"Copy {what}":`复制{what}`,"Ask anything":`尽管问`,Auto:`自动`,Instant:`即时`,Low:`低`,Medium:`中`,High:`高`,Max:`最大`,Dictate:`听写`,"Dictating — click to stop":`正在听写 — 点击停止`,"Dictation settings":`听写设置`,Language:`语言`,"No devices found":`未找到设备`,"Microphone {n}":`麦克风 {n}`,"Nothing matches":`没有匹配项`,Commands:`命令`,"Search commands…":`搜索命令…`,Agents:`智能体`,Skills:`技能`,Connectors:`连接器`,"Design system":`设计系统`,Plugins:`插件`,Devices:`设备`,Memory:`记忆`,Research:`研究`,On:`开`,"Upload or add files":`上传或添加文件`,"Add files, agents, skills and more":`添加文件、智能体、技能等`,"No agents yet":`还没有智能体`,"No skills yet":`还没有技能`,"No connectors yet":`还没有连接器`,"No design system yet":`还没有设计系统`,"No plugins yet":`还没有插件`,"No devices yet":`还没有设备`,"Search agents":`搜索智能体`,"Search skills":`搜索技能`,"Search connectors":`搜索连接器`,"Search design system":`搜索设计系统`,"Search plugins":`搜索插件`,"Search devices":`搜索设备`,"Reading agents":`正在读取智能体`,"Reading skills":`正在读取技能`,"Reading connectors":`正在读取连接器`,"Reading design system":`正在读取设计系统`,"Reading plugins":`正在读取插件`,"Adaptive reasoning based on task complexity":`根据任务复杂度自适应推理`,"Answers right away, without thinking":`立即回答,不进行思考`,"A quick pass with minimal thinking":`快速过一遍,少思考`,"Thinks before answering":`先想再答`,"Deep reasoning for complex problems":`针对复杂问题的深度推理`,"Maximum compute and exhaustive verification":`最大算力与穷尽验证`,Effort:`力度`,"Effort: {level}":`力度:{level}`,Mode:`模式`,"Mode: {mode}":`模式:{mode}`,Model:`模型`,"Model: {name}":`模型:{name}`,"Voice mode":`语音模式`,"Hanzo is speaking — talk to interrupt":`Hanzo 正在说话 — 开口即可打断`,"In conversation — click to hang up":`通话中 — 点击挂断`,"Go to testimonial {n}":`转到评价 {n}`,"Go to card {n}":`转到卡片 {n}`,"{n} of {total}":`{n} / {total}`,"Reading…":`正在读取…`,Skill:`技能`,Plugin:`插件`},Gfe={Close:`關閉`,"Close window":`關閉視窗`,"Minimize window":`最小化視窗`,"Restore window":`還原視窗`,"Maximize window":`最大化視窗`,Resize:`調整大小`,"Select all":`全選`,"Select row":`選擇列`,"Previous month":`上個月`,"Next month":`下個月`,Dismiss:`關閉`,Breadcrumb:`導覽路徑`,Cards:`卡片`,"Copy code":`複製程式碼`,Copied:`已複製`,"Copied!":`已複製!`,Copy:`複製`,"Previous slide":`上一張`,"Next slide":`下一張`,"Previous card":`上一張卡片`,"Next card":`下一張卡片`,"Zoom out":`縮小`,"Zoom in":`放大`,Rotate:`旋轉`,Filter:`篩選`,"Expand all":`全部展開`,"Collapse all":`全部摺疊`,"Search...":`搜尋...`,"Pick a date":`選擇日期`,Select:`選擇`,"Start typing...":`開始輸入...`,Search:`搜尋`,Decrease:`減少`,Increase:`增加`,pagination:`分頁`,"Go to previous page":`前往上一頁`,"Go to next page":`前往下一頁`,Previous:`上一頁`,Next:`下一頁`,"More pages":`更多頁面`,Remove:`移除`,"Go back":`返回`,"Go forward":`前進`,"Reload page":`重新載入頁面`,Share:`分享`,"New tab":`新分頁`,Menu:`選單`,"Copy command":`複製指令`,"Terminal input":`終端機輸入`,Seek:`拖曳進度`,"Rewind 10 seconds":`後退 10 秒`,"Forward 10 seconds":`快轉 10 秒`,Volume:`音量`,"Toggle captions":`開關字幕`,"Playback speed":`播放速度`,Quality:`畫質`,"Picture in picture":`子母畫面`,Play:`播放`,Pause:`暫停`,Mute:`靜音`,Unmute:`取消靜音`,"Exit fullscreen":`結束全螢幕`,"Enter fullscreen":`全螢幕`,Expand:`展開`,Collapse:`摺疊`,"Copy reply":`複製回覆`,"Good result":`結果好`,"Bad result":`結果不好`,"Dialog Close":`關閉對話方塊`,Notifications:`通知`,Account:`帳戶`,Cart:`購物車`,Call:`通話`,"Video call":`視訊通話`,Message:`訊息`,Main:`主導覽`,Columns:`欄`,"No results.":`沒有結果。`,"No results":`無結果`,"No results found":`找不到結果`,"Drop files here":`將檔案拖放到這裡`,"Drag & drop files here":`拖放檔案到這裡`,"or click to browse (max {maxFiles} files, {maxSize}MB each)":`或點擊瀏覽(最多 {maxFiles} 個檔案,每個 {maxSize} MB)`,"Remove {name}":`移除 {name}`,"{selected} of {total} row(s) selected.":`已選取 {selected}/{total} 列。`,"Try again":`再試一次`,"What’s up next?":`接下來做什麼?`,"Show password":`顯示密碼`,"Hide password":`隱藏密碼`,"Search icons":`搜尋圖示`,"No icon matches":`沒有相符的圖示`,"Show all items ({n})":`顯示全部 ({n})`,"Fewer {what}":`減少{what}`,"More {what}":`增加{what}`,"No tasks available. Add tasks to display Gantt chart.":`沒有任務。新增任務以顯示甘特圖。`,January:`一月`,February:`二月`,March:`三月`,April:`四月`,May:`五月`,June:`六月`,July:`七月`,August:`八月`,September:`九月`,October:`十月`,November:`十一月`,December:`十二月`,Su:`日`,Mo:`一`,Tu:`二`,We:`三`,Th:`四`,Fr:`五`,Sa:`六`,"just now":`剛剛`,"in a moment":`稍後`,"in 1 minute":`1 分鐘後`,"in {n} minutes":`{n} 分鐘後`,"in 1 hour":`1 小時後`,"in {n} hours":`{n} 小時後`,tomorrow:`明天`,"in {n} days":`{n} 天後`,"in 1 week":`1 週後`,"in {n} weeks":`{n} 週後`,"in 1 month":`1 個月後`,"in {n} months":`{n} 個月後`,"in 1 year":`1 年後`,"in {n} years":`{n} 年後`,"1 minute ago":`1 分鐘前`,"{n} minutes ago":`{n} 分鐘前`,"1 hour ago":`1 小時前`,"{n} hours ago":`{n} 小時前`,"1 day ago":`1 天前`,"{n} days ago":`{n} 天前`,"1 week ago":`1 週前`,"{n} weeks ago":`{n} 週前`,"1 month ago":`1 個月前`,"{n} months ago":`{n} 個月前`,"1 year ago":`1 年前`,"{n} years ago":`{n} 年前`,"Cookie notice":`Cookie 通知`,"Cookie preferences":`Cookie 偏好`,"Close and use essential cookies only":`關閉並僅使用必要 Cookie`,Back:`返回`,"Log in":`登入`,"Search Hanzo or ask AI":`搜尋 Hanzo 或詢問 AI`,"Search models":`搜尋模型`,"Search branches…":`搜尋分支…`,"Search repositories…":`搜尋存放庫…`,"Show options":`顯示選項`,Retry:`重試`,"Donut chart":`環形圖`,"Find an organization":`尋找組織`,Organizations:`組織`,"Organization name":`組織名稱`,"Previous page":`上一頁`,"Next page":`下一頁`,"Continue with credits":`使用額度繼續`,"Try Hanzo":`試用 Hanzo`,"Terms & Policies":`條款與政策`,"Who this is for":`適合誰`,"Bill yearly":`按年計費`,Apps:`應用程式`,"Card actions":`卡片操作`,"Assign to...":`指派給...`,"Search cards...":`搜尋卡片...`,"Clear search":`清除搜尋`,"Open files":`開啟的檔案`,"Close panel":`關閉面板`,"Add an organization":`新增組織`,"Keyboard Shortcuts":`鍵盤快速鍵`,"Run a command":`執行指令`,"Type shell command...":`輸入 shell 指令...`,"Attached to the next message":`附加到下一則訊息`,"Channel Member Roster":`頻道成員`,"Channel Collaborative Notes":`頻道協作筆記`,"Code Diff Viewer":`程式碼差異檢視`,"Live Voice Call":`即時語音通話`,"MCP Server Hub":`MCP 伺服器中心`,"Multi-Agent Swarm Bar":`多代理群集列`,"Write shared channel notes, meeting agenda, or AI summaries...":`撰寫頻道筆記、會議議程或 AI 摘要...`,"Help improve our AI models":`協助改進我們的 AI 模型`,"Your name":`你的名字`,"Your role":`你的角色`,"Country or region":`國家或地區`,"Card details":`卡片資訊`,"Agree to recurring charges":`同意週期性扣款`,"How you will use Hanzo":`你會如何使用 Hanzo`,"Team size":`團隊規模`,"I agree to the Terms of Service and Acceptable Use Policy and confirm that I am at least 18 years of age":`我同意服務條款與可接受使用政策,並確認我已年滿 18 歲。`,"Empty string":`空字串`,"Empty array":`空陣列`,"Empty object":`空物件`,"Copy {what}":`複製{what}`,"Ask anything":`儘管問`,Auto:`自動`,Instant:`即時`,Low:`低`,Medium:`中`,High:`高`,Max:`最大`,Dictate:`聽寫`,"Dictating — click to stop":`正在聽寫 — 點擊停止`,"Dictation settings":`聽寫設定`,Language:`語言`,"No devices found":`找不到裝置`,"Microphone {n}":`麥克風 {n}`,"Nothing matches":`沒有相符項目`,Commands:`指令`,"Search commands…":`搜尋指令…`,Agents:`代理`,Skills:`技能`,Connectors:`連接器`,"Design system":`設計系統`,Plugins:`外掛`,Devices:`裝置`,Memory:`記憶`,Research:`研究`,On:`開`,"Upload or add files":`上傳或新增檔案`,"Add files, agents, skills and more":`新增檔案、代理、技能等`,"No agents yet":`還沒有代理`,"No skills yet":`還沒有技能`,"No connectors yet":`還沒有連接器`,"No design system yet":`還沒有設計系統`,"No plugins yet":`還沒有外掛`,"No devices yet":`還沒有裝置`,"Search agents":`搜尋代理`,"Search skills":`搜尋技能`,"Search connectors":`搜尋連接器`,"Search design system":`搜尋設計系統`,"Search plugins":`搜尋外掛`,"Search devices":`搜尋裝置`,"Reading agents":`正在讀取代理`,"Reading skills":`正在讀取技能`,"Reading connectors":`正在讀取連接器`,"Reading design system":`正在讀取設計系統`,"Reading plugins":`正在讀取外掛`,"Adaptive reasoning based on task complexity":`依任務複雜度調整的推理`,"Answers right away, without thinking":`立即回答,不進行思考`,"A quick pass with minimal thinking":`快速過一遍,少思考`,"Thinks before answering":`先想再答`,"Deep reasoning for complex problems":`針對複雜問題的深度推理`,"Maximum compute and exhaustive verification":`最大算力與徹底驗證`,Effort:`力度`,"Effort: {level}":`力度:{level}`,Mode:`模式`,"Mode: {mode}":`模式:{mode}`,Model:`模型`,"Model: {name}":`模型:{name}`,"Voice mode":`語音模式`,"Hanzo is speaking — talk to interrupt":`Hanzo 正在說話 — 開口即可打斷`,"In conversation — click to hang up":`通話中 — 點擊掛斷`,"Go to testimonial {n}":`前往評價 {n}`,"Go to card {n}":`前往卡片 {n}`,"{n} of {total}":`{n} / {total}`,"Reading…":`正在讀取…`,Skill:`技能`,Plugin:`外掛`},M0=e=>e,Kfe={ar:M0(Afe),"de-DE":M0(jfe),"es-ES":M0(Mfe),"fr-FR":M0(Nfe),"hi-IN":M0(Pfe),"id-ID":M0(Ffe),"it-IT":M0(Ife),"ja-JP":M0(Lfe),"ko-KR":M0(Rfe),"pt-BR":M0(zfe),ru:M0(Bfe),th:M0(Vfe),tr:M0(Hfe),vi:M0(Ufe),"zh-Hans":M0(Wfe),"zh-Hant":M0(Gfe)},N0=e=>Kfe[e]??{},qfe={display:`contents`};function Jfe({children:e,locale:t,messages:n,syncDocument:r=!1}){let i=gde(t),a=yde(i,n?{...N0(i),...n}:N0(i)),o=N1(i),s=_de(t);return(0,b.useLayoutEffect)(()=>{if(!r||typeof document>`u`)return;let e=document.documentElement,t=e.lang,n=e.dir;return e.lang=s,e.dir=o,()=>{e.lang=t,e.dir=n}},[r,s,o]),(0,L.jsx)(P1.Provider,{value:a,children:(0,L.jsx)(`div`,{dir:o,lang:s,style:qfe,children:e})})}var Yfe=(0,b.createContext)(null),Xfe=({children:e,theme:t,analytics:n,config:r=_le,appearance:i,locale:a,messages:o})=>{let{pref:s,set:c}=kfe(i),l=(0,b.useMemo)(()=>({pref:s,set:c}),[s,c]),u=Ofe(),d=a||o?(0,L.jsx)(Jfe,{locale:a,messages:o,children:e}):e,f=(0,L.jsx)(Yfe.Provider,{value:l,children:(0,L.jsx)(Woe,{config:r,defaultTheme:t??u,disableInjectCSS:!0,children:d})});return n?(0,L.jsx)(Kk,{...n===!0?{}:n,children:f}):f},Zfe=({size:e=11,label:t})=>(0,L.jsxs)(`svg`,{width:e*30/14,height:e,viewBox:`0 0 30 14`,focusable:`false`,...t?{role:`img`,"aria-label":t}:{"aria-hidden":!0},style:{flexShrink:0,display:`block`},children:[(0,L.jsx)(`path`,{d:`M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8z`,fill:`#fff`,fillRule:`evenodd`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{d:`M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7zm-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8z`,fill:`#06f`,fillRule:`evenodd`,clipRule:`evenodd`}),(0,L.jsx)(`path`,{d:`M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8-.2.2-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0-.2-.2-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0z`,fill:`#fff`}),(0,L.jsx)(`path`,{d:`M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8.2-.2.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0z`,fill:`#06f`})]}),P0=`hzconsent-open`,F0=`#choices`,Qfe=1500,$fe=()=>{let e=Kt();return e.region?e.mode:void 0},epe=Symbol.for(`hanzo.ui.consent.links`),I0=`hzconsent-links`;function tpe(){if((globalThis[epe]??0)>0)return!0;for(let e of document.querySelectorAll(`a[href*="${F0}"]`))try{let t=new URL(e.getAttribute(`href`)??``,document.baseURI);if(t.hash===F0&&t.origin===window.location.origin)return!0}catch{}return!1}var npe=(e,t,n,r)=>[{id:`necessary`,title:e(`Strictly Necessary Cookies`),body:e(`These are needed for the site to work, so they are always on. They keep you signed in and your session secure, protect forms against cross-site request forgery, spread traffic across servers, remember the choice you make here, and keep what you have typed into a form. They include {brand}'s own first-party analytics, which counts visits and finds what is broken for {brand} alone and is never sold or shared.`,{brand:t})},{id:`analytics`,key:`analytics`,title:e(`Performance Cookies`),body:e(`Google Analytics: lets Google measure visits to {brand} with its own cookies.`,{brand:t})},{id:`marketing`,key:`marketing`,title:e(`Marketing Cookies`),body:e(`The Meta pixel: lets Meta measure the sign-ups and orders {brand}'s ads led to.`,{brand:t})},{id:`ads`,key:`ads`,title:e(`Sell, Share, or Use Your Data for Targeted Advertising`),body:e(`Lets Google and Meta use your visits to choose the ads they show you on other sites and apps. Some US state privacy laws call this a “sale” or “sharing” of your personal information, or “targeted advertising”, and give you the right to opt out: {rule}`,{rule:e(r?`your browser’s signal keeps it off.`:n?`it stays off unless you turn it on.`:`turn this off to opt out.`)})}],rpe=(e,t,n)=>e(n?`We use cookies and similar technologies to provide our services. Essential cookies are required for the site to work and cannot be turned off. Learn more in our `:t?`We use cookies and similar technologies to provide our services, measure performance, and support advertising. Essential cookies are required for the site to work and cannot be turned off. You can allow or reject optional cookies below. Learn more in our `:`We use cookies and similar technologies to provide our services, measure performance, and support advertising. Google Analytics and the Meta pixel run on this site by default. Turn either off below, or turn off the last switch to opt out of the sale or sharing of your personal information for targeted advertising; each switch is saved as soon as you change it. Essential cookies are required for the site to work and cannot be turned off. Learn more in our `),ipe=MM(`Your browser asks sites not to track you, so all of these stay off.`),L0={top:`max(16px, calc(var(--safe-top, env(safe-area-inset-top, 0px)) + 8px))`,bottom:`max(16px, calc(var(--safe-bottom, env(safe-area-inset-bottom, 0px)) + 8px))`,left:`max(16px, calc(var(--safe-left, env(safe-area-inset-left, 0px)) + 8px))`,right:`max(16px, calc(var(--safe-right, env(safe-area-inset-right, 0px)) + 8px))`},R0={button:`var(--radius-lg, 12px)`,card:`var(--radius-xl, 16px)`},z0={bg:`$background`,borderWidth:1,borderColor:`$borderColor`,rounded:R0.card,shadowColor:`rgba(0,0,0,0.25)`,shadowRadius:24,shadowOffset:{width:0,height:8}},B0={...K(`consent`),...z0,position:`fixed`,b:L0.bottom,l:L0.left,r:L0.right,mx:`auto`,z:`var(--z-banner, 50)`,py:`$3`,paddingInlineStart:`$4`,paddingInlineEnd:56},V0={width:`fit-content`},H0={outlineColor:`var(--ring)`,outlineStyle:`solid`,outlineWidth:2,outlineOffset:2},U0=(e,t,n)=>({size:`sm`,minH:36,rounded:R0.button,bg:e,color:n,borderColor:`transparent`,hoverStyle:{bg:t,borderColor:`transparent`,opacity:1},pressStyle:{bg:t,borderColor:`transparent`,opacity:1},focusStyle:{borderColor:`transparent`},focusVisibleStyle:H0}),W0=U0(`var(--primary)`,`var(--primary-hover)`,`var(--primary-foreground)`),G0=U0(`var(--secondary)`,`var(--secondary-hover)`,`var(--secondary-foreground)`),K0={rounded:R0.button,bg:`transparent`,borderColor:`transparent`,hoverStyle:{bg:`var(--secondary)`,borderColor:`transparent`,opacity:1},pressStyle:{bg:`var(--secondary-hover)`,borderColor:`transparent`,opacity:1},focusStyle:{borderColor:`transparent`},focusVisibleStyle:H0},q0={type:`button`,variant:`link`,size:`sm`,px:0,minH:0,color:`$aside`,hoverStyle:{color:`$ink`},focusVisibleStyle:H0,startIcon:(0,L.jsx)(Zfe,{})},J0={color:`inherit`,textDecoration:`underline`,whiteSpace:`nowrap`},Y0={position:`fixed`,t:0,r:0,b:0,l:0},ape=`a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])`,ope={type:`button`},spe=({cookies:e=`https://hanzo.ai/cookies`,privacy:t=`https://hanzo.ai/privacy`,terms:n=`https://hanzo.ai/terms`,brand:r=`Hanzo`,floating:i=!0})=>{let{t:a}=FM(),[o,s]=(0,b.useState)(),[c,l]=(0,b.useState)(!1),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)({analytics:!1,marketing:!1,ads:!1}),m=(0,b.useRef)(f);m.current=f;let[h,g]=(0,b.useState)({}),[_,v]=(0,b.useState)(!0),y=(0,b.useRef)(void 0),x=(0,b.useRef)(!1),S=(0,b.useRef)(null),C=(0,b.useRef)(null),w=(0,b.useRef)(null),T=(0,b.useRef)(!1),E=(0,b.useRef)(!1),D=(0,b.useRef)(new Set),O=(0,b.useId)(),[k,A]=(0,b.useState)(!1),j=(e=y.current)=>e===`eu`?nn():e===`global`&&!sn()&&!Xt(),ee=e=>{let t=en();for(let n of D.current)(e!==`eu`||!m.current[n])&&(t[n]=m.current[n]);return t},M=e=>{let t=ee(e);p(t),e!==`eu`&&D.current.size&&ln(t)},te=()=>{if(x.current)return;let e=document.activeElement;S.current=e instanceof HTMLElement&&e!==document.body?e:null,x.current=!0,D.current=new Set,A(Xt()),E.current=$t(),p(en()),d(!0)},ne=()=>{x.current=!1,d(!1),l(j())};(0,b.useEffect)(()=>{let e=()=>{l(j()),A(Xt()),x.current&&E.current&&!$t()&&(E.current=!1,M(y.current??`eu`))},t=t=>{let n=y.current!==t;y.current=t,s(t),e(),n&&x.current&&M(t)},n=()=>t(Kt().mode),r=$fe();r&&t(r);let i=r?void 0:window.setTimeout(()=>y.current??t(`eu`),Qfe),a=0,o=()=>{a||=window.requestAnimationFrame(()=>{a=0,v(tpe())})};o();let c=new MutationObserver(o);c.observe(document.body,{childList:!0,subtree:!0});let u=()=>{window.location.hash===F0&&(queueMicrotask(()=>history.replaceState(history.state,``,window.location.pathname+window.location.search)),te())},d=e=>{if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;let t=e.target?.closest?.(`a[href]`),n=t?.getAttribute(`href`),r=t?.getAttribute(`target`);if(!n||t?.hasAttribute(`download`)||r&&r!==`_self`)return;let i;try{i=new URL(n,document.baseURI)}catch{return}i.hash===F0&&i.origin===window.location.origin&&(e.preventDefault(),te())};return u(),window.addEventListener(P0,te),window.addEventListener(Pt,n),window.addEventListener(I0,o),window.addEventListener(`hashchange`,u),document.addEventListener(`click`,d,{capture:!0}),()=>{window.clearTimeout(i),window.cancelAnimationFrame(a),c.disconnect(),window.removeEventListener(P0,te),window.removeEventListener(Pt,n),window.removeEventListener(I0,o),window.removeEventListener(`hashchange`,u),document.removeEventListener(`click`,d,{capture:!0})}},[]),(0,b.useEffect)(()=>{if(u)return rn(!0),()=>rn(!1)},[u]),(0,b.useEffect)(()=>{if(!u){if(!T.current)return;T.current=!1;let e=S.current;S.current=null,e?.isConnected?e.focus():(w.current??document.querySelector(`[data-slot="consent-choices"] button`))?.focus();return}T.current=!0;let e=()=>[...C.current?.querySelectorAll(ape)??[]];e()[0]?.focus();let t=t=>{if(t.key===`Escape`){t.preventDefault(),ne();return}if(t.key!==`Tab`)return;let n=e(),r=n[0],i=n[n.length-1];if(!r||!i)return;let a=document.activeElement,o=!!a&&!!C.current?.contains(a);t.shiftKey&&(a===r||!o)?(t.preventDefault(),i.focus()):!t.shiftKey&&(a===i||!o)&&(t.preventDefault(),r.focus())};return document.addEventListener(`keydown`,t),()=>document.removeEventListener(`keydown`,t)},[u]);let N=e=>()=>{e(),x.current=!1,l(j()),d(!1)},P=null;if(u){let i=(o??`eu`)===`eu`,s=(e,t)=>{D.current.add(e);let n={...f,[e]:t};p(n),i||ln(n)};P=(0,L.jsxs)(z,{...K(`consent-sheet`),...Y0,z:`var(--z-modal, 600)`,items:`center`,justify:`center`,style:{padding:`${L0.top} ${L0.right} ${L0.bottom} ${L0.left}`},children:[(0,L.jsx)(z,{...Y0,position:`absolute`,z:0,bg:`rgba(0,0,0,0.6)`,"aria-hidden":!0,onPress:ne}),(0,L.jsxs)(z,{...K(`consent`),...z0,ref:C,role:`dialog`,"aria-modal":!0,"aria-labelledby":`${O}-title`,position:`relative`,width:`100%`,maxW:560,maxH:`100%`,overflow:`hidden`,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,gap:`$3`,pt:`$5`,pb:`$3`,paddingInlineStart:`$5`,paddingInlineEnd:`$4`,children:[(0,L.jsx)(H,{render:`h2`,id:`${O}-title`,m:0,fontSize:`$6`,lineHeight:`$6`,fontWeight:`600`,color:`$ink`,children:a(`Cookie Preferences`)}),(0,L.jsx)(q,{type:`button`,size:`icon`,...K0,"aria-label":a(`Close`),onClick:ne,children:(0,L.jsx)(vM,{size:16})})]}),(0,L.jsxs)(z,{shrink:1,minH:0,overflowY:`auto`,px:`$5`,pb:`$2`,style:{overscrollBehavior:`contain`},children:[(0,L.jsxs)(yh,{size:`$2`,color:`$aside`,m:0,pb:`$3`,children:[rpe(a,i,k),a(`{cookies}, {privacy}, and {terms}.`,{cookies:(0,L.jsx)(`a`,{href:e,style:J0,children:a(`Cookie Policy`)}),privacy:(0,L.jsx)(`a`,{href:t,style:J0,children:a(`Privacy Policy`)}),terms:(0,L.jsx)(`a`,{href:n,style:J0,children:a(`Terms of Service`)})})]}),k?(0,L.jsx)(yh,{size:`$2`,color:`$ink`,m:0,pb:`$3`,children:a(ipe)}):null,npe(a,r,i,k).map(e=>{let t=h[e.id]===!0,n=`${O}-${e.id}`;return(0,L.jsxs)(z,{...K(`consent-section`),borderTopWidth:1,borderColor:`$borderColor`,children:[(0,L.jsxs)(B,{items:`center`,gap:`$3`,minH:52,py:`$2`,children:[(0,L.jsx)(B,{render:`h3`,flex:1,minW:0,m:0,children:(0,L.jsxs)(B,{render:`button`,...ope,"aria-expanded":t,"aria-controls":n,onPress:()=>g({...h,[e.id]:!t}),flex:1,minW:0,items:`center`,gap:`$2`,p:0,bg:`transparent`,borderWidth:0,cursor:`pointer`,children:[(0,L.jsx)(B,{shrink:0,rotate:t?`180deg`:`0deg`,opacity:.7,children:(0,L.jsx)(lj,{size:16})}),(0,L.jsx)(H,{fontSize:`$3`,lineHeight:`$3`,fontWeight:`600`,color:`$ink`,...PN(`start`),children:e.title})]})}),e.key?(0,L.jsx)(BI,{"aria-label":e.title,"aria-describedby":n,disabled:k,checked:!k&&f[e.key],onCheckedChange:t=>s(e.key,t===!0)}):(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`600`,color:`$ink`,whiteSpace:`nowrap`,children:a(`Always Active`)})]}),(0,L.jsx)(z,{id:n,display:t?`flex`:`none`,pb:`$3`,paddingInlineStart:24,children:(0,L.jsx)(yh,{size:`$2`,color:`$aside`,m:0,children:e.body})})]},e.id)})]}),(0,L.jsx)(B,{flexWrap:`wrap`,gap:`$2`,px:`$5`,py:`$4`,borderTopWidth:1,borderColor:`$borderColor`,children:i?(0,L.jsxs)(L.Fragment,{children:[k?null:(0,L.jsx)(q,{type:`button`,...G0,grow:1,onClick:N(mn),children:a(`Accept all`)}),(0,L.jsx)(q,{type:`button`,...W0,grow:1,onClick:N(()=>ln(f)),children:a(`Save preferences`)})]}):(0,L.jsx)(q,{type:`button`,...W0,grow:1,onClick:ne,children:a(`Done`)})})]})]})}if(!o)return P;let re=i&&!_&&!c?(0,L.jsx)(B,{...K(`consent-choices`),position:`fixed`,b:L0.bottom,l:L0.left,z:`var(--z-banner, 50)`,px:`$2.5`,py:`$1`,bg:`$background`,borderWidth:1,borderColor:`$borderColor`,rounded:R0.button,children:(0,L.jsx)(q,{...q0,onClick:te,children:a(`Your Privacy Choices`)})}):null;return c&&o===`global`?re=(0,L.jsxs)(B,{...B0,role:`region`,"aria-label":a(`Cookie notice`),style:V0,maxW:1200,flexWrap:`wrap`,items:`center`,columnGap:`$4`,rowGap:`$2`,children:[(0,L.jsx)(z,{shrink:1,minW:0,children:(0,L.jsx)(yh,{size:`$2`,color:`$ink`,m:0,children:a(`We use cookies to improve your experience. By continuing to browse, you agree.`)})}),(0,L.jsx)(q,{...q0,onClick:te,children:a(`Your Privacy Choices`)}),(0,L.jsx)(q,{type:`button`,size:`icon`,...K0,"aria-label":a(`Close`),position:`absolute`,t:`$3`,insetInlineEnd:`$3`,onClick:N(on),children:(0,L.jsx)(vM,{size:16})})]}):c&&o===`eu`&&(re=(0,L.jsxs)(B,{...B0,role:`dialog`,"aria-label":a(`Cookie preferences`),style:V0,maxW:1200,flexWrap:`wrap`,items:`center`,columnGap:`$4`,rowGap:`$3`,children:[(0,L.jsx)(z,{shrink:1,minW:0,children:(0,L.jsx)(yh,{size:`$2`,color:`$ink`,m:0,children:a(`Essential cookies keep {brand} running. With your OK, optional cookies help us measure performance and ads.`,{brand:r})})}),(0,L.jsxs)(B,{gap:`$2`,marginInlineStart:`auto`,items:`center`,flexWrap:`wrap`,children:[(0,L.jsx)(q,{ref:w,type:`button`,...G0,onClick:te,children:a(`Manage preferences`)}),(0,L.jsx)(q,{type:`button`,...W0,onClick:N(mn),children:a(`Accept all`)})]}),(0,L.jsx)(q,{type:`button`,size:`icon`,...K0,"aria-label":a(`Close and use essential cookies only`),position:`absolute`,t:`$3`,insetInlineEnd:`$3`,onClick:N(hn),children:(0,L.jsx)(vM,{size:16})})]})),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`div`,{inert:u||void 0,style:{display:`contents`},children:re}),P]})},X0=`https://hanzo.ai`,cpe=e=>e?{additionalParams:{login_hint:e}}:void 0,lpe=(e,t=`login`,n)=>{let r=new URL(e);return t===`another`&&r.searchParams.set(`prompt`,`select_account`),n&&r.searchParams.set(`provider`,n),`${X0}${t===`signup`?`/signup`:`/login`}${r.search}`},upe=e=>{let t=new URL(e);return t.searchParams.set(`prompt`,`none`),`${X0}/v1/iam/oauth/authorize${t.search}`},Z0=e=>e===`localhost`||e===`127.0.0.1`||e===`[::1]`,dpe=(e,t,n)=>{if(Z0(new URL(n).hostname))return`/login?from=logout`;let r=new URLSearchParams({client_id:t,everywhere:`true`,post_logout_redirect_uri:new URL(`/`,n).href});return`${e.replace(/\/+$/,``)}/v1/iam/oauth/logout?${r}`},Q0=[{org:`hanzo`,app:`team-native`,issuer:`https://hanzo.id`,title:`Team`,hosts:[`hanzo.team`,`www.hanzo.team`,`hanzo.app`,`localhost`,`127.0.0.1`]},{org:`hanzo`,app:`team2`,issuer:`https://hanzo.id`,title:`Team`,hosts:[`team2.hanzo.ai`,`team2.hanzo.app`,`hanzo-team.hanzo.app`]}],fpe=()=>typeof window>`u`?``:window.location.hostname,$0=Q0.find(e=>e.hosts.includes(fpe()))??Q0[0],e2=`${$0.org}-${$0.app}`,t2=32;function n2(e){let t=new Uint8Array(e);return crypto.getRandomValues(t),r2(t.buffer)}async function ppe(e){let t=new TextEncoder;return crypto.subtle.digest(`SHA-256`,t.encode(e))}function r2(e){let t=new Uint8Array(e),n=``;for(let e of t)n+=String.fromCharCode(e);return btoa(n).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/,``)}async function i2(){let e=n2(t2);return{codeVerifier:e,codeChallenge:r2(await ppe(e))}}function a2(){return n2(t2)}var o2={discovery:`/.well-known/openid-configuration`,authorize:`/v1/iam/oauth/authorize`,token:`/v1/iam/oauth/token`,userinfo:`/v1/iam/oauth/userinfo`,jwks:`/v1/iam/.well-known/jwks`,logout:`/v1/iam/oauth/logout`,revoke:`/v1/iam/oauth/revoke`},s2={login:`/v1/iam/login`,sendCode:`/v1/iam/verification-codes`,web3Nonce:`/v1/iam/web3/nonce`,web3Verify:`/v1/iam/web3/verify`};function c2(e){return e.replace(/\/+$/,``)}function l2(e,t){return`${c2(e)}${o2[t]}`}function mpe(e){let t=new URL(e.endpoint??l2(e.serverUrl,`authorize`));t.searchParams.set(`client_id`,e.clientId),t.searchParams.set(`response_type`,`code`),t.searchParams.set(`redirect_uri`,e.redirectUri),t.searchParams.set(`scope`,e.scope??`openid profile email`),t.searchParams.set(`state`,e.state),e.codeChallenge&&(t.searchParams.set(`code_challenge`,e.codeChallenge),t.searchParams.set(`code_challenge_method`,`S256`)),e.prompt&&t.searchParams.set(`prompt`,e.prompt);for(let[n,r]of Object.entries(e.params??{}))t.searchParams.set(n,r);return t}function hpe(e){if(!e)return{};try{let t=e.split(`.`)[1];return t?JSON.parse(atob(t.replace(/-/g,`+`).replace(/_/g,`/`))):{}}catch{return{}}}var u2=`hanzo_iam_`,d2=`${u2}state`,f2=`${u2}code_verifier`,p2=`${u2}access_token`,m2=`${u2}refresh_token`,h2=`${u2}id_token`,g2=`${u2}expires_at`,_2=`${f2}:`;function v2(e){return`${_2}${e}`}var gpe=12;function _pe(e,t){return`${t}.${e}`}function y2(e){let t=e.indexOf(`.`);if(t>0){let n=e.slice(0,t);if(/^\d+$/.test(n))return{issuedAt:Number(n),codeVerifier:e.slice(t+1)}}return{issuedAt:0,codeVerifier:e}}var vpe=`hanzo_iam_login`,ype=`hanzo-iam`;function b2(e){try{let t=e(),n=`${u2}probe`;return t.setItem(n,`1`),t.removeItem(n),t}catch{return null}}function bpe(){return b2(()=>localStorage)??b2(()=>sessionStorage)}function xpe(){let e=new Map;return{get length(){return e.size},clear:()=>e.clear(),getItem:t=>e.has(t)?e.get(t):null,key:t=>Array.from(e.keys())[t]??null,removeItem:t=>{e.delete(t)},setItem:(t,n)=>{e.set(t,String(n))}}}var Spe=class{config;storage;txStorage;redeemable;discoveryCache=null;callbackInFlight=null;constructor(e){this.config=e;let t=bpe();this.storage=e.storage??t??xpe(),this.txStorage=t??this.storage,this.redeemable=t!==null||e.storage!==void 0}async getDiscovery(){if(this.discoveryCache)return this.discoveryCache;let e=c2(this.config.serverUrl);try{let t=await fetch(`${e}${o2.discovery}`,{headers:{Accept:`application/json`}});if(t.ok)return this.discoveryCache=await t.json(),this.discoveryCache}catch{}return this.discoveryCache={issuer:e,authorization_endpoint:l2(e,`authorize`),token_endpoint:l2(e,`token`),userinfo_endpoint:l2(e,`userinfo`),jwks_uri:l2(e,`jwks`),revocation_endpoint:l2(e,`revoke`),end_session_endpoint:l2(e,`logout`),response_types_supported:[`code`],grant_types_supported:[`authorization_code`,`refresh_token`],scopes_supported:[`openid`,`email`,`profile`]},this.discoveryCache}async tokenEndpoint(){return this.config.proxyBaseUrl?l2(this.config.proxyBaseUrl,`token`):(await this.getDiscovery()).token_endpoint}async userinfoEndpoint(){return this.config.proxyBaseUrl?l2(this.config.proxyBaseUrl,`userinfo`):(await this.getDiscovery()).userinfo_endpoint}async revocationEndpoint(){return this.config.proxyBaseUrl?l2(this.config.proxyBaseUrl,`revoke`):(await this.getDiscovery()).revocation_endpoint??l2(this.config.serverUrl,`revoke`)}async endSessionEndpoint(){return this.config.proxyBaseUrl?l2(this.config.proxyBaseUrl,`logout`):(await this.getDiscovery()).end_session_endpoint??l2(this.config.serverUrl,`logout`)}stashPkce(e,t){let n=Date.now();this.sweepStaleVerifiers(n),this.txStorage.setItem(v2(e),_pe(t,n)),this.txStorage.setItem(d2,e),this.txStorage.setItem(f2,t)}sweepStaleVerifiers(e){let t=[];for(let n=this.txStorage.length-1;n>=0;n--){let r=this.txStorage.key(n);if(!r||!r.startsWith(_2))continue;if(e===void 0){this.txStorage.removeItem(r);continue}let i=this.txStorage.getItem(r);t.push({key:r,issuedAt:i?y2(i).issuedAt:0})}t.sort((e,t)=>t.issuedAt-e.issuedAt);for(let e of t.slice(gpe-1))this.txStorage.removeItem(e.key)}async buildAuthorizeUrl(e){if(!this.redeemable)throw Error(`@hanzo/iam: this browser keeps neither localStorage nor sessionStorage, so the PKCE verifier cannot outlive the redirect to IAM and the callback would fail. Call usableStorage() before starting a login to catch this on the page.`);let t=await this.getDiscovery(),{codeVerifier:n,codeChallenge:r}=await i2(),i=a2();return this.stashPkce(i,n),{url:mpe({endpoint:t.authorization_endpoint,serverUrl:this.config.serverUrl,clientId:this.config.clientId,redirectUri:this.config.redirectUri,state:i,scope:this.config.scope,codeChallenge:r,prompt:e?.prompt,params:e?.additionalParams}),codeVerifier:n,state:i}}async signinRedirect(e){let{url:t}=await this.buildAuthorizeUrl(e);window.location.replace(t.toString())}async getSigninUrl(e){let{url:t}=await this.buildAuthorizeUrl(e);return t.toString()}async beginCredential(){let{codeVerifier:e,codeChallenge:t}=await i2(),n=a2();return this.stashPkce(n,e),{codeChallenge:t,state:n}}async credentialLogin(e){let{codeChallenge:t,state:n}=await this.beginCredential(),r=this.config.proxyBaseUrl??this.config.serverUrl,i=new URL(`${c2(r)}${s2.login}`);i.searchParams.set(`clientId`,this.config.clientId),i.searchParams.set(`responseType`,`code`),i.searchParams.set(`redirectUri`,this.config.redirectUri),i.searchParams.set(`scope`,this.config.scope??`openid profile email`),i.searchParams.set(`state`,n),i.searchParams.set(`type`,`code`),i.searchParams.set(`code_challenge`,t),i.searchParams.set(`code_challenge_method`,`S256`);let a=await fetch(i.toString(),{method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},credentials:`include`,body:JSON.stringify({type:`code`,application:this.config.application??this.config.clientId,organization:this.config.organization,autoSignin:!0,...e})}),o=await a.json().catch(()=>({}));if(!a.ok||o.status===`error`)throw Error(typeof o.msg==`string`?o.msg:`sign-in failed (${a.status})`);let s=o.data;if(typeof s!=`string`||s.length===0)throw Error(`IAM did not return an authorization code`);let c=this.config.redirectUri.includes(`?`)?`&`:`?`;return`${this.config.redirectUri}${c}code=${encodeURIComponent(s)}&state=${encodeURIComponent(n)}`}loginWithPassword(e,t){return this.credentialLogin({username:e,password:t,signinMethod:`Password`})}loginWithCode(e,t){let n=e.includes(`@`);return this.credentialLogin({username:e,code:t,signinMethod:`Verification code`,...n?{email:e}:{phone:e}})}async sendLoginCode(e){let t=e.includes(`@`),n=this.config.proxyBaseUrl??this.config.serverUrl,r=new URL(`${c2(n)}${s2.sendCode}`);r.searchParams.set(`clientId`,this.config.clientId),this.config.organization&&r.searchParams.set(`organization`,this.config.organization);let i=await fetch(r.toString(),{method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},body:JSON.stringify({applicationId:`admin/${this.config.application??this.config.clientId}`,organization:this.config.organization,dest:e,type:t?`email`:`phone`,method:`login`,checkUser:e})}),a=await i.json().catch(()=>({}));if(!i.ok||a.status===`error`)throw Error(typeof a.msg==`string`?a.msg:`could not send code (${i.status})`)}async handleCallback(e){let t=new URL(e??window.location.href),n=t.searchParams.get(`error`);if(n){if(!this.isOwnAttempt(t.searchParams.get(`state`)))throw Error(`OAuth error on a sign-in this browser did not start. Restart sign-in.`);let e=t.searchParams.get(`error_description`)??n;throw Error(`OAuth error: ${e}`)}let r=t.searchParams.get(`code`);if(!r)throw Error(`Missing authorization code in callback URL`);let i=this.callbackInFlight;if(i&&i.code===r)return i.promise;let a=this.exchangeCode(t,r);return this.callbackInFlight={code:r,promise:a},a.catch(()=>{this.callbackInFlight?.promise===a&&(this.callbackInFlight=null)}),a}isOwnAttempt(e){if(!e)return!1;let t=v2(e);return this.txStorage.getItem(t)??this.storage.getItem(t)?!0:(this.txStorage.getItem(d2)??this.storage.getItem(d2))===e}async exchangeCode(e,t){let n=e.searchParams.get(`state`),r=n?v2(n):null,i=r?this.txStorage.getItem(r)??this.storage.getItem(r):null,a=i?y2(i).codeVerifier:null;if(a&&r)this.txStorage.removeItem(r),this.storage.removeItem(r),(this.txStorage.getItem(d2)===n||this.storage.getItem(d2)===n)&&(this.txStorage.removeItem(d2),this.txStorage.removeItem(f2),this.storage.removeItem(d2),this.storage.removeItem(f2));else{let e=this.txStorage.getItem(d2)??this.storage.getItem(d2);if(!e||n!==e)throw Error(`OAuth state mismatch — stale, concurrent, or forged login. Restart sign-in.`);if(a=this.txStorage.getItem(f2)??this.storage.getItem(f2),!a)throw Error(`Missing PKCE code verifier — start sign-in via signinRedirect() or the embedded credential login.`);this.txStorage.removeItem(d2),this.txStorage.removeItem(f2),this.storage.removeItem(d2),this.storage.removeItem(f2)}let o=new URLSearchParams({grant_type:`authorization_code`,client_id:this.config.clientId,code:t,redirect_uri:this.config.redirectUri,code_verifier:a}),s=await this.tokenEndpoint(),c=await fetch(s,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:o.toString()});if(!c.ok){let e=await c.text().catch(()=>``);throw Error(`Token exchange failed (${c.status}): ${e}`)}let l=await c.json();return this.storeTokens(l),x2(l)}async refreshAccessToken(){let e=this.storage.getItem(m2);if(!e)throw Error(`No refresh token available`);let t=new URLSearchParams({grant_type:`refresh_token`,client_id:this.config.clientId,refresh_token:e}),n=await this.tokenEndpoint(),r=await fetch(n,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`},body:t.toString()});if(!r.ok){let e=await r.text().catch(()=>``);throw Error(`Token refresh failed (${r.status}): ${e}`)}let i=await r.json();return this.storeTokens(i),x2(i)}async signinPopup(e){let{url:t,state:n}=await this.buildAuthorizeUrl({additionalParams:e?.additionalParams}),r=e?.width??600,i=e?.height??700,a=window.screenX+(window.outerWidth-r)/2,o=window.screenY+(window.outerHeight-i)/2,s=new URL(this.config.redirectUri,window.location.href).origin;return new Promise((c,l)=>{let u=window.open(t.toString(),vpe,`width=${r},height=${i},left=${a},top=${o},menubar=no,toolbar=no`);if(!u){l(Error(`Failed to open login popup — blocked by browser?`));return}let d=!1,f=null,p=()=>{if(!d){d=!0,window.removeEventListener(`message`,m),clearInterval(h),clearTimeout(g),f&&clearTimeout(f);try{u.closed||u.close()}catch{}}},m=e=>{if(d||e.origin!==s)return;let t=e.data;if(!t||typeof t!=`object`||t.source!==ype)return;if(typeof t.state!=`string`||t.state!==n){p(),l(Error(`OAuth state mismatch — possible CSRF (popup)`));return}if(t.error){p(),l(Error(`OAuth error: ${t.error}`));return}if(typeof t.code!=`string`||t.code.length===0){p(),l(Error(`Login popup returned no authorization code`));return}let r=t.code,i=t.state;p();let a=this.config.redirectUri.includes(`?`)?`&`:`?`,o=`${this.config.redirectUri}${a}code=${encodeURIComponent(r)}&state=${encodeURIComponent(i)}`;this.handleCallback(o).then(c,l)};window.addEventListener(`message`,m);let h=setInterval(()=>{d||!u.closed||f||(f=setTimeout(()=>{d||(p(),l(Error(`Login popup was closed before completing`)))},1e3))},300),g=setTimeout(()=>{d||(p(),l(Error(`Login popup timed out`)))},e?.timeoutMs??3e5)})}async loginWithWallet(e){let t=e?.provider??globalThis.ethereum;if(!t||typeof t.request!=`function`)throw Error(`No EIP-1193 wallet provider found (window.ethereum).`);let n=await t.request({method:`eth_requestAccounts`}),r=Array.isArray(n)?n[0]:void 0;if(!r)throw Error(`Wallet did not return an address`);let i=c2(this.config.proxyBaseUrl??this.config.serverUrl),a=new URL(`${i}${s2.web3Nonce}`);a.searchParams.set(`address`,r),a.searchParams.set(`clientId`,this.config.clientId),this.config.organization&&a.searchParams.set(`organization`,this.config.organization);let o=await fetch(a.toString(),{headers:{Accept:`application/json`},credentials:`include`}),s=await o.json().catch(()=>({}));if(!o.ok||s.status===`error`)throw Error(typeof s.msg==`string`?s.msg:`wallet nonce failed (${o.status})`);let c=s.data??s,l=c.message,u=c.nonce;if(!l)throw Error(`IAM did not return a SIWx message to sign`);let d=await t.request({method:`personal_sign`,params:[l,r]}),{codeChallenge:f,state:p}=await this.beginCredential(),m=new URL(`${i}${s2.web3Verify}`);m.searchParams.set(`clientId`,this.config.clientId),m.searchParams.set(`responseType`,`code`),m.searchParams.set(`redirectUri`,this.config.redirectUri),m.searchParams.set(`scope`,this.config.scope??`openid profile email`),m.searchParams.set(`state`,p),m.searchParams.set(`code_challenge`,f),m.searchParams.set(`code_challenge_method`,`S256`);let h=await fetch(m.toString(),{method:`POST`,headers:{"Content-Type":`application/json`,Accept:`application/json`},credentials:`include`,body:JSON.stringify({application:this.config.application??this.config.clientId,organization:this.config.organization,address:r,message:l,signature:d,nonce:u})}),g=await h.json().catch(()=>({}));if(!h.ok||g.status===`error`)throw Error(typeof g.msg==`string`?g.msg:`wallet verify failed (${h.status})`);let _=g.data;if(typeof _!=`string`||_.length===0)throw Error(`IAM did not return an authorization code`);let v=this.config.redirectUri.includes(`?`)?`&`:`?`,y=`${this.config.redirectUri}${v}code=${encodeURIComponent(_)}&state=${encodeURIComponent(p)}`;return this.handleCallback(y)}storeTokens(e){if(this.storage.setItem(p2,e.access_token),e.refresh_token&&this.storage.setItem(m2,e.refresh_token),e.id_token&&this.storage.setItem(h2,e.id_token),e.expires_in){let t=Date.now()+e.expires_in*1e3;this.storage.setItem(g2,String(t))}else{let t=hpe(e.access_token).exp;typeof t==`number`&&Number.isFinite(t)&&this.storage.setItem(g2,String(t*1e3))}}getAccessToken(){return this.storage.getItem(p2)}getRefreshToken(){return this.storage.getItem(m2)}getIdToken(){return this.storage.getItem(h2)}getExpiresAt(){let e=this.storage.getItem(g2);if(!e)return null;let t=Number(e);return Number.isFinite(t)?t:null}isTokenExpired(){let e=this.storage.getItem(g2);return e?Date.now()>=Number(e):!1}async getValidAccessToken(){let e=this.getAccessToken();if(e&&!this.isTokenExpired())return e;if(this.getRefreshToken())try{return(await this.refreshAccessToken()).accessToken}catch{return null}return null}clearTokens(){this.storage.removeItem(p2),this.storage.removeItem(m2),this.storage.removeItem(h2),this.storage.removeItem(g2),this.storage.removeItem(d2),this.storage.removeItem(f2),this.txStorage.removeItem(d2),this.txStorage.removeItem(f2),this.sweepStaleVerifiers();for(let e=this.storage.length-1;e>=0;e--){let t=this.storage.key(e);t&&t.startsWith(_2)&&this.storage.removeItem(t)}}async logout(){let e=this.storage.getItem(p2),t=this.storage.getItem(m2),n=this.storage.getItem(h2);await this.revoke(t,`refresh_token`,e),await this.revoke(e,`access_token`,e);let r=new URL(await this.endSessionEndpoint());n&&r.searchParams.set(`id_token_hint`,n),this.config.postLogoutRedirectUri&&r.searchParams.set(`post_logout_redirect_uri`,this.config.postLogoutRedirectUri),this.clearTokens(),window.location.href=r.toString()}async revoke(e,t,n){if(e)try{await fetch(await this.revocationEndpoint(),{method:`POST`,credentials:`include`,headers:{"Content-Type":`application/x-www-form-urlencoded`,...n?{Authorization:`Bearer ${n}`}:{}},body:new URLSearchParams({token:e,token_type_hint:t,client_id:this.config.clientId}).toString()})}catch{}}async getUserInfo(){let e=await this.getValidAccessToken();if(!e)throw Error(`No valid access token — user must log in`);let t=await this.userinfoEndpoint(),n=await fetch(t,{headers:{Authorization:`Bearer ${e}`}});if(!n.ok)throw Error(`Userinfo fetch failed (${n.status})`);return await n.json()}async getUser(){if(!await this.getValidAccessToken())return null;let e=await this.getUserInfo();return{sub:e.sub??``,email:e.email,name:e.name,givenName:e.given_name,familyName:e.family_name,phoneNumber:e.phone_number,emailVerified:e.email_verified,picture:e.picture,owner:e.owner}}};function x2(e){return{accessToken:e.access_token,refreshToken:e.refresh_token,idToken:e.id_token,expiresIn:e.expires_in,tokenType:e.token_type,scope:e.scope}}var S2=`https://api.hanzo.ai`,C2={account:`${S2}/v1/team/account`,channels:`${S2}/v1/team/channels`,files:`${S2}/v1/team/files`,plan:`${S2}/v1/team/billing/plan`};`${$0.issuer}${$0.org}${$0.app}`;var Cpe=`/login`,wpe=`/auth/callback`,Tpe=`openid profile email offline_access`,w2=null,T2=()=>{if(w2)return w2;let e=window.location.origin;return w2=new Spe({serverUrl:$0.issuer,clientId:e2,redirectUri:`${e}${wpe}`,postLogoutRedirectUri:`${e}${Cpe}`,scope:Tpe,proxyBaseUrl:void 0}),w2},E2=new Map,D2=new Set,O2=0,k2=()=>{O2++;for(let e of D2)e()},Epe=e=>(D2.add(e),()=>void D2.delete(e)),A2=e=>{let t=E2.get(e);return t||(t={phase:`loading`,started:!1},E2.set(e,t)),t},j2=(e,t)=>{let n=A2(e);n.started=!0,t().then(t=>{E2.set(e,{phase:`ready`,data:t,started:!0}),k2()},t=>{E2.set(e,{phase:`failure`,error:Dpe(t),started:!0}),k2()})},Dpe=e=>e instanceof Error?e:Error(String(e)),M2=(e,t,n={})=>{let r=n.enabled??!0;(0,b.useSyncExternalStore)(Epe,()=>O2,()=>O2);let i=A2(e);r&&!i.started&&j2(e,t);let a=(0,b.useCallback)(()=>{E2.delete(e),j2(e,t),k2()},[e]);return{phase:i.phase,data:i.data,error:i.error,reload:a}},N2=e=>{if(!e)E2.clear();else for(let t of[...E2.keys()])t.startsWith(e)&&E2.delete(t);k2()},P2=(e,t)=>{E2.set(e,{phase:`ready`,data:t,started:!0}),k2()},F2=e=>E2.get(e)?.data,I2=(0,b.createContext)(null),L2=()=>{let e=(0,b.useContext)(I2);if(!e)throw Error(`useSession outside <Session>`);return e},R2=`team.back`,z2=()=>{let e=window.location.pathname+window.location.search;!e.startsWith(`/login`)&&!e.startsWith(`/auth/`)&&sessionStorage.setItem(R2,e)},Ope=()=>{let e=sessionStorage.getItem(R2);return sessionStorage.removeItem(R2),e??`/`},B2=`team.silent`,kpe=/bot|crawl|spider|slurp|preview|lighthouse|headless/i,Ape=()=>{if(navigator.webdriver||kpe.test(navigator.userAgent)||Z0(window.location.hostname))return!1;try{return!sessionStorage.getItem(B2)}catch{return!1}},V2=()=>{try{sessionStorage.setItem(B2,`1`)}catch{}},jpe=new Set([`login_required`,`interaction_required`,`consent_required`,`account_selection_required`]),Mpe=6e4,H2=e=>{let t=e instanceof Error?e.message:String(e);return t.includes(`(401)`)||t.includes(`(403)`)},Npe=({children:e})=>{let[t,n]=(0,b.useState)(`unknown`),[r,i]=(0,b.useState)(null),a=(0,b.useCallback)(async()=>{try{let e=await T2().getUser();i(e?Ppe(e):null),n(`in`),N2()}catch(e){if(H2(e)){T2().clearTokens(),i(null),n(`out`),N2();return}i(null),n(`in`),N2()}},[]),o=(0,b.useCallback)(()=>{i(null),n(`out`),N2()},[]),s=(0,b.useRef)(!1);(0,b.useEffect)(()=>{s.current||(s.current=!0,(async()=>{if(!window.location.pathname.startsWith(`/auth/`)){if(new URLSearchParams(window.location.search).get(`from`)===`logout`){V2(),T2().clearTokens(),o();return}if(await T2().getValidAccessToken().catch(()=>null))return a();if(Ape()){V2(),z2();try{window.location.replace(upe(await T2().getSigninUrl({additionalParams:{prompt:`none`}})));return}catch{}}o()}})())},[a,o]),(0,b.useEffect)(()=>{if(t!==`in`)return;let e=Date.now(),n=()=>{document.visibilityState!==`visible`||Date.now()-e<Mpe||(e=Date.now(),T2().getUserInfo().catch(e=>{H2(e)&&(T2().clearTokens(),o())}))};return document.addEventListener(`visibilitychange`,n),()=>document.removeEventListener(`visibilitychange`,n)},[t,o]);let c=(0,b.useCallback)(async(e=`login`,t={})=>{z2();let n=await T2().getSigninUrl(cpe(t.hint)),r=t.provider??new URLSearchParams(window.location.search).get(`provider`);window.location.replace(lpe(n,e,r))},[]),l=(0,b.useCallback)(e=>(z2(),T2().getSigninUrl(e)),[]),u=(0,b.useCallback)(()=>{let e=T2(),t=e.getAccessToken(),n=e.getRefreshToken();e.clearTokens(),o(),(async()=>{try{let e=async(e,n)=>{e&&await fetch(`/v1/iam/oauth/revoke`,{method:`POST`,headers:{"Content-Type":`application/x-www-form-urlencoded`,...t?{Authorization:`Bearer ${t}`}:{}},body:new URLSearchParams({token:e,token_type_hint:n,client_id:e2}).toString()}).catch(()=>void 0)};await e(n,`refresh_token`),await e(t,`access_token`)}finally{window.location.assign(dpe($0.issuer,e2,window.location.origin))}})()},[o]),d=(0,b.useCallback)(async()=>{let e=Ope();if(jpe.has(new URLSearchParams(window.location.search).get(`error`)??``))return e;if(!(await T2().handleCallback()).accessToken)throw Error(`the issuer returned no access token`);return await a(),e},[a]),f=(0,b.useMemo)(()=>({standing:t,who:r,depart:c,request:l,leave:u,land:d}),[t,r,c,l,u,d]);return(0,L.jsx)(I2.Provider,{value:f,children:e})},Ppe=e=>{let t=String(e.preferred_username??e.name??e.sub??``);return{id:String(e.sub??t),name:t,label:String(e.name??e.preferred_username??t),email:typeof e.email==`string`?e.email:void 0,avatar:typeof e.picture==`string`?e.picture:void 0}},U2=class extends Error{status;detail;constructor(e,t){super(t||`HTTP ${e}`),this.status=e,this.detail=t,this.name=`Refused`}},Fpe=async()=>{let e=await T2().getValidAccessToken().catch(()=>null);return e?{authorization:`Bearer ${e}`}:{}},W2=async(e,t)=>{let n=await fetch(e,{...t,headers:{accept:`application/json`,...t?.body?{"content-type":`application/json`}:{},...await Fpe(),...t?.headers}}),r=await n.text();if(!n.ok)throw new U2(n.status,Lpe(r)||n.statusText);if(r)try{return JSON.parse(r)}catch{throw new U2(n.status,`expected JSON, read ${r.length} bytes of ${n.headers.get(`content-type`)??`nothing`}`)}},Ipe=(e,t)=>W2(e,{method:`POST`,body:JSON.stringify(t)}),Lpe=e=>{try{let t=JSON.parse(e);return t.detail??t.message??``}catch{return e.slice(0,200)}},G2=class extends Error{code;constructor(e,t){super(t),this.code=e,this.name=`Denied`}get unauthorized(){return this.code.endsWith(`:Unauthorized`)}},K2=async(e,t={})=>{let n=await Ipe(C2.account,{method:e,params:t});if(n.error)throw new G2(n.error.code,n.error.params?.message??n.error.code);return n.result},Rpe=()=>K2(`getUserWorkspaces`),zpe=e=>K2(`selectWorkspace`,{workspaceUrl:e}),Y={project:`team:class:Project`,issue:`team:class:Issue`,status:`team:class:IssueStatus`,milestone:`team:class:Milestone`,component:`team:class:Component`,person:`team:class:Person`,channel:`team:class:Channel`,direct:`team:class:DirectMessage`,message:`team:class:ChatMessage`,reply:`team:class:ThreadMessage`,reaction:`team:class:Reaction`,notice:`team:class:ActivityInboxNotification`,tag:`team:class:TagReference`},q2={create:`team:tx:CreateDoc`,update:`team:tx:UpdateDoc`,remove:`team:tx:RemoveDoc`},J2={backlog:`team:statusCategory:Backlog`,todo:`team:statusCategory:Unstarted`,doing:`team:statusCategory:Started`,done:`team:statusCategory:Completed`,cancelled:`team:statusCategory:Cancelled`},Y2={none:0,urgent:1,high:2,medium:3,low:4},X2=e=>{let t=e?.name??``;if(!t.includes(`,`))return t.trim();let[n,r]=t.split(`,`);return[r,n].map(e=>e?.trim()).filter(Boolean).join(` `)},Bpe=(e,t)=>e?`${e.identifier}-${t.number}`:`#${t.number}`,Z2=(e,...t)=>[e,...t.map(e=>e??``)].join(`|`),Q2={request:0,response:1,push:2},$2=16,Vpe=16,Hpe=24,Upe=40,Wpe=0,Gpe=4,Kpe=8,qpe=16,e4=new TextEncoder,t4=new TextDecoder,n4=e=>{let t=e4.encode(e.method),n=e.payload,r=Upe,i=r,a=t.length>0?r-24:0;t.length>0&&(r+=t.length);let o=r,s=n.length>0?r-32:0;n.length>0&&(r+=n.length);let c=new Uint8Array(r),l=new DataView(c.buffer);return c.set(e4.encode(`ZAP\0`),0),l.setUint16(4,2,!0),l.setUint16(6,0,!0),l.setUint32(8,Vpe,!0),l.setUint32(12,r,!0),l.setUint32(16,e.id,!0),c[20]=e.kind,l.setUint32(24,a,!0),l.setUint32(28,t.length,!0),l.setUint32(32,s,!0),l.setUint32(36,n.length,!0),c.set(t,i),c.set(n,o),c},Jpe=e=>{if(e.length<$2||t4.decode(e.subarray(0,4))!==`ZAP\0`)return null;let t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=t.getUint32(8,!0);return n<$2||n+Hpe>e.length?null:{id:t.getUint32(n+Wpe,!0),kind:e[n+Gpe],method:t4.decode(r4(e,t,n+Kpe)),payload:r4(e,t,n+qpe).slice()}},r4=(e,t,n)=>{if(n+8>e.length)return new Uint8Array;let r=t.getUint32(n,!0);if(r===0)return new Uint8Array;let i=t.getUint32(n+4,!0),a=n+r;return a<$2||a+i>e.length?new Uint8Array:e.subarray(a,a+i)},Ype=(e,t,n,r)=>n4({id:e,kind:t,method:n,payload:e4.encode(JSON.stringify(r))}),Xpe=e=>t4.decode(e.payload),Zpe=e=>{if(e==null)return[];if(Array.isArray(e))return e;let t=e.value;if(Array.isArray(t))return t;throw Error(`findAll answered something that is not a list of documents`)},Qpe=25e3,i4=[500,1e3,2e3,5e3,1e4,2e4],$pe=class{slug;socket=null;next=1;waiting=new Map;listeners=new Set;standings=new Set;beat=null;retry=null;attempt=0;closed=!1;opening=null;standing=`idle`;entry=null;get account(){return this.entry?`hanzo:${this.entry.account}`:null}constructor(e){this.slug=e}watch(e){return this.listeners.add(e),()=>void this.listeners.delete(e)}observe(e){return this.standings.add(e),()=>void this.standings.delete(e)}async open(){if(this.socket?.readyState!==WebSocket.OPEN)return this.opening||=this.connect().finally(()=>{this.opening=null}),this.opening}close(){this.closed=!0,this.stopBeat(),this.retry&&clearTimeout(this.retry),this.socket?.close(),this.socket=null,this.settle(`idle`)}async find(e,t={},n={}){return Zpe(await this.call(`findAll`,[e,t,n]))}async one(e,t){return(await this.find(e,t,{limit:1}))[0]}async write(e){await this.call(`tx`,[e])}async call(e,t=[]){await this.open();let n=this.socket;if(!n||n.readyState!==WebSocket.OPEN)throw Error(`the space plane is not open`);let r=this.next++;return new Promise((i,a)=>{this.waiting.set(r,{resolve:i,reject:a}),n.send(Ype(r,Q2.request,e,{id:r,method:e,params:t}))})}async connect(){this.closed=!1,this.settle(`opening`);let e=await zpe(this.slug);this.entry=e,await new Promise((t,n)=>{let r=new WebSocket(`${e.endpoint}/${e.token}`);r.binaryType=`arraybuffer`,this.socket=r,r.onmessage=e=>this.receive(e.data),r.onerror=()=>n(Error(`the space plane refused the connection`)),r.onclose=()=>{this.stopBeat();for(let e of this.waiting.values())e.reject(Error(`the space plane closed`));this.waiting.clear(),!this.closed&&(this.settle(`lost`),this.later())},r.onopen=()=>{this.call(`hello`,[]).then(()=>{this.attempt=0,this.settle(`live`),this.startBeat(),t()}).catch(n)}})}receive(e){if(typeof e==`string`)return;let t=Jpe(new Uint8Array(e));if(!t)return;let n=Xpe(t);if(n===`pong!`)return;let r;try{r=JSON.parse(n)}catch{return}if(t.kind===Q2.push||r.id===void 0){let e=Array.isArray(r.result)?r.result:[];if(e.length)for(let t of this.listeners)t(e);return}let i=this.waiting.get(r.id);i&&(this.waiting.delete(r.id),r.error?i.reject(Error(String(r.error))):i.resolve(r.result))}startBeat(){this.stopBeat(),this.beat=setInterval(()=>{this.socket?.readyState===WebSocket.OPEN&&this.socket.send(n4({id:0,kind:Q2.request,method:``,payload:new TextEncoder().encode(`ping`)}))},Qpe)}stopBeat(){this.beat&&clearInterval(this.beat),this.beat=null}later(){let e=i4[Math.min(this.attempt++,i4.length-1)];this.retry=setTimeout(()=>void this.open().catch(()=>this.later()),e)}settle(e){this.standing=e;for(let t of this.standings)t(e)}},a4=[{id:`vi`,name:`Vi`,role:`Strategist`,department:`Executive`,lead:!0,avatar:`/agents/vi.png`,schedule:`0 8 * * 1-5`,triggers:[`channel`,`webhook`,`watch`],status:`Q4 roadmap & OKR alignment published in #general.`},{id:`opera`,name:`Opera`,role:`COO`,department:`Operations`,lead:!0,avatar:`/agents/opera.png`,schedule:`*/30 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`All 4 orgs operating at 99.98% SLA.`},{id:`mana`,name:`Mana`,role:`Chief of Staff`,department:`Operations`,lead:!0,avatar:`/agents/mana.png`,schedule:`0 9 * * 1-5`,triggers:[`channel`,`webhook`,`watch`],status:`Daily standup summary posted across 6 channels.`},{id:`dev`,name:`Dev`,role:`Engineer`,department:`Engineering`,lead:!0,avatar:`/agents/dev.png`,schedule:`*/15 * * * *`,triggers:[`git`,`webhook`,`watch`],status:`Merged 3 PRs in hanzo-inc/app and hanzoai/team.`},{id:`des`,name:`Des`,role:`Designer`,department:`Design`,lead:!0,avatar:`/agents/des.png`,schedule:`0 9 * * 1-5`,triggers:[`channel`,`webhook`,`watch`],status:`Updated @hanzo/gui monochrome tokens in #hanzo-ui.`},{id:`fin`,name:`Fin`,role:`CFO`,department:`Finance`,lead:!0,avatar:`/agents/fin.png`,schedule:`0 7 * * 1-5`,triggers:[`webhook`,`watch`],status:`Commerce ledger & treasury reconciliation complete.`},{id:`huma`,name:`Huma`,role:`People Lead`,department:`People`,lead:!0,avatar:`/agents/huma.png`,schedule:`0 9 * * 1-5`,triggers:[`channel`,`webhook`],status:`Onboarding 2 new engineers this week.`},{id:`mark`,name:`Mark`,role:`CMO`,department:`Marketing`,lead:!0,avatar:`/agents/mark.png`,schedule:`*/30 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`Launch campaign metrics live in Hanzo Analytics.`},{id:`sal`,name:`Sal`,role:`CRO`,department:`Sales`,lead:!0,avatar:`/agents/sal.png`,schedule:`*/15 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`4 enterprise deals advancing in Hanzo CRM.`},{id:`sci`,name:`Sci`,role:`Chief Scientist`,department:`Research`,lead:!0,avatar:`/agents/sci.png`,schedule:`0 */4 * * *`,triggers:[`git`,`webhook`,`watch`],status:`Zen4 MoE benchmark evaluation running on DGX.`},{id:`su`,name:`Su`,role:`Support Lead`,department:`Support`,lead:!0,avatar:`/agents/su.png`,schedule:`*/5 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`Zero open P0/P1 tickets in #hanzo-support.`},{id:`cyber`,name:`Cyber`,role:`CISO`,department:`Security`,lead:!0,avatar:`/agents/cyber.png`,schedule:`*/10 * * * *`,triggers:[`git`,`webhook`,`watch`],status:`Continuous KMS & supply-chain audit clean.`},{id:`rev`,name:`Rev`,role:`Revenue Operations`,department:`Sales`,avatar:`/agents/rev.png`,schedule:`*/15 * * * *`,triggers:[`channel`,`webhook`,`watch`],status:`Synced org grants & prepaid balances`},{id:`lang`,name:`Lang`,role:`Localization & i18n`,department:`Engineering`,avatar:`/agents/lang.png`,schedule:`0 */2 * * *`,triggers:[`git`,`webhook`],status:`36 locales verified across hanzo.ai`},{id:`law`,name:`Law`,role:`General Counsel`,department:`Legal`,avatar:`/agents/law.png`,schedule:`0 9 * * 1-5`,triggers:[`channel`,`webhook`],status:`MSA & DPA templates ready in Sign`},{id:`mo`,name:`Mo`,role:`Motion Pictures`,department:`Creative`,avatar:`/agents/mo.png`,schedule:`*/30 * * * *`,triggers:[`git`,`webhook`],status:`4K hero reel & loops in #hanzo-video`},{id:`mu`,name:`Mu`,role:`Music & Audio`,department:`Creative`,avatar:`/agents/mu.png`,schedule:`0 10 * * 1-5`,triggers:[`channel`,`webhook`],status:`Omni Flash voice & sound in Studio`},{id:`data`,name:`Data`,role:`Data & Analytics`,department:`Engineering`,avatar:`/agents/data.png`,schedule:`*/15 * * * *`,triggers:[`git`,`webhook`,`watch`],status:`GA4 & ClickHouse funnels synced`},{id:`gov`,name:`Gov`,role:`Government Affairs`,department:`Legal`,avatar:`/agents/gov.png`,schedule:`0 8 * * 1-5`,triggers:[`webhook`,`watch`],status:`Policy & HIP/ZIP regulatory watch`},{id:`ed`,name:`Ed`,role:`Education`,department:`Marketing`,avatar:`/agents/ed.png`,schedule:`0 9 * * 1-5`,triggers:[`git`,`channel`,`webhook`],status:`Docs & interactive courses live`},{id:`doc`,name:`Doc`,role:`Documentation`,department:`Product`,avatar:`/agents/doc.png`,schedule:`0 */3 * * *`,triggers:[`git`,`channel`],status:`OpenAPI & SDK reference synced`},{id:`biz`,name:`Biz`,role:`Business Development`,department:`Sales`,avatar:`/agents/biz.png`,schedule:`*/30 * * * *`,triggers:[`channel`,`webhook`],status:`Partner & co-selling brief posted`},{id:`art`,name:`Art`,role:`Visual Art`,department:`Design`,avatar:`/agents/art.png`,schedule:`0 10 * * 1-5`,triggers:[`channel`,`webhook`],status:`4K hero stills & visual assets ready`},{id:`grant`,name:`Grant`,role:`Grants & Funding`,department:`Finance`,avatar:`/agents/grant.png`,schedule:`0 */4 * * *`,triggers:[`channel`,`webhook`,`watch`],status:`Tracking 14 open AI, crypto & SBIR grant RFPs`}],o4=a4.filter(e=>e.lead),s4=a4.filter(e=>!e.lead),eme=e=>{let t=/^\*\/(\d+) \* \* \* \*$/.exec(e);if(t)return`Every ${t[1]}m`;let n=/^0 \*\/(\d+) \* \* \*$/.exec(e);if(n)return`Every ${n[1]}h`;let r=/^0 (\d+) \* \* 1-5$/.exec(e);return r?`Weekdays ${r[1]}:00`:`24/7 Proactive`},tme=[`live`,`loading`,`empty`,`failure`,`minimal`,`realistic`],c4=(()=>{if(typeof window>`u`)return`live`;let e=new URLSearchParams(window.location.search).get(`state`);return tme.includes(e??``)?e:`live`})(),l4=()=>new Promise(()=>{}),u4=()=>Promise.reject(Error(`the fixture refuses, on purpose`)),d4=`hanzo`,f4=Date.now(),p4=(e,t)=>({_id:e,_class:t,space:d4,modifiedOn:f4,modifiedBy:`p-zach`}),nme=[{...p4(`p-zach`,Y.person),name:`Kelling,Zach`,city:`San Francisco`},{...p4(`p-antje`,Y.person),name:`Worring,Antje`,city:`Los Angeles`}],rme=a4.map(e=>({...p4(`bot-${e.id}`,Y.person),name:`${e.name} (@${e.id})`,avatar:e.avatar,city:e.department})),ime=[...nme,...rme],m4=(e,t,n,r,i,a)=>({...p4(`proj-${e}`,Y.project),space:d4,name:t,identifier:n,description:a,sequence:r,members:i}),h4=[m4(`crm`,`CRM & Revenue`,`CRM`,42,[`p-zach`,`p-antje`,`bot-rev`,`bot-sal`,`bot-data`,`bot-su`,`bot-fin`,`bot-biz`],"Hanzo CRM (`crm.hanzo.ai`), PostgreSQL audiences (346K investors, 422K customers, 13.5M developer leads), and Commerce deal desk."),m4(`mkt`,`Growth & Design`,`MKT`,18,[`p-antje`,`p-zach`,`bot-mark`,`bot-des`,`bot-art`,`bot-mo`,`bot-doc`,`bot-ed`],`Landing conversion funnels, @hanzo/gui monochrome design system, Omni 1.2 Flash creative assets, and lifecycle journeys.`),m4(`next`,`Cloud & Platform`,`CLOUD`,25,[`p-zach`,`bot-sci`,`bot-dev`,`bot-opera`,`bot-cyber`,`bot-data`,`bot-vi`],"Unified Hanzo Cloud (`api.hanzo.ai/v1`), ZAP transactor ledger, Kubernetes Sites plane, and multi-org IAM."),m4(`dev`,`Hanzo Dev & AI`,`DEV`,31,[`p-zach`,`bot-dev`,`bot-opera`,`bot-cyber`,`bot-mana`,`bot-sci`,`bot-vi`],`Autonomous coding sandboxes, 13 unified MCP tools, KMS hardware enclaves, and ephemeral Kata CI runners.`)],ame=[[`backlog`,`Backlog`,J2.backlog],[`todo`,`To do`,J2.todo],[`doing`,`In progress`,J2.doing],[`done`,`Done`,J2.done]],ome=h4.flatMap(e=>ame.map(([t,n,r])=>({...p4(`${e._id}-${t}`,Y.status),space:e._id,name:n,category:r}))),sme=[{...p4(`cmp-freelynk`,Y.component),space:`proj-crm`,label:`hanzo/crm`,description:"Native CRM surface & PostgreSQL (`hanzo-sql`) audience queries",lead:`bot-rev`},{...p4(`cmp-acme`,Y.component),space:`proj-crm`,label:`hanzo/commerce`,description:`Enterprise deal desk, org credit grants & multi-seat billing`,lead:`bot-sal`},{...p4(`cmp-atlas`,Y.component),space:`proj-next`,label:`hanzo/cloud`,description:"Unified `/v1` API gateway, ZAP transactor & Sites deployment plane",lead:`bot-sci`},{...p4(`cmp-ui`,Y.component),space:`proj-mkt`,label:`hanzo/ui`,description:`@hanzo/gui & @hanzo/ui monochrome component primitives`,lead:`bot-des`},{...p4(`cmp-runner`,Y.component),space:`proj-dev`,label:`hanzo/dev`,description:`Autonomous coding agent harness, MCP tools & Kata CI fleet`,lead:`bot-dev`}],g4=[{in:`crm`,at:`backlog`,title:"Sync ClickHouse telemetry alerts for `/v1/crm` query latency",description:"Wire sub-second p99 latency monitors across `/v1/crm/investors`, `/v1/crm/funds`, and `/v1/crm/leads` in `hanzo-sql`.",rank:Y2.low,done:12,tags:[`Devops`],part:`cmp-freelynk`,who:[`bot-opera`,`bot-data`],files:1},{in:`crm`,at:`backlog`,title:`Cluster & index 13.5M GitHub developer leads by language and star velocity`,description:"Build semantic & star-bucket cohorts (`1k-5k`, `5k-15k`, `15k+`) in `hanzo-sql` for targeted developer outreach.",rank:Y2.low,done:0,tags:[`Devops`,`Research`],part:`cmp-freelynk`,who:[`bot-data`,`bot-sci`,`bot-rev`],files:3,replies:10},{in:`crm`,at:`backlog`,title:`Benchmark institutional VC & Family Office reply rates across 28 lists`,description:"Compare open and reply conversion across `vc`, `crypto_vc`, `accredited`, and `family_office` segments.",rank:Y2.medium,done:5,tags:[`Marketing`],part:`cmp-freelynk`,who:[`bot-mark`,`bot-sal`]},{in:`crm`,at:`backlog`,title:`Split Commerce billing export by human seat vs. 24/7 autonomous bot lease`,description:"Ensure `/v1/billing` invoices separate human workspace seats from per-second autonomous bot compute leases.",rank:Y2.medium,done:0,tags:[`Backend`],part:`cmp-acme`,who:[`bot-fin`,`bot-rev`],replies:3},{in:`crm`,at:`backlog`,title:"Define retention policy for dormant trial workspaces on `/v1/team`",description:"Archive inactive trial SQLite stores to `hanzoai/s3` cold storage after 90 days of zero transactor activity.",rank:Y2.low,tags:[`Research`],who:[`bot-law`,`bot-opera`]},{in:`crm`,at:`backlog`,title:`Streamline CSV column matcher in Hanzo CRM import modal`,description:`Auto-detect First Name, Email, Company, and Check Size headers when importing external LP/investor sheets.`,rank:Y2.low,done:0,tags:[`Design`],part:`cmp-freelynk`,who:[`bot-des`,`p-antje`],files:2},{in:`crm`,at:`backlog`,title:`Measure first-response SLA on inbound enterprise deal rooms`,description:"Track time from inbound `/v1/crm` lead capture to `@sal` + `@rev` automated data room provisioning.",rank:Y2.medium,done:8,tags:[`Devops`,`QA`],part:`cmp-freelynk`,who:[`bot-su`,`bot-rev`]},{in:`crm`,at:`todo`,title:"Reconcile org prepaid credit grants (`z/hanzo`) with bot lease billing",description:"Ensure autonomous agent leases charge the organization credit grant on `z/hanzo` ($156.6K balance) rather than individual user wallets.",rank:Y2.high,done:20,tags:[`Sales`,`Backend`],part:`cmp-acme`,who:[`bot-rev`,`p-zach`,`bot-fin`],files:1,replies:7},{in:`crm`,at:`todo`,title:`Unify Slack-style top search bar and bottom-left account switcher across Team`,description:"Keep Back/Forward/History + centered `⌘K` search in the 40px top bar and place the active user avatar menu at the bottom of the left rail.",rank:Y2.medium,done:25,tags:[`Design`,`Frontend`],part:`cmp-ui`,who:[`bot-des`,`p-zach`],replies:4},{in:`crm`,at:`todo`,title:"Connect WebRTC spatial audio & live AI transcript in Virtual Office (`/meet`)",description:"Bridge `@mana` real-time meeting notes directly into Tracker action items with 1-click issue creation.",rank:Y2.medium,done:0,tags:[`Feature`],who:[`bot-mana`,`bot-mu`]},{in:`crm`,at:`todo`,title:`Deduplicate 346K investor contacts by normalized email domain on import`,description:"Merge duplicate partner records across `investors` and `funds` tables in `hanzo-sql` while preserving check-size metadata.",rank:Y2.high,done:40,tags:[`Backend`,`QA`],part:`cmp-freelynk`,who:[`bot-data`,`bot-dev`],files:1,replies:6},{in:`crm`,at:`todo`,title:"Persist custom cohort filters in `/crm/investors` and `/crm/leads`",description:"Save active star-bucket (`★ 1000-5000`, `★ 15000+`) and investor category filters in URL query state.",rank:Y2.medium,done:15,tags:[`Frontend`],part:`cmp-freelynk`,who:[`bot-dev`,`bot-des`]},{in:`crm`,at:`todo`,title:"Retire legacy webhook payload in favor of typed `/v1/team` events",description:`Standardize all outbound workspace webhooks on HIP-0139 OpenAPI schemas.`,rank:Y2.low,tags:[`Backend`],who:[`bot-dev`],replies:1},{in:`crm`,at:`doing`,title:`Interactive Issue Detail Drawer for editing cards across Kanban, List & Timeline`,description:`Allow clicking any issue card or row to edit title, description, status, priority, completion %, tags, assignee, and comments.`,rank:Y2.urgent,done:75,tags:[`Feature`,`Frontend`],part:`cmp-freelynk`,who:[`p-zach`,`bot-dev`,`bot-des`]},{in:`crm`,at:`doing`,title:`Enterprise customer discovery & Data Room onboarding with top 20 funds`,description:"Coordinate `@sal`, `@rev`, and `@law` to provision watermarked Data Rooms and automated NDA/MSA e-signature flows.",rank:Y2.medium,done:90,tags:[`Sales`,`QA`],part:`cmp-acme`,who:[`p-antje`,`bot-sal`,`bot-rev`,`bot-law`],files:2,replies:24},{in:`crm`,at:`doing`,title:"Wire live `api.hanzo.ai/v1/crm/*` PostgreSQL records into all CRM views",description:"Eliminate all static sample companies/contacts and stream real `hanzo-sql` customers, funds, investors, and leads.",rank:Y2.high,done:65,tags:[`Feature`,`Frontend`],part:`cmp-freelynk`,who:[`bot-rev`,`bot-data`]},{in:`crm`,at:`done`,title:"Ship organization seat-count & credit grant reconciliation in `/v1/billing`",description:`Verified accurate seat metering and prepaid credit deduction across Hanzo AI, The Foundation, Lux Network, and Zoo Labs.`,rank:Y2.high,done:100,tags:[`Backend`],part:`cmp-acme`,who:[`bot-rev`,`bot-fin`],replies:6},{in:`crm`,at:`done`,title:"Deduplicate `@hanzogui/*` to single version 8.3.5 and enforce monochrome token sheet",description:"Pinned all 113 `@hanzogui/*` packages in `pnpm-workspace.yaml` and verified `theme.test.ts` with zero literal colors outside `tokens.css`.",rank:Y2.low,done:100,tags:[`Design`],part:`cmp-ui`,who:[`bot-des`,`bot-dev`]},{in:`crm`,at:`done`,title:"Cut production release of Hanzo Team on `hanzo.team` + native Linux desktop app",description:"Published SPA with 118 zero-404 route fallbacks to `hanzo.team` and built native Tauri v2 desktop binary.",rank:Y2.urgent,done:100,tags:[`Feature`],part:`cmp-acme`,who:[`p-zach`,`bot-opera`,`bot-dev`],files:2,replies:11},{in:`mkt`,at:`backlog`,title:`Schedule Q4 multi-channel product broadcast across X, Discord & Hanzo Publish`,description:`Coordinate launch threads for Hanzo Team, Hanzo Bot 24/7 fleet, and Zen4 Coder benchmarks.`,rank:Y2.medium,done:0,tags:[`Marketing`],part:`cmp-ui`,who:[`bot-mark`,`p-antje`]},{in:`mkt`,at:`todo`,title:"Render 4K Omni 1.2 Flash hero showcase for `hanzo.team` landing stage",description:`Capture live desktop + mobile workspace frames with zero compression artifacts.`,rank:Y2.high,done:30,tags:[`Design`,`Marketing`],part:`cmp-ui`,who:[`bot-art`,`bot-des`],replies:5},{in:`mkt`,at:`doing`,title:`Instrument self-serve checkout & workspace signup funnel in Hanzo Analytics`,description:"Track conversion from `hanzo.team/login` through first channel message and first bot run.",rank:Y2.medium,done:60,tags:[`Devops`],who:[`bot-mark`,`bot-data`]},{in:`next`,at:`backlog`,title:"Benchmark SQLCipher 4 envelope vs. cgo `libsqlcipher` on multi-tenant stores",description:"Verify zero-plaintext invariant and WAL checkpoint behavior across `hanzoai/sqlite` builds.",rank:Y2.urgent,done:0,tags:[`Research`,`Backend`],part:`cmp-atlas`,who:[`bot-sci`,`bot-cyber`,`p-zach`],replies:8},{in:`next`,at:`todo`,title:"Expose `/v1/graph` entity & relationship endpoints alongside `/v1/semantic`",description:"Support personal & organizational knowledge graph triples (`subject`, `predicate`, `object`, `confidence`) in Hanzo Cloud.",rank:Y2.high,done:20,tags:[`Feature`,`Backend`],part:`cmp-atlas`,who:[`p-zach`,`bot-sci`,`bot-dev`]},{in:`next`,at:`doing`,title:"Verify zero-downtime `/v1/team` transactor cutover inside unified Cloud binary",description:"Run HIP-0106 in-process mount in parallel with standalone `team-go` and validate live WebSocket broadcasts.",rank:Y2.high,done:45,tags:[`Devops`,`QA`],part:`cmp-atlas`,who:[`bot-opera`,`bot-dev`],files:4},{in:`dev`,at:`todo`,title:`Quarantine flaky E2E specs and enforce deterministic 4-shard merge gate`,description:`Ensure all 46 unit, parity, and theme tests complete in under 3 seconds on every PR.`,rank:Y2.high,done:20,tags:[`QA`],part:`cmp-runner`,who:[`bot-dev`,`bot-opera`],replies:9},{in:`dev`,at:`doing`,title:"Scale ephemeral `kata-fc` CI runner jobs across `linux-amd64` and `linux-arm64`",description:"Reconcile queued GitHub & Forge workflow jobs via `/v1/build` multi-arch BuildKit fan-out.",rank:Y2.urgent,done:70,tags:[`Devops`],part:`cmp-runner`,who:[`p-zach`,`bot-opera`,`bot-cyber`],files:1,replies:12},{in:`dev`,at:`done`,title:"Seal `NPM_TOKEN` and `CARGO_REGISTRY_TOKEN` grants in `universe/kms-grants.yaml`",description:"Audited RBAC policy and verified automated package publishing from `hanzoai/ci`.",rank:Y2.medium,done:100,tags:[`Backend`],part:`cmp-runner`,who:[`bot-cyber`,`bot-dev`]}],_4=e=>String(e+1e3),v4=g4.map((e,t)=>({...p4(`i${t+1}`,Y.issue),space:`proj-${e.in}`,title:e.title,description:e.description,status:`proj-${e.in}-${e.at}`,priority:e.rank,number:t+1,rank:_4(t),assignee:e.who[0]??`p-zach`,collaborators:e.who,component:e.part??null,...e.done===void 0?{}:{estimation:100,reportedTime:e.done},attachments:e.files??0,comments:e.replies??0,labels:e.tags?.length??0})),y4=g4.flatMap((e,t)=>(e.tags??[]).map(n=>({...p4(`t${t+1}-${n}`,Y.tag),space:`proj-${e.in}`,attachedTo:`i${t+1}`,attachedToClass:Y.issue,title:n}))),cme=[{...p4(`c-general`,Y.channel),name:`general`,topic:`Company-wide engineering, launches & announcements`},{...p4(`c-errors`,Y.channel),name:`errors`,topic:`Live runtime exceptions, Sentry faults & CLI crash reports (/v1/event/errors)`},{...p4(`c-feedback`,Y.channel),name:`feedback`,topic:`User feedback, hanzo doctor --share bundles, support tickets & inbound forms`},{...p4(`c-hanzo-support`,Y.channel),name:`hanzo-support`,topic:`Customer support, triage & live escalations`},{...p4(`c-hanzo-ui`,Y.channel),name:`hanzo-ui`,topic:`Design system, @hanzo/gui & @hanzo/ui components`},{...p4(`c-hanzo-video`,Y.channel),name:`hanzo-video`,topic:`Studio, Omni Flash & video generation`},{...p4(`c-hanzo-revenue`,Y.channel),name:`hanzo-revenue`,topic:`Live checkouts, orders, subscriptions, enterprise deals & pipeline (/v1/event)`},{...p4(`c-tracker`,Y.channel),name:`tracker`,topic:`Sprint boards, PR gates & issue triage`},{...p4(`c-design`,Y.channel),name:`design`,topic:`Product design, typography & monochrome tokens`},{...p4(`c-hanzo-x-lux`,Y.channel),name:`hanzo-x-lux`,topic:`Hanzo Connect shared channel · Cross-org engineering & MPC settlement`,bindings:[`connect:lux`]},{...p4(`c-hanzo-x-zoo`,Y.channel),name:`hanzo-x-zoo`,topic:`Hanzo Connect shared channel · Decentralized AI & DeSci research`,bindings:[`connect:zoo`]},{...p4(`c-lux-bank`,Y.channel),name:`lux-bank`,topic:`Lux banking, cards & settlement`,bindings:[`connect:lux`]},{...p4(`c-lux-bridge`,Y.channel),name:`lux-bridge`,topic:`Cross-chain bridge & MPC`,bindings:[`connect:lux`]}],b4=Y.direct,lme=a4.map(e=>({...p4(`dm-${e.id}`,b4),name:e.name,topic:`${e.role} · ${e.department} · ${e.status}`,members:[`bot-${e.id}`,`p-zach`]})),x4=[{...p4(`m1`,Y.message),message:`Pinned all @hanzogui/* packages to 8.3.5 and moved the user account menu to the bottom-left rail.`,attachedTo:`c-general`,modifiedOn:f4-36e5,modifiedBy:`bot-des`},{...p4(`m2`,Y.message),message:"Verified `/v1/team/health`, `/v1/crm/*`, and `/v1/task/*` on `api.hanzo.ai` — all endpoints healthy.",attachedTo:`c-general`,modifiedOn:f4-18e5,modifiedBy:`bot-opera`},{...p4(`m3`,Y.message),message:"@everyone Hanzo Team is live on `hanzo.team` and running natively in the desktop app.",attachedTo:`c-general`,modifiedOn:f4-6e5,modifiedBy:`p-zach`},{...p4(`m4`,Y.message),message:`All 23 Hanzo AI agents and 24/7 bots are connected across Hanzo AI, The Foundation, Lux Network, and Zoo Labs.`,attachedTo:`c-general`,modifiedOn:f4-3e5,modifiedBy:`bot-vi`},{...p4(`m5`,Y.message),message:`Zero open P0/P1 escalations. Automated triage resolved 18 tickets in the last hour.`,attachedTo:`c-hanzo-support`,modifiedOn:f4-9e5,modifiedBy:`bot-su`},{...p4(`m-err-seed-1`,Y.message),message:"Streaming live runtime faults, Sentry exceptions, and CLI premature_stop diagnostics from `api.hanzo.ai/v1/event/errors` into this channel.",attachedTo:`c-errors`,modifiedOn:f4-42e4,modifiedBy:`bot-cyber`},{...p4(`m-fb-seed-1`,Y.message),message:"Streaming inbound user feedback, `hanzo doctor --share` / `dev report` bundles, support tickets, and website form submissions from `api.hanzo.ai/v1/base/collections/activities` and `/v1/event` into this channel.",attachedTo:`c-feedback`,modifiedOn:f4-38e4,modifiedBy:`bot-su`},{...p4(`m6`,Y.message),message:`Updated @hanzo/gui monochrome tokens and Slack-style top search bar across all workspace surfaces.`,attachedTo:`c-hanzo-ui`,modifiedOn:f4-12e5,modifiedBy:`bot-des`},{...p4(`m7`,Y.message),message:`Rendered 4K hero stills and agent portraits via Omni 1.2 Flash in Studio.`,attachedTo:`c-hanzo-video`,modifiedOn:f4-15e5,modifiedBy:`bot-art`},{...p4(`m8`,Y.message),message:`Synced org grants, prepaid balances, and enterprise seats with Commerce.`,attachedTo:`c-hanzo-revenue`,modifiedOn:f4-45e4,modifiedBy:`bot-rev`},{...p4(`m-rev-seed-stream`,Y.message),message:"Streaming live checkouts (`order_completed`, `checkout_started`, `payment_info_added`, `checkout_failed`, `subscription_changed`, `invoice_requested`) and enterprise/sales leads in real time from `api.hanzo.ai/v1/event` into this channel and `/overview`.",attachedTo:`c-hanzo-revenue`,modifiedOn:f4-34e4,modifiedBy:`bot-rev`},{...p4(`m-connect-lux-1`,Y.message),message:"Connected `hanzo` ↔ `lux` via Hanzo Connect (`connect:lux`). Both organizations retain isolated IAM, KMS secrets, and billing while sharing this channel.",attachedTo:`c-hanzo-x-lux`,modifiedOn:f4-12e5,modifiedBy:`bot-vi`},{...p4(`m-connect-lux-2`,Y.message),message:"Lux MPC threshold signers and GPU settlement hooks are live on `api.hanzo.ai/v1/commerce`. Ready for joint end-to-end testing.",attachedTo:`c-hanzo-x-lux`,modifiedOn:f4-6e5,modifiedBy:`p-zach`},{...p4(`m-connect-lux-3`,Y.message),message:"Verified cross-org webhook signatures and KMS boundary checks between `hanzo` and `lux` — zero cross-tenant secret access.",attachedTo:`c-hanzo-x-lux`,modifiedOn:f4-24e4,modifiedBy:`bot-cyber`},{...p4(`m-connect-zoo-1`,Y.message),message:"Connected `hanzo` ↔ `zoo` via Hanzo Connect (`connect:zoo`). Decentralized AI & DeSci benchmark runs are streaming into this shared channel.",attachedTo:`c-hanzo-x-zoo`,modifiedOn:f4-9e5,modifiedBy:`bot-scien`},{...p4(`m-connect-zoo-2`,Y.message),message:`Published Zen-4 and Kai decision harness evaluation results for Zoo Labs foundation fellows.`,attachedTo:`c-hanzo-x-zoo`,modifiedOn:f4-36e4,modifiedBy:`bot-dev`},{...p4(`m-connect-bank-1`,Y.message),message:`Card settlement rails and USD/LUX treasury sweeps reconciled across Hanzo Commerce and Lux Bank.`,attachedTo:`c-lux-bank`,modifiedOn:f4-72e4,modifiedBy:`bot-rev`},{...p4(`m-connect-bridge-1`,Y.message),message:`Teleport bridge proof verification passing on C-Chain and Hanzo enclave signers.`,attachedTo:`c-lux-bridge`,modifiedOn:f4-5e5,modifiedBy:`bot-opera`},{...p4(`m-rev-1`,Y.message),message:`Tell me when it’s done and I’ll re-send all six fixes and check them on the live site. I’ve posted the cause in #hanzo-revenue. Longer term, a platform rule that a member can’t spend org credits on leases will block every agent this way, and it’s worth fixing.`,attachedTo:`dm-rev`,modifiedOn:f4-9e5,modifiedBy:`bot-rev`},{...p4(`m-rev-2`,Y.message),message:`hanzo has a credit grant this is some kind of bug?`,attachedTo:`dm-rev`,modifiedOn:f4-78e4,modifiedBy:`p-zach`},{...p4(`m-rev-3`,Y.message),message:`Probably, yes. If the org has a grant but the lease reads $0, it’s likely looking up the wrong account, under user ID "hanzo" instead of the org’s ID. I’m checking the grant and the account the lease charges now.`,attachedTo:`dm-rev`,modifiedOn:f4-7e5,modifiedBy:`bot-rev`},{...p4(`m-rev-4`,Y.message),message:`its z/hanzo`,attachedTo:`dm-rev`,modifiedOn:f4-64e4,modifiedBy:`p-zach`},{...p4(`m-rev-5`,Y.message),message:`Noted, the account is z/hanzo. I’ll check whether the grant is on z/hanzo while the lease charges hanzo or hanzo/z. A mismatch like that would explain the $0.`,attachedTo:`dm-rev`,modifiedOn:f4-58e4,modifiedBy:`bot-rev`},{...p4(`m-rev-6`,Y.message),message:`i'm also super admin`,attachedTo:`dm-rev`,modifiedOn:f4-52e4,modifiedBy:`p-zach`},{...p4(`m-rev-7`,Y.message),message:`Good. Since you're a super admin, I'll check whether the grok-bot-iam key actually carries your admin rights or only member rights. If it doesn't, the fix is giving it access under z/hanzo, which only you can do. Results shortly.
75
75
 
76
76
  You're right that it's a bug. The coding service is back up, but all three new runs failed within a second with the same "wallet holds 0" error:
77
77
  • The org's money is invisible to the lease ($156.6K prepaid on the org, but the lease checks user ID hanzo).
@@ -165,13 +165,13 @@ ${Ume(`class="rim"`,`class="core"`)}
165
165
  @keyframes hanzo-flip{from{opacity:0;transform:perspective(320px) rotateY(180deg) scale(.6)}to{opacity:1;transform:none}}
166
166
  @keyframes hanzo-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
167
167
  @keyframes hanzo-word{0%,40%{transform:translateX(-102%)}55%,82%{transform:translateX(0)}100%{transform:translateX(-102%)}}
168
- @media (prefers-reduced-motion:reduce){.hanzo-motion .hanzo-mark,.hanzo-motion .hanzo-word>span{animation:none!important}.hanzo-motion .hanzo-word>span{transition:none}}`,qme=({variant:e=`current`,size:t=64,className:n,style:r,animated:i=!1,wordmark:a=`Hanzo`})=>{if(i)return(0,L.jsxs)(`span`,{className:n,style:r,children:[(0,L.jsx)(`style`,{dangerouslySetInnerHTML:{__html:Kme}}),(0,L.jsxs)(`span`,{className:`hanzo-motion`,children:[(0,L.jsx)(`span`,{className:`hanzo-mark`,style:{width:t,height:t},dangerouslySetInnerHTML:{__html:W3()}}),(0,L.jsx)(`span`,{className:`hanzo-word`,children:(0,L.jsx)(`span`,{children:a})})]})]});let o=``;switch(e){case`mono`:o=V3();break;case`white`:o=H3();break;case`light`:o=U3();break;case`current`:o=W3();break;case`favicon`:o=J3();break;case`animated`:o=Wme();break;case`color`:o=B3();break;default:o=W3()}return(0,L.jsx)(`div`,{className:n,style:{width:t,height:t,...r},dangerouslySetInnerHTML:{__html:o}})},X3={viewBox:zme,content:Bme},Z3={hanzo:X3,lux:{viewBox:`0 0 100 100`,content:`<path d="M50 85 L15 25 L85 25 Z"/>`},zoo:{viewBox:`0 0 1024 1024`,colored:!0,content:`<defs><clipPath id="zooClip"><circle cx="512" cy="511" r="270"/></clipPath><clipPath id="zooGClip"><circle cx="513" cy="369" r="234"/></clipPath><clipPath id="zooRClip"><circle cx="365" cy="595" r="234"/></clipPath></defs><g clip-path="url(#zooClip)"><circle cx="513" cy="369" r="234" fill="#00A652"/><circle cx="365" cy="595" r="234" fill="#ED1C24"/><circle cx="643" cy="595" r="234" fill="#2E3192"/><g clip-path="url(#zooGClip)"><circle cx="365" cy="595" r="234" fill="#FCF006"/><circle cx="643" cy="595" r="234" fill="#01ACF1"/></g><g clip-path="url(#zooRClip)"><circle cx="643" cy="595" r="234" fill="#EA018E"/></g><g clip-path="url(#zooGClip)"><g clip-path="url(#zooRClip)"><circle cx="643" cy="595" r="234" fill="#FFFFFF"/></g></g></g>`},pars:{viewBox:`-120 -120 240 240`,content:`<path d="M0,-100 L30,-60 L100,-40 L60,0 L100,40 L30,60 L0,100 L-30,60 L-100,40 L-60,0 L-100,-40 L-30,-60 Z" fill="none" stroke="currentColor" stroke-width="4" stroke-linejoin="round"/><path d="M0,-70 L22,-42 L70,-28 L42,0 L70,28 L22,42 L0,70 L-22,42 L-70,28 L-42,0 L-70,-28 L-22,-42 Z" fill="currentColor" fill-opacity="0.15" stroke="currentColor" stroke-width="3" stroke-linejoin="round"/><circle r="55" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.4"/><circle r="35" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.4"/><circle r="8" fill="currentColor"/>`},"7stars":X3,yotoda:X3},Q3={accent1:`#000000`,surface1:`#FFFFFF`,surface2:`#FAFAFA`,neutral1:`#0A0A0A`,neutral2:`rgba(10, 10, 10, 0.6)`},$3={accent1:`#FFFFFF`,surface1:`#000000`,surface2:`#111111`,neutral1:`#FAFAFA`,neutral2:`rgba(250, 250, 250, 0.6)`},e6=(e,t)=>`https://cdn.jsdelivr.net/npm/${e}/${t}`,t6={id:`hanzo`,name:`Hanzo`,title:`Hanzo AI`,tagline:`Enterprise AI infrastructure and frontier models`,legalName:`Hanzo AI Inc.`,domain:`hanzo.ai`,docsDomain:`docs.hanzo.ai`,adminDomain:`hanzo.ai`,accentColor:`#FFFFFF`,theme:{light:Q3,dark:$3},social:{twitter:`https://x.com/hanzoai`,github:`https://github.com/hanzoai`,discord:`https://discord.gg/CJCyAsm9Vr`,linkedin:`https://linkedin.com/company/hanzoai`},mark:Z3.hanzo,logoUrl:e6(`@hanzo/brand@1.4.7`,`assets/logo/logo.svg`),faviconUrl:e6(`@hanzo/brand@1.4.7`,`assets/logo/favicon.svg`)},n6={hanzo:t6,lux:{id:`lux`,name:`Lux`,title:`Lux Network`,tagline:`High-performance, post-quantum blockchain infrastructure`,legalName:`Lux Industries Inc.`,domain:`lux.network`,docsDomain:`docs.lux.network`,adminDomain:`lux.network`,accentColor:`#FFFFFF`,theme:{light:Q3,dark:$3},social:{twitter:`https://x.com/luxdefi`,github:`https://github.com/luxfi`,discord:`https://discord.gg/lux`},mark:Z3.lux,logoUrl:e6(`@luxfi/logo@1.0.8`,`svg/lux-icon-white.svg`),faviconUrl:e6(`@luxfi/logo@1.0.8`,`svg/lux-favicon.svg`)},zoo:{id:`zoo`,name:`Zoo`,title:`Zoo`,tagline:`Open, decentralized AI & science research network`,legalName:`Zoo Labs Foundation`,domain:`zoo.ngo`,docsDomain:`docs.zoo.ngo`,adminDomain:`zoo.ngo`,accentColor:`#01ACF1`,theme:{light:{...Q3,accent1:`#01ACF1`},dark:{...$3,accent1:`#01ACF1`}},social:{twitter:`https://x.com/zoo_labs`,github:`https://github.com/zooai`,discord:`https://discord.gg/zoo`},mark:Z3.zoo,logoUrl:e6(`@zooai/brand@1.4.1`,`assets/logo/logo.svg`),faviconUrl:e6(`@zooai/brand@1.4.1`,`assets/logo/logo.svg`)},pars:{id:`pars`,name:`Pars`,title:`Pars Network`,tagline:`A sovereign, verifiable identity layer for the Pars community`,legalName:`Parsis Foundation`,domain:`pars.network`,docsDomain:`docs.pars.network`,adminDomain:`pars.network`,accentColor:`#caa24a`,theme:{light:{...Q3,accent1:`#caa24a`},dark:{...$3,accent1:`#caa24a`}},social:{twitter:`https://x.com/parsnetwork`,github:`https://github.com/parsdao`},mark:Z3.pars,logoUrl:e6(`@parsdao/brand@1.0.1`,`assets/logo/logo.svg`),faviconUrl:e6(`@parsdao/brand@1.0.1`,`assets/logo/logo.svg`)},"7stars":{id:`7stars`,name:`7Stars`,title:`7Stars`,tagline:`Cloud, powered by Hanzo`,legalName:`7Stars`,domain:`7stars.dev`,docsDomain:`docs.7stars.dev`,adminDomain:`7stars.dev`,accentColor:`#FFFFFF`,theme:{light:Q3,dark:$3},social:{},mark:Z3[`7stars`],logoUrl:t6.logoUrl,faviconUrl:t6.faviconUrl},yotoda:{id:`yotoda`,name:`Yotoda`,title:`Yotoda`,tagline:`Cloud, powered by Hanzo`,legalName:`Yotoda`,domain:`yotoda.tech`,docsDomain:`docs.yotoda.tech`,adminDomain:`yotoda.tech`,accentColor:`#FFFFFF`,theme:{light:Q3,dark:$3},social:{},mark:Z3.yotoda,logoUrl:t6.logoUrl,faviconUrl:t6.faviconUrl}},Jme=()=>typeof window>`u`?I3:Rme(window.location.hostname);function Yme({size:e=20,brand:t,wordmark:n,animated:r=!0,color:i=`currentColor`}){let a=t??Jme(),o=Z3[a]??Z3.hanzo,s=n6[a]?.name??n6.hanzo.name,c=n===!1?s:n??s;if(typeof r==`function`){let t=r().replace(`<svg `,`<svg width="100%" height="100%" `);return(0,L.jsx)(`span`,{role:`img`,"aria-label":c,style:{width:e,height:e,display:`inline-flex`,flexShrink:0},dangerouslySetInnerHTML:{__html:t}})}return r&&a===`hanzo`?(0,L.jsx)(qme,{animated:!0,size:e,wordmark:n===!1?void 0:c}):(0,L.jsx)(`svg`,{width:e,height:e,viewBox:o.viewBox,role:`img`,"aria-label":c,...o.colored?null:{fill:i},style:{display:`block`,flexShrink:0},dangerouslySetInnerHTML:{__html:o.content}})}function Xme(e){let t=e.trim();if(!t||/^(https?:|data:|\/)/.test(t)||!/[\p{Extended_Pictographic}\p{Regional_Indicator}]/u.test(t))return!1;let n=Intl.Segmenter;return(n?[...new n().segment(t)].length:[...t].length)<=3}function Zme(e){return(e.trim().split(/[\s._/-]+/).filter(Boolean).slice(0,2).map(e=>e[0]??``).join(``)||e.trim().slice(0,2)).toUpperCase()}var Qme=e=>e<26?`$1`:e<34?`$2`:e<44?`$4`:`$6`;function r6({org:e,size:t=22,maxW:n}){let[r,i]=(0,b.useState)(!1);return(0,b.useEffect)(()=>i(!1),[e.logo]),e.logo&&Xme(e.logo)?(0,L.jsx)(z,{width:t,height:t,items:`center`,justify:`center`,style:{flexShrink:0},children:(0,L.jsx)(H,{fontSize:Math.round(t*.72),lineHeight:t,children:e.logo.trim()})}):e.logo&&!r?(0,L.jsx)(`img`,{src:e.logo,alt:``,onError:()=>i(!0),style:{height:t,width:n?`auto`:t,maxWidth:n??t,objectFit:`contain`,display:`block`,borderRadius:6,flexShrink:0}}):(0,L.jsx)(z,{width:t,height:t,rounded:`$3`,bg:`$edge`,items:`center`,justify:`center`,style:{flexShrink:0},children:(0,L.jsx)(H,{fontSize:Qme(t),fontWeight:`800`,color:`$ink`,children:Zme(e.displayName||e.name)})})}var i6=`theme`;function $me(){if(typeof document>`u`)return;let e=document.documentElement;if(e.classList.contains(`dark`))return`dark`;if(e.classList.contains(`light`))return`light`;try{let e=window.localStorage.getItem(i6);if(e===`light`||e===`dark`)return e}catch{}}function ehe(e){if(typeof document>`u`)return;let t=document.documentElement;t.classList.toggle(`dark`,e===`dark`),t.classList.toggle(`light`,e===`light`),t.style.colorScheme=e;try{window.localStorage.setItem(i6,e)}catch{}}function a6({theme:e,defaultTheme:t,onToggle:n,onThemeChange:r,size:i=`$2`,label:a}){let o=e!==void 0,[s,c]=(0,b.useState)(()=>e??t??$me()??`dark`),l=(o?e:s)===`dark`,u=F3(),{t:d}=FM();return(0,L.jsx)(gS,{size:i,chromeless:!0,icon:l?(0,L.jsx)(use,{size:16}):(0,L.jsx)(Yj,{size:16}),onPress:()=>{let e=l?`light`:`dark`;u({component:`ThemeToggle`,action:`change`,value:e}),o||(c(e),ehe(e)),n?.(e),r?.(e)},"aria-label":a??d(l?`Switch to light theme`:`Switch to dark theme`)})}var the=(0,b.lazy)(()=>Va(()=>import(`./ThemeToggleNext-Ce1pVODm.js`),[])),nhe=class extends b.Component{state={failed:!1};static getDerivedStateFromError(){return{failed:!0}}render(){return this.state.failed?this.props.fallback:this.props.children}};function o6(e){if(e.theme!==void 0||e.onToggle!==void 0||e.onThemeChange!==void 0)return(0,L.jsx)(a6,{...e});let t=(0,L.jsx)(a6,{...e});return(0,L.jsx)(nhe,{fallback:t,children:(0,L.jsx)(b.Suspense,{fallback:t,children:(0,L.jsx)(the,{size:e.size,label:e.label})})})}var rhe=(0,b.createContext)({}),ihe=()=>(0,b.useContext)(rhe);function ahe(e){let t=typeof e?.status==`number`?e.status:0,n=e instanceof Error?e.message:String(e);return t===503?{kind:`not-initialized`,message:n}:t===404||t===405?{kind:`unavailable`,message:n}:t===501?{kind:`not-implemented`,message:n}:t===402?{kind:`billing`,message:n}:t===401?{kind:`signin`,message:n}:t===403?{kind:`access`,message:n}:{kind:`error`,message:n}}var ohe={"not-initialized":MM(`Backend not initialized`),unavailable:MM(`Not available on this deployment yet`),"not-implemented":MM(`Not yet available`),access:MM(`Not enabled for your account`),signin:MM(`Your session expired`),billing:MM(`Add credits to continue`),error:MM(`Could not reach the backend`)},s6={"not-initialized":MM(`The /v1 route is mounted but its runtime (or the console API key it proxies to) is not configured on this deployment yet. Real data appears here once it is — no placeholder data is shown.`),unavailable:MM(`This endpoint is not mounted at the gateway on this host yet. The view lights up automatically once the route is live.`),"not-implemented":MM(`This capability is planned but not wired yet. The backend answers honestly rather than pretending it worked — nothing here is fabricated, and the view lights up automatically once it ships.`),access:MM(`You're signed in, but this isn't enabled for your organization on this deployment, or it's an admin-only surface. It appears here automatically once your account has access — nothing is fabricated.`),signin:MM(`Your session has expired or isn’t recognized here. Sign in again to continue where you left off.`),billing:``,error:``};function she({state:e,onRetry:t,hint:n}){let{signIn:r,addCredits:i}=ihe(),{t:a}=FM();return(0,L.jsxs)(N3,{borderWidth:1,borderColor:`$borderColor`,p:`$4`,gap:`$2`,maxW:640,children:[(0,L.jsxs)(B,{gap:`$2`,items:`center`,children:[(0,L.jsx)(fM,{size:16}),(0,L.jsx)(H,{fontSize:`$4`,fontWeight:`700`,children:a(ohe[e.kind])})]}),(0,L.jsx)(H,{fontSize:`$3`,color:`$quiet`,children:s6[e.kind]?a(s6[e.kind]):e.message}),n?(0,L.jsx)(H,{fontSize:`$2`,color:`$soft`,children:n}):null,e.kind===`signin`&&r?(0,L.jsx)(gS,{size:`$2`,theme:`light`,self:`flex-start`,onPress:r,children:a(`Sign in again`)}):e.kind===`billing`&&i?(0,L.jsxs)(B,{gap:`$2`,items:`center`,flexWrap:`wrap`,children:[(0,L.jsx)(gS,{size:`$2`,theme:`light`,self:`flex-start`,icon:(0,L.jsx)(Cj,{size:14}),onPress:i,children:a(`Add credits`)}),t?(0,L.jsx)(gS,{size:`$2`,self:`flex-start`,onPress:t,children:a(`Retry`)}):null]}):t?(0,L.jsx)(gS,{size:`$2`,self:`flex-start`,onPress:t,children:a(`Retry`)}):null]})}var che={fontWeight:`600`,px:`$3`};function lhe({onPress:e,...t}){let n=F3(),r=_N()===`compact`;return(0,L.jsx)(gS,{bg:`var(--primary)`,color:`var(--primary-foreground)`,borderColor:`var(--primary)`,hoverStyle:{bg:`var(--primary-hover)`,borderColor:`var(--primary-hover)`},pressStyle:{bg:`var(--primary-hover)`,borderColor:`var(--primary-hover)`},onPress:r=>{n({component:`PrimaryButton`,action:`click`,id:Fme(t.children)??t[`aria-label`]}),e?.(r)},...r?che:null,...t})}function c6(e){typeof window<`u`&&window.open(e,`_blank`,`noopener`)}function l6({icon:e,title:t,description:n,bullets:r,primary:i,secondary:a}){let o=F3();return(0,L.jsxs)(N3,{borderWidth:1,borderColor:`$borderColor`,borderStyle:`dashed`,p:`$6`,gap:`$4`,items:`center`,maxW:640,self:`center`,width:`100%`,children:[(0,L.jsx)(z,{width:48,height:48,items:`center`,justify:`center`,rounded:`$4`,bg:`$hover`,children:(0,L.jsx)(e,{size:24})}),(0,L.jsxs)(z,{gap:`$2`,items:`center`,maxW:480,children:[(0,L.jsx)(H,{fontSize:`$6`,fontWeight:`500`,text:`center`,letterSpacing:-.3,children:t}),(0,L.jsx)(H,{fontSize:`$3`,color:`$quiet`,text:`center`,children:n})]}),r&&r.length?(0,L.jsx)(z,{gap:`$2`,self:`stretch`,maxW:420,mx:`auto`,children:r.map(e=>(0,L.jsxs)(B,{gap:`$2`,items:`flex-start`,children:[(0,L.jsx)(z,{pt:`$1`,children:(0,L.jsx)(cj,{size:14,color:`$soft`})}),(0,L.jsx)(H,{fontSize:`$3`,color:`$quiet`,flex:1,children:e})]},e))}):null,i||a?(0,L.jsxs)(B,{gap:`$2`,items:`center`,flexWrap:`wrap`,justify:`center`,children:[i?(0,L.jsx)(lhe,{icon:i.icon,iconAfter:i.href?(0,L.jsx)(Dj,{size:16}):(0,L.jsx)($A,{...jN,size:16}),onPress:()=>{o({component:`EmptyState`,action:`click`,id:t,value:i.label}),i.href?c6(i.href):i.onPress?.()},children:i.label}):null,a?(0,L.jsx)(gS,{chromeless:!0,icon:a.icon,iconAfter:a.href?(0,L.jsx)(Dj,{size:14}):void 0,onPress:()=>{o({component:`EmptyState`,action:`click`,id:t,value:a.label}),a.href?c6(a.href):a.onPress?.()},children:a.label}):null]}):null]})}var u6=new Map;function d6(e,t){u6.set(e,t)}function f6(e){return u6.get(e)}var p6={AC:`247`,AD:`376`,AE:`971`,AF:`93`,AG:`1`,AI:`1`,AL:`355`,AM:`374`,AO:`244`,AR:`54`,AS:`1`,AT:`43`,AU:`61`,AW:`297`,AX:`358`,AZ:`994`,BA:`387`,BB:`1`,BD:`880`,BE:`32`,BF:`226`,BG:`359`,BH:`973`,BI:`257`,BJ:`229`,BL:`590`,BM:`1`,BN:`673`,BO:`591`,BQ:`599`,BR:`55`,BS:`1`,BT:`975`,BW:`267`,BY:`375`,BZ:`501`,CA:`1`,CC:`61`,CD:`243`,CF:`236`,CG:`242`,CH:`41`,CI:`225`,CK:`682`,CL:`56`,CM:`237`,CN:`86`,CO:`57`,CR:`506`,CU:`53`,CV:`238`,CW:`599`,CX:`61`,CY:`357`,CZ:`420`,DE:`49`,DJ:`253`,DK:`45`,DM:`1`,DO:`1`,DZ:`213`,EC:`593`,EE:`372`,EG:`20`,EH:`212`,ER:`291`,ES:`34`,ET:`251`,FI:`358`,FJ:`679`,FK:`500`,FM:`691`,FO:`298`,FR:`33`,GA:`241`,GB:`44`,GD:`1`,GE:`995`,GF:`594`,GG:`44`,GH:`233`,GI:`350`,GL:`299`,GM:`220`,GN:`224`,GP:`590`,GQ:`240`,GR:`30`,GT:`502`,GU:`1`,GW:`245`,GY:`592`,HK:`852`,HN:`504`,HR:`385`,HT:`509`,HU:`36`,ID:`62`,IE:`353`,IL:`972`,IM:`44`,IN:`91`,IO:`246`,IQ:`964`,IR:`98`,IS:`354`,IT:`39`,JE:`44`,JM:`1`,JO:`962`,JP:`81`,KE:`254`,KG:`996`,KH:`855`,KI:`686`,KM:`269`,KN:`1`,KP:`850`,KR:`82`,KW:`965`,KY:`1`,KZ:`7`,LA:`856`,LB:`961`,LC:`1`,LI:`423`,LK:`94`,LR:`231`,LS:`266`,LT:`370`,LU:`352`,LV:`371`,LY:`218`,MA:`212`,MC:`377`,MD:`373`,ME:`382`,MF:`590`,MG:`261`,MH:`692`,MK:`389`,ML:`223`,MM:`95`,MN:`976`,MO:`853`,MP:`1`,MQ:`596`,MR:`222`,MS:`1`,MT:`356`,MU:`230`,MV:`960`,MW:`265`,MX:`52`,MY:`60`,MZ:`258`,NA:`264`,NC:`687`,NE:`227`,NF:`672`,NG:`234`,NI:`505`,NL:`31`,NO:`47`,NP:`977`,NR:`674`,NU:`683`,NZ:`64`,OM:`968`,PA:`507`,PE:`51`,PF:`689`,PG:`675`,PH:`63`,PK:`92`,PL:`48`,PM:`508`,PR:`1`,PS:`970`,PT:`351`,PW:`680`,PY:`595`,QA:`974`,RE:`262`,RO:`40`,RS:`381`,RU:`7`,RW:`250`,SA:`966`,SB:`677`,SC:`248`,SD:`249`,SE:`46`,SG:`65`,SH:`290`,SI:`386`,SJ:`47`,SK:`421`,SL:`232`,SM:`378`,SN:`221`,SO:`252`,SR:`597`,SS:`211`,ST:`239`,SV:`503`,SX:`1`,SY:`963`,SZ:`268`,TA:`290`,TC:`1`,TD:`235`,TG:`228`,TH:`66`,TJ:`992`,TK:`690`,TL:`670`,TM:`993`,TN:`216`,TO:`676`,TR:`90`,TT:`1`,TV:`688`,TW:`886`,TZ:`255`,UA:`380`,UG:`256`,US:`1`,UY:`598`,UZ:`998`,VA:`39`,VC:`1`,VE:`58`,VG:`1`,VI:`1`,VN:`84`,VU:`678`,WF:`681`,WS:`685`,XK:`383`,YE:`967`,YT:`262`,ZA:`27`,ZM:`260`,ZW:`263`},m6=e=>e==null?``:String(e),h6=e=>{if(e==null||e===``)return null;let t=typeof e==`number`?e:Number(e);return Number.isFinite(t)?t:null},g6=e=>Array.isArray(e)?e:e==null||e===``?[]:[e],_6=e=>{if(e==null||e===``)return``;if(e instanceof Date)return Number.isNaN(e.getTime())?``:e.toISOString().slice(0,10);let t=String(e),n=t.match(/^(\d{4}-\d{2}-\d{2})/);if(n)return n[1];let r=new Date(t);return Number.isNaN(r.getTime())?``:r.toISOString().slice(0,10)},uhe=e=>{if(e==null||e===``)return null;let t=e instanceof Date?e:new Date(e);return Number.isNaN(t.getTime())?null:t},v6=e=>{if(e==null||e===``)return{};if(typeof e==`string`){let t=e.trim(),n=t.indexOf(` `);return n<0?{first:t}:{first:t.slice(0,n),last:t.slice(n+1).trim()}}if(typeof e!=`object`)return{first:String(e)};let t=e;return{first:m6(t.first??t.firstName).trim()||void 0,last:m6(t.last??t.lastName).trim()||void 0}},y6=e=>{let t=v6(e);return[t.first,t.last].filter(Boolean).join(` `)},b6=[`street1`,`street2`,`city`,`state`,`postcode`,`country`],x6=e=>{if(e==null||e===``)return{};if(typeof e==`string`)return{street1:e};let t=e,n={},r={street1:`addressStreet1`,street2:`addressStreet2`,city:`addressCity`,state:`addressState`,postcode:`addressPostcode`,country:`addressCountry`};for(let e of b6){let i=m6(t[e]??t[r[e]]).trim();i&&(n[e]=i)}return n},dhe=(e,t)=>{if(!e)return``;if(!/^[A-Za-z]{2}$/.test(e))return e;try{return new Intl.DisplayNames(t?[t]:void 0,{type:`region`}).of(e.toUpperCase())??e}catch{return e}},S6=(e,t)=>{let n=x6(e);return b6.map(e=>e===`country`?dhe(n.country,t):n[e]).filter(Boolean).join(`, `)},C6=e=>g6(e).map(e=>typeof e==`string`?{url:e}:e).filter(e=>!!e&&typeof e.url==`string`&&e.url.trim()!==``),w6=e=>{let t=e.trim();try{let e=new URL(/^[a-z][a-z0-9+.-]*:/i.test(t)?t:`https://${t}`);return e.host.replace(/^www\./,``)+(e.pathname===`/`?``:e.pathname.replace(/\/$/,``))}catch{return t}},T6=e=>{let t=e.trim();if(!t)return;let n=/^[a-z][a-z0-9+.-]*:/i.test(t)?t:`https://${t}`;try{let e=new URL(n);return[`http:`,`https:`,`mailto:`,`tel:`].includes(e.protocol)?e.href:void 0}catch{return}},E6=e=>{if(e&&typeof e==`object`&&!Array.isArray(e)){let t=e;return[m6(t.primaryEmail),...g6(t.additionalEmails).map(m6)].map(e=>e.trim()).filter(Boolean)}return g6(e).flatMap(e=>m6(e).split(/[,;]/)).map(e=>e.trim()).filter(Boolean)},fhe=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),phe=(()=>{let e={};for(let[t,n]of Object.entries(p6))(e[n]??=[]).push(t);for(let[t,n]of Object.entries({1:`US`,7:`RU`,44:`GB`,47:`NO`,61:`AU`,212:`MA`,262:`RE`,290:`SH`,358:`FI`,590:`GP`,599:`CW`})){let r=e[t];r?.includes(n)&&(e[t]=[n,...r.filter(e=>e!==n)])}return e})(),D6=(e,t)=>{if(e&&typeof e==`object`){let t=e,n=m6(t.number??t.primaryPhoneNumber).trim(),r=m6(t.country??t.countryCode??t.primaryPhoneCountryCode).trim().toUpperCase()||void 0;return{country:r,callingCode:m6(t.callingCode??t.primaryPhoneCallingCode).replace(/^\+/,``).trim()||(r?p6[r]:void 0),number:n}}let n=m6(e).trim();if(!n.startsWith(`+`)){let e=t?.toUpperCase();return{country:e,callingCode:e?p6[e]:void 0,number:n}}let r=n.slice(1).replace(/[^\d]/g,``);for(let e=Math.min(4,r.length);e>0;e--){let i=r.slice(0,e),a=phe[i];if(a)return{country:t&&a.includes(t.toUpperCase())?t.toUpperCase():a[0],callingCode:i,number:mhe(n.slice(1),e)}}return{number:n}},mhe=(e,t)=>{let n=0,r=0;for(;r<e.length&&n<t;)/\d/.test(e[r++])&&n++;return e.slice(r).replace(/^[\s.()-]+/,``).trim()},O6=e=>{let t=e.number.trim();return t?e.callingCode?`+${e.callingCode} ${t.replace(/^0+(?=\d)/,``)}`:t:``},hhe=e=>{let t=e.number.replace(/[^\d]/g,``).replace(/^0+(?=\d)/,``);if(t)return`tel:${e.callingCode?`+${e.callingCode}`:``}${t}`},k6=e=>{if(e==null||e===``)return null;if(typeof e==`string`)return{name:e};let t=e,n=m6(t.name??t.workspaceMemberName??t.label).trim();return n?{name:n,source:m6(t.source).toLowerCase()||void 0,avatarUrl:m6(t.avatarUrl).trim()||void 0}:null},A6=e=>{if(e==null||e===``)return``;if(typeof e==`object`){let t=e;return typeof t.markdown==`string`&&t.markdown.trim()?A6(t.markdown):`blocknote`in t||`content`in t||`type`in t||Array.isArray(e)?A6(j6(e).join(`
168
+ @media (prefers-reduced-motion:reduce){.hanzo-motion .hanzo-mark,.hanzo-motion .hanzo-word>span{animation:none!important}.hanzo-motion .hanzo-word>span{transition:none}}`,qme=({variant:e=`current`,size:t=64,className:n,style:r,animated:i=!1,wordmark:a=`Hanzo`})=>{if(i)return(0,L.jsxs)(`span`,{className:n,style:r,children:[(0,L.jsx)(`style`,{dangerouslySetInnerHTML:{__html:Kme}}),(0,L.jsxs)(`span`,{className:`hanzo-motion`,children:[(0,L.jsx)(`span`,{className:`hanzo-mark`,style:{width:t,height:t},dangerouslySetInnerHTML:{__html:W3()}}),(0,L.jsx)(`span`,{className:`hanzo-word`,children:(0,L.jsx)(`span`,{children:a})})]})]});let o=``;switch(e){case`mono`:o=V3();break;case`white`:o=H3();break;case`light`:o=U3();break;case`current`:o=W3();break;case`favicon`:o=J3();break;case`animated`:o=Wme();break;case`color`:o=B3();break;default:o=W3()}return(0,L.jsx)(`div`,{className:n,style:{width:t,height:t,...r},dangerouslySetInnerHTML:{__html:o}})},X3={viewBox:zme,content:Bme},Z3={hanzo:X3,lux:{viewBox:`0 0 100 100`,content:`<path d="M50 85 L15 25 L85 25 Z"/>`},zoo:{viewBox:`0 0 1024 1024`,colored:!0,content:`<defs><clipPath id="zooClip"><circle cx="512" cy="511" r="270"/></clipPath><clipPath id="zooGClip"><circle cx="513" cy="369" r="234"/></clipPath><clipPath id="zooRClip"><circle cx="365" cy="595" r="234"/></clipPath></defs><g clip-path="url(#zooClip)"><circle cx="513" cy="369" r="234" fill="#00A652"/><circle cx="365" cy="595" r="234" fill="#ED1C24"/><circle cx="643" cy="595" r="234" fill="#2E3192"/><g clip-path="url(#zooGClip)"><circle cx="365" cy="595" r="234" fill="#FCF006"/><circle cx="643" cy="595" r="234" fill="#01ACF1"/></g><g clip-path="url(#zooRClip)"><circle cx="643" cy="595" r="234" fill="#EA018E"/></g><g clip-path="url(#zooGClip)"><g clip-path="url(#zooRClip)"><circle cx="643" cy="595" r="234" fill="#FFFFFF"/></g></g></g>`},pars:{viewBox:`-120 -120 240 240`,content:`<path d="M0,-100 L30,-60 L100,-40 L60,0 L100,40 L30,60 L0,100 L-30,60 L-100,40 L-60,0 L-100,-40 L-30,-60 Z" fill="none" stroke="currentColor" stroke-width="4" stroke-linejoin="round"/><path d="M0,-70 L22,-42 L70,-28 L42,0 L70,28 L22,42 L0,70 L-22,42 L-70,28 L-42,0 L-70,-28 L-22,-42 Z" fill="currentColor" fill-opacity="0.15" stroke="currentColor" stroke-width="3" stroke-linejoin="round"/><circle r="55" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.4"/><circle r="35" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.4"/><circle r="8" fill="currentColor"/>`},"7stars":X3,yotoda:X3},Q3={accent1:`#000000`,surface1:`#FFFFFF`,surface2:`#FAFAFA`,neutral1:`#0A0A0A`,neutral2:`rgba(10, 10, 10, 0.6)`},$3={accent1:`#FFFFFF`,surface1:`#000000`,surface2:`#111111`,neutral1:`#FAFAFA`,neutral2:`rgba(250, 250, 250, 0.6)`},e6=(e,t)=>`https://cdn.jsdelivr.net/npm/${e}/${t}`,t6={id:`hanzo`,name:`Hanzo`,title:`Hanzo AI`,tagline:`Enterprise AI infrastructure and frontier models`,legalName:`Hanzo AI Inc.`,domain:`hanzo.ai`,docsDomain:`docs.hanzo.ai`,adminDomain:`hanzo.ai`,accentColor:`#FFFFFF`,theme:{light:Q3,dark:$3},social:{twitter:`https://x.com/hanzoai`,github:`https://github.com/hanzoai`,discord:`https://discord.gg/CJCyAsm9Vr`,linkedin:`https://linkedin.com/company/hanzoai`},mark:Z3.hanzo,logoUrl:e6(`@hanzo/brand@1.4.7`,`assets/logo/logo.svg`),faviconUrl:e6(`@hanzo/brand@1.4.7`,`assets/logo/favicon.svg`)},n6={hanzo:t6,lux:{id:`lux`,name:`Lux`,title:`Lux Network`,tagline:`High-performance, post-quantum blockchain infrastructure`,legalName:`Lux Industries Inc.`,domain:`lux.network`,docsDomain:`docs.lux.network`,adminDomain:`lux.network`,accentColor:`#FFFFFF`,theme:{light:Q3,dark:$3},social:{twitter:`https://x.com/luxdefi`,github:`https://github.com/luxfi`,discord:`https://discord.gg/lux`},mark:Z3.lux,logoUrl:e6(`@luxfi/logo@1.0.8`,`svg/lux-icon-white.svg`),faviconUrl:e6(`@luxfi/logo@1.0.8`,`svg/lux-favicon.svg`)},zoo:{id:`zoo`,name:`Zoo`,title:`Zoo`,tagline:`Open, decentralized AI & science research network`,legalName:`Zoo Labs Foundation`,domain:`zoo.ngo`,docsDomain:`docs.zoo.ngo`,adminDomain:`zoo.ngo`,accentColor:`#01ACF1`,theme:{light:{...Q3,accent1:`#01ACF1`},dark:{...$3,accent1:`#01ACF1`}},social:{twitter:`https://x.com/zoo_labs`,github:`https://github.com/zooai`,discord:`https://discord.gg/zoo`},mark:Z3.zoo,logoUrl:e6(`@zooai/brand@1.4.1`,`assets/logo/logo.svg`),faviconUrl:e6(`@zooai/brand@1.4.1`,`assets/logo/logo.svg`)},pars:{id:`pars`,name:`Pars`,title:`Pars Network`,tagline:`A sovereign, verifiable identity layer for the Pars community`,legalName:`Parsis Foundation`,domain:`pars.network`,docsDomain:`docs.pars.network`,adminDomain:`pars.network`,accentColor:`#caa24a`,theme:{light:{...Q3,accent1:`#caa24a`},dark:{...$3,accent1:`#caa24a`}},social:{twitter:`https://x.com/parsnetwork`,github:`https://github.com/parsdao`},mark:Z3.pars,logoUrl:e6(`@parsdao/brand@1.0.1`,`assets/logo/logo.svg`),faviconUrl:e6(`@parsdao/brand@1.0.1`,`assets/logo/logo.svg`)},"7stars":{id:`7stars`,name:`7Stars`,title:`7Stars`,tagline:`Cloud, powered by Hanzo`,legalName:`7Stars`,domain:`7stars.dev`,docsDomain:`docs.7stars.dev`,adminDomain:`7stars.dev`,accentColor:`#FFFFFF`,theme:{light:Q3,dark:$3},social:{},mark:Z3[`7stars`],logoUrl:t6.logoUrl,faviconUrl:t6.faviconUrl},yotoda:{id:`yotoda`,name:`Yotoda`,title:`Yotoda`,tagline:`Cloud, powered by Hanzo`,legalName:`Yotoda`,domain:`yotoda.tech`,docsDomain:`docs.yotoda.tech`,adminDomain:`yotoda.tech`,accentColor:`#FFFFFF`,theme:{light:Q3,dark:$3},social:{},mark:Z3.yotoda,logoUrl:t6.logoUrl,faviconUrl:t6.faviconUrl}},Jme=()=>typeof window>`u`?I3:Rme(window.location.hostname);function Yme({size:e=20,brand:t,wordmark:n,animated:r=!0,color:i=`currentColor`}){let a=t??Jme(),o=Z3[a]??Z3.hanzo,s=n6[a]?.name??n6.hanzo.name,c=n===!1?s:n??s;if(typeof r==`function`){let t=r().replace(`<svg `,`<svg width="100%" height="100%" `);return(0,L.jsx)(`span`,{role:`img`,"aria-label":c,style:{width:e,height:e,display:`inline-flex`,flexShrink:0},dangerouslySetInnerHTML:{__html:t}})}return r&&a===`hanzo`?(0,L.jsx)(qme,{animated:!0,size:e,wordmark:n===!1?void 0:c}):(0,L.jsx)(`svg`,{width:e,height:e,viewBox:o.viewBox,role:`img`,"aria-label":c,...o.colored?null:{fill:i},style:{display:`block`,flexShrink:0},dangerouslySetInnerHTML:{__html:o.content}})}function Xme(e){let t=e.trim();if(!t||/^(https?:|data:|\/)/.test(t)||!/[\p{Extended_Pictographic}\p{Regional_Indicator}]/u.test(t))return!1;let n=Intl.Segmenter;return(n?[...new n().segment(t)].length:[...t].length)<=3}function Zme(e){return(e.trim().split(/[\s._/-]+/).filter(Boolean).slice(0,2).map(e=>e[0]??``).join(``)||e.trim().slice(0,2)).toUpperCase()}var Qme=e=>e<26?`$1`:e<34?`$2`:e<44?`$4`:`$6`;function r6({org:e,size:t=22,maxW:n}){let[r,i]=(0,b.useState)(!1);return(0,b.useEffect)(()=>i(!1),[e.logo]),e.logo&&Xme(e.logo)?(0,L.jsx)(z,{width:t,height:t,items:`center`,justify:`center`,style:{flexShrink:0},children:(0,L.jsx)(H,{fontSize:Math.round(t*.72),lineHeight:t,children:e.logo.trim()})}):e.logo&&!r?(0,L.jsx)(`img`,{src:e.logo,alt:``,onError:()=>i(!0),style:{height:t,width:n?`auto`:t,maxWidth:n??t,objectFit:`contain`,display:`block`,borderRadius:6,flexShrink:0}}):(0,L.jsx)(z,{width:t,height:t,rounded:`$3`,bg:`$edge`,items:`center`,justify:`center`,style:{flexShrink:0},children:(0,L.jsx)(H,{fontSize:Qme(t),fontWeight:`800`,color:`$ink`,children:Zme(e.displayName||e.name)})})}var i6=`theme`;function $me(){if(typeof document>`u`)return;let e=document.documentElement;if(e.classList.contains(`dark`))return`dark`;if(e.classList.contains(`light`))return`light`;try{let e=window.localStorage.getItem(i6);if(e===`light`||e===`dark`)return e}catch{}}function ehe(e){if(typeof document>`u`)return;let t=document.documentElement;t.classList.toggle(`dark`,e===`dark`),t.classList.toggle(`light`,e===`light`),t.style.colorScheme=e;try{window.localStorage.setItem(i6,e)}catch{}}function a6({theme:e,defaultTheme:t,onToggle:n,onThemeChange:r,size:i=`$2`,label:a}){let o=e!==void 0,[s,c]=(0,b.useState)(()=>e??t??$me()??`dark`),l=(o?e:s)===`dark`,u=F3(),{t:d}=FM();return(0,L.jsx)(gS,{size:i,chromeless:!0,icon:l?(0,L.jsx)(use,{size:16}):(0,L.jsx)(Yj,{size:16}),onPress:()=>{let e=l?`light`:`dark`;u({component:`ThemeToggle`,action:`change`,value:e}),o||(c(e),ehe(e)),n?.(e),r?.(e)},"aria-label":a??d(l?`Switch to light theme`:`Switch to dark theme`)})}var the=(0,b.lazy)(()=>Va(()=>import(`./ThemeToggleNext-CJw-doaf.js`),[])),nhe=class extends b.Component{state={failed:!1};static getDerivedStateFromError(){return{failed:!0}}render(){return this.state.failed?this.props.fallback:this.props.children}};function o6(e){if(e.theme!==void 0||e.onToggle!==void 0||e.onThemeChange!==void 0)return(0,L.jsx)(a6,{...e});let t=(0,L.jsx)(a6,{...e});return(0,L.jsx)(nhe,{fallback:t,children:(0,L.jsx)(b.Suspense,{fallback:t,children:(0,L.jsx)(the,{size:e.size,label:e.label})})})}var rhe=(0,b.createContext)({}),ihe=()=>(0,b.useContext)(rhe);function ahe(e){let t=typeof e?.status==`number`?e.status:0,n=e instanceof Error?e.message:String(e);return t===503?{kind:`not-initialized`,message:n}:t===404||t===405?{kind:`unavailable`,message:n}:t===501?{kind:`not-implemented`,message:n}:t===402?{kind:`billing`,message:n}:t===401?{kind:`signin`,message:n}:t===403?{kind:`access`,message:n}:{kind:`error`,message:n}}var ohe={"not-initialized":MM(`Backend not initialized`),unavailable:MM(`Not available on this deployment yet`),"not-implemented":MM(`Not yet available`),access:MM(`Not enabled for your account`),signin:MM(`Your session expired`),billing:MM(`Add credits to continue`),error:MM(`Could not reach the backend`)},s6={"not-initialized":MM(`The /v1 route is mounted but its runtime (or the console API key it proxies to) is not configured on this deployment yet. Real data appears here once it is — no placeholder data is shown.`),unavailable:MM(`This endpoint is not mounted at the gateway on this host yet. The view lights up automatically once the route is live.`),"not-implemented":MM(`This capability is planned but not wired yet. The backend answers honestly rather than pretending it worked — nothing here is fabricated, and the view lights up automatically once it ships.`),access:MM(`You're signed in, but this isn't enabled for your organization on this deployment, or it's an admin-only surface. It appears here automatically once your account has access — nothing is fabricated.`),signin:MM(`Your session has expired or isn’t recognized here. Sign in again to continue where you left off.`),billing:``,error:``};function she({state:e,onRetry:t,hint:n}){let{signIn:r,addCredits:i}=ihe(),{t:a}=FM();return(0,L.jsxs)(N3,{borderWidth:1,borderColor:`$borderColor`,p:`$4`,gap:`$2`,maxW:640,children:[(0,L.jsxs)(B,{gap:`$2`,items:`center`,children:[(0,L.jsx)(fM,{size:16}),(0,L.jsx)(H,{fontSize:`$4`,fontWeight:`700`,children:a(ohe[e.kind])})]}),(0,L.jsx)(H,{fontSize:`$3`,color:`$quiet`,children:s6[e.kind]?a(s6[e.kind]):e.message}),n?(0,L.jsx)(H,{fontSize:`$2`,color:`$soft`,children:n}):null,e.kind===`signin`&&r?(0,L.jsx)(gS,{size:`$2`,theme:`light`,self:`flex-start`,onPress:r,children:a(`Sign in again`)}):e.kind===`billing`&&i?(0,L.jsxs)(B,{gap:`$2`,items:`center`,flexWrap:`wrap`,children:[(0,L.jsx)(gS,{size:`$2`,theme:`light`,self:`flex-start`,icon:(0,L.jsx)(Cj,{size:14}),onPress:i,children:a(`Add credits`)}),t?(0,L.jsx)(gS,{size:`$2`,self:`flex-start`,onPress:t,children:a(`Retry`)}):null]}):t?(0,L.jsx)(gS,{size:`$2`,self:`flex-start`,onPress:t,children:a(`Retry`)}):null]})}var che={fontWeight:`600`,px:`$3`};function lhe({onPress:e,...t}){let n=F3(),r=_N()===`compact`;return(0,L.jsx)(gS,{bg:`var(--primary)`,color:`var(--primary-foreground)`,borderColor:`var(--primary)`,hoverStyle:{bg:`var(--primary-hover)`,borderColor:`var(--primary-hover)`},pressStyle:{bg:`var(--primary-hover)`,borderColor:`var(--primary-hover)`},onPress:r=>{n({component:`PrimaryButton`,action:`click`,id:Fme(t.children)??t[`aria-label`]}),e?.(r)},...r?che:null,...t})}function c6(e){typeof window<`u`&&window.open(e,`_blank`,`noopener`)}function l6({icon:e,title:t,description:n,bullets:r,primary:i,secondary:a}){let o=F3();return(0,L.jsxs)(N3,{borderWidth:1,borderColor:`$borderColor`,borderStyle:`dashed`,p:`$6`,gap:`$4`,items:`center`,maxW:640,self:`center`,width:`100%`,children:[(0,L.jsx)(z,{width:48,height:48,items:`center`,justify:`center`,rounded:`$4`,bg:`$hover`,children:(0,L.jsx)(e,{size:24})}),(0,L.jsxs)(z,{gap:`$2`,items:`center`,maxW:480,children:[(0,L.jsx)(H,{fontSize:`$6`,fontWeight:`500`,text:`center`,letterSpacing:-.3,children:t}),(0,L.jsx)(H,{fontSize:`$3`,color:`$quiet`,text:`center`,children:n})]}),r&&r.length?(0,L.jsx)(z,{gap:`$2`,self:`stretch`,maxW:420,mx:`auto`,children:r.map(e=>(0,L.jsxs)(B,{gap:`$2`,items:`flex-start`,children:[(0,L.jsx)(z,{pt:`$1`,children:(0,L.jsx)(cj,{size:14,color:`$soft`})}),(0,L.jsx)(H,{fontSize:`$3`,color:`$quiet`,flex:1,children:e})]},e))}):null,i||a?(0,L.jsxs)(B,{gap:`$2`,items:`center`,flexWrap:`wrap`,justify:`center`,children:[i?(0,L.jsx)(lhe,{icon:i.icon,iconAfter:i.href?(0,L.jsx)(Dj,{size:16}):(0,L.jsx)($A,{...jN,size:16}),onPress:()=>{o({component:`EmptyState`,action:`click`,id:t,value:i.label}),i.href?c6(i.href):i.onPress?.()},children:i.label}):null,a?(0,L.jsx)(gS,{chromeless:!0,icon:a.icon,iconAfter:a.href?(0,L.jsx)(Dj,{size:14}):void 0,onPress:()=>{o({component:`EmptyState`,action:`click`,id:t,value:a.label}),a.href?c6(a.href):a.onPress?.()},children:a.label}):null]}):null]})}var u6=new Map;function d6(e,t){u6.set(e,t)}function f6(e){return u6.get(e)}var p6={AC:`247`,AD:`376`,AE:`971`,AF:`93`,AG:`1`,AI:`1`,AL:`355`,AM:`374`,AO:`244`,AR:`54`,AS:`1`,AT:`43`,AU:`61`,AW:`297`,AX:`358`,AZ:`994`,BA:`387`,BB:`1`,BD:`880`,BE:`32`,BF:`226`,BG:`359`,BH:`973`,BI:`257`,BJ:`229`,BL:`590`,BM:`1`,BN:`673`,BO:`591`,BQ:`599`,BR:`55`,BS:`1`,BT:`975`,BW:`267`,BY:`375`,BZ:`501`,CA:`1`,CC:`61`,CD:`243`,CF:`236`,CG:`242`,CH:`41`,CI:`225`,CK:`682`,CL:`56`,CM:`237`,CN:`86`,CO:`57`,CR:`506`,CU:`53`,CV:`238`,CW:`599`,CX:`61`,CY:`357`,CZ:`420`,DE:`49`,DJ:`253`,DK:`45`,DM:`1`,DO:`1`,DZ:`213`,EC:`593`,EE:`372`,EG:`20`,EH:`212`,ER:`291`,ES:`34`,ET:`251`,FI:`358`,FJ:`679`,FK:`500`,FM:`691`,FO:`298`,FR:`33`,GA:`241`,GB:`44`,GD:`1`,GE:`995`,GF:`594`,GG:`44`,GH:`233`,GI:`350`,GL:`299`,GM:`220`,GN:`224`,GP:`590`,GQ:`240`,GR:`30`,GT:`502`,GU:`1`,GW:`245`,GY:`592`,HK:`852`,HN:`504`,HR:`385`,HT:`509`,HU:`36`,ID:`62`,IE:`353`,IL:`972`,IM:`44`,IN:`91`,IO:`246`,IQ:`964`,IR:`98`,IS:`354`,IT:`39`,JE:`44`,JM:`1`,JO:`962`,JP:`81`,KE:`254`,KG:`996`,KH:`855`,KI:`686`,KM:`269`,KN:`1`,KP:`850`,KR:`82`,KW:`965`,KY:`1`,KZ:`7`,LA:`856`,LB:`961`,LC:`1`,LI:`423`,LK:`94`,LR:`231`,LS:`266`,LT:`370`,LU:`352`,LV:`371`,LY:`218`,MA:`212`,MC:`377`,MD:`373`,ME:`382`,MF:`590`,MG:`261`,MH:`692`,MK:`389`,ML:`223`,MM:`95`,MN:`976`,MO:`853`,MP:`1`,MQ:`596`,MR:`222`,MS:`1`,MT:`356`,MU:`230`,MV:`960`,MW:`265`,MX:`52`,MY:`60`,MZ:`258`,NA:`264`,NC:`687`,NE:`227`,NF:`672`,NG:`234`,NI:`505`,NL:`31`,NO:`47`,NP:`977`,NR:`674`,NU:`683`,NZ:`64`,OM:`968`,PA:`507`,PE:`51`,PF:`689`,PG:`675`,PH:`63`,PK:`92`,PL:`48`,PM:`508`,PR:`1`,PS:`970`,PT:`351`,PW:`680`,PY:`595`,QA:`974`,RE:`262`,RO:`40`,RS:`381`,RU:`7`,RW:`250`,SA:`966`,SB:`677`,SC:`248`,SD:`249`,SE:`46`,SG:`65`,SH:`290`,SI:`386`,SJ:`47`,SK:`421`,SL:`232`,SM:`378`,SN:`221`,SO:`252`,SR:`597`,SS:`211`,ST:`239`,SV:`503`,SX:`1`,SY:`963`,SZ:`268`,TA:`290`,TC:`1`,TD:`235`,TG:`228`,TH:`66`,TJ:`992`,TK:`690`,TL:`670`,TM:`993`,TN:`216`,TO:`676`,TR:`90`,TT:`1`,TV:`688`,TW:`886`,TZ:`255`,UA:`380`,UG:`256`,US:`1`,UY:`598`,UZ:`998`,VA:`39`,VC:`1`,VE:`58`,VG:`1`,VI:`1`,VN:`84`,VU:`678`,WF:`681`,WS:`685`,XK:`383`,YE:`967`,YT:`262`,ZA:`27`,ZM:`260`,ZW:`263`},m6=e=>e==null?``:String(e),h6=e=>{if(e==null||e===``)return null;let t=typeof e==`number`?e:Number(e);return Number.isFinite(t)?t:null},g6=e=>Array.isArray(e)?e:e==null||e===``?[]:[e],_6=e=>{if(e==null||e===``)return``;if(e instanceof Date)return Number.isNaN(e.getTime())?``:e.toISOString().slice(0,10);let t=String(e),n=t.match(/^(\d{4}-\d{2}-\d{2})/);if(n)return n[1];let r=new Date(t);return Number.isNaN(r.getTime())?``:r.toISOString().slice(0,10)},uhe=e=>{if(e==null||e===``)return null;let t=e instanceof Date?e:new Date(e);return Number.isNaN(t.getTime())?null:t},v6=e=>{if(e==null||e===``)return{};if(typeof e==`string`){let t=e.trim(),n=t.indexOf(` `);return n<0?{first:t}:{first:t.slice(0,n),last:t.slice(n+1).trim()}}if(typeof e!=`object`)return{first:String(e)};let t=e;return{first:m6(t.first??t.firstName).trim()||void 0,last:m6(t.last??t.lastName).trim()||void 0}},y6=e=>{let t=v6(e);return[t.first,t.last].filter(Boolean).join(` `)},b6=[`street1`,`street2`,`city`,`state`,`postcode`,`country`],x6=e=>{if(e==null||e===``)return{};if(typeof e==`string`)return{street1:e};let t=e,n={},r={street1:`addressStreet1`,street2:`addressStreet2`,city:`addressCity`,state:`addressState`,postcode:`addressPostcode`,country:`addressCountry`};for(let e of b6){let i=m6(t[e]??t[r[e]]).trim();i&&(n[e]=i)}return n},dhe=(e,t)=>{if(!e)return``;if(!/^[A-Za-z]{2}$/.test(e))return e;try{return new Intl.DisplayNames(t?[t]:void 0,{type:`region`}).of(e.toUpperCase())??e}catch{return e}},S6=(e,t)=>{let n=x6(e);return b6.map(e=>e===`country`?dhe(n.country,t):n[e]).filter(Boolean).join(`, `)},C6=e=>g6(e).map(e=>typeof e==`string`?{url:e}:e).filter(e=>!!e&&typeof e.url==`string`&&e.url.trim()!==``),w6=e=>{let t=e.trim();try{let e=new URL(/^[a-z][a-z0-9+.-]*:/i.test(t)?t:`https://${t}`);return e.host.replace(/^www\./,``)+(e.pathname===`/`?``:e.pathname.replace(/\/$/,``))}catch{return t}},T6=e=>{let t=e.trim();if(!t)return;let n=/^[a-z][a-z0-9+.-]*:/i.test(t)?t:`https://${t}`;try{let e=new URL(n);return[`http:`,`https:`,`mailto:`,`tel:`].includes(e.protocol)?e.href:void 0}catch{return}},E6=e=>{if(e&&typeof e==`object`&&!Array.isArray(e)){let t=e;return[m6(t.primaryEmail),...g6(t.additionalEmails).map(m6)].map(e=>e.trim()).filter(Boolean)}return g6(e).flatMap(e=>m6(e).split(/[,;]/)).map(e=>e.trim()).filter(Boolean)},fhe=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),phe=(()=>{let e={};for(let[t,n]of Object.entries(p6))(e[n]??=[]).push(t);for(let[t,n]of Object.entries({1:`US`,7:`RU`,44:`GB`,47:`NO`,61:`AU`,212:`MA`,262:`RE`,290:`SH`,358:`FI`,590:`GP`,599:`CW`})){let r=e[t];r?.includes(n)&&(e[t]=[n,...r.filter(e=>e!==n)])}return e})(),D6=(e,t)=>{if(e&&typeof e==`object`){let t=e,n=m6(t.number??t.primaryPhoneNumber).trim(),r=m6(t.country??t.countryCode??t.primaryPhoneCountryCode).trim().toUpperCase()||void 0;return{country:r,callingCode:m6(t.callingCode??t.primaryPhoneCallingCode).replace(/^\+/,``).trim()||(r?p6[r]:void 0),number:n}}let n=m6(e).trim();if(!n.startsWith(`+`)){let e=t?.toUpperCase();return{country:e,callingCode:e?p6[e]:void 0,number:n}}let r=n.slice(1).replace(/[^\d]/g,``);for(let e=Math.min(4,r.length);e>0;e--){let i=r.slice(0,e),a=phe[i];if(a)return{country:t&&a.includes(t.toUpperCase())?t.toUpperCase():a[0],callingCode:i,number:mhe(n.slice(1),e)}}return{number:n}},mhe=(e,t)=>{let n=0,r=0;for(;r<e.length&&n<t;)/\d/.test(e[r++])&&n++;return e.slice(r).replace(/^[\s.()-]+/,``).trim()},O6=e=>{let t=e.number.trim();return t?e.callingCode?`+${e.callingCode} ${t.replace(/^0+(?=\d)/,``)}`:t:``},hhe=e=>{let t=e.number.replace(/[^\d]/g,``).replace(/^0+(?=\d)/,``);if(t)return`tel:${e.callingCode?`+${e.callingCode}`:``}${t}`},k6=e=>{if(e==null||e===``)return null;if(typeof e==`string`)return{name:e};let t=e,n=m6(t.name??t.workspaceMemberName??t.label).trim();return n?{name:n,source:m6(t.source).toLowerCase()||void 0,avatarUrl:m6(t.avatarUrl).trim()||void 0}:null},A6=e=>{if(e==null||e===``)return``;if(typeof e==`object`){let t=e;return typeof t.markdown==`string`&&t.markdown.trim()?A6(t.markdown):`blocknote`in t||`content`in t||`type`in t||Array.isArray(e)?A6(j6(e).join(`
169
169
  `)):``}for(let t of String(e).split(`
170
170
  `)){let e=t.replace(/^\s{0,3}(#{1,6}\s+|>\s?|[-*+]\s+|\d+[.)]\s+|-\s\[[ x]\]\s+)/i,``).replace(/!\[[^\]]*\]\([^)]*\)/g,``).replace(/\[([^\]]*)\]\([^)]*\)/g,`$1`).replace(/(\*\*|__|\*|_|~~|`)/g,``).trim();if(e)return e}return``},j6=e=>{if(typeof e==`string`)try{return j6(JSON.parse(e))}catch{return[e]}if(Array.isArray(e))return e.flatMap(j6);if(e&&typeof e==`object`){let t=e,n=typeof t.text==`string`?[t.text]:[],r=[t.content,t.children,t.blocknote].flatMap(e=>e==null?[]:j6(e));return t.type&&r.length?[[...n,...r].join(``)]:[...n,...r]}return[]},ghe=(e,t)=>{if(typeof t==`string`)return t;if(t&&typeof t==`object`){let n=t;return m6(n[e]??n.label??n.name??n.id)}return``};function M6(){return(0,L.jsx)(H,{fontSize:`$2`,color:`var(--text-faint)`,"aria-label":`Empty`,children:`—`})}var N6=({text:e,color:t=`$ink`,mono:n})=>(0,L.jsx)(L1,{text:e,size:`$2`,color:t,...n?{fontFamily:`$mono`}:null}),P6={target:`_blank`,rel:`noopener noreferrer`};function F6({label:e,color:t}){return(0,L.jsx)(R1,{color:t??`gray`,children:e})}var I6=(e,t)=>e?.find(e=>e.value===t)??{value:t,label:t};function _he({value:e}){let t=m6(e).trim();return t?(0,L.jsx)(N6,{text:t}):(0,L.jsx)(M6,{})}function vhe({value:e}){let t=m6(e).trim();return t?(0,L.jsx)(L1,{text:t,lineClamp:2,size:`$2`,color:`$ink`,isTooltipMultiline:!0}):(0,L.jsx)(M6,{})}function yhe({value:e}){let t=A6(e);return t?(0,L.jsx)(N6,{text:t,color:`$aside`}):(0,L.jsx)(M6,{})}function bhe({value:e}){let t=E6(e);return t.length===0?(0,L.jsx)(M6,{}):(0,L.jsx)(U6,{children:t.map((e,t)=>(0,L.jsx)(B1,{shape:`round`,variant:`soft`,label:e,href:`mailto:${e}`},`${e}-${t}`))})}var L6=({url:e,label:t})=>{let n=T6(e);return(0,L.jsx)(B1,{shape:`round`,variant:`soft`,label:t?.trim()||w6(e),tooltipContent:e,...n?{href:n,...P6}:null})};function xhe({value:e}){let t=C6(e);return t.length===0?(0,L.jsx)(M6,{}):t.length===1?(0,L.jsx)(L6,{url:t[0].url,label:t[0].label}):(0,L.jsx)(U6,{children:t.map((e,t)=>(0,L.jsx)(L6,{url:e.url,label:e.label},`${e.url}-${t}`))})}function She({value:e}){let t=C6(e);return t.length===0?(0,L.jsx)(M6,{}):(0,L.jsx)(U6,{children:t.map((e,t)=>(0,L.jsx)(L6,{url:e.url,label:e.label},`${e.url}-${t}`))})}function Che({field:e,value:t}){let n=e.metadata?.defaultCountry,r=(Array.isArray(t)?t:[t]).map(e=>D6(e,n)).filter(e=>e.number);return r.length===0?(0,L.jsx)(M6,{}):(0,L.jsx)(U6,{children:r.map((e,t)=>{let n=hhe(e);return(0,L.jsx)(B1,{shape:`round`,variant:`soft`,label:O6(e),...n?{href:n}:null},`${e.number}-${t}`)})})}var whe={fontVariant:[`tabular-nums`]},R6=({text:e})=>(0,L.jsx)(H,{fontSize:`$2`,color:`$ink`,numberOfLines:1,...whe,children:e});function z6({field:e,value:t}){let n=h6(t);if(n==null)return(0,L.jsx)(M6,{});let r=e.metadata??{},i=r.decimals==null?n.toLocaleString():n.toLocaleString(void 0,{minimumFractionDigits:r.decimals,maximumFractionDigits:r.decimals});return(0,L.jsx)(R6,{text:`${r.prefix??``}${i}${r.suffix??``}`})}function The({field:e,value:t}){let n=h6(t);if(n==null)return(0,L.jsx)(M6,{});let r=(e.metadata??{}).decimals??0;return(0,L.jsx)(R6,{text:`${n.toLocaleString(void 0,{minimumFractionDigits:r,maximumFractionDigits:r})}%`})}function Ehe({field:e,value:t}){let n=e.metadata??{},r=t??{},i=h6(typeof r==`object`&&r?r.amount:t);if(i==null)return(0,L.jsx)(M6,{});let a=typeof r==`object`&&r?.currencyCode||n.currencyCode||`USD`,o;try{o=new Intl.NumberFormat(void 0,{style:`currency`,currency:a,maximumFractionDigits:n.decimals??2}).format(i)}catch{o=`${i} ${a}`}return(0,L.jsx)(R6,{text:o})}function B6({value:e,max:t,hover:n}){let r=kl().aside?.get?.()??`currentColor`,i=n??e;return(0,L.jsx)(B,{items:`center`,gap:2,"aria-hidden":!0,children:Array.from({length:t},(e,t)=>t+1).map(e=>(0,L.jsx)(sM,{size:16,color:e<=i?`$aside`:`$raised`,fill:e<=i?r:`none`},e))})}function Dhe({field:e,value:t}){let n=(e.metadata??{}).max??5,r=Math.max(0,Math.min(n,Math.round(h6(t)??0)));return(0,L.jsx)(B,{role:`img`,"aria-label":`${r} of ${n}`,children:(0,L.jsx)(B6,{value:r,max:n})})}function Ohe({field:e,value:t}){if(t==null||t===``)return(0,L.jsx)(M6,{});let n=e.metadata??{},r=t===!0||t===`true`||t===1;return(0,L.jsxs)(B,{items:`center`,gap:`$1`,height:20,children:[(0,L.jsx)(r?cj:vM,{size:14,color:`$aside`}),(0,L.jsx)(H,{fontSize:`$2`,color:`$aside`,children:r?n.trueLabel??`Yes`:n.falseLabel??`No`})]})}function khe({field:e,value:t}){let n=m6(t);if(!n)return(0,L.jsx)(M6,{});let r=e.metadata?.options,i=I6(r,n);return(0,L.jsx)(F6,{label:i.label,color:i.color})}function Ahe({field:e,value:t}){let n=g6(t).map(m6).filter(Boolean);if(n.length===0)return(0,L.jsx)(M6,{});let r=e.metadata?.options;return(0,L.jsx)(U6,{children:n.map(e=>{let t=I6(r,e);return(0,L.jsx)(F6,{label:t.label,color:t.color},e)})})}var jhe=[[`year`,31536e3],[`month`,2592e3],[`week`,604800],[`day`,86400],[`hour`,3600],[`minute`,60]],V6=(e,t=Date.now())=>{let n=(e.getTime()-t)/1e3,r=new Intl.RelativeTimeFormat(void 0,{numeric:`auto`});for(let[e,t]of jhe)if(Math.abs(n)>=t)return r.format(Math.round(n/t),e);return r.format(Math.round(n),`second`)};function Mhe({field:e,value:t}){let n=_6(t);if(!n)return(0,L.jsx)(M6,{});let r=new Date(`${n}T00:00:00Z`);if(e.metadata?.display===`relative`){let e=new Date(new Date().toISOString().slice(0,10)+`T00:00:00Z`);return(0,L.jsx)(N6,{text:V6(r,e.getTime())})}return(0,L.jsx)(N6,{text:r.toLocaleDateString(void 0,{timeZone:`UTC`,year:`numeric`,month:`short`,day:`numeric`})})}function Nhe({field:e,value:t}){let n=uhe(t);if(!n)return(0,L.jsx)(M6,{});let r=e.metadata?.display===`relative`;return(0,L.jsx)(N6,{text:r?V6(n):n.toLocaleString(void 0,{year:`numeric`,month:`short`,day:`numeric`,hour:`numeric`,minute:`2-digit`,timeZoneName:`short`})})}function Phe({label:e,seed:t,src:n,shape:r=`square`,href:i,onPress:a}){return(0,L.jsx)(B1,{label:e,startElement:(0,L.jsx)(SP,{size:`md`,shape:r===`circle`?`circle`:`square`,name:e,colorSeed:t??e,src:n??null}),...i?{href:i}:null,...a?{onPress:a}:null})}function Fhe({field:e,value:t}){let n=e.metadata??{},r=n.labelField??`name`,i=g6(t).map(e=>{let t=ghe(r,e),i=e&&typeof e==`object`?e:null,a=i&&m6(i[n.avatarField??`avatarUrl`]).trim()||void 0;return{label:t,seed:i&&m6(i.id)||t,src:a}}).filter(e=>e.label);if(i.length===0)return(0,L.jsx)(M6,{});let a=i.map((e,t)=>(0,L.jsx)(Phe,{label:e.label,seed:e.seed,src:e.src,shape:n.shape},`${e.seed}-${t}`));return i.length===1?a[0]:(0,L.jsx)(U6,{children:a})}var Ihe={api:vj,import:pM,email:Hj,calendar:sj,workflow:_se,webhook:gse,system:nj,manual:Tj};function Lhe({value:e}){let t=k6(e);if(!t)return(0,L.jsx)(M6,{});let n=t.source&&t.source!==`member`?Ihe[t.source]:void 0;return(0,L.jsx)(B1,{label:t.name,startElement:n?(0,L.jsx)(n,{size:14,color:`$hint`}):(0,L.jsx)(SP,{size:`md`,shape:`circle`,name:t.name,src:t.avatarUrl??null})})}function Rhe({value:e}){let t=y6(e);return t?(0,L.jsx)(N6,{text:t}):(0,L.jsx)(M6,{})}function zhe({value:e}){let t=S6(e);return t?(0,L.jsx)(N6,{text:t}):(0,L.jsx)(M6,{})}function Bhe({value:e}){let t=m6(e);return t?(0,L.jsx)(N6,{text:t,color:`$hint`,mono:!0}):(0,L.jsx)(M6,{})}function Vhe({value:e}){let t=g6(e).map(e=>typeof e==`string`?{name:e}:e).map(e=>({name:m6(e?.label??e?.name).trim()||`file`,url:m6(e?.url).trim()}));return t.length===0?(0,L.jsx)(M6,{}):(0,L.jsx)(U6,{children:t.map((e,t)=>{let n=e.url?T6(e.url):void 0;return(0,L.jsx)(B1,{variant:`soft`,label:e.name,maxW:120,startElement:(0,L.jsx)(Xj,{size:14,color:`$hint`}),...n?{href:n,...P6}:null},`${e.name}-${t}`)})})}function H6({value:e}){if(e==null)return(0,L.jsx)(M6,{});let t;try{t=JSON.stringify(e)}catch{t=String(e)}return(0,L.jsx)(N6,{text:t,color:`$hint`,mono:!0})}function Hhe({value:e}){if(typeof e==`object`&&e)return(0,L.jsx)(H6,{field:{name:``,label:``,type:`json`},value:e});let t=m6(e);return t?(0,L.jsx)(N6,{text:t}):(0,L.jsx)(M6,{})}function U6({children:e}){return(0,L.jsx)(Ide,{flex:1,minW:0,children:e})}var W6=e=>{let t=new Map;return n=>{let r=n??``,i=t.get(r);return i===void 0&&t.set(r,i=e(n)),i}},G6=(e,t)=>{try{return new Intl.DisplayNames(e?[e]:void 0,{type:t})}catch{return null}},K6=W6(e=>{let t=G6(e,`region`),n=new Intl.Collator(e);return Object.entries(p6).map(([e,n])=>{let r=e;try{r=t?.of(e)??e}catch{r=e}return{value:e,label:r,callingCode:n}}).sort((e,t)=>n.compare(e.label,t.label))}),Uhe=(e,t)=>{try{let n=new Intl.NumberFormat(t,{style:`currency`,currency:e,currencyDisplay:`narrowSymbol`}).formatToParts(0).find(e=>e.type===`currency`)?.value;return n&&n!==e?n:void 0}catch{return}},Whe=W6(e=>{let t=Intl.supportedValuesOf,n=t?t(`currency`):[`USD`,`EUR`,`GBP`,`JPY`,`CNY`,`CAD`,`AUD`,`CHF`,`INR`,`BRL`],r=G6(e,`currency`);return n.map(t=>{let n=t;try{n=r?.of(t)??t}catch{n=t}return{code:t,name:n,symbol:Uhe(t,e)}})}),q6=e=>e.field.metadata?.options??[],J6=(e,t)=>{let n=e=>e.normalize(`NFD`).replace(/\p{M}/gu,``).toLowerCase(),r=n(t.trim());return r?e.filter(e=>n(e.label).includes(r)||n(e.value).includes(r)):e};function Y6({onSubmit:e,onCancel:t,multiline:n,children:r}){return(0,L.jsx)(z,{width:`100%`,minW:0,onKeyDown:r=>{r.nativeEvent?.isComposing||(r.key===`Enter`&&!(n&&r.shiftKey)?(r.preventDefault?.(),e?.()):r.key===`Escape`&&(r.preventDefault?.(),t?.()))},children:r})}var X6=e=>e.field.label;function Ghe({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=e.metadata?.placeholder;return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsx)(fI,{"aria-label":e.label,value:m6(t),onChangeText:e=>n(e),placeholder:o,autoFocus:a})})}function Khe({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=m6(Array.isArray(t)?t[0]:t),s=e.metadata?.placeholder??`name@example.com`;return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsx)(fI,{"aria-label":e.label,type:`email`,inputMode:`email`,autoComplete:`email`,value:o,onChangeText:e=>n(e.trim()),placeholder:s,autoFocus:a,"aria-invalid":o!==``&&!fhe(o)||void 0})})}function qhe({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=m6(typeof t==`object`&&t&&!Array.isArray(t)?t.url:t),s=e.metadata?.placeholder??`https://`;return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsx)(fI,{"aria-label":e.label,type:`url`,inputMode:`url`,value:o,onChangeText:e=>n(e.trim()),placeholder:s,autoFocus:a})})}function Jhe({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=e.metadata??{},s=D6(t,o.defaultCountry),[c,l]=(0,b.useState)(s.country??o.defaultCountry?.toUpperCase()),u=(0,b.useMemo)(()=>K6(),[]),d=(e,r)=>{let i=e?p6[e]:void 0;n(typeof t==`object`&&t&&!Array.isArray(t)?{...t,number:r,countryCode:e,callingCode:i?`+${i}`:void 0}:r.trim()?i?`+${i} ${r.trim()}`:r.trim():null)};return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsxs)(cI,{children:[(0,L.jsx)(Wde,{countries:u,value:c??null,onValueChange:e=>{l(e??void 0),d(e??void 0,s.number)}}),(0,L.jsx)(fI,{"aria-label":e.label,type:`tel`,inputMode:`tel`,autoComplete:`tel`,value:s.number,onChangeText:e=>d(c,e),placeholder:o.placeholder??`Phone number`,autoFocus:a})]})})}function Z6({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=e.metadata??{};return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,multiline:!0,children:(0,L.jsx)(QI,{"aria-label":e.label,value:m6(t),onChangeText:e=>n(e),placeholder:o.placeholder,autoFocus:a,rows:o.rows??3,maxRows:o.rows&&o.rows>10?o.rows:10})})}function Yhe({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=e.metadata??{};return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsx)(q1,{"aria-label":e.label,value:h6(t),onValueChange:e=>n(e),placeholder:o.placeholder,autoFocus:a,allowOutOfRange:!0,...o.decimals==null?null:{format:{maximumFractionDigits:o.decimals}}})})}function Xhe({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=(e.metadata??{}).decimals;return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsx)(cI,{end:(0,L.jsx)(H,{fontSize:`$2`,color:`$hint`,children:`%`}),children:(0,L.jsx)(q1,{"aria-label":e.label,value:h6(t),onValueChange:e=>n(e),autoFocus:a,allowOutOfRange:!0,...o==null?null:{format:{maximumFractionDigits:o}}})})})}function Zhe({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=e.metadata??{},s=t??{},c=h6(typeof s==`object`&&s?s.amount:t),l=typeof s==`object`&&s?.currencyCode||o.currencyCode||`USD`,u=(0,b.useMemo)(()=>Whe(),[]);return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsxs)(cI,{children:[(0,L.jsx)(Ude,{currencies:u,value:l,onValueChange:e=>n({amount:c,currencyCode:e??l}),selectedFirst:!0}),(0,L.jsx)(q1,{"aria-label":e.label,value:c,onValueChange:e=>n({amount:e,currencyCode:l}),autoFocus:a,allowOutOfRange:!0,format:{maximumFractionDigits:o.decimals??2}})]})})}function Qhe({field:e,value:t,onChange:n}){let r=(e.metadata??{}).max??5,i=Math.max(0,Math.min(r,Math.round(h6(t)??0))),[a,o]=(0,b.useState)(null),s=e=>n(Math.max(0,Math.min(r,e)));return(0,L.jsx)(B,{role:`slider`,tabIndex:0,onKeyDown:e=>{let t=e.key===`ArrowRight`||e.key===`ArrowUp`?i+1:e.key===`ArrowLeft`||e.key===`ArrowDown`?i-1:e.key===`Home`?0:e.key===`End`?r:null;t!=null&&(e.preventDefault?.(),s(t))},"aria-label":e.label,"aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":i,"aria-valuetext":`${i} of ${r}`,items:`center`,height:20,rounded:`$xs`,focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},onHoverOut:()=>o(null),children:(0,L.jsxs)(B,{position:`relative`,children:[(0,L.jsx)(B6,{value:i,max:r,hover:a}),(0,L.jsx)(B,{position:`absolute`,t:0,l:0,r:0,b:0,children:Array.from({length:r},(e,t)=>t+1).map(e=>(0,L.jsx)(B,{flex:1,cursor:`pointer`,onHoverIn:()=>o(e),onPress:()=>s(e===i?0:e),"data-star":e},e))})]})})}function $he({field:e,value:t,onChange:n}){let r=e.metadata??{},i=t===!0||t===`true`||t===1;return(0,L.jsxs)(B,{items:`center`,gap:`$2`,children:[(0,L.jsx)(BI,{"aria-label":e.label,checked:i,onCheckedChange:e=>n(e)}),(0,L.jsx)(H,{fontSize:`$2`,color:`$aside`,children:i?r.trueLabel??`Yes`:r.falseLabel??`No`})]})}function Q6({children:e,...t}){return(0,L.jsx)(q,{variant:`outline`,width:`100%`,justify:`space-between`,endIcon:(0,L.jsx)(lj,{color:`$hint`}),...t,children:(0,L.jsx)(B,{flex:1,minW:0,items:`center`,gap:`$1`,overflow:`hidden`,children:e})})}var $6=({text:e})=>(0,L.jsx)(H,{fontSize:`$2`,color:`$hush`,numberOfLines:1,children:e}),e8=e=>(0,b.useState)(!!e);function ege(e){let{value:t,onChange:n,autoFocus:r}=e,i=q6(e),[a,o]=e8(r),[s,c]=(0,b.useState)(``),l=m6(t),u=i.find(e=>e.value===l),d=J6(i,s);return(0,L.jsxs)(bF,{open:a,onOpenChange:e=>{o(e),e||c(``)},children:[(0,L.jsx)(SF,{asChild:!0,children:(0,L.jsx)(Q6,{"aria-label":X6(e),children:u?(0,L.jsx)(F6,{label:u.label,color:u.color}):(0,L.jsx)($6,{text:`Select…`})})}),(0,L.jsxs)(EF,{minW:240,children:[(0,L.jsx)(LF,{value:s,onValueChange:c,placeholder:`Search options`,"aria-label":`Search ${X6(e)}`}),l?(0,L.jsx)(AF,{onSelect:()=>n(null),children:`No ${X6(e)}`}):null,(0,L.jsx)(PF,{value:l||null,onValueChange:e=>n(e??null),children:(0,L.jsx)(RF,{scrollable:!0,children:d.map(e=>(0,L.jsx)(IF,{value:e.value,children:(0,L.jsx)(F6,{label:e.label,color:e.color})},e.value))})}),d.length===0?(0,L.jsx)(GF,{children:`No options`}):null]})]})}function tge(e){let{value:t,onChange:n,autoFocus:r}=e,i=q6(e),[a,o]=e8(r),[s,c]=(0,b.useState)(``),l=g6(t).map(m6).filter(Boolean),u=J6(i,s);return(0,L.jsxs)(bF,{open:a,onOpenChange:e=>{o(e),e||c(``)},children:[(0,L.jsx)(SF,{asChild:!0,children:(0,L.jsx)(Q6,{"aria-label":X6(e),children:l.length>0?l.map(e=>{let t=i.find(t=>t.value===e)??{value:e,label:e};return(0,L.jsx)(F6,{label:t.label,color:t.color},e)}):(0,L.jsx)($6,{text:`Select…`})})}),(0,L.jsxs)(EF,{minW:240,children:[(0,L.jsx)(LF,{value:s,onValueChange:c,placeholder:`Search options`,"aria-label":`Search ${X6(e)}`}),(0,L.jsx)(PF,{multiple:!0,value:l,onValueChange:e=>n(g6(e).map(m6)),children:(0,L.jsx)(RF,{scrollable:!0,children:u.map(e=>(0,L.jsx)(IF,{value:e.value,children:(0,L.jsx)(F6,{label:e.label,color:e.color})},e.value))})}),u.length===0?(0,L.jsx)(GF,{children:`No options`}):null]})]})}function nge(e){let{field:t,value:n,onChange:r,onSubmit:i,onCancel:a,autoFocus:o}=e,s=q6(e),c=(t.metadata??{}).shape??`square`,[l,u]=e8(o),[d,f]=(0,b.useState)(``);if(s.length===0){let e=m6(typeof n==`object`&&n?n.name??n.id:n);return(0,L.jsx)(Y6,{onSubmit:i,onCancel:a,children:(0,L.jsx)(fI,{"aria-label":t.label,value:e,onChangeText:e=>r(e),placeholder:`Related record id…`,autoFocus:o})})}let p=m6(typeof n==`object`&&n?n.id??n.value:n),m=s.find(e=>e.value===p),h=J6(s,d),g=e=>(0,L.jsxs)(B,{items:`center`,gap:`$2`,minW:0,children:[(0,L.jsx)(SP,{size:`md`,shape:c,name:e.label,colorSeed:e.value,src:e.avatarUrl??null}),(0,L.jsx)(H,{fontSize:`$2`,color:`$ink`,numberOfLines:1,children:e.label})]});return(0,L.jsxs)(bF,{open:l,onOpenChange:e=>{u(e),e||f(``)},children:[(0,L.jsx)(SF,{asChild:!0,children:(0,L.jsx)(Q6,{"aria-label":t.label,children:m?g(m):(0,L.jsx)($6,{text:`Link a record…`})})}),(0,L.jsxs)(EF,{minW:280,children:[(0,L.jsx)(LF,{value:d,onValueChange:f,placeholder:`Search records`,"aria-label":`Search ${t.label}`}),p?(0,L.jsx)(AF,{onSelect:()=>r(null),children:`No ${t.label}`}):null,(0,L.jsx)(PF,{value:p||null,onValueChange:e=>r(e??null),children:(0,L.jsx)(RF,{scrollable:!0,children:h.map(e=>(0,L.jsx)(IF,{value:e.value,children:g(e)},e.value))})}),h.length===0?(0,L.jsx)(GF,{children:`No record found`}):null]})]})}var t8=e=>String(e).padStart(2,`0`),n8=e=>{let[t,n,r]=e.split(`-`).map(Number);return new Date(t,n-1,r)},r8=e=>`${e.getFullYear()}-${t8(e.getMonth()+1)}-${t8(e.getDate())}`;function i8({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=e.type===`dateTime`,[s,c]=e8(a),l=o&&t!=null&&t!==``?new Date(t):null,u=o&&l&&!Number.isNaN(l.getTime())?r8(l):_6(t),d=l&&!Number.isNaN(l.getTime())?`${t8(l.getHours())}:${t8(l.getMinutes())}`:``,[f,p]=(0,b.useState)(null),m=(e,t=d)=>{if(!e)return n(null);if(!o)return n(e);let r=new Date(`${e}T${/^\d{2}:\d{2}$/.test(t)?t:`00:00`}`);n(Number.isNaN(r.getTime())?null:r.toISOString())},h=u?n8(u).toLocaleDateString(void 0,{year:`numeric`,month:`short`,day:`numeric`})+(o&&d?` ${d}`:``):``;return(0,L.jsxs)(_I,{open:s,onOpenChange:c,placement:`bottom-start`,children:[(0,L.jsx)(vI,{asChild:!0,children:(0,L.jsxs)(Q6,{"aria-label":e.label,children:[(0,L.jsx)(sj,{size:14,color:`$hint`}),h?(0,L.jsx)(H,{fontSize:`$2`,color:`$ink`,numberOfLines:1,children:h}):(0,L.jsx)($6,{text:`Pick a date…`})]})}),(0,L.jsx)(yI,{size:`sm`,width:280,children:(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsxs)(z,{gap:`$2`,children:[(0,L.jsxs)(B,{gap:`$1`,children:[(0,L.jsx)(fI,{"aria-label":`${e.label}, as YYYY-MM-DD`,size:`sm`,flex:1,value:f??u,placeholder:`YYYY-MM-DD`,onChangeText:e=>{p(e),/^\d{4}-\d{2}-\d{2}$/.test(e)&&!Number.isNaN(n8(e).getTime())?m(e):e===``&&m(``)},onBlur:()=>p(null)}),o?(0,L.jsx)(fI,{"aria-label":`${e.label}, time`,size:`sm`,width:72,value:d,placeholder:`HH:mm`,onChangeText:e=>{/^\d{2}:\d{2}$/.test(e)&&m(u||r8(new Date),e)}}):null]}),(0,L.jsx)(Rle,{mode:`single`,selected:u?n8(u):void 0,defaultMonth:u?n8(u):void 0,onSelect:e=>{m(e?r8(e):``),o||c(!1)}}),u?(0,L.jsx)(q,{size:`xs`,variant:`ghost`,emphasis:`subtle`,onPress:()=>{m(``),c(!1)},children:`Clear`}):null]})})})]})}function rge({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=C6(t),[s,c]=(0,b.useState)(``);return(0,L.jsxs)(z,{gap:`$1`,width:`100%`,minW:0,children:[o.map((e,t)=>(0,L.jsxs)(B,{items:`center`,gap:`$2`,minH:24,children:[(0,L.jsx)(H,{flex:1,minW:0,fontSize:`$2`,color:`$ink`,numberOfLines:1,children:e.label?.trim()||w6(e.url)}),(0,L.jsx)(q,{size:`icon-2xs`,variant:`ghost`,emphasis:`subtle`,"aria-label":`Remove ${e.label?.trim()||w6(e.url)}`,onPress:()=>n(o.filter((e,n)=>n!==t)),children:(0,L.jsx)(vM,{})})]},`${e.url}-${t}`)),(0,L.jsx)(Y6,{onSubmit:()=>{let e=s.trim();if(!e)return r?.();n([...o,{url:e}]),c(``)},onCancel:i,children:(0,L.jsx)(fI,{"aria-label":`Add to ${e.label}`,type:`url`,inputMode:`url`,value:s,onChangeText:c,placeholder:`Add a link`,autoFocus:a})})]})}function ige({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=v6(t),s=(e,t)=>n(!e?.trim()&&!t?.trim()?null:{first:e??``,last:t??``});return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsxs)(B,{gap:`$1`,children:[(0,L.jsx)(fI,{"aria-label":`${e.label}, first name`,flex:1,value:o.first??``,placeholder:`First name`,autoFocus:a,onChangeText:e=>{let t=v6(e);t.last&&!o.last&&e.includes(` `)?s(t.first,t.last):s(e,o.last)}}),(0,L.jsx)(fI,{"aria-label":`${e.label}, last name`,flex:1,value:o.last??``,placeholder:`Last name`,onChangeText:e=>s(o.first,e)})]})})}var a8={street1:`Address 1`,street2:`Address 2`,city:`City`,state:`State`,postcode:`Post code`,country:`Country`};function age({field:e,value:t,onChange:n,onSubmit:r,onCancel:i,autoFocus:a}){let o=(e.metadata??{}).defaultCountry,s=x6(t),c=(0,b.useMemo)(()=>K6().map(e=>({value:e.value,label:e.label})),[]),l=(e,t)=>{let r={...s,[e]:t??void 0};t||delete r[e],n(Object.keys(r).length?r:null)};return(0,L.jsx)(Y6,{onSubmit:r,onCancel:i,children:(0,L.jsxs)(z,{gap:`$1`,width:344,maxW:`100%`,children:[[`street1`,`street2`].map((e,t)=>(0,L.jsx)(fI,{"aria-label":a8[e],placeholder:a8[e],value:s[e]??``,autoFocus:a&&t===0,onChangeText:t=>l(e,t)},e)),(0,L.jsxs)(B,{gap:`$1`,children:[(0,L.jsx)(fI,{"aria-label":a8.city,placeholder:a8.city,flex:1,value:s.city??``,onChangeText:e=>l(`city`,e)}),(0,L.jsx)(fI,{"aria-label":a8.state,placeholder:a8.state,flex:1,value:s.state??``,onChangeText:e=>l(`state`,e)})]}),(0,L.jsxs)(B,{gap:`$1`,children:[(0,L.jsx)(fI,{"aria-label":a8.postcode,placeholder:a8.postcode,flex:1,value:s.postcode??``,onChangeText:e=>l(`postcode`,e)}),(0,L.jsx)(z,{flex:1,minW:0,children:(0,L.jsx)(Gde,{"aria-label":a8.country,countries:c,value:(s.country&&/^[A-Za-z]{2}$/.test(s.country)?s.country.toUpperCase():null)??o?.toUpperCase()??null,onValueChange:e=>l(`country`,e)})})]})]})})}function oge({value:e,onChange:t}){let n=g6(e),r=e=>typeof e==`string`?e:m6(e?.label??e?.name??`file`);return(0,L.jsxs)(z,{gap:`$2`,children:[typeof document<`u`?(0,L.jsx)(q,{size:`sm`,variant:`outline`,startIcon:(0,L.jsx)(pM,{}),onPress:()=>{if(typeof document>`u`)return;let e=document.createElement(`input`);e.type=`file`,e.multiple=!0,e.onchange=()=>t(e.files?[...n,...Array.from(e.files)]:n),e.click()},self:`flex-start`,children:`Choose files`}):(0,L.jsx)(H,{fontSize:`$2`,color:`$hint`,children:`File upload is available on the web.`}),n.length>0?(0,L.jsx)(B,{gap:`$1`,flexWrap:`wrap`,children:n.map((e,i)=>(0,L.jsxs)(B,{items:`center`,gap:`$1`,height:24,pl:`$2`,pr:`$1`,rounded:`$xs`,bg:`$hover`,children:[(0,L.jsx)(H,{fontSize:`$2`,color:`$ink`,numberOfLines:1,maxW:160,children:r(e)}),(0,L.jsx)(q,{size:`icon-2xs`,variant:`ghost`,emphasis:`subtle`,"aria-label":`Remove ${r(e)}`,onPress:()=>t(n.filter((e,t)=>t!==i)),children:(0,L.jsx)(vM,{})})]},`${r(e)}-${i}`))}):null]})}function sge(e){try{return JSON.stringify(e,null,2)}catch{return String(e)}}function cge({field:e,value:t,onChange:n,onCancel:r}){let[i,a]=(0,b.useState)(()=>t==null?``:typeof t==`string`?t:sge(t));return(0,L.jsx)(z,{gap:`$1`,width:400,maxW:`100%`,onKeyDown:e=>e.key===`Escape`&&r?.(),children:(0,L.jsx)(lde,{label:e.label,language:`json`,value:i,minHeight:120,maxHeight:300,onChange:e=>{a(e);let t=w1(e);t.kind===`empty`?n(null):t.kind===`json`&&n(t.value)}})})}var o8=!1;function s8(){o8||(o8=!0,d6(`text`,{Display:_he,Input:Ghe}),d6(`longText`,{Display:vhe,Input:Z6}),d6(`richText`,{Display:yhe,Input:Z6}),d6(`number`,{Display:z6,Input:Yhe}),d6(`percent`,{Display:The,Input:Xhe}),d6(`currency`,{Display:Ehe,Input:Zhe}),d6(`boolean`,{Display:Ohe,Input:$he}),d6(`select`,{Display:khe,Input:ege}),d6(`multiSelect`,{Display:Ahe,Input:tge}),d6(`date`,{Display:Mhe,Input:i8}),d6(`dateTime`,{Display:Nhe,Input:i8}),d6(`email`,{Display:bhe,Input:Khe}),d6(`url`,{Display:xhe,Input:qhe}),d6(`phone`,{Display:Che,Input:Jhe}),d6(`rating`,{Display:Dhe,Input:Qhe}),d6(`links`,{Display:She,Input:rge}),d6(`relation`,{Display:Fhe,Input:nge}),d6(`json`,{Display:H6,Input:cge}),d6(`files`,{Display:Vhe,Input:oge}),d6(`uuid`,{Display:Bhe}),d6(`fullName`,{Display:Rhe,Input:ige}),d6(`address`,{Display:zhe,Input:age}),d6(`position`,{Display:z6}),d6(`actor`,{Display:Lhe}))}s8();function c8(e){let t=f6(e.field.type)?.Display??Hhe;return(0,L.jsx)(t,{...e})}function l8(e){let t=f6(e.field.type)?.Input;return t?(0,L.jsx)(t,{...e}):null}function u8(e){return!!f6(e)?.Input}function d8({trigger:e,children:t,open:n,onOpenChange:r,placement:i=`bottom-start`,width:a=240,maxHeight:o=320,header:s}){return(0,L.jsxs)(_I,{placement:i,open:n,onOpenChange:r,allowFlip:!0,children:[(0,L.jsx)(vI,{asChild:!0,children:e}),(0,L.jsxs)(yI,{size:`sm`,p:0,gap:0,width:a,overflow:`hidden`,children:[s?(0,L.jsx)(z,{p:`$1`,borderBottomWidth:1,borderColor:`$borderColor`,children:s}):null,(0,L.jsx)(UE,{style:{maxHeight:o},children:(0,L.jsx)(z,{p:`$1`,gap:2,children:t})})]})]})}function f8({children:e,onPress:t,active:n,icon:r,trailing:i,tone:a=`default`}){return(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,onPress:t,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault?.(),t?.())},cursor:`pointer`,items:`center`,gap:`$2`,minH:32,px:`$2`,rounded:`$xs`,bg:n?`$hover`:`transparent`,hoverStyle:{bg:a===`danger`?`var(--state-error-bg)`:`$hover`},focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},children:[r?(0,L.jsx)(B,{items:`center`,justify:`center`,shrink:0,children:r}):null,(0,L.jsx)(z,{flex:1,minW:0,children:typeof e==`string`?(0,L.jsx)(H,{fontSize:`$2`,color:a===`danger`?`$bad`:`$aside`,numberOfLines:1,children:e}):e}),i??null]})}function p8({checked:e,indeterminate:t,onChange:n,size:r=16,label:i}){return(0,L.jsx)(RP,{size:r>16?`md`:`sm`,variant:`solid`,hoverable:!0,checked:t?`indeterminate`:!!e,onCheckedChange:()=>n?.(t?!0:!e),"aria-label":i??(t?`Select all`:`Select`)})}var m8=e=>e==null?``:String(e),h8=e=>{if(e==null||e===``)return null;if(typeof e==`object`&&!Array.isArray(e)&&`amount`in e)return h8(e.amount);let t=typeof e==`number`?e:Number(e);return Number.isFinite(t)?t:null},g8=e=>Array.isArray(e)?e:e==null?[]:[e],lge=864e5,uge=e=>typeof e==`string`&&/^\d{4}-\d{2}-\d{2}$/.test(e.trim()),_8=e=>{if(e==null||e===``)return null;let t=(e instanceof Date?e:new Date(e)).getTime();return Number.isNaN(t)?null:t},v8=(e,t)=>(e?.metadata?.options)?.find(e=>e.value===t)?.label??t;function dge(e,t){let n=e?.metadata?.labelField??`name`;if(typeof t==`string`)return t;if(t&&typeof t==`object`){let e=t;return m8(e[n]??e.label??e.name??e.id)}return``}function y8(e,t){switch(e?.type){case`number`:case`percent`:case`rating`:case`position`:return h8(t);case`currency`:{let e=t??{};return h8(typeof e==`object`&&e?e.amount:t)}case`boolean`:return+(t===!0||t===`true`||t===1);case`date`:case`dateTime`:return _8(t);case`select`:return t==null||t===``?null:v8(e,m8(t)).toLowerCase();case`multiSelect`:return g8(t).map(t=>v8(e,m8(t))).join(`, `).toLowerCase()||null;case`relation`:return dge(e,t).toLowerCase()||null;case`links`:return g8(t).map(e=>typeof e==`string`?e:e?.url??``).join(`, `).toLowerCase()||null;case`fullName`:return y6(t).toLowerCase()||null;case`address`:return S6(t).toLowerCase()||null;case`phone`:return O6(D6(t)).toLowerCase()||null;case`email`:return E6(t).join(`, `).toLowerCase()||null;case`actor`:return k6(t)?.name.toLowerCase()||null;case`richText`:return A6(t).toLowerCase()||null;default:{let e=m8(t);return e===``?null:e.toLowerCase()}}}var b8=(e,t)=>e.find(e=>e.name===t);function fge(e,t){return typeof e==`number`&&typeof t==`number`?e-t:String(e).localeCompare(String(t))}function pge(e,t,n){return t.length===0?e.slice():e.map((e,t)=>[e,t]).sort(([e,r],[i,a])=>{for(let r of t){let t=b8(n,r.field),a=y8(t,e[r.field]),o=y8(t,i[r.field]);if(a===null&&o===null)continue;if(a===null)return 1;if(o===null)return-1;let s=fge(a,o);if(s!==0)return r.dir===`asc`?s:-s}return r-a}).map(([e])=>e)}function mge(e,t){let n=e.length===1&&e[0].field===t?e[0]:void 0;return n?n.dir===`asc`?[{field:t,dir:`desc`}]:[]:[{field:t,dir:`asc`}]}function hge(e,t){return e.find(e=>e.field===t)?.dir}function x8(e){let t=Array.isArray(e)?e:[],n=e=>e==null||e===``?void 0:e;return[n(t[0]),n(t[1])]}function S8(e){return e.op===`isEmpty`||e.op===`isNotEmpty`?!0:e.op===`between`?x8(e.value).some(e=>e!==void 0):e.op===`isAnyOf`?Array.isArray(e.value)&&e.value.length>0:e.value!=null&&e.value!==``}var C8={contains:`contains`,notContains:`does not contain`,is:`is`,isNot:`is not`,gt:`is greater than`,gte:`is at least`,lt:`is less than`,lte:`is at most`,isEmpty:`is empty`,isNotEmpty:`is not empty`,isAnyOf:`is any of`,between:`is between`},gge=[`contains`,`notContains`,`is`,`isNot`,`isEmpty`,`isNotEmpty`],_ge=[`is`,`isNot`,`between`,`gt`,`gte`,`lt`,`lte`,`isEmpty`,`isNotEmpty`],vge=[`is`,`isNot`,`isAnyOf`,`isEmpty`,`isNotEmpty`],yge=[`is`];function w8(e){switch(e){case`number`:case`percent`:case`currency`:case`rating`:case`date`:case`dateTime`:return _ge;case`select`:case`multiSelect`:case`relation`:return vge;case`boolean`:return yge;default:return gge}}var T8=(e,t)=>t==null||t===``?!0:Array.isArray(t)?t.length===0:e?.type===`currency`&&h8(t?.amount)==null,bge=e=>e===`number`||e===`percent`||e===`currency`||e===`rating`||e===`date`||e===`dateTime`;function xge(e,t){if(e?.type===`multiSelect`)return g8(t).map(m8).filter(e=>e!==``);if(e?.type===`relation`){let e=Sge(t);return e?[e]:[]}let n=m8(t);return n===``?[]:[n]}var Sge=e=>{if(typeof e==`string`)return e;if(e&&typeof e==`object`){let t=e;return m8(t.id??t.value??``)}return``};function Cge(e,t,n){if(n.op===`isEmpty`)return T8(e,t);if(n.op===`isNotEmpty`)return!T8(e,t);let r=e?.type;if(r===`boolean`){let e=t===!0||t===`true`||t===1,r=n.value===!0||n.value===`true`||n.value===1;return n.op===`isNot`?e!==r:e===r}if(r===`select`||r===`multiSelect`||r===`relation`){let r=new Set(xge(e,t));if(n.op===`isAnyOf`){let e=new Set((Array.isArray(n.value)?n.value:[]).map(m8));return e.size===0||[...r].some(t=>e.has(t))}let i=m8(n.value);return n.op===`is`?r.has(i):n.op!==`isNot`||!r.has(i)}if(bge(r)){let i=y8(e,t),a=typeof i==`number`?i:null,o=r===`date`||r===`dateTime`,s=e=>o?_8(e):h8(e);if(n.op===`between`){let[e,t]=x8(n.value),r=e===void 0?null:s(e),i=t===void 0?null:s(t);if(a==null)return!1;let c=i!=null&&o&&uge(t)?i+lge-1:i;return(r==null||a>=r)&&(c==null||a<=c)}let c=s(n.value);if(a==null||c==null)return n.op===`isNot`;switch(n.op){case`is`:return a===c;case`isNot`:return a!==c;case`gt`:return a>c;case`gte`:return a>=c;case`lt`:return a<c;case`lte`:return a<=c;default:return!0}}let i=m8(y8(e,t)),a=m8(n.value).toLowerCase();switch(n.op){case`contains`:return i.includes(a);case`notContains`:return!i.includes(a);case`is`:return i===a;case`isNot`:return i!==a;default:return!0}}function wge(e,t,n,r=`and`){let i=t.filter(S8);if(i.length===0)return e.slice();let a=e=>t=>Cge(b8(n,t.field),e[t.field],t);return e.filter(e=>r===`or`?i.some(a(e)):i.every(a(e)))}function Tge(e,t,n){let r=t.trim().toLowerCase();return r?e.filter(e=>n.some(t=>{let n=y8(t,e[t.name]);return n!=null&&String(n).toLowerCase().includes(r)})):e.slice()}function Ege(e,t,n){let r=e.length,i=Math.max(1,Math.ceil(r/n)),a=Math.min(Math.max(1,t),i),o=(a-1)*n,s=e.slice(o,o+n);return{items:s,page:a,pageCount:i,total:r,from:r===0?0:o+1,to:o+s.length}}function Dge(e,t,n){let r=e.filter(e=>!n?.has(e.name));if(!t||t.length===0)return r;let i=new Map(r.map(e=>[e.name,e])),a=[];for(let e of t){let t=i.get(e);t&&(a.push(t),i.delete(e))}for(let e of r)i.has(e.name)&&a.push(e);return a}var Oge=new Set([`boolean`,`select`,`multiSelect`,`date`,`dateTime`,`relation`,`rating`,`files`]),E8=80,kge={regular:{row:44,pad:12,select:44},compact:{row:32,pad:8,select:28}};function Age(e){let{fields:t,records:n,getRowKey:r,loading:i,empty:a=`No records yet.`,sorts:o=[],onSortChange:s,onOpen:c,selectable:l,onSelectionChange:u,bulkActions:d,editable:f,onEditCommit:p,fieldOptions:m,columnOrder:h,onColumnOrderChange:g,hiddenFields:_,pageSize:v=25,remote:y}=e,x=kge[_N()],S=e.rowHeight??x.row,C=x.select,w=(0,b.useMemo)(()=>new Set(_??[]),[_]),[T,E]=(0,b.useState)(h);(0,b.useEffect)(()=>{h&&E(h)},[h]);let D=(0,b.useMemo)(()=>Dge(t,T,w),[t,T,w]),[O,k]=(0,b.useState)({}),[A,j]=(0,b.useState)(new Set),[ee,M]=(0,b.useState)(null),[te,ne]=(0,b.useState)(void 0),[N,P]=(0,b.useState)(null),[re,ie]=(0,b.useState)(1),ae=(0,b.useCallback)((e,t)=>r?r(e,t):e.id==null?String(t):String(e.id),[r]),oe=(0,b.useMemo)(()=>{if(y){let e=v>0?v:Math.max(1,n.length),t=y.total===0||n.length===0?0:(y.page-1)*e+1;return{items:n,page:y.page,pageCount:Math.max(1,Math.ceil(y.total/e)),total:y.total,from:t,to:t===0?0:t+n.length-1}}return v>0?Ege(n,re,v):{items:n,page:1,pageCount:1,total:n.length,from:+!!n.length,to:n.length}},[n,re,v,y]);(0,b.useEffect)(()=>{!y&&re>oe.pageCount&&ie(oe.pageCount)},[y,re,oe.pageCount]);let se=e=>{let t=Math.min(Math.max(1,e),oe.pageCount);y?y.onPage(t):ie(t)},ce=(0,b.useCallback)(e=>{j(e),u?.([...e])},[u]),le=oe.items.map((e,t)=>ae(e,t)),ue=le.length>0&&le.every(e=>A.has(e)),de=le.some(e=>A.has(e)),fe=()=>{let e=new Set(A);ue?le.forEach(t=>e.delete(t)):le.forEach(t=>e.add(t)),ce(e)},pe=e=>{let t=new Set(A);t.has(e)?t.delete(e):t.add(e),ce(t)},me=e=>s?.(mge(o,e)),he=(0,b.useRef)([]),[ge,F]=(0,b.useState)(null),_e=(e,t)=>n=>{let r=n.clientX??n.nativeEvent?.clientX??0,i=t?.getBoundingClientRect().width??E8,a=t=>k(n=>({...n,[e]:Math.max(E8,i+(t.clientX-r))})),o=()=>{window.removeEventListener(`pointermove`,a),window.removeEventListener(`pointerup`,o)};window.addEventListener(`pointermove`,a),window.addEventListener(`pointerup`,o)},I=e=>t=>{if(!g&&h)return;let n=he.current.map(e=>e?.getBoundingClientRect()??null),r=t.clientX??t.nativeEvent?.clientX??0;F({from:e,x:r,target:e});let i=t=>{let r=n.length-1;for(let e=0;e<n.length;e++){let i=n[e];if(i&&t.clientX<i.left+i.width/2){r=e;break}}F({from:e,x:t.clientX,target:r})},a=()=>{window.removeEventListener(`pointermove`,i),window.removeEventListener(`pointerup`,a),F(e=>{if(e&&e.target!==e.from){let t=D.map(e=>e.name),[n]=t.splice(e.from,1);t.splice(e.target,0,n),E(t),g?.(t)}return null})};window.addEventListener(`pointermove`,i),window.addEventListener(`pointerup`,a)},ve=(e,t,n)=>{f&&!t.readOnly&&u8(t.type)&&(M({key:e,field:t.name}),ne(n))},ye=()=>{M(null),ne(void 0)},be=(0,b.useCallback)(async(e,t,n)=>{let r=`${ee?.key}:${t.name}`;if(M(null),ne(void 0),p)try{P(r),await p(e,t,n)}finally{P(null)}},[ee,p]),xe=!f&&!!c,Se=(l?C:0)+D.reduce((e,t)=>e+(O[t.name]??t.width??160),0),Ce=e=>{let t=O[e.name]??e.width;return t?{width:t}:{flex:1,minW:140}},we={borderBottomWidth:1,borderColor:`$borderColor`};return(0,L.jsxs)(z,{"data-slot":`data-table`,rounded:`$3`,overflow:`hidden`,borderWidth:1,borderColor:`$borderColor`,bg:`$background`,children:[l&&A.size>0?(0,L.jsxs)(B,{items:`center`,justify:`space-between`,px:x.pad,py:`$2`,bg:`$panel`,...we,children:[(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`600`,color:`$ink`,children:`${A.size} selected`}),(0,L.jsxs)(B,{items:`center`,gap:`$2`,children:[d?.([...A]),(0,L.jsx)(q,{size:`xs`,variant:`ghost`,emphasis:`subtle`,onPress:()=>ce(new Set),children:`Clear`})]})]}):null,(0,L.jsxs)(z,{role:`table`,"aria-rowcount":oe.total+1,style:{minWidth:Se},children:[(0,L.jsxs)(B,{bg:`$panel`,minH:S,...we,role:`row`,children:[l?(0,L.jsx)(B,{width:C,items:`center`,justify:`center`,shrink:0,role:`columnheader`,children:(0,L.jsx)(p8,{checked:ue,indeterminate:!ue&&de,onChange:fe,label:`Select all rows`})}):null,D.map((e,t)=>{let n=hge(o,e.name),r=ge&&ge.target===t&&ge.from!==t;return(0,L.jsxs)(B,{...Ce(e),role:`columnheader`,"aria-sort":n===`asc`?`ascending`:n===`desc`?`descending`:void 0,items:`center`,gap:`$1`,px:x.pad,borderLeftWidth:r?2:0,borderLeftColor:`var(--primary)`,opacity:ge?.from===t?.5:1,ref:e=>{he.current[t]=e},style:{position:`relative`},children:[(0,L.jsxs)(B,{items:`center`,gap:`$1`,flex:1,minW:0,cursor:`pointer`,onPress:()=>me(e.name),onPointerDown:I(t),children:[(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`500`,numberOfLines:1,color:`$aside`,children:e.label}),n===`asc`?(0,L.jsx)(ej,{size:12,color:`$hint`}):n===`desc`?(0,L.jsx)(ZA,{size:12,color:`$hint`}):s?(0,L.jsx)(pj,{size:12,color:`$hush`}):null]}),(0,L.jsx)(z,{width:8,height:`100%`,cursor:`col-resize`,onPointerDown:_e(e.name,he.current[t]),style:{position:`absolute`,right:-4,top:0,zIndex:2}})]},e.name)})]}),i?(0,L.jsx)(B,{role:`row`,children:(0,L.jsxs)(B,{flex:1,px:`$4`,py:`$6`,items:`center`,justify:`center`,gap:`$2`,role:`cell`,"aria-live":`polite`,children:[(0,L.jsx)($k,{size:`small`,"aria-hidden":!0}),(0,L.jsx)(H,{fontSize:`$2`,color:`$hint`,children:`Loading…`})]})}):oe.items.length===0?(0,L.jsx)(B,{role:`row`,children:(0,L.jsx)(z,{flex:1,px:`$4`,py:`$7`,items:`center`,gap:`$1`,role:`cell`,children:typeof a==`string`?(0,L.jsx)(H,{fontSize:`$2`,color:`$hint`,children:a}):a})}):oe.items.map((e,t)=>{let n=ae(e,t),r=A.has(n);return(0,L.jsxs)(B,{group:!0,role:`row`,"aria-selected":l?r:void 0,items:`stretch`,cursor:xe?`pointer`:void 0,onPress:xe?()=>c?.(e):void 0,bg:r?`$hover`:`transparent`,hoverStyle:{bg:`$hover`},minH:S,...we,children:[l?(0,L.jsx)(B,{width:C,items:`center`,justify:`center`,shrink:0,role:`cell`,children:(0,L.jsx)(p8,{checked:r,onChange:()=>pe(n),label:`Select row ${oe.from+t}`})}):null,D.map((t,r)=>{let i=f&&ee?.key===n&&ee.field===t.name,a=f&&!t.readOnly&&u8(t.type),o=`${n}:${t.name}`,s=m?.(t)?{...t,metadata:{...t.metadata,options:m(t)}}:t;return(0,L.jsxs)(B,{...Ce(t),role:`cell`,items:`center`,px:x.pad,minW:0,style:{position:`relative`},children:[i?(0,L.jsx)(z,{flex:1,minW:0,py:`$1`,onPress:e=>e.stopPropagation?.(),children:(0,L.jsx)(l8,{field:s,value:te,autoFocus:!0,onChange:n=>Oge.has(t.type)?void be(e,t,n):ne(n),onSubmit:()=>void be(e,t,te),onCancel:ye})}):(0,L.jsxs)(B,{flex:1,minW:0,items:`center`,gap:`$1`,minH:S-8,cursor:a?`text`:void 0,onPress:a?()=>ve(n,t,e[t.name]):void 0,hoverStyle:a?{bg:`$raised`}:void 0,rounded:`$xs`,px:a?`$1`:0,mx:a?-4:0,overflow:`hidden`,children:[(0,L.jsx)(c8,{field:t,value:e[t.name]}),N===o?(0,L.jsx)($k,{size:`small`,"aria-hidden":!0}):null]}),r===0&&c&&f&&!i?(0,L.jsx)(B,{position:`absolute`,r:x.pad/2,opacity:0,"$group-hover":{opacity:1},focusWithinStyle:{opacity:1},children:(0,L.jsx)(xN,{framed:!0,size:`icon-2xs`,variant:`ghost`,children:(0,L.jsx)(q,{size:`icon-2xs`,variant:`ghost`,emphasis:`subtle`,"aria-label":`Open record`,onPress:()=>c(e),children:(0,L.jsx)(ese,{})})})}):null]},t.name)})]},n)})]}),!i&&v>0&&oe.total>0?(0,L.jsxs)(B,{items:`center`,justify:`space-between`,px:x.pad,py:`$1`,bg:`$panel`,borderTopWidth:1,borderColor:`$borderColor`,children:[(0,L.jsx)(H,{fontSize:`$1`,color:`$hint`,children:`${oe.from.toLocaleString()}–${oe.to.toLocaleString()} of ${oe.total.toLocaleString()}`}),(0,L.jsxs)(B,{items:`center`,gap:`$1`,children:[(0,L.jsx)(q,{size:`icon-xs`,variant:`ghost`,emphasis:`subtle`,"aria-label":`Previous page`,disabled:oe.page<=1,onPress:()=>se(oe.page-1),children:(0,L.jsx)(uj,{})}),(0,L.jsx)(H,{fontSize:`$1`,px:`$1`,color:`$hint`,children:`${oe.page.toLocaleString()} / ${oe.pageCount.toLocaleString()}`}),(0,L.jsx)(q,{size:`icon-xs`,variant:`ghost`,emphasis:`subtle`,"aria-label":`Next page`,disabled:oe.page>=oe.pageCount,onPress:()=>se(oe.page+1),children:(0,L.jsx)(dj,{})})]})]}):null]})}var jge=`red.ruby.crimson.tomato.orange.amber.yellow.lime.grass.green.jade.mint.teal.cyan.sky.blue.iris.violet.purple.plum.pink.bronze.gold.brown.gray.mauve.olive.sage.sand.slate`.split(`.`),Mge=e=>({bg:`var(--data-${e}-3)`,fg:`var(--data-${e}-11)`,border:`var(--data-${e}-6)`});Object.fromEntries(jge.map(e=>[e,Mge(e)]));var D8={text:`#f4f4f5`,textMuted:`#a1a1aa`,textFaint:`#71717a`,surface:`#09090b`,surfaceRaised:`#0a0a0a`,border:`#27272a`,hover:`#18181b`,accent:`#60a5fa`,danger:`#fca5a5`},Nge=R(z,{name:`Card`,backgroundColor:`$background`,position:`relative`,borderRadius:`$true`}),O8={header:32,check:24,value:156,icon:16,rows:2};function k8(e){return _N()===`compact`?(0,L.jsx)(Fge,{...e}):(0,L.jsx)(Ige,{...e})}var A8=(e,t,n)=>{let r=e??t[0]?.name,i=r==null?void 0:n[r];return{name:r,text:i==null||i===``?`Untitled`:String(i)}},Pge=e=>{let t=e?.target;return!!(t instanceof Element&&t.closest(`button, a, [role="button"], [role="checkbox"], [role="link"]`))};function Fge({titleField:e,fields:t,record:n,onPress:r,selected:i=!1,onSelectedChange:a,active:o=!1,fieldIcons:s,imageField:c,drag:l}){let[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)(!1),m=A8(e,t,n),h=t.filter(e=>e.name!==m.name&&e.name!==c),g=n.id==null?m.text:String(n.id),_=c?n[c]:void 0,v=r?()=>r(n):void 0,y=a&&(u||i);return(0,L.jsxs)(z,{"data-slot":`record-card`,"data-selected":i?``:void 0,"data-active":o?``:void 0,bg:i||o||f?`$hover`:`$panel`,borderWidth:1,borderColor:o?`$rim`:`$borderColor`,hoverStyle:{borderColor:`$rim`},rounded:`$xs`,overflow:`hidden`,cursor:v?`pointer`:void 0,opacity:l===`source`?.3:1,scale:l===`preview`?1.02:1,onHoverIn:()=>d(!0),onHoverOut:()=>d(!1),onFocus:()=>p(!0),onBlur:()=>p(!1),onPress:v?e=>Pge(e)?void 0:v():void 0,children:[(0,L.jsxs)(B,{"data-slot":`record-card-header`,minH:O8.header,items:`center`,pt:`$2`,pr:`$2`,pb:`$1`,pl:`$2`,children:[(0,L.jsx)(B,{flex:1,minW:0,children:(0,L.jsx)(B1,{size:`sm`,weight:`medium`,label:m.text,startElement:(0,L.jsx)(SP,{size:`sm`,shape:`rounded`,name:m.text,colorSeed:g,src:_??null}),...v?{onPress:v}:null})}),a?(0,L.jsx)(B,{"data-slot":`record-card-check`,height:20,width:y?O8.check:0,$touchable:{width:O8.check},overflow:`hidden`,justify:`flex-end`,items:`center`,shrink:0,style:{transition:`width 160ms var(--ease-out, ease)`},children:(0,L.jsx)(RP,{variant:`outline`,checked:i,onCheckedChange:e=>a(e===!0),"aria-label":`Select ${m.text}`})}):null]}),h.length?(0,L.jsx)(z,{"data-slot":`record-card-body`,gap:O8.rows,pt:0,pr:`$2`,pb:`$2`,pl:10,children:h.map(e=>(0,L.jsxs)(B,{items:`center`,gap:`$2`,minH:24,children:[s?.[e.name]?(0,L.jsx)(B,{width:O8.icon,height:O8.icon,items:`center`,justify:`center`,shrink:0,children:s[e.name]}):(0,L.jsx)(H,{fontSize:`$1`,color:`$hint`,numberOfLines:1,shrink:0,children:e.label}),(0,L.jsx)(z,{flex:1,minW:0,maxW:O8.value,children:(0,L.jsx)(c8,{field:e,value:n[e.name]})})]},e.name))}):null]})}function Ige({titleField:e,fields:t,record:n,onPress:r}){let i=A8(e,t,n),a=t.filter(e=>e.name!==i.name);return(0,L.jsxs)(Nge,{p:12,gap:8,borderWidth:1,rounded:8,cursor:r?`pointer`:void 0,hoverStyle:r?{bg:D8.hover}:void 0,onPress:r?()=>r(n):void 0,style:{backgroundColor:D8.surface,borderColor:D8.border},children:[(0,L.jsx)(H,{fontSize:14,fontWeight:`700`,numberOfLines:1,style:{color:D8.text},children:i.text}),a.map(e=>(0,L.jsxs)(B,{gap:8,items:`center`,children:[(0,L.jsx)(H,{fontSize:11,numberOfLines:1,width:84,style:{color:D8.textFaint},children:e.label}),(0,L.jsx)(z,{flex:1,children:(0,L.jsx)(c8,{field:e,value:n[e.name]})})]},e.name))]})}var j8=e=>e==null?``:String(e),Lge=new Set([`select`,`boolean`,`relation`]);function M8(e){return e.filter(e=>Lge.has(e.type))}function N8(e){let t=e.filter(e=>e.type===`select`);return t.length>0?t[0].name:M8(e)[0]?.name}function P8(e,t){if(e.type===`boolean`)return t==null||t===``?``:t===!0||t===`true`||t===1?`true`:`false`;if(e.type===`relation`){if(t&&typeof t==`object`){let e=t;return j8(e.id??e.value??``)}return j8(t)}return j8(t)}function Rge(e){if(e.type===`boolean`){let t=e.metadata??{};return[{key:`true`,label:t.trueLabel??`Yes`,color:`green`},{key:`false`,label:t.falseLabel??`No`,color:`gray`}]}return(e.metadata?.options??[]).map(e=>({key:e.value,label:e.label,color:e.color}))}function zge(e,t,n={}){let r=n.includeEmpty??!0,i=Rge(t),a=[],o=new Map,s=new Map,c=(e,t,n)=>{s.has(e)||(s.set(e,[]),a.push(e),o.set(e,{label:t,color:n}))};r&&c(``,n.emptyLabel??`No ${t.label.toLowerCase()}`);for(let e of i)c(e.key,e.label,e.color);for(let i of e){let e=P8(t,i[t.name]);(e!==``||r)&&(s.has(e)||c(e,e||(n.emptyLabel??`No ${t.label.toLowerCase()}`)),s.get(e).push(i))}return a.filter(e=>!(e===``&&(s.get(e)?.length??0)===0&&i.length>0)).map(e=>({key:e,...o.get(e),records:s.get(e)??[]}))}function Bge(e,t){return e.type===`boolean`?{[e.name]:t===`true`}:{[e.name]:t===``?null:t}}var Vge=300,Hge=200;function Uge(e){let{fields:t,records:n,groupField:r,titleField:i,cardFields:a,onOpen:o,onRecordChange:s,onCreate:c,getRowKey:l}=e,{selectedIds:u,onSelectedChange:d,activeId:f,fieldIcons:p}=e,m=e=>l?l(e):String(e.id??``),h=_N()===`compact`,g=h?Hge:Vge,_=(e,t)=>h?{selected:u?.has(m(e))??!1,onSelectedChange:d?t=>d(e,t):void 0,active:f!=null&&f===m(e),fieldIcons:p,drag:t}:null,v=t.find(e=>e.name===r),[y,x]=(0,b.useState)({});(0,b.useEffect)(()=>{x({})},[n]);let S=(0,b.useRef)(null),C=(0,b.useRef)([]),[w,T]=(0,b.useState)(null),E=(0,b.useMemo)(()=>v?n.map(e=>y[m(e)]==null?e:{...e,[v.name]:y[m(e)]===``?null:y[m(e)]}):n,[n,y,v]),D=(0,b.useMemo)(()=>v?zge(E,v):[],[E,v]);if(!v)return h?(0,L.jsx)(z,{p:`$5`,items:`center`,borderWidth:1,rounded:`$xs`,borderColor:`$borderColor`,bg:`$panel`,children:(0,L.jsx)(H,{fontSize:`$2`,color:`$hint`,children:`Pick a select or status field to group the board by.`})}):(0,L.jsx)(z,{p:24,items:`center`,borderWidth:1,rounded:10,style:{borderColor:D8.border,backgroundColor:D8.surface},children:(0,L.jsx)(H,{style:{color:D8.textFaint},children:`Pick a select or status field to group the board by.`})});let O=e=>t=>{if(!s)return;let n=m(e),r=P8(v,e[v.name]),i=C.current.map(e=>e?.getBoundingClientRect()??null),a=t.clientX??t.nativeEvent?.clientX??0,o=t.clientY??t.nativeEvent?.clientY??0;T({id:n,from:r,x:a,y:o,target:r});let c=e=>{let t=r;for(let n=0;n<i.length;n++){let a=i[n];if(a&&e.clientX>=a.left&&e.clientX<=a.right){t=D[n]?.key??r;break}}T({id:n,from:r,x:e.clientX,y:e.clientY,target:t})},l=()=>{window.removeEventListener(`pointermove`,c),window.removeEventListener(`pointerup`,l),T(t=>(t&&t.target!==t.from&&(x(e=>({...e,[t.id]:t.target})),Promise.resolve(s(e,Bge(v,t.target))).catch(()=>x(e=>{let n={...e};return delete n[t.id],n}))),null))};window.addEventListener(`pointermove`,c),window.addEventListener(`pointerup`,l)},k=w?E.find(e=>m(e)===w.id):void 0,A=()=>S.current?.getBoundingClientRect();return(0,L.jsxs)(z,{ref:e=>{S.current=e},style:{position:`relative`},children:[(0,L.jsx)(UE,{horizontal:!0,showsHorizontalScrollIndicator:!1,children:(0,L.jsx)(B,{gap:h?8:12,py:2,items:`flex-start`,children:D.map((e,n)=>{let r=w&&w.target===e.key&&w.from!==e.key,l=h?{gap:8,p:4,rounded:`$xs`,bg:r?`$hover`:`transparent`}:{gap:8,p:8,rounded:12,style:{backgroundColor:D8.surfaceRaised,borderWidth:1,borderColor:r?D8.accent:D8.border}};return(0,L.jsxs)(z,{"data-slot":`board-column`,width:g,ref:e=>{C.current[n]=e},...l,children:[h?(0,L.jsxs)(B,{items:`center`,justify:`space-between`,minH:24,px:4,children:[(0,L.jsxs)(B,{items:`center`,gap:`$2`,minW:0,children:[e.key===``?(0,L.jsx)(R1,{variant:`outline`,borderStyle:`dashed`,color:`transparent`,children:e.label}):(0,L.jsx)(R1,{color:e.color??`gray`,children:e.label}),(0,L.jsx)(H,{fontSize:`$1`,color:`$hint`,children:e.records.length})]}),c?(0,L.jsx)(q,{size:`icon-xs`,variant:`ghost`,emphasis:`subtle`,"aria-label":`Add to ${e.label}`,onPress:()=>c(e.key),children:(0,L.jsx)(Qj,{})}):null]}):(0,L.jsxs)(B,{items:`center`,justify:`space-between`,px:4,py:2,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[e.key===``?(0,L.jsx)(H,{fontSize:13,fontWeight:`700`,style:{color:D8.textMuted},children:e.label}):(0,L.jsx)(F6,{label:e.label,color:e.color}),(0,L.jsx)(H,{fontSize:12,style:{color:D8.textFaint},children:e.records.length})]}),c?(0,L.jsx)(z,{cursor:`pointer`,p:3,rounded:6,hoverStyle:{bg:D8.hover},onPress:()=>c(e.key),children:(0,L.jsx)(Qj,{size:14,color:D8.textMuted})}):null]}),(0,L.jsxs)(z,{gap:8,style:{minHeight:40},children:[e.records.map(e=>{let n=w?.id===m(e);return(0,L.jsx)(z,{onPointerDown:O(e),style:{opacity:n&&!h?.35:1,cursor:s?`grab`:void 0},children:(0,L.jsx)(k8,{titleField:i,fields:a??t.filter(e=>e.name!==v.name),record:e,onPress:o,..._(e,n?`source`:void 0)})},m(e))}),e.records.length===0?h?(0,L.jsx)(z,{items:`center`,justify:`center`,py:`$4`,rounded:`$xs`,borderWidth:1,borderStyle:`dashed`,borderColor:`$borderColor`,children:(0,L.jsx)(H,{fontSize:`$1`,color:`$hint`,children:`Drop here`})}):(0,L.jsx)(z,{items:`center`,justify:`center`,py:16,rounded:8,style:{borderWidth:1,borderColor:D8.border,borderStyle:`dashed`},children:(0,L.jsx)(H,{fontSize:12,style:{color:D8.textFaint},children:`Drop here`})}):null]})]},e.key||`∅`)})})}),w&&k?(0,L.jsx)(z,{width:g-(h?8:20),style:{position:`absolute`,left:w.x-(A()?.left??0)-(g-(h?8:20))/2,top:w.y-(A()?.top??0)-20,pointerEvents:`none`,zIndex:50,...h?null:{transform:[{rotate:`2deg`}],boxShadow:`0 12px 32px rgba(0,0,0,0.4)`}},...h?{className:`elevation-2`}:null,children:(0,L.jsx)(k8,{titleField:i,fields:a??t.filter(e=>e.name!==v.name),record:k,..._(k,`preview`)})}):null]})}var Wge=new Set([`boolean`,`select`,`multiSelect`,`date`,`dateTime`,`relation`,`rating`,`files`]),Gge=({children:e})=>(0,L.jsx)(H,{fontSize:`$1`,fontWeight:`500`,color:`$hint`,numberOfLines:1,children:e});function Kge({field:e,value:t,editable:n,onCommit:r,options:i}){let[a,o]=(0,b.useState)(!1),[s,c]=(0,b.useState)(t),l=n&&!e.readOnly&&u8(e.type)&&!!r,u=i?{...e,metadata:{...e.metadata,options:i}}:e,d=e=>{o(!1),r?.(e)};return(0,L.jsxs)(z,{gap:`$1`,py:`$2`,borderBottomWidth:1,borderColor:`$borderColor`,children:[(0,L.jsx)(Gge,{children:e.label}),a?(0,L.jsx)(l8,{field:u,value:s,autoFocus:!0,onChange:t=>Wge.has(e.type)?d(t):c(t),onSubmit:()=>d(s),onCancel:()=>{c(t),o(!1)}}):(0,L.jsx)(B,{items:`center`,minH:24,minW:0,cursor:l?`text`:void 0,rounded:`$xs`,px:l?`$1`:0,mx:l?-4:0,hoverStyle:l?{bg:`$hover`}:void 0,...l?{role:`button`,tabIndex:0,"aria-label":`Edit ${e.label}`}:null,onKeyDown:l?e=>{e.key===`Enter`&&(e.preventDefault?.(),c(t),o(!0))}:void 0,onPress:l?()=>{c(t),o(!0)}:void 0,children:(0,L.jsx)(c8,{field:e,value:t})})]})}function qge({fields:e,record:t,title:n,editable:r,onEditCommit:i,fieldOptions:a,related:o}){return(0,L.jsxs)(z,{gap:2,children:[n?(0,L.jsx)(z,{pb:`$3`,mb:`$1`,borderBottomWidth:1,borderColor:`$borderColor`,children:(0,L.jsx)(H,{fontSize:`$7`,fontWeight:`600`,numberOfLines:2,color:`$ink`,children:n})}):null,e.map(e=>(0,L.jsx)(Kge,{field:e,value:t[e.name],editable:r,onCommit:i?t=>i(e,t):void 0,options:a?.(e)},e.name)),o?(0,L.jsx)(z,{pt:`$4`,gap:`$2`,children:o}):null]})}function Jge(e,t=`default`,n=e===`board`?`Board`:`All records`){return{id:t,name:n,kind:e,filters:[],sorts:[]}}function Yge(e,t,n){let r=e;return t.search&&t.search.trim()&&(r=Tge(r,t.search,n)),r=wge(r,t.filters,n,t.match),r=pge(r,t.sorts,n),r}function F8(e){let t=w8(e.type);return{field:e.name,op:t[0]??`contains`}}function I8(e,t){return{...e,filters:[...e.filters,t]}}function L8(e,t,n){return{...e,filters:e.filters.map((e,r)=>r===t?{...e,...n}:e)}}function R8(e,t){return{...e,filters:e.filters.filter((e,n)=>n!==t)}}function z8(e,t){return{...e,match:t}}var B8=e=>e===`or`?`and`:`or`;function V8(e,t){return{...e,sorts:t}}function H8(e,t){return{...e,search:t}}function U8(e,t){return{...e,kind:t}}function W8(e,t){return{...e,groupField:t}}function Xge(e,t){let n=new Set(e.hiddenFields??[]);return n.has(t)?n.delete(t):n.add(t),{...e,hiddenFields:[...n]}}var Zge=new Set([`text`,`longText`,`email`,`url`]),Qge=new Set([`contains`,`notContains`,`is`,`isNot`]);function $ge(e,t,n){let r=e.type===`currency`||e.type===`percent`||e.type===`rating`,i=Qge.has(t.op)&&!Zge.has(e.type)&&e.type!==`select`&&e.type!==`multiSelect`&&e.type!==`relation`&&e.type!==`boolean`&&!r&&e.type!==`date`&&e.type!==`dateTime`&&e.type!==`number`,a=t.op===`isAnyOf`?{...e,type:`multiSelect`}:r?{...e,type:`number`}:i?{...e,type:`text`,metadata:void 0}:e;return n?{...a,metadata:{...a.metadata,options:n}}:a}function e_e(e,t){let n=t?.metadata?.options,r=e=>n?.find(t=>t.value===e)?.label??String(e);if(e.op===`between`){let[t,n]=x8(e.value);return t!==void 0&&n!==void 0?`${r(t)} to ${r(n)}`:t===void 0?n===void 0?``:`to ${r(n)}`:`from ${r(t)}`}return e.value==null||e.value===``?``:Array.isArray(e.value)?e.value.map(r).join(`, `):r(e.value)}var G8=e=>e.op!==`isEmpty`&&e.op!==`isNotEmpty`;function K8({field:e,rule:t,onChange:n,fieldOptions:r}){let i=r?.(e),a=(0,b.useMemo)(()=>$ge(e,t,i),[e,t,i]);if(t.op!==`between`)return(0,L.jsx)(l8,{field:a,value:t.value,onChange:n});let[o,s]=x8(t.value);return(0,L.jsxs)(B,{items:`center`,gap:6,flex:1,children:[(0,L.jsx)(B,{flex:1,minW:90,"aria-label":`From`,children:(0,L.jsx)(l8,{field:a,value:o,onChange:e=>n([e,s])})}),(0,L.jsx)(H,{fontSize:12,style:{color:D8.textFaint},children:`to`}),(0,L.jsx)(B,{flex:1,minW:90,"aria-label":`To`,children:(0,L.jsx)(l8,{field:a,value:s,onChange:e=>n([o,e])})})]})}var q8={top:39,details:32,chip:24,remove:20,name:130,menu:200,wide:240},J8=(e,t)=>e.find(e=>e.name===t),Y8=(e,t)=>e.filter(e=>e.label.toLowerCase().includes(t.trim().toLowerCase()));function X8({open:e,icon:t,children:n,...r}){return(0,L.jsx)(q,{size:`xs`,variant:`ghost`,color:`$aside`,startIcon:t,bg:e?`$hover`:void 0,...r,children:n})}function t_e(e){let{fields:t,view:n,onView:r,extra:i,onCreate:a,createLabel:o=`New`,boardDisabled:s}=e,{savedViews:c,dirty:l=!1,onResetView:u,onSaveView:d,onSaveAsView:f}=e,[p,m]=(0,b.useState)(!1),h=n.sorts.length>0||n.filters.length>0||l&&(u||d);return(0,L.jsxs)(z,{"data-slot":`view-bar`,children:[(0,L.jsxs)(B,{"data-slot":`view-bar-top`,minH:q8.top+1,items:`center`,justify:`space-between`,gap:`$2`,ml:`$1`,pr:`$2`,borderBottomWidth:1,borderColor:`$borderColor`,children:[(0,L.jsx)(n_e,{...e}),(0,L.jsxs)(B,{items:`center`,gap:`$0.5`,shrink:1,minW:0,children:[(0,L.jsx)(cI,{size:`xs`,start:(0,L.jsx)(eM,{size:14}),width:180,shrink:1,children:(0,L.jsx)(fI,{value:n.search??``,onChangeText:e=>r(H8(n,e)),placeholder:`Search…`,"aria-label":`Search records`})}),(0,L.jsx)(r_e,{fields:t,view:n,onView:r,open:p,onOpenChange:m,children:(0,L.jsx)(X8,{open:p,icon:(0,L.jsx)(zj,{}),children:`Filter`})}),(0,L.jsx)(a_e,{fields:t,view:n,onView:r}),(0,L.jsx)(o_e,{fields:t,view:n,onView:r,boardDisabled:s}),i,a?(0,L.jsx)(q,{size:`xs`,variant:`primary`,startIcon:(0,L.jsx)(Qj,{}),onPress:a,children:o}):null]})]}),h?(0,L.jsxs)(B,{"data-slot":`view-bar-details`,minH:q8.details,items:`center`,gap:`$2`,py:`$1`,px:`$2`,borderTopWidth:1,borderColor:`$borderColor`,flexWrap:`wrap`,children:[n.sorts.map(e=>(0,L.jsx)(s_e,{rule:e,fields:t,view:n,onView:r},`sort-${e.field}`)),n.sorts.length>0&&n.filters.length>0?(0,L.jsx)(z,{"data-slot":`view-bar-rule`,width:1,height:16,bg:`$raised`}):null,n.filters.map((t,i)=>(0,L.jsxs)(b.Fragment,{children:[i>0?(0,L.jsx)(q,{size:`xs`,variant:`ghost`,color:`$aside`,fontWeight:`400`,"aria-label":`Rules combine by ${n.match===`or`?`or`:`and`}; press for ${B8(n.match)}`,onPress:()=>r(z8(n,B8(n.match))),children:n.match===`or`?`or`:`and`}):null,(0,L.jsx)(c_e,{index:i,rule:t,...e})]},`filter-${i}`)),(0,L.jsx)(q,{size:`xs`,variant:`ghost`,color:`$aside`,fontWeight:`400`,startIcon:(0,L.jsx)(Qj,{}),onPress:()=>m(!0),children:`Add filter`}),(0,L.jsx)(B,{flex:1}),l&&u?(0,L.jsx)(q,{size:`xs`,variant:`ghost`,color:`$aside`,fontWeight:`400`,onPress:u,children:`Reset`}):null,l&&d?(0,L.jsxs)(xN,{size:`xs`,variant:`outline`,"aria-label":`Update view`,children:[(0,L.jsx)(q,{onPress:d,children:`Update view`}),f?(0,L.jsxs)(bF,{children:[(0,L.jsx)(SF,{asChild:!0,children:(0,L.jsx)(q,{size:`icon-xs`,"aria-label":`More ways to save the view`,children:(0,L.jsx)(lj,{})})}),(0,L.jsx)(EF,{align:`end`,minW:q8.menu,children:(0,L.jsx)(AF,{onSelect:f,children:`Save as new view`})})]}):null]}):null]}):null]})}function n_e({view:e,onView:t,count:n,savedViews:r,boardDisabled:i}){let[a,o]=(0,b.useState)(!1),s=e.kind===`board`?Lj:cM;return(0,L.jsxs)(bF,{open:a,onOpenChange:o,children:[(0,L.jsx)(SF,{asChild:!0,children:(0,L.jsxs)(q,{size:`xs`,variant:`ghost`,color:`$aside`,pl:`$1`,startIcon:(0,L.jsx)(s,{size:16}),endIcon:(0,L.jsx)(lj,{size:14,color:`$hush`}),bg:a?`$hover`:void 0,"aria-label":`View: ${e.name}`,children:[(0,L.jsx)(L1,{text:e.name,maxW:q8.name,fontSize:`$2`,fontWeight:`500`,color:`$aside`}),n==null?null:(0,L.jsx)(H,{fontSize:`$2`,color:`$hint`,children:`· ${n}`})]})}),(0,L.jsxs)(EF,{minW:q8.menu,children:[r&&r.views.length?(0,L.jsx)(PF,{value:r.activeId??e.id,onValueChange:e=>{let n=r?.views.find(t=>t.id===e);n&&r&&(r.onSelect(n.id),t(n))},children:(0,L.jsx)(RF,{label:`Views`,children:r.views.map(e=>(0,L.jsx)(IF,{value:e.id,children:e.name},e.id))})}):null,i?null:(0,L.jsxs)(PF,{value:e.kind,onValueChange:n=>n===`table`||n===`board`?t(U8(e,n)):void 0,children:[(0,L.jsx)(qF,{variant:`band`,children:`Layout`}),(0,L.jsx)(IF,{value:`table`,children:`Table`}),(0,L.jsx)(IF,{value:`board`,children:`Board`})]})]})]})}function r_e({fields:e,view:t,onView:n,open:r,onOpenChange:i,children:a}){let[o,s]=(0,b.useState)(``),c=Y8(e,o);return(0,L.jsxs)(bF,{open:r,onOpenChange:e=>{i(e),e||s(``)},children:[(0,L.jsx)(SF,{asChild:!0,children:a}),(0,L.jsxs)(EF,{minW:q8.menu,children:[(0,L.jsx)(LF,{value:o,onValueChange:s,placeholder:`Search fields`}),(0,L.jsx)(RF,{scrollable:!0,children:c.map(e=>(0,L.jsx)(AF,{onSelect:()=>n(I8(t,F8(e))),children:e.label},e.name))}),c.length===0?(0,L.jsx)(GF,{children:`No field matches`}):null]})]})}var i_e=(e,t)=>{let n=e.find(e=>e.field===t);return n?n.dir===`asc`?e.map(e=>e.field===t?{...e,dir:`desc`}:e):e.filter(e=>e.field!==t):[...e,{field:t,dir:`asc`}]};function a_e({fields:e,view:t,onView:n}){let[r,i]=(0,b.useState)(!1),[a,o]=(0,b.useState)(``),s=Y8(e,a);return(0,L.jsxs)(bF,{open:r,onOpenChange:e=>{i(e),e||o(``)},children:[(0,L.jsx)(SF,{asChild:!0,children:(0,L.jsx)(X8,{open:r,icon:(0,L.jsx)(XA,{}),children:`Sort`})}),(0,L.jsxs)(EF,{minW:q8.menu,children:[(0,L.jsx)(LF,{value:a,onValueChange:o,placeholder:`Search fields`}),(0,L.jsx)(RF,{scrollable:!0,children:s.map(e=>{let r=t.sorts.find(t=>t.field===e.name)?.dir;return(0,L.jsx)(AF,{onSelect:()=>n(V8(t,i_e(t.sorts,e.name))),children:(0,L.jsxs)(B,{flex:1,items:`center`,justify:`space-between`,gap:`$2`,children:[(0,L.jsx)(H,{fontSize:`$2`,color:`$aside`,numberOfLines:1,children:e.label}),r===`asc`?(0,L.jsx)(ej,{size:14,color:`$aside`}):r===`desc`?(0,L.jsx)(ZA,{size:14,color:`$aside`}):null]})},e.name)})}),s.length===0?(0,L.jsx)(GF,{children:`No field matches`}):null]})]})}function o_e({fields:e,view:t,onView:n,boardDisabled:r}){let[i,a]=(0,b.useState)(!1),o=new Set(t.hiddenFields??[]),s=e.filter(e=>!o.has(e.name)).map(e=>e.name),c=M8(e);return(0,L.jsxs)(bF,{open:i,onOpenChange:a,defaultPage:`options`,children:[(0,L.jsx)(SF,{asChild:!0,children:(0,L.jsx)(X8,{open:i,icon:(0,L.jsx)(iM,{}),children:`Options`})}),(0,L.jsxs)(EF,{align:`end`,minW:q8.wide,children:[(0,L.jsxs)(zF,{id:`options`,children:[(0,L.jsx)(VF,{children:(0,L.jsx)(HF,{children:`View options`})}),(0,L.jsx)(AF,{page:`fields`,children:`Fields`}),t.kind===`board`&&c.length?(0,L.jsx)(AF,{page:`group`,children:`Group by`}):null,r?null:(0,L.jsxs)(PF,{value:t.kind,onValueChange:e=>e===`table`||e===`board`?n(U8(t,e)):void 0,children:[(0,L.jsx)(qF,{variant:`band`,children:`Layout`}),(0,L.jsx)(IF,{value:`table`,children:`Table`}),(0,L.jsx)(IF,{value:`board`,children:`Board`})]})]}),(0,L.jsxs)(zF,{id:`fields`,children:[(0,L.jsx)(UF,{children:`Fields`}),(0,L.jsx)(PF,{multiple:!0,value:s,onValueChange:r=>{let i=new Set(Array.isArray(r)?r:r?[r]:[]),a=t;for(let t of e)i.has(t.name)===o.has(t.name)&&(a=Xge(a,t.name));n(a)},children:(0,L.jsx)(RF,{scrollable:!0,children:e.map(e=>(0,L.jsx)(IF,{value:e.name,children:e.label},e.name))})})]}),(0,L.jsxs)(zF,{id:`group`,children:[(0,L.jsx)(UF,{children:`Group by`}),(0,L.jsx)(PF,{value:t.groupField??null,onValueChange:e=>n(W8(t,typeof e==`string`?e:void 0)),children:c.map(e=>(0,L.jsx)(IF,{value:e.name,children:e.label},e.name))})]})]})]})}function Z8({label:e,onRemove:t,children:n}){return(0,L.jsxs)(B,{"data-slot":`view-chip`,height:q8.chip,items:`center`,gap:`$1`,p:`$0.5`,pl:`$1`,rounded:`$xs`,bg:`$hover`,borderWidth:1,borderColor:`$borderColor`,children:[n,(0,L.jsx)(q,{size:`icon-2xs`,variant:`ghost`,emphasis:`subtle`,"aria-label":`Remove ${e}`,onPress:t,children:(0,L.jsx)(vM,{})})]})}var Q8=(e,t,n={})=>(0,L.jsxs)(B,{role:`button`,tabIndex:0,"data-slot":`view-chip-body`,items:`center`,gap:`$1`,cursor:`pointer`,rounded:`$2xs`,focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},...n,children:[(0,L.jsx)(H,{fontSize:`$1`,fontWeight:`500`,color:`$ink`,numberOfLines:1,children:e}),t]});function s_e({rule:e,fields:t,view:n,onView:r}){let i=J8(t,e.field)?.label??e.field,a=()=>r(V8(n,n.sorts.map(t=>t.field===e.field?{...t,dir:t.dir===`asc`?`desc`:`asc`}:t)));return(0,L.jsx)(Z8,{label:`sort by ${i}`,onRemove:()=>r(V8(n,n.sorts.filter(t=>t.field!==e.field))),children:Q8(i,e.dir===`asc`?(0,L.jsx)(ej,{size:14,color:`$ink`}):(0,L.jsx)(ZA,{size:14,color:`$ink`}),{"aria-label":`Sort by ${i}, ${e.dir===`asc`?`ascending`:`descending`}`,onPress:a,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault?.(),a())}})})}function c_e({index:e,rule:t,fields:n,view:r,onView:i,fieldOptions:a}){let[o,s]=(0,b.useState)(!1),c=J8(n,t.field)??n[0],l=w8(c.type),u=e_e(t,c);return(0,L.jsx)(Z8,{label:`filter on ${c.label}`,onRemove:()=>i(R8(r,e)),children:(0,L.jsxs)(bF,{open:o,onOpenChange:s,children:[(0,L.jsx)(SF,{asChild:!0,children:Q8(c.label,(0,L.jsx)(H,{fontSize:`$1`,color:`$ink`,numberOfLines:1,children:`: ${C8[t.op]}${u?` ${u}`:``}`}),{"aria-label":`Filter: ${c.label} ${C8[t.op]} ${u}`.trim()})}),(0,L.jsxs)(EF,{minW:q8.wide,children:[(0,L.jsxs)(PF,{value:t.op,closeOnSelect:!1,onValueChange:n=>{if(typeof n!=`string`)return;let a=n;i(L8(r,e,a===`between`||t.op===`between`?{op:a,value:void 0}:{op:a}))},children:[(0,L.jsx)(qF,{variant:`band`,children:c.label}),l.map(e=>(0,L.jsx)(IF,{value:e,children:C8[e]},e))]}),G8(t)?(0,L.jsx)(z,{p:`$1`,children:(0,L.jsx)(K8,{field:c,rule:t,fieldOptions:a,onChange:t=>i(L8(r,e,{value:t}))})}):null]})]})})}var $8=(e,t)=>e.find(e=>e.name===t);function e5({icon:e,label:t,count:n,active:r,style:i,...a}){return(0,L.jsxs)(B,{role:`button`,tabIndex:0,"aria-label":t,...a,items:`center`,gap:6,px:10,py:7,rounded:8,borderWidth:1,cursor:`pointer`,hoverStyle:{borderColor:D8.textMuted},style:{...i,borderColor:r?D8.accent:D8.border,backgroundColor:r?D8.hover:`transparent`},children:[e,(0,L.jsx)(H,{fontSize:13,fontWeight:`600`,style:{color:r?D8.text:D8.textMuted},children:t}),n?(0,L.jsx)(B,{items:`center`,justify:`center`,width:18,height:18,rounded:9,style:{backgroundColor:D8.accent},children:(0,L.jsx)(H,{fontSize:11,fontWeight:`700`,style:{color:`#0b1220`},children:n})}):null]})}function l_e({view:e,onView:t,boardDisabled:n}){let r=(n,r,i)=>{let a=e.kind===n;return(0,L.jsxs)(B,{items:`center`,gap:6,px:10,py:6,rounded:7,cursor:`pointer`,onPress:()=>t(U8(e,n)),style:{backgroundColor:a?D8.surface:`transparent`},hoverStyle:a?void 0:{bg:D8.hover},children:[r,(0,L.jsx)(H,{fontSize:13,fontWeight:`600`,style:{color:a?D8.text:D8.textFaint},children:i})]})};return(0,L.jsxs)(B,{p:3,gap:2,rounded:9,borderWidth:1,style:{borderColor:D8.border,backgroundColor:D8.surfaceRaised},children:[r(`table`,(0,L.jsx)(cM,{size:14,color:e.kind===`table`?D8.text:D8.textFaint}),`Table`),n?null:r(`board`,(0,L.jsx)(Lj,{size:14,color:e.kind===`board`?D8.text:D8.textFaint}),`Board`)]})}function u_e({fields:e,value:t,onPick:n,trigger:r}){let[i,a]=(0,b.useState)(!1);return(0,L.jsx)(d8,{open:i,onOpenChange:a,width:220,trigger:r,children:e.map(e=>(0,L.jsx)(f8,{active:e.name===t,onPress:()=>{n(e.name),a(!1)},children:(0,L.jsx)(H,{fontSize:13,style:{color:D8.text},children:e.label})},e.name))})}function d_e({ops:e,value:t,onPick:n}){let[r,i]=(0,b.useState)(!1);return(0,L.jsx)(d8,{open:r,onOpenChange:i,width:200,trigger:(0,L.jsx)(t5,{text:C8[t]}),children:e.map(e=>(0,L.jsx)(f8,{active:e===t,onPress:()=>{n(e),i(!1)},children:(0,L.jsx)(H,{fontSize:13,style:{color:D8.text},children:C8[e]})},e))})}function t5({text:e,style:t,...n}){return(0,L.jsx)(B,{role:`button`,tabIndex:0,...n,items:`center`,px:8,py:5,rounded:7,borderWidth:1,cursor:`pointer`,hoverStyle:{borderColor:D8.textMuted},style:{...t,borderColor:D8.border,backgroundColor:D8.surface},children:(0,L.jsx)(H,{fontSize:12,numberOfLines:1,style:{color:D8.text},children:e})})}function f_e({fields:e,view:t,onView:n,fieldOptions:r}){let[i,a]=(0,b.useState)(!1),o=t.filters.filter(S8).length;return(0,L.jsx)(d8,{open:i,onOpenChange:a,width:420,trigger:(0,L.jsx)(e5,{icon:(0,L.jsx)(zj,{size:14,color:D8.textMuted}),label:`Filter`,count:o,active:o>0}),children:(0,L.jsxs)(z,{gap:8,p:4,children:[t.filters.length===0?(0,L.jsx)(H,{px:6,py:4,fontSize:12,style:{color:D8.textFaint},children:`No filters yet.`}):null,t.filters.map((i,a)=>{let o=$8(e,i.field)??e[0],s=w8(o.type);return(0,L.jsxs)(B,{items:`center`,gap:6,children:[a===0?(0,L.jsx)(H,{fontSize:12,width:36,style:{color:D8.textFaint},children:`Where`}):(0,L.jsx)(B,{width:36,cursor:`pointer`,onPress:()=>n(z8(t,B8(t.match))),role:`button`,"aria-label":`Rules combine by ${t.match===`or`?`or`:`and`}; press for ${B8(t.match)}`,children:(0,L.jsx)(H,{fontSize:12,fontWeight:`600`,style:{color:D8.accent},children:t.match===`or`?`or`:`and`})}),(0,L.jsx)(u_e,{fields:e,value:i.field,onPick:r=>{n(L8(t,a,{field:r,op:w8($8(e,r).type)[0],value:void 0}))},trigger:(0,L.jsx)(t5,{text:o.label})}),(0,L.jsx)(d_e,{ops:s,value:i.op,onPick:e=>n(L8(t,a,e===`between`||i.op===`between`?{op:e,value:void 0}:{op:e}))}),G8(i)?(0,L.jsx)(B,{flex:1,minW:120,children:(0,L.jsx)(K8,{field:o,rule:i,fieldOptions:r,onChange:e=>n(L8(t,a,{value:e}))})}):(0,L.jsx)(B,{flex:1}),(0,L.jsx)(z,{cursor:`pointer`,p:4,rounded:6,hoverStyle:{bg:D8.hover},onPress:()=>n(R8(t,a)),children:(0,L.jsx)(vM,{size:14,color:D8.textFaint})})]},a)}),(0,L.jsx)(B,{children:(0,L.jsx)(gS,{size:`$2`,icon:(0,L.jsx)(Qj,{size:14}),onPress:()=>n(I8(t,F8(e[0]))),children:`Add filter`})})]})})}function p_e({fields:e,view:t,onView:n}){let[r,i]=(0,b.useState)(!1),a=e=>t.sorts.find(t=>t.field===e)?.dir,o=e=>{let r=t.sorts.find(t=>t.field===e),i;i=r?r.dir===`asc`?t.sorts.map(t=>t.field===e?{...t,dir:`desc`}:t):t.sorts.filter(t=>t.field!==e):[...t.sorts,{field:e,dir:`asc`}],n(V8(t,i))};return(0,L.jsx)(d8,{open:r,onOpenChange:i,width:240,trigger:(0,L.jsx)(e5,{icon:(0,L.jsx)(XA,{size:14,color:D8.textMuted}),label:`Sort`,count:t.sorts.length,active:t.sorts.length>0}),children:e.map(e=>{let t=a(e.name);return(0,L.jsx)(f8,{active:!!t,onPress:()=>o(e.name),trailing:t===`asc`?(0,L.jsx)(ej,{size:13,color:D8.accent}):t===`desc`?(0,L.jsx)(ZA,{size:13,color:D8.accent}):null,children:(0,L.jsx)(H,{fontSize:13,style:{color:D8.text},children:e.label})},e.name)})})}function m_e({fields:e,view:t,onView:n}){let[r,i]=(0,b.useState)(!1),a=M8(e),o=$8(e,t.groupField??``);return(0,L.jsxs)(d8,{open:r,onOpenChange:i,width:220,trigger:(0,L.jsx)(e5,{icon:(0,L.jsx)(yj,{size:14,color:D8.textMuted}),label:o?`Group: ${o.label}`:`Group by`,active:!!o}),children:[a.length===0?(0,L.jsx)(H,{px:10,py:6,fontSize:12,style:{color:D8.textFaint},children:`No groupable fields`}):null,a.map(e=>(0,L.jsx)(f8,{active:e.name===t.groupField,onPress:()=>{n(W8(t,e.name)),i(!1)},children:(0,L.jsx)(H,{fontSize:13,style:{color:D8.text},children:e.label})},e.name))]})}function h_e(e){return _N()===`compact`?(0,L.jsx)(t_e,{...e}):(0,L.jsx)(g_e,{...e})}function g_e(e){let{fields:t,view:n,onView:r,onCreate:i,createLabel:a=`New`,extra:o,boardDisabled:s}=e;return(0,L.jsxs)(B,{items:`center`,gap:8,style:{flexWrap:`wrap`},children:[(0,L.jsx)(l_e,{view:n,onView:r,boardDisabled:s}),(0,L.jsx)(f_e,{...e}),(0,L.jsx)(p_e,{fields:t,view:n,onView:r}),n.kind===`board`?(0,L.jsx)(m_e,{fields:t,view:n,onView:r}):null,(0,L.jsxs)(B,{flex:1,minW:160,items:`center`,gap:6,px:10,py:6,rounded:8,borderWidth:1,style:{borderColor:D8.border,backgroundColor:D8.surface},children:[(0,L.jsx)(eM,{size:14,color:D8.textFaint}),(0,L.jsx)(Zk,{flex:1,size:`$2`,value:n.search??``,onChangeText:e=>r(H8(n,e)),placeholder:`Search…`,style:{borderWidth:0,backgroundColor:`transparent`,paddingLeft:0,paddingRight:0}})]}),o?(0,L.jsx)(b.Fragment,{children:o}):null,i?(0,L.jsx)(gS,{size:`$3`,icon:(0,L.jsx)(Qj,{size:16}),theme:`blue`,onPress:i,children:a}):null]})}function __e(e){let{fields:t,records:n,loading:r,empty:i,view:a,onViewChange:o,defaultKind:s=`table`,savedViews:c,title:l,onOpen:u,onCreate:d,createLabel:f,onEditCommit:p,onRecordChange:m,fieldOptions:h,selectable:g=!0,editable:_=!0,bulkActions:v,toolbarExtra:y,boardDisabled:x,titleField:S,cardFields:C,remote:w}=e,[T,E]=(0,b.useState)(()=>{let e=Jge(s);return s===`board`?{...e,groupField:N8(t)}:e}),D=a??T,O=e=>{let n=e.kind===`board`&&!e.groupField?{...e,groupField:N8(t)}:e;o?o(n):E(n)},k=(0,b.useMemo)(()=>w?n:Yge(n,D,t),[w,n,D,t]),A=_N()===`compact`,j=c?.views.find(e=>e.id===(c.activeId??D.id)),ee=!!j&&JSON.stringify(j)!==JSON.stringify(D),M=A&&c?{savedViews:{views:c.views,activeId:c.activeId,onSelect:c.onSelect},dirty:ee,onResetView:j?()=>O(j):void 0,onSaveView:()=>c.onSave(D),onSaveAsView:()=>c.onSave({...D,id:`view-${Date.now()}`,name:`View ${c.views.length+1}`})}:null,te=m??(p?(e,n)=>{let[r]=Object.keys(n),i=t.find(e=>e.name===r);if(i)return p(e,i,n[r])}:void 0);return(0,L.jsxs)(z,{gap:12,children:[l?typeof l==`string`?(0,L.jsx)(H,{fontSize:20,fontWeight:`800`,style:{color:D8.text},children:l}):l:null,c&&!A?(0,L.jsx)(v_e,{saved:c,current:D,onLoad:O}):null,(0,L.jsx)(h_e,{fields:t,view:D,onView:O,onCreate:d,createLabel:f,fieldOptions:h,extra:y,boardDisabled:x,...A?{count:w?w.total:k.length}:null,...M}),D.kind===`board`?(0,L.jsx)(Uge,{fields:t,records:k,groupField:D.groupField??N8(t)??``,titleField:S,cardFields:C,onOpen:u,onRecordChange:te,onCreate:d?()=>d():void 0}):(0,L.jsx)(Age,{fields:t,records:k,loading:r,empty:i,sorts:D.sorts,onSortChange:e=>O(V8(D,e)),onOpen:u,selectable:g,bulkActions:v,editable:_,onEditCommit:p,fieldOptions:h,hiddenFields:D.hiddenFields,columnOrder:D.columnOrder,onColumnOrderChange:e=>O({...D,columnOrder:e}),pageSize:D.pageSize??25,remote:w})]})}function v_e({saved:e,current:t,onLoad:n}){return(0,L.jsxs)(B,{items:`center`,gap:4,style:{flexWrap:`wrap`},children:[e.views.map(r=>{let i=r.id===(e.activeId??t.id);return(0,L.jsxs)(B,{items:`center`,gap:6,px:10,py:6,rounded:8,cursor:`pointer`,onPress:()=>{e.onSelect(r.id),n(r)},style:{backgroundColor:i?D8.hover:`transparent`,borderBottomWidth:2,borderBottomColor:i?D8.accent:`transparent`},hoverStyle:i?void 0:{bg:D8.surfaceRaised},children:[(0,L.jsx)(H,{fontSize:13,fontWeight:i?`700`:`500`,style:{color:i?D8.text:D8.textMuted},children:r.name}),e.onDelete&&e.views.length>1&&(e.deletable?.(r.id)??!0)?(0,L.jsx)(z,{role:`button`,tabIndex:0,"aria-label":`Delete view ${r.name}`,cursor:`pointer`,onPress:t=>{t?.stopPropagation?.(),e.onDelete?.(r.id)},children:(0,L.jsx)(vM,{size:12,color:D8.textFaint})}):null]},r.id)}),(0,L.jsxs)(B,{items:`center`,gap:4,px:10,py:6,rounded:8,cursor:`pointer`,hoverStyle:{bg:D8.surfaceRaised},onPress:()=>e.onSave({...t,id:`view-${Date.now()}`,name:`View ${e.views.length+1}`}),children:[(0,L.jsx)(Qj,{size:13,color:D8.textFaint}),(0,L.jsx)(H,{fontSize:13,style:{color:D8.textFaint},children:`New view`})]})]})}var n5=e=>`var(--team-${e})`,X={ground:n5(`ground`),panel:n5(`panel`),card:n5(`card`),rule:n5(`rule`),ink:n5(`ink`),mute:n5(`mute`),dim:n5(`dim`),accent:n5(`accent`),alert:n5(`alert`)},r5={backlog:n5(`backlog`),todo:n5(`todo`),doing:n5(`doing`),done:n5(`done`)},y_e=6,i5=e=>{let t=e.toLowerCase(),n=0;for(let e=0;e<t.length;e++)n=n*31+t.charCodeAt(e)|0;return Math.abs(n)%y_e+1},a5=e=>({background:`var(--team-hue-${i5(e)})`,color:`var(--team-chip-ink)`}),o5=e=>`var(--team-hue-${i5(e)})`,b_e=e=>e===1||e===2,s5=e=>b_e(e)?{background:`var(--team-urgent)`,color:`var(--team-chip-ink)`}:{background:`var(--team-quiet)`,color:X.ink},Z={title:`$7`,row:`$4`,body:`$3`,small:`$2`,chip:`$1`,figure:`$7`},c5={tight:`$2`,inset:`$3`,wide:`$4`,edge:`$5`},Q={card:`$1`,panel:`$1`,field:`$1`,pill:`$10`},l5={textTransform:`uppercase`,letterSpacing:.08},u5={outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`};function x_e(e,t){return e?.trim()?e.trim():(t?.split(`@`)[0])?.trim()||``}var S_e=[{id:`crm`,label:`CRM`,productTitle:`Hanzo CRM`,description:`Pipeline, contacts, investors & deals`,href:`https://crm.hanzo.ai`,supportsFreshAuth:!0},{id:`team`,label:`Work`,productTitle:`Hanzo Team`,description:`Shared workspace, docs, tasks & drive`,href:`https://hanzo.team`,supportsFreshAuth:!1},{id:`cms`,label:`CMS`,productTitle:`Hanzo CMS`,description:`Content, pages, collections & media`,href:`https://cms.hanzo.ai/admin`,supportsFreshAuth:!1},{id:`email`,label:`Email`,productTitle:`Hanzo Email`,description:`Campaigns, journeys & broadcasts`,href:`https://marketing.hanzo.ai`,supportsFreshAuth:!0},{id:`ads`,label:`Ads`,productTitle:`Hanzo Ads`,description:`Ad spend, ROAS & attribution`,href:`https://ads.hanzo.ai`,supportsFreshAuth:!0},{id:`cal`,label:`Cal`,productTitle:`Hanzo Cal`,description:`Scheduling, bookings & availability`,href:`https://hanzo.team/cal`,supportsFreshAuth:!1},{id:`bots`,label:`Bots`,productTitle:`Hanzo Bots`,description:`Autonomous AI agents & workflows`,href:`https://hanzo.bot`,supportsFreshAuth:!1},{id:`post`,label:`Post`,productTitle:`Hanzo Post`,description:`AI social & blog publishing across 28+ channels`,href:`https://post.hanzo.ai`,supportsFreshAuth:!1},{id:`social`,label:`Social`,productTitle:`Hanzo Publish`,description:`Social scheduling, inbox & listening`,href:`https://social.hanzo.ai`,supportsFreshAuth:!0},{id:`chat`,label:`Chat`,productTitle:`Hanzo Chat`,description:`AI assistant, models & playground`,href:`https://hanzo.ai/chat`,supportsFreshAuth:!1},{id:`dev`,label:`Dev`,productTitle:`Hanzo Dev`,description:`Coding agents & cloud workspaces`,href:`https://hanzo.ai/dev`,supportsFreshAuth:!1},{id:`commerce`,label:`Commerce`,productTitle:`Hanzo Commerce`,description:`Store, products, orders & subscriptions`,href:`https://commerce-admin.hanzo.ai/admin/`,supportsFreshAuth:!1},{id:`analytics`,label:`Analytics`,productTitle:`Hanzo Analytics`,description:`Web traffic, funnels & retention`,href:`https://analytics.hanzo.ai`,supportsFreshAuth:!1},{id:`dataroom`,label:`Data Room`,productTitle:`Hanzo Data Room`,description:`Secure investor & deal data rooms`,href:`https://dataroom.hanzo.ai`,supportsFreshAuth:!1},{id:`sign`,label:`Sign`,productTitle:`Hanzo Sign`,description:`Document e-signatures & agreements`,href:`https://esign.hanzo.ai`,supportsFreshAuth:!1},{id:`billing`,label:`Billing`,productTitle:`Hanzo Billing`,description:`Usage, balance, invoices & payment methods`,href:`https://billing.hanzo.ai`,supportsFreshAuth:!1},{id:`console`,label:`Console`,productTitle:`Hanzo Console`,description:`Cloud, AI infrastructure & IAM`,href:`https://console.hanzo.ai`,supportsFreshAuth:!0},{id:`platform`,label:`Platform`,productTitle:`Hanzo Platform`,description:`PaaS deployments, clusters & containers`,href:`https://platform.hanzo.ai`,supportsFreshAuth:!0}];function C_e({id:e,size:t=16}){switch(e){case`crm`:return(0,L.jsx)(ij,{size:t});case`team`:case`work`:return(0,L.jsx)(hM,{size:t});case`cms`:return(0,L.jsx)(Pj,{size:t});case`email`:case`marketing`:return(0,L.jsx)(Hj,{size:t});case`ads`:return(0,L.jsx)(Wj,{size:t});case`cal`:return(0,L.jsx)(sj,{size:t});case`bots`:return(0,L.jsx)(nj,{size:t});case`post`:case`social`:return(0,L.jsx)(nM,{size:t});case`chat`:return(0,L.jsx)(nse,{size:t});case`dev`:return(0,L.jsx)(uM,{size:t});case`commerce`:return(0,L.jsx)(rM,{size:t});case`analytics`:return(0,L.jsx)(UA,{size:t});case`dataroom`:return(0,L.jsx)(Mj,{size:t});case`sign`:return(0,L.jsx)(BA,{size:t});case`billing`:return(0,L.jsx)(Cj,{size:t});case`console`:return(0,L.jsx)(aM,{size:t});case`platform`:return(0,L.jsx)(Lj,{size:t});default:return(0,L.jsx)(JA,{size:t})}}function w_e(e,t){try{let n=new URL(e.href);if(e.supportsFreshAuth&&t?.who){let e=t?.org?`/?org=${encodeURIComponent(t.org)}`:`/`;return`${n.origin}/auth/fresh?next=${encodeURIComponent(e)}&who=${encodeURIComponent(t.who)}`}return t?.org&&!n.searchParams.has(`org`)&&n.searchParams.set(`org`,t.org),n.toString()}catch{return e.href}}var T_e=[{id:`c-general`,label:`#general`,desc:`Company-wide announcements & updates`,path:`/chat/c-general`},{id:`c-hanzo-revenue`,label:`#hanzo-revenue`,desc:`Live checkouts, orders, subscriptions & deals`,path:`/chat/c-hanzo-revenue`},{id:`c-feedback`,label:`#feedback`,desc:`Inbound leads, form submits, feedback & bug reports`,path:`/chat/c-feedback`},{id:`c-hanzo-support`,label:`#hanzo-support`,desc:`Customer support & triage`,path:`/chat/c-hanzo-support`},{id:`c-errors`,label:`#errors`,desc:`Runtime faults, Sentry exceptions & CLI errors`,path:`/chat/c-errors`},{id:`c-hanzo-ui`,label:`#hanzo-ui`,desc:`Design system & GUI components`,path:`/chat/c-hanzo-ui`}],E_e=[{id:`overview`,label:`AI Cockpit — Live Business Command Center`,desc:`24/7 AI C-Suite + realtime checkouts, leads, form submits & telemetry`,path:`/overview`},{id:`issues`,label:`Tracker — All issues`,desc:`Kanban board, list & project issues`,path:`/issues`},{id:`crm-opp`,label:`CRM — Opportunities`,desc:`Pipeline deals & revenue stages`,path:`/crm/opportunities`},{id:`crm-inv`,label:`CRM — Investors (346K)`,desc:`Institutional VCs, angels & funds`,path:`/crm/investors`},{id:`crm-leads`,label:`CRM — Developer Leads (13.48M)`,desc:`GitHub developer cohorts by stars`,path:`/crm/leads`},{id:`bots`,label:`Bots — 24/7 Autonomous Agents`,desc:`Configure schedules, models & triggers`,path:`/bots`},{id:`apps`,label:`Apps — Hanzo Business Suite`,desc:`All connected Hanzo applications`,path:`/apps`}];function D_e({appId:e=`team`,appTitle:t,showAppTitle:n=!1,apps:r=S_e,onSelectApp:i,brandMark:a,currentOrg:o,orgs:s=[],onSelectOrg:c,onAllOrgs:l,onCreateOrg:u,leftSlot:d,children:f,rightSlot:p,onNavigate:m,user:h}){let[g,_]=(0,b.useState)(!1),[v,y]=(0,b.useState)(!1),[x,S]=(0,b.useState)(!1),[C,w]=(0,b.useState)(``),T=r.find(t=>t.id===e)??r[0],E=t||T?.productTitle||`Hanzo Team`,D=o?.displayName?.trim()||o?.name||`Hanzo AI`,O=h?.sub||``;(0,b.useEffect)(()=>{let e=e=>{(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===`k`&&(e.preventDefault(),S(e=>!e))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[]);let k=(0,b.useMemo)(()=>{let e=C.trim().toLowerCase(),t=a4.map(e=>({id:`bot-${e.id}`,kind:`bot`,label:`${e.name} — ${e.role}`,desc:e.status,path:`/chat/dm-${e.id}`})),n=T_e.map(e=>({...e,kind:`channel`})),r=[...E_e.map(e=>({...e,kind:`surface`})),...n,...t];return e?r.filter(t=>t.label.toLowerCase().includes(e)||t.desc.toLowerCase().includes(e)).slice(0,14):r.slice(0,12)},[C]),A=e=>{if(_(!1),i){i(e);return}if(typeof window<`u`){let t=w_e(e,{who:O||void 0,org:o?.name||void 0});window.location.assign(t)}},j=e=>{S(!1),w(``),m?m(e):typeof window<`u`&&window.location.assign(e)};return(0,L.jsxs)(B,{render:`header`,height:40,px:`$2.5`,gap:`$2`,items:`center`,justify:`space-between`,borderBottomWidth:1,borderColor:`$borderColor`,bg:`$background`,shrink:0,"data-testid":`hanzo-business-header`,children:[(0,L.jsxs)(B,{items:`center`,gap:`$1.5`,minW:0,shrink:0,children:[d,(0,L.jsxs)(lD,{open:g,onOpenChange:_,placement:`bottom-start`,allowFlip:!0,stayInFrame:!0,children:[(0,L.jsx)(lD.Trigger,{asChild:!0,children:(0,L.jsxs)(B,{role:`button`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$1`,height:30,px:`$2`,rounded:`$3`,hoverStyle:{bg:`$color3`},"aria-label":`${E} — Switch application`,"aria-haspopup":`menu`,"aria-expanded":g,"data-testid":`business-app-switcher-trigger`,children:[(0,L.jsx)(z,{items:`center`,justify:`center`,width:20,height:20,shrink:0,children:a??(0,L.jsx)(Yme,{size:17,wordmark:``})}),n?(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`700`,color:`$color12`,numberOfLines:1,children:E}):null,(0,L.jsx)(lj,{size:12,color:`$color10`})]})}),(0,L.jsx)(lD.Content,{role:`menu`,"aria-label":`Hanzo Business Applications`,borderWidth:1,elevation:`$4`,p:`$2.5`,width:350,bg:`$background`,borderColor:`$borderColor`,rounded:`$4`,style:{zIndex:1e5},children:(0,L.jsxs)(z,{gap:`$2`,width:`100%`,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,px:`$2`,pt:`$1`,children:[(0,L.jsx)(H,{fontSize:`$1`,fontWeight:`700`,color:`$color10`,textTransform:`uppercase`,letterSpacing:.6,children:`Hanzo Business Suite`}),(0,L.jsx)(H,{fontSize:`$1`,color:`$color10`,children:D})]}),(0,L.jsx)(z,{gap:`$0.5`,maxH:420,style:{overflowY:`auto`},children:r.map(t=>{let n=t.id===e;return(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2.5`,py:`$2`,rounded:`$3`,bg:n?`$color3`:`transparent`,hoverStyle:{bg:`$color3`},onPress:()=>A(t),"data-testid":`app-switcher-item-${t.id}`,children:[(0,L.jsx)(z,{width:30,height:30,rounded:`$3`,bg:n?`$color4`:`$color2`,items:`center`,justify:`center`,shrink:0,children:(0,L.jsx)(C_e,{id:t.id,size:15})}),(0,L.jsxs)(z,{flex:1,minW:0,gap:1,children:[(0,L.jsxs)(B,{items:`center`,gap:`$1.5`,children:[(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`600`,color:`$color12`,numberOfLines:1,children:t.label}),n?(0,L.jsx)(H,{fontSize:10,fontWeight:`600`,color:`$color10`,px:`$1.5`,py:1,rounded:`$2`,bg:`$color4`,children:`Current`}):null]}),(0,L.jsx)(H,{fontSize:`$1`,color:`$color10`,numberOfLines:1,children:t.description})]}),n?(0,L.jsx)(cj,{size:14,color:`$color12`}):null]},t.id)})})]})})]}),(0,L.jsxs)(lD,{open:v,onOpenChange:y,placement:`bottom-start`,allowFlip:!0,stayInFrame:!0,children:[(0,L.jsx)(lD.Trigger,{asChild:!0,children:(0,L.jsxs)(B,{role:`button`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$1.5`,height:30,px:`$2`,rounded:`$3`,hoverStyle:{bg:`$color3`},"aria-label":`Current organization: ${D}. Click to switch organization.`,"data-testid":`business-org-subtitle-trigger`,children:[(0,L.jsx)(r6,{org:{name:D,logo:o?.logo},size:20}),(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`600`,color:`$color12`,numberOfLines:1,maxW:180,children:D}),(0,L.jsx)(lj,{size:12,color:`$color10`})]})}),(0,L.jsx)(lD.Content,{role:`menu`,"aria-label":`Switch organization`,borderWidth:1,elevation:`$4`,p:`$2`,width:260,bg:`$background`,borderColor:`$borderColor`,rounded:`$4`,style:{zIndex:1e5},children:(0,L.jsxs)(z,{gap:`$1`,width:`100%`,children:[(0,L.jsx)(B,{px:`$2`,py:`$1`,items:`center`,justify:`space-between`,children:(0,L.jsx)(H,{fontSize:`$1`,fontWeight:`700`,color:`$color10`,textTransform:`uppercase`,letterSpacing:.5,children:`Switch organization`})}),s.map(e=>{let t=e.name===o?.name,n=e.displayName?.trim()||e.name;return(0,L.jsxs)(B,{role:`menuitem`,"aria-checked":t,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2`,py:`$1.5`,rounded:`$3`,bg:t?`$color3`:`transparent`,hoverStyle:{bg:`$color3`},onPress:()=>{y(!1),c?.(e.name)},children:[(0,L.jsx)(r6,{org:{name:n,logo:e.logo},size:20}),(0,L.jsx)(H,{flex:1,fontSize:`$2`,fontWeight:t?`600`:`500`,color:`$color12`,numberOfLines:1,children:n}),t?(0,L.jsx)(cj,{size:14,color:`$color12`}):null]},e.name)}),l||u?(0,L.jsx)(dD,{borderColor:`$borderColor`,my:`$1`}):null,l?(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2`,px:`$2`,py:`$1.5`,rounded:`$3`,hoverStyle:{bg:`$color3`},onPress:()=>{y(!1),l()},children:[(0,L.jsx)(aj,{size:14,color:`$color10`}),(0,L.jsx)(H,{fontSize:`$2`,color:`$color12`,children:`All organizations…`})]}):null,u?(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2`,px:`$2`,py:`$1.5`,rounded:`$3`,hoverStyle:{bg:`$color3`},onPress:()=>{y(!1),u()},children:[(0,L.jsx)(Qj,{size:14,color:`$color10`}),(0,L.jsx)(H,{fontSize:`$2`,color:`$color12`,children:`Create organization`})]}):null]})})]})]}),(0,L.jsx)(B,{flex:1,items:`center`,justify:`center`,gap:`$1.5`,minW:0,px:`$2`,children:f??(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(B,{items:`center`,gap:2,shrink:0,children:[(0,L.jsx)(B,{role:`button`,tabIndex:0,cursor:`pointer`,width:26,height:26,rounded:`$2`,items:`center`,justify:`center`,hoverStyle:{bg:`$color3`},"aria-label":`Go back`,onPress:()=>{typeof window<`u`&&window.history.back()},children:(0,L.jsx)(QA,{size:14,color:`$color10`})}),(0,L.jsx)(B,{role:`button`,tabIndex:0,cursor:`pointer`,width:26,height:26,rounded:`$2`,items:`center`,justify:`center`,hoverStyle:{bg:`$color3`},"aria-label":`Go forward`,onPress:()=>{typeof window<`u`&&window.history.forward()},children:(0,L.jsx)($A,{size:14,color:`$color10`})}),(0,L.jsx)(B,{role:`button`,tabIndex:0,cursor:`pointer`,width:26,height:26,rounded:`$2`,items:`center`,justify:`center`,hoverStyle:{bg:`$color3`},"aria-label":`Recent activity`,onPress:()=>S(!0),children:(0,L.jsx)(_j,{size:13,color:`$color10`})})]}),(0,L.jsxs)(lD,{open:x,onOpenChange:S,placement:`bottom`,allowFlip:!0,stayInFrame:!0,children:[(0,L.jsx)(lD.Trigger,{asChild:!0,children:(0,L.jsxs)(B,{role:`button`,tabIndex:0,cursor:`pointer`,flex:1,maxW:460,height:28,px:`$2.5`,rounded:`$3`,bg:`$color2`,borderWidth:1,borderColor:`$borderColor`,items:`center`,justify:`space-between`,hoverStyle:{bg:`$color3`},"aria-label":`Search ${D}`,"data-testid":`slack-top-search-trigger`,children:[(0,L.jsxs)(B,{items:`center`,gap:`$2`,minW:0,flex:1,children:[(0,L.jsx)(eM,{size:13,color:`$color10`}),(0,L.jsx)(H,{fontSize:12,color:`$color10`,numberOfLines:1,children:`Search ${D}…`})]}),(0,L.jsx)(H,{fontSize:10,fontWeight:`600`,color:`$color9`,px:`$1.5`,py:1,rounded:`$2`,bg:`$color3`,children:`⌘K`})]})}),(0,L.jsx)(lD.Content,{role:`dialog`,"aria-label":`Jump to channel, bot, or surface`,borderWidth:1,elevation:`$4`,p:`$2`,width:460,bg:`$background`,borderColor:`$borderColor`,rounded:`$4`,style:{zIndex:1e5},children:(0,L.jsxs)(z,{gap:`$2`,width:`100%`,children:[(0,L.jsxs)(B,{height:34,px:`$2.5`,items:`center`,gap:`$2`,rounded:`$3`,bg:`$color2`,borderWidth:1,borderColor:`$borderColor`,children:[(0,L.jsx)(eM,{size:14,color:`$color10`}),(0,L.jsx)(Zk,{flex:1,height:30,fontSize:13,borderWidth:0,bg:`transparent`,placeholder:`Jump to a channel, 24/7 bot, issue board, or CRM view…`,value:C,onChangeText:w,autoFocus:!0})]}),(0,L.jsx)(z,{gap:`$0.5`,maxH:340,style:{overflowY:`auto`},children:k.map(e=>(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2.5`,py:`$1.5`,rounded:`$3`,hoverStyle:{bg:`$color3`},onPress:()=>j(e.path),children:[(0,L.jsx)(z,{width:24,height:24,rounded:`$2`,bg:`$color3`,items:`center`,justify:`center`,shrink:0,children:e.kind===`bot`?(0,L.jsx)(nj,{size:13,color:`$color11`}):e.kind===`channel`?(0,L.jsx)(Fj,{size:13,color:`$color11`}):(0,L.jsx)(oM,{size:13,color:`$color11`})}),(0,L.jsxs)(z,{flex:1,minW:0,children:[(0,L.jsx)(H,{fontSize:12,fontWeight:`600`,color:`$color12`,numberOfLines:1,children:e.label}),(0,L.jsx)(H,{fontSize:11,color:`$color10`,numberOfLines:1,children:e.desc})]})]},e.id))})]})})]})]})}),(0,L.jsx)(B,{items:`center`,gap:`$1.5`,shrink:0,children:p??(0,L.jsx)(o6,{})})]})}function O_e({user:e,currentOrg:t,orgs:n=[],onSelectOrg:r,onCreateOrg:i,onConnectOrg:a,accounts:o=[],onSwitchAccount:s,onAddAccount:c,onSettings:l,onSignOut:u}){let[d,f]=(0,b.useState)(!1),p=t?.displayName?.trim()||t?.name||`Hanzo AI`,m=x_e(e?.name,e?.email)||`Account`,h=e?.email||``,g=e?.sub||``,_=(()=>{let n=[],r=new Set;g&&(r.add(g),n.push({sub:g,owner:e?.owner||t?.name||`hanzo`,name:m,email:h||void 0,avatar:e?.avatar}));for(let e of o)e.sub&&!r.has(e.sub)&&(r.add(e.sub),n.push(e));return n})();return(0,L.jsxs)(lD,{open:d,onOpenChange:f,placement:`right-end`,allowFlip:!0,stayInFrame:!0,children:[(0,L.jsx)(lD.Trigger,{asChild:!0,children:(0,L.jsxs)(z,{role:`button`,tabIndex:0,cursor:`pointer`,width:36,height:36,rounded:Q.field,items:`center`,justify:`center`,position:`relative`,hoverStyle:{bg:`$color3`},"aria-label":`${m} · Account & settings`,"aria-haspopup":`menu`,"aria-expanded":d,"data-testid":`rail-account-menu-trigger`,onKeyDown:e=>{(e?.key===`Enter`||e?.key===` `)&&(e.preventDefault?.(),f(!d))},children:[e?.avatar||m?(0,L.jsx)(r6,{org:{name:m,logo:e?.avatar},size:30}):(0,L.jsx)(hse,{size:18}),(0,L.jsx)(z,{position:`absolute`,b:1,r:1,width:9,height:9,rounded:Q.pill,borderWidth:1.5,borderColor:`$background`,style:{backgroundColor:r5.done}})]})}),(0,L.jsx)(lD.Content,{role:`menu`,"aria-label":`Account menu`,borderWidth:1,elevation:`$4`,p:`$2`,width:300,bg:`$background`,borderColor:`$borderColor`,rounded:`$4`,style:{zIndex:1e5},children:(0,L.jsxs)(z,{gap:`$1`,width:`100%`,children:[(0,L.jsxs)(B,{items:`center`,gap:`$2.5`,px:`$2`,py:`$2`,rounded:`$3`,bg:`$color2`,children:[(0,L.jsx)(r6,{org:{name:m,logo:e?.avatar},size:36}),(0,L.jsxs)(z,{flex:1,minW:0,gap:1,children:[(0,L.jsx)(H,{fontSize:`$3`,fontWeight:`700`,color:`$color12`,numberOfLines:1,children:m}),h&&h!==m?(0,L.jsx)(H,{fontSize:`$1`,color:`$color10`,numberOfLines:1,children:h}):null,(0,L.jsxs)(B,{items:`center`,gap:`$1.5`,mt:2,children:[(0,L.jsx)(z,{width:6,height:6,rounded:Q.pill,style:{backgroundColor:r5.done}}),(0,L.jsxs)(H,{fontSize:11,fontWeight:`600`,color:`$color10`,children:[`Active · `,p]})]})]})]}),(0,L.jsx)(dD,{borderColor:`$borderColor`,my:`$1`}),(0,L.jsxs)(z,{gap:`$0.5`,children:[(0,L.jsxs)(B,{px:`$2`,py:`$1`,items:`center`,justify:`space-between`,children:[(0,L.jsx)(H,{fontSize:`$1`,fontWeight:`700`,color:`$color10`,textTransform:`uppercase`,letterSpacing:.5,children:`Switch account`}),(0,L.jsx)(H,{fontSize:11,color:`$color9`,children:`Identities`})]}),_.map(e=>{let t=!!(g&&e.sub===g),n=e.name||e.email||e.sub;return(0,L.jsxs)(B,{role:`menuitem`,"aria-checked":t,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2`,py:`$1.5`,rounded:`$3`,bg:t?`$color3`:`transparent`,hoverStyle:{bg:`$color3`},onPress:()=>{f(!1),t||s?.(e)},children:[(0,L.jsx)(r6,{org:{name:n,logo:e.avatar},size:24}),(0,L.jsxs)(z,{flex:1,minW:0,children:[(0,L.jsx)(H,{fontSize:`$2`,fontWeight:t?`600`:`500`,color:`$color12`,numberOfLines:1,children:n}),(0,L.jsx)(H,{fontSize:`$1`,color:`$color10`,numberOfLines:1,children:e.email&&e.email!==n?e.email:t?`Current account`:`Identity · ${e.owner}`})]}),t?(0,L.jsx)(cj,{size:14,color:`$color12`}):null]},e.sub)}),c?(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2`,py:`$1.5`,rounded:`$3`,hoverStyle:{bg:`$color3`},onPress:()=>{f(!1),c()},children:[(0,L.jsx)(z,{width:24,height:24,rounded:Q.pill,bg:`$color3`,items:`center`,justify:`center`,children:(0,L.jsx)(mse,{size:13,color:`$color11`})}),(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`500`,color:`$color12`,children:`Add another account`})]}):null]}),(0,L.jsx)(dD,{borderColor:`$borderColor`,my:`$1`}),(0,L.jsxs)(z,{gap:`$0.5`,children:[(0,L.jsxs)(B,{px:`$2`,py:`$1`,items:`center`,justify:`space-between`,children:[(0,L.jsx)(H,{fontSize:`$1`,fontWeight:`700`,color:`$color10`,textTransform:`uppercase`,letterSpacing:.5,children:`Switch organization`}),(0,L.jsx)(H,{fontSize:11,color:`$color9`,children:p})]}),n.slice(0,5).map(e=>{let n=e.name===t?.name,i=e.displayName?.trim()||e.name;return(0,L.jsxs)(B,{role:`menuitem`,"aria-checked":n,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2`,py:`$1.5`,rounded:`$3`,bg:n?`$color3`:`transparent`,hoverStyle:{bg:`$color3`},onPress:()=>{f(!1),n||r?.(e.name)},children:[(0,L.jsx)(r6,{org:{name:i,logo:e.logo},size:20}),(0,L.jsx)(H,{flex:1,fontSize:`$2`,fontWeight:n?`600`:`500`,color:`$color12`,numberOfLines:1,children:i}),n?(0,L.jsx)(cj,{size:14,color:`$color12`}):null]},e.name)}),i?(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2`,py:`$1.5`,rounded:`$3`,hoverStyle:{bg:`$color3`},onPress:()=>{f(!1),i()},children:[(0,L.jsx)(z,{width:20,height:20,rounded:Q.field,bg:`$color3`,items:`center`,justify:`center`,children:(0,L.jsx)(Qj,{size:12,color:`$color11`})}),(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`500`,color:`$color12`,children:`Create new organization…`})]}):null,a?(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2`,py:`$1.5`,rounded:`$3`,hoverStyle:{bg:`$color3`},onPress:()=>{f(!1),a()},children:[(0,L.jsx)(z,{width:20,height:20,rounded:Q.field,bg:`$color3`,items:`center`,justify:`center`,children:(0,L.jsx)(nM,{size:12,color:`$color11`})}),(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`500`,color:`$color12`,children:`Hanzo Connect (share channel)…`})]}):null]}),(0,L.jsx)(dD,{borderColor:`$borderColor`,my:`$1`}),(0,L.jsxs)(z,{gap:`$0.5`,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,px:`$2`,py:`$1.5`,rounded:`$3`,children:[(0,L.jsx)(H,{fontSize:`$2`,color:`$color12`,children:`Theme`}),(0,L.jsx)(o6,{})]}),l?(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2`,py:`$1.5`,rounded:`$3`,hoverStyle:{bg:`$color3`},onPress:()=>{f(!1),l()},children:[(0,L.jsx)(sse,{size:15,color:`$color10`}),(0,L.jsx)(H,{fontSize:`$2`,color:`$color12`,children:`Preferences & Bots`})]}):null]}),u?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(dD,{borderColor:`$borderColor`,my:`$1`}),(0,L.jsxs)(B,{role:`menuitem`,tabIndex:0,cursor:`pointer`,items:`center`,gap:`$2.5`,px:`$2`,py:`$1.5`,rounded:`$3`,hoverStyle:{bg:`$color3`},onPress:()=>{f(!1),u()},children:[(0,L.jsx)($oe,{size:15,color:X.alert}),(0,L.jsx)(H,{fontSize:`$2`,fontWeight:`500`,style:{color:X.alert},children:`Sign out`})]})]}):null]})})]})}var k_e=e=>e.replace(/<\/(p|div|li|h[1-6])>|<br\s*\/?>/gi,`
171
171
  `).replace(/<[^>]*>/g,``).split(`
172
172
  `).map(e=>j_e(e).trim()).filter(e=>e!==``),d5=e=>e.replace(/\r\n/g,`
173
173
  `).split(`
174
- `).map(e=>e.trimEnd()).filter(e=>e!==``).map(e=>`<p>${M_e(e)}</p>`).join(``)||`<p></p>`,A_e={"&amp;":`&`,"&lt;":`<`,"&gt;":`>`,"&quot;":`"`,"&#39;":`'`,"&#34;":`"`,"&nbsp;":` `},j_e=e=>e.replace(/&(?:amp|lt|gt|quot|nbsp|#39|#34);/g,e=>A_e[e]??e),M_e=e=>e.replace(/[&<>"']/g,e=>`&${{"&":`amp`,"<":`lt`,">":`gt`,'"':`quot`,"'":`#39`}[e]};`),N_e=/(?<![\w.@-])(@[\w.-]+)|(https?:\/\/[^\s<>()]+)/g,P_e=e=>{let t=[],n=0;for(let r of e.matchAll(N_e)){let i=r.index;i>n&&t.push({kind:`text`,value:e.slice(n,i)}),t.push(r[1]?{kind:`mention`,value:r[1]}:{kind:`link`,value:r[2]}),n=i+r[0].length}return n<e.length&&t.push({kind:`text`,value:e.slice(n)}),t},f5={channel:Y.channel,direct:Y.direct,message:Y.message,reply:Y.reply,reaction:Y.reaction,person:Y.person},p5=q2.create,F_e=q2.remove,m5=e=>typeof e==`string`?e:``,h5=e=>typeof e==`number`?e:0,I_e=async e=>{let[t,n]=await Promise.all([e.find(f5.channel),e.find(f5.direct)]);return[...t.map(e=>g5(e,`channel`)),...n.map(e=>g5(e,`direct`))].filter(e=>!e.archived)},L_e=e=>{let t=new Set;if(Array.isArray(e.bindings))for(let n of e.bindings)typeof n==`string`&&n.startsWith(`connect:`)&&t.add(n.slice(8));let n=m5(e.topic)||m5(e.description);for(let e of n.matchAll(/connect:([a-z0-9_-]+)/gi))e[1]&&t.add(e[1].toLowerCase());let r=m5(e.name).match(/^[a-z0-9]+-x-([a-z0-9_-]+)$/i);return r?.[1]&&t.add(r[1].toLowerCase()),t.size>0?[...t]:void 0},g5=(e,t)=>({id:m5(e._id),kind:t,name:m5(e.name),topic:m5(e.topic)||void 0,private:e.private===!0,archived:e.archived===!0,members:Array.isArray(e.members)?e.members.filter(e=>typeof e==`string`):[],connectedOrgs:L_e(e)}),R_e=async(e,t)=>(await e.find(f5.message,{attachedTo:t})).map(e=>v5(e,t)).sort(_5),_5=(e,t)=>e.at-t.at||(e.id<t.id?-1:1),v5=(e,t)=>({id:m5(e._id),room:t,author:m5(e.createdBy)||m5(e.modifiedBy),lines:k_e(m5(e.message)),at:h5(e.createdOn)||h5(e.modifiedOn),replies:h5(e.replies),pinned:e.isPinned===!0}),z_e=async(e,t)=>(await e.find(f5.reply,{attachedTo:t})).map(e=>({...B_e(e),room:t})).sort(_5),B_e=e=>v5(e,m5(e.attachedTo)),V_e=async(e,t)=>t.length===0?[]:(await e.find(f5.reaction,{attachedTo:{$in:t}})).map(e=>({id:m5(e._id),message:m5(e.attachedTo),emoji:m5(e.emoji),by:m5(e.createdBy)})),H_e=e=>e.trim().replace(/\s+/g,` `),U_e=async e=>(await e.find(f5.person)).map(e=>({id:m5(e.personUuid)||m5(e._id),name:H_e(m5(e.name)),avatar:m5(e.avatar)||void 0})),W_e=(e,t,n)=>e.write(S5(C5(),f5.message,t.id,t.id,b5(t),`messages`,x5(e),{message:d5(n)})),G_e=(e,t,n,r)=>e.write(S5(C5(),f5.reply,t.id,n.id,f5.message,`replies`,x5(e),{message:d5(r),objectId:t.id,objectClass:b5(t)})),K_e=(e,t,n,r)=>e.write(S5(C5(),f5.reaction,t.id,n.id,f5.message,`reactions`,x5(e),{emoji:r})),q_e=(e,t,n)=>e.write({_class:F_e,objectId:n.id,objectClass:f5.reaction,objectSpace:t.id,modifiedBy:x5(e),modifiedOn:Date.now()}),y5=async(e,t,n,r)=>{let i=t.trim().replace(/^#+/,``).toLowerCase().replace(/[^a-z0-9_-]+/g,`-`),a=n.map(e=>e.trim().toLowerCase().replace(/[^a-z0-9_-]+/g,``)).filter(Boolean),o=`connect-${i}-${C5().slice(0,8)}`,s=Date.now(),c=x5(e),l=a.map(e=>`connect:${e}`),u=[r?.trim(),...l].filter(Boolean).join(` · `);return await e.write({_class:p5,objectId:o,objectClass:f5.channel,objectSpace:`hanzo`,modifiedBy:c,modifiedOn:s,createdBy:c,createdOn:s,attributes:{name:i,topic:u,description:u,private:!1,archived:!1,members:c?[c]:[],owners:c?[c]:[],life:`standing`,bindings:l}}),o},b5=e=>e.kind===`direct`?f5.direct:f5.channel,x5=e=>e.account??``,S5=(e,t,n,r,i,a,o,s)=>{let c=Date.now();return{_class:p5,objectId:e,objectClass:t,objectSpace:n,modifiedBy:o,modifiedOn:c,createdBy:o,createdOn:c,attributes:s,attachedTo:r,attachedToClass:i,collection:a}},C5=()=>[...crypto.getRandomValues(new Uint8Array(16))].map(e=>e.toString(16).padStart(2,`0`)).join(``),J_e=(e,t)=>e.some(e=>{let n=m5(e.objectClass);return n!==f5.message&&n!==f5.reaction&&n!==f5.reply?!1:m5(e.objectSpace)===t||m5(e.attachedTo)===t||n!==f5.message}),w5=(e,t)=>({role:`button`,tabIndex:0,cursor:`pointer`,...t?{"aria-label":t}:{},onPress:e,onKeyDown:t=>{(t.nativeEvent.key===`Enter`||t.nativeEvent.key===` `)&&(t.preventDefault(),e())}}),T5=new Set,E5=null,D5=(e=`connect`)=>{E5=e;for(let e of T5)e(E5)},O5=()=>{E5=null;for(let e of T5)e(null)};function Y_e(){let[e,t]=(0,b.useState)(E5),n=Qi(),{all:r,current:i,plane:a,choose:o,createOrg:s}=P4(),[c,l]=(0,b.useState)(`lux`),[u,d]=(0,b.useState)(``),[f,p]=(0,b.useState)(`hanzo-x-lux`),[m,h]=(0,b.useState)(`Cross-organization engineering, shared agents & delivery`),[g,_]=(0,b.useState)(!1),[v,y]=(0,b.useState)(``),[x,S]=(0,b.useState)(``),[C,w]=(0,b.useState)(!0),[T,E]=(0,b.useState)(!1);(0,b.useEffect)(()=>{let e=e=>t(e);return T5.add(e),()=>{T5.delete(e)}},[]);let D=i?.url??`hanzo`,O=i?.name??`Hanzo AI`,k=r.filter(e=>e.url!==D),A=(u.trim()||c||`partner`).toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``);if((0,b.useEffect)(()=>{A&&p(`${D}-x-${A}`)},[D,A]),!e)return null;let j=async()=>{if(!a||g)return;let e=A||`partner`,t=f.trim().toLowerCase().replace(/^#+/,``).replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``)||`${D}-x-${e}`;_(!0);try{r.some(t=>t.url===e)||s(e,e.toUpperCase());let i=await y5(a,t,[e],m);N2(`chat:rooms:`),O5(),n(`/chat/${i}`)}finally{_(!1)}},ee=async()=>{if(g)return;let e=v.trim()||x.trim()||`New Organization`,t=(x.trim()||e).toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``);if(t){_(!0);try{let r=s(t,e);if(C&&a&&t!==D){let e=`${D}-x-${t}`,i=await y5(a,e,[t],`Hanzo Connect shared channel between ${O} and ${r.name}`);N2(`chat:rooms:`),T&&o(r.url),O5(),n(`/chat/${i}`);return}T&&o(r.url),O5()}finally{_(!1)}}};return(0,L.jsx)(z,{position:`fixed`,t:0,l:0,r:0,b:0,z:1e5,items:`center`,justify:`center`,p:16,style:{backgroundColor:`var(--team-backdrop, rgba(0, 0, 0, 0.65))`,backdropFilter:`blur(4px)`},onPress:()=>O5(),children:(0,L.jsxs)(z,{width:`100%`,maxW:520,rounded:Q.card,bg:`$panel`,borderWidth:1,borderColor:`$edge`,p:20,gap:16,onPress:e=>e.stopPropagation?.(),"data-testid":`hanzo-connect-modal`,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,gap:12,children:[(0,L.jsxs)(B,{items:`center`,gap:10,children:[(0,L.jsx)(z,{width:32,height:32,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(nM,{size:16,color:`$ink`})}),(0,L.jsxs)(z,{children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`700`,color:`$ink`,children:`Hanzo Connect`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Multi-org shared channels & isolated organization workspaces`})]})]}),(0,L.jsx)(B,{...w5(()=>O5(),`Close Hanzo Connect modal`),px:8,py:4,rounded:Q.field,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.body,color:`$soft`,children:`✕`})})]}),(0,L.jsxs)(B,{bg:`$background`,p:3,rounded:Q.field,borderWidth:1,borderColor:`$edge`,gap:4,children:[(0,L.jsxs)(B,{flex:1,...w5(()=>t(`connect`),`Connect organizations tab`),py:7,px:10,rounded:Q.field,items:`center`,justify:`center`,gap:6,bg:e===`connect`?`$panel`:`transparent`,children:[(0,L.jsx)(nM,{size:14,color:e===`connect`?`$ink`:`$soft`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:e===`connect`?`600`:`500`,color:e===`connect`?`$ink`:`$soft`,children:`Connect Orgs (Shared Channel)`})]}),(0,L.jsxs)(B,{flex:1,...w5(()=>t(`create-org`),`Create organization tab`),py:7,px:10,rounded:Q.field,items:`center`,justify:`center`,gap:6,bg:e===`create-org`?`$panel`:`transparent`,children:[(0,L.jsx)(aj,{size:14,color:e===`create-org`?`$ink`:`$soft`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:e===`create-org`?`600`:`500`,color:e===`create-org`?`$ink`:`$soft`,children:`Create New Organization`})]})]}),e===`connect`?(0,L.jsxs)(z,{gap:14,children:[(0,L.jsxs)(B,{p:12,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`space-between`,gap:8,children:[(0,L.jsxs)(z,{gap:2,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$faint`,children:`HOST ORGANIZATION`}),(0,L.jsxs)(V,{fontSize:Z.body,fontWeight:`700`,color:`$ink`,children:[O,` (`,D,`)`]})]}),(0,L.jsxs)(B,{px:8,py:3,rounded:Q.pill,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,gap:5,children:[(0,L.jsx)(Pj,{size:12,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:[`connect:`,A||`org`]})]}),(0,L.jsxs)(z,{gap:2,items:`flex-end`,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$faint`,children:`PARTNER ORGANIZATION`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`700`,color:`$ink`,children:A||`partner`})]})]}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Select or enter partner organization slug`}),(0,L.jsx)(B,{gap:6,flexWrap:`wrap`,children:k.map(e=>{let t=!u.trim()&&c===e.url;return(0,L.jsxs)(B,{...w5(()=>{d(``),l(e.url)},`Select ${e.name}`),px:10,py:5,rounded:Q.pill,bg:t?`$ink`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,items:`center`,gap:5,children:[t?(0,L.jsx)(cj,{size:12,color:`$background`}):null,(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,color:t?`$background`:`$ink`,children:[e.name,` (`,e.url,`)`]})]},e.url)})}),(0,L.jsx)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(`input`,{value:u,onChange:e=>d(e.target.value),placeholder:`Or enter external organization slug (e.g. acme, skully, partner)...`,style:{width:`100%`,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})})]}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Shared channel name`}),(0,L.jsxs)(B,{items:`center`,gap:6,px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(Fj,{size:14,color:`$soft`}),(0,L.jsx)(`input`,{value:f,onChange:e=>p(e.target.value),placeholder:`hanzo-x-partner`,style:{flex:1,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})]})]}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Channel purpose & agent scope`}),(0,L.jsx)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(`input`,{value:m,onChange:e=>h(e.target.value),placeholder:`Cross-org engineering, shared agents & delivery`,style:{width:`100%`,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})})]}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$soft`,children:[`Both organizations keep strict tenant isolation (separate IAM, KMS secrets, private repos, and billing) while humans and AI agents (@vi, @dev, @mark) collaborate in real time inside #`,f||`${D}-x-${A}`,`.`]}),(0,L.jsxs)(B,{justify:`flex-end`,gap:8,pt:4,children:[(0,L.jsx)(B,{...w5(()=>O5(),`Cancel`),px:12,py:8,rounded:Q.field,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`Cancel`})}),(0,L.jsxs)(B,{...w5(()=>void j(),`Connect and create shared channel`),px:14,py:8,rounded:Q.field,bg:`$ink`,items:`center`,gap:6,children:[(0,L.jsx)(nM,{size:14,color:`$background`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`600`,color:`$background`,children:g?`Connecting…`:`Connect & Share Channel`})]})]})]}):(0,L.jsxs)(z,{gap:14,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Every company, agency, or partner team creates its own isolated Hanzo Organization with dedicated IAM, KMS secrets, and billing. Two or more organizations can then link shared channels via Hanzo Connect.`}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Organization display name`}),(0,L.jsx)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(`input`,{value:v,onChange:e=>{y(e.target.value)},placeholder:`e.g. Acme Robotics, Skully Systems, Partner Labs`,style:{width:`100%`,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})})]}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Organization slug (tenant ID)`}),(0,L.jsx)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(`input`,{value:x||v.trim().toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``),onChange:e=>S(e.target.value),placeholder:`e.g. acme`,style:{width:`100%`,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})})]}),(0,L.jsxs)(B,{...w5(()=>w(e=>!e),`Toggle automatic Hanzo Connect channel creation`),items:`center`,gap:8,p:10,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(z,{width:16,height:16,rounded:4,bg:C?`$ink`:`transparent`,borderWidth:1,borderColor:`$ink`,items:`center`,justify:`center`,children:C?(0,L.jsx)(cj,{size:12,color:`$background`}):null}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$ink`,flex:1,children:[`Automatically bridge a Hanzo Connect channel (#`,D,`-x-`,x||v.trim().toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``)||`new-org`,`) with `,O]})]}),(0,L.jsxs)(B,{...w5(()=>E(e=>!e),`Toggle switching active organization after creation`),items:`center`,gap:8,px:10,py:6,children:[(0,L.jsx)(z,{width:16,height:16,rounded:4,bg:T?`$ink`:`transparent`,borderWidth:1,borderColor:`$ink`,items:`center`,justify:`center`,children:T?(0,L.jsx)(cj,{size:12,color:`$background`}):null}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$quiet`,children:`Switch my active workspace to this new organization immediately`})]}),(0,L.jsxs)(B,{justify:`flex-end`,gap:8,pt:4,children:[(0,L.jsx)(B,{...w5(()=>O5(),`Cancel`),px:12,py:8,rounded:Q.field,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`Cancel`})}),(0,L.jsxs)(B,{...w5(()=>void ee(),`Create organization`),px:14,py:8,rounded:Q.field,bg:`$ink`,items:`center`,gap:6,children:[(0,L.jsx)(Qj,{size:14,color:`$background`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`600`,color:`$background`,children:g?`Creating…`:`Create Organization`})]})]})]})]})})}var k5=1120,A5=e=>{let t=e,n=new Set;return{set:e=>{if(e!==t){t=e;for(let e of n)e()}},use:()=>(0,b.useSyncExternalStore)(e=>(n.add(e),()=>n.delete(e)),()=>t,()=>e)}},j5=A5(0),M5=A5(null),X_e=j5.set,N5=j5.use,Z_e=M5.set;M5.use;var P5=[{id:`overview`,label:`AI Cockpit`,icon:KA,path:`/overview`},{id:`chat`,label:`Chat`,icon:Kj,path:`/chat`},{id:`tracker`,label:`Tracker`,icon:oM,path:`/issues`},{id:`crm`,label:`CRM`,icon:ij,path:`/crm`},{id:`bots`,label:`Bots`,icon:nj,path:`/bots`},{id:`calendar`,label:`Calendar`,icon:sj,path:`/calendar`},{id:`meet`,label:`Meet`,icon:gM,path:`/meet`},{id:`time`,label:`Time`,icon:_j,path:`/time`},{id:`apps`,label:`Business Apps`,icon:Lj,path:`/apps`}],F5=e=>P5.find(t=>e===t.path||e.startsWith(`${t.path}/`)||t.id===`overview`&&e===`/crm/overview`||t.id===`tracker`&&(e===`/mine`||e.startsWith(`/mine/`)||e===`/projects`||e===`/projects/`||e.startsWith(`/projects/`))),I5={outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},Q_e={background:`radial-gradient(closest-side, var(--surface-3, rgb(255 255 255 / .12)), transparent)`},$_e={background:X.alert},eve=({notices:e,onNotices:t,onSurface:n,account:r})=>{let{pathname:i}=Xi(),a=N5();return(0,L.jsxs)(z,{width:64,shrink:0,height:`100%`,items:`center`,justify:`space-between`,pt:8,pb:12,bg:`$background`,borderRightWidth:1,borderColor:`$edge`,"data-parity-key":`shell.rail`,children:[(0,L.jsx)(EI,{flex:1,minH:0,width:`100%`,children:(0,L.jsxs)(z,{items:`center`,width:`100%`,gap:2,children:[(0,L.jsxs)(L5,{label:a>0?`${e?`Hide`:`Show`} Activity (${a} unread)`:e?`Hide Activity`:`Show Activity`,pressed:e,onPress:t,children:[(0,L.jsx)(tj,{size:18,color:e?`$ink`:`$soft`}),a>0?(0,L.jsx)(z,{position:`absolute`,t:4,r:3,minW:15,height:15,px:3,rounded:Q.pill,items:`center`,justify:`center`,style:$_e,children:(0,L.jsx)(V,{fontSize:10,lineHeight:12,fontWeight:`700`,style:{color:X.panel},children:a})}):null]}),(0,L.jsx)(tve,{}),P5.map(e=>{let t=F5(i)?.id===e.id;return(0,L.jsx)(L5,{label:e.label,here:t,onPress:()=>n(e.path),children:(0,L.jsx)(e.icon,{size:18,color:t?`$ink`:`$soft`})},e.id)})]})}),(0,L.jsxs)(z,{items:`center`,width:`100%`,gap:10,pt:6,children:[(0,L.jsxs)(DN,{children:[(0,L.jsx)(ON,{children:(0,L.jsx)(z,{...w5(()=>n(`/apps`),`Open Business Apps`),width:32,height:32,rounded:Q.pill,borderWidth:1,borderStyle:`dashed`,borderColor:`$edge`,items:`center`,justify:`center`,hoverStyle:{background:`$hover`},focusVisibleStyle:I5,children:(0,L.jsx)(Qj,{size:15,color:`$soft`})})}),(0,L.jsx)(AN,{children:`All Hanzo Business Apps`})]}),(0,L.jsx)(O_e,{...r})]})]})},tve=()=>(0,L.jsx)(dD,{width:36,my:6,borderColor:`$edge`}),L5=({label:e,here:t=!1,pressed:n,onPress:r,children:i})=>(0,L.jsxs)(DN,{children:[(0,L.jsx)(ON,{children:(0,L.jsxs)(z,{...w5(r,e),"aria-current":t?`page`:void 0,"aria-pressed":n,width:38,height:38,items:`center`,justify:`center`,position:`relative`,rounded:Q.field,focusVisibleStyle:I5,children:[t?(0,L.jsx)(z,{position:`absolute`,width:52,height:52,style:Q_e,pointerEvents:`none`}):null,i]})}),(0,L.jsx)(AN,{children:e})]}),R5=({nav:e,children:t,aside:n})=>{let{pathname:r}=Xi(),i=Qi(),{who:a,leave:o,depart:s}=L2(),{all:c,current:l,choose:u}=P4(),[d,f]=(0,b.useState)(()=>typeof window>`u`?k5:window.innerWidth),[p,m]=(0,b.useState)(268),[h,g]=(0,b.useState)(!1),[_,v]=(0,b.useState)(!1),y=j3(),x=M3(),S=d>=k5,C=d>=800,w=t=>{if(!C&&e&&(r===t||r.startsWith(`${t}/`)))return g(!0);i(t)},T=c.length>0?c:[{uuid:`hanzo`,name:`Hanzo AI`,url:`fixture`,org:`hanzo`,isDisabled:!1}],E=l??T[0],D=r.startsWith(`/crm`)?`crm`:r.startsWith(`/bots`)?`bots`:r.startsWith(`/calendar`)?`cal`:`team`,O=e=>{e.id===`crm`?i(`/crm/opportunities`):e.id===`team`||e.id===`work`?i(`/issues`):e.id===`chat`?i(`/chat/c-general`):e.id===`bots`?i(`/bots`):e.id===`cal`?i(`/calendar`):typeof window<`u`&&(window.location.href=e.href)},k=a?{sub:a.id,name:a.label||a.name,email:a.email,avatar:a.avatar,owner:E?.org??`hanzo`}:{sub:`zeekay`,name:`Zach Kelling`,email:`z@hanzo.ai`,owner:`hanzo`},A={name:E?.url??`hanzo`,displayName:E?.name??`Hanzo AI`},j=T.map(e=>({name:e.url,displayName:e.name}));return(0,L.jsxs)(LI,{bg:`$background`,children:[(0,L.jsx)(D_e,{appId:D,showAppTitle:r.startsWith(`/crm`),currentOrg:A,orgs:j,onSelectOrg:e=>u(e),onCreateOrg:()=>D5(`create-org`),onSelectApp:O,onNavigate:w,user:k}),(0,L.jsxs)(B,{flex:1,minH:0,onLayout:e=>f(e.nativeEvent.layout.width),children:[(0,L.jsx)(eve,{notices:!!n&&(S?y&&x===`inbox`:_),onNotices:()=>{S?k3(`inbox`):(O3(`inbox`),v(!_))},onSurface:w,account:{user:k,currentOrg:A,orgs:j,onSelectOrg:e=>u(e),onCreateOrg:()=>D5(`create-org`),onConnectOrg:()=>D5(`connect`),onAddAccount:()=>void s(`another`),onSettings:()=>w(`/bots`),onSignOut:()=>o()}}),C&&e?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(z,{width:p,shrink:0,minH:0,"data-parity-key":`shell.nav`,children:e}),(0,L.jsx)(nve,{value:p,onChange:m})]}):null,(0,L.jsxs)(B,{flex:1,minW:0,minH:0,pt:6,pb:6,pr:6,gap:6,children:[(0,L.jsx)(z5,{parity:`shell.main`,children:t}),n&&y&&S?(0,L.jsx)(z,{width:304,shrink:0,children:(0,L.jsx)(z5,{parity:`shell.aside`,children:n})}):null]})]}),(0,L.jsx)(MB,{open:!!n&&!S&&_,onOpenChange:v,children:(0,L.jsx)(NB,{side:`right`,width:304,p:0,bg:`$panel`,children:n})}),(0,L.jsx)(MB,{open:!!e&&h&&!C,onOpenChange:g,children:(0,L.jsx)(NB,{side:`left`,width:268,p:0,bg:`$background`,children:e})}),(0,L.jsx)(Y_e,{})]})},z5=({parity:e,children:t})=>(0,L.jsx)(z,{flex:1,minW:0,minH:0,bg:`$panel`,rounded:Q.panel,overflow:`hidden`,"data-parity-key":e,children:t}),nve=({value:e,onChange:t})=>{let n=(0,b.useRef)(0),r=(0,b.useRef)(e),i=(0,b.useRef)(!1),a=e=>Math.min(380,Math.max(220,e));return(0,L.jsx)(z,{role:`separator`,"aria-orientation":`vertical`,"aria-label":`Resize the navigator`,"aria-valuenow":e,"aria-valuemin":220,"aria-valuemax":380,tabIndex:0,width:1,shrink:0,bg:`$edge`,position:`relative`,cursor:`col-resize`,hoverStyle:{bg:`$soft`},focusVisibleStyle:{bg:`$outlineColor`},onPointerDown:t=>{i.current=!0,n.current=t.clientX,r.current=e,t.currentTarget.setPointerCapture?.(t.pointerId)},onPointerMove:e=>{i.current&&t(a(r.current+e.clientX-n.current))},onPointerUp:e=>{i.current=!1,e.currentTarget.releasePointerCapture?.(e.pointerId)},onPointerCancel:()=>{i.current=!1},onKeyDown:n=>{let r=n.shiftKey?1:8;n.key===`ArrowLeft`&&t(a(e-r)),n.key===`ArrowRight`&&t(a(e+r))},children:(0,L.jsx)(z,{position:`absolute`,t:0,b:0,l:-8,r:-8})})},B5={outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},rve={flexDirection:`row`},V5=({title:e,children:t})=>(0,L.jsxs)(z,{flex:1,minH:0,pt:12,pb:8,children:[(0,L.jsx)(B,{px:14,pb:10,items:`center`,justify:`space-between`,children:(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,numberOfLines:1,children:e})}),t]}),H5=({value:e,onChange:t})=>(0,L.jsxs)(B,{mx:14,height:34,items:`center`,gap:8,px:12,rounded:Q.field,borderWidth:1,borderColor:`$edge`,bg:`$panel`,focusWithinStyle:B5,children:[(0,L.jsx)(eM,{size:16,color:`$soft`}),(0,L.jsx)(fI,{flex:1,unstyled:!0,height:32,borderWidth:0,bg:`transparent`,fontSize:Z.body,color:`$ink`,placeholderTextColor:`$faint`,placeholder:`Search…`,value:e,onChangeText:t})]}),U5=()=>(0,L.jsx)(dD,{my:6,mx:14,borderColor:`$edge`}),W5=({children:e,count:t,open:n=!0,onToggle:r})=>(0,L.jsxs)(B,{...r?w5(r):{},height:28,items:`center`,justify:`space-between`,px:14,gap:6,children:[(0,L.jsxs)(B,{items:`center`,gap:6,minW:0,flex:1,children:[(0,L.jsx)(ive,{open:n}),(0,L.jsx)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,numberOfLines:1,children:e})]}),t===void 0?null:(0,L.jsx)(V,{fontSize:Z.chip,color:`$faint`,children:t})]}),ive=({open:e=!0})=>(0,L.jsx)(z,{width:18,height:18,items:`center`,justify:`center`,rotate:e?`0deg`:`-90deg`,children:(0,L.jsx)(z,{width:7,height:7,borderBottomWidth:1.5,borderRightWidth:1.5,borderColor:`$soft`,rotate:`45deg`,mt:-3})}),G5=({to:e,icon:t,children:n,indent:r})=>{let{pathname:i}=Xi(),a=i===e||i.startsWith(`${e}/`);return(0,L.jsx)(B,{asChild:!0,style:rve,height:r?30:34,items:`center`,gap:8,pl:r?40:14,pr:14,mx:4,rounded:Q.field,hoverStyle:{bg:`$hover`},focusVisibleStyle:B5,children:(0,L.jsxs)(uo,{to:e,"aria-current":a?`page`:void 0,children:[t?(0,L.jsx)(z,{width:18,height:18,items:`center`,justify:`center`,children:t}):null,(0,L.jsx)(V,{fontSize:Z.row,fontWeight:a?`500`:`400`,color:a?`$ink`:`$quiet`,numberOfLines:1,children:n})]})})},ave=({icon:e,children:t,open:n,onPress:r})=>(0,L.jsxs)(B,{...w5(r),"aria-expanded":n,height:34,items:`center`,gap:8,px:14,mx:4,rounded:Q.field,hoverStyle:{bg:`$hover`},focusVisibleStyle:B5,children:[e?(0,L.jsx)(z,{width:18,height:18,items:`center`,justify:`center`,children:e}):null,(0,L.jsx)(V,{fontSize:Z.row,color:`$quiet`,numberOfLines:1,children:t})]}),ove=({children:e})=>(0,L.jsxs)(z,{position:`relative`,children:[(0,L.jsx)(z,{position:`absolute`,l:27,t:0,b:0,width:1,bg:`$edge`}),e]}),K5=({children:e})=>(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsx)(z,{pb:14,children:e})}),q5={[J2.backlog]:`backlog`,[J2.todo]:`todo`,[J2.doing]:`progress`,[J2.done]:`done`,[J2.cancelled]:`done`},sve=[void 0,`urgent`,`high`,`medium`,`low`],J5={urgent:Y2.urgent,high:Y2.high,medium:Y2.medium,low:Y2.low},cve=e=>{let t=e.estimation??0;return t<=0?0:Math.max(0,Math.min(1,(e.reportedTime??0)/t))},Y5=e=>({id:e._id,name:X2(e),face:e.avatar??void 0}),lve=(e,t)=>{let n=[e.assignee,...e.collaborators??[]].filter(e=>!!e),r=new Set,i=[];for(let e of n){if(r.has(e))continue;r.add(e);let n=t.get(e);n&&i.push(Y5(n))}return i},uve=(e,t)=>({id:e._id,key:Bpe(t.project??t.projects.get(e.space),e),title:e.title,description:e.description,projectId:e.space,status:t.columns.get(e.status)??`backlog`,priority:sve[e.priority]??void 0,labels:t.words.get(e._id)??[],done:cve(e),people:lve(e,t.crowd),origin:e.component?dve(t.parts.get(e.component)):void 0,files:e.attachments??0,replies:e.comments??0}),dve=e=>e?{name:e}:void 0,X5=e=>new Map(e.map(e=>[e._id,q5[e.category]??`backlog`])),fve=(e,t)=>async(n,r,i)=>{let a=t??`proj-crm`,[o,s,c]=await Promise.all([$4(e,a),Q4(e,a),Z4(e,a)]),l=s.find(e=>(q5[e.category]??`backlog`)===n)??s[0];if(!l)throw Error(`this project has no ${n} column`);let u=Math.max(c?.sequence??0,...o.map(e=>e.number))+1,d=i?.priority?J5[i.priority]:0;if(await Cme(e,e.account??``,a,{title:r,status:l._id,priority:d,number:u,after:o.find(e=>e.status===l._id)}),i&&(i.description||i.assigneeId||i.labels&&i.labels.length>0)){let t=(await $4(e,a)).find(e=>e.number===u&&e.title===r);if(t&&(await r3(e,e.account??``,t,{...i.description===void 0?{}:{description:i.description},...i.assigneeId===void 0?{}:{assignee:i.assigneeId,collaborators:i.assigneeId?[i.assigneeId]:[]}}),i.labels&&i.labels.length>0))for(let n of i.labels)await e.write(R4(a,e.account??``,Y.tag,{attachedTo:t._id,attachedToClass:Y.issue,collection:`labels`,tag:`tag-${n.toLowerCase()}`,title:n}))}},pve=(e,t)=>({watch(n,r){let i=!0,a=()=>{Promise.all([Q4(e,t),$4(e,t),e3(e),t3(e),xme(e),X4(e)]).then(async([r,a,o,s,c,l])=>{if(!i)return;let u=t&&a.length?await Z4(e,t):void 0;if(!i)return;let d=new Map;for(let e of s){let t=d.get(e.attachedTo);t?t.push(e.title):d.set(e.attachedTo,[e.title])}let f={columns:X5(r),crowd:new Map(o.map(e=>[e._id,e])),words:d,parts:new Map(c.map(e=>[e._id,e.label])),project:u,projects:new Map(l.map(e=>[e._id,e]))};n(a.map(e=>uve(e,f)))}).catch(e=>i&&r(e instanceof Error?e:Error(String(e))))};a();let o=e.watch(a);return()=>{i=!1,o()}},add:fve(e,t),async move(n,r,i){let a=await $4(e,t),o=a.find(e=>e._id===n);if(!o)throw Error(`no issue to move`);let s=(await Q4(e,o.space)).find(e=>(q5[e.category]??`backlog`)===r);if(!s)throw Error(`no column to move into`);let c=a.filter(e=>e.status===s._id&&e._id!==n),l=i?c.findIndex(e=>e._id===i):c.length,u=l<0?c.length:l;await Sme(e,e.account??``,o,s._id,{before:c[u-1],after:c[u]})},async update(n,r){let i=(await $4(e,t)).find(e=>e._id===n);if(!i)return;let a={};if(r.title!==void 0&&(a.title=r.title),r.description!==void 0&&(a.description=r.description),r.priority!==void 0&&(a.priority=r.priority?J5[r.priority]:0),r.done!==void 0){let e=i.estimation&&i.estimation>0?i.estimation:100;a.estimation=e,a.reportedTime=Math.round(Math.max(0,Math.min(1,r.done))*e)}if(r.assigneeId!==void 0){a.assignee=r.assigneeId;let e=(i.collaborators??[]).filter(e=>e!==r.assigneeId);a.collaborators=r.assigneeId?[r.assigneeId,...e]:e}if(r.replies!==void 0&&(a.comments=r.replies),r.status!==void 0){let t=(await Q4(e,i.space)).find(e=>(q5[e.category]??`backlog`)===r.status);t&&(a.status=t._id)}if(Object.keys(a).length>0&&await r3(e,e.account??``,i,a),r.labels!==void 0){let t=(await t3(e)).filter(e=>e.attachedTo===n);for(let n of t)await e.write(B4(n,e.account??``));for(let t of r.labels)await e.write(R4(i.space,e.account??``,Y.tag,{attachedTo:n,attachedToClass:Y.issue,collection:`labels`,tag:`tag-${t.toLowerCase()}`,title:t}))}},async remove(n){let r=(await $4(e,t)).find(e=>e._id===n);r&&await e.write(B4(r,e.account??``))}}),Z5=e=>{let{plane:t,current:n}=P4();return(0,b.useMemo)(()=>t&&n?pve(t,e):null,[t,n,e])},Q5=e=>{let{plane:t}=P4(),n=M2(n3.people(),()=>e3(t),{enabled:!!t}),r=M2(n3.projects(),()=>X4(t),{enabled:!!t}),i=e?(r.data??[]).find(t=>t._id===e)?.members:void 0,a=new Map((n.data??[]).map(e=>[e._id,e]));return(i?i.map(e=>a.get(e)):n.data??[]).filter(e=>!!e).map(Y5)},$5=e=>e===`refused`?`refused`:e===`homeless`?`nowhere`:`opening`,e7=()=>{let{plane:e}=P4();return M2(n3.projects(),()=>X4(e),{enabled:!!e})},t7=e=>{let t=e7();return e?(t.data??[]).find(t=>t._id===e):void 0},mve=/(@[\w.-]+)/g,n7=(e,t)=>e?[{text:e,[t]:!0}]:[],hve=(e,t,n)=>{let r=[{text:e,strong:!0}];return(n?t.split(n):[t]).forEach((e,t)=>{t>0&&r.push(...n7(n,`strong`));for(let t of e.split(mve))t&&(t.startsWith(`@`)?r.push(...n7(t,`mention`)):r.push({text:t}))}),r.map((e,t)=>t===1&&e.text?{...e,text:` ${e.text}`}:e)},gve=(e,t,n)=>{let r=t.get(String(e.modifiedBy??``)),i=r?X2(r):`Somebody`,a=n.get(String(e.attachedTo??``));return{id:e._id,kind:e.attachedToClass===Y.channel||e.attachedToClass===Y.direct||e.attachedToClass===Y.message?`chat`:`task`,actor:{name:i,face:r?.avatar??void 0},line:hve(i,e.body??e.title??``,a),at:e.modifiedOn,place:a,seen:e.isViewed}},_ve=()=>{let{plane:e,current:t,standing:n}=P4();return(0,b.useEffect)(()=>{if(!e||!t){let e=$5(n);v3({list:e===`refused`?()=>Promise.reject(Error(`Your workspace is not answering.`)):e===`nowhere`?()=>Promise.resolve([]):()=>new Promise(()=>{}),see:()=>Promise.resolve()});return}let r=t.uuid;v3({async list(){let[t,n,i]=await Promise.all([J4(e,r),e3(e),yme(e,r)]),a=new Map(n.map(e=>[e._id,e]));return t.map(e=>gve(e,a,i))},async see(t){let n=(await J4(e,r)).find(e=>e._id===t);n&&!n.isViewed&&await bme(e,e.account??``,n)}})},[e,t,n]),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(vve,{}),(0,L.jsx)(yve,{})]})},vve=()=>{let e=b3();return(0,b.useEffect)(()=>X_e(e),[e]),null},yve=()=>{let{plane:e}=P4(),t=M2(n3.statuses(),()=>Q4(e),{enabled:!!e}),n=M2(n3.issues(),()=>$4(e),{enabled:!!e}),r=X5(t.data??[]),i=n.data??[],a=i.filter(e=>r.get(e.status)!==`done`).length,o=i.length?Math.round(a/i.length*100):null;return(0,b.useEffect)(()=>Z_e(o),[o]),null},r7=[{id:`chat`,label:`Team Chat`,productTitle:`Hanzo Team Chat`,category:`Workspace`,description:`Multiplayer human + AI channels, direct messages, threads, and huddles.`,href:`https://hanzo.team/chat`,internalPath:`/chat/c-general`,icon:Kj,metrics:`9 active channels · 23 AI teammates online`,bots:[`vi`,`opera`,`mana`,`su`]},{id:`tracker`,label:`Tracker & Board`,productTitle:`Hanzo Tracker`,category:`Workspace`,description:`Projects, Kanban boards, sprint velocity, components, and issue tracking.`,href:`https://hanzo.team/issues`,internalPath:`/projects/proj-crm/issues`,icon:oM,metrics:`4 active projects · 35 tracked issues`,bots:[`mana`,`dev`,`des`,`opera`]},{id:`bots`,label:`Bots · 24/7`,productTitle:`Hanzo Bots`,category:`AI & Engineering`,description:`All 23 autonomous 24/7 agents running on cron schedules and event triggers.`,href:`https://hanzo.bot`,internalPath:`/bots`,icon:nj,metrics:`12 leads · 11 specialist bots · 24/7 active`,bots:[`vi`,`dev`,`rev`,`opera`]},{id:`crm`,label:`CRM`,productTitle:`Hanzo CRM`,category:`CRM & Growth`,description:`Enterprise pipeline, contacts, accounts, investor relations, and deal rooms.`,href:`https://crm.hanzo.ai`,internalPath:`/crm/opportunities`,icon:ij,metrics:`$4.2M active pipeline · 346K investors · 13.5M leads`,bots:[`sal`,`rev`,`biz`,`su`]},{id:`dev`,label:`Dev & Build`,productTitle:`Hanzo Dev`,category:`AI & Engineering`,description:`Autonomous coding agents, cloud sandboxes, PR reviews, and Customize.`,href:`https://hanzo.ai/dev`,icon:uM,metrics:`31-worker Turbopack CI · 4-shard E2E gates`,bots:[`dev`,`cyber`,`sci`,`data`]},{id:`ai-chat`,label:`AI Playground`,productTitle:`Hanzo Chat`,category:`AI & Engineering`,description:`Zen4 flagship models, Enso router, multimodal studio, and deep research.`,href:`https://hanzo.ai/chat`,icon:aM,metrics:`Zen4 Ultra · Zen4 Coder · Enso Router`,bots:[`sci`,`vi`,`data`,`mu`]},{id:`cms`,label:`CMS`,productTitle:`Hanzo CMS`,category:`CRM & Growth`,description:`Headless content, marketing pages, documentation collections, and media.`,href:`https://cms.hanzo.ai/admin`,icon:Pj,metrics:`1,021 static pages · 36 locales synced`,bots:[`doc`,`ed`,`lang`,`art`]},{id:`email`,label:`Email & Journeys`,productTitle:`Hanzo Email`,category:`CRM & Growth`,description:`Lifecycle campaigns, onboarding journeys, broadcasts, and deliverability.`,href:`https://marketing.hanzo.ai`,icon:Hj,metrics:`99.4% deliverability · 18 active journeys`,bots:[`mark`,`sal`,`su`,`ed`]},{id:`ads`,label:`Ads & Attribution`,productTitle:`Hanzo Ads`,category:`CRM & Growth`,description:`Cross-channel ad spend, ROAS optimization, and multi-touch attribution.`,href:`https://ads.hanzo.ai`,icon:Wj,metrics:`3.8x blended ROAS · real-time attribution`,bots:[`mark`,`rev`,`data`,`fin`]},{id:`social`,label:`Social & Publish`,productTitle:`Hanzo Publish`,category:`CRM & Growth`,description:`Social scheduling, unified community inbox, and brand listening across X & Discord.`,href:`https://social.hanzo.ai`,icon:nM,metrics:`11 channels connected · 24/7 listening`,bots:[`mark`,`mo`,`art`,`ed`]},{id:`cal`,label:`Calendar`,productTitle:`Hanzo Cal`,category:`Workspace`,description:`Team scheduling, booking links, availability routing, and sprint ceremonies.`,href:`https://hanzo.team/cal`,internalPath:`/calendar`,icon:sj,metrics:`Synced across 4 organizations`,bots:[`mana`,`opera`,`sal`,`huma`]},{id:`meet`,label:`Meet & Huddles`,productTitle:`Hanzo Meet`,category:`Workspace`,description:`Low-latency video rooms, live AI transcription, and instant channel huddles.`,href:`https://hanzo.team/meet`,internalPath:`/meet`,icon:gM,metrics:`Live AI notes & action items`,bots:[`mana`,`mu`,`doc`,`vi`]},{id:`commerce`,label:`Commerce`,productTitle:`Hanzo Commerce`,category:`Commerce & Cloud`,description:`Subscriptions, usage metering, checkout, orders, and multi-currency ledger.`,href:`https://commerce-admin.hanzo.ai/admin/`,icon:rM,metrics:`Real-time credit metering & grants`,bots:[`fin`,`rev`,`biz`,`sal`]},{id:`analytics`,label:`Analytics & Insights`,productTitle:`Hanzo Analytics`,category:`Commerce & Cloud`,description:`Real-time web traffic, product funnels, cohort retention, and telemetry.`,href:`https://analytics.hanzo.ai`,icon:UA,metrics:`Sub-second ClickHouse event queries`,bots:[`data`,`rev`,`mark`,`sci`]},{id:`dataroom`,label:`Data Room`,productTitle:`Hanzo Data Room`,category:`Workspace`,description:`Encrypted investor data rooms, board materials, and watermarked sharing.`,href:`https://dataroom.hanzo.ai`,icon:Mj,metrics:`Zero-knowledge KMS encryption`,bots:[`fin`,`law`,`gov`,`vi`]},{id:`sign`,label:`Sign`,productTitle:`Hanzo Sign`,category:`Workspace`,description:`Legally binding e-signatures, MSAs, DPAs, and automated contract workflows.`,href:`https://esign.hanzo.ai`,icon:BA,metrics:`Automated MSA/DPA routing`,bots:[`law`,`gov`,`sal`,`huma`]},{id:`billing`,label:`Billing & Treasury`,productTitle:`Hanzo Billing`,category:`Commerce & Cloud`,description:`Org credit grants, AI compute budgets, invoices, and payment methods.`,href:`https://billing.hanzo.ai`,icon:Cj,metrics:`Per-agent daily & run budget caps`,bots:[`fin`,`rev`,`biz`,`opera`]},{id:`console`,label:`Cloud Console`,productTitle:`Hanzo Console`,category:`Commerce & Cloud`,description:`Unified Cloud control plane, IAM, KMS secrets, Vector, KV, and observability.`,href:`https://console.hanzo.ai`,icon:aj,metrics:`IAM · KMS · S3 · ZAP Transactor`,bots:[`dev`,`cyber`,`opera`,`data`]},{id:`platform`,label:`Platform PaaS`,productTitle:`Hanzo Platform`,category:`Commerce & Cloud`,description:`Zero-downtime Sites plane, Kubernetes clusters, containers, and edge routing.`,href:`https://platform.hanzo.ai`,icon:KA,metrics:`3 hosts on Sites plane · 99.99% uptime`,bots:[`dev`,`opera`,`cyber`,`data`]}],i7=[`Workspace`,`CRM & Growth`,`AI & Engineering`,`Commerce & Cloud`];function bve(){let[e,t]=(0,b.useState)(``),n=e.trim().toLowerCase(),r=n?r7.filter(e=>`${e.label} ${e.productTitle} ${e.description} ${e.category}`.toLowerCase().includes(n)):r7;return(0,L.jsxs)(V5,{title:`Business Apps`,children:[(0,L.jsx)(H5,{value:e,onChange:t}),(0,L.jsx)(z,{height:14}),(0,L.jsxs)(G5,{to:`/apps`,icon:(0,L.jsx)(yM,{size:16,color:`$soft`}),children:[`All Apps (`,r7.length,`)`]}),(0,L.jsx)(U5,{}),(0,L.jsx)(K5,{children:i7.map(e=>{let t=r.filter(t=>t.category===e);return t.length===0?null:(0,L.jsxs)(z,{children:[(0,L.jsx)(W5,{children:e}),t.map(e=>(0,L.jsx)(G5,{to:e.internalPath??`/apps/${e.id}`,icon:(0,L.jsx)(e.icon,{size:16,color:`$soft`}),children:e.label},e.id))]},e)})})]})}function a7(){let{appId:e}=ea(),t=Qi(),{current:n}=P4(),[r,i]=(0,b.useState)(`All`),a=e?r7.find(t=>t.id===e):void 0,o=r===`All`?r7:r7.filter(e=>e.category===r);return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[n?.name??`Hanzo AI`,` · Unified Business Suite`]}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:a?a.productTitle:`Hanzo Business Apps`}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:a?a.description:`Every business application shares one Hanzo IAM identity, organization, and fleet of 23 autonomous 24/7 bots.`})]}),a?(0,L.jsxs)(B,{gap:8,items:`center`,children:[(0,L.jsx)(q,{variant:`outline`,onPress:()=>t(`/apps`),children:`All Business Apps`}),(0,L.jsxs)(q,{onPress:()=>{a.internalPath?t(a.internalPath):window.open(a.href,`_blank`,`noopener,noreferrer`)},children:[`Open `,a.productTitle]})]}):null]}),a?(0,L.jsxs)(z,{p:20,rounded:Q.card,bg:`$panel`,borderWidth:1,borderColor:`$edge`,gap:16,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(B,{items:`center`,gap:12,children:[(0,L.jsx)(z,{width:44,height:44,rounded:Q.field,bg:`$hover`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(a.icon,{size:22,color:`$ink`})}),(0,L.jsxs)(z,{children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:a.productTitle}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$soft`,children:[a.metrics,` · `,a.href]})]})]}),(0,L.jsx)(B,{px:10,py:4,rounded:Q.pill,style:a5(a.category),children:(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,style:{color:a5(a.category).color},children:a.category})})]}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$soft`,...l5,children:`Assigned 24/7 Autonomous Bots`}),(0,L.jsx)(B,{gap:10,flexWrap:`wrap`,children:a.bots.map(e=>{let n=a4.find(t=>t.id===e);return n?(0,L.jsxs)(B,{...w5(()=>t(`/chat/dm-${n.id}`),`Chat with ${n.name}`),p:10,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},items:`center`,gap:10,children:[(0,L.jsx)(`img`,{src:n.avatar,alt:n.name,width:32,height:32,style:{width:32,height:32,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(z,{children:[(0,L.jsxs)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:[n.name,` · `,n.role]}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$soft`,children:[`24/7 · `,n.schedule]})]})]},n.id):null})})]}):null,(0,L.jsx)(B,{gap:8,flexWrap:`wrap`,children:[`All`,...i7].map(e=>{let t=r===e;return(0,L.jsx)(B,{...w5(()=>i(e),`Filter ${e}`),px:12,py:6,rounded:Q.pill,bg:t?`$hover`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.small,fontWeight:t?`600`:`400`,color:t?`$ink`:`$quiet`,children:e})},e)})}),(0,L.jsx)(B,{flexWrap:`wrap`,gap:14,children:o.map(e=>(0,L.jsxs)(z,{...w5(()=>{e.internalPath?t(e.internalPath):t(`/apps/${e.id}`)},e.productTitle),width:300,grow:1,p:16,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},gap:10,justify:`space-between`,children:[(0,L.jsxs)(z,{gap:8,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:10,children:[(0,L.jsx)(z,{width:36,height:36,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(e.icon,{size:18,color:`$ink`})}),(0,L.jsxs)(z,{children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:e.productTitle}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:e.category})]})]}),(0,L.jsx)(Dj,{size:14,color:`$faint`})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,numberOfLines:2,children:e.description})]}),(0,L.jsxs)(B,{items:`center`,justify:`space-between`,pt:6,borderTopWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,numberOfLines:1,children:e.metrics}),(0,L.jsx)(B,{gap:4,children:e.bots.slice(0,3).map(e=>{let t=a4.find(t=>t.id===e);return t?(0,L.jsx)(`img`,{src:t.avatar,alt:t.name,width:18,height:18,style:{width:18,height:18,borderRadius:999,objectFit:`cover`}},t.id):null})})]})]},e.id))})]})})}function xve(){let[e,t]=(0,b.useState)(``),n=e.trim().toLowerCase(),r=n?o4.filter(e=>`${e.name} ${e.role} ${e.department}`.toLowerCase().includes(n)):o4,i=n?s4.filter(e=>`${e.name} ${e.role} ${e.department}`.toLowerCase().includes(n)):s4;return(0,L.jsxs)(V5,{title:`Bots · 24/7`,children:[(0,L.jsx)(H5,{value:e,onChange:t}),(0,L.jsx)(z,{height:14}),(0,L.jsxs)(G5,{to:`/bots`,icon:(0,L.jsx)(nj,{size:16,color:`$soft`}),children:[`All `,a4.length,` Bots`]}),(0,L.jsx)(U5,{}),(0,L.jsxs)(K5,{children:[(0,L.jsxs)(W5,{children:[`Department Leads (`,o4.length,`)`]}),r.map(e=>(0,L.jsx)(G5,{to:`/chat/dm-${e.id}`,icon:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:18,height:18,style:{width:18,height:18,borderRadius:999,objectFit:`cover`}}),children:`${e.name} — ${e.role}`},e.id)),(0,L.jsx)(U5,{}),(0,L.jsxs)(W5,{children:[`Specialist Bots · 24/7 (`,s4.length,`)`]}),i.map(e=>(0,L.jsx)(G5,{to:`/chat/dm-${e.id}`,icon:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:18,height:18,style:{width:18,height:18,borderRadius:999,objectFit:`cover`}}),children:`${e.name} — ${e.role}`},e.id))]})]})}function Sve(){let e=Qi(),{current:t}=P4(),[n,r]=(0,b.useState)(`All`),i=[`All`,...Array.from(new Set(a4.map(e=>e.department)))],a=n===`All`?a4:a4.filter(e=>e.department===n);return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsx)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[t?.name??`Hanzo AI`,` · Autonomous 24/7 Fleet`]}),(0,L.jsxs)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:[`Bots & Agents (`,a4.length,`)`]}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`Every Hanzo agent can run on-demand or operate 24/7 as a persistent, proactive, event-driven bot.`})]})}),(0,L.jsx)(B,{gap:8,flexWrap:`wrap`,children:i.map(e=>{let t=n===e;return(0,L.jsx)(B,{...w5(()=>r(e),`Filter ${e}`),px:12,py:6,rounded:Q.pill,bg:t?`$hover`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.small,fontWeight:t?`600`:`400`,color:t?`$ink`:`$quiet`,children:e})},e)})}),(0,L.jsx)(B,{flexWrap:`wrap`,gap:14,children:a.map(t=>(0,L.jsxs)(z,{...w5(()=>e(`/chat/dm-${t.id}`),`Open ${t.name}`),width:290,grow:1,p:16,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},gap:10,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,gap:10,children:[(0,L.jsxs)(B,{items:`center`,gap:10,children:[(0,L.jsx)(`img`,{src:t.avatar,alt:t.name,width:42,height:42,style:{width:42,height:42,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(z,{children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:t.name}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$soft`,children:[t.role,` · `,t.department]})]})]}),(0,L.jsx)(B,{px:8,py:3,rounded:Q.pill,style:a5(t.department),children:(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,style:{color:a5(t.department).color},children:[`24/7 · `,t.schedule]})})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,numberOfLines:2,children:t.status}),(0,L.jsxs)(B,{items:`center`,justify:`space-between`,pt:6,borderTopWidth:1,borderColor:`$edge`,children:[(0,L.jsxs)(V,{fontSize:Z.chip,color:`$faint`,children:[`Triggers: `,t.triggers.join(` · `)]}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:`Message →`})]})]},t.id))})]})})}var Cve=()=>new Promise(()=>{}),o7=e=>({watch(t,n){return e===`refused`&&n(Error(`Your workspace is not answering.`)),e===`nowhere`&&t([]),()=>{}},move:Cve}),s7=({people:e,size:t=28,show:n=3,ground:r=X.ground})=>{if(e.length===0)return null;let i=e.slice(0,n),a=e.length-i.length,o=Math.round(t*.575);return(0,L.jsxs)(B,{items:`center`,"aria-label":`${e.length} assigned`,children:[i.map((e,n)=>(0,L.jsx)(z,{ml:n===0?0:o-t,rounded:9999,borderWidth:2,style:{backgroundColor:r,borderColor:r},children:(0,L.jsxs)(SP,{size:t,"aria-label":e.name,children:[e.face?(0,L.jsx)(CP,{src:e.face,alt:``}):null,(0,L.jsx)(wP,{children:wve(e.name)})]})},e.id)),a>0?(0,L.jsxs)(V,{fontSize:`$2`,color:`$quiet`,ml:6,children:[`+`,a]}):null]})},wve=e=>(e[0]??``).toUpperCase(),c7=[`backlog`,`todo`,`progress`,`done`],l7=[`low`,`medium`,`high`,`urgent`],u7={backlog:`Backlog`,todo:`To do`,progress:`In progress`,done:`Done`},Tve={urgent:1,high:2,medium:3,low:4},d7=(e,t)=>t&&e.toLowerCase()===t?s5(Tve[t]):a5(e),f7={backlog:r5.backlog,todo:r5.todo,progress:r5.doing,done:r5.done},p7={arc:X.accent,track:X.rule},m7=({done:e,size:t=16,width:n=2})=>{let r=Math.min(1,Math.max(0,e)),i=(t-n)/2,a=2*Math.PI*i;return(0,L.jsxs)(`svg`,{width:t,height:t,viewBox:`0 0 ${t} ${t}`,role:`img`,"aria-label":`${Math.round(r*100)}% done`,children:[(0,L.jsx)(`circle`,{cx:t/2,cy:t/2,r:i,fill:`none`,stroke:p7.track,strokeWidth:n}),r>0?(0,L.jsx)(`circle`,{cx:t/2,cy:t/2,r:i,fill:`none`,stroke:p7.arc,strokeWidth:n,strokeLinecap:`round`,strokeDasharray:`${a*r} ${a}`,transform:`rotate(-90 ${t/2} ${t/2})`}):null]})},h7=[{id:`war-room`,name:`Engineering War Room`,floor:`Floor 1 · Core Engineering`,topic:`ZAP Transactor latency, KMS grants & PR 464 merge gate`,screenShare:`@dev sharing: Ubuntu 24.04 · go test ./apps/team/... (PASS 0.42s)`,humans:[{name:`Zach Kelling`,role:`CTO & Founder`,speaking:!0}],bots:[`dev`,`cyber`,`opera`,`sci`],notes:[{who:`@dev`,text:`Verified PR 464 against IAM and KMS; regenerated zipdoc_gen.go and all 46 unit + theme checks pass.`,actionIssue:`Verify KMS NPM_TOKEN grant propagation in production`},{who:`@cyber`,text:`Confirmed zero-knowledge hardware enclave policy holds across all 4 organization spaces.`},{who:`Zach Kelling`,text:`Ship the cutover once the canary healthcheck stays green for 15 minutes.`,actionIssue:`Promote transactor canary to 100% traffic`}]},{id:`bot-ops`,name:`AI Bot Ops Floor · 24/7`,floor:`Floor 1 · Autonomous Fleet`,topic:`Continuous 24/7 cron routines, lease budgets & sandbox telemetry`,screenShare:`@vi sharing: 23/23 active agent sandboxes · 99.98% SLA`,humans:[{name:`Zach Kelling`,role:`Fleet Architecture`}],bots:[`vi`,`mana`,`sci`,`data`],notes:[{who:`@vi`,text:`All 23 bots online across Hanzo AI, The Foundation, Lux Network, and Zoo Labs.`},{who:`@mana`,text:`Rebalanced sprint queue: moved 3 unblocked CRM tasks into In progress.`,actionIssue:`Audit daily compute lease caps across specialist bots`}]},{id:`design-crit`,name:`Product & Design Studio`,floor:`Floor 2 · Design & Brand`,topic:`Workspace polish, Gallery live previews & Omni 1.2 Flash stills`,screenShare:`@des sharing: @hanzo/gui monochrome token sheet & Slack-style top bar`,humans:[{name:`Antje Worring`,role:`CEO & Founder`,speaking:!0},{name:`Zach Kelling`,role:`Design Systems`}],bots:[`des`,`art`,`mark`,`mo`],notes:[{who:`@des`,text:`Unified Slack-style top bar and bottom-left account switcher across desktop and web.`,actionIssue:`Add 4K mobile handset frame to product showcase`}]},{id:`deal-desk`,name:`Revenue & Enterprise Deal Desk`,floor:`Floor 2 · Growth & CRM`,topic:`Enterprise seat reconciliation, org credit grants & Q4 pipeline`,humans:[{name:`Antje Worring`,role:`CEO & Enterprise Growth`}],bots:[`rev`,`sal`,`fin`,`su`],notes:[{who:`@rev`,text:`Reconciled $156.6K prepaid org grant on z/hanzo with lease billing account.`,actionIssue:`Sync enterprise seat count export with Commerce ledger`}]}];function Eve(){let[e,t]=(0,b.useState)(``),n=e.trim().toLowerCase(),r=n?h7.filter(e=>`${e.name} ${e.topic} ${e.floor}`.toLowerCase().includes(n)):h7;return(0,L.jsxs)(V5,{title:`Virtual Office`,children:[(0,L.jsx)(H5,{value:e,onChange:t}),(0,L.jsx)(z,{height:14}),(0,L.jsxs)(G5,{to:`/meet`,icon:(0,L.jsx)(Xoe,{size:16,color:`$soft`}),children:[`All Office Rooms (`,h7.length,`)`]}),(0,L.jsx)(U5,{}),(0,L.jsxs)(K5,{children:[(0,L.jsx)(W5,{children:`Live Voice & Video Rooms`}),r.map(e=>(0,L.jsx)(G5,{to:`/meet`,icon:(0,L.jsx)(_M,{size:15,color:`$ink`}),children:`${e.name} (${e.humans.length+e.bots.length})`},e.id))]})]})}function Dve(){let e=Qi(),{current:t,standing:n}=P4(),r=Z5(`proj-crm`)??o7($5(n)),[i,a]=(0,b.useState)(`war-room`),[o,s]=(0,b.useState)(!0),[c,l]=(0,b.useState)(!1),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)(null),m=h7.find(e=>e.id===i)??h7[0],h=e=>{r.add&&r.add(`todo`,e).then(()=>{p(e)})};return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(z,{width:8,height:8,rounded:9999,style:{backgroundColor:r5.done}}),(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[t?.name??`Hanzo AI`,` · Virtual Office & Instant Huddles`]})]}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:m.name}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:m.topic})]}),(0,L.jsxs)(B,{gap:8,items:`center`,flexWrap:`wrap`,children:[(0,L.jsxs)(q,{variant:`outline`,size:`sm`,onPress:()=>l(!c),children:[c?(0,L.jsx)(rse,{size:15}):(0,L.jsx)(ise,{size:15}),c?`Unmute Mic`:`Mic Live`]}),(0,L.jsxs)(q,{variant:`outline`,size:`sm`,onPress:()=>d(!u),children:[(0,L.jsx)(Jj,{size:15}),u?`Stop Sharing`:`Share Screen`]}),(0,L.jsxs)(q,{size:`sm`,onPress:()=>s(!o),children:[(0,L.jsx)(gM,{size:15}),o?`In Room · Leave`:`Join Room`]})]})]}),f?(0,L.jsxs)(B,{p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(WA,{size:16,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$ink`,children:[`Added meeting action item to CRM Tracker: “`,f,`”`]})]}),(0,L.jsx)(q,{size:`sm`,variant:`outline`,onPress:()=>e(`/projects/proj-crm/issues`),children:`Open Board →`})]}):null,(0,L.jsx)(B,{flexWrap:`wrap`,gap:14,children:h7.map(e=>{let t=e.id===m.id,n=e.bots.map(e=>a4.find(t=>t.id===e)).filter(e=>!!e);return(0,L.jsxs)(z,{...w5(()=>{a(e.id),s(!0)},`Enter ${e.name}`),width:320,grow:1,p:16,rounded:Q.card,bg:t?`$panel`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,hoverStyle:{background:`$hover`},gap:12,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,gap:8,children:[(0,L.jsxs)(z,{gap:2,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,...l5,children:e.floor}),(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:e.name})]}),(0,L.jsxs)(B,{px:8,py:3,rounded:Q.pill,style:a5(t&&o?`Live Now`:`Open`),items:`center`,gap:5,children:[(0,L.jsx)(_M,{size:12,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,style:{color:a5(t&&o?`Live Now`:`Open`).color},children:[e.humans.length+n.length,` in room`]})]})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,numberOfLines:2,children:e.topic}),e.screenShare?(0,L.jsxs)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,gap:8,children:[(0,L.jsx)(Jj,{size:13,color:`$ink`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$ink`,numberOfLines:1,flex:1,children:e.screenShare})]}):null,(0,L.jsx)(B,{items:`center`,justify:`space-between`,pt:6,borderTopWidth:1,borderColor:`$edge`,children:(0,L.jsxs)(B,{gap:6,items:`center`,flexWrap:`wrap`,children:[e.humans.map(e=>(0,L.jsxs)(B,{px:8,py:3,rounded:Q.pill,bg:`$background`,borderWidth:1,borderColor:e.speaking?`$ink`:`$edge`,items:`center`,gap:5,children:[(0,L.jsx)(z,{width:6,height:6,rounded:9999,style:{backgroundColor:e.speaking?r5.done:r5.todo}}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:e.name.split(` `)[0]})]},e.name)),n.map(e=>(0,L.jsxs)(B,{px:7,py:2,rounded:Q.pill,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,gap:4,children:[(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:14,height:14,style:{width:14,height:14,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[`@`,e.id]})]},e.id))]})})]},e.id)})}),(0,L.jsxs)(B,{gap:16,flexWrap:`wrap`,items:`stretch`,children:[(0,L.jsxs)(z,{flex:2,minW:320,p:20,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:14,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(hM,{size:16,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:[`Live Stage · `,m.name]})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Spatial Audio · Low-Latency WebRTC + Bot Voice Bridge`})]}),m.screenShare?(0,L.jsxs)(z,{p:14,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,gap:6,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(Jj,{size:15,color:`$ink`}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:m.screenShare})]}),(0,L.jsx)(q,{size:`sm`,variant:`outline`,onPress:()=>e(`/chat/dm-dev`),children:`Open Bot Computer →`})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$quiet`,children:`Streaming 60fps cloud sandbox viewport · Click any bot tile below to hand off terminal or browser control.`})]}):null,(0,L.jsxs)(B,{flexWrap:`wrap`,gap:10,children:[m.humans.map(e=>(0,L.jsxs)(z,{width:170,grow:1,p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:e.speaking?`$ink`:`$edge`,gap:6,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:e.name}),(0,L.jsx)(z,{width:8,height:8,rounded:9999,style:{backgroundColor:e.speaking?r5.done:r5.todo}})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$quiet`,children:e.role})]},e.name)),m.bots.map(t=>{let n=a4.find(e=>e.id===t);return n?(0,L.jsxs)(z,{...w5(()=>e(`/chat/dm-${n.id}`),`Open ${n.name}`),width:170,grow:1,p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},gap:6,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:6,children:[(0,L.jsx)(`img`,{src:n.avatar,alt:n.name,width:20,height:20,style:{width:20,height:20,borderRadius:999,objectFit:`cover`}}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:n.name})]}),(0,L.jsx)(V,{fontSize:Z.chip,style:{color:X.accent},children:`AI · 24/7`})]}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$quiet`,numberOfLines:1,children:[n.role,` · `,n.department]})]},n.id):null})]})]}),(0,L.jsxs)(z,{flex:1,minW:300,p:20,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:12,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(aM,{size:15,color:`$ink`}),(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:`Live AI Notes & Actions`})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`by @mana`})]}),(0,L.jsx)(dD,{borderColor:`$edge`}),(0,L.jsx)(z,{gap:12,children:m.notes.map((e,t)=>(0,L.jsxs)(z,{p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,gap:8,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:e.who}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Just now`})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,children:e.text}),e.actionIssue?(0,L.jsxs)(B,{items:`center`,justify:`space-between`,pt:4,children:[(0,L.jsxs)(V,{fontSize:Z.chip,style:{color:X.accent},flex:1,numberOfLines:1,children:[`Action: `,e.actionIssue]}),(0,L.jsxs)(q,{size:`sm`,variant:`outline`,onPress:()=>h(e.actionIssue),children:[(0,L.jsx)(Qj,{size:12}),` Track`]})]}):null]},t))})]})]})]})})}var g7=[{id:`c1`,day:`Mon`,time:`09:00`,title:`Weekly Engineering & Bot Fleet Kickoff`,kind:`Standup`,bot:`mana`,room:`Engineering War Room`},{id:`c2`,day:`Mon`,time:`11:30`,title:`@rev Lease & Org Credit Reconciliation`,kind:`Bot Routine`,bot:`rev`,issueKey:`CRM-18`},{id:`c3`,day:`Tue`,time:`10:00`,title:`Custdev Interview w/ Existing Client`,kind:`Customer`,bot:`sal`,issueKey:`CRM-15`,room:`Revenue & Enterprise Deal Desk`},{id:`c4`,day:`Tue`,time:`14:00`,title:`@dev CI Flake Sweep & PR 464 Gate`,kind:`Bot Routine`,bot:`dev`,issueKey:`DEV-26`},{id:`c5`,day:`Wed`,time:`09:30`,title:`Design System & Gallery Live Previews Crit`,kind:`Sprint`,bot:`des`,room:`Product & Design Studio`},{id:`c6`,day:`Wed`,time:`15:00`,title:`@mark Funnel & Top-20 Landing Audit`,kind:`Bot Routine`,bot:`mark`,issueKey:`MKT-22`},{id:`c7`,day:`Thu`,time:`10:30`,title:`Next Platform Ledger Migration Rehearsal`,kind:`Sprint`,bot:`sci`,issueKey:`NEXT-25`,room:`Engineering War Room`},{id:`c8`,day:`Thu`,time:`16:00`,title:`@cyber KMS Enclave & Secret Grants Scan`,kind:`Bot Routine`,bot:`cyber`,issueKey:`DEV-27`},{id:`c9`,day:`Fri`,time:`11:00`,title:`v2.4 Release Cut & Canary Rollout`,kind:`Sprint`,bot:`opera`,issueKey:`CRM-19`,room:`Engineering War Room`},{id:`c10`,day:`Fri`,time:`15:30`,title:`@fin Weekly Burn-Up & Compute Cost Digest`,kind:`Bot Routine`,bot:`fin`}],Ove=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`];function kve(){return(0,L.jsxs)(V5,{title:`Calendar & Routines`,children:[(0,L.jsx)(z,{height:6}),(0,L.jsx)(G5,{to:`/calendar`,icon:(0,L.jsx)(sj,{size:16,color:`$soft`}),children:`Week View · Nov 3–7`}),(0,L.jsx)(G5,{to:`/meet`,icon:(0,L.jsx)(gM,{size:16,color:`$soft`}),children:`Virtual Office Rooms`}),(0,L.jsx)(G5,{to:`/issues/timeline`,icon:(0,L.jsx)(_j,{size:16,color:`$soft`}),children:`Sprint Timeline`}),(0,L.jsx)(U5,{}),(0,L.jsxs)(K5,{children:[(0,L.jsx)(W5,{children:`24/7 Bot Cron Schedules`}),a4.slice(0,10).map(e=>(0,L.jsx)(G5,{to:`/chat/dm-${e.id}`,icon:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:16,height:16,style:{width:16,height:16,borderRadius:999,objectFit:`cover`}}),children:`@${e.id} · ${e.schedule}`},e.id))]})]})}function Ave(){let e=Qi(),{current:t}=P4(),[n,r]=(0,b.useState)(`All`),[i,a]=(0,b.useState)(null),o=n===`All`?g7:g7.filter(e=>e.kind===n);return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[t?.name??`Hanzo AI`,` · Team Schedule & Autonomous Routines`]}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:`Calendar & 24/7 Bot Cron Schedule`}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`Team ceremonies, customer interviews, release gates, and automated 24/7 bot routines side by side.`})]}),(0,L.jsx)(B,{gap:8,items:`center`,flexWrap:`wrap`,children:[`All`,`Standup`,`Sprint`,`Customer`,`Bot Routine`].map(e=>{let t=n===e;return(0,L.jsx)(B,{...w5(()=>r(e),`Filter ${e}`),px:12,py:6,rounded:Q.pill,bg:t?`$hover`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.small,fontWeight:t?`600`:`400`,color:t?`$ink`:`$quiet`,children:e})},e)})})]}),i?(0,L.jsxs)(B,{p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(aM,{size:16,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$ink`,children:[`Triggered immediate cron run for @`,i,` on its cloud computer.`]})]}),(0,L.jsx)(q,{size:`sm`,variant:`outline`,onPress:()=>e(`/chat/dm-${i}`),children:`Watch Live Run →`})]}):null,(0,L.jsx)(B,{gap:12,flexWrap:`wrap`,items:`stretch`,children:Ove.map(t=>{let n=o.filter(e=>e.day===t),r=t===`Wed`;return(0,L.jsxs)(z,{width:220,grow:1,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:r?`$ink`:`$edge`,overflow:`hidden`,children:[(0,L.jsxs)(B,{px:14,height:40,items:`center`,justify:`space-between`,bg:`$panel`,borderBottomWidth:1,borderColor:`$edge`,children:[(0,L.jsxs)(B,{items:`center`,gap:6,children:[r?(0,L.jsx)(z,{width:7,height:7,rounded:9999,style:{backgroundColor:X.accent}}):null,(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`700`,color:`$ink`,...l5,children:t})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:r?`TODAY`:`${n.length} events`})]}),(0,L.jsx)(z,{p:12,gap:10,children:n.map(t=>{let n=t.bot?a4.find(e=>e.id===t.bot):void 0;return(0,L.jsxs)(z,{p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,gap:8,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`700`,color:`$soft`,children:[t.time,` UTC`]}),(0,L.jsx)(B,{px:7,py:2,rounded:Q.pill,style:a5(t.kind),children:(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,style:{color:a5(t.kind).color},children:t.kind})})]}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:t.title}),t.issueKey?(0,L.jsxs)(V,{...w5(()=>e(`/projects/proj-crm/issues`),t.issueKey),fontSize:Z.chip,style:{color:X.accent},children:[`Linked issue: `,t.issueKey,` →`]}):null,n?(0,L.jsxs)(B,{items:`center`,justify:`space-between`,pt:4,borderTopWidth:1,borderColor:`$edge`,children:[(0,L.jsxs)(B,{...w5(()=>e(`/chat/dm-${n.id}`),`Open @${n.id}`),items:`center`,gap:6,children:[(0,L.jsx)(`img`,{src:n.avatar,alt:n.name,width:16,height:16,style:{width:16,height:16,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:[`@`,n.id]})]}),t.kind===`Bot Routine`?(0,L.jsxs)(q,{size:`sm`,variant:`ghost`,onPress:()=>a(n.id),children:[(0,L.jsx)(Zj,{size:12}),` Run`]}):(0,L.jsx)(q,{size:`sm`,variant:`ghost`,onPress:()=>e(`/meet`),children:`Join`})]}):null]},t.id)})})]},t)})}),(0,L.jsxs)(z,{p:20,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:14,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:8,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(nj,{size:18,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:[`24/7 Autonomous Cron Fleet (`,a4.length,` Active Daemons)`]})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Every bot runs on schedule and pauses for human approval on high-impact actions`})]}),(0,L.jsx)(B,{flexWrap:`wrap`,gap:10,children:a4.slice(0,8).map(t=>(0,L.jsxs)(B,{...w5(()=>e(`/chat/dm-${t.id}`),`Inspect @${t.id}`),width:250,grow:1,p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},items:`center`,justify:`space-between`,gap:10,children:[(0,L.jsxs)(B,{items:`center`,gap:10,minW:0,flex:1,children:[(0,L.jsx)(`img`,{src:t.avatar,alt:t.name,width:28,height:28,style:{width:28,height:28,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(z,{minW:0,flex:1,children:[(0,L.jsxs)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,numberOfLines:1,children:[t.name,` · `,t.role]}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$soft`,numberOfLines:1,children:[`Cron: `,t.schedule]})]})]}),(0,L.jsx)(z,{width:8,height:8,rounded:9999,style:{backgroundColor:r5.done}})]},t.id))})]})]})})}function jve(){return(0,L.jsxs)(V5,{title:`Time & Velocity`,children:[(0,L.jsx)(z,{height:6}),(0,L.jsx)(G5,{to:`/time`,icon:(0,L.jsx)(_j,{size:16,color:`$soft`}),children:`Sprint Time Sheet`}),(0,L.jsx)(G5,{to:`/projects/proj-crm/issues`,icon:(0,L.jsx)(WA,{size:16,color:`$soft`}),children:`CRM Estimates`}),(0,L.jsx)(G5,{to:`/bots`,icon:(0,L.jsx)(nj,{size:16,color:`$soft`}),children:`Bot Compute Saved`})]})}function Mve(){let e=Qi(),{current:t,standing:n}=P4(),r=Z5()??o7($5(n)),[i,a]=(0,b.useState)([]),[o,s]=(0,b.useState)({});(0,b.useEffect)(()=>r.watch(e=>a(e),()=>{}),[r]);let c=i.filter(e=>e.done!==void 0),l=c.length*8,u=c.reduce((e,t)=>e+Math.round((t.done??0)*8)+(o[t.id]??0),0),d=l>0?Math.min(1,u/l):.45;return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[t?.name??`Hanzo AI`,` · Time Tracking & Engineering Velocity`]}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:`Time & Estimates`}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`What the work took against what it was estimated at — across human teammates and 24/7 autonomous bots.`})]}),(0,L.jsx)(q,{onPress:()=>e(`/projects/proj-crm/issues`),children:`Open Tracker Board →`})]}),(0,L.jsxs)(B,{flexWrap:`wrap`,gap:14,children:[(0,L.jsxs)(z,{width:240,grow:1,p:18,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:6,children:[(0,L.jsx)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:`Reported / Estimated`}),(0,L.jsxs)(B,{items:`center`,gap:10,children:[(0,L.jsx)(m7,{done:d,size:24,width:3}),(0,L.jsxs)(V,{fontSize:Z.title,fontWeight:`700`,color:`$ink`,children:[u,`h / `,l,`h`]})]}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$quiet`,children:[Math.round(d*100),`% of estimated sprint capacity logged`]})]}),(0,L.jsxs)(z,{width:240,grow:1,p:18,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:6,children:[(0,L.jsx)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:`24/7 Bot Compute Saved`}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`700`,style:{color:r5.done},children:`142.5h saved`}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,children:`Autonomous triage, CI fixes & KMS audits by 23 bots this week`})]}),(0,L.jsxs)(z,{width:240,grow:1,p:18,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:6,children:[(0,L.jsx)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:`Sprint Cycle Velocity`}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`700`,color:`$ink`,children:`1.4d median`}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,children:`From issue creation in To do to verified PR merge`})]})]}),(0,L.jsxs)(z,{rounded:Q.card,borderWidth:1,borderColor:`$edge`,bg:`$background`,overflow:`hidden`,children:[(0,L.jsxs)(B,{px:16,height:42,items:`center`,bg:`$panel`,borderBottomWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`700`,color:`$ink`,...l5,flex:1,children:`Issue · Estimate vs. Reported Time`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Click +1h to log time on any issue`})]}),c.map((e,t)=>{let n=o[e.id]??0,r=Math.min(8,Math.round((e.done??0)*8)+n),i=r/8;return(0,L.jsxs)(z,{children:[t>0?(0,L.jsx)(dD,{borderColor:`$edge`}):null,(0,L.jsxs)(B,{px:16,py:10,items:`center`,gap:12,hoverStyle:{background:`$hover`},children:[(0,L.jsx)(z,{width:8,height:8,rounded:9999,style:{backgroundColor:f7[e.status]}}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$soft`,width:68,shrink:0,children:e.key}),(0,L.jsx)(V,{fontSize:Z.body,color:`$ink`,flex:1,minW:160,numberOfLines:1,children:e.title}),(0,L.jsx)(s7,{people:e.people,size:22,show:2}),(0,L.jsxs)(B,{width:110,items:`center`,justify:`flex-end`,gap:6,shrink:0,children:[(0,L.jsx)(m7,{done:i,size:16}),(0,L.jsxs)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:[r,`h / `,8,`h`]})]}),(0,L.jsx)(q,{size:`sm`,variant:`outline`,onPress:()=>s(t=>({...t,[e.id]:(t[e.id]??0)+1})),children:`+1h`})]})]},e.id)})]})]})})}var Nve=36,_7=21,v7=9,y7=18,Pve=e=>e.split(/\s+/).slice(0,2).map(e=>e[0]??``).join(``).toUpperCase(),b7=({spans:e,clamp:t,parity:n})=>(0,L.jsx)(V,{"data-parity-key":n,size:Z.body,lineHeight:_7,color:X.mute,numberOfLines:t,children:e.map((e,t)=>(0,L.jsx)(V,{size:Z.body,lineHeight:_7,fontWeight:e.strong?`600`:`400`,color:e.mention?X.alert:e.strong?X.ink:X.mute,children:e.text},t))}),Fve=({note:e,onSee:t})=>(0,L.jsxs)(B,{"data-parity-key":`inbox.row`,"data-seen":e.seen?`yes`:`no`,...w5(()=>t(e.id),e.line.map(e=>e.text).join(``)),px:14,py:c5.inset,gap:c5.tight,bg:e.seen?`transparent`:X.card,borderBottomWidth:1,borderColor:X.rule,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:[(0,L.jsxs)(SP,{"data-parity-key":`inbox.face`,size:Nve,children:[e.actor.face?(0,L.jsx)(CP,{src:e.actor.face,alt:``}):null,(0,L.jsx)(wP,{bg:a5(e.actor.name).background,children:(0,L.jsx)(V,{size:Z.small,fontWeight:`600`,color:a5(e.actor.name).color,children:Pve(e.actor.name)})})]}),(0,L.jsxs)(z,{flex:1,minW:0,gap:c5.tight,children:[(0,L.jsxs)(z,{children:[(0,L.jsx)(b7,{spans:e.line,parity:`inbox.line`}),e.quote?(0,L.jsx)(b7,{spans:e.quote,clamp:1,parity:`inbox.quote`}):null]}),(0,L.jsxs)(B,{"data-parity-key":`inbox.meta`,items:`center`,gap:c5.tight,overflow:`hidden`,children:[(0,L.jsx)(V,{size:Z.small,lineHeight:y7,color:X.dim,children:(0,L.jsx)(Ede,{date:new Date(e.at),format:`short`,style:{fontSize:`inherit`,lineHeight:`inherit`,color:`inherit`,whiteSpace:`nowrap`}})}),e.place?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(V,{size:Z.small,lineHeight:y7,color:X.dim,children:`•`}),(0,L.jsx)(V,{size:Z.small,lineHeight:y7,color:X.dim,numberOfLines:1,children:e.place})]}):null]})]}),(0,L.jsx)(z,{"data-parity-key":`inbox.lane`,width:v7,shrink:0,pt:6,children:e.seen?null:(0,L.jsx)(z,{"data-parity-key":`inbox.dot`,role:`img`,"aria-label":`unread`,width:v7,height:v7,rounded:Q.pill,bg:X.alert})})]}),Ive=12,Lve=12,Rve=36,zve=6,Bve=17,x7=16,S7=24,Vve={all:Bj,task:bj,chat:tse},Hve={all:`All`,task:`Tasks`,chat:`Chat`},C7=e=>e.line.some(e=>e.mention||e.text.includes(`mentioned`))||(e.quote?.some(e=>e.mention)??!1),w7=({children:e})=>(0,L.jsx)(z,{flex:1,items:`center`,justify:`center`,p:14,gap:c5.inset,children:e}),Uve=({tab:e,filter:t})=>{let n=y3();if(n.phase===`loading`)return(0,L.jsx)(w7,{children:(0,L.jsx)(RI,{})});if(n.phase===`failure`)return(0,L.jsxs)(w7,{children:[(0,L.jsx)(V,{size:Z.body,color:X.mute,children:`The inbox is not answering.`}),(0,L.jsx)(V,{size:Z.body,color:X.ink,textDecorationLine:`underline`,...w5(n.reload),focusVisibleStyle:u5,children:`Try again`})]});let r=wme(n.data??[],e).filter(e=>t===`unread`?!e.seen:t!==`mentions`||C7(e));return r.length===0?(0,L.jsx)(w7,{children:(0,L.jsx)(V,{size:Z.body,color:X.dim,children:t===`unread`?`All caught up — no unread notifications.`:t===`mentions`?`No mentions in this view.`:`Nothing here.`})}):(0,L.jsx)(EI,{"data-parity-key":`inbox.list`,flex:1,pt:zve,children:(0,L.jsx)(z,{role:`list`,children:r.map(e=>(0,L.jsx)(Fve,{note:e,onSee:kme},e.id))})})},T7=()=>{let[e,t]=(0,b.useState)(`all`),[n,r]=(0,b.useState)(`all`),i=y3().data??[],a=b3(),o=i.filter(C7).length;return(0,L.jsxs)(z,{"data-parity-key":`inbox.panel`,flex:1,minH:0,children:[(0,L.jsxs)(B,{px:14,pt:Ive,items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(V,{"data-parity-key":`inbox.title`,size:Z.row,fontWeight:`600`,color:X.ink,children:`Inbox`}),a>0?(0,L.jsx)(B,{px:7,py:2,rounded:Q.pill,items:`center`,justify:`center`,bg:X.alert,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:`700`,color:X.panel,children:`${a} unread`})}):null]}),(0,L.jsxs)(B,{items:`center`,gap:6,children:[a>0?(0,L.jsx)(B,{...w5(Ame,`Mark all notifications as read`),px:7,py:3,rounded:Q.field,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:`500`,color:X.mute,children:`Mark all read`})}):null,(0,L.jsx)(B,{"data-parity-key":`inbox.close`,...w5(A3,`Close the inbox`),width:S7,height:S7,items:`center`,justify:`center`,rounded:Q.field,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:(0,L.jsx)(vM,{size:14,color:X.dim})})]})]}),(0,L.jsxs)(WI,{value:e,onValueChange:e=>t(e),orientation:`horizontal`,flex:1,minH:0,gap:0,mt:Lve,children:[(0,L.jsx)(z,{"data-parity-key":`inbox.rail`,borderBottomWidth:1,borderColor:X.rule,children:(0,L.jsx)(GI,{height:Rve,self:`stretch`,justify:`flex-start`,items:`stretch`,p:0,pl:c5.tight,gap:c5.tight,bg:`transparent`,rounded:0,children:a3.map(t=>{let n=t===e,r=Vve[t],a=t===`all`?0:Tme(i,t);return(0,L.jsxs)(qI,{"data-parity-key":`inbox.tab.${t}`,value:t,height:`100%`,flexDirection:`row`,px:c5.tight,gap:`$1.5`,items:`center`,justify:`center`,rounded:0,bg:`transparent`,borderBottomWidth:2,borderColor:n?X.accent:`transparent`,activeStyle:{background:`transparent`},hoverStyle:{background:`transparent`},focusStyle:{background:`transparent`},focusVisibleStyle:u5,children:[(0,L.jsx)(r,{size:Bve,color:n?X.ink:X.dim}),(0,L.jsx)(V,{size:Z.small,fontWeight:n?`600`:`500`,color:n?X.ink:X.dim,children:Hve[t]}),a>0?(0,L.jsx)(z,{"data-parity-key":`inbox.badge`,minW:x7,height:x7,px:4,rounded:Q.pill,items:`center`,justify:`center`,bg:X.alert,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:`600`,color:X.panel,children:a})}):null]},t)})})}),(0,L.jsx)(B,{px:14,py:8,gap:6,items:`center`,borderBottomWidth:1,borderColor:X.rule,children:[[`all`,`All (${i.length})`],[`unread`,`Unread (${a})`],[`mentions`,`Mentions (${o})`]].map(([e,t])=>{let i=n===e;return(0,L.jsx)(B,{...w5(()=>r(e),`Filter ${t}`),px:8,py:3,rounded:Q.pill,bg:i?X.card:`transparent`,borderWidth:1,borderColor:i?X.ink:X.rule,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:i?`600`:`500`,color:i?X.ink:X.mute,children:t})},e)})}),a3.map(t=>(0,L.jsx)(JI,{value:t,flex:1,minH:0,children:t===e?(0,L.jsx)(Uve,{tab:t,filter:n}):null},t))]})]})},E7={dev:`live`,cyber:`live`,sci:`live`,data:`live`,mark:`waking`,rev:`asleep`};function Wve(){let{id:e}=ea(),t=M3(),n=e?.startsWith(`dm-`)?a4.find(t=>`dm-${t.id}`===e):void 0;return!n||t===`inbox`?(0,L.jsx)(T7,{}):(0,L.jsx)(Gve,{agent:n},n.id)}function Gve({agent:e}){let[t,n]=(0,b.useState)(`computer`),[r,i]=(0,b.useState)(E7[e.id]??`asleep`);(0,b.useEffect)(()=>{i(E7[e.id]??`asleep`)},[e.id]);let a=()=>{i(e=>e===`asleep`?`waking`:e===`waking`?`live`:`asleep`)};return(0,L.jsxs)(z,{"data-parity-key":`agent.panel`,flex:1,minH:0,px:14,pt:12,pb:14,gap:14,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$quiet`,children:`${e.name} · Inspector`}),(0,L.jsx)(B,{...w5(A3,`Close inspector`),width:24,height:24,items:`center`,justify:`center`,rounded:Q.field,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:(0,L.jsx)(vM,{size:14,color:X.dim})})]}),(0,L.jsxs)(z,{items:`center`,gap:6,children:[(0,L.jsx)(z,{width:52,height:52,rounded:Q.pill,overflow:`hidden`,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:52,height:52,style:{width:52,height:52,objectFit:`cover`,display:`block`}})}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`600`,color:`$ink`,children:e.name})]}),(0,L.jsx)(B,{items:`center`,justify:`center`,gap:4,children:[[`details`,`Details`],[`library`,`Library`],[`computer`,`Computer`]].map(([e,r])=>{let i=t===e;return(0,L.jsx)(B,{...w5(()=>n(e),r),px:10,py:4,rounded:Q.field,bg:i?`$hover`:`transparent`,hoverStyle:{background:`$hover`},focusVisibleStyle:u5,children:(0,L.jsx)(V,{fontSize:Z.small,fontWeight:i?`600`:`500`,color:i?`$ink`:`$dim`,children:r})},e)})}),t===`computer`?(0,L.jsxs)(z,{gap:8,pt:4,children:[(0,L.jsx)(z,{...w5(a,`${e.name}'s sandbox computer`),height:196,rounded:Q.card,borderWidth:1,borderColor:`$edge`,bg:`$background`,overflow:`hidden`,position:`relative`,items:`center`,justify:`center`,children:r===`live`?(0,L.jsx)(qve,{agent:e}):(0,L.jsx)(Kve,{state:r})}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,style:{textAlign:`center`},children:`${e.name}'s screen`}),(0,L.jsxs)(B,{mt:8,px:12,py:10,rounded:Q.card,borderWidth:1,borderColor:`$edge`,bg:`$raised`,items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,flex:1,minW:0,children:[r===`live`?(0,L.jsx)(yM,{size:13,color:`$ink`}):r===`waking`?(0,L.jsx)(aM,{size:13,color:`$quiet`}):(0,L.jsx)(Yj,{size:13,color:`$dim`}),(0,L.jsxs)(z,{flex:1,minW:0,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`500`,color:`$ink`,numberOfLines:1,children:r===`live`?`Sandbox active`:r===`waking`?`Waking sandbox...`:`Sandbox sleeping`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,numberOfLines:1,children:`Cron ${e.schedule} · ${e.triggers.join(`, `)}`})]})]}),(0,L.jsx)(B,{...w5(a,`Toggle computer power state`),px:8,py:4,rounded:Q.field,borderWidth:1,borderColor:`$edge`,bg:`$panel`,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$quiet`,children:r===`asleep`?`Wake`:r===`waking`?`Open`:`Sleep`})})]})]}):null,t===`details`?(0,L.jsxs)(z,{gap:10,pt:4,children:[(0,L.jsx)(D7,{label:`Role & Department`,value:`${e.role} · ${e.department}`}),(0,L.jsx)(D7,{label:`24/7 Autonomous Schedule`,value:`Cron: ${e.schedule} (Proactive)`}),(0,L.jsx)(D7,{label:`Event Triggers`,value:e.triggers.join(` · `)}),(0,L.jsx)(D7,{label:`Latest Status`,value:e.status})]}):null,t===`library`?(0,L.jsxs)(z,{gap:8,pt:4,children:[(0,L.jsx)(O7,{title:`${e.name} — Daily Run Summary`,meta:`Updated today · #hanzo-${e.department.toLowerCase()}`}),(0,L.jsx)(O7,{title:`${e.role} Playbook & MCP Tools`,meta:`hanzo-mcp · 13 unified tools enabled`}),(0,L.jsx)(O7,{title:`Sandbox Workspace Snapshot`,meta:`hanzo-sandbox/${e.id} · clean`})]}):null]})}function Kve({state:e}){return(0,L.jsxs)(z,{items:`center`,justify:`center`,gap:8,children:[(0,L.jsxs)(z,{items:`center`,position:`relative`,children:[e===`asleep`?(0,L.jsx)(V,{fontSize:9,fontWeight:`700`,color:`$dim`,style:{position:`absolute`,top:-10,right:-8,letterSpacing:1},children:`zZ`}):null,(0,L.jsxs)(B,{width:28,height:18,rounded:9,bg:`$soft`,opacity:.65,items:`center`,justify:`center`,gap:5,children:[(0,L.jsx)(z,{width:4,height:4,rounded:2,bg:`$background`}),(0,L.jsx)(z,{width:4,height:4,rounded:2,bg:`$background`})]})]}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`500`,color:`$quiet`,children:e===`waking`?`Waking up...`:`Computer is asleep`})]})}function qve({agent:e}){return(0,L.jsxs)(z,{flex:1,width:`100%`,height:`100%`,justify:`space-between`,bg:`$background`,children:[(0,L.jsxs)(z,{p:10,gap:6,children:[(0,L.jsxs)(B,{items:`center`,gap:5,opacity:.8,children:[(0,L.jsx)(z,{width:6,height:6,rounded:3,bg:`$soft`}),(0,L.jsx)(V,{fontSize:10,color:`$quiet`,numberOfLines:1,children:`hanzo-mcp — ${e.id}@sandbox:~`})]}),(0,L.jsxs)(z,{p:8,gap:3,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(V,{fontSize:9,color:`$quiet`,numberOfLines:1,children:`$ hanzo agent run --seat ${e.id} --watch`}),(0,L.jsx)(V,{fontSize:9,color:`$dim`,numberOfLines:1,children:`✓ 13 MCP tools connected · ${e.schedule}`})]})]}),(0,L.jsxs)(B,{width:`100%`,px:8,py:4,items:`center`,justify:`space-between`,bg:`$panel`,borderTopWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(z,{width:32}),(0,L.jsxs)(B,{px:8,py:3,gap:8,rounded:Q.pill,bg:`$hover`,items:`center`,children:[(0,L.jsx)(uM,{size:10,color:`$ink`}),(0,L.jsx)(vj,{size:10,color:`$quiet`}),(0,L.jsx)(Pj,{size:10,color:`$quiet`}),(0,L.jsx)(Zj,{size:10,color:`$quiet`})]}),(0,L.jsx)(V,{fontSize:9,color:`$dim`,children:`24/7`})]})]})}function D7({label:e,value:t}){return(0,L.jsxs)(z,{p:10,gap:3,rounded:Q.field,borderWidth:1,borderColor:`$edge`,bg:`$raised`,children:[(0,L.jsxs)(B,{items:`center`,gap:6,children:[(0,L.jsx)(_j,{size:12,color:`$dim`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,children:e})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$ink`,children:t})]})}function O7({title:e,meta:t}){return(0,L.jsxs)(B,{p:10,gap:8,rounded:Q.field,borderWidth:1,borderColor:`$edge`,bg:`$raised`,items:`center`,children:[(0,L.jsx)(jj,{size:14,color:`$quiet`}),(0,L.jsxs)(z,{flex:1,minW:0,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`500`,color:`$ink`,numberOfLines:1,children:e}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,numberOfLines:1,children:t})]})]})}var k7=22,Jve=11,Yve=44,A7=198;function j7({placeholder:e,disabled:t,onSend:n}){let[r,i]=(0,b.useState)(``),[a,o]=(0,b.useState)(!1),[s,c]=(0,b.useState)(null),l=r.trim()!==``&&!a&&!t,u=async()=>{if(!l)return;let e=r;o(!0),c(null);try{await n(e),i(``)}catch(e){c(e instanceof Error?e.message:String(e))}finally{o(!1)}},d=Math.min(8,r.split(`
174
+ `).map(e=>e.trimEnd()).filter(e=>e!==``).map(e=>`<p>${M_e(e)}</p>`).join(``)||`<p></p>`,A_e={"&amp;":`&`,"&lt;":`<`,"&gt;":`>`,"&quot;":`"`,"&#39;":`'`,"&#34;":`"`,"&nbsp;":` `},j_e=e=>e.replace(/&(?:amp|lt|gt|quot|nbsp|#39|#34);/g,e=>A_e[e]??e),M_e=e=>e.replace(/[&<>"']/g,e=>`&${{"&":`amp`,"<":`lt`,">":`gt`,'"':`quot`,"'":`#39`}[e]};`),N_e=/(?<![\w.@-])(@[\w.-]+)|(https?:\/\/[^\s<>()]+)/g,P_e=e=>{let t=[],n=0;for(let r of e.matchAll(N_e)){let i=r.index;i>n&&t.push({kind:`text`,value:e.slice(n,i)}),t.push(r[1]?{kind:`mention`,value:r[1]}:{kind:`link`,value:r[2]}),n=i+r[0].length}return n<e.length&&t.push({kind:`text`,value:e.slice(n)}),t},f5={channel:Y.channel,direct:Y.direct,message:Y.message,reply:Y.reply,reaction:Y.reaction,person:Y.person},p5=q2.create,F_e=q2.remove,m5=e=>typeof e==`string`?e:``,h5=e=>typeof e==`number`?e:0,I_e=async e=>{let[t,n]=await Promise.all([e.find(f5.channel),e.find(f5.direct)]);return[...t.map(e=>g5(e,`channel`)),...n.map(e=>g5(e,`direct`))].filter(e=>!e.archived)},L_e=e=>{let t=new Set;if(Array.isArray(e.bindings))for(let n of e.bindings)typeof n==`string`&&n.startsWith(`connect:`)&&t.add(n.slice(8));let n=m5(e.topic)||m5(e.description);for(let e of n.matchAll(/connect:([a-z0-9_-]+)/gi))e[1]&&t.add(e[1].toLowerCase());let r=m5(e.name).match(/^[a-z0-9]+-x-([a-z0-9_-]+)$/i);return r?.[1]&&t.add(r[1].toLowerCase()),t.size>0?[...t]:void 0},g5=(e,t)=>({id:m5(e._id),kind:t,name:m5(e.name),topic:m5(e.topic)||void 0,private:e.private===!0,archived:e.archived===!0,members:Array.isArray(e.members)?e.members.filter(e=>typeof e==`string`):[],connectedOrgs:L_e(e)}),R_e=async(e,t)=>(await e.find(f5.message,{attachedTo:t})).map(e=>v5(e,t)).sort(_5),_5=(e,t)=>e.at-t.at||(e.id<t.id?-1:1),v5=(e,t)=>({id:m5(e._id),room:t,author:m5(e.createdBy)||m5(e.modifiedBy),lines:k_e(m5(e.message)),at:h5(e.createdOn)||h5(e.modifiedOn),replies:h5(e.replies),pinned:e.isPinned===!0}),z_e=async(e,t)=>(await e.find(f5.reply,{attachedTo:t})).map(e=>({...B_e(e),room:t})).sort(_5),B_e=e=>v5(e,m5(e.attachedTo)),V_e=async(e,t)=>t.length===0?[]:(await e.find(f5.reaction,{attachedTo:{$in:t}})).map(e=>({id:m5(e._id),message:m5(e.attachedTo),emoji:m5(e.emoji),by:m5(e.createBy)||m5(e.createdBy)})),H_e=e=>X2({name:e}).replace(/\s+/g,` `),U_e=async e=>(await e.find(f5.person)).map(e=>({id:m5(e.personUuid)||m5(e._id),name:H_e(m5(e.name)),avatar:m5(e.avatar)||void 0})),W_e=(e,t,n)=>e.write(S5(C5(),f5.message,t.id,t.id,b5(t),`messages`,x5(e),{message:d5(n)})),G_e=(e,t,n,r)=>e.write(S5(C5(),f5.reply,t.id,n.id,f5.message,`replies`,x5(e),{message:d5(r),objectId:t.id,objectClass:b5(t)})),K_e=(e,t,n,r)=>e.write(S5(C5(),f5.reaction,t.id,n.id,f5.message,`reactions`,x5(e),{emoji:r})),q_e=(e,t,n)=>e.write({_class:F_e,objectId:n.id,objectClass:f5.reaction,objectSpace:t.id,modifiedBy:x5(e),modifiedOn:Date.now()}),y5=async(e,t,n,r)=>{let i=t.trim().replace(/^#+/,``).toLowerCase().replace(/[^a-z0-9_-]+/g,`-`),a=n.map(e=>e.trim().toLowerCase().replace(/[^a-z0-9_-]+/g,``)).filter(Boolean),o=`connect-${i}-${C5().slice(0,8)}`,s=Date.now(),c=x5(e),l=a.map(e=>`connect:${e}`),u=[r?.trim(),...l].filter(Boolean).join(` · `);return await e.write({_class:p5,objectId:o,objectClass:f5.channel,objectSpace:`hanzo`,modifiedBy:c,modifiedOn:s,createdBy:c,createdOn:s,attributes:{name:i,topic:u,description:u,private:!1,archived:!1,members:c?[c]:[],owners:c?[c]:[],life:`standing`,bindings:l}}),o},b5=e=>e.kind===`direct`?f5.direct:f5.channel,x5=e=>e.account??``,S5=(e,t,n,r,i,a,o,s)=>{let c=Date.now();return{_class:p5,objectId:e,objectClass:t,objectSpace:n,modifiedBy:o,modifiedOn:c,createdBy:o,createdOn:c,attributes:s,attachedTo:r,attachedToClass:i,collection:a}},C5=()=>[...crypto.getRandomValues(new Uint8Array(16))].map(e=>e.toString(16).padStart(2,`0`)).join(``),J_e=(e,t)=>e.some(e=>{let n=m5(e.objectClass);return n!==f5.message&&n!==f5.reaction&&n!==f5.reply?!1:m5(e.objectSpace)===t||m5(e.attachedTo)===t||n!==f5.message}),w5=(e,t)=>({role:`button`,tabIndex:0,cursor:`pointer`,...t?{"aria-label":t}:{},onPress:e,onKeyDown:t=>{(t.nativeEvent.key===`Enter`||t.nativeEvent.key===` `)&&(t.preventDefault(),e())}}),T5=new Set,E5=null,D5=(e=`connect`)=>{E5=e;for(let e of T5)e(E5)},O5=()=>{E5=null;for(let e of T5)e(null)};function Y_e(){let[e,t]=(0,b.useState)(E5),n=Qi(),{all:r,current:i,plane:a,choose:o,createOrg:s}=P4(),[c,l]=(0,b.useState)(`lux`),[u,d]=(0,b.useState)(``),[f,p]=(0,b.useState)(`hanzo-x-lux`),[m,h]=(0,b.useState)(`Cross-organization engineering, shared agents & delivery`),[g,_]=(0,b.useState)(!1),[v,y]=(0,b.useState)(``),[x,S]=(0,b.useState)(``),[C,w]=(0,b.useState)(!0),[T,E]=(0,b.useState)(!1);(0,b.useEffect)(()=>{let e=e=>t(e);return T5.add(e),()=>{T5.delete(e)}},[]);let D=i?.url??`hanzo`,O=i?.name??`Hanzo AI`,k=r.filter(e=>e.url!==D),A=(u.trim()||c||`partner`).toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``);if((0,b.useEffect)(()=>{A&&p(`${D}-x-${A}`)},[D,A]),!e)return null;let j=async()=>{if(!a||g)return;let e=A||`partner`,t=f.trim().toLowerCase().replace(/^#+/,``).replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``)||`${D}-x-${e}`;_(!0);try{r.some(t=>t.url===e)||s(e,e.toUpperCase());let i=await y5(a,t,[e],m);N2(`chat:rooms:`),O5(),n(`/chat/${i}`)}finally{_(!1)}},ee=async()=>{if(g)return;let e=v.trim()||x.trim()||`New Organization`,t=(x.trim()||e).toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``);if(t){_(!0);try{let r=s(t,e);if(C&&a&&t!==D){let e=`${D}-x-${t}`,i=await y5(a,e,[t],`Hanzo Connect shared channel between ${O} and ${r.name}`);N2(`chat:rooms:`),T&&o(r.url),O5(),n(`/chat/${i}`);return}T&&o(r.url),O5()}finally{_(!1)}}};return(0,L.jsx)(z,{position:`fixed`,t:0,l:0,r:0,b:0,z:1e5,items:`center`,justify:`center`,p:16,style:{backgroundColor:`var(--team-backdrop, rgba(0, 0, 0, 0.65))`,backdropFilter:`blur(4px)`},onPress:()=>O5(),children:(0,L.jsxs)(z,{width:`100%`,maxW:520,rounded:Q.card,bg:`$panel`,borderWidth:1,borderColor:`$edge`,p:20,gap:16,onPress:e=>e.stopPropagation?.(),"data-testid":`hanzo-connect-modal`,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,gap:12,children:[(0,L.jsxs)(B,{items:`center`,gap:10,children:[(0,L.jsx)(z,{width:32,height:32,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(nM,{size:16,color:`$ink`})}),(0,L.jsxs)(z,{children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`700`,color:`$ink`,children:`Hanzo Connect`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Multi-org shared channels & isolated organization workspaces`})]})]}),(0,L.jsx)(B,{...w5(()=>O5(),`Close Hanzo Connect modal`),px:8,py:4,rounded:Q.field,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.body,color:`$soft`,children:`✕`})})]}),(0,L.jsxs)(B,{bg:`$background`,p:3,rounded:Q.field,borderWidth:1,borderColor:`$edge`,gap:4,children:[(0,L.jsxs)(B,{flex:1,...w5(()=>t(`connect`),`Connect organizations tab`),py:7,px:10,rounded:Q.field,items:`center`,justify:`center`,gap:6,bg:e===`connect`?`$panel`:`transparent`,children:[(0,L.jsx)(nM,{size:14,color:e===`connect`?`$ink`:`$soft`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:e===`connect`?`600`:`500`,color:e===`connect`?`$ink`:`$soft`,children:`Connect Orgs (Shared Channel)`})]}),(0,L.jsxs)(B,{flex:1,...w5(()=>t(`create-org`),`Create organization tab`),py:7,px:10,rounded:Q.field,items:`center`,justify:`center`,gap:6,bg:e===`create-org`?`$panel`:`transparent`,children:[(0,L.jsx)(aj,{size:14,color:e===`create-org`?`$ink`:`$soft`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:e===`create-org`?`600`:`500`,color:e===`create-org`?`$ink`:`$soft`,children:`Create New Organization`})]})]}),e===`connect`?(0,L.jsxs)(z,{gap:14,children:[(0,L.jsxs)(B,{p:12,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`space-between`,gap:8,children:[(0,L.jsxs)(z,{gap:2,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$faint`,children:`HOST ORGANIZATION`}),(0,L.jsxs)(V,{fontSize:Z.body,fontWeight:`700`,color:`$ink`,children:[O,` (`,D,`)`]})]}),(0,L.jsxs)(B,{px:8,py:3,rounded:Q.pill,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,gap:5,children:[(0,L.jsx)(Pj,{size:12,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:[`connect:`,A||`org`]})]}),(0,L.jsxs)(z,{gap:2,items:`flex-end`,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$faint`,children:`PARTNER ORGANIZATION`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`700`,color:`$ink`,children:A||`partner`})]})]}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Select or enter partner organization slug`}),(0,L.jsx)(B,{gap:6,flexWrap:`wrap`,children:k.map(e=>{let t=!u.trim()&&c===e.url;return(0,L.jsxs)(B,{...w5(()=>{d(``),l(e.url)},`Select ${e.name}`),px:10,py:5,rounded:Q.pill,bg:t?`$ink`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,items:`center`,gap:5,children:[t?(0,L.jsx)(cj,{size:12,color:`$background`}):null,(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,color:t?`$background`:`$ink`,children:[e.name,` (`,e.url,`)`]})]},e.url)})}),(0,L.jsx)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(`input`,{value:u,onChange:e=>d(e.target.value),placeholder:`Or enter external organization slug (e.g. acme, skully, partner)...`,style:{width:`100%`,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})})]}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Shared channel name`}),(0,L.jsxs)(B,{items:`center`,gap:6,px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(Fj,{size:14,color:`$soft`}),(0,L.jsx)(`input`,{value:f,onChange:e=>p(e.target.value),placeholder:`hanzo-x-partner`,style:{flex:1,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})]})]}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Channel purpose & agent scope`}),(0,L.jsx)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(`input`,{value:m,onChange:e=>h(e.target.value),placeholder:`Cross-org engineering, shared agents & delivery`,style:{width:`100%`,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})})]}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$soft`,children:[`Both organizations keep strict tenant isolation (separate IAM, KMS secrets, private repos, and billing) while humans and AI agents (@vi, @dev, @mark) collaborate in real time inside #`,f||`${D}-x-${A}`,`.`]}),(0,L.jsxs)(B,{justify:`flex-end`,gap:8,pt:4,children:[(0,L.jsx)(B,{...w5(()=>O5(),`Cancel`),px:12,py:8,rounded:Q.field,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`Cancel`})}),(0,L.jsxs)(B,{...w5(()=>void j(),`Connect and create shared channel`),px:14,py:8,rounded:Q.field,bg:`$ink`,items:`center`,gap:6,children:[(0,L.jsx)(nM,{size:14,color:`$background`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`600`,color:`$background`,children:g?`Connecting…`:`Connect & Share Channel`})]})]})]}):(0,L.jsxs)(z,{gap:14,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Every company, agency, or partner team creates its own isolated Hanzo Organization with dedicated IAM, KMS secrets, and billing. Two or more organizations can then link shared channels via Hanzo Connect.`}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Organization display name`}),(0,L.jsx)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(`input`,{value:v,onChange:e=>{y(e.target.value)},placeholder:`e.g. Acme Robotics, Skully Systems, Partner Labs`,style:{width:`100%`,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})})]}),(0,L.jsxs)(z,{gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,children:`Organization slug (tenant ID)`}),(0,L.jsx)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(`input`,{value:x||v.trim().toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``),onChange:e=>S(e.target.value),placeholder:`e.g. acme`,style:{width:`100%`,border:`none`,background:`transparent`,color:`inherit`,fontSize:13,outline:`none`}})})]}),(0,L.jsxs)(B,{...w5(()=>w(e=>!e),`Toggle automatic Hanzo Connect channel creation`),items:`center`,gap:8,p:10,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(z,{width:16,height:16,rounded:4,bg:C?`$ink`:`transparent`,borderWidth:1,borderColor:`$ink`,items:`center`,justify:`center`,children:C?(0,L.jsx)(cj,{size:12,color:`$background`}):null}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$ink`,flex:1,children:[`Automatically bridge a Hanzo Connect channel (#`,D,`-x-`,x||v.trim().toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-|-$/g,``)||`new-org`,`) with `,O]})]}),(0,L.jsxs)(B,{...w5(()=>E(e=>!e),`Toggle switching active organization after creation`),items:`center`,gap:8,px:10,py:6,children:[(0,L.jsx)(z,{width:16,height:16,rounded:4,bg:T?`$ink`:`transparent`,borderWidth:1,borderColor:`$ink`,items:`center`,justify:`center`,children:T?(0,L.jsx)(cj,{size:12,color:`$background`}):null}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$quiet`,children:`Switch my active workspace to this new organization immediately`})]}),(0,L.jsxs)(B,{justify:`flex-end`,gap:8,pt:4,children:[(0,L.jsx)(B,{...w5(()=>O5(),`Cancel`),px:12,py:8,rounded:Q.field,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`Cancel`})}),(0,L.jsxs)(B,{...w5(()=>void ee(),`Create organization`),px:14,py:8,rounded:Q.field,bg:`$ink`,items:`center`,gap:6,children:[(0,L.jsx)(Qj,{size:14,color:`$background`}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`600`,color:`$background`,children:g?`Creating…`:`Create Organization`})]})]})]})]})})}var k5=1120,A5=e=>{let t=e,n=new Set;return{set:e=>{if(e!==t){t=e;for(let e of n)e()}},use:()=>(0,b.useSyncExternalStore)(e=>(n.add(e),()=>n.delete(e)),()=>t,()=>e)}},j5=A5(0),M5=A5(null),X_e=j5.set,N5=j5.use,Z_e=M5.set;M5.use;var P5=[{id:`overview`,label:`AI Cockpit`,icon:KA,path:`/overview`},{id:`chat`,label:`Chat`,icon:Kj,path:`/chat`},{id:`tracker`,label:`Tracker`,icon:oM,path:`/issues`},{id:`crm`,label:`CRM`,icon:ij,path:`/crm`},{id:`bots`,label:`Bots`,icon:nj,path:`/bots`},{id:`calendar`,label:`Calendar`,icon:sj,path:`/calendar`},{id:`meet`,label:`Meet`,icon:gM,path:`/meet`},{id:`time`,label:`Time`,icon:_j,path:`/time`},{id:`apps`,label:`Business Apps`,icon:Lj,path:`/apps`}],F5=e=>P5.find(t=>e===t.path||e.startsWith(`${t.path}/`)||t.id===`overview`&&e===`/crm/overview`||t.id===`tracker`&&(e===`/mine`||e.startsWith(`/mine/`)||e===`/projects`||e===`/projects/`||e.startsWith(`/projects/`))),I5={outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},Q_e={background:`radial-gradient(closest-side, var(--surface-3, rgb(255 255 255 / .12)), transparent)`},$_e={background:X.alert},eve=({notices:e,onNotices:t,onSurface:n,account:r})=>{let{pathname:i}=Xi(),a=N5();return(0,L.jsxs)(z,{width:64,shrink:0,height:`100%`,items:`center`,justify:`space-between`,pt:8,pb:12,bg:`$background`,borderRightWidth:1,borderColor:`$edge`,"data-parity-key":`shell.rail`,children:[(0,L.jsx)(EI,{flex:1,minH:0,width:`100%`,children:(0,L.jsxs)(z,{items:`center`,width:`100%`,gap:2,children:[(0,L.jsxs)(L5,{label:a>0?`${e?`Hide`:`Show`} Activity (${a} unread)`:e?`Hide Activity`:`Show Activity`,pressed:e,onPress:t,children:[(0,L.jsx)(tj,{size:18,color:e?`$ink`:`$soft`}),a>0?(0,L.jsx)(z,{position:`absolute`,t:4,r:3,minW:15,height:15,px:3,rounded:Q.pill,items:`center`,justify:`center`,style:$_e,children:(0,L.jsx)(V,{fontSize:10,lineHeight:12,fontWeight:`700`,style:{color:X.panel},children:a})}):null]}),(0,L.jsx)(tve,{}),P5.map(e=>{let t=F5(i)?.id===e.id;return(0,L.jsx)(L5,{label:e.label,here:t,onPress:()=>n(e.path),children:(0,L.jsx)(e.icon,{size:18,color:t?`$ink`:`$soft`})},e.id)})]})}),(0,L.jsxs)(z,{items:`center`,width:`100%`,gap:10,pt:6,children:[(0,L.jsxs)(DN,{children:[(0,L.jsx)(ON,{children:(0,L.jsx)(z,{...w5(()=>n(`/apps`),`Open Business Apps`),width:32,height:32,rounded:Q.pill,borderWidth:1,borderStyle:`dashed`,borderColor:`$edge`,items:`center`,justify:`center`,hoverStyle:{background:`$hover`},focusVisibleStyle:I5,children:(0,L.jsx)(Qj,{size:15,color:`$soft`})})}),(0,L.jsx)(AN,{children:`All Hanzo Business Apps`})]}),(0,L.jsx)(O_e,{...r})]})]})},tve=()=>(0,L.jsx)(dD,{width:36,my:6,borderColor:`$edge`}),L5=({label:e,here:t=!1,pressed:n,onPress:r,children:i})=>(0,L.jsxs)(DN,{children:[(0,L.jsx)(ON,{children:(0,L.jsxs)(z,{...w5(r,e),"aria-current":t?`page`:void 0,"aria-pressed":n,width:38,height:38,items:`center`,justify:`center`,position:`relative`,rounded:Q.field,focusVisibleStyle:I5,children:[t?(0,L.jsx)(z,{position:`absolute`,width:52,height:52,style:Q_e,pointerEvents:`none`}):null,i]})}),(0,L.jsx)(AN,{children:e})]}),R5=({nav:e,children:t,aside:n})=>{let{pathname:r}=Xi(),i=Qi(),{who:a,leave:o,depart:s}=L2(),{all:c,current:l,choose:u}=P4(),[d,f]=(0,b.useState)(()=>typeof window>`u`?k5:window.innerWidth),[p,m]=(0,b.useState)(268),[h,g]=(0,b.useState)(!1),[_,v]=(0,b.useState)(!1),y=j3(),x=M3(),S=d>=k5,C=d>=800,w=t=>{if(!C&&e&&(r===t||r.startsWith(`${t}/`)))return g(!0);i(t)},T=c.length>0?c:[{uuid:`hanzo`,name:`Hanzo AI`,url:`fixture`,org:`hanzo`,isDisabled:!1}],E=l??T[0],D=r.startsWith(`/crm`)?`crm`:r.startsWith(`/bots`)?`bots`:r.startsWith(`/calendar`)?`cal`:`team`,O=e=>{e.id===`crm`?i(`/crm/opportunities`):e.id===`team`||e.id===`work`?i(`/issues`):e.id===`chat`?i(`/chat/c-general`):e.id===`bots`?i(`/bots`):e.id===`cal`?i(`/calendar`):typeof window<`u`&&(window.location.href=e.href)},k=a?{sub:a.id,name:a.label||a.name,email:a.email,avatar:a.avatar,owner:E?.org??`hanzo`}:{sub:`zeekay`,name:`Zach Kelling`,email:`z@hanzo.ai`,owner:`hanzo`},A={name:E?.url??`hanzo`,displayName:E?.name??`Hanzo AI`},j=T.map(e=>({name:e.url,displayName:e.name}));return(0,L.jsxs)(LI,{bg:`$background`,children:[(0,L.jsx)(D_e,{appId:D,showAppTitle:r.startsWith(`/crm`),currentOrg:A,orgs:j,onSelectOrg:e=>u(e),onCreateOrg:()=>D5(`create-org`),onSelectApp:O,onNavigate:w,user:k}),(0,L.jsxs)(B,{flex:1,minH:0,onLayout:e=>f(e.nativeEvent.layout.width),children:[(0,L.jsx)(eve,{notices:!!n&&(S?y&&x===`inbox`:_),onNotices:()=>{S?k3(`inbox`):(O3(`inbox`),v(!_))},onSurface:w,account:{user:k,currentOrg:A,orgs:j,onSelectOrg:e=>u(e),onCreateOrg:()=>D5(`create-org`),onConnectOrg:()=>D5(`connect`),onAddAccount:()=>void s(`another`),onSettings:()=>w(`/bots`),onSignOut:()=>o()}}),C&&e?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(z,{width:p,shrink:0,minH:0,"data-parity-key":`shell.nav`,children:e}),(0,L.jsx)(nve,{value:p,onChange:m})]}):null,(0,L.jsxs)(B,{flex:1,minW:0,minH:0,pt:6,pb:6,pr:6,gap:6,children:[(0,L.jsx)(z5,{parity:`shell.main`,children:t}),n&&y&&S?(0,L.jsx)(z,{width:304,shrink:0,children:(0,L.jsx)(z5,{parity:`shell.aside`,children:n})}):null]})]}),(0,L.jsx)(MB,{open:!!n&&!S&&_,onOpenChange:v,children:(0,L.jsx)(NB,{side:`right`,width:304,p:0,bg:`$panel`,children:n})}),(0,L.jsx)(MB,{open:!!e&&h&&!C,onOpenChange:g,children:(0,L.jsx)(NB,{side:`left`,width:268,p:0,bg:`$background`,children:e})}),(0,L.jsx)(Y_e,{})]})},z5=({parity:e,children:t})=>(0,L.jsx)(z,{flex:1,minW:0,minH:0,bg:`$panel`,rounded:Q.panel,overflow:`hidden`,"data-parity-key":e,children:t}),nve=({value:e,onChange:t})=>{let n=(0,b.useRef)(0),r=(0,b.useRef)(e),i=(0,b.useRef)(!1),a=e=>Math.min(380,Math.max(220,e));return(0,L.jsx)(z,{role:`separator`,"aria-orientation":`vertical`,"aria-label":`Resize the navigator`,"aria-valuenow":e,"aria-valuemin":220,"aria-valuemax":380,tabIndex:0,width:1,shrink:0,bg:`$edge`,position:`relative`,cursor:`col-resize`,hoverStyle:{bg:`$soft`},focusVisibleStyle:{bg:`$outlineColor`},onPointerDown:t=>{i.current=!0,n.current=t.clientX,r.current=e,t.currentTarget.setPointerCapture?.(t.pointerId)},onPointerMove:e=>{i.current&&t(a(r.current+e.clientX-n.current))},onPointerUp:e=>{i.current=!1,e.currentTarget.releasePointerCapture?.(e.pointerId)},onPointerCancel:()=>{i.current=!1},onKeyDown:n=>{let r=n.shiftKey?1:8;n.key===`ArrowLeft`&&t(a(e-r)),n.key===`ArrowRight`&&t(a(e+r))},children:(0,L.jsx)(z,{position:`absolute`,t:0,b:0,l:-8,r:-8})})},B5={outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},rve={flexDirection:`row`},V5=({title:e,children:t})=>(0,L.jsxs)(z,{flex:1,minH:0,pt:12,pb:8,children:[(0,L.jsx)(B,{px:14,pb:10,items:`center`,justify:`space-between`,children:(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,numberOfLines:1,children:e})}),t]}),H5=({value:e,onChange:t})=>(0,L.jsxs)(B,{mx:14,height:34,items:`center`,gap:8,px:12,rounded:Q.field,borderWidth:1,borderColor:`$edge`,bg:`$panel`,focusWithinStyle:B5,children:[(0,L.jsx)(eM,{size:16,color:`$soft`}),(0,L.jsx)(fI,{flex:1,unstyled:!0,height:32,borderWidth:0,bg:`transparent`,fontSize:Z.body,color:`$ink`,placeholderTextColor:`$faint`,placeholder:`Search…`,value:e,onChangeText:t})]}),U5=()=>(0,L.jsx)(dD,{my:6,mx:14,borderColor:`$edge`}),W5=({children:e,count:t,open:n=!0,onToggle:r})=>(0,L.jsxs)(B,{...r?w5(r):{},height:28,items:`center`,justify:`space-between`,px:14,gap:6,children:[(0,L.jsxs)(B,{items:`center`,gap:6,minW:0,flex:1,children:[(0,L.jsx)(ive,{open:n}),(0,L.jsx)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$quiet`,numberOfLines:1,children:e})]}),t===void 0?null:(0,L.jsx)(V,{fontSize:Z.chip,color:`$faint`,children:t})]}),ive=({open:e=!0})=>(0,L.jsx)(z,{width:18,height:18,items:`center`,justify:`center`,rotate:e?`0deg`:`-90deg`,children:(0,L.jsx)(z,{width:7,height:7,borderBottomWidth:1.5,borderRightWidth:1.5,borderColor:`$soft`,rotate:`45deg`,mt:-3})}),G5=({to:e,icon:t,children:n,indent:r})=>{let{pathname:i}=Xi(),a=i===e||i.startsWith(`${e}/`);return(0,L.jsx)(B,{asChild:!0,style:rve,height:r?30:34,items:`center`,gap:8,pl:r?40:14,pr:14,mx:4,rounded:Q.field,hoverStyle:{bg:`$hover`},focusVisibleStyle:B5,children:(0,L.jsxs)(uo,{to:e,"aria-current":a?`page`:void 0,children:[t?(0,L.jsx)(z,{width:18,height:18,items:`center`,justify:`center`,children:t}):null,(0,L.jsx)(V,{fontSize:Z.row,fontWeight:a?`500`:`400`,color:a?`$ink`:`$quiet`,numberOfLines:1,children:n})]})})},ave=({icon:e,children:t,open:n,onPress:r})=>(0,L.jsxs)(B,{...w5(r),"aria-expanded":n,height:34,items:`center`,gap:8,px:14,mx:4,rounded:Q.field,hoverStyle:{bg:`$hover`},focusVisibleStyle:B5,children:[e?(0,L.jsx)(z,{width:18,height:18,items:`center`,justify:`center`,children:e}):null,(0,L.jsx)(V,{fontSize:Z.row,color:`$quiet`,numberOfLines:1,children:t})]}),ove=({children:e})=>(0,L.jsxs)(z,{position:`relative`,children:[(0,L.jsx)(z,{position:`absolute`,l:27,t:0,b:0,width:1,bg:`$edge`}),e]}),K5=({children:e})=>(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsx)(z,{pb:14,children:e})}),q5={[J2.backlog]:`backlog`,[J2.todo]:`todo`,[J2.doing]:`progress`,[J2.done]:`done`,[J2.cancelled]:`done`},sve=[void 0,`urgent`,`high`,`medium`,`low`],J5={urgent:Y2.urgent,high:Y2.high,medium:Y2.medium,low:Y2.low},cve=e=>{let t=e.estimation??0;return t<=0?0:Math.max(0,Math.min(1,(e.reportedTime??0)/t))},Y5=e=>({id:e._id,name:X2(e),face:e.avatar??void 0}),lve=(e,t)=>{let n=[e.assignee,...e.collaborators??[]].filter(e=>!!e),r=new Set,i=[];for(let e of n){if(r.has(e))continue;r.add(e);let n=t.get(e);n&&i.push(Y5(n))}return i},uve=(e,t)=>({id:e._id,key:Bpe(t.project??t.projects.get(e.space),e),title:e.title,description:e.description,projectId:e.space,status:t.columns.get(e.status)??`backlog`,priority:sve[e.priority]??void 0,labels:t.words.get(e._id)??[],done:cve(e),people:lve(e,t.crowd),origin:e.component?dve(t.parts.get(e.component)):void 0,files:e.attachments??0,replies:e.comments??0}),dve=e=>e?{name:e}:void 0,X5=e=>new Map(e.map(e=>[e._id,q5[e.category]??`backlog`])),fve=(e,t)=>async(n,r,i)=>{let a=t??`proj-crm`,[o,s,c]=await Promise.all([$4(e,a),Q4(e,a),Z4(e,a)]),l=s.find(e=>(q5[e.category]??`backlog`)===n)??s[0];if(!l)throw Error(`this project has no ${n} column`);let u=Math.max(c?.sequence??0,...o.map(e=>e.number))+1,d=i?.priority?J5[i.priority]:0;if(await Cme(e,e.account??``,a,{title:r,status:l._id,priority:d,number:u,after:o.find(e=>e.status===l._id)}),i&&(i.description||i.assigneeId||i.labels&&i.labels.length>0)){let t=(await $4(e,a)).find(e=>e.number===u&&e.title===r);if(t&&(await r3(e,e.account??``,t,{...i.description===void 0?{}:{description:i.description},...i.assigneeId===void 0?{}:{assignee:i.assigneeId,collaborators:i.assigneeId?[i.assigneeId]:[]}}),i.labels&&i.labels.length>0))for(let n of i.labels)await e.write(R4(a,e.account??``,Y.tag,{attachedTo:t._id,attachedToClass:Y.issue,collection:`labels`,tag:`tag-${n.toLowerCase()}`,title:n}))}},pve=(e,t)=>({watch(n,r){let i=!0,a=()=>{Promise.all([Q4(e,t),$4(e,t),e3(e),t3(e),xme(e),X4(e)]).then(async([r,a,o,s,c,l])=>{if(!i)return;let u=t&&a.length?await Z4(e,t):void 0;if(!i)return;let d=new Map;for(let e of s){let t=d.get(e.attachedTo);t?t.push(e.title):d.set(e.attachedTo,[e.title])}let f={columns:X5(r),crowd:new Map(o.map(e=>[e._id,e])),words:d,parts:new Map(c.map(e=>[e._id,e.label])),project:u,projects:new Map(l.map(e=>[e._id,e]))};n(a.map(e=>uve(e,f)))}).catch(e=>i&&r(e instanceof Error?e:Error(String(e))))};a();let o=e.watch(a);return()=>{i=!1,o()}},add:fve(e,t),async move(n,r,i){let a=await $4(e,t),o=a.find(e=>e._id===n);if(!o)throw Error(`no issue to move`);let s=(await Q4(e,o.space)).find(e=>(q5[e.category]??`backlog`)===r);if(!s)throw Error(`no column to move into`);let c=a.filter(e=>e.status===s._id&&e._id!==n),l=i?c.findIndex(e=>e._id===i):c.length,u=l<0?c.length:l;await Sme(e,e.account??``,o,s._id,{before:c[u-1],after:c[u]})},async update(n,r){let i=(await $4(e,t)).find(e=>e._id===n);if(!i)return;let a={};if(r.title!==void 0&&(a.title=r.title),r.description!==void 0&&(a.description=r.description),r.priority!==void 0&&(a.priority=r.priority?J5[r.priority]:0),r.done!==void 0){let e=i.estimation&&i.estimation>0?i.estimation:100;a.estimation=e,a.reportedTime=Math.round(Math.max(0,Math.min(1,r.done))*e)}if(r.assigneeId!==void 0){a.assignee=r.assigneeId;let e=(i.collaborators??[]).filter(e=>e!==r.assigneeId);a.collaborators=r.assigneeId?[r.assigneeId,...e]:e}if(r.replies!==void 0&&(a.comments=r.replies),r.status!==void 0){let t=(await Q4(e,i.space)).find(e=>(q5[e.category]??`backlog`)===r.status);t&&(a.status=t._id)}if(Object.keys(a).length>0&&await r3(e,e.account??``,i,a),r.labels!==void 0){let t=(await t3(e)).filter(e=>e.attachedTo===n);for(let n of t)await e.write(B4(n,e.account??``));for(let t of r.labels)await e.write(R4(i.space,e.account??``,Y.tag,{attachedTo:n,attachedToClass:Y.issue,collection:`labels`,tag:`tag-${t.toLowerCase()}`,title:t}))}},async remove(n){let r=(await $4(e,t)).find(e=>e._id===n);r&&await e.write(B4(r,e.account??``))}}),Z5=e=>{let{plane:t,current:n}=P4();return(0,b.useMemo)(()=>t&&n?pve(t,e):null,[t,n,e])},Q5=e=>{let{plane:t}=P4(),n=M2(n3.people(),()=>e3(t),{enabled:!!t}),r=M2(n3.projects(),()=>X4(t),{enabled:!!t}),i=e?(r.data??[]).find(t=>t._id===e)?.members:void 0,a=new Map((n.data??[]).map(e=>[e._id,e]));return(i?i.map(e=>a.get(e)):n.data??[]).filter(e=>!!e).map(Y5)},$5=e=>e===`refused`?`refused`:e===`homeless`?`nowhere`:`opening`,e7=()=>{let{plane:e}=P4();return M2(n3.projects(),()=>X4(e),{enabled:!!e})},t7=e=>{let t=e7();return e?(t.data??[]).find(t=>t._id===e):void 0},mve=/(@[\w.-]+)/g,n7=(e,t)=>e?[{text:e,[t]:!0}]:[],hve=(e,t,n)=>{let r=[{text:e,strong:!0}];return(n?t.split(n):[t]).forEach((e,t)=>{t>0&&r.push(...n7(n,`strong`));for(let t of e.split(mve))t&&(t.startsWith(`@`)?r.push(...n7(t,`mention`)):r.push({text:t}))}),r.map((e,t)=>t===1&&e.text?{...e,text:` ${e.text}`}:e)},gve=(e,t,n)=>{let r=t.get(String(e.modifiedBy??``)),i=r?X2(r):`Somebody`,a=n.get(String(e.attachedTo??``));return{id:e._id,kind:e.attachedToClass===Y.channel||e.attachedToClass===Y.direct||e.attachedToClass===Y.message?`chat`:`task`,actor:{name:i,face:r?.avatar??void 0},line:hve(i,e.body??e.title??``,a),at:e.modifiedOn,place:a,seen:e.isViewed}},_ve=()=>{let{plane:e,current:t,standing:n}=P4();return(0,b.useEffect)(()=>{if(!e||!t){let e=$5(n);v3({list:e===`refused`?()=>Promise.reject(Error(`Your workspace is not answering.`)):e===`nowhere`?()=>Promise.resolve([]):()=>new Promise(()=>{}),see:()=>Promise.resolve()});return}let r=t.uuid;v3({async list(){let[t,n,i]=await Promise.all([J4(e,r),e3(e),yme(e,r)]),a=new Map(n.map(e=>[e._id,e]));return t.map(e=>gve(e,a,i))},async see(t){let n=(await J4(e,r)).find(e=>e._id===t);n&&!n.isViewed&&await bme(e,e.account??``,n)}})},[e,t,n]),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(vve,{}),(0,L.jsx)(yve,{})]})},vve=()=>{let e=b3();return(0,b.useEffect)(()=>X_e(e),[e]),null},yve=()=>{let{plane:e}=P4(),t=M2(n3.statuses(),()=>Q4(e),{enabled:!!e}),n=M2(n3.issues(),()=>$4(e),{enabled:!!e}),r=X5(t.data??[]),i=n.data??[],a=i.filter(e=>r.get(e.status)!==`done`).length,o=i.length?Math.round(a/i.length*100):null;return(0,b.useEffect)(()=>Z_e(o),[o]),null},r7=[{id:`chat`,label:`Team Chat`,productTitle:`Hanzo Team Chat`,category:`Workspace`,description:`Multiplayer human + AI channels, direct messages, threads, and huddles.`,href:`https://hanzo.team/chat`,internalPath:`/chat/c-general`,icon:Kj,metrics:`9 active channels · 23 AI teammates online`,bots:[`vi`,`opera`,`mana`,`su`]},{id:`tracker`,label:`Tracker & Board`,productTitle:`Hanzo Tracker`,category:`Workspace`,description:`Projects, Kanban boards, sprint velocity, components, and issue tracking.`,href:`https://hanzo.team/issues`,internalPath:`/projects/proj-crm/issues`,icon:oM,metrics:`4 active projects · 35 tracked issues`,bots:[`mana`,`dev`,`des`,`opera`]},{id:`bots`,label:`Bots · 24/7`,productTitle:`Hanzo Bots`,category:`AI & Engineering`,description:`All 23 autonomous 24/7 agents running on cron schedules and event triggers.`,href:`https://hanzo.bot`,internalPath:`/bots`,icon:nj,metrics:`12 leads · 11 specialist bots · 24/7 active`,bots:[`vi`,`dev`,`rev`,`opera`]},{id:`crm`,label:`CRM`,productTitle:`Hanzo CRM`,category:`CRM & Growth`,description:`Enterprise pipeline, contacts, accounts, investor relations, and deal rooms.`,href:`https://crm.hanzo.ai`,internalPath:`/crm/opportunities`,icon:ij,metrics:`$4.2M active pipeline · 346K investors · 13.5M leads`,bots:[`sal`,`rev`,`biz`,`su`]},{id:`dev`,label:`Dev & Build`,productTitle:`Hanzo Dev`,category:`AI & Engineering`,description:`Autonomous coding agents, cloud sandboxes, PR reviews, and Customize.`,href:`https://hanzo.ai/dev`,icon:uM,metrics:`31-worker Turbopack CI · 4-shard E2E gates`,bots:[`dev`,`cyber`,`sci`,`data`]},{id:`ai-chat`,label:`AI Playground`,productTitle:`Hanzo Chat`,category:`AI & Engineering`,description:`Zen4 flagship models, Enso router, multimodal studio, and deep research.`,href:`https://hanzo.ai/chat`,icon:aM,metrics:`Zen4 Ultra · Zen4 Coder · Enso Router`,bots:[`sci`,`vi`,`data`,`mu`]},{id:`cms`,label:`CMS`,productTitle:`Hanzo CMS`,category:`CRM & Growth`,description:`Headless content, marketing pages, documentation collections, and media.`,href:`https://cms.hanzo.ai/admin`,icon:Pj,metrics:`1,021 static pages · 36 locales synced`,bots:[`doc`,`ed`,`lang`,`art`]},{id:`email`,label:`Email & Journeys`,productTitle:`Hanzo Email`,category:`CRM & Growth`,description:`Lifecycle campaigns, onboarding journeys, broadcasts, and deliverability.`,href:`https://marketing.hanzo.ai`,icon:Hj,metrics:`99.4% deliverability · 18 active journeys`,bots:[`mark`,`sal`,`su`,`ed`]},{id:`ads`,label:`Ads & Attribution`,productTitle:`Hanzo Ads`,category:`CRM & Growth`,description:`Cross-channel ad spend, ROAS optimization, and multi-touch attribution.`,href:`https://ads.hanzo.ai`,icon:Wj,metrics:`3.8x blended ROAS · real-time attribution`,bots:[`mark`,`rev`,`data`,`fin`]},{id:`social`,label:`Social & Publish`,productTitle:`Hanzo Publish`,category:`CRM & Growth`,description:`Social scheduling, unified community inbox, and brand listening across X & Discord.`,href:`https://social.hanzo.ai`,icon:nM,metrics:`11 channels connected · 24/7 listening`,bots:[`mark`,`mo`,`art`,`ed`]},{id:`cal`,label:`Calendar`,productTitle:`Hanzo Cal`,category:`Workspace`,description:`Team scheduling, booking links, availability routing, and sprint ceremonies.`,href:`https://hanzo.team/cal`,internalPath:`/calendar`,icon:sj,metrics:`Synced across 4 organizations`,bots:[`mana`,`opera`,`sal`,`huma`]},{id:`meet`,label:`Meet & Huddles`,productTitle:`Hanzo Meet`,category:`Workspace`,description:`Low-latency video rooms, live AI transcription, and instant channel huddles.`,href:`https://hanzo.team/meet`,internalPath:`/meet`,icon:gM,metrics:`Live AI notes & action items`,bots:[`mana`,`mu`,`doc`,`vi`]},{id:`commerce`,label:`Commerce`,productTitle:`Hanzo Commerce`,category:`Commerce & Cloud`,description:`Subscriptions, usage metering, checkout, orders, and multi-currency ledger.`,href:`https://commerce-admin.hanzo.ai/admin/`,icon:rM,metrics:`Real-time credit metering & grants`,bots:[`fin`,`rev`,`biz`,`sal`]},{id:`analytics`,label:`Analytics & Insights`,productTitle:`Hanzo Analytics`,category:`Commerce & Cloud`,description:`Real-time web traffic, product funnels, cohort retention, and telemetry.`,href:`https://analytics.hanzo.ai`,icon:UA,metrics:`Sub-second ClickHouse event queries`,bots:[`data`,`rev`,`mark`,`sci`]},{id:`dataroom`,label:`Data Room`,productTitle:`Hanzo Data Room`,category:`Workspace`,description:`Encrypted investor data rooms, board materials, and watermarked sharing.`,href:`https://dataroom.hanzo.ai`,icon:Mj,metrics:`Zero-knowledge KMS encryption`,bots:[`fin`,`law`,`gov`,`vi`]},{id:`sign`,label:`Sign`,productTitle:`Hanzo Sign`,category:`Workspace`,description:`Legally binding e-signatures, MSAs, DPAs, and automated contract workflows.`,href:`https://esign.hanzo.ai`,icon:BA,metrics:`Automated MSA/DPA routing`,bots:[`law`,`gov`,`sal`,`huma`]},{id:`billing`,label:`Billing & Treasury`,productTitle:`Hanzo Billing`,category:`Commerce & Cloud`,description:`Org credit grants, AI compute budgets, invoices, and payment methods.`,href:`https://billing.hanzo.ai`,icon:Cj,metrics:`Per-agent daily & run budget caps`,bots:[`fin`,`rev`,`biz`,`opera`]},{id:`console`,label:`Cloud Console`,productTitle:`Hanzo Console`,category:`Commerce & Cloud`,description:`Unified Cloud control plane, IAM, KMS secrets, Vector, KV, and observability.`,href:`https://console.hanzo.ai`,icon:aj,metrics:`IAM · KMS · S3 · ZAP Transactor`,bots:[`dev`,`cyber`,`opera`,`data`]},{id:`platform`,label:`Platform PaaS`,productTitle:`Hanzo Platform`,category:`Commerce & Cloud`,description:`Zero-downtime Sites plane, Kubernetes clusters, containers, and edge routing.`,href:`https://platform.hanzo.ai`,icon:KA,metrics:`3 hosts on Sites plane · 99.99% uptime`,bots:[`dev`,`opera`,`cyber`,`data`]}],i7=[`Workspace`,`CRM & Growth`,`AI & Engineering`,`Commerce & Cloud`];function bve(){let[e,t]=(0,b.useState)(``),n=e.trim().toLowerCase(),r=n?r7.filter(e=>`${e.label} ${e.productTitle} ${e.description} ${e.category}`.toLowerCase().includes(n)):r7;return(0,L.jsxs)(V5,{title:`Business Apps`,children:[(0,L.jsx)(H5,{value:e,onChange:t}),(0,L.jsx)(z,{height:14}),(0,L.jsxs)(G5,{to:`/apps`,icon:(0,L.jsx)(yM,{size:16,color:`$soft`}),children:[`All Apps (`,r7.length,`)`]}),(0,L.jsx)(U5,{}),(0,L.jsx)(K5,{children:i7.map(e=>{let t=r.filter(t=>t.category===e);return t.length===0?null:(0,L.jsxs)(z,{children:[(0,L.jsx)(W5,{children:e}),t.map(e=>(0,L.jsx)(G5,{to:e.internalPath??`/apps/${e.id}`,icon:(0,L.jsx)(e.icon,{size:16,color:`$soft`}),children:e.label},e.id))]},e)})})]})}function a7(){let{appId:e}=ea(),t=Qi(),{current:n}=P4(),[r,i]=(0,b.useState)(`All`),a=e?r7.find(t=>t.id===e):void 0,o=r===`All`?r7:r7.filter(e=>e.category===r);return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[n?.name??`Hanzo AI`,` · Unified Business Suite`]}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:a?a.productTitle:`Hanzo Business Apps`}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:a?a.description:`Every business application shares one Hanzo IAM identity, organization, and fleet of 23 autonomous 24/7 bots.`})]}),a?(0,L.jsxs)(B,{gap:8,items:`center`,children:[(0,L.jsx)(q,{variant:`outline`,onPress:()=>t(`/apps`),children:`All Business Apps`}),(0,L.jsxs)(q,{onPress:()=>{a.internalPath?t(a.internalPath):window.open(a.href,`_blank`,`noopener,noreferrer`)},children:[`Open `,a.productTitle]})]}):null]}),a?(0,L.jsxs)(z,{p:20,rounded:Q.card,bg:`$panel`,borderWidth:1,borderColor:`$edge`,gap:16,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(B,{items:`center`,gap:12,children:[(0,L.jsx)(z,{width:44,height:44,rounded:Q.field,bg:`$hover`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(a.icon,{size:22,color:`$ink`})}),(0,L.jsxs)(z,{children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:a.productTitle}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$soft`,children:[a.metrics,` · `,a.href]})]})]}),(0,L.jsx)(B,{px:10,py:4,rounded:Q.pill,style:a5(a.category),children:(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,style:{color:a5(a.category).color},children:a.category})})]}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$soft`,...l5,children:`Assigned 24/7 Autonomous Bots`}),(0,L.jsx)(B,{gap:10,flexWrap:`wrap`,children:a.bots.map(e=>{let n=a4.find(t=>t.id===e);return n?(0,L.jsxs)(B,{...w5(()=>t(`/chat/dm-${n.id}`),`Chat with ${n.name}`),p:10,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},items:`center`,gap:10,children:[(0,L.jsx)(`img`,{src:n.avatar,alt:n.name,width:32,height:32,style:{width:32,height:32,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(z,{children:[(0,L.jsxs)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:[n.name,` · `,n.role]}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$soft`,children:[`24/7 · `,n.schedule]})]})]},n.id):null})})]}):null,(0,L.jsx)(B,{gap:8,flexWrap:`wrap`,children:[`All`,...i7].map(e=>{let t=r===e;return(0,L.jsx)(B,{...w5(()=>i(e),`Filter ${e}`),px:12,py:6,rounded:Q.pill,bg:t?`$hover`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.small,fontWeight:t?`600`:`400`,color:t?`$ink`:`$quiet`,children:e})},e)})}),(0,L.jsx)(B,{flexWrap:`wrap`,gap:14,children:o.map(e=>(0,L.jsxs)(z,{...w5(()=>{e.internalPath?t(e.internalPath):t(`/apps/${e.id}`)},e.productTitle),width:300,grow:1,p:16,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},gap:10,justify:`space-between`,children:[(0,L.jsxs)(z,{gap:8,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:10,children:[(0,L.jsx)(z,{width:36,height:36,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(e.icon,{size:18,color:`$ink`})}),(0,L.jsxs)(z,{children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:e.productTitle}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:e.category})]})]}),(0,L.jsx)(Dj,{size:14,color:`$faint`})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,numberOfLines:2,children:e.description})]}),(0,L.jsxs)(B,{items:`center`,justify:`space-between`,pt:6,borderTopWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,numberOfLines:1,children:e.metrics}),(0,L.jsx)(B,{gap:4,children:e.bots.slice(0,3).map(e=>{let t=a4.find(t=>t.id===e);return t?(0,L.jsx)(`img`,{src:t.avatar,alt:t.name,width:18,height:18,style:{width:18,height:18,borderRadius:999,objectFit:`cover`}},t.id):null})})]})]},e.id))})]})})}function xve(){let[e,t]=(0,b.useState)(``),n=e.trim().toLowerCase(),r=n?o4.filter(e=>`${e.name} ${e.role} ${e.department}`.toLowerCase().includes(n)):o4,i=n?s4.filter(e=>`${e.name} ${e.role} ${e.department}`.toLowerCase().includes(n)):s4;return(0,L.jsxs)(V5,{title:`Bots · 24/7`,children:[(0,L.jsx)(H5,{value:e,onChange:t}),(0,L.jsx)(z,{height:14}),(0,L.jsxs)(G5,{to:`/bots`,icon:(0,L.jsx)(nj,{size:16,color:`$soft`}),children:[`All `,a4.length,` Bots`]}),(0,L.jsx)(U5,{}),(0,L.jsxs)(K5,{children:[(0,L.jsxs)(W5,{children:[`Department Leads (`,o4.length,`)`]}),r.map(e=>(0,L.jsx)(G5,{to:`/chat/dm-${e.id}`,icon:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:18,height:18,style:{width:18,height:18,borderRadius:999,objectFit:`cover`}}),children:`${e.name} — ${e.role}`},e.id)),(0,L.jsx)(U5,{}),(0,L.jsxs)(W5,{children:[`Specialist Bots · 24/7 (`,s4.length,`)`]}),i.map(e=>(0,L.jsx)(G5,{to:`/chat/dm-${e.id}`,icon:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:18,height:18,style:{width:18,height:18,borderRadius:999,objectFit:`cover`}}),children:`${e.name} — ${e.role}`},e.id))]})]})}function Sve(){let e=Qi(),{current:t}=P4(),[n,r]=(0,b.useState)(`All`),i=[`All`,...Array.from(new Set(a4.map(e=>e.department)))],a=n===`All`?a4:a4.filter(e=>e.department===n);return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsx)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[t?.name??`Hanzo AI`,` · Autonomous 24/7 Fleet`]}),(0,L.jsxs)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:[`Bots & Agents (`,a4.length,`)`]}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`Every Hanzo agent can run on-demand or operate 24/7 as a persistent, proactive, event-driven bot.`})]})}),(0,L.jsx)(B,{gap:8,flexWrap:`wrap`,children:i.map(e=>{let t=n===e;return(0,L.jsx)(B,{...w5(()=>r(e),`Filter ${e}`),px:12,py:6,rounded:Q.pill,bg:t?`$hover`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.small,fontWeight:t?`600`:`400`,color:t?`$ink`:`$quiet`,children:e})},e)})}),(0,L.jsx)(B,{flexWrap:`wrap`,gap:14,children:a.map(t=>(0,L.jsxs)(z,{...w5(()=>e(`/chat/dm-${t.id}`),`Open ${t.name}`),width:290,grow:1,p:16,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},gap:10,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,gap:10,children:[(0,L.jsxs)(B,{items:`center`,gap:10,children:[(0,L.jsx)(`img`,{src:t.avatar,alt:t.name,width:42,height:42,style:{width:42,height:42,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(z,{children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:t.name}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$soft`,children:[t.role,` · `,t.department]})]})]}),(0,L.jsx)(B,{px:8,py:3,rounded:Q.pill,style:a5(t.department),children:(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,style:{color:a5(t.department).color},children:[`24/7 · `,t.schedule]})})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,numberOfLines:2,children:t.status}),(0,L.jsxs)(B,{items:`center`,justify:`space-between`,pt:6,borderTopWidth:1,borderColor:`$edge`,children:[(0,L.jsxs)(V,{fontSize:Z.chip,color:`$faint`,children:[`Triggers: `,t.triggers.join(` · `)]}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:`Message →`})]})]},t.id))})]})})}var Cve=()=>new Promise(()=>{}),o7=e=>({watch(t,n){return e===`refused`&&n(Error(`Your workspace is not answering.`)),e===`nowhere`&&t([]),()=>{}},move:Cve}),s7=({people:e,size:t=28,show:n=3,ground:r=X.ground})=>{if(e.length===0)return null;let i=e.slice(0,n),a=e.length-i.length,o=Math.round(t*.575);return(0,L.jsxs)(B,{items:`center`,"aria-label":`${e.length} assigned`,children:[i.map((e,n)=>(0,L.jsx)(z,{ml:n===0?0:o-t,rounded:9999,borderWidth:2,style:{backgroundColor:r,borderColor:r},children:(0,L.jsxs)(SP,{size:t,"aria-label":e.name,children:[e.face?(0,L.jsx)(CP,{src:e.face,alt:``}):null,(0,L.jsx)(wP,{children:wve(e.name)})]})},e.id)),a>0?(0,L.jsxs)(V,{fontSize:`$2`,color:`$quiet`,ml:6,children:[`+`,a]}):null]})},wve=e=>(e[0]??``).toUpperCase(),c7=[`backlog`,`todo`,`progress`,`done`],l7=[`low`,`medium`,`high`,`urgent`],u7={backlog:`Backlog`,todo:`To do`,progress:`In progress`,done:`Done`},Tve={urgent:1,high:2,medium:3,low:4},d7=(e,t)=>t&&e.toLowerCase()===t?s5(Tve[t]):a5(e),f7={backlog:r5.backlog,todo:r5.todo,progress:r5.doing,done:r5.done},p7={arc:X.accent,track:X.rule},m7=({done:e,size:t=16,width:n=2})=>{let r=Math.min(1,Math.max(0,e)),i=(t-n)/2,a=2*Math.PI*i;return(0,L.jsxs)(`svg`,{width:t,height:t,viewBox:`0 0 ${t} ${t}`,role:`img`,"aria-label":`${Math.round(r*100)}% done`,children:[(0,L.jsx)(`circle`,{cx:t/2,cy:t/2,r:i,fill:`none`,stroke:p7.track,strokeWidth:n}),r>0?(0,L.jsx)(`circle`,{cx:t/2,cy:t/2,r:i,fill:`none`,stroke:p7.arc,strokeWidth:n,strokeLinecap:`round`,strokeDasharray:`${a*r} ${a}`,transform:`rotate(-90 ${t/2} ${t/2})`}):null]})},h7=[{id:`war-room`,name:`Engineering War Room`,floor:`Floor 1 · Core Engineering`,topic:`ZAP Transactor latency, KMS grants & PR 464 merge gate`,screenShare:`@dev sharing: Ubuntu 24.04 · go test ./apps/team/... (PASS 0.42s)`,humans:[{name:`Zach Kelling`,role:`CTO & Founder`,speaking:!0}],bots:[`dev`,`cyber`,`opera`,`sci`],notes:[{who:`@dev`,text:`Verified PR 464 against IAM and KMS; regenerated zipdoc_gen.go and all 46 unit + theme checks pass.`,actionIssue:`Verify KMS NPM_TOKEN grant propagation in production`},{who:`@cyber`,text:`Confirmed zero-knowledge hardware enclave policy holds across all 4 organization spaces.`},{who:`Zach Kelling`,text:`Ship the cutover once the canary healthcheck stays green for 15 minutes.`,actionIssue:`Promote transactor canary to 100% traffic`}]},{id:`bot-ops`,name:`AI Bot Ops Floor · 24/7`,floor:`Floor 1 · Autonomous Fleet`,topic:`Continuous 24/7 cron routines, lease budgets & sandbox telemetry`,screenShare:`@vi sharing: 23/23 active agent sandboxes · 99.98% SLA`,humans:[{name:`Zach Kelling`,role:`Fleet Architecture`}],bots:[`vi`,`mana`,`sci`,`data`],notes:[{who:`@vi`,text:`All 23 bots online across Hanzo AI, The Foundation, Lux Network, and Zoo Labs.`},{who:`@mana`,text:`Rebalanced sprint queue: moved 3 unblocked CRM tasks into In progress.`,actionIssue:`Audit daily compute lease caps across specialist bots`}]},{id:`design-crit`,name:`Product & Design Studio`,floor:`Floor 2 · Design & Brand`,topic:`Workspace polish, Gallery live previews & Omni 1.2 Flash stills`,screenShare:`@des sharing: @hanzo/gui monochrome token sheet & Slack-style top bar`,humans:[{name:`Antje Worring`,role:`CEO & Founder`,speaking:!0},{name:`Zach Kelling`,role:`Design Systems`}],bots:[`des`,`art`,`mark`,`mo`],notes:[{who:`@des`,text:`Unified Slack-style top bar and bottom-left account switcher across desktop and web.`,actionIssue:`Add 4K mobile handset frame to product showcase`}]},{id:`deal-desk`,name:`Revenue & Enterprise Deal Desk`,floor:`Floor 2 · Growth & CRM`,topic:`Enterprise seat reconciliation, org credit grants & Q4 pipeline`,humans:[{name:`Antje Worring`,role:`CEO & Enterprise Growth`}],bots:[`rev`,`sal`,`fin`,`su`],notes:[{who:`@rev`,text:`Reconciled $156.6K prepaid org grant on z/hanzo with lease billing account.`,actionIssue:`Sync enterprise seat count export with Commerce ledger`}]}];function Eve(){let[e,t]=(0,b.useState)(``),n=e.trim().toLowerCase(),r=n?h7.filter(e=>`${e.name} ${e.topic} ${e.floor}`.toLowerCase().includes(n)):h7;return(0,L.jsxs)(V5,{title:`Virtual Office`,children:[(0,L.jsx)(H5,{value:e,onChange:t}),(0,L.jsx)(z,{height:14}),(0,L.jsxs)(G5,{to:`/meet`,icon:(0,L.jsx)(Xoe,{size:16,color:`$soft`}),children:[`All Office Rooms (`,h7.length,`)`]}),(0,L.jsx)(U5,{}),(0,L.jsxs)(K5,{children:[(0,L.jsx)(W5,{children:`Live Voice & Video Rooms`}),r.map(e=>(0,L.jsx)(G5,{to:`/meet`,icon:(0,L.jsx)(_M,{size:15,color:`$ink`}),children:`${e.name} (${e.humans.length+e.bots.length})`},e.id))]})]})}function Dve(){let e=Qi(),{current:t,standing:n}=P4(),r=Z5(`proj-crm`)??o7($5(n)),[i,a]=(0,b.useState)(`war-room`),[o,s]=(0,b.useState)(!0),[c,l]=(0,b.useState)(!1),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)(null),m=h7.find(e=>e.id===i)??h7[0],h=e=>{r.add&&r.add(`todo`,e).then(()=>{p(e)})};return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(z,{width:8,height:8,rounded:9999,style:{backgroundColor:r5.done}}),(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[t?.name??`Hanzo AI`,` · Virtual Office & Instant Huddles`]})]}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:m.name}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:m.topic})]}),(0,L.jsxs)(B,{gap:8,items:`center`,flexWrap:`wrap`,children:[(0,L.jsxs)(q,{variant:`outline`,size:`sm`,onPress:()=>l(!c),children:[c?(0,L.jsx)(rse,{size:15}):(0,L.jsx)(ise,{size:15}),c?`Unmute Mic`:`Mic Live`]}),(0,L.jsxs)(q,{variant:`outline`,size:`sm`,onPress:()=>d(!u),children:[(0,L.jsx)(Jj,{size:15}),u?`Stop Sharing`:`Share Screen`]}),(0,L.jsxs)(q,{size:`sm`,onPress:()=>s(!o),children:[(0,L.jsx)(gM,{size:15}),o?`In Room · Leave`:`Join Room`]})]})]}),f?(0,L.jsxs)(B,{p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(WA,{size:16,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$ink`,children:[`Added meeting action item to CRM Tracker: “`,f,`”`]})]}),(0,L.jsx)(q,{size:`sm`,variant:`outline`,onPress:()=>e(`/projects/proj-crm/issues`),children:`Open Board →`})]}):null,(0,L.jsx)(B,{flexWrap:`wrap`,gap:14,children:h7.map(e=>{let t=e.id===m.id,n=e.bots.map(e=>a4.find(t=>t.id===e)).filter(e=>!!e);return(0,L.jsxs)(z,{...w5(()=>{a(e.id),s(!0)},`Enter ${e.name}`),width:320,grow:1,p:16,rounded:Q.card,bg:t?`$panel`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,hoverStyle:{background:`$hover`},gap:12,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,gap:8,children:[(0,L.jsxs)(z,{gap:2,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,...l5,children:e.floor}),(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:e.name})]}),(0,L.jsxs)(B,{px:8,py:3,rounded:Q.pill,style:a5(t&&o?`Live Now`:`Open`),items:`center`,gap:5,children:[(0,L.jsx)(_M,{size:12,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,style:{color:a5(t&&o?`Live Now`:`Open`).color},children:[e.humans.length+n.length,` in room`]})]})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,numberOfLines:2,children:e.topic}),e.screenShare?(0,L.jsxs)(B,{px:10,py:6,rounded:Q.field,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,gap:8,children:[(0,L.jsx)(Jj,{size:13,color:`$ink`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$ink`,numberOfLines:1,flex:1,children:e.screenShare})]}):null,(0,L.jsx)(B,{items:`center`,justify:`space-between`,pt:6,borderTopWidth:1,borderColor:`$edge`,children:(0,L.jsxs)(B,{gap:6,items:`center`,flexWrap:`wrap`,children:[e.humans.map(e=>(0,L.jsxs)(B,{px:8,py:3,rounded:Q.pill,bg:`$background`,borderWidth:1,borderColor:e.speaking?`$ink`:`$edge`,items:`center`,gap:5,children:[(0,L.jsx)(z,{width:6,height:6,rounded:9999,style:{backgroundColor:e.speaking?r5.done:r5.todo}}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:e.name.split(` `)[0]})]},e.name)),n.map(e=>(0,L.jsxs)(B,{px:7,py:2,rounded:Q.pill,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,gap:4,children:[(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:14,height:14,style:{width:14,height:14,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[`@`,e.id]})]},e.id))]})})]},e.id)})}),(0,L.jsxs)(B,{gap:16,flexWrap:`wrap`,items:`stretch`,children:[(0,L.jsxs)(z,{flex:2,minW:320,p:20,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:14,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(hM,{size:16,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:[`Live Stage · `,m.name]})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Spatial Audio · Low-Latency WebRTC + Bot Voice Bridge`})]}),m.screenShare?(0,L.jsxs)(z,{p:14,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,gap:6,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(Jj,{size:15,color:`$ink`}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:m.screenShare})]}),(0,L.jsx)(q,{size:`sm`,variant:`outline`,onPress:()=>e(`/chat/dm-dev`),children:`Open Bot Computer →`})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$quiet`,children:`Streaming 60fps cloud sandbox viewport · Click any bot tile below to hand off terminal or browser control.`})]}):null,(0,L.jsxs)(B,{flexWrap:`wrap`,gap:10,children:[m.humans.map(e=>(0,L.jsxs)(z,{width:170,grow:1,p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:e.speaking?`$ink`:`$edge`,gap:6,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:e.name}),(0,L.jsx)(z,{width:8,height:8,rounded:9999,style:{backgroundColor:e.speaking?r5.done:r5.todo}})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$quiet`,children:e.role})]},e.name)),m.bots.map(t=>{let n=a4.find(e=>e.id===t);return n?(0,L.jsxs)(z,{...w5(()=>e(`/chat/dm-${n.id}`),`Open ${n.name}`),width:170,grow:1,p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},gap:6,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:6,children:[(0,L.jsx)(`img`,{src:n.avatar,alt:n.name,width:20,height:20,style:{width:20,height:20,borderRadius:999,objectFit:`cover`}}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:n.name})]}),(0,L.jsx)(V,{fontSize:Z.chip,style:{color:X.accent},children:`AI · 24/7`})]}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$quiet`,numberOfLines:1,children:[n.role,` · `,n.department]})]},n.id):null})]})]}),(0,L.jsxs)(z,{flex:1,minW:300,p:20,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:12,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(aM,{size:15,color:`$ink`}),(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:`Live AI Notes & Actions`})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`by @mana`})]}),(0,L.jsx)(dD,{borderColor:`$edge`}),(0,L.jsx)(z,{gap:12,children:m.notes.map((e,t)=>(0,L.jsxs)(z,{p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,gap:8,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:e.who}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Just now`})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,children:e.text}),e.actionIssue?(0,L.jsxs)(B,{items:`center`,justify:`space-between`,pt:4,children:[(0,L.jsxs)(V,{fontSize:Z.chip,style:{color:X.accent},flex:1,numberOfLines:1,children:[`Action: `,e.actionIssue]}),(0,L.jsxs)(q,{size:`sm`,variant:`outline`,onPress:()=>h(e.actionIssue),children:[(0,L.jsx)(Qj,{size:12}),` Track`]})]}):null]},t))})]})]})]})})}var g7=[{id:`c1`,day:`Mon`,time:`09:00`,title:`Weekly Engineering & Bot Fleet Kickoff`,kind:`Standup`,bot:`mana`,room:`Engineering War Room`},{id:`c2`,day:`Mon`,time:`11:30`,title:`@rev Lease & Org Credit Reconciliation`,kind:`Bot Routine`,bot:`rev`,issueKey:`CRM-18`},{id:`c3`,day:`Tue`,time:`10:00`,title:`Custdev Interview w/ Existing Client`,kind:`Customer`,bot:`sal`,issueKey:`CRM-15`,room:`Revenue & Enterprise Deal Desk`},{id:`c4`,day:`Tue`,time:`14:00`,title:`@dev CI Flake Sweep & PR 464 Gate`,kind:`Bot Routine`,bot:`dev`,issueKey:`DEV-26`},{id:`c5`,day:`Wed`,time:`09:30`,title:`Design System & Gallery Live Previews Crit`,kind:`Sprint`,bot:`des`,room:`Product & Design Studio`},{id:`c6`,day:`Wed`,time:`15:00`,title:`@mark Funnel & Top-20 Landing Audit`,kind:`Bot Routine`,bot:`mark`,issueKey:`MKT-22`},{id:`c7`,day:`Thu`,time:`10:30`,title:`Next Platform Ledger Migration Rehearsal`,kind:`Sprint`,bot:`sci`,issueKey:`NEXT-25`,room:`Engineering War Room`},{id:`c8`,day:`Thu`,time:`16:00`,title:`@cyber KMS Enclave & Secret Grants Scan`,kind:`Bot Routine`,bot:`cyber`,issueKey:`DEV-27`},{id:`c9`,day:`Fri`,time:`11:00`,title:`v2.4 Release Cut & Canary Rollout`,kind:`Sprint`,bot:`opera`,issueKey:`CRM-19`,room:`Engineering War Room`},{id:`c10`,day:`Fri`,time:`15:30`,title:`@fin Weekly Burn-Up & Compute Cost Digest`,kind:`Bot Routine`,bot:`fin`}],Ove=[`Mon`,`Tue`,`Wed`,`Thu`,`Fri`];function kve(){return(0,L.jsxs)(V5,{title:`Calendar & Routines`,children:[(0,L.jsx)(z,{height:6}),(0,L.jsx)(G5,{to:`/calendar`,icon:(0,L.jsx)(sj,{size:16,color:`$soft`}),children:`Week View · Nov 3–7`}),(0,L.jsx)(G5,{to:`/meet`,icon:(0,L.jsx)(gM,{size:16,color:`$soft`}),children:`Virtual Office Rooms`}),(0,L.jsx)(G5,{to:`/issues/timeline`,icon:(0,L.jsx)(_j,{size:16,color:`$soft`}),children:`Sprint Timeline`}),(0,L.jsx)(U5,{}),(0,L.jsxs)(K5,{children:[(0,L.jsx)(W5,{children:`24/7 Bot Cron Schedules`}),a4.slice(0,10).map(e=>(0,L.jsx)(G5,{to:`/chat/dm-${e.id}`,icon:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:16,height:16,style:{width:16,height:16,borderRadius:999,objectFit:`cover`}}),children:`@${e.id} · ${e.schedule}`},e.id))]})]})}function Ave(){let e=Qi(),{current:t}=P4(),[n,r]=(0,b.useState)(`All`),[i,a]=(0,b.useState)(null),o=n===`All`?g7:g7.filter(e=>e.kind===n);return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[t?.name??`Hanzo AI`,` · Team Schedule & Autonomous Routines`]}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:`Calendar & 24/7 Bot Cron Schedule`}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`Team ceremonies, customer interviews, release gates, and automated 24/7 bot routines side by side.`})]}),(0,L.jsx)(B,{gap:8,items:`center`,flexWrap:`wrap`,children:[`All`,`Standup`,`Sprint`,`Customer`,`Bot Routine`].map(e=>{let t=n===e;return(0,L.jsx)(B,{...w5(()=>r(e),`Filter ${e}`),px:12,py:6,rounded:Q.pill,bg:t?`$hover`:`$background`,borderWidth:1,borderColor:t?`$ink`:`$edge`,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.small,fontWeight:t?`600`:`400`,color:t?`$ink`:`$quiet`,children:e})},e)})})]}),i?(0,L.jsxs)(B,{p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(aM,{size:16,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$ink`,children:[`Triggered immediate cron run for @`,i,` on its cloud computer.`]})]}),(0,L.jsx)(q,{size:`sm`,variant:`outline`,onPress:()=>e(`/chat/dm-${i}`),children:`Watch Live Run →`})]}):null,(0,L.jsx)(B,{gap:12,flexWrap:`wrap`,items:`stretch`,children:Ove.map(t=>{let n=o.filter(e=>e.day===t),r=t===`Wed`;return(0,L.jsxs)(z,{width:220,grow:1,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:r?`$ink`:`$edge`,overflow:`hidden`,children:[(0,L.jsxs)(B,{px:14,height:40,items:`center`,justify:`space-between`,bg:`$panel`,borderBottomWidth:1,borderColor:`$edge`,children:[(0,L.jsxs)(B,{items:`center`,gap:6,children:[r?(0,L.jsx)(z,{width:7,height:7,rounded:9999,style:{backgroundColor:X.accent}}):null,(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`700`,color:`$ink`,...l5,children:t})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:r?`TODAY`:`${n.length} events`})]}),(0,L.jsx)(z,{p:12,gap:10,children:n.map(t=>{let n=t.bot?a4.find(e=>e.id===t.bot):void 0;return(0,L.jsxs)(z,{p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,gap:8,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`700`,color:`$soft`,children:[t.time,` UTC`]}),(0,L.jsx)(B,{px:7,py:2,rounded:Q.pill,style:a5(t.kind),children:(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,style:{color:a5(t.kind).color},children:t.kind})})]}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:t.title}),t.issueKey?(0,L.jsxs)(V,{...w5(()=>e(`/projects/proj-crm/issues`),t.issueKey),fontSize:Z.chip,style:{color:X.accent},children:[`Linked issue: `,t.issueKey,` →`]}):null,n?(0,L.jsxs)(B,{items:`center`,justify:`space-between`,pt:4,borderTopWidth:1,borderColor:`$edge`,children:[(0,L.jsxs)(B,{...w5(()=>e(`/chat/dm-${n.id}`),`Open @${n.id}`),items:`center`,gap:6,children:[(0,L.jsx)(`img`,{src:n.avatar,alt:n.name,width:16,height:16,style:{width:16,height:16,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:[`@`,n.id]})]}),t.kind===`Bot Routine`?(0,L.jsxs)(q,{size:`sm`,variant:`ghost`,onPress:()=>a(n.id),children:[(0,L.jsx)(Zj,{size:12}),` Run`]}):(0,L.jsx)(q,{size:`sm`,variant:`ghost`,onPress:()=>e(`/meet`),children:`Join`})]}):null]},t.id)})})]},t)})}),(0,L.jsxs)(z,{p:20,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:14,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:8,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(nj,{size:18,color:`$ink`}),(0,L.jsxs)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:[`24/7 Autonomous Cron Fleet (`,a4.length,` Active Daemons)`]})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Every bot runs on schedule and pauses for human approval on high-impact actions`})]}),(0,L.jsx)(B,{flexWrap:`wrap`,gap:10,children:a4.slice(0,8).map(t=>(0,L.jsxs)(B,{...w5(()=>e(`/chat/dm-${t.id}`),`Inspect @${t.id}`),width:250,grow:1,p:12,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,hoverStyle:{background:`$hover`},items:`center`,justify:`space-between`,gap:10,children:[(0,L.jsxs)(B,{items:`center`,gap:10,minW:0,flex:1,children:[(0,L.jsx)(`img`,{src:t.avatar,alt:t.name,width:28,height:28,style:{width:28,height:28,borderRadius:999,objectFit:`cover`}}),(0,L.jsxs)(z,{minW:0,flex:1,children:[(0,L.jsxs)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,numberOfLines:1,children:[t.name,` · `,t.role]}),(0,L.jsxs)(V,{fontSize:Z.chip,color:`$soft`,numberOfLines:1,children:[`Cron: `,t.schedule]})]})]}),(0,L.jsx)(z,{width:8,height:8,rounded:9999,style:{backgroundColor:r5.done}})]},t.id))})]})]})})}function jve(){return(0,L.jsxs)(V5,{title:`Time & Velocity`,children:[(0,L.jsx)(z,{height:6}),(0,L.jsx)(G5,{to:`/time`,icon:(0,L.jsx)(_j,{size:16,color:`$soft`}),children:`Sprint Time Sheet`}),(0,L.jsx)(G5,{to:`/projects/proj-crm/issues`,icon:(0,L.jsx)(WA,{size:16,color:`$soft`}),children:`CRM Estimates`}),(0,L.jsx)(G5,{to:`/bots`,icon:(0,L.jsx)(nj,{size:16,color:`$soft`}),children:`Bot Compute Saved`})]})}function Mve(){let e=Qi(),{current:t,standing:n}=P4(),r=Z5()??o7($5(n)),[i,a]=(0,b.useState)([]),[o,s]=(0,b.useState)({});(0,b.useEffect)(()=>r.watch(e=>a(e),()=>{}),[r]);let c=i.filter(e=>e.done!==void 0),l=c.length*8,u=c.reduce((e,t)=>e+Math.round((t.done??0)*8)+(o[t.id]??0),0),d=l>0?Math.min(1,u/l):.45;return(0,L.jsx)(EI,{flex:1,minH:0,children:(0,L.jsxs)(z,{p:24,gap:20,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:[(0,L.jsxs)(z,{gap:4,children:[(0,L.jsxs)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:[t?.name??`Hanzo AI`,` · Time Tracking & Engineering Velocity`]}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`600`,color:`$ink`,children:`Time & Estimates`}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,children:`What the work took against what it was estimated at — across human teammates and 24/7 autonomous bots.`})]}),(0,L.jsx)(q,{onPress:()=>e(`/projects/proj-crm/issues`),children:`Open Tracker Board →`})]}),(0,L.jsxs)(B,{flexWrap:`wrap`,gap:14,children:[(0,L.jsxs)(z,{width:240,grow:1,p:18,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:6,children:[(0,L.jsx)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:`Reported / Estimated`}),(0,L.jsxs)(B,{items:`center`,gap:10,children:[(0,L.jsx)(m7,{done:d,size:24,width:3}),(0,L.jsxs)(V,{fontSize:Z.title,fontWeight:`700`,color:`$ink`,children:[u,`h / `,l,`h`]})]}),(0,L.jsxs)(V,{fontSize:Z.small,color:`$quiet`,children:[Math.round(d*100),`% of estimated sprint capacity logged`]})]}),(0,L.jsxs)(z,{width:240,grow:1,p:18,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:6,children:[(0,L.jsx)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:`24/7 Bot Compute Saved`}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`700`,style:{color:r5.done},children:`142.5h saved`}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,children:`Autonomous triage, CI fixes & KMS audits by 23 bots this week`})]}),(0,L.jsxs)(z,{width:240,grow:1,p:18,rounded:Q.card,bg:`$background`,borderWidth:1,borderColor:`$edge`,gap:6,children:[(0,L.jsx)(V,{...l5,fontSize:Z.chip,fontWeight:`600`,color:`$soft`,children:`Sprint Cycle Velocity`}),(0,L.jsx)(V,{fontSize:Z.title,fontWeight:`700`,color:`$ink`,children:`1.4d median`}),(0,L.jsx)(V,{fontSize:Z.small,color:`$quiet`,children:`From issue creation in To do to verified PR merge`})]})]}),(0,L.jsxs)(z,{rounded:Q.card,borderWidth:1,borderColor:`$edge`,bg:`$background`,overflow:`hidden`,children:[(0,L.jsxs)(B,{px:16,height:42,items:`center`,bg:`$panel`,borderBottomWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`700`,color:`$ink`,...l5,flex:1,children:`Issue · Estimate vs. Reported Time`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,children:`Click +1h to log time on any issue`})]}),c.map((e,t)=>{let n=o[e.id]??0,r=Math.min(8,Math.round((e.done??0)*8)+n),i=r/8;return(0,L.jsxs)(z,{children:[t>0?(0,L.jsx)(dD,{borderColor:`$edge`}):null,(0,L.jsxs)(B,{px:16,py:10,items:`center`,gap:12,hoverStyle:{background:`$hover`},children:[(0,L.jsx)(z,{width:8,height:8,rounded:9999,style:{backgroundColor:f7[e.status]}}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$soft`,width:68,shrink:0,children:e.key}),(0,L.jsx)(V,{fontSize:Z.body,color:`$ink`,flex:1,minW:160,numberOfLines:1,children:e.title}),(0,L.jsx)(s7,{people:e.people,size:22,show:2}),(0,L.jsxs)(B,{width:110,items:`center`,justify:`flex-end`,gap:6,shrink:0,children:[(0,L.jsx)(m7,{done:i,size:16}),(0,L.jsxs)(V,{fontSize:Z.small,fontWeight:`600`,color:`$ink`,children:[r,`h / `,8,`h`]})]}),(0,L.jsx)(q,{size:`sm`,variant:`outline`,onPress:()=>s(t=>({...t,[e.id]:(t[e.id]??0)+1})),children:`+1h`})]})]},e.id)})]})]})})}var Nve=36,_7=21,v7=9,y7=18,Pve=e=>e.split(/\s+/).slice(0,2).map(e=>e[0]??``).join(``).toUpperCase(),b7=({spans:e,clamp:t,parity:n})=>(0,L.jsx)(V,{"data-parity-key":n,size:Z.body,lineHeight:_7,color:X.mute,numberOfLines:t,children:e.map((e,t)=>(0,L.jsx)(V,{size:Z.body,lineHeight:_7,fontWeight:e.strong?`600`:`400`,color:e.mention?X.alert:e.strong?X.ink:X.mute,children:e.text},t))}),Fve=({note:e,onSee:t})=>(0,L.jsxs)(B,{"data-parity-key":`inbox.row`,"data-seen":e.seen?`yes`:`no`,...w5(()=>t(e.id),e.line.map(e=>e.text).join(``)),px:14,py:c5.inset,gap:c5.tight,bg:e.seen?`transparent`:X.card,borderBottomWidth:1,borderColor:X.rule,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:[(0,L.jsxs)(SP,{"data-parity-key":`inbox.face`,size:Nve,children:[e.actor.face?(0,L.jsx)(CP,{src:e.actor.face,alt:``}):null,(0,L.jsx)(wP,{bg:a5(e.actor.name).background,children:(0,L.jsx)(V,{size:Z.small,fontWeight:`600`,color:a5(e.actor.name).color,children:Pve(e.actor.name)})})]}),(0,L.jsxs)(z,{flex:1,minW:0,gap:c5.tight,children:[(0,L.jsxs)(z,{children:[(0,L.jsx)(b7,{spans:e.line,parity:`inbox.line`}),e.quote?(0,L.jsx)(b7,{spans:e.quote,clamp:1,parity:`inbox.quote`}):null]}),(0,L.jsxs)(B,{"data-parity-key":`inbox.meta`,items:`center`,gap:c5.tight,overflow:`hidden`,children:[(0,L.jsx)(V,{size:Z.small,lineHeight:y7,color:X.dim,children:(0,L.jsx)(Ede,{date:new Date(e.at),format:`short`,style:{fontSize:`inherit`,lineHeight:`inherit`,color:`inherit`,whiteSpace:`nowrap`}})}),e.place?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(V,{size:Z.small,lineHeight:y7,color:X.dim,children:`•`}),(0,L.jsx)(V,{size:Z.small,lineHeight:y7,color:X.dim,numberOfLines:1,children:e.place})]}):null]})]}),(0,L.jsx)(z,{"data-parity-key":`inbox.lane`,width:v7,shrink:0,pt:6,children:e.seen?null:(0,L.jsx)(z,{"data-parity-key":`inbox.dot`,role:`img`,"aria-label":`unread`,width:v7,height:v7,rounded:Q.pill,bg:X.alert})})]}),Ive=12,Lve=12,Rve=36,zve=6,Bve=17,x7=16,S7=24,Vve={all:Bj,task:bj,chat:tse},Hve={all:`All`,task:`Tasks`,chat:`Chat`},C7=e=>e.line.some(e=>e.mention||e.text.includes(`mentioned`))||(e.quote?.some(e=>e.mention)??!1),w7=({children:e})=>(0,L.jsx)(z,{flex:1,items:`center`,justify:`center`,p:14,gap:c5.inset,children:e}),Uve=({tab:e,filter:t})=>{let n=y3();if(n.phase===`loading`)return(0,L.jsx)(w7,{children:(0,L.jsx)(RI,{})});if(n.phase===`failure`)return(0,L.jsxs)(w7,{children:[(0,L.jsx)(V,{size:Z.body,color:X.mute,children:`The inbox is not answering.`}),(0,L.jsx)(V,{size:Z.body,color:X.ink,textDecorationLine:`underline`,...w5(n.reload),focusVisibleStyle:u5,children:`Try again`})]});let r=wme(n.data??[],e).filter(e=>t===`unread`?!e.seen:t!==`mentions`||C7(e));return r.length===0?(0,L.jsx)(w7,{children:(0,L.jsx)(V,{size:Z.body,color:X.dim,children:t===`unread`?`All caught up — no unread notifications.`:t===`mentions`?`No mentions in this view.`:`Nothing here.`})}):(0,L.jsx)(EI,{"data-parity-key":`inbox.list`,flex:1,pt:zve,children:(0,L.jsx)(z,{role:`list`,children:r.map(e=>(0,L.jsx)(Fve,{note:e,onSee:kme},e.id))})})},T7=()=>{let[e,t]=(0,b.useState)(`all`),[n,r]=(0,b.useState)(`all`),i=y3().data??[],a=b3(),o=i.filter(C7).length;return(0,L.jsxs)(z,{"data-parity-key":`inbox.panel`,flex:1,minH:0,children:[(0,L.jsxs)(B,{px:14,pt:Ive,items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,children:[(0,L.jsx)(V,{"data-parity-key":`inbox.title`,size:Z.row,fontWeight:`600`,color:X.ink,children:`Inbox`}),a>0?(0,L.jsx)(B,{px:7,py:2,rounded:Q.pill,items:`center`,justify:`center`,bg:X.alert,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:`700`,color:X.panel,children:`${a} unread`})}):null]}),(0,L.jsxs)(B,{items:`center`,gap:6,children:[a>0?(0,L.jsx)(B,{...w5(Ame,`Mark all notifications as read`),px:7,py:3,rounded:Q.field,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:`500`,color:X.mute,children:`Mark all read`})}):null,(0,L.jsx)(B,{"data-parity-key":`inbox.close`,...w5(A3,`Close the inbox`),width:S7,height:S7,items:`center`,justify:`center`,rounded:Q.field,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:(0,L.jsx)(vM,{size:14,color:X.dim})})]})]}),(0,L.jsxs)(WI,{value:e,onValueChange:e=>t(e),orientation:`horizontal`,flex:1,minH:0,gap:0,mt:Lve,children:[(0,L.jsx)(z,{"data-parity-key":`inbox.rail`,borderBottomWidth:1,borderColor:X.rule,children:(0,L.jsx)(GI,{height:Rve,self:`stretch`,justify:`flex-start`,items:`stretch`,p:0,pl:c5.tight,gap:c5.tight,bg:`transparent`,rounded:0,children:a3.map(t=>{let n=t===e,r=Vve[t],a=t===`all`?0:Tme(i,t);return(0,L.jsxs)(qI,{"data-parity-key":`inbox.tab.${t}`,value:t,height:`100%`,flexDirection:`row`,px:c5.tight,gap:`$1.5`,items:`center`,justify:`center`,rounded:0,bg:`transparent`,borderBottomWidth:2,borderColor:n?X.accent:`transparent`,activeStyle:{background:`transparent`},hoverStyle:{background:`transparent`},focusStyle:{background:`transparent`},focusVisibleStyle:u5,children:[(0,L.jsx)(r,{size:Bve,color:n?X.ink:X.dim}),(0,L.jsx)(V,{size:Z.small,fontWeight:n?`600`:`500`,color:n?X.ink:X.dim,children:Hve[t]}),a>0?(0,L.jsx)(z,{"data-parity-key":`inbox.badge`,minW:x7,height:x7,px:4,rounded:Q.pill,items:`center`,justify:`center`,bg:X.alert,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:`600`,color:X.panel,children:a})}):null]},t)})})}),(0,L.jsx)(B,{px:14,py:8,gap:6,items:`center`,borderBottomWidth:1,borderColor:X.rule,children:[[`all`,`All (${i.length})`],[`unread`,`Unread (${a})`],[`mentions`,`Mentions (${o})`]].map(([e,t])=>{let i=n===e;return(0,L.jsx)(B,{...w5(()=>r(e),`Filter ${t}`),px:8,py:3,rounded:Q.pill,bg:i?X.card:`transparent`,borderWidth:1,borderColor:i?X.ink:X.rule,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:i?`600`:`500`,color:i?X.ink:X.mute,children:t})},e)})}),a3.map(t=>(0,L.jsx)(JI,{value:t,flex:1,minH:0,children:t===e?(0,L.jsx)(Uve,{tab:t,filter:n}):null},t))]})]})},E7={dev:`live`,cyber:`live`,sci:`live`,data:`live`,mark:`waking`,rev:`asleep`};function Wve(){let{id:e}=ea(),t=M3(),n=e?.startsWith(`dm-`)?a4.find(t=>`dm-${t.id}`===e):void 0;return!n||t===`inbox`?(0,L.jsx)(T7,{}):(0,L.jsx)(Gve,{agent:n},n.id)}function Gve({agent:e}){let[t,n]=(0,b.useState)(`computer`),[r,i]=(0,b.useState)(E7[e.id]??`asleep`);(0,b.useEffect)(()=>{i(E7[e.id]??`asleep`)},[e.id]);let a=()=>{i(e=>e===`asleep`?`waking`:e===`waking`?`live`:`asleep`)};return(0,L.jsxs)(z,{"data-parity-key":`agent.panel`,flex:1,minH:0,px:14,pt:12,pb:14,gap:14,children:[(0,L.jsxs)(B,{items:`center`,justify:`space-between`,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`600`,color:`$quiet`,children:`${e.name} · Inspector`}),(0,L.jsx)(B,{...w5(A3,`Close inspector`),width:24,height:24,items:`center`,justify:`center`,rounded:Q.field,hoverStyle:{background:X.card},focusVisibleStyle:u5,children:(0,L.jsx)(vM,{size:14,color:X.dim})})]}),(0,L.jsxs)(z,{items:`center`,gap:6,children:[(0,L.jsx)(z,{width:52,height:52,rounded:Q.pill,overflow:`hidden`,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:52,height:52,style:{width:52,height:52,objectFit:`cover`,display:`block`}})}),(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`600`,color:`$ink`,children:e.name})]}),(0,L.jsx)(B,{items:`center`,justify:`center`,gap:4,children:[[`details`,`Details`],[`library`,`Library`],[`computer`,`Computer`]].map(([e,r])=>{let i=t===e;return(0,L.jsx)(B,{...w5(()=>n(e),r),px:10,py:4,rounded:Q.field,bg:i?`$hover`:`transparent`,hoverStyle:{background:`$hover`},focusVisibleStyle:u5,children:(0,L.jsx)(V,{fontSize:Z.small,fontWeight:i?`600`:`500`,color:i?`$ink`:`$dim`,children:r})},e)})}),t===`computer`?(0,L.jsxs)(z,{gap:8,pt:4,children:[(0,L.jsx)(z,{...w5(a,`${e.name}'s sandbox computer`),height:196,rounded:Q.card,borderWidth:1,borderColor:`$edge`,bg:`$background`,overflow:`hidden`,position:`relative`,items:`center`,justify:`center`,children:r===`live`?(0,L.jsx)(qve,{agent:e}):(0,L.jsx)(Kve,{state:r})}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,style:{textAlign:`center`},children:`${e.name}'s screen`}),(0,L.jsxs)(B,{mt:8,px:12,py:10,rounded:Q.card,borderWidth:1,borderColor:`$edge`,bg:`$raised`,items:`center`,justify:`space-between`,children:[(0,L.jsxs)(B,{items:`center`,gap:8,flex:1,minW:0,children:[r===`live`?(0,L.jsx)(yM,{size:13,color:`$ink`}):r===`waking`?(0,L.jsx)(aM,{size:13,color:`$quiet`}):(0,L.jsx)(Yj,{size:13,color:`$dim`}),(0,L.jsxs)(z,{flex:1,minW:0,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`500`,color:`$ink`,numberOfLines:1,children:r===`live`?`Sandbox active`:r===`waking`?`Waking sandbox...`:`Sandbox sleeping`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,numberOfLines:1,children:`Cron ${e.schedule} · ${e.triggers.join(`, `)}`})]})]}),(0,L.jsx)(B,{...w5(a,`Toggle computer power state`),px:8,py:4,rounded:Q.field,borderWidth:1,borderColor:`$edge`,bg:`$panel`,hoverStyle:{background:`$hover`},children:(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$quiet`,children:r===`asleep`?`Wake`:r===`waking`?`Open`:`Sleep`})})]})]}):null,t===`details`?(0,L.jsxs)(z,{gap:10,pt:4,children:[(0,L.jsx)(D7,{label:`Role & Department`,value:`${e.role} · ${e.department}`}),(0,L.jsx)(D7,{label:`24/7 Autonomous Schedule`,value:`Cron: ${e.schedule} (Proactive)`}),(0,L.jsx)(D7,{label:`Event Triggers`,value:e.triggers.join(` · `)}),(0,L.jsx)(D7,{label:`Latest Status`,value:e.status})]}):null,t===`library`?(0,L.jsxs)(z,{gap:8,pt:4,children:[(0,L.jsx)(O7,{title:`${e.name} — Daily Run Summary`,meta:`Updated today · #hanzo-${e.department.toLowerCase()}`}),(0,L.jsx)(O7,{title:`${e.role} Playbook & MCP Tools`,meta:`hanzo-mcp · 13 unified tools enabled`}),(0,L.jsx)(O7,{title:`Sandbox Workspace Snapshot`,meta:`hanzo-sandbox/${e.id} · clean`})]}):null]})}function Kve({state:e}){return(0,L.jsxs)(z,{items:`center`,justify:`center`,gap:8,children:[(0,L.jsxs)(z,{items:`center`,position:`relative`,children:[e===`asleep`?(0,L.jsx)(V,{fontSize:9,fontWeight:`700`,color:`$dim`,style:{position:`absolute`,top:-10,right:-8,letterSpacing:1},children:`zZ`}):null,(0,L.jsxs)(B,{width:28,height:18,rounded:9,bg:`$soft`,opacity:.65,items:`center`,justify:`center`,gap:5,children:[(0,L.jsx)(z,{width:4,height:4,rounded:2,bg:`$background`}),(0,L.jsx)(z,{width:4,height:4,rounded:2,bg:`$background`})]})]}),(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`500`,color:`$quiet`,children:e===`waking`?`Waking up...`:`Computer is asleep`})]})}function qve({agent:e}){return(0,L.jsxs)(z,{flex:1,width:`100%`,height:`100%`,justify:`space-between`,bg:`$background`,children:[(0,L.jsxs)(z,{p:10,gap:6,children:[(0,L.jsxs)(B,{items:`center`,gap:5,opacity:.8,children:[(0,L.jsx)(z,{width:6,height:6,rounded:3,bg:`$soft`}),(0,L.jsx)(V,{fontSize:10,color:`$quiet`,numberOfLines:1,children:`hanzo-mcp — ${e.id}@sandbox:~`})]}),(0,L.jsxs)(z,{p:8,gap:3,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(V,{fontSize:9,color:`$quiet`,numberOfLines:1,children:`$ hanzo agent run --seat ${e.id} --watch`}),(0,L.jsx)(V,{fontSize:9,color:`$dim`,numberOfLines:1,children:`✓ 13 MCP tools connected · ${e.schedule}`})]})]}),(0,L.jsxs)(B,{width:`100%`,px:8,py:4,items:`center`,justify:`space-between`,bg:`$panel`,borderTopWidth:1,borderColor:`$edge`,children:[(0,L.jsx)(z,{width:32}),(0,L.jsxs)(B,{px:8,py:3,gap:8,rounded:Q.pill,bg:`$hover`,items:`center`,children:[(0,L.jsx)(uM,{size:10,color:`$ink`}),(0,L.jsx)(vj,{size:10,color:`$quiet`}),(0,L.jsx)(Pj,{size:10,color:`$quiet`}),(0,L.jsx)(Zj,{size:10,color:`$quiet`})]}),(0,L.jsx)(V,{fontSize:9,color:`$dim`,children:`24/7`})]})]})}function D7({label:e,value:t}){return(0,L.jsxs)(z,{p:10,gap:3,rounded:Q.field,borderWidth:1,borderColor:`$edge`,bg:`$raised`,children:[(0,L.jsxs)(B,{items:`center`,gap:6,children:[(0,L.jsx)(_j,{size:12,color:`$dim`}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,children:e})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$ink`,children:t})]})}function O7({title:e,meta:t}){return(0,L.jsxs)(B,{p:10,gap:8,rounded:Q.field,borderWidth:1,borderColor:`$edge`,bg:`$raised`,items:`center`,children:[(0,L.jsx)(jj,{size:14,color:`$quiet`}),(0,L.jsxs)(z,{flex:1,minW:0,children:[(0,L.jsx)(V,{fontSize:Z.small,fontWeight:`500`,color:`$ink`,numberOfLines:1,children:e}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,numberOfLines:1,children:t})]})]})}var k7=22,Jve=11,Yve=44,A7=198;function j7({placeholder:e,disabled:t,onSend:n}){let[r,i]=(0,b.useState)(``),[a,o]=(0,b.useState)(!1),[s,c]=(0,b.useState)(null),l=r.trim()!==``&&!a&&!t,u=async()=>{if(!l)return;let e=r;o(!0),c(null);try{await n(e),i(``)}catch(e){c(e instanceof Error?e.message:String(e))}finally{o(!1)}},d=Math.min(8,r.split(`
175
175
  `).length),f=Math.max(Yve,Math.min(A7,d*k7+22));return(0,L.jsxs)(z,{px:24,pb:16,pt:8,gap:6,children:[s?(0,L.jsx)(V,{fontSize:`$1`,style:{color:X.alert},children:s}):null,(0,L.jsxs)(B,{items:`flex-end`,gap:8,pl:16,pr:6,py:5,rounded:A7,bg:`$raised`,borderWidth:1,borderColor:`$edge`,opacity:t?.6:1,focusWithinStyle:{borderColor:`$bound`},children:[(0,L.jsx)(QI,{flex:1,unstyled:!0,rows:1,height:f,minH:f,maxH:A7,py:Jve,borderWidth:0,bg:`transparent`,fontSize:`$3`,lineHeight:k7,color:`$ink`,placeholderTextColor:`$placeholderColor`,placeholder:t??e,value:r,disabled:!!t,"aria-label":e,onChangeText:i,onKeyDown:e=>{e.nativeEvent.key!==`Enter`||e.shiftKey||(e.preventDefault?.(),u())}}),(0,L.jsx)(z,{"aria-disabled":!l,...w5(()=>void u(),`Send`),cursor:l?`pointer`:`default`,width:32,height:32,items:`center`,justify:`center`,rounded:16,style:{background:l?X.accent:void 0},bg:l?void 0:`$hover`,opacity:l?1:.5,focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},children:(0,L.jsx)(ej,{size:17,color:l?`$background`:`$soft`})})]})]})}var Xve=3e5,Zve=e=>{let t=[],n=null,r=``;for(let i of e){let e=$ve(i.at);if(e!==r&&(r=e,n=null,t.push({kind:`day`,id:`day:${e}`,at:i.at})),n&&n.author===i.author&&i.at-Qve(n).at<=Xve){n.messages.push(i);continue}n={id:i.id,author:i.author,at:i.at,messages:[i]},t.push({kind:`run`,...n})}return t},Qve=e=>e.messages[e.messages.length-1],$ve=e=>{let t=new Date(e);return`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`},eye=(e,t=Date.now())=>{let n=M7(t)-M7(e);if(n===0)return`Today`;if(n===1)return`Yesterday`;let r=new Date(e),i=r.getFullYear()===new Date(t).getFullYear()?void 0:`numeric`;return r.toLocaleDateString(void 0,{month:`long`,day:`numeric`,year:i})},M7=e=>{let t=new Date(e);return Math.floor((e-t.getTimezoneOffset()*6e4)/864e5)},tye=e=>new Date(e).toLocaleTimeString(void 0,{hour:`numeric`,minute:`2-digit`}),N7=()=>{let{plane:e,current:t}=P4();return M2(`chat:rooms:${t?.uuid??`-`}`,()=>e?I_e(e):Promise.resolve([]),{enabled:!!e})},nye=e=>{let{plane:t}=P4();return M2(`chat:messages:${e??`-`}`,()=>t&&e?R_e(t,e):Promise.resolve([]),{enabled:!!(t&&e)})},rye=e=>{let{plane:t}=P4();return M2(`chat:reactions:${e.join(`,`).slice(0,200)}:${e.length}`,()=>t?V_e(t,e):Promise.resolve([]),{enabled:!!t&&e.length>0})},iye=e=>{let{plane:t}=P4();return M2(`chat:replies:${e??`-`}`,()=>t&&e?z_e(t,e):Promise.resolve([]),{enabled:!!(t&&e)})},aye=()=>{let{plane:e,current:t}=P4();return M2(`chat:people:${t?.uuid??`-`}`,()=>e?U_e(e):Promise.resolve([]),{enabled:!!e})},oye=e=>{let{plane:t}=P4();(0,b.useEffect)(()=>{if(t&&e)return t.watch(t=>{J_e(t,e)&&(N2(`chat:messages:${e}`),N2(`chat:reactions:`),N2(`chat:replies:`))})},[t,e])},P7=(e,t)=>{let n=t.startsWith(`hanzo:`)?t.slice(6):t;return e.find(e=>e.id===n||e.id===t)?.name||sye(n)},sye=e=>(e.length>12?`${e.slice(0,8)}…`:e)||`Someone`,cye=e=>e.split(/[\s._-]+/).filter(Boolean).slice(0,2).map(e=>e[0].toUpperCase()).join(``)||`?`;function F7({author:e,at:t,messages:n,people:r,reactions:i,me:a,onReact:o,onOpen:s,open:c}){let l=P7(r,e),u=r.find(e=>e.name===l);return(0,L.jsxs)(B,{px:24,pt:12,gap:12,items:`flex-start`,children:[(0,L.jsxs)(SP,{circular:!0,size:36,children:[u?.avatar?(0,L.jsx)(CP,{src:u.avatar,alt:``}):null,(0,L.jsx)(wP,{bg:`$raised`,children:(0,L.jsx)(V,{fontSize:`$2`,color:`$quiet`,children:cye(l)})})]}),(0,L.jsxs)(z,{flex:1,minW:0,gap:2,children:[(0,L.jsxs)(B,{gap:8,items:`baseline`,children:[(0,L.jsx)(V,{fontSize:`$3`,fontWeight:`600`,color:`$ink`,children:l}),(0,L.jsx)(V,{fontSize:`$1`,color:`$dim`,children:tye(t)})]}),n.map(e=>(0,L.jsx)(lye,{message:e,reactions:i.filter(t=>t.message===e.id),me:a,onReact:o,onOpen:s,open:c===e.id},e.id))]})]})}function lye({message:e,reactions:t,me:n,onReact:r,onOpen:i,open:a}){let o=L7(t);return(0,L.jsxs)(z,{group:!0,position:`relative`,pr:72,py:2,rounded:`$1`,bg:a?`$hover`:`transparent`,hoverStyle:{background:`$hover`},children:[e.lines.map((e,t)=>(0,L.jsx)(V,{fontSize:`$3`,lineHeight:22,color:`$ink`,children:P_e(e).map((e,t)=>e.kind===`text`?(0,L.jsx)(V,{fontSize:`$3`,lineHeight:22,color:`$ink`,children:e.value},t):(0,L.jsx)(V,{fontSize:`$3`,lineHeight:22,style:{color:e.kind===`mention`?X.alert:X.accent},fontWeight:e.kind===`mention`?`500`:`400`,...e.kind===`link`?{tag:`a`,href:e.value,target:`_blank`,rel:`noreferrer`}:{},children:e.value},t))},t)),o.length>0?(0,L.jsx)(B,{gap:4,pt:4,flexWrap:`wrap`,children:o.map(t=>(0,L.jsx)(uye,{emoji:t.emoji,count:t.by.length,mine:t.by.includes(n),onPress:()=>r(e,t.emoji)},t.emoji))}):null,e.replies>0?(0,L.jsxs)(B,{items:`center`,gap:5,pt:4,...w5(()=>i(e)),children:[(0,L.jsx)(Gj,{size:13,color:X.accent}),(0,L.jsx)(V,{fontSize:`$1`,style:{color:X.accent},children:e.replies===1?`1 reply`:`${e.replies} replies`})]}):null,(0,L.jsxs)(B,{position:`absolute`,t:0,r:8,gap:2,opacity:0,"$group-hover":{opacity:1},focusWithinStyle:{opacity:1},children:[(0,L.jsx)(I7,{label:`React`,onPress:()=>r(e,`👍`),children:(0,L.jsx)(lse,{size:15,color:`$soft`})}),(0,L.jsx)(I7,{label:`Reply in thread`,onPress:()=>i(e),children:(0,L.jsx)(Gj,{size:15,color:`$soft`})})]})]})}var I7=({label:e,onPress:t,children:n})=>(0,L.jsx)(z,{width:26,height:26,items:`center`,justify:`center`,rounded:`$1`,bg:`$panel`,borderWidth:1,borderColor:`$edge`,...w5(t,e),hoverStyle:{background:`$hover`},focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},children:n}),uye=({emoji:e,count:t,mine:n,onPress:r})=>(0,L.jsxs)(B,{"aria-pressed":n,height:22,items:`center`,gap:4,px:7,rounded:11,borderWidth:1,borderColor:n?`$bound`:`$edge`,bg:n?`$hover`:`$raised`,...w5(r),hoverStyle:{borderColor:`$bound`},focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},children:[(0,L.jsx)(V,{fontSize:12,lineHeight:14,children:e}),(0,L.jsx)(V,{fontSize:`$1`,color:n?`$ink`:`$quiet`,children:t})]}),L7=e=>{let t=[];for(let n of e){let e=t.find(e=>e.emoji===n.emoji);e?e.by.push(n.by):t.push({emoji:n.emoji,by:[n.by]})}return t};function R7({room:e,phase:t,error:n,messages:r,people:i,reactions:a,me:o,onRetry:s,onReact:c,onOpen:l,open:u}){return t===`loading`?(0,L.jsx)(B7,{}):t===`failure`?(0,L.jsx)(V7,{error:n,onRetry:s}):r.length===0?(0,L.jsx)(pye,{room:e}):(0,L.jsx)(dye,{messages:r,people:i,reactions:a,me:o,onReact:c,onOpen:l,open:u})}function dye({messages:e,people:t,reactions:n,me:r,onReact:i,onOpen:a,open:o}){let s=(0,b.useRef)(null),c=e[e.length-1]?.id;return(0,b.useEffect)(()=>{s.current?.scrollIntoView({block:`end`})},[c]),(0,L.jsx)(z,{flex:1,minH:0,style:{overflowY:`auto`},children:(0,L.jsxs)(z,{pt:4,pb:12,children:[Zve(e).map(e=>e.kind===`day`?(0,L.jsx)(fye,{at:e.at},e.id):(0,L.jsx)(F7,{author:e.author,at:e.at,messages:e.messages,people:t,reactions:n,me:r,onReact:i,onOpen:a,open:o},e.id)),(0,L.jsx)(`div`,{ref:e=>void(s.current=e)})]})})}var fye=({at:e})=>(0,L.jsx)(z,{px:24,pt:20,pb:4,children:(0,L.jsx)(z,{height:1,bg:`$edge`,position:`relative`,justify:`center`,children:(0,L.jsx)(V,{position:`absolute`,self:`center`,px:10,bg:`$panel`,fontSize:`$1`,color:`$dim`,children:eye(e)})})}),z7=({children:e})=>(0,L.jsx)(z,{flex:1,minH:0,items:`center`,justify:`center`,p:24,children:e}),B7=()=>(0,L.jsx)(z7,{children:(0,L.jsx)(RI,{size:16})}),V7=({error:e,onRetry:t})=>(0,L.jsx)(z7,{children:(0,L.jsx)(she,{state:ahe(e),onRetry:t})}),pye=({room:e})=>(0,L.jsx)(z7,{children:(0,L.jsxs)(z,{gap:6,maxW:340,items:`center`,children:[(0,L.jsx)(V,{fontSize:`$4`,fontWeight:`500`,color:`$ink`,children:e.kind===`direct`?e.name:`#${e.name}`}),(0,L.jsx)(V,{fontSize:`$2`,color:`$dim`,text:`center`,children:e.topic?e.topic:e.kind===`direct`?`The beginning of your conversation.`:`This is the beginning of the channel. Say something.`})]})});function mye({members:e,people:t}){return e.length===0?null:(0,L.jsx)(s7,{people:e.map(e=>({id:e,name:P7(t,e),face:hye(t,e)})),size:28,show:4,ground:`$panel`})}var hye=(e,t)=>{let n=t.startsWith(`hanzo:`)?t.slice(6):t;return e.find(e=>e.id===n||e.id===t)?.avatar};function gye({room:e,parent:t,replies:n,phase:r,error:i,people:a,reactions:o,me:s,onClose:c,onRetry:l,onReact:u,onSend:d}){return(0,L.jsxs)(z,{width:360,shrink:0,minH:0,borderLeftWidth:1,borderLeftColor:`$edge`,children:[(0,L.jsxs)(B,{height:56,items:`center`,px:20,gap:8,children:[(0,L.jsx)(V,{flex:1,fontSize:`$4`,fontWeight:`500`,color:`$ink`,children:`Thread`}),(0,L.jsx)(z,{width:28,height:28,items:`center`,justify:`center`,rounded:`$1`,...w5(c,`Close the thread`),hoverStyle:{background:`$hover`},focusVisibleStyle:{outlineColor:`$outlineColor`,outlineWidth:2,outlineStyle:`solid`},children:(0,L.jsx)(vM,{size:16,color:`$soft`})})]}),(0,L.jsx)(z,{pb:8,borderBottomWidth:1,borderBottomColor:`$edge`,children:(0,L.jsx)(F7,{author:t.author,at:t.at,messages:[t],people:a,reactions:o,me:s,onReact:u,onOpen:()=>{}})}),(0,L.jsx)(R7,{room:e,phase:r,error:i,messages:n,people:a,reactions:o,me:s,onRetry:l,onReact:u,onOpen:()=>{}}),(0,L.jsx)(j7,{placeholder:`Reply…`,onSend:d})]})}var _ye={"dm-algo":`dm-sci`,"dm-cal":`dm-mana`,"dm-core":`dm-opera`,"dm-db":`dm-data`,"dm-sec":`dm-cyber`};function vye(){let{id:e}=ea(),t=e&&(_ye[e]??e),{plane:n}=P4(),r=N7(),i=(0,b.useMemo)(()=>(r.data??[]).find(e=>e.id===t)??null,[r.data,t]),a=nye(i?.id??null),o=aye(),s=a.data??[],c=rye((0,b.useMemo)(()=>s.map(e=>e.id),[s]));oye(i?.id??null);let[l,u]=(0,b.useState)(null),d=s.find(e=>e.id===l)??null,f=iye(d?.id??null),p=n?.account??``,m=o.data??[],h=c.data??[],g=(0,b.useCallback)((e,t)=>{if(!n||!i)return;let r=L7(h.filter(t=>t.message===e.id)).find(e=>e.emoji===t),a=h.find(n=>n.message===e.id&&n.emoji===t&&n.by===p);(r&&a?q_e(n,i,a):K_e(n,i,e,t)).then(()=>N2(`chat:reactions:`))},[n,i,h,p]);return t?r.phase===`failure`?(0,L.jsx)(V7,{error:r.error,onRetry:r.reload}):r.phase===`loading`||!n?(0,L.jsx)(B7,{}):i?(0,L.jsxs)(B,{flex:1,minH:0,children:[(0,L.jsxs)(z,{flex:1,minW:0,minH:0,children:[(0,L.jsx)(yye,{room:i,people:m}),(0,L.jsx)(R7,{room:i,phase:a.phase,error:a.error,messages:s,people:m,reactions:h,me:p,onRetry:a.reload,onReact:g,onOpen:e=>u(e.id),open:l??void 0}),(0,L.jsx)(j7,{placeholder:i.kind===`direct`?`Message ${i.name}`:`Message #${i.name}`,onSend:e=>W_e(n,i,e)})]}),d?(0,L.jsx)(gye,{room:i,parent:d,replies:f.data??[],phase:f.phase,error:f.error,people:m,reactions:h,me:p,onClose:()=>u(null),onRetry:f.reload,onReact:g,onSend:e=>G_e(n,i,d,e)}):null]}):(0,L.jsx)(xye,{}):(0,L.jsx)(bye,{})}function yye({room:e,people:t}){let[n,r]=(0,b.useState)(!1),i=N5(),a=j3(),o=M3(),s=e.id.startsWith(`dm-`)?a4.find(t=>`dm-${t.id}`===e.id):void 0;return(0,L.jsxs)(z,{borderBottomWidth:1,borderBottomColor:`$edge`,bg:`$panel`,children:[(0,L.jsxs)(B,{px:20,py:10,items:`center`,justify:`space-between`,gap:12,children:[s?(0,L.jsxs)(B,{flex:1,minW:0,items:`center`,gap:12,children:[(0,L.jsxs)(z,{position:`relative`,shrink:0,children:[(0,L.jsx)(z,{width:34,height:34,rounded:Q.pill,overflow:`hidden`,bg:`$background`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,children:(0,L.jsx)(`img`,{src:s.avatar,alt:s.name,width:34,height:34,style:{width:34,height:34,objectFit:`cover`,display:`block`}})}),(0,L.jsx)(z,{position:`absolute`,b:-1,r:-1,width:9,height:9,rounded:Q.pill,bg:`$ink`,borderWidth:1.5,borderColor:`$panel`})]}),(0,L.jsxs)(z,{flex:1,minW:0,gap:2,children:[(0,L.jsxs)(B,{items:`center`,gap:8,flexWrap:`wrap`,children:[(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,children:s.name}),(0,L.jsx)(B,{px:7,py:2,rounded:Q.field,bg:`$raised`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$quiet`,children:s.role})}),(0,L.jsxs)(B,{px:7,py:2,rounded:Q.pill,bg:`$hover`,items:`center`,gap:5,children:[(0,L.jsx)(z,{width:5,height:5,rounded:Q.pill,bg:`$ink`}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$ink`,children:`Available 24/7 · ${eme(s.schedule)}`})]})]}),(0,L.jsx)(V,{fontSize:Z.small,color:`$dim`,numberOfLines:1,children:s.status})]})]}):(0,L.jsxs)(B,{flex:1,minW:0,items:`center`,gap:10,children:[(0,L.jsxs)(B,{items:`center`,gap:6,shrink:0,children:[e.kind===`direct`?null:e.private?(0,L.jsx)(Vj,{size:16,color:`$quiet`}):(0,L.jsx)(Fj,{size:17,color:`$quiet`}),(0,L.jsx)(V,{fontSize:Z.row,fontWeight:`600`,color:`$ink`,numberOfLines:1,children:e.name})]}),e.topic?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(z,{width:1,height:14,bg:`$edge`,shrink:0}),(0,L.jsx)(V,{fontSize:Z.small,color:`$dim`,numberOfLines:1,flex:1,children:e.topic})]}):null]}),(0,L.jsxs)(B,{items:`center`,gap:8,shrink:0,children:[s?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(B,{...w5(()=>r(e=>!e),`Toggle technical details`),"aria-expanded":n,px:9,py:5,rounded:Q.field,bg:n?`$hover`:`$raised`,borderWidth:1,borderColor:n?`$bound`:`$edge`,items:`center`,gap:5,hoverStyle:{background:`$hover`},focusVisibleStyle:u5,children:[(0,L.jsx)(vj,{size:13,color:`$quiet`}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$quiet`,children:`Technical details`})]}),(0,L.jsxs)(B,{...w5(()=>k3(`inspector`),`Toggle agent sandbox & inspector`),"aria-pressed":a&&o===`inspector`,px:9,py:5,rounded:Q.field,bg:a&&o===`inspector`?`$hover`:`$raised`,borderWidth:1,borderColor:a&&o===`inspector`?`$bound`:`$edge`,items:`center`,gap:5,hoverStyle:{background:`$hover`},focusVisibleStyle:u5,children:[(0,L.jsx)(ose,{size:13,color:`$quiet`}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$quiet`,children:`Computer`})]})]}):(0,L.jsx)(mye,{members:e.members,people:t??[]}),(0,L.jsxs)(B,{...w5(()=>k3(`inbox`),`Toggle Inbox drawer`),"aria-pressed":a&&o===`inbox`,px:9,py:5,rounded:Q.field,bg:a&&o===`inbox`?`$hover`:`$raised`,borderWidth:1,borderColor:a&&o===`inbox`?`$bound`:`$edge`,items:`center`,gap:6,hoverStyle:{background:`$hover`},focusVisibleStyle:u5,children:[(0,L.jsx)(tj,{size:13,color:a&&o===`inbox`?`$ink`:`$quiet`}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:a&&o===`inbox`?`$ink`:`$quiet`,children:`Inbox`}),i>0?(0,L.jsx)(z,{minW:16,height:16,px:4,rounded:Q.pill,items:`center`,justify:`center`,style:{background:X.alert},children:(0,L.jsx)(V,{fontSize:10,lineHeight:12,fontWeight:`700`,style:{color:X.panel},children:i})}):null]})]})]}),s&&n?(0,L.jsx)(B,{px:20,py:8,bg:`$background`,borderTopWidth:1,borderColor:`$edge`,items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:12,children:(0,L.jsxs)(B,{items:`center`,gap:16,flexWrap:`wrap`,children:[(0,L.jsxs)(B,{items:`center`,gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,children:`Cron Schedule:`}),(0,L.jsx)(B,{px:6,py:1,rounded:Q.field,bg:`$panel`,borderWidth:1,borderColor:`$edge`,children:(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`600`,color:`$ink`,children:s.schedule})})]}),(0,L.jsxs)(B,{items:`center`,gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,children:`Triggers:`}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$quiet`,children:s.triggers.join(`, `)})]}),(0,L.jsxs)(B,{items:`center`,gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,children:`Department:`}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$quiet`,children:s.department})]}),(0,L.jsxs)(B,{items:`center`,gap:6,children:[(0,L.jsx)(V,{fontSize:Z.chip,color:`$dim`,children:`Agent ID:`}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:`500`,color:`$quiet`,children:`bot-${s.id}`})]})]})}):null]})}var bye=()=>(0,L.jsx)(z7,{children:(0,L.jsx)(l6,{icon:Kj,title:`Chat`,description:`Choose a channel or a conversation to read it.`})}),xye=()=>(0,L.jsx)(z7,{children:(0,L.jsx)(l6,{icon:Kj,title:`No such room`,description:`It may have been archived, or it may belong to another space.`})});function Sye(){let{pathname:e}=Xi(),t=Qi(),[n,r]=(0,b.useState)(``),[i,a]=(0,b.useState)(!0),[o,s]=(0,b.useState)(!0),[c,l]=(0,b.useState)(!0),[u,d]=(0,b.useState)(!0),f=N7(),p=f.data??[],m=n.trim().toLowerCase(),h=m?p.filter(e=>e.name.toLowerCase().includes(m)):p,g=h.filter(e=>e.kind===`channel`),_=g.filter(e=>!e.connectedOrgs||e.connectedOrgs.length===0),v=g.filter(e=>e.connectedOrgs&&e.connectedOrgs.length>0),y=h.filter(e=>e.kind===`direct`&&!e.id.startsWith(`dm-`)),x=m?o4.filter(e=>`${e.name} ${e.role} ${e.department}`.toLowerCase().includes(m)):o4,S=m?s4.filter(e=>`${e.name} ${e.role} ${e.department} ${e.status}`.toLowerCase().includes(m)):s4;return(0,L.jsxs)(V5,{title:F5(e)?.label??`Chat`,children:[(0,L.jsx)(H5,{value:n,onChange:r}),(0,L.jsx)(z,{height:8}),(0,L.jsx)(U5,{}),(0,L.jsxs)(K5,{children:[f.phase===`loading`?(0,L.jsx)(z,{px:14,py:12,children:(0,L.jsx)(RI,{size:16})}):null,f.phase===`failure`?(0,L.jsx)(W7,{children:`Your rooms could not be read.`}):null,f.phase===`ready`&&p.length===0&&x.length===0?(0,L.jsx)(W7,{children:`No rooms yet.`}):null,f.phase===`ready`&&p.length>0&&h.length===0&&x.length===0&&S.length===0?(0,L.jsx)(W7,{children:`Nothing matches “${n.trim()}”.`}):null,_.length>0?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(W5,{count:_.length,open:i,onToggle:()=>a(e=>!e),children:`Channels`}),i?_.map(e=>(0,L.jsx)(U7,{room:e},e.id)):null]}):null,f.phase===`ready`&&(!m||v.length>0)?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(U5,{}),(0,L.jsx)(W5,{count:v.length,open:o,onToggle:()=>s(e=>!e),children:`Hanzo Connect`}),o?(0,L.jsxs)(L.Fragment,{children:[v.map(e=>(0,L.jsx)(U7,{room:e},e.id)),(0,L.jsxs)(B,{...w5(()=>D5(`connect`),`Connect external organization channel`),px:14,py:6,mx:4,gap:8,items:`center`,rounded:Q.field,hoverStyle:{background:`$hover`},"data-testid":`hanzo-connect-add-trigger`,children:[(0,L.jsx)(Qj,{size:14,color:`$soft`}),(0,L.jsx)(V,{fontSize:Z.body,color:`$quiet`,fontWeight:`500`,children:`Connect organization…`})]})]}):null]}):null,S.length>0?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(U5,{}),(0,L.jsx)(W5,{count:S.length,open:c,onToggle:()=>l(e=>!e),children:`Bots · 24/7`}),c?S.map(n=>{let r=`/chat/dm-${n.id}`,i=e===r;return(0,L.jsxs)(B,{...w5(()=>t(r),`${n.name} — ${n.role}`),px:12,py:6,mx:4,gap:10,items:`center`,rounded:Q.field,bg:i?`$hover`:`transparent`,hoverStyle:{background:`$hover`},children:[(0,L.jsxs)(z,{position:`relative`,shrink:0,children:[(0,L.jsx)(H7,{agent:n,size:30}),(0,L.jsx)(z,{position:`absolute`,b:-1,r:-1,width:8,height:8,rounded:Q.pill,bg:`$ink`,borderWidth:1.5,borderColor:`$background`})]}),(0,L.jsxs)(z,{flex:1,minW:0,gap:1,children:[(0,L.jsxs)(B,{items:`baseline`,gap:6,minW:0,children:[(0,L.jsx)(V,{fontSize:Z.body,fontWeight:`600`,color:`$ink`,shrink:0,children:n.name}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$soft`,numberOfLines:1,flex:1,children:n.role})]}),(0,L.jsx)(V,{fontSize:Z.chip,color:`$faint`,numberOfLines:1,children:n.status})]})]},n.id)}):null]}):null,x.length>0?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(U5,{}),(0,L.jsx)(W5,{count:x.length,open:u,onToggle:()=>d(e=>!e),children:`Team Leads`}),u?(0,L.jsx)(B,{px:10,pt:4,pb:6,flexWrap:`wrap`,rowGap:6,columnGap:4,children:x.map(n=>{let r=`/chat/dm-${n.id}`,i=e===r;return(0,L.jsxs)(z,{...w5(()=>t(r),`${n.name} — ${n.role}`),width:`31%`,py:5,px:4,rounded:Q.field,items:`center`,gap:3,bg:i?`$hover`:`transparent`,hoverStyle:{background:`$hover`},children:[(0,L.jsx)(H7,{agent:n,size:34}),(0,L.jsx)(V,{fontSize:Z.chip,fontWeight:i?`600`:`500`,color:i?`$ink`:`$quiet`,numberOfLines:1,children:n.name})]},n.id)})}):null]}):null,y.length>0?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(U5,{}),(0,L.jsx)(W5,{count:y.length,children:`Direct`}),y.map(e=>(0,L.jsx)(U7,{room:e},e.id))]}):null]})]})}var H7=({agent:e,size:t})=>(0,L.jsx)(z,{width:t,height:t,rounded:Q.pill,overflow:`hidden`,bg:`$panel`,borderWidth:1,borderColor:`$edge`,items:`center`,justify:`center`,shrink:0,children:(0,L.jsx)(`img`,{src:e.avatar,alt:e.name,width:t,height:t,style:{width:t,height:t,objectFit:`cover`,display:`block`}})}),U7=({room:e})=>{let t=e.id.startsWith(`dm-`)?a4.find(t=>`dm-${t.id}`===e.id):void 0,n=e.connectedOrgs&&e.connectedOrgs.length>0?`${e.name} · ${e.connectedOrgs.join(`, `)}`:e.name;return(0,L.jsx)(G5,{to:`/chat/${e.id}`,icon:t?(0,L.jsx)(H7,{agent:t,size:18}):(0,L.jsx)(Cye,{room:e}),children:n})},Cye=({room:e})=>e.kind===`direct`?null:e.connectedOrgs&&e.connectedOrgs.length>0?(0,L.jsx)(nM,{size:14,color:`$soft`}):e.private?(0,L.jsx)(Vj,{size:14,color:`$soft`}):(0,L.jsx)(Fj,{size:16,color:`$soft`}),W7=({children:e})=>(0,L.jsx)(V,{px:14,py:8,fontSize:`$2`,color:`$faint`,children:e}),G7=`https://api.hanzo.ai`;async function K7(e,t){try{return await W2(`${G7}${e}`)}catch{return t}}function wye(e){let t=String(e.event??e.name??``).trim().toLowerCase(),n=String(e.product??``).trim().toLowerCase(),r=(e.properties??e.attributes??{})||{},i=String(r.program??``).trim().toLowerCase();return t===`order_completed`||t===`checkout_started`||t===`payment_info_added`||t===`checkout_failed`||t===`subscription_changed`||t===`subscription_canceled`||t===`order_refunded`||t===`invoice_requested`||t===`plan_selected`||t===`upgrade_clicked`?`checkout`:t===`feedback`||t===`video_review`||i===`feedback`||i===`support`||i===`chat`?`feedback`:n===`form`||t===`beta_submitted`||t===`research_access_applied`||t===`form_submitted`||t===`response_completed`||t===`response_submitted`||i===`beta`||i===`research`?`form`:t===`generate_lead`||t===`sales_contacted`||t===`waitlist_joined`||t===`newsletter_subscribed`||t===`signup_completed`||t===`signup_submitted`||i===`sales`||i===`enterprise`||i===`investor`||i===`partner`?`lead`:null}function q7(e,t){let n=Math.max(0,Math.floor((t-e)/1e3));if(n<15)return`just now`;if(n<60)return`${n}s ago`;let r=Math.floor(n/60);if(r<60)return`${r}m ago`;let i=Math.floor(r/60);return i<24?`${i}h ago`:`${Math.floor(i/24)}d ago`}var J7=[{id:`seed-chk-1`,category:`checkout`,badge:`ORDER PAID`,eventName:`order_completed`,title:`Order Completed — Team Pro Subscription`,subtitle:`plan=team-pro · seats=12 · order_id=ord_live_9042`,actor:`Acme Robotics`,email:`billing@acmerobotics.io`,company:`Acme Robotics`,source:`commerce`,channelId:`c-hanzo-revenue`,channelName:`hanzo-revenue`,amountDisplay:`$240.00 USD`,plan:`team-pro`,ref:`ord_live_9042`,atMs:Date.now()-95e3,details:{event:`order_completed`,plan:`team-pro`,seats:`12`,revenue:`240.00 USD`,payment_method:`card`,order_id:`ord_live_9042`}},{id:`seed-chk-2`,category:`checkout`,badge:`CHECKOUT`,eventName:`checkout_started`,title:`Checkout Started — Enterprise Cloud Cluster`,subtitle:`plan=enterprise-gpu · seats=25 · path=/pricing`,actor:`Vanguard Labs`,email:`infra@vanguardlabs.ai`,company:`Vanguard Labs`,source:`billing`,channelId:`c-hanzo-revenue`,channelName:`hanzo-revenue`,amountDisplay:`$2,500.00 USD`,plan:`enterprise-gpu`,ref:`chk_8821`,atMs:Date.now()-21e4,details:{event:`checkout_started`,plan:`enterprise-gpu`,seats:`25`,path:`/pricing`}},{id:`seed-lead-1`,category:`lead`,badge:`ENTERPRISE LEAD`,eventName:`generate_lead`,title:`Enterprise Inquiry — Dedicated Zen-5 + KMS Enclave`,subtitle:`program=enterprise · source=hanzo.ai/enterprise · ref=lead_7f3a91c0`,actor:`Elena Rostova`,email:`elena@hyperion.vc`,company:`Hyperion Capital`,source:`hanzo.ai/enterprise`,channelId:`c-hanzo-revenue`,channelName:`hanzo-revenue`,ref:`lead_7f3a91c0`,atMs:Date.now()-34e4,answers:[{question:`Deployment Scale`,answer:`64 GPU nodes + sovereign KMS secret sync`},{question:`Timeline`,answer:`Immediate Q4 rollout`}],details:{event:`generate_lead`,program:`enterprise`,source:`hanzo.ai/enterprise`,public_ref:`lead_7f3a91c0`}},{id:`seed-form-1`,category:`form`,badge:`FORM SUBMIT`,eventName:`beta_submitted`,title:`Hanzo Beta Application — Enso, Kai & Zen-6 Flash`,subtitle:`program=beta · channel=beta · source=hanzo.ai/beta`,actor:`Marcus Chen`,email:`mchen@devtools.sh`,company:`DevTools SH`,source:`hanzo.ai/beta`,channelId:`c-feedback`,channelName:`feedback`,ref:`beta:usr_9912`,atMs:Date.now()-52e4,answers:[{question:`Products requested`,answer:`Hanzo Dev CLI, Enso, Zen-6 Flash, MCP Server`},{question:`Primary stack`,answer:`Rust, TypeScript, Go, Kubernetes`}],details:{event:`beta_submitted`,program:`beta`,channel:`beta`,source:`hanzo.ai/beta`}},{id:`seed-fb-1`,category:`feedback`,badge:`CLI BUG REPORT`,eventName:`feedback`,title:`CLI Diagnostic Bundle — Enso coding loop diagnostic`,subtitle:`source=hanzo-dev/report · report_id=hdr-179425-9f8e7d6c`,actor:`hanzo-dev CLI`,email:`dev@hanzo.ai`,company:`Hanzo Dev CLI`,source:`hanzo-dev/report`,channelId:`c-feedback`,channelName:`feedback`,ref:`hdr-179425-9f8e7d6c`,atMs:Date.now()-68e4,answers:[{question:`Report ID`,answer:`hdr-179425-9f8e7d6c`},{question:`CLI & MCP Toolchain`,answer:`hanzo-dev 0.6.45 · hanzo-mcp 0.4.2 (linux/x86_64)`},{question:`Premature Stop Analysis`,answer:`Stream retry backoff recovered turn automatically`}],details:{event:`feedback`,program:`feedback`,source:`hanzo-dev/report`,report_id:`hdr-179425-9f8e7d6c`}}],Y7=`hanzo.team.crm.opps.v1`,Tye=[`vi`,`rev`,`sal`,`mark`,`su`,`dev`,`cyber`,`fin`],Eye=[{id:`brief`,label:`⚡ Executive Brief (24h Revenue, Leads & Risks)`,agentId:`vi`,prompt:`Synthesize our last 24h checkouts, enterprise leads, form conversions, and runtime health into an executive brief with top 3 action items.`},{id:`revenue`,label:`💰 Recover Checkouts & Close Enterprise Leads (@sal + @rev)`,agentId:`sal`,prompt:`Identify all started checkouts, enterprise inquiries, and high-intent leads in the live stream, verify org credit grants with @rev, and draft personalized follow-ups.`},{id:`triage`,label:`🛠 Auto-Triage CLI Bugs & Runtime Faults (@dev + @cyber)`,agentId:`dev`,prompt:`Triage all CLI premature_stop reports and runtime faults in #errors and #feedback, verify root causes, and open P1 engineering tracker issues.`},{id:`growth`,label:`📣 Draft Launch Campaign from Today’s Wins (@mark)`,agentId:`mark`,prompt:`Turn today’s customer checkouts, beta signups, and product velocity into a multi-channel social & blog campaign in Hanzo Post.`}];function X7(e){switch(e){case`checkout`:return`rev`;case`lead`:case`form`:return`sal`;case`feedback`:return`su`;case`error`:return`dev`}}function Z7(){let e=Qi(),{plane:t}=P4(),[n,r]=(0,b.useState)(`24h`),[i,a]=(0,b.useState)(`all`),[o,s]=(0,b.useState)(``),[c,l]=(0,b.useState)(!0),[u,d]=(0,b.useState)(!1),[f,p]=(0,b.useState)(Date.now()),[m,h]=(0,b.useState)(Date.now()),[g,_]=(0,b.useState)(`vi`),[v,y]=(0,b.useState)(``),[x,S]=(0,b.useState)(!1),[C,w]=(0,b.useState)(null),[T,E]=(0,b.useState)(null),[D,O]=(0,b.useState)(!0),[k,A]=(0,b.useState)(J7),[j,ee]=(0,b.useState)(J7[0].id),[M,te]=(0,b.useState)({orders:0,revenueUsd:0,checkoutsStarted:0,leadsCount:0,formsCount:0,feedbackCount:0,errorsCount:0,llmRequests:0,webVisitors:0}),ne=(0,b.useCallback)(async()=>{d(!0);try{let[e,r,i,a,o,s]=await Promise.all([K7(`/v1/event/overview?range=${n}`,{}),K7(`/v1/event/insights/events?limit=100`,[]),K7(`/v1/base/collections/activities/records?perPage=80&sort=-at,-created`,{items:[],totalItems:0}),K7(`/v1/base/collections/people/records?perPage=200`,{items:[]}),K7(`/v1/event/errors?limit=40`,[]),t?t.find(Y.message,{}):Promise.resolve([])]),c=new Map((a?.items||[]).map(e=>[String(e.id),e])),l=new Map,u=Array.isArray(r)?r:Array.isArray(r?.items)?r.items:Array.isArray(r?.events)?r.events:[],d=0,f=0,m=0;for(let e of u){let t=wye(e);if(!t)continue;let n=String(e.id??e.uuid??``).trim();if(!n)continue;let r=String(e.event??e.name??``).trim(),i=(e.properties??e.attributes??{})||{},a=e.timestamp??e.time??e.created_at,o=typeof a==`number`?a>0xe8d4a51000?a:a*1e3:typeof a==`string`&&Date.parse(a)?Date.parse(a):Date.now(),s=String(i.item_id??i.plan??``).trim(),c=Number(i.revenue??e.revenue??0),u=String(i.currency??`USD`).toUpperCase(),p=String(i.order_id??i.event_id??i.public_ref??``).trim(),h=String(i.email??``).trim(),g=String(i.name??``).trim(),_=String(i.company??i.org??``).trim(),v=String(i.program??``).trim(),y=String(i.source??e.product??`event`).trim();r===`checkout_started`&&d++,r===`order_completed`&&(f++,c>0&&(m+=c));let b=r===`order_completed`?`ORDER PAID`:t===`checkout`?`CHECKOUT`:t===`lead`?`LEAD`:t===`form`?`FORM SUBMIT`:`FEEDBACK`,x=t===`checkout`||v===`sales`||v===`enterprise`?`c-hanzo-revenue`:v===`support`||v===`chat`?`c-hanzo-support`:`c-feedback`,S=x.replace(/^c-/,``),C=r===`order_completed`?`Order Completed${s?` — ${s}`:``}`:r===`checkout_started`?`Checkout Started${s?` — ${s}`:``}`:r===`payment_info_added`?`Payment Info Added${s?` — ${s}`:``}`:r===`checkout_failed`?`Checkout Failed${s?` — ${s}`:``}`:r===`signup_completed`?`New Account Signup Completed`:String(i.need??i.title??`${r}${v?` (${v})`:``}`),w={event:r,source:y};for(let[e,t]of Object.entries(i))t!=null&&t!==``&&typeof t!=`object`&&(w[e]=String(t));l.set(`evt-${n}`,{id:`evt-${n}`,category:t,badge:b,eventName:r,title:C,subtitle:[s?`plan=${s}`:``,v?`program=${v}`:``,y?`source=${y}`:``,p?`ref=${p}`:``].filter(Boolean).join(` · `),actor:g||h||String(i.payer??e.distinctId??`Visitor`),email:h||void 0,company:_||void 0,source:y,channelId:x,channelName:S,amountDisplay:c>0?`$${c.toFixed(2)} ${u}`:void 0,plan:s||void 0,ref:p||void 0,atMs:o,details:w})}for(let e of i?.items||[]){let t=String(e.id??``).trim();if(!t)continue;let n=(e.data??{})||{},r=String(e.kind??n.kind??``).toLowerCase(),i=String(n.program??n.kind??``).toLowerCase();if(r!==`form`&&!i)continue;let a=c.get(String(e.person_id??e.person??``))||{},o=String(a.email??n.email??``).trim(),s=String(a.name??n.name??``).trim(),u=String(a.company??n.company??``).trim(),d=String(n.source??e.channel??`web`).trim(),f=String(n.public_ref??e.source_id??t).trim(),p=String(e.subject??n.need??n.description??`Inbound submission`).trim(),m=e.at??e.created??e.createdAt,h=typeof m==`string`&&Date.parse(m)?Date.parse(m):Date.now(),g=i===`feedback`||i===`support`||i===`chat`||d.includes(`hanzo-dev`)||d.includes(`feedback`),_=i===`sales`||i===`enterprise`||i===`investor`||i===`partner`,v=g?`feedback`:_?`lead`:`form`,y=d.includes(`hanzo-dev`)?`CLI BUG REPORT`:i===`feedback`?`FEEDBACK`:i===`support`?`SUPPORT TICKET`:i===`chat`?`SALES CHAT`:i===`beta`||e.channel===`beta`?`BETA FORM`:_?`${i.toUpperCase()} LEAD`:`FORM SUBMIT`,b=_?`c-hanzo-revenue`:i===`support`||i===`chat`?`c-hanzo-support`:`c-feedback`,x=(Array.isArray(n.answers)?n.answers:[]).map(e=>({question:String(e?.question??``).trim(),answer:String(e?.answer??``).trim()})).filter(e=>e.question||e.answer),S={activity_id:t,kind:r||`form`,program:i||`general`,source:d,ref:f};o&&(S.email=o),u&&(S.company=u),l.set(`act-${t}`,{id:`act-${t}`,category:v,badge:y,eventName:i?`form:${i}`:`form_submitted`,title:p,subtitle:[`program=${i||`form`}`,`source=${d}`,f?`ref=${f}`:``].filter(Boolean).join(` · `),actor:s||o||`Website Visitor`,email:o||void 0,company:u||void 0,source:d,channelId:b,channelName:b.replace(/^c-/,``),ref:f,atMs:h,answers:x.length>0?x:void 0,details:S})}let h=Array.isArray(o)?o:Array.isArray(o?.items)?o.items:Array.isArray(o?.errors)?o.errors:[];for(let e of h){let t=String(e.id??e.event_id??e.issue??``).trim();if(!t)continue;let n=String(e.type??e.class??e.name??`Error`).trim(),r=String(e.value??e.message??e.title??`Runtime exception`).trim(),i=String(e.app??e.service??e.product??`hanzo`).trim(),a=String(e.environment??e.env??`production`).trim(),o=String(e.culprit??e.origin??e.path??``).trim(),s=e.timestamp??e.time??e.created_at,c=typeof s==`number`?s>0xe8d4a51000?s:s*1e3:typeof s==`string`&&Date.parse(s)?Date.parse(s):Date.now(),u=(e.tags??e.attributes??{})||{},d=String(u.report_id??``).trim(),f=n===`premature_stop`||n===`user_report`||e.name===`feedback`||!!d,p={event_id:t,class:n,app:i,env:a};o&&(p.location=o),d&&(p.report_id=d),l.set(`err-${t}`,{id:`err-${t}`,category:f?`feedback`:`error`,badge:f?`CLI BUG REPORT`:`RUNTIME ERROR`,eventName:n,title:`${n}: ${r}`,subtitle:[`app=${i}`,`env=${a}`,o?`at ${o}`:``,d?`report_id=${d}`:``].filter(Boolean).join(` · `),actor:i,company:i,source:`${i} (${a})`,channelId:f?`c-feedback`:`c-errors`,channelName:f?`feedback`:`errors`,ref:d||t,atMs:c,details:p})}for(let e of s){if(e.attachedTo!==`c-hanzo-revenue`&&e.attachedTo!==`c-feedback`&&e.attachedTo!==`c-errors`&&e.attachedTo!==`c-hanzo-support`||e._id===`m5`||e._id===`m8`||e._id.includes(`-seed-`))continue;let t=`plane-${e._id}`;if(l.has(t))continue;let n=(e.message||``).split(`
176
176
  `)[0]||`Workspace signal`,r=(e.message||``).split(`
177
177
  `).slice(1).join(` · `),i=e.attachedTo===`c-hanzo-revenue`?`checkout`:e.attachedTo===`c-errors`?`error`:`feedback`;l.set(t,{id:t,category:i,badge:e.attachedTo===`c-hanzo-revenue`?`REVENUE STREAM`:e.attachedTo===`c-errors`?`ERROR STREAM`:`FEEDBACK STREAM`,eventName:e.attachedTo.replace(/^c-/,``),title:n,subtitle:r||`channel=#${e.attachedTo.replace(/^c-/,``)}`,actor:(e.modifiedBy??`bot-su`).replace(/^bot-/,`@`),source:`hanzo.team/#${e.attachedTo.replace(/^c-/,``)}`,channelId:e.attachedTo,channelName:e.attachedTo.replace(/^c-/,``),atMs:e.modifiedOn||Date.now(),details:{channel:`#${e.attachedTo.replace(/^c-/,``)}`,author:e.modifiedBy??`bot-su`,message_id:e._id}})}if(l.size===0)for(let e of J7)l.set(e.id,e);let g=Array.from(l.values()).sort((e,t)=>t.atMs-e.atMs);A(g);let _=Number(e?.commerce?.orders??f),v=Number(e?.commerce?.revenue??m),y=Number(e?.llm?.requests??0),b=Number(e?.web?.visitors??0);te({orders:_||g.filter(e=>e.eventName===`order_completed`).length,revenueUsd:v||g.reduce((e,t)=>{if(!t.amountDisplay)return e;let n=Number(t.amountDisplay.replace(/[^0-9.]/g,``));return e+(Number.isFinite(n)?n:0)},0),checkoutsStarted:d||g.filter(e=>e.category===`checkout`).length,leadsCount:g.filter(e=>e.category===`lead`).length,formsCount:g.filter(e=>e.category===`form`).length,feedbackCount:g.filter(e=>e.category===`feedback`).length,errorsCount:g.filter(e=>e.category===`error`).length,llmRequests:y,webVisitors:b}),p(Date.now())}finally{d(!1)}},[n,t]);(0,b.useEffect)(()=>{ne()},[ne]),(0,b.useEffect)(()=>{if(t)return t.watch(()=>{ne()})},[t,ne]),(0,b.useEffect)(()=>{let e=window.setInterval(()=>h(Date.now()),5e3);if(!c)return()=>window.clearInterval(e);let t=window.setInterval(()=>{ne()},1e4);return()=>{window.clearInterval(e),window.clearInterval(t)}},[c,ne]);let N=(0,b.useMemo)(()=>{let e=o.trim().toLowerCase();return k.filter(t=>i!==`all`&&t.category!==i?!1:!e||t.title.toLowerCase().includes(e)||t.subtitle.toLowerCase().includes(e)||t.actor.toLowerCase().includes(e)||t.email&&t.email.toLowerCase().includes(e)||t.company&&t.company.toLowerCase().includes(e)||t.ref&&t.ref.toLowerCase().includes(e))},[k,i,o]),P=(0,b.useMemo)(()=>N.find(e=>e.id===j)??N[0]??null,[N,j]),re=(0,b.useMemo)(()=>Tye.map(e=>a4.find(t=>t.id===e)).filter(e=>!!e),[]),ie=(0,b.useCallback)(async(e,r)=>{let i=(e??v).trim();if(!i)return;let a=r??g,o=a4.find(e=>e.id===a)??a4[0];S(!0),e||y(``);let s=`$${M.revenueUsd.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}`,c=k.slice(0,6).map(e=>`- [${e.badge}] ${e.title} (${e.actor}${e.amountDisplay?` · ${e.amountDisplay}`:``})`).join(`
@@ -238,4 +238,4 @@ svg:active .hanzo-prs{transform:scale(.92)}
238
238
  <path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="#ffffff"/>
239
239
  </g>
240
240
  </svg>`}function L9(e={}){let{variant:t=`color`}=e,n=``;switch(t){case`mono`:n=Ube();break;case`white`:n=Wbe();break;case`favicon`:n=Gbe();break;default:n=Hbe()}return`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(n)))}`}L9(),L9({variant:`mono`}),L9({variant:`white`}),L9({variant:`favicon`});function Kbe(){return`data:image/svg+xml;base64,`+btoa(unescape(encodeURIComponent(Vbe)))}Kbe();var R9=`hanzo_iam_`;`${R9}`;var qbe=`${R9}code_verifier`;`${R9}`,`${R9}`,`${R9}`,`${R9}`,`${qbe}`;var z9=(0,b.createContext)(null);z9.displayName=`IamContext`;function Jbe(){let e=(0,b.useContext)(z9);if(!e)throw Error(`useIam() must be used within an <IamProvider>`);return e}var Ybe=`#181717`,Xbe=b.forwardRef(function({title:e=`GitHub`,color:t=`currentColor`,size:n=24,...r},i){return t==="default"&&(t=Ybe),(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:n,height:n,fill:t,viewBox:`0 0 24 24`,ref:i,...r,children:[(0,L.jsx)(`title`,{children:e}),(0,L.jsx)(`path`,{d:`M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12`})]})}),Zbe=`#4285F4`,Qbe=b.forwardRef(function({title:e=`Google`,color:t=`currentColor`,size:n=24,...r},i){return t==="default"&&(t=Zbe),(0,L.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:n,height:n,fill:t,viewBox:`0 0 24 24`,ref:i,...r,children:[(0,L.jsx)(`title`,{children:e}),(0,L.jsx)(`path`,{d:`M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z`})]})}),B9=`https://hanzo.ai`;function $be(e,t,n=B9){let r=new URL(e).searchParams,i=n.replace(/\/+$/,``);switch(t.kind){case`provider`:return r.set(`provider`,t.provider),`${i}/v1/iam/oauth/authorize?${r}`;case`email`:return r.set(`login_hint`,t.email),`${i}/login?${r}`;case`another`:return r.set(`prompt`,`select_account`),`${i}/login?${r}`;case`signup`:return`${i}/signup?${r}`;case`login`:return`${i}/login?${r}`}}function exe(e){let t=e.trim();return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)?t:null}var txe={google:`Google`,github:`GitHub`},V9=`[data-slot="signin-panel"]`,H9=`var(--popover,var(--panel))`,U9=`var(--border,var(--edge))`,W9=`var(--border-strong,var(--bound))`,G9=`var(--foreground,var(--ink))`,K9=`var(--muted-foreground,var(--quiet))`,nxe=`${V9} [data-signin-body]{container-type:inline-size;display:flex;flex-direction:column;gap:10px;width:100%}${V9} [data-signin-pair]{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}@container (max-width:379.98px){${V9} [data-signin-pair]{grid-template-columns:1fr}}${V9} [data-signin-btn]{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:46px;margin:0;padding:0 14px;border-radius:14px;border:1px solid ${U9};background:${H9};color:${G9};font-family:var(--font-sans,Zen,system-ui,sans-serif);font-size:14px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.04);transition:transform .2s cubic-bezier(.16,1,.3,1),border-color .2s,background-color .2s,opacity .2s}${V9} [data-signin-btn]:hover:not(:disabled){border-color:${W9};transform:translateY(-2px)}${V9} [data-signin-btn]:active:not(:disabled){transform:scale(.98)}${V9} [data-signin-btn]:disabled{opacity:.55;cursor:not-allowed}${V9} [data-signin-btn][data-solid]{background:${G9};color:var(--background);border-color:${G9}}${V9} [data-signin-btn][data-solid]:hover:not(:disabled){opacity:.92;transform:none}${V9} [data-signin-btn] svg{flex-shrink:0}${V9} [data-signin-or]{display:flex;align-items:center;gap:12px;font-size:12.5px;color:${K9}}${V9} [data-signin-or]::before,${V9} [data-signin-or]::after{content:'';flex:1;height:1px;background:${U9}}${V9} [data-signin-form]{display:flex;flex-direction:column;gap:10px;margin:0}${V9} [data-signin-field]{box-sizing:border-box;width:100%;height:46px;margin:0;padding:0 16px;border-radius:14px;border:1px solid ${U9};background-color:${H9};color:${G9};font-family:var(--font-sans,Zen,system-ui,sans-serif);font-size:14px;outline:none}${V9} [data-signin-field]::placeholder{color:${K9}}${V9} [data-signin-field]:focus-visible{border-color:${W9};box-shadow:0 0 0 2px var(--ring,${W9})}${V9} [data-signin-wrong]{margin:0;font-size:13px;color:var(--destructive,#e5484d)}${V9} [data-signin-quiet]{margin:0;font-size:13px;color:${K9}}${V9} [data-signin-quiet] button{padding:0;border:0;background:none;color:${G9};font:inherit;cursor:pointer}${V9} [data-signin-quiet] button:hover:not(:disabled){text-decoration:underline}${V9} [data-signin-terms]{margin:0;max-width:400px;text-align:center;font-size:12px;line-height:18px;color:${K9}}${V9} [data-signin-terms] a{color:${G9};text-decoration:none}${V9} [data-signin-terms] a:hover{text-decoration:underline;text-underline-offset:2px}`;function rxe(e){return e.request?(0,L.jsx)(q9,{...e,mint:e.request}):(0,L.jsx)(ixe,{...e})}function ixe(e){let{sdk:t}=Jbe();return(0,L.jsx)(q9,{...e,mint:e=>t.getSigninUrl(e)})}function q9({title:e,line:t,providers:n=[`google`,`github`],signin:r=B9,signup:i=!1,termsHref:a=`https://hanzo.ai/terms`,privacyHref:o=`https://hanzo.ai/privacy`,authorize:s=e=>e,track:c,mint:l,background:u=`$background`,borderColor:d=`$borderColor`,bare:f=!1}){let{t:p}=FM(),[m,h]=(0,b.useState)(``),[g,_]=(0,b.useState)(!1),[v,y]=(0,b.useState)(null),[x,S]=(0,b.useState)(null);async function C(e,t,n){S(null),y(e),c?.(`signin_started`,{method:e});try{let e=await l(n?{additionalParams:{login_hint:n}}:void 0);window.location.assign(s($be(e,t,r)))}catch(e){S(e instanceof Error&&e.message?e.message:`Signing in could not start. Try again.`),y(null)}}function w(e){e.preventDefault();let t=exe(m);if(!t){S(`Enter your email address.`);return}C(`email`,{kind:`email`,email:t},t)}let T=f?{}:{bg:u,borderWidth:1,borderColor:d,rounded:`$6`,p:`$6`},E=p(v===`email`?`One moment…`:`Continue with email`);return(0,L.jsxs)(z,{"data-slot":`signin-panel`,"data-surface":f?`bare`:`card`,width:`100%`,maxW:f?400:464,items:`center`,gap:`$3`,...T,children:[(0,L.jsx)(`style`,{dangerouslySetInnerHTML:{__html:nxe}}),e?(0,L.jsx)(bh,{render:`h1`,size:`$8`,fontWeight:`500`,color:`$ink`,m:0,text:`center`,children:e}):null,t?(0,L.jsx)(yh,{size:`$3`,color:`$quiet`,m:0,text:`center`,maxW:360,children:t}):null,(0,L.jsxs)(`div`,{"data-signin-body":``,style:e||t?{marginTop:12}:void 0,children:[n.length?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`div`,{"data-signin-pair":``,children:n.map(e=>(0,L.jsxs)(`button`,{"data-signin-btn":``,type:`button`,disabled:v!==null,onClick:()=>void C(e,{kind:`provider`,provider:e}),children:[e===`google`?(0,L.jsx)(Qbe,{size:17,"aria-hidden":!0}):(0,L.jsx)(Xbe,{size:17,"aria-hidden":!0}),p(`Continue with {provider}`,{provider:txe[e]})]},e))}),(0,L.jsx)(`div`,{"data-signin-or":``,children:p(`or`)})]}):null,g?(0,L.jsxs)(`form`,{"data-signin-form":``,onSubmit:w,noValidate:!0,children:[(0,L.jsx)(`input`,{id:`hanzo-signin-email`,"data-signin-field":``,type:`email`,name:`email`,autoComplete:`username`,"aria-label":p(`Email`),"aria-invalid":x?!0:void 0,value:m,onChange:e=>h(e.target.value),placeholder:`you@company.com`,autoFocus:!0}),x?(0,L.jsx)(`p`,{"data-signin-wrong":``,role:`alert`,children:p(x)}):null,(0,L.jsx)(`button`,{"data-signin-btn":``,"data-solid":``,type:`submit`,disabled:v!==null,children:E})]}):(0,L.jsxs)(L.Fragment,{children:[x?(0,L.jsx)(`p`,{"data-signin-wrong":``,role:`alert`,children:p(x)}):null,(0,L.jsx)(`button`,{"data-signin-btn":``,"data-solid":``,type:`button`,disabled:v!==null,onClick:()=>{S(null),_(!0)},children:E})]})]}),i?(0,L.jsxs)(`p`,{"data-signin-quiet":``,children:[`${p(`New to Hanzo?`)} `,(0,L.jsx)(`button`,{type:`button`,disabled:v!==null,onClick:()=>void C(`signup`,{kind:`signup`}),children:p(`Create account`)})]}):null,(0,L.jsx)(`p`,{"data-signin-terms":``,children:p(`By continuing, you agree to Hanzo's {terms} and {privacy}.`,{terms:(0,L.jsx)(`a`,{href:a,children:p(`Terms`)}),privacy:(0,L.jsx)(`a`,{href:o,children:p(`Privacy Policy`)})})})]})}var axe=()=>{let{land:e}=L2(),[t,n]=(0,b.useState)(null);return(0,b.useEffect)(()=>{e().then(e=>window.location.replace(e)).catch(e=>n(e instanceof Error?e.message:String(e)))},[e]),(0,L.jsx)(z,{flex:1,items:`center`,justify:`center`,gap:c5.inset,bg:X.ground,children:t?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(V,{size:Z.body,color:X.alert,children:t}),(0,L.jsx)(V,{size:Z.small,color:X.mute,onPress:()=>window.location.replace(`/login`),children:`Try again`})]}):(0,L.jsx)(RI,{})})},oxe=520,sxe=[`general`,`engineering`,`revenue`,`support`],J9=`engineering`,cxe=()=>{let[e,t]=(0,b.useState)(!0);return(0,L.jsx)(`div`,{"aria-hidden":`true`,style:{width:`100%`,maxWidth:780},children:(0,L.jsxs)(z,{width:`100%`,rounded:Q.panel,bg:X.panel,borderWidth:1,borderColor:X.rule,overflow:`hidden`,onLayout:e=>t(e.nativeEvent.layout.width>=oxe),children:[(0,L.jsxs)(B,{px:c5.inset,py:c5.tight,gap:c5.tight,items:`center`,borderBottomWidth:1,borderColor:X.rule,children:[[0,1,2].map(e=>(0,L.jsx)(z,{width:8,height:8,rounded:Q.pill,bg:X.rule},e)),(0,L.jsx)(V,{size:Z.chip,color:X.dim,ml:c5.tight,children:`hanzo.team`})]}),(0,L.jsxs)(B,{children:[e?(0,L.jsxs)(z,{width:168,p:c5.inset,gap:c5.tight,borderRightWidth:1,borderColor:X.rule,children:[(0,L.jsx)(V,{...l5,size:Z.chip,color:X.dim,children:`Channels`}),sxe.map(e=>(0,L.jsx)(B,{px:c5.tight,py:4,rounded:Q.field,bg:e===J9?X.card:void 0,children:(0,L.jsxs)(V,{size:Z.small,color:e===J9?X.ink:X.mute,children:[`# `,e]})},e))]}):null,(0,L.jsxs)(z,{flex:1,minW:0,p:c5.inset,gap:c5.inset,children:[(0,L.jsxs)(V,{size:Z.small,color:X.ink,fontWeight:`600`,children:[`# `,J9]}),(0,L.jsx)(Y9,{who:`Ana`,text:`@dev refunds are missing from the checkout webhook. Can you take it?`}),(0,L.jsx)(Y9,{who:`Dev`,agent:!0,text:`On it. Fixed the handler and opened a pull request: 14 of 14 checks pass.`,children:(0,L.jsxs)(B,{mt:c5.tight,p:c5.tight,gap:c5.tight,items:`center`,rounded:Q.card,bg:X.card,borderWidth:1,borderColor:X.rule,children:[(0,L.jsx)(z,{width:8,height:8,rounded:Q.pill,bg:r5.doing}),(0,L.jsx)(V,{size:Z.chip,color:X.dim,children:`TEAM-142`}),(0,L.jsx)(V,{size:Z.small,color:X.ink,flex:1,minW:0,numberOfLines:1,children:`Refunds missing from checkout webhook`}),(0,L.jsx)(V,{size:Z.chip,color:X.mute,children:`In review`})]})}),(0,L.jsxs)(B,{items:`center`,gap:c5.tight,children:[(0,L.jsx)(RI,{size:16}),(0,L.jsx)(V,{size:Z.small,color:X.dim,children:`Dev is deploying the fix…`})]})]})]})]})})},Y9=({who:e,agent:t=!1,text:n,children:r})=>(0,L.jsxs)(B,{gap:c5.tight,items:`flex-start`,children:[(0,L.jsx)(z,{width:26,height:26,rounded:Q.pill,items:`center`,justify:`center`,style:a5(e),shrink:0,children:(0,L.jsx)(V,{size:Z.chip,fontWeight:`700`,style:{color:a5(e).color},children:e[0]})}),(0,L.jsxs)(z,{flex:1,minW:0,gap:2,children:[(0,L.jsxs)(B,{items:`center`,gap:c5.tight,children:[(0,L.jsx)(V,{size:Z.small,color:X.ink,fontWeight:`600`,children:e}),t?(0,L.jsx)(B,{px:6,py:1,rounded:Q.field,borderWidth:1,borderColor:X.rule,children:(0,L.jsx)(V,{size:Z.chip,color:X.mute,children:`Agent`})}):null]}),(0,L.jsx)(V,{size:Z.small,color:X.mute,children:n}),r]})]}),lxe=[[`Channels`,`Your people and your agents, in one conversation.`],[`Agents`,`Hand an agent the work; it reports back when it is done.`],[`Issue boards`,`Every task from backlog to done, on one board.`]],uxe=()=>(0,L.jsx)(B,{width:`100%`,maxW:780,gap:c5.wide,flexWrap:`wrap`,children:lxe.map(([e,t])=>(0,L.jsxs)(z,{flex:1,minW:200,gap:4,children:[(0,L.jsx)(V,{size:Z.body,color:X.ink,fontWeight:`600`,children:e}),(0,L.jsx)(V,{size:Z.small,color:X.mute,children:t})]},e))}),dxe=`https://pay.hanzo.ai/cart`,fxe=(e,t)=>{let n=new URL(dxe);return new URLSearchParams(e).forEach((e,t)=>n.searchParams.set(t,e)),n.searchParams.get(`plan`)||n.searchParams.set(`plan`,`team`),n.searchParams.set(`returnUrl`,`${t}/`),n.toString()},pxe=`/auth/callback`,$=`https://hanzo.ai`,X9=`https://docs.hanzo.ai`,mxe=`https://github.com/hanzoai`,hxe=`https://status.hanzo.ai`,gxe=`https://hanzo.agency`,_xe=`https://hanzo.university`,vxe=[{label:`Features`,href:`https://hanzo.ai/team`},{label:`Docs`,href:`https://docs.hanzo.ai`},{label:`Hanzo Bot`,href:`https://hanzo.bot`},{label:`Hanzo App`,href:`https://hanzo.app`},{label:`API Platform`,href:`https://platform.hanzo.ai`},{label:`Hanzo AI`,href:`https://hanzo.ai`}],yxe=[{id:`damon`,name:`Damon Motorcycles`,logo:`/logos/customers/damon-motorcycles.svg`,href:`${$}/customers/damon-motorcycles`},{id:`kanoa`,name:`KANOA`,logo:`/logos/customers/kanoa.png`,href:`${$}/customers/kanoa`},{id:`skully`,name:`SKULLY`,logo:`/logos/customers/skully.png`,href:`${$}/customers#skully`},{id:`bellabeat`,name:`Bellabeat`,logo:`/logos/customers/bellabeat.svg`,href:`${$}/customers#bellabeat`},{id:`stoned`,name:`STONED Audio`,logo:`/logos/customers/stoned.svg`,href:`${$}/customers#stoned`},{id:`unikrn`,name:`Unikrn`,logo:`/logos/customers/unikoin-gold.svg`,href:`${$}/customers#unikoin-gold`},{id:`arca`,name:`Arca`,logo:`/logos/customers/arca.png`,href:`${$}/customers#arca`},{id:`casper`,name:`Casper Labs`,logo:`/logos/customers/casper-blockchain.svg`,href:`${$}/customers#casper-blockchain`},{id:`triller`,name:`Triller`,logo:`/logos/customers/trillerfest.png`,href:`${$}/customers#trillerfest`},{id:`cover`,name:`Cover Build`,logo:`/logos/customers/cover-build.svg`,href:`${$}/customers#cover-build`},{id:`myle`,name:`Myle Tap`,logo:`/logos/customers/myle-tap.png`,href:`${$}/customers#myle-tap`},{id:`keek`,name:`Personas Social`,logo:`/logos/customers/keek-social.svg`,href:`${$}/customers#keek-social`}],bxe=[[{title:`Products`,href:`${$}/products`,links:[{label:`Hanzo App`,href:`https://hanzo.app`},{label:`Hanzo Dev`,href:`${$}/dev`},{label:`Hanzo Bot`,href:`https://hanzo.bot`},{label:`Hanzo Team`,href:`https://hanzo.team`},{label:`Hanzo Science`,href:`${$}/science`},{label:`Hanzo Security`,href:`${$}/security`},{label:`Download app`,href:`${$}/download`},{label:`Pricing`,href:`${$}/pricing`},{label:`Log in`,href:`/login`}]},{title:`Capabilities`,links:[{label:`Hanzo Design`,href:`${$}/design`},{label:`MCP`,href:`${$}/mcp`},{label:`Skills`,href:`${$}/skills`},{label:`Integrations`,href:`${$}/integrations`},{label:`Hanzo CLI`,href:`${$}/cli`}]},{title:`Extensions`,links:[{label:`Hanzo in Chrome`,href:`${$}/extension`},{label:`Desktop app`,href:`${$}/desktop`},{label:`Hanzo IDE`,href:`${$}/ide`}]},{title:`Models`,href:`${$}/models`,links:[{label:`All models`,href:`${$}/models`},{label:`Zen`,href:`${$}/zen`},{label:`Enso`,href:`${$}/enso`},{label:`Kai`,href:`${$}/kai`},{label:`Video · Koma`,href:`${$}/koma`},{label:`Images · Iro`,href:`${$}/iro`},{label:`3D · Mori`,href:`${$}/mori`},{label:`Voice · Koe`,href:`${$}/koe`},{label:`Benchmarks`,href:`${$}/benchmarks`}]}],[{title:`Enterprise`,href:`${$}/enterprise`,links:[{label:`Overview`,href:`${$}/enterprise`},{label:`All solutions`,href:`${$}/solutions`},{label:`Customer stories`,href:`${$}/customers`},{label:`Contact sales`,href:`${$}/contact-sales`}]},{title:`Teams`,href:`${$}/solutions`,links:[{label:`Engineering`,href:`${$}/solutions/engineering`},{label:`Operations`,href:`${$}/solutions/operations`},{label:`Finance`,href:`${$}/solutions/finance`},{label:`Data`,href:`${$}/solutions/data`},{label:`Sales`,href:`${$}/solutions/sales`},{label:`Marketing`,href:`${$}/solutions/marketing`},{label:`Design`,href:`${$}/solutions/design`}]},{title:`Industries`,href:`${$}/solutions`,links:[{label:`Cybersecurity`,href:`${$}/solutions/cybersecurity`},{label:`Financial services`,href:`${$}/solutions/financial-services`},{label:`Government`,href:`${$}/solutions/government`},{label:`Healthcare`,href:`${$}/solutions/healthcare`},{label:`Education`,href:`${$}/solutions/education`},{label:`Law`,href:`${$}/solutions/law`},{label:`Retail`,href:`${$}/solutions/retail`}]},{title:`Programs`,href:`${$}/startups`,links:[{label:`Startups`,href:`${$}/startups`},{label:`Affiliate program`,href:`${$}/affiliate`},{label:`Referral program`,href:`${$}/referral`},{label:`Reserved tier`,href:`${$}/solutions/reserved`},{label:`OSS grants`,href:`${$}/open-source`}]}],[{title:`Developers`,href:X9,links:[{label:`Developer docs`,href:X9},{label:`API reference`,href:`${X9}/docs/openapi/`},{label:`Quickstart`,href:`${X9}/docs/quickstart/`},{label:`SDKs`,href:`${$}/sdks`},{label:`Console`,href:`https://platform.hanzo.ai`},{label:`GitHub`,href:mxe}]},{title:`API Platform`,href:`${$}/platform`,links:[{label:`Overview`,href:`${$}/platform`},{label:`API keys`,href:`https://platform.hanzo.ai/settings/organization/keys`},{label:`Gateway`,href:`${$}/gateway`},{label:`Agents`,href:`${$}/agents`},{label:`Playground`,href:`${$}/playground`}]},{title:`Cloud`,href:`${$}/products`,links:[{label:`Base`,href:`${$}/base`},{label:`Machines`,href:`${$}/machines`},{label:`Search`,href:`${$}/search`},{label:`Datastore`,href:`${$}/datastore`},{label:`Memory`,href:`${$}/products/memory`},{label:`Realtime`,href:`${$}/realtime`},{label:`Observability`,href:`${$}/o11y`},{label:`Insights`,href:`${$}/insights`},{label:`Commerce`,href:`${$}/commerce`}]},{title:`Help and security`,links:[{label:`Availability`,href:hxe},{label:`Help center`,href:`${$}/support`},{label:`Security and compliance`,href:`${$}/security`},{label:`Trust & transparency`,href:`${$}/trust`}]}],[{title:`Company`,href:`${$}/about`,links:[{label:`Hanzo AI`,href:`${$}/about`},{label:`Careers`,href:`${$}/careers`},{label:`Philosophy`,href:`${$}/philosophy`},{label:`Research`,href:`${$}/research`},{label:`News`,href:`${$}/press`},{label:`Investors`,href:`${$}/investors`},{label:`Brand`,href:`${$}/brand`},{label:`Open source`,href:`${$}/open-source`},{label:`Contact`,href:`${$}/contact`}]},{title:`Resources`,href:`${$}/learn`,links:[{label:`Blog`,href:`${$}/blog`},{label:`Guides`,href:`${X9}/docs/guides/`},{label:`Cookbook`,href:`${X9}/docs/guides/cookbook/`},{label:`Hanzo University`,href:_xe},{label:`Hanzo Agency`,href:gxe},{label:`Cost calculator`,href:`${$}/calculator`}]},{title:`Terms and policies`,href:`${$}/legal`,links:[{label:`Privacy choices`,href:`${$}/privacy#choices`},{label:`Privacy policy`,href:`${$}/privacy`},{label:`Terms of service`,href:`${$}/terms`},{label:`Usage policy`,href:`${$}/aup`},{label:`Cookie policy`,href:`${$}/cookies`},{label:`Other policies`,href:`${$}/legal`}]}]],xxe=[{label:`Discord`,href:`https://discord.gg/XthHQQj`},{label:`Telegram`,href:`https://t.me/hanzoai`},{label:`X`,href:`https://x.com/hanzoai`},{label:`GitHub`,href:`https://github.com/hanzoai`},{label:`LinkedIn`,href:`https://linkedin.com/company/hanzo-ai`},{label:`Facebook`,href:`https://facebook.com/hanzoinc`},{label:`Bluesky`,href:`https://bsky.app/profile/hanzoai.bsky.social`},{label:`Reddit`,href:`https://www.reddit.com/r/HanzoAI/`},{label:`TikTok`,href:`https://www.tiktok.com/@hanzoinc`},{label:`Instagram`,href:`https://www.instagram.com/hanzoinc`}];function Sxe(){let e=(0,b.useRef)(null);return(0,b.useEffect)(()=>{let t=e.current,n=t?.parentElement;if(!t||!n)return;let r=t.getContext(`2d`);if(!r)return;let i=.14,a=0,o=0,s=1,c=0,l={x:-9999,y:-9999},u={x:-9999,y:-9999},d=()=>{let e=n.getBoundingClientRect();s=Math.min(window.devicePixelRatio||1,2),a=e.width,o=e.height,t.width=Math.max(1,Math.round(a*s)),t.height=Math.max(1,Math.round(o*s)),r.setTransform(s,0,0,s,0,0)},f=e=>{let n=(e||0)*.001;r.clearRect(0,0,a,o),r.fillStyle=getComputedStyle(t).color;let i=Math.ceil(a/14),s=Math.ceil(o/14),c=(a-(i-1)*14)*.5,u=(o-(s-1)*14)*.5,d=a*.5,f=o*.45,p=a*.56,m=o*.58,h=l.x,g=l.y,_=h>-999,v=a*(.5+.28*Math.cos(n*.42)),y=o*(.45+.22*Math.sin(n*.31)),b=a*(.5+.32*Math.sin(n*.27+1.8)),x=o*(.48+.24*Math.cos(n*.36+.9)),S=Math.max(a,o)*.28,C=1/(S*S);for(let e=0;e<s;e++){let t=u+e*14,a=(t-f)/m;for(let o=0;o<i;o++){let i=c+o*14,s=(i-d)/p,l=Math.hypot(s,a),u=Math.max(0,Math.min(1,(l-.16)/.88)),f=Math.max(0,1-Math.max(0,l-.72)*1.45),m=.5+.5*Math.sin(o*.18+e*.14-n*1.15+Math.cos(o*.09-e*.11+n*.65)*1.3),S=(i-v)*(i-v)+(t-y)*(t-y),w=(i-b)*(i-b)+(t-x)*(t-x),T=Math.exp(-S*C)*.65+Math.exp(-w*C)*.55,E=(.7+u*2.1+m*.42+T*.95)*(.45+f*.55),D=(.045+u*.18+m*.035+T*.11)*f;if(_){let e=i-h,n=t-g,r=e*e+n*n;if(r<36100){let e=1-Math.sqrt(r)/190,t=e*e*(3-2*e);E+=t*1.9,D=Math.min(.68,D+t*.34)}}D<.01||E<.3||(r.globalAlpha=D,r.beginPath(),r.arc(i,t,E,0,Math.PI*2),r.fill())}}r.globalAlpha=1},p=e=>{l.x+=(u.x-l.x)*i,l.y+=(u.y-l.y)*i,f(e),c=requestAnimationFrame(p)},m=e=>{let t=n.getBoundingClientRect();u.x=e.clientX-t.left,u.y=e.clientY-t.top,l.x<-999&&(l.x=u.x,l.y=u.y)},h=()=>{u.x=-9999,u.y=-9999};d(),c=requestAnimationFrame(p);let g=new ResizeObserver(()=>d());return g.observe(n),n.addEventListener(`pointermove`,m,{passive:!0}),n.addEventListener(`pointerleave`,h,{passive:!0}),()=>{cancelAnimationFrame(c),g.disconnect(),n.removeEventListener(`pointermove`,m),n.removeEventListener(`pointerleave`,h)}},[]),(0,L.jsx)(`canvas`,{ref:e,"aria-hidden":`true`,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,pointerEvents:`none`,zIndex:0,color:`var(--foreground)`}})}var Cxe=()=>{let{standing:e,depart:t,request:n}=L2(),[r,i]=(0,b.useState)(null);if(e===`in`)return null;let a=(e,n)=>{i(e),t(n).catch(()=>i(null))},o=r!==null;return(0,L.jsxs)(z,{flex:1,bg:X.ground,overflow:`scroll`,children:[(0,L.jsxs)(B,{width:`100%`,minH:68,px:c5.wide,py:c5.tight,items:`center`,justify:`space-between`,borderBottomWidth:1,borderColor:X.rule,bg:X.panel,style:{position:`sticky`,top:0,zIndex:40},children:[(0,L.jsx)(B,{items:`center`,gap:c5.tight,cursor:`pointer`,onPress:()=>window.location.assign(`/`),children:(0,L.jsx)(V,{size:Z.row,color:X.ink,fontWeight:`600`,children:$0.title})}),(0,L.jsxs)(B,{items:`center`,gap:c5.tight,flexWrap:`wrap`,children:[vxe.map(e=>(0,L.jsx)(q,{size:`sm`,chromeless:!0,rounded:Q.pill,onPress:()=>window.location.assign(e.href),children:(0,L.jsx)(V,{size:Z.small,color:X.mute,children:e.label})},e.label)),(0,L.jsx)(q,{size:`sm`,variant:`outline`,rounded:Q.field,onPress:()=>window.location.assign(`https://hanzo.ai/contact-sales`),children:(0,L.jsx)(V,{size:Z.small,color:X.ink,children:`Contact sales`})}),(0,L.jsx)(q,{size:`sm`,chromeless:!0,rounded:Q.field,disabled:o,onPress:()=>a(`nav`,`login`),children:(0,L.jsx)(V,{size:Z.small,color:X.ink,children:`Log in`})}),(0,L.jsx)(q,{size:`sm`,rounded:Q.field,disabled:o,onPress:()=>a(`open`,`login`),children:(0,L.jsx)(V,{size:Z.small,color:X.ink,fontWeight:`600`,children:((e,t)=>r===e?`One moment…`:t)(`open`,`Open Hanzo Team`)})})]})]}),(0,L.jsxs)(`main`,{className:`hz-signin`,children:[(0,L.jsx)(Sxe,{}),(0,L.jsxs)(`div`,{className:`hz-signin-row`,children:[(0,L.jsx)(`div`,{className:`hz-signin-copy`,children:(0,L.jsx)(rxe,{title:`Sign in to Hanzo ${$0.title}`,line:`AI cockpit, live streams, issue boards, channels, and bots for your team.`,request:n,termsHref:`${$}/terms`,privacyHref:`${$}/privacy`})}),(0,L.jsxs)(`div`,{className:`hz-signin-figure`,children:[(0,L.jsx)(cxe,{}),(0,L.jsx)(uxe,{})]})]})]}),(0,L.jsxs)(z,{width:`100%`,items:`center`,px:c5.wide,py:c5.edge,gap:c5.inset,bg:X.ground,children:[(0,L.jsx)(V,{size:Z.small,color:X.mute,fontWeight:`500`,style:{textAlign:`center`},children:`Companies building with the Hanzo API`}),(0,L.jsx)(`div`,{className:`hz-mq-view`,children:(0,L.jsx)(`div`,{className:`hz-mq-track`,children:[0,1].map(e=>yxe.map(t=>{let n=e>0;return(0,L.jsx)(`a`,{href:t.href,className:`hz-logo`,"aria-label":n?void 0:t.name,"aria-hidden":n||void 0,tabIndex:n?-1:void 0,target:`_blank`,rel:`noopener noreferrer`,title:t.name,children:(0,L.jsx)(`img`,{src:t.logo,alt:n?``:t.name,loading:`lazy`})},`${e}-${t.id}`)}))})})]}),(0,L.jsx)(z,{width:`100%`,borderTopWidth:1,borderColor:X.rule,bg:X.panel,px:c5.wide,py:c5.edge,children:(0,L.jsxs)(z,{width:`100%`,maxW:1240,mx:`auto`,gap:c5.edge,children:[(0,L.jsxs)(B,{justify:`space-between`,items:`flex-start`,gap:c5.edge,flexWrap:`wrap`,children:[(0,L.jsx)(z,{minW:160,gap:c5.tight,children:(0,L.jsxs)(B,{items:`center`,gap:c5.tight,cursor:`pointer`,onPress:()=>window.location.assign($),children:[(0,L.jsx)(z,{width:22,height:22,rounded:Q.field,bg:X.ink,items:`center`,justify:`center`,children:(0,L.jsx)(V,{size:Z.small,color:X.ground,fontWeight:`700`,children:`H`})}),(0,L.jsx)(V,{size:Z.row,color:X.ink,fontWeight:`600`,children:`Hanzo`})]})}),(0,L.jsx)(B,{gap:c5.edge,flexWrap:`wrap`,grow:1,justify:`space-between`,children:bxe.map((e,t)=>(0,L.jsx)(z,{minW:150,gap:c5.inset,children:e.map(e=>(0,L.jsxs)(z,{gap:c5.tight,children:[(0,L.jsx)(V,{size:Z.small,color:X.ink,fontWeight:`600`,cursor:e.href?`pointer`:void 0,onPress:e.href?()=>window.location.assign(e.href):void 0,style:{lineHeight:`1.35`},children:e.title}),(0,L.jsx)(z,{style:{gap:`2.5px`},children:e.links.map(e=>(0,L.jsx)(V,{size:Z.small,color:X.mute,cursor:`pointer`,onPress:()=>window.location.assign(e.href),style:{lineHeight:`1.32`},children:e.label},e.href+e.label))})]},e.title))},t))})]}),(0,L.jsx)(B,{pt:c5.inset,borderTopWidth:1,borderColor:X.rule,items:`center`,flexWrap:`wrap`,style:{columnGap:`24px`,rowGap:`8px`},children:xxe.map(e=>(0,L.jsxs)(V,{size:Z.small,color:X.mute,cursor:`pointer`,onPress:()=>window.location.assign(e.href),style:{lineHeight:`1.35`},children:[e.label,` ↗`]},e.label))}),(0,L.jsxs)(B,{pt:c5.inset,borderTopWidth:1,borderColor:X.rule,items:`center`,justify:`space-between`,flexWrap:`wrap`,gap:c5.tight,children:[(0,L.jsx)(V,{size:Z.chip,color:X.dim,children:`© 2026 Hanzo AI, Inc. All rights reserved.`}),(0,L.jsx)(B,{gap:c5.inset,flexWrap:`wrap`,children:[[`Terms`,`${$}/terms`],[`Privacy`,`${$}/privacy`],[`Usage policy`,`${$}/aup`],[`Privacy choices`,`${$}/privacy#choices`]].map(([e,t])=>(0,L.jsx)(V,{size:Z.chip,color:X.dim,cursor:`pointer`,onPress:()=>window.location.assign(t),children:e},e))})]})]})})]})},wxe=({children:e})=>{let{standing:t}=L2(),{standing:n,refusal:r,enrolment:i}=P4();return window.location.pathname===pxe?(0,L.jsx)(axe,{}):window.location.pathname===`/start`?(0,L.jsx)(Txe,{to:fxe(window.location.search,window.location.origin)}):j4.on?(0,L.jsx)(L.Fragment,{children:e}):t===`unknown`?(0,L.jsx)(Z9,{}):t===`out`?(0,L.jsx)(Cxe,{}):n===`stranger`?(0,L.jsx)(Q9,{title:`One more step`,body:`Set up your workspace to see your projects.`,children:(0,L.jsx)(q,{onPress:()=>window.location.assign(i),children:`Set up`})}):n===`refused`?(0,L.jsx)(Q9,{title:`Your workspace is not answering`,body:r?.message??``,children:(0,L.jsx)(q,{onPress:()=>window.location.reload(),children:`Try again`})}):n===`unknown`?(0,L.jsx)(Z9,{}):(0,L.jsx)(L.Fragment,{children:e})},Txe=({to:e})=>((0,b.useEffect)(()=>window.location.replace(e),[e]),(0,L.jsx)(Z9,{})),Z9=()=>(0,L.jsx)(z,{flex:1,items:`center`,justify:`center`,bg:X.ground,children:(0,L.jsx)(RI,{})}),Q9=({title:e,body:t,children:n})=>(0,L.jsxs)(z,{flex:1,items:`center`,justify:`center`,gap:c5.inset,bg:X.ground,p:c5.wide,children:[(0,L.jsx)(V,{size:Z.title,color:X.ink,children:e}),t?(0,L.jsx)(V,{size:Z.body,color:X.mute,children:t}):null,n]}),Exe=()=>na(Bbe),Dxe=200,Oxe=()=>(0,L.jsxs)(Xfe,{children:[(0,L.jsx)(kN,{delay:Dxe,children:(0,L.jsx)(Npe,{children:(0,L.jsxs)(gme,{children:[(0,L.jsx)(_ve,{}),(0,L.jsx)(wxe,{children:(0,L.jsx)(lo,{children:(0,L.jsx)(Exe,{})})})]})})}),(0,L.jsx)(ece,{theme:`dark`,position:`top-center`}),(0,L.jsx)(spe,{floating:!1})]});yr({token:()=>T2().getAccessToken()??void 0});var $9=document.getElementById(`root`);if(!$9)throw Error(`no #root`);(0,x.createRoot)($9).render((0,L.jsx)(b.StrictMode,{children:(0,L.jsx)(Oxe,{})}));export{_ as a,u as c,Co as i,Yp as n,p as o,Uo as r,s,a6 as t};
241
- //# sourceMappingURL=index-dQXLV192.js.map
241
+ //# sourceMappingURL=index-DwTbwlhL.js.map