@sakaniui/react 0.3.8 → 0.3.9

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/blocks.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, B as t, C as n, D as r, E as i, F as a, H as o, I as s, J as c, K as l, L as u, M as d, N as f, O as p, P as m, Q as h, R as g, S as _, T as v, V as y, W as b, X as x, Y as S, Z as ee, _ as C, a as te, at as w, b as ne, c as re, ct as ie, d as ae, dt as T, et as oe, f as se, g as ce, h as le, i as ue, it as de, j as fe, k as pe, l as me, lt as he, m as ge, n as _e, nt as ve, o as E, ot as ye, p as be, q as xe, r as Se, rt as D, s as Ce, st as we, t as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as Ne } from "./TopBar-CGnnA39K.js";
1
+ import { $ as e, B as t, C as n, D as r, E as i, F as a, H as o, I as s, J as c, K as l, L as u, M as d, N as f, O as p, P as m, Q as h, R as g, S as _, T as v, V as y, W as b, X as x, Y as S, Z as ee, _ as C, a as te, at as w, b as ne, c as re, ct as ie, d as ae, dt as T, et as oe, f as se, g as ce, h as le, i as ue, it as de, j as fe, k as pe, l as me, lt as he, m as ge, n as _e, nt as ve, o as E, ot as ye, p as be, q as xe, r as Se, rt as D, s as Ce, st as we, t as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as Ne } from "./TopBar-MpwJMUdr.js";
2
2
  import O from "react";
3
3
  import { Fragment as k, jsx as A, jsxs as j } from "react/jsx-runtime";
4
4
  import { Bell as Pe, Boxes as Fe, Building2 as Ie, Calendar as Le, CalendarDays as Re, ChartPie as ze, Check as Be, ChevronDown as Ve, ChevronUp as He, ChevronsUpDown as Ue, Circle as We, CircleCheck as Ge, Coins as Ke, Columns3 as qe, CreditCard as Je, Database as Ye, Download as Xe, Eye as Ze, EyeOff as Qe, File as $e, FileText as et, Filter as tt, Flag as nt, Group as rt, House as it, LayoutGrid as at, Lock as ot, Mail as st, MailCheck as ct, Merge as lt, MessageCircle as ut, MessageCircleMore as dt, MessageSquare as ft, MoreHorizontal as pt, PanelLeftClose as mt, PanelRight as ht, Pencil as gt, Phone as _t, Plug as vt, Plus as yt, Quote as bt, Search as xt, Settings as St, ShieldCheck as Ct, ShoppingBag as wt, Sparkles as Tt, Target as Et, Trash as Dt, Truck as Ot, Upload as kt, UploadCloud as At, User as jt, UserPlus as Mt, Users as Nt, Video as Pt, Workflow as Ft, X as It, Zap as Lt } from "lucide-react";
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./TopBar-BYeEhIpa.cjs");let t=require("react");t=e.ft(t,1);let n=require("react/jsx-runtime"),r=require("lucide-react"),i=require("recharts");var a={announcement:`_announcement_1ba3c_1`,"announcement--neutral":`_announcement--neutral_1ba3c_13`,"announcement--urgent":`_announcement--urgent_1ba3c_16`,content:`_content_1ba3c_20`,icon:`_icon_1ba3c_28`,icon__neutral:`_icon__neutral_1ba3c_32`,message:`_message_1ba3c_36`,link:`_link_1ba3c_52`},o=({message:t,linkLabel:i,linkHref:o,onLinkClick:s,onDismiss:c,variant:l=`neutral`,className:u})=>{let d=l===`urgent`;return(0,n.jsxs)(`div`,{className:[a.announcement,a[`announcement--${l}`],u??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:a.content,children:[(0,n.jsx)(`span`,{className:a.icon,"aria-hidden":`true`,children:d?(0,n.jsx)(r.TriangleAlert,{size:24,strokeWidth:1.5,style:{fill:`var(--color-info-solid)`,stroke:`var(--color-info-bg)`}}):(0,n.jsx)(r.Sparkles,{size:24,strokeWidth:1.5,fill:`currentColor`,stroke:`currentColor`,className:a.icon__neutral})}),(0,n.jsx)(`p`,{className:a.message,children:t}),!d&&i&&(0,n.jsx)(e.at,{href:o,onClick:s,className:a.link,style:{color:`var(--color-brand-fg)`,fontSize:16,lineHeight:`24px`},children:i})]}),c&&(0,n.jsx)(e.it,{icon:r.X,size:`sm`,variant:`ghost`,"aria-label":`Dismiss`,onClick:c})]})},s={snippet:`_snippet_1ao90_1`,header:`_header_1ao90_12`,filename:`_filename_1ao90_19`,body:`_body_1ao90_31`,tokenKeyword:`_tokenKeyword_1ao90_42`,tokenString:`_tokenString_1ao90_43`,editableBody:`_editableBody_1ao90_50`,textarea:`_textarea_1ao90_55`},c=[`import`,`export`,`from`,`default`,`function`,`return`,`const`,`let`,`var`,`if`,`else`,`for`,`while`,`class`,`extends`,`new`,`async`,`await`,`as`,`of`,`in`],l=RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${c.join(`|`)})\\b)`,`g`),u=e=>e.split(l).map((e,r)=>{if(!e)return null;let i=/^['"`]/.test(e),a=!i&&c.includes(e);return i?(0,n.jsx)(`span`,{className:s.tokenString,children:e},r):a?(0,n.jsx)(`span`,{className:s.tokenKeyword,children:e},r):(0,n.jsx)(t.default.Fragment,{children:e},r)}),d=({code:i,filename:a,onCopy:o,editable:c=!1,onChange:l,placeholder:d,className:f})=>{let[p,m]=t.default.useState(!1),[h,g]=t.default.useState(i);t.default.useEffect(()=>g(i),[i]);let _=()=>{navigator.clipboard?.writeText(h),o?.(h),m(!0),window.setTimeout(()=>m(!1),1500)},v=e=>{g(e),l?.(e)},y=c?(0,n.jsxs)(`div`,{className:s.editableBody,children:[(0,n.jsx)(`pre`,{className:s.body,"aria-hidden":`true`,children:u(h)}),(0,n.jsx)(`textarea`,{className:s.textarea,value:h,placeholder:d,spellCheck:!1,onChange:e=>v(e.target.value),onKeyDown:e=>{if(e.key!==`Tab`)return;e.preventDefault();let t=e.currentTarget,{selectionStart:n,selectionEnd:r}=t,i=`${h.slice(0,n)} ${h.slice(r)}`;v(i),requestAnimationFrame(()=>{t.selectionStart=t.selectionEnd=n+2})}})]}):(0,n.jsx)(`pre`,{className:s.body,children:u(h)});return a?(0,n.jsxs)(`div`,{className:[s.snippet,f??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:s.header,children:[(0,n.jsx)(`p`,{className:s.filename,children:a}),(0,n.jsx)(e.it,{icon:p?r.Check:r.Copy,variant:`ghost`,size:`sm`,"aria-label":p?`Copied`:`Copy code`,onClick:_})]}),y]}):(0,n.jsx)(`div`,{className:[s.snippet,f??``].filter(Boolean).join(` `),children:y})},f={expenses:`_expenses_1imiq_1`,row:`_row_1imiq_10`,top:`_top_1imiq_18`,left:`_left_1imiq_26`,icon:`_icon_1imiq_32`,label:`_label_1imiq_44`,amount:`_amount_1imiq_55`},p=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),m=({categories:t,variant:r=`default`,formatAmount:i=p,className:a})=>{let o=r===`compact`,s=Math.max(1,...t.map(e=>e.amount));return(0,n.jsx)(`div`,{className:[f.expenses,a??``].filter(Boolean).join(` `),children:t.map((t,r)=>(0,n.jsxs)(`div`,{className:f.row,children:[(0,n.jsxs)(`div`,{className:f.top,children:[(0,n.jsxs)(`div`,{className:f.left,children:[(0,n.jsx)(`span`,{className:f.icon,"aria-hidden":`true`,children:t.icon}),(0,n.jsx)(`p`,{className:f.label,children:t.label})]}),(0,n.jsx)(`p`,{className:f.amount,children:i(t.amount)})]}),!o&&(0,n.jsx)(e.et,{value:t.amount/s*100,size:`lg`,label:`${t.label} spending`})]},t.id??r))})},h={hint:`_hint_49nyi_1`,bar:`_bar_49nyi_9`,"hint--neutral":`_hint--neutral_49nyi_15`,"hint--warning":`_hint--warning_49nyi_16`,icon:`_icon_49nyi_18`,message:`_message_49nyi_24`},g=14,_=({message:t,variant:i=`neutral`,className:a})=>{let o=i===`warning`?r.TriangleAlert:r.Info;return(0,n.jsxs)(`div`,{className:[h.hint,h[`hint--${i}`],a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:h.bar,"aria-hidden":`true`}),(0,n.jsx)(o,{size:g,strokeWidth:e.dt(g),className:h.icon}),(0,n.jsx)(`p`,{className:h.message,children:t})]})},v={item:`_item_mg6gs_1`,"item--horizontal":`_item--horizontal_mg6gs_6`,"item--vertical":`_item--vertical_mg6gs_11`,value:`_value_mg6gs_16`,topRow:`_topRow_mg6gs_31`,connectorHorizontal:`_connectorHorizontal_mg6gs_36`,rail:`_rail_mg6gs_44`,connectorVertical:`_connectorVertical_mg6gs_51`,text:`_text_mg6gs_59`,title:`_title_mg6gs_65`,description:`_description_mg6gs_73`},y=({step:t,title:i,description:a,completed:o=!1,orientation:s=`horizontal`,isLast:c=!1,className:l})=>{let u=s===`vertical`,d=(0,n.jsx)(`span`,{className:v.value,"aria-hidden":`true`,children:o?(0,n.jsx)(r.Check,{size:14,strokeWidth:e.dt(14)}):t}),f=(0,n.jsxs)(`div`,{className:v.text,children:[(0,n.jsx)(`p`,{className:v.title,children:i}),a&&(0,n.jsx)(`p`,{className:v.description,children:a})]});return u?(0,n.jsxs)(`div`,{className:[v.item,v[`item--vertical`],l??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:v.rail,children:[d,!c&&(0,n.jsx)(`div`,{className:v.connectorVertical})]}),f]}):(0,n.jsxs)(`div`,{className:[v.item,v[`item--horizontal`],l??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:v.topRow,children:[d,!c&&(0,n.jsx)(`div`,{className:v.connectorHorizontal})]}),f]})},b={separator:`_separator_pcfo8_1`,line:`_line_pcfo8_9`,overline:`_overline_pcfo8_19`,badge:`_badge_pcfo8_31`,iconWrap:`_iconWrap_pcfo8_37`},x=({children:t,label:r,className:i})=>(0,n.jsxs)(`div`,{className:[b.separator,i??``].filter(Boolean).join(` `),role:`separator`,children:[(0,n.jsx)(e.$,{className:b.line}),t??(r&&(0,n.jsx)(`span`,{className:b.overline,children:r})),(0,n.jsx)(e.$,{className:b.line})]});function S(e){let[,n]=(0,t.useState)(0);return(0,t.useEffect)(()=>{if(typeof document>`u`)return;n(e=>e+1);let t=new MutationObserver(()=>n(e=>e+1)),r=new Set([document.documentElement]);for(let t=e.current;t;t=t.parentElement)r.add(t);return r.forEach(e=>t.observe(e,{attributes:!0,attributeFilter:[`class`]})),()=>t.disconnect()},[e]),t=>{if(typeof window>`u`)return;let n=e.current??document.documentElement;return getComputedStyle(n).getPropertyValue(t).trim()||void 0}}var C=[`#ff4700`,`#5b92dd`,`#47a8a2`,`#9179d6`,`#dca84f`,`#12b76a`],w={tooltip:`_tooltip_ic16u_3`,title:`_title_ic16u_23`,row:`_row_ic16u_27`,dot:`_dot_ic16u_34`,label:`_label_ic16u_41`,value:`_value_ic16u_42`},T=({active:e,payload:t,label:r,formatter:i})=>!e||!t||t.length===0?null:(0,n.jsxs)(`div`,{className:w.tooltip,children:[r!==void 0&&r!==``&&(0,n.jsx)(`span`,{className:w.title,children:r}),t.map((e,t)=>(0,n.jsxs)(`div`,{className:w.row,children:[(0,n.jsx)(`span`,{className:w.dot,style:{background:e.color??e.payload?.fill??e.fill}}),(0,n.jsx)(`span`,{className:w.label,children:e.name}),(0,n.jsx)(`span`,{className:w.value,children:i?i(e.value,e.name):e.value})]},t))]}),E={chart:`_chart_1s6lv_2`,legend:`_legend_1s6lv_31`,legendItem:`_legendItem_1s6lv_41`,legendSwatch:`_legendSwatch_1s6lv_46`},D={sm:180,md:240,lg:320,xl:420},O=6,k=e=>{if(e<=0)return 1;let t=10**Math.floor(Math.log10(e)),n=e/t;return(n<=1?1:n<=2?2:n<=5?5:10)*t},A=({data:e,variant:r=`default`,size:a=`md`,seriesLabels:o=[`Value`,`Value 2`],className:s})=>{let[c,l]=t.default.useState(null),[u,d]=t.default.useState(null),f=t.default.useRef(null),p=S(f),m=p(`--color-chart-2`)??`#5b92dd`,h=p(`--color-chart-5`)??`#dca84f`,g=p(`--color-chart-1`)??`#ff4700`,_=[1,2,3,4,5,6].map(e=>p(`--color-chart-${e}`)??C[e-1]),v=p(`--color-border-subtle`)??`#e7e5e1`,y=p(`--color-fg-muted`)??`#78716a`,b=r===`multiple`||r===`stacked`,x=b&&e.some(e=>e.value2!==void 0),w=p(`--color-bg-canvas`)??`#fafaf9`,A=k(Math.max(1,...e.map(e=>Math.abs(e.value)))),j=[-A,-A/2,0,A/2,A],ee=(0,n.jsx)(i.Tooltip,{cursor:!1,content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50},position:u?{y:u.y}:void 0}),te=t=>r===`active`?_[t%_.length]:r===`negative`&&e[t].value<0?g:m,ne=e=>c!==null&&e!==c?.45:1,re=(e,t,n,r,i,a)=>({x:e?t+r:t+r/2,y:e?n+i/2:a<0?n+i:n}),M=t=>a=>{let{x:o,y:s,width:c,height:l,fill:u,radius:d}=a,f=Number(e[a.index]?.[t]??0),{x:p,y:h}=re(r===`horizontal`,o,s,c,l,f);return r===`stacked`&&t===`value`?(0,n.jsx)(i.Rectangle,{x:o,y:s,width:c,height:l,fill:u,radius:d}):(0,n.jsxs)(`g`,{children:[(0,n.jsx)(i.Rectangle,{x:o,y:s,width:c,height:l,fill:u,radius:d}),(0,n.jsx)(`circle`,{cx:p,cy:h,r:4,fill:u,stroke:w,strokeWidth:1.5}),r===`stacked`&&t===`value2`&&(0,n.jsx)(`circle`,{cx:o+c/2,cy:s+l,r:4,fill:m,stroke:w,strokeWidth:1.5})]})},ie=t=>(n,i)=>{l(i);let a=Number(e[i]?.[t]??0);d(re(r===`horizontal`,n.x,n.y,n.width,n.height,a))},ae=()=>{l(null),d(null)};return(0,n.jsx)(`div`,{ref:f,className:[E.chart,s??``].filter(Boolean).join(` `),children:(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:D[a],children:(0,n.jsxs)(i.BarChart,{data:e,layout:r===`horizontal`?`vertical`:`horizontal`,margin:{top:8,right:8,bottom:8,left:r===`horizontal`?8:0},children:[(0,n.jsx)(i.CartesianGrid,{strokeDasharray:`3 3`,stroke:v,horizontal:!0,vertical:r===`horizontal`}),r===`horizontal`?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.XAxis,{type:`number`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1}),(0,n.jsx)(i.YAxis,{type:`category`,dataKey:`label`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1,width:64})]}):(0,n.jsx)(i.XAxis,{dataKey:`label`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),r===`negative`&&(0,n.jsx)(i.YAxis,{hide:!0,domain:[-A,A],ticks:j}),ee,b&&(0,n.jsx)(i.Legend,{content:e=>(0,n.jsx)(`ul`,{className:E.legend,children:e.payload?.map(e=>(0,n.jsxs)(`li`,{className:E.legendItem,children:[(0,n.jsx)(`span`,{className:E.legendSwatch,style:{background:e.color}}),(0,n.jsx)(`span`,{style:{color:e.color},children:e.value})]},e.value))})}),b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Bar,{dataKey:`value`,name:o[0]??`Value`,fill:m,stackId:r===`stacked`?`stack`:void 0,radius:r===`stacked`?[0,0,O,O]:[O,O,O,O],isAnimationActive:!1,activeBar:M(`value`),onMouseEnter:ie(`value`),onMouseLeave:ae,children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:m,fillOpacity:c!==null&&t!==c?.45:1},t))}),x&&(0,n.jsx)(i.Bar,{dataKey:`value2`,name:o[1]??`Value 2`,fill:h,stackId:r===`stacked`?`stack`:void 0,radius:r===`stacked`?[O,O,0,0]:[O,O,O,O],isAnimationActive:!1,activeBar:M(`value2`),onMouseEnter:ie(`value2`),onMouseLeave:ae,children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:h,fillOpacity:c!==null&&t!==c?.45:1},t))})]}):(0,n.jsx)(i.Bar,{dataKey:`value`,name:`Value`,fill:c===null?m:te(c),radius:[O,O,O,O],isAnimationActive:!1,activeBar:M(`value`),onMouseEnter:ie(`value`),onMouseLeave:ae,children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:te(t),fillOpacity:ne(t)},t))})]})})})},j={row:`_row_5wjem_2`,left:`_left_5wjem_16`,logo:`_logo_5wjem_23`,logoLg:`_logoLg_5wjem_29`,text:`_text_5wjem_36`,symbol:`_symbol_5wjem_42`,name:`_name_5wjem_50`,right:`_right_5wjem_59`,price:`_price_5wjem_65`,changeRow:`_changeRow_5wjem_73`,changeText:`_changeText_5wjem_78`,trendUp:`_trendUp_5wjem_84`,trendDown:`_trendDown_5wjem_85`,card:`_card_5wjem_88`,header:`_header_5wjem_102`,headerIcon:`_headerIcon_5wjem_109`,headerLabel:`_headerLabel_5wjem_110`,tickerRow:`_tickerRow_5wjem_117`,body:`_body_5wjem_125`,priceRow:`_priceRow_5wjem_132`,priceGroup:`_priceGroup_5wjem_139`,priceLg:`_priceLg_5wjem_144`,changeRowLg:`_changeRowLg_5wjem_153`,changeTextLg:`_changeTextLg_5wjem_158`,chart:`_chart_5wjem_165`},ee=e=>Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),te=({logo:t,symbol:i,name:a,price:o,change:s,formatAmount:c=ee,chart:l,periodLabel:u=`Last 6 months`,onPeriodClick:d,className:f})=>{let p=s.amount>=0,m=p?r.TrendingUp:r.TrendingDown,h=p?`+`:`-`,g=`${h}${c(s.amount)} (${h}${Math.abs(s.percent)}%)`,_=p?j.trendUp:j.trendDown;return l?(0,n.jsxs)(`div`,{className:[j.card,f??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:j.header,children:[(0,n.jsx)(r.ChartColumn,{size:16,strokeWidth:e.dt(16),className:j.headerIcon}),(0,n.jsx)(`span`,{className:j.headerLabel,children:`Stock market`})]}),(0,n.jsxs)(`div`,{className:j.tickerRow,children:[(0,n.jsx)(`span`,{className:j.logoLg,"aria-hidden":`true`,children:t}),(0,n.jsxs)(`div`,{className:j.text,children:[(0,n.jsx)(`p`,{className:j.symbol,children:i}),(0,n.jsx)(`p`,{className:j.name,children:a})]})]}),(0,n.jsxs)(`div`,{className:j.body,children:[(0,n.jsxs)(`div`,{className:j.priceRow,children:[(0,n.jsxs)(`div`,{className:j.priceGroup,children:[(0,n.jsx)(`p`,{className:j.priceLg,children:c(o)}),(0,n.jsxs)(`div`,{className:j.changeRowLg,children:[(0,n.jsx)(m,{size:24,strokeWidth:e.dt(24),className:_}),(0,n.jsx)(`span`,{className:[j.changeTextLg,_].join(` `),children:g})]})]}),(0,n.jsx)(e.rt,{variant:`outline`,size:`sm`,rightIcon:(0,n.jsx)(r.ChevronDown,{size:16,strokeWidth:e.dt(16)}),onClick:d,children:u})]}),(0,n.jsx)(A,{data:l,className:j.chart})]})]}):(0,n.jsxs)(`div`,{className:[j.row,f??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:j.left,children:[(0,n.jsx)(`span`,{className:j.logo,"aria-hidden":`true`,children:t}),(0,n.jsxs)(`div`,{className:j.text,children:[(0,n.jsx)(`p`,{className:j.symbol,children:i}),(0,n.jsx)(`p`,{className:j.name,children:a})]})]}),(0,n.jsxs)(`div`,{className:j.right,children:[(0,n.jsx)(`p`,{className:j.price,children:c(o)}),(0,n.jsxs)(`div`,{className:j.changeRow,children:[(0,n.jsx)(m,{size:20,strokeWidth:e.dt(20),className:_}),(0,n.jsx)(`span`,{className:[j.changeText,_].join(` `),children:g})]})]})]})},ne={tags:`_tags_acsad_1`,remove:`_remove_acsad_8`},re=({tags:t,onRemove:i,className:a})=>(0,n.jsx)(`div`,{className:[ne.tags,a??``].filter(Boolean).join(` `),children:t.map((t,a)=>(0,n.jsx)(e.J,{rightIcon:i&&(0,n.jsx)(`button`,{type:`button`,className:ne.remove,onClick:()=>i(t,a),"aria-label":`Remove ${t}`,children:(0,n.jsx)(r.X,{size:12,strokeWidth:e.dt(12)})}),children:t},t))}),M={ticker:`_ticker_6xnxy_1`,track:`_track_6xnxy_9`,"ticker-scroll":`_ticker-scroll_6xnxy_1`,row:`_row_6xnxy_24`,item:`_item_6xnxy_33`,symbol:`_symbol_6xnxy_40`,change:`_change_6xnxy_49`,trendUp:`_trendUp_6xnxy_57`,trendDown:`_trendDown_6xnxy_58`,fadeLeft:`_fadeLeft_6xnxy_60`,fadeRight:`_fadeRight_6xnxy_61`},ie=e=>`${e>=0?`+`:``}${e}%`,ae=({items:t,formatChange:i,ariaHidden:a})=>(0,n.jsx)(`div`,{className:M.row,"aria-hidden":a,children:t.map((t,a)=>{let o=t.changePercent>=0,s=o?r.TrendingUp:r.TrendingDown,c=o?M.trendUp:M.trendDown;return(0,n.jsxs)(`div`,{className:M.item,children:[(0,n.jsx)(`span`,{className:M.symbol,children:t.symbol}),(0,n.jsx)(s,{size:14,strokeWidth:e.dt(14),className:c}),(0,n.jsx)(`span`,{className:[M.change,c].join(` `),children:i(t.changePercent)})]},`${t.symbol}-${a}`)})}),oe=({items:e,speed:r=40,formatChange:i=ie,className:a})=>{let o=t.default.useRef(null),[s,c]=t.default.useState(20);return t.default.useEffect(()=>{let e=o.current;if(!e)return;let t=e.firstElementChild;if(!t)return;let n=()=>{let e=t.scrollWidth;e>0&&c(e/r)};n();let i=new ResizeObserver(n);return i.observe(t),()=>i.disconnect()},[e,r]),(0,n.jsxs)(`div`,{className:[M.ticker,a??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{ref:o,className:M.track,style:{"--ticker-duration":`${s}s`},children:[(0,n.jsx)(ae,{items:e,formatChange:i}),(0,n.jsx)(ae,{items:e,formatChange:i,ariaHidden:!0})]}),(0,n.jsx)(`div`,{className:M.fadeLeft,"aria-hidden":`true`}),(0,n.jsx)(`div`,{className:M.fadeRight,"aria-hidden":`true`})]})},N={list:`_list_ovxee_1`,row:`_row_ovxee_9`,rowLast:`_rowLast_ovxee_18`,left:`_left_ovxee_22`,iconWrap:`_iconWrap_ovxee_29`,info:`_info_ovxee_41`,name:`_name_ovxee_46`,category:`_category_ovxee_54`,amount:`_amount_ovxee_63`,amountUp:`_amountUp_ovxee_71`,amountDown:`_amountDown_ovxee_72`,empty:`_empty_ovxee_75`,emptyIcon:`_emptyIcon_ovxee_86`,emptyTitle:`_emptyTitle_ovxee_89`,emptyDesc:`_emptyDesc_ovxee_96`},se=e=>`${e>=0?`+`:`-`}${Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`})}`,ce=({transactions:t,formatAmount:i=se,emptyTitle:a=`No transactions yet`,emptyDescription:o=`Your activity will show up here.`,className:s})=>t.length===0?(0,n.jsxs)(`div`,{className:[N.empty,s??``].filter(Boolean).join(` `),children:[(0,n.jsx)(r.Receipt,{size:24,strokeWidth:e.dt(24),className:N.emptyIcon}),(0,n.jsx)(`p`,{className:N.emptyTitle,children:a}),(0,n.jsx)(`p`,{className:N.emptyDesc,children:o})]}):(0,n.jsx)(`div`,{className:[N.list,s??``].filter(Boolean).join(` `),children:t.map((e,r)=>{let a=e.amount>=0;return(0,n.jsxs)(`div`,{className:[N.row,r===t.length-1?N.rowLast:``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:N.left,children:[(0,n.jsx)(`span`,{className:N.iconWrap,"aria-hidden":`true`,children:e.icon}),(0,n.jsxs)(`div`,{className:N.info,children:[(0,n.jsx)(`p`,{className:N.name,children:e.name}),(0,n.jsx)(`p`,{className:N.category,children:e.category})]})]}),(0,n.jsx)(`p`,{className:[N.amount,a?N.amountUp:N.amountDown].join(` `),children:i(e.amount)})]},e.id??`${e.name}-${r}`)})}),P={root:`_root_19qxp_1`,rootAttributed:`_rootAttributed_19qxp_10`,rootSimple:`_rootSimple_19qxp_18`,rail:`_rail_19qxp_27`,body:`_body_19qxp_37`,markRow:`_markRow_19qxp_46`,markRowEnd:`_markRowEnd_19qxp_51`,mark:`_mark_19qxp_46`,quoteAttributed:`_quoteAttributed_19qxp_59`,quoteSimple:`_quoteSimple_19qxp_68`,author:`_author_19qxp_77`,authorText:`_authorText_19qxp_83`,authorName:`_authorName_19qxp_91`},le=({quote:t,author:i,className:a})=>{let o=!!i;return(0,n.jsxs)(`div`,{className:[P.root,o?P.rootAttributed:P.rootSimple,a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(e.$,{orientation:`vertical`,className:P.rail}),(0,n.jsxs)(`div`,{className:P.body,children:[o&&(0,n.jsx)(`span`,{className:P.markRow,"aria-hidden":`true`,children:(0,n.jsx)(r.Quote,{size:12,strokeWidth:e.dt(12),className:P.mark,fill:`currentColor`})}),(0,n.jsx)(`p`,{className:o?P.quoteAttributed:P.quoteSimple,children:o?t:`"${t}"`}),o&&(0,n.jsx)(`span`,{className:[P.markRow,P.markRowEnd].join(` `),"aria-hidden":`true`,children:(0,n.jsx)(r.Quote,{size:12,strokeWidth:e.dt(12),className:P.mark,fill:`currentColor`})}),i&&(0,n.jsxs)(`div`,{className:P.author,children:[(0,n.jsx)(e.ct,{size:`sm`,src:i.avatarSrc,alt:i.avatarAlt??i.name}),(0,n.jsxs)(`p`,{className:P.authorText,children:[(0,n.jsx)(`span`,{className:P.authorName,children:i.name}),(0,n.jsxs)(`span`,{className:P.authorRole,children:[`, `,i.role]})]})]})]})]})},ue={root:`_root_btuyr_1`,rootLeft:`_rootLeft_btuyr_13`,rootTop:`_rootTop_btuyr_19`,ruleLeft:`_ruleLeft_btuyr_24`,ruleTop:`_ruleTop_btuyr_31`,text:`_text_btuyr_39`},de=({text:e,align:t=`left`,className:r})=>(0,n.jsxs)(`div`,{className:[ue.root,t===`top`?ue.rootTop:ue.rootLeft,r??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:t===`top`?ue.ruleTop:ue.ruleLeft,"aria-hidden":`true`}),(0,n.jsx)(`p`,{className:ue.text,children:e})]}),fe={root:`_root_awxwk_1`,imageWrap:`_imageWrap_awxwk_10`,"root--large":`_root--large_awxwk_27`,"root--small":`_root--small_awxwk_33`,image:`_image_awxwk_10`,caption:`_caption_awxwk_47`},pe=({src:e,alt:t=``,size:r=`large`,caption:i,className:a})=>(0,n.jsxs)(`figure`,{className:[fe.root,fe[`root--${r}`],a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:fe.imageWrap,children:(0,n.jsx)(`img`,{src:e,alt:t,className:fe.image})}),i&&(0,n.jsx)(`figcaption`,{className:fe.caption,children:i})]}),F={root:`_root_uc5r9_1`,rootCenter:`_rootCenter_uc5r9_10`,rootLeft:`_rootLeft_uc5r9_15`,title:`_title_uc5r9_20`,description:`_description_uc5r9_30`,ctaRow:`_ctaRow_uc5r9_39`,avatarBlock:`_avatarBlock_uc5r9_45`,avatarsCaption:`_avatarsCaption_uc5r9_57`},me=({title:t,description:i,badgeLabel:a,primaryCta:o,secondaryCta:s,avatars:c,avatarsCaption:l,align:u=`center`,className:d})=>{let f=!!(o||s),p=!!(c&&c.length>0);return(0,n.jsxs)(`div`,{className:[F.root,u===`left`?F.rootLeft:F.rootCenter,d??``].filter(Boolean).join(` `),children:[a&&(0,n.jsx)(e.J,{variant:`accent`,emphasis:`subtle`,children:a}),(0,n.jsx)(`p`,{className:F.title,children:t}),i&&(0,n.jsx)(`p`,{className:F.description,children:i}),f&&(0,n.jsxs)(`div`,{className:F.ctaRow,children:[o&&(0,n.jsx)(e.rt,{variant:`primary`,onClick:o.onClick,children:o.label}),s&&(0,n.jsx)(e.rt,{variant:`secondary`,leftIcon:(0,n.jsx)(r.Play,{size:16,strokeWidth:e.dt(16),fill:`currentColor`}),onClick:s.onClick,children:s.label})]}),p&&(0,n.jsxs)(`div`,{className:F.avatarBlock,children:[(0,n.jsx)(e.j,{size:`md`,avatars:c}),l&&(0,n.jsx)(`p`,{className:F.avatarsCaption,children:l})]})]})},he={root:`_root_5kajg_1`,item:`_item_5kajg_12`,marker:`_marker_5kajg_18`,dot:`_dot_5kajg_26`,label:`_label_5kajg_34`},ge=({items:t,style:i=`check`,className:a})=>(0,n.jsx)(`ul`,{className:[he.root,a??``].filter(Boolean).join(` `),children:t.map((t,a)=>(0,n.jsxs)(`li`,{className:he.item,children:[(0,n.jsxs)(`span`,{className:he.marker,"aria-hidden":`true`,children:[i===`check`&&(0,n.jsx)(r.Check,{size:18,strokeWidth:e.dt(18)}),i===`arrow`&&(0,n.jsx)(r.ArrowRight,{size:16,strokeWidth:e.dt(16)}),i===`bullet`&&(0,n.jsx)(`span`,{className:he.dot})]}),(0,n.jsx)(`span`,{className:he.label,children:t})]},a))}),_e={marquee:`_marquee_1pc4i_1`,track:`_track_1pc4i_13`,row:`_row_1pc4i_19`,item:`_item_1pc4i_25`,fadeLeft:`_fadeLeft_1pc4i_31`,fadeRight:`_fadeRight_1pc4i_32`},ve=({items:e,gap:t,ariaHidden:r})=>(0,n.jsx)(`div`,{className:_e.row,style:{gap:t,paddingRight:t},"aria-hidden":r,children:e.map((e,t)=>(0,n.jsx)(`div`,{className:_e.item,children:e},t))}),ye=({items:e,speed:r=40,gap:i,className:a})=>{let o=t.default.useRef(null),s=t.default.useRef(0),c=t.default.useRef(0),l=t.default.useRef(!1);return t.default.useEffect(()=>{let e=o.current?.firstElementChild;if(!e)return;let t=()=>{s.current=e.scrollWidth};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[e,i]),t.default.useEffect(()=>{let e=o.current;if(!e||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let t,n=performance.now(),i=()=>{let a=performance.now(),o=(a-n)/1e3;n=a;let u=l.current?r*.2:r,d=s.current;d>0&&(c.current=(c.current+u*o)%d,e.style.transform=`translateX(-${c.current}px)`),t=setTimeout(i,16)};return t=setTimeout(i,16),()=>clearTimeout(t)},[r]),(0,n.jsxs)(`div`,{className:[_e.marquee,a??``].filter(Boolean).join(` `),onMouseEnter:()=>{l.current=!0},onMouseLeave:()=>{l.current=!1},children:[(0,n.jsxs)(`div`,{ref:o,className:_e.track,children:[(0,n.jsx)(ve,{items:e,gap:i}),(0,n.jsx)(ve,{items:e,gap:i,ariaHidden:!0})]}),(0,n.jsx)(`div`,{className:_e.fadeLeft,"aria-hidden":`true`}),(0,n.jsx)(`div`,{className:_e.fadeRight,"aria-hidden":`true`})]})},be={root:`_root_17a1b_1`,numRow:`_numRow_17a1b_9`,value:`_value_17a1b_15`,trend:`_trend_17a1b_25`,trendUp:`_trendUp_17a1b_35`,trendDown:`_trendDown_17a1b_39`,label:`_label_17a1b_43`},xe=({value:t,label:i,trend:a,className:o})=>{let s=a!==void 0,c=s&&a>=0,l=c?r.TrendingUp:r.TrendingDown;return(0,n.jsxs)(`div`,{className:[be.root,o??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:be.numRow,children:[(0,n.jsx)(`p`,{className:be.value,children:t}),s&&(0,n.jsxs)(`span`,{className:[be.trend,c?be.trendUp:be.trendDown].join(` `),children:[(0,n.jsx)(l,{size:24,strokeWidth:e.dt(24)}),Math.abs(a),`%`]})]}),(0,n.jsx)(`p`,{className:be.label,children:i})]})},I={root:`_root_scbx4_1`,header:`_header_scbx4_13`,label:`_label_scbx4_21`,toggle:`_toggle_scbx4_34`,fullWidth:`_fullWidth_scbx4_48`,collapse:`_collapse_scbx4_67`,collapseOpen:`_collapseOpen_scbx4_74`,collapseInner:`_collapseInner_scbx4_78`,navLinks:`_navLinks_scbx4_91`,navLink:`_navLink_scbx4_91`},Se=({label:i,links:a,ctaLabel:o=`Get started`,onCtaClick:s,open:c,defaultOpen:l=!1,onOpenChange:u,className:d})=>{let f=c!==void 0,[p,m]=t.default.useState(l),h=f?c:p,g=()=>{let e=!h;f||m(e),u?.(e)},_=t.default.useRef(null),[v,y]=t.default.useState(0);return t.default.useEffect(()=>{let e=_.current;if(!e)return;let t=()=>y(e.scrollHeight);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[a,o]),(0,n.jsxs)(`div`,{className:[I.root,d??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:I.header,children:[(0,n.jsx)(`p`,{className:I.label,children:i}),(0,n.jsx)(`button`,{type:`button`,className:I.toggle,onClick:g,"aria-expanded":h,"aria-label":h?`Close menu`:`Open menu`,children:h?(0,n.jsx)(r.X,{size:16,strokeWidth:e.dt(16)}):(0,n.jsx)(r.Menu,{size:16,strokeWidth:e.dt(16)})})]}),(0,n.jsx)(`div`,{className:[I.collapse,h?I.collapseOpen:``].filter(Boolean).join(` `),style:{maxHeight:h?`${v}px`:`0px`},"aria-hidden":!h,children:(0,n.jsxs)(`div`,{ref:_,className:I.collapseInner,children:[(0,n.jsx)(`nav`,{className:I.navLinks,"aria-label":i,children:a.map(e=>(0,n.jsx)(`a`,{href:e.href,onClick:e.onClick,className:I.navLink,tabIndex:h?void 0:-1,children:e.label},e.label))}),(0,n.jsx)(e.$,{className:I.fullWidth}),(0,n.jsx)(e.rt,{variant:`primary`,className:I.fullWidth,onClick:s,tabIndex:h?void 0:-1,children:o})]})})]})},Ce={root:`_root_lrpdp_1`,"root--sm":`_root--sm_lrpdp_14`,"root--md":`_root--md_lrpdp_18`,"root--lg":`_root--lg_lrpdp_22`,defaultMark:`_defaultMark_lrpdp_27`},we={sm:14,md:16,lg:18},Te=({size:r=`md`,logo:i,label:a,className:o})=>{let s=we[r],c=t.default.isValidElement(i)?t.default.cloneElement(i,{size:s,strokeWidth:e.dt(s)}):i??(0,n.jsx)(`img`,{src:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%3e%3cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H20C24.4183%200%2028%203.58172%2028%208V20C28%2024.4183%2024.4183%2028%2020%2028H8C3.58172%2028%200%2024.4183%200%2020V8Z'%20fill='%23FF4700'/%3e%3cpath%20d='M6.63704%2015.9944L20.6362%2014.491'%20stroke='%23FAFAF9'%20stroke-width='2.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14.208%2022.884C12.848%2022.884%2011.664%2022.636%2010.656%2022.14C9.664%2021.644%208.88%2020.956%208.304%2020.076C7.728%2019.196%207.392%2018.172%207.296%2017.004L9.96%2016.836C10.072%2017.636%2010.304%2018.316%2010.656%2018.876C11.008%2019.42%2011.48%2019.836%2012.072%2020.124C12.68%2020.396%2013.408%2020.532%2014.256%2020.532C14.992%2020.532%2015.616%2020.444%2016.128%2020.268C16.656%2020.076%2017.056%2019.796%2017.328%2019.428C17.6%2019.06%2017.736%2018.612%2017.736%2018.084C17.736%2017.604%2017.616%2017.18%2017.376%2016.812C17.152%2016.428%2016.712%2016.084%2016.056%2015.78C15.416%2015.46%2014.472%2015.148%2013.224%2014.844C11.864%2014.508%2010.776%2014.14%209.96%2013.74C9.144%2013.34%208.552%2012.844%208.184%2012.252C7.832%2011.644%207.656%2010.9%207.656%2010.02C7.656%209.044%207.888%208.188%208.352%207.452C8.832%206.7%209.512%206.116%2010.392%205.7C11.272%205.284%2012.328%205.076%2013.56%205.076C14.856%205.076%2015.96%205.316%2016.872%205.796C17.8%206.276%2018.528%206.932%2019.056%207.764C19.6%208.596%2019.936%209.548%2020.064%2010.62L17.4%2010.764C17.32%2010.108%2017.12%209.532%2016.8%209.036C16.48%208.524%2016.048%208.132%2015.504%207.86C14.96%207.572%2014.296%207.428%2013.512%207.428C12.52%207.428%2011.736%207.66%2011.16%208.124C10.6%208.572%2010.32%209.172%2010.32%209.924C10.32%2010.404%2010.432%2010.812%2010.656%2011.148C10.896%2011.468%2011.312%2011.748%2011.904%2011.988C12.512%2012.228%2013.368%2012.484%2014.472%2012.756C15.944%2013.092%2017.112%2013.508%2017.976%2014.004C18.856%2014.484%2019.48%2015.052%2019.848%2015.708C20.216%2016.364%2020.4%2017.108%2020.4%2017.94C20.4%2018.948%2020.136%2019.828%2019.608%2020.58C19.096%2021.316%2018.376%2021.884%2017.448%2022.284C16.52%2022.684%2015.44%2022.884%2014.208%2022.884Z'%20fill='%23FAFAF9'/%3e%3c/svg%3e`,alt:``,width:s,height:s,className:Ce.defaultMark});return(0,n.jsx)(`span`,{className:[Ce.root,Ce[`root--${r}`],o??``].filter(Boolean).join(` `),role:`img`,"aria-label":a??`Logo placeholder`,children:c})},L={root:`_root_ibchq_1`,rootCompact:`_rootCompact_ibchq_7`,rootDetailed:`_rootDetailed_ibchq_14`,infoCompact:`_infoCompact_ibchq_21`,infoDetailed:`_infoDetailed_ibchq_27`,name:`_name_ibchq_35`,role:`_role_ibchq_44`,bio:`_bio_ibchq_53`,social:`_social_ibchq_63`,socialBtn:`_socialBtn_ibchq_71`},Ee=({name:t,role:r,avatarSrc:i,avatarAlt:a,bio:o,socialLinks:s=[],className:c})=>{let l=!!o||s.length>0;return(0,n.jsxs)(`div`,{className:[L.root,l?L.rootDetailed:L.rootCompact,c??``].filter(Boolean).join(` `),children:[(0,n.jsx)(e.ct,{size:`xl`,src:i,alt:a??t}),(0,n.jsxs)(`div`,{className:l?L.infoDetailed:L.infoCompact,children:[(0,n.jsx)(`p`,{className:L.name,children:t}),(0,n.jsx)(`p`,{className:L.role,children:r})]}),l&&o&&(0,n.jsx)(`p`,{className:L.bio,children:o}),l&&s.length>0&&(0,n.jsx)(`div`,{className:L.social,children:s.map((e,t)=>(0,n.jsx)(`a`,{href:e.href,onClick:e.onClick,className:L.socialBtn,"aria-label":e.label,children:e.icon},e.label??t))})]})},De={heading:`_heading_96cdx_1`,h2:`_h2_96cdx_8`,h3:`_h3_96cdx_14`},Oe=({children:e,level:t=`h2`,className:r})=>(0,n.jsx)(t,{className:[De.heading,De[t],r??``].filter(Boolean).join(` `),children:e}),ke={paragraph:`_paragraph_8pqdi_1`},Ae=({children:e,className:t})=>(0,n.jsx)(`p`,{className:[ke.paragraph,t??``].filter(Boolean).join(` `),children:e}),R={rootBordered:`_rootBordered_5cgsj_1`,rail:`_rail_5cgsj_12`,contentHorizontal:`_contentHorizontal_5cgsj_18`,contentVertical:`_contentVertical_5cgsj_25`,textHorizontal:`_textHorizontal_5cgsj_33`,textVertical:`_textVertical_5cgsj_41`,title:`_title_5cgsj_49`,description:`_description_5cgsj_57`},je=({icon:r,title:i,description:a,layout:o=`horizontal`,leftBorder:s=!1,className:c})=>{let l=o===`vertical`,u=(0,n.jsxs)(`div`,{className:l?R.contentVertical:R.contentHorizontal,children:[(0,n.jsx)(e.M,{icon:r,size:`sm`,variant:`light`}),(0,n.jsxs)(`div`,{className:l?R.textVertical:R.textHorizontal,children:[(0,n.jsx)(`p`,{className:R.title,children:i}),(0,n.jsx)(`p`,{className:R.description,children:a})]})]});return s?(0,n.jsxs)(`div`,{className:[R.rootBordered,c??``].filter(Boolean).join(` `),children:[(0,n.jsx)(e.$,{orientation:`vertical`,className:R.rail}),u]}):t.default.cloneElement(u,{className:[u.props.className,c??``].filter(Boolean).join(` `)})},Me={chart:`_chart_qqaox_2`},Ne={sm:180,md:240,lg:320,xl:420},Pe=({data:e,variant:r=`default`,seriesLabels:a=[`Value`,`Value 2`],size:o=`md`,height:s,className:c})=>{let l=t.default.useRef(null),u=S(l),d=u(`--color-chart-5`)??`#dca84f`,f=u(`--color-chart-2`)??`#5b92dd`,p=u(`--color-border-subtle`)??`#e7e5e1`,m=u(`--color-fg-muted`)??`#78716a`,h=e.some(e=>e.value2!==void 0),g=r===`step`?`step`:r===`linear`?`linear`:`monotone`,_=r===`stacked`?`stack`:void 0;return(0,n.jsx)(`div`,{ref:l,className:[Me.chart,c??``].filter(Boolean).join(` `),children:(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:s??Ne[o],children:(0,n.jsxs)(i.AreaChart,{data:e,margin:{top:8,right:8,bottom:8,left:0},children:[(0,n.jsxs)(`defs`,{children:[(0,n.jsxs)(`linearGradient`,{id:`sakani-area-1`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,n.jsx)(`stop`,{offset:`5%`,stopColor:d,stopOpacity:.35}),(0,n.jsx)(`stop`,{offset:`95%`,stopColor:d,stopOpacity:.02})]}),(0,n.jsxs)(`linearGradient`,{id:`sakani-area-2`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,n.jsx)(`stop`,{offset:`5%`,stopColor:f,stopOpacity:.35}),(0,n.jsx)(`stop`,{offset:`95%`,stopColor:f,stopOpacity:.02})]})]}),(0,n.jsx)(i.CartesianGrid,{strokeDasharray:`3 3`,stroke:p,vertical:!1}),(0,n.jsx)(i.XAxis,{dataKey:`label`,stroke:m,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,n.jsx)(i.Tooltip,{cursor:{stroke:u(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}}),h&&(0,n.jsx)(i.Area,{type:g,dataKey:`value2`,name:a[1]??`Value 2`,stackId:_,stroke:f,strokeWidth:2,fill:`url(#sakani-area-2)`,dot:!1,activeDot:{r:4,fill:f,stroke:u(`--color-bg-canvas`),strokeWidth:1.5}}),(0,n.jsx)(i.Area,{type:g,dataKey:`value`,name:a[0]??`Value`,stackId:_,stroke:d,strokeWidth:2,fill:`url(#sakani-area-1)`,dot:!1,activeDot:{r:4,fill:d,stroke:u(`--color-bg-canvas`),strokeWidth:1.5}})]})})})},z={col:`_col_1v24u_2`,col__header:`_col__header_1v24u_11`,col__dot:`_col__dot_1v24u_12`,col__title:`_col__title_1v24u_13`,col__count:`_col__count_1v24u_14`,col__spacer:`_col__spacer_1v24u_15`,col__action:`_col__action_1v24u_16`,col__body:`_col__body_1v24u_24`,col__drop:`_col__drop_1v24u_25`,col__add:`_col__add_1v24u_31`},Fe=({state:t=`default`,title:i,count:a,dotColor:o=`var(--color-chart-1)`,children:s,onAdd:c,onMenu:l,className:u})=>(0,n.jsxs)(`div`,{className:[z.col,u??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:z.col__header,children:[(0,n.jsx)(`span`,{className:z.col__dot,style:{background:o},"aria-hidden":`true`}),(0,n.jsx)(`span`,{className:z.col__title,children:i}),a!=null&&(0,n.jsx)(`span`,{className:z.col__count,children:a}),(0,n.jsx)(`span`,{className:z.col__spacer}),(0,n.jsx)(`button`,{type:`button`,className:z.col__action,onClick:c,"aria-label":`Add task`,children:(0,n.jsx)(r.Plus,{size:16,strokeWidth:e.dt(16)})}),(0,n.jsx)(`button`,{type:`button`,className:z.col__action,onClick:l,"aria-label":`Column options`,children:(0,n.jsx)(r.MoreHorizontal,{size:16,strokeWidth:e.dt(16)})})]}),(0,n.jsx)(`div`,{className:z.col__body,children:t===`empty`?(0,n.jsx)(`div`,{className:z.col__drop,children:`Drop tasks here`}):s}),(0,n.jsxs)(`button`,{type:`button`,className:z.col__add,onClick:c,children:[(0,n.jsx)(r.Plus,{size:16,strokeWidth:e.dt(16),"aria-hidden":`true`}),`Add task`]})]}),B={calendar:`_calendar_1y1kb_2`,header:`_header_1y1kb_14`,header__label:`_header__label_1y1kb_15`,navBtn:`_navBtn_1y1kb_16`,weekdays:`_weekdays_1y1kb_27`,weekday:`_weekday_1y1kb_27`,grid:`_grid_1y1kb_34`,day:`_day_1y1kb_35`,"day--default":`_day--default_1y1kb_43`,"day--hover":`_day--hover_1y1kb_44`,"day--selected":`_day--selected_1y1kb_45`,"day--today":`_day--today_1y1kb_46`,"day--in-range":`_day--in-range_1y1kb_47`,"day--outside":`_day--outside_1y1kb_48`,"day--disabled":`_day--disabled_1y1kb_49`,dropdowns:`_dropdowns_1y1kb_52`,dropdown:`_dropdown_1y1kb_52`},Ie=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],Le=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Re=(e,t)=>!!e&&!!t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),ze=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),Be=({mode:i=`single`,value:a,onChange:o,range:s,onRangeChange:c,headerType:l=`arrows`,defaultMonth:u,minDate:d,maxDate:f,className:p})=>{let[m,h]=t.default.useState(()=>{let e=u??a??s?.from??new Date;return new Date(e.getFullYear(),e.getMonth(),1)}),[g,_]=t.default.useState({}),v=s===void 0?g:s,y=new Date,b=m.getFullYear(),x=m.getMonth(),S=new Date(b,x,1).getDay(),C=new Date(b,x,1-S),w=Array.from({length:42},(e,t)=>new Date(C.getFullYear(),C.getMonth(),C.getDate()+t)),T=e=>d&&e<ze(d)||f&&e>f,E=e=>{s===void 0&&_(e),c?.(e)},D=e=>{if(i===`single`){o?.(e);return}let{from:t,to:n}=v;E(!t||t&&n?{from:e,to:void 0}:e<t?{from:e,to:t}:{from:t,to:e})},O=e=>{if(T(e))return`disabled`;if(i===`single`){if(Re(e,a))return`selected`}else{let{from:t,to:n}=v;if(Re(e,t)||Re(e,n))return`selected`;if(t&&n&&e>t&&e<n)return`in-range`}return e.getMonth()===x?Re(e,y)?`today`:`default`:`outside`},k=d?d.getFullYear():b-10,A=f?f.getFullYear():b+10,j=Array.from({length:A-k+1},(e,t)=>k+t);return(0,n.jsxs)(`div`,{className:[B.calendar,p??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:B.header,children:[(0,n.jsx)(`button`,{type:`button`,className:B.navBtn,onClick:()=>h(new Date(b,x-1,1)),"aria-label":`Previous month`,children:(0,n.jsx)(r.ChevronLeft,{size:16,strokeWidth:e.dt(16)})}),l===`dropdowns`?(0,n.jsxs)(`span`,{className:B.dropdowns,children:[(0,n.jsx)(`select`,{className:B.dropdown,value:x,onChange:e=>h(new Date(b,Number(e.target.value),1)),"aria-label":`Month`,children:Le.map((e,t)=>(0,n.jsx)(`option`,{value:t,children:e},e))}),(0,n.jsx)(`select`,{className:B.dropdown,value:b,onChange:e=>h(new Date(Number(e.target.value),x,1)),"aria-label":`Year`,children:j.map(e=>(0,n.jsx)(`option`,{value:e,children:e},e))})]}):(0,n.jsxs)(`span`,{className:B.header__label,children:[Le[x],` `,b]}),(0,n.jsx)(`button`,{type:`button`,className:B.navBtn,onClick:()=>h(new Date(b,x+1,1)),"aria-label":`Next month`,children:(0,n.jsx)(r.ChevronRight,{size:16,strokeWidth:e.dt(16)})})]}),(0,n.jsx)(`div`,{className:B.weekdays,children:Ie.map(e=>(0,n.jsx)(`span`,{className:B.weekday,children:e},e))}),(0,n.jsx)(`div`,{className:B.grid,children:w.map((e,t)=>{let r=O(e);return(0,n.jsx)(`button`,{type:`button`,className:[B.day,B[`day--${r}`]].filter(Boolean).join(` `),disabled:r===`disabled`,"aria-current":r===`today`?`date`:void 0,"aria-selected":r===`selected`,"aria-label":e.toLocaleDateString(void 0,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`}),onClick:()=>D(e),children:e.getDate()},t)})})]})},Ve={card:`_card_1mh1i_3`,"card--interactive":`_card--interactive_1mh1i_16`,card__header:`_card__header_1mh1i_24`,card__title:`_card__title_1mh1i_25`,card__description:`_card__description_1mh1i_32`,card__body:`_card__body_1mh1i_39`,card__actions:`_card__actions_1mh1i_42`},He=({title:e,description:t,actions:r,interactive:i,children:a,className:o})=>(0,n.jsxs)(`div`,{className:[Ve.card,i?Ve[`card--interactive`]:``,o??``].filter(Boolean).join(` `),children:[(e||t)&&(0,n.jsxs)(`div`,{className:Ve.card__header,children:[e&&(0,n.jsx)(`h3`,{className:Ve.card__title,children:e}),t&&(0,n.jsx)(`p`,{className:Ve.card__description,children:t})]}),a&&(0,n.jsx)(`div`,{className:Ve.card__body,children:a}),r&&(0,n.jsx)(`div`,{className:Ve.card__actions,children:r})]}),V={field:`_field_x766e_7`,field__label:`_field__label_x766e_8`,field__description:`_field__description_x766e_9`,field__error:`_field__error_x766e_10`,control:`_control_x766e_13`,"control--sm":`_control--sm_x766e_25`,"control--md":`_control--md_x766e_26`,"control--lg":`_control--lg_x766e_27`,"control--open":`_control--open_x766e_29`,"control--error":`_control--error_x766e_35`,"control--disabled":`_control--disabled_x766e_39`,control__value:`_control__value_x766e_45`,"control__value--placeholder":`_control__value--placeholder_x766e_55`,control__input:`_control__input_x766e_56`,control__chevron:`_control__chevron_x766e_76`,"control__chevron--open":`_control__chevron--open_x766e_77`,chips:`_chips_x766e_80`,chip:`_chip_x766e_80`,chip__remove:`_chip__remove_x766e_92`,panel:`_panel_x766e_103`,"panel--entering":`_panel--entering_x766e_125`,"sakani-combobox-panel-in":`_sakani-combobox-panel-in_x766e_1`,"panel--exiting":`_panel--exiting_x766e_126`,"sakani-combobox-panel-out":`_sakani-combobox-panel-out_x766e_1`,panel__empty:`_panel__empty_x766e_136`,option:`_option_x766e_144`,"option--disabled":`_option--disabled_x766e_158`,"option--active":`_option--active_x766e_159`,"option--selected":`_option--selected_x766e_160`,option__icon:`_option__icon_x766e_162`,option__label:`_option__label_x766e_163`,option__check:`_option__check_x766e_164`,panel__loading:`_panel__loading_x766e_167`,panel__spinner:`_panel__spinner_x766e_171`,"sakani-cb-spin":`_sakani-cb-spin_x766e_1`},Ue=({options:r,mode:i=`single`,size:a=`md`,label:o,description:s,error:c,placeholder:l=`Select...`,disabled:u,loading:d,value:f,onChange:p,className:m})=>{let h=t.default.useId(),[g,_]=t.default.useState(!1),[v,y]=t.default.useState(!1),[b,x]=t.default.useState(0),S=t.default.useRef(null);t.default.useEffect(()=>{g&&y(!0)},[g]);let[C,w]=t.default.useState(i===`multi`?[]:``),T=f===void 0?C:f,E=Array.isArray(T)?T:T?[T]:[],D=!!c;t.default.useEffect(()=>{let e=e=>{S.current&&!S.current.contains(e.target)&&_(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let O=r,k=e=>{f===void 0&&w(e),p?.(e)},A=e=>{if(!e.disabled)if(i===`multi`){let t=new Set(E);t.has(e.value)?t.delete(e.value):t.add(e.value),k([...t])}else k(e.value),_(!1)},j=e=>r.find(t=>t.value===e)?.label??e,ee=E.length?j(E[0]):``,te=e=>{u||(e.key===`ArrowDown`?(e.preventDefault(),_(!0),x(e=>Math.min(e+1,O.length-1))):e.key===`ArrowUp`?(e.preventDefault(),x(e=>Math.max(e-1,0))):e.key===`Enter`?(e.preventDefault(),g&&O[b]?A(O[b]):_(!0)):e.key===`Escape`&&_(!1))},ne=u?`disabled`:D?`error`:g?`open`:`default`;return(0,n.jsxs)(`div`,{className:[V.field,m??``].filter(Boolean).join(` `),ref:S,children:[o&&(0,n.jsx)(`label`,{htmlFor:`${h}-trigger`,className:V.field__label,children:o}),(0,n.jsxs)(`div`,{id:`${h}-trigger`,role:`combobox`,tabIndex:u?-1:0,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":`${h}-panel`,"aria-invalid":D||void 0,"aria-disabled":u||void 0,"aria-activedescendant":g&&O[b]?`${h}-opt-${b}`:void 0,className:[V.control,V[`control--${a}`],V[`control--${ne}`]].join(` `),onClick:()=>!u&&_(e=>!e),onKeyDown:te,children:[i===`multi`&&E.length>0&&(0,n.jsx)(`div`,{className:V.chips,children:E.map(e=>(0,n.jsxs)(`span`,{className:V.chip,children:[j(e),(0,n.jsx)(`button`,{type:`button`,className:V.chip__remove,onClick:t=>{t.stopPropagation(),A(r.find(t=>t.value===e))},"aria-label":`Remove ${j(e)}`,children:`×`})]},e))}),!(i===`multi`&&E.length>0)&&(0,n.jsx)(`span`,{className:[V.control__value,i===`single`&&ee?``:V[`control__value--placeholder`]].filter(Boolean).join(` `),children:i===`single`&&ee?ee:l}),(0,n.jsx)(`span`,{className:[V.control__chevron,g?V[`control__chevron--open`]:``].join(` `),"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:e.dt(16),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),v&&!u&&(0,n.jsx)(`div`,{className:[V.panel,g?V[`panel--entering`]:V[`panel--exiting`]].filter(Boolean).join(` `),id:`${h}-panel`,role:`listbox`,"aria-busy":d||void 0,onAnimationEnd:()=>{g||y(!1)},children:d?(0,n.jsxs)(`div`,{className:V.panel__loading,children:[(0,n.jsx)(`span`,{className:V.panel__spinner,"aria-hidden":`true`}),`Loading…`]}):O.length===0?(0,n.jsx)(`div`,{className:V.panel__empty,children:`No options available`}):O.map((e,t)=>{let r=E.includes(e.value);return(0,n.jsxs)(`div`,{id:`${h}-opt-${t}`,role:`option`,"aria-selected":r,className:[V.option,t===b?V[`option--active`]:``,r?V[`option--selected`]:``,e.disabled?V[`option--disabled`]:``].filter(Boolean).join(` `),onMouseEnter:()=>x(t),onClick:()=>A(e),children:[e.icon&&(0,n.jsx)(`span`,{className:V.option__icon,"aria-hidden":`true`,children:e.icon}),(0,n.jsx)(`span`,{className:V.option__label,children:e.label}),r&&(0,n.jsx)(`span`,{className:V.option__check,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})})]},e.value)})}),(s||c)&&(0,n.jsx)(`span`,{className:D?V.field__error:V.field__description,children:c||s})]})},We={chart:`_chart_aiboa_2`,center:`_center_aiboa_26`,center__value:`_center__value_aiboa_35`,center__caption:`_center__caption_aiboa_36`},Ge={sm:{h:180,inner:50,outer:72},md:{h:220,inner:62,outer:90},lg:{h:280,inner:80,outer:116},xl:{h:340,inner:98,outer:142}},Ke=({data:e,size:r=`md`,centerValue:a,centerCaption:o,height:s,className:c})=>{let[l,u]=t.default.useState(null),[d,f]=t.default.useState(null),p=e=>{let t=e.currentTarget.getBoundingClientRect();f({x:e.clientX-t.left,y:e.clientY-t.top})},m=t.default.useRef(null),h=S(m),g=[1,2,3,4,5].map(e=>h(`--color-chart-${e}`)??C[e-1]),_={...Ge[r],h:s??Ge[r].h},v=(_.outer-_.inner)/2-7;return(0,n.jsxs)(`div`,{ref:m,className:[We.chart,c??``].filter(Boolean).join(` `),style:{height:_.h},onMouseMove:p,children:[(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(i.PieChart,{children:[(0,n.jsx)(i.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:_.inner,outerRadius:_.outer,cornerRadius:v,paddingAngle:2,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>u(t),onMouseLeave:()=>{u(null),f(null)},children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:g[t%g.length],fillOpacity:l!==null&&t!==l?.45:1},t))}),(0,n.jsx)(i.Tooltip,{content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50},position:d??void 0})]})}),(a||o)&&(0,n.jsxs)(`div`,{className:We.center,children:[a&&(0,n.jsx)(`span`,{className:We.center__value,children:a}),o&&(0,n.jsx)(`span`,{className:We.center__caption,children:o})]})]})},H={wrap:`_wrap_1b5p5_2`,dropzone:`_dropzone_1b5p5_4`,"dropzone--dragging":`_dropzone--dragging_1b5p5_21`,dropzone__icon:`_dropzone__icon_1b5p5_23`,dropzone__label:`_dropzone__label_1b5p5_28`,dropzone__link:`_dropzone__link_1b5p5_29`,dropzone__hint:`_dropzone__hint_1b5p5_30`,input:`_input_1b5p5_32`,files:`_files_1b5p5_35`,file:`_file_1b5p5_35`,file__icon:`_file__icon_1b5p5_45`,file__name:`_file__name_1b5p5_46`,file__remove:`_file__remove_1b5p5_47`},qe=({accept:i,multiple:a,hint:o=`SVG, PNG, JPG or PDF (max. 2MB)`,onFilesChange:s,className:c})=>{let l=t.default.useRef(null),[u,d]=t.default.useState(!1),[f,p]=t.default.useState([]),m=e=>{p(e),s?.(e)},h=e=>{if(!e)return;let t=Array.from(e);m(a?[...f,...t]:t.slice(0,1))},g=e=>m(f.filter((t,n)=>n!==e));return(0,n.jsxs)(`div`,{className:[H.wrap,c??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:[H.dropzone,u?H[`dropzone--dragging`]:``].filter(Boolean).join(` `),onClick:()=>l.current?.click(),onDragOver:e=>{e.preventDefault(),d(!0)},onDragLeave:()=>d(!1),onDrop:e=>{e.preventDefault(),d(!1),h(e.dataTransfer.files)},role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&l.current?.click()},children:[(0,n.jsx)(`span`,{className:H.dropzone__icon,"aria-hidden":`true`,children:(0,n.jsx)(r.UploadCloud,{size:22,strokeWidth:e.dt(22)})}),(0,n.jsxs)(`span`,{className:H.dropzone__label,children:[(0,n.jsx)(`span`,{className:H.dropzone__link,children:`Click to upload`}),` or drag and drop`]}),(0,n.jsx)(`span`,{className:H.dropzone__hint,children:o}),(0,n.jsx)(`input`,{ref:l,type:`file`,accept:i,multiple:a,className:H.input,onChange:e=>h(e.target.files)})]}),f.length>0&&(0,n.jsx)(`ul`,{className:H.files,children:f.map((t,i)=>(0,n.jsxs)(`li`,{className:H.file,children:[(0,n.jsx)(`span`,{className:H.file__icon,"aria-hidden":`true`,children:(0,n.jsx)(r.File,{size:16,strokeWidth:e.dt(16)})}),(0,n.jsx)(`span`,{className:H.file__name,children:t.name}),(0,n.jsx)(`button`,{type:`button`,className:H.file__remove,onClick:()=>g(i),"aria-label":`Remove ${t.name}`,children:(0,n.jsx)(r.X,{size:14,strokeWidth:e.dt(14)})})]},i))})]})},U={chart:`_chart_1m9hd_1`,svg:`_svg_1m9hd_7`,segment:`_segment_1m9hd_12`,pctLabel:`_pctLabel_1m9hd_19`,labels:`_labels_1m9hd_27`,labelItem:`_labelItem_1m9hd_31`,tooltip:`_tooltip_1m9hd_41`,tooltip__title:`_tooltip__title_1m9hd_54`,tooltip__row:`_tooltip__row_1m9hd_60`,tooltip__dot:`_tooltip__dot_1m9hd_68`,tooltip__label:`_tooltip__label_1m9hd_74`,tooltip__value:`_tooltip__value_1m9hd_75`},Je={sm:180,md:240,lg:320,xl:420},Ye=560,Xe=.3,Ze=.55,Qe=({data:e,size:r=`md`,className:i})=>{let[a,o]=t.default.useState(null),s=t.default.useRef(null),c=S(s),l=c(`--color-chart-1`)??`#ff4700`,u=c(`--color-bg-canvas`)??`#fafaf9`,d=e[0]?.value||1,f=Je[r],p=f*.66,m=p/2+8,h=Ye/e.length,g=e[0]?.value||1,_=e=>e/g*p,v=e.map(e=>_(e.value));v.push(_(e[e.length-1]?.value??0)*Ze);let y=t=>e.length<=1?1:Xe+t/(e.length-1)*(1-Xe),b=a===null?null:e[a],x=a===null?0:m-v[a]/2,C=a===null?0:a*h+h/2;return(0,n.jsxs)(`div`,{ref:s,className:[U.chart,i??``].filter(Boolean).join(` `),style:{height:f},children:[(0,n.jsx)(`svg`,{viewBox:`0 0 ${Ye} ${f}`,width:`100%`,height:f,className:U.svg,children:e.map((e,t)=>{let r=t*h,i=(t+1)*h,s=(r+i)/2,c=v[t]/2,u=v[t+1]/2,f=m-c,p=m-u,g=m+c,_=m+u,b=[`M ${r} ${f}`,`C ${s} ${f} ${s} ${p} ${i} ${p}`,`L ${i} ${_}`,`C ${s} ${_} ${s} ${g} ${r} ${g}`,`Z`].join(` `),x=a===null?y(t):t===a?1:.45,S=Math.round(e.value/d*100);return(0,n.jsxs)(`g`,{className:U.segment,onMouseEnter:()=>o(t),onMouseLeave:()=>o(null),children:[(0,n.jsx)(`path`,{d:b,fill:l,fillOpacity:x}),(0,n.jsxs)(`text`,{x:s,y:m,textAnchor:`middle`,dominantBaseline:`middle`,className:U.pctLabel,children:[S,`%`]})]},t)})}),(0,n.jsx)(`div`,{className:U.labels,style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((e,t)=>(0,n.jsx)(`span`,{className:U.labelItem,children:e.label},t))}),b&&(0,n.jsxs)(`div`,{className:U.tooltip,style:{left:`${C/Ye*100}%`,top:`${x/f*100}%`,background:u},children:[(0,n.jsx)(`span`,{className:U.tooltip__title,children:b.label}),(0,n.jsxs)(`div`,{className:U.tooltip__row,children:[(0,n.jsx)(`span`,{className:U.tooltip__dot,style:{background:l}}),(0,n.jsx)(`span`,{className:U.tooltip__label,children:`Share`}),(0,n.jsxs)(`span`,{className:U.tooltip__value,children:[Math.round(b.value/d*100),`%`]})]})]})]})},W={chart:`_chart_1yc8b_1`,grid:`_grid_1yc8b_6`,rowLabel:`_rowLabel_1yc8b_13`,colLabel:`_colLabel_1yc8b_14`,cell:`_cell_1yc8b_29`,"chart--sm":`_chart--sm_1yc8b_38`,"chart--md":`_chart--md_1yc8b_39`,"chart--lg":`_chart--lg_1yc8b_40`,"chart--xl":`_chart--xl_1yc8b_41`,tooltip:`_tooltip_1yc8b_48`,tooltip__title:`_tooltip__title_1yc8b_70`,tooltip__row:`_tooltip__row_1yc8b_76`,tooltip__dot:`_tooltip__dot_1yc8b_84`,tooltip__label:`_tooltip__label_1yc8b_91`,tooltip__value:`_tooltip__value_1yc8b_92`},$e=.12,et=.45,tt=({data:e,rowLabels:r,colLabels:i,valueLabel:a=`Value`,size:o=`md`,className:s})=>{let c=t.default.useRef(null),l=S(c),u=t.default.useRef(null),[d,f]=t.default.useState(null),p=l(`--color-chart-1`)??`#ff4700`,m=Math.max(1,...e.flat()),h=e[0]?.length??0,g=(e,t,n)=>r=>{let i=r.currentTarget.getBoundingClientRect(),a=u.current?.getBoundingClientRect();a&&f({row:e,col:t,value:n,left:i.left-a.left+i.width/2,top:i.top-a.top})};return(0,n.jsx)(`div`,{ref:c,className:[W.chart,W[`chart--${o}`],s??``].filter(Boolean).join(` `),children:(0,n.jsxs)(`div`,{ref:u,className:W.grid,style:{gridTemplateColumns:`auto repeat(${h}, 1fr)`},children:[e.map((e,i)=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsx)(`span`,{className:W.rowLabel,children:r?.[i]??``}),e.map((e,t)=>{let r=d?.row===i&&d?.col===t,a=d!==null&&!r,o=r?1:$e+e/m*(1-$e);return(0,n.jsx)(`div`,{className:W.cell,style:{background:p,opacity:a?et:o},onMouseEnter:g(i,t,e),onMouseLeave:()=>f(null)},t)})]},i)),i&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{}),i.map((e,t)=>(0,n.jsx)(`span`,{className:W.colLabel,children:e},t))]}),d&&(0,n.jsxs)(`div`,{className:W.tooltip,style:{left:d.left,top:d.top},children:[(0,n.jsx)(`span`,{className:W.tooltip__title,children:[r?.[d.row],i?.[d.col]].filter(Boolean).join(` · `)||`Row ${d.row+1}, Col ${d.col+1}`}),(0,n.jsxs)(`div`,{className:W.tooltip__row,children:[(0,n.jsx)(`span`,{className:W.tooltip__dot}),(0,n.jsx)(`span`,{className:W.tooltip__label,children:a}),(0,n.jsx)(`span`,{className:W.tooltip__value,children:d.value})]})]})]})})},nt={kbd:`_kbd_1cz4m_3`},rt=({children:e,className:t})=>(0,n.jsx)(`kbd`,{className:[nt.kbd,t??``].filter(Boolean).join(` `),children:e}),it={label:`_label_rcdks_3`,label__required:`_label__required_rcdks_17`},at=t.default.forwardRef(({required:e,children:t,className:r,...i},a)=>(0,n.jsxs)(`label`,{ref:a,className:[it.label,r??``].filter(Boolean).join(` `),...i,children:[t,e&&(0,n.jsx)(`span`,{className:it.label__required,"aria-hidden":`true`,children:` *`})]}));at.displayName=`Label`;var ot={chart:`_chart_18fgd_2`},st={sm:180,md:240,lg:320,xl:420},ct=new Set([`dots`,`custom-dots`,`dots-colors`,`label`,`custom-label`]),lt=({data:e,series:r,xKey:a=`label`,variant:o=`default`,labelKey:s,size:c=`md`,height:l,showLegend:u,className:d})=>{let f=t.default.useRef(null),p=S(f),m=[1,2,3,4,5].map(e=>p(`--color-chart-${e}`)??C[e-1]),h=[m[1],m[0],...m.slice(2)],g=p(`--color-border-subtle`)??`#e7e5e1`,_=p(`--color-fg-muted`)??`#78716a`,v=p(`--color-bg-canvas`)??`#fafaf9`,y=p(`--color-fg-default`)??`#141414`,b=o===`linear`?`linear`:o===`step`?`step`:`monotone`,x=ct.has(o),w=e=>t=>{let{cx:r,cy:i}=t;return(0,n.jsxs)(`g`,{stroke:e,strokeWidth:2,strokeLinecap:`round`,children:[(0,n.jsx)(`line`,{x1:r,y1:i-3,x2:r,y2:i-3-6}),(0,n.jsx)(`line`,{x1:r,y1:i+3,x2:r,y2:i+3+6}),(0,n.jsx)(`circle`,{cx:r,cy:i,r:3,fill:e,stroke:`none`})]})},E=e=>{let{cx:t,cy:r,index:i}=e,a=m[(i??0)%m.length];return(0,n.jsx)(`circle`,{cx:t,cy:r,r:4,fill:a,stroke:v,strokeWidth:1.5})},D=t=>{let{x:r,y:i,value:a,index:c}=t,l=o===`custom-label`&&s?e[c]?.[s]:a;return l===void 0?(0,n.jsx)(`g`,{}):(0,n.jsx)(`text`,{x:r,y:i-12,textAnchor:`middle`,fill:y,fontSize:12,fontWeight:500,fontFamily:`var(--font-sans)`,children:l})};return(0,n.jsx)(`div`,{ref:f,className:[ot.chart,d??``].filter(Boolean).join(` `),children:(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:l??st[c],children:(0,n.jsxs)(i.LineChart,{data:e,margin:{top:8,right:8,bottom:8,left:12},children:[(0,n.jsx)(i.CartesianGrid,{strokeDasharray:`3 3`,stroke:g,vertical:!1}),(0,n.jsx)(i.XAxis,{dataKey:a,stroke:_,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,n.jsx)(i.Tooltip,{cursor:{stroke:p(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}}),u&&(0,n.jsx)(i.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),r.map((e,t)=>{let r=h[t%h.length],a=x?o===`custom-dots`?w(r):o===`dots-colors`?E:{r:4,fill:r,stroke:v,strokeWidth:1.5}:!1;return(0,n.jsx)(i.Line,{type:b,dataKey:e,stroke:r,strokeWidth:2,dot:a,activeDot:{r:4,fill:r,stroke:v,strokeWidth:1.5},label:o===`label`||o===`custom-label`?D:void 0},e)})]})})})},G={item:`_item_1b54h_2`,"item--disabled":`_item--disabled_1b54h_16`,"item--selected":`_item--selected_1b54h_17`,item__leading:`_item__leading_1b54h_20`,item__text:`_item__text_1b54h_21`,item__title:`_item__title_1b54h_22`,item__description:`_item__description_1b54h_23`,item__trailing:`_item__trailing_1b54h_24`},ut=({title:e,description:t,leading:r,trailing:i,selected:a,disabled:o,onClick:s,className:c})=>(0,n.jsxs)(`button`,{type:`button`,disabled:o,onClick:s,"aria-current":a?`true`:void 0,className:[G.item,a?G[`item--selected`]:``,o?G[`item--disabled`]:``,c??``].filter(Boolean).join(` `),children:[r&&(0,n.jsx)(`span`,{className:G.item__leading,children:r}),(0,n.jsxs)(`span`,{className:G.item__text,children:[(0,n.jsx)(`span`,{className:G.item__title,children:e}),t&&(0,n.jsx)(`span`,{className:G.item__description,children:t})]}),i&&(0,n.jsx)(`span`,{className:G.item__trailing,children:i})]}),dt={menu:`_menu_psizn_2`,divider:`_divider_psizn_12`},ft=({children:e,minWidth:t=208,className:r,...i})=>(0,n.jsx)(`div`,{role:`menu`,"aria-label":i[`aria-label`],style:{minWidth:t},className:[dt.menu,r??``].filter(Boolean).join(` `),children:e}),pt=()=>(0,n.jsx)(`div`,{className:dt.divider,role:`separator`}),mt={item:`_item_1xzse_2`,item__icon:`_item__icon_1xzse_21`,item__label:`_item__label_1xzse_22`,item__shortcut:`_item__shortcut_1xzse_23`,item__check:`_item__check_1xzse_30`,"item--checked":`_item--checked_1xzse_32`,"item--disabled":`_item--disabled_1xzse_33`,"item--destructive":`_item--destructive_1xzse_34`},ht=({state:t=`default`,icon:i,shortcut:a,children:o,onSelect:s,className:c})=>{let l=t===`disabled`;return(0,n.jsxs)(`div`,{role:`menuitem`,"aria-disabled":l||void 0,"aria-checked":t===`checked`||void 0,tabIndex:l?-1:0,onClick:l?void 0:s,onKeyDown:e=>{l||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),s?.())},className:[mt.item,mt[`item--${t}`],c??``].filter(Boolean).join(` `),children:[i&&(0,n.jsx)(`span`,{className:mt.item__icon,"aria-hidden":`true`,children:i}),(0,n.jsx)(`span`,{className:mt.item__label,children:o}),a&&(0,n.jsx)(`kbd`,{className:mt.item__shortcut,children:a}),t===`checked`&&(0,n.jsx)(r.Check,{size:16,strokeWidth:e.dt(16),className:mt.item__check,"aria-hidden":`true`})]})},gt={chart:`_chart_cc7lx_2`,center:`_center_cc7lx_30`,center__value:`_center__value_cc7lx_39`,center__caption:`_center__caption_cc7lx_40`},_t={sm:{h:180,outer:72},md:{h:220,outer:90},lg:{h:280,outer:116},xl:{h:340,outer:142}},vt=new Set([`donut`,`donut-active`,`donut-with-text`,`interactive`]),yt=new Set([`donut-active`]),bt=new Set([`interactive`]),xt=new Set([`donut-with-text`]),St=Math.PI/180,Ct=({data:e,variant:r=`donut`,size:a=`md`,centerValue:o,centerCaption:s,className:c})=>{let l=t.default.useRef(null),u=S(l),[d,f]=t.default.useState(void 0),p=[1,2,3,4,5].map(e=>u(`--color-chart-${e}`)??C[e-1]),m=u(`--color-bg-surface`)??`#ffffff`,h=u(`--color-fg-default`)??`#141414`,g=_t[a],_=vt.has(r),v=yt.has(r),y=bt.has(r),b=_?g.outer*.6:0,x=xt.has(r)&&(o||s),w=d??(v||y?0:void 0),E=e=>{let{cx:t,cy:r,innerRadius:a,outerRadius:o,startAngle:s,endAngle:c,fill:l,index:u}=e,d=u===w,f=d&&(v||y)?16:0;return d&&y?(0,n.jsxs)(`g`,{children:[(0,n.jsx)(i.Sector,{cx:t,cy:r,innerRadius:a,outerRadius:o+f,startAngle:s,endAngle:c,fill:l}),(0,n.jsx)(i.Sector,{cx:t,cy:r,innerRadius:o+f+3,outerRadius:o+f+7,startAngle:s,endAngle:c,fill:l})]}):(0,n.jsx)(i.Sector,{cx:t,cy:r,innerRadius:a,outerRadius:o+f,startAngle:s,endAngle:c,fill:l})},D=e=>{let{cx:t,cy:n,midAngle:r,outerRadius:i}=e,a=r??0,o=Math.cos(-a*St),s=Math.sin(-a*St),c=t+i*o,l=n+i*s,u=t+(i+16)*o,d=n+(i+16)*s,f=o>=0,p=u+(f?14:-14);return{d:`M ${c} ${l} L ${u} ${d} L ${p} ${d}`,endX:p,endY:d,textAnchor:f?`start`:`end`}},O=e=>{let{value:t,fill:r}=e,{d:i,endX:a,endY:o,textAnchor:s}=D(e),c=a+(s===`start`?4:-4);return(0,n.jsxs)(`g`,{children:[(0,n.jsx)(`path`,{d:i,fill:`none`,stroke:r,strokeWidth:1}),(0,n.jsx)(`text`,{x:c,y:o,textAnchor:s,dominantBaseline:`central`,fill:h,fontSize:12,fontFamily:`var(--font-sans)`,children:t})]})},k=e=>{let{x:t,y:r,textAnchor:i,value:a}=e;return(0,n.jsx)(`text`,{x:t,y:r,textAnchor:i,dominantBaseline:`central`,fill:h,fontSize:20,fontWeight:400,fontFamily:`var(--font-sans)`,children:a})},A=t=>{let{cx:r,cy:i,midAngle:a,innerRadius:o,outerRadius:s,index:c}=t,l=(o+s)/2;return(0,n.jsx)(`text`,{x:r+l*Math.cos(-a*St),y:i+l*Math.sin(-a*St),textAnchor:`middle`,dominantBaseline:`central`,fill:`#fff`,fontSize:11,fontWeight:500,fontFamily:`var(--font-sans)`,children:e[c]?.label})};if(r===`stacked`){let t=e=>d!==void 0&&d!==e?.45:1;return(0,n.jsx)(`div`,{ref:l,className:[gt.chart,c??``].filter(Boolean).join(` `),style:{height:g.h},children:(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(i.PieChart,{children:[(0,n.jsx)(i.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:g.outer*.82,outerRadius:g.outer,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>f(t),onMouseLeave:()=>f(void 0),children:e.map((e,r)=>(0,n.jsx)(i.Cell,{fill:p[r%p.length],fillOpacity:t(r)},r))}),(0,n.jsx)(i.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:0,outerRadius:g.outer*.62,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>f(t),onMouseLeave:()=>f(void 0),children:e.map((e,r)=>(0,n.jsx)(i.Cell,{fill:p[r%p.length],fillOpacity:t(r)},r))}),(0,n.jsx)(i.Tooltip,{content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}})]})})})}return(0,n.jsxs)(`div`,{ref:l,className:[gt.chart,c??``].filter(Boolean).join(` `),style:{height:g.h},children:[(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(i.PieChart,{children:[(0,n.jsx)(i.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:b,outerRadius:g.outer,paddingAngle:0,stroke:r===`pie`?m:`none`,strokeWidth:r===`pie`?2:0,isAnimationActive:!1,shape:v||y?E:void 0,label:r===`label`?O:r===`custom-label`?k:r===`label-list`?A:void 0,labelLine:!1,onMouseEnter:(e,t)=>f(t),onMouseLeave:()=>f(void 0),children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:p[t%p.length]},t))}),(0,n.jsx)(i.Tooltip,{content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}})]})}),x&&(0,n.jsxs)(`div`,{className:gt.center,children:[o&&(0,n.jsx)(`span`,{className:gt.center__value,children:o}),s&&(0,n.jsx)(`span`,{className:gt.center__caption,children:s})]})]})},K={root:`_root_16f5u_2`,trigger:`_trigger_16f5u_3`,panel:`_panel_16f5u_5`,"panel--bottom":`_panel--bottom_16f5u_22`,"panel--bottom-start":`_panel--bottom-start_16f5u_23`,"panel--bottom-end":`_panel--bottom-end_16f5u_24`,"panel--top":`_panel--top_16f5u_25`,"panel--entering":`_panel--entering_16f5u_39`,"sakani-popover-in":`_sakani-popover-in_16f5u_1`,"panel--exiting":`_panel--exiting_16f5u_40`,"sakani-popover-out":`_sakani-popover-out_16f5u_1`,"sakani-popover-in-up":`_sakani-popover-in-up_16f5u_1`,"sakani-popover-out-up":`_sakani-popover-out-up_16f5u_1`,panel__title:`_panel__title_16f5u_75`,panel__description:`_panel__description_16f5u_76`,panel__body:`_panel__body_16f5u_77`,panel__actions:`_panel__actions_16f5u_78`},wt=({trigger:e,title:r,description:i,actions:a,placement:o=`bottom-start`,children:s,className:c})=>{let[l,u]=t.default.useState(!1),[d,f]=t.default.useState(!1),p=t.default.useRef(null),m=t.default.useRef(null);return t.default.useEffect(()=>{l&&f(!0)},[l]),t.default.useEffect(()=>{if(l||!d)return;let e=setTimeout(()=>f(!1),240);return()=>clearTimeout(e)},[l,d]),t.default.useEffect(()=>{if(!l)return;let e=e=>{p.current&&!p.current.contains(e.target)&&u(!1)},t=e=>{e.key===`Escape`&&u(!1)};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[l]),t.default.useEffect(()=>{!l&&m.current&&(m.current.focus(),m.current=null)},[l]),(0,n.jsxs)(`div`,{className:[K.root,c??``].filter(Boolean).join(` `),ref:p,children:[(0,n.jsx)(`span`,{className:K.trigger,onClick:()=>{l||(m.current=document.activeElement),u(e=>!e)},children:e}),d&&(0,n.jsxs)(`div`,{className:[K.panel,K[`panel--${o}`],l?K[`panel--entering`]:K[`panel--exiting`]].filter(Boolean).join(` `),role:`dialog`,onAnimationEnd:e=>{e.target===e.currentTarget&&!l&&f(!1)},children:[r&&(0,n.jsx)(`div`,{className:K.panel__title,children:r}),i&&(0,n.jsx)(`div`,{className:K.panel__description,children:i}),s&&(0,n.jsx)(`div`,{className:K.panel__body,children:s}),a&&(0,n.jsx)(`div`,{className:K.panel__actions,children:a})]})]})},Tt={chart:`_chart_q6xhl_2`,circleFillSvg:`_circleFillSvg_q6xhl_17`},Et={sm:200,md:260,lg:340,xl:420},Dt=new Set([`circle-grid`,`circle-grid-no-lines`,`circle-grid-filled`]),Ot=new Set([`default`,`grid-custom`]),kt=new Set([`dots-grid-none`]),At=new Set([`grid-filled`]),jt=e=>e===`circle-grid-filled`,Mt=new Set([`default`,`dots`,`dots-grid-none`,`circle-grid`,`circle-grid-no-lines`,`multiple`,`custom-label`,`grid-custom`,`grid-filled`,`circle-grid-filled`]),Nt=[1,.8,.6,.4,.2],Pt=({data:e,variant:r=`default`,size:a=`md`,seriesLabels:o=[`Value`,`Value 2`],className:s})=>{let c=t.default.useRef(null),l=S(c),u=l(`--color-chart-1`)??`#ff4700`,d=l(`--color-chart-2`)??`#5b92dd`,f=l(`--color-border-default`)??`#dbdad7`,p=l(`--color-fg-subtle`)??`#a8a29b`,m=r===`multiple`,h=r===`lines-only`,g=m||r===`custom-label`||h,_=!h,v=r===`dots`||r===`dots-grid-none`||r===`circle-grid`||r===`circle-grid-no-lines`,y=At.has(r),b=Ot.has(r),x=kt.has(r),C=jt(r),[w,E]=t.default.useState(0);t.default.useEffect(()=>{if(!C||!c.current)return;let e=c.current,t=new ResizeObserver(([e])=>E(e.contentRect.width));return t.observe(e),()=>t.disconnect()},[C]);let D=t.default.useMemo(()=>{if(!y)return e;let t=Math.max(1,...e.flatMap(e=>[e.value,e.value2??0]));return e.map(e=>{let n={};return Nt.forEach((e,r)=>{n[`ring${r}`]=e*t}),{...e,...n}})},[e,y]),O=t=>{let{x:r,y:i,cx:a,cy:o,payload:s,textAnchor:c}=t,l=e.find(e=>e.label===s?.value)??e[s?.index];if(!l)return(0,n.jsx)(`g`,{});let u=r-a,d=i-o,f=l.value2===void 0?`${l.value}`:`${l.value}/${l.value2}`,m=Math.abs(d)>Math.abs(u),h,g;if(m&&d<0)g=i-4-6,h=g-16;else if(m)h=i+4+10,g=h+18;else{let e=i+d/(Math.sqrt(u*u+d*d)||1)*4;h=e-8,g=e+12}let _=m?r:r+u/Math.sqrt(u*u+d*d||1)*4;return(0,n.jsxs)(`g`,{children:[(0,n.jsx)(`text`,{x:_,y:h,textAnchor:c,fill:p,fontSize:15,fontWeight:600,fontFamily:`var(--font-sans)`,children:f}),(0,n.jsx)(`text`,{x:_,y:g,textAnchor:c,fill:p,fontSize:13,fontFamily:`var(--font-sans)`,children:l.label})]})},k=Et[a],A=(w>0?Math.min(w,k)/2-5:0)*.7;return(0,n.jsxs)(`div`,{ref:c,className:[Tt.chart,s??``].filter(Boolean).join(` `),children:[C&&w>0&&(0,n.jsx)(`svg`,{className:Tt.circleFillSvg,width:w,height:k,children:Nt.map(e=>(0,n.jsx)(`circle`,{cx:w/2,cy:k/2,r:A*e,fill:d,fillOpacity:.1},e))}),(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:k,children:(0,n.jsxs)(i.RadarChart,{data:D,outerRadius:`70%`,children:[!y&&!x&&(0,n.jsx)(i.PolarGrid,{gridType:Dt.has(r)?`circle`:`polygon`,radialLines:r!==`circle-grid-no-lines`&&!b,stroke:f}),(0,n.jsx)(i.PolarAngleAxis,{dataKey:`label`,axisLine:!1,tick:r===`custom-label`?O:{fill:p,fontSize:12,fontFamily:`var(--font-sans)`}}),(0,n.jsx)(i.PolarRadiusAxis,{tick:!1,axisLine:!1,tickCount:b?2:void 0}),(0,n.jsx)(i.Tooltip,{content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}}),m&&(0,n.jsx)(i.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),y&&Nt.map((e,t)=>(0,n.jsx)(i.Radar,{dataKey:`ring${t}`,stroke:`none`,fill:d,fillOpacity:.1,isAnimationActive:!1,legendType:`none`},`ring${t}`)),(0,n.jsx)(i.Radar,{name:m?o[0]??`Value`:void 0,dataKey:`value`,stroke:Mt.has(r)?`none`:d,fill:_?d:`none`,fillOpacity:_?b?1:g?.45:.5:0,strokeWidth:Mt.has(r)?0:2,dot:v?{r:4,fill:d,stroke:`none`}:!1,isAnimationActive:!1}),g&&(0,n.jsx)(i.Radar,{name:m?o[1]??`Value 2`:void 0,dataKey:`value2`,stroke:h?u:`none`,fill:h?`none`:u,fillOpacity:h?0:.8,strokeWidth:h?2:0,dot:v?{r:4,fill:u,stroke:`none`}:!1,isAnimationActive:!1})]})})]})},q={chart:`_chart_1ogmh_2`,gridSvg:`_gridSvg_1ogmh_19`,gaugeSvg:`_gaugeSvg_1ogmh_31`,center:`_center_1ogmh_36`,center__value:`_center__value_1ogmh_45`,center__caption:`_center__caption_1ogmh_46`},Ft={sm:180,md:220,lg:280,xl:340},It=Math.PI/180,Lt=e=>Math.round(e*1e3)/1e3,Rt={multi:[`30%`,`100%`],grid:[`30%`,`100%`],"stacked-label":[`30%`,`100%`],text:[`76%`,`100%`]},zt=({value:e,max:t,color:r,track:i,centerValue:a,centerCaption:o,labelColor:s,captionColor:c})=>{let l=Math.round(Math.min(e,t)/t*40);return(0,n.jsxs)(`svg`,{viewBox:`0 0 200 120`,className:q.gaugeSvg,children:[Array.from({length:40}).map((e,t)=>{let a=180+t/39*180;return(0,n.jsx)(`line`,{x1:Lt(100+78*Math.cos(a*It)),y1:Lt(100+78*Math.sin(a*It)),x2:Lt(100+92*Math.cos(a*It)),y2:Lt(100+92*Math.sin(a*It)),stroke:t<l?r:i,strokeWidth:2.5,strokeLinecap:`round`},t)}),(a||o)&&(0,n.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[a&&(0,n.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:a}),o&&(0,n.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},Bt=({rings:e,spokes:t,color:r})=>(0,n.jsxs)(`svg`,{viewBox:`0 0 200 200`,className:q.gridSvg,children:[Array.from({length:e}).map((t,i)=>(0,n.jsx)(`circle`,{cx:100,cy:100,r:(i+1)/e*96,fill:`none`,stroke:r,strokeWidth:1},i)),Array.from({length:t}).map((e,i)=>{let a=i/t*360,o=99.5*1.1;return(0,n.jsx)(`line`,{x1:100,y1:100,x2:Lt(100+o*Math.cos(a*It)),y2:Lt(100+o*Math.sin(a*It)),stroke:r,strokeWidth:1},i)})]}),Vt=({data:e,palette:t,track:r,centerValue:a,centerCaption:o,labelColor:s,captionColor:c})=>{let l=e[0]?.max??e.reduce((e,t)=>e+t.value,0),u=210,d=e.map((e,n)=>{let r=l>0?e.value/l*240:0,i=u,a=u-r;return u=a,{segStart:i,segEnd:a,fill:t[n%t.length]}});return(0,n.jsxs)(`svg`,{viewBox:`0 0 200 160`,className:q.gaugeSvg,children:[d.map((e,t)=>(0,n.jsx)(i.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:e.segStart,endAngle:e.segEnd,fill:e.fill,cornerRadius:4},t)),u>-29.5&&(0,n.jsx)(i.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:u,endAngle:-30,fill:r,cornerRadius:4}),(a||o)&&(0,n.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[a&&(0,n.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:a}),o&&(0,n.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},Ht=({data:e,variant:r=`multi`,size:a=`md`,centerValue:o,centerCaption:s,className:c})=>{let l=t.default.useRef(null),u=S(l),d=[1,2,3,4,5].map(e=>u(`--color-chart-${e}`)??C[e-1]),f=u(`--color-bg-subtle`)??`#f5f4f2`,p=u(`--color-border-subtle`)??`#e7e5e1`,m=u(`--color-fg-default`)??`#141414`,h=u(`--color-fg-muted`)??`#78716a`,g=Ft[a];if(r===`gauge-tick`){let t=e[0];return(0,n.jsx)(`div`,{ref:l,className:[q.chart,c??``].filter(Boolean).join(` `),style:{height:g},children:(0,n.jsx)(zt,{value:t?.value??0,max:t?.max??100,color:d[0],track:f,centerValue:o,centerCaption:s,labelColor:m,captionColor:h})})}if(r===`shape`||r===`stacked`||r===`stacked-3-layers`)return(0,n.jsx)(`div`,{ref:l,className:[q.chart,c??``].filter(Boolean).join(` `),style:{height:g},children:(0,n.jsx)(Vt,{data:e,palette:d,track:f,centerValue:o,centerCaption:s,labelColor:m,captionColor:h})});let[_,v]=Rt[r]??[`30%`,`100%`],y=(r===`stacked-label`||r===`text`)&&(o||s);return(0,n.jsxs)(`div`,{ref:l,className:[q.chart,c??``].filter(Boolean).join(` `),style:{height:g},children:[r===`grid`&&(0,n.jsx)(Bt,{rings:8,spokes:12,color:p}),(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(i.RadialBarChart,{data:e,innerRadius:_,outerRadius:v,startAngle:90,endAngle:-270,barCategoryGap:`12%`,children:[(0,n.jsx)(i.PolarAngleAxis,{type:`number`,domain:[0,e[0]?.max??100],tick:!1,axisLine:!1}),(0,n.jsx)(i.RadialBar,{dataKey:`value`,background:r!==`grid`&&{fill:f},cornerRadius:8,isAnimationActive:!1,children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:d[t%d.length]},t))})]})}),y&&(0,n.jsxs)(`div`,{className:q.center,children:[o&&(0,n.jsx)(`span`,{className:q.center__value,children:o}),s&&(0,n.jsx)(`span`,{className:q.center__caption,children:s})]})]})},J={wrapper:`_wrapper_5ueza_3`,"wrapper--disabled":`_wrapper--disabled_5ueza_11`,input:`_input_5ueza_13`,circle:`_circle_5ueza_15`,dot:`_dot_5ueza_31`,text:`_text_5ueza_79`,text__label:`_text__label_5ueza_80`,text__description:`_text__description_5ueza_81`,"wrapper--withDescription":`_wrapper--withDescription_5ueza_85`},Ut=t.default.forwardRef(({label:e,description:r,disabled:i,id:a,className:o,...s},c)=>{let l=t.default.useId(),u=a??l;return(0,n.jsxs)(`label`,{htmlFor:u,className:[J.wrapper,r?J[`wrapper--withDescription`]:``,i?J[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`input`,{ref:c,id:u,type:`radio`,disabled:i,className:J.input,...s}),(0,n.jsx)(`span`,{className:J.circle,"aria-hidden":`true`,children:(0,n.jsx)(`span`,{className:J.dot})}),(e||r)&&(0,n.jsxs)(`span`,{className:J.text,children:[e&&(0,n.jsx)(`span`,{className:J.text__label,children:e}),r&&(0,n.jsx)(`span`,{className:J.text__description,children:r})]})]})});Ut.displayName=`Radio`;var Y={footer:`_footer_sh6kz_4`,"footer--collapsed":`_footer--collapsed_sh6kz_12`,footer__text:`_footer__text_sh6kz_14`,footer__title:`_footer__title_sh6kz_15`,footer__subtitle:`_footer__subtitle_sh6kz_16`,footer__menu:`_footer__menu_sh6kz_17`,footer__action:`_footer__action_sh6kz_24`},Wt=({type:t=`user`,title:i,subtitle:a,avatarSrc:o,avatarInitials:s,collapsed:c,onMenu:l,onSignOut:u})=>{let d=(0,n.jsx)(e.ct,{size:`sm`,src:o,initials:s,alt:i??`User`});return c?(0,n.jsx)(`div`,{className:[Y.footer,Y[`footer--collapsed`]].join(` `),children:d}):t===`actions`?(0,n.jsx)(`div`,{className:Y.footer,children:(0,n.jsxs)(`button`,{type:`button`,className:Y.footer__action,onClick:u,children:[(0,n.jsx)(r.LogOut,{size:16,strokeWidth:e.dt(16)}),` Sign out`]})}):(0,n.jsxs)(`div`,{className:Y.footer,children:[d,(0,n.jsxs)(`span`,{className:Y.footer__text,children:[i&&(0,n.jsx)(`span`,{className:Y.footer__title,children:i}),a&&(0,n.jsx)(`span`,{className:Y.footer__subtitle,children:a})]}),t===`user-menu`&&(0,n.jsx)(`button`,{type:`button`,className:Y.footer__menu,onClick:l,"aria-label":`Open menu`,children:(0,n.jsx)(r.EllipsisVertical,{size:16,strokeWidth:e.dt(16)})})]})},X={promo:`_promo_1dicm_4`,promo__head:`_promo__head_1dicm_15`,promo__icon:`_promo__icon_1dicm_16`,promo__title:`_promo__title_1dicm_17`,promo__dismiss:`_promo__dismiss_1dicm_18`,promo__desc:`_promo__desc_1dicm_25`,promo__cta:`_promo__cta_1dicm_28`},Gt=({type:t=`upgrade`,title:i,description:a,ctaLabel:o,onCta:s,onDismiss:c,icon:l=r.Sparkles})=>(0,n.jsxs)(`div`,{className:[X.promo,X[`promo--${t}`]].join(` `),children:[(0,n.jsxs)(`div`,{className:X.promo__head,children:[(0,n.jsx)(`span`,{className:X.promo__icon,"aria-hidden":`true`,children:(0,n.jsx)(l,{size:16,strokeWidth:e.dt(16)})}),(0,n.jsx)(`span`,{className:X.promo__title,children:i}),c&&(0,n.jsx)(`button`,{type:`button`,className:X.promo__dismiss,onClick:c,"aria-label":`Dismiss`,children:(0,n.jsx)(r.X,{size:14,strokeWidth:e.dt(14)})})]}),a&&(0,n.jsx)(`p`,{className:X.promo__desc,children:a}),o&&(0,n.jsx)(`button`,{type:`button`,className:X.promo__cta,onClick:s,children:o})]}),Z={search:`_search_cvwic_2`,search__icon:`_search__icon_cvwic_18`,search__input:`_search__input_cvwic_19`,search__placeholder:`_search__placeholder_cvwic_31`,search__kbd:`_search__kbd_cvwic_32`,collapsed:`_collapsed_cvwic_42`},Kt=({type:t=`field`,placeholder:i=`Search…`,collapsed:a,value:o,onChange:s,onClick:c})=>a?(0,n.jsx)(`button`,{type:`button`,className:Z.collapsed,onClick:c,"aria-label":`Search`,children:(0,n.jsx)(r.Search,{size:18,strokeWidth:e.dt(18)})}):t===`command`?(0,n.jsxs)(`button`,{type:`button`,className:Z.search,onClick:c,children:[(0,n.jsx)(r.Search,{size:16,strokeWidth:e.dt(16),className:Z.search__icon}),(0,n.jsx)(`span`,{className:Z.search__placeholder,children:i}),(0,n.jsx)(`kbd`,{className:Z.search__kbd,children:`⌘K`})]}):(0,n.jsxs)(`div`,{className:Z.search,children:[(0,n.jsx)(r.Search,{size:16,strokeWidth:e.dt(16),className:Z.search__icon}),(0,n.jsx)(`input`,{className:Z.search__input,placeholder:i,value:o,onChange:e=>s?.(e.target.value)})]}),qt={spinner:`_spinner_14r00_3`,"spinner--sm":`_spinner--sm_14r00_12`,"spinner--md":`_spinner--md_14r00_13`,"spinner--lg":`_spinner--lg_14r00_14`,spinner__svg:`_spinner__svg_14r00_17`,"spinner-rotate":`_spinner-rotate_14r00_1`},Jt=({size:e=`md`,label:t=`Loading...`,className:r})=>(0,n.jsx)(`span`,{role:`status`,"aria-label":t,className:[qt.spinner,qt[`spinner--${e}`],r??``].filter(Boolean).join(` `),children:(0,n.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.5,strokeLinecap:`round`,"aria-hidden":`true`,className:qt.spinner__svg,children:[(0,n.jsx)(`circle`,{cx:12,cy:12,r:9,opacity:.2}),(0,n.jsx)(`path`,{d:`M12 3a9 9 0 0 1 9 9`,className:qt.spinner__arc})]})}),Q={card:`_card_bjfuf_4`,"card--featured":`_card--featured_bjfuf_17`,card__head:`_card__head_bjfuf_19`,card__icon:`_card__icon_bjfuf_20`,card__title:`_card__title_bjfuf_28`,card__menu:`_card__menu_bjfuf_29`,card__value:`_card__value_bjfuf_37`,card__meta:`_card__meta_bjfuf_46`,card__sparkline:`_card__sparkline_bjfuf_53`,"card--trend-up":`_card--trend-up_bjfuf_55`,"card--trend-down":`_card--trend-down_bjfuf_56`,card__description:`_card__description_bjfuf_59`},Yt={up:r.TrendingUp,down:r.TrendingDown,flat:r.Minus},Xt={up:`success`,down:`danger`,flat:`neutral`},Zt=({data:e})=>{if(e.length<2)return null;let t=Math.min(...e),r=Math.max(...e)-t||1,i=e.map((n,i)=>`${i/(e.length-1)*100},${30-(n-t)/r*26}`).join(` `);return(0,n.jsx)(`svg`,{className:Qt,viewBox:`0 0 100 32`,preserveAspectRatio:`none`,"aria-hidden":`true`,children:(0,n.jsx)(`polyline`,{points:i,fill:`none`,strokeWidth:2,vectorEffect:`non-scaling-stroke`,strokeLinejoin:`round`,strokeLinecap:`round`})})},Qt=Q.card__sparkline,$t=({title:t,value:i,description:a,sparkline:o,delta:s,trend:c=`up`,badgeVariant:l,variant:u=`minimal`,icon:d,showMenu:f,onMenu:p,className:m})=>{let h=Yt[c],g=(u===`icon`||u===`featured`)&&d;return(0,n.jsxs)(`div`,{className:[Q.card,Q[`card--${u}`],Q[`card--trend-${c}`],m??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:Q.card__head,children:[g&&(0,n.jsx)(`span`,{className:Q.card__icon,"aria-hidden":`true`,children:(0,n.jsx)(d,{size:18,strokeWidth:e.dt(18)})}),(0,n.jsx)(`span`,{className:Q.card__title,children:t}),f&&(0,n.jsx)(`button`,{type:`button`,className:Q.card__menu,onClick:p,"aria-label":`More options`,children:(0,n.jsx)(r.MoreHorizontal,{size:16,strokeWidth:e.dt(16)})})]}),(0,n.jsx)(`div`,{className:Q.card__value,children:i}),o&&(0,n.jsx)(Zt,{data:o}),(s||a)&&(0,n.jsxs)(`div`,{className:Q.card__meta,children:[s&&(0,n.jsx)(e.J,{variant:l??Xt[c],leftIcon:(0,n.jsx)(h,{size:12,strokeWidth:2}),children:s}),a&&(0,n.jsx)(`p`,{className:Q.card__description,children:a})]})]})},$={stepper:`_stepper_kxw14_3`,"stepper--horizontal":`_stepper--horizontal_kxw14_4`,"stepper--vertical":`_stepper--vertical_kxw14_5`,step:`_step_kxw14_3`,"step--horizontal":`_step--horizontal_kxw14_8`,"step--vertical":`_step--vertical_kxw14_9`,circle:`_circle_kxw14_12`,circle__num:`_circle__num_kxw14_24`,"circle--completed":`_circle--completed_kxw14_26`,"circle--current":`_circle--current_kxw14_27`,"circle--upcoming":`_circle--upcoming_kxw14_32`,step__text:`_step__text_kxw14_39`,step__label:`_step__label_kxw14_40`,"step__label--current":`_step__label--current_kxw14_41`,"step__label--upcoming":`_step__label--upcoming_kxw14_42`,step__desc:`_step__desc_kxw14_43`,connector:`_connector_kxw14_46`,"connector--horizontal":`_connector--horizontal_kxw14_47`,"connector--vertical":`_connector--vertical_kxw14_48`,"connector--filled":`_connector--filled_kxw14_49`},en=({index:t,state:i,label:a,description:o,orientation:s=`horizontal`})=>(0,n.jsxs)(`div`,{className:[$.step,$[`step--${s}`]].join(` `),children:[(0,n.jsx)(`span`,{className:[$.circle,$[`circle--${i}`]].join(` `),"aria-hidden":`true`,children:i===`completed`?(0,n.jsx)(r.Check,{size:14,strokeWidth:e.dt(14)}):(0,n.jsx)(`span`,{className:$.circle__num,children:t+1})}),(0,n.jsxs)(`span`,{className:$.step__text,children:[(0,n.jsx)(`span`,{className:[$.step__label,i===`current`?$[`step__label--current`]:``,i===`upcoming`?$[`step__label--upcoming`]:``].filter(Boolean).join(` `),children:a}),o&&(0,n.jsx)(`span`,{className:$.step__desc,children:o})]})]}),tn=({steps:e,current:r,orientation:i=`horizontal`,className:a})=>{let o=e=>e<r?`completed`:e===r?`current`:`upcoming`;return(0,n.jsx)(`div`,{className:[$.stepper,$[`stepper--${i}`],a??``].filter(Boolean).join(` `),children:e.map((a,s)=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsx)(en,{index:s,state:o(s),label:a.label,description:a.description,orientation:i}),s<e.length-1&&(0,n.jsx)(`span`,{className:[$.connector,$[`connector--${i}`],s<r?$[`connector--filled`]:``].filter(Boolean).join(` `),"aria-hidden":`true`})]},s))})},nn={wrapper:`_wrapper_bkgd3_3`,"wrapper--disabled":`_wrapper--disabled_bkgd3_11`,input:`_input_bkgd3_13`,track:`_track_bkgd3_15`,thumb:`_thumb_bkgd3_28`,label:`_label_bkgd3_45`},rn=t.default.forwardRef(({label:e,disabled:r,id:i,className:a,...o},s)=>{let c=t.default.useId(),l=i??c;return(0,n.jsxs)(`label`,{htmlFor:l,className:[nn.wrapper,r?nn[`wrapper--disabled`]:``,a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`input`,{ref:s,id:l,type:`checkbox`,role:`switch`,disabled:r,className:nn.input,...o}),(0,n.jsx)(`span`,{className:nn.track,"aria-hidden":`true`,children:(0,n.jsx)(`span`,{className:nn.thumb})}),e&&(0,n.jsx)(`span`,{className:nn.label,children:e})]})});rn.displayName=`Switch`;var an={field:`_field_644oy_6`,field__label:`_field__label_644oy_8`,field__description:`_field__description_644oy_9`,field__error:`_field__error_644oy_10`,textarea:`_textarea_644oy_12`,"textarea--error":`_textarea--error_644oy_37`,"textarea--disabled":`_textarea--disabled_644oy_43`},on=t.default.forwardRef(({label:e,description:r,error:i,disabled:a,id:o,className:s,rows:c=4,...l},u)=>{let d=t.default.useId(),f=o??d,p=!!i;return(0,n.jsxs)(`div`,{className:[an.field,s??``].filter(Boolean).join(` `),children:[e&&(0,n.jsx)(`label`,{htmlFor:f,className:an.field__label,children:e}),(0,n.jsx)(`textarea`,{ref:u,id:f,rows:c,disabled:a,"aria-invalid":p||void 0,className:[an.textarea,p?an[`textarea--error`]:``,a?an[`textarea--disabled`]:``].filter(Boolean).join(` `),...l}),(r||i)&&(0,n.jsx)(`span`,{className:p?an.field__error:an.field__description,children:i||r})]})});on.displayName=`Textarea`;var sn={toast:`_toast_8yqwj_3`,toast__icon:`_toast__icon_8yqwj_17`,"toast--success":`_toast--success_8yqwj_18`,"toast--error":`_toast--error_8yqwj_19`,"toast--info":`_toast--info_8yqwj_20`,toast__content:`_toast__content_8yqwj_22`,toast__title:`_toast__title_8yqwj_23`,toast__description:`_toast__description_8yqwj_24`,toast__dismiss:`_toast__dismiss_8yqwj_26`},cn={success:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,n.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),error:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,n.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),info:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,n.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]})},ln=({status:t=`info`,title:r,description:i,onDismiss:a,className:o})=>(0,n.jsxs)(`div`,{role:t===`error`?`alert`:`status`,"aria-live":t===`error`?`assertive`:`polite`,className:[sn.toast,sn[`toast--${t}`],o??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:sn.toast__icon,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:e.dt(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:cn[t]})}),(0,n.jsxs)(`div`,{className:sn.toast__content,children:[r&&(0,n.jsx)(`div`,{className:sn.toast__title,children:r}),i&&(0,n.jsx)(`div`,{className:sn.toast__description,children:i})]}),a&&(0,n.jsx)(`button`,{type:`button`,className:sn.toast__dismiss,onClick:a,"aria-label":`Dismiss`,children:(0,n.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:e.dt(16),strokeLinecap:`round`,strokeLinejoin:`round`,width:16,height:16,children:[(0,n.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,n.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})]}),un={bar:`_bar_14cqo_2`,bar__icon:`_bar__icon_14cqo_10`,bar__title:`_bar__title_14cqo_17`,"bar__title--center":`_bar__title--center_14cqo_21`,bar__search:`_bar__search_14cqo_22`},dn=({type:t=`title`,title:i,trailing:a,search:o,onMenu:s,onAction:c,onClose:l,className:u})=>(0,n.jsxs)(`header`,{className:[un.bar,u??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`button`,{type:`button`,className:un.bar__icon,onClick:s,"aria-label":`Open menu`,children:(0,n.jsx)(r.Menu,{size:18,strokeWidth:e.dt(18)})}),t===`search`?(0,n.jsx)(`div`,{className:un.bar__search,children:o}):(0,n.jsx)(`span`,{className:[un.bar__title,t===`title-centered`?un[`bar__title--center`]:``].join(` `),children:i}),t===`title-action`&&(0,n.jsx)(`button`,{type:`button`,className:un.bar__icon,onClick:c,"aria-label":`Add`,children:(0,n.jsx)(r.Plus,{size:18,strokeWidth:e.dt(18)})}),t===`search`&&(0,n.jsx)(`button`,{type:`button`,className:un.bar__icon,onClick:l,"aria-label":`Close search`,children:(0,n.jsx)(r.X,{size:18,strokeWidth:e.dt(18)})}),(t===`title`||t===`title-centered`)&&a]});exports.Accordion=e.lt,exports.AccordionItem=e.ut,exports.ActivityFeed=e.ot,exports.ActivityFeedHighlight=e.st,exports.Alert=e.E,exports.Announcement=o,exports.AreaChart=Pe,exports.Avatar=e.ct,exports.AvatarGroup=e.j,exports.AvatarUpload=e.nt,exports.Badge=e.J,exports.Balance=e.tt,exports.BarChart=A,exports.BlogBlockquote=le,exports.BlogFeatureText=de,exports.BlogImage=pe,exports.BlogListingCard=e.P,exports.BlogListingFeaturedCard=e.N,exports.BoardCard=e.T,exports.BoardColumn=Fe,exports.Breadcrumb=e.w,exports.Button=e.rt,exports.Calendar=Be,exports.Card=He,exports.CardMetaItem=e.C,exports.CartItem=e.K,exports.ChatComposer=e.S,exports.Checkbox=e.x,exports.CheckoutSteps=e.W,exports.CodeSnippet=d,exports.ColorSwatch=e.H,exports.Combobox=Ue,exports.ConversationItem=e.b,exports.DEFAULT_CHECKOUT_STEPS=e.G,exports.Divider=e.$,exports.DonutChart=Ke,exports.EmptyState=e.y,exports.Expenses=m,exports.FeaturedIcon=e.M,exports.FileUpload=qe,exports.FilterChip=e.v,exports.FirstPageHeading=me,exports.FunnelChart=Qe,exports.HeatmapChart=tt,exports.IconButton=e.it,exports.InlineHint=_,exports.Input=e._,exports.JobListing=e.k,exports.Kbd=rt,exports.Label=at,exports.LineChart=lt,exports.Link=e.at,exports.List=ge,exports.ListItem=ut,exports.LocationDot=e.A,exports.Marquee=ye,exports.Menu=ft,exports.MenuDivider=pt,exports.MenuItem=ht,exports.MessageBubble=e.g,exports.Metric=xe,exports.MobileNavigationMenu=Se,exports.Modal=e.Q,exports.NotificationItem=e.Z,exports.Pagination=e.h,exports.PieChart=Ct,exports.PlaceholderLogo=Te,exports.Popover=wt,exports.PriceDisplay=e.V,exports.ProductCard=e.z,exports.ProductGallery=e.R,exports.ProfileCard=Ee,exports.Progress=e.et,exports.ProgressItem=y,exports.ProgressStat=e.X,exports.QuantitySelector=e.q,exports.RadarChart=Pt,exports.RadialChart=Ht,exports.Radio=Ut,exports.RichSeparator=x,exports.RichTextHeading=Oe,exports.RichTextParagraph=Ae,exports.SectionHeading=e.O,exports.SegmentedControl=e.m,exports.Select=e.p,exports.Sidebar=e.f,exports.SidebarDivider=e.d,exports.SidebarFooter=Wt,exports.SidebarGroupLabel=e.u,exports.SidebarHeader=e.l,exports.SidebarItem=e.c,exports.SidebarPromo=Gt,exports.SidebarSearch=Kt,exports.SidebarSubItem=e.s,exports.SizeSelector=e.L,exports.Skeleton=e.o,exports.Slider=e.a,exports.SpendingBalance=e.Y,exports.Spinner=Jt,exports.StarRating=e.I,exports.StatCard=$t,exports.Stepper=tn,exports.StepperStep=en,exports.StockMarket=te,exports.StockStatus=e.F,exports.SubFeature=je,exports.Switch=rn,exports.Table=e.i,exports.Tabs=e.r,exports.Tags=re,exports.TeamCard=e.D,exports.Textarea=on,exports.Ticker=oe,exports.Toast=ln,exports.Tooltip=e.n,exports.TopBar=e.t,exports.TopBarMobile=dn,exports.Transactions=ce,exports.WishlistButton=e.B,exports.getContrastColor=e.U,exports.iconStrokeWidth=e.dt;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./TopBar-CHcy31ZW.cjs");let t=require("react");t=e.ft(t,1);let n=require("react/jsx-runtime"),r=require("lucide-react"),i=require("recharts");var a={announcement:`_announcement_1ba3c_1`,"announcement--neutral":`_announcement--neutral_1ba3c_13`,"announcement--urgent":`_announcement--urgent_1ba3c_16`,content:`_content_1ba3c_20`,icon:`_icon_1ba3c_28`,icon__neutral:`_icon__neutral_1ba3c_32`,message:`_message_1ba3c_36`,link:`_link_1ba3c_52`},o=({message:t,linkLabel:i,linkHref:o,onLinkClick:s,onDismiss:c,variant:l=`neutral`,className:u})=>{let d=l===`urgent`;return(0,n.jsxs)(`div`,{className:[a.announcement,a[`announcement--${l}`],u??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:a.content,children:[(0,n.jsx)(`span`,{className:a.icon,"aria-hidden":`true`,children:d?(0,n.jsx)(r.TriangleAlert,{size:24,strokeWidth:1.5,style:{fill:`var(--color-info-solid)`,stroke:`var(--color-info-bg)`}}):(0,n.jsx)(r.Sparkles,{size:24,strokeWidth:1.5,fill:`currentColor`,stroke:`currentColor`,className:a.icon__neutral})}),(0,n.jsx)(`p`,{className:a.message,children:t}),!d&&i&&(0,n.jsx)(e.at,{href:o,onClick:s,className:a.link,style:{color:`var(--color-brand-fg)`,fontSize:16,lineHeight:`24px`},children:i})]}),c&&(0,n.jsx)(e.it,{icon:r.X,size:`sm`,variant:`ghost`,"aria-label":`Dismiss`,onClick:c})]})},s={snippet:`_snippet_1ao90_1`,header:`_header_1ao90_12`,filename:`_filename_1ao90_19`,body:`_body_1ao90_31`,tokenKeyword:`_tokenKeyword_1ao90_42`,tokenString:`_tokenString_1ao90_43`,editableBody:`_editableBody_1ao90_50`,textarea:`_textarea_1ao90_55`},c=[`import`,`export`,`from`,`default`,`function`,`return`,`const`,`let`,`var`,`if`,`else`,`for`,`while`,`class`,`extends`,`new`,`async`,`await`,`as`,`of`,`in`],l=RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${c.join(`|`)})\\b)`,`g`),u=e=>e.split(l).map((e,r)=>{if(!e)return null;let i=/^['"`]/.test(e),a=!i&&c.includes(e);return i?(0,n.jsx)(`span`,{className:s.tokenString,children:e},r):a?(0,n.jsx)(`span`,{className:s.tokenKeyword,children:e},r):(0,n.jsx)(t.default.Fragment,{children:e},r)}),d=({code:i,filename:a,onCopy:o,editable:c=!1,onChange:l,placeholder:d,className:f})=>{let[p,m]=t.default.useState(!1),[h,g]=t.default.useState(i);t.default.useEffect(()=>g(i),[i]);let _=()=>{navigator.clipboard?.writeText(h),o?.(h),m(!0),window.setTimeout(()=>m(!1),1500)},v=e=>{g(e),l?.(e)},y=c?(0,n.jsxs)(`div`,{className:s.editableBody,children:[(0,n.jsx)(`pre`,{className:s.body,"aria-hidden":`true`,children:u(h)}),(0,n.jsx)(`textarea`,{className:s.textarea,value:h,placeholder:d,spellCheck:!1,onChange:e=>v(e.target.value),onKeyDown:e=>{if(e.key!==`Tab`)return;e.preventDefault();let t=e.currentTarget,{selectionStart:n,selectionEnd:r}=t,i=`${h.slice(0,n)} ${h.slice(r)}`;v(i),requestAnimationFrame(()=>{t.selectionStart=t.selectionEnd=n+2})}})]}):(0,n.jsx)(`pre`,{className:s.body,children:u(h)});return a?(0,n.jsxs)(`div`,{className:[s.snippet,f??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:s.header,children:[(0,n.jsx)(`p`,{className:s.filename,children:a}),(0,n.jsx)(e.it,{icon:p?r.Check:r.Copy,variant:`ghost`,size:`sm`,"aria-label":p?`Copied`:`Copy code`,onClick:_})]}),y]}):(0,n.jsx)(`div`,{className:[s.snippet,f??``].filter(Boolean).join(` `),children:y})},f={expenses:`_expenses_1imiq_1`,row:`_row_1imiq_10`,top:`_top_1imiq_18`,left:`_left_1imiq_26`,icon:`_icon_1imiq_32`,label:`_label_1imiq_44`,amount:`_amount_1imiq_55`},p=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),m=({categories:t,variant:r=`default`,formatAmount:i=p,className:a})=>{let o=r===`compact`,s=Math.max(1,...t.map(e=>e.amount));return(0,n.jsx)(`div`,{className:[f.expenses,a??``].filter(Boolean).join(` `),children:t.map((t,r)=>(0,n.jsxs)(`div`,{className:f.row,children:[(0,n.jsxs)(`div`,{className:f.top,children:[(0,n.jsxs)(`div`,{className:f.left,children:[(0,n.jsx)(`span`,{className:f.icon,"aria-hidden":`true`,children:t.icon}),(0,n.jsx)(`p`,{className:f.label,children:t.label})]}),(0,n.jsx)(`p`,{className:f.amount,children:i(t.amount)})]}),!o&&(0,n.jsx)(e.et,{value:t.amount/s*100,size:`lg`,label:`${t.label} spending`})]},t.id??r))})},h={hint:`_hint_49nyi_1`,bar:`_bar_49nyi_9`,"hint--neutral":`_hint--neutral_49nyi_15`,"hint--warning":`_hint--warning_49nyi_16`,icon:`_icon_49nyi_18`,message:`_message_49nyi_24`},g=14,_=({message:t,variant:i=`neutral`,className:a})=>{let o=i===`warning`?r.TriangleAlert:r.Info;return(0,n.jsxs)(`div`,{className:[h.hint,h[`hint--${i}`],a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:h.bar,"aria-hidden":`true`}),(0,n.jsx)(o,{size:g,strokeWidth:e.dt(g),className:h.icon}),(0,n.jsx)(`p`,{className:h.message,children:t})]})},v={item:`_item_mg6gs_1`,"item--horizontal":`_item--horizontal_mg6gs_6`,"item--vertical":`_item--vertical_mg6gs_11`,value:`_value_mg6gs_16`,topRow:`_topRow_mg6gs_31`,connectorHorizontal:`_connectorHorizontal_mg6gs_36`,rail:`_rail_mg6gs_44`,connectorVertical:`_connectorVertical_mg6gs_51`,text:`_text_mg6gs_59`,title:`_title_mg6gs_65`,description:`_description_mg6gs_73`},y=({step:t,title:i,description:a,completed:o=!1,orientation:s=`horizontal`,isLast:c=!1,className:l})=>{let u=s===`vertical`,d=(0,n.jsx)(`span`,{className:v.value,"aria-hidden":`true`,children:o?(0,n.jsx)(r.Check,{size:14,strokeWidth:e.dt(14)}):t}),f=(0,n.jsxs)(`div`,{className:v.text,children:[(0,n.jsx)(`p`,{className:v.title,children:i}),a&&(0,n.jsx)(`p`,{className:v.description,children:a})]});return u?(0,n.jsxs)(`div`,{className:[v.item,v[`item--vertical`],l??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:v.rail,children:[d,!c&&(0,n.jsx)(`div`,{className:v.connectorVertical})]}),f]}):(0,n.jsxs)(`div`,{className:[v.item,v[`item--horizontal`],l??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:v.topRow,children:[d,!c&&(0,n.jsx)(`div`,{className:v.connectorHorizontal})]}),f]})},b={separator:`_separator_pcfo8_1`,line:`_line_pcfo8_9`,overline:`_overline_pcfo8_19`,badge:`_badge_pcfo8_31`,iconWrap:`_iconWrap_pcfo8_37`},x=({children:t,label:r,className:i})=>(0,n.jsxs)(`div`,{className:[b.separator,i??``].filter(Boolean).join(` `),role:`separator`,children:[(0,n.jsx)(e.$,{className:b.line}),t??(r&&(0,n.jsx)(`span`,{className:b.overline,children:r})),(0,n.jsx)(e.$,{className:b.line})]});function S(e){let[,n]=(0,t.useState)(0);return(0,t.useEffect)(()=>{if(typeof document>`u`)return;n(e=>e+1);let t=new MutationObserver(()=>n(e=>e+1)),r=new Set([document.documentElement]);for(let t=e.current;t;t=t.parentElement)r.add(t);return r.forEach(e=>t.observe(e,{attributes:!0,attributeFilter:[`class`]})),()=>t.disconnect()},[e]),t=>{if(typeof window>`u`)return;let n=e.current??document.documentElement;return getComputedStyle(n).getPropertyValue(t).trim()||void 0}}var C=[`#ff4700`,`#5b92dd`,`#47a8a2`,`#9179d6`,`#dca84f`,`#12b76a`],w={tooltip:`_tooltip_ic16u_3`,title:`_title_ic16u_23`,row:`_row_ic16u_27`,dot:`_dot_ic16u_34`,label:`_label_ic16u_41`,value:`_value_ic16u_42`},T=({active:e,payload:t,label:r,formatter:i})=>!e||!t||t.length===0?null:(0,n.jsxs)(`div`,{className:w.tooltip,children:[r!==void 0&&r!==``&&(0,n.jsx)(`span`,{className:w.title,children:r}),t.map((e,t)=>(0,n.jsxs)(`div`,{className:w.row,children:[(0,n.jsx)(`span`,{className:w.dot,style:{background:e.color??e.payload?.fill??e.fill}}),(0,n.jsx)(`span`,{className:w.label,children:e.name}),(0,n.jsx)(`span`,{className:w.value,children:i?i(e.value,e.name):e.value})]},t))]}),E={chart:`_chart_1s6lv_2`,legend:`_legend_1s6lv_31`,legendItem:`_legendItem_1s6lv_41`,legendSwatch:`_legendSwatch_1s6lv_46`},D={sm:180,md:240,lg:320,xl:420},O=6,k=e=>{if(e<=0)return 1;let t=10**Math.floor(Math.log10(e)),n=e/t;return(n<=1?1:n<=2?2:n<=5?5:10)*t},A=({data:e,variant:r=`default`,size:a=`md`,seriesLabels:o=[`Value`,`Value 2`],className:s})=>{let[c,l]=t.default.useState(null),[u,d]=t.default.useState(null),f=t.default.useRef(null),p=S(f),m=p(`--color-chart-2`)??`#5b92dd`,h=p(`--color-chart-5`)??`#dca84f`,g=p(`--color-chart-1`)??`#ff4700`,_=[1,2,3,4,5,6].map(e=>p(`--color-chart-${e}`)??C[e-1]),v=p(`--color-border-subtle`)??`#e7e5e1`,y=p(`--color-fg-muted`)??`#78716a`,b=r===`multiple`||r===`stacked`,x=b&&e.some(e=>e.value2!==void 0),w=p(`--color-bg-canvas`)??`#fafaf9`,A=k(Math.max(1,...e.map(e=>Math.abs(e.value)))),j=[-A,-A/2,0,A/2,A],ee=(0,n.jsx)(i.Tooltip,{cursor:!1,content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50},position:u?{y:u.y}:void 0}),te=t=>r===`active`?_[t%_.length]:r===`negative`&&e[t].value<0?g:m,ne=e=>c!==null&&e!==c?.45:1,re=(e,t,n,r,i,a)=>({x:e?t+r:t+r/2,y:e?n+i/2:a<0?n+i:n}),M=t=>a=>{let{x:o,y:s,width:c,height:l,fill:u,radius:d}=a,f=Number(e[a.index]?.[t]??0),{x:p,y:h}=re(r===`horizontal`,o,s,c,l,f);return r===`stacked`&&t===`value`?(0,n.jsx)(i.Rectangle,{x:o,y:s,width:c,height:l,fill:u,radius:d}):(0,n.jsxs)(`g`,{children:[(0,n.jsx)(i.Rectangle,{x:o,y:s,width:c,height:l,fill:u,radius:d}),(0,n.jsx)(`circle`,{cx:p,cy:h,r:4,fill:u,stroke:w,strokeWidth:1.5}),r===`stacked`&&t===`value2`&&(0,n.jsx)(`circle`,{cx:o+c/2,cy:s+l,r:4,fill:m,stroke:w,strokeWidth:1.5})]})},ie=t=>(n,i)=>{l(i);let a=Number(e[i]?.[t]??0);d(re(r===`horizontal`,n.x,n.y,n.width,n.height,a))},ae=()=>{l(null),d(null)};return(0,n.jsx)(`div`,{ref:f,className:[E.chart,s??``].filter(Boolean).join(` `),children:(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:D[a],children:(0,n.jsxs)(i.BarChart,{data:e,layout:r===`horizontal`?`vertical`:`horizontal`,margin:{top:8,right:8,bottom:8,left:r===`horizontal`?8:0},children:[(0,n.jsx)(i.CartesianGrid,{strokeDasharray:`3 3`,stroke:v,horizontal:!0,vertical:r===`horizontal`}),r===`horizontal`?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.XAxis,{type:`number`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1}),(0,n.jsx)(i.YAxis,{type:`category`,dataKey:`label`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1,width:64})]}):(0,n.jsx)(i.XAxis,{dataKey:`label`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),r===`negative`&&(0,n.jsx)(i.YAxis,{hide:!0,domain:[-A,A],ticks:j}),ee,b&&(0,n.jsx)(i.Legend,{content:e=>(0,n.jsx)(`ul`,{className:E.legend,children:e.payload?.map(e=>(0,n.jsxs)(`li`,{className:E.legendItem,children:[(0,n.jsx)(`span`,{className:E.legendSwatch,style:{background:e.color}}),(0,n.jsx)(`span`,{style:{color:e.color},children:e.value})]},e.value))})}),b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Bar,{dataKey:`value`,name:o[0]??`Value`,fill:m,stackId:r===`stacked`?`stack`:void 0,radius:r===`stacked`?[0,0,O,O]:[O,O,O,O],isAnimationActive:!1,activeBar:M(`value`),onMouseEnter:ie(`value`),onMouseLeave:ae,children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:m,fillOpacity:c!==null&&t!==c?.45:1},t))}),x&&(0,n.jsx)(i.Bar,{dataKey:`value2`,name:o[1]??`Value 2`,fill:h,stackId:r===`stacked`?`stack`:void 0,radius:r===`stacked`?[O,O,0,0]:[O,O,O,O],isAnimationActive:!1,activeBar:M(`value2`),onMouseEnter:ie(`value2`),onMouseLeave:ae,children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:h,fillOpacity:c!==null&&t!==c?.45:1},t))})]}):(0,n.jsx)(i.Bar,{dataKey:`value`,name:`Value`,fill:c===null?m:te(c),radius:[O,O,O,O],isAnimationActive:!1,activeBar:M(`value`),onMouseEnter:ie(`value`),onMouseLeave:ae,children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:te(t),fillOpacity:ne(t)},t))})]})})})},j={row:`_row_5wjem_2`,left:`_left_5wjem_16`,logo:`_logo_5wjem_23`,logoLg:`_logoLg_5wjem_29`,text:`_text_5wjem_36`,symbol:`_symbol_5wjem_42`,name:`_name_5wjem_50`,right:`_right_5wjem_59`,price:`_price_5wjem_65`,changeRow:`_changeRow_5wjem_73`,changeText:`_changeText_5wjem_78`,trendUp:`_trendUp_5wjem_84`,trendDown:`_trendDown_5wjem_85`,card:`_card_5wjem_88`,header:`_header_5wjem_102`,headerIcon:`_headerIcon_5wjem_109`,headerLabel:`_headerLabel_5wjem_110`,tickerRow:`_tickerRow_5wjem_117`,body:`_body_5wjem_125`,priceRow:`_priceRow_5wjem_132`,priceGroup:`_priceGroup_5wjem_139`,priceLg:`_priceLg_5wjem_144`,changeRowLg:`_changeRowLg_5wjem_153`,changeTextLg:`_changeTextLg_5wjem_158`,chart:`_chart_5wjem_165`},ee=e=>Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),te=({logo:t,symbol:i,name:a,price:o,change:s,formatAmount:c=ee,chart:l,periodLabel:u=`Last 6 months`,onPeriodClick:d,className:f})=>{let p=s.amount>=0,m=p?r.TrendingUp:r.TrendingDown,h=p?`+`:`-`,g=`${h}${c(s.amount)} (${h}${Math.abs(s.percent)}%)`,_=p?j.trendUp:j.trendDown;return l?(0,n.jsxs)(`div`,{className:[j.card,f??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:j.header,children:[(0,n.jsx)(r.ChartColumn,{size:16,strokeWidth:e.dt(16),className:j.headerIcon}),(0,n.jsx)(`span`,{className:j.headerLabel,children:`Stock market`})]}),(0,n.jsxs)(`div`,{className:j.tickerRow,children:[(0,n.jsx)(`span`,{className:j.logoLg,"aria-hidden":`true`,children:t}),(0,n.jsxs)(`div`,{className:j.text,children:[(0,n.jsx)(`p`,{className:j.symbol,children:i}),(0,n.jsx)(`p`,{className:j.name,children:a})]})]}),(0,n.jsxs)(`div`,{className:j.body,children:[(0,n.jsxs)(`div`,{className:j.priceRow,children:[(0,n.jsxs)(`div`,{className:j.priceGroup,children:[(0,n.jsx)(`p`,{className:j.priceLg,children:c(o)}),(0,n.jsxs)(`div`,{className:j.changeRowLg,children:[(0,n.jsx)(m,{size:24,strokeWidth:e.dt(24),className:_}),(0,n.jsx)(`span`,{className:[j.changeTextLg,_].join(` `),children:g})]})]}),(0,n.jsx)(e.rt,{variant:`outline`,size:`sm`,rightIcon:(0,n.jsx)(r.ChevronDown,{size:16,strokeWidth:e.dt(16)}),onClick:d,children:u})]}),(0,n.jsx)(A,{data:l,className:j.chart})]})]}):(0,n.jsxs)(`div`,{className:[j.row,f??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:j.left,children:[(0,n.jsx)(`span`,{className:j.logo,"aria-hidden":`true`,children:t}),(0,n.jsxs)(`div`,{className:j.text,children:[(0,n.jsx)(`p`,{className:j.symbol,children:i}),(0,n.jsx)(`p`,{className:j.name,children:a})]})]}),(0,n.jsxs)(`div`,{className:j.right,children:[(0,n.jsx)(`p`,{className:j.price,children:c(o)}),(0,n.jsxs)(`div`,{className:j.changeRow,children:[(0,n.jsx)(m,{size:20,strokeWidth:e.dt(20),className:_}),(0,n.jsx)(`span`,{className:[j.changeText,_].join(` `),children:g})]})]})]})},ne={tags:`_tags_acsad_1`,remove:`_remove_acsad_8`},re=({tags:t,onRemove:i,className:a})=>(0,n.jsx)(`div`,{className:[ne.tags,a??``].filter(Boolean).join(` `),children:t.map((t,a)=>(0,n.jsx)(e.J,{rightIcon:i&&(0,n.jsx)(`button`,{type:`button`,className:ne.remove,onClick:()=>i(t,a),"aria-label":`Remove ${t}`,children:(0,n.jsx)(r.X,{size:12,strokeWidth:e.dt(12)})}),children:t},t))}),M={ticker:`_ticker_6xnxy_1`,track:`_track_6xnxy_9`,"ticker-scroll":`_ticker-scroll_6xnxy_1`,row:`_row_6xnxy_24`,item:`_item_6xnxy_33`,symbol:`_symbol_6xnxy_40`,change:`_change_6xnxy_49`,trendUp:`_trendUp_6xnxy_57`,trendDown:`_trendDown_6xnxy_58`,fadeLeft:`_fadeLeft_6xnxy_60`,fadeRight:`_fadeRight_6xnxy_61`},ie=e=>`${e>=0?`+`:``}${e}%`,ae=({items:t,formatChange:i,ariaHidden:a})=>(0,n.jsx)(`div`,{className:M.row,"aria-hidden":a,children:t.map((t,a)=>{let o=t.changePercent>=0,s=o?r.TrendingUp:r.TrendingDown,c=o?M.trendUp:M.trendDown;return(0,n.jsxs)(`div`,{className:M.item,children:[(0,n.jsx)(`span`,{className:M.symbol,children:t.symbol}),(0,n.jsx)(s,{size:14,strokeWidth:e.dt(14),className:c}),(0,n.jsx)(`span`,{className:[M.change,c].join(` `),children:i(t.changePercent)})]},`${t.symbol}-${a}`)})}),oe=({items:e,speed:r=40,formatChange:i=ie,className:a})=>{let o=t.default.useRef(null),[s,c]=t.default.useState(20);return t.default.useEffect(()=>{let e=o.current;if(!e)return;let t=e.firstElementChild;if(!t)return;let n=()=>{let e=t.scrollWidth;e>0&&c(e/r)};n();let i=new ResizeObserver(n);return i.observe(t),()=>i.disconnect()},[e,r]),(0,n.jsxs)(`div`,{className:[M.ticker,a??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{ref:o,className:M.track,style:{"--ticker-duration":`${s}s`},children:[(0,n.jsx)(ae,{items:e,formatChange:i}),(0,n.jsx)(ae,{items:e,formatChange:i,ariaHidden:!0})]}),(0,n.jsx)(`div`,{className:M.fadeLeft,"aria-hidden":`true`}),(0,n.jsx)(`div`,{className:M.fadeRight,"aria-hidden":`true`})]})},N={list:`_list_ovxee_1`,row:`_row_ovxee_9`,rowLast:`_rowLast_ovxee_18`,left:`_left_ovxee_22`,iconWrap:`_iconWrap_ovxee_29`,info:`_info_ovxee_41`,name:`_name_ovxee_46`,category:`_category_ovxee_54`,amount:`_amount_ovxee_63`,amountUp:`_amountUp_ovxee_71`,amountDown:`_amountDown_ovxee_72`,empty:`_empty_ovxee_75`,emptyIcon:`_emptyIcon_ovxee_86`,emptyTitle:`_emptyTitle_ovxee_89`,emptyDesc:`_emptyDesc_ovxee_96`},se=e=>`${e>=0?`+`:`-`}${Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`})}`,ce=({transactions:t,formatAmount:i=se,emptyTitle:a=`No transactions yet`,emptyDescription:o=`Your activity will show up here.`,className:s})=>t.length===0?(0,n.jsxs)(`div`,{className:[N.empty,s??``].filter(Boolean).join(` `),children:[(0,n.jsx)(r.Receipt,{size:24,strokeWidth:e.dt(24),className:N.emptyIcon}),(0,n.jsx)(`p`,{className:N.emptyTitle,children:a}),(0,n.jsx)(`p`,{className:N.emptyDesc,children:o})]}):(0,n.jsx)(`div`,{className:[N.list,s??``].filter(Boolean).join(` `),children:t.map((e,r)=>{let a=e.amount>=0;return(0,n.jsxs)(`div`,{className:[N.row,r===t.length-1?N.rowLast:``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:N.left,children:[(0,n.jsx)(`span`,{className:N.iconWrap,"aria-hidden":`true`,children:e.icon}),(0,n.jsxs)(`div`,{className:N.info,children:[(0,n.jsx)(`p`,{className:N.name,children:e.name}),(0,n.jsx)(`p`,{className:N.category,children:e.category})]})]}),(0,n.jsx)(`p`,{className:[N.amount,a?N.amountUp:N.amountDown].join(` `),children:i(e.amount)})]},e.id??`${e.name}-${r}`)})}),P={root:`_root_19qxp_1`,rootAttributed:`_rootAttributed_19qxp_10`,rootSimple:`_rootSimple_19qxp_18`,rail:`_rail_19qxp_27`,body:`_body_19qxp_37`,markRow:`_markRow_19qxp_46`,markRowEnd:`_markRowEnd_19qxp_51`,mark:`_mark_19qxp_46`,quoteAttributed:`_quoteAttributed_19qxp_59`,quoteSimple:`_quoteSimple_19qxp_68`,author:`_author_19qxp_77`,authorText:`_authorText_19qxp_83`,authorName:`_authorName_19qxp_91`},le=({quote:t,author:i,className:a})=>{let o=!!i;return(0,n.jsxs)(`div`,{className:[P.root,o?P.rootAttributed:P.rootSimple,a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(e.$,{orientation:`vertical`,className:P.rail}),(0,n.jsxs)(`div`,{className:P.body,children:[o&&(0,n.jsx)(`span`,{className:P.markRow,"aria-hidden":`true`,children:(0,n.jsx)(r.Quote,{size:12,strokeWidth:e.dt(12),className:P.mark,fill:`currentColor`})}),(0,n.jsx)(`p`,{className:o?P.quoteAttributed:P.quoteSimple,children:o?t:`"${t}"`}),o&&(0,n.jsx)(`span`,{className:[P.markRow,P.markRowEnd].join(` `),"aria-hidden":`true`,children:(0,n.jsx)(r.Quote,{size:12,strokeWidth:e.dt(12),className:P.mark,fill:`currentColor`})}),i&&(0,n.jsxs)(`div`,{className:P.author,children:[(0,n.jsx)(e.ct,{size:`sm`,src:i.avatarSrc,alt:i.avatarAlt??i.name}),(0,n.jsxs)(`p`,{className:P.authorText,children:[(0,n.jsx)(`span`,{className:P.authorName,children:i.name}),(0,n.jsxs)(`span`,{className:P.authorRole,children:[`, `,i.role]})]})]})]})]})},ue={root:`_root_btuyr_1`,rootLeft:`_rootLeft_btuyr_13`,rootTop:`_rootTop_btuyr_19`,ruleLeft:`_ruleLeft_btuyr_24`,ruleTop:`_ruleTop_btuyr_31`,text:`_text_btuyr_39`},de=({text:e,align:t=`left`,className:r})=>(0,n.jsxs)(`div`,{className:[ue.root,t===`top`?ue.rootTop:ue.rootLeft,r??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:t===`top`?ue.ruleTop:ue.ruleLeft,"aria-hidden":`true`}),(0,n.jsx)(`p`,{className:ue.text,children:e})]}),fe={root:`_root_awxwk_1`,imageWrap:`_imageWrap_awxwk_10`,"root--large":`_root--large_awxwk_27`,"root--small":`_root--small_awxwk_33`,image:`_image_awxwk_10`,caption:`_caption_awxwk_47`},pe=({src:e,alt:t=``,size:r=`large`,caption:i,className:a})=>(0,n.jsxs)(`figure`,{className:[fe.root,fe[`root--${r}`],a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:fe.imageWrap,children:(0,n.jsx)(`img`,{src:e,alt:t,className:fe.image})}),i&&(0,n.jsx)(`figcaption`,{className:fe.caption,children:i})]}),F={root:`_root_uc5r9_1`,rootCenter:`_rootCenter_uc5r9_10`,rootLeft:`_rootLeft_uc5r9_15`,title:`_title_uc5r9_20`,description:`_description_uc5r9_30`,ctaRow:`_ctaRow_uc5r9_39`,avatarBlock:`_avatarBlock_uc5r9_45`,avatarsCaption:`_avatarsCaption_uc5r9_57`},me=({title:t,description:i,badgeLabel:a,primaryCta:o,secondaryCta:s,avatars:c,avatarsCaption:l,align:u=`center`,className:d})=>{let f=!!(o||s),p=!!(c&&c.length>0);return(0,n.jsxs)(`div`,{className:[F.root,u===`left`?F.rootLeft:F.rootCenter,d??``].filter(Boolean).join(` `),children:[a&&(0,n.jsx)(e.J,{variant:`accent`,emphasis:`subtle`,children:a}),(0,n.jsx)(`p`,{className:F.title,children:t}),i&&(0,n.jsx)(`p`,{className:F.description,children:i}),f&&(0,n.jsxs)(`div`,{className:F.ctaRow,children:[o&&(0,n.jsx)(e.rt,{variant:`primary`,onClick:o.onClick,children:o.label}),s&&(0,n.jsx)(e.rt,{variant:`secondary`,leftIcon:(0,n.jsx)(r.Play,{size:16,strokeWidth:e.dt(16),fill:`currentColor`}),onClick:s.onClick,children:s.label})]}),p&&(0,n.jsxs)(`div`,{className:F.avatarBlock,children:[(0,n.jsx)(e.j,{size:`md`,avatars:c}),l&&(0,n.jsx)(`p`,{className:F.avatarsCaption,children:l})]})]})},he={root:`_root_5kajg_1`,item:`_item_5kajg_12`,marker:`_marker_5kajg_18`,dot:`_dot_5kajg_26`,label:`_label_5kajg_34`},ge=({items:t,style:i=`check`,className:a})=>(0,n.jsx)(`ul`,{className:[he.root,a??``].filter(Boolean).join(` `),children:t.map((t,a)=>(0,n.jsxs)(`li`,{className:he.item,children:[(0,n.jsxs)(`span`,{className:he.marker,"aria-hidden":`true`,children:[i===`check`&&(0,n.jsx)(r.Check,{size:18,strokeWidth:e.dt(18)}),i===`arrow`&&(0,n.jsx)(r.ArrowRight,{size:16,strokeWidth:e.dt(16)}),i===`bullet`&&(0,n.jsx)(`span`,{className:he.dot})]}),(0,n.jsx)(`span`,{className:he.label,children:t})]},a))}),_e={marquee:`_marquee_1pc4i_1`,track:`_track_1pc4i_13`,row:`_row_1pc4i_19`,item:`_item_1pc4i_25`,fadeLeft:`_fadeLeft_1pc4i_31`,fadeRight:`_fadeRight_1pc4i_32`},ve=({items:e,gap:t,ariaHidden:r})=>(0,n.jsx)(`div`,{className:_e.row,style:{gap:t,paddingRight:t},"aria-hidden":r,children:e.map((e,t)=>(0,n.jsx)(`div`,{className:_e.item,children:e},t))}),ye=({items:e,speed:r=40,gap:i,className:a})=>{let o=t.default.useRef(null),s=t.default.useRef(0),c=t.default.useRef(0),l=t.default.useRef(!1);return t.default.useEffect(()=>{let e=o.current?.firstElementChild;if(!e)return;let t=()=>{s.current=e.scrollWidth};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[e,i]),t.default.useEffect(()=>{let e=o.current;if(!e||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let t,n=performance.now(),i=()=>{let a=performance.now(),o=(a-n)/1e3;n=a;let u=l.current?r*.2:r,d=s.current;d>0&&(c.current=(c.current+u*o)%d,e.style.transform=`translateX(-${c.current}px)`),t=setTimeout(i,16)};return t=setTimeout(i,16),()=>clearTimeout(t)},[r]),(0,n.jsxs)(`div`,{className:[_e.marquee,a??``].filter(Boolean).join(` `),onMouseEnter:()=>{l.current=!0},onMouseLeave:()=>{l.current=!1},children:[(0,n.jsxs)(`div`,{ref:o,className:_e.track,children:[(0,n.jsx)(ve,{items:e,gap:i}),(0,n.jsx)(ve,{items:e,gap:i,ariaHidden:!0})]}),(0,n.jsx)(`div`,{className:_e.fadeLeft,"aria-hidden":`true`}),(0,n.jsx)(`div`,{className:_e.fadeRight,"aria-hidden":`true`})]})},be={root:`_root_17a1b_1`,numRow:`_numRow_17a1b_9`,value:`_value_17a1b_15`,trend:`_trend_17a1b_25`,trendUp:`_trendUp_17a1b_35`,trendDown:`_trendDown_17a1b_39`,label:`_label_17a1b_43`},xe=({value:t,label:i,trend:a,className:o})=>{let s=a!==void 0,c=s&&a>=0,l=c?r.TrendingUp:r.TrendingDown;return(0,n.jsxs)(`div`,{className:[be.root,o??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:be.numRow,children:[(0,n.jsx)(`p`,{className:be.value,children:t}),s&&(0,n.jsxs)(`span`,{className:[be.trend,c?be.trendUp:be.trendDown].join(` `),children:[(0,n.jsx)(l,{size:24,strokeWidth:e.dt(24)}),Math.abs(a),`%`]})]}),(0,n.jsx)(`p`,{className:be.label,children:i})]})},I={root:`_root_scbx4_1`,header:`_header_scbx4_13`,label:`_label_scbx4_21`,toggle:`_toggle_scbx4_34`,fullWidth:`_fullWidth_scbx4_48`,collapse:`_collapse_scbx4_67`,collapseOpen:`_collapseOpen_scbx4_74`,collapseInner:`_collapseInner_scbx4_78`,navLinks:`_navLinks_scbx4_91`,navLink:`_navLink_scbx4_91`},Se=({label:i,links:a,ctaLabel:o=`Get started`,onCtaClick:s,open:c,defaultOpen:l=!1,onOpenChange:u,className:d})=>{let f=c!==void 0,[p,m]=t.default.useState(l),h=f?c:p,g=()=>{let e=!h;f||m(e),u?.(e)},_=t.default.useRef(null),[v,y]=t.default.useState(0);return t.default.useEffect(()=>{let e=_.current;if(!e)return;let t=()=>y(e.scrollHeight);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[a,o]),(0,n.jsxs)(`div`,{className:[I.root,d??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:I.header,children:[(0,n.jsx)(`p`,{className:I.label,children:i}),(0,n.jsx)(`button`,{type:`button`,className:I.toggle,onClick:g,"aria-expanded":h,"aria-label":h?`Close menu`:`Open menu`,children:h?(0,n.jsx)(r.X,{size:16,strokeWidth:e.dt(16)}):(0,n.jsx)(r.Menu,{size:16,strokeWidth:e.dt(16)})})]}),(0,n.jsx)(`div`,{className:[I.collapse,h?I.collapseOpen:``].filter(Boolean).join(` `),style:{maxHeight:h?`${v}px`:`0px`},"aria-hidden":!h,children:(0,n.jsxs)(`div`,{ref:_,className:I.collapseInner,children:[(0,n.jsx)(`nav`,{className:I.navLinks,"aria-label":i,children:a.map(e=>(0,n.jsx)(`a`,{href:e.href,onClick:e.onClick,className:I.navLink,tabIndex:h?void 0:-1,children:e.label},e.label))}),(0,n.jsx)(e.$,{className:I.fullWidth}),(0,n.jsx)(e.rt,{variant:`primary`,className:I.fullWidth,onClick:s,tabIndex:h?void 0:-1,children:o})]})})]})},Ce={root:`_root_lrpdp_1`,"root--sm":`_root--sm_lrpdp_14`,"root--md":`_root--md_lrpdp_18`,"root--lg":`_root--lg_lrpdp_22`,defaultMark:`_defaultMark_lrpdp_27`},we={sm:14,md:16,lg:18},Te=({size:r=`md`,logo:i,label:a,className:o})=>{let s=we[r],c=t.default.isValidElement(i)?t.default.cloneElement(i,{size:s,strokeWidth:e.dt(s)}):i??(0,n.jsx)(`img`,{src:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%3e%3cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H20C24.4183%200%2028%203.58172%2028%208V20C28%2024.4183%2024.4183%2028%2020%2028H8C3.58172%2028%200%2024.4183%200%2020V8Z'%20fill='%23FF4700'/%3e%3cpath%20d='M6.63704%2015.9944L20.6362%2014.491'%20stroke='%23FAFAF9'%20stroke-width='2.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14.208%2022.884C12.848%2022.884%2011.664%2022.636%2010.656%2022.14C9.664%2021.644%208.88%2020.956%208.304%2020.076C7.728%2019.196%207.392%2018.172%207.296%2017.004L9.96%2016.836C10.072%2017.636%2010.304%2018.316%2010.656%2018.876C11.008%2019.42%2011.48%2019.836%2012.072%2020.124C12.68%2020.396%2013.408%2020.532%2014.256%2020.532C14.992%2020.532%2015.616%2020.444%2016.128%2020.268C16.656%2020.076%2017.056%2019.796%2017.328%2019.428C17.6%2019.06%2017.736%2018.612%2017.736%2018.084C17.736%2017.604%2017.616%2017.18%2017.376%2016.812C17.152%2016.428%2016.712%2016.084%2016.056%2015.78C15.416%2015.46%2014.472%2015.148%2013.224%2014.844C11.864%2014.508%2010.776%2014.14%209.96%2013.74C9.144%2013.34%208.552%2012.844%208.184%2012.252C7.832%2011.644%207.656%2010.9%207.656%2010.02C7.656%209.044%207.888%208.188%208.352%207.452C8.832%206.7%209.512%206.116%2010.392%205.7C11.272%205.284%2012.328%205.076%2013.56%205.076C14.856%205.076%2015.96%205.316%2016.872%205.796C17.8%206.276%2018.528%206.932%2019.056%207.764C19.6%208.596%2019.936%209.548%2020.064%2010.62L17.4%2010.764C17.32%2010.108%2017.12%209.532%2016.8%209.036C16.48%208.524%2016.048%208.132%2015.504%207.86C14.96%207.572%2014.296%207.428%2013.512%207.428C12.52%207.428%2011.736%207.66%2011.16%208.124C10.6%208.572%2010.32%209.172%2010.32%209.924C10.32%2010.404%2010.432%2010.812%2010.656%2011.148C10.896%2011.468%2011.312%2011.748%2011.904%2011.988C12.512%2012.228%2013.368%2012.484%2014.472%2012.756C15.944%2013.092%2017.112%2013.508%2017.976%2014.004C18.856%2014.484%2019.48%2015.052%2019.848%2015.708C20.216%2016.364%2020.4%2017.108%2020.4%2017.94C20.4%2018.948%2020.136%2019.828%2019.608%2020.58C19.096%2021.316%2018.376%2021.884%2017.448%2022.284C16.52%2022.684%2015.44%2022.884%2014.208%2022.884Z'%20fill='%23FAFAF9'/%3e%3c/svg%3e`,alt:``,width:s,height:s,className:Ce.defaultMark});return(0,n.jsx)(`span`,{className:[Ce.root,Ce[`root--${r}`],o??``].filter(Boolean).join(` `),role:`img`,"aria-label":a??`Logo placeholder`,children:c})},L={root:`_root_ibchq_1`,rootCompact:`_rootCompact_ibchq_7`,rootDetailed:`_rootDetailed_ibchq_14`,infoCompact:`_infoCompact_ibchq_21`,infoDetailed:`_infoDetailed_ibchq_27`,name:`_name_ibchq_35`,role:`_role_ibchq_44`,bio:`_bio_ibchq_53`,social:`_social_ibchq_63`,socialBtn:`_socialBtn_ibchq_71`},Ee=({name:t,role:r,avatarSrc:i,avatarAlt:a,bio:o,socialLinks:s=[],className:c})=>{let l=!!o||s.length>0;return(0,n.jsxs)(`div`,{className:[L.root,l?L.rootDetailed:L.rootCompact,c??``].filter(Boolean).join(` `),children:[(0,n.jsx)(e.ct,{size:`xl`,src:i,alt:a??t}),(0,n.jsxs)(`div`,{className:l?L.infoDetailed:L.infoCompact,children:[(0,n.jsx)(`p`,{className:L.name,children:t}),(0,n.jsx)(`p`,{className:L.role,children:r})]}),l&&o&&(0,n.jsx)(`p`,{className:L.bio,children:o}),l&&s.length>0&&(0,n.jsx)(`div`,{className:L.social,children:s.map((e,t)=>(0,n.jsx)(`a`,{href:e.href,onClick:e.onClick,className:L.socialBtn,"aria-label":e.label,children:e.icon},e.label??t))})]})},De={heading:`_heading_96cdx_1`,h2:`_h2_96cdx_8`,h3:`_h3_96cdx_14`},Oe=({children:e,level:t=`h2`,className:r})=>(0,n.jsx)(t,{className:[De.heading,De[t],r??``].filter(Boolean).join(` `),children:e}),ke={paragraph:`_paragraph_8pqdi_1`},Ae=({children:e,className:t})=>(0,n.jsx)(`p`,{className:[ke.paragraph,t??``].filter(Boolean).join(` `),children:e}),R={rootBordered:`_rootBordered_5cgsj_1`,rail:`_rail_5cgsj_12`,contentHorizontal:`_contentHorizontal_5cgsj_18`,contentVertical:`_contentVertical_5cgsj_25`,textHorizontal:`_textHorizontal_5cgsj_33`,textVertical:`_textVertical_5cgsj_41`,title:`_title_5cgsj_49`,description:`_description_5cgsj_57`},je=({icon:r,title:i,description:a,layout:o=`horizontal`,leftBorder:s=!1,className:c})=>{let l=o===`vertical`,u=(0,n.jsxs)(`div`,{className:l?R.contentVertical:R.contentHorizontal,children:[(0,n.jsx)(e.M,{icon:r,size:`sm`,variant:`light`}),(0,n.jsxs)(`div`,{className:l?R.textVertical:R.textHorizontal,children:[(0,n.jsx)(`p`,{className:R.title,children:i}),(0,n.jsx)(`p`,{className:R.description,children:a})]})]});return s?(0,n.jsxs)(`div`,{className:[R.rootBordered,c??``].filter(Boolean).join(` `),children:[(0,n.jsx)(e.$,{orientation:`vertical`,className:R.rail}),u]}):t.default.cloneElement(u,{className:[u.props.className,c??``].filter(Boolean).join(` `)})},Me={chart:`_chart_qqaox_2`},Ne={sm:180,md:240,lg:320,xl:420},Pe=({data:e,variant:r=`default`,seriesLabels:a=[`Value`,`Value 2`],size:o=`md`,height:s,className:c})=>{let l=t.default.useRef(null),u=S(l),d=u(`--color-chart-5`)??`#dca84f`,f=u(`--color-chart-2`)??`#5b92dd`,p=u(`--color-border-subtle`)??`#e7e5e1`,m=u(`--color-fg-muted`)??`#78716a`,h=e.some(e=>e.value2!==void 0),g=r===`step`?`step`:r===`linear`?`linear`:`monotone`,_=r===`stacked`?`stack`:void 0;return(0,n.jsx)(`div`,{ref:l,className:[Me.chart,c??``].filter(Boolean).join(` `),children:(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:s??Ne[o],children:(0,n.jsxs)(i.AreaChart,{data:e,margin:{top:8,right:8,bottom:8,left:0},children:[(0,n.jsxs)(`defs`,{children:[(0,n.jsxs)(`linearGradient`,{id:`sakani-area-1`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,n.jsx)(`stop`,{offset:`5%`,stopColor:d,stopOpacity:.35}),(0,n.jsx)(`stop`,{offset:`95%`,stopColor:d,stopOpacity:.02})]}),(0,n.jsxs)(`linearGradient`,{id:`sakani-area-2`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,n.jsx)(`stop`,{offset:`5%`,stopColor:f,stopOpacity:.35}),(0,n.jsx)(`stop`,{offset:`95%`,stopColor:f,stopOpacity:.02})]})]}),(0,n.jsx)(i.CartesianGrid,{strokeDasharray:`3 3`,stroke:p,vertical:!1}),(0,n.jsx)(i.XAxis,{dataKey:`label`,stroke:m,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,n.jsx)(i.Tooltip,{cursor:{stroke:u(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}}),h&&(0,n.jsx)(i.Area,{type:g,dataKey:`value2`,name:a[1]??`Value 2`,stackId:_,stroke:f,strokeWidth:2,fill:`url(#sakani-area-2)`,dot:!1,activeDot:{r:4,fill:f,stroke:u(`--color-bg-canvas`),strokeWidth:1.5}}),(0,n.jsx)(i.Area,{type:g,dataKey:`value`,name:a[0]??`Value`,stackId:_,stroke:d,strokeWidth:2,fill:`url(#sakani-area-1)`,dot:!1,activeDot:{r:4,fill:d,stroke:u(`--color-bg-canvas`),strokeWidth:1.5}})]})})})},z={col:`_col_1v24u_2`,col__header:`_col__header_1v24u_11`,col__dot:`_col__dot_1v24u_12`,col__title:`_col__title_1v24u_13`,col__count:`_col__count_1v24u_14`,col__spacer:`_col__spacer_1v24u_15`,col__action:`_col__action_1v24u_16`,col__body:`_col__body_1v24u_24`,col__drop:`_col__drop_1v24u_25`,col__add:`_col__add_1v24u_31`},Fe=({state:t=`default`,title:i,count:a,dotColor:o=`var(--color-chart-1)`,children:s,onAdd:c,onMenu:l,className:u})=>(0,n.jsxs)(`div`,{className:[z.col,u??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:z.col__header,children:[(0,n.jsx)(`span`,{className:z.col__dot,style:{background:o},"aria-hidden":`true`}),(0,n.jsx)(`span`,{className:z.col__title,children:i}),a!=null&&(0,n.jsx)(`span`,{className:z.col__count,children:a}),(0,n.jsx)(`span`,{className:z.col__spacer}),(0,n.jsx)(`button`,{type:`button`,className:z.col__action,onClick:c,"aria-label":`Add task`,children:(0,n.jsx)(r.Plus,{size:16,strokeWidth:e.dt(16)})}),(0,n.jsx)(`button`,{type:`button`,className:z.col__action,onClick:l,"aria-label":`Column options`,children:(0,n.jsx)(r.MoreHorizontal,{size:16,strokeWidth:e.dt(16)})})]}),(0,n.jsx)(`div`,{className:z.col__body,children:t===`empty`?(0,n.jsx)(`div`,{className:z.col__drop,children:`Drop tasks here`}):s}),(0,n.jsxs)(`button`,{type:`button`,className:z.col__add,onClick:c,children:[(0,n.jsx)(r.Plus,{size:16,strokeWidth:e.dt(16),"aria-hidden":`true`}),`Add task`]})]}),B={calendar:`_calendar_1y1kb_2`,header:`_header_1y1kb_14`,header__label:`_header__label_1y1kb_15`,navBtn:`_navBtn_1y1kb_16`,weekdays:`_weekdays_1y1kb_27`,weekday:`_weekday_1y1kb_27`,grid:`_grid_1y1kb_34`,day:`_day_1y1kb_35`,"day--default":`_day--default_1y1kb_43`,"day--hover":`_day--hover_1y1kb_44`,"day--selected":`_day--selected_1y1kb_45`,"day--today":`_day--today_1y1kb_46`,"day--in-range":`_day--in-range_1y1kb_47`,"day--outside":`_day--outside_1y1kb_48`,"day--disabled":`_day--disabled_1y1kb_49`,dropdowns:`_dropdowns_1y1kb_52`,dropdown:`_dropdown_1y1kb_52`},Ie=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],Le=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Re=(e,t)=>!!e&&!!t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),ze=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),Be=({mode:i=`single`,value:a,onChange:o,range:s,onRangeChange:c,headerType:l=`arrows`,defaultMonth:u,minDate:d,maxDate:f,className:p})=>{let[m,h]=t.default.useState(()=>{let e=u??a??s?.from??new Date;return new Date(e.getFullYear(),e.getMonth(),1)}),[g,_]=t.default.useState({}),v=s===void 0?g:s,y=new Date,b=m.getFullYear(),x=m.getMonth(),S=new Date(b,x,1).getDay(),C=new Date(b,x,1-S),w=Array.from({length:42},(e,t)=>new Date(C.getFullYear(),C.getMonth(),C.getDate()+t)),T=e=>d&&e<ze(d)||f&&e>f,E=e=>{s===void 0&&_(e),c?.(e)},D=e=>{if(i===`single`){o?.(e);return}let{from:t,to:n}=v;E(!t||t&&n?{from:e,to:void 0}:e<t?{from:e,to:t}:{from:t,to:e})},O=e=>{if(T(e))return`disabled`;if(i===`single`){if(Re(e,a))return`selected`}else{let{from:t,to:n}=v;if(Re(e,t)||Re(e,n))return`selected`;if(t&&n&&e>t&&e<n)return`in-range`}return e.getMonth()===x?Re(e,y)?`today`:`default`:`outside`},k=d?d.getFullYear():b-10,A=f?f.getFullYear():b+10,j=Array.from({length:A-k+1},(e,t)=>k+t);return(0,n.jsxs)(`div`,{className:[B.calendar,p??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:B.header,children:[(0,n.jsx)(`button`,{type:`button`,className:B.navBtn,onClick:()=>h(new Date(b,x-1,1)),"aria-label":`Previous month`,children:(0,n.jsx)(r.ChevronLeft,{size:16,strokeWidth:e.dt(16)})}),l===`dropdowns`?(0,n.jsxs)(`span`,{className:B.dropdowns,children:[(0,n.jsx)(`select`,{className:B.dropdown,value:x,onChange:e=>h(new Date(b,Number(e.target.value),1)),"aria-label":`Month`,children:Le.map((e,t)=>(0,n.jsx)(`option`,{value:t,children:e},e))}),(0,n.jsx)(`select`,{className:B.dropdown,value:b,onChange:e=>h(new Date(Number(e.target.value),x,1)),"aria-label":`Year`,children:j.map(e=>(0,n.jsx)(`option`,{value:e,children:e},e))})]}):(0,n.jsxs)(`span`,{className:B.header__label,children:[Le[x],` `,b]}),(0,n.jsx)(`button`,{type:`button`,className:B.navBtn,onClick:()=>h(new Date(b,x+1,1)),"aria-label":`Next month`,children:(0,n.jsx)(r.ChevronRight,{size:16,strokeWidth:e.dt(16)})})]}),(0,n.jsx)(`div`,{className:B.weekdays,children:Ie.map(e=>(0,n.jsx)(`span`,{className:B.weekday,children:e},e))}),(0,n.jsx)(`div`,{className:B.grid,children:w.map((e,t)=>{let r=O(e);return(0,n.jsx)(`button`,{type:`button`,className:[B.day,B[`day--${r}`]].filter(Boolean).join(` `),disabled:r===`disabled`,"aria-current":r===`today`?`date`:void 0,"aria-selected":r===`selected`,"aria-label":e.toLocaleDateString(void 0,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`}),onClick:()=>D(e),children:e.getDate()},t)})})]})},Ve={card:`_card_1mh1i_3`,"card--interactive":`_card--interactive_1mh1i_16`,card__header:`_card__header_1mh1i_24`,card__title:`_card__title_1mh1i_25`,card__description:`_card__description_1mh1i_32`,card__body:`_card__body_1mh1i_39`,card__actions:`_card__actions_1mh1i_42`},He=({title:e,description:t,actions:r,interactive:i,children:a,className:o})=>(0,n.jsxs)(`div`,{className:[Ve.card,i?Ve[`card--interactive`]:``,o??``].filter(Boolean).join(` `),children:[(e||t)&&(0,n.jsxs)(`div`,{className:Ve.card__header,children:[e&&(0,n.jsx)(`h3`,{className:Ve.card__title,children:e}),t&&(0,n.jsx)(`p`,{className:Ve.card__description,children:t})]}),a&&(0,n.jsx)(`div`,{className:Ve.card__body,children:a}),r&&(0,n.jsx)(`div`,{className:Ve.card__actions,children:r})]}),V={field:`_field_x766e_7`,field__label:`_field__label_x766e_8`,field__description:`_field__description_x766e_9`,field__error:`_field__error_x766e_10`,control:`_control_x766e_13`,"control--sm":`_control--sm_x766e_25`,"control--md":`_control--md_x766e_26`,"control--lg":`_control--lg_x766e_27`,"control--open":`_control--open_x766e_29`,"control--error":`_control--error_x766e_35`,"control--disabled":`_control--disabled_x766e_39`,control__value:`_control__value_x766e_45`,"control__value--placeholder":`_control__value--placeholder_x766e_55`,control__input:`_control__input_x766e_56`,control__chevron:`_control__chevron_x766e_76`,"control__chevron--open":`_control__chevron--open_x766e_77`,chips:`_chips_x766e_80`,chip:`_chip_x766e_80`,chip__remove:`_chip__remove_x766e_92`,panel:`_panel_x766e_103`,"panel--entering":`_panel--entering_x766e_125`,"sakani-combobox-panel-in":`_sakani-combobox-panel-in_x766e_1`,"panel--exiting":`_panel--exiting_x766e_126`,"sakani-combobox-panel-out":`_sakani-combobox-panel-out_x766e_1`,panel__empty:`_panel__empty_x766e_136`,option:`_option_x766e_144`,"option--disabled":`_option--disabled_x766e_158`,"option--active":`_option--active_x766e_159`,"option--selected":`_option--selected_x766e_160`,option__icon:`_option__icon_x766e_162`,option__label:`_option__label_x766e_163`,option__check:`_option__check_x766e_164`,panel__loading:`_panel__loading_x766e_167`,panel__spinner:`_panel__spinner_x766e_171`,"sakani-cb-spin":`_sakani-cb-spin_x766e_1`},Ue=({options:r,mode:i=`single`,size:a=`md`,label:o,description:s,error:c,placeholder:l=`Select...`,disabled:u,loading:d,value:f,onChange:p,className:m})=>{let h=t.default.useId(),[g,_]=t.default.useState(!1),[v,y]=t.default.useState(!1),[b,x]=t.default.useState(0),S=t.default.useRef(null);t.default.useEffect(()=>{g&&y(!0)},[g]);let[C,w]=t.default.useState(i===`multi`?[]:``),T=f===void 0?C:f,E=Array.isArray(T)?T:T?[T]:[],D=!!c;t.default.useEffect(()=>{let e=e=>{S.current&&!S.current.contains(e.target)&&_(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let O=r,k=e=>{f===void 0&&w(e),p?.(e)},A=e=>{if(!e.disabled)if(i===`multi`){let t=new Set(E);t.has(e.value)?t.delete(e.value):t.add(e.value),k([...t])}else k(e.value),_(!1)},j=e=>r.find(t=>t.value===e)?.label??e,ee=E.length?j(E[0]):``,te=e=>{u||(e.key===`ArrowDown`?(e.preventDefault(),_(!0),x(e=>Math.min(e+1,O.length-1))):e.key===`ArrowUp`?(e.preventDefault(),x(e=>Math.max(e-1,0))):e.key===`Enter`?(e.preventDefault(),g&&O[b]?A(O[b]):_(!0)):e.key===`Escape`&&_(!1))},ne=u?`disabled`:D?`error`:g?`open`:`default`;return(0,n.jsxs)(`div`,{className:[V.field,m??``].filter(Boolean).join(` `),ref:S,children:[o&&(0,n.jsx)(`label`,{htmlFor:`${h}-trigger`,className:V.field__label,children:o}),(0,n.jsxs)(`div`,{id:`${h}-trigger`,role:`combobox`,tabIndex:u?-1:0,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":`${h}-panel`,"aria-invalid":D||void 0,"aria-disabled":u||void 0,"aria-activedescendant":g&&O[b]?`${h}-opt-${b}`:void 0,className:[V.control,V[`control--${a}`],V[`control--${ne}`]].join(` `),onClick:()=>!u&&_(e=>!e),onKeyDown:te,children:[i===`multi`&&E.length>0&&(0,n.jsx)(`div`,{className:V.chips,children:E.map(e=>(0,n.jsxs)(`span`,{className:V.chip,children:[j(e),(0,n.jsx)(`button`,{type:`button`,className:V.chip__remove,onClick:t=>{t.stopPropagation(),A(r.find(t=>t.value===e))},"aria-label":`Remove ${j(e)}`,children:`×`})]},e))}),!(i===`multi`&&E.length>0)&&(0,n.jsx)(`span`,{className:[V.control__value,i===`single`&&ee?``:V[`control__value--placeholder`]].filter(Boolean).join(` `),children:i===`single`&&ee?ee:l}),(0,n.jsx)(`span`,{className:[V.control__chevron,g?V[`control__chevron--open`]:``].join(` `),"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:e.dt(16),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),v&&!u&&(0,n.jsx)(`div`,{className:[V.panel,g?V[`panel--entering`]:V[`panel--exiting`]].filter(Boolean).join(` `),id:`${h}-panel`,role:`listbox`,"aria-busy":d||void 0,onAnimationEnd:()=>{g||y(!1)},children:d?(0,n.jsxs)(`div`,{className:V.panel__loading,children:[(0,n.jsx)(`span`,{className:V.panel__spinner,"aria-hidden":`true`}),`Loading…`]}):O.length===0?(0,n.jsx)(`div`,{className:V.panel__empty,children:`No options available`}):O.map((e,t)=>{let r=E.includes(e.value);return(0,n.jsxs)(`div`,{id:`${h}-opt-${t}`,role:`option`,"aria-selected":r,className:[V.option,t===b?V[`option--active`]:``,r?V[`option--selected`]:``,e.disabled?V[`option--disabled`]:``].filter(Boolean).join(` `),onMouseEnter:()=>x(t),onClick:()=>A(e),children:[e.icon&&(0,n.jsx)(`span`,{className:V.option__icon,"aria-hidden":`true`,children:e.icon}),(0,n.jsx)(`span`,{className:V.option__label,children:e.label}),r&&(0,n.jsx)(`span`,{className:V.option__check,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})})]},e.value)})}),(s||c)&&(0,n.jsx)(`span`,{className:D?V.field__error:V.field__description,children:c||s})]})},We={chart:`_chart_aiboa_2`,center:`_center_aiboa_26`,center__value:`_center__value_aiboa_35`,center__caption:`_center__caption_aiboa_36`},Ge={sm:{h:180,inner:50,outer:72},md:{h:220,inner:62,outer:90},lg:{h:280,inner:80,outer:116},xl:{h:340,inner:98,outer:142}},Ke=({data:e,size:r=`md`,centerValue:a,centerCaption:o,height:s,className:c})=>{let[l,u]=t.default.useState(null),[d,f]=t.default.useState(null),p=e=>{let t=e.currentTarget.getBoundingClientRect();f({x:e.clientX-t.left,y:e.clientY-t.top})},m=t.default.useRef(null),h=S(m),g=[1,2,3,4,5].map(e=>h(`--color-chart-${e}`)??C[e-1]),_={...Ge[r],h:s??Ge[r].h},v=(_.outer-_.inner)/2-7;return(0,n.jsxs)(`div`,{ref:m,className:[We.chart,c??``].filter(Boolean).join(` `),style:{height:_.h},onMouseMove:p,children:[(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(i.PieChart,{children:[(0,n.jsx)(i.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:_.inner,outerRadius:_.outer,cornerRadius:v,paddingAngle:2,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>u(t),onMouseLeave:()=>{u(null),f(null)},children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:g[t%g.length],fillOpacity:l!==null&&t!==l?.45:1},t))}),(0,n.jsx)(i.Tooltip,{content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50},position:d??void 0})]})}),(a||o)&&(0,n.jsxs)(`div`,{className:We.center,children:[a&&(0,n.jsx)(`span`,{className:We.center__value,children:a}),o&&(0,n.jsx)(`span`,{className:We.center__caption,children:o})]})]})},H={wrap:`_wrap_1b5p5_2`,dropzone:`_dropzone_1b5p5_4`,"dropzone--dragging":`_dropzone--dragging_1b5p5_21`,dropzone__icon:`_dropzone__icon_1b5p5_23`,dropzone__label:`_dropzone__label_1b5p5_28`,dropzone__link:`_dropzone__link_1b5p5_29`,dropzone__hint:`_dropzone__hint_1b5p5_30`,input:`_input_1b5p5_32`,files:`_files_1b5p5_35`,file:`_file_1b5p5_35`,file__icon:`_file__icon_1b5p5_45`,file__name:`_file__name_1b5p5_46`,file__remove:`_file__remove_1b5p5_47`},qe=({accept:i,multiple:a,hint:o=`SVG, PNG, JPG or PDF (max. 2MB)`,onFilesChange:s,className:c})=>{let l=t.default.useRef(null),[u,d]=t.default.useState(!1),[f,p]=t.default.useState([]),m=e=>{p(e),s?.(e)},h=e=>{if(!e)return;let t=Array.from(e);m(a?[...f,...t]:t.slice(0,1))},g=e=>m(f.filter((t,n)=>n!==e));return(0,n.jsxs)(`div`,{className:[H.wrap,c??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:[H.dropzone,u?H[`dropzone--dragging`]:``].filter(Boolean).join(` `),onClick:()=>l.current?.click(),onDragOver:e=>{e.preventDefault(),d(!0)},onDragLeave:()=>d(!1),onDrop:e=>{e.preventDefault(),d(!1),h(e.dataTransfer.files)},role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&l.current?.click()},children:[(0,n.jsx)(`span`,{className:H.dropzone__icon,"aria-hidden":`true`,children:(0,n.jsx)(r.UploadCloud,{size:22,strokeWidth:e.dt(22)})}),(0,n.jsxs)(`span`,{className:H.dropzone__label,children:[(0,n.jsx)(`span`,{className:H.dropzone__link,children:`Click to upload`}),` or drag and drop`]}),(0,n.jsx)(`span`,{className:H.dropzone__hint,children:o}),(0,n.jsx)(`input`,{ref:l,type:`file`,accept:i,multiple:a,className:H.input,onChange:e=>h(e.target.files)})]}),f.length>0&&(0,n.jsx)(`ul`,{className:H.files,children:f.map((t,i)=>(0,n.jsxs)(`li`,{className:H.file,children:[(0,n.jsx)(`span`,{className:H.file__icon,"aria-hidden":`true`,children:(0,n.jsx)(r.File,{size:16,strokeWidth:e.dt(16)})}),(0,n.jsx)(`span`,{className:H.file__name,children:t.name}),(0,n.jsx)(`button`,{type:`button`,className:H.file__remove,onClick:()=>g(i),"aria-label":`Remove ${t.name}`,children:(0,n.jsx)(r.X,{size:14,strokeWidth:e.dt(14)})})]},i))})]})},U={chart:`_chart_1m9hd_1`,svg:`_svg_1m9hd_7`,segment:`_segment_1m9hd_12`,pctLabel:`_pctLabel_1m9hd_19`,labels:`_labels_1m9hd_27`,labelItem:`_labelItem_1m9hd_31`,tooltip:`_tooltip_1m9hd_41`,tooltip__title:`_tooltip__title_1m9hd_54`,tooltip__row:`_tooltip__row_1m9hd_60`,tooltip__dot:`_tooltip__dot_1m9hd_68`,tooltip__label:`_tooltip__label_1m9hd_74`,tooltip__value:`_tooltip__value_1m9hd_75`},Je={sm:180,md:240,lg:320,xl:420},Ye=560,Xe=.3,Ze=.55,Qe=({data:e,size:r=`md`,className:i})=>{let[a,o]=t.default.useState(null),s=t.default.useRef(null),c=S(s),l=c(`--color-chart-1`)??`#ff4700`,u=c(`--color-bg-canvas`)??`#fafaf9`,d=e[0]?.value||1,f=Je[r],p=f*.66,m=p/2+8,h=Ye/e.length,g=e[0]?.value||1,_=e=>e/g*p,v=e.map(e=>_(e.value));v.push(_(e[e.length-1]?.value??0)*Ze);let y=t=>e.length<=1?1:Xe+t/(e.length-1)*(1-Xe),b=a===null?null:e[a],x=a===null?0:m-v[a]/2,C=a===null?0:a*h+h/2;return(0,n.jsxs)(`div`,{ref:s,className:[U.chart,i??``].filter(Boolean).join(` `),style:{height:f},children:[(0,n.jsx)(`svg`,{viewBox:`0 0 ${Ye} ${f}`,width:`100%`,height:f,className:U.svg,children:e.map((e,t)=>{let r=t*h,i=(t+1)*h,s=(r+i)/2,c=v[t]/2,u=v[t+1]/2,f=m-c,p=m-u,g=m+c,_=m+u,b=[`M ${r} ${f}`,`C ${s} ${f} ${s} ${p} ${i} ${p}`,`L ${i} ${_}`,`C ${s} ${_} ${s} ${g} ${r} ${g}`,`Z`].join(` `),x=a===null?y(t):t===a?1:.45,S=Math.round(e.value/d*100);return(0,n.jsxs)(`g`,{className:U.segment,onMouseEnter:()=>o(t),onMouseLeave:()=>o(null),children:[(0,n.jsx)(`path`,{d:b,fill:l,fillOpacity:x}),(0,n.jsxs)(`text`,{x:s,y:m,textAnchor:`middle`,dominantBaseline:`middle`,className:U.pctLabel,children:[S,`%`]})]},t)})}),(0,n.jsx)(`div`,{className:U.labels,style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((e,t)=>(0,n.jsx)(`span`,{className:U.labelItem,children:e.label},t))}),b&&(0,n.jsxs)(`div`,{className:U.tooltip,style:{left:`${C/Ye*100}%`,top:`${x/f*100}%`,background:u},children:[(0,n.jsx)(`span`,{className:U.tooltip__title,children:b.label}),(0,n.jsxs)(`div`,{className:U.tooltip__row,children:[(0,n.jsx)(`span`,{className:U.tooltip__dot,style:{background:l}}),(0,n.jsx)(`span`,{className:U.tooltip__label,children:`Share`}),(0,n.jsxs)(`span`,{className:U.tooltip__value,children:[Math.round(b.value/d*100),`%`]})]})]})]})},W={chart:`_chart_1yc8b_1`,grid:`_grid_1yc8b_6`,rowLabel:`_rowLabel_1yc8b_13`,colLabel:`_colLabel_1yc8b_14`,cell:`_cell_1yc8b_29`,"chart--sm":`_chart--sm_1yc8b_38`,"chart--md":`_chart--md_1yc8b_39`,"chart--lg":`_chart--lg_1yc8b_40`,"chart--xl":`_chart--xl_1yc8b_41`,tooltip:`_tooltip_1yc8b_48`,tooltip__title:`_tooltip__title_1yc8b_70`,tooltip__row:`_tooltip__row_1yc8b_76`,tooltip__dot:`_tooltip__dot_1yc8b_84`,tooltip__label:`_tooltip__label_1yc8b_91`,tooltip__value:`_tooltip__value_1yc8b_92`},$e=.12,et=.45,tt=({data:e,rowLabels:r,colLabels:i,valueLabel:a=`Value`,size:o=`md`,className:s})=>{let c=t.default.useRef(null),l=S(c),u=t.default.useRef(null),[d,f]=t.default.useState(null),p=l(`--color-chart-1`)??`#ff4700`,m=Math.max(1,...e.flat()),h=e[0]?.length??0,g=(e,t,n)=>r=>{let i=r.currentTarget.getBoundingClientRect(),a=u.current?.getBoundingClientRect();a&&f({row:e,col:t,value:n,left:i.left-a.left+i.width/2,top:i.top-a.top})};return(0,n.jsx)(`div`,{ref:c,className:[W.chart,W[`chart--${o}`],s??``].filter(Boolean).join(` `),children:(0,n.jsxs)(`div`,{ref:u,className:W.grid,style:{gridTemplateColumns:`auto repeat(${h}, 1fr)`},children:[e.map((e,i)=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsx)(`span`,{className:W.rowLabel,children:r?.[i]??``}),e.map((e,t)=>{let r=d?.row===i&&d?.col===t,a=d!==null&&!r,o=r?1:$e+e/m*(1-$e);return(0,n.jsx)(`div`,{className:W.cell,style:{background:p,opacity:a?et:o},onMouseEnter:g(i,t,e),onMouseLeave:()=>f(null)},t)})]},i)),i&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{}),i.map((e,t)=>(0,n.jsx)(`span`,{className:W.colLabel,children:e},t))]}),d&&(0,n.jsxs)(`div`,{className:W.tooltip,style:{left:d.left,top:d.top},children:[(0,n.jsx)(`span`,{className:W.tooltip__title,children:[r?.[d.row],i?.[d.col]].filter(Boolean).join(` · `)||`Row ${d.row+1}, Col ${d.col+1}`}),(0,n.jsxs)(`div`,{className:W.tooltip__row,children:[(0,n.jsx)(`span`,{className:W.tooltip__dot}),(0,n.jsx)(`span`,{className:W.tooltip__label,children:a}),(0,n.jsx)(`span`,{className:W.tooltip__value,children:d.value})]})]})]})})},nt={kbd:`_kbd_1cz4m_3`},rt=({children:e,className:t})=>(0,n.jsx)(`kbd`,{className:[nt.kbd,t??``].filter(Boolean).join(` `),children:e}),it={label:`_label_rcdks_3`,label__required:`_label__required_rcdks_17`},at=t.default.forwardRef(({required:e,children:t,className:r,...i},a)=>(0,n.jsxs)(`label`,{ref:a,className:[it.label,r??``].filter(Boolean).join(` `),...i,children:[t,e&&(0,n.jsx)(`span`,{className:it.label__required,"aria-hidden":`true`,children:` *`})]}));at.displayName=`Label`;var ot={chart:`_chart_18fgd_2`},st={sm:180,md:240,lg:320,xl:420},ct=new Set([`dots`,`custom-dots`,`dots-colors`,`label`,`custom-label`]),lt=({data:e,series:r,xKey:a=`label`,variant:o=`default`,labelKey:s,size:c=`md`,height:l,showLegend:u,className:d})=>{let f=t.default.useRef(null),p=S(f),m=[1,2,3,4,5].map(e=>p(`--color-chart-${e}`)??C[e-1]),h=[m[1],m[0],...m.slice(2)],g=p(`--color-border-subtle`)??`#e7e5e1`,_=p(`--color-fg-muted`)??`#78716a`,v=p(`--color-bg-canvas`)??`#fafaf9`,y=p(`--color-fg-default`)??`#141414`,b=o===`linear`?`linear`:o===`step`?`step`:`monotone`,x=ct.has(o),w=e=>t=>{let{cx:r,cy:i}=t;return(0,n.jsxs)(`g`,{stroke:e,strokeWidth:2,strokeLinecap:`round`,children:[(0,n.jsx)(`line`,{x1:r,y1:i-3,x2:r,y2:i-3-6}),(0,n.jsx)(`line`,{x1:r,y1:i+3,x2:r,y2:i+3+6}),(0,n.jsx)(`circle`,{cx:r,cy:i,r:3,fill:e,stroke:`none`})]})},E=e=>{let{cx:t,cy:r,index:i}=e,a=m[(i??0)%m.length];return(0,n.jsx)(`circle`,{cx:t,cy:r,r:4,fill:a,stroke:v,strokeWidth:1.5})},D=t=>{let{x:r,y:i,value:a,index:c}=t,l=o===`custom-label`&&s?e[c]?.[s]:a;return l===void 0?(0,n.jsx)(`g`,{}):(0,n.jsx)(`text`,{x:r,y:i-12,textAnchor:`middle`,fill:y,fontSize:12,fontWeight:500,fontFamily:`var(--font-sans)`,children:l})};return(0,n.jsx)(`div`,{ref:f,className:[ot.chart,d??``].filter(Boolean).join(` `),children:(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:l??st[c],children:(0,n.jsxs)(i.LineChart,{data:e,margin:{top:8,right:8,bottom:8,left:12},children:[(0,n.jsx)(i.CartesianGrid,{strokeDasharray:`3 3`,stroke:g,vertical:!1}),(0,n.jsx)(i.XAxis,{dataKey:a,stroke:_,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,n.jsx)(i.Tooltip,{cursor:{stroke:p(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}}),u&&(0,n.jsx)(i.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),r.map((e,t)=>{let r=h[t%h.length],a=x?o===`custom-dots`?w(r):o===`dots-colors`?E:{r:4,fill:r,stroke:v,strokeWidth:1.5}:!1;return(0,n.jsx)(i.Line,{type:b,dataKey:e,stroke:r,strokeWidth:2,dot:a,activeDot:{r:4,fill:r,stroke:v,strokeWidth:1.5},label:o===`label`||o===`custom-label`?D:void 0},e)})]})})})},G={item:`_item_1b54h_2`,"item--disabled":`_item--disabled_1b54h_16`,"item--selected":`_item--selected_1b54h_17`,item__leading:`_item__leading_1b54h_20`,item__text:`_item__text_1b54h_21`,item__title:`_item__title_1b54h_22`,item__description:`_item__description_1b54h_23`,item__trailing:`_item__trailing_1b54h_24`},ut=({title:e,description:t,leading:r,trailing:i,selected:a,disabled:o,onClick:s,className:c})=>(0,n.jsxs)(`button`,{type:`button`,disabled:o,onClick:s,"aria-current":a?`true`:void 0,className:[G.item,a?G[`item--selected`]:``,o?G[`item--disabled`]:``,c??``].filter(Boolean).join(` `),children:[r&&(0,n.jsx)(`span`,{className:G.item__leading,children:r}),(0,n.jsxs)(`span`,{className:G.item__text,children:[(0,n.jsx)(`span`,{className:G.item__title,children:e}),t&&(0,n.jsx)(`span`,{className:G.item__description,children:t})]}),i&&(0,n.jsx)(`span`,{className:G.item__trailing,children:i})]}),dt={menu:`_menu_psizn_2`,divider:`_divider_psizn_12`},ft=({children:e,minWidth:t=208,className:r,...i})=>(0,n.jsx)(`div`,{role:`menu`,"aria-label":i[`aria-label`],style:{minWidth:t},className:[dt.menu,r??``].filter(Boolean).join(` `),children:e}),pt=()=>(0,n.jsx)(`div`,{className:dt.divider,role:`separator`}),mt={item:`_item_1xzse_2`,item__icon:`_item__icon_1xzse_21`,item__label:`_item__label_1xzse_22`,item__shortcut:`_item__shortcut_1xzse_23`,item__check:`_item__check_1xzse_30`,"item--checked":`_item--checked_1xzse_32`,"item--disabled":`_item--disabled_1xzse_33`,"item--destructive":`_item--destructive_1xzse_34`},ht=({state:t=`default`,icon:i,shortcut:a,children:o,onSelect:s,className:c})=>{let l=t===`disabled`;return(0,n.jsxs)(`div`,{role:`menuitem`,"aria-disabled":l||void 0,"aria-checked":t===`checked`||void 0,tabIndex:l?-1:0,onClick:l?void 0:s,onKeyDown:e=>{l||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),s?.())},className:[mt.item,mt[`item--${t}`],c??``].filter(Boolean).join(` `),children:[i&&(0,n.jsx)(`span`,{className:mt.item__icon,"aria-hidden":`true`,children:i}),(0,n.jsx)(`span`,{className:mt.item__label,children:o}),a&&(0,n.jsx)(`kbd`,{className:mt.item__shortcut,children:a}),t===`checked`&&(0,n.jsx)(r.Check,{size:16,strokeWidth:e.dt(16),className:mt.item__check,"aria-hidden":`true`})]})},gt={chart:`_chart_cc7lx_2`,center:`_center_cc7lx_30`,center__value:`_center__value_cc7lx_39`,center__caption:`_center__caption_cc7lx_40`},_t={sm:{h:180,outer:72},md:{h:220,outer:90},lg:{h:280,outer:116},xl:{h:340,outer:142}},vt=new Set([`donut`,`donut-active`,`donut-with-text`,`interactive`]),yt=new Set([`donut-active`]),bt=new Set([`interactive`]),xt=new Set([`donut-with-text`]),St=Math.PI/180,Ct=({data:e,variant:r=`donut`,size:a=`md`,centerValue:o,centerCaption:s,className:c})=>{let l=t.default.useRef(null),u=S(l),[d,f]=t.default.useState(void 0),p=[1,2,3,4,5].map(e=>u(`--color-chart-${e}`)??C[e-1]),m=u(`--color-bg-surface`)??`#ffffff`,h=u(`--color-fg-default`)??`#141414`,g=_t[a],_=vt.has(r),v=yt.has(r),y=bt.has(r),b=_?g.outer*.6:0,x=xt.has(r)&&(o||s),w=d??(v||y?0:void 0),E=e=>{let{cx:t,cy:r,innerRadius:a,outerRadius:o,startAngle:s,endAngle:c,fill:l,index:u}=e,d=u===w,f=d&&(v||y)?16:0;return d&&y?(0,n.jsxs)(`g`,{children:[(0,n.jsx)(i.Sector,{cx:t,cy:r,innerRadius:a,outerRadius:o+f,startAngle:s,endAngle:c,fill:l}),(0,n.jsx)(i.Sector,{cx:t,cy:r,innerRadius:o+f+3,outerRadius:o+f+7,startAngle:s,endAngle:c,fill:l})]}):(0,n.jsx)(i.Sector,{cx:t,cy:r,innerRadius:a,outerRadius:o+f,startAngle:s,endAngle:c,fill:l})},D=e=>{let{cx:t,cy:n,midAngle:r,outerRadius:i}=e,a=r??0,o=Math.cos(-a*St),s=Math.sin(-a*St),c=t+i*o,l=n+i*s,u=t+(i+16)*o,d=n+(i+16)*s,f=o>=0,p=u+(f?14:-14);return{d:`M ${c} ${l} L ${u} ${d} L ${p} ${d}`,endX:p,endY:d,textAnchor:f?`start`:`end`}},O=e=>{let{value:t,fill:r}=e,{d:i,endX:a,endY:o,textAnchor:s}=D(e),c=a+(s===`start`?4:-4);return(0,n.jsxs)(`g`,{children:[(0,n.jsx)(`path`,{d:i,fill:`none`,stroke:r,strokeWidth:1}),(0,n.jsx)(`text`,{x:c,y:o,textAnchor:s,dominantBaseline:`central`,fill:h,fontSize:12,fontFamily:`var(--font-sans)`,children:t})]})},k=e=>{let{x:t,y:r,textAnchor:i,value:a}=e;return(0,n.jsx)(`text`,{x:t,y:r,textAnchor:i,dominantBaseline:`central`,fill:h,fontSize:20,fontWeight:400,fontFamily:`var(--font-sans)`,children:a})},A=t=>{let{cx:r,cy:i,midAngle:a,innerRadius:o,outerRadius:s,index:c}=t,l=(o+s)/2;return(0,n.jsx)(`text`,{x:r+l*Math.cos(-a*St),y:i+l*Math.sin(-a*St),textAnchor:`middle`,dominantBaseline:`central`,fill:`#fff`,fontSize:11,fontWeight:500,fontFamily:`var(--font-sans)`,children:e[c]?.label})};if(r===`stacked`){let t=e=>d!==void 0&&d!==e?.45:1;return(0,n.jsx)(`div`,{ref:l,className:[gt.chart,c??``].filter(Boolean).join(` `),style:{height:g.h},children:(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(i.PieChart,{children:[(0,n.jsx)(i.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:g.outer*.82,outerRadius:g.outer,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>f(t),onMouseLeave:()=>f(void 0),children:e.map((e,r)=>(0,n.jsx)(i.Cell,{fill:p[r%p.length],fillOpacity:t(r)},r))}),(0,n.jsx)(i.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:0,outerRadius:g.outer*.62,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>f(t),onMouseLeave:()=>f(void 0),children:e.map((e,r)=>(0,n.jsx)(i.Cell,{fill:p[r%p.length],fillOpacity:t(r)},r))}),(0,n.jsx)(i.Tooltip,{content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}})]})})})}return(0,n.jsxs)(`div`,{ref:l,className:[gt.chart,c??``].filter(Boolean).join(` `),style:{height:g.h},children:[(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(i.PieChart,{children:[(0,n.jsx)(i.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:b,outerRadius:g.outer,paddingAngle:0,stroke:r===`pie`?m:`none`,strokeWidth:r===`pie`?2:0,isAnimationActive:!1,shape:v||y?E:void 0,label:r===`label`?O:r===`custom-label`?k:r===`label-list`?A:void 0,labelLine:!1,onMouseEnter:(e,t)=>f(t),onMouseLeave:()=>f(void 0),children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:p[t%p.length]},t))}),(0,n.jsx)(i.Tooltip,{content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}})]})}),x&&(0,n.jsxs)(`div`,{className:gt.center,children:[o&&(0,n.jsx)(`span`,{className:gt.center__value,children:o}),s&&(0,n.jsx)(`span`,{className:gt.center__caption,children:s})]})]})},K={root:`_root_16f5u_2`,trigger:`_trigger_16f5u_3`,panel:`_panel_16f5u_5`,"panel--bottom":`_panel--bottom_16f5u_22`,"panel--bottom-start":`_panel--bottom-start_16f5u_23`,"panel--bottom-end":`_panel--bottom-end_16f5u_24`,"panel--top":`_panel--top_16f5u_25`,"panel--entering":`_panel--entering_16f5u_39`,"sakani-popover-in":`_sakani-popover-in_16f5u_1`,"panel--exiting":`_panel--exiting_16f5u_40`,"sakani-popover-out":`_sakani-popover-out_16f5u_1`,"sakani-popover-in-up":`_sakani-popover-in-up_16f5u_1`,"sakani-popover-out-up":`_sakani-popover-out-up_16f5u_1`,panel__title:`_panel__title_16f5u_75`,panel__description:`_panel__description_16f5u_76`,panel__body:`_panel__body_16f5u_77`,panel__actions:`_panel__actions_16f5u_78`},wt=({trigger:e,title:r,description:i,actions:a,placement:o=`bottom-start`,children:s,className:c})=>{let[l,u]=t.default.useState(!1),[d,f]=t.default.useState(!1),p=t.default.useRef(null),m=t.default.useRef(null);return t.default.useEffect(()=>{l&&f(!0)},[l]),t.default.useEffect(()=>{if(l||!d)return;let e=setTimeout(()=>f(!1),240);return()=>clearTimeout(e)},[l,d]),t.default.useEffect(()=>{if(!l)return;let e=e=>{p.current&&!p.current.contains(e.target)&&u(!1)},t=e=>{e.key===`Escape`&&u(!1)};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[l]),t.default.useEffect(()=>{!l&&m.current&&(m.current.focus(),m.current=null)},[l]),(0,n.jsxs)(`div`,{className:[K.root,c??``].filter(Boolean).join(` `),ref:p,children:[(0,n.jsx)(`span`,{className:K.trigger,onClick:()=>{l||(m.current=document.activeElement),u(e=>!e)},children:e}),d&&(0,n.jsxs)(`div`,{className:[K.panel,K[`panel--${o}`],l?K[`panel--entering`]:K[`panel--exiting`]].filter(Boolean).join(` `),role:`dialog`,onAnimationEnd:e=>{e.target===e.currentTarget&&!l&&f(!1)},children:[r&&(0,n.jsx)(`div`,{className:K.panel__title,children:r}),i&&(0,n.jsx)(`div`,{className:K.panel__description,children:i}),s&&(0,n.jsx)(`div`,{className:K.panel__body,children:s}),a&&(0,n.jsx)(`div`,{className:K.panel__actions,children:a})]})]})},Tt={chart:`_chart_q6xhl_2`,circleFillSvg:`_circleFillSvg_q6xhl_17`},Et={sm:200,md:260,lg:340,xl:420},Dt=new Set([`circle-grid`,`circle-grid-no-lines`,`circle-grid-filled`]),Ot=new Set([`default`,`grid-custom`]),kt=new Set([`dots-grid-none`]),At=new Set([`grid-filled`]),jt=e=>e===`circle-grid-filled`,Mt=new Set([`default`,`dots`,`dots-grid-none`,`circle-grid`,`circle-grid-no-lines`,`multiple`,`custom-label`,`grid-custom`,`grid-filled`,`circle-grid-filled`]),Nt=[1,.8,.6,.4,.2],Pt=({data:e,variant:r=`default`,size:a=`md`,seriesLabels:o=[`Value`,`Value 2`],className:s})=>{let c=t.default.useRef(null),l=S(c),u=l(`--color-chart-1`)??`#ff4700`,d=l(`--color-chart-2`)??`#5b92dd`,f=l(`--color-border-default`)??`#dbdad7`,p=l(`--color-fg-subtle`)??`#a8a29b`,m=r===`multiple`,h=r===`lines-only`,g=m||r===`custom-label`||h,_=!h,v=r===`dots`||r===`dots-grid-none`||r===`circle-grid`||r===`circle-grid-no-lines`,y=At.has(r),b=Ot.has(r),x=kt.has(r),C=jt(r),[w,E]=t.default.useState(0);t.default.useEffect(()=>{if(!C||!c.current)return;let e=c.current,t=new ResizeObserver(([e])=>E(e.contentRect.width));return t.observe(e),()=>t.disconnect()},[C]);let D=t.default.useMemo(()=>{if(!y)return e;let t=Math.max(1,...e.flatMap(e=>[e.value,e.value2??0]));return e.map(e=>{let n={};return Nt.forEach((e,r)=>{n[`ring${r}`]=e*t}),{...e,...n}})},[e,y]),O=t=>{let{x:r,y:i,cx:a,cy:o,payload:s,textAnchor:c}=t,l=e.find(e=>e.label===s?.value)??e[s?.index];if(!l)return(0,n.jsx)(`g`,{});let u=r-a,d=i-o,f=l.value2===void 0?`${l.value}`:`${l.value}/${l.value2}`,m=Math.abs(d)>Math.abs(u),h,g;if(m&&d<0)g=i-4-6,h=g-16;else if(m)h=i+4+10,g=h+18;else{let e=i+d/(Math.sqrt(u*u+d*d)||1)*4;h=e-8,g=e+12}let _=m?r:r+u/Math.sqrt(u*u+d*d||1)*4;return(0,n.jsxs)(`g`,{children:[(0,n.jsx)(`text`,{x:_,y:h,textAnchor:c,fill:p,fontSize:15,fontWeight:600,fontFamily:`var(--font-sans)`,children:f}),(0,n.jsx)(`text`,{x:_,y:g,textAnchor:c,fill:p,fontSize:13,fontFamily:`var(--font-sans)`,children:l.label})]})},k=Et[a],A=(w>0?Math.min(w,k)/2-5:0)*.7;return(0,n.jsxs)(`div`,{ref:c,className:[Tt.chart,s??``].filter(Boolean).join(` `),children:[C&&w>0&&(0,n.jsx)(`svg`,{className:Tt.circleFillSvg,width:w,height:k,children:Nt.map(e=>(0,n.jsx)(`circle`,{cx:w/2,cy:k/2,r:A*e,fill:d,fillOpacity:.1},e))}),(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:k,children:(0,n.jsxs)(i.RadarChart,{data:D,outerRadius:`70%`,children:[!y&&!x&&(0,n.jsx)(i.PolarGrid,{gridType:Dt.has(r)?`circle`:`polygon`,radialLines:r!==`circle-grid-no-lines`&&!b,stroke:f}),(0,n.jsx)(i.PolarAngleAxis,{dataKey:`label`,axisLine:!1,tick:r===`custom-label`?O:{fill:p,fontSize:12,fontFamily:`var(--font-sans)`}}),(0,n.jsx)(i.PolarRadiusAxis,{tick:!1,axisLine:!1,tickCount:b?2:void 0}),(0,n.jsx)(i.Tooltip,{content:(0,n.jsx)(T,{}),wrapperStyle:{zIndex:50}}),m&&(0,n.jsx)(i.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),y&&Nt.map((e,t)=>(0,n.jsx)(i.Radar,{dataKey:`ring${t}`,stroke:`none`,fill:d,fillOpacity:.1,isAnimationActive:!1,legendType:`none`},`ring${t}`)),(0,n.jsx)(i.Radar,{name:m?o[0]??`Value`:void 0,dataKey:`value`,stroke:Mt.has(r)?`none`:d,fill:_?d:`none`,fillOpacity:_?b?1:g?.45:.5:0,strokeWidth:Mt.has(r)?0:2,dot:v?{r:4,fill:d,stroke:`none`}:!1,isAnimationActive:!1}),g&&(0,n.jsx)(i.Radar,{name:m?o[1]??`Value 2`:void 0,dataKey:`value2`,stroke:h?u:`none`,fill:h?`none`:u,fillOpacity:h?0:.8,strokeWidth:h?2:0,dot:v?{r:4,fill:u,stroke:`none`}:!1,isAnimationActive:!1})]})})]})},q={chart:`_chart_1ogmh_2`,gridSvg:`_gridSvg_1ogmh_19`,gaugeSvg:`_gaugeSvg_1ogmh_31`,center:`_center_1ogmh_36`,center__value:`_center__value_1ogmh_45`,center__caption:`_center__caption_1ogmh_46`},Ft={sm:180,md:220,lg:280,xl:340},It=Math.PI/180,Lt=e=>Math.round(e*1e3)/1e3,Rt={multi:[`30%`,`100%`],grid:[`30%`,`100%`],"stacked-label":[`30%`,`100%`],text:[`76%`,`100%`]},zt=({value:e,max:t,color:r,track:i,centerValue:a,centerCaption:o,labelColor:s,captionColor:c})=>{let l=Math.round(Math.min(e,t)/t*40);return(0,n.jsxs)(`svg`,{viewBox:`0 0 200 120`,className:q.gaugeSvg,children:[Array.from({length:40}).map((e,t)=>{let a=180+t/39*180;return(0,n.jsx)(`line`,{x1:Lt(100+78*Math.cos(a*It)),y1:Lt(100+78*Math.sin(a*It)),x2:Lt(100+92*Math.cos(a*It)),y2:Lt(100+92*Math.sin(a*It)),stroke:t<l?r:i,strokeWidth:2.5,strokeLinecap:`round`},t)}),(a||o)&&(0,n.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[a&&(0,n.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:a}),o&&(0,n.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},Bt=({rings:e,spokes:t,color:r})=>(0,n.jsxs)(`svg`,{viewBox:`0 0 200 200`,className:q.gridSvg,children:[Array.from({length:e}).map((t,i)=>(0,n.jsx)(`circle`,{cx:100,cy:100,r:(i+1)/e*96,fill:`none`,stroke:r,strokeWidth:1},i)),Array.from({length:t}).map((e,i)=>{let a=i/t*360,o=99.5*1.1;return(0,n.jsx)(`line`,{x1:100,y1:100,x2:Lt(100+o*Math.cos(a*It)),y2:Lt(100+o*Math.sin(a*It)),stroke:r,strokeWidth:1},i)})]}),Vt=({data:e,palette:t,track:r,centerValue:a,centerCaption:o,labelColor:s,captionColor:c})=>{let l=e[0]?.max??e.reduce((e,t)=>e+t.value,0),u=210,d=e.map((e,n)=>{let r=l>0?e.value/l*240:0,i=u,a=u-r;return u=a,{segStart:i,segEnd:a,fill:t[n%t.length]}});return(0,n.jsxs)(`svg`,{viewBox:`0 0 200 160`,className:q.gaugeSvg,children:[d.map((e,t)=>(0,n.jsx)(i.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:e.segStart,endAngle:e.segEnd,fill:e.fill,cornerRadius:4},t)),u>-29.5&&(0,n.jsx)(i.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:u,endAngle:-30,fill:r,cornerRadius:4}),(a||o)&&(0,n.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[a&&(0,n.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:a}),o&&(0,n.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},Ht=({data:e,variant:r=`multi`,size:a=`md`,centerValue:o,centerCaption:s,className:c})=>{let l=t.default.useRef(null),u=S(l),d=[1,2,3,4,5].map(e=>u(`--color-chart-${e}`)??C[e-1]),f=u(`--color-bg-subtle`)??`#f5f4f2`,p=u(`--color-border-subtle`)??`#e7e5e1`,m=u(`--color-fg-default`)??`#141414`,h=u(`--color-fg-muted`)??`#78716a`,g=Ft[a];if(r===`gauge-tick`){let t=e[0];return(0,n.jsx)(`div`,{ref:l,className:[q.chart,c??``].filter(Boolean).join(` `),style:{height:g},children:(0,n.jsx)(zt,{value:t?.value??0,max:t?.max??100,color:d[0],track:f,centerValue:o,centerCaption:s,labelColor:m,captionColor:h})})}if(r===`shape`||r===`stacked`||r===`stacked-3-layers`)return(0,n.jsx)(`div`,{ref:l,className:[q.chart,c??``].filter(Boolean).join(` `),style:{height:g},children:(0,n.jsx)(Vt,{data:e,palette:d,track:f,centerValue:o,centerCaption:s,labelColor:m,captionColor:h})});let[_,v]=Rt[r]??[`30%`,`100%`],y=(r===`stacked-label`||r===`text`)&&(o||s);return(0,n.jsxs)(`div`,{ref:l,className:[q.chart,c??``].filter(Boolean).join(` `),style:{height:g},children:[r===`grid`&&(0,n.jsx)(Bt,{rings:8,spokes:12,color:p}),(0,n.jsx)(i.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(i.RadialBarChart,{data:e,innerRadius:_,outerRadius:v,startAngle:90,endAngle:-270,barCategoryGap:`12%`,children:[(0,n.jsx)(i.PolarAngleAxis,{type:`number`,domain:[0,e[0]?.max??100],tick:!1,axisLine:!1}),(0,n.jsx)(i.RadialBar,{dataKey:`value`,background:r!==`grid`&&{fill:f},cornerRadius:8,isAnimationActive:!1,children:e.map((e,t)=>(0,n.jsx)(i.Cell,{fill:d[t%d.length]},t))})]})}),y&&(0,n.jsxs)(`div`,{className:q.center,children:[o&&(0,n.jsx)(`span`,{className:q.center__value,children:o}),s&&(0,n.jsx)(`span`,{className:q.center__caption,children:s})]})]})},J={wrapper:`_wrapper_5ueza_3`,"wrapper--disabled":`_wrapper--disabled_5ueza_11`,input:`_input_5ueza_13`,circle:`_circle_5ueza_15`,dot:`_dot_5ueza_31`,text:`_text_5ueza_79`,text__label:`_text__label_5ueza_80`,text__description:`_text__description_5ueza_81`,"wrapper--withDescription":`_wrapper--withDescription_5ueza_85`},Ut=t.default.forwardRef(({label:e,description:r,disabled:i,id:a,className:o,...s},c)=>{let l=t.default.useId(),u=a??l;return(0,n.jsxs)(`label`,{htmlFor:u,className:[J.wrapper,r?J[`wrapper--withDescription`]:``,i?J[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`input`,{ref:c,id:u,type:`radio`,disabled:i,className:J.input,...s}),(0,n.jsx)(`span`,{className:J.circle,"aria-hidden":`true`,children:(0,n.jsx)(`span`,{className:J.dot})}),(e||r)&&(0,n.jsxs)(`span`,{className:J.text,children:[e&&(0,n.jsx)(`span`,{className:J.text__label,children:e}),r&&(0,n.jsx)(`span`,{className:J.text__description,children:r})]})]})});Ut.displayName=`Radio`;var Y={footer:`_footer_sh6kz_4`,"footer--collapsed":`_footer--collapsed_sh6kz_12`,footer__text:`_footer__text_sh6kz_14`,footer__title:`_footer__title_sh6kz_15`,footer__subtitle:`_footer__subtitle_sh6kz_16`,footer__menu:`_footer__menu_sh6kz_17`,footer__action:`_footer__action_sh6kz_24`},Wt=({type:t=`user`,title:i,subtitle:a,avatarSrc:o,avatarInitials:s,collapsed:c,onMenu:l,onSignOut:u})=>{let d=(0,n.jsx)(e.ct,{size:`sm`,src:o,initials:s,alt:i??`User`});return c?(0,n.jsx)(`div`,{className:[Y.footer,Y[`footer--collapsed`]].join(` `),children:d}):t===`actions`?(0,n.jsx)(`div`,{className:Y.footer,children:(0,n.jsxs)(`button`,{type:`button`,className:Y.footer__action,onClick:u,children:[(0,n.jsx)(r.LogOut,{size:16,strokeWidth:e.dt(16)}),` Sign out`]})}):(0,n.jsxs)(`div`,{className:Y.footer,children:[d,(0,n.jsxs)(`span`,{className:Y.footer__text,children:[i&&(0,n.jsx)(`span`,{className:Y.footer__title,children:i}),a&&(0,n.jsx)(`span`,{className:Y.footer__subtitle,children:a})]}),t===`user-menu`&&(0,n.jsx)(`button`,{type:`button`,className:Y.footer__menu,onClick:l,"aria-label":`Open menu`,children:(0,n.jsx)(r.EllipsisVertical,{size:16,strokeWidth:e.dt(16)})})]})},X={promo:`_promo_1dicm_4`,promo__head:`_promo__head_1dicm_15`,promo__icon:`_promo__icon_1dicm_16`,promo__title:`_promo__title_1dicm_17`,promo__dismiss:`_promo__dismiss_1dicm_18`,promo__desc:`_promo__desc_1dicm_25`,promo__cta:`_promo__cta_1dicm_28`},Gt=({type:t=`upgrade`,title:i,description:a,ctaLabel:o,onCta:s,onDismiss:c,icon:l=r.Sparkles})=>(0,n.jsxs)(`div`,{className:[X.promo,X[`promo--${t}`]].join(` `),children:[(0,n.jsxs)(`div`,{className:X.promo__head,children:[(0,n.jsx)(`span`,{className:X.promo__icon,"aria-hidden":`true`,children:(0,n.jsx)(l,{size:16,strokeWidth:e.dt(16)})}),(0,n.jsx)(`span`,{className:X.promo__title,children:i}),c&&(0,n.jsx)(`button`,{type:`button`,className:X.promo__dismiss,onClick:c,"aria-label":`Dismiss`,children:(0,n.jsx)(r.X,{size:14,strokeWidth:e.dt(14)})})]}),a&&(0,n.jsx)(`p`,{className:X.promo__desc,children:a}),o&&(0,n.jsx)(`button`,{type:`button`,className:X.promo__cta,onClick:s,children:o})]}),Z={search:`_search_cvwic_2`,search__icon:`_search__icon_cvwic_18`,search__input:`_search__input_cvwic_19`,search__placeholder:`_search__placeholder_cvwic_31`,search__kbd:`_search__kbd_cvwic_32`,collapsed:`_collapsed_cvwic_42`},Kt=({type:t=`field`,placeholder:i=`Search…`,collapsed:a,value:o,onChange:s,onClick:c})=>a?(0,n.jsx)(`button`,{type:`button`,className:Z.collapsed,onClick:c,"aria-label":`Search`,children:(0,n.jsx)(r.Search,{size:18,strokeWidth:e.dt(18)})}):t===`command`?(0,n.jsxs)(`button`,{type:`button`,className:Z.search,onClick:c,children:[(0,n.jsx)(r.Search,{size:16,strokeWidth:e.dt(16),className:Z.search__icon}),(0,n.jsx)(`span`,{className:Z.search__placeholder,children:i}),(0,n.jsx)(`kbd`,{className:Z.search__kbd,children:`⌘K`})]}):(0,n.jsxs)(`div`,{className:Z.search,children:[(0,n.jsx)(r.Search,{size:16,strokeWidth:e.dt(16),className:Z.search__icon}),(0,n.jsx)(`input`,{className:Z.search__input,placeholder:i,value:o,onChange:e=>s?.(e.target.value)})]}),qt={spinner:`_spinner_14r00_3`,"spinner--sm":`_spinner--sm_14r00_12`,"spinner--md":`_spinner--md_14r00_13`,"spinner--lg":`_spinner--lg_14r00_14`,spinner__svg:`_spinner__svg_14r00_17`,"spinner-rotate":`_spinner-rotate_14r00_1`},Jt=({size:e=`md`,label:t=`Loading...`,className:r})=>(0,n.jsx)(`span`,{role:`status`,"aria-label":t,className:[qt.spinner,qt[`spinner--${e}`],r??``].filter(Boolean).join(` `),children:(0,n.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.5,strokeLinecap:`round`,"aria-hidden":`true`,className:qt.spinner__svg,children:[(0,n.jsx)(`circle`,{cx:12,cy:12,r:9,opacity:.2}),(0,n.jsx)(`path`,{d:`M12 3a9 9 0 0 1 9 9`,className:qt.spinner__arc})]})}),Q={card:`_card_bjfuf_4`,"card--featured":`_card--featured_bjfuf_17`,card__head:`_card__head_bjfuf_19`,card__icon:`_card__icon_bjfuf_20`,card__title:`_card__title_bjfuf_28`,card__menu:`_card__menu_bjfuf_29`,card__value:`_card__value_bjfuf_37`,card__meta:`_card__meta_bjfuf_46`,card__sparkline:`_card__sparkline_bjfuf_53`,"card--trend-up":`_card--trend-up_bjfuf_55`,"card--trend-down":`_card--trend-down_bjfuf_56`,card__description:`_card__description_bjfuf_59`},Yt={up:r.TrendingUp,down:r.TrendingDown,flat:r.Minus},Xt={up:`success`,down:`danger`,flat:`neutral`},Zt=({data:e})=>{if(e.length<2)return null;let t=Math.min(...e),r=Math.max(...e)-t||1,i=e.map((n,i)=>`${i/(e.length-1)*100},${30-(n-t)/r*26}`).join(` `);return(0,n.jsx)(`svg`,{className:Qt,viewBox:`0 0 100 32`,preserveAspectRatio:`none`,"aria-hidden":`true`,children:(0,n.jsx)(`polyline`,{points:i,fill:`none`,strokeWidth:2,vectorEffect:`non-scaling-stroke`,strokeLinejoin:`round`,strokeLinecap:`round`})})},Qt=Q.card__sparkline,$t=({title:t,value:i,description:a,sparkline:o,delta:s,trend:c=`up`,badgeVariant:l,variant:u=`minimal`,icon:d,showMenu:f,onMenu:p,className:m})=>{let h=Yt[c],g=(u===`icon`||u===`featured`)&&d;return(0,n.jsxs)(`div`,{className:[Q.card,Q[`card--${u}`],Q[`card--trend-${c}`],m??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:Q.card__head,children:[g&&(0,n.jsx)(`span`,{className:Q.card__icon,"aria-hidden":`true`,children:(0,n.jsx)(d,{size:18,strokeWidth:e.dt(18)})}),(0,n.jsx)(`span`,{className:Q.card__title,children:t}),f&&(0,n.jsx)(`button`,{type:`button`,className:Q.card__menu,onClick:p,"aria-label":`More options`,children:(0,n.jsx)(r.MoreHorizontal,{size:16,strokeWidth:e.dt(16)})})]}),(0,n.jsx)(`div`,{className:Q.card__value,children:i}),o&&(0,n.jsx)(Zt,{data:o}),(s||a)&&(0,n.jsxs)(`div`,{className:Q.card__meta,children:[s&&(0,n.jsx)(e.J,{variant:l??Xt[c],leftIcon:(0,n.jsx)(h,{size:12,strokeWidth:2}),children:s}),a&&(0,n.jsx)(`p`,{className:Q.card__description,children:a})]})]})},$={stepper:`_stepper_kxw14_3`,"stepper--horizontal":`_stepper--horizontal_kxw14_4`,"stepper--vertical":`_stepper--vertical_kxw14_5`,step:`_step_kxw14_3`,"step--horizontal":`_step--horizontal_kxw14_8`,"step--vertical":`_step--vertical_kxw14_9`,circle:`_circle_kxw14_12`,circle__num:`_circle__num_kxw14_24`,"circle--completed":`_circle--completed_kxw14_26`,"circle--current":`_circle--current_kxw14_27`,"circle--upcoming":`_circle--upcoming_kxw14_32`,step__text:`_step__text_kxw14_39`,step__label:`_step__label_kxw14_40`,"step__label--current":`_step__label--current_kxw14_41`,"step__label--upcoming":`_step__label--upcoming_kxw14_42`,step__desc:`_step__desc_kxw14_43`,connector:`_connector_kxw14_46`,"connector--horizontal":`_connector--horizontal_kxw14_47`,"connector--vertical":`_connector--vertical_kxw14_48`,"connector--filled":`_connector--filled_kxw14_49`},en=({index:t,state:i,label:a,description:o,orientation:s=`horizontal`})=>(0,n.jsxs)(`div`,{className:[$.step,$[`step--${s}`]].join(` `),children:[(0,n.jsx)(`span`,{className:[$.circle,$[`circle--${i}`]].join(` `),"aria-hidden":`true`,children:i===`completed`?(0,n.jsx)(r.Check,{size:14,strokeWidth:e.dt(14)}):(0,n.jsx)(`span`,{className:$.circle__num,children:t+1})}),(0,n.jsxs)(`span`,{className:$.step__text,children:[(0,n.jsx)(`span`,{className:[$.step__label,i===`current`?$[`step__label--current`]:``,i===`upcoming`?$[`step__label--upcoming`]:``].filter(Boolean).join(` `),children:a}),o&&(0,n.jsx)(`span`,{className:$.step__desc,children:o})]})]}),tn=({steps:e,current:r,orientation:i=`horizontal`,className:a})=>{let o=e=>e<r?`completed`:e===r?`current`:`upcoming`;return(0,n.jsx)(`div`,{className:[$.stepper,$[`stepper--${i}`],a??``].filter(Boolean).join(` `),children:e.map((a,s)=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsx)(en,{index:s,state:o(s),label:a.label,description:a.description,orientation:i}),s<e.length-1&&(0,n.jsx)(`span`,{className:[$.connector,$[`connector--${i}`],s<r?$[`connector--filled`]:``].filter(Boolean).join(` `),"aria-hidden":`true`})]},s))})},nn={wrapper:`_wrapper_bkgd3_3`,"wrapper--disabled":`_wrapper--disabled_bkgd3_11`,input:`_input_bkgd3_13`,track:`_track_bkgd3_15`,thumb:`_thumb_bkgd3_28`,label:`_label_bkgd3_45`},rn=t.default.forwardRef(({label:e,disabled:r,id:i,className:a,...o},s)=>{let c=t.default.useId(),l=i??c;return(0,n.jsxs)(`label`,{htmlFor:l,className:[nn.wrapper,r?nn[`wrapper--disabled`]:``,a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`input`,{ref:s,id:l,type:`checkbox`,role:`switch`,disabled:r,className:nn.input,...o}),(0,n.jsx)(`span`,{className:nn.track,"aria-hidden":`true`,children:(0,n.jsx)(`span`,{className:nn.thumb})}),e&&(0,n.jsx)(`span`,{className:nn.label,children:e})]})});rn.displayName=`Switch`;var an={field:`_field_644oy_6`,field__label:`_field__label_644oy_8`,field__description:`_field__description_644oy_9`,field__error:`_field__error_644oy_10`,textarea:`_textarea_644oy_12`,"textarea--error":`_textarea--error_644oy_37`,"textarea--disabled":`_textarea--disabled_644oy_43`},on=t.default.forwardRef(({label:e,description:r,error:i,disabled:a,id:o,className:s,rows:c=4,...l},u)=>{let d=t.default.useId(),f=o??d,p=!!i;return(0,n.jsxs)(`div`,{className:[an.field,s??``].filter(Boolean).join(` `),children:[e&&(0,n.jsx)(`label`,{htmlFor:f,className:an.field__label,children:e}),(0,n.jsx)(`textarea`,{ref:u,id:f,rows:c,disabled:a,"aria-invalid":p||void 0,className:[an.textarea,p?an[`textarea--error`]:``,a?an[`textarea--disabled`]:``].filter(Boolean).join(` `),...l}),(r||i)&&(0,n.jsx)(`span`,{className:p?an.field__error:an.field__description,children:i||r})]})});on.displayName=`Textarea`;var sn={toast:`_toast_8yqwj_3`,toast__icon:`_toast__icon_8yqwj_17`,"toast--success":`_toast--success_8yqwj_18`,"toast--error":`_toast--error_8yqwj_19`,"toast--info":`_toast--info_8yqwj_20`,toast__content:`_toast__content_8yqwj_22`,toast__title:`_toast__title_8yqwj_23`,toast__description:`_toast__description_8yqwj_24`,toast__dismiss:`_toast__dismiss_8yqwj_26`},cn={success:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,n.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),error:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,n.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),info:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,n.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]})},ln=({status:t=`info`,title:r,description:i,onDismiss:a,className:o})=>(0,n.jsxs)(`div`,{role:t===`error`?`alert`:`status`,"aria-live":t===`error`?`assertive`:`polite`,className:[sn.toast,sn[`toast--${t}`],o??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:sn.toast__icon,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:e.dt(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:cn[t]})}),(0,n.jsxs)(`div`,{className:sn.toast__content,children:[r&&(0,n.jsx)(`div`,{className:sn.toast__title,children:r}),i&&(0,n.jsx)(`div`,{className:sn.toast__description,children:i})]}),a&&(0,n.jsx)(`button`,{type:`button`,className:sn.toast__dismiss,onClick:a,"aria-label":`Dismiss`,children:(0,n.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:e.dt(16),strokeLinecap:`round`,strokeLinejoin:`round`,width:16,height:16,children:[(0,n.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,n.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})]}),un={bar:`_bar_14cqo_2`,bar__icon:`_bar__icon_14cqo_10`,bar__title:`_bar__title_14cqo_17`,"bar__title--center":`_bar__title--center_14cqo_21`,bar__search:`_bar__search_14cqo_22`},dn=({type:t=`title`,title:i,trailing:a,search:o,onMenu:s,onAction:c,onClose:l,className:u})=>(0,n.jsxs)(`header`,{className:[un.bar,u??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`button`,{type:`button`,className:un.bar__icon,onClick:s,"aria-label":`Open menu`,children:(0,n.jsx)(r.Menu,{size:18,strokeWidth:e.dt(18)})}),t===`search`?(0,n.jsx)(`div`,{className:un.bar__search,children:o}):(0,n.jsx)(`span`,{className:[un.bar__title,t===`title-centered`?un[`bar__title--center`]:``].join(` `),children:i}),t===`title-action`&&(0,n.jsx)(`button`,{type:`button`,className:un.bar__icon,onClick:c,"aria-label":`Add`,children:(0,n.jsx)(r.Plus,{size:18,strokeWidth:e.dt(18)})}),t===`search`&&(0,n.jsx)(`button`,{type:`button`,className:un.bar__icon,onClick:l,"aria-label":`Close search`,children:(0,n.jsx)(r.X,{size:18,strokeWidth:e.dt(18)})}),(t===`title`||t===`title-centered`)&&a]});exports.Accordion=e.lt,exports.AccordionItem=e.ut,exports.ActivityFeed=e.ot,exports.ActivityFeedHighlight=e.st,exports.Alert=e.E,exports.Announcement=o,exports.AreaChart=Pe,exports.Avatar=e.ct,exports.AvatarGroup=e.j,exports.AvatarUpload=e.nt,exports.Badge=e.J,exports.Balance=e.tt,exports.BarChart=A,exports.BlogBlockquote=le,exports.BlogFeatureText=de,exports.BlogImage=pe,exports.BlogListingCard=e.P,exports.BlogListingFeaturedCard=e.N,exports.BoardCard=e.T,exports.BoardColumn=Fe,exports.Breadcrumb=e.w,exports.Button=e.rt,exports.Calendar=Be,exports.Card=He,exports.CardMetaItem=e.C,exports.CartItem=e.K,exports.ChatComposer=e.S,exports.Checkbox=e.x,exports.CheckoutSteps=e.W,exports.CodeSnippet=d,exports.ColorSwatch=e.H,exports.Combobox=Ue,exports.ConversationItem=e.b,exports.DEFAULT_CHECKOUT_STEPS=e.G,exports.Divider=e.$,exports.DonutChart=Ke,exports.EmptyState=e.y,exports.Expenses=m,exports.FeaturedIcon=e.M,exports.FileUpload=qe,exports.FilterChip=e.v,exports.FirstPageHeading=me,exports.FunnelChart=Qe,exports.HeatmapChart=tt,exports.IconButton=e.it,exports.InlineHint=_,exports.Input=e._,exports.JobListing=e.k,exports.Kbd=rt,exports.Label=at,exports.LineChart=lt,exports.Link=e.at,exports.List=ge,exports.ListItem=ut,exports.LocationDot=e.A,exports.Marquee=ye,exports.Menu=ft,exports.MenuDivider=pt,exports.MenuItem=ht,exports.MessageBubble=e.g,exports.Metric=xe,exports.MobileNavigationMenu=Se,exports.Modal=e.Q,exports.NotificationItem=e.Z,exports.Pagination=e.h,exports.PieChart=Ct,exports.PlaceholderLogo=Te,exports.Popover=wt,exports.PriceDisplay=e.V,exports.ProductCard=e.z,exports.ProductGallery=e.R,exports.ProfileCard=Ee,exports.Progress=e.et,exports.ProgressItem=y,exports.ProgressStat=e.X,exports.QuantitySelector=e.q,exports.RadarChart=Pt,exports.RadialChart=Ht,exports.Radio=Ut,exports.RichSeparator=x,exports.RichTextHeading=Oe,exports.RichTextParagraph=Ae,exports.SectionHeading=e.O,exports.SegmentedControl=e.m,exports.Select=e.p,exports.Sidebar=e.f,exports.SidebarDivider=e.d,exports.SidebarFooter=Wt,exports.SidebarGroupLabel=e.u,exports.SidebarHeader=e.l,exports.SidebarItem=e.c,exports.SidebarPromo=Gt,exports.SidebarSearch=Kt,exports.SidebarSubItem=e.s,exports.SizeSelector=e.L,exports.Skeleton=e.o,exports.Slider=e.a,exports.SpendingBalance=e.Y,exports.Spinner=Jt,exports.StarRating=e.I,exports.StatCard=$t,exports.Stepper=tn,exports.StepperStep=en,exports.StockMarket=te,exports.StockStatus=e.F,exports.SubFeature=je,exports.Switch=rn,exports.Table=e.i,exports.Tabs=e.r,exports.Tags=re,exports.TeamCard=e.D,exports.Textarea=on,exports.Ticker=oe,exports.Toast=ln,exports.Tooltip=e.n,exports.TopBar=e.t,exports.TopBarMobile=dn,exports.Transactions=ce,exports.WishlistButton=e.B,exports.getContrastColor=e.U,exports.iconStrokeWidth=e.dt;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as ee, _ as E, a as te, at as ne, b as re, c as ie, ct as ae, d as oe, dt as D, et as se, f as ce, g as le, h as ue, i as de, it as fe, j as pe, k as me, l as he, lt as ge, m as _e, n as ve, nt as ye, o as be, ot as xe, p as Se, q as Ce, r as we, rt as Te, s as Ee, st as De, t as Oe, tt as ke, u as Ae, ut as je, v as Me, w as Ne, x as Pe, y as Fe, z as Ie } from "./TopBar-CGnnA39K.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as ee, _ as E, a as te, at as ne, b as re, c as ie, ct as ae, d as oe, dt as D, et as se, f as ce, g as le, h as ue, i as de, it as fe, j as pe, k as me, l as he, lt as ge, m as _e, n as ve, nt as ye, o as be, ot as xe, p as Se, q as Ce, r as we, rt as Te, s as Ee, st as De, t as Oe, tt as ke, u as Ae, ut as je, v as Me, w as Ne, x as Pe, y as Fe, z as Ie } from "./TopBar-MpwJMUdr.js";
2
2
  import O, { useEffect as Le, useState as Re } from "react";
3
3
  import { Fragment as ze, jsx as k, jsxs as A } from "react/jsx-runtime";
4
4
  import { ArrowRight as Be, ChartColumn as Ve, Check as He, ChevronDown as Ue, ChevronLeft as We, ChevronRight as Ge, Copy as Ke, EllipsisVertical as qe, File as Je, Info as Ye, LogOut as Xe, Menu as Ze, Minus as Qe, MoreHorizontal as $e, Play as et, Plus as tt, Quote as nt, Receipt as rt, Search as it, Sparkles as at, TrendingDown as ot, TrendingUp as st, TriangleAlert as ct, UploadCloud as lt, X as ut } from "lucide-react";