@qtalo/qt-ui-library 0.3.0 → 0.3.1
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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -62,6 +62,6 @@ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error
|
|
|
62
62
|
`).replace(/\p{Cf}/gu,``).replace(/\p{Zs}/gu,` `).replace(/[^\S\n\t]+/g,` `).replace(/[ \t]+\n/g,`
|
|
63
63
|
`).replace(/(\n\s*){2,}/g,`
|
|
64
64
|
|
|
65
|
-
`).trim()}function tr(e){if(!e)return``;let t=er(e),n=Zn(t),r;switch(n){case`html`:r=Qn(t);break;case`markdown`:r=J.parse(t,{breaks:!0,gfm:!0}),r=Qn(r);break;case`text`:default:r=$n(Qn(t));break}return yt.sanitize(r,{ALLOWED_TAGS:[`p`,`br`,`strong`,`em`,`u`,`s`,`a`,`ul`,`ol`,`li`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`blockquote`,`code`,`pre`,`img`,`div`,`span`],ALLOWED_ATTR:[`href`,`src`,`alt`,`title`,`target`,`rel`],ALLOWED_URI_REGEXP:/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i})}var nr={hour:`2-digit`,minute:`2-digit`,hour12:!1};function rr(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function ir(e){return e.toLocaleTimeString([],nr)}function ar(e){let t=new Date(e);return t.setDate(e.getDate()-1),t}function or(e,t){return t?e.getFullYear().toString():`'${e.getFullYear().toString().slice(-2)}`}function sr(e,t){return t?`${e}${ur(e)}`:`${e}`}function cr(e,t,n){let{longMonth:r,longYear:i,withOrdinal:a,showWeekday:o,includeTime:s}=n,c=e.getDate(),l=r?`long`:`short`,u=`${e.toLocaleDateString([],{month:l})} ${sr(c,a)}`;return e.getFullYear()!==t.getFullYear()&&(u+=`, ${or(e,i)}`),o&&(u=`${e.toLocaleDateString([],{weekday:`long`})}, ${u}`),s&&(u+=`, ${ir(e)}`),u}function lr(e,t={}){let{todayAsText:n=!1,showWeekday:r=!1,longMonth:i=!1,longYear:a=!0,withOrdinal:o=!1,includeTime:s=!0}=t,c=new Date(e),l=new Date;return rr(c,l)?n?`Today`:ir(c):rr(c,ar(l))?s?`Yesterday, ${ir(c)}`:`Yesterday`:cr(c,l,{todayAsText:n,showWeekday:r,longMonth:i,longYear:a,withOrdinal:o,includeTime:s})}function ur(e){if(e%100>=11&&e%100<=13)return`th`;switch(e%10){case 1:return`st`;case 2:return`nd`;case 3:return`rd`;default:return`th`}}function Y({className:e,children:t,...n}){return(0,d.jsx)(`button`,{...n,className:T(`btn-base`,e),children:t})}function dr({checked:e,defaultChecked:t,icon:n,indeterminate:r,indeterminateIcon:i,onChange:a,disabled:o,children:s,className:c}){let l=(0,u.useRef)(null),[f,p]=(0,u.useState)(t??!1),m=e??f;(0,u.useEffect)(()=>{l.current&&(l.current.indeterminate=!!r)},[r]);function h(t){let n=t.target.checked;e===void 0&&p(n),a?.(n)}return(0,d.jsxs)(`label`,{className:T(`gap-2 relative inline-flex w-fit cursor-pointer items-center select-none`,o&&`pointer-events-none opacity-50`,c),children:[(0,d.jsx)(`input`,{ref:l,type:`checkbox`,className:T(`p-0 absolute h-px w-px overflow-hidden whitespace-nowrap`,`[clip-path:inset(50%)]`,`border-0`),disabled:o,onChange:h,...e===void 0?{defaultChecked:t}:{checked:e}}),(0,d.jsx)(`span`,{role:`checkbox`,"aria-checked":r?`mixed`:m,tabIndex:-1,"data-state":r?`indeterminate`:m?`checked`:`unchecked`,className:`checkbox-box inline-flex items-center justify-center`,children:(0,d.jsx)(`span`,{className:T(`checkbox-icon`,!(m||r)&&`opacity-0`),children:r?i??`—`:n??`✓`})}),s&&(0,d.jsx)(`span`,{className:`checkbox-label`,children:s})]})}const fr=(0,u.createContext)(null);function pr(){let e=(0,u.useContext)(fr);if(!e)throw Error(`useDropdown must be used inside Dropdown`);return e}function mr({trigger:e,children:t,align:n=`start`,side:r=`bottom`,offsetX:i=0,offsetY:a=0,disabled:o=!1,openOnHover:s=!0,open:c,onOpenChange:l}){let p=c!==void 0,[m,h]=(0,u.useState)(!1),g=p?c:m,_=(0,u.useCallback)(e=>{e!==g&&(p||h(e),l?.(e))},[g,p,l]),v=(0,u.useRef)(null),y=(0,u.useRef)(null),b=(0,u.useRef)(null),[ee,x]=(0,u.useState)(null),S=(0,u.useCallback)(()=>{if(!v.current||!y.current)return;let e=v.current.getBoundingClientRect(),t=y.current.getBoundingClientRect(),o=e.left;n===`end`?o=e.right-t.width:n===`center`&&(o=e.left+(e.width-t.width)/2),o+=i;let s;s=r===`bottom`?e.bottom+a:e.top-t.height+a,queueMicrotask(()=>x({top:s,left:o}))},[n,r,i,a]);(0,u.useLayoutEffect)(()=>{g&&S()},[g,S]),(0,u.useEffect)(()=>{if(!g)return;let e=()=>S();return window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[g,S]);let C=(0,u.useCallback)(()=>{b.current&&=(clearTimeout(b.current),null),_(!0)},[_]),te=(0,u.useCallback)(()=>{b.current=window.setTimeout(()=>{_(!1)},120)},[_]);return(0,u.useEffect)(()=>{function e(e){let t=e.target;v.current?.contains(t)||y.current?.contains(t)||_(!1)}return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[_]),(0,u.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]),(0,d.jsxs)(fr.Provider,{value:{close:()=>_(!1),open:C},children:[(0,d.jsx)(`div`,{ref:v,className:`inline-flex`,onMouseEnter:s?C:void 0,onMouseLeave:s?te:void 0,onClick:()=>_(!g),"aria-haspopup":`menu`,"aria-expanded":g,children:e}),g&&!o&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:y,onMouseEnter:s?C:void 0,onMouseLeave:s?te:void 0,style:{position:`fixed`,top:ee?.top??0,left:ee?.left??0,visibility:ee?`visible`:`hidden`,zIndex:1e3},children:t}),document.body)]})}function hr({type:e=`text`,value:t,defaultValue:n,disabled:r=!1,error:i=!1,placeholder:a,onChange:o,onKeyDown:s,className:c}){let[l,f]=(0,u.useState)(n??``),p=t!==void 0,m=p?t:l;function h(e){let t=e.target.value;p||f(t),o?.(t)}function g(e){s?.(e)}return(0,d.jsx)(`input`,{type:e,value:m,placeholder:a,disabled:r,"aria-disabled":r||void 0,"aria-invalid":i||void 0,onChange:h,onKeyDown:g,className:T(`bg-transparent outline-none`,r&&`pointer-events-none`,c)})}function gr({as:e,disabled:t=!1,onPress:n,className:r,children:i,...a}){let o=e||`div`,s=(0,u.useCallback)(()=>{t||n?.()},[t,n]),c=(0,u.useCallback)(e=>{t||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),n?.())},[t,n]);return(0,d.jsx)(o,{role:`button`,tabIndex:t?-1:0,"aria-disabled":t||void 0,onClick:s,onKeyDown:c,className:T(`select-none`,!t&&`cursor-pointer`,t&&`pointer-events-none opacity-50`,r),...a,children:i})}function _r({children:e}){return(0,d.jsx)(`div`,{className:`contents`,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:e})}function vr(e,t,n){return n===`start`?e.left:n===`end`?e.right-t.width:e.left+e.width/2-t.width/2}function yr(e,t,n){return n===`start`?e.top:n===`end`?e.bottom-t.height:e.top+e.height/2-t.height/2}function br({children:e,content:t,position:n=`top`,delay:r=120,className:i}){let a=(0,u.useRef)(null),o=(0,u.useRef)(null),s=(0,u.useRef)(null),[c,l]=(0,u.useState)(!1),[p,m]=(0,u.useState)(null),h=()=>{s.current&&=(clearTimeout(s.current),null),s.current=window.setTimeout(()=>{l(!0)},r)},g=()=>{s.current&&=(clearTimeout(s.current),null),l(!1)};return(0,u.useLayoutEffect)(()=>{if(!c||!a.current||!o.current)return;let e=a.current.getBoundingClientRect(),t=o.current.getBoundingClientRect(),[r,i]=n.split(`-`),s=i??`center`,l=0,u=0;r===`top`||r===`bottom`?(l=r===`top`?e.top-t.height-4:e.bottom+4,u=vr(e,t,s)):(u=r===`left`?e.left-t.width-4:e.right+4,l=yr(e,t,s)),m(e=>e&&e.top===l&&e.left===u?e:{top:l,left:u})},[c,n]),(0,u.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{ref:a,className:`inline-flex`,onMouseEnter:h,onMouseLeave:g,onFocus:h,onBlur:g,children:e}),c&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:o,role:`tooltip`,style:{position:`fixed`,top:p?.top??0,left:p?.left??0,visibility:p?`visible`:`hidden`,zIndex:1e3},className:T(i),children:t}),document.body)]})}const xr=(0,u.createContext)(null);function Sr(){let e=(0,u.useContext)(xr);if(!e)throw Error(`useAccordion must be used inside Accordion`);return e}function Cr({children:e,type:t=`single`,defaultValue:n,className:r}){let[i,a]=(0,u.useState)(()=>n?t===`single`?new Set([n]):new Set(Array.isArray(n)?n:[n]):new Set),o=e=>{a(n=>{if(t===`single`)return n.has(e)?new Set:new Set([e]);let r=new Set(n);return r.has(e)?r.delete(e):r.add(e),r})};return(0,d.jsx)(xr.Provider,{value:{openItems:i,toggleItem:o,type:t},children:(0,d.jsx)(`div`,{className:r,"data-type":t,children:typeof e==`function`?e({openItems:i,toggleItem:o}):e})})}function wr({value:e,children:t,className:n,...r}){let{openItems:i}=Sr(),a=i.has(e);return(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t})}function Tr({value:e,children:t,className:n,asChild:r=!1,onClick:i,...a}){let{toggleItem:o,openItems:s}=Sr(),c=s.has(e),l=t=>{o(e),t&&i&&i(t)};return r&&(0,u.isValidElement)(t)?(0,u.cloneElement)(t,{onClick:l,"aria-expanded":c,"data-state":c?`open`:`closed`}):(0,d.jsx)(gr,{className:n,onPress:()=>l(void 0),"aria-expanded":c,"data-state":c?`open`:`closed`,...a,children:t})}function Er({value:e,children:t,className:n,...r}){let{openItems:i}=Sr(),a=i.has(e);return a?(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t}):null}function X({size:e=16,className:t,viewBox:n=`0 0 24 24`,children:r,...i}){return(0,d.jsx)(`svg`,{width:e,height:e,viewBox:n,fill:`none`,"aria-hidden":!0,focusable:`false`,className:T(`shrink-0`,t),...i,children:r})}function Dr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 32 32`,...t,children:(0,d.jsx)(`path`,{d:`M25.82 25.44C28.07 23.02 29.5 19.74 29.5 15.92C29.5 7.7 22.8 2 15.98 2C9.16 2 2.5 7.7 2.5 15.92C2.5 24.15 9.2 29.84 15.98 29.84C18.23 29.84 20.43 29.22 22.41 28.13L23.61 29.38C24 29.77 24.54 30 25.12 30C26.32 30 27.29 29.03 27.29 27.82C27.29 27.27 27.05 26.76 26.7 26.33L25.81 25.44H25.82ZM22.18 21.73L19.66 19.12C19.31 18.69 18.72 18.46 18.15 18.46C16.95 18.46 15.98 19.47 15.98 20.64C15.98 21.22 16.25 21.73 16.64 22.13L18.77 24.35C17.88 24.66 16.95 24.86 15.98 24.86C11.72 24.86 7.96 21.27 7.96 15.93C7.96 10.58 11.72 7 15.98 7C20.24 7 24.03 10.58 24.03 15.93C24.03 18.23 23.34 20.22 22.18 21.74V21.73Z`,fill:`currentColor`,...e})})}function Or(e){return(0,d.jsx)(X,{viewBox:`0 0 16 16`,...e,children:(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.46 8.33C9.99 8.33 8.8 9.5 8.8 10.94C8.8 12.38 9.99 13.55 11.46 13.55C12.92 13.55 14.11 12.38 14.11 10.94C14.11 9.5 12.92 8.33 11.46 8.33ZM4.55 8.33C3.08 8.33 1.89 9.5 1.89 10.94C1.89 12.38 3.08 13.55 4.55 13.55C6.02 13.55 7.21 12.38 7.21 10.94C7.21 9.5 6.02 8.33 4.55 8.33ZM10.66 5.06C10.66 6.5 9.47 7.67 8 7.67C6.53 7.67 5.34 6.5 5.34 5.06C5.34 3.61 6.53 2.44 8 2.44C9.47 2.44 10.66 3.61 10.66 5.06Z`,fill:`#F06A6A`})})}function kr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M18.03 11.43L10.65 17.81L7.23 13.84L18.05 4.5L28.78 13.85L25.35 17.81L18.03 11.43Z`,fill:`url(#paint0_linear_5796_19610)`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.76 25.23L10.91 22.05C13.11 24.93 15.46 26.26 18.06 26.26C20.67 26.26 22.93 24.95 25.03 22.08L29.24 25.19C26.21 29.32 22.43 31.5 18.06 31.5C13.69 31.5 9.89 29.33 6.76 25.23Z`,fill:`url(#paint1_linear_5796_19610)`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19610`,x1:`6.83`,y1:`10.64`,x2:`28.36`,y2:`10.64`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#FF02F0`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#FFC800`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19610`,x1:`6.37`,y1:`26.25`,x2:`28.82`,y2:`26.25`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#8930FD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#49CCF9`})]})]})]})}function Ar(e){return(0,d.jsxs)(X,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M3.02 14.09H5.2V8.79L2.09 6.45V13.15C2.09 13.67 2.51 14.09 3.02 14.09Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M12.68 14.09H14.87C15.38 14.09 15.8 13.67 15.8 13.15V6.45L12.68 8.79`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M12.68 4.74V8.79L15.8 6.45V5.21C15.8 4.05 14.48 3.39 13.56 4.08`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M5.2 8.79V4.74L8.94 7.54L12.68 4.74V8.79L8.94 11.59`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M2.09 5.21V6.45L5.2 8.79V4.74L4.33 4.08C3.4 3.39 2.09 4.05 2.09 5.21Z`,fill:`#C5221F`})]})}function jr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M25.1 10.89L18.71 10.18L10.89 10.89L10.18 18L10.89 25.1L18 25.99L25.1 25.1L25.82 17.82L25.1 10.89Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M13.81 21.92C13.28 21.56 12.91 21.04 12.71 20.34L13.94 19.83C14.06 20.26 14.25 20.59 14.53 20.83C14.81 21.06 15.14 21.18 15.54 21.18C15.94 21.18 16.29 21.05 16.58 20.81C16.87 20.56 17.01 20.25 17.01 19.87C17.01 19.48 16.86 19.17 16.55 18.92C16.25 18.68 15.87 18.56 15.41 18.56H14.7V17.34H15.33C15.73 17.34 16.06 17.23 16.33 17.02C16.6 16.8 16.74 16.51 16.74 16.14C16.74 15.81 16.62 15.55 16.37 15.35C16.13 15.15 15.83 15.05 15.46 15.05C15.09 15.05 14.81 15.15 14.59 15.34C14.38 15.54 14.22 15.77 14.13 16.05L12.91 15.55C13.07 15.09 13.36 14.68 13.8 14.33C14.24 13.98 14.79 13.81 15.47 13.81C15.97 13.81 16.41 13.9 16.81 14.1C17.21 14.29 17.52 14.56 17.75 14.9C17.97 15.24 18.09 15.63 18.09 16.05C18.09 16.49 17.98 16.86 17.77 17.16C17.56 17.46 17.3 17.69 17 17.85V17.93C17.4 18.09 17.73 18.35 17.99 18.7C18.25 19.04 18.38 19.46 18.38 19.94C18.38 20.42 18.25 20.86 18.01 21.23C17.76 21.61 17.43 21.91 17 22.13C16.56 22.34 16.08 22.45 15.54 22.45C14.92 22.46 14.34 22.28 13.81 21.92Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M21.37 15.8L20.03 16.78L19.35 15.75L21.78 14H22.71V22.26H21.37V15.8Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M25.1 31.5L31.5 25.1L28.3 23.68L25.1 25.1L23.68 28.3L25.1 31.5Z`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M9.47 28.3L10.89 31.5H25.1V25.11H10.89L9.47 28.3Z`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M6.63 4.5C5.45 4.5 4.5 5.45 4.5 6.63V25.1L7.7 26.53L10.89 25.1V10.89H25.11L26.53 7.7L25.11 4.5H6.63Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M4.5 25.11V29.37C4.5 30.55 5.45 31.5 6.63 31.5H10.89V25.11H4.5Z`,fill:`#188038`}),(0,d.jsx)(`path`,{d:`M25.1 10.89V25.11H31.5V10.89L28.3 9.47L25.1 10.89Z`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M31.5 10.89V6.63C31.5 5.45 30.54 4.5 29.37 4.5H25.1V10.89H31.5Z`,fill:`#1967D2`})]})}function Mr(e){let t=`jira-gradient-0`,n=`jira-gradient-1`;return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...e,children:[(0,d.jsx)(`path`,{d:`M16.42 3H9.68C9.68 4.68 11.04 6.04 12.72 6.04H13.96V7.24C13.96 8.92 15.32 10.28 17 10.28V3.58C17 3.26 16.74 3 16.42 3Z`,fill:`#2684FF`}),(0,d.jsx)(`path`,{d:`M13.08 6.36H6.34C6.34 8.04 7.7 9.4 9.38 9.4H10.62V10.6C10.62 12.28 11.98 13.64 13.66 13.64V6.94C13.66 6.62 13.4 6.36 13.08 6.36Z`,fill:`url(#${t})`}),(0,d.jsx)(`path`,{d:`M9.74 9.72H3C3 11.4 4.36 12.76 6.04 12.76H7.28V13.96C7.28 15.64 8.64 17 10.32 17V10.3C10.32 9.98 10.06 9.72 9.74 9.72Z`,fill:`url(#${n})`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:t,x1:`16.73`,y1:`3.02`,x2:`11.22`,y2:`8.67`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]}),(0,d.jsxs)(`linearGradient`,{id:n,x1:`10.37`,y1:`9.75`,x2:`7.06`,y2:`12.97`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]})]})]})}function Nr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M31.5 11.93V9.35C31.5 6.67 29.33 4.5 26.65 4.5H9.35C6.67 4.5 4.5 6.67 4.5 9.35V11.93H31.5Z`,fill:`url(#paint0_linear_5796_19583)`}),(0,d.jsx)(`path`,{d:`M4.5 11.91V26.65C4.5 29.33 6.67 31.5 9.35 31.5H26.65C29.33 31.5 31.5 29.33 31.5 26.65V11.91H4.5Z`,fill:`url(#paint1_linear_5796_19583)`}),(0,d.jsx)(`g`,{filter:`url(#filter0_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 25.5176C19.0579 25.5176 19.9004 24.6751 19.9004 23.6358C19.9004 22.5964 19.0579 21.7539 18.0186 21.7539C16.9793 21.7539 16.1367 22.5964 16.1367 23.6358C16.1367 24.6751 16.9793 25.5176 18.0186 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter1_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 25.5176C12.638 25.5176 13.4805 24.6751 13.4805 23.6358C13.4805 22.5964 12.638 21.7539 11.5987 21.7539C10.5593 21.7539 9.7168 22.5964 9.7168 23.6358C9.7168 24.6751 10.5593 25.5176 11.5987 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter2_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 19.5C19.0579 19.5 19.9004 18.6575 19.9004 17.6182C19.9004 16.5789 19.0579 15.7363 18.0186 15.7363C16.9793 15.7363 16.1367 16.5789 16.1367 17.6182C16.1367 18.6575 16.9793 19.5 18.0186 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter3_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M24.4385 19.5C25.4778 19.5 26.3203 18.6575 26.3203 17.6182C26.3203 16.5789 25.4778 15.7363 24.4385 15.7363C23.3992 15.7363 22.5566 16.5789 22.5566 17.6182C22.5566 18.6575 23.3992 19.5 24.4385 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter4_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 19.5C12.638 19.5 13.4805 18.6575 13.4805 17.6182C13.4805 16.5789 12.638 15.7363 11.5987 15.7363C10.5593 15.7363 9.7168 16.5789 9.7168 17.6182C9.7168 18.6575 10.5593 19.5 11.5987 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`filter`,{id:`filter0_d_5796_19583`,x:`14.4916`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter1_d_5796_19583`,x:`8.07168`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter2_d_5796_19583`,x:`14.4916`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter3_d_5796_19583`,x:`20.9115`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter4_d_5796_19583`,x:`8.07168`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19583`,x1:`4.5`,y1:`8.21`,x2:`31.38`,y2:`10.12`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#0879D1`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#056EC9`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19583`,x1:`18`,y1:`11.91`,x2:`18`,y2:`31.5`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#44CBFD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#1195EA`})]})]})]})}function Pr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`mask`,{id:`mask0_5796_22925`,style:{maskType:`luminance`},maskUnits:`userSpaceOnUse`,x:`5`,y:`5`,width:`26`,height:`26`,children:(0,d.jsx)(`path`,{d:`M30.38 5.63H5.63V30.38H30.38V5.63Z`,fill:`white`})}),(0,d.jsxs)(`g`,{mask:`url(#mask0_5796_22925)`,children:[(0,d.jsx)(`path`,{d:`M27.74 7.17H14.45C13.85 7.17 13.36 7.66 13.36 8.26V9.49L20.85 11.81L28.83 9.49V8.26C28.83 7.66 28.34 7.17 27.74 7.17Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M30.1 19.09C30.22 18.73 30.31 18.37 30.37 18C30.37 17.82 30.28 17.65 30.12 17.55L30.11 17.55L30.1 17.55L21.72 12.77C21.69 12.75 21.65 12.73 21.61 12.71C21.28 12.55 20.9 12.55 20.58 12.71C20.54 12.73 20.5 12.75 20.47 12.77L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18C11.88 18.37 11.97 18.73 12.08 19.09L20.97 25.59L30.1 19.09Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H18.77L17.21 11.81L18.77 14.13L24.19 18.77H28.83V14.13L24.19 9.49Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{d:`M13.36 9.49H18.77V14.13H13.36V9.49Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H28.83V14.13H24.19V9.49Z`,fill:`#50D9FF`}),(0,d.jsx)(`path`,{d:`M24.19 18.77L18.77 14.13H13.36V18.77L18.77 23.41L27.15 24.78L24.19 18.77Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M18.77 14.13H24.19V18.77H18.77V14.13Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M13.36 18.77H18.77V23.42H13.36V18.77Z`,fill:`#064A8C`}),(0,d.jsx)(`path`,{d:`M24.19 18.77H28.83V23.42H24.19V18.77Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{opacity:`0.5`,d:`M21.24 25.13L12.12 18.48L12.5 17.81C12.5 17.81 20.81 22.54 20.94 22.61C21.04 22.65 21.16 22.65 21.26 22.6L29.72 17.78L30.1 18.46L21.24 25.13Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M30.12 18.45L30.11 18.45L30.11 18.45L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67V18C30.38 18.18 30.28 18.35 30.12 18.45Z`,fill:`#1490DF`}),(0,d.jsx)(`path`,{opacity:`0.05`,d:`M30.38 27.67V27.1L22.66 22.7L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M30.34 27.97L21.87 23.14L21.72 23.23C21.38 23.45 20.96 23.48 20.59 23.3L23.51 27.22L29.9 28.61V28.61C30.11 28.45 30.27 28.22 30.34 27.97Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M12.08 18.46V18.45H12.08L12.05 18.43C11.9 18.34 11.81 18.18 11.81 18V27.67C11.81 28.31 12.33 28.83 12.97 28.83C12.97 28.83 12.97 28.83 12.97 28.83H29.21C29.31 28.83 29.41 28.81 29.5 28.79C29.55 28.78 29.6 28.77 29.64 28.75C29.66 28.74 29.67 28.74 29.69 28.73C29.75 28.7 29.81 28.67 29.86 28.63C29.88 28.62 29.89 28.62 29.9 28.6L12.08 18.46Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.55 24.7V12.07C19.55 11.5 19.08 11.04 18.52 11.04H13.38V16.81L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18V25.73H18.52C19.08 25.73 19.55 25.27 19.55 24.7Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 25.48V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V26.51H17.74C18.31 26.51 18.77 26.04 18.77 25.48Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 23.93V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H17.74C18.31 24.96 18.77 24.5 18.77 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18 23.93V12.84C18 12.27 17.54 11.81 16.97 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H16.97C17.54 24.96 18 24.5 18 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M6.66 11.81H16.97C17.54 11.81 18 12.27 18 12.84V23.16C18 23.72 17.54 24.19 16.97 24.19H6.66C6.09 24.19 5.63 23.72 5.63 23.16V12.84C5.63 12.27 6.09 11.81 6.66 11.81Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M8.62 16.04C8.89 15.46 9.33 14.97 9.89 14.64C10.5 14.29 11.2 14.11 11.91 14.13C12.56 14.12 13.21 14.28 13.77 14.61C14.31 14.93 14.73 15.4 15.01 15.95C15.31 16.57 15.45 17.24 15.44 17.92C15.46 18.64 15.3 19.34 15 19.99C14.72 20.56 14.27 21.05 13.72 21.37C13.13 21.71 12.46 21.88 11.79 21.87C11.12 21.88 10.46 21.72 9.88 21.38C9.34 21.06 8.9 20.6 8.62 20.04C8.33 19.43 8.17 18.77 8.19 18.09C8.17 17.38 8.32 16.68 8.62 16.04ZM9.97 19.33C10.12 19.7 10.36 20.02 10.68 20.26C11.01 20.49 11.4 20.6 11.8 20.59C12.23 20.61 12.64 20.49 12.99 20.25C13.31 20.01 13.55 19.69 13.69 19.32C13.84 18.91 13.91 18.47 13.91 18.03C13.91 17.59 13.84 17.15 13.7 16.73C13.57 16.35 13.34 16.02 13.03 15.77C12.69 15.52 12.27 15.39 11.85 15.4C11.44 15.39 11.04 15.51 10.71 15.74C10.38 15.98 10.13 16.3 9.98 16.67C9.64 17.53 9.64 18.48 9.97 19.33Z`,fill:`white`})]})]})}function Fr(e){return(0,d.jsxs)(X,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M16.81,9.54c0,1.39-.16,2.63-.47,4.02-.47,2.01-1.87,3.4-3.9,3.87-2.65.62-5.46.62-8.12,0-1.87-.46-3.44-2.01-3.75-3.87-.31-1.39-.47-2.79-.47-4.02,0-1.39.16-2.63.47-4.02.47-2.01,1.87-3.4,3.9-3.87,1.25-.31,2.65-.46,4.06-.46s2.65.15,4.06.46c2.03.46,3.44,1.86,3.9,3.87.16,1.24.31,2.63.31,4.02Z`,fill:`#8aaad9`}),(0,d.jsx)(`path`,{d:`M13.64,8.61c2.35,0,4.25-1.91,4.25-4.26S15.99.1,13.64.1s-4.25,1.91-4.25,4.26,1.9,4.26,4.25,4.26Z`,fill:`#4063ae`})]})}function Ir(e){return(0,d.jsxs)(X,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M5.26 10.79C5.29 11.53 4.7 12.17 3.96 12.19C3.21 12.22 2.58 11.64 2.55 10.89C2.52 10.14 3.11 9.51 3.86 9.48L5.21 9.43L5.26 10.79Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M5.95 10.76C5.92 10.01 6.51 9.38 7.25 9.35C8 9.33 8.63 9.91 8.66 10.66L8.79 14.06C8.81 14.8 8.23 15.44 7.48 15.46C6.73 15.49 6.1 14.9 6.07 14.16L5.95 10.76Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M7.1 5.26C6.35 5.29 5.72 4.7 5.69 3.96C5.67 3.21 6.25 2.58 7 2.55C7.75 2.52 8.38 3.11 8.41 3.86L8.46 5.21L7.1 5.26Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M7.13 5.95C7.87 5.92 8.51 6.51 8.53 7.25C8.56 8 7.97 8.63 7.23 8.66L3.83 8.79C3.08 8.82 2.45 8.23 2.42 7.48C2.4 6.73 2.98 6.1 3.73 6.07L7.13 5.95Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M12.62 7.1C12.6 6.35 13.18 5.72 13.93 5.69C14.68 5.67 15.31 6.25 15.34 7C15.37 7.75 14.78 8.38 14.03 8.41L12.68 8.46L12.62 7.1Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M11.94 7.13C11.97 7.87 11.38 8.51 10.63 8.53C9.89 8.56 9.25 7.97 9.23 7.23L9.1 3.83C9.07 3.08 9.66 2.45 10.41 2.42C11.15 2.4 11.78 2.98 11.81 3.73L11.94 7.13Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M10.79 12.63C11.53 12.6 12.17 13.18 12.19 13.93C12.22 14.68 11.63 15.31 10.89 15.34C10.14 15.37 9.51 14.78 9.48 14.03L9.43 12.68L10.79 12.63Z`,fill:`#ECB22E`}),(0,d.jsx)(`path`,{d:`M10.76 11.94C10.01 11.97 9.38 11.38 9.35 10.63C9.33 9.89 9.91 9.26 10.66 9.23L14.06 9.1C14.8 9.07 15.44 9.66 15.46 10.41C15.49 11.15 14.9 11.79 14.16 11.81L10.76 11.94Z`,fill:`#ECB22E`})]})}function Lr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_19548)`,children:[(0,d.jsx)(`path`,{d:`M23.33 14.85H30.31C30.97 14.85 31.5 15.39 31.5 16.05V22.42C31.5 24.84 29.54 26.81 27.12 26.81H27.09C24.67 26.81 22.71 24.84 22.71 22.42V15.48C22.71 15.13 22.99 14.85 23.33 14.85Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M28.05 13.59C29.61 13.59 30.87 12.33 30.87 10.76C30.87 9.2 29.61 7.93 28.05 7.93C26.49 7.93 25.22 9.2 25.22 10.76C25.22 12.33 26.49 13.59 28.05 13.59Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M19.26 13.6C21.51 13.6 23.34 11.76 23.34 9.51C23.34 7.25 21.51 5.42 19.26 5.42C17 5.42 15.17 7.25 15.17 9.51C15.17 11.76 17 13.6 19.26 13.6Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{d:`M24.7 14.85H13.19C12.54 14.87 12.02 15.41 12.04 16.06V23.33C11.94 27.24 15.04 30.49 18.94 30.59C22.85 30.49 25.94 27.24 25.85 23.33V16.06C25.86 15.41 25.35 14.87 24.7 14.85Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5704 14.8545V25.0293C19.5673 25.4958 19.2851 25.915 18.8546 26.0927C18.7175 26.1508 18.5702 26.1807 18.4213 26.1808H12.588C12.5064 25.9731 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H19.5704Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V25.6585C18.9424 25.8077 18.9126 25.9553 18.8546 26.0927C18.6773 26.5241 18.259 26.8069 17.7934 26.81H12.8832C12.7764 26.6023 12.676 26.3947 12.588 26.1808C12.5001 25.9668 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V24.4C18.9377 25.034 18.426 25.5467 17.7934 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1845 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3145 14.8545V24.4C18.3098 25.034 17.7981 25.5467 17.1655 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.3145Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5694 11.6017V13.5838C19.4627 13.5901 19.3622 13.5964 19.2555 13.5964C19.1487 13.5964 19.0483 13.5901 18.9415 13.5838C18.7296 13.5697 18.5194 13.536 18.3136 13.4831C17.0421 13.1814 15.9916 12.2877 15.488 11.0794C15.4014 10.8765 15.3341 10.6658 15.2871 10.4502H18.4204C19.054 10.4526 19.567 10.9667 19.5694 11.6017Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9418 12.2296V13.5825C18.7298 13.5684 18.5196 13.5347 18.3139 13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.7927C18.4263 11.0805 18.9394 11.5947 18.9418 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3139 12.2296V13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.1648C17.7984 11.0805 18.3115 11.5947 18.3139 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M5.65 11.08H17.16C17.8 11.08 18.31 11.59 18.31 12.23V23.77C18.31 24.4 17.8 24.92 17.16 24.92H5.65C5.02 24.92 4.5 24.4 4.5 23.77V12.23C4.5 11.59 5.02 11.08 5.65 11.08Z`,fill:`url(#paint0_linear_5796_19548)`}),(0,d.jsx)(`path`,{d:`M14.44 15.47H12.14V21.75H10.67V15.47H8.38V14.25H14.44V15.47Z`,fill:`white`})]}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19548`,x1:`6.9`,y1:`10.18`,x2:`15.94`,y2:`25.81`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#5A62C3`}),(0,d.jsx)(`stop`,{offset:`0.5`,stopColor:`#4D55BD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#3940AB`})]}),(0,d.jsx)(`clipPath`,{id:`clip0_5796_19548`,children:(0,d.jsx)(`rect`,{width:`27`,height:`25.1695`,fill:`white`,transform:`translate(4.5 5.41504)`})})]})]})}function Rr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z`,fill:`currentColor`,...e})})}function zr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M4 8L6.5 10.5L12 5`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function Br({...e}){return(0,d.jsx)(X,{viewBox:`0 0 28 28`,...e,children:(0,d.jsx)(`circle`,{cx:`14`,cy:`14`,r:`10.5`,stroke:`currentColor`,strokeWidth:`1.5`})})}function Vr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M8.82 13.55L14.42 7.94L13.54 7.06L8.82 11.79L6.44 9.41L5.56 10.29L8.82 13.55ZM10 17.92C8.91 17.92 7.88 17.71 6.91 17.29C5.95 16.88 5.11 16.31 4.4 15.6C3.69 14.89 3.12 14.05 2.71 13.09C2.29 12.13 2.08 11.1 2.08 10C2.08 8.91 2.29 7.88 2.71 6.91C3.12 5.95 3.69 5.11 4.4 4.4C5.11 3.69 5.95 3.12 6.91 2.71C7.88 2.29 8.9 2.08 10 2.08C11.09 2.08 12.12 2.29 13.09 2.71C14.05 3.12 14.89 3.69 15.6 4.4C16.31 5.11 16.88 5.95 17.29 6.91C17.71 7.87 17.92 8.9 17.92 10C17.92 11.09 17.71 12.12 17.29 13.09C16.88 14.05 16.31 14.89 15.6 15.6C14.89 16.31 14.05 16.88 13.09 17.29C12.13 17.71 11.1 17.92 10 17.92ZM10 16.67C11.86 16.67 13.44 16.02 14.73 14.73C16.02 13.44 16.67 11.86 16.67 10C16.67 8.14 16.02 6.56 14.73 5.27C13.44 3.98 11.86 3.33 10 3.33C8.14 3.33 6.56 3.98 5.27 5.27C3.98 6.56 3.33 8.14 3.33 10C3.33 11.86 3.98 13.44 5.27 14.73C6.56 16.02 8.14 16.67 10 16.67Z`,fill:`currentColor`,...e})})}function Hr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z`,fill:`currentColor`,...e})})}function Ur({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M3.72,11.13c0-1.23.27-2.35.82-3.33.54-.99,1.16-1.84,1.85-2.56.69-.72,1.35-1.29,1.98-1.73.63-.44,1.04-.72,1.21-.84v2.01c0,.65.22,1.16.65,1.53.43.38.92.56,1.46.56.25,0,.49-.05.72-.14.23-.09.45-.24.65-.43l.37-.37c.86.56,1.55,1.31,2.07,2.25.52.93.78,1.95.78,3.05,0,1.25-.33,2.38-1,3.38-.66,1-1.53,1.75-2.58,2.24.27-.3.48-.64.63-1.01.15-.38.23-.78.23-1.21,0-.47-.09-.91-.27-1.33-.18-.42-.43-.8-.76-1.13l-2.53-2.47-2.51,2.47c-.34.34-.6.72-.78,1.13-.18.42-.27.86-.27,1.33,0,.43.08.84.23,1.21.15.38.36.72.63,1.01-1.06-.49-1.92-1.23-2.58-2.24-.66-1-1-2.13-1-3.38ZM10,11.33l1.63,1.6c.22.22.38.46.5.72.11.27.17.55.17.86,0,.62-.22,1.16-.67,1.6-.45.44-.99.66-1.63.66s-1.18-.22-1.63-.66c-.45-.44-.67-.97-.67-1.6,0-.29.06-.58.17-.85.11-.27.28-.52.5-.74l1.63-1.6Z`,fill:`currentColor`,...e})})}function Wr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M5,11.09c0,.84.2,1.62.6,2.34.4.72.95,1.31,1.65,1.75-.06-.12-.11-.23-.13-.35-.03-.12-.04-.24-.04-.37,0-.39.07-.75.22-1.09.15-.34.36-.65.64-.93l2.06-2.02,2.07,2.02c.28.28.49.59.63.93.15.34.22.7.22,1.09,0,.13-.01.25-.04.37-.03.12-.07.23-.13.35.7-.44,1.25-1.03,1.65-1.75.4-.72.6-1.5.6-2.34,0-.69-.13-1.35-.39-1.97-.26-.62-.63-1.17-1.11-1.66-.28.18-.57.32-.87.41-.31.09-.62.14-.94.14-.87,0-1.62-.28-2.25-.85-.63-.57-.99-1.28-1.09-2.12-.54.45-1.02.93-1.44,1.42-.42.49-.77,1-1.05,1.51-.28.51-.5,1.03-.65,1.56-.15.53-.22,1.05-.22,1.57ZM10,12.17l-1.19,1.17c-.15.15-.27.33-.35.52-.08.19-.12.4-.12.6,0,.44.16.83.49,1.15.33.32.72.48,1.18.48s.85-.16,1.18-.48c.33-.32.49-.7.49-1.15,0-.22-.04-.43-.12-.61s-.2-.36-.35-.51l-1.19-1.17ZM9.58,2.66v2c0,.59.2,1.08.61,1.48.41.4.9.6,1.49.6.26,0,.5-.05.73-.14.23-.1.44-.24.64-.42l.37-.37c.88.56,1.57,1.31,2.07,2.25.5.94.76,1.95.76,3.02,0,1.74-.61,3.22-1.82,4.43-1.21,1.21-2.69,1.82-4.43,1.82s-3.22-.61-4.43-1.82c-1.21-1.21-1.82-2.69-1.82-4.43,0-1.61.52-3.16,1.57-4.65,1.05-1.49,2.47-2.75,4.26-3.77Z`,fill:`currentColor`,...e})})}function Gr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z`,fill:`currentColor`,...e})})}function Kr({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M9.45,9.14c.68,1.74,2.12,3.11,3.93,3.76-1.81.65-3.26,2.02-3.93,3.76-.68-1.74-2.12-3.11-3.93-3.76,1.81-.65,3.26-2.03,3.93-3.76Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M12.6,4.96c.39.83,1.05,1.5,1.88,1.88-.83.39-1.5,1.05-1.88,1.88-.39-.83-1.05-1.5-1.88-1.88.83-.39,1.5-1.05,1.88-1.88Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M7.87,3.34c.3.61.8,1.1,1.4,1.4-.61.3-1.1.8-1.4,1.4-.3-.61-.8-1.1-1.4-1.4.61-.3,1.1-.8,1.4-1.4Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e})]})}function qr({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M9.45,9.14c.68,1.74,2.12,3.11,3.93,3.76-1.81.65-3.26,2.02-3.93,3.76-.68-1.74-2.12-3.11-3.93-3.76,1.81-.65,3.26-2.03,3.93-3.76Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M12.6,4.96c.39.83,1.05,1.5,1.88,1.88-.83.39-1.5,1.05-1.88,1.88-.39-.83-1.05-1.5-1.88-1.88.83-.39,1.5-1.05,1.88-1.88Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M7.87,3.34c.3.61.8,1.1,1.4,1.4-.61.3-1.1.8-1.4,1.4-.3-.61-.8-1.1-1.4-1.4.61-.3,1.1-.8,1.4-1.4Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e})]})}function Jr({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M5 11.67C5 12.51 5.2 13.29 5.6 14.01C6 14.73 6.55 15.32 7.26 15.76C7.19 15.64 7.15 15.53 7.12 15.41C7.1 15.29 7.08 15.17 7.08 15.04C7.08 14.66 7.16 14.29 7.31 13.95C7.45 13.61 7.67 13.3 7.94 13.03L10 11L12.07 13.03C12.34 13.3 12.55 13.61 12.7 13.95C12.84 14.29 12.92 14.66 12.92 15.04C12.92 15.17 12.9 15.29 12.88 15.41C12.85 15.53 12.81 15.64 12.74 15.76C13.45 15.32 14 14.73 14.4 14.01C14.8 13.29 15 12.51 15 11.67C15 10.97 14.87 10.32 14.61 9.7C14.36 9.08 13.99 8.53 13.5 8.04C13.22 8.22 12.93 8.36 12.63 8.45C12.32 8.54 12.01 8.58 11.69 8.58C10.82 8.58 10.07 8.3 9.44 7.73C8.81 7.16 8.45 6.45 8.35 5.61C7.81 6.06 7.33 6.53 6.92 7.03C6.5 7.52 6.15 8.02 5.86 8.54C5.58 9.05 5.36 9.57 5.22 10.1C5.07 10.62 5 11.15 5 11.67ZM10 12.75L8.81 13.92C8.66 14.07 8.54 14.24 8.46 14.44C8.38 14.63 8.33 14.83 8.33 15.04C8.33 15.49 8.5 15.87 8.82 16.19C9.15 16.51 9.54 16.67 10 16.67C10.46 16.67 10.85 16.51 11.18 16.19C11.5 15.87 11.67 15.49 11.67 15.04C11.67 14.82 11.63 14.61 11.54 14.43C11.46 14.24 11.34 14.07 11.19 13.92L10 12.75ZM9.58 3.25V5.25C9.58 5.84 9.79 6.33 10.19 6.73C10.6 7.13 11.1 7.33 11.69 7.33C11.94 7.33 12.19 7.29 12.42 7.19C12.65 7.09 12.86 6.95 13.05 6.76L13.42 6.39C14.3 6.96 14.99 7.71 15.49 8.64C16 9.58 16.25 10.59 16.25 11.67C16.25 13.41 15.64 14.89 14.43 16.1C13.22 17.31 11.74 17.92 10 17.92C8.26 17.92 6.78 17.31 5.57 16.1C4.36 14.89 3.75 13.41 3.75 11.67C3.75 10.06 4.27 8.51 5.32 7.02C6.37 5.53 7.79 4.27 9.58 3.25Z`,fill:`currentColor`,...e}),(0,d.jsx)(`line`,{x1:`17.8311`,y1:`3.53033`,x2:`2.83111`,y2:`18.5303`,stroke:`currentColor`,strokeWidth:`1.5`})]})}function Yr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z`,fill:`currentColor`,...e})})}function Xr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M10.77 1.78L17.32 5.69C17.5 5.81 17.65 5.97 17.76 6.16C17.86 6.36 17.92 6.57 17.92 6.79V15.58C17.92 16 17.77 16.35 17.48 16.65C17.19 16.94 16.83 17.08 16.41 17.08H3.59C3.17 17.08 2.81 16.94 2.52 16.65C2.23 16.35 2.08 16 2.08 15.58V6.79C2.08 6.57 2.14 6.36 2.24 6.16C2.35 5.97 2.5 5.81 2.68 5.69L9.23 1.78C9.46 1.65 9.72 1.58 10 1.58C10.28 1.58 10.54 1.65 10.77 1.78ZM10.13 10.46L16.5 6.67L10.13 2.87C10.09 2.84 10.04 2.83 10 2.83C9.96 2.83 9.92 2.84 9.87 2.87L3.5 6.67L9.87 10.46C9.92 10.49 9.96 10.5 10 10.5C10.04 10.5 10.09 10.49 10.13 10.46ZM9.23 11.54L3.33 8.02V15.58C3.33 15.65 3.36 15.71 3.41 15.76C3.45 15.81 3.52 15.83 3.59 15.83H16.41C16.49 15.83 16.55 15.81 16.6 15.76C16.64 15.71 16.67 15.65 16.67 15.58V8.02L10.77 11.54C10.54 11.67 10.28 11.74 10 11.74C9.72 11.74 9.46 11.67 9.23 11.54ZM10.77 15.83H16.67H3.33H10.77Z`,fill:`currentColor`,...e})})}function Zr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M3.59 16.25C3.17 16.25 2.81 16.1 2.52 15.81C2.23 15.52 2.08 15.16 2.08 14.74V5.26C2.08 4.84 2.23 4.48 2.52 4.19C2.81 3.9 3.17 3.75 3.59 3.75H11.23C11.4 3.75 11.55 3.81 11.68 3.93C11.8 4.06 11.86 4.21 11.85 4.38C11.85 4.56 11.78 4.7 11.66 4.82C11.54 4.94 11.4 5 11.23 5H3.33V14.74C3.33 14.82 3.36 14.88 3.41 14.93C3.45 14.98 3.52 15 3.59 15H16.41C16.49 15 16.55 14.98 16.6 14.93C16.64 14.88 16.67 14.82 16.67 14.74V9.17C16.67 8.99 16.73 8.84 16.85 8.72C16.97 8.6 17.12 8.54 17.29 8.54C17.47 8.54 17.62 8.6 17.74 8.72C17.86 8.84 17.92 8.99 17.92 9.17V14.74C17.92 15.16 17.77 15.52 17.48 15.81C17.19 16.1 16.83 16.25 16.41 16.25H3.59ZM10 9.17L12.71 7.44C12.86 7.35 13.01 7.32 13.14 7.37C13.27 7.41 13.38 7.5 13.45 7.62C13.53 7.74 13.56 7.87 13.54 8C13.52 8.14 13.43 8.26 13.28 8.36L10.4 10.21C10.27 10.29 10.14 10.33 10 10.33C9.86 10.33 9.73 10.3 9.6 10.22L3.33 6.29V5L10 9.17ZM15.83 6.78C15.2 6.78 14.66 6.56 14.21 6.11C13.77 5.66 13.54 5.12 13.54 4.49C13.54 3.85 13.77 3.31 14.21 2.86C14.66 2.42 15.2 2.2 15.83 2.2C16.47 2.2 17.01 2.42 17.46 2.86C17.9 3.31 18.13 3.85 18.13 4.49C18.13 5.12 17.9 5.66 17.46 6.11C17.01 6.56 16.47 6.78 15.83 6.78Z`,fill:`currentColor`,...e})})}function Qr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z`,fill:`currentColor`,...e})})}function $r({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M6.02 17.29C6.87 16.66 7.8 16.16 8.8 15.8C9.8 15.43 10.87 15.25 12 15.25C13.13 15.25 14.2 15.43 15.2 15.8C16.2 16.16 17.13 16.66 17.98 17.29C18.6 16.61 19.09 15.82 19.45 14.92C19.82 14.02 20 13.05 20 12C20 9.78 19.22 7.9 17.66 6.34C16.1 4.78 14.22 4 12 4C9.78 4 7.9 4.78 6.34 6.34C4.78 7.9 4 9.78 4 12C4 13.05 4.18 14.02 4.55 14.92C4.91 15.82 5.4 16.61 6.02 17.29ZM12 12.75C11.09 12.75 10.32 12.44 9.69 11.81C9.06 11.18 8.75 10.41 8.75 9.5C8.75 8.59 9.06 7.82 9.69 7.19C10.32 6.56 11.09 6.25 12 6.25C12.91 6.25 13.68 6.56 14.31 7.19C14.94 7.82 15.25 8.59 15.25 9.5C15.25 10.41 14.94 11.18 14.31 11.81C13.68 12.44 12.91 12.75 12 12.75ZM12 21.5C10.68 21.5 9.44 21.25 8.29 20.76C7.13 20.26 6.13 19.58 5.27 18.73C4.42 17.87 3.74 16.87 3.24 15.71C2.75 14.56 2.5 13.32 2.5 12C2.5 10.68 2.75 9.44 3.24 8.29C3.74 7.13 4.42 6.13 5.27 5.27C6.13 4.42 7.13 3.74 8.29 3.24C9.44 2.75 10.68 2.5 12 2.5C13.32 2.5 14.56 2.75 15.71 3.24C16.87 3.74 17.87 4.42 18.73 5.27C19.58 6.13 20.26 7.13 20.76 8.29C21.25 9.44 21.5 10.68 21.5 12C21.5 13.32 21.25 14.56 20.76 15.71C20.26 16.87 19.58 17.87 18.73 18.73C17.87 19.58 16.87 20.26 15.71 20.76C14.56 21.25 13.32 21.5 12 21.5ZM12 20C12.9 20 13.77 19.85 14.61 19.56C15.45 19.27 16.19 18.87 16.84 18.35C16.19 17.84 15.46 17.45 14.64 17.17C13.82 16.89 12.94 16.75 12 16.75C11.06 16.75 10.18 16.89 9.36 17.17C8.53 17.44 7.8 17.84 7.16 18.35C7.81 18.87 8.55 19.27 9.39 19.56C10.23 19.85 11.1 20 12 20ZM12 11.25C12.5 11.25 12.91 11.08 13.25 10.75C13.58 10.41 13.75 10 13.75 9.5C13.75 9 13.58 8.59 13.25 8.25C12.91 7.92 12.5 7.75 12 7.75C11.5 7.75 11.09 7.92 10.75 8.25C10.42 8.59 10.25 9 10.25 9.5C10.25 10 10.42 10.41 10.75 10.75C11.09 11.08 11.5 11.25 12 11.25Z`,fill:`currentColor`,...e})})}function ei({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 24 24`,...t,children:[(0,d.jsx)(`circle`,{cx:`12`,cy:`8`,r:`4`,stroke:`currentColor`,strokeWidth:`2`}),(0,d.jsx)(`path`,{d:`M4 20c0-4 4-6 8-6s8 2 8 6`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,...e})]})}function ti({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.52,18h.97v-5.52h5.52v-.97h-5.52v-5.52h-.97v5.52h-5.52v.97h5.52v5.52ZM12.01,24c-1.66,0-3.22-.31-4.68-.94-1.46-.63-2.73-1.48-3.81-2.56-1.08-1.08-1.94-2.35-2.57-3.81-.63-1.46-.95-3.02-.95-4.68s.31-3.22.94-4.68c.63-1.46,1.48-2.73,2.56-3.81,1.08-1.08,2.35-1.94,3.81-2.57,1.46-.63,3.02-.95,4.68-.95s3.22.31,4.68.94c1.46.63,2.73,1.48,3.81,2.56,1.08,1.08,1.94,2.35,2.57,3.81.63,1.46.95,3.02.95,4.68s-.31,3.22-.94,4.68c-.63,1.46-1.48,2.73-2.56,3.81-1.08,1.08-2.35,1.94-3.81,2.57-1.46.63-3.02.95-4.68.95ZM12,23.03c3.08,0,5.69-1.07,7.83-3.21s3.21-4.75,3.21-7.83-1.07-5.69-3.21-7.83S15.08.97,12,.97s-5.69,1.07-7.83,3.21S.97,8.92.97,12s1.07,5.69,3.21,7.83,4.75,3.21,7.83,3.21Z`,fill:`currentColor`,...e})})}function ni({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.5 12.5H6V11.5H11.5V6H12.5V11.5H18V12.5H12.5V18H11.5V12.5Z`,fill:`currentColor`,...e})})}var ri={down:``,left:`rotate-90`,up:`-rotate-180`,right:`-rotate-90`};function ii({direction:e=`down`,className:t,pathProps:n,...r}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,className:T(ri[e],t),...r,children:(0,d.jsx)(`path`,{d:`m5 8.5 7 7 7-7`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...n})})}function ai({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M5 21V4C5 3.45 5.196 2.979 5.588 2.587C5.98 2.195 6.45 1.999 7 1.999H13C13.55 1.999 14.021 2.195 14.413 2.587C14.805 2.979 15.001 3.45 15.001 4V21H19.001V10H17.001V8H19.001C19.55 8 20.021 8.196 20.413 8.588C20.805 8.98 21.001 9.45 21.001 10V21H23.001V23H1V21H3V4C3 3.45 3.196 2.979 3.588 2.587C3.98 2.195 4.45 1.999 5 1.999V21ZM7 8H9V6H7V8ZM7 12H9V10H7V12ZM7 16H9V14H7V16ZM11 8H13V6H11V8ZM11 12H13V10H11V12ZM11 16H13V14H11V16Z`,fill:`currentColor`,...e})})}function oi({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 24 24`,...t,children:[(0,d.jsx)(`rect`,{x:`4`,y:`3`,width:`16`,height:`18`,rx:`1`,stroke:`currentColor`,strokeWidth:`2`}),(0,d.jsx)(`path`,{d:`M9 21v-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4`,stroke:`currentColor`,strokeWidth:`2`,...e}),(0,d.jsx)(`path`,{d:`M8 7h.01M12 7h.01M16 7h.01M8 11h.01M12 11h.01M16 11h.01`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,...e})]})}function si({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M5.31 21.5C4.8 21.5 4.38 21.33 4.03 20.98C3.68 20.63 3.5 20.2 3.5 19.69V6.31C3.5 5.8 3.68 5.38 4.03 5.03C4.38 4.68 4.8 4.5 5.31 4.5H6.69V2.38H8.23V4.5H15.81V2.38H17.31V4.5H18.69C19.2 4.5 19.63 4.68 19.98 5.03C20.33 5.38 20.5 5.8 20.5 6.31V19.69C20.5 20.2 20.33 20.63 19.98 20.98C19.63 21.33 19.2 21.5 18.69 21.5H5.31ZM5.31 20H18.69C18.77 20 18.84 19.97 18.9 19.9C18.97 19.84 19 19.77 19 19.69V10.31H5V19.69C5 19.77 5.03 19.84 5.1 19.9C5.16 19.97 5.23 20 5.31 20ZM5 8.81H19V6.31C19 6.23 18.97 6.16 18.9 6.1C18.84 6.03 18.77 6 18.69 6H5.31C5.23 6 5.16 6.03 5.1 6.1C5.03 6.16 5 6.23 5 6.31V8.81Z`,fill:`currentColor`,...e})})}function ci({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M7.32,24c-2.03,0-3.76-.71-5.19-2.14-1.42-1.42-2.14-3.15-2.14-5.19V7.32c0-2.03.71-3.76,2.14-5.19C3.56.71,5.29,0,7.32,0h9.35c2.03,0,3.76.71,5.19,2.14,1.42,1.42,2.14,3.15,2.14,5.19v9.35c0,2.03-.71,3.76-2.14,5.19-1.42,1.42-3.15,2.14-5.19,2.14H7.32ZM10.44,16.83l7.95-7.95-.78-.78-7.17,7.17-3.43-3.43-.78.78,4.21,4.21ZM7.32,22.91h9.35c1.71,0,3.18-.61,4.4-1.83,1.22-1.22,1.83-2.69,1.83-4.4V7.32c0-1.71-.61-3.18-1.83-4.4s-2.69-1.83-4.4-1.83H7.32c-1.71,0-3.18.61-4.4,1.83-1.22,1.22-1.83,2.69-1.83,4.4v9.35c0,1.71.61,3.18,1.83,4.4,1.22,1.22,2.69,1.83,4.4,1.83Z`,fill:`currentColor`,...e})})}function li({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M12 4L4 12M4 4L12 12`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function ui({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M6.4 18.65L5.35 17.6L10.95 12L5.35 6.4L6.4 5.35L12 10.95L17.6 5.35L18.65 6.4L13.05 12L18.65 17.6L17.6 18.65L12 13.05L6.4 18.65Z`,fill:`currentColor`,...e})})}function di({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H20.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H20.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`,...e})})}function fi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M9.06 17.5C8.55 17.5 8.13 17.33 7.78 16.98C7.43 16.63 7.25 16.2 7.25 15.69V4.31C7.25 3.8 7.43 3.38 7.78 3.03C8.13 2.68 8.55 2.5 9.06 2.5H17.44C17.95 2.5 18.38 2.68 18.73 3.03C19.08 3.38 19.25 3.8 19.25 4.31V15.69C19.25 16.2 19.08 16.63 18.73 16.98C18.38 17.33 17.95 17.5 17.44 17.5H9.06ZM9.06 16H17.44C17.52 16 17.59 15.97 17.65 15.9C17.72 15.84 17.75 15.77 17.75 15.69V4.31C17.75 4.23 17.72 4.16 17.65 4.1C17.59 4.03 17.52 4 17.44 4H9.06C8.98 4 8.91 4.03 8.85 4.1C8.78 4.16 8.75 4.23 8.75 4.31V15.69C8.75 15.77 8.78 15.84 8.85 15.9C8.91 15.97 8.98 16 9.06 16ZM5.56 21C5.05 21 4.63 20.83 4.28 20.48C3.93 20.13 3.75 19.7 3.75 19.19V6.31H5.25V19.19C5.25 19.27 5.28 19.34 5.35 19.4C5.41 19.47 5.48 19.5 5.56 19.5H15.44V21H5.56Z`,fill:`currentColor`,...e})})}function pi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12.1 21.5C10.77 21.5 9.52 21.25 8.36 20.74C7.2 20.24 6.18 19.55 5.31 18.69C4.45 17.82 3.76 16.8 3.26 15.64C2.75 14.48 2.5 13.23 2.5 11.9C2.5 9.71 3.17 7.76 4.5 6.05C5.84 4.34 7.56 3.22 9.68 2.68C9.5 4.29 9.66 5.84 10.18 7.35C10.69 8.86 11.52 10.19 12.67 11.33C13.81 12.48 15.14 13.31 16.65 13.82C18.16 14.34 19.71 14.5 21.32 14.32C20.79 16.44 19.67 18.16 17.96 19.5C16.24 20.83 14.29 21.5 12.1 21.5ZM12.1 20C13.57 20 14.93 19.63 16.18 18.9C17.43 18.17 18.41 17.16 19.13 15.87C17.69 15.74 16.33 15.38 15.05 14.78C13.77 14.19 12.62 13.39 11.6 12.37C10.58 11.35 9.78 10.2 9.18 8.92C8.58 7.64 8.22 6.28 8.1 4.85C6.82 5.57 5.81 6.55 5.09 7.81C4.36 9.07 4 10.43 4 11.9C4 14.15 4.79 16.06 6.36 17.64C7.94 19.21 9.85 20 12.1 20Z`,fill:`currentColor`,...e})})}function mi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M15.7,2.66H4.29c-.9,0-1.61.73-1.61,1.63v11.41c0,.9.71,1.63,1.61,1.63h11.42c.9,0,1.63-.73,1.63-1.63V4.3c0-.9-.73-1.63-1.63-1.63M15.7,12.44h-3.26c0,1.35-1.1,2.45-2.44,2.45s-2.44-1.09-2.44-2.45h-3.27V4.3h11.42v8.15Z`,fill:`currentColor`,...e})})}function hi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.42 17.08C4 17.08 3.64 16.94 3.35 16.65C3.06 16.35 2.91 16 2.91 15.58V4.42C2.91 4 3.06 3.65 3.35 3.35C3.64 3.06 4 2.92 4.42 2.92H9.68V4.17H4.42C4.36 4.17 4.3 4.19 4.24 4.25C4.19 4.3 4.16 4.36 4.16 4.42V15.58C4.16 15.64 4.19 15.7 4.24 15.75C4.3 15.81 4.36 15.83 4.42 15.83H15.57C15.64 15.83 15.7 15.81 15.75 15.75C15.8 15.7 15.83 15.64 15.83 15.58V10.32H17.08V15.58C17.08 16 16.93 16.35 16.64 16.65C16.35 16.94 16 17.08 15.57 17.08H4.42ZM8.1 12.78L7.22 11.9L14.95 4.17H11.66V2.92H17.08V8.33H15.83V5.04L8.1 12.78Z`,fill:`currentColor`,...e})})}function gi({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M3.08,10.22c-.05-.14-.05-.3,0-.44.96-2.9,3.7-4.99,6.92-4.99s5.95,2.09,6.92,4.98c.05.14.05.3,0,.44-.96,2.9-3.7,4.99-6.92,4.99s-5.95-2.09-6.92-4.98h0Z`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.25px`,...e}),(0,d.jsx)(`path`,{d:`M12.08,10c0,1.15-.93,2.08-2.08,2.08s-2.08-.93-2.08-2.08.93-2.08,2.08-2.08,2.08.93,2.08,2.08Z`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.25px`,...e})]})}function _i({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.79,16.03h2.91v-5.16h4.61v5.16h2.91v-7.82l-5.21-3.92-5.21,3.92v7.82ZM3.49,17.34V7.57l6.51-4.9,6.51,4.9v9.77h-5.51v-5.16h-2v5.16H3.49Z`,fill:`currentColor`,...e})})}function vi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M15.7,2.66H4.29c-.9,0-1.61.73-1.61,1.63v11.41c0,.9.71,1.63,1.61,1.63h11.42c.9,0,1.63-.73,1.63-1.63V4.3c0-.9-.73-1.63-1.63-1.63M15.7,12.44h-3.26c0,1.35-1.1,2.45-2.44,2.45s-2.44-1.09-2.44-2.45h-3.27V4.3h11.42v8.15ZM13.26,8.37h-1.63v-2.44h-3.26v2.44h-1.63l3.26,3.26,3.26-3.26Z`,fill:`currentColor`,...e})})}function yi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.25 5.21V1.52H12.75V5.21H11.25ZM17.32 7.73L16.29 6.7L18.87 4.04L19.94 5.12L17.32 7.73ZM18.79 12.75V11.25H22.48V12.75H18.79ZM11.25 22.48V18.8H12.75V22.48H11.25ZM6.7 7.69L4.04 5.13L5.13 4.07L7.74 6.68L6.7 7.69ZM18.86 19.96L16.29 17.3L17.31 16.29L19.93 18.84L18.86 19.96ZM1.52 12.75V11.25H5.21V12.75H1.52ZM5.12 19.96L4.07 18.87L6.65 16.29L7.19 16.81L7.75 17.33L5.12 19.96ZM12 17.5C10.48 17.5 9.18 16.97 8.11 15.9C7.04 14.83 6.5 13.53 6.5 12C6.5 10.48 7.03 9.18 8.1 8.11C9.17 7.04 10.47 6.5 12 6.5C13.53 6.5 14.82 7.03 15.89 8.1C16.97 9.17 17.5 10.47 17.5 12C17.5 13.53 16.97 14.82 15.9 15.89C14.83 16.97 13.53 17.5 12 17.5ZM12 16C13.1 16 14.04 15.61 14.83 14.83C15.61 14.04 16 13.1 16 12C16 10.9 15.61 9.96 14.83 9.18C14.04 8.39 13.1 8 12 8C10.9 8 9.96 8.39 9.18 9.18C8.39 9.96 8 10.9 8 12C8 13.1 8.39 14.04 9.18 14.83C9.96 15.61 10.9 16 12 16Z`,fill:`currentColor`,...e})})}function bi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.13,15.87c-.4,0-.75-.14-1.04-.43s-.43-.63-.43-1.04V5.6c0-.4.14-.75.43-1.04s.63-.43,1.04-.43h11.74c.4,0,.75.14,1.04.43s.43.63.43,1.04v8.8c0,.4-.14.75-.43,1.04s-.63.43-1.04.43H4.13ZM10,10.73l-5.87-3.67v7.34h11.74v-7.34l-5.87,3.67ZM10,9.27l5.87-3.67H4.13l5.87,3.67ZM4.13,7.07v-1.47,8.8-7.34Z`,fill:`currentColor`,...e})})}function xi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M3 8H13`,stroke:`currentColor`,strokeWidth:`1`,strokeLinecap:`round`,...e})})}function Si({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M10.5 6.23C10.5 5.82 10.65 5.47 10.94 5.17C11.23 4.88 11.59 4.73 12 4.73C12.41 4.73 12.77 4.88 13.06 5.17C13.35 5.47 13.5 5.82 13.5 6.23C13.5 6.64 13.35 7 13.06 7.29C12.77 7.58 12.41 7.73 12 7.73C11.59 7.73 11.23 7.58 10.94 7.29C10.65 7 10.5 6.64 10.5 6.23ZM10.5 12C10.5 11.59 10.65 11.23 10.94 10.94C11.23 10.65 11.59 10.5 12 10.5C12.41 10.5 12.77 10.65 13.06 10.94C13.35 11.23 13.5 11.59 13.5 12C13.5 12.41 13.35 12.77 13.06 13.06C12.77 13.35 12.41 13.5 12 13.5C11.59 13.5 11.23 13.35 10.94 13.06C10.65 12.77 10.5 12.41 10.5 12ZM10.5 17.77C10.5 17.36 10.65 17 10.94 16.71C11.23 16.42 11.59 16.27 12 16.27C12.41 16.27 12.77 16.42 13.06 16.71C13.35 17 13.5 17.36 13.5 17.77C13.5 18.18 13.35 18.54 13.06 18.83C12.77 19.12 12.41 19.27 12 19.27C11.59 19.27 11.23 19.12 10.94 18.83C10.65 18.54 10.5 18.18 10.5 17.77Z`,fill:`currentColor`,...e})})}function Ci({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.43,7.38c-.65.77-1.13,1.66-1.42,2.62.9,3.01,3.69,5.21,6.99,5.21.69,0,1.36-.1,1.99-.27M5.99,5.99c1.19-.78,2.58-1.2,4.01-1.2,3.3,0,6.09,2.2,6.99,5.21-.49,1.65-1.55,3.06-2.98,4.01M5.99,5.99l-2.24-2.24M5.99,5.99l2.53,2.53M14.01,14.01l2.24,2.24M14.01,14.01l-2.53-2.53M11.47,11.47c.81-.81.81-2.13,0-2.95s-2.13-.81-2.95,0M11.47,11.47l-2.95-2.95`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.25px`,...e})})}function wi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`,...e})})}function Ti({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function Ei({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12 20C10.891 20 9.85158 19.7913 8.88175 19.374C7.91192 18.9567 7.0645 18.3855 6.3395 17.6605C5.6145 16.9355 5.04333 16.0881 4.626 15.1183C4.20867 14.1484 4 13.109 4 12C4 10.891 4.20867 9.85158 4.626 8.88175C5.04333 7.91192 5.6145 7.0645 6.3395 6.3395C7.0645 5.6145 7.91192 5.04333 8.88175 4.626C9.85158 4.20867 10.891 4 12 4V5C10.05 5 8.39583 5.67917 7.0375 7.0375C5.67917 8.39583 5 10.05 5 12C5 13.95 5.67917 15.6042 7.0375 16.9625C8.39583 18.3208 10.05 19 12 19V20ZM16 16.2885L15.2923 15.575L18.3865 12.5H9.5V11.5H18.3673L15.2923 8.4L16 7.7115L20.2885 12L16 16.2885Z`,fill:`currentColor`,...e})})}function Di({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 24 24`,...t,children:[(0,d.jsx)(`path`,{d:`M3.5 17.6347V16.135H9.5V17.6347H3.5ZM3.5 12.7502V11.2502H13.5V12.7502H3.5ZM3.5 7.86547V6.36572H20.5V7.86547H3.5Z`,fill:`currentColor`,...e}),(0,d.jsx)(`path`,{d:`M17.12 12.22C17.87 13.84 19.23 15.13 20.91 15.85C19.23 16.57 17.87 17.86 17.13 19.48C16.38 17.86 15.02 16.57 13.34 15.85C15.02 15.13 16.38 13.84 17.12 12.22Z`,stroke:`currentColor`,strokeWidth:`1.25`,...e})]})}function Oi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`g`,{children:(0,d.jsx)(`path`,{d:`M10.07 13.93C9.49 13.34 8.96 12.72 8.48 12.07C8.01 11.42 7.59 10.72 7.21 9.99C7.05 10.31 6.94 10.63 6.87 10.97C6.81 11.31 6.77 11.65 6.77 12C6.77 13.45 7.28 14.69 8.3 15.7C9.31 16.72 10.55 17.23 12 17.23C12.34 17.23 12.68 17.19 13.03 17.11C13.37 17.04 13.7 16.93 14.01 16.78C13.28 16.41 12.58 15.99 11.93 15.51C11.28 15.04 10.66 14.51 10.07 13.93ZM11.14 12.88C11.96 13.7 12.87 14.41 13.88 15.01C14.88 15.61 15.95 16.08 17.1 16.43C16.46 17.16 15.7 17.73 14.82 18.14C13.94 18.55 13 18.75 12.02 18.75C10.14 18.75 8.55 18.1 7.24 16.79C5.93 15.48 5.27 13.88 5.27 12C5.27 11.02 5.48 10.09 5.89 9.2C6.29 8.32 6.86 7.56 7.6 6.93C7.95 8.07 8.42 9.14 9.02 10.15C9.62 11.15 10.32 12.06 11.14 12.88ZM18.3 14.49C18.05 14.43 17.81 14.36 17.56 14.28C17.32 14.2 17.08 14.11 16.84 14.02C16.98 13.7 17.08 13.37 17.15 13.03C17.22 12.7 17.25 12.35 17.25 12C17.25 10.55 16.74 9.31 15.71 8.29C14.69 7.26 13.45 6.75 12 6.75C11.65 6.75 11.3 6.78 10.96 6.85C10.63 6.91 10.3 7.01 9.98 7.15C9.89 6.91 9.8 6.68 9.73 6.44C9.66 6.21 9.6 5.97 9.53 5.72C9.93 5.56 10.33 5.45 10.75 5.37C11.17 5.29 11.59 5.25 12.02 5.25C13.9 5.25 15.5 5.91 16.81 7.21C18.12 8.52 18.77 10.12 18.77 12C18.77 12.43 18.74 12.86 18.66 13.28C18.58 13.69 18.46 14.1 18.3 14.49ZM11.25 3.13V0.44H12.75V3.13H11.25ZM11.25 23.56V20.87H12.75V23.56H11.25ZM18.8 6.26L17.74 5.19L19.62 3.33L20.69 4.38L18.8 6.26ZM4.38 20.68L3.31 19.62L5.19 17.74L6.26 18.81L4.38 20.68ZM20.86 12.75V11.25H23.56V12.75H20.86ZM0.44 12.75V11.25H3.13V12.75H0.44ZM19.62 20.69L17.74 18.81L18.8 17.74L20.67 19.62L19.62 20.69ZM5.19 6.26L3.32 4.38L4.38 3.31L6.26 5.19L5.19 6.26Z`,fill:`currentColor`,...e})})})}function ki({icon:e,label:t,action:n,className:r,...i}){return(0,d.jsxs)(`div`,{className:T(`w-fit`,r),...i,children:[e,t,n]})}function Ai({as:e,children:t,className:n,...r}){return(0,d.jsx)(e||`div`,{className:T(n),...r,children:t})}function ji({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`grid h-full grid-cols-[auto_1fr] grid-rows-[auto_auto_1fr_auto]`,t),children:e})}function Mi({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`row-span-4`,t),children:e})}function Ni({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-1`,t),children:e})}function Pi({children:e,className:t}){return(0,d.jsx)(`h3`,{className:T(`col-start-2 row-start-2`,t),children:e})}function Fi({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-3`,t),children:e})}function Ii({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-4`,t),children:e})}function Li({children:e,className:t}){let{close:n}=pr();return(0,d.jsx)(`div`,{role:`menu`,tabIndex:-1,className:T(`flex flex-col outline-none`,t),children:u.Children.map(e,e=>(0,u.cloneElement)(e,{role:`menuitem`,onClick:t=>{e.props.onClick?.(t),e.props.closeOnClick!==!1&&n()}}))})}function Ri(e){return(0,d.jsx)(Y,{...e})}function zi({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(mr,{trigger:e,...r,children:(0,d.jsx)(Li,{className:n,children:t})})}function Bi({title:e,items:t,footer:n,closeLabel:r=`Close`,defaultOpenValue:i,classNames:a}){let o=(0,u.useId)(),{close:s}=pr(),c=a??{},l=i??t[0]?.value;return(0,d.jsxs)(`div`,{className:T(`rounded-md overflow-hidden bg-white`,c.root),role:`dialog`,"aria-modal":`true`,"aria-labelledby":o,children:[(0,d.jsxs)(`header`,{className:T(`gap-2 p-4 flex shrink-0 items-center justify-between`,c.header),children:[(0,d.jsx)(`div`,{id:o,className:c.title,children:e}),(0,d.jsx)(Y,{type:`button`,onClick:s,"aria-label":r,className:c.closeButton,children:(0,d.jsx)(ui,{size:18,"aria-hidden":!0})})]}),(0,d.jsx)(`div`,{className:c.body,children:(0,d.jsx)(Cr,{type:`single`,className:c.accordion,defaultValue:l,children:e=>(0,d.jsx)(d.Fragment,{children:t.map(t=>(0,d.jsxs)(wr,{value:t.value,className:c.item,children:[(0,d.jsxs)(Tr,{value:t.value,className:T(`gap-2 p-3 flex w-full items-center justify-between`,c.itemTrigger),children:[t.label,(0,d.jsx)(ii,{size:20,direction:e.openItems.has(t.value)?`up`:`down`,className:`shrink-0 text-neutral-600`})]}),(0,d.jsx)(Er,{value:t.value,className:T(`p-3`,c.itemContent),children:t.content})]},t.value))})})}),n==null?null:(0,d.jsx)(`div`,{className:T(`p-3`,c.footer),children:n})]})}const Vi=`onboarding_dismissed`;function Hi(e){if(typeof window>`u`)return new Set;try{let t=localStorage.getItem(e);if(t==null||t===``)return new Set;let n=JSON.parse(t);return Array.isArray(n)?new Set(n.filter(e=>typeof e==`string`)):new Set}catch{return new Set}}function Ui(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];if(!t.has(i.id)&&i.isVisible(n))return{step:i,index:r}}return null}function Wi({steps:e,context:t,storageKey:n,isEnabled:r=!0,children:i}){let a=n??`onboarding_dismissed`,[o,s]=(0,u.useState)(()=>Hi(a)),[c,l]=(0,u.useState)(a);a!==c&&(l(a),s(Hi(a))),(0,u.useEffect)(()=>{if(!(typeof window>`u`))try{localStorage.setItem(a,JSON.stringify([...o]))}catch{}},[o,a]),(0,u.useEffect)(()=>{let t=new Set(e.map(e=>e.id)),n=Hi(a),r=new Set;for(let e of n)t.has(e)&&r.add(e);queueMicrotask(()=>{s(e=>e.size===r.size&&[...e].every(e=>r.has(e))?e:r)})},[e,a]);let f=(0,u.useMemo)(()=>r?Ui(e,o,t):null,[r,e,o,t]),p=f?.step??null,m=f?.index??null,h=(0,u.useCallback)(e=>{s(t=>{if(t.has(e))return t;let n=new Set(t);return n.add(e),n})},[]),g=(0,u.useCallback)(()=>{s(n=>{let r=Ui(e,n,t);if(r==null||n.has(r.step.id))return n;let i=new Set(n);return i.add(r.step.id),i})},[e,t]),_=(0,u.useCallback)(()=>{s(new Set(e.map(e=>e.id)))},[e]);return(0,d.jsx)(d.Fragment,{children:i({context:t,currentStep:p,currentStepIndex:m,dismissedStepIds:o,actions:(0,u.useMemo)(()=>({dismissCurrentStep:g,dismissStep:h,skipAll:_,close:_}),[g,h,_])})})}function Gi({content:e,className:t}){let n=tr(e);return(0,d.jsx)(`div`,{className:T(`normalized-content text-sm font-normal leading-[1.3] text-neutral-900`,t),dangerouslySetInnerHTML:{__html:n}})}function Z({className:e}){return(0,d.jsx)(`div`,{className:T(`skeleton rounded-md`,e)})}var Ki=[],qi=new Set,Ji=new Map;function Yi(e,t){t&&Ji.set(e,t),Ki=Ki.filter(t=>t.id!==e),Zi()}var Xi=new Map;function Zi(){qi.forEach(e=>e(Ki))}const Q={subscribe(e){return qi.add(e),e(Ki),()=>{qi.delete(e)}},add(e){e.key&&Xi.set(e.key,e.id),Ki=[e,...Ki],Zi()},remove(e,t){Yi(e,t)},removeAllAtPosition(e,t=`replaced`){let n=Ki.filter(t=>t.position===e).map(e=>e.id);for(let e of n)Yi(e,t)},consumePendingDismissReason(e){let t=Ji.get(e);return t!==void 0&&Ji.delete(e),t},cleanup(e){for(let[t,n]of Xi)if(n===e){Xi.delete(t);break}},getActiveToastIdByKey(e){return Xi.get(e)},update(e,t){return Ki.find(t=>t.id===e)?(Ki=Ki.map(n=>n.id===e?{...n,...t,_refreshedAt:Date.now()}:n),Zi(),!0):!1}};var Qi=200,$i=100,ea={"top-left":`top-0 left-0 items-start`,"top-center":`top-0 left-1/2 -translate-x-1/2 items-center`,"top-right":`top-0 right-0 items-end`,"bottom-left":`bottom-0 left-0 items-start`,"bottom-center":`bottom-0 left-1/2 -translate-x-1/2 items-center`,"bottom-right":`bottom-0 right-0 items-end`},ta={"top-left":`-translate-x-full`,"top-center":`-translate-y-full`,"top-right":`translate-x-full`,"bottom-left":`-translate-x-full`,"bottom-center":`translate-y-full`,"bottom-right":`translate-x-full`},na={"top-left":`place-items-start`,"top-center":`items-start justify-items-center`,"top-right":`items-start justify-items-end`,"bottom-left":`items-end justify-items-start`,"bottom-center":`items-end justify-items-center`,"bottom-right":`items-end justify-items-end`};function ra(e){return e.startsWith(`top`)}function ia(e){return typeof e==`function`}var aa=()=>()=>{},oa=()=>!0,sa=()=>!1;function ca(e){return e.reduce((e,t)=>((e[t.position]??=[]).push(t),e),{})}function la(e,t){let n=ta[t];return T(`transition-all duration-200 ease-out motion-reduce:transition-none motion-reduce:transform-none`,e?`translate-x-0 translate-y-0 opacity-100`:`opacity-0 ${n}`)}function ua(e){return e.animationState===`entering`?{...e,animationState:`visible`}:e}function da(e,t){return t&&e.animationState!==`exiting`?{...e,animationState:`exiting`}:e}function fa({toast:e,remainingTime:t,onExitComplete:n,onClose:r,onHoverStart:i,onHoverEnd:a}){let[o,s]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=requestAnimationFrame(()=>s(!0));return()=>cancelAnimationFrame(e)},[]),(0,u.useEffect)(()=>{if(e.animationState!==`exiting`)return;let t=setTimeout(()=>n(e.id),Qi);return()=>clearTimeout(t)},[e.animationState,e.id,n]);let c=(0,u.useCallback)(()=>r(e.id),[r,e.id]),l=o&&e.animationState!==`exiting`,f=ia(e.content)?e.content(c,t):e.content;return(0,d.jsx)(`div`,{className:T(`pointer-events-auto`,la(l,e.position)),onMouseEnter:i,onMouseLeave:a,children:f})}function pa(e,t){let[n,r]=(0,u.useState)(()=>new Map),i=(0,u.useRef)(new Map),a=(0,u.useRef)(null),o=(0,u.useRef)(!1),s=(0,u.useCallback)(e=>{let t=i.current.get(e);t?.timeoutId&&clearTimeout(t.timeoutId)},[]),c=(0,u.useCallback)((e,n)=>{s(e.id);let a=n??e.duration,o=Date.now(),c=window.setTimeout(()=>{t.current.set(e.id,`timeout`),Q.remove(e.id)},a);i.current.set(e.id,{timeoutId:c,startedAt:o,remainingTime:a,isPaused:!1,refreshedAt:e._refreshedAt}),r(t=>new Map(t).set(e.id,a))},[s,t]),l=(0,u.useCallback)(()=>{a.current||=window.setInterval(()=>{let e=Date.now();r(t=>{let n=new Map(t);return i.current.forEach((t,r)=>{if(!t.isPaused&&t.timeoutId){let i=e-t.startedAt;n.set(r,Math.max(0,t.remainingTime-i))}}),n})},$i)},[]),d=(0,u.useCallback)(()=>{if(o.current)return;o.current=!0;let e=Date.now();i.current.forEach((t,n)=>{t.timeoutId&&clearTimeout(t.timeoutId);let r=e-t.startedAt;i.current.set(n,{...t,timeoutId:null,remainingTime:Math.max(0,t.remainingTime-r),isPaused:!0})}),a.current&&=(clearInterval(a.current),null)},[]),f=(0,u.useCallback)(()=>{o.current&&(o.current=!1,i.current.forEach((t,n)=>{if(t.isPaused&&t.remainingTime>0){let r=e.find(e=>e.id===n);r&&c(r,t.remainingTime)}}),l())},[e,c,l]),p=(0,u.useCallback)(e=>{i.current.delete(e),r(t=>{let n=new Map(t);return n.delete(e),n})},[]);return(0,u.useEffect)(()=>{e.forEach(e=>{if(e.persistent)return;let t=i.current.get(e.id);t?t.refreshedAt!==e._refreshedAt&&c(e):c(e)}),e.some(e=>!e.persistent)&&l()},[e,c,l]),(0,u.useEffect)(()=>()=>{a.current&&clearInterval(a.current)},[]),{remainingTimes:n,pauseAll:d,resumeAll:f,cleanupTimer:p}}function ma(){let[e,t]=(0,u.useState)([]),[n,r]=(0,u.useState)([]),i=(0,u.useRef)(new Set),a=(0,u.useRef)(new Map),o=(0,u.useRef)([]),{remainingTimes:s,pauseAll:c,resumeAll:l,cleanupTimer:p}=pa(e,a);(0,u.useEffect)(()=>Q.subscribe(t),[]);let m=(0,u.useSyncExternalStore)(aa,oa,sa),h=(0,u.useCallback)(e=>{e.callbacks?.onOpen?.()},[]),g=(0,u.useCallback)((e,t)=>{t===`manual`?e.callbacks?.onClose?.():(t===`timeout`||t===`replaced`)&&e.callbacks?.onAutoClose?.(),e.callbacks?.onDismiss?.(t)},[]);(0,u.useEffect)(()=>{let t=new Set(e.map(e=>e.id)),n=new Map(e.map(e=>[e.id,e])),s=i.current;o.current.filter(e=>!t.has(e.id)&&e.animationState!==`exiting`).forEach(e=>{g(e,a.current.get(e.id)??Q.consumePendingDismissReason(e.id)??`timeout`),a.current.delete(e.id)}),r(r=>{let i=r.map(e=>{let t=n.get(e.id);return t?{...e,content:t.content,duration:t.duration}:e}).map(e=>da(e,!t.has(e.id))).map(ua),a=[...e.filter(e=>!s.has(e.id)).map(e=>(h(e),{...e,animationState:`entering`})),...i];return o.current=a,a}),i.current=t},[e,h,g]);let _=(0,u.useCallback)(e=>{r(t=>{let n=t.filter(t=>t.id!==e);return o.current=n,n}),p(e),Q.cleanup(e)},[p]),v=(0,u.useCallback)(e=>{a.current.set(e,`manual`),Q.remove(e)},[]);if(!m)return null;let y=ca(n);return(0,f.createPortal)((0,d.jsx)(d.Fragment,{children:Object.entries(y).map(([e,t])=>{let n=t.filter(e=>e.singleSlot),r=t.filter(e=>!e.singleSlot),i=n.length>0?(0,d.jsx)(`div`,{className:T(`isolate inline-grid max-w-[min(100vw,100%)] grid-cols-1 grid-rows-1`,na[e]),children:n.map((e,t)=>(0,d.jsx)(`div`,{className:`col-span-full col-start-1 row-span-full row-start-1`,style:{zIndex:n.length-t},children:(0,d.jsx)(fa,{toast:e,remainingTime:s.get(e.id)??e.duration,onExitComplete:_,onClose:v,onHoverStart:c,onHoverEnd:l})},e.id))}):null,a=r.map(e=>(0,d.jsx)(fa,{toast:e,remainingTime:s.get(e.id)??e.duration,onExitComplete:_,onClose:v,onHoverStart:c,onHoverEnd:l},e.id));return(0,d.jsx)(`div`,{className:T(`gap-2 p-4 pointer-events-none fixed z-1000 flex flex-col items-end`,ea[e]),children:ra(e)?(0,d.jsxs)(d.Fragment,{children:[i,a]}):(0,d.jsxs)(d.Fragment,{children:[a,i]})},e)})}),document.body)}function ha({title:e,value:t}){return(0,d.jsxs)(`div`,{className:`flex flex-col`,children:[(0,d.jsx)(`div`,{className:`mb-1 text-sm font-semibold text-neutral-900`,children:e}),(0,d.jsx)(`div`,{className:`text-sm font-normal text-neutral-900`,children:t})]})}const ga={amber:{bg:`bg-amber-200`,text:`text-amber-700`},blue:{bg:`bg-blue-200`,text:`text-blue-700`},cyan:{bg:`bg-cyan-200`,text:`text-cyan-700`},emerald:{bg:`bg-emerald-200`,text:`text-emerald-700`},fuchsia:{bg:`bg-fuchsia-200`,text:`text-fuchsia-700`},green:{bg:`bg-green-200`,text:`text-green-700`},indigo:{bg:`bg-indigo-200`,text:`text-indigo-700`},lime:{bg:`bg-lime-200`,text:`text-lime-700`},orange:{bg:`bg-orange-200`,text:`text-orange-700`},pink:{bg:`bg-pink-200`,text:`text-pink-700`},purple:{bg:`bg-purple-200`,text:`text-purple-700`},rose:{bg:`bg-rose-200`,text:`text-rose-700`},sky:{bg:`bg-sky-200`,text:`text-sky-700`},slate:{bg:`bg-slate-200`,text:`text-slate-700`},stone:{bg:`bg-stone-200`,text:`text-stone-700`},teal:{bg:`bg-teal-200`,text:`text-teal-700`},violet:{bg:`bg-violet-200`,text:`text-violet-700`}},_a=Object.keys(ga);var va=(0,p.tv)({base:`font-semibold flex shrink-0 items-center justify-center rounded-full leading-none select-none`,variants:{size:{xs:`h-[16px] w-[16px] text-[0.5em]`,sm:`h-[20px] w-[20px] text-[0.625em]`,md:`h-[28px] w-[28px] text-[0.75em]`,lg:`h-[32px] w-[32px] text-[0.875em]`,xl:`h-[36px] w-[36px] text-[0.875em]`}},defaultVariants:{size:`sm`}});function ya(e){return ce(e.includes(`@`)?e.split(`@`)[0]:e)}function ba({name:e,size:t=`sm`,className:n}){let r=ya(e),i=ga[le(e,_a)];return(0,d.jsx)(`div`,{role:`img`,"aria-label":e,className:T(va({size:t}),i.bg,i.text,n),children:r})}var xa=(0,p.tv)({slots:{root:`gap-1 relative flex items-center rounded-full border`,text:`text-xs font-semibold truncate whitespace-nowrap`},variants:{status:{fire:{root:`border-tertiary-400 bg-tertiary-50`,text:`text-tertiary-500-variant-2`},insight:{root:`border-primary-400-variant-1 bg-primary-subtle`,text:`text-primary-600`},done:{root:`border-success-base bg-success-light`,text:`text-success-base`}}}}),Sa={fire:{icon:Wr,label:`Fire`,compact:`icon-action`,normal:`icon-label-action`},insight:{icon:qr,label:`Insight`,compact:`label-only`,normal:`icon-label`},done:{icon:Vr,label:`Done`,compact:`icon-action`,normal:`icon-label-action`}};function Ca({className:e,label:t,status:n,onAction:r,density:i=`normal`}){let[a,o]=(0,u.useState)(!1),s=i===`compact`,c=Sa[n],l=s?c.compact:c.normal,f=xa({status:n}),p=l.includes(`icon`),m=l.includes(`label`),h=l.includes(`action`)&&r;return(0,d.jsx)(ki,{className:T(f.root(),s?`h-6 w-6`:`py-1 pr-2.5 pl-2`,e),icon:p?(0,d.jsx)(c.icon,{size:16,className:T(f.text(),s&&h&&`inset-0 absolute m-auto`,s&&h&&a&&`opacity-0`)}):void 0,label:m?(0,d.jsx)(`span`,{className:T(f.text(),s&&`inset-0 absolute flex items-center justify-center text-center text-[10px]`),children:t??c.label}):void 0,action:h?(0,d.jsx)(Y,{onClick:r,"aria-label":`Dismiss status`,className:T(`group`,s?T(`inset-0 absolute m-auto transition-opacity`,a?`opacity-100`:`opacity-0`):void 0),children:(0,d.jsx)(ui,{size:16,className:T(f.text(),`group-hover:scale-90`)})}):void 0,onMouseEnter:s?()=>o(!0):void 0,onMouseLeave:s?()=>o(!1):void 0})}function wa({onPointerDown:e,onKeyDown:t,isResizing:n=!1,className:r}){return(0,d.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,"aria-label":`Resize panel`,tabIndex:0,onPointerDown:e,onKeyDown:t,className:T(`flex w-2 shrink-0 cursor-col-resize items-center justify-center transition-colors max-md:hidden`,n?`bg-primary-500/20`:`bg-neutral-100 hover:bg-primary-500/20`,r),children:(0,d.jsx)(`div`,{className:T(`h-8 w-px rounded-full transition-colors`,n?`bg-primary-500`:`bg-resize-handle-grip`)})})}function Ta({className:e}){return(0,d.jsxs)(`div`,{className:T(`gap-4 grid grid-cols-[minmax(0,1fr)_auto_auto] items-center`,e),children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(Z,{className:`h-5 w-5 rounded`}),(0,d.jsx)(Z,{className:`h-4 w-30`})]}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`}),(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(Z,{className:`m-1 h-5 w-5 rounded`}),(0,d.jsx)(Z,{className:`m-1 h-5 w-5 rounded`})]})]})}function $({icon:e,...t}){return(0,d.jsx)(Y,{...t,children:(0,u.cloneElement)(e,{"aria-hidden":!0,focusable:!1,className:T(`shrink-0`,e.props.className)})})}function Ea({className:e,...t}){return(0,d.jsx)(br,{...t,className:T(`rounded px-2 py-1 font-medium bg-neutral-700 text-[0.625em] whitespace-nowrap text-white`,e)})}function Da({totalItems:e=0,selectedItems:t=0,onSelectAll:n,actions:r,defaultDensity:i=`normal`,onDensityChange:a,className:o}){let s=e>0,c=s&&t===e,l=s&&t>0&&t<e,f=c?`All (${e})`:l?`${t}/${e} selected`:`Select all (${e})`,[p,m]=(0,u.useState)(i??`normal`),h=()=>{n(!c)};function g(e){m(e),a?.(e)}let _={fire:[{id:`fire`,tooltip:`Mark as fire`,icon:(0,d.jsx)(Wr,{size:20,className:`text-tertiary-500-variant-2`}),onClick:r.fire.on},{id:`not-fire`,tooltip:`Mark as not fire`,icon:(0,d.jsx)(Jr,{size:20,className:`text-neutral-900`}),onClick:r.fire.off}],done:[{id:`done`,tooltip:`Mark as done`,icon:(0,d.jsx)(Vr,{size:20,className:`text-success-base`}),onClick:r.done.on},{id:`not-done`,tooltip:`Mark as not done`,icon:(0,d.jsx)(Br,{size:20,className:`text-neutral-900`}),onClick:r.done.off}],read:[{id:`unread`,tooltip:`Mark as unread`,icon:(0,d.jsx)(Zr,{size:20,className:`text-primary-600-variant-1`}),onClick:r.read.on},{id:`read`,tooltip:`Mark as read`,icon:(0,d.jsx)(Xr,{size:20,className:`text-neutral-900`}),onClick:r.read.off}]},v=[{value:`normal`,tooltip:`Normal density`,icon:(0,d.jsx)(wi,{size:20})},{value:`compact`,tooltip:`Compact density`,icon:(0,d.jsx)(di,{size:20})}];return(0,d.jsxs)(`div`,{className:T(`gap-4 grid grid-cols-[minmax(0,1fr)_auto_auto] items-center`,o),children:[(0,d.jsx)(dr,{checked:c,indeterminate:l,onChange:h,icon:(0,d.jsx)(zr,{size:16,className:`text-white-variant-7`}),indeterminateIcon:(0,d.jsx)(xi,{size:12,className:`text-neutral-900`}),className:T(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`),children:f}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`,children:t>0&&(0,d.jsx)(d.Fragment,{children:Object.entries(_).map(([e,t])=>(0,d.jsx)(`div`,{className:`gap-2 px-1 flex items-center`,children:t.map(e=>(0,d.jsx)(Ea,{content:e.tooltip,className:`border-black`,children:(0,d.jsx)($,{className:`h-7 w-7 p-0`,onClick:e.onClick,icon:e.icon})},e.id))},e))})}),(0,d.jsx)(`div`,{className:`gap-2 flex items-center`,children:v.map(({value:e,tooltip:t,icon:n})=>{let r=p===e;return(0,d.jsx)(Ea,{content:t,children:(0,d.jsx)($,{className:T(`h-7 w-7 p-0 text-neutral-900`,r&&`bg-white-variant-4`),onClick:()=>g(e),icon:n,"aria-pressed":r})},e)})})]})}var Oa=(0,p.tv)({slots:{root:`gap-1 px-2 py-1 inline-flex w-fit items-center rounded-full border-[1.5px] transition-colors`,label:`gap-1 text-xs flex shrink-0 items-center whitespace-nowrap`},variants:{variant:{custom:{},fire:{},unread:{},insight:{},done:{}},selected:{false:{root:`border-neutral-300 bg-white hover:border-neutral-500-variant-4 hover:bg-neutral-100`,label:`font-semibold text-neutral-800 opacity-80 group-hover:opacity-100`},true:{root:`bg-white hover:bg-white`,label:`font-semibold text-neutral-900`}}},compoundVariants:[{variant:`custom`,selected:!0,class:{root:`border-primary-400 hover:border-primary-400`}},{variant:`fire`,selected:!0,class:{root:`border-tertiary-400 hover:border-tertiary-500`}},{variant:`unread`,selected:!0,class:{root:`border-primary-400 hover:border-primary-500`}},{variant:`insight`,selected:!0,class:{root:`border-brand-primary-100 hover:border-brand-primary-200`}},{variant:`done`,selected:!0,class:{root:`border-success-base hover:border-success-base`}}],defaultVariants:{variant:`custom`,selected:!1}}),ka={fire:{icon:Wr,selectedIcon:Ur,label:`Fire`,iconColor:`text-tertiary-500`},unread:{icon:Zr,label:`Unread`,iconColor:`text-primary-500`},insight:{icon:qr,selectedIcon:Kr,label:`Insights`,iconColor:`text-primary-600`},done:{icon:Vr,label:`Done`,iconColor:`text-success-base`}};function Aa(e,t){return typeof e==`function`?(0,d.jsx)(e,{size:20,className:t}):(0,u.cloneElement)(e,{size:e.props.size??20,className:T(t,e.props.className)})}function ja({variant:e=`custom`,label:t,count:n,selected:r=!1,icon:i,classNames:a,disabled:o,...s}){let c=!!o,l=Oa({variant:e,selected:!c&&r}),u=e===`custom`?void 0:ka[e],f=i??(u&&!c&&r&&`selectedIcon`in u&&u.selectedIcon?u.selectedIcon:u?.icon),p=t??u?.label,m=c?`text-neutral-400`:r&&u?.iconColor?u.iconColor:`text-neutral-900 opacity-60 group-hover:opacity-80`;return(0,d.jsxs)(Y,{...s,disabled:o,"aria-label":s[`aria-label`]??p,className:T(`group`,l.root(),c&&`border-neutral-300 bg-white hover:border-neutral-300`,a?.root),children:[f&&(0,d.jsx)(`span`,{className:T(`flex items-center`,a?.icon),children:Aa(f,T(`shrink-0`,m))}),p&&(0,d.jsxs)(`span`,{className:T(l.label(),c&&`font-medium text-neutral-400`,a?.label),children:[(0,d.jsx)(`span`,{children:p}),typeof n==`number`&&n>0&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:T(`font-medium`,a?.count),children:[`(`,n,`)`]})]})]})}function Ma({orientation:e=`vertical`,className:t}){let n=e===`vertical`;return(0,d.jsxs)(`div`,{className:T(`flex w-fit items-center`,n?`gap-1 flex-col`:`gap-2 flex-row`,t),children:[(0,d.jsx)(Z,{className:`size-8 rounded-full`}),(0,d.jsx)(`div`,{className:T(`gap-1 flex items-center`,n&&`text-[9px]`),children:(0,d.jsx)(Z,{className:T(`h-3`,n?`w-10`:`w-14`)})})]})}var Na=(0,p.tv)({slots:{root:`flex w-fit items-center`,bubble:`size-8 flex items-center justify-center rounded-full border-[1.5px] transition-opacity hover:opacity-70`,label:`gap-1 flex items-center transition-colors`,count:`font-normal`,icon:``},variants:{variant:{primary:{},secondary:{},minimal:{bubble:`border-none text-primary-500`,label:`text-primary-500`}},status:{active:{},inactive:{}},orientation:{vertical:{root:`gap-1 flex-col`,label:`font-semibold text-[9px]`},horizontal:{root:`gap-2 flex-row`,label:`text-xs font-semibold`}}},compoundVariants:[{variant:`primary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`}},{variant:`primary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`opacity-60`,icon:`opacity-50 grayscale`}},{variant:`secondary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`,icon:`text-success-base`}},{variant:`secondary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`text-neutral-900`}}],defaultVariants:{variant:`primary`,orientation:`vertical`,status:`active`}});function Pa(e,t=99){return e>t?`${t}+`:String(e)}function Fa(e,t){return(0,u.cloneElement)(e,{size:e.props.size??20,className:T(t,e.props.className)})}function Ia({isPressed:e,isPortalHovered:t,portalPosition:n,onMouseEnter:r,onMouseLeave:i,onToggle:a}){let o=t&&!e,s=e?`Clear`:`Only`,c=e?`Reset state`:`Activate state`;return(0,f.createPortal)((0,d.jsx)(`div`,{className:`flex`,style:{position:`fixed`,top:n.top,left:n.left,zIndex:10},children:(0,d.jsx)(Ea,{content:s,position:`right-end`,children:(0,d.jsx)(_r,{children:(0,d.jsx)(`div`,{role:`button`,tabIndex:0,"aria-pressed":e,"aria-label":c,className:`size-5 flex cursor-pointer items-center justify-center rounded-full bg-white`,onMouseEnter:r,onMouseLeave:i,onClick:a,children:(0,d.jsxs)(`div`,{className:T(`size-4 flex items-center justify-center rounded-full border`,e?`border-tertiary-500`:`border-neutral-800`),children:[o&&(0,d.jsx)(`div`,{className:`size-2 rounded-full bg-neutral-800`}),e&&(0,d.jsx)(ui,{size:12,className:`text-tertiary-500`})]})})})})}),document.body)}function La({icon:e,label:t,count:n,variant:r=`primary`,orientation:i=`vertical`,status:a=`active`,alwaysShowCount:o=!1,showToggleControl:s=!1,pressed:c,defaultPressed:l=!1,onPressedChange:f,classNames:p,...m}){let h=Na({variant:r,orientation:i,status:a}),g=(0,u.useRef)(null),[_,v]=(0,u.useState)(!1),[y,b]=(0,u.useState)(!1),[ee,x]=(0,u.useState)(l),[S,C]=(0,u.useState)(null),te=c??ee,ne=s&&(_||y||te),re=typeof n==`number`&&n>0&&(o||a===`active`);function w(e){c===void 0&&x(e),f?.(e)}return(0,u.useLayoutEffect)(()=>{if(!ne||!g.current)return;function e(){let e=g.current?.getBoundingClientRect();e&&C({top:e.top-8,left:e.right-12})}return e(),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[ne]),(0,d.jsxs)(Y,{...m,className:T(h.root(),p?.root),onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),children:[(0,d.jsxs)(`div`,{className:`relative`,children:[(0,d.jsx)(`div`,{ref:g,className:T(h.bubble(),p?.bubble),children:Fa(e,h.icon())}),ne&&S&&typeof document<`u`&&Ia({isPressed:te,isPortalHovered:y,portalPosition:S,onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),onToggle:()=>w(!te)})]}),(0,d.jsxs)(`div`,{className:T(h.label(),p?.label),children:[(0,d.jsx)(`span`,{children:t}),re&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:T(h.count(),p?.count),children:[`(`,Pa(n),`)`]})]})]})}function Ra({icon:e,label:t,className:n,selected:r,...i}){return(0,d.jsxs)(Y,{className:T(`gap-2 px-3 py-2 flex items-center justify-start bg-white hover:bg-neutral-100`,r&&`bg-primary-500 text-white hover:bg-primary-bright`,n),...i,children:[e&&(0,u.cloneElement)(e,{size:e.props.size??16,className:T(r?`text-white`:`text-neutral-600-variant-7`,e.props.className)}),(0,d.jsx)(`span`,{className:T(`text-xs font-medium transition-colors`,r?`text-white`:`text-neutral-900`),children:t})]})}function za({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(zi,{trigger:e,className:T(`mt-1 min-w-20 rounded p-0 shadow-lg overflow-hidden border border-neutral-400 bg-white`,n),...r,children:t})}function Ba({mode:e,selectedDate:t,selectedRange:n,onDateSelect:r,onRangeSelect:i}){let{close:a}=pr(),o=(0,u.useMemo)(()=>new Date,[]),[s,c]=(0,u.useState)(null),l=(0,u.useRef)(t),f=(0,u.useRef)(n),[p,m]=(0,u.useState)(()=>{let r=e===`single`?t??o:n.startDate??n.endDate??o;return{year:r.getFullYear(),month:r.getMonth()}});(0,u.useEffect)(()=>{(e===`single`&&t&&(!l.current||t.getTime()!==l.current.getTime())||e===`range`&&(n.startDate?.getTime()!==f.current.startDate?.getTime()||n.endDate?.getTime()!==f.current.endDate?.getTime()))&&queueMicrotask(()=>{if(e===`single`&&t)m({year:t.getFullYear(),month:t.getMonth()});else if(e===`range`){let e=n.startDate??n.endDate;e&&m({year:e.getFullYear(),month:e.getMonth()})}}),l.current=t,f.current=n},[e,t,n]);let h=(0,u.useMemo)(()=>ae(p.year,p.month),[p.year,p.month]);function g(t){let o=t.getMonth(),s=t.getFullYear();if((o!==p.month||s!==p.year)&&m({year:s,month:o}),e===`single`)r(t),a();else{let{startDate:e,endDate:r}=n;!e||r||C(t,e)?i({startDate:t,endDate:null}):(i({startDate:e,endDate:t}),a())}}function _(){m(e=>e.month===0?{year:e.year-1,month:11}:{year:e.year,month:e.month-1})}function v(){m(e=>e.month===11?{year:e.year+1,month:0}:{year:e.year,month:e.month+1})}let y=ie();return(0,d.jsxs)(`div`,{className:`mt-1 rounded-lg p-2 shadow-lg w-fit border border-neutral-400 bg-white`,children:[(0,d.jsxs)(`div`,{className:`mb-4 pb-2 flex items-center justify-between border-b border-neutral-400`,children:[(0,d.jsx)($,{icon:(0,d.jsx)(ii,{direction:`left`,size:20}),onClick:_,className:`hover:opacity-60`,"aria-label":`Previous month`}),(0,d.jsxs)(`div`,{className:`font-bold text-[10px] text-neutral-900`,children:[w(p.month),` `,p.year]}),(0,d.jsx)($,{icon:(0,d.jsx)(ii,{direction:`right`,size:20}),onClick:v,className:`hover:opacity-60`,"aria-label":`Next month`})]}),(0,d.jsx)(`div`,{className:`mb-2 grid grid-cols-7`,children:y.map(e=>(0,d.jsx)(`div`,{className:`p-0.5 font-bold flex items-center justify-center text-[9px] text-neutral-900`,children:e},e))}),(0,d.jsx)(`div`,{className:`grid grid-cols-7`,children:h.map(({day:r,date:i,isCurrentMonth:a})=>{let o=S(i),l=e===`single`&&t&&x(i,t),{startDate:u,endDate:f}=n,p=u&&x(i,u),m=f&&x(i,f),h=u,_=s;e===`range`&&u&&!f&&s&&!C(s,u)?(h=u,_=s):(h=null,_=null);let v=e===`range`&&(te(i,u,f)||te(i,h,_)),y=l||p||m;return(0,d.jsx)(Y,{type:`button`,onClick:()=>g(i),onMouseEnter:()=>{e===`range`&&u&&!f&&!C(i,u)&&c(i)},onMouseLeave:()=>{e===`range`&&c(null)},className:`p-0.5`,"aria-label":`Select ${b(i)}`,"aria-selected":y||void 0,children:(0,d.jsx)(`div`,{className:T(`rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors`,y&&`font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500`,v&&!y&&`font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30`,o&&!y&&!v&&`font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white`,!y&&!v&&(a?`text-neutral-900 hover:bg-neutral-300`:`text-neutral-600 hover:bg-neutral-200`)),children:r})},`${i.getFullYear()}-${i.getMonth()}-${r}`)})})]})}function Va({displayText:e,disabled:t,className:n,onClear:r}){let{close:i}=pr();function a(){r(),i()}return(0,d.jsxs)(gr,{disabled:t,className:T(`gap-1 px-2 py-1 text-xs flex items-center justify-start rounded-full border border-neutral-300 bg-white text-left text-neutral-800 transition-colors hover:border-neutral-500`,e&&`border-primary-400 hover:border-primary-500 hover:bg-primary-light`,n),children:[(0,d.jsx)(si,{size:20,className:`text-primary-600`}),(0,d.jsx)(`span`,{className:`font-semibold`,children:`Date`}),e&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(`span`,{className:`font-normal`,children:[`(`,e,`)`]}),(0,d.jsx)(_r,{children:(0,d.jsx)($,{icon:(0,d.jsx)(ui,{size:16}),onClick:a,className:`text-neutral-600 hover:opacity-70`,"aria-label":`Close`})})]})]})}function Ha({mode:e=`single`,value:t,defaultValue:n,onChange:r,disabled:i=!1,className:a}){let[o,s]=(0,u.useState)(e===`single`&&n?n:null),[c,l]=(0,u.useState)(()=>{if(e===`range`&&n){let e=n;return{startDate:e.startDate??null,endDate:e.endDate??null}}return{startDate:null,endDate:null}}),f=t!==void 0,p=e===`single`?f?t??null:o:null,m=e===`range`?f?t??{startDate:null,endDate:null}:c:{startDate:null,endDate:null};function h(t){e===`single`&&(f||s(t),r?.(t))}function g(t){e===`range`&&(f||l(t),r?.(t))}function _(){e===`single`?h(null):g({startDate:null,endDate:null})}return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(mr,{trigger:(0,d.jsx)(Va,{displayText:e===`single`?b(p):ne(m.startDate,m.endDate),disabled:i,className:a,onClear:_}),disabled:i,children:(0,d.jsx)(Ba,{mode:e,selectedDate:p,selectedRange:m,onDateSelect:h,onRangeSelect:g})})})}const Ua={normal:{style:`h-[165px]`,value:165},compact:{style:`h-[60px]`,value:60}},Wa={style:`h-[104px]`,value:104};function Ga({density:e=`normal`,className:t,style:n}){return(0,d.jsx)(Ai,{className:T(`rounded-lg p-4 w-full bg-white-variant-5`,e===`normal`?`${Ua.normal.style}`:`${Ua.compact.style}`,t),style:n,children:e===`normal`?(0,d.jsxs)(ji,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)(Mi,{children:(0,d.jsx)(Z,{className:`h-5 w-5`})}),(0,d.jsxs)(Ni,{className:`gap-2 grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center`,children:[(0,d.jsx)(Z,{className:`h-4 w-4`}),(0,d.jsx)(Z,{className:`h-4 w-24`}),(0,d.jsx)(Z,{className:`h-3 w-12`}),(0,d.jsx)(Z,{className:`h-5 w-5 rounded-full`})]}),(0,d.jsx)(Pi,{className:`h-5 flex items-center`,children:(0,d.jsx)(Z,{className:`h-4 w-48`})}),(0,d.jsxs)(Fi,{children:[(0,d.jsx)(Z,{className:`my-1 h-4 w-full`}),(0,d.jsx)(Z,{className:`my-1 h-4 w-3/4`})]}),(0,d.jsxs)(Ii,{className:`mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center`,children:[(0,d.jsx)(`div`,{className:`gap-2 flex`,children:(0,d.jsx)(Z,{className:`h-6 w-23 rounded-full`})}),(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(Z,{className:`h-6 w-6 rounded-full`}),(0,d.jsx)(Z,{className:`h-6 w-6 rounded-full`}),(0,d.jsx)(Z,{className:`h-6 w-6 rounded-full`})]})]})]}):(0,d.jsxs)(ji,{className:`gap-x-2 grid grid-cols-[auto_1fr] grid-rows-1`,children:[(0,d.jsx)(Mi,{className:`flex items-center justify-center`,children:(0,d.jsx)(Z,{className:`h-5 w-5`})}),(0,d.jsxs)(Ni,{className:`min-w-0 gap-2 flex items-center`,children:[(0,d.jsx)(Z,{className:`h-4 w-4`}),(0,d.jsx)(`div`,{className:`min-w-0 gap-2 flex items-center`,children:(0,d.jsx)(Z,{className:`h-4 w-32`})}),(0,d.jsx)(`div`,{className:`flex-1`}),(0,d.jsx)(Z,{className:`h-3 w-12`}),(0,d.jsx)(Z,{className:`h-5 w-5 rounded-full`})]})]})})}var Ka={fire:{className:`group`,icon:(0,d.jsx)(Wr,{size:20,className:`text-neutral-600 group-hover:text-tertiary-500-variant-2`})},done:{className:`group relative flex items-center justify-center w-6 h-6`,icon:(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(Br,{size:24,className:`block text-neutral-600-variant-1 group-hover:hidden`}),(0,d.jsx)(Vr,{size:24,className:`hidden text-success-base group-hover:block`})]})},link:{className:``,icon:(0,d.jsx)(hi,{size:20,className:`text-primary-500`})}},qa=(0,p.tv)({base:`rounded-lg p-4 w-full border-[1.5px] bg-white-variant-5`,variants:{tone:{default:`hover:bg-primary-light`,done:`hover:bg-success-base-variant-1`,priority:`hover:bg-tertiary-500-variant-4`},state:{unread:``,read:``,selected:``},density:{normal:Ua.normal.style,compact:Ua.compact.style}},compoundVariants:[{tone:`default`,state:`unread`,class:`border-primary-400`},{tone:`default`,state:`read`,class:`border-neutral-400`},{tone:`default`,state:`selected`,class:`border-primary-500 bg-primary-light`},{tone:`done`,state:`unread`,class:`border-primary-400`},{tone:`done`,state:`read`,class:`border-success-base-variant-2`},{tone:`done`,state:`selected`,class:`border-success-base bg-success-base-variant-1`},{tone:`priority`,state:`unread`,class:`border-tertiary-500-variant-2`},{tone:`priority`,state:`read`,class:`border-tertiary-500-variant-3`},{tone:`priority`,state:`selected`,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`}]});function Ja({checked:e,onCheckedChange:t}){return(0,d.jsx)(_r,{children:(0,d.jsx)(dr,{checked:e,onChange:t,icon:(0,d.jsx)(zr,{size:16,className:`text-white-variant-7`}),className:T(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`)})})}function Ya({statusBadges:e,density:t}){return Object.keys(e).length===0?null:(0,d.jsx)(`div`,{className:`gap-2 flex`,children:(0,d.jsx)(_r,{children:Object.keys(e).map(n=>{let r=e[n];return r?(0,d.jsx)(Ca,{status:n,label:r.label,onAction:r.onClick,density:t},n):null})})})}function Xa({actions:e,className:t}){return Object.keys(e).length===0?null:(0,d.jsx)(`div`,{className:T(`gap-2 flex`,t),children:(0,d.jsx)(_r,{children:Object.keys(e).map(t=>{let n=e[t];return n?(0,d.jsx)($,{...Ka[t],onClick:n.onClick},t):null})})})}function Za({icon:e,service:t,sender:n,title:r,content:i,timestamp:a,timestampTooltip:o,workspace:s,read:c=!1,selected:l=!1,onSelect:u,checked:f=!1,onCheckedChange:p,statusBadges:m={},actions:h={},density:g=`normal`,className:_,style:v,isPriority:y,isDone:b}){return(0,d.jsx)(Ai,{as:gr,onPress:u,className:T(qa({tone:y?`priority`:b?`done`:`default`,state:l?`selected`:c?`read`:`unread`,density:g}),_),style:v,"data-service":t,children:g===`normal`?(0,d.jsxs)(ji,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)(Mi,{children:(0,d.jsx)(Ja,{checked:f,onCheckedChange:p})}),(0,d.jsxs)(Ni,{className:`gap-2 grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center`,children:[e,(0,d.jsx)(`span`,{className:T(`min-w-0 -translate-x-0.5 text-sm font-bold truncate text-neutral-900`,c&&`font-medium`),children:n}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:a}),(0,d.jsx)(Ea,{content:s,children:(0,d.jsx)(ba,{name:s})})]}),(0,d.jsx)(Pi,{className:T(`text-sm font-bold line-clamp-1 text-neutral-900`,c&&`font-medium`),children:r}),(0,d.jsx)(Fi,{className:`min-w-0 text-sm line-clamp-2 text-neutral-900`,children:i}),(0,d.jsxs)(Ii,{className:`mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center`,children:[(0,d.jsx)(Ya,{statusBadges:m}),(0,d.jsx)(Xa,{actions:h,className:`col-start-2 justify-self-end`})]})]}):(0,d.jsxs)(ji,{className:`gap-x-2 grid grid-cols-[auto_1fr] grid-rows-1`,children:[(0,d.jsx)(Mi,{className:`flex items-center justify-center`,children:(0,d.jsx)(Ja,{checked:f,onCheckedChange:p})}),(0,d.jsxs)(Ni,{className:`min-w-0 gap-2 flex items-center`,children:[e,(0,d.jsx)(Ya,{statusBadges:m,density:g}),(0,d.jsxs)(`div`,{className:T(`min-w-0 gap-2 text-sm font-bold flex items-center whitespace-nowrap text-neutral-900`,c&&`font-medium`),children:[(0,d.jsx)(`span`,{className:`truncate`,children:n}),(0,d.jsx)(`span`,{className:`text-sm shrink-0 text-neutral-500`,children:`•`}),(0,d.jsx)(`span`,{className:`truncate`,children:r})]}),(0,d.jsx)(`div`,{className:`flex-1`}),(0,d.jsx)(Xa,{actions:h}),(0,d.jsx)(Ea,{content:o,children:(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:a})}),(0,d.jsx)(Ea,{content:s,children:(0,d.jsx)(ba,{name:s})})]})]})})}function Qa({title:e,rows:t}){return(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 text-sm flex flex-col bg-neutral-100-variant-3 text-neutral-800`,children:[e&&(0,d.jsx)(`div`,{className:`font-bold`,children:e}),(0,d.jsx)(`div`,{className:`gap-x-4 gap-y-1 grid grid-cols-[auto_1fr]`,children:t.map(({label:e,value:t})=>(0,d.jsxs)(u.Fragment,{children:[(0,d.jsxs)(`div`,{className:`font-bold`,children:[e,`:`]}),(0,d.jsx)(`span`,{className:`font-normal`,children:t})]},e))})]})}function $a({from:e,to:t,link:n,location:r}){return(0,d.jsx)(Qa,{rows:[{label:`From`,value:e},{label:`To`,value:t},{label:`Link`,value:n},{label:`Location`,value:r}]})}function eo({title:e,subtitle:t}){return(0,d.jsxs)(`div`,{className:`gap-1 min-h-14 px-4 py-3 flex flex-col justify-center bg-primary-light`,children:[(0,d.jsxs)(`p`,{className:`text-xs font-normal py-1 gap-1 flex items-center leading-[1.2] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold text-primary-500`,children:`Follow-Up:\xA0`}),e]}),t!=null&&t!==``&&(0,d.jsx)(`p`,{className:`font-normal leading-snug text-[11px] text-neutral-600`,children:t})]})}function to({priorityText:e}){return(0,d.jsxs)(`div`,{className:`min-h-14 gap-1 px-4 py-3 text-xs font-normal flex items-center bg-tertiary-50 leading-[1.2] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold text-tertiary-500`,children:`High Urgency:\xA0`}),e]})}function no({summary:e}){return(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 flex bg-neutral-100-variant-3`,children:[(0,d.jsx)(Di,{size:24}),(0,d.jsxs)(`p`,{className:`text-sm font-normal leading-[1.3] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold`,children:`Summary:\xA0`}),e]})]})}function ro({summary:e,priorityText:t,followUpTitle:n,followUpSubtitle:r,children:i,className:a}){return(0,d.jsxs)(`div`,{className:T(`flex flex-col`,a),children:[(0,d.jsxs)(`div`,{className:`top-14 sticky z-5 flex shrink-0 flex-col`,children:[t!=null&&(0,d.jsx)(to,{priorityText:t}),n!=null&&(0,d.jsx)(eo,{title:n,subtitle:r})]}),(0,d.jsxs)(`div`,{className:`gap-4 p-4 flex flex-col`,children:[e!=null&&(0,d.jsx)(no,{summary:e}),i]})]})}function io({detail:{summary:e,body:t,priorityText:n,followUpTitle:r,followUpSubtitle:i,from:a,to:o,link:s,location:c},className:l}){return(0,d.jsxs)(ro,{summary:e,priorityText:n,followUpTitle:r,followUpSubtitle:i,className:l,children:[(0,d.jsx)($a,{from:a,to:o,link:s,location:c}),(0,d.jsx)(Gi,{className:`max-w-[1260px px-4`,content:t})]})}function ao({subject:e,to:t,date:n,from:r}){return(0,d.jsx)(Qa,{rows:[{label:`Subject`,value:e},{label:`To`,value:t},{label:`Date`,value:n},{label:`From`,value:r}]})}function oo({detail:{summary:e,body:t,priorityText:n,followUpTitle:r,followUpSubtitle:i,subject:a,to:o,date:s,from:c},className:l}){return(0,d.jsxs)(ro,{summary:e,priorityText:n,followUpTitle:r,followUpSubtitle:i,className:l,children:[(0,d.jsx)(ao,{subject:a,to:o,date:s,from:c}),(0,d.jsx)(Gi,{className:`px-4 max-w-[1260px]`,content:t})]})}var so=(0,p.tv)({base:`gap-1 rounded-lg p-4 flex w-full flex-col justify-between border-[1.5px] bg-white-variant-5`,variants:{tone:{default:`hover:bg-primary-light`,priority:`hover:bg-tertiary-500-variant-4`,insight:`hover:bg-primary-light`},state:{normal:``,selected:``}},compoundVariants:[{tone:`default`,state:`normal`,class:`border-neutral-400`},{tone:`default`,state:`selected`,class:`border-neutral-600 bg-primary-light`},{tone:`priority`,state:`normal`,class:`border-tertiary-500-variant-3`},{tone:`priority`,state:`selected`,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`},{tone:`insight`,state:`normal`,class:`border-primary-500/30`},{tone:`insight`,state:`selected`,class:`border-primary-500 bg-primary-light`}]});function co(e){return e!=null&&e!==``}function lo({label:e}){return(0,d.jsxs)(`div`,{className:`h-5 gap-1 px-1.5 inline-flex shrink-0 items-center rounded-full border border-primary-400 bg-primary-light`,children:[(0,d.jsx)(qr,{size:13,className:`text-primary-500`}),(0,d.jsx)(`span`,{className:`font-semibold text-[10px] leading-none whitespace-nowrap text-primary-500`,children:e})]})}function uo({active:e,onClick:t}){return(0,d.jsx)(_r,{children:(0,d.jsx)($,{className:T(`group h-5 w-5 rounded-full border border-neutral-300 hover:border-tertiary-400 hover:bg-tertiary-50`,e&&`border-tertiary-400 bg-tertiary-50`),icon:e?(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(Ur,{size:16,className:`block text-tertiary-500-variant-2 opacity-100 group-hover:hidden group-hover:opacity-0`}),(0,d.jsx)(ui,{size:12,className:`hidden text-neutral-500 opacity-0 group-hover:block group-hover:text-tertiary-500-variant-2 group-hover:opacity-100`,strokeWidth:2})]}):(0,d.jsx)(Wr,{size:16,className:`text-neutral-500 group-hover:text-tertiary-500-variant-2`}),onClick:t,"aria-pressed":e})})}function fo({icon:e,service:t,sender:n,title:r,content:i,timestamp:a,workspace:o,selected:s=!1,onSelect:c,actions:l,className:u}){let{fire:f,insight:p,link:m}=l,h=p?.label??null;return(0,d.jsxs)(gr,{onPress:c,className:T(so({tone:f.active?`priority`:co(h)?`insight`:`default`,state:s?`selected`:`normal`}),Wa.style,u),"data-service":t,children:[(0,d.jsxs)(`div`,{className:`gap-1.5 flex items-center justify-between`,children:[e,(0,d.jsx)(`span`,{className:`min-w-0 -translate-x-0.5 text-sm font-medium truncate text-neutral-900`,children:n}),(0,d.jsx)(Ea,{content:o,children:(0,d.jsx)(ba,{name:o,size:`xs`})}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800`,children:a}),co(h)&&(0,d.jsx)(lo,{label:h}),f.onClick&&(0,d.jsx)(uo,{active:f.active,onClick:f.onClick})]}),(0,d.jsx)(`div`,{className:`text-sm font-medium line-clamp-1 text-neutral-900`,children:r}),(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(`div`,{className:`min-w-0 text-sm font-normal line-clamp-1 flex-1 text-neutral-700`,children:i}),(0,d.jsx)(Ea,{content:m.tooltip,children:(0,d.jsx)(_r,{children:(0,d.jsx)($,{type:`button`,icon:(0,d.jsx)(hi,{size:16,className:`text-neutral-800`}),className:`text-primary-500`,onClick:m.onClick})})})]})]})}function po({timestamp:e,mode:t}){return(0,d.jsxs)(`div`,{className:T(`gap-4 flex items-center px-4 py-2 -mx-4`,t===`insight`&&`bg-primary-light border-l-[3px] border-primary-500`,t===`fire`&&`bg-tertiary-50-alpha-50 border-l-[3px] border-tertiary-500`),children:[(0,d.jsx)(`div`,{className:`h-px flex-1 bg-neutral-300-variant-2`}),(0,d.jsx)(`span`,{className:`px-3 py-1 text-xs font-semibold rounded-full border border-neutral-300-variant-2 text-neutral-600`,children:e}),(0,d.jsx)(`div`,{className:`h-px flex-1 bg-neutral-300-variant-2`})]})}function mo({isPriority:e,onExternalLinkClick:t,onMarkAsFireClick:n}){return(0,d.jsxs)(d.Fragment,{children:[t&&(0,d.jsx)($,{icon:(0,d.jsx)(hi,{size:16}),className:`inline-flex shrink-0 items-center text-neutral-600 transition-colors hover:text-primary-500`,title:`Open in Slack`,"aria-label":`Open in Slack`,onClick:t}),n&&!e&&(0,d.jsx)($,{icon:(0,d.jsx)(Wr,{size:16}),className:`inline-flex shrink-0 items-center text-neutral-600 transition-colors hover:text-tertiary-500`,title:`Mark as Fire`,"aria-label":`Mark as Fire`,onClick:n})]})}function ho({content:e}){return(0,d.jsx)(`div`,{className:`text-sm leading-relaxed text-neutral-900`,children:(0,d.jsx)(Gi,{className:`max-w-[1260px]`,content:e})})}function go({replyId:e,replyCount:t}){let{openItems:n}=Sr();return(0,d.jsxs)(`div`,{className:`gap-2 p-1.5 px-2 text-xs font-medium flex items-center text-neutral-600`,children:[(0,d.jsx)(ii,{direction:n.has(`replies-${e}`)?`up`:`down`,size:12,className:`transition-transform`}),(0,d.jsxs)(`span`,{children:[t,` `,t===1?`reply`:`replies`]})]})}function _o({replies:e}){if(!e||e.length===0)return null;let t=e[0]?.id;return t?(0,d.jsx)(Cr,{className:`w-full`,type:`multiple`,defaultValue:[`replies-${t}`],children:(0,d.jsxs)(wr,{value:`replies-${t}`,className:`gap-2 flex flex-col`,children:[(0,d.jsx)(Tr,{value:`replies-${t}`,className:`rounded hover:bg-neutral-50 flex items-center justify-between transition-colors`,children:(0,d.jsx)(go,{replyId:t,replyCount:e.length})}),(0,d.jsx)(Er,{value:`replies-${t}`,className:`ml-3 gap-4 pl-4 flex flex-col border-l-2 border-neutral-500`,children:e.map(e=>(0,d.jsxs)(`div`,{className:`gap-3 flex`,children:[(0,d.jsx)(ba,{name:e.author,size:`lg`}),(0,d.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm font-semibold text-neutral-900`,children:e.author}),(0,d.jsx)(`div`,{className:`text-xs font-medium text-neutral-700`,children:e.timestamp})]}),(0,d.jsx)(ho,{content:e.body})]})]},e.id))})]})}):null}function vo({message:e,isPriority:t=!1}){return(0,d.jsx)(`div`,{className:`transition-colors`,children:(0,d.jsxs)(`div`,{className:`gap-3 flex`,children:[(0,d.jsx)(ba,{name:e.author,size:t?`xl`:`lg`}),(0,d.jsxs)(`div`,{className:`min-w-0 gap-2 flex flex-1 flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm font-semibold text-neutral-900`,children:e.author}),(0,d.jsx)(`div`,{className:`text-xs font-medium text-neutral-700`,children:e.timestamp}),(0,d.jsx)(mo,{isPriority:t,onExternalLinkClick:e.onExternalLinkClick,onMarkAsFireClick:e.onMarkAsFireClick})]}),(0,d.jsx)(ho,{content:e.body})]}),e.replies&&e.replies.length>0&&(0,d.jsx)(_o,{replies:e.replies})]})]})})}function yo({mode:e=`fire`,priorityIndex:t,priorityTotal:n,onPreviousPriority:r,onNextPriority:i}){if(!t||!n||n<=1)return null;let a=t>1,o=t<n;if(!o&&!a)return null;let s=e===`fire`?`Fire`:`Insight`,c=e===`fire`?`border-tertiary-500 text-tertiary-500 hover:bg-tertiary-50`:`border-primary-500 text-primary-500 hover:bg-primary-light`;return(0,d.jsx)(`div`,{className:`mb-3 px-2 flex justify-center`,children:(0,d.jsxs)(`div`,{className:`gap-4 flex w-full items-center justify-center`,children:[(0,d.jsx)(`div`,{className:`flex flex-1 justify-end`,children:o&&(0,d.jsxs)(Y,{className:T(`gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium flex border bg-white transition-colors`,c),"aria-label":`Previous ${s}`,onClick:r,children:[(0,d.jsx)(ii,{direction:`left`,size:14}),(0,d.jsxs)(`span`,{children:[`Previous `,s]})]})}),(0,d.jsxs)(`span`,{className:`text-xs font-medium text-neutral-700`,children:[t,` / `,n]}),(0,d.jsx)(`div`,{className:`flex-1`,children:a&&(0,d.jsxs)(Y,{className:T(`gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium flex border bg-white transition-colors`,c),"aria-label":`Next ${s}`,onClick:i,children:[(0,d.jsxs)(`span`,{children:[`Next `,s]}),(0,d.jsx)(ii,{direction:`right`,size:14})]})})]})})}function bo({title:e,mode:t,onMarkAsNotFireClick:n}){return e?(0,d.jsx)(`div`,{className:`pb-3 border-b border-neutral-200`,children:(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[t===`fire`&&n!=null?(0,d.jsx)(uo,{active:!0,onClick:n}):(0,d.jsx)(Kr,{size:16,className:`shrink-0 text-primary-500`}),(0,d.jsx)(`h4`,{className:T(`text-xs font-semibold tracking-wide`,t===`fire`?`text-tertiary-700`:`text-primary-600`),children:e})]})}):null}function xo({group:e,children:t,onPreviousPriority:n,onNextPriority:r,onMarkAsNotFireClick:i}){let a=e.isPriority?`fire`:e.isInsight?`insight`:null;return a?(0,d.jsxs)(`div`,{className:`relative scroll-mt-[180px]`,"data-group-id":e.id,children:[(0,d.jsx)(yo,{mode:a,priorityIndex:e.priorityIndex,priorityTotal:e.totalPriorityGroups,onPreviousPriority:n,onNextPriority:r}),(0,d.jsxs)(`div`,{className:T(`gap-4 rounded-r-lg p-4 relative flex flex-col border-l-[3px]`,a===`fire`?`border-tertiary-500 bg-tertiary-50-alpha-50`:`border-primary-500 bg-primary-light`),children:[(0,d.jsx)(bo,{title:a===`fire`?e.priorityText:e.insightText,mode:a,onMarkAsNotFireClick:i}),t]})]}):(0,d.jsx)(d.Fragment,{children:t})}function So({group:e,onPreviousPriority:t,onNextPriority:n}){return(0,d.jsxs)(`div`,{className:`gap-4 flex flex-col`,children:[(0,d.jsx)(po,{timestamp:e.timestamp,mode:e.separatorMode}),(0,d.jsx)(xo,{group:e,onPreviousPriority:t,onNextPriority:n,onMarkAsNotFireClick:e.messages[0]?.onMarkAsFireClick,children:e.messages.map(t=>(0,d.jsx)(vo,{message:t,isPriority:e.isPriority},t.id))})]})}function Co({detail:{groups:e,summary:t,priorityText:n,followUpTitle:r,followUpSubtitle:i},className:a}){let o=e.filter(e=>e.isPriority).length,s=e.filter(e=>!e.isPriority&&e.isInsight),c=s.reduce((e,t)=>{let n=t.insightBadgeId??t.id;return e.includes(n)||e.push(n),e},[]),l=c.length,f=new Map(s.map(e=>{let t=e.insightBadgeId??e.id,n=c.indexOf(t);return[e.id,l-n]})),p=new Set,m=new Set(s.reduce((e,t)=>{let n=t.insightBadgeId??t.id;return p.has(n)||(p.add(n),e.push(t.id)),e},[])),h=(0,u.useRef)(null),g=(0,u.useRef)(null),_=(0,u.useRef)(!1);(0,u.useEffect)(()=>{if(e.length===0||_.current)return;_.current=!0;let t=[...e].reverse().find(e=>e.isPriority),n=[...e].reverse().find(e=>!e.isPriority&&e.isInsight),r=t??n;if(r&&h.current){let e=h.current.querySelector(`[data-group-id="${r.id}"]`);if(e){e.scrollIntoView({behavior:`smooth`,block:`start`});return}}g.current?.scrollIntoView({behavior:`smooth`})},[e]);let v=o,y=(0,u.useCallback)((t,n)=>{if(!h.current)return;let r=Array.from(h.current.querySelectorAll(`[data-group-id][class*="scroll-mt"]`)),i=n===`fire`?o:l,a=r.filter(t=>{let r=t.getAttribute(`data-group-id`);if(!r)return!1;let i=e.find(e=>e.id===r);return i?n===`fire`?i.isPriority:!i.isPriority&&i.isInsight:!1});t>=1&&t<=i&&a.length===i&&a[i-t]?.scrollIntoView({behavior:`smooth`,block:`start`})},[e,o,l]);return(0,d.jsx)(ro,{summary:t,priorityText:n,followUpTitle:r,followUpSubtitle:i,className:a,children:(0,d.jsxs)(`div`,{ref:h,className:`gap-4 flex flex-col`,children:[e.map(e=>{let t=e.isPriority?`fire`:e.isInsight?`insight`:null,n=e.isPriority?v--:e.isInsight?f.get(e.id)??0:0,r=e.isPriority?o:e.isInsight?l:0,i=n&&t?()=>{let e=n+1;e<=r&&y(e,t)}:void 0,a=n&&t?()=>{let e=n-1;e>=1&&y(e,t)}:void 0,s=e.isInsight&&!e.isPriority&&!m.has(e.id);return(0,d.jsx)(So,{group:{...e,priorityIndex:n,totalPriorityGroups:r,insightText:s?void 0:e.insightText,separatorMode:s?`insight`:void 0},onPreviousPriority:i,onNextPriority:a},e.id)}),(0,d.jsx)(`div`,{ref:g,"aria-hidden":`true`})]})})}function wo({issue:e,notification:t,project:n,task:r,dueDate:i,startDate:a,assignees:o,reporter:s,team:c,location:l,related:u}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Qa,{rows:[{label:`Issue`,value:e},{label:`Notification`,value:t},{label:`Project`,value:n},{label:`Task`,value:r}]}),(0,d.jsx)(Qa,{title:`Issue`,rows:[{label:`Due Date`,value:i},{label:`Start Date`,value:a},{label:`Assignees`,value:o},{label:`Reporter`,value:s},{label:`Team`,value:c},{label:`Location`,value:l},{label:`Related`,value:u}]})]})}function To({detail:{summary:e,body:t,priorityText:n,followUpTitle:r,followUpSubtitle:i,issue:a,notification:o,project:s,task:c,dueDate:l,startDate:u,assignees:f,reporter:p,team:m,location:h,related:g},className:_}){return(0,d.jsxs)(ro,{summary:e,priorityText:n,followUpTitle:r,followUpSubtitle:i,className:_,children:[(0,d.jsx)(wo,{issue:a,notification:o,project:s,task:c,dueDate:l,startDate:u,assignees:f,reporter:p,team:m,location:h,related:g}),(0,d.jsx)(`h2`,{className:`px-4 text-sm font-bold text-neutral-900`,children:`Description`}),(0,d.jsx)(Gi,{className:`px-4 max-w-[1260px]`,content:t})]})}function Eo({icon:e,subject:t,from:n,prefixTimestamp:r,timestamp:i,isPriority:a,isOpen:o,isFirstEvent:s,isSingleEvent:c,className:l,onFireClick:f}){return(0,d.jsx)(`div`,{className:T(`h-14 min-w-0 px-4 py-2 flex w-full items-center overflow-hidden bg-white`,l),children:(0,d.jsxs)(`div`,{className:`min-w-0 gap-3 flex w-full items-center overflow-hidden`,children:[s&&(0,d.jsx)($,{icon:(0,d.jsx)(ii,{direction:`left`,size:24,className:`text-neutral-700`}),"aria-label":`Go back`,className:`rounded p-1 md:hidden hover:bg-neutral-100`}),(0,u.cloneElement)(e,{size:36}),(0,d.jsxs)(`div`,{className:`w-0 min-w-0 flex-1 overflow-hidden`,children:[(0,d.jsx)(`h3`,{className:`text-sm font-bold block truncate leading-[1.3] text-neutral-900`,children:n}),(0,d.jsx)(`div`,{className:`text-sm font-normal block truncate leading-[1.3] text-neutral-900`,children:t})]}),(0,d.jsxs)(`div`,{className:`min-w-0 gap-1 text-xs flex max-w-[180px] shrink items-center text-right leading-[1.2] tracking-[0.12px]`,children:[r!=null&&(0,d.jsx)(`span`,{className:`min-w-0 font-normal truncate text-neutral-600`,children:r}),(0,d.jsx)(`span`,{className:`font-medium shrink-0 whitespace-nowrap text-neutral-600`,children:i})]}),f!=null&&(0,d.jsx)(uo,{active:a,onClick:f}),!c&&(0,d.jsx)(`div`,{className:`gap-2 flex shrink-0 items-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(ii,{size:24,className:`text-neutral-700`,direction:o?`up`:`down`}),"aria-label":`Toggle event`,className:`rounded p-1 hover:bg-neutral-100`})}),s&&(0,d.jsx)(`div`,{className:`gap-2 md:hidden flex shrink-0 items-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(Si,{size:24,className:`text-neutral-700`}),"aria-label":`Close`,className:`rounded p-1 hover:bg-neutral-100`})})]})})}function Do({className:e}){return(0,d.jsxs)(`div`,{className:T(`w-full`,e),children:[(0,d.jsx)(Oo,{}),(0,d.jsx)(ko,{})]})}function Oo({className:e}){return(0,d.jsx)(`div`,{className:T(`h-14 px-4 py-2 flex w-full items-center bg-white`,e),children:(0,d.jsxs)(`div`,{className:`gap-4 flex w-full items-center`,children:[(0,d.jsx)(Z,{className:`h-9 w-9 rounded-full`}),(0,d.jsxs)(`div`,{className:`min-w-0 space-y-2 flex-1`,children:[(0,d.jsx)(Z,{className:`h-3 w-3/12`}),(0,d.jsx)(Z,{className:`h-3 w-9/12`})]}),(0,d.jsx)(Z,{className:`h-3 w-14`})]})})}function ko(){return(0,d.jsx)(`div`,{className:`flex flex-col`,children:(0,d.jsxs)(`div`,{className:`gap-4 p-4 flex flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 flex bg-neutral-100-variant-3`,children:[(0,d.jsx)(Z,{className:`h-6 w-6 rounded`}),(0,d.jsxs)(`div`,{className:`space-y-2 flex-1`,children:[(0,d.jsx)(Z,{className:`h-3 w-6/12`}),(0,d.jsx)(Z,{className:`h-3 w-10/12`}),(0,d.jsx)(Z,{className:`h-3 w-3/12`}),(0,d.jsx)(Z,{className:`h-3 w-7/12`})]})]}),(0,d.jsxs)(`div`,{className:`space-y-3`,children:[(0,d.jsx)(Z,{className:`h-3 w-2/12`}),(0,d.jsx)(Z,{className:`h-3 w-11/12`}),(0,d.jsx)(Z,{className:`h-3 w-10/12`}),(0,d.jsx)(Z,{className:`h-3 w-9/12`}),(0,d.jsx)(Z,{className:`h-3 w-4/12`}),(0,d.jsx)(`div`,{className:`h-3 w-full`}),(0,d.jsx)(Z,{className:`h-3 w-3/12`}),(0,d.jsx)(Z,{className:`h-3 w-11/12`}),(0,d.jsx)(Z,{className:`h-3 w-6/12`}),(0,d.jsx)(Z,{className:`h-3 w-7/12`}),(0,d.jsx)(Z,{className:`h-3 w-8/12`}),(0,d.jsx)(`div`,{className:`h-3 w-full`}),(0,d.jsx)(Z,{className:`h-3 w-5/12`}),(0,d.jsx)(Z,{className:`h-3 w-4/12`})]})]})})}var Ao={email:e=>(0,d.jsx)(oo,{detail:e.detail}),message:e=>(0,d.jsx)(Co,{detail:e.detail}),ticket:e=>(0,d.jsx)(To,{detail:e.detail}),calendar:e=>(0,d.jsx)(io,{detail:e.detail})};function jo(e){return Ao[e.type](e)}function Mo(e,t){return e.id??`${e.type}-${e.timestamp}-${t}`}function No(e){return e.type===`message`?void 0:e.onFireClick}function Po({events:e,expandedEventIndex:t}){if(e.length===0)return null;if(e.length===1){let t=e[0];return(0,d.jsxs)(`div`,{className:`min-h-0 w-full overflow-y-auto`,children:[(0,d.jsx)(Eo,{icon:t.icon,subject:t.subject,from:t.from,prefixTimestamp:t.prefixTimestamp,timestamp:t.timestamp,isPriority:t.isPriority,isOpen:!0,isFirstEvent:!0,isSingleEvent:!0,className:`top-0 sticky z-10 border-b border-neutral-400`,onFireClick:No(t)}),jo(t)]})}return(0,d.jsx)(Cr,{className:`w-full`,defaultValue:t===void 0?Mo(e[0],0):Mo(e[t],t),children:({openItems:t})=>(0,d.jsx)(d.Fragment,{children:e.map((n,r)=>{let i=Mo(n,r),a=t.has(i);return(0,d.jsxs)(wr,{value:i,children:[(0,d.jsx)(Tr,{value:i,className:`top-0 sticky z-10`,children:(0,d.jsx)(Eo,{icon:n.icon,subject:n.subject,from:n.from,prefixTimestamp:n.prefixTimestamp,timestamp:n.timestamp,isPriority:n.isPriority,isFirstEvent:r===0,isSingleEvent:!1,isOpen:a,className:`border-b border-neutral-400`,onFireClick:No(n)})}),(0,d.jsx)(Er,{value:i,className:T(r<e.length-1&&a&&`border-b border-neutral-400`),children:jo(n)})]},i)})})})}const Fo=({icon:e,title:t,description:n})=>(0,d.jsxs)(`div`,{className:`gap-3 p-4 flex w-full flex-1 flex-col items-center justify-center`,children:[(0,u.cloneElement)(e,{size:e.props.size??35,className:`text-neutral-500`}),(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col items-center justify-center`,children:[(0,d.jsx)(`h3`,{className:`text-base font-medium leading-[1.3] text-neutral-900`,children:t}),(0,d.jsx)(`p`,{className:`text-xs font-normal w-full text-center leading-[1.3] text-neutral-600`,children:n})]})]});function Io({className:e,style:t}){return(0,d.jsxs)(`div`,{className:T(`gap-1 rounded-lg p-4 flex w-full flex-col justify-between bg-white-variant-5`,Wa.style,e),style:t,children:[(0,d.jsxs)(`div`,{className:`gap-1.5 grid grid-cols-[auto_minmax(0,1fr)_auto_auto_auto_auto] items-center`,children:[(0,d.jsx)(Z,{className:`h-4 w-4`}),(0,d.jsx)(Z,{className:`h-4 max-w-40 w-full`}),(0,d.jsx)(Z,{className:`size-4 rounded-full`}),(0,d.jsx)(Z,{className:`h-3 w-12`}),(0,d.jsx)(Z,{className:`h-5 w-16 rounded-full`}),(0,d.jsx)(Z,{className:`size-5 rounded-full`})]}),(0,d.jsx)(Z,{className:`h-4 w-7/12`}),(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(Z,{className:`h-4 min-w-0 flex-1`}),(0,d.jsx)(Z,{className:`size-5 shrink-0`})]})]})}var Lo=(0,p.tv)({base:`rounded-full border px-1.5 py-px text-[9px] font-bold tracking-wide uppercase`,variants:{role:{client:`border-amber-200 bg-amber-50 text-amber-700`,team:`border-blue-200 bg-blue-50 text-blue-700`}}}),Ro={client:`Client`,team:`Your team`};function zo({role:e,className:t,...n}){return(0,d.jsx)(`span`,{className:T(Lo({role:e}),t),...n,children:Ro[e]})}function Bo({sourceType:e}){return e===`gmail`?(0,d.jsx)(Ar,{size:18}):e===`slack`?(0,d.jsx)(Ir,{size:18}):null}function Vo({children:e}){return(0,d.jsx)(`span`,{className:`min-w-0 shrink-0 truncate rounded-full border border-neutral-300 bg-neutral-100 px-2 py-px text-[10px] font-medium text-neutral-700-variant-1`,children:e})}function Ho(){return(0,d.jsxs)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,d.jsx)(`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}),(0,d.jsx)(`polyline`,{points:`15 3 21 3 21 9`}),(0,d.jsx)(`line`,{x1:`10`,y1:`14`,x2:`21`,y2:`3`})]})}var Uo={fire:{bg:`bg-red-50`,border:`border-red-200`,title:`text-red-700`},review:{bg:`bg-amber-50`,border:`border-amber-200`,title:`text-amber-700`},resolved:{bg:`bg-green-50`,border:`border-green-200`,title:`text-green-700`}};function Wo({isFirst:e,isLast:t,variant:n}){return(0,d.jsxs)(`div`,{className:`flex w-[7px] flex-col items-center`,children:[(0,d.jsx)(`div`,{className:T(n===`message`?`h-[17px]`:`h-3.5`,`w-px`,!e&&`bg-neutral-300`)}),(0,d.jsx)(`div`,{className:`relative z-10 h-[7px] w-[7px] shrink-0`,children:n===`absence`?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{className:`absolute inset-0 animate-ping rounded-full border border-red-500`}),(0,d.jsx)(`div`,{className:`h-[7px] w-[7px] rounded-full border-[1.5px] border-red-500 bg-white`})]}):(0,d.jsx)(`div`,{className:T(`h-[7px] w-[7px] rounded-full`,n===`message`?`bg-blue-500`:`bg-neutral-400`)})}),!t&&(0,d.jsx)(`div`,{className:`w-px flex-1 bg-neutral-300`})]})}function Go({item:e,isFirst:t,isLast:n,tone:r}){if(e.absence){let i=Uo[r];return(0,d.jsxs)(`div`,{className:`flex items-stretch gap-3`,children:[(0,d.jsx)(Wo,{isFirst:t,isLast:n,variant:`absence`}),(0,d.jsxs)(`div`,{className:T(`mb-2 min-w-0 flex-1 rounded-lg border px-3 py-2.5`,i.bg,i.border),children:[(0,d.jsxs)(`p`,{className:T(`text-[10px] font-bold uppercase`,i.title),children:[`QTalo · `,e.stageLabel]}),(0,d.jsx)(`p`,{className:`mt-1 text-[13px] break-words text-neutral-800`,children:e.summary})]})]})}if(e.type===`source_message`){let r=e.direction===`internal_outbound`?`team`:`client`;return(0,d.jsxs)(`div`,{className:`flex items-stretch gap-3`,children:[(0,d.jsx)(Wo,{isFirst:t,isLast:n,variant:`message`}),(0,d.jsxs)(`div`,{className:`mb-2 min-w-0 flex-1 rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3`,children:[(0,d.jsxs)(`div`,{className:`mb-1 flex flex-wrap items-center gap-1.5`,children:[(0,d.jsx)(`span`,{className:`text-[11px] font-semibold text-blue-700 uppercase tracking-wide`,children:e.stageLabel}),e.senderName&&(0,d.jsx)(`span`,{className:`text-[12px] font-semibold text-neutral-900`,children:e.senderName}),(0,d.jsx)(zo,{role:r}),(0,d.jsx)(`span`,{className:`text-[11px] text-neutral-700-variant-1`,children:e.timestampDisplay}),(0,d.jsx)(`span`,{className:`ml-auto`,children:(0,d.jsx)(Bo,{sourceType:e.sourceType})})]}),(0,d.jsx)(`p`,{className:`text-[13px] break-words text-neutral-800`,children:e.summary})]})]})}return(0,d.jsxs)(`div`,{className:`flex items-stretch gap-3`,children:[(0,d.jsx)(Wo,{isFirst:t,isLast:n,variant:`check`}),(0,d.jsxs)(`div`,{className:`mb-2 min-w-0 flex-1 rounded-lg border border-neutral-200-variant-1 bg-white-variant-8 px-3 py-2.5`,children:[(0,d.jsxs)(`p`,{className:`text-[10px] font-semibold text-neutral-800 uppercase`,children:[`QTalo · `,e.stageLabel]}),(0,d.jsx)(`p`,{className:`mt-1 text-[13px] break-words text-neutral-700-variant-1`,children:e.summary})]})]})}function Ko({items:e,canExpandThread:t=!1,tone:n=`fire`,threadTitle:r,clientCompany:i,contactName:a,teamCompanyName:o,recipientLabel:s,className:c,...l}){let[f,p]=(0,u.useState)(!1),m=e.filter(e=>e.type===`source_message`);return(0,d.jsxs)(`div`,{className:T(`flex flex-col`,c),...l,children:[e.map((t,r)=>(0,d.jsx)(Go,{item:t,isFirst:r===0,isLast:r===e.length-1,tone:n},t.id)),t&&m.length>0&&(0,d.jsxs)(`div`,{className:`mt-1 border-t border-neutral-200-variant-1 pt-2`,children:[(0,d.jsxs)(`button`,{type:`button`,onClick:()=>p(e=>!e),className:`inline-flex items-center gap-1.5 text-xs font-medium text-neutral-700-variant-1 transition-colors hover:text-neutral-900`,children:[(0,d.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:f?(0,d.jsx)(`polyline`,{points:`18 15 12 9 6 15`}):(0,d.jsx)(`polyline`,{points:`6 9 12 15 18 9`})}),f?`Hide full thread`:`View full thread`]}),f&&(0,d.jsxs)(`div`,{className:`mt-2 overflow-hidden rounded-xl border border-neutral-200-variant-1`,children:[(0,d.jsxs)(`div`,{className:`flex items-center justify-between gap-2 border-b border-neutral-200-variant-1 bg-neutral-100 px-4 py-3`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,d.jsx)(Bo,{sourceType:m[0]?.sourceType}),(0,d.jsx)(`span`,{className:`truncate text-xs font-semibold text-neutral-800`,children:r})]}),(0,d.jsxs)(`span`,{className:`shrink-0 text-[11px] font-medium text-neutral-700-variant-1`,children:[m.length,` messages`]})]}),(0,d.jsx)(`div`,{className:`flex flex-col gap-3 bg-neutral-50 px-4 py-4`,children:m.map(e=>{let t=e.direction===`internal_outbound`,n=e.senderName??a??``,r=t?o:i,c=t?[a,i].filter(Boolean):[o,s].filter(Boolean),l=t?`team`:`client`,u=t?`client`:`team`;return(0,d.jsx)(`div`,{className:T(`rounded-xl border px-4 py-3`,t?`border-blue-200 bg-blue-50`:`border-neutral-200-variant-1 bg-white-variant-8`),children:(0,d.jsxs)(`div`,{className:`flex gap-3`,children:[(0,d.jsx)(`div`,{className:T(`flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-[13px] font-bold`,t?`bg-blue-200 text-blue-800`:`bg-neutral-200 text-neutral-700-variant-1`),children:n.charAt(0).toUpperCase()}),(0,d.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,d.jsxs)(`div`,{className:`flex items-start justify-between gap-2`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col gap-1`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[(0,d.jsx)(`span`,{className:`w-9 shrink-0 text-[10px] font-bold tracking-wide text-neutral-700-variant-1 uppercase`,children:`From`}),(0,d.jsx)(`span`,{className:`truncate text-[13px] font-bold text-neutral-900`,children:n}),r&&(0,d.jsx)(Vo,{children:r}),(0,d.jsx)(zo,{role:l})]}),c.length>0&&(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-1.5`,children:[(0,d.jsx)(`span`,{className:`w-9 shrink-0 text-[10px] font-bold tracking-wide text-neutral-700-variant-1 uppercase`,children:`To`}),c.map(e=>(0,d.jsx)(Vo,{children:e},e)),(0,d.jsx)(zo,{role:u})]})]}),(0,d.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1.5`,children:[(0,d.jsx)(Bo,{sourceType:e.sourceType}),(0,d.jsx)(`span`,{className:`text-[11px] font-medium text-neutral-700-variant-1`,children:e.timestampDisplay})]})]}),(0,d.jsx)(`p`,{className:`mt-2 border-t border-neutral-200-variant-1 pt-2.5 text-sm break-words text-neutral-800`,children:e.summary}),e.link&&(0,d.jsx)(`div`,{className:`mt-2.5 border-t border-neutral-200-variant-1 pt-2`,children:(0,d.jsxs)(`a`,{href:e.link,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center gap-1 text-[11px] font-medium text-neutral-700-variant-1 transition-colors hover:text-neutral-900 hover:underline`,children:[e.sourceType===`gmail`?`Open in Gmail`:`Open in Slack`,(0,d.jsx)(Ho,{})]})})]})]})},e.id)})})]})]})]})}function qo({itemCount:e=3,className:t}){return(0,d.jsx)(`div`,{className:T(`gap-2 flex flex-wrap items-center`,t),children:Array.from({length:e}).map((e,t)=>(0,d.jsx)(Jo,{},t))})}function Jo(){return(0,d.jsxs)(`div`,{className:`gap-1 px-2 py-1 flex items-center rounded-full border border-neutral-300 bg-white`,children:[(0,d.jsx)(Z,{className:`m-0.5 size-4 rounded-full`}),(0,d.jsx)(Z,{className:`h-3 w-15`})]})}function Yo({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`gap-2 flex flex-wrap items-center`,t),children:e.map((e,t)=>(0,u.cloneElement)(e,{key:t}))})}function Xo({classNames:e,...t}){return(0,d.jsx)(Bi,{...t,classNames:{root:T(`right-3 rounded-2xl shadow-2xl top-[68px] z-99999 max-h-[calc(100vh-84px)] w-[300px] border border-neutral-200 bg-white`,e?.root),header:T(`p-4 bg-primary-500`,e?.header),title:T(`text-sm font-semibold text-white`,e?.title),closeButton:T(`text-white/70 hover:text-white`,e?.closeButton),body:e?.body,accordion:e?.accordion,item:e?.item,itemTrigger:T(`p-3 font-semibold hover:bg-neutral-100`,e?.itemTrigger),itemContent:T(`p-4`,e?.itemContent),footer:T(`px-4 py-3 border-t border-neutral-200`,e?.footer)}})}var Zo=(0,p.tv)({base:`bg-neutral-400-variant-4`,variants:{orientation:{horizontal:`h-px w-full`,vertical:`h-full w-px`},inset:{none:``,sm:``,md:``,lg:``}},compoundVariants:[{orientation:`horizontal`,inset:`sm`,class:`mx-2`},{orientation:`horizontal`,inset:`md`,class:`mx-4`},{orientation:`horizontal`,inset:`lg`,class:`mx-6`},{orientation:`vertical`,inset:`sm`,class:`my-2`},{orientation:`vertical`,inset:`md`,class:`my-4`},{orientation:`vertical`,inset:`lg`,class:`my-6`}],defaultVariants:{orientation:`horizontal`,inset:`none`}});function Qo({className:e,...t}){return(0,d.jsx)(`div`,{className:T(Zo(t),e)})}function $o({orientation:e=`vertical`,itemCount:t=3,className:n}){let r=e===`vertical`,i=T(`size-full`,r?`overflow-x-hidden`:`overflow-y-hidden`),a=T(`gap-4 grid h-full w-full place-items-center`,r?`grid-cols-1`:`auto-cols-max grid-flow-col`,n),o=T(`flex w-fit items-center`,r?`gap-1 flex-col`:`gap-2 flex-row`),s=T(`h-3`,r?`w-12 text-[9px]`:`w-16 text-xs`),c=T(`h-3`,r?`w-8 text-[9px]`:`w-10 text-xs`);return(0,d.jsx)(`div`,{className:i,children:(0,d.jsxs)(`div`,{className:a,children:[Array.from({length:t}).map((e,t)=>(0,d.jsxs)(`div`,{className:o,children:[(0,d.jsx)(Z,{className:`size-8 rounded-full`}),(0,d.jsx)(Z,{className:s})]},t)),(0,d.jsx)(Qo,{orientation:r?`horizontal`:`vertical`}),(0,d.jsxs)(`div`,{className:o,children:[(0,d.jsx)(Z,{className:`size-8 rounded-full`}),(0,d.jsx)(Z,{className:c})]})]})})}function es({orientation:e=`vertical`,children:t,onAddMore:n,className:r}){return(0,d.jsxs)(`div`,{className:T(`min-h-0 min-w-0 flex size-full`,e===`vertical`?`flex-col items-center`:`flex-row items-center`,r),children:[(0,d.jsx)(`div`,{className:T(`min-h-0 min-w-0 grid place-items-center`,e===`vertical`?`w-full flex-1 grid-cols-1 overflow-x-hidden overflow-y-auto`:`h-full flex-1 auto-cols-max grid-flow-col overflow-x-auto overflow-y-hidden`),children:t.map(t=>(0,u.cloneElement)(t,{classNames:{root:e===`vertical`?`py-2`:`px-2`}}))}),(0,d.jsx)(Qo,{orientation:e===`vertical`?`horizontal`:`vertical`}),(0,d.jsx)(La,{icon:(0,d.jsx)(ni,{size:24}),label:`Add`,onClick:n,variant:`minimal`,orientation:e,classNames:{root:e===`vertical`?`py-2`:`px-2`}})]})}function ts(){return(0,d.jsx)(`div`,{className:`flex w-full items-center justify-center`,children:(0,d.jsx)(`div`,{className:`gap-2 rounded-lg px-3 py-3 flex w-full flex-col bg-neutral-100-variant-3`,children:(0,d.jsxs)(`div`,{className:`gap-2 flex items-center justify-between`,children:[(0,d.jsx)(Z,{className:`h-4 w-1/3`}),(0,d.jsx)(Z,{className:`h-4 w-1/8`})]})})})}function ns({icon:e,name:t,maxConnectionsPerService:n,connectLabel:r,onConnect:i,isLoading:a,children:o}){let s=u.Children.toArray(o).length;return(0,d.jsxs)(`div`,{className:`gap-4 rounded-lg p-4 flex flex-col border border-neutral-400 bg-white`,children:[(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,d.jsxs)(`div`,{className:`min-w-0 gap-2 flex flex-1 items-center`,children:[(0,d.jsx)(`div`,{className:`h-11 w-11 flex shrink-0 items-center justify-center`,children:(0,d.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,u.cloneElement)(e,{size:36,className:T({grayscale:!s&&a})})})}),(0,d.jsxs)(`div`,{className:`min-w-0 flex flex-1 flex-col`,children:[(0,d.jsx)(`div`,{className:`text-xs font-bold truncate text-neutral-800`,children:t}),(0,d.jsx)(`div`,{className:`text-xs font-normal text-neutral-800`,children:`${s} of ${n} accounts`})]})]}),s<n&&!a&&(0,d.jsx)(Y,{className:`gap-1 rounded-lg px-2 py-1 text-xs font-bold flex shrink-0 items-center border border-brand-primary bg-white text-brand-primary transition-opacity hover:opacity-70`,onClick:i,children:r})]}),a&&(0,d.jsx)(ts,{}),s>0&&o&&(0,d.jsx)(`div`,{className:`gap-2 flex flex-col`,children:o})]})}function rs({account:e,valid:t,disconnectLabel:n,onDisconnect:r,invalidLabel:i,invalidDescription:a,subtitle:o}){return(0,d.jsxs)(`div`,{className:T(`gap-2 rounded-lg px-3 py-3 flex flex-col border`,t===!1?`border-error-base bg-error-base/5`:`border-brand-primary bg-neutral-100-variant-3`),children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center justify-between`,children:[(0,d.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,d.jsx)(`div`,{className:`text-xs font-bold truncate text-neutral-800`,children:e}),o&&(0,d.jsx)(`div`,{className:`text-[10px] font-medium text-neutral-500 mt-0.5`,children:o})]}),(0,d.jsx)(Y,{className:`text-xs font-medium shrink-0 text-error-base underline transition-opacity hover:opacity-70`,onClick:r,children:n})]}),t===!1&&(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(`div`,{className:`text-xs font-semibold text-error-base`,children:i}),(0,d.jsx)(`div`,{className:`text-xs text-neutral-500`,children:a})]})]})}function is(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-y-8 border-r-10 border-y-transparent border-r-primary-500`,"aria-hidden":!0})}function as(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-y-8 border-l-10 border-y-transparent border-l-primary-500`,"aria-hidden":!0})}function os(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-x-8 border-b-10 border-x-transparent border-b-primary-500`,"aria-hidden":!0})}function ss(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-x-8 border-t-10 border-x-transparent border-t-primary-500`,"aria-hidden":!0})}function cs({layout:e,placement:t}){return e===`horizontal`?t===`before`?(0,d.jsx)(is,{}):(0,d.jsx)(as,{}):t===`before`?(0,d.jsx)(os,{}):(0,d.jsx)(ss,{})}function ls(e,t,n){return t==null&&n==null?e:(0,d.jsx)(`div`,{className:t,style:n,"aria-hidden":!0,children:e})}function us({stepLabel:e,title:t,description:n,titleAccessory:r,primaryAction:i,secondaryAction:a,layout:o,arrowPlacement:s=`before`,arrowWrapperClassName:c,arrowWrapperStyle:l,className:u,cardClassName:f}){let p=i!=null||a!=null,m=(0,d.jsxs)(`div`,{className:T(`rounded-xl p-4 shadow-xl bg-primary-500 text-white`,f),children:[e!=null&&(0,d.jsx)(`p`,{className:`mb-1 font-semibold tracking-widest text-[10px] text-white uppercase opacity-70`,children:e}),r==null?(0,d.jsx)(`div`,{className:`mb-1 text-sm leading-snug font-semibold`,children:t}):(0,d.jsxs)(`div`,{className:`mb-1 gap-1.5 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm leading-snug font-semibold`,children:t}),r]}),(0,d.jsx)(`div`,{className:`mb-4 text-xs leading-relaxed font-normal opacity-90`,children:n}),p&&(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[i,a]})]}),h=ls((0,d.jsx)(cs,{layout:o,placement:s}),c,l),g=s===`before`?(0,d.jsxs)(d.Fragment,{children:[h,m]}):(0,d.jsxs)(d.Fragment,{children:[m,h]});return o===`horizontal`?(0,d.jsx)(`div`,{className:T(`flex items-center`,u),children:g}):(0,d.jsx)(`div`,{className:T(`flex flex-col items-center`,u),children:g})}var ds=()=>()=>{},fs=()=>!0,ps=()=>!1,ms=`rounded-lg bg-white px-4 py-1.5 text-xs font-semibold text-primary-500 transition-opacity hover:opacity-90`,hs=`text-xs font-semibold text-white/70 transition-colors hover:text-white`;function gs(e,t){let n=t.getBoundingClientRect();return e.layout===`horizontal`?{mode:`horizontal`,top:(e.horizontalAlign??`target-center`)===`viewport-center`?window.innerHeight/2:n.top+n.height/2,left:n.right+12}:{mode:`vertical`,top:n.bottom+10,left:n.left,arrowMarginLeft:n.width/2-8}}function _s(e){if(e==null)return null;let t=document.getElementById(e.targetId);return t?gs(e,t):null}function vs({currentStep:e,currentStepIndex:t,actions:n,steps:r,onFinish:i}){let a=(0,u.useSyncExternalStore)(ds,fs,ps),[o,s]=(0,u.useState)(null),c=(0,u.useRef)(!1),l=e!=null;if((0,u.useLayoutEffect)(()=>{if(!a||!l){let e=requestAnimationFrame(()=>s(null));return()=>cancelAnimationFrame(e)}let t=0,n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(()=>{s(_s(e))})};return n(),window.addEventListener(`scroll`,n,!0),window.addEventListener(`resize`,n),()=>{cancelAnimationFrame(t),window.removeEventListener(`scroll`,n,!0),window.removeEventListener(`resize`,n)}},[a,l,e,r]),(0,u.useEffect)(()=>{c.current&&!l&&i?.(),c.current=l},[l,i]),!a||typeof document>`u`||!l||o==null)return null;let p=e.layout===`vertical`&&o.mode===`vertical`?{marginLeft:o.arrowMarginLeft,...e.arrowWrapperStyle}:e.arrowWrapperStyle,m=(0,d.jsx)(us,{stepLabel:e.stepLabel??(t==null?void 0:`${t+1} / ${r.length}`),title:e.title,description:e.description,titleAccessory:e.titleAccessory,layout:e.layout,arrowPlacement:e.arrowPlacement??`before`,className:T(`tour-fade-in-up`,e.layout===`vertical`&&`items-start`,e.className),cardClassName:e.cardClassName,arrowWrapperClassName:e.arrowWrapperClassName,arrowWrapperStyle:p,primaryAction:(0,d.jsx)(Y,{type:`button`,className:ms,onClick:()=>n.dismissCurrentStep(),children:`Got it`}),secondaryAction:(0,d.jsx)(Y,{type:`button`,className:hs,onClick:()=>n.skipAll(),children:`Skip`})},e.id);return(0,f.createPortal)((0,d.jsx)(`div`,{...o.mode===`horizontal`?{className:`pointer-events-auto fixed z-[999999] flex items-center`,style:{top:o.top,left:o.left,transform:`translateY(-50%)`}}:{className:`pointer-events-auto fixed z-[999999] flex flex-col items-start`,style:{top:o.top,left:o.left}},children:m}),document.body)}function ys({steps:e,context:t,storageKey:n,onFinish:r,isEnabled:i=!0}){return(0,d.jsx)(Wi,{steps:e,context:t,storageKey:n,isEnabled:i,children:t=>(0,d.jsx)(vs,{...t,steps:e,onFinish:r})})}var bs=(0,p.tv)({slots:{root:`inline-flex shrink-0 items-center gap-1 rounded-full border bg-white px-2.5 py-1 text-[11px] transition-colors`,content:`inline-flex items-center`,dot:`h-1.5 w-1.5 shrink-0 rounded-full`,count:`inline-flex h-[14px] min-w-[14px] items-center justify-center rounded-full px-1 text-[9px] font-bold`},variants:{tone:{fire:{root:`font-medium`,content:`gap-1.5`,dot:`bg-red-500`},review:{root:`font-medium`,content:`gap-1.5`,dot:`bg-amber-400`},neutral:{root:`font-medium`,content:`gap-1.5`,dot:`bg-neutral-500`},brand:{root:`font-semibold`,content:`gap-1`,dot:`hidden`}},selected:{true:{count:`bg-white-variant-1/20 text-white-variant-1`},false:{count:`bg-neutral-100 text-neutral-700`}},disabled:{true:{root:`cursor-default border-neutral-200 bg-neutral-50 text-neutral-600 opacity-60`},false:{}}},compoundVariants:[{tone:`fire`,selected:!1,disabled:!1,class:{root:`border-red-200 text-red-700 hover:border-red-400`}},{tone:`fire`,selected:!0,disabled:!1,class:{root:`bg-red-600 border-red-600 text-white-variant-1`}},{tone:`review`,selected:!1,disabled:!1,class:{root:`border-amber-200 text-amber-700 hover:border-amber-400`}},{tone:`review`,selected:!0,disabled:!1,class:{root:`bg-amber-500 border-amber-500 text-white-variant-1`}},{tone:`neutral`,selected:!1,disabled:!1,class:{root:`border-neutral-300 text-neutral-700 hover:border-neutral-500`}},{tone:`neutral`,selected:!0,disabled:!1,class:{root:`bg-pulse-chip-neutral-active-bg border-pulse-chip-neutral-active-bg text-pulse-chip-neutral-active-text`}},{tone:`brand`,selected:!1,disabled:!1,class:{root:`border-neutral-300 text-neutral-900 hover:border-neutral-600`}},{tone:`brand`,selected:!0,disabled:!1,class:{root:`bg-primary-500 border-primary-500 text-white-variant-1`}}],defaultVariants:{tone:`neutral`,selected:!1,disabled:!1}});function xs({label:e,count:t,tone:n=`neutral`,icon:r,selected:i=!1,disabled:a=!1,onClick:o,onRemove:s,className:c}){let l=bs({tone:n,selected:i,disabled:a});return(0,d.jsxs)(`span`,{className:T(l.root(),c),children:[(0,d.jsxs)(gr,{as:`span`,onPress:a?void 0:o,disabled:a,className:l.content(),children:[r??(0,d.jsx)(`span`,{className:l.dot()}),(0,d.jsx)(`span`,{children:e}),typeof t==`number`&&(0,d.jsx)(`span`,{className:l.count(),children:t})]}),s&&(0,d.jsx)(gr,{as:`span`,onPress:s,"aria-label":`Clear ${e}`,className:`inline-flex shrink-0 items-center justify-center rounded-full opacity-80 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current`,children:(0,d.jsx)(ui,{size:12})})]})}function Ss({labelWidthClassName:e=`w-16`,className:t}){return(0,d.jsxs)(`span`,{className:T(`inline-flex shrink-0 items-center gap-1.5 rounded-full border border-neutral-300 bg-white px-2.5 py-1`,t),children:[(0,d.jsx)(`div`,{className:`size-3 shrink-0 rounded-full bg-neutral-300-variant-3`}),(0,d.jsx)(Z,{className:T(`h-3`,e)})]})}function Cs({value:e,defaultValue:t,placeholder:n=`Search...`,onChange:r,onKeyDown:i,onClear:a,disabled:o=!1,className:s}){let[c,l]=(0,u.useState)(t??``),f=typeof e==`string`,p=f?e:c,m=p.length>0;function h(e){f||l(e),r?.(e)}function g(){f||l(``),r?.(``),a?.()}return(0,d.jsxs)(`fieldset`,{role:`search`,className:T(`h-8 min-w-0 gap-1.5 px-2 py-1 flex items-center rounded-full border border-neutral-500-variant-3 bg-white`,o&&`pointer-events-none bg-neutral-200 opacity-70`,s),disabled:o,children:[(0,d.jsx)(Ti,{size:20,className:`text-neutral-700`}),(0,d.jsx)(hr,{type:`text`,value:p,placeholder:n,onChange:h,onKeyDown:i,className:T(`m-0 h-5 min-w-0 p-0 text-xs flex-1 border-0 text-neutral-800`,`bg-transparent outline-none`,`placeholder:text-neutral-700-alpha-60`,o&&`text-neutral-700-alpha-60`)}),m&&!o&&(0,d.jsx)($,{type:`button`,icon:(0,d.jsx)(ui,{size:16,className:`text-neutral-700`}),onClick:g,"aria-label":`Clear search`,className:`rounded p-0 transition-opacity hover:opacity-70`})]})}var ws=(0,p.tv)({slots:{root:`inline-flex h-5 min-w-0 items-center gap-1 rounded-full py-0.5 pr-1 pl-2 text-[11px] font-semibold`,close:`flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full opacity-80 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current`},variants:{type:{client:{root:`bg-search-suggestion-client-bg text-search-suggestion-client-text`},member:{root:`bg-search-suggestion-member-bg text-search-suggestion-member-text`}}}});function Ts({suggestion:e,onClear:t}){let n=ws({type:e.type});return(0,d.jsxs)(`span`,{className:n.root(),children:[(0,d.jsx)(`span`,{className:`truncate`,children:e.label}),(0,d.jsx)(_r,{children:(0,d.jsx)(gr,{as:`span`,onPress:t,"aria-label":`Clear ${e.label}`,className:n.close(),children:(0,d.jsx)(li,{size:10})})})]})}function Es({suggestion:e,onSelect:t}){return(0,d.jsxs)(`button`,{type:`button`,onMouseDown:n=>{n.preventDefault(),t(e)},className:`hover:bg-neutral-50 flex w-full items-center gap-2 px-3 py-2 text-left text-[12px] text-neutral-800`,children:[e.type===`client`?(0,d.jsx)(oi,{size:12,className:`text-neutral-600`}):(0,d.jsx)(ei,{size:12,className:`text-neutral-600`}),e.label]})}function Ds({value:e,onChange:t,suggestions:n,selected:r,onSelect:i,onClear:a,placeholder:o=`Search...`,className:s}){let[c,l]=(0,u.useState)(!1),f=n.filter(e=>e.type===`client`),p=n.filter(e=>e.type===`member`),m=c&&!e&&!r&&n.length>0;function h(e){e.key===`Escape`&&l(!1)}function g(){l(!1),a()}return(0,d.jsx)(mr,{open:m,onOpenChange:()=>{},openOnHover:!1,align:`start`,side:`bottom`,offsetY:4,trigger:(0,d.jsxs)(`div`,{onFocus:()=>l(!0),onBlur:()=>l(!1),className:T(`border-neutral-500-variant-3 focus-within:border-primary-500 flex h-8 min-w-0 items-center gap-1.5 rounded-full border bg-white px-2 py-1`,s),children:[(0,d.jsx)(Ti,{size:20,className:`text-neutral-700`}),r?(0,d.jsx)(Ts,{suggestion:r,onClear:g}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(hr,{type:`text`,value:e,placeholder:o,onChange:t,onKeyDown:h,className:`text-neutral-800 placeholder:text-neutral-700-alpha-60 m-0 h-5 min-w-0 flex-1 border-0 bg-transparent p-0 text-xs outline-none`}),e&&(0,d.jsx)(_r,{children:(0,d.jsx)(gr,{as:`span`,onPress:g,"aria-label":`Clear search`,className:`text-neutral-700 flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full opacity-80 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current`,children:(0,d.jsx)(li,{size:10})})})]})]}),children:(0,d.jsxs)(`div`,{className:`border-neutral-200 w-[260px] overflow-hidden rounded-xl border bg-white shadow-lg`,children:[f.length>0&&(0,d.jsxs)(`div`,{className:`pb-1`,children:[(0,d.jsx)(`p`,{className:`text-neutral-600 px-3 pt-2.5 pb-1 text-[10px] font-bold tracking-widest uppercase`,children:`Clients`}),f.map(e=>(0,d.jsx)(Es,{suggestion:e,onSelect:i},e.label))]}),f.length>0&&p.length>0&&(0,d.jsx)(`div`,{className:`border-neutral-200 mt-1 border-t-2`}),p.length>0&&(0,d.jsxs)(`div`,{className:`pb-1`,children:[(0,d.jsx)(`p`,{className:`text-neutral-600 px-3 pt-2.5 pb-1 text-[10px] font-bold tracking-widest uppercase`,children:`Members`}),p.map(e=>(0,d.jsx)(Es,{suggestion:e,onSelect:i},e.label))]}),(0,d.jsx)(`div`,{className:`border-neutral-200 mt-1 border-t-2 px-3 py-2`,children:(0,d.jsx)(`p`,{className:`text-neutral-600 text-[11px] font-medium`,children:`Type to search all signals`})})]})})}var Os={fire:{icon:Ur,text:`text-tertiary-500-variant-2`},spark:{icon:Kr,text:`text-primary-500`},watching:{icon:Hr,text:`text-neutral-700-variant-1`},healthy:{icon:Rr,text:`text-success-base`}},ks=(0,p.tv)({base:`relative h-full w-full text-left transition-colors focus:outline-none`,variants:{layout:{home:`min-h-[96px] rounded-lg border-[1.5px] p-4`,row:`border-b border-l-[3px] px-4 py-3.5`},status:{needs_response:``,needs_review:``,resolved:``},selected:{true:``,false:``}},compoundVariants:[{layout:`home`,status:`needs_response`,selected:!1,class:`border-tertiary-500-variant-3 bg-white-variant-8 hover:bg-tertiary-500-variant-4`},{layout:`home`,status:`needs_response`,selected:!0,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`},{layout:`home`,status:`needs_review`,selected:!1,class:`border-amber-200 bg-white-variant-8 hover:bg-amber-50`},{layout:`home`,status:`needs_review`,selected:!0,class:`border-amber-400 bg-amber-50`},{layout:`home`,status:`resolved`,selected:!1,class:`border-green-200 bg-white-variant-8 hover:bg-green-50`},{layout:`home`,status:`resolved`,selected:!0,class:`border-green-500 bg-green-50`},{layout:`row`,status:`needs_response`,selected:!1,class:`border-neutral-200 border-l-transparent bg-white-variant-8 hover:bg-neutral-50`},{layout:`row`,status:`needs_response`,selected:!0,class:`border-neutral-200 border-l-red-500 bg-neutral-50`},{layout:`row`,status:`needs_review`,selected:!1,class:`border-neutral-200 border-l-transparent bg-white-variant-8 hover:bg-neutral-50`},{layout:`row`,status:`needs_review`,selected:!0,class:`border-neutral-200 border-l-amber-400 bg-neutral-50`},{layout:`row`,status:`resolved`,selected:!1,class:`border-neutral-200 border-l-transparent bg-white-variant-8 hover:bg-neutral-50`},{layout:`row`,status:`resolved`,selected:!0,class:`border-neutral-200 border-l-green-500 bg-neutral-50`}]});function As(){return(0,d.jsxs)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,d.jsx)(`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}),(0,d.jsx)(`polyline`,{points:`15 3 21 3 21 9`}),(0,d.jsx)(`line`,{x1:`10`,y1:`14`,x2:`21`,y2:`3`})]})}function js({sourceTypes:e,sourceLink:t}){return(0,d.jsxs)(`span`,{className:`absolute top-[10px] right-3 flex items-center gap-1.5`,children:[(0,d.jsxs)(`span`,{className:`flex items-center gap-1`,children:[e.includes(`gmail`)&&(0,d.jsx)(Ar,{size:16}),e.includes(`slack`)&&(0,d.jsx)(Ir,{size:18})]}),t&&(0,d.jsx)(Ea,{content:`Open thread`,position:`top`,children:(0,d.jsx)(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Open thread`,onClick:e=>e.stopPropagation(),className:`flex h-6 w-6 items-center justify-center rounded-md text-neutral-500 transition-colors hover:bg-neutral-200 hover:text-neutral-800`,children:(0,d.jsx)(As,{})})})]})}function Ms({title:e,clientName:t,requesterName:n,explanation:r,severity:i,status:a,slaLabel:o,slaStatusLabel:s,sourceTypes:c,sourceLink:l,patternContext:u,variant:f=`home`,selected:p=!1,onClick:m,className:h}){let g=Os[i];return(0,d.jsxs)(gr,{onPress:m,className:T(ks({layout:f,status:a,selected:p}),h),children:[(0,d.jsx)(js,{sourceTypes:c,sourceLink:l}),(0,d.jsxs)(`div`,{className:`mb-1 flex items-center gap-1.5 pr-10`,children:[(0,d.jsx)(`span`,{className:T(`text-[13px] font-bold`,g.text),children:o}),(0,d.jsxs)(`span`,{className:`inline-flex items-center gap-0.5 text-[10px] font-medium text-neutral-500`,children:[(0,d.jsx)(g.icon,{size:10,className:g.text}),s]})]}),(0,d.jsx)(`p`,{className:`mb-1 line-clamp-1 pr-10 text-[13px] leading-snug font-semibold text-neutral-900`,children:e||`Message needs review`}),r&&(0,d.jsx)(`p`,{className:`mb-1 line-clamp-1 pr-10 text-[11px] leading-snug text-neutral-700-variant-1`,children:r}),(0,d.jsx)(`p`,{className:`line-clamp-1 pr-10 text-[11px] font-medium text-neutral-700-variant-1`,children:[t,n].filter(Boolean).join(` · `)||`Client contact`}),u&&(0,d.jsx)(`p`,{className:`mt-1 pr-10 text-[10px] font-medium text-primary-500`,children:u})]})}function Ns({variant:e=`home`,className:t}){return(0,d.jsxs)(`div`,{className:T(`relative h-full w-full`,e===`home`?`rounded-lg border-[1.5px] border-neutral-200-variant-1 bg-white-variant-8 p-4`:`border-b border-neutral-200-variant-1 px-4 py-3.5`,t),children:[(0,d.jsx)(`div`,{className:`absolute top-3.5 right-3 size-4 rounded-md bg-neutral-300-variant-3`}),(0,d.jsxs)(`div`,{className:`mb-1 flex items-center gap-2 pr-10`,children:[(0,d.jsx)(`div`,{className:`size-4 shrink-0 rounded-md bg-neutral-300-variant-3`}),(0,d.jsx)(Z,{className:`h-3.5 w-28`})]}),(0,d.jsx)(Z,{className:`mb-1 h-4.5 w-8/12`}),(0,d.jsx)(Z,{className:`mb-1 h-4 w-10/12`}),(0,d.jsx)(Z,{className:`h-4 w-6/12`})]})}function Ps({title:e,body:t,ctaQuestion:n,destinationLabel:r,signalCount:i,onClick:a,className:o}){return(0,d.jsxs)(gr,{onPress:a,className:T(`h-full w-full rounded-lg border-[1.5px] border-neutral-400-variant-4 bg-white-variant-8 p-4 text-left transition-colors hover:border-neutral-500-variant-4 hover:bg-neutral-200-variant-1`,o),children:[(0,d.jsxs)(`div`,{className:`mb-1.5 flex items-start justify-between gap-2`,children:[(0,d.jsx)(`p`,{className:`text-[13px] leading-snug font-semibold text-neutral-800`,children:e}),(0,d.jsxs)(`span`,{className:`mt-0.5 shrink-0 text-[10px] font-medium text-neutral-600-variant-2`,children:[i,` signal`,i===1?``:`s`]})]}),(0,d.jsx)(`p`,{className:`mb-1.5 text-[11px] leading-snug text-neutral-700-variant-1`,children:t}),(0,d.jsx)(`p`,{className:`mb-3 text-[11px] leading-snug text-neutral-700-variant-1`,children:n}),(0,d.jsxs)(`div`,{className:`text-primary-500 flex items-center gap-1 text-[11px] font-medium`,children:[(0,d.jsx)(`span`,{children:r}),(0,d.jsx)(ii,{direction:`right`,size:10})]})]})}function Fs({className:e}){return(0,d.jsxs)(`div`,{className:T(`h-full w-full rounded-lg border-[1.5px] border-neutral-200-variant-1 bg-white-variant-8 p-4`,e),children:[(0,d.jsxs)(`div`,{className:`mb-1.5 flex items-start justify-between gap-2`,children:[(0,d.jsx)(Z,{className:`h-4 w-7/12`}),(0,d.jsx)(Z,{className:`mt-0.5 h-3 w-12 shrink-0`})]}),(0,d.jsx)(Z,{className:`mb-1.5 h-3 w-11/12`}),(0,d.jsx)(Z,{className:`mb-3 h-3 w-9/12`}),(0,d.jsx)(Z,{className:`h-3 w-5/12`})]})}var Is=(0,p.tv)({base:`h-full rounded-full`,variants:{status:{met:`bg-green-400`,on_track:`bg-green-400`,approaching:`bg-yellow-300`,overdue:`bg-amber-400`,way_overdue:`bg-red-500`}}}),Ls=(0,p.tv)({base:`rounded-full px-2 py-0.5 text-[10px] font-semibold`,variants:{status:{met:`bg-green-50 text-green-700`,on_track:`bg-green-50 text-green-700`,approaching:`bg-yellow-50 text-yellow-700`,overdue:`bg-amber-50 text-amber-700`,way_overdue:`bg-red-50 text-red-700`}}});function Rs({policyLabel:e,statusLabel:t,status:n,actualLabel:r,windowLabel:i,percentUsed:a,className:o,...s}){let c=Math.min(a,100);return(0,d.jsxs)(`div`,{className:T(`flex flex-col gap-2`,o),...s,children:[(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,d.jsx)(`p`,{className:`text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:e}),(0,d.jsx)(`span`,{className:Ls({status:n}),children:t})]}),(0,d.jsx)(`div`,{className:`h-1.5 overflow-hidden rounded-full bg-neutral-200`,children:(0,d.jsx)(`div`,{className:Is({status:n}),style:{width:`${c}%`}})}),(0,d.jsxs)(`div`,{className:`flex items-center justify-between text-[11px] text-neutral-700`,children:[(0,d.jsxs)(`span`,{children:[`Actual:`,` `,(0,d.jsx)(`span`,{className:`font-semibold text-neutral-800`,children:r})]}),(0,d.jsxs)(`span`,{children:[`Window:`,` `,(0,d.jsx)(`span`,{className:`font-semibold text-neutral-800`,children:i})]})]})]})}var zs={fire:{icon:Ur,text:`text-tertiary-500-variant-2`},spark:{icon:Kr,text:`text-primary-500`},watching:{icon:void 0,text:`text-neutral-700-variant-1`}},Bs={fire:{badge:`bg-red-50 text-red-700 border-red-200`,dot:`bg-red-500`,accentBar:`border-l-[3px] border-l-red-500`},review:{badge:`bg-amber-50 text-amber-700 border-amber-200`,dot:`bg-amber-400`,accentBar:`border-l-[3px] border-l-amber-400`},resolved:{badge:`bg-green-50 text-green-700 border-green-200`,dot:`bg-green-500`,accentBar:`border-l-[3px] border-l-green-500`}};function Vs({title:e,titleAdornment:t,children:n}){return(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsxs)(`div`,{className:`mb-2 flex items-center gap-1.5`,children:[(0,d.jsx)(`p`,{className:`text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:e}),t]}),n]})}function Hs(){return(0,d.jsxs)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,d.jsx)(`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}),(0,d.jsx)(`polyline`,{points:`15 3 21 3 21 9`}),(0,d.jsx)(`line`,{x1:`10`,y1:`14`,x2:`21`,y2:`3`})]})}function Us(){return(0,d.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,d.jsx)(`path`,{d:`M20 6 9 17l-5-5`})})}function Ws(){return(0,d.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,d.jsx)(`path`,{d:`M18 6 6 18M6 6l12 12`})})}function Gs(){return(0,d.jsxs)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,d.jsx)(`rect`,{x:`9`,y:`9`,width:`13`,height:`13`,rx:`2`,ry:`2`}),(0,d.jsx)(`path`,{d:`M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1`})]})}function Ks({expanded:e}){return(0,d.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:e?(0,d.jsx)(`polyline`,{points:`18 15 12 9 6 15`}):(0,d.jsx)(`polyline`,{points:`6 9 12 15 18 9`})})}function qs({text:e}){return(0,d.jsx)(Ea,{content:e,children:(0,d.jsx)(`span`,{className:`flex text-neutral-600 transition-colors hover:text-neutral-900`,children:(0,d.jsx)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,children:(0,d.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z`})})})})}function Js({title:e,severity:t,slaDurationLabel:n,slaStatusLabel:r,statusLabel:i,statusTone:a,sourceType:o,sourceLink:s,clientCompany:c,contactName:l,teamCompanyName:f,recipientLabel:p,sla:m,claim:h,sameThreadGuardrail:g,evidenceItems:_,nextStep:v,actionRationale:y,rankingRationale:b,attentionRationale:ee,dismissOptions:x,onClose:S,onResolve:C,onDismiss:te,className:ne,...re}){let w=zs[t],[ie,ae]=(0,u.useState)(!1),[oe,se]=(0,u.useState)(null),[ce,le]=(0,u.useState)(!1),[ue,E]=(0,u.useState)(!1),de=()=>{let t=[r,n].filter(Boolean).join(` · `),i=[e,``,h,``,g,...t?[``,t]:[]];navigator.clipboard.writeText(i.join(`
|
|
66
|
-
`)).catch(()=>{}),le(!0),setTimeout(()=>le(!1),2e3)},fe=()=>{te?.(oe??void 0),ae(!1),se(null)};return(0,d.jsxs)(`div`,{className:T(`flex h-full flex-col overflow-y-auto bg-white-variant-8`,Bs[a].accentBar,ne),...re,children:[(0,d.jsxs)(`div`,{className:`sticky top-0 z-20 shrink-0 border-b border-neutral-200-variant-1 bg-white-variant-8 px-4 pt-5 pb-4`,children:[(0,d.jsxs)(`div`,{className:`flex items-start justify-between gap-3`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-wrap items-center gap-2.5`,children:[(0,d.jsx)(`h2`,{className:`truncate text-[15px] leading-snug font-semibold text-neutral-900`,children:e}),n&&(0,d.jsx)(`span`,{className:T(`text-[13px] font-bold shrink-0`,w.text),children:n}),r&&(0,d.jsxs)(`span`,{className:`inline-flex shrink-0 items-center gap-1 text-[10px] font-medium text-neutral-500`,children:[w.icon&&(0,d.jsx)(w.icon,{size:11,className:`text-neutral-500`}),r]}),(0,d.jsxs)(`span`,{className:T(`inline-flex shrink-0 items-center gap-1.5 rounded-full border px-2 py-0.5 text-[11px] font-medium`,Bs[a].badge),children:[(0,d.jsx)(`span`,{className:T(`h-1.5 w-1.5 shrink-0 rounded-full`,Bs[a].dot)}),i]})]}),S&&(0,d.jsx)(`button`,{type:`button`,onClick:S,"aria-label":`Close`,className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-lg hover:bg-neutral-100`,children:(0,d.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,children:(0,d.jsx)(`path`,{d:`M18 6 6 18M6 6l12 12`,strokeLinecap:`round`})})})]}),(0,d.jsxs)(`div`,{className:`mt-2 flex flex-col gap-1.5 rounded-lg border border-neutral-200-variant-1 bg-neutral-50 px-3 py-2.5`,children:[(0,d.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[(0,d.jsx)(`span`,{className:`w-9 shrink-0 text-[10px] font-semibold tracking-wide text-neutral-700-variant-1 uppercase`,children:`From`}),(0,d.jsx)(`span`,{className:`flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full bg-neutral-200 text-[9px] font-bold text-neutral-700-variant-1`,children:(l||`Client contact`).charAt(0).toUpperCase()}),(0,d.jsx)(`span`,{className:`truncate text-[12px] font-semibold text-neutral-900`,children:l||`Client contact`}),c&&(0,d.jsx)(`span`,{className:`shrink-0 truncate rounded-full border border-neutral-300 bg-white px-2 py-px text-[10px] font-medium text-neutral-700-variant-1`,children:c}),(0,d.jsx)(zo,{role:`client`})]}),(f||p)&&(0,d.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[(0,d.jsx)(`span`,{className:`w-9 shrink-0 text-[10px] font-semibold tracking-wide text-neutral-700-variant-1 uppercase`,children:`To`}),(0,d.jsx)(`span`,{className:`flex h-[18px] w-[18px] shrink-0 items-center justify-center`,children:o===`gmail`?(0,d.jsx)(Ar,{size:15}):(0,d.jsx)(Ir,{size:15})}),f&&(0,d.jsx)(`span`,{className:`truncate text-[12px] font-semibold text-neutral-900`,children:f}),p&&(0,d.jsx)(`span`,{className:`shrink-0 truncate rounded-full border border-neutral-300 bg-white px-2 py-px text-[10px] font-medium text-neutral-700-variant-1`,children:p}),(0,d.jsx)(zo,{role:`team`})]})]})]}),(0,d.jsxs)(`div`,{className:`flex flex-col gap-3 p-4`,children:[m?(0,d.jsxs)(`div`,{className:`grid grid-cols-1 items-stretch gap-3 xl:grid-cols-2`,children:[(0,d.jsx)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:(0,d.jsx)(Rs,{...m})}),(0,d.jsx)(Vs,{title:`What QTalo found`,titleAdornment:(0,d.jsx)(qs,{text:g}),children:(0,d.jsx)(`p`,{className:`text-sm leading-snug text-neutral-800`,children:h})})]}):(0,d.jsx)(Vs,{title:`What QTalo found`,titleAdornment:(0,d.jsx)(qs,{text:g}),children:(0,d.jsx)(`p`,{className:`text-sm leading-snug text-neutral-800`,children:h})}),v&&(0,d.jsxs)(Vs,{title:`Next step`,children:[(0,d.jsx)(`p`,{className:`text-sm font-semibold text-neutral-900`,children:v}),y&&(0,d.jsx)(`p`,{className:`mt-1 text-sm text-neutral-700`,children:y})]}),b?(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-neutral-50 px-4 py-3.5`,children:[(0,d.jsx)(`p`,{className:`mb-2 text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:`Why ranked first`}),(0,d.jsx)(`p`,{className:`text-sm text-neutral-800`,children:b})]}):ee?(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-neutral-50 px-4 py-3.5`,children:[(0,d.jsx)(`p`,{className:`mb-2 text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:`Why this needs attention`}),(0,d.jsx)(`p`,{className:`text-sm text-neutral-800`,children:ee})]}):null,(0,d.jsx)(Vs,{title:`What do you want to do?`,children:ie?(0,d.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,d.jsx)(`p`,{className:`text-[12px] text-neutral-700-variant-1`,children:`Why isn't this useful?`}),(0,d.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:x.map(e=>(0,d.jsx)(`button`,{type:`button`,onClick:()=>se(t=>t===e.id?null:e.id),className:oe===e.id?`rounded-full bg-neutral-800 px-2.5 py-1 text-[11px] font-medium text-white`:`rounded-full border border-neutral-300 bg-white px-2.5 py-1 text-[11px] font-medium text-neutral-700 hover:border-neutral-500`,children:e.label},e.id))}),(0,d.jsxs)(`div`,{className:`mt-1 flex items-center gap-3`,children:[(0,d.jsx)(`button`,{type:`button`,onClick:fe,className:`rounded-lg bg-neutral-800 px-3 py-1.5 text-xs font-semibold text-white`,children:`Confirm`}),(0,d.jsx)(`button`,{type:`button`,onClick:()=>{ae(!1),se(null)},className:`text-xs font-medium text-neutral-700-variant-1 hover:underline`,children:`Cancel`}),(0,d.jsx)(`button`,{type:`button`,onClick:C,className:`ml-auto text-xs font-medium text-primary-500 hover:underline`,children:`Mark handled instead`})]})]}):(0,d.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[s&&(0,d.jsxs)(`a`,{href:s,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200`,children:[(0,d.jsx)(Hs,{}),`Open source`]}),(0,d.jsxs)(`button`,{type:`button`,onClick:C,className:`inline-flex items-center gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors hover:bg-green-100`,children:[(0,d.jsx)(Us,{}),`Mark handled`]}),(0,d.jsxs)(`button`,{type:`button`,onClick:()=>ae(!0),className:`inline-flex items-center gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200`,children:[(0,d.jsx)(Ws,{}),`Mark not useful`]}),(0,d.jsxs)(`button`,{type:`button`,onClick:de,className:ce?`inline-flex items-center gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors`:`inline-flex items-center gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200`,children:[ce?(0,d.jsx)(Us,{}):(0,d.jsx)(Gs,{}),ce?`Copied`:`Copy evidence`]})]})}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsxs)(`button`,{type:`button`,onClick:()=>E(e=>!e),className:`flex w-full items-center justify-between text-left`,"aria-expanded":ue,children:[(0,d.jsx)(`span`,{className:`text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:`Evidence analysis`}),(0,d.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-xs font-medium text-neutral-700-variant-1`,children:[ue?`Hide proof`:`Show proof`,(0,d.jsx)(Ks,{expanded:ue})]})]}),ue&&(0,d.jsx)(`div`,{className:`mt-3 border-t border-neutral-200-variant-1 pt-3`,children:(0,d.jsx)(Ko,{items:_,canExpandThread:!0,tone:a,threadTitle:e,clientCompany:c,contactName:l,teamCompanyName:f,recipientLabel:p})})]})]})]})}function Ys({className:e}){return(0,d.jsxs)(`div`,{className:T(`flex h-full flex-col overflow-y-auto bg-white-variant-8`,e),children:[(0,d.jsxs)(`div`,{className:`shrink-0 border-b border-neutral-200-variant-1 px-4 pt-5 pb-4`,children:[(0,d.jsxs)(`div`,{className:`flex items-start justify-between gap-3`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2.5`,children:[(0,d.jsx)(Z,{className:`h-4 w-7/12`}),(0,d.jsx)(Z,{className:`h-3 w-24 shrink-0`}),(0,d.jsx)(Z,{className:`h-5 w-20 shrink-0 rounded-full`})]}),(0,d.jsx)(Z,{className:`size-7 shrink-0 rounded-lg`})]}),(0,d.jsxs)(`div`,{className:`mt-2 flex flex-col gap-1.5 rounded-lg border border-neutral-200-variant-1 bg-neutral-50 px-3 py-2.5`,children:[(0,d.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,d.jsx)(Z,{className:`h-3 w-9`}),(0,d.jsx)(Z,{className:`size-[18px] rounded-full`}),(0,d.jsx)(Z,{className:`h-3 w-24`})]}),(0,d.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,d.jsx)(Z,{className:`h-3 w-9`}),(0,d.jsx)(Z,{className:`size-[18px] rounded-full`}),(0,d.jsx)(Z,{className:`h-3 w-24`})]})]})]}),(0,d.jsxs)(`div`,{className:`flex flex-col gap-3 p-4`,children:[(0,d.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 xl:grid-cols-2`,children:[(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-3 h-3 w-8/12`}),(0,d.jsx)(Z,{className:`mb-2.5 h-1.5 w-full rounded-full`}),(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,d.jsx)(Z,{className:`h-3 w-16`}),(0,d.jsx)(Z,{className:`h-3 w-16`})]})]}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-2 h-3 w-8/12`}),(0,d.jsx)(Z,{className:`h-3 w-full`})]})]}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-3 h-3 w-6/12`}),(0,d.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,d.jsx)(Z,{className:`h-14 w-full rounded-xl`}),(0,d.jsx)(Z,{className:`h-12 w-full rounded-lg`})]})]}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-2 h-3 w-4/12`}),(0,d.jsx)(Z,{className:`h-4 w-9/12`})]}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-3 h-3 w-8/12`}),(0,d.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,d.jsx)(Z,{className:`h-8 w-24 rounded-lg`}),(0,d.jsx)(Z,{className:`h-8 w-24 rounded-lg`}),(0,d.jsx)(Z,{className:`h-8 w-24 rounded-lg`})]})]})]})]})}var Xs=4e3,Zs=`bottom-right`;function Qs({onOpen:e,onClose:t,onAutoClose:n,onDismiss:r}){return e||t||n||r?{onOpen:e,onClose:t,onAutoClose:n,onDismiss:r}:void 0}function $s({content:e,duration:t=Xs,position:n=Zs,persistent:r,onOpen:i,onClose:a,onAutoClose:o,onDismiss:s,key:c,refresh:l=!1,dismissPrevious:u=!1}){if(c){let n=Q.getActiveToastIdByKey(c);if(n)return l&&Q.update(n,{content:e,duration:t}),{id:n,dismiss:()=>Q.remove(n),deduplicated:!0}}u&&Q.removeAllAtPosition(n);let d=crypto.randomUUID();return Q.add({id:d,content:e,duration:t,position:n,persistent:r,callbacks:Qs({onOpen:i,onClose:a,onAutoClose:o,onDismiss:s}),key:c,singleSlot:u}),{id:d,dismiss:()=>Q.remove(d),deduplicated:!1}}function ec(e){return typeof e==`object`&&!!e&&`content`in e}function tc(e,t){return ec(e)?$s(e):$s({content:e,...t})}function nc({title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:i,onAccept:a,options:o={}}){return tc(o=>(0,d.jsx)(rc,{title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:()=>i(o),onAccept:()=>a(o)}),{...o})}function rc({title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:i,onAccept:a}){return(0,d.jsxs)(`div`,{className:`max-w-md gap-6 rounded-lg p-6 shadow-xl flex w-full flex-col justify-center bg-white`,children:[(0,d.jsxs)(`div`,{className:`gap-3 flex flex-col justify-center`,children:[(0,d.jsx)(`h3`,{className:`text-base font-medium text-neutral-900`,children:e}),(0,d.jsx)(`p`,{className:`text-sm text-neutral-600`,children:t})]}),(0,d.jsxs)(`div`,{className:`gap-3 flex items-center justify-end`,children:[(0,d.jsx)(Y,{className:`rounded-lg px-4 py-2 text-sm font-medium border border-neutral-300 text-neutral-900 transition-opacity hover:opacity-70`,onClick:()=>i(close),children:n}),(0,d.jsx)(Y,{className:`rounded-lg px-4 py-2 text-sm font-medium bg-error-base text-white transition-opacity hover:opacity-90`,onClick:()=>a(close),children:r})]})]})}function ic({title:e,subtitle:t,description:n,onUndo:r,onClose:i,options:a={}}){return tc(a=>(0,d.jsx)(ac,{title:e,subtitle:t,description:n,onUndo:()=>r(a),onClose:()=>i(a)}),{...a})}function ac({title:e,subtitle:t,description:n,onUndo:r,onClose:i}){return(0,d.jsxs)(`div`,{className:`gap-3 rounded-lg p-4 grid max-w-[400px] min-w-[280px] grid-cols-[auto_1fr] bg-success-base`,children:[(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col justify-center`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`span`,{className:`text-xs font-medium text-white`,children:e}),(0,d.jsx)(Y,{className:`text-xs font-semibold text-white underline transition-colors hover:text-neutral-200`,onClick:()=>r(close),children:`Undo`})]}),t&&(0,d.jsx)(`div`,{className:`text-xs font-semibold line-clamp-2 text-white-alpha-90`,children:t}),n&&(0,d.jsx)(`div`,{className:`text-xs line-clamp-2 text-white-alpha-80`,children:n})]}),(0,d.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(ui,{size:20,className:`text-white`,onClick:()=>i(close)})})})]})}const oc=Object.assign(tc,{confirm:e=>nc(e),undo:e=>ic(e)});function sc({size:e=40,className:t,...n}){return(0,d.jsxs)(`svg`,{width:144/40*e,height:e,viewBox:`0 0 144 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:t,...n,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_4580)`,children:[(0,d.jsx)(`path`,{d:`M65.1904 0.776112C66.9609 0.776112 68.4651 2.20751 68.4651 4.08969C68.4651 5.97188 66.9749 7.34751 65.1904 7.34751H57.3189V35.8778C57.3189 38.0342 55.6045 39.7909 53.6098 39.7909C51.6151 39.7909 49.8305 38.0295 49.8305 35.8778V7.34751H42.0105C40.24 7.34751 38.6797 5.91611 38.6797 4.08969C38.6797 2.26327 40.24 0.776112 42.0105 0.776112H65.2091H65.1904ZM88.0387 10.5403C89.982 10.5403 91.7479 12.1947 91.7479 14.128V36.152C91.7479 38.1364 89.9774 39.7397 88.0387 39.7397C86.1 39.7397 84.3809 38.1364 84.3809 36.152V35.1017C83.9324 36.8072 80.9987 39.7909 76.1637 39.7909C70.0628 39.7909 62.7425 35.1017 62.7425 25.0633C62.7425 15.025 70.1282 10.3869 76.1637 10.3869C80.0971 10.3869 83.2738 12.4922 84.3809 15.0761V14.1466C84.3809 12.2133 86.044 10.5588 88.0387 10.5588V10.5403ZM77.4998 33.5494C80.6017 33.5494 84.7126 31.2908 84.7126 25.0447C84.7126 18.7987 80.6017 16.54 77.4998 16.54C73.842 16.54 70.0114 19.4028 70.0114 25.0447C70.0114 30.6866 73.842 33.5494 77.4998 33.5494ZM105.309 36.0823C105.309 38.0667 103.646 39.67 101.703 39.67C99.7595 39.67 98.045 38.0667 98.045 36.0823V3.58778C98.045 1.65447 99.7081 0 101.703 0C103.698 0 105.309 1.65447 105.309 3.58778V36.1008V36.0823Z`,fill:`white`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M125.262 10.0894C117.129 10.0894 110.523 16.6608 110.523 24.7518C110.523 32.8429 117.129 39.4143 125.262 39.4143C133.395 39.4143 140.001 32.8429 140.001 24.7518C140.001 16.6608 133.395 10.0894 125.262 10.0894ZM130.415 32.2341L130.405 32.2248C128.952 33.2194 127.168 33.8049 125.267 33.8049C120.24 33.8049 116.167 29.7524 116.167 24.7518C116.167 20.3368 119.339 16.6608 123.534 15.8707V24.0966C123.534 24.5288 123.688 24.9424 123.982 25.2677L130.405 32.2248C130.405 32.2248 130.415 32.2248 130.415 32.2202V32.2388V32.2341Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M33.3918 33.5632C36.6152 30.1473 38.6613 25.5092 38.6613 20.0904C38.6613 8.45336 29.0754 0.380859 19.312 0.380859C9.54853 0.380859 0 8.45336 0 20.095C0 31.7367 9.60459 39.7906 19.312 39.7906C22.5353 39.7906 25.6932 38.9123 28.5195 37.3601L30.2339 39.1214C30.7898 39.6745 31.57 39.9998 32.4015 39.9998C34.1159 39.9998 35.5034 38.6195 35.5034 36.9139C35.5034 36.1378 35.1717 35.4314 34.6718 34.8087L33.3872 33.5306V33.5632H33.3918ZM28.1738 28.3209L24.5674 24.6309C24.0629 24.0267 23.2313 23.7014 22.3998 23.7014C20.6854 23.7014 19.2979 25.1328 19.2979 26.7873C19.2979 27.6145 19.681 28.3395 20.2322 28.8925L23.2827 32.0295C21.9981 32.4757 20.6807 32.7545 19.2933 32.7545C13.1923 32.7545 7.81541 27.6842 7.81541 20.1136C7.81541 12.5431 13.1923 7.47276 19.2933 7.47276C25.3942 7.47276 30.8412 12.5431 30.8412 20.1136C30.8412 23.3714 29.8368 26.1831 28.1691 28.3395V28.3209H28.1738Z`,fill:`white`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M130.428 32.2433L130.418 32.234C128.966 33.2286 127.181 33.8141 125.28 33.8141C120.253 33.8141 116.18 29.7616 116.18 24.761C116.18 20.346 119.352 16.6699 123.547 15.8799V24.1057C123.547 24.538 123.701 24.9516 123.995 25.2769L130.418 32.234C130.418 32.234 130.428 32.234 130.428 32.2294V32.248V32.2433Z`,fill:`#6663FF`})]}),(0,d.jsx)(`defs`,{children:(0,d.jsx)(`clipPath`,{id:`clip0_5796_4580`,children:(0,d.jsx)(`rect`,{width:`140`,height:`40`,fill:`white`})})})]})}function cc({size:e=40,className:t,...n}){return(0,d.jsxs)(`svg`,{width:144/40*e,height:e,viewBox:`0 0 144 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:t,...n,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_4580)`,children:[(0,d.jsx)(`path`,{d:`M65.1904 0.776112C66.9609 0.776112 68.4651 2.20751 68.4651 4.08969C68.4651 5.97188 66.9749 7.34751 65.1904 7.34751H57.3189V35.8778C57.3189 38.0342 55.6045 39.7909 53.6098 39.7909C51.6151 39.7909 49.8305 38.0295 49.8305 35.8778V7.34751H42.0105C40.24 7.34751 38.6797 5.91611 38.6797 4.08969C38.6797 2.26327 40.24 0.776112 42.0105 0.776112H65.2091H65.1904ZM88.0387 10.5403C89.982 10.5403 91.7479 12.1947 91.7479 14.128V36.152C91.7479 38.1364 89.9774 39.7397 88.0387 39.7397C86.1 39.7397 84.3809 38.1364 84.3809 36.152V35.1017C83.9324 36.8072 80.9987 39.7909 76.1637 39.7909C70.0628 39.7909 62.7425 35.1017 62.7425 25.0633C62.7425 15.025 70.1282 10.3869 76.1637 10.3869C80.0971 10.3869 83.2738 12.4922 84.3809 15.0761V14.1466C84.3809 12.2133 86.044 10.5588 88.0387 10.5588V10.5403ZM77.4998 33.5494C80.6017 33.5494 84.7126 31.2908 84.7126 25.0447C84.7126 18.7987 80.6017 16.54 77.4998 16.54C73.842 16.54 70.0114 19.4028 70.0114 25.0447C70.0114 30.6866 73.842 33.5494 77.4998 33.5494ZM105.309 36.0823C105.309 38.0667 103.646 39.67 101.703 39.67C99.7595 39.67 98.045 38.0667 98.045 36.0823V3.58778C98.045 1.65447 99.7081 0 101.703 0C103.698 0 105.309 1.65447 105.309 3.58778V36.1008V36.0823Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M125.262 10.0894C117.129 10.0894 110.523 16.6608 110.523 24.7518C110.523 32.8429 117.129 39.4143 125.262 39.4143C133.395 39.4143 140.001 32.8429 140.001 24.7518C140.001 16.6608 133.395 10.0894 125.262 10.0894ZM130.415 32.2341L130.405 32.2248C128.952 33.2194 127.168 33.8049 125.267 33.8049C120.24 33.8049 116.167 29.7524 116.167 24.7518C116.167 20.3368 119.339 16.6608 123.534 15.8707V24.0966C123.534 24.5288 123.688 24.9424 123.982 25.2677L130.405 32.2248C130.405 32.2248 130.415 32.2248 130.415 32.2202V32.2388V32.2341Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{d:`M33.3918 33.5632C36.6152 30.1473 38.6613 25.5092 38.6613 20.0904C38.6613 8.45336 29.0754 0.380859 19.312 0.380859C9.54853 0.380859 0 8.45336 0 20.095C0 31.7367 9.60459 39.7906 19.312 39.7906C22.5353 39.7906 25.6932 38.9123 28.5195 37.3601L30.2339 39.1214C30.7898 39.6745 31.57 39.9998 32.4015 39.9998C34.1159 39.9998 35.5034 38.6195 35.5034 36.9139C35.5034 36.1378 35.1717 35.4314 34.6718 34.8087L33.3872 33.5306V33.5632H33.3918ZM28.1738 28.3209L24.5674 24.6309C24.0629 24.0267 23.2313 23.7014 22.3998 23.7014C20.6854 23.7014 19.2979 25.1328 19.2979 26.7873C19.2979 27.6145 19.681 28.3395 20.2322 28.8925L23.2827 32.0295C21.9981 32.4757 20.6807 32.7545 19.2933 32.7545C13.1923 32.7545 7.81541 27.6842 7.81541 20.1136C7.81541 12.5431 13.1923 7.47276 19.2933 7.47276C25.3942 7.47276 30.8412 12.5431 30.8412 20.1136C30.8412 23.3714 29.8368 26.1831 28.1691 28.3395V28.3209H28.1738Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M130.428 32.2433L130.418 32.234C128.966 33.2286 127.181 33.8141 125.28 33.8141C120.253 33.8141 116.18 29.7616 116.18 24.761C116.18 20.346 119.352 16.6699 123.547 15.8799V24.1057C123.547 24.538 123.701 24.9516 123.995 25.2769L130.418 32.234C130.418 32.234 130.428 32.234 130.428 32.2294V32.248V32.2433Z`,fill:`#CEFF1A`})]}),(0,d.jsx)(`defs`,{children:(0,d.jsx)(`clipPath`,{id:`clip0_5796_4580`,children:(0,d.jsx)(`rect`,{width:`140`,height:`40`,fill:`white`})})})]})}exports.AVATAR_COLOR=ga,exports.AVATAR_COLOR_KEYS=_a,exports.Accordion=Cr,exports.AccordionContent=Er,exports.AccordionItem=wr,exports.AccordionTrigger=Tr,exports.AccountIcon=$r,exports.AccountInfo=ha,exports.AccountOutlineIcon=ei,exports.ActionMenu=za,exports.ActionMenuItem=Ra,exports.AddCircleIcon=ti,exports.AddIcon=ni,exports.ArrowIcon=ii,exports.AsanaIcon=Or,exports.Avatar=ba,exports.Badge=ki,exports.BetaResizeHandle=wa,exports.BuildingIcon=ai,exports.BuildingOutlineIcon=oi,exports.BulkActions=Da,exports.BulkActionsSkeleton=Ta,exports.Button=Y,exports.CalendarIcon=si,exports.Card=Ai,exports.CardContent=Fi,exports.CardFooter=Ii,exports.CardHeader=Ni,exports.CardLayout=ji,exports.CardSidebar=Mi,exports.CardTitle=Pi,exports.CheckCircleEmptyIcon=Br,exports.CheckCircleIcon=Vr,exports.CheckIcon=Rr,exports.CheckSquareIcon=ci,exports.Checkbox=dr,exports.CheckboxIcon=zr,exports.ClickUpIcon=kr,exports.CloseBoldIcon=li,exports.CloseIcon=ui,exports.CompactDensityIcon=di,exports.CopyIcon=fi,exports.DarkIcon=pi,exports.DatePicker=Ha,exports.Divider=Qo,exports.Dropdown=mr,exports.DropdownContext=fr,exports.DropdownMenu=zi,exports.DropdownMenuItem=Ri,exports.EVENT_CARD_HEIGHT_SIZE=Ua,exports.EVENT_SUMMARY_CARD_HEIGHT_SIZE=Wa,exports.EmptyBoxIcon=mi,exports.EventCard=Za,exports.EventCardSkeleton=Ga,exports.EventDetail=Po,exports.EventDetailContentCalendar=io,exports.EventDetailContentEmail=oo,exports.EventDetailContentHeader=ro,exports.EventDetailContentMessage=Co,exports.EventDetailContentTicket=To,exports.EventDetailFollowUp=eo,exports.EventDetailHeader=Eo,exports.EventDetailPriority=to,exports.EventDetailSkeleton=Do,exports.EventDetailSummary=no,exports.EventEmptyState=Fo,exports.EventSummaryCard=fo,exports.EventSummaryCardSkeleton=Io,exports.EventSummaryFireButton=uo,exports.EvidenceTimeline=Ko,exports.ExternalLinkIcon=hi,exports.EyeFillIcon=Hr,exports.EyeIcon=gi,exports.FilterBar=Yo,exports.FilterBarSkeleton=qo,exports.FilterButton=ja,exports.FireFillIcon=Ur,exports.FireIcon=Wr,exports.GmailIcon=Ar,exports.GoogleCalendarIcon=jr,exports.HelpPanel=Xo,exports.HelpPanelEngine=Bi,exports.HomeFillIcon=Gr,exports.HomeIcon=_i,exports.Icon=X,exports.IconButton=$,exports.IconCountButton=La,exports.IconCountButtonSkeleton=Ma,exports.InboxIcon=vi,exports.InfoTooltip=Ea,exports.Input=hr,exports.InsightFillIcon=Kr,exports.InsightIcon=qr,exports.IntegrationBar=es,exports.IntegrationBarSkeleton=$o,exports.IntegrationItem=rs,exports.IntegrationItemSkeleton=ts,exports.IntegrationsCard=ns,exports.JiraIcon=Mr,exports.LightIcon=yi,exports.LogoIcon=Dr,exports.MailIcon=bi,exports.MinusIcon=xi,exports.MoreIcon=Si,exports.NoEyeIcon=Ci,exports.NormalDensityIcon=wi,exports.NotFireIcon=Jr,exports.ONBOARDING_DISMISSED_STORAGE_KEY=`onboarding_dismissed`,exports.Onboarding=ys,exports.OnboardingCard=us,exports.OnboardingEngine=Wi,exports.OutlookCalendarIcon=Nr,exports.OutlookIcon=Pr,exports.PatternIcon=Yr,exports.Pressable=gr,exports.PulseFilterChip=xs,exports.PulseFilterChipSkeleton=Ss,exports.QtaloBlueImage=cc,exports.QtaloImage=sc,exports.ReadIcon=Xr,exports.ReplyIoIcon=Fr,exports.RichContent=Gi,exports.RoleBadge=zo,exports.SearchIcon=Ti,exports.SearchInput=Cs,exports.SearchWithSuggestions=Ds,exports.SignOutIcon=Ei,exports.SignalCard=Ms,exports.SignalCardSkeleton=Ns,exports.SignalClusterCard=Ps,exports.SignalClusterCardSkeleton=Fs,exports.SignalDetailPanel=Js,exports.SignalDetailPanelSkeleton=Ys,exports.Skeleton=Z,exports.SlaProgressBar=Rs,exports.SlackIcon=Ir,exports.StatusBadge=Ca,exports.StopPropagation=_r,exports.SummaryIcon=Di,exports.SystemIcon=Oi,exports.TeamsIcon=Lr,exports.Toaster=ma,exports.Tooltip=br,exports.UnreadIcon=Zr,exports.WarningIcon=Qr,exports.capitalize=oe,exports.cn=T,exports.colors=m,exports.formatDate=b,exports.formatDateRange=ne,exports.formatTimestamp=lr,exports.generateCalendarDays=ae,exports.getDaysInMonth=_,exports.getFirstDayOfMonth=v,exports.getInitials=ce,exports.getMonthName=w,exports.getWeekdays=ie,exports.isDateBefore=C,exports.isDateInRange=te,exports.isSameDay=x,exports.isToday=S,exports.normalizeContent=tr,exports.parseDate=ee,exports.pickColorFromPalette=le,exports.stringHash=se,exports.toMondayBased=y,exports.toast=oc,exports.toastStore=Q,exports.useAccordion=Sr,exports.useDropdown=pr,exports.useLongPress=ue;
|
|
65
|
+
`).trim()}function tr(e){if(!e)return``;let t=er(e),n=Zn(t),r;switch(n){case`html`:r=Qn(t);break;case`markdown`:r=J.parse(t,{breaks:!0,gfm:!0}),r=Qn(r);break;case`text`:default:r=$n(Qn(t));break}return yt.sanitize(r,{ALLOWED_TAGS:[`p`,`br`,`strong`,`em`,`u`,`s`,`a`,`ul`,`ol`,`li`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`blockquote`,`code`,`pre`,`img`,`div`,`span`],ALLOWED_ATTR:[`href`,`src`,`alt`,`title`,`target`,`rel`],ALLOWED_URI_REGEXP:/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i})}var nr={hour:`2-digit`,minute:`2-digit`,hour12:!1};function rr(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function ir(e){return e.toLocaleTimeString([],nr)}function ar(e){let t=new Date(e);return t.setDate(e.getDate()-1),t}function or(e,t){return t?e.getFullYear().toString():`'${e.getFullYear().toString().slice(-2)}`}function sr(e,t){return t?`${e}${ur(e)}`:`${e}`}function cr(e,t,n){let{longMonth:r,longYear:i,withOrdinal:a,showWeekday:o,includeTime:s}=n,c=e.getDate(),l=r?`long`:`short`,u=`${e.toLocaleDateString([],{month:l})} ${sr(c,a)}`;return e.getFullYear()!==t.getFullYear()&&(u+=`, ${or(e,i)}`),o&&(u=`${e.toLocaleDateString([],{weekday:`long`})}, ${u}`),s&&(u+=`, ${ir(e)}`),u}function lr(e,t={}){let{todayAsText:n=!1,showWeekday:r=!1,longMonth:i=!1,longYear:a=!0,withOrdinal:o=!1,includeTime:s=!0}=t,c=new Date(e),l=new Date;return rr(c,l)?n?`Today`:ir(c):rr(c,ar(l))?s?`Yesterday, ${ir(c)}`:`Yesterday`:cr(c,l,{todayAsText:n,showWeekday:r,longMonth:i,longYear:a,withOrdinal:o,includeTime:s})}function ur(e){if(e%100>=11&&e%100<=13)return`th`;switch(e%10){case 1:return`st`;case 2:return`nd`;case 3:return`rd`;default:return`th`}}function Y({className:e,children:t,...n}){return(0,d.jsx)(`button`,{...n,className:T(`btn-base`,e),children:t})}function dr({checked:e,defaultChecked:t,icon:n,indeterminate:r,indeterminateIcon:i,onChange:a,disabled:o,children:s,className:c}){let l=(0,u.useRef)(null),[f,p]=(0,u.useState)(t??!1),m=e??f;(0,u.useEffect)(()=>{l.current&&(l.current.indeterminate=!!r)},[r]);function h(t){let n=t.target.checked;e===void 0&&p(n),a?.(n)}return(0,d.jsxs)(`label`,{className:T(`gap-2 relative inline-flex w-fit cursor-pointer items-center select-none`,o&&`pointer-events-none opacity-50`,c),children:[(0,d.jsx)(`input`,{ref:l,type:`checkbox`,className:T(`p-0 absolute h-px w-px overflow-hidden whitespace-nowrap`,`[clip-path:inset(50%)]`,`border-0`),disabled:o,onChange:h,...e===void 0?{defaultChecked:t}:{checked:e}}),(0,d.jsx)(`span`,{role:`checkbox`,"aria-checked":r?`mixed`:m,tabIndex:-1,"data-state":r?`indeterminate`:m?`checked`:`unchecked`,className:`checkbox-box inline-flex items-center justify-center`,children:(0,d.jsx)(`span`,{className:T(`checkbox-icon`,!(m||r)&&`opacity-0`),children:r?i??`—`:n??`✓`})}),s&&(0,d.jsx)(`span`,{className:`checkbox-label`,children:s})]})}const fr=(0,u.createContext)(null);function pr(){let e=(0,u.useContext)(fr);if(!e)throw Error(`useDropdown must be used inside Dropdown`);return e}function mr({trigger:e,children:t,align:n=`start`,side:r=`bottom`,offsetX:i=0,offsetY:a=0,disabled:o=!1,openOnHover:s=!0,open:c,onOpenChange:l}){let p=c!==void 0,[m,h]=(0,u.useState)(!1),g=p?c:m,_=(0,u.useCallback)(e=>{e!==g&&(p||h(e),l?.(e))},[g,p,l]),v=(0,u.useRef)(null),y=(0,u.useRef)(null),b=(0,u.useRef)(null),[ee,x]=(0,u.useState)(null),S=(0,u.useCallback)(()=>{if(!v.current||!y.current)return;let e=v.current.getBoundingClientRect(),t=y.current.getBoundingClientRect(),o=e.left;n===`end`?o=e.right-t.width:n===`center`&&(o=e.left+(e.width-t.width)/2),o+=i;let s;s=r===`bottom`?e.bottom+a:e.top-t.height+a,queueMicrotask(()=>x({top:s,left:o}))},[n,r,i,a]);(0,u.useLayoutEffect)(()=>{g&&S()},[g,S]),(0,u.useEffect)(()=>{if(!g)return;let e=()=>S();return window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[g,S]);let C=(0,u.useCallback)(()=>{b.current&&=(clearTimeout(b.current),null),_(!0)},[_]),te=(0,u.useCallback)(()=>{b.current=window.setTimeout(()=>{_(!1)},120)},[_]);return(0,u.useEffect)(()=>{function e(e){let t=e.target;v.current?.contains(t)||y.current?.contains(t)||_(!1)}return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[_]),(0,u.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]),(0,d.jsxs)(fr.Provider,{value:{close:()=>_(!1),open:C},children:[(0,d.jsx)(`div`,{ref:v,className:`inline-flex`,onMouseEnter:s?C:void 0,onMouseLeave:s?te:void 0,onClick:()=>_(!g),"aria-haspopup":`menu`,"aria-expanded":g,children:e}),g&&!o&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:y,onMouseEnter:s?C:void 0,onMouseLeave:s?te:void 0,style:{position:`fixed`,top:ee?.top??0,left:ee?.left??0,visibility:ee?`visible`:`hidden`,zIndex:1e3},children:t}),document.body)]})}function hr({type:e=`text`,value:t,defaultValue:n,disabled:r=!1,error:i=!1,placeholder:a,onChange:o,onKeyDown:s,className:c}){let[l,f]=(0,u.useState)(n??``),p=t!==void 0,m=p?t:l;function h(e){let t=e.target.value;p||f(t),o?.(t)}function g(e){s?.(e)}return(0,d.jsx)(`input`,{type:e,value:m,placeholder:a,disabled:r,"aria-disabled":r||void 0,"aria-invalid":i||void 0,onChange:h,onKeyDown:g,className:T(`bg-transparent outline-none`,r&&`pointer-events-none`,c)})}function gr({as:e,disabled:t=!1,onPress:n,className:r,children:i,...a}){let o=e||`div`,s=(0,u.useCallback)(()=>{t||n?.()},[t,n]),c=(0,u.useCallback)(e=>{t||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),n?.())},[t,n]);return(0,d.jsx)(o,{role:`button`,tabIndex:t?-1:0,"aria-disabled":t||void 0,onClick:s,onKeyDown:c,className:T(`select-none`,!t&&`cursor-pointer`,t&&`pointer-events-none opacity-50`,r),...a,children:i})}function _r({children:e}){return(0,d.jsx)(`div`,{className:`contents`,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:e})}function vr(e,t,n){return n===`start`?e.left:n===`end`?e.right-t.width:e.left+e.width/2-t.width/2}function yr(e,t,n){return n===`start`?e.top:n===`end`?e.bottom-t.height:e.top+e.height/2-t.height/2}function br({children:e,content:t,position:n=`top`,delay:r=120,className:i}){let a=(0,u.useRef)(null),o=(0,u.useRef)(null),s=(0,u.useRef)(null),[c,l]=(0,u.useState)(!1),[p,m]=(0,u.useState)(null),h=()=>{s.current&&=(clearTimeout(s.current),null),s.current=window.setTimeout(()=>{l(!0)},r)},g=()=>{s.current&&=(clearTimeout(s.current),null),l(!1)};return(0,u.useLayoutEffect)(()=>{if(!c||!a.current||!o.current)return;let e=a.current.getBoundingClientRect(),t=o.current.getBoundingClientRect(),[r,i]=n.split(`-`),s=i??`center`,l=0,u=0;r===`top`||r===`bottom`?(l=r===`top`?e.top-t.height-4:e.bottom+4,u=vr(e,t,s)):(u=r===`left`?e.left-t.width-4:e.right+4,l=yr(e,t,s)),m(e=>e&&e.top===l&&e.left===u?e:{top:l,left:u})},[c,n]),(0,u.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{ref:a,className:`inline-flex`,onMouseEnter:h,onMouseLeave:g,onFocus:h,onBlur:g,children:e}),c&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:o,role:`tooltip`,style:{position:`fixed`,top:p?.top??0,left:p?.left??0,visibility:p?`visible`:`hidden`,zIndex:1e3},className:T(i),children:t}),document.body)]})}const xr=(0,u.createContext)(null);function Sr(){let e=(0,u.useContext)(xr);if(!e)throw Error(`useAccordion must be used inside Accordion`);return e}function Cr({children:e,type:t=`single`,defaultValue:n,className:r}){let[i,a]=(0,u.useState)(()=>n?t===`single`?new Set([n]):new Set(Array.isArray(n)?n:[n]):new Set),o=e=>{a(n=>{if(t===`single`)return n.has(e)?new Set:new Set([e]);let r=new Set(n);return r.has(e)?r.delete(e):r.add(e),r})};return(0,d.jsx)(xr.Provider,{value:{openItems:i,toggleItem:o,type:t},children:(0,d.jsx)(`div`,{className:r,"data-type":t,children:typeof e==`function`?e({openItems:i,toggleItem:o}):e})})}function wr({value:e,children:t,className:n,...r}){let{openItems:i}=Sr(),a=i.has(e);return(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t})}function Tr({value:e,children:t,className:n,asChild:r=!1,onClick:i,...a}){let{toggleItem:o,openItems:s}=Sr(),c=s.has(e),l=t=>{o(e),t&&i&&i(t)};return r&&(0,u.isValidElement)(t)?(0,u.cloneElement)(t,{onClick:l,"aria-expanded":c,"data-state":c?`open`:`closed`}):(0,d.jsx)(gr,{className:n,onPress:()=>l(void 0),"aria-expanded":c,"data-state":c?`open`:`closed`,...a,children:t})}function Er({value:e,children:t,className:n,...r}){let{openItems:i}=Sr(),a=i.has(e);return a?(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t}):null}function X({size:e=16,className:t,viewBox:n=`0 0 24 24`,children:r,...i}){return(0,d.jsx)(`svg`,{width:e,height:e,viewBox:n,fill:`none`,"aria-hidden":!0,focusable:`false`,className:T(`shrink-0`,t),...i,children:r})}function Dr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 32 32`,...t,children:(0,d.jsx)(`path`,{d:`M25.82 25.44C28.07 23.02 29.5 19.74 29.5 15.92C29.5 7.7 22.8 2 15.98 2C9.16 2 2.5 7.7 2.5 15.92C2.5 24.15 9.2 29.84 15.98 29.84C18.23 29.84 20.43 29.22 22.41 28.13L23.61 29.38C24 29.77 24.54 30 25.12 30C26.32 30 27.29 29.03 27.29 27.82C27.29 27.27 27.05 26.76 26.7 26.33L25.81 25.44H25.82ZM22.18 21.73L19.66 19.12C19.31 18.69 18.72 18.46 18.15 18.46C16.95 18.46 15.98 19.47 15.98 20.64C15.98 21.22 16.25 21.73 16.64 22.13L18.77 24.35C17.88 24.66 16.95 24.86 15.98 24.86C11.72 24.86 7.96 21.27 7.96 15.93C7.96 10.58 11.72 7 15.98 7C20.24 7 24.03 10.58 24.03 15.93C24.03 18.23 23.34 20.22 22.18 21.74V21.73Z`,fill:`currentColor`,...e})})}function Or(e){return(0,d.jsx)(X,{viewBox:`0 0 16 16`,...e,children:(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.46 8.33C9.99 8.33 8.8 9.5 8.8 10.94C8.8 12.38 9.99 13.55 11.46 13.55C12.92 13.55 14.11 12.38 14.11 10.94C14.11 9.5 12.92 8.33 11.46 8.33ZM4.55 8.33C3.08 8.33 1.89 9.5 1.89 10.94C1.89 12.38 3.08 13.55 4.55 13.55C6.02 13.55 7.21 12.38 7.21 10.94C7.21 9.5 6.02 8.33 4.55 8.33ZM10.66 5.06C10.66 6.5 9.47 7.67 8 7.67C6.53 7.67 5.34 6.5 5.34 5.06C5.34 3.61 6.53 2.44 8 2.44C9.47 2.44 10.66 3.61 10.66 5.06Z`,fill:`#F06A6A`})})}function kr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M18.03 11.43L10.65 17.81L7.23 13.84L18.05 4.5L28.78 13.85L25.35 17.81L18.03 11.43Z`,fill:`url(#paint0_linear_5796_19610)`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.76 25.23L10.91 22.05C13.11 24.93 15.46 26.26 18.06 26.26C20.67 26.26 22.93 24.95 25.03 22.08L29.24 25.19C26.21 29.32 22.43 31.5 18.06 31.5C13.69 31.5 9.89 29.33 6.76 25.23Z`,fill:`url(#paint1_linear_5796_19610)`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19610`,x1:`6.83`,y1:`10.64`,x2:`28.36`,y2:`10.64`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#FF02F0`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#FFC800`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19610`,x1:`6.37`,y1:`26.25`,x2:`28.82`,y2:`26.25`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#8930FD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#49CCF9`})]})]})]})}function Ar(e){return(0,d.jsxs)(X,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M3.02 14.09H5.2V8.79L2.09 6.45V13.15C2.09 13.67 2.51 14.09 3.02 14.09Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M12.68 14.09H14.87C15.38 14.09 15.8 13.67 15.8 13.15V6.45L12.68 8.79`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M12.68 4.74V8.79L15.8 6.45V5.21C15.8 4.05 14.48 3.39 13.56 4.08`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M5.2 8.79V4.74L8.94 7.54L12.68 4.74V8.79L8.94 11.59`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M2.09 5.21V6.45L5.2 8.79V4.74L4.33 4.08C3.4 3.39 2.09 4.05 2.09 5.21Z`,fill:`#C5221F`})]})}function jr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M25.1 10.89L18.71 10.18L10.89 10.89L10.18 18L10.89 25.1L18 25.99L25.1 25.1L25.82 17.82L25.1 10.89Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M13.81 21.92C13.28 21.56 12.91 21.04 12.71 20.34L13.94 19.83C14.06 20.26 14.25 20.59 14.53 20.83C14.81 21.06 15.14 21.18 15.54 21.18C15.94 21.18 16.29 21.05 16.58 20.81C16.87 20.56 17.01 20.25 17.01 19.87C17.01 19.48 16.86 19.17 16.55 18.92C16.25 18.68 15.87 18.56 15.41 18.56H14.7V17.34H15.33C15.73 17.34 16.06 17.23 16.33 17.02C16.6 16.8 16.74 16.51 16.74 16.14C16.74 15.81 16.62 15.55 16.37 15.35C16.13 15.15 15.83 15.05 15.46 15.05C15.09 15.05 14.81 15.15 14.59 15.34C14.38 15.54 14.22 15.77 14.13 16.05L12.91 15.55C13.07 15.09 13.36 14.68 13.8 14.33C14.24 13.98 14.79 13.81 15.47 13.81C15.97 13.81 16.41 13.9 16.81 14.1C17.21 14.29 17.52 14.56 17.75 14.9C17.97 15.24 18.09 15.63 18.09 16.05C18.09 16.49 17.98 16.86 17.77 17.16C17.56 17.46 17.3 17.69 17 17.85V17.93C17.4 18.09 17.73 18.35 17.99 18.7C18.25 19.04 18.38 19.46 18.38 19.94C18.38 20.42 18.25 20.86 18.01 21.23C17.76 21.61 17.43 21.91 17 22.13C16.56 22.34 16.08 22.45 15.54 22.45C14.92 22.46 14.34 22.28 13.81 21.92Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M21.37 15.8L20.03 16.78L19.35 15.75L21.78 14H22.71V22.26H21.37V15.8Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M25.1 31.5L31.5 25.1L28.3 23.68L25.1 25.1L23.68 28.3L25.1 31.5Z`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M9.47 28.3L10.89 31.5H25.1V25.11H10.89L9.47 28.3Z`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M6.63 4.5C5.45 4.5 4.5 5.45 4.5 6.63V25.1L7.7 26.53L10.89 25.1V10.89H25.11L26.53 7.7L25.11 4.5H6.63Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M4.5 25.11V29.37C4.5 30.55 5.45 31.5 6.63 31.5H10.89V25.11H4.5Z`,fill:`#188038`}),(0,d.jsx)(`path`,{d:`M25.1 10.89V25.11H31.5V10.89L28.3 9.47L25.1 10.89Z`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M31.5 10.89V6.63C31.5 5.45 30.54 4.5 29.37 4.5H25.1V10.89H31.5Z`,fill:`#1967D2`})]})}function Mr(e){let t=`jira-gradient-0`,n=`jira-gradient-1`;return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...e,children:[(0,d.jsx)(`path`,{d:`M16.42 3H9.68C9.68 4.68 11.04 6.04 12.72 6.04H13.96V7.24C13.96 8.92 15.32 10.28 17 10.28V3.58C17 3.26 16.74 3 16.42 3Z`,fill:`#2684FF`}),(0,d.jsx)(`path`,{d:`M13.08 6.36H6.34C6.34 8.04 7.7 9.4 9.38 9.4H10.62V10.6C10.62 12.28 11.98 13.64 13.66 13.64V6.94C13.66 6.62 13.4 6.36 13.08 6.36Z`,fill:`url(#${t})`}),(0,d.jsx)(`path`,{d:`M9.74 9.72H3C3 11.4 4.36 12.76 6.04 12.76H7.28V13.96C7.28 15.64 8.64 17 10.32 17V10.3C10.32 9.98 10.06 9.72 9.74 9.72Z`,fill:`url(#${n})`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:t,x1:`16.73`,y1:`3.02`,x2:`11.22`,y2:`8.67`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]}),(0,d.jsxs)(`linearGradient`,{id:n,x1:`10.37`,y1:`9.75`,x2:`7.06`,y2:`12.97`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]})]})]})}function Nr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M31.5 11.93V9.35C31.5 6.67 29.33 4.5 26.65 4.5H9.35C6.67 4.5 4.5 6.67 4.5 9.35V11.93H31.5Z`,fill:`url(#paint0_linear_5796_19583)`}),(0,d.jsx)(`path`,{d:`M4.5 11.91V26.65C4.5 29.33 6.67 31.5 9.35 31.5H26.65C29.33 31.5 31.5 29.33 31.5 26.65V11.91H4.5Z`,fill:`url(#paint1_linear_5796_19583)`}),(0,d.jsx)(`g`,{filter:`url(#filter0_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 25.5176C19.0579 25.5176 19.9004 24.6751 19.9004 23.6358C19.9004 22.5964 19.0579 21.7539 18.0186 21.7539C16.9793 21.7539 16.1367 22.5964 16.1367 23.6358C16.1367 24.6751 16.9793 25.5176 18.0186 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter1_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 25.5176C12.638 25.5176 13.4805 24.6751 13.4805 23.6358C13.4805 22.5964 12.638 21.7539 11.5987 21.7539C10.5593 21.7539 9.7168 22.5964 9.7168 23.6358C9.7168 24.6751 10.5593 25.5176 11.5987 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter2_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 19.5C19.0579 19.5 19.9004 18.6575 19.9004 17.6182C19.9004 16.5789 19.0579 15.7363 18.0186 15.7363C16.9793 15.7363 16.1367 16.5789 16.1367 17.6182C16.1367 18.6575 16.9793 19.5 18.0186 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter3_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M24.4385 19.5C25.4778 19.5 26.3203 18.6575 26.3203 17.6182C26.3203 16.5789 25.4778 15.7363 24.4385 15.7363C23.3992 15.7363 22.5566 16.5789 22.5566 17.6182C22.5566 18.6575 23.3992 19.5 24.4385 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter4_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 19.5C12.638 19.5 13.4805 18.6575 13.4805 17.6182C13.4805 16.5789 12.638 15.7363 11.5987 15.7363C10.5593 15.7363 9.7168 16.5789 9.7168 17.6182C9.7168 18.6575 10.5593 19.5 11.5987 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`filter`,{id:`filter0_d_5796_19583`,x:`14.4916`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter1_d_5796_19583`,x:`8.07168`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter2_d_5796_19583`,x:`14.4916`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter3_d_5796_19583`,x:`20.9115`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter4_d_5796_19583`,x:`8.07168`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19583`,x1:`4.5`,y1:`8.21`,x2:`31.38`,y2:`10.12`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#0879D1`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#056EC9`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19583`,x1:`18`,y1:`11.91`,x2:`18`,y2:`31.5`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#44CBFD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#1195EA`})]})]})]})}function Pr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`mask`,{id:`mask0_5796_22925`,style:{maskType:`luminance`},maskUnits:`userSpaceOnUse`,x:`5`,y:`5`,width:`26`,height:`26`,children:(0,d.jsx)(`path`,{d:`M30.38 5.63H5.63V30.38H30.38V5.63Z`,fill:`white`})}),(0,d.jsxs)(`g`,{mask:`url(#mask0_5796_22925)`,children:[(0,d.jsx)(`path`,{d:`M27.74 7.17H14.45C13.85 7.17 13.36 7.66 13.36 8.26V9.49L20.85 11.81L28.83 9.49V8.26C28.83 7.66 28.34 7.17 27.74 7.17Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M30.1 19.09C30.22 18.73 30.31 18.37 30.37 18C30.37 17.82 30.28 17.65 30.12 17.55L30.11 17.55L30.1 17.55L21.72 12.77C21.69 12.75 21.65 12.73 21.61 12.71C21.28 12.55 20.9 12.55 20.58 12.71C20.54 12.73 20.5 12.75 20.47 12.77L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18C11.88 18.37 11.97 18.73 12.08 19.09L20.97 25.59L30.1 19.09Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H18.77L17.21 11.81L18.77 14.13L24.19 18.77H28.83V14.13L24.19 9.49Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{d:`M13.36 9.49H18.77V14.13H13.36V9.49Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H28.83V14.13H24.19V9.49Z`,fill:`#50D9FF`}),(0,d.jsx)(`path`,{d:`M24.19 18.77L18.77 14.13H13.36V18.77L18.77 23.41L27.15 24.78L24.19 18.77Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M18.77 14.13H24.19V18.77H18.77V14.13Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M13.36 18.77H18.77V23.42H13.36V18.77Z`,fill:`#064A8C`}),(0,d.jsx)(`path`,{d:`M24.19 18.77H28.83V23.42H24.19V18.77Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{opacity:`0.5`,d:`M21.24 25.13L12.12 18.48L12.5 17.81C12.5 17.81 20.81 22.54 20.94 22.61C21.04 22.65 21.16 22.65 21.26 22.6L29.72 17.78L30.1 18.46L21.24 25.13Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M30.12 18.45L30.11 18.45L30.11 18.45L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67V18C30.38 18.18 30.28 18.35 30.12 18.45Z`,fill:`#1490DF`}),(0,d.jsx)(`path`,{opacity:`0.05`,d:`M30.38 27.67V27.1L22.66 22.7L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M30.34 27.97L21.87 23.14L21.72 23.23C21.38 23.45 20.96 23.48 20.59 23.3L23.51 27.22L29.9 28.61V28.61C30.11 28.45 30.27 28.22 30.34 27.97Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M12.08 18.46V18.45H12.08L12.05 18.43C11.9 18.34 11.81 18.18 11.81 18V27.67C11.81 28.31 12.33 28.83 12.97 28.83C12.97 28.83 12.97 28.83 12.97 28.83H29.21C29.31 28.83 29.41 28.81 29.5 28.79C29.55 28.78 29.6 28.77 29.64 28.75C29.66 28.74 29.67 28.74 29.69 28.73C29.75 28.7 29.81 28.67 29.86 28.63C29.88 28.62 29.89 28.62 29.9 28.6L12.08 18.46Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.55 24.7V12.07C19.55 11.5 19.08 11.04 18.52 11.04H13.38V16.81L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18V25.73H18.52C19.08 25.73 19.55 25.27 19.55 24.7Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 25.48V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V26.51H17.74C18.31 26.51 18.77 26.04 18.77 25.48Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 23.93V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H17.74C18.31 24.96 18.77 24.5 18.77 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18 23.93V12.84C18 12.27 17.54 11.81 16.97 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H16.97C17.54 24.96 18 24.5 18 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M6.66 11.81H16.97C17.54 11.81 18 12.27 18 12.84V23.16C18 23.72 17.54 24.19 16.97 24.19H6.66C6.09 24.19 5.63 23.72 5.63 23.16V12.84C5.63 12.27 6.09 11.81 6.66 11.81Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M8.62 16.04C8.89 15.46 9.33 14.97 9.89 14.64C10.5 14.29 11.2 14.11 11.91 14.13C12.56 14.12 13.21 14.28 13.77 14.61C14.31 14.93 14.73 15.4 15.01 15.95C15.31 16.57 15.45 17.24 15.44 17.92C15.46 18.64 15.3 19.34 15 19.99C14.72 20.56 14.27 21.05 13.72 21.37C13.13 21.71 12.46 21.88 11.79 21.87C11.12 21.88 10.46 21.72 9.88 21.38C9.34 21.06 8.9 20.6 8.62 20.04C8.33 19.43 8.17 18.77 8.19 18.09C8.17 17.38 8.32 16.68 8.62 16.04ZM9.97 19.33C10.12 19.7 10.36 20.02 10.68 20.26C11.01 20.49 11.4 20.6 11.8 20.59C12.23 20.61 12.64 20.49 12.99 20.25C13.31 20.01 13.55 19.69 13.69 19.32C13.84 18.91 13.91 18.47 13.91 18.03C13.91 17.59 13.84 17.15 13.7 16.73C13.57 16.35 13.34 16.02 13.03 15.77C12.69 15.52 12.27 15.39 11.85 15.4C11.44 15.39 11.04 15.51 10.71 15.74C10.38 15.98 10.13 16.3 9.98 16.67C9.64 17.53 9.64 18.48 9.97 19.33Z`,fill:`white`})]})]})}function Fr(e){return(0,d.jsxs)(X,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M16.81,9.54c0,1.39-.16,2.63-.47,4.02-.47,2.01-1.87,3.4-3.9,3.87-2.65.62-5.46.62-8.12,0-1.87-.46-3.44-2.01-3.75-3.87-.31-1.39-.47-2.79-.47-4.02,0-1.39.16-2.63.47-4.02.47-2.01,1.87-3.4,3.9-3.87,1.25-.31,2.65-.46,4.06-.46s2.65.15,4.06.46c2.03.46,3.44,1.86,3.9,3.87.16,1.24.31,2.63.31,4.02Z`,fill:`#8aaad9`}),(0,d.jsx)(`path`,{d:`M13.64,8.61c2.35,0,4.25-1.91,4.25-4.26S15.99.1,13.64.1s-4.25,1.91-4.25,4.26,1.9,4.26,4.25,4.26Z`,fill:`#4063ae`})]})}function Ir(e){return(0,d.jsxs)(X,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M5.26 10.79C5.29 11.53 4.7 12.17 3.96 12.19C3.21 12.22 2.58 11.64 2.55 10.89C2.52 10.14 3.11 9.51 3.86 9.48L5.21 9.43L5.26 10.79Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M5.95 10.76C5.92 10.01 6.51 9.38 7.25 9.35C8 9.33 8.63 9.91 8.66 10.66L8.79 14.06C8.81 14.8 8.23 15.44 7.48 15.46C6.73 15.49 6.1 14.9 6.07 14.16L5.95 10.76Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M7.1 5.26C6.35 5.29 5.72 4.7 5.69 3.96C5.67 3.21 6.25 2.58 7 2.55C7.75 2.52 8.38 3.11 8.41 3.86L8.46 5.21L7.1 5.26Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M7.13 5.95C7.87 5.92 8.51 6.51 8.53 7.25C8.56 8 7.97 8.63 7.23 8.66L3.83 8.79C3.08 8.82 2.45 8.23 2.42 7.48C2.4 6.73 2.98 6.1 3.73 6.07L7.13 5.95Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M12.62 7.1C12.6 6.35 13.18 5.72 13.93 5.69C14.68 5.67 15.31 6.25 15.34 7C15.37 7.75 14.78 8.38 14.03 8.41L12.68 8.46L12.62 7.1Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M11.94 7.13C11.97 7.87 11.38 8.51 10.63 8.53C9.89 8.56 9.25 7.97 9.23 7.23L9.1 3.83C9.07 3.08 9.66 2.45 10.41 2.42C11.15 2.4 11.78 2.98 11.81 3.73L11.94 7.13Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M10.79 12.63C11.53 12.6 12.17 13.18 12.19 13.93C12.22 14.68 11.63 15.31 10.89 15.34C10.14 15.37 9.51 14.78 9.48 14.03L9.43 12.68L10.79 12.63Z`,fill:`#ECB22E`}),(0,d.jsx)(`path`,{d:`M10.76 11.94C10.01 11.97 9.38 11.38 9.35 10.63C9.33 9.89 9.91 9.26 10.66 9.23L14.06 9.1C14.8 9.07 15.44 9.66 15.46 10.41C15.49 11.15 14.9 11.79 14.16 11.81L10.76 11.94Z`,fill:`#ECB22E`})]})}function Lr(e){return(0,d.jsxs)(X,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_19548)`,children:[(0,d.jsx)(`path`,{d:`M23.33 14.85H30.31C30.97 14.85 31.5 15.39 31.5 16.05V22.42C31.5 24.84 29.54 26.81 27.12 26.81H27.09C24.67 26.81 22.71 24.84 22.71 22.42V15.48C22.71 15.13 22.99 14.85 23.33 14.85Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M28.05 13.59C29.61 13.59 30.87 12.33 30.87 10.76C30.87 9.2 29.61 7.93 28.05 7.93C26.49 7.93 25.22 9.2 25.22 10.76C25.22 12.33 26.49 13.59 28.05 13.59Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M19.26 13.6C21.51 13.6 23.34 11.76 23.34 9.51C23.34 7.25 21.51 5.42 19.26 5.42C17 5.42 15.17 7.25 15.17 9.51C15.17 11.76 17 13.6 19.26 13.6Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{d:`M24.7 14.85H13.19C12.54 14.87 12.02 15.41 12.04 16.06V23.33C11.94 27.24 15.04 30.49 18.94 30.59C22.85 30.49 25.94 27.24 25.85 23.33V16.06C25.86 15.41 25.35 14.87 24.7 14.85Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5704 14.8545V25.0293C19.5673 25.4958 19.2851 25.915 18.8546 26.0927C18.7175 26.1508 18.5702 26.1807 18.4213 26.1808H12.588C12.5064 25.9731 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H19.5704Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V25.6585C18.9424 25.8077 18.9126 25.9553 18.8546 26.0927C18.6773 26.5241 18.259 26.8069 17.7934 26.81H12.8832C12.7764 26.6023 12.676 26.3947 12.588 26.1808C12.5001 25.9668 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V24.4C18.9377 25.034 18.426 25.5467 17.7934 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1845 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3145 14.8545V24.4C18.3098 25.034 17.7981 25.5467 17.1655 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.3145Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5694 11.6017V13.5838C19.4627 13.5901 19.3622 13.5964 19.2555 13.5964C19.1487 13.5964 19.0483 13.5901 18.9415 13.5838C18.7296 13.5697 18.5194 13.536 18.3136 13.4831C17.0421 13.1814 15.9916 12.2877 15.488 11.0794C15.4014 10.8765 15.3341 10.6658 15.2871 10.4502H18.4204C19.054 10.4526 19.567 10.9667 19.5694 11.6017Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9418 12.2296V13.5825C18.7298 13.5684 18.5196 13.5347 18.3139 13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.7927C18.4263 11.0805 18.9394 11.5947 18.9418 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3139 12.2296V13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.1648C17.7984 11.0805 18.3115 11.5947 18.3139 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M5.65 11.08H17.16C17.8 11.08 18.31 11.59 18.31 12.23V23.77C18.31 24.4 17.8 24.92 17.16 24.92H5.65C5.02 24.92 4.5 24.4 4.5 23.77V12.23C4.5 11.59 5.02 11.08 5.65 11.08Z`,fill:`url(#paint0_linear_5796_19548)`}),(0,d.jsx)(`path`,{d:`M14.44 15.47H12.14V21.75H10.67V15.47H8.38V14.25H14.44V15.47Z`,fill:`white`})]}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19548`,x1:`6.9`,y1:`10.18`,x2:`15.94`,y2:`25.81`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#5A62C3`}),(0,d.jsx)(`stop`,{offset:`0.5`,stopColor:`#4D55BD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#3940AB`})]}),(0,d.jsx)(`clipPath`,{id:`clip0_5796_19548`,children:(0,d.jsx)(`rect`,{width:`27`,height:`25.1695`,fill:`white`,transform:`translate(4.5 5.41504)`})})]})]})}function Rr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z`,fill:`currentColor`,...e})})}function zr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M4 8L6.5 10.5L12 5`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function Br({...e}){return(0,d.jsx)(X,{viewBox:`0 0 28 28`,...e,children:(0,d.jsx)(`circle`,{cx:`14`,cy:`14`,r:`10.5`,stroke:`currentColor`,strokeWidth:`1.5`})})}function Vr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M8.82 13.55L14.42 7.94L13.54 7.06L8.82 11.79L6.44 9.41L5.56 10.29L8.82 13.55ZM10 17.92C8.91 17.92 7.88 17.71 6.91 17.29C5.95 16.88 5.11 16.31 4.4 15.6C3.69 14.89 3.12 14.05 2.71 13.09C2.29 12.13 2.08 11.1 2.08 10C2.08 8.91 2.29 7.88 2.71 6.91C3.12 5.95 3.69 5.11 4.4 4.4C5.11 3.69 5.95 3.12 6.91 2.71C7.88 2.29 8.9 2.08 10 2.08C11.09 2.08 12.12 2.29 13.09 2.71C14.05 3.12 14.89 3.69 15.6 4.4C16.31 5.11 16.88 5.95 17.29 6.91C17.71 7.87 17.92 8.9 17.92 10C17.92 11.09 17.71 12.12 17.29 13.09C16.88 14.05 16.31 14.89 15.6 15.6C14.89 16.31 14.05 16.88 13.09 17.29C12.13 17.71 11.1 17.92 10 17.92ZM10 16.67C11.86 16.67 13.44 16.02 14.73 14.73C16.02 13.44 16.67 11.86 16.67 10C16.67 8.14 16.02 6.56 14.73 5.27C13.44 3.98 11.86 3.33 10 3.33C8.14 3.33 6.56 3.98 5.27 5.27C3.98 6.56 3.33 8.14 3.33 10C3.33 11.86 3.98 13.44 5.27 14.73C6.56 16.02 8.14 16.67 10 16.67Z`,fill:`currentColor`,...e})})}function Hr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z`,fill:`currentColor`,...e})})}function Ur({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M3.72,11.13c0-1.23.27-2.35.82-3.33.54-.99,1.16-1.84,1.85-2.56.69-.72,1.35-1.29,1.98-1.73.63-.44,1.04-.72,1.21-.84v2.01c0,.65.22,1.16.65,1.53.43.38.92.56,1.46.56.25,0,.49-.05.72-.14.23-.09.45-.24.65-.43l.37-.37c.86.56,1.55,1.31,2.07,2.25.52.93.78,1.95.78,3.05,0,1.25-.33,2.38-1,3.38-.66,1-1.53,1.75-2.58,2.24.27-.3.48-.64.63-1.01.15-.38.23-.78.23-1.21,0-.47-.09-.91-.27-1.33-.18-.42-.43-.8-.76-1.13l-2.53-2.47-2.51,2.47c-.34.34-.6.72-.78,1.13-.18.42-.27.86-.27,1.33,0,.43.08.84.23,1.21.15.38.36.72.63,1.01-1.06-.49-1.92-1.23-2.58-2.24-.66-1-1-2.13-1-3.38ZM10,11.33l1.63,1.6c.22.22.38.46.5.72.11.27.17.55.17.86,0,.62-.22,1.16-.67,1.6-.45.44-.99.66-1.63.66s-1.18-.22-1.63-.66c-.45-.44-.67-.97-.67-1.6,0-.29.06-.58.17-.85.11-.27.28-.52.5-.74l1.63-1.6Z`,fill:`currentColor`,...e})})}function Wr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M5,11.09c0,.84.2,1.62.6,2.34.4.72.95,1.31,1.65,1.75-.06-.12-.11-.23-.13-.35-.03-.12-.04-.24-.04-.37,0-.39.07-.75.22-1.09.15-.34.36-.65.64-.93l2.06-2.02,2.07,2.02c.28.28.49.59.63.93.15.34.22.7.22,1.09,0,.13-.01.25-.04.37-.03.12-.07.23-.13.35.7-.44,1.25-1.03,1.65-1.75.4-.72.6-1.5.6-2.34,0-.69-.13-1.35-.39-1.97-.26-.62-.63-1.17-1.11-1.66-.28.18-.57.32-.87.41-.31.09-.62.14-.94.14-.87,0-1.62-.28-2.25-.85-.63-.57-.99-1.28-1.09-2.12-.54.45-1.02.93-1.44,1.42-.42.49-.77,1-1.05,1.51-.28.51-.5,1.03-.65,1.56-.15.53-.22,1.05-.22,1.57ZM10,12.17l-1.19,1.17c-.15.15-.27.33-.35.52-.08.19-.12.4-.12.6,0,.44.16.83.49,1.15.33.32.72.48,1.18.48s.85-.16,1.18-.48c.33-.32.49-.7.49-1.15,0-.22-.04-.43-.12-.61s-.2-.36-.35-.51l-1.19-1.17ZM9.58,2.66v2c0,.59.2,1.08.61,1.48.41.4.9.6,1.49.6.26,0,.5-.05.73-.14.23-.1.44-.24.64-.42l.37-.37c.88.56,1.57,1.31,2.07,2.25.5.94.76,1.95.76,3.02,0,1.74-.61,3.22-1.82,4.43-1.21,1.21-2.69,1.82-4.43,1.82s-3.22-.61-4.43-1.82c-1.21-1.21-1.82-2.69-1.82-4.43,0-1.61.52-3.16,1.57-4.65,1.05-1.49,2.47-2.75,4.26-3.77Z`,fill:`currentColor`,...e})})}function Gr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z`,fill:`currentColor`,...e})})}function Kr({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M9.45,9.14c.68,1.74,2.12,3.11,3.93,3.76-1.81.65-3.26,2.02-3.93,3.76-.68-1.74-2.12-3.11-3.93-3.76,1.81-.65,3.26-2.03,3.93-3.76Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M12.6,4.96c.39.83,1.05,1.5,1.88,1.88-.83.39-1.5,1.05-1.88,1.88-.39-.83-1.05-1.5-1.88-1.88.83-.39,1.5-1.05,1.88-1.88Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M7.87,3.34c.3.61.8,1.1,1.4,1.4-.61.3-1.1.8-1.4,1.4-.3-.61-.8-1.1-1.4-1.4.61-.3,1.1-.8,1.4-1.4Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e})]})}function qr({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M9.45,9.14c.68,1.74,2.12,3.11,3.93,3.76-1.81.65-3.26,2.02-3.93,3.76-.68-1.74-2.12-3.11-3.93-3.76,1.81-.65,3.26-2.03,3.93-3.76Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M12.6,4.96c.39.83,1.05,1.5,1.88,1.88-.83.39-1.5,1.05-1.88,1.88-.39-.83-1.05-1.5-1.88-1.88.83-.39,1.5-1.05,1.88-1.88Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M7.87,3.34c.3.61.8,1.1,1.4,1.4-.61.3-1.1.8-1.4,1.4-.3-.61-.8-1.1-1.4-1.4.61-.3,1.1-.8,1.4-1.4Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e})]})}function Jr({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M5 11.67C5 12.51 5.2 13.29 5.6 14.01C6 14.73 6.55 15.32 7.26 15.76C7.19 15.64 7.15 15.53 7.12 15.41C7.1 15.29 7.08 15.17 7.08 15.04C7.08 14.66 7.16 14.29 7.31 13.95C7.45 13.61 7.67 13.3 7.94 13.03L10 11L12.07 13.03C12.34 13.3 12.55 13.61 12.7 13.95C12.84 14.29 12.92 14.66 12.92 15.04C12.92 15.17 12.9 15.29 12.88 15.41C12.85 15.53 12.81 15.64 12.74 15.76C13.45 15.32 14 14.73 14.4 14.01C14.8 13.29 15 12.51 15 11.67C15 10.97 14.87 10.32 14.61 9.7C14.36 9.08 13.99 8.53 13.5 8.04C13.22 8.22 12.93 8.36 12.63 8.45C12.32 8.54 12.01 8.58 11.69 8.58C10.82 8.58 10.07 8.3 9.44 7.73C8.81 7.16 8.45 6.45 8.35 5.61C7.81 6.06 7.33 6.53 6.92 7.03C6.5 7.52 6.15 8.02 5.86 8.54C5.58 9.05 5.36 9.57 5.22 10.1C5.07 10.62 5 11.15 5 11.67ZM10 12.75L8.81 13.92C8.66 14.07 8.54 14.24 8.46 14.44C8.38 14.63 8.33 14.83 8.33 15.04C8.33 15.49 8.5 15.87 8.82 16.19C9.15 16.51 9.54 16.67 10 16.67C10.46 16.67 10.85 16.51 11.18 16.19C11.5 15.87 11.67 15.49 11.67 15.04C11.67 14.82 11.63 14.61 11.54 14.43C11.46 14.24 11.34 14.07 11.19 13.92L10 12.75ZM9.58 3.25V5.25C9.58 5.84 9.79 6.33 10.19 6.73C10.6 7.13 11.1 7.33 11.69 7.33C11.94 7.33 12.19 7.29 12.42 7.19C12.65 7.09 12.86 6.95 13.05 6.76L13.42 6.39C14.3 6.96 14.99 7.71 15.49 8.64C16 9.58 16.25 10.59 16.25 11.67C16.25 13.41 15.64 14.89 14.43 16.1C13.22 17.31 11.74 17.92 10 17.92C8.26 17.92 6.78 17.31 5.57 16.1C4.36 14.89 3.75 13.41 3.75 11.67C3.75 10.06 4.27 8.51 5.32 7.02C6.37 5.53 7.79 4.27 9.58 3.25Z`,fill:`currentColor`,...e}),(0,d.jsx)(`line`,{x1:`17.8311`,y1:`3.53033`,x2:`2.83111`,y2:`18.5303`,stroke:`currentColor`,strokeWidth:`1.5`})]})}function Yr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z`,fill:`currentColor`,...e})})}function Xr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M10.77 1.78L17.32 5.69C17.5 5.81 17.65 5.97 17.76 6.16C17.86 6.36 17.92 6.57 17.92 6.79V15.58C17.92 16 17.77 16.35 17.48 16.65C17.19 16.94 16.83 17.08 16.41 17.08H3.59C3.17 17.08 2.81 16.94 2.52 16.65C2.23 16.35 2.08 16 2.08 15.58V6.79C2.08 6.57 2.14 6.36 2.24 6.16C2.35 5.97 2.5 5.81 2.68 5.69L9.23 1.78C9.46 1.65 9.72 1.58 10 1.58C10.28 1.58 10.54 1.65 10.77 1.78ZM10.13 10.46L16.5 6.67L10.13 2.87C10.09 2.84 10.04 2.83 10 2.83C9.96 2.83 9.92 2.84 9.87 2.87L3.5 6.67L9.87 10.46C9.92 10.49 9.96 10.5 10 10.5C10.04 10.5 10.09 10.49 10.13 10.46ZM9.23 11.54L3.33 8.02V15.58C3.33 15.65 3.36 15.71 3.41 15.76C3.45 15.81 3.52 15.83 3.59 15.83H16.41C16.49 15.83 16.55 15.81 16.6 15.76C16.64 15.71 16.67 15.65 16.67 15.58V8.02L10.77 11.54C10.54 11.67 10.28 11.74 10 11.74C9.72 11.74 9.46 11.67 9.23 11.54ZM10.77 15.83H16.67H3.33H10.77Z`,fill:`currentColor`,...e})})}function Zr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M3.59 16.25C3.17 16.25 2.81 16.1 2.52 15.81C2.23 15.52 2.08 15.16 2.08 14.74V5.26C2.08 4.84 2.23 4.48 2.52 4.19C2.81 3.9 3.17 3.75 3.59 3.75H11.23C11.4 3.75 11.55 3.81 11.68 3.93C11.8 4.06 11.86 4.21 11.85 4.38C11.85 4.56 11.78 4.7 11.66 4.82C11.54 4.94 11.4 5 11.23 5H3.33V14.74C3.33 14.82 3.36 14.88 3.41 14.93C3.45 14.98 3.52 15 3.59 15H16.41C16.49 15 16.55 14.98 16.6 14.93C16.64 14.88 16.67 14.82 16.67 14.74V9.17C16.67 8.99 16.73 8.84 16.85 8.72C16.97 8.6 17.12 8.54 17.29 8.54C17.47 8.54 17.62 8.6 17.74 8.72C17.86 8.84 17.92 8.99 17.92 9.17V14.74C17.92 15.16 17.77 15.52 17.48 15.81C17.19 16.1 16.83 16.25 16.41 16.25H3.59ZM10 9.17L12.71 7.44C12.86 7.35 13.01 7.32 13.14 7.37C13.27 7.41 13.38 7.5 13.45 7.62C13.53 7.74 13.56 7.87 13.54 8C13.52 8.14 13.43 8.26 13.28 8.36L10.4 10.21C10.27 10.29 10.14 10.33 10 10.33C9.86 10.33 9.73 10.3 9.6 10.22L3.33 6.29V5L10 9.17ZM15.83 6.78C15.2 6.78 14.66 6.56 14.21 6.11C13.77 5.66 13.54 5.12 13.54 4.49C13.54 3.85 13.77 3.31 14.21 2.86C14.66 2.42 15.2 2.2 15.83 2.2C16.47 2.2 17.01 2.42 17.46 2.86C17.9 3.31 18.13 3.85 18.13 4.49C18.13 5.12 17.9 5.66 17.46 6.11C17.01 6.56 16.47 6.78 15.83 6.78Z`,fill:`currentColor`,...e})})}function Qr({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z`,fill:`currentColor`,...e})})}function $r({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M6.02 17.29C6.87 16.66 7.8 16.16 8.8 15.8C9.8 15.43 10.87 15.25 12 15.25C13.13 15.25 14.2 15.43 15.2 15.8C16.2 16.16 17.13 16.66 17.98 17.29C18.6 16.61 19.09 15.82 19.45 14.92C19.82 14.02 20 13.05 20 12C20 9.78 19.22 7.9 17.66 6.34C16.1 4.78 14.22 4 12 4C9.78 4 7.9 4.78 6.34 6.34C4.78 7.9 4 9.78 4 12C4 13.05 4.18 14.02 4.55 14.92C4.91 15.82 5.4 16.61 6.02 17.29ZM12 12.75C11.09 12.75 10.32 12.44 9.69 11.81C9.06 11.18 8.75 10.41 8.75 9.5C8.75 8.59 9.06 7.82 9.69 7.19C10.32 6.56 11.09 6.25 12 6.25C12.91 6.25 13.68 6.56 14.31 7.19C14.94 7.82 15.25 8.59 15.25 9.5C15.25 10.41 14.94 11.18 14.31 11.81C13.68 12.44 12.91 12.75 12 12.75ZM12 21.5C10.68 21.5 9.44 21.25 8.29 20.76C7.13 20.26 6.13 19.58 5.27 18.73C4.42 17.87 3.74 16.87 3.24 15.71C2.75 14.56 2.5 13.32 2.5 12C2.5 10.68 2.75 9.44 3.24 8.29C3.74 7.13 4.42 6.13 5.27 5.27C6.13 4.42 7.13 3.74 8.29 3.24C9.44 2.75 10.68 2.5 12 2.5C13.32 2.5 14.56 2.75 15.71 3.24C16.87 3.74 17.87 4.42 18.73 5.27C19.58 6.13 20.26 7.13 20.76 8.29C21.25 9.44 21.5 10.68 21.5 12C21.5 13.32 21.25 14.56 20.76 15.71C20.26 16.87 19.58 17.87 18.73 18.73C17.87 19.58 16.87 20.26 15.71 20.76C14.56 21.25 13.32 21.5 12 21.5ZM12 20C12.9 20 13.77 19.85 14.61 19.56C15.45 19.27 16.19 18.87 16.84 18.35C16.19 17.84 15.46 17.45 14.64 17.17C13.82 16.89 12.94 16.75 12 16.75C11.06 16.75 10.18 16.89 9.36 17.17C8.53 17.44 7.8 17.84 7.16 18.35C7.81 18.87 8.55 19.27 9.39 19.56C10.23 19.85 11.1 20 12 20ZM12 11.25C12.5 11.25 12.91 11.08 13.25 10.75C13.58 10.41 13.75 10 13.75 9.5C13.75 9 13.58 8.59 13.25 8.25C12.91 7.92 12.5 7.75 12 7.75C11.5 7.75 11.09 7.92 10.75 8.25C10.42 8.59 10.25 9 10.25 9.5C10.25 10 10.42 10.41 10.75 10.75C11.09 11.08 11.5 11.25 12 11.25Z`,fill:`currentColor`,...e})})}function ei({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 24 24`,...t,children:[(0,d.jsx)(`circle`,{cx:`12`,cy:`8`,r:`4`,stroke:`currentColor`,strokeWidth:`2`}),(0,d.jsx)(`path`,{d:`M4 20c0-4 4-6 8-6s8 2 8 6`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,...e})]})}function ti({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.52,18h.97v-5.52h5.52v-.97h-5.52v-5.52h-.97v5.52h-5.52v.97h5.52v5.52ZM12.01,24c-1.66,0-3.22-.31-4.68-.94-1.46-.63-2.73-1.48-3.81-2.56-1.08-1.08-1.94-2.35-2.57-3.81-.63-1.46-.95-3.02-.95-4.68s.31-3.22.94-4.68c.63-1.46,1.48-2.73,2.56-3.81,1.08-1.08,2.35-1.94,3.81-2.57,1.46-.63,3.02-.95,4.68-.95s3.22.31,4.68.94c1.46.63,2.73,1.48,3.81,2.56,1.08,1.08,1.94,2.35,2.57,3.81.63,1.46.95,3.02.95,4.68s-.31,3.22-.94,4.68c-.63,1.46-1.48,2.73-2.56,3.81-1.08,1.08-2.35,1.94-3.81,2.57-1.46.63-3.02.95-4.68.95ZM12,23.03c3.08,0,5.69-1.07,7.83-3.21s3.21-4.75,3.21-7.83-1.07-5.69-3.21-7.83S15.08.97,12,.97s-5.69,1.07-7.83,3.21S.97,8.92.97,12s1.07,5.69,3.21,7.83,4.75,3.21,7.83,3.21Z`,fill:`currentColor`,...e})})}function ni({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.5 12.5H6V11.5H11.5V6H12.5V11.5H18V12.5H12.5V18H11.5V12.5Z`,fill:`currentColor`,...e})})}var ri={down:``,left:`rotate-90`,up:`-rotate-180`,right:`-rotate-90`};function ii({direction:e=`down`,className:t,pathProps:n,...r}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,className:T(ri[e],t),...r,children:(0,d.jsx)(`path`,{d:`m5 8.5 7 7 7-7`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...n})})}function ai({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M5 21V4C5 3.45 5.196 2.979 5.588 2.587C5.98 2.195 6.45 1.999 7 1.999H13C13.55 1.999 14.021 2.195 14.413 2.587C14.805 2.979 15.001 3.45 15.001 4V21H19.001V10H17.001V8H19.001C19.55 8 20.021 8.196 20.413 8.588C20.805 8.98 21.001 9.45 21.001 10V21H23.001V23H1V21H3V4C3 3.45 3.196 2.979 3.588 2.587C3.98 2.195 4.45 1.999 5 1.999V21ZM7 8H9V6H7V8ZM7 12H9V10H7V12ZM7 16H9V14H7V16ZM11 8H13V6H11V8ZM11 12H13V10H11V12ZM11 16H13V14H11V16Z`,fill:`currentColor`,...e})})}function oi({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 24 24`,...t,children:[(0,d.jsx)(`rect`,{x:`4`,y:`3`,width:`16`,height:`18`,rx:`1`,stroke:`currentColor`,strokeWidth:`2`}),(0,d.jsx)(`path`,{d:`M9 21v-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4`,stroke:`currentColor`,strokeWidth:`2`,...e}),(0,d.jsx)(`path`,{d:`M8 7h.01M12 7h.01M16 7h.01M8 11h.01M12 11h.01M16 11h.01`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,...e})]})}function si({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M5.31 21.5C4.8 21.5 4.38 21.33 4.03 20.98C3.68 20.63 3.5 20.2 3.5 19.69V6.31C3.5 5.8 3.68 5.38 4.03 5.03C4.38 4.68 4.8 4.5 5.31 4.5H6.69V2.38H8.23V4.5H15.81V2.38H17.31V4.5H18.69C19.2 4.5 19.63 4.68 19.98 5.03C20.33 5.38 20.5 5.8 20.5 6.31V19.69C20.5 20.2 20.33 20.63 19.98 20.98C19.63 21.33 19.2 21.5 18.69 21.5H5.31ZM5.31 20H18.69C18.77 20 18.84 19.97 18.9 19.9C18.97 19.84 19 19.77 19 19.69V10.31H5V19.69C5 19.77 5.03 19.84 5.1 19.9C5.16 19.97 5.23 20 5.31 20ZM5 8.81H19V6.31C19 6.23 18.97 6.16 18.9 6.1C18.84 6.03 18.77 6 18.69 6H5.31C5.23 6 5.16 6.03 5.1 6.1C5.03 6.16 5 6.23 5 6.31V8.81Z`,fill:`currentColor`,...e})})}function ci({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M7.32,24c-2.03,0-3.76-.71-5.19-2.14-1.42-1.42-2.14-3.15-2.14-5.19V7.32c0-2.03.71-3.76,2.14-5.19C3.56.71,5.29,0,7.32,0h9.35c2.03,0,3.76.71,5.19,2.14,1.42,1.42,2.14,3.15,2.14,5.19v9.35c0,2.03-.71,3.76-2.14,5.19-1.42,1.42-3.15,2.14-5.19,2.14H7.32ZM10.44,16.83l7.95-7.95-.78-.78-7.17,7.17-3.43-3.43-.78.78,4.21,4.21ZM7.32,22.91h9.35c1.71,0,3.18-.61,4.4-1.83,1.22-1.22,1.83-2.69,1.83-4.4V7.32c0-1.71-.61-3.18-1.83-4.4s-2.69-1.83-4.4-1.83H7.32c-1.71,0-3.18.61-4.4,1.83-1.22,1.22-1.83,2.69-1.83,4.4v9.35c0,1.71.61,3.18,1.83,4.4,1.22,1.22,2.69,1.83,4.4,1.83Z`,fill:`currentColor`,...e})})}function li({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M12 4L4 12M4 4L12 12`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function ui({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M6.4 18.65L5.35 17.6L10.95 12L5.35 6.4L6.4 5.35L12 10.95L17.6 5.35L18.65 6.4L13.05 12L18.65 17.6L17.6 18.65L12 13.05L6.4 18.65Z`,fill:`currentColor`,...e})})}function di({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H20.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H20.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`,...e})})}function fi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M9.06 17.5C8.55 17.5 8.13 17.33 7.78 16.98C7.43 16.63 7.25 16.2 7.25 15.69V4.31C7.25 3.8 7.43 3.38 7.78 3.03C8.13 2.68 8.55 2.5 9.06 2.5H17.44C17.95 2.5 18.38 2.68 18.73 3.03C19.08 3.38 19.25 3.8 19.25 4.31V15.69C19.25 16.2 19.08 16.63 18.73 16.98C18.38 17.33 17.95 17.5 17.44 17.5H9.06ZM9.06 16H17.44C17.52 16 17.59 15.97 17.65 15.9C17.72 15.84 17.75 15.77 17.75 15.69V4.31C17.75 4.23 17.72 4.16 17.65 4.1C17.59 4.03 17.52 4 17.44 4H9.06C8.98 4 8.91 4.03 8.85 4.1C8.78 4.16 8.75 4.23 8.75 4.31V15.69C8.75 15.77 8.78 15.84 8.85 15.9C8.91 15.97 8.98 16 9.06 16ZM5.56 21C5.05 21 4.63 20.83 4.28 20.48C3.93 20.13 3.75 19.7 3.75 19.19V6.31H5.25V19.19C5.25 19.27 5.28 19.34 5.35 19.4C5.41 19.47 5.48 19.5 5.56 19.5H15.44V21H5.56Z`,fill:`currentColor`,...e})})}function pi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12.1 21.5C10.77 21.5 9.52 21.25 8.36 20.74C7.2 20.24 6.18 19.55 5.31 18.69C4.45 17.82 3.76 16.8 3.26 15.64C2.75 14.48 2.5 13.23 2.5 11.9C2.5 9.71 3.17 7.76 4.5 6.05C5.84 4.34 7.56 3.22 9.68 2.68C9.5 4.29 9.66 5.84 10.18 7.35C10.69 8.86 11.52 10.19 12.67 11.33C13.81 12.48 15.14 13.31 16.65 13.82C18.16 14.34 19.71 14.5 21.32 14.32C20.79 16.44 19.67 18.16 17.96 19.5C16.24 20.83 14.29 21.5 12.1 21.5ZM12.1 20C13.57 20 14.93 19.63 16.18 18.9C17.43 18.17 18.41 17.16 19.13 15.87C17.69 15.74 16.33 15.38 15.05 14.78C13.77 14.19 12.62 13.39 11.6 12.37C10.58 11.35 9.78 10.2 9.18 8.92C8.58 7.64 8.22 6.28 8.1 4.85C6.82 5.57 5.81 6.55 5.09 7.81C4.36 9.07 4 10.43 4 11.9C4 14.15 4.79 16.06 6.36 17.64C7.94 19.21 9.85 20 12.1 20Z`,fill:`currentColor`,...e})})}function mi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M15.7,2.66H4.29c-.9,0-1.61.73-1.61,1.63v11.41c0,.9.71,1.63,1.61,1.63h11.42c.9,0,1.63-.73,1.63-1.63V4.3c0-.9-.73-1.63-1.63-1.63M15.7,12.44h-3.26c0,1.35-1.1,2.45-2.44,2.45s-2.44-1.09-2.44-2.45h-3.27V4.3h11.42v8.15Z`,fill:`currentColor`,...e})})}function hi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.42 17.08C4 17.08 3.64 16.94 3.35 16.65C3.06 16.35 2.91 16 2.91 15.58V4.42C2.91 4 3.06 3.65 3.35 3.35C3.64 3.06 4 2.92 4.42 2.92H9.68V4.17H4.42C4.36 4.17 4.3 4.19 4.24 4.25C4.19 4.3 4.16 4.36 4.16 4.42V15.58C4.16 15.64 4.19 15.7 4.24 15.75C4.3 15.81 4.36 15.83 4.42 15.83H15.57C15.64 15.83 15.7 15.81 15.75 15.75C15.8 15.7 15.83 15.64 15.83 15.58V10.32H17.08V15.58C17.08 16 16.93 16.35 16.64 16.65C16.35 16.94 16 17.08 15.57 17.08H4.42ZM8.1 12.78L7.22 11.9L14.95 4.17H11.66V2.92H17.08V8.33H15.83V5.04L8.1 12.78Z`,fill:`currentColor`,...e})})}function gi({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M3.08,10.22c-.05-.14-.05-.3,0-.44.96-2.9,3.7-4.99,6.92-4.99s5.95,2.09,6.92,4.98c.05.14.05.3,0,.44-.96,2.9-3.7,4.99-6.92,4.99s-5.95-2.09-6.92-4.98h0Z`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.25px`,...e}),(0,d.jsx)(`path`,{d:`M12.08,10c0,1.15-.93,2.08-2.08,2.08s-2.08-.93-2.08-2.08.93-2.08,2.08-2.08,2.08.93,2.08,2.08Z`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.25px`,...e})]})}function _i({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.79,16.03h2.91v-5.16h4.61v5.16h2.91v-7.82l-5.21-3.92-5.21,3.92v7.82ZM3.49,17.34V7.57l6.51-4.9,6.51,4.9v9.77h-5.51v-5.16h-2v5.16H3.49Z`,fill:`currentColor`,...e})})}function vi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M15.7,2.66H4.29c-.9,0-1.61.73-1.61,1.63v11.41c0,.9.71,1.63,1.61,1.63h11.42c.9,0,1.63-.73,1.63-1.63V4.3c0-.9-.73-1.63-1.63-1.63M15.7,12.44h-3.26c0,1.35-1.1,2.45-2.44,2.45s-2.44-1.09-2.44-2.45h-3.27V4.3h11.42v8.15ZM13.26,8.37h-1.63v-2.44h-3.26v2.44h-1.63l3.26,3.26,3.26-3.26Z`,fill:`currentColor`,...e})})}function yi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.25 5.21V1.52H12.75V5.21H11.25ZM17.32 7.73L16.29 6.7L18.87 4.04L19.94 5.12L17.32 7.73ZM18.79 12.75V11.25H22.48V12.75H18.79ZM11.25 22.48V18.8H12.75V22.48H11.25ZM6.7 7.69L4.04 5.13L5.13 4.07L7.74 6.68L6.7 7.69ZM18.86 19.96L16.29 17.3L17.31 16.29L19.93 18.84L18.86 19.96ZM1.52 12.75V11.25H5.21V12.75H1.52ZM5.12 19.96L4.07 18.87L6.65 16.29L7.19 16.81L7.75 17.33L5.12 19.96ZM12 17.5C10.48 17.5 9.18 16.97 8.11 15.9C7.04 14.83 6.5 13.53 6.5 12C6.5 10.48 7.03 9.18 8.1 8.11C9.17 7.04 10.47 6.5 12 6.5C13.53 6.5 14.82 7.03 15.89 8.1C16.97 9.17 17.5 10.47 17.5 12C17.5 13.53 16.97 14.82 15.9 15.89C14.83 16.97 13.53 17.5 12 17.5ZM12 16C13.1 16 14.04 15.61 14.83 14.83C15.61 14.04 16 13.1 16 12C16 10.9 15.61 9.96 14.83 9.18C14.04 8.39 13.1 8 12 8C10.9 8 9.96 8.39 9.18 9.18C8.39 9.96 8 10.9 8 12C8 13.1 8.39 14.04 9.18 14.83C9.96 15.61 10.9 16 12 16Z`,fill:`currentColor`,...e})})}function bi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.13,15.87c-.4,0-.75-.14-1.04-.43s-.43-.63-.43-1.04V5.6c0-.4.14-.75.43-1.04s.63-.43,1.04-.43h11.74c.4,0,.75.14,1.04.43s.43.63.43,1.04v8.8c0,.4-.14.75-.43,1.04s-.63.43-1.04.43H4.13ZM10,10.73l-5.87-3.67v7.34h11.74v-7.34l-5.87,3.67ZM10,9.27l5.87-3.67H4.13l5.87,3.67ZM4.13,7.07v-1.47,8.8-7.34Z`,fill:`currentColor`,...e})})}function xi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M3 8H13`,stroke:`currentColor`,strokeWidth:`1`,strokeLinecap:`round`,...e})})}function Si({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M10.5 6.23C10.5 5.82 10.65 5.47 10.94 5.17C11.23 4.88 11.59 4.73 12 4.73C12.41 4.73 12.77 4.88 13.06 5.17C13.35 5.47 13.5 5.82 13.5 6.23C13.5 6.64 13.35 7 13.06 7.29C12.77 7.58 12.41 7.73 12 7.73C11.59 7.73 11.23 7.58 10.94 7.29C10.65 7 10.5 6.64 10.5 6.23ZM10.5 12C10.5 11.59 10.65 11.23 10.94 10.94C11.23 10.65 11.59 10.5 12 10.5C12.41 10.5 12.77 10.65 13.06 10.94C13.35 11.23 13.5 11.59 13.5 12C13.5 12.41 13.35 12.77 13.06 13.06C12.77 13.35 12.41 13.5 12 13.5C11.59 13.5 11.23 13.35 10.94 13.06C10.65 12.77 10.5 12.41 10.5 12ZM10.5 17.77C10.5 17.36 10.65 17 10.94 16.71C11.23 16.42 11.59 16.27 12 16.27C12.41 16.27 12.77 16.42 13.06 16.71C13.35 17 13.5 17.36 13.5 17.77C13.5 18.18 13.35 18.54 13.06 18.83C12.77 19.12 12.41 19.27 12 19.27C11.59 19.27 11.23 19.12 10.94 18.83C10.65 18.54 10.5 18.18 10.5 17.77Z`,fill:`currentColor`,...e})})}function Ci({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.43,7.38c-.65.77-1.13,1.66-1.42,2.62.9,3.01,3.69,5.21,6.99,5.21.69,0,1.36-.1,1.99-.27M5.99,5.99c1.19-.78,2.58-1.2,4.01-1.2,3.3,0,6.09,2.2,6.99,5.21-.49,1.65-1.55,3.06-2.98,4.01M5.99,5.99l-2.24-2.24M5.99,5.99l2.53,2.53M14.01,14.01l2.24,2.24M14.01,14.01l-2.53-2.53M11.47,11.47c.81-.81.81-2.13,0-2.95s-2.13-.81-2.95,0M11.47,11.47l-2.95-2.95`,fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.25px`,...e})})}function wi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`,...e})})}function Ti({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function Ei({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12 20C10.891 20 9.85158 19.7913 8.88175 19.374C7.91192 18.9567 7.0645 18.3855 6.3395 17.6605C5.6145 16.9355 5.04333 16.0881 4.626 15.1183C4.20867 14.1484 4 13.109 4 12C4 10.891 4.20867 9.85158 4.626 8.88175C5.04333 7.91192 5.6145 7.0645 6.3395 6.3395C7.0645 5.6145 7.91192 5.04333 8.88175 4.626C9.85158 4.20867 10.891 4 12 4V5C10.05 5 8.39583 5.67917 7.0375 7.0375C5.67917 8.39583 5 10.05 5 12C5 13.95 5.67917 15.6042 7.0375 16.9625C8.39583 18.3208 10.05 19 12 19V20ZM16 16.2885L15.2923 15.575L18.3865 12.5H9.5V11.5H18.3673L15.2923 8.4L16 7.7115L20.2885 12L16 16.2885Z`,fill:`currentColor`,...e})})}function Di({pathProps:e,...t}){return(0,d.jsxs)(X,{viewBox:`0 0 24 24`,...t,children:[(0,d.jsx)(`path`,{d:`M3.5 17.6347V16.135H9.5V17.6347H3.5ZM3.5 12.7502V11.2502H13.5V12.7502H3.5ZM3.5 7.86547V6.36572H20.5V7.86547H3.5Z`,fill:`currentColor`,...e}),(0,d.jsx)(`path`,{d:`M17.12 12.22C17.87 13.84 19.23 15.13 20.91 15.85C19.23 16.57 17.87 17.86 17.13 19.48C16.38 17.86 15.02 16.57 13.34 15.85C15.02 15.13 16.38 13.84 17.12 12.22Z`,stroke:`currentColor`,strokeWidth:`1.25`,...e})]})}function Oi({pathProps:e,...t}){return(0,d.jsx)(X,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`g`,{children:(0,d.jsx)(`path`,{d:`M10.07 13.93C9.49 13.34 8.96 12.72 8.48 12.07C8.01 11.42 7.59 10.72 7.21 9.99C7.05 10.31 6.94 10.63 6.87 10.97C6.81 11.31 6.77 11.65 6.77 12C6.77 13.45 7.28 14.69 8.3 15.7C9.31 16.72 10.55 17.23 12 17.23C12.34 17.23 12.68 17.19 13.03 17.11C13.37 17.04 13.7 16.93 14.01 16.78C13.28 16.41 12.58 15.99 11.93 15.51C11.28 15.04 10.66 14.51 10.07 13.93ZM11.14 12.88C11.96 13.7 12.87 14.41 13.88 15.01C14.88 15.61 15.95 16.08 17.1 16.43C16.46 17.16 15.7 17.73 14.82 18.14C13.94 18.55 13 18.75 12.02 18.75C10.14 18.75 8.55 18.1 7.24 16.79C5.93 15.48 5.27 13.88 5.27 12C5.27 11.02 5.48 10.09 5.89 9.2C6.29 8.32 6.86 7.56 7.6 6.93C7.95 8.07 8.42 9.14 9.02 10.15C9.62 11.15 10.32 12.06 11.14 12.88ZM18.3 14.49C18.05 14.43 17.81 14.36 17.56 14.28C17.32 14.2 17.08 14.11 16.84 14.02C16.98 13.7 17.08 13.37 17.15 13.03C17.22 12.7 17.25 12.35 17.25 12C17.25 10.55 16.74 9.31 15.71 8.29C14.69 7.26 13.45 6.75 12 6.75C11.65 6.75 11.3 6.78 10.96 6.85C10.63 6.91 10.3 7.01 9.98 7.15C9.89 6.91 9.8 6.68 9.73 6.44C9.66 6.21 9.6 5.97 9.53 5.72C9.93 5.56 10.33 5.45 10.75 5.37C11.17 5.29 11.59 5.25 12.02 5.25C13.9 5.25 15.5 5.91 16.81 7.21C18.12 8.52 18.77 10.12 18.77 12C18.77 12.43 18.74 12.86 18.66 13.28C18.58 13.69 18.46 14.1 18.3 14.49ZM11.25 3.13V0.44H12.75V3.13H11.25ZM11.25 23.56V20.87H12.75V23.56H11.25ZM18.8 6.26L17.74 5.19L19.62 3.33L20.69 4.38L18.8 6.26ZM4.38 20.68L3.31 19.62L5.19 17.74L6.26 18.81L4.38 20.68ZM20.86 12.75V11.25H23.56V12.75H20.86ZM0.44 12.75V11.25H3.13V12.75H0.44ZM19.62 20.69L17.74 18.81L18.8 17.74L20.67 19.62L19.62 20.69ZM5.19 6.26L3.32 4.38L4.38 3.31L6.26 5.19L5.19 6.26Z`,fill:`currentColor`,...e})})})}function ki({icon:e,label:t,action:n,className:r,...i}){return(0,d.jsxs)(`div`,{className:T(`w-fit`,r),...i,children:[e,t,n]})}function Ai({as:e,children:t,className:n,...r}){return(0,d.jsx)(e||`div`,{className:T(n),...r,children:t})}function ji({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`grid h-full grid-cols-[auto_1fr] grid-rows-[auto_auto_1fr_auto]`,t),children:e})}function Mi({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`row-span-4`,t),children:e})}function Ni({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-1`,t),children:e})}function Pi({children:e,className:t}){return(0,d.jsx)(`h3`,{className:T(`col-start-2 row-start-2`,t),children:e})}function Fi({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-3`,t),children:e})}function Ii({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-4`,t),children:e})}function Li({children:e,className:t}){let{close:n}=pr();return(0,d.jsx)(`div`,{role:`menu`,tabIndex:-1,className:T(`flex flex-col outline-none`,t),children:u.Children.map(e,e=>(0,u.cloneElement)(e,{role:`menuitem`,onClick:t=>{e.props.onClick?.(t),e.props.closeOnClick!==!1&&n()}}))})}function Ri(e){return(0,d.jsx)(Y,{...e})}function zi({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(mr,{trigger:e,...r,children:(0,d.jsx)(Li,{className:n,children:t})})}function Bi({title:e,items:t,footer:n,closeLabel:r=`Close`,defaultOpenValue:i,classNames:a}){let o=(0,u.useId)(),{close:s}=pr(),c=a??{},l=i??t[0]?.value;return(0,d.jsxs)(`div`,{className:T(`rounded-md overflow-hidden bg-white`,c.root),role:`dialog`,"aria-modal":`true`,"aria-labelledby":o,children:[(0,d.jsxs)(`header`,{className:T(`gap-2 p-4 flex shrink-0 items-center justify-between`,c.header),children:[(0,d.jsx)(`div`,{id:o,className:c.title,children:e}),(0,d.jsx)(Y,{type:`button`,onClick:s,"aria-label":r,className:c.closeButton,children:(0,d.jsx)(ui,{size:18,"aria-hidden":!0})})]}),(0,d.jsx)(`div`,{className:c.body,children:(0,d.jsx)(Cr,{type:`single`,className:c.accordion,defaultValue:l,children:e=>(0,d.jsx)(d.Fragment,{children:t.map(t=>(0,d.jsxs)(wr,{value:t.value,className:c.item,children:[(0,d.jsxs)(Tr,{value:t.value,className:T(`gap-2 p-3 flex w-full items-center justify-between`,c.itemTrigger),children:[t.label,(0,d.jsx)(ii,{size:20,direction:e.openItems.has(t.value)?`up`:`down`,className:`shrink-0 text-neutral-600`})]}),(0,d.jsx)(Er,{value:t.value,className:T(`p-3`,c.itemContent),children:t.content})]},t.value))})})}),n==null?null:(0,d.jsx)(`div`,{className:T(`p-3`,c.footer),children:n})]})}const Vi=`onboarding_dismissed`;function Hi(e){if(typeof window>`u`)return new Set;try{let t=localStorage.getItem(e);if(t==null||t===``)return new Set;let n=JSON.parse(t);return Array.isArray(n)?new Set(n.filter(e=>typeof e==`string`)):new Set}catch{return new Set}}function Ui(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];if(!t.has(i.id)&&i.isVisible(n))return{step:i,index:r}}return null}function Wi({steps:e,context:t,storageKey:n,isEnabled:r=!0,children:i}){let a=n??`onboarding_dismissed`,[o,s]=(0,u.useState)(()=>Hi(a)),[c,l]=(0,u.useState)(a);a!==c&&(l(a),s(Hi(a))),(0,u.useEffect)(()=>{if(!(typeof window>`u`))try{localStorage.setItem(a,JSON.stringify([...o]))}catch{}},[o,a]),(0,u.useEffect)(()=>{let t=new Set(e.map(e=>e.id)),n=Hi(a),r=new Set;for(let e of n)t.has(e)&&r.add(e);queueMicrotask(()=>{s(e=>e.size===r.size&&[...e].every(e=>r.has(e))?e:r)})},[e,a]);let f=(0,u.useMemo)(()=>r?Ui(e,o,t):null,[r,e,o,t]),p=f?.step??null,m=f?.index??null,h=(0,u.useCallback)(e=>{s(t=>{if(t.has(e))return t;let n=new Set(t);return n.add(e),n})},[]),g=(0,u.useCallback)(()=>{s(n=>{let r=Ui(e,n,t);if(r==null||n.has(r.step.id))return n;let i=new Set(n);return i.add(r.step.id),i})},[e,t]),_=(0,u.useCallback)(()=>{s(new Set(e.map(e=>e.id)))},[e]);return(0,d.jsx)(d.Fragment,{children:i({context:t,currentStep:p,currentStepIndex:m,dismissedStepIds:o,actions:(0,u.useMemo)(()=>({dismissCurrentStep:g,dismissStep:h,skipAll:_,close:_}),[g,h,_])})})}function Gi({content:e,className:t}){let n=tr(e);return(0,d.jsx)(`div`,{className:T(`normalized-content text-sm font-normal leading-[1.3] text-neutral-900`,t),dangerouslySetInnerHTML:{__html:n}})}function Z({className:e}){return(0,d.jsx)(`div`,{className:T(`skeleton rounded-md`,e)})}var Ki=[],qi=new Set,Ji=new Map;function Yi(e,t){t&&Ji.set(e,t),Ki=Ki.filter(t=>t.id!==e),Zi()}var Xi=new Map;function Zi(){qi.forEach(e=>e(Ki))}const Q={subscribe(e){return qi.add(e),e(Ki),()=>{qi.delete(e)}},add(e){e.key&&Xi.set(e.key,e.id),Ki=[e,...Ki],Zi()},remove(e,t){Yi(e,t)},removeAllAtPosition(e,t=`replaced`){let n=Ki.filter(t=>t.position===e).map(e=>e.id);for(let e of n)Yi(e,t)},consumePendingDismissReason(e){let t=Ji.get(e);return t!==void 0&&Ji.delete(e),t},cleanup(e){for(let[t,n]of Xi)if(n===e){Xi.delete(t);break}},getActiveToastIdByKey(e){return Xi.get(e)},update(e,t){return Ki.find(t=>t.id===e)?(Ki=Ki.map(n=>n.id===e?{...n,...t,_refreshedAt:Date.now()}:n),Zi(),!0):!1}};var Qi=200,$i=100,ea={"top-left":`top-0 left-0 items-start`,"top-center":`top-0 left-1/2 -translate-x-1/2 items-center`,"top-right":`top-0 right-0 items-end`,"bottom-left":`bottom-0 left-0 items-start`,"bottom-center":`bottom-0 left-1/2 -translate-x-1/2 items-center`,"bottom-right":`bottom-0 right-0 items-end`},ta={"top-left":`-translate-x-full`,"top-center":`-translate-y-full`,"top-right":`translate-x-full`,"bottom-left":`-translate-x-full`,"bottom-center":`translate-y-full`,"bottom-right":`translate-x-full`},na={"top-left":`place-items-start`,"top-center":`items-start justify-items-center`,"top-right":`items-start justify-items-end`,"bottom-left":`items-end justify-items-start`,"bottom-center":`items-end justify-items-center`,"bottom-right":`items-end justify-items-end`};function ra(e){return e.startsWith(`top`)}function ia(e){return typeof e==`function`}var aa=()=>()=>{},oa=()=>!0,sa=()=>!1;function ca(e){return e.reduce((e,t)=>((e[t.position]??=[]).push(t),e),{})}function la(e,t){let n=ta[t];return T(`transition-all duration-200 ease-out motion-reduce:transition-none motion-reduce:transform-none`,e?`translate-x-0 translate-y-0 opacity-100`:`opacity-0 ${n}`)}function ua(e){return e.animationState===`entering`?{...e,animationState:`visible`}:e}function da(e,t){return t&&e.animationState!==`exiting`?{...e,animationState:`exiting`}:e}function fa({toast:e,remainingTime:t,onExitComplete:n,onClose:r,onHoverStart:i,onHoverEnd:a}){let[o,s]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=requestAnimationFrame(()=>s(!0));return()=>cancelAnimationFrame(e)},[]),(0,u.useEffect)(()=>{if(e.animationState!==`exiting`)return;let t=setTimeout(()=>n(e.id),Qi);return()=>clearTimeout(t)},[e.animationState,e.id,n]);let c=(0,u.useCallback)(()=>r(e.id),[r,e.id]),l=o&&e.animationState!==`exiting`,f=ia(e.content)?e.content(c,t):e.content;return(0,d.jsx)(`div`,{className:T(`pointer-events-auto`,la(l,e.position)),onMouseEnter:i,onMouseLeave:a,children:f})}function pa(e,t){let[n,r]=(0,u.useState)(()=>new Map),i=(0,u.useRef)(new Map),a=(0,u.useRef)(null),o=(0,u.useRef)(!1),s=(0,u.useCallback)(e=>{let t=i.current.get(e);t?.timeoutId&&clearTimeout(t.timeoutId)},[]),c=(0,u.useCallback)((e,n)=>{s(e.id);let a=n??e.duration,o=Date.now(),c=window.setTimeout(()=>{t.current.set(e.id,`timeout`),Q.remove(e.id)},a);i.current.set(e.id,{timeoutId:c,startedAt:o,remainingTime:a,isPaused:!1,refreshedAt:e._refreshedAt}),r(t=>new Map(t).set(e.id,a))},[s,t]),l=(0,u.useCallback)(()=>{a.current||=window.setInterval(()=>{let e=Date.now();r(t=>{let n=new Map(t);return i.current.forEach((t,r)=>{if(!t.isPaused&&t.timeoutId){let i=e-t.startedAt;n.set(r,Math.max(0,t.remainingTime-i))}}),n})},$i)},[]),d=(0,u.useCallback)(()=>{if(o.current)return;o.current=!0;let e=Date.now();i.current.forEach((t,n)=>{t.timeoutId&&clearTimeout(t.timeoutId);let r=e-t.startedAt;i.current.set(n,{...t,timeoutId:null,remainingTime:Math.max(0,t.remainingTime-r),isPaused:!0})}),a.current&&=(clearInterval(a.current),null)},[]),f=(0,u.useCallback)(()=>{o.current&&(o.current=!1,i.current.forEach((t,n)=>{if(t.isPaused&&t.remainingTime>0){let r=e.find(e=>e.id===n);r&&c(r,t.remainingTime)}}),l())},[e,c,l]),p=(0,u.useCallback)(e=>{i.current.delete(e),r(t=>{let n=new Map(t);return n.delete(e),n})},[]);return(0,u.useEffect)(()=>{e.forEach(e=>{if(e.persistent)return;let t=i.current.get(e.id);t?t.refreshedAt!==e._refreshedAt&&c(e):c(e)}),e.some(e=>!e.persistent)&&l()},[e,c,l]),(0,u.useEffect)(()=>()=>{a.current&&clearInterval(a.current)},[]),{remainingTimes:n,pauseAll:d,resumeAll:f,cleanupTimer:p}}function ma(){let[e,t]=(0,u.useState)([]),[n,r]=(0,u.useState)([]),i=(0,u.useRef)(new Set),a=(0,u.useRef)(new Map),o=(0,u.useRef)([]),{remainingTimes:s,pauseAll:c,resumeAll:l,cleanupTimer:p}=pa(e,a);(0,u.useEffect)(()=>Q.subscribe(t),[]);let m=(0,u.useSyncExternalStore)(aa,oa,sa),h=(0,u.useCallback)(e=>{e.callbacks?.onOpen?.()},[]),g=(0,u.useCallback)((e,t)=>{t===`manual`?e.callbacks?.onClose?.():(t===`timeout`||t===`replaced`)&&e.callbacks?.onAutoClose?.(),e.callbacks?.onDismiss?.(t)},[]);(0,u.useEffect)(()=>{let t=new Set(e.map(e=>e.id)),n=new Map(e.map(e=>[e.id,e])),s=i.current;o.current.filter(e=>!t.has(e.id)&&e.animationState!==`exiting`).forEach(e=>{g(e,a.current.get(e.id)??Q.consumePendingDismissReason(e.id)??`timeout`),a.current.delete(e.id)}),r(r=>{let i=r.map(e=>{let t=n.get(e.id);return t?{...e,content:t.content,duration:t.duration}:e}).map(e=>da(e,!t.has(e.id))).map(ua),a=[...e.filter(e=>!s.has(e.id)).map(e=>(h(e),{...e,animationState:`entering`})),...i];return o.current=a,a}),i.current=t},[e,h,g]);let _=(0,u.useCallback)(e=>{r(t=>{let n=t.filter(t=>t.id!==e);return o.current=n,n}),p(e),Q.cleanup(e)},[p]),v=(0,u.useCallback)(e=>{a.current.set(e,`manual`),Q.remove(e)},[]);if(!m)return null;let y=ca(n);return(0,f.createPortal)((0,d.jsx)(d.Fragment,{children:Object.entries(y).map(([e,t])=>{let n=t.filter(e=>e.singleSlot),r=t.filter(e=>!e.singleSlot),i=n.length>0?(0,d.jsx)(`div`,{className:T(`isolate inline-grid max-w-[min(100vw,100%)] grid-cols-1 grid-rows-1`,na[e]),children:n.map((e,t)=>(0,d.jsx)(`div`,{className:`col-span-full col-start-1 row-span-full row-start-1`,style:{zIndex:n.length-t},children:(0,d.jsx)(fa,{toast:e,remainingTime:s.get(e.id)??e.duration,onExitComplete:_,onClose:v,onHoverStart:c,onHoverEnd:l})},e.id))}):null,a=r.map(e=>(0,d.jsx)(fa,{toast:e,remainingTime:s.get(e.id)??e.duration,onExitComplete:_,onClose:v,onHoverStart:c,onHoverEnd:l},e.id));return(0,d.jsx)(`div`,{className:T(`gap-2 p-4 pointer-events-none fixed z-1000 flex flex-col items-end`,ea[e]),children:ra(e)?(0,d.jsxs)(d.Fragment,{children:[i,a]}):(0,d.jsxs)(d.Fragment,{children:[a,i]})},e)})}),document.body)}function ha({title:e,value:t}){return(0,d.jsxs)(`div`,{className:`flex flex-col`,children:[(0,d.jsx)(`div`,{className:`mb-1 text-sm font-semibold text-neutral-900`,children:e}),(0,d.jsx)(`div`,{className:`text-sm font-normal text-neutral-900`,children:t})]})}const ga={amber:{bg:`bg-amber-200`,text:`text-amber-700`},blue:{bg:`bg-blue-200`,text:`text-blue-700`},cyan:{bg:`bg-cyan-200`,text:`text-cyan-700`},emerald:{bg:`bg-emerald-200`,text:`text-emerald-700`},fuchsia:{bg:`bg-fuchsia-200`,text:`text-fuchsia-700`},green:{bg:`bg-green-200`,text:`text-green-700`},indigo:{bg:`bg-indigo-200`,text:`text-indigo-700`},lime:{bg:`bg-lime-200`,text:`text-lime-700`},orange:{bg:`bg-orange-200`,text:`text-orange-700`},pink:{bg:`bg-pink-200`,text:`text-pink-700`},purple:{bg:`bg-purple-200`,text:`text-purple-700`},rose:{bg:`bg-rose-200`,text:`text-rose-700`},sky:{bg:`bg-sky-200`,text:`text-sky-700`},slate:{bg:`bg-slate-200`,text:`text-slate-700`},stone:{bg:`bg-stone-200`,text:`text-stone-700`},teal:{bg:`bg-teal-200`,text:`text-teal-700`},violet:{bg:`bg-violet-200`,text:`text-violet-700`}},_a=Object.keys(ga);var va=(0,p.tv)({base:`font-semibold flex shrink-0 items-center justify-center rounded-full leading-none select-none`,variants:{size:{xs:`h-[16px] w-[16px] text-[0.5em]`,sm:`h-[20px] w-[20px] text-[0.625em]`,md:`h-[28px] w-[28px] text-[0.75em]`,lg:`h-[32px] w-[32px] text-[0.875em]`,xl:`h-[36px] w-[36px] text-[0.875em]`}},defaultVariants:{size:`sm`}});function ya(e){return ce(e.includes(`@`)?e.split(`@`)[0]:e)}function ba({name:e,size:t=`sm`,className:n}){let r=ya(e),i=ga[le(e,_a)];return(0,d.jsx)(`div`,{role:`img`,"aria-label":e,className:T(va({size:t}),i.bg,i.text,n),children:r})}var xa=(0,p.tv)({slots:{root:`gap-1 relative flex items-center rounded-full border`,text:`text-xs font-semibold truncate whitespace-nowrap`},variants:{status:{fire:{root:`border-tertiary-400 bg-tertiary-50`,text:`text-tertiary-500-variant-2`},insight:{root:`border-primary-400-variant-1 bg-primary-subtle`,text:`text-primary-600`},done:{root:`border-success-base bg-success-light`,text:`text-success-base`}}}}),Sa={fire:{icon:Wr,label:`Fire`,compact:`icon-action`,normal:`icon-label-action`},insight:{icon:qr,label:`Insight`,compact:`label-only`,normal:`icon-label`},done:{icon:Vr,label:`Done`,compact:`icon-action`,normal:`icon-label-action`}};function Ca({className:e,label:t,status:n,onAction:r,density:i=`normal`}){let[a,o]=(0,u.useState)(!1),s=i===`compact`,c=Sa[n],l=s?c.compact:c.normal,f=xa({status:n}),p=l.includes(`icon`),m=l.includes(`label`),h=l.includes(`action`)&&r;return(0,d.jsx)(ki,{className:T(f.root(),s?`h-6 w-6`:`py-1 pr-2.5 pl-2`,e),icon:p?(0,d.jsx)(c.icon,{size:16,className:T(f.text(),s&&h&&`inset-0 absolute m-auto`,s&&h&&a&&`opacity-0`)}):void 0,label:m?(0,d.jsx)(`span`,{className:T(f.text(),s&&`inset-0 absolute flex items-center justify-center text-center text-[10px]`),children:t??c.label}):void 0,action:h?(0,d.jsx)(Y,{onClick:r,"aria-label":`Dismiss status`,className:T(`group`,s?T(`inset-0 absolute m-auto transition-opacity`,a?`opacity-100`:`opacity-0`):void 0),children:(0,d.jsx)(ui,{size:16,className:T(f.text(),`group-hover:scale-90`)})}):void 0,onMouseEnter:s?()=>o(!0):void 0,onMouseLeave:s?()=>o(!1):void 0})}function wa({onPointerDown:e,onKeyDown:t,isResizing:n=!1,className:r}){return(0,d.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,"aria-label":`Resize panel`,tabIndex:0,onPointerDown:e,onKeyDown:t,className:T(`flex w-2 shrink-0 cursor-col-resize items-center justify-center transition-colors max-md:hidden`,n?`bg-primary-500/20`:`bg-neutral-100 hover:bg-primary-500/20`,r),children:(0,d.jsx)(`div`,{className:T(`h-8 w-px rounded-full transition-colors`,n?`bg-primary-500`:`bg-resize-handle-grip`)})})}function Ta({className:e}){return(0,d.jsxs)(`div`,{className:T(`gap-4 grid grid-cols-[minmax(0,1fr)_auto_auto] items-center`,e),children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(Z,{className:`h-5 w-5 rounded`}),(0,d.jsx)(Z,{className:`h-4 w-30`})]}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`}),(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(Z,{className:`m-1 h-5 w-5 rounded`}),(0,d.jsx)(Z,{className:`m-1 h-5 w-5 rounded`})]})]})}function $({icon:e,...t}){return(0,d.jsx)(Y,{...t,children:(0,u.cloneElement)(e,{"aria-hidden":!0,focusable:!1,className:T(`shrink-0`,e.props.className)})})}function Ea({className:e,...t}){return(0,d.jsx)(br,{...t,className:T(`rounded px-2 py-1 font-medium bg-neutral-700 text-[0.625em] whitespace-nowrap text-white`,e)})}function Da({totalItems:e=0,selectedItems:t=0,onSelectAll:n,actions:r,defaultDensity:i=`normal`,onDensityChange:a,className:o}){let s=e>0,c=s&&t===e,l=s&&t>0&&t<e,f=c?`All (${e})`:l?`${t}/${e} selected`:`Select all (${e})`,[p,m]=(0,u.useState)(i??`normal`),h=()=>{n(!c)};function g(e){m(e),a?.(e)}let _={fire:[{id:`fire`,tooltip:`Mark as fire`,icon:(0,d.jsx)(Wr,{size:20,className:`text-tertiary-500-variant-2`}),onClick:r.fire.on},{id:`not-fire`,tooltip:`Mark as not fire`,icon:(0,d.jsx)(Jr,{size:20,className:`text-neutral-900`}),onClick:r.fire.off}],done:[{id:`done`,tooltip:`Mark as done`,icon:(0,d.jsx)(Vr,{size:20,className:`text-success-base`}),onClick:r.done.on},{id:`not-done`,tooltip:`Mark as not done`,icon:(0,d.jsx)(Br,{size:20,className:`text-neutral-900`}),onClick:r.done.off}],read:[{id:`unread`,tooltip:`Mark as unread`,icon:(0,d.jsx)(Zr,{size:20,className:`text-primary-600-variant-1`}),onClick:r.read.on},{id:`read`,tooltip:`Mark as read`,icon:(0,d.jsx)(Xr,{size:20,className:`text-neutral-900`}),onClick:r.read.off}]},v=[{value:`normal`,tooltip:`Normal density`,icon:(0,d.jsx)(wi,{size:20})},{value:`compact`,tooltip:`Compact density`,icon:(0,d.jsx)(di,{size:20})}];return(0,d.jsxs)(`div`,{className:T(`gap-4 grid grid-cols-[minmax(0,1fr)_auto_auto] items-center`,o),children:[(0,d.jsx)(dr,{checked:c,indeterminate:l,onChange:h,icon:(0,d.jsx)(zr,{size:16,className:`text-white-variant-7`}),indeterminateIcon:(0,d.jsx)(xi,{size:12,className:`text-neutral-900`}),className:T(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`),children:f}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`,children:t>0&&(0,d.jsx)(d.Fragment,{children:Object.entries(_).map(([e,t])=>(0,d.jsx)(`div`,{className:`gap-2 px-1 flex items-center`,children:t.map(e=>(0,d.jsx)(Ea,{content:e.tooltip,className:`border-black`,children:(0,d.jsx)($,{className:`h-7 w-7 p-0`,onClick:e.onClick,icon:e.icon})},e.id))},e))})}),(0,d.jsx)(`div`,{className:`gap-2 flex items-center`,children:v.map(({value:e,tooltip:t,icon:n})=>{let r=p===e;return(0,d.jsx)(Ea,{content:t,children:(0,d.jsx)($,{className:T(`h-7 w-7 p-0 text-neutral-900`,r&&`bg-white-variant-4`),onClick:()=>g(e),icon:n,"aria-pressed":r})},e)})})]})}var Oa=(0,p.tv)({slots:{root:`gap-1 px-2 py-1 inline-flex w-fit items-center rounded-full border-[1.5px] transition-colors`,label:`gap-1 text-xs flex shrink-0 items-center whitespace-nowrap`},variants:{variant:{custom:{},fire:{},unread:{},insight:{},done:{}},selected:{false:{root:`border-neutral-300 bg-white hover:border-neutral-500-variant-4 hover:bg-neutral-100`,label:`font-semibold text-neutral-800 opacity-80 group-hover:opacity-100`},true:{root:`bg-white hover:bg-white`,label:`font-semibold text-neutral-900`}}},compoundVariants:[{variant:`custom`,selected:!0,class:{root:`border-primary-400 hover:border-primary-400`}},{variant:`fire`,selected:!0,class:{root:`border-tertiary-400 hover:border-tertiary-500`}},{variant:`unread`,selected:!0,class:{root:`border-primary-400 hover:border-primary-500`}},{variant:`insight`,selected:!0,class:{root:`border-brand-primary-100 hover:border-brand-primary-200`}},{variant:`done`,selected:!0,class:{root:`border-success-base hover:border-success-base`}}],defaultVariants:{variant:`custom`,selected:!1}}),ka={fire:{icon:Wr,selectedIcon:Ur,label:`Fire`,iconColor:`text-tertiary-500`},unread:{icon:Zr,label:`Unread`,iconColor:`text-primary-500`},insight:{icon:qr,selectedIcon:Kr,label:`Insights`,iconColor:`text-primary-600`},done:{icon:Vr,label:`Done`,iconColor:`text-success-base`}};function Aa(e,t){return typeof e==`function`?(0,d.jsx)(e,{size:20,className:t}):(0,u.cloneElement)(e,{size:e.props.size??20,className:T(t,e.props.className)})}function ja({variant:e=`custom`,label:t,count:n,selected:r=!1,icon:i,classNames:a,disabled:o,...s}){let c=!!o,l=Oa({variant:e,selected:!c&&r}),u=e===`custom`?void 0:ka[e],f=i??(u&&!c&&r&&`selectedIcon`in u&&u.selectedIcon?u.selectedIcon:u?.icon),p=t??u?.label,m=c?`text-neutral-400`:r&&u?.iconColor?u.iconColor:`text-neutral-900 opacity-60 group-hover:opacity-80`;return(0,d.jsxs)(Y,{...s,disabled:o,"aria-label":s[`aria-label`]??p,className:T(`group`,l.root(),c&&`border-neutral-300 bg-white hover:border-neutral-300`,a?.root),children:[f&&(0,d.jsx)(`span`,{className:T(`flex items-center`,a?.icon),children:Aa(f,T(`shrink-0`,m))}),p&&(0,d.jsxs)(`span`,{className:T(l.label(),c&&`font-medium text-neutral-400`,a?.label),children:[(0,d.jsx)(`span`,{children:p}),typeof n==`number`&&n>0&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:T(`font-medium`,a?.count),children:[`(`,n,`)`]})]})]})}function Ma({orientation:e=`vertical`,className:t}){let n=e===`vertical`;return(0,d.jsxs)(`div`,{className:T(`flex w-fit items-center`,n?`gap-1 flex-col`:`gap-2 flex-row`,t),children:[(0,d.jsx)(Z,{className:`size-8 rounded-full`}),(0,d.jsx)(`div`,{className:T(`gap-1 flex items-center`,n&&`text-[9px]`),children:(0,d.jsx)(Z,{className:T(`h-3`,n?`w-10`:`w-14`)})})]})}var Na=(0,p.tv)({slots:{root:`flex w-fit items-center`,bubble:`size-8 flex items-center justify-center rounded-full border-[1.5px] transition-opacity hover:opacity-70`,label:`gap-1 flex items-center transition-colors`,count:`font-normal`,icon:``},variants:{variant:{primary:{},secondary:{},minimal:{bubble:`border-none text-primary-500`,label:`text-primary-500`}},status:{active:{},inactive:{}},orientation:{vertical:{root:`gap-1 flex-col`,label:`font-semibold text-[9px]`},horizontal:{root:`gap-2 flex-row`,label:`text-xs font-semibold`}}},compoundVariants:[{variant:`primary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`}},{variant:`primary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`opacity-60`,icon:`opacity-50 grayscale`}},{variant:`secondary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`,icon:`text-success-base`}},{variant:`secondary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`text-neutral-900`}}],defaultVariants:{variant:`primary`,orientation:`vertical`,status:`active`}});function Pa(e,t=99){return e>t?`${t}+`:String(e)}function Fa(e,t){return(0,u.cloneElement)(e,{size:e.props.size??20,className:T(t,e.props.className)})}function Ia({isPressed:e,isPortalHovered:t,portalPosition:n,onMouseEnter:r,onMouseLeave:i,onToggle:a}){let o=t&&!e,s=e?`Clear`:`Only`,c=e?`Reset state`:`Activate state`;return(0,f.createPortal)((0,d.jsx)(`div`,{className:`flex`,style:{position:`fixed`,top:n.top,left:n.left,zIndex:10},children:(0,d.jsx)(Ea,{content:s,position:`right-end`,children:(0,d.jsx)(_r,{children:(0,d.jsx)(`div`,{role:`button`,tabIndex:0,"aria-pressed":e,"aria-label":c,className:`size-5 flex cursor-pointer items-center justify-center rounded-full bg-white`,onMouseEnter:r,onMouseLeave:i,onClick:a,children:(0,d.jsxs)(`div`,{className:T(`size-4 flex items-center justify-center rounded-full border`,e?`border-tertiary-500`:`border-neutral-800`),children:[o&&(0,d.jsx)(`div`,{className:`size-2 rounded-full bg-neutral-800`}),e&&(0,d.jsx)(ui,{size:12,className:`text-tertiary-500`})]})})})})}),document.body)}function La({icon:e,label:t,count:n,variant:r=`primary`,orientation:i=`vertical`,status:a=`active`,alwaysShowCount:o=!1,showToggleControl:s=!1,pressed:c,defaultPressed:l=!1,onPressedChange:f,classNames:p,...m}){let h=Na({variant:r,orientation:i,status:a}),g=(0,u.useRef)(null),[_,v]=(0,u.useState)(!1),[y,b]=(0,u.useState)(!1),[ee,x]=(0,u.useState)(l),[S,C]=(0,u.useState)(null),te=c??ee,ne=s&&(_||y||te),re=typeof n==`number`&&n>0&&(o||a===`active`);function w(e){c===void 0&&x(e),f?.(e)}return(0,u.useLayoutEffect)(()=>{if(!ne||!g.current)return;function e(){let e=g.current?.getBoundingClientRect();e&&C({top:e.top-8,left:e.right-12})}return e(),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[ne]),(0,d.jsxs)(Y,{...m,className:T(h.root(),p?.root),onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),children:[(0,d.jsxs)(`div`,{className:`relative`,children:[(0,d.jsx)(`div`,{ref:g,className:T(h.bubble(),p?.bubble),children:Fa(e,h.icon())}),ne&&S&&typeof document<`u`&&Ia({isPressed:te,isPortalHovered:y,portalPosition:S,onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),onToggle:()=>w(!te)})]}),(0,d.jsxs)(`div`,{className:T(h.label(),p?.label),children:[(0,d.jsx)(`span`,{children:t}),re&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:T(h.count(),p?.count),children:[`(`,Pa(n),`)`]})]})]})}function Ra({icon:e,label:t,className:n,selected:r,...i}){return(0,d.jsxs)(Y,{className:T(`gap-2 px-3 py-2 flex items-center justify-start bg-white hover:bg-neutral-100`,r&&`bg-primary-500 text-white hover:bg-primary-bright`,n),...i,children:[e&&(0,u.cloneElement)(e,{size:e.props.size??16,className:T(r?`text-white`:`text-neutral-600-variant-7`,e.props.className)}),(0,d.jsx)(`span`,{className:T(`text-xs font-medium transition-colors`,r?`text-white`:`text-neutral-900`),children:t})]})}function za({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(zi,{trigger:e,className:T(`mt-1 min-w-20 rounded p-0 shadow-lg overflow-hidden border border-neutral-400 bg-white`,n),...r,children:t})}function Ba({mode:e,selectedDate:t,selectedRange:n,onDateSelect:r,onRangeSelect:i}){let{close:a}=pr(),o=(0,u.useMemo)(()=>new Date,[]),[s,c]=(0,u.useState)(null),l=(0,u.useRef)(t),f=(0,u.useRef)(n),[p,m]=(0,u.useState)(()=>{let r=e===`single`?t??o:n.startDate??n.endDate??o;return{year:r.getFullYear(),month:r.getMonth()}});(0,u.useEffect)(()=>{(e===`single`&&t&&(!l.current||t.getTime()!==l.current.getTime())||e===`range`&&(n.startDate?.getTime()!==f.current.startDate?.getTime()||n.endDate?.getTime()!==f.current.endDate?.getTime()))&&queueMicrotask(()=>{if(e===`single`&&t)m({year:t.getFullYear(),month:t.getMonth()});else if(e===`range`){let e=n.startDate??n.endDate;e&&m({year:e.getFullYear(),month:e.getMonth()})}}),l.current=t,f.current=n},[e,t,n]);let h=(0,u.useMemo)(()=>ae(p.year,p.month),[p.year,p.month]);function g(t){let o=t.getMonth(),s=t.getFullYear();if((o!==p.month||s!==p.year)&&m({year:s,month:o}),e===`single`)r(t),a();else{let{startDate:e,endDate:r}=n;!e||r||C(t,e)?i({startDate:t,endDate:null}):(i({startDate:e,endDate:t}),a())}}function _(){m(e=>e.month===0?{year:e.year-1,month:11}:{year:e.year,month:e.month-1})}function v(){m(e=>e.month===11?{year:e.year+1,month:0}:{year:e.year,month:e.month+1})}let y=ie();return(0,d.jsxs)(`div`,{className:`mt-1 rounded-lg p-2 shadow-lg w-fit border border-neutral-400 bg-white`,children:[(0,d.jsxs)(`div`,{className:`mb-4 pb-2 flex items-center justify-between border-b border-neutral-400`,children:[(0,d.jsx)($,{icon:(0,d.jsx)(ii,{direction:`left`,size:20}),onClick:_,className:`hover:opacity-60`,"aria-label":`Previous month`}),(0,d.jsxs)(`div`,{className:`font-bold text-[10px] text-neutral-900`,children:[w(p.month),` `,p.year]}),(0,d.jsx)($,{icon:(0,d.jsx)(ii,{direction:`right`,size:20}),onClick:v,className:`hover:opacity-60`,"aria-label":`Next month`})]}),(0,d.jsx)(`div`,{className:`mb-2 grid grid-cols-7`,children:y.map(e=>(0,d.jsx)(`div`,{className:`p-0.5 font-bold flex items-center justify-center text-[9px] text-neutral-900`,children:e},e))}),(0,d.jsx)(`div`,{className:`grid grid-cols-7`,children:h.map(({day:r,date:i,isCurrentMonth:a})=>{let o=S(i),l=e===`single`&&t&&x(i,t),{startDate:u,endDate:f}=n,p=u&&x(i,u),m=f&&x(i,f),h=u,_=s;e===`range`&&u&&!f&&s&&!C(s,u)?(h=u,_=s):(h=null,_=null);let v=e===`range`&&(te(i,u,f)||te(i,h,_)),y=l||p||m;return(0,d.jsx)(Y,{type:`button`,onClick:()=>g(i),onMouseEnter:()=>{e===`range`&&u&&!f&&!C(i,u)&&c(i)},onMouseLeave:()=>{e===`range`&&c(null)},className:`p-0.5`,"aria-label":`Select ${b(i)}`,"aria-selected":y||void 0,children:(0,d.jsx)(`div`,{className:T(`rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors`,y&&`font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500`,v&&!y&&`font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30`,o&&!y&&!v&&`font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white`,!y&&!v&&(a?`text-neutral-900 hover:bg-neutral-300`:`text-neutral-600 hover:bg-neutral-200`)),children:r})},`${i.getFullYear()}-${i.getMonth()}-${r}`)})})]})}function Va({displayText:e,disabled:t,className:n,onClear:r}){let{close:i}=pr();function a(){r(),i()}return(0,d.jsxs)(gr,{disabled:t,className:T(`gap-1 px-2 py-1 text-xs flex items-center justify-start rounded-full border border-neutral-300 bg-white text-left text-neutral-800 transition-colors hover:border-neutral-500`,e&&`border-primary-400 hover:border-primary-500 hover:bg-primary-light`,n),children:[(0,d.jsx)(si,{size:20,className:`text-primary-600`}),(0,d.jsx)(`span`,{className:`font-semibold`,children:`Date`}),e&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(`span`,{className:`font-normal`,children:[`(`,e,`)`]}),(0,d.jsx)(_r,{children:(0,d.jsx)($,{icon:(0,d.jsx)(ui,{size:16}),onClick:a,className:`text-neutral-600 hover:opacity-70`,"aria-label":`Close`})})]})]})}function Ha({mode:e=`single`,value:t,defaultValue:n,onChange:r,disabled:i=!1,className:a}){let[o,s]=(0,u.useState)(e===`single`&&n?n:null),[c,l]=(0,u.useState)(()=>{if(e===`range`&&n){let e=n;return{startDate:e.startDate??null,endDate:e.endDate??null}}return{startDate:null,endDate:null}}),f=t!==void 0,p=e===`single`?f?t??null:o:null,m=e===`range`?f?t??{startDate:null,endDate:null}:c:{startDate:null,endDate:null};function h(t){e===`single`&&(f||s(t),r?.(t))}function g(t){e===`range`&&(f||l(t),r?.(t))}function _(){e===`single`?h(null):g({startDate:null,endDate:null})}return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(mr,{trigger:(0,d.jsx)(Va,{displayText:e===`single`?b(p):ne(m.startDate,m.endDate),disabled:i,className:a,onClear:_}),disabled:i,children:(0,d.jsx)(Ba,{mode:e,selectedDate:p,selectedRange:m,onDateSelect:h,onRangeSelect:g})})})}const Ua={normal:{style:`h-[165px]`,value:165},compact:{style:`h-[60px]`,value:60}},Wa={style:`h-[104px]`,value:104};function Ga({density:e=`normal`,className:t,style:n}){return(0,d.jsx)(Ai,{className:T(`rounded-lg p-4 w-full bg-white-variant-5`,e===`normal`?`${Ua.normal.style}`:`${Ua.compact.style}`,t),style:n,children:e===`normal`?(0,d.jsxs)(ji,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)(Mi,{children:(0,d.jsx)(Z,{className:`h-5 w-5`})}),(0,d.jsxs)(Ni,{className:`gap-2 grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center`,children:[(0,d.jsx)(Z,{className:`h-4 w-4`}),(0,d.jsx)(Z,{className:`h-4 w-24`}),(0,d.jsx)(Z,{className:`h-3 w-12`}),(0,d.jsx)(Z,{className:`h-5 w-5 rounded-full`})]}),(0,d.jsx)(Pi,{className:`h-5 flex items-center`,children:(0,d.jsx)(Z,{className:`h-4 w-48`})}),(0,d.jsxs)(Fi,{children:[(0,d.jsx)(Z,{className:`my-1 h-4 w-full`}),(0,d.jsx)(Z,{className:`my-1 h-4 w-3/4`})]}),(0,d.jsxs)(Ii,{className:`mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center`,children:[(0,d.jsx)(`div`,{className:`gap-2 flex`,children:(0,d.jsx)(Z,{className:`h-6 w-23 rounded-full`})}),(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(Z,{className:`h-6 w-6 rounded-full`}),(0,d.jsx)(Z,{className:`h-6 w-6 rounded-full`}),(0,d.jsx)(Z,{className:`h-6 w-6 rounded-full`})]})]})]}):(0,d.jsxs)(ji,{className:`gap-x-2 grid grid-cols-[auto_1fr] grid-rows-1`,children:[(0,d.jsx)(Mi,{className:`flex items-center justify-center`,children:(0,d.jsx)(Z,{className:`h-5 w-5`})}),(0,d.jsxs)(Ni,{className:`min-w-0 gap-2 flex items-center`,children:[(0,d.jsx)(Z,{className:`h-4 w-4`}),(0,d.jsx)(`div`,{className:`min-w-0 gap-2 flex items-center`,children:(0,d.jsx)(Z,{className:`h-4 w-32`})}),(0,d.jsx)(`div`,{className:`flex-1`}),(0,d.jsx)(Z,{className:`h-3 w-12`}),(0,d.jsx)(Z,{className:`h-5 w-5 rounded-full`})]})]})})}var Ka={fire:{className:`group`,icon:(0,d.jsx)(Wr,{size:20,className:`text-neutral-600 group-hover:text-tertiary-500-variant-2`})},done:{className:`group relative flex items-center justify-center w-6 h-6`,icon:(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(Br,{size:24,className:`block text-neutral-600-variant-1 group-hover:hidden`}),(0,d.jsx)(Vr,{size:24,className:`hidden text-success-base group-hover:block`})]})},link:{className:``,icon:(0,d.jsx)(hi,{size:20,className:`text-primary-500`})}},qa=(0,p.tv)({base:`rounded-lg p-4 w-full border-[1.5px] bg-white-variant-5`,variants:{tone:{default:`hover:bg-primary-light`,done:`hover:bg-success-base-variant-1`,priority:`hover:bg-tertiary-500-variant-4`},state:{unread:``,read:``,selected:``},density:{normal:Ua.normal.style,compact:Ua.compact.style}},compoundVariants:[{tone:`default`,state:`unread`,class:`border-primary-400`},{tone:`default`,state:`read`,class:`border-neutral-400`},{tone:`default`,state:`selected`,class:`border-primary-500 bg-primary-light`},{tone:`done`,state:`unread`,class:`border-primary-400`},{tone:`done`,state:`read`,class:`border-success-base-variant-2`},{tone:`done`,state:`selected`,class:`border-success-base bg-success-base-variant-1`},{tone:`priority`,state:`unread`,class:`border-tertiary-500-variant-2`},{tone:`priority`,state:`read`,class:`border-tertiary-500-variant-3`},{tone:`priority`,state:`selected`,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`}]});function Ja({checked:e,onCheckedChange:t}){return(0,d.jsx)(_r,{children:(0,d.jsx)(dr,{checked:e,onChange:t,icon:(0,d.jsx)(zr,{size:16,className:`text-white-variant-7`}),className:T(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`)})})}function Ya({statusBadges:e,density:t}){return Object.keys(e).length===0?null:(0,d.jsx)(`div`,{className:`gap-2 flex`,children:(0,d.jsx)(_r,{children:Object.keys(e).map(n=>{let r=e[n];return r?(0,d.jsx)(Ca,{status:n,label:r.label,onAction:r.onClick,density:t},n):null})})})}function Xa({actions:e,className:t}){return Object.keys(e).length===0?null:(0,d.jsx)(`div`,{className:T(`gap-2 flex`,t),children:(0,d.jsx)(_r,{children:Object.keys(e).map(t=>{let n=e[t];return n?(0,d.jsx)($,{...Ka[t],onClick:n.onClick},t):null})})})}function Za({icon:e,service:t,sender:n,title:r,content:i,timestamp:a,timestampTooltip:o,workspace:s,read:c=!1,selected:l=!1,onSelect:u,checked:f=!1,onCheckedChange:p,statusBadges:m={},actions:h={},density:g=`normal`,className:_,style:v,isPriority:y,isDone:b}){return(0,d.jsx)(Ai,{as:gr,onPress:u,className:T(qa({tone:y?`priority`:b?`done`:`default`,state:l?`selected`:c?`read`:`unread`,density:g}),_),style:v,"data-service":t,children:g===`normal`?(0,d.jsxs)(ji,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)(Mi,{children:(0,d.jsx)(Ja,{checked:f,onCheckedChange:p})}),(0,d.jsxs)(Ni,{className:`gap-2 grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center`,children:[e,(0,d.jsx)(`span`,{className:T(`min-w-0 -translate-x-0.5 text-sm font-bold truncate text-neutral-900`,c&&`font-medium`),children:n}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:a}),(0,d.jsx)(Ea,{content:s,children:(0,d.jsx)(ba,{name:s})})]}),(0,d.jsx)(Pi,{className:T(`text-sm font-bold line-clamp-1 text-neutral-900`,c&&`font-medium`),children:r}),(0,d.jsx)(Fi,{className:`min-w-0 text-sm line-clamp-2 text-neutral-900`,children:i}),(0,d.jsxs)(Ii,{className:`mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center`,children:[(0,d.jsx)(Ya,{statusBadges:m}),(0,d.jsx)(Xa,{actions:h,className:`col-start-2 justify-self-end`})]})]}):(0,d.jsxs)(ji,{className:`gap-x-2 grid grid-cols-[auto_1fr] grid-rows-1`,children:[(0,d.jsx)(Mi,{className:`flex items-center justify-center`,children:(0,d.jsx)(Ja,{checked:f,onCheckedChange:p})}),(0,d.jsxs)(Ni,{className:`min-w-0 gap-2 flex items-center`,children:[e,(0,d.jsx)(Ya,{statusBadges:m,density:g}),(0,d.jsxs)(`div`,{className:T(`min-w-0 gap-2 text-sm font-bold flex items-center whitespace-nowrap text-neutral-900`,c&&`font-medium`),children:[(0,d.jsx)(`span`,{className:`truncate`,children:n}),(0,d.jsx)(`span`,{className:`text-sm shrink-0 text-neutral-500`,children:`•`}),(0,d.jsx)(`span`,{className:`truncate`,children:r})]}),(0,d.jsx)(`div`,{className:`flex-1`}),(0,d.jsx)(Xa,{actions:h}),(0,d.jsx)(Ea,{content:o,children:(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:a})}),(0,d.jsx)(Ea,{content:s,children:(0,d.jsx)(ba,{name:s})})]})]})})}function Qa({title:e,rows:t}){return(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 text-sm flex flex-col bg-neutral-100-variant-3 text-neutral-800`,children:[e&&(0,d.jsx)(`div`,{className:`font-bold`,children:e}),(0,d.jsx)(`div`,{className:`gap-x-4 gap-y-1 grid grid-cols-[auto_1fr]`,children:t.map(({label:e,value:t})=>(0,d.jsxs)(u.Fragment,{children:[(0,d.jsxs)(`div`,{className:`font-bold`,children:[e,`:`]}),(0,d.jsx)(`span`,{className:`font-normal`,children:t})]},e))})]})}function $a({from:e,to:t,link:n,location:r}){return(0,d.jsx)(Qa,{rows:[{label:`From`,value:e},{label:`To`,value:t},{label:`Link`,value:n},{label:`Location`,value:r}]})}function eo({title:e,subtitle:t}){return(0,d.jsxs)(`div`,{className:`gap-1 min-h-14 px-4 py-3 flex flex-col justify-center bg-primary-light`,children:[(0,d.jsxs)(`p`,{className:`text-xs font-normal py-1 gap-1 flex items-center leading-[1.2] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold text-primary-500`,children:`Follow-Up:\xA0`}),e]}),t!=null&&t!==``&&(0,d.jsx)(`p`,{className:`font-normal leading-snug text-[11px] text-neutral-600`,children:t})]})}function to({priorityText:e}){return(0,d.jsxs)(`div`,{className:`min-h-14 gap-1 px-4 py-3 text-xs font-normal flex items-center bg-tertiary-50 leading-[1.2] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold text-tertiary-500`,children:`High Urgency:\xA0`}),e]})}function no({summary:e}){return(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 flex bg-neutral-100-variant-3`,children:[(0,d.jsx)(Di,{size:24}),(0,d.jsxs)(`p`,{className:`text-sm font-normal leading-[1.3] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold`,children:`Summary:\xA0`}),e]})]})}function ro({summary:e,priorityText:t,followUpTitle:n,followUpSubtitle:r,children:i,className:a}){return(0,d.jsxs)(`div`,{className:T(`flex flex-col`,a),children:[(0,d.jsxs)(`div`,{className:`top-14 sticky z-5 flex shrink-0 flex-col`,children:[t!=null&&(0,d.jsx)(to,{priorityText:t}),n!=null&&(0,d.jsx)(eo,{title:n,subtitle:r})]}),(0,d.jsxs)(`div`,{className:`gap-4 p-4 flex flex-col`,children:[e!=null&&(0,d.jsx)(no,{summary:e}),i]})]})}function io({detail:{summary:e,body:t,priorityText:n,followUpTitle:r,followUpSubtitle:i,from:a,to:o,link:s,location:c},className:l}){return(0,d.jsxs)(ro,{summary:e,priorityText:n,followUpTitle:r,followUpSubtitle:i,className:l,children:[(0,d.jsx)($a,{from:a,to:o,link:s,location:c}),(0,d.jsx)(Gi,{className:`max-w-[1260px px-4`,content:t})]})}function ao({subject:e,to:t,date:n,from:r}){return(0,d.jsx)(Qa,{rows:[{label:`Subject`,value:e},{label:`To`,value:t},{label:`Date`,value:n},{label:`From`,value:r}]})}function oo({detail:{summary:e,body:t,priorityText:n,followUpTitle:r,followUpSubtitle:i,subject:a,to:o,date:s,from:c},className:l}){return(0,d.jsxs)(ro,{summary:e,priorityText:n,followUpTitle:r,followUpSubtitle:i,className:l,children:[(0,d.jsx)(ao,{subject:a,to:o,date:s,from:c}),(0,d.jsx)(Gi,{className:`px-4 max-w-[1260px]`,content:t})]})}var so=(0,p.tv)({base:`gap-1 rounded-lg p-4 flex w-full flex-col justify-between border-[1.5px] bg-white-variant-5`,variants:{tone:{default:`hover:bg-primary-light`,priority:`hover:bg-tertiary-500-variant-4`,insight:`hover:bg-primary-light`},state:{normal:``,selected:``}},compoundVariants:[{tone:`default`,state:`normal`,class:`border-neutral-400`},{tone:`default`,state:`selected`,class:`border-neutral-600 bg-primary-light`},{tone:`priority`,state:`normal`,class:`border-tertiary-500-variant-3`},{tone:`priority`,state:`selected`,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`},{tone:`insight`,state:`normal`,class:`border-primary-500/30`},{tone:`insight`,state:`selected`,class:`border-primary-500 bg-primary-light`}]});function co(e){return e!=null&&e!==``}function lo({label:e}){return(0,d.jsxs)(`div`,{className:`h-5 gap-1 px-1.5 inline-flex shrink-0 items-center rounded-full border border-primary-400 bg-primary-light`,children:[(0,d.jsx)(qr,{size:13,className:`text-primary-500`}),(0,d.jsx)(`span`,{className:`font-semibold text-[10px] leading-none whitespace-nowrap text-primary-500`,children:e})]})}function uo({active:e,onClick:t}){return(0,d.jsx)(_r,{children:(0,d.jsx)($,{className:T(`group h-5 w-5 rounded-full border border-neutral-300 hover:border-tertiary-400 hover:bg-tertiary-50`,e&&`border-tertiary-400 bg-tertiary-50`),icon:e?(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(Ur,{size:16,className:`block text-tertiary-500-variant-2 opacity-100 group-hover:hidden group-hover:opacity-0`}),(0,d.jsx)(ui,{size:12,className:`hidden text-neutral-500 opacity-0 group-hover:block group-hover:text-tertiary-500-variant-2 group-hover:opacity-100`,strokeWidth:2})]}):(0,d.jsx)(Wr,{size:16,className:`text-neutral-500 group-hover:text-tertiary-500-variant-2`}),onClick:t,"aria-pressed":e})})}function fo({icon:e,service:t,sender:n,title:r,content:i,timestamp:a,workspace:o,selected:s=!1,onSelect:c,actions:l,className:u}){let{fire:f,insight:p,link:m}=l,h=p?.label??null;return(0,d.jsxs)(gr,{onPress:c,className:T(so({tone:f.active?`priority`:co(h)?`insight`:`default`,state:s?`selected`:`normal`}),Wa.style,u),"data-service":t,children:[(0,d.jsxs)(`div`,{className:`gap-1.5 flex items-center justify-between`,children:[e,(0,d.jsx)(`span`,{className:`min-w-0 -translate-x-0.5 text-sm font-medium truncate text-neutral-900`,children:n}),(0,d.jsx)(Ea,{content:o,children:(0,d.jsx)(ba,{name:o,size:`xs`})}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800`,children:a}),co(h)&&(0,d.jsx)(lo,{label:h}),f.onClick&&(0,d.jsx)(uo,{active:f.active,onClick:f.onClick})]}),(0,d.jsx)(`div`,{className:`text-sm font-medium line-clamp-1 text-neutral-900`,children:r}),(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(`div`,{className:`min-w-0 text-sm font-normal line-clamp-1 flex-1 text-neutral-700`,children:i}),(0,d.jsx)(Ea,{content:m.tooltip,children:(0,d.jsx)(_r,{children:(0,d.jsx)($,{type:`button`,icon:(0,d.jsx)(hi,{size:16,className:`text-neutral-800`}),className:`text-primary-500`,onClick:m.onClick})})})]})]})}function po({timestamp:e,mode:t}){return(0,d.jsxs)(`div`,{className:T(`gap-4 flex items-center px-4 py-2 -mx-4`,t===`insight`&&`bg-primary-light border-l-[3px] border-primary-500`,t===`fire`&&`bg-tertiary-50-alpha-50 border-l-[3px] border-tertiary-500`),children:[(0,d.jsx)(`div`,{className:`h-px flex-1 bg-neutral-300-variant-2`}),(0,d.jsx)(`span`,{className:`px-3 py-1 text-xs font-semibold rounded-full border border-neutral-300-variant-2 text-neutral-600`,children:e}),(0,d.jsx)(`div`,{className:`h-px flex-1 bg-neutral-300-variant-2`})]})}function mo({isPriority:e,onExternalLinkClick:t,onMarkAsFireClick:n}){return(0,d.jsxs)(d.Fragment,{children:[t&&(0,d.jsx)($,{icon:(0,d.jsx)(hi,{size:16}),className:`inline-flex shrink-0 items-center text-neutral-600 transition-colors hover:text-primary-500`,title:`Open in Slack`,"aria-label":`Open in Slack`,onClick:t}),n&&!e&&(0,d.jsx)($,{icon:(0,d.jsx)(Wr,{size:16}),className:`inline-flex shrink-0 items-center text-neutral-600 transition-colors hover:text-tertiary-500`,title:`Mark as Fire`,"aria-label":`Mark as Fire`,onClick:n})]})}function ho({content:e}){return(0,d.jsx)(`div`,{className:`text-sm leading-relaxed text-neutral-900`,children:(0,d.jsx)(Gi,{className:`max-w-[1260px]`,content:e})})}function go({replyId:e,replyCount:t}){let{openItems:n}=Sr();return(0,d.jsxs)(`div`,{className:`gap-2 p-1.5 px-2 text-xs font-medium flex items-center text-neutral-600`,children:[(0,d.jsx)(ii,{direction:n.has(`replies-${e}`)?`up`:`down`,size:12,className:`transition-transform`}),(0,d.jsxs)(`span`,{children:[t,` `,t===1?`reply`:`replies`]})]})}function _o({replies:e}){if(!e||e.length===0)return null;let t=e[0]?.id;return t?(0,d.jsx)(Cr,{className:`w-full`,type:`multiple`,defaultValue:[`replies-${t}`],children:(0,d.jsxs)(wr,{value:`replies-${t}`,className:`gap-2 flex flex-col`,children:[(0,d.jsx)(Tr,{value:`replies-${t}`,className:`rounded hover:bg-neutral-50 flex items-center justify-between transition-colors`,children:(0,d.jsx)(go,{replyId:t,replyCount:e.length})}),(0,d.jsx)(Er,{value:`replies-${t}`,className:`ml-3 gap-4 pl-4 flex flex-col border-l-2 border-neutral-500`,children:e.map(e=>(0,d.jsxs)(`div`,{className:`gap-3 flex`,children:[(0,d.jsx)(ba,{name:e.author,size:`lg`}),(0,d.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm font-semibold text-neutral-900`,children:e.author}),(0,d.jsx)(`div`,{className:`text-xs font-medium text-neutral-700`,children:e.timestamp})]}),(0,d.jsx)(ho,{content:e.body})]})]},e.id))})]})}):null}function vo({message:e,isPriority:t=!1}){return(0,d.jsx)(`div`,{className:`transition-colors`,children:(0,d.jsxs)(`div`,{className:`gap-3 flex`,children:[(0,d.jsx)(ba,{name:e.author,size:t?`xl`:`lg`}),(0,d.jsxs)(`div`,{className:`min-w-0 gap-2 flex flex-1 flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm font-semibold text-neutral-900`,children:e.author}),(0,d.jsx)(`div`,{className:`text-xs font-medium text-neutral-700`,children:e.timestamp}),(0,d.jsx)(mo,{isPriority:t,onExternalLinkClick:e.onExternalLinkClick,onMarkAsFireClick:e.onMarkAsFireClick})]}),(0,d.jsx)(ho,{content:e.body})]}),e.replies&&e.replies.length>0&&(0,d.jsx)(_o,{replies:e.replies})]})]})})}function yo({mode:e=`fire`,priorityIndex:t,priorityTotal:n,onPreviousPriority:r,onNextPriority:i}){if(!t||!n||n<=1)return null;let a=t>1,o=t<n;if(!o&&!a)return null;let s=e===`fire`?`Fire`:`Insight`,c=e===`fire`?`border-tertiary-500 text-tertiary-500 hover:bg-tertiary-50`:`border-primary-500 text-primary-500 hover:bg-primary-light`;return(0,d.jsx)(`div`,{className:`mb-3 px-2 flex justify-center`,children:(0,d.jsxs)(`div`,{className:`gap-4 flex w-full items-center justify-center`,children:[(0,d.jsx)(`div`,{className:`flex flex-1 justify-end`,children:o&&(0,d.jsxs)(Y,{className:T(`gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium flex border bg-white transition-colors`,c),"aria-label":`Previous ${s}`,onClick:r,children:[(0,d.jsx)(ii,{direction:`left`,size:14}),(0,d.jsxs)(`span`,{children:[`Previous `,s]})]})}),(0,d.jsxs)(`span`,{className:`text-xs font-medium text-neutral-700`,children:[t,` / `,n]}),(0,d.jsx)(`div`,{className:`flex-1`,children:a&&(0,d.jsxs)(Y,{className:T(`gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium flex border bg-white transition-colors`,c),"aria-label":`Next ${s}`,onClick:i,children:[(0,d.jsxs)(`span`,{children:[`Next `,s]}),(0,d.jsx)(ii,{direction:`right`,size:14})]})})]})})}function bo({title:e,mode:t,onMarkAsNotFireClick:n}){return e?(0,d.jsx)(`div`,{className:`pb-3 border-b border-neutral-200`,children:(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[t===`fire`&&n!=null?(0,d.jsx)(uo,{active:!0,onClick:n}):(0,d.jsx)(Kr,{size:16,className:`shrink-0 text-primary-500`}),(0,d.jsx)(`h4`,{className:T(`text-xs font-semibold tracking-wide`,t===`fire`?`text-tertiary-700`:`text-primary-600`),children:e})]})}):null}function xo({group:e,children:t,onPreviousPriority:n,onNextPriority:r,onMarkAsNotFireClick:i}){let a=e.isPriority?`fire`:e.isInsight?`insight`:null;return a?(0,d.jsxs)(`div`,{className:`relative scroll-mt-[180px]`,"data-group-id":e.id,children:[(0,d.jsx)(yo,{mode:a,priorityIndex:e.priorityIndex,priorityTotal:e.totalPriorityGroups,onPreviousPriority:n,onNextPriority:r}),(0,d.jsxs)(`div`,{className:T(`gap-4 rounded-r-lg p-4 relative flex flex-col border-l-[3px]`,a===`fire`?`border-tertiary-500 bg-tertiary-50-alpha-50`:`border-primary-500 bg-primary-light`),children:[(0,d.jsx)(bo,{title:a===`fire`?e.priorityText:e.insightText,mode:a,onMarkAsNotFireClick:i}),t]})]}):(0,d.jsx)(d.Fragment,{children:t})}function So({group:e,onPreviousPriority:t,onNextPriority:n}){return(0,d.jsxs)(`div`,{className:`gap-4 flex flex-col`,children:[(0,d.jsx)(po,{timestamp:e.timestamp,mode:e.separatorMode}),(0,d.jsx)(xo,{group:e,onPreviousPriority:t,onNextPriority:n,onMarkAsNotFireClick:e.messages[0]?.onMarkAsFireClick,children:e.messages.map(t=>(0,d.jsx)(vo,{message:t,isPriority:e.isPriority},t.id))})]})}function Co({detail:{groups:e,summary:t,priorityText:n,followUpTitle:r,followUpSubtitle:i},className:a}){let o=e.filter(e=>e.isPriority).length,s=e.filter(e=>!e.isPriority&&e.isInsight),c=s.reduce((e,t)=>{let n=t.insightBadgeId??t.id;return e.includes(n)||e.push(n),e},[]),l=c.length,f=new Map(s.map(e=>{let t=e.insightBadgeId??e.id,n=c.indexOf(t);return[e.id,l-n]})),p=new Set,m=new Set(s.reduce((e,t)=>{let n=t.insightBadgeId??t.id;return p.has(n)||(p.add(n),e.push(t.id)),e},[])),h=(0,u.useRef)(null),g=(0,u.useRef)(null),_=(0,u.useRef)(!1);(0,u.useEffect)(()=>{if(e.length===0||_.current)return;_.current=!0;let t=[...e].reverse().find(e=>e.isPriority),n=[...e].reverse().find(e=>!e.isPriority&&e.isInsight),r=t??n;if(r&&h.current){let e=h.current.querySelector(`[data-group-id="${r.id}"]`);if(e){e.scrollIntoView({behavior:`smooth`,block:`start`});return}}g.current?.scrollIntoView({behavior:`smooth`})},[e]);let v=o,y=(0,u.useCallback)((t,n)=>{if(!h.current)return;let r=Array.from(h.current.querySelectorAll(`[data-group-id][class*="scroll-mt"]`)),i=n===`fire`?o:l,a=r.filter(t=>{let r=t.getAttribute(`data-group-id`);if(!r)return!1;let i=e.find(e=>e.id===r);return i?n===`fire`?i.isPriority:!i.isPriority&&i.isInsight:!1});t>=1&&t<=i&&a.length===i&&a[i-t]?.scrollIntoView({behavior:`smooth`,block:`start`})},[e,o,l]);return(0,d.jsx)(ro,{summary:t,priorityText:n,followUpTitle:r,followUpSubtitle:i,className:a,children:(0,d.jsxs)(`div`,{ref:h,className:`gap-4 flex flex-col`,children:[e.map(e=>{let t=e.isPriority?`fire`:e.isInsight?`insight`:null,n=e.isPriority?v--:e.isInsight?f.get(e.id)??0:0,r=e.isPriority?o:e.isInsight?l:0,i=n&&t?()=>{let e=n+1;e<=r&&y(e,t)}:void 0,a=n&&t?()=>{let e=n-1;e>=1&&y(e,t)}:void 0,s=e.isInsight&&!e.isPriority&&!m.has(e.id);return(0,d.jsx)(So,{group:{...e,priorityIndex:n,totalPriorityGroups:r,insightText:s?void 0:e.insightText,separatorMode:s?`insight`:void 0},onPreviousPriority:i,onNextPriority:a},e.id)}),(0,d.jsx)(`div`,{ref:g,"aria-hidden":`true`})]})})}function wo({issue:e,notification:t,project:n,task:r,dueDate:i,startDate:a,assignees:o,reporter:s,team:c,location:l,related:u}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Qa,{rows:[{label:`Issue`,value:e},{label:`Notification`,value:t},{label:`Project`,value:n},{label:`Task`,value:r}]}),(0,d.jsx)(Qa,{title:`Issue`,rows:[{label:`Due Date`,value:i},{label:`Start Date`,value:a},{label:`Assignees`,value:o},{label:`Reporter`,value:s},{label:`Team`,value:c},{label:`Location`,value:l},{label:`Related`,value:u}]})]})}function To({detail:{summary:e,body:t,priorityText:n,followUpTitle:r,followUpSubtitle:i,issue:a,notification:o,project:s,task:c,dueDate:l,startDate:u,assignees:f,reporter:p,team:m,location:h,related:g},className:_}){return(0,d.jsxs)(ro,{summary:e,priorityText:n,followUpTitle:r,followUpSubtitle:i,className:_,children:[(0,d.jsx)(wo,{issue:a,notification:o,project:s,task:c,dueDate:l,startDate:u,assignees:f,reporter:p,team:m,location:h,related:g}),(0,d.jsx)(`h2`,{className:`px-4 text-sm font-bold text-neutral-900`,children:`Description`}),(0,d.jsx)(Gi,{className:`px-4 max-w-[1260px]`,content:t})]})}function Eo({icon:e,subject:t,from:n,prefixTimestamp:r,timestamp:i,isPriority:a,isOpen:o,isFirstEvent:s,isSingleEvent:c,className:l,onFireClick:f}){return(0,d.jsx)(`div`,{className:T(`h-14 min-w-0 px-4 py-2 flex w-full items-center overflow-hidden bg-white`,l),children:(0,d.jsxs)(`div`,{className:`min-w-0 gap-3 flex w-full items-center overflow-hidden`,children:[s&&(0,d.jsx)($,{icon:(0,d.jsx)(ii,{direction:`left`,size:24,className:`text-neutral-700`}),"aria-label":`Go back`,className:`rounded p-1 md:hidden hover:bg-neutral-100`}),(0,u.cloneElement)(e,{size:36}),(0,d.jsxs)(`div`,{className:`w-0 min-w-0 flex-1 overflow-hidden`,children:[(0,d.jsx)(`h3`,{className:`text-sm font-bold block truncate leading-[1.3] text-neutral-900`,children:n}),(0,d.jsx)(`div`,{className:`text-sm font-normal block truncate leading-[1.3] text-neutral-900`,children:t})]}),(0,d.jsxs)(`div`,{className:`min-w-0 gap-1 text-xs flex max-w-[180px] shrink items-center text-right leading-[1.2] tracking-[0.12px]`,children:[r!=null&&(0,d.jsx)(`span`,{className:`min-w-0 font-normal truncate text-neutral-600`,children:r}),(0,d.jsx)(`span`,{className:`font-medium shrink-0 whitespace-nowrap text-neutral-600`,children:i})]}),f!=null&&(0,d.jsx)(uo,{active:a,onClick:f}),!c&&(0,d.jsx)(`div`,{className:`gap-2 flex shrink-0 items-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(ii,{size:24,className:`text-neutral-700`,direction:o?`up`:`down`}),"aria-label":`Toggle event`,className:`rounded p-1 hover:bg-neutral-100`})}),s&&(0,d.jsx)(`div`,{className:`gap-2 md:hidden flex shrink-0 items-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(Si,{size:24,className:`text-neutral-700`}),"aria-label":`Close`,className:`rounded p-1 hover:bg-neutral-100`})})]})})}function Do({className:e}){return(0,d.jsxs)(`div`,{className:T(`w-full`,e),children:[(0,d.jsx)(Oo,{}),(0,d.jsx)(ko,{})]})}function Oo({className:e}){return(0,d.jsx)(`div`,{className:T(`h-14 px-4 py-2 flex w-full items-center bg-white`,e),children:(0,d.jsxs)(`div`,{className:`gap-4 flex w-full items-center`,children:[(0,d.jsx)(Z,{className:`h-9 w-9 rounded-full`}),(0,d.jsxs)(`div`,{className:`min-w-0 space-y-2 flex-1`,children:[(0,d.jsx)(Z,{className:`h-3 w-3/12`}),(0,d.jsx)(Z,{className:`h-3 w-9/12`})]}),(0,d.jsx)(Z,{className:`h-3 w-14`})]})})}function ko(){return(0,d.jsx)(`div`,{className:`flex flex-col`,children:(0,d.jsxs)(`div`,{className:`gap-4 p-4 flex flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 flex bg-neutral-100-variant-3`,children:[(0,d.jsx)(Z,{className:`h-6 w-6 rounded`}),(0,d.jsxs)(`div`,{className:`space-y-2 flex-1`,children:[(0,d.jsx)(Z,{className:`h-3 w-6/12`}),(0,d.jsx)(Z,{className:`h-3 w-10/12`}),(0,d.jsx)(Z,{className:`h-3 w-3/12`}),(0,d.jsx)(Z,{className:`h-3 w-7/12`})]})]}),(0,d.jsxs)(`div`,{className:`space-y-3`,children:[(0,d.jsx)(Z,{className:`h-3 w-2/12`}),(0,d.jsx)(Z,{className:`h-3 w-11/12`}),(0,d.jsx)(Z,{className:`h-3 w-10/12`}),(0,d.jsx)(Z,{className:`h-3 w-9/12`}),(0,d.jsx)(Z,{className:`h-3 w-4/12`}),(0,d.jsx)(`div`,{className:`h-3 w-full`}),(0,d.jsx)(Z,{className:`h-3 w-3/12`}),(0,d.jsx)(Z,{className:`h-3 w-11/12`}),(0,d.jsx)(Z,{className:`h-3 w-6/12`}),(0,d.jsx)(Z,{className:`h-3 w-7/12`}),(0,d.jsx)(Z,{className:`h-3 w-8/12`}),(0,d.jsx)(`div`,{className:`h-3 w-full`}),(0,d.jsx)(Z,{className:`h-3 w-5/12`}),(0,d.jsx)(Z,{className:`h-3 w-4/12`})]})]})})}var Ao={email:e=>(0,d.jsx)(oo,{detail:e.detail}),message:e=>(0,d.jsx)(Co,{detail:e.detail}),ticket:e=>(0,d.jsx)(To,{detail:e.detail}),calendar:e=>(0,d.jsx)(io,{detail:e.detail})};function jo(e){return Ao[e.type](e)}function Mo(e,t){return e.id??`${e.type}-${e.timestamp}-${t}`}function No(e){return e.type===`message`?void 0:e.onFireClick}function Po({events:e,expandedEventIndex:t}){if(e.length===0)return null;if(e.length===1){let t=e[0];return(0,d.jsxs)(`div`,{className:`min-h-0 w-full overflow-y-auto`,children:[(0,d.jsx)(Eo,{icon:t.icon,subject:t.subject,from:t.from,prefixTimestamp:t.prefixTimestamp,timestamp:t.timestamp,isPriority:t.isPriority,isOpen:!0,isFirstEvent:!0,isSingleEvent:!0,className:`top-0 sticky z-10 border-b border-neutral-400`,onFireClick:No(t)}),jo(t)]})}return(0,d.jsx)(Cr,{className:`w-full`,defaultValue:t===void 0?Mo(e[0],0):Mo(e[t],t),children:({openItems:t})=>(0,d.jsx)(d.Fragment,{children:e.map((n,r)=>{let i=Mo(n,r),a=t.has(i);return(0,d.jsxs)(wr,{value:i,children:[(0,d.jsx)(Tr,{value:i,className:`top-0 sticky z-10`,children:(0,d.jsx)(Eo,{icon:n.icon,subject:n.subject,from:n.from,prefixTimestamp:n.prefixTimestamp,timestamp:n.timestamp,isPriority:n.isPriority,isFirstEvent:r===0,isSingleEvent:!1,isOpen:a,className:`border-b border-neutral-400`,onFireClick:No(n)})}),(0,d.jsx)(Er,{value:i,className:T(r<e.length-1&&a&&`border-b border-neutral-400`),children:jo(n)})]},i)})})})}const Fo=({icon:e,title:t,description:n})=>(0,d.jsxs)(`div`,{className:`gap-3 p-4 flex w-full flex-1 flex-col items-center justify-center`,children:[(0,u.cloneElement)(e,{size:e.props.size??35,className:`text-neutral-500`}),(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col items-center justify-center`,children:[(0,d.jsx)(`h3`,{className:`text-base font-medium leading-[1.3] text-neutral-900`,children:t}),(0,d.jsx)(`p`,{className:`text-xs font-normal w-full text-center leading-[1.3] text-neutral-600`,children:n})]})]});function Io({className:e,style:t}){return(0,d.jsxs)(`div`,{className:T(`gap-1 rounded-lg p-4 flex w-full flex-col justify-between bg-white-variant-5`,Wa.style,e),style:t,children:[(0,d.jsxs)(`div`,{className:`gap-1.5 grid grid-cols-[auto_minmax(0,1fr)_auto_auto_auto_auto] items-center`,children:[(0,d.jsx)(Z,{className:`h-4 w-4`}),(0,d.jsx)(Z,{className:`h-4 max-w-40 w-full`}),(0,d.jsx)(Z,{className:`size-4 rounded-full`}),(0,d.jsx)(Z,{className:`h-3 w-12`}),(0,d.jsx)(Z,{className:`h-5 w-16 rounded-full`}),(0,d.jsx)(Z,{className:`size-5 rounded-full`})]}),(0,d.jsx)(Z,{className:`h-4 w-7/12`}),(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(Z,{className:`h-4 min-w-0 flex-1`}),(0,d.jsx)(Z,{className:`size-5 shrink-0`})]})]})}var Lo=(0,p.tv)({base:`rounded-full border px-1.5 py-px text-[9px] font-bold tracking-wide uppercase`,variants:{role:{client:`border-amber-200 bg-amber-50 text-amber-700`,team:`border-blue-200 bg-blue-50 text-blue-700`}}}),Ro={client:`Client`,team:`Your team`};function zo({role:e,className:t,...n}){return(0,d.jsx)(`span`,{className:T(Lo({role:e}),t),...n,children:Ro[e]})}function Bo({sourceType:e}){return e===`gmail`?(0,d.jsx)(Ar,{size:18}):e===`slack`?(0,d.jsx)(Ir,{size:18}):null}function Vo({children:e}){return(0,d.jsx)(`span`,{className:`min-w-0 shrink-0 truncate rounded-full border border-neutral-300 bg-neutral-100 px-2 py-px text-[10px] font-medium text-neutral-700-variant-1`,children:e})}function Ho(){return(0,d.jsxs)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,d.jsx)(`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}),(0,d.jsx)(`polyline`,{points:`15 3 21 3 21 9`}),(0,d.jsx)(`line`,{x1:`10`,y1:`14`,x2:`21`,y2:`3`})]})}var Uo={fire:{bg:`bg-red-50`,border:`border-red-200`,title:`text-red-700`},review:{bg:`bg-amber-50`,border:`border-amber-200`,title:`text-amber-700`},resolved:{bg:`bg-green-50`,border:`border-green-200`,title:`text-green-700`}};function Wo({isFirst:e,isLast:t,variant:n}){return(0,d.jsxs)(`div`,{className:`flex w-[7px] flex-col items-center`,children:[(0,d.jsx)(`div`,{className:T(n===`message`?`h-[17px]`:`h-3.5`,`w-px`,!e&&`bg-neutral-300`)}),(0,d.jsx)(`div`,{className:`relative z-10 h-[7px] w-[7px] shrink-0`,children:n===`absence`?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{className:`absolute inset-0 animate-ping rounded-full border border-red-500`}),(0,d.jsx)(`div`,{className:`h-[7px] w-[7px] rounded-full border-[1.5px] border-red-500 bg-white`})]}):(0,d.jsx)(`div`,{className:T(`h-[7px] w-[7px] rounded-full`,n===`message`?`bg-blue-500`:`bg-neutral-400`)})}),!t&&(0,d.jsx)(`div`,{className:`w-px flex-1 bg-neutral-300`})]})}function Go({item:e,isFirst:t,isLast:n,tone:r}){if(e.absence){let i=Uo[r];return(0,d.jsxs)(`div`,{className:`flex items-stretch gap-3`,children:[(0,d.jsx)(Wo,{isFirst:t,isLast:n,variant:`absence`}),(0,d.jsxs)(`div`,{className:T(`mb-2 min-w-0 flex-1 rounded-lg border px-3 py-2.5`,i.bg,i.border),children:[(0,d.jsxs)(`p`,{className:T(`text-[10px] font-bold uppercase`,i.title),children:[`QTalo · `,e.stageLabel]}),(0,d.jsx)(`p`,{className:`mt-1 text-[13px] break-words text-neutral-800`,children:e.summary})]})]})}if(e.type===`source_message`){let r=e.direction===`internal_outbound`?`team`:`client`;return(0,d.jsxs)(`div`,{className:`flex items-stretch gap-3`,children:[(0,d.jsx)(Wo,{isFirst:t,isLast:n,variant:`message`}),(0,d.jsxs)(`div`,{className:`mb-2 min-w-0 flex-1 rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3`,children:[(0,d.jsxs)(`div`,{className:`mb-1 flex flex-wrap items-center gap-1.5`,children:[(0,d.jsx)(`span`,{className:`text-[11px] font-semibold text-blue-700 uppercase tracking-wide`,children:e.stageLabel}),e.senderName&&(0,d.jsx)(`span`,{className:`text-[12px] font-semibold text-neutral-900`,children:e.senderName}),(0,d.jsx)(zo,{role:r}),(0,d.jsx)(`span`,{className:`text-[11px] text-neutral-700-variant-1`,children:e.timestampDisplay}),(0,d.jsx)(`span`,{className:`ml-auto`,children:(0,d.jsx)(Bo,{sourceType:e.sourceType})})]}),(0,d.jsx)(`p`,{className:`text-[13px] break-words text-neutral-800`,children:e.summary})]})]})}return(0,d.jsxs)(`div`,{className:`flex items-stretch gap-3`,children:[(0,d.jsx)(Wo,{isFirst:t,isLast:n,variant:`check`}),(0,d.jsxs)(`div`,{className:`mb-2 min-w-0 flex-1 rounded-lg border border-neutral-200-variant-1 bg-white-variant-8 px-3 py-2.5`,children:[(0,d.jsxs)(`p`,{className:`text-[10px] font-semibold text-neutral-800 uppercase`,children:[`QTalo · `,e.stageLabel]}),(0,d.jsx)(`p`,{className:`mt-1 text-[13px] break-words text-neutral-700-variant-1`,children:e.summary})]})]})}function Ko({items:e,canExpandThread:t=!1,tone:n=`fire`,threadTitle:r,clientCompany:i,contactName:a,teamCompanyName:o,recipientLabel:s,className:c,...l}){let[f,p]=(0,u.useState)(!1),m=e.filter(e=>e.type===`source_message`);return(0,d.jsxs)(`div`,{className:T(`flex flex-col`,c),...l,children:[e.map((t,r)=>(0,d.jsx)(Go,{item:t,isFirst:r===0,isLast:r===e.length-1,tone:n},t.id)),t&&m.length>0&&(0,d.jsxs)(`div`,{className:`mt-1 border-t border-neutral-200-variant-1 pt-2`,children:[(0,d.jsxs)(Y,{type:`button`,onClick:()=>p(e=>!e),className:`gap-1.5 text-xs font-medium text-neutral-700-variant-1 transition-colors hover:text-neutral-900`,children:[(0,d.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:f?(0,d.jsx)(`polyline`,{points:`18 15 12 9 6 15`}):(0,d.jsx)(`polyline`,{points:`6 9 12 15 18 9`})}),f?`Hide full thread`:`View full thread`]}),f&&(0,d.jsxs)(`div`,{className:`mt-2 overflow-hidden rounded-xl border border-neutral-200-variant-1`,children:[(0,d.jsxs)(`div`,{className:`flex items-center justify-between gap-2 border-b border-neutral-200-variant-1 bg-neutral-100 px-4 py-3`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,d.jsx)(Bo,{sourceType:m[0]?.sourceType}),(0,d.jsx)(`span`,{className:`truncate text-xs font-semibold text-neutral-800`,children:r})]}),(0,d.jsxs)(`span`,{className:`shrink-0 text-[11px] font-medium text-neutral-700-variant-1`,children:[m.length,` messages`]})]}),(0,d.jsx)(`div`,{className:`flex flex-col gap-3 bg-neutral-50 px-4 py-4`,children:m.map(e=>{let t=e.direction===`internal_outbound`,n=e.senderName??a??``,r=t?o:i,c=t?[a,i].filter(Boolean):[o,s].filter(Boolean),l=t?`team`:`client`,u=t?`client`:`team`;return(0,d.jsx)(`div`,{className:T(`rounded-xl border px-4 py-3`,t?`border-blue-200 bg-blue-50`:`border-neutral-200-variant-1 bg-white-variant-8`),children:(0,d.jsxs)(`div`,{className:`flex gap-3`,children:[(0,d.jsx)(`div`,{className:T(`flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-[13px] font-bold`,t?`bg-blue-200 text-blue-800`:`bg-neutral-200 text-neutral-700-variant-1`),children:n.charAt(0).toUpperCase()}),(0,d.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,d.jsxs)(`div`,{className:`flex items-start justify-between gap-2`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col gap-1`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1.5`,children:[(0,d.jsx)(`span`,{className:`w-9 shrink-0 text-[10px] font-bold tracking-wide text-neutral-700-variant-1 uppercase`,children:`From`}),(0,d.jsx)(`span`,{className:`truncate text-[13px] font-bold text-neutral-900`,children:n}),r&&(0,d.jsx)(Vo,{children:r}),(0,d.jsx)(zo,{role:l})]}),c.length>0&&(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-1.5`,children:[(0,d.jsx)(`span`,{className:`w-9 shrink-0 text-[10px] font-bold tracking-wide text-neutral-700-variant-1 uppercase`,children:`To`}),c.map(e=>(0,d.jsx)(Vo,{children:e},e)),(0,d.jsx)(zo,{role:u})]})]}),(0,d.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1.5`,children:[(0,d.jsx)(Bo,{sourceType:e.sourceType}),(0,d.jsx)(`span`,{className:`text-[11px] font-medium text-neutral-700-variant-1`,children:e.timestampDisplay})]})]}),(0,d.jsx)(`p`,{className:`mt-2 border-t border-neutral-200-variant-1 pt-2.5 text-sm break-words text-neutral-800`,children:e.summary}),e.link&&(0,d.jsx)(`div`,{className:`mt-2.5 border-t border-neutral-200-variant-1 pt-2`,children:(0,d.jsxs)(`a`,{href:e.link,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center gap-1 text-[11px] font-medium text-neutral-700-variant-1 transition-colors hover:text-neutral-900 hover:underline`,children:[e.sourceType===`gmail`?`Open in Gmail`:`Open in Slack`,(0,d.jsx)(Ho,{})]})})]})]})},e.id)})})]})]})]})}function qo({itemCount:e=3,className:t}){return(0,d.jsx)(`div`,{className:T(`gap-2 flex flex-wrap items-center`,t),children:Array.from({length:e}).map((e,t)=>(0,d.jsx)(Jo,{},t))})}function Jo(){return(0,d.jsxs)(`div`,{className:`gap-1 px-2 py-1 flex items-center rounded-full border border-neutral-300 bg-white`,children:[(0,d.jsx)(Z,{className:`m-0.5 size-4 rounded-full`}),(0,d.jsx)(Z,{className:`h-3 w-15`})]})}function Yo({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`gap-2 flex flex-wrap items-center`,t),children:e.map((e,t)=>(0,u.cloneElement)(e,{key:t}))})}function Xo({classNames:e,...t}){return(0,d.jsx)(Bi,{...t,classNames:{root:T(`right-3 rounded-2xl shadow-2xl top-[68px] z-99999 max-h-[calc(100vh-84px)] w-[300px] border border-neutral-200 bg-white`,e?.root),header:T(`p-4 bg-primary-500`,e?.header),title:T(`text-sm font-semibold text-white`,e?.title),closeButton:T(`text-white/70 hover:text-white`,e?.closeButton),body:e?.body,accordion:e?.accordion,item:e?.item,itemTrigger:T(`p-3 font-semibold hover:bg-neutral-100`,e?.itemTrigger),itemContent:T(`p-4`,e?.itemContent),footer:T(`px-4 py-3 border-t border-neutral-200`,e?.footer)}})}var Zo=(0,p.tv)({base:`bg-neutral-400-variant-4`,variants:{orientation:{horizontal:`h-px w-full`,vertical:`h-full w-px`},inset:{none:``,sm:``,md:``,lg:``}},compoundVariants:[{orientation:`horizontal`,inset:`sm`,class:`mx-2`},{orientation:`horizontal`,inset:`md`,class:`mx-4`},{orientation:`horizontal`,inset:`lg`,class:`mx-6`},{orientation:`vertical`,inset:`sm`,class:`my-2`},{orientation:`vertical`,inset:`md`,class:`my-4`},{orientation:`vertical`,inset:`lg`,class:`my-6`}],defaultVariants:{orientation:`horizontal`,inset:`none`}});function Qo({className:e,...t}){return(0,d.jsx)(`div`,{className:T(Zo(t),e)})}function $o({orientation:e=`vertical`,itemCount:t=3,className:n}){let r=e===`vertical`,i=T(`size-full`,r?`overflow-x-hidden`:`overflow-y-hidden`),a=T(`gap-4 grid h-full w-full place-items-center`,r?`grid-cols-1`:`auto-cols-max grid-flow-col`,n),o=T(`flex w-fit items-center`,r?`gap-1 flex-col`:`gap-2 flex-row`),s=T(`h-3`,r?`w-12 text-[9px]`:`w-16 text-xs`),c=T(`h-3`,r?`w-8 text-[9px]`:`w-10 text-xs`);return(0,d.jsx)(`div`,{className:i,children:(0,d.jsxs)(`div`,{className:a,children:[Array.from({length:t}).map((e,t)=>(0,d.jsxs)(`div`,{className:o,children:[(0,d.jsx)(Z,{className:`size-8 rounded-full`}),(0,d.jsx)(Z,{className:s})]},t)),(0,d.jsx)(Qo,{orientation:r?`horizontal`:`vertical`}),(0,d.jsxs)(`div`,{className:o,children:[(0,d.jsx)(Z,{className:`size-8 rounded-full`}),(0,d.jsx)(Z,{className:c})]})]})})}function es({orientation:e=`vertical`,children:t,onAddMore:n,className:r}){return(0,d.jsxs)(`div`,{className:T(`min-h-0 min-w-0 flex size-full`,e===`vertical`?`flex-col items-center`:`flex-row items-center`,r),children:[(0,d.jsx)(`div`,{className:T(`min-h-0 min-w-0 grid place-items-center`,e===`vertical`?`w-full flex-1 grid-cols-1 overflow-x-hidden overflow-y-auto`:`h-full flex-1 auto-cols-max grid-flow-col overflow-x-auto overflow-y-hidden`),children:t.map(t=>(0,u.cloneElement)(t,{classNames:{root:e===`vertical`?`py-2`:`px-2`}}))}),(0,d.jsx)(Qo,{orientation:e===`vertical`?`horizontal`:`vertical`}),(0,d.jsx)(La,{icon:(0,d.jsx)(ni,{size:24}),label:`Add`,onClick:n,variant:`minimal`,orientation:e,classNames:{root:e===`vertical`?`py-2`:`px-2`}})]})}function ts(){return(0,d.jsx)(`div`,{className:`flex w-full items-center justify-center`,children:(0,d.jsx)(`div`,{className:`gap-2 rounded-lg px-3 py-3 flex w-full flex-col bg-neutral-100-variant-3`,children:(0,d.jsxs)(`div`,{className:`gap-2 flex items-center justify-between`,children:[(0,d.jsx)(Z,{className:`h-4 w-1/3`}),(0,d.jsx)(Z,{className:`h-4 w-1/8`})]})})})}function ns({icon:e,name:t,maxConnectionsPerService:n,connectLabel:r,onConnect:i,isLoading:a,children:o}){let s=u.Children.toArray(o).length;return(0,d.jsxs)(`div`,{className:`gap-4 rounded-lg p-4 flex flex-col border border-neutral-400 bg-white`,children:[(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,d.jsxs)(`div`,{className:`min-w-0 gap-2 flex flex-1 items-center`,children:[(0,d.jsx)(`div`,{className:`h-11 w-11 flex shrink-0 items-center justify-center`,children:(0,d.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,u.cloneElement)(e,{size:36,className:T({grayscale:!s&&a})})})}),(0,d.jsxs)(`div`,{className:`min-w-0 flex flex-1 flex-col`,children:[(0,d.jsx)(`div`,{className:`text-xs font-bold truncate text-neutral-800`,children:t}),(0,d.jsx)(`div`,{className:`text-xs font-normal text-neutral-800`,children:`${s} of ${n} accounts`})]})]}),s<n&&!a&&(0,d.jsx)(Y,{className:`gap-1 rounded-lg px-2 py-1 text-xs font-bold flex shrink-0 items-center border border-brand-primary bg-white text-brand-primary transition-opacity hover:opacity-70`,onClick:i,children:r})]}),a&&(0,d.jsx)(ts,{}),s>0&&o&&(0,d.jsx)(`div`,{className:`gap-2 flex flex-col`,children:o})]})}function rs({account:e,valid:t,disconnectLabel:n,onDisconnect:r,invalidLabel:i,invalidDescription:a,subtitle:o}){return(0,d.jsxs)(`div`,{className:T(`gap-2 rounded-lg px-3 py-3 flex flex-col border`,t===!1?`border-error-base bg-error-base/5`:`border-brand-primary bg-neutral-100-variant-3`),children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center justify-between`,children:[(0,d.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,d.jsx)(`div`,{className:`text-xs font-bold truncate text-neutral-800`,children:e}),o&&(0,d.jsx)(`div`,{className:`text-[10px] font-medium text-neutral-500 mt-0.5`,children:o})]}),(0,d.jsx)(Y,{className:`text-xs font-medium shrink-0 text-error-base underline transition-opacity hover:opacity-70`,onClick:r,children:n})]}),t===!1&&(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(`div`,{className:`text-xs font-semibold text-error-base`,children:i}),(0,d.jsx)(`div`,{className:`text-xs text-neutral-500`,children:a})]})]})}function is(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-y-8 border-r-10 border-y-transparent border-r-primary-500`,"aria-hidden":!0})}function as(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-y-8 border-l-10 border-y-transparent border-l-primary-500`,"aria-hidden":!0})}function os(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-x-8 border-b-10 border-x-transparent border-b-primary-500`,"aria-hidden":!0})}function ss(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-x-8 border-t-10 border-x-transparent border-t-primary-500`,"aria-hidden":!0})}function cs({layout:e,placement:t}){return e===`horizontal`?t===`before`?(0,d.jsx)(is,{}):(0,d.jsx)(as,{}):t===`before`?(0,d.jsx)(os,{}):(0,d.jsx)(ss,{})}function ls(e,t,n){return t==null&&n==null?e:(0,d.jsx)(`div`,{className:t,style:n,"aria-hidden":!0,children:e})}function us({stepLabel:e,title:t,description:n,titleAccessory:r,primaryAction:i,secondaryAction:a,layout:o,arrowPlacement:s=`before`,arrowWrapperClassName:c,arrowWrapperStyle:l,className:u,cardClassName:f}){let p=i!=null||a!=null,m=(0,d.jsxs)(`div`,{className:T(`rounded-xl p-4 shadow-xl bg-primary-500 text-white`,f),children:[e!=null&&(0,d.jsx)(`p`,{className:`mb-1 font-semibold tracking-widest text-[10px] text-white uppercase opacity-70`,children:e}),r==null?(0,d.jsx)(`div`,{className:`mb-1 text-sm leading-snug font-semibold`,children:t}):(0,d.jsxs)(`div`,{className:`mb-1 gap-1.5 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm leading-snug font-semibold`,children:t}),r]}),(0,d.jsx)(`div`,{className:`mb-4 text-xs leading-relaxed font-normal opacity-90`,children:n}),p&&(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[i,a]})]}),h=ls((0,d.jsx)(cs,{layout:o,placement:s}),c,l),g=s===`before`?(0,d.jsxs)(d.Fragment,{children:[h,m]}):(0,d.jsxs)(d.Fragment,{children:[m,h]});return o===`horizontal`?(0,d.jsx)(`div`,{className:T(`flex items-center`,u),children:g}):(0,d.jsx)(`div`,{className:T(`flex flex-col items-center`,u),children:g})}var ds=()=>()=>{},fs=()=>!0,ps=()=>!1,ms=`rounded-lg bg-white px-4 py-1.5 text-xs font-semibold text-primary-500 transition-opacity hover:opacity-90`,hs=`text-xs font-semibold text-white/70 transition-colors hover:text-white`;function gs(e,t){let n=t.getBoundingClientRect();return e.layout===`horizontal`?{mode:`horizontal`,top:(e.horizontalAlign??`target-center`)===`viewport-center`?window.innerHeight/2:n.top+n.height/2,left:n.right+12}:{mode:`vertical`,top:n.bottom+10,left:n.left,arrowMarginLeft:n.width/2-8}}function _s(e){if(e==null)return null;let t=document.getElementById(e.targetId);return t?gs(e,t):null}function vs({currentStep:e,currentStepIndex:t,actions:n,steps:r,onFinish:i}){let a=(0,u.useSyncExternalStore)(ds,fs,ps),[o,s]=(0,u.useState)(null),c=(0,u.useRef)(!1),l=e!=null;if((0,u.useLayoutEffect)(()=>{if(!a||!l){let e=requestAnimationFrame(()=>s(null));return()=>cancelAnimationFrame(e)}let t=0,n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(()=>{s(_s(e))})};return n(),window.addEventListener(`scroll`,n,!0),window.addEventListener(`resize`,n),()=>{cancelAnimationFrame(t),window.removeEventListener(`scroll`,n,!0),window.removeEventListener(`resize`,n)}},[a,l,e,r]),(0,u.useEffect)(()=>{c.current&&!l&&i?.(),c.current=l},[l,i]),!a||typeof document>`u`||!l||o==null)return null;let p=e.layout===`vertical`&&o.mode===`vertical`?{marginLeft:o.arrowMarginLeft,...e.arrowWrapperStyle}:e.arrowWrapperStyle,m=(0,d.jsx)(us,{stepLabel:e.stepLabel??(t==null?void 0:`${t+1} / ${r.length}`),title:e.title,description:e.description,titleAccessory:e.titleAccessory,layout:e.layout,arrowPlacement:e.arrowPlacement??`before`,className:T(`tour-fade-in-up`,e.layout===`vertical`&&`items-start`,e.className),cardClassName:e.cardClassName,arrowWrapperClassName:e.arrowWrapperClassName,arrowWrapperStyle:p,primaryAction:(0,d.jsx)(Y,{type:`button`,className:ms,onClick:()=>n.dismissCurrentStep(),children:`Got it`}),secondaryAction:(0,d.jsx)(Y,{type:`button`,className:hs,onClick:()=>n.skipAll(),children:`Skip`})},e.id);return(0,f.createPortal)((0,d.jsx)(`div`,{...o.mode===`horizontal`?{className:`pointer-events-auto fixed z-[999999] flex items-center`,style:{top:o.top,left:o.left,transform:`translateY(-50%)`}}:{className:`pointer-events-auto fixed z-[999999] flex flex-col items-start`,style:{top:o.top,left:o.left}},children:m}),document.body)}function ys({steps:e,context:t,storageKey:n,onFinish:r,isEnabled:i=!0}){return(0,d.jsx)(Wi,{steps:e,context:t,storageKey:n,isEnabled:i,children:t=>(0,d.jsx)(vs,{...t,steps:e,onFinish:r})})}var bs=(0,p.tv)({slots:{root:`inline-flex shrink-0 items-center gap-1 rounded-full border bg-white px-2.5 py-1 text-[11px] transition-colors`,content:`inline-flex items-center`,dot:`h-1.5 w-1.5 shrink-0 rounded-full`,count:`inline-flex h-[14px] min-w-[14px] items-center justify-center rounded-full px-1 text-[9px] font-bold`},variants:{tone:{fire:{root:`font-medium`,content:`gap-1.5`,dot:`bg-red-500`},review:{root:`font-medium`,content:`gap-1.5`,dot:`bg-amber-400`},neutral:{root:`font-medium`,content:`gap-1.5`,dot:`bg-neutral-500`},brand:{root:`font-semibold`,content:`gap-1`,dot:`hidden`}},selected:{true:{count:`bg-white-variant-1/20 text-white-variant-1`},false:{count:`bg-neutral-100 text-neutral-700`}},disabled:{true:{root:`cursor-default border-neutral-200 bg-neutral-50 text-neutral-600 opacity-60`},false:{}}},compoundVariants:[{tone:`fire`,selected:!1,disabled:!1,class:{root:`border-red-200 text-red-700 hover:border-red-400`}},{tone:`fire`,selected:!0,disabled:!1,class:{root:`bg-red-600 border-red-600 text-white-variant-1`}},{tone:`review`,selected:!1,disabled:!1,class:{root:`border-amber-200 text-amber-700 hover:border-amber-400`}},{tone:`review`,selected:!0,disabled:!1,class:{root:`bg-amber-500 border-amber-500 text-white-variant-1`}},{tone:`neutral`,selected:!1,disabled:!1,class:{root:`border-neutral-300 text-neutral-700 hover:border-neutral-500`}},{tone:`neutral`,selected:!0,disabled:!1,class:{root:`bg-pulse-chip-neutral-active-bg border-pulse-chip-neutral-active-bg text-pulse-chip-neutral-active-text`}},{tone:`brand`,selected:!1,disabled:!1,class:{root:`border-neutral-300 text-neutral-900 hover:border-neutral-600`}},{tone:`brand`,selected:!0,disabled:!1,class:{root:`bg-primary-500 border-primary-500 text-white-variant-1`}}],defaultVariants:{tone:`neutral`,selected:!1,disabled:!1}});function xs({label:e,count:t,tone:n=`neutral`,icon:r,selected:i=!1,disabled:a=!1,onClick:o,onRemove:s,className:c}){let l=bs({tone:n,selected:i,disabled:a});return(0,d.jsxs)(`span`,{className:T(l.root(),c),children:[(0,d.jsxs)(gr,{as:`span`,onPress:a?void 0:o,disabled:a,className:l.content(),children:[r??(0,d.jsx)(`span`,{className:l.dot()}),(0,d.jsx)(`span`,{children:e}),typeof t==`number`&&(0,d.jsx)(`span`,{className:l.count(),children:t})]}),s&&(0,d.jsx)(gr,{as:`span`,onPress:s,"aria-label":`Clear ${e}`,className:`inline-flex shrink-0 items-center justify-center rounded-full opacity-80 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current`,children:(0,d.jsx)(ui,{size:12})})]})}function Ss({labelWidthClassName:e=`w-16`,className:t}){return(0,d.jsxs)(`span`,{className:T(`inline-flex shrink-0 items-center gap-1.5 rounded-full border border-neutral-300 bg-white px-2.5 py-1`,t),children:[(0,d.jsx)(`div`,{className:`size-3 shrink-0 rounded-full bg-neutral-300-variant-3`}),(0,d.jsx)(Z,{className:T(`h-3`,e)})]})}function Cs({value:e,defaultValue:t,placeholder:n=`Search...`,onChange:r,onKeyDown:i,onClear:a,disabled:o=!1,className:s}){let[c,l]=(0,u.useState)(t??``),f=typeof e==`string`,p=f?e:c,m=p.length>0;function h(e){f||l(e),r?.(e)}function g(){f||l(``),r?.(``),a?.()}return(0,d.jsxs)(`fieldset`,{role:`search`,className:T(`h-8 min-w-0 gap-1.5 px-2 py-1 flex items-center rounded-full border border-neutral-500-variant-3 bg-white`,o&&`pointer-events-none bg-neutral-200 opacity-70`,s),disabled:o,children:[(0,d.jsx)(Ti,{size:20,className:`text-neutral-700`}),(0,d.jsx)(hr,{type:`text`,value:p,placeholder:n,onChange:h,onKeyDown:i,className:T(`m-0 h-5 min-w-0 p-0 text-xs flex-1 border-0 text-neutral-800`,`bg-transparent outline-none`,`placeholder:text-neutral-700-alpha-60`,o&&`text-neutral-700-alpha-60`)}),m&&!o&&(0,d.jsx)($,{type:`button`,icon:(0,d.jsx)(ui,{size:16,className:`text-neutral-700`}),onClick:g,"aria-label":`Clear search`,className:`rounded p-0 transition-opacity hover:opacity-70`})]})}var ws=(0,p.tv)({slots:{root:`inline-flex h-5 min-w-0 items-center gap-1 rounded-full py-0.5 pr-1 pl-2 text-[11px] font-semibold`,close:`flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full opacity-80 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current`},variants:{type:{client:{root:`bg-search-suggestion-client-bg text-search-suggestion-client-text`},member:{root:`bg-search-suggestion-member-bg text-search-suggestion-member-text`}}}});function Ts({suggestion:e,onClear:t}){let n=ws({type:e.type});return(0,d.jsxs)(`span`,{className:n.root(),children:[(0,d.jsx)(`span`,{className:`truncate`,children:e.label}),(0,d.jsx)(_r,{children:(0,d.jsx)(gr,{as:`span`,onPress:t,"aria-label":`Clear ${e.label}`,className:n.close(),children:(0,d.jsx)(li,{size:10})})})]})}function Es({suggestion:e,onSelect:t}){return(0,d.jsxs)(Y,{type:`button`,onMouseDown:n=>{n.preventDefault(),t(e)},className:`hover:bg-neutral-50 w-full justify-start gap-2 px-3 py-2 text-left text-[12px] text-neutral-800`,children:[e.type===`client`?(0,d.jsx)(oi,{size:12,className:`text-neutral-600`}):(0,d.jsx)(ei,{size:12,className:`text-neutral-600`}),e.label]})}function Ds({value:e,onChange:t,suggestions:n,selected:r,onSelect:i,onClear:a,placeholder:o=`Search...`,className:s}){let[c,l]=(0,u.useState)(!1),f=n.filter(e=>e.type===`client`),p=n.filter(e=>e.type===`member`),m=c&&!e&&!r&&n.length>0;function h(e){e.key===`Escape`&&l(!1)}function g(){l(!1),a()}return(0,d.jsx)(mr,{open:m,onOpenChange:()=>{},openOnHover:!1,align:`start`,side:`bottom`,offsetY:4,trigger:(0,d.jsxs)(`div`,{onFocus:()=>l(!0),onBlur:()=>l(!1),className:T(`border-neutral-500-variant-3 focus-within:border-primary-500 flex h-8 min-w-0 items-center gap-1.5 rounded-full border bg-white px-2 py-1`,s),children:[(0,d.jsx)(Ti,{size:20,className:`text-neutral-700`}),r?(0,d.jsx)(Ts,{suggestion:r,onClear:g}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(hr,{type:`text`,value:e,placeholder:o,onChange:t,onKeyDown:h,className:`text-neutral-800 placeholder:text-neutral-700-alpha-60 m-0 h-5 min-w-0 flex-1 border-0 bg-transparent p-0 text-xs outline-none`}),e&&(0,d.jsx)(_r,{children:(0,d.jsx)(gr,{as:`span`,onPress:g,"aria-label":`Clear search`,className:`text-neutral-700 flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full opacity-80 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current`,children:(0,d.jsx)(li,{size:10})})})]})]}),children:(0,d.jsxs)(`div`,{className:`border-neutral-200 w-[260px] overflow-hidden rounded-xl border bg-white shadow-lg`,children:[f.length>0&&(0,d.jsxs)(`div`,{className:`pb-1`,children:[(0,d.jsx)(`p`,{className:`text-neutral-600 px-3 pt-2.5 pb-1 text-[10px] font-bold tracking-widest uppercase`,children:`Clients`}),f.map(e=>(0,d.jsx)(Es,{suggestion:e,onSelect:i},e.label))]}),f.length>0&&p.length>0&&(0,d.jsx)(`div`,{className:`border-neutral-200 mt-1 border-t-2`}),p.length>0&&(0,d.jsxs)(`div`,{className:`pb-1`,children:[(0,d.jsx)(`p`,{className:`text-neutral-600 px-3 pt-2.5 pb-1 text-[10px] font-bold tracking-widest uppercase`,children:`Members`}),p.map(e=>(0,d.jsx)(Es,{suggestion:e,onSelect:i},e.label))]}),(0,d.jsx)(`div`,{className:`border-neutral-200 mt-1 border-t-2 px-3 py-2`,children:(0,d.jsx)(`p`,{className:`text-neutral-600 text-[11px] font-medium`,children:`Type to search all signals`})})]})})}var Os={fire:{icon:Ur,text:`text-tertiary-500-variant-2`},spark:{icon:Kr,text:`text-primary-500`},watching:{icon:Hr,text:`text-neutral-700-variant-1`},healthy:{icon:Rr,text:`text-success-base`}},ks=(0,p.tv)({base:`relative h-full w-full text-left transition-colors focus:outline-none`,variants:{layout:{home:`min-h-[96px] rounded-lg border-[1.5px] p-4`,row:`border-b border-l-[3px] px-4 py-3.5`},status:{needs_response:``,needs_review:``,resolved:``},selected:{true:``,false:``}},compoundVariants:[{layout:`home`,status:`needs_response`,selected:!1,class:`border-tertiary-500-variant-3 bg-white-variant-8 hover:bg-tertiary-500-variant-4`},{layout:`home`,status:`needs_response`,selected:!0,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`},{layout:`home`,status:`needs_review`,selected:!1,class:`border-amber-200 bg-white-variant-8 hover:bg-amber-50`},{layout:`home`,status:`needs_review`,selected:!0,class:`border-amber-400 bg-amber-50`},{layout:`home`,status:`resolved`,selected:!1,class:`border-green-200 bg-white-variant-8 hover:bg-green-50`},{layout:`home`,status:`resolved`,selected:!0,class:`border-green-500 bg-green-50`},{layout:`row`,status:`needs_response`,selected:!1,class:`border-neutral-200 border-l-transparent bg-white-variant-8 hover:bg-neutral-50`},{layout:`row`,status:`needs_response`,selected:!0,class:`border-neutral-200 border-l-red-500 bg-neutral-50`},{layout:`row`,status:`needs_review`,selected:!1,class:`border-neutral-200 border-l-transparent bg-white-variant-8 hover:bg-neutral-50`},{layout:`row`,status:`needs_review`,selected:!0,class:`border-neutral-200 border-l-amber-400 bg-neutral-50`},{layout:`row`,status:`resolved`,selected:!1,class:`border-neutral-200 border-l-transparent bg-white-variant-8 hover:bg-neutral-50`},{layout:`row`,status:`resolved`,selected:!0,class:`border-neutral-200 border-l-green-500 bg-neutral-50`}]});function As(){return(0,d.jsxs)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,d.jsx)(`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}),(0,d.jsx)(`polyline`,{points:`15 3 21 3 21 9`}),(0,d.jsx)(`line`,{x1:`10`,y1:`14`,x2:`21`,y2:`3`})]})}function js({sourceTypes:e,sourceLink:t}){return(0,d.jsxs)(`span`,{className:`absolute top-[10px] right-3 flex items-center gap-1.5`,children:[(0,d.jsxs)(`span`,{className:`flex items-center gap-1`,children:[e.includes(`gmail`)&&(0,d.jsx)(Ar,{size:16}),e.includes(`slack`)&&(0,d.jsx)(Ir,{size:18})]}),t&&(0,d.jsx)(Ea,{content:`Open thread`,position:`top`,children:(0,d.jsx)(`a`,{href:t,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Open thread`,onClick:e=>e.stopPropagation(),className:`flex h-6 w-6 items-center justify-center rounded-md text-neutral-500 transition-colors hover:bg-neutral-200 hover:text-neutral-800`,children:(0,d.jsx)(As,{})})})]})}function Ms({title:e,clientName:t,requesterName:n,explanation:r,severity:i,status:a,slaLabel:o,slaStatusLabel:s,sourceTypes:c,sourceLink:l,patternContext:u,variant:f=`home`,selected:p=!1,onClick:m,className:h}){let g=Os[i];return(0,d.jsxs)(gr,{onPress:m,className:T(ks({layout:f,status:a,selected:p}),h),children:[(0,d.jsx)(js,{sourceTypes:c,sourceLink:l}),(0,d.jsxs)(`div`,{className:`mb-1 flex items-center gap-1.5 pr-10`,children:[(0,d.jsx)(`span`,{className:T(`text-[13px] font-bold`,g.text),children:o}),(0,d.jsxs)(`span`,{className:`inline-flex items-center gap-0.5 text-[10px] font-medium text-neutral-500`,children:[(0,d.jsx)(g.icon,{size:10,className:g.text}),s]})]}),(0,d.jsx)(`p`,{className:`mb-1 line-clamp-1 pr-10 text-[13px] leading-snug font-semibold text-neutral-900`,children:e||`Message needs review`}),r&&(0,d.jsx)(`p`,{className:`mb-1 line-clamp-1 pr-10 text-[11px] leading-snug text-neutral-700-variant-1`,children:r}),(0,d.jsx)(`p`,{className:`line-clamp-1 pr-10 text-[11px] font-medium text-neutral-700-variant-1`,children:[t,n].filter(Boolean).join(` · `)||`Client contact`}),u&&(0,d.jsx)(`p`,{className:`mt-1 pr-10 text-[10px] font-medium text-primary-500`,children:u})]})}function Ns({variant:e=`home`,className:t}){return(0,d.jsxs)(`div`,{className:T(`relative h-full w-full`,e===`home`?`rounded-lg border-[1.5px] border-neutral-200-variant-1 bg-white-variant-8 p-4`:`border-b border-neutral-200-variant-1 px-4 py-3.5`,t),children:[(0,d.jsx)(`div`,{className:`absolute top-3.5 right-3 size-4 rounded-md bg-neutral-300-variant-3`}),(0,d.jsxs)(`div`,{className:`mb-1 flex items-center gap-2 pr-10`,children:[(0,d.jsx)(`div`,{className:`size-4 shrink-0 rounded-md bg-neutral-300-variant-3`}),(0,d.jsx)(Z,{className:`h-3.5 w-28`})]}),(0,d.jsx)(Z,{className:`mb-1 h-4.5 w-8/12`}),(0,d.jsx)(Z,{className:`mb-1 h-4 w-10/12`}),(0,d.jsx)(Z,{className:`h-4 w-6/12`})]})}function Ps({title:e,body:t,ctaQuestion:n,destinationLabel:r,signalCount:i,onClick:a,className:o}){return(0,d.jsxs)(gr,{onPress:a,className:T(`h-full w-full rounded-lg border-[1.5px] border-neutral-400-variant-4 bg-white-variant-8 p-4 text-left transition-colors hover:border-neutral-500-variant-4 hover:bg-neutral-200-variant-1`,o),children:[(0,d.jsxs)(`div`,{className:`mb-1.5 flex items-start justify-between gap-2`,children:[(0,d.jsx)(`p`,{className:`text-[13px] leading-snug font-semibold text-neutral-800`,children:e}),(0,d.jsxs)(`span`,{className:`mt-0.5 shrink-0 text-[10px] font-medium text-neutral-600-variant-2`,children:[i,` signal`,i===1?``:`s`]})]}),(0,d.jsx)(`p`,{className:`mb-1.5 text-[11px] leading-snug text-neutral-700-variant-1`,children:t}),(0,d.jsx)(`p`,{className:`mb-3 text-[11px] leading-snug text-neutral-700-variant-1`,children:n}),(0,d.jsxs)(`div`,{className:`text-primary-500 flex items-center gap-1 text-[11px] font-medium`,children:[(0,d.jsx)(`span`,{children:r}),(0,d.jsx)(ii,{direction:`right`,size:10})]})]})}function Fs({className:e}){return(0,d.jsxs)(`div`,{className:T(`h-full w-full rounded-lg border-[1.5px] border-neutral-200-variant-1 bg-white-variant-8 p-4`,e),children:[(0,d.jsxs)(`div`,{className:`mb-1.5 flex items-start justify-between gap-2`,children:[(0,d.jsx)(Z,{className:`h-4 w-7/12`}),(0,d.jsx)(Z,{className:`mt-0.5 h-3 w-12 shrink-0`})]}),(0,d.jsx)(Z,{className:`mb-1.5 h-3 w-11/12`}),(0,d.jsx)(Z,{className:`mb-3 h-3 w-9/12`}),(0,d.jsx)(Z,{className:`h-3 w-5/12`})]})}var Is=(0,p.tv)({base:`h-full rounded-full`,variants:{status:{met:`bg-green-400`,on_track:`bg-green-400`,approaching:`bg-yellow-300`,overdue:`bg-amber-400`,way_overdue:`bg-red-500`}}}),Ls=(0,p.tv)({base:`rounded-full px-2 py-0.5 text-[10px] font-semibold`,variants:{status:{met:`bg-green-50 text-green-700`,on_track:`bg-green-50 text-green-700`,approaching:`bg-yellow-50 text-yellow-700`,overdue:`bg-amber-50 text-amber-700`,way_overdue:`bg-red-50 text-red-700`}}});function Rs({policyLabel:e,statusLabel:t,status:n,actualLabel:r,windowLabel:i,percentUsed:a,className:o,...s}){let c=Math.min(a,100);return(0,d.jsxs)(`div`,{className:T(`flex flex-col gap-2`,o),...s,children:[(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,d.jsx)(`p`,{className:`text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:e}),(0,d.jsx)(`span`,{className:Ls({status:n}),children:t})]}),(0,d.jsx)(`div`,{className:`h-1.5 overflow-hidden rounded-full bg-neutral-200`,children:(0,d.jsx)(`div`,{className:Is({status:n}),style:{width:`${c}%`}})}),(0,d.jsxs)(`div`,{className:`flex items-center justify-between text-[11px] text-neutral-700`,children:[(0,d.jsxs)(`span`,{children:[`Actual:`,` `,(0,d.jsx)(`span`,{className:`font-semibold text-neutral-800`,children:r})]}),(0,d.jsxs)(`span`,{children:[`Window:`,` `,(0,d.jsx)(`span`,{className:`font-semibold text-neutral-800`,children:i})]})]})]})}var zs={fire:{icon:Ur,text:`text-tertiary-500-variant-2`},spark:{icon:Kr,text:`text-primary-500`},watching:{icon:void 0,text:`text-neutral-700-variant-1`}},Bs={fire:{badge:`bg-red-50 text-red-700 border-red-200`,dot:`bg-red-500`,accentBar:`border-l-[3px] border-l-red-500`},review:{badge:`bg-amber-50 text-amber-700 border-amber-200`,dot:`bg-amber-400`,accentBar:`border-l-[3px] border-l-amber-400`},resolved:{badge:`bg-green-50 text-green-700 border-green-200`,dot:`bg-green-500`,accentBar:`border-l-[3px] border-l-green-500`}};function Vs({title:e,titleAdornment:t,children:n}){return(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsxs)(`div`,{className:`mb-2 flex items-center gap-1.5`,children:[(0,d.jsx)(`p`,{className:`text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:e}),t]}),n]})}function Hs(){return(0,d.jsxs)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,d.jsx)(`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}),(0,d.jsx)(`polyline`,{points:`15 3 21 3 21 9`}),(0,d.jsx)(`line`,{x1:`10`,y1:`14`,x2:`21`,y2:`3`})]})}function Us(){return(0,d.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,d.jsx)(`path`,{d:`M20 6 9 17l-5-5`})})}function Ws(){return(0,d.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,d.jsx)(`path`,{d:`M18 6 6 18M6 6l12 12`})})}function Gs(){return(0,d.jsxs)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,d.jsx)(`rect`,{x:`9`,y:`9`,width:`13`,height:`13`,rx:`2`,ry:`2`}),(0,d.jsx)(`path`,{d:`M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1`})]})}function Ks({expanded:e}){return(0,d.jsx)(`svg`,{width:`11`,height:`11`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:e?(0,d.jsx)(`polyline`,{points:`18 15 12 9 6 15`}):(0,d.jsx)(`polyline`,{points:`6 9 12 15 18 9`})})}function qs({text:e}){return(0,d.jsx)(Ea,{content:e,children:(0,d.jsx)(`span`,{className:`flex text-neutral-600 transition-colors hover:text-neutral-900`,children:(0,d.jsx)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,children:(0,d.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z`})})})})}function Js({title:e,severity:t,slaDurationLabel:n,slaStatusLabel:r,statusLabel:i,statusTone:a,sourceType:o,sourceLink:s,clientCompany:c,contactName:l,teamCompanyName:f,recipientLabel:p,sla:m,claim:h,sameThreadGuardrail:g,evidenceItems:_,nextStep:v,actionRationale:y,rankingRationale:b,attentionRationale:ee,dismissOptions:x,onClose:S,onResolve:C,onDismiss:te,className:ne,...re}){let w=zs[t],[ie,ae]=(0,u.useState)(!1),[oe,se]=(0,u.useState)(null),[ce,le]=(0,u.useState)(!1),[ue,E]=(0,u.useState)(!1),de=()=>{let t=[r,n].filter(Boolean).join(` · `),i=[e,``,h,``,g,...t?[``,t]:[]];navigator.clipboard.writeText(i.join(`
|
|
66
|
+
`)).catch(()=>{}),le(!0),setTimeout(()=>le(!1),2e3)},fe=()=>{te?.(oe??void 0),ae(!1),se(null)};return(0,d.jsxs)(`div`,{className:T(`flex h-full flex-col overflow-y-auto bg-white-variant-8`,Bs[a].accentBar,ne),...re,children:[(0,d.jsxs)(`div`,{className:`sticky top-0 z-20 shrink-0 border-b border-neutral-200-variant-1 bg-white-variant-8 px-4 pt-5 pb-4`,children:[(0,d.jsxs)(`div`,{className:`flex items-start justify-between gap-3`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-wrap items-center gap-2.5`,children:[(0,d.jsx)(`h2`,{className:`truncate text-[15px] leading-snug font-semibold text-neutral-900`,children:e}),n&&(0,d.jsx)(`span`,{className:T(`text-[13px] font-bold shrink-0`,w.text),children:n}),r&&(0,d.jsxs)(`span`,{className:`inline-flex shrink-0 items-center gap-1 text-[10px] font-medium text-neutral-500`,children:[w.icon&&(0,d.jsx)(w.icon,{size:11,className:`text-neutral-500`}),r]}),(0,d.jsxs)(`span`,{className:T(`inline-flex shrink-0 items-center gap-1.5 rounded-full border px-2 py-0.5 text-[11px] font-medium`,Bs[a].badge),children:[(0,d.jsx)(`span`,{className:T(`h-1.5 w-1.5 shrink-0 rounded-full`,Bs[a].dot)}),i]})]}),S&&(0,d.jsx)(Y,{type:`button`,onClick:S,"aria-label":`Close`,className:`h-7 w-7 shrink-0 rounded-lg hover:bg-neutral-100`,children:(0,d.jsx)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,children:(0,d.jsx)(`path`,{d:`M18 6 6 18M6 6l12 12`,strokeLinecap:`round`})})})]}),(0,d.jsxs)(`div`,{className:`mt-2 flex flex-col gap-1.5 rounded-lg border border-neutral-200-variant-1 bg-neutral-50 px-3 py-2.5`,children:[(0,d.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[(0,d.jsx)(`span`,{className:`w-9 shrink-0 text-[10px] font-semibold tracking-wide text-neutral-700-variant-1 uppercase`,children:`From`}),(0,d.jsx)(`span`,{className:`flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full bg-neutral-200 text-[9px] font-bold text-neutral-700-variant-1`,children:(l||`Client contact`).charAt(0).toUpperCase()}),(0,d.jsx)(`span`,{className:`truncate text-[12px] font-semibold text-neutral-900`,children:l||`Client contact`}),c&&(0,d.jsx)(`span`,{className:`shrink-0 truncate rounded-full border border-neutral-300 bg-white px-2 py-px text-[10px] font-medium text-neutral-700-variant-1`,children:c}),(0,d.jsx)(zo,{role:`client`})]}),(f||p)&&(0,d.jsxs)(`div`,{className:`flex items-center gap-2 min-w-0`,children:[(0,d.jsx)(`span`,{className:`w-9 shrink-0 text-[10px] font-semibold tracking-wide text-neutral-700-variant-1 uppercase`,children:`To`}),(0,d.jsx)(`span`,{className:`flex h-[18px] w-[18px] shrink-0 items-center justify-center`,children:o===`gmail`?(0,d.jsx)(Ar,{size:15}):(0,d.jsx)(Ir,{size:15})}),f&&(0,d.jsx)(`span`,{className:`truncate text-[12px] font-semibold text-neutral-900`,children:f}),p&&(0,d.jsx)(`span`,{className:`shrink-0 truncate rounded-full border border-neutral-300 bg-white px-2 py-px text-[10px] font-medium text-neutral-700-variant-1`,children:p}),(0,d.jsx)(zo,{role:`team`})]})]})]}),(0,d.jsxs)(`div`,{className:`flex flex-col gap-3 p-4`,children:[m?(0,d.jsxs)(`div`,{className:`grid grid-cols-1 items-stretch gap-3 xl:grid-cols-2`,children:[(0,d.jsx)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:(0,d.jsx)(Rs,{...m})}),(0,d.jsx)(Vs,{title:`What QTalo found`,titleAdornment:(0,d.jsx)(qs,{text:g}),children:(0,d.jsx)(`p`,{className:`text-sm leading-snug text-neutral-800`,children:h})})]}):(0,d.jsx)(Vs,{title:`What QTalo found`,titleAdornment:(0,d.jsx)(qs,{text:g}),children:(0,d.jsx)(`p`,{className:`text-sm leading-snug text-neutral-800`,children:h})}),v&&(0,d.jsxs)(Vs,{title:`Next step`,children:[(0,d.jsx)(`p`,{className:`text-sm font-semibold text-neutral-900`,children:v}),y&&(0,d.jsx)(`p`,{className:`mt-1 text-sm text-neutral-700`,children:y})]}),b?(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-neutral-50 px-4 py-3.5`,children:[(0,d.jsx)(`p`,{className:`mb-2 text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:`Why ranked first`}),(0,d.jsx)(`p`,{className:`text-sm text-neutral-800`,children:b})]}):ee?(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-neutral-50 px-4 py-3.5`,children:[(0,d.jsx)(`p`,{className:`mb-2 text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:`Why this needs attention`}),(0,d.jsx)(`p`,{className:`text-sm text-neutral-800`,children:ee})]}):null,(0,d.jsx)(Vs,{title:`What do you want to do?`,children:ie?(0,d.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,d.jsx)(`p`,{className:`text-[12px] text-neutral-700-variant-1`,children:`Why isn't this useful?`}),(0,d.jsx)(`div`,{className:`flex flex-wrap gap-1.5`,children:x.map(e=>(0,d.jsx)(Y,{type:`button`,onClick:()=>se(t=>t===e.id?null:e.id),className:oe===e.id?`rounded-full bg-neutral-800 px-2.5 py-1 text-[11px] font-medium text-white`:`rounded-full border border-neutral-300 bg-white px-2.5 py-1 text-[11px] font-medium text-neutral-700 hover:border-neutral-500`,children:e.label},e.id))}),(0,d.jsxs)(`div`,{className:`mt-1 flex items-center gap-3`,children:[(0,d.jsx)(Y,{type:`button`,onClick:fe,className:`rounded-lg bg-neutral-800 px-3 py-1.5 text-xs font-semibold text-white`,children:`Confirm`}),(0,d.jsx)(Y,{type:`button`,onClick:()=>{ae(!1),se(null)},className:`text-xs font-medium text-neutral-700-variant-1 hover:underline`,children:`Cancel`}),(0,d.jsx)(Y,{type:`button`,onClick:C,className:`ml-auto text-xs font-medium text-primary-500 hover:underline`,children:`Mark handled instead`})]})]}):(0,d.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[s&&(0,d.jsxs)(`a`,{href:s,target:`_blank`,rel:`noopener noreferrer`,className:`inline-flex items-center gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200`,children:[(0,d.jsx)(Hs,{}),`Open source`]}),(0,d.jsxs)(Y,{type:`button`,onClick:C,className:`gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors hover:bg-green-100`,children:[(0,d.jsx)(Us,{}),`Mark handled`]}),(0,d.jsxs)(Y,{type:`button`,onClick:()=>ae(!0),className:`gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200`,children:[(0,d.jsx)(Ws,{}),`Mark not useful`]}),(0,d.jsxs)(Y,{type:`button`,onClick:de,className:ce?`gap-1.5 rounded-lg border border-green-400 bg-green-50 px-3 py-1.5 text-xs font-semibold text-green-800 transition-colors`:`gap-1.5 rounded-lg border border-neutral-300 bg-neutral-100 px-3 py-1.5 text-xs font-semibold text-neutral-700 transition-colors hover:bg-neutral-200`,children:[ce?(0,d.jsx)(Us,{}):(0,d.jsx)(Gs,{}),ce?`Copied`:`Copy evidence`]})]})}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsxs)(Y,{type:`button`,onClick:()=>E(e=>!e),className:`w-full justify-between text-left`,"aria-expanded":ue,children:[(0,d.jsx)(`span`,{className:`text-[10px] font-bold tracking-widest text-neutral-900 uppercase`,children:`Evidence analysis`}),(0,d.jsxs)(`span`,{className:`inline-flex items-center gap-1 text-xs font-medium text-neutral-700-variant-1`,children:[ue?`Hide proof`:`Show proof`,(0,d.jsx)(Ks,{expanded:ue})]})]}),ue&&(0,d.jsx)(`div`,{className:`mt-3 border-t border-neutral-200-variant-1 pt-3`,children:(0,d.jsx)(Ko,{items:_,canExpandThread:!0,tone:a,threadTitle:e,clientCompany:c,contactName:l,teamCompanyName:f,recipientLabel:p})})]})]})]})}function Ys({className:e}){return(0,d.jsxs)(`div`,{className:T(`flex h-full flex-col overflow-y-auto bg-white-variant-8`,e),children:[(0,d.jsxs)(`div`,{className:`shrink-0 border-b border-neutral-200-variant-1 px-4 pt-5 pb-4`,children:[(0,d.jsxs)(`div`,{className:`flex items-start justify-between gap-3`,children:[(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center gap-2.5`,children:[(0,d.jsx)(Z,{className:`h-4 w-7/12`}),(0,d.jsx)(Z,{className:`h-3 w-24 shrink-0`}),(0,d.jsx)(Z,{className:`h-5 w-20 shrink-0 rounded-full`})]}),(0,d.jsx)(Z,{className:`size-7 shrink-0 rounded-lg`})]}),(0,d.jsxs)(`div`,{className:`mt-2 flex flex-col gap-1.5 rounded-lg border border-neutral-200-variant-1 bg-neutral-50 px-3 py-2.5`,children:[(0,d.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,d.jsx)(Z,{className:`h-3 w-9`}),(0,d.jsx)(Z,{className:`size-[18px] rounded-full`}),(0,d.jsx)(Z,{className:`h-3 w-24`})]}),(0,d.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,d.jsx)(Z,{className:`h-3 w-9`}),(0,d.jsx)(Z,{className:`size-[18px] rounded-full`}),(0,d.jsx)(Z,{className:`h-3 w-24`})]})]})]}),(0,d.jsxs)(`div`,{className:`flex flex-col gap-3 p-4`,children:[(0,d.jsxs)(`div`,{className:`grid grid-cols-1 gap-3 xl:grid-cols-2`,children:[(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-3 h-3 w-8/12`}),(0,d.jsx)(Z,{className:`mb-2.5 h-1.5 w-full rounded-full`}),(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,d.jsx)(Z,{className:`h-3 w-16`}),(0,d.jsx)(Z,{className:`h-3 w-16`})]})]}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-2 h-3 w-8/12`}),(0,d.jsx)(Z,{className:`h-3 w-full`})]})]}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-3 h-3 w-6/12`}),(0,d.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,d.jsx)(Z,{className:`h-14 w-full rounded-xl`}),(0,d.jsx)(Z,{className:`h-12 w-full rounded-lg`})]})]}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-2 h-3 w-4/12`}),(0,d.jsx)(Z,{className:`h-4 w-9/12`})]}),(0,d.jsxs)(`div`,{className:`rounded-xl border border-neutral-200-variant-1 bg-white-variant-8 px-4 py-3.5`,children:[(0,d.jsx)(Z,{className:`mb-3 h-3 w-8/12`}),(0,d.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,d.jsx)(Z,{className:`h-8 w-24 rounded-lg`}),(0,d.jsx)(Z,{className:`h-8 w-24 rounded-lg`}),(0,d.jsx)(Z,{className:`h-8 w-24 rounded-lg`})]})]})]})]})}var Xs=4e3,Zs=`bottom-right`;function Qs({onOpen:e,onClose:t,onAutoClose:n,onDismiss:r}){return e||t||n||r?{onOpen:e,onClose:t,onAutoClose:n,onDismiss:r}:void 0}function $s({content:e,duration:t=Xs,position:n=Zs,persistent:r,onOpen:i,onClose:a,onAutoClose:o,onDismiss:s,key:c,refresh:l=!1,dismissPrevious:u=!1}){if(c){let n=Q.getActiveToastIdByKey(c);if(n)return l&&Q.update(n,{content:e,duration:t}),{id:n,dismiss:()=>Q.remove(n),deduplicated:!0}}u&&Q.removeAllAtPosition(n);let d=crypto.randomUUID();return Q.add({id:d,content:e,duration:t,position:n,persistent:r,callbacks:Qs({onOpen:i,onClose:a,onAutoClose:o,onDismiss:s}),key:c,singleSlot:u}),{id:d,dismiss:()=>Q.remove(d),deduplicated:!1}}function ec(e){return typeof e==`object`&&!!e&&`content`in e}function tc(e,t){return ec(e)?$s(e):$s({content:e,...t})}function nc({title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:i,onAccept:a,options:o={}}){return tc(o=>(0,d.jsx)(rc,{title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:()=>i(o),onAccept:()=>a(o)}),{...o})}function rc({title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:i,onAccept:a}){return(0,d.jsxs)(`div`,{className:`max-w-md gap-6 rounded-lg p-6 shadow-xl flex w-full flex-col justify-center bg-white`,children:[(0,d.jsxs)(`div`,{className:`gap-3 flex flex-col justify-center`,children:[(0,d.jsx)(`h3`,{className:`text-base font-medium text-neutral-900`,children:e}),(0,d.jsx)(`p`,{className:`text-sm text-neutral-600`,children:t})]}),(0,d.jsxs)(`div`,{className:`gap-3 flex items-center justify-end`,children:[(0,d.jsx)(Y,{className:`rounded-lg px-4 py-2 text-sm font-medium border border-neutral-300 text-neutral-900 transition-opacity hover:opacity-70`,onClick:()=>i(close),children:n}),(0,d.jsx)(Y,{className:`rounded-lg px-4 py-2 text-sm font-medium bg-error-base text-white transition-opacity hover:opacity-90`,onClick:()=>a(close),children:r})]})]})}function ic({title:e,subtitle:t,description:n,onUndo:r,onClose:i,options:a={}}){return tc(a=>(0,d.jsx)(ac,{title:e,subtitle:t,description:n,onUndo:()=>r(a),onClose:()=>i(a)}),{...a})}function ac({title:e,subtitle:t,description:n,onUndo:r,onClose:i}){return(0,d.jsxs)(`div`,{className:`gap-3 rounded-lg p-4 grid max-w-[400px] min-w-[280px] grid-cols-[auto_1fr] bg-success-base`,children:[(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col justify-center`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`span`,{className:`text-xs font-medium text-white`,children:e}),(0,d.jsx)(Y,{className:`text-xs font-semibold text-white underline transition-colors hover:text-neutral-200`,onClick:()=>r(close),children:`Undo`})]}),t&&(0,d.jsx)(`div`,{className:`text-xs font-semibold line-clamp-2 text-white-alpha-90`,children:t}),n&&(0,d.jsx)(`div`,{className:`text-xs line-clamp-2 text-white-alpha-80`,children:n})]}),(0,d.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(ui,{size:20,className:`text-white`,onClick:()=>i(close)})})})]})}const oc=Object.assign(tc,{confirm:e=>nc(e),undo:e=>ic(e)});function sc({size:e=40,className:t,...n}){return(0,d.jsxs)(`svg`,{width:144/40*e,height:e,viewBox:`0 0 144 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:t,...n,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_4580)`,children:[(0,d.jsx)(`path`,{d:`M65.1904 0.776112C66.9609 0.776112 68.4651 2.20751 68.4651 4.08969C68.4651 5.97188 66.9749 7.34751 65.1904 7.34751H57.3189V35.8778C57.3189 38.0342 55.6045 39.7909 53.6098 39.7909C51.6151 39.7909 49.8305 38.0295 49.8305 35.8778V7.34751H42.0105C40.24 7.34751 38.6797 5.91611 38.6797 4.08969C38.6797 2.26327 40.24 0.776112 42.0105 0.776112H65.2091H65.1904ZM88.0387 10.5403C89.982 10.5403 91.7479 12.1947 91.7479 14.128V36.152C91.7479 38.1364 89.9774 39.7397 88.0387 39.7397C86.1 39.7397 84.3809 38.1364 84.3809 36.152V35.1017C83.9324 36.8072 80.9987 39.7909 76.1637 39.7909C70.0628 39.7909 62.7425 35.1017 62.7425 25.0633C62.7425 15.025 70.1282 10.3869 76.1637 10.3869C80.0971 10.3869 83.2738 12.4922 84.3809 15.0761V14.1466C84.3809 12.2133 86.044 10.5588 88.0387 10.5588V10.5403ZM77.4998 33.5494C80.6017 33.5494 84.7126 31.2908 84.7126 25.0447C84.7126 18.7987 80.6017 16.54 77.4998 16.54C73.842 16.54 70.0114 19.4028 70.0114 25.0447C70.0114 30.6866 73.842 33.5494 77.4998 33.5494ZM105.309 36.0823C105.309 38.0667 103.646 39.67 101.703 39.67C99.7595 39.67 98.045 38.0667 98.045 36.0823V3.58778C98.045 1.65447 99.7081 0 101.703 0C103.698 0 105.309 1.65447 105.309 3.58778V36.1008V36.0823Z`,fill:`white`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M125.262 10.0894C117.129 10.0894 110.523 16.6608 110.523 24.7518C110.523 32.8429 117.129 39.4143 125.262 39.4143C133.395 39.4143 140.001 32.8429 140.001 24.7518C140.001 16.6608 133.395 10.0894 125.262 10.0894ZM130.415 32.2341L130.405 32.2248C128.952 33.2194 127.168 33.8049 125.267 33.8049C120.24 33.8049 116.167 29.7524 116.167 24.7518C116.167 20.3368 119.339 16.6608 123.534 15.8707V24.0966C123.534 24.5288 123.688 24.9424 123.982 25.2677L130.405 32.2248C130.405 32.2248 130.415 32.2248 130.415 32.2202V32.2388V32.2341Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M33.3918 33.5632C36.6152 30.1473 38.6613 25.5092 38.6613 20.0904C38.6613 8.45336 29.0754 0.380859 19.312 0.380859C9.54853 0.380859 0 8.45336 0 20.095C0 31.7367 9.60459 39.7906 19.312 39.7906C22.5353 39.7906 25.6932 38.9123 28.5195 37.3601L30.2339 39.1214C30.7898 39.6745 31.57 39.9998 32.4015 39.9998C34.1159 39.9998 35.5034 38.6195 35.5034 36.9139C35.5034 36.1378 35.1717 35.4314 34.6718 34.8087L33.3872 33.5306V33.5632H33.3918ZM28.1738 28.3209L24.5674 24.6309C24.0629 24.0267 23.2313 23.7014 22.3998 23.7014C20.6854 23.7014 19.2979 25.1328 19.2979 26.7873C19.2979 27.6145 19.681 28.3395 20.2322 28.8925L23.2827 32.0295C21.9981 32.4757 20.6807 32.7545 19.2933 32.7545C13.1923 32.7545 7.81541 27.6842 7.81541 20.1136C7.81541 12.5431 13.1923 7.47276 19.2933 7.47276C25.3942 7.47276 30.8412 12.5431 30.8412 20.1136C30.8412 23.3714 29.8368 26.1831 28.1691 28.3395V28.3209H28.1738Z`,fill:`white`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M130.428 32.2433L130.418 32.234C128.966 33.2286 127.181 33.8141 125.28 33.8141C120.253 33.8141 116.18 29.7616 116.18 24.761C116.18 20.346 119.352 16.6699 123.547 15.8799V24.1057C123.547 24.538 123.701 24.9516 123.995 25.2769L130.418 32.234C130.418 32.234 130.428 32.234 130.428 32.2294V32.248V32.2433Z`,fill:`#6663FF`})]}),(0,d.jsx)(`defs`,{children:(0,d.jsx)(`clipPath`,{id:`clip0_5796_4580`,children:(0,d.jsx)(`rect`,{width:`140`,height:`40`,fill:`white`})})})]})}function cc({size:e=40,className:t,...n}){return(0,d.jsxs)(`svg`,{width:144/40*e,height:e,viewBox:`0 0 144 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:t,...n,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_4580)`,children:[(0,d.jsx)(`path`,{d:`M65.1904 0.776112C66.9609 0.776112 68.4651 2.20751 68.4651 4.08969C68.4651 5.97188 66.9749 7.34751 65.1904 7.34751H57.3189V35.8778C57.3189 38.0342 55.6045 39.7909 53.6098 39.7909C51.6151 39.7909 49.8305 38.0295 49.8305 35.8778V7.34751H42.0105C40.24 7.34751 38.6797 5.91611 38.6797 4.08969C38.6797 2.26327 40.24 0.776112 42.0105 0.776112H65.2091H65.1904ZM88.0387 10.5403C89.982 10.5403 91.7479 12.1947 91.7479 14.128V36.152C91.7479 38.1364 89.9774 39.7397 88.0387 39.7397C86.1 39.7397 84.3809 38.1364 84.3809 36.152V35.1017C83.9324 36.8072 80.9987 39.7909 76.1637 39.7909C70.0628 39.7909 62.7425 35.1017 62.7425 25.0633C62.7425 15.025 70.1282 10.3869 76.1637 10.3869C80.0971 10.3869 83.2738 12.4922 84.3809 15.0761V14.1466C84.3809 12.2133 86.044 10.5588 88.0387 10.5588V10.5403ZM77.4998 33.5494C80.6017 33.5494 84.7126 31.2908 84.7126 25.0447C84.7126 18.7987 80.6017 16.54 77.4998 16.54C73.842 16.54 70.0114 19.4028 70.0114 25.0447C70.0114 30.6866 73.842 33.5494 77.4998 33.5494ZM105.309 36.0823C105.309 38.0667 103.646 39.67 101.703 39.67C99.7595 39.67 98.045 38.0667 98.045 36.0823V3.58778C98.045 1.65447 99.7081 0 101.703 0C103.698 0 105.309 1.65447 105.309 3.58778V36.1008V36.0823Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M125.262 10.0894C117.129 10.0894 110.523 16.6608 110.523 24.7518C110.523 32.8429 117.129 39.4143 125.262 39.4143C133.395 39.4143 140.001 32.8429 140.001 24.7518C140.001 16.6608 133.395 10.0894 125.262 10.0894ZM130.415 32.2341L130.405 32.2248C128.952 33.2194 127.168 33.8049 125.267 33.8049C120.24 33.8049 116.167 29.7524 116.167 24.7518C116.167 20.3368 119.339 16.6608 123.534 15.8707V24.0966C123.534 24.5288 123.688 24.9424 123.982 25.2677L130.405 32.2248C130.405 32.2248 130.415 32.2248 130.415 32.2202V32.2388V32.2341Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{d:`M33.3918 33.5632C36.6152 30.1473 38.6613 25.5092 38.6613 20.0904C38.6613 8.45336 29.0754 0.380859 19.312 0.380859C9.54853 0.380859 0 8.45336 0 20.095C0 31.7367 9.60459 39.7906 19.312 39.7906C22.5353 39.7906 25.6932 38.9123 28.5195 37.3601L30.2339 39.1214C30.7898 39.6745 31.57 39.9998 32.4015 39.9998C34.1159 39.9998 35.5034 38.6195 35.5034 36.9139C35.5034 36.1378 35.1717 35.4314 34.6718 34.8087L33.3872 33.5306V33.5632H33.3918ZM28.1738 28.3209L24.5674 24.6309C24.0629 24.0267 23.2313 23.7014 22.3998 23.7014C20.6854 23.7014 19.2979 25.1328 19.2979 26.7873C19.2979 27.6145 19.681 28.3395 20.2322 28.8925L23.2827 32.0295C21.9981 32.4757 20.6807 32.7545 19.2933 32.7545C13.1923 32.7545 7.81541 27.6842 7.81541 20.1136C7.81541 12.5431 13.1923 7.47276 19.2933 7.47276C25.3942 7.47276 30.8412 12.5431 30.8412 20.1136C30.8412 23.3714 29.8368 26.1831 28.1691 28.3395V28.3209H28.1738Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M130.428 32.2433L130.418 32.234C128.966 33.2286 127.181 33.8141 125.28 33.8141C120.253 33.8141 116.18 29.7616 116.18 24.761C116.18 20.346 119.352 16.6699 123.547 15.8799V24.1057C123.547 24.538 123.701 24.9516 123.995 25.2769L130.418 32.234C130.418 32.234 130.428 32.234 130.428 32.2294V32.248V32.2433Z`,fill:`#CEFF1A`})]}),(0,d.jsx)(`defs`,{children:(0,d.jsx)(`clipPath`,{id:`clip0_5796_4580`,children:(0,d.jsx)(`rect`,{width:`140`,height:`40`,fill:`white`})})})]})}exports.AVATAR_COLOR=ga,exports.AVATAR_COLOR_KEYS=_a,exports.Accordion=Cr,exports.AccordionContent=Er,exports.AccordionItem=wr,exports.AccordionTrigger=Tr,exports.AccountIcon=$r,exports.AccountInfo=ha,exports.AccountOutlineIcon=ei,exports.ActionMenu=za,exports.ActionMenuItem=Ra,exports.AddCircleIcon=ti,exports.AddIcon=ni,exports.ArrowIcon=ii,exports.AsanaIcon=Or,exports.Avatar=ba,exports.Badge=ki,exports.BetaResizeHandle=wa,exports.BuildingIcon=ai,exports.BuildingOutlineIcon=oi,exports.BulkActions=Da,exports.BulkActionsSkeleton=Ta,exports.Button=Y,exports.CalendarIcon=si,exports.Card=Ai,exports.CardContent=Fi,exports.CardFooter=Ii,exports.CardHeader=Ni,exports.CardLayout=ji,exports.CardSidebar=Mi,exports.CardTitle=Pi,exports.CheckCircleEmptyIcon=Br,exports.CheckCircleIcon=Vr,exports.CheckIcon=Rr,exports.CheckSquareIcon=ci,exports.Checkbox=dr,exports.CheckboxIcon=zr,exports.ClickUpIcon=kr,exports.CloseBoldIcon=li,exports.CloseIcon=ui,exports.CompactDensityIcon=di,exports.CopyIcon=fi,exports.DarkIcon=pi,exports.DatePicker=Ha,exports.Divider=Qo,exports.Dropdown=mr,exports.DropdownContext=fr,exports.DropdownMenu=zi,exports.DropdownMenuItem=Ri,exports.EVENT_CARD_HEIGHT_SIZE=Ua,exports.EVENT_SUMMARY_CARD_HEIGHT_SIZE=Wa,exports.EmptyBoxIcon=mi,exports.EventCard=Za,exports.EventCardSkeleton=Ga,exports.EventDetail=Po,exports.EventDetailContentCalendar=io,exports.EventDetailContentEmail=oo,exports.EventDetailContentHeader=ro,exports.EventDetailContentMessage=Co,exports.EventDetailContentTicket=To,exports.EventDetailFollowUp=eo,exports.EventDetailHeader=Eo,exports.EventDetailPriority=to,exports.EventDetailSkeleton=Do,exports.EventDetailSummary=no,exports.EventEmptyState=Fo,exports.EventSummaryCard=fo,exports.EventSummaryCardSkeleton=Io,exports.EventSummaryFireButton=uo,exports.EvidenceTimeline=Ko,exports.ExternalLinkIcon=hi,exports.EyeFillIcon=Hr,exports.EyeIcon=gi,exports.FilterBar=Yo,exports.FilterBarSkeleton=qo,exports.FilterButton=ja,exports.FireFillIcon=Ur,exports.FireIcon=Wr,exports.GmailIcon=Ar,exports.GoogleCalendarIcon=jr,exports.HelpPanel=Xo,exports.HelpPanelEngine=Bi,exports.HomeFillIcon=Gr,exports.HomeIcon=_i,exports.Icon=X,exports.IconButton=$,exports.IconCountButton=La,exports.IconCountButtonSkeleton=Ma,exports.InboxIcon=vi,exports.InfoTooltip=Ea,exports.Input=hr,exports.InsightFillIcon=Kr,exports.InsightIcon=qr,exports.IntegrationBar=es,exports.IntegrationBarSkeleton=$o,exports.IntegrationItem=rs,exports.IntegrationItemSkeleton=ts,exports.IntegrationsCard=ns,exports.JiraIcon=Mr,exports.LightIcon=yi,exports.LogoIcon=Dr,exports.MailIcon=bi,exports.MinusIcon=xi,exports.MoreIcon=Si,exports.NoEyeIcon=Ci,exports.NormalDensityIcon=wi,exports.NotFireIcon=Jr,exports.ONBOARDING_DISMISSED_STORAGE_KEY=`onboarding_dismissed`,exports.Onboarding=ys,exports.OnboardingCard=us,exports.OnboardingEngine=Wi,exports.OutlookCalendarIcon=Nr,exports.OutlookIcon=Pr,exports.PatternIcon=Yr,exports.Pressable=gr,exports.PulseFilterChip=xs,exports.PulseFilterChipSkeleton=Ss,exports.QtaloBlueImage=cc,exports.QtaloImage=sc,exports.ReadIcon=Xr,exports.ReplyIoIcon=Fr,exports.RichContent=Gi,exports.RoleBadge=zo,exports.SearchIcon=Ti,exports.SearchInput=Cs,exports.SearchWithSuggestions=Ds,exports.SignOutIcon=Ei,exports.SignalCard=Ms,exports.SignalCardSkeleton=Ns,exports.SignalClusterCard=Ps,exports.SignalClusterCardSkeleton=Fs,exports.SignalDetailPanel=Js,exports.SignalDetailPanelSkeleton=Ys,exports.Skeleton=Z,exports.SlaProgressBar=Rs,exports.SlackIcon=Ir,exports.StatusBadge=Ca,exports.StopPropagation=_r,exports.SummaryIcon=Di,exports.SystemIcon=Oi,exports.TeamsIcon=Lr,exports.Toaster=ma,exports.Tooltip=br,exports.UnreadIcon=Zr,exports.WarningIcon=Qr,exports.capitalize=oe,exports.cn=T,exports.colors=m,exports.formatDate=b,exports.formatDateRange=ne,exports.formatTimestamp=lr,exports.generateCalendarDays=ae,exports.getDaysInMonth=_,exports.getFirstDayOfMonth=v,exports.getInitials=ce,exports.getMonthName=w,exports.getWeekdays=ie,exports.isDateBefore=C,exports.isDateInRange=te,exports.isSameDay=x,exports.isToday=S,exports.normalizeContent=tr,exports.parseDate=ee,exports.pickColorFromPalette=le,exports.stringHash=se,exports.toMondayBased=y,exports.toast=oc,exports.toastStore=Q,exports.useAccordion=Sr,exports.useDropdown=pr,exports.useLongPress=ue;
|
|
67
67
|
//# sourceMappingURL=index.cjs.map
|