@sakaniui/react 0.11.1 → 0.12.0
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/AGENTS.md +27 -3
- package/CHANGELOG.md +44 -0
- package/dist/{TopBar-O_56x94F.js → TopBar-DRGud3JP.js} +223 -223
- package/dist/{TopBar-7GwvQXGS.cjs → TopBar-Dd_xHXBv.cjs} +1 -1
- package/dist/blocks.cjs +2 -2
- package/dist/blocks.mjs +81 -81
- package/dist/components/ChainOfThought/ChainOfThought.d.ts +72 -0
- package/dist/components/ChainOfThought/SourceLogo.d.ts +13 -0
- package/dist/components/ChainOfThought/index.d.ts +6 -0
- package/dist/components/ChainOfThought/logoData.d.ts +93 -0
- package/dist/components/ChainOfThought/logoIcons.d.ts +11 -0
- package/dist/emoji-index.json +1 -1
- package/dist/file-text-B2rmiOJD.cjs +1 -0
- package/dist/{file-text-DSD625_l.js → file-text-CuRYymVv.js} +34 -34
- package/dist/{help-circle-B0koiJUs.js → help-circle-BufsknPE.js} +9 -9
- package/dist/help-circle-C1LENUMu.cjs +1 -0
- package/dist/icon-index.json +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.mjs +3932 -3938
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1796 -1317
- package/dist/{logout-BW8ksDGk.js → logout-Mc5-u8cG.js} +10 -4
- package/dist/logout-g8G9uxDa.cjs +1 -0
- package/dist/manifest.json +399 -28
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/dist/file-text-DEGE-_aO.cjs +0 -1
- package/dist/help-circle-0qi1skw5.cjs +0 -1
- package/dist/logout-DkdFsC2P.cjs +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-CMqjfN_6.cjs"),t=require("./TopBar-7GwvQXGS.cjs"),n=require("./help-circle-0qi1skw5.cjs"),r=require("./logout-DkdFsC2P.cjs");let i=require("react");i=e.t(i,1);let a=require("react/jsx-runtime"),o=require("recharts");var s={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`},c=({message:e,linkLabel:r,linkHref:i,onLinkClick:o,onDismiss:c,variant:l=`neutral`,className:u})=>{let d=l===`urgent`;return(0,a.jsxs)(`div`,{className:[s.announcement,s[`announcement--${l}`],u??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:s.content,children:[(0,a.jsx)(`span`,{className:s.icon,"aria-hidden":`true`,children:d?(0,a.jsx)(n.I,{size:24,strokeWidth:1.5,style:{fill:`var(--color-info-solid)`,stroke:`var(--color-info-bg)`}}):(0,a.jsx)(n.L,{size:24,strokeWidth:1.5,fill:`currentColor`,stroke:`currentColor`,className:s.icon__neutral})}),(0,a.jsx)(`p`,{className:s.message,children:e}),!d&&r&&(0,a.jsx)(t.Tt,{href:i,onClick:o,className:s.link,style:{color:`var(--color-brand-fg)`,fontSize:16,lineHeight:`24px`},children:r})]}),c&&(0,a.jsx)(t.wt,{icon:n.F,size:`sm`,variant:`ghost`,"aria-label":`Dismiss`,onClick:c})]})},l={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`},u=[`import`,`export`,`from`,`default`,`function`,`return`,`const`,`let`,`var`,`if`,`else`,`for`,`while`,`class`,`extends`,`new`,`async`,`await`,`as`,`of`,`in`],d=RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${u.join(`|`)})\\b)`,`g`),f=e=>e.split(d).map((e,t)=>{if(!e)return null;let n=/^['"`]/.test(e),r=!n&&u.includes(e);return n?(0,a.jsx)(`span`,{className:l.tokenString,children:e},t):r?(0,a.jsx)(`span`,{className:l.tokenKeyword,children:e},t):(0,a.jsx)(i.default.Fragment,{children:e},t)}),p=({code:e,filename:o,onCopy:s,editable:c=!1,onChange:u,placeholder:d,className:p})=>{let[m,h]=i.default.useState(!1),[g,_]=i.default.useState(e);i.default.useEffect(()=>_(e),[e]);let v=()=>{navigator.clipboard?.writeText(g),s?.(g),h(!0),window.setTimeout(()=>h(!1),1500)},y=e=>{_(e),u?.(e)},b=c?(0,a.jsxs)(`div`,{className:l.editableBody,children:[(0,a.jsx)(`pre`,{className:l.body,"aria-hidden":`true`,children:f(g)}),(0,a.jsx)(`textarea`,{className:l.textarea,value:g,placeholder:d,spellCheck:!1,onChange:e=>y(e.target.value),onKeyDown:e=>{if(e.key!==`Tab`)return;e.preventDefault();let t=e.currentTarget,{selectionStart:n,selectionEnd:r}=t,i=`${g.slice(0,n)} ${g.slice(r)}`;y(i),requestAnimationFrame(()=>{t.selectionStart=t.selectionEnd=n+2})}})]}):(0,a.jsx)(`pre`,{className:l.body,children:f(g)});return o?(0,a.jsxs)(`div`,{className:[l.snippet,p??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:l.header,children:[(0,a.jsx)(`p`,{className:l.filename,children:o}),(0,a.jsx)(t.wt,{icon:m?n.k:r.c,variant:`ghost`,size:`sm`,"aria-label":m?`Copied`:`Copy code`,onClick:v})]}),b]}):(0,a.jsx)(`div`,{className:[l.snippet,p??``].filter(Boolean).join(` `),children:b})},m={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`},h=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),g=({categories:e,variant:n=`default`,formatAmount:r=h,className:i})=>{let o=n===`compact`,s=Math.max(1,...e.map(e=>e.amount));return(0,a.jsx)(`div`,{className:[m.expenses,i??``].filter(Boolean).join(` `),children:e.map((e,n)=>(0,a.jsxs)(`div`,{className:m.row,children:[(0,a.jsxs)(`div`,{className:m.top,children:[(0,a.jsxs)(`div`,{className:m.left,children:[(0,a.jsx)(`span`,{className:m.icon,"aria-hidden":`true`,children:e.icon}),(0,a.jsx)(`p`,{className:m.label,children:e.label})]}),(0,a.jsx)(`p`,{className:m.amount,children:r(e.amount)})]}),!o&&(0,a.jsx)(t.yt,{value:e.amount/s*100,size:`lg`,label:`${e.label} spending`})]},e.id??n))})},_={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`},v=14,y=({message:e,variant:i=`neutral`,className:o})=>{let s=i===`warning`?n.I:r.s;return(0,a.jsxs)(`div`,{className:[_.hint,_[`hint--${i}`],o??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`span`,{className:_.bar,"aria-hidden":`true`}),(0,a.jsx)(s,{size:v,strokeWidth:t.jt(v),className:_.icon}),(0,a.jsx)(`p`,{className:_.message,children:e})]})},b={item:`_item_jnz6o_1`,"item--horizontal":`_item--horizontal_jnz6o_6`,"item--vertical":`_item--vertical_jnz6o_11`,"text--single":`_text--single_jnz6o_18`,text:`_text_jnz6o_18`,value:`_value_jnz6o_28`,topRow:`_topRow_jnz6o_43`,connectorHorizontal:`_connectorHorizontal_jnz6o_48`,rail:`_rail_jnz6o_56`,connectorVertical:`_connectorVertical_jnz6o_63`,title:`_title_jnz6o_77`,description:`_description_jnz6o_85`},x=({step:e,title:r,description:i,completed:o=!1,orientation:s=`horizontal`,isLast:c=!1,className:l})=>{let u=s===`vertical`,d=(0,a.jsx)(`span`,{className:b.value,"aria-hidden":`true`,children:o?(0,a.jsx)(n.k,{size:14,strokeWidth:t.jt(14)}):e}),f=(0,a.jsxs)(`div`,{className:[b.text,i?``:b[`text--single`]].filter(Boolean).join(` `),children:[(0,a.jsx)(`p`,{className:b.title,children:r}),i&&(0,a.jsx)(`p`,{className:b.description,children:i})]});return u?(0,a.jsxs)(`div`,{className:[b.item,b[`item--vertical`],l??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:b.rail,children:[d,!c&&(0,a.jsx)(`div`,{className:b.connectorVertical})]}),f]}):(0,a.jsxs)(`div`,{className:[b.item,b[`item--horizontal`],l??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:b.topRow,children:[d,!c&&(0,a.jsx)(`div`,{className:b.connectorHorizontal})]}),f]})},S={separator:`_separator_pcfo8_1`,line:`_line_pcfo8_9`,overline:`_overline_pcfo8_19`,badge:`_badge_pcfo8_31`,iconWrap:`_iconWrap_pcfo8_37`},C=({children:e,label:n,className:r})=>(0,a.jsxs)(`div`,{className:[S.separator,r??``].filter(Boolean).join(` `),role:`separator`,children:[(0,a.jsx)(t.pt,{className:S.line}),e??(n&&(0,a.jsx)(`span`,{className:S.overline,children:n})),(0,a.jsx)(t.pt,{className:S.line})]}),w={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`},T=e=>Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),E=({logo:e,symbol:i,name:o,price:s,change:c,formatAmount:l=T,chart:u,periodLabel:d=`Last 6 months`,onPeriodClick:f,className:p})=>{let m=c.amount>=0,h=m?n.j:n.A,g=m?`+`:`-`,_=`${g}${l(c.amount)} (${g}${Math.abs(c.percent)}%)`,v=m?w.trendUp:w.trendDown;return u?(0,a.jsxs)(`div`,{className:[w.card,p??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:w.header,children:[(0,a.jsx)(r.o,{size:16,strokeWidth:t.jt(16),className:w.headerIcon}),(0,a.jsx)(`span`,{className:w.headerLabel,children:`Stock market`})]}),(0,a.jsxs)(`div`,{className:w.tickerRow,children:[(0,a.jsx)(`span`,{className:w.logoLg,"aria-hidden":`true`,children:e}),(0,a.jsxs)(`div`,{className:w.text,children:[(0,a.jsx)(`p`,{className:w.symbol,children:i}),(0,a.jsx)(`p`,{className:w.name,children:o})]})]}),(0,a.jsxs)(`div`,{className:w.body,children:[(0,a.jsxs)(`div`,{className:w.priceRow,children:[(0,a.jsxs)(`div`,{className:w.priceGroup,children:[(0,a.jsx)(`p`,{className:w.priceLg,children:l(s)}),(0,a.jsxs)(`div`,{className:w.changeRowLg,children:[(0,a.jsx)(h,{size:24,strokeWidth:t.jt(24),className:v}),(0,a.jsx)(`span`,{className:[w.changeTextLg,v].join(` `),children:_})]})]}),(0,a.jsx)(t.Ct,{variant:`outline`,size:`sm`,rightIcon:(0,a.jsx)(n.D,{size:16,strokeWidth:t.jt(16)}),onClick:f,children:d})]}),(0,a.jsx)(t.at,{data:u,className:w.chart})]})]}):(0,a.jsxs)(`div`,{className:[w.row,p??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:w.left,children:[(0,a.jsx)(`span`,{className:w.logo,"aria-hidden":`true`,children:e}),(0,a.jsxs)(`div`,{className:w.text,children:[(0,a.jsx)(`p`,{className:w.symbol,children:i}),(0,a.jsx)(`p`,{className:w.name,children:o})]})]}),(0,a.jsxs)(`div`,{className:w.right,children:[(0,a.jsx)(`p`,{className:w.price,children:l(s)}),(0,a.jsxs)(`div`,{className:w.changeRow,children:[(0,a.jsx)(h,{size:20,strokeWidth:t.jt(20),className:v}),(0,a.jsx)(`span`,{className:[w.changeText,v].join(` `),children:_})]})]})]})},D={tags:`_tags_bsi1x_1`,remove:`_remove_bsi1x_8`,tag:`_tag_bsi1x_1`,"tag--leaving":`_tag--leaving_bsi1x_22`},O=160,k=({tags:e,onRemove:r,className:o})=>{let[s,c]=i.default.useState(null),l=i.default.useRef(void 0);i.default.useEffect(()=>()=>window.clearTimeout(l.current),[]);let u=(e,t)=>{if(!(!r||s)){if(window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches){r(e,t);return}c(e),l.current=window.setTimeout(()=>{r(e,t),c(null)},O)}};return(0,a.jsx)(`div`,{className:[D.tags,o??``].filter(Boolean).join(` `),children:e.map((e,i)=>(0,a.jsx)(t.it,{className:[D.tag,s===e?D[`tag--leaving`]:``].filter(Boolean).join(` `),rightIcon:r&&(0,a.jsx)(`button`,{type:`button`,className:D.remove,onClick:()=>u(e,i),"aria-label":`Remove ${e}`,children:(0,a.jsx)(n.F,{size:12,strokeWidth:t.jt(12)})}),children:e},e))})},A={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`},ee=e=>`${e>=0?`+`:``}${e}%`,j=({items:e,formatChange:r,ariaHidden:i})=>(0,a.jsx)(`div`,{className:A.row,"aria-hidden":i,children:e.map((e,i)=>{let o=e.changePercent>=0,s=o?n.j:n.A,c=o?A.trendUp:A.trendDown;return(0,a.jsxs)(`div`,{className:A.item,children:[(0,a.jsx)(`span`,{className:A.symbol,children:e.symbol}),(0,a.jsx)(s,{size:14,strokeWidth:t.jt(14),className:c}),(0,a.jsx)(`span`,{className:[A.change,c].join(` `),children:r(e.changePercent)})]},`${e.symbol}-${i}`)})}),M=({items:e,speed:t=40,formatChange:n=ee,className:r})=>{let o=i.default.useRef(null),[s,c]=i.default.useState(20);return i.default.useEffect(()=>{let e=o.current;if(!e)return;let n=e.firstElementChild;if(!n)return;let r=()=>{let e=n.scrollWidth;e>0&&c(e/t)};r();let i=new ResizeObserver(r);return i.observe(n),()=>i.disconnect()},[e,t]),(0,a.jsxs)(`div`,{className:[A.ticker,r??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{ref:o,className:A.track,style:{"--ticker-duration":`${s}s`},children:[(0,a.jsx)(j,{items:e,formatChange:n}),(0,a.jsx)(j,{items:e,formatChange:n,ariaHidden:!0})]}),(0,a.jsx)(`div`,{className:A.fadeLeft,"aria-hidden":`true`}),(0,a.jsx)(`div`,{className:A.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`},te=e=>`${e>=0?`+`:`-`}${Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`})}`,P=({transactions:e,formatAmount:n=te,emptyTitle:i=`No transactions yet`,emptyDescription:o=`Your activity will show up here.`,className:s})=>e.length===0?(0,a.jsxs)(`div`,{className:[N.empty,s??``].filter(Boolean).join(` `),children:[(0,a.jsx)(r.a,{size:24,strokeWidth:t.jt(24),className:N.emptyIcon}),(0,a.jsx)(`p`,{className:N.emptyTitle,children:i}),(0,a.jsx)(`p`,{className:N.emptyDesc,children:o})]}):(0,a.jsx)(`div`,{className:[N.list,s??``].filter(Boolean).join(` `),children:e.map((t,r)=>{let i=t.amount>=0;return(0,a.jsxs)(`div`,{className:[N.row,r===e.length-1?N.rowLast:``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:N.left,children:[(0,a.jsx)(`span`,{className:N.iconWrap,"aria-hidden":`true`,children:t.icon}),(0,a.jsxs)(`div`,{className:N.info,children:[(0,a.jsx)(`p`,{className:N.name,children:t.name}),(0,a.jsx)(`p`,{className:N.category,children:t.category})]})]}),(0,a.jsx)(`p`,{className:[N.amount,i?N.amountUp:N.amountDown].join(` `),children:n(t.amount)})]},t.id??`${t.name}-${r}`)})}),F={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`},I=({quote:e,author:r,className:i})=>{let o=!!r;return(0,a.jsxs)(`div`,{className:[F.root,o?F.rootAttributed:F.rootSimple,i??``].filter(Boolean).join(` `),children:[(0,a.jsx)(t.pt,{orientation:`vertical`,className:F.rail}),(0,a.jsxs)(`div`,{className:F.body,children:[o&&(0,a.jsx)(`span`,{className:F.markRow,"aria-hidden":`true`,children:(0,a.jsx)(n.x,{size:12,strokeWidth:t.jt(12),className:F.mark,fill:`currentColor`})}),(0,a.jsx)(`p`,{className:o?F.quoteAttributed:F.quoteSimple,children:o?e:`"${e}"`}),o&&(0,a.jsx)(`span`,{className:[F.markRow,F.markRowEnd].join(` `),"aria-hidden":`true`,children:(0,a.jsx)(n.x,{size:12,strokeWidth:t.jt(12),className:F.mark,fill:`currentColor`})}),r&&(0,a.jsxs)(`div`,{className:F.author,children:[(0,a.jsx)(t.Ot,{size:`sm`,src:r.avatarSrc,alt:r.avatarAlt??r.name}),(0,a.jsxs)(`p`,{className:F.authorText,children:[(0,a.jsx)(`span`,{className:F.authorName,children:r.name}),(0,a.jsxs)(`span`,{className:F.authorRole,children:[`, `,r.role]})]})]})]})]})},ne={root:`_root_btuyr_1`,rootLeft:`_rootLeft_btuyr_13`,rootTop:`_rootTop_btuyr_19`,ruleLeft:`_ruleLeft_btuyr_24`,ruleTop:`_ruleTop_btuyr_31`,text:`_text_btuyr_39`},re=({text:e,align:t=`left`,className:n})=>(0,a.jsxs)(`div`,{className:[ne.root,t===`top`?ne.rootTop:ne.rootLeft,n??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`span`,{className:t===`top`?ne.ruleTop:ne.ruleLeft,"aria-hidden":`true`}),(0,a.jsx)(`p`,{className:ne.text,children:e})]}),L={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`},ie=({src:e,alt:t=``,size:n=`large`,caption:r,className:i})=>(0,a.jsxs)(`figure`,{className:[L.root,L[`root--${n}`],i??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`span`,{className:L.imageWrap,children:(0,a.jsx)(`img`,{src:e,alt:t,className:L.image})}),r&&(0,a.jsx)(`figcaption`,{className:L.caption,children:r})]}),R={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`},ae=({title:e,description:n,badgeLabel:i,primaryCta:o,secondaryCta:s,avatars:c,avatarsCaption:l,align:u=`center`,className:d})=>{let f=!!(o||s),p=!!(c&&c.length>0);return(0,a.jsxs)(`div`,{className:[R.root,u===`left`?R.rootLeft:R.rootCenter,d??``].filter(Boolean).join(` `),children:[i&&(0,a.jsx)(t.it,{variant:`accent`,emphasis:`subtle`,children:i}),(0,a.jsx)(`p`,{className:R.title,children:e}),n&&(0,a.jsx)(`p`,{className:R.description,children:n}),f&&(0,a.jsxs)(`div`,{className:R.ctaRow,children:[o&&(0,a.jsx)(t.Ct,{variant:`primary`,onClick:o.onClick,children:o.label}),s&&(0,a.jsx)(t.Ct,{variant:`secondary`,leftIcon:(0,a.jsx)(r.i,{size:16,strokeWidth:t.jt(16),fill:`currentColor`}),onClick:s.onClick,children:s.label})]}),p&&(0,a.jsxs)(`div`,{className:R.avatarBlock,children:[(0,a.jsx)(t.V,{size:`md`,avatars:c}),l&&(0,a.jsx)(`p`,{className:R.avatarsCaption,children:l})]})]})},oe={root:`_root_5kajg_1`,item:`_item_5kajg_12`,marker:`_marker_5kajg_18`,dot:`_dot_5kajg_26`,label:`_label_5kajg_34`},se=({items:e,style:i=`check`,className:o})=>(0,a.jsx)(`ul`,{className:[oe.root,o??``].filter(Boolean).join(` `),children:e.map((e,o)=>(0,a.jsxs)(`li`,{className:oe.item,children:[(0,a.jsxs)(`span`,{className:oe.marker,"aria-hidden":`true`,children:[i===`check`&&(0,a.jsx)(n.k,{size:18,strokeWidth:t.jt(18)}),i===`arrow`&&(0,a.jsx)(r.r,{size:16,strokeWidth:t.jt(16)}),i===`bullet`&&(0,a.jsx)(`span`,{className:oe.dot})]}),(0,a.jsx)(`span`,{className:oe.label,children:e})]},o))}),z={marquee:`_marquee_1pc4i_1`,track:`_track_1pc4i_13`,row:`_row_1pc4i_19`,item:`_item_1pc4i_25`,fadeLeft:`_fadeLeft_1pc4i_31`,fadeRight:`_fadeRight_1pc4i_32`},B=({items:e,gap:t,ariaHidden:n})=>(0,a.jsx)(`div`,{className:z.row,style:{gap:t,paddingRight:t},"aria-hidden":n,children:e.map((e,t)=>(0,a.jsx)(`div`,{className:z.item,children:e},t))}),ce=({items:e,speed:t=40,gap:n,className:r})=>{let o=i.default.useRef(null),s=i.default.useRef(0),c=i.default.useRef(0),l=i.default.useRef(!1);return i.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,n]),i.default.useEffect(()=>{let e=o.current;if(!e||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let n,r=performance.now(),i=()=>{let a=performance.now(),o=(a-r)/1e3;r=a;let u=l.current?t*.2:t,d=s.current;d>0&&(c.current=(c.current+u*o)%d,e.style.transform=`translateX(-${c.current}px)`),n=setTimeout(i,16)};return n=setTimeout(i,16),()=>clearTimeout(n)},[t]),(0,a.jsxs)(`div`,{className:[z.marquee,r??``].filter(Boolean).join(` `),onMouseEnter:()=>{l.current=!0},onMouseLeave:()=>{l.current=!1},children:[(0,a.jsxs)(`div`,{ref:o,className:z.track,children:[(0,a.jsx)(B,{items:e,gap:n}),(0,a.jsx)(B,{items:e,gap:n,ariaHidden:!0})]}),(0,a.jsx)(`div`,{className:z.fadeLeft,"aria-hidden":`true`}),(0,a.jsx)(`div`,{className:z.fadeRight,"aria-hidden":`true`})]})},V={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`},le=({value:e,label:r,trend:i,className:o})=>{let s=i!==void 0,c=s&&i>=0,l=c?n.j:n.A;return(0,a.jsxs)(`div`,{className:[V.root,o??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:V.numRow,children:[(0,a.jsx)(`p`,{className:V.value,children:e}),s&&(0,a.jsxs)(`span`,{className:[V.trend,c?V.trendUp:V.trendDown].join(` `),children:[(0,a.jsx)(l,{size:24,strokeWidth:t.jt(24)}),Math.abs(i),`%`]})]}),(0,a.jsx)(`p`,{className:V.label,children:r})]})},H={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`},ue=({label:e,links:r,ctaLabel:o=`Get started`,onCtaClick:s,open:c,defaultOpen:l=!1,onOpenChange:u,className:d})=>{let f=c!==void 0,[p,m]=i.default.useState(l),h=f?c:p,g=()=>{let e=!h;f||m(e),u?.(e)},_=i.default.useRef(null),[v,y]=i.default.useState(0);return i.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()},[r,o]),(0,a.jsxs)(`div`,{className:[H.root,d??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:H.header,children:[(0,a.jsx)(`p`,{className:H.label,children:e}),(0,a.jsx)(`button`,{type:`button`,className:H.toggle,onClick:g,"aria-expanded":h,"aria-label":h?`Close menu`:`Open menu`,children:h?(0,a.jsx)(n.F,{size:16,strokeWidth:t.jt(16)}):(0,a.jsx)(n.b,{size:16,strokeWidth:t.jt(16)})})]}),(0,a.jsx)(`div`,{className:[H.collapse,h?H.collapseOpen:``].filter(Boolean).join(` `),style:{maxHeight:h?`${v}px`:`0px`},"aria-hidden":!h,children:(0,a.jsxs)(`div`,{ref:_,className:H.collapseInner,children:[(0,a.jsx)(`nav`,{className:H.navLinks,"aria-label":e,children:r.map(e=>(0,a.jsx)(`a`,{href:e.href,onClick:e.onClick,className:H.navLink,tabIndex:h?void 0:-1,children:e.label},e.label))}),(0,a.jsx)(t.pt,{className:H.fullWidth}),(0,a.jsx)(t.Ct,{variant:`primary`,className:H.fullWidth,onClick:s,tabIndex:h?void 0:-1,children:o})]})})]})},de={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`},fe={sm:14,md:16,lg:18},pe=({size:e=`md`,logo:n,label:r,className:o})=>{let s=fe[e],c=i.default.isValidElement(n)?i.default.cloneElement(n,{size:s,strokeWidth:t.jt(s)}):n??(0,a.jsx)(`span`,{className:de.defaultMark,style:{width:s,height:s},children:(0,a.jsx)(t.R,{size:s})});return(0,a.jsx)(`span`,{className:[de.root,de[`root--${e}`],o??``].filter(Boolean).join(` `),role:`img`,"aria-label":r??`Logo placeholder`,children:c})},me={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`},he=({name:e,role:n,avatarSrc:r,avatarAlt:i,bio:o,socialLinks:s=[],className:c})=>{let l=!!o||s.length>0;return(0,a.jsxs)(`div`,{className:[me.root,l?me.rootDetailed:me.rootCompact,c??``].filter(Boolean).join(` `),children:[(0,a.jsx)(t.Ot,{size:`xl`,src:r,alt:i??e}),(0,a.jsxs)(`div`,{className:l?me.infoDetailed:me.infoCompact,children:[(0,a.jsx)(`p`,{className:me.name,children:e}),(0,a.jsx)(`p`,{className:me.role,children:n})]}),l&&o&&(0,a.jsx)(`p`,{className:me.bio,children:o}),l&&s.length>0&&(0,a.jsx)(`div`,{className:me.social,children:s.map((e,t)=>(0,a.jsx)(`a`,{href:e.href,onClick:e.onClick,className:me.socialBtn,"aria-label":e.label,children:e.icon},e.label??t))})]})},ge=({size:e=16})=>(0,a.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,fill:`currentColor`,d:`M9.48933 6.77467L15.318 0H13.9367L8.876 5.88267L4.834 0H0.172L6.284 8.89533L0.172 16H1.55333L6.89733 9.788L11.166 16H15.828L9.48933 6.77467ZM7.598 8.974L6.97867 8.088L2.05067 1.04H4.172L8.14867 6.728L8.768 7.614L13.9373 15.0073H11.816L7.598 8.974Z`})}),_e=({size:e=16})=>(0,a.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{fill:`currentColor`,stroke:`currentColor`,strokeWidth:`0.5`,d:`M5.2627 14.9109C5.24063 14.9019 5.21825 14.8937 5.19629 14.8845C5.21828 14.8846 5.2404 14.8849 5.2627 14.8845C5.26277 14.8934 5.26262 14.9022 5.2627 14.9109ZM8 0.948C12.0038 0.948 15.25 4.19421 15.25 8.198C15.25 11.2321 13.382 13.8337 10.7119 14.9041C10.7126 14.8154 10.7132 14.7175 10.7139 14.6111C10.7164 14.2289 10.7197 13.7443 10.7197 13.2068C10.7197 12.8702 10.6752 12.5602 10.5967 12.282C11.2251 12.1236 11.8603 11.8618 12.4033 11.407C13.3035 10.6531 13.8291 9.48051 13.8291 7.78003C13.8291 6.87672 13.5529 6.10004 13.0859 5.46265C13.1914 4.97309 13.2464 4.1873 12.8779 3.24292L12.748 2.91089L12.4082 2.80152L12.1885 3.48902C12.4086 2.8019 12.407 2.80174 12.4062 2.80152L12.4053 2.80054L12.3965 2.79761C12.3923 2.79634 12.3874 2.79501 12.3828 2.7937C12.3738 2.79113 12.364 2.78851 12.3535 2.78589C12.3324 2.78061 12.3081 2.77611 12.2812 2.77124C12.2271 2.76146 12.1615 2.75326 12.085 2.74976C11.9315 2.74276 11.7366 2.75416 11.499 2.80445C11.0816 2.8928 10.5376 3.09872 9.85352 3.52808C9.24662 3.38844 8.61824 3.31986 7.99414 3.31616H7.98535C7.36044 3.31984 6.73069 3.3881 6.12305 3.52808C5.43488 3.09865 4.88896 2.89272 4.4707 2.80445C4.23272 2.75425 4.03733 2.74275 3.88379 2.74976C3.80726 2.75325 3.74164 2.76049 3.6875 2.77027C3.66056 2.77514 3.63643 2.78059 3.61523 2.78589C3.60476 2.78851 3.59499 2.79113 3.58594 2.7937C3.58136 2.79501 3.57647 2.79634 3.57227 2.79761L3.56348 2.80054L3.56152 2.80152C3.56163 2.80419 3.57406 2.84531 3.78906 3.51636L3.56055 2.80152L3.2207 2.91089L3.09082 3.24292C2.72472 4.18117 2.77327 4.9675 2.88574 5.46851C2.41945 6.10504 2.14648 6.88031 2.14648 7.78003C2.14649 8.97574 2.40791 9.91025 2.87598 10.6228C2.76692 10.5961 2.65215 10.5747 2.53027 10.5662L2.50879 10.5642H2.46289C2.45155 10.5643 2.43701 10.5646 2.41992 10.5652C2.3862 10.5664 2.33899 10.569 2.28516 10.575C2.20712 10.5835 2.00131 10.6093 1.80762 10.7195C1.70282 10.7791 1.53342 10.9016 1.43457 11.1267C1.42275 11.1537 1.41196 11.181 1.40332 11.2078C0.984401 10.291 0.75 9.27198 0.75 8.198C0.75 4.19409 3.99434 0.948 8 0.948ZM4.51855 11.9919C4.75868 12.0994 5.00485 12.1834 5.25098 12.2517C5.17809 12.2603 5.10423 12.266 5.03125 12.2595C4.87853 12.2459 4.69843 12.1922 4.51855 11.9919Z`})}),ve={heading:`_heading_96cdx_1`,h2:`_h2_96cdx_8`,h3:`_h3_96cdx_14`},ye=({children:e,level:t=`h2`,className:n})=>(0,a.jsx)(t,{className:[ve.heading,ve[t],n??``].filter(Boolean).join(` `),children:e}),be={paragraph:`_paragraph_8pqdi_1`},xe=({children:e,className:t})=>(0,a.jsx)(`p`,{className:[be.paragraph,t??``].filter(Boolean).join(` `),children:e}),Se={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`},Ce=({icon:e,title:n,description:r,layout:o=`horizontal`,leftBorder:s=!1,className:c})=>{let l=o===`vertical`,u=(0,a.jsxs)(`div`,{className:l?Se.contentVertical:Se.contentHorizontal,children:[(0,a.jsx)(t.H,{icon:e,size:`sm`,variant:`light`}),(0,a.jsxs)(`div`,{className:l?Se.textVertical:Se.textHorizontal,children:[(0,a.jsx)(`p`,{className:Se.title,children:n}),(0,a.jsx)(`p`,{className:Se.description,children:r})]})]});return s?(0,a.jsxs)(`div`,{className:[Se.rootBordered,c??``].filter(Boolean).join(` `),children:[(0,a.jsx)(t.pt,{orientation:`vertical`,className:Se.rail}),u]}):i.default.cloneElement(u,{className:[u.props.className,c??``].filter(Boolean).join(` `)})},we=({size:e=16})=>(0,a.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M11.6667 4.33333H11.6733M4.66667 1.33333H11.3333C13.1743 1.33333 14.6667 2.82572 14.6667 4.66667V11.3333C14.6667 13.1743 13.1743 14.6667 11.3333 14.6667H4.66667C2.82572 14.6667 1.33333 13.1743 1.33333 11.3333V4.66667C1.33333 2.82572 2.82572 1.33333 4.66667 1.33333ZM10.6666 7.58004C10.7489 8.13487 10.6541 8.70152 10.3958 9.19938C10.1375 9.69725 9.72873 10.101 9.22772 10.3532C8.7267 10.6053 8.15893 10.6931 7.60516 10.604C7.05138 10.5149 6.53981 10.2534 6.14319 9.85681C5.74658 9.4602 5.48512 8.94862 5.39601 8.39485C5.3069 7.84107 5.39468 7.2733 5.64685 6.77229C5.89903 6.27127 6.30276 5.86253 6.80062 5.6042C7.29849 5.34587 7.86514 5.2511 8.41997 5.33337C8.98592 5.41729 9.50987 5.68101 9.91443 6.08558C10.319 6.49014 10.5827 7.01409 10.6666 7.58004Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Te=({size:e=16})=>(0,a.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M12 1.33333H10C9.11594 1.33333 8.2681 1.68452 7.64298 2.30964C7.01786 2.93477 6.66667 3.78261 6.66667 4.66667V6.66667H4.66667V9.33333H6.66667V14.6667H9.33333V9.33333H11.3333L12 6.66667H9.33333V4.66667C9.33333 4.48986 9.40357 4.32029 9.5286 4.19526C9.65362 4.07024 9.82319 4 10 4H12V1.33333Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Ee=({size:e=16})=>(0,a.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:[(0,a.jsx)(`path`,{d:`M10.6667 5.33333C11.7275 5.33333 12.7449 5.75476 13.4951 6.50491C14.2452 7.25505 14.6667 8.27247 14.6667 9.33333V14H12V9.33333C12 8.97971 11.8595 8.64057 11.6095 8.39052C11.3594 8.14048 11.0203 8 10.6667 8C10.313 8 9.97391 8.14048 9.72386 8.39052C9.47381 8.64057 9.33333 8.97971 9.33333 9.33333V14H6.66667V9.33333C6.66667 8.27247 7.08809 7.25505 7.83824 6.50491C8.58838 5.75476 9.6058 5.33333 10.6667 5.33333Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,a.jsx)(`path`,{d:`M4 6H1.33333V14H4V6Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,a.jsx)(`path`,{d:`M2.66667 4C3.40305 4 4 3.40305 4 2.66667C4 1.93029 3.40305 1.33333 2.66667 1.33333C1.93029 1.33333 1.33333 1.93029 1.33333 2.66667C1.33333 3.40305 1.93029 4 2.66667 4Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),De={chart:`_chart_qqaox_2`},Oe={sm:180,md:240,lg:320,xl:420},ke=({data:e,variant:n=`default`,seriesLabels:r=[`Value`,`Value 2`],size:s=`md`,height:c,className:l})=>{let u=i.default.useRef(null),d=t.ct(u),f=d(`--color-chart-5`)??`#dca84f`,p=d(`--color-chart-2`)??`#5b92dd`,m=d(`--color-border-subtle`)??`#e7e5e1`,h=d(`--color-fg-muted`)??`#78716a`,g=e.some(e=>e.value2!==void 0),_=n===`step`?`step`:n===`linear`?`linear`:`monotone`,v=n===`stacked`?`stack`:void 0;return(0,a.jsx)(`div`,{ref:u,className:[De.chart,l??``].filter(Boolean).join(` `),children:(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:c??Oe[s],children:(0,a.jsxs)(o.AreaChart,{data:e,margin:{top:8,right:8,bottom:8,left:0},children:[(0,a.jsxs)(`defs`,{children:[(0,a.jsxs)(`linearGradient`,{id:`sakani-area-1`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,a.jsx)(`stop`,{offset:`5%`,stopColor:f,stopOpacity:.35}),(0,a.jsx)(`stop`,{offset:`95%`,stopColor:f,stopOpacity:.02})]}),(0,a.jsxs)(`linearGradient`,{id:`sakani-area-2`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,a.jsx)(`stop`,{offset:`5%`,stopColor:p,stopOpacity:.35}),(0,a.jsx)(`stop`,{offset:`95%`,stopColor:p,stopOpacity:.02})]})]}),(0,a.jsx)(o.CartesianGrid,{strokeDasharray:`3 3`,stroke:m,vertical:!1}),(0,a.jsx)(o.XAxis,{dataKey:`label`,stroke:h,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,a.jsx)(o.Tooltip,{cursor:{stroke:d(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,a.jsx)(t.ot,{}),wrapperStyle:{zIndex:50}}),g&&(0,a.jsx)(o.Area,{type:_,dataKey:`value2`,name:r[1]??`Value 2`,stackId:v,stroke:p,strokeWidth:2,fill:`url(#sakani-area-2)`,dot:!1,activeDot:{r:4,fill:p,stroke:d(`--color-bg-canvas`),strokeWidth:1.5}}),(0,a.jsx)(o.Area,{type:_,dataKey:`value`,name:r[0]??`Value`,stackId:v,stroke:f,strokeWidth:2,fill:`url(#sakani-area-1)`,dot:!1,activeDot:{r:4,fill:f,stroke:d(`--color-bg-canvas`),strokeWidth:1.5}})]})})})},Ae={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`},je=({state:e=`default`,title:r,count:i,dotColor:o=`var(--color-chart-1)`,children:s,onAdd:c,onMenu:l,className:u})=>(0,a.jsxs)(`div`,{className:[Ae.col,u??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:Ae.col__header,children:[(0,a.jsx)(`span`,{className:Ae.col__dot,style:{background:o},"aria-hidden":`true`}),(0,a.jsx)(`span`,{className:Ae.col__title,children:r}),i!=null&&(0,a.jsx)(`span`,{className:Ae.col__count,children:i}),(0,a.jsx)(`span`,{className:Ae.col__spacer}),(0,a.jsx)(`button`,{type:`button`,className:Ae.col__action,onClick:c,"aria-label":`Add task`,children:(0,a.jsx)(n.T,{size:16,strokeWidth:t.jt(16)})}),(0,a.jsx)(`button`,{type:`button`,className:Ae.col__action,onClick:l,"aria-label":`Column options`,children:(0,a.jsx)(n.y,{size:16,strokeWidth:t.jt(16)})})]}),(0,a.jsx)(`div`,{className:Ae.col__body,children:e===`empty`?(0,a.jsx)(`div`,{className:Ae.col__drop,children:`Drop tasks here`}):s}),(0,a.jsxs)(`button`,{type:`button`,className:Ae.col__add,onClick:c,children:[(0,a.jsx)(n.T,{size:16,strokeWidth:t.jt(16),"aria-hidden":`true`}),`Add task`]})]}),U={calendar:`_calendar_qvyxg_2`,header:`_header_qvyxg_14`,header__label:`_header__label_qvyxg_15`,navBtn:`_navBtn_qvyxg_16`,weekdays:`_weekdays_qvyxg_27`,weekday:`_weekday_qvyxg_27`,grid:`_grid_qvyxg_34`,day:`_day_qvyxg_35`,"day--default":`_day--default_qvyxg_49`,"day--hover":`_day--hover_qvyxg_50`,"day--selected":`_day--selected_qvyxg_51`,"day--today":`_day--today_qvyxg_52`,"day--in-range":`_day--in-range_qvyxg_53`,"day--outside":`_day--outside_qvyxg_54`,"day--disabled":`_day--disabled_qvyxg_55`,dropdowns:`_dropdowns_qvyxg_58`,dropdown:`_dropdown_qvyxg_58`},Me=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],Ne=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Pe=(e,t)=>!!e&&!!t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),Fe=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),Ie=({mode:e=`single`,value:r,onChange:o,range:s,onRangeChange:c,headerType:l=`arrows`,defaultMonth:u,minDate:d,maxDate:f,className:p})=>{let[m,h]=i.default.useState(()=>{let e=u??r??s?.from??new Date;return new Date(e.getFullYear(),e.getMonth(),1)}),[g,_]=i.default.useState({}),v=t.N(),y=s===void 0?g:s,b=new Date,x=m.getFullYear(),S=m.getMonth(),C=new Date(x,S,1).getDay(),w=new Date(x,S,1-C),T=Array.from({length:42},(e,t)=>new Date(w.getFullYear(),w.getMonth(),w.getDate()+t)),E=e=>d&&e<Fe(d)||f&&e>f,D=e=>{s===void 0&&_(e),c?.(e)},O=t=>{if(e===`single`){o?.(t);return}let{from:n,to:r}=y;D(!n||n&&r?{from:t,to:void 0}:t<n?{from:t,to:n}:{from:n,to:t})},k=t=>{if(E(t))return`disabled`;if(e===`single`){if(Pe(t,r))return`selected`}else{let{from:e,to:n}=y;if(Pe(t,e)||Pe(t,n))return`selected`;if(e&&n&&t>e&&t<n)return`in-range`}return t.getMonth()===S?Pe(t,b)?`today`:`default`:`outside`},A=d?d.getFullYear():x-10,ee=f?f.getFullYear():x+10,j=Array.from({length:ee-A+1},(e,t)=>A+t);return(0,a.jsxs)(`div`,{className:[U.calendar,p??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:U.header,children:[(0,a.jsx)(`button`,{type:`button`,className:U.navBtn,onClick:()=>h(new Date(x,S-1,1)),"aria-label":`Previous month`,children:(0,a.jsx)(n.v,{size:16,strokeWidth:t.jt(16)})}),l===`dropdowns`?(0,a.jsxs)(`span`,{className:U.dropdowns,children:[(0,a.jsx)(`select`,{className:U.dropdown,value:S,onChange:e=>h(new Date(x,Number(e.target.value),1)),"aria-label":`Month`,children:Ne.map((e,t)=>(0,a.jsx)(`option`,{value:t,children:e},e))}),(0,a.jsx)(`select`,{className:U.dropdown,value:x,onChange:e=>h(new Date(Number(e.target.value),S,1)),"aria-label":`Year`,children:j.map(e=>(0,a.jsx)(`option`,{value:e,children:e},e))})]}):(0,a.jsxs)(`span`,{className:U.header__label,children:[Ne[S],` `,x]}),(0,a.jsx)(`button`,{type:`button`,className:U.navBtn,onClick:()=>h(new Date(x,S+1,1)),"aria-label":`Next month`,children:(0,a.jsx)(n._,{size:16,strokeWidth:t.jt(16)})})]}),(0,a.jsx)(`div`,{className:U.weekdays,children:Me.map(e=>(0,a.jsx)(`span`,{className:U.weekday,children:e},e))}),(0,a.jsxs)(`div`,{ref:v.ref,...v.groupProps,className:U.grid,children:[v.highlight,T.map((e,t)=>{let n=k(e);return(0,a.jsx)(`button`,{type:`button`,"data-hover-item":``,className:[U.day,U[`day--${n}`]].filter(Boolean).join(` `),disabled:n===`disabled`,"aria-current":n===`today`?`date`:void 0,"aria-selected":n===`selected`,"aria-label":e.toLocaleDateString(void 0,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`}),onClick:()=>O(e),children:e.getDate()},t)})]})]})},Le={card:`_card_1qpcc_3`,"card--interactive":`_card--interactive_1qpcc_22`,card__header:`_card__header_1qpcc_30`,card__title:`_card__title_1qpcc_34`,card__description:`_card__description_1qpcc_43`,card__body:`_card__body_1qpcc_53`,card__actions:`_card__actions_1qpcc_57`,"card__actions--split":`_card__actions--split_1qpcc_66`,card__actionsGroup:`_card__actionsGroup_1qpcc_67`},Re=({title:e,description:t,actions:n,leadingAction:r,interactive:i,children:o,className:s})=>(0,a.jsxs)(`div`,{className:[Le.card,i?Le[`card--interactive`]:``,s??``].filter(Boolean).join(` `),children:[(e||t)&&(0,a.jsxs)(`div`,{className:Le.card__header,children:[e&&(0,a.jsx)(`h3`,{className:Le.card__title,children:e}),t&&(0,a.jsx)(`p`,{className:Le.card__description,children:t})]}),o&&(0,a.jsx)(`div`,{className:Le.card__body,children:o}),(n||r)&&(r?(0,a.jsxs)(`div`,{className:[Le.card__actions,Le[`card__actions--split`]].join(` `),children:[r,(0,a.jsx)(`div`,{className:Le.card__actionsGroup,children:n})]}):(0,a.jsx)(`div`,{className:Le.card__actions,children:n}))]}),W={field:`_field_1oby0_7`,field__label:`_field__label_1oby0_8`,field__description:`_field__description_1oby0_9`,field__error:`_field__error_1oby0_10`,control:`_control_1oby0_13`,"control--sm":`_control--sm_1oby0_25`,"control--md":`_control--md_1oby0_26`,"control--lg":`_control--lg_1oby0_27`,"control--open":`_control--open_1oby0_30`,"control--error":`_control--error_1oby0_41`,"control--disabled":`_control--disabled_1oby0_46`,control__value:`_control__value_1oby0_52`,"control__value--placeholder":`_control__value--placeholder_1oby0_62`,control__input:`_control__input_1oby0_63`,control__chevron:`_control__chevron_1oby0_83`,"control__chevron--open":`_control__chevron--open_1oby0_84`,chips:`_chips_1oby0_90`,chip:`_chip_1oby0_90`,"chip--leaving":`_chip--leaving_1oby0_102`,"sakani-combobox-chip-out":`_sakani-combobox-chip-out_1oby0_1`,chip__remove:`_chip__remove_1oby0_110`,panel:`_panel_1oby0_121`,"panel--entering":`_panel--entering_1oby0_145`,"sakani-combobox-panel-in":`_sakani-combobox-panel-in_1oby0_1`,"panel--exiting":`_panel--exiting_1oby0_146`,"sakani-combobox-panel-out":`_sakani-combobox-panel-out_1oby0_1`,panel__empty:`_panel__empty_1oby0_156`,option:`_option_1oby0_164`,"option--selected":`_option--selected_1oby0_189`,"option--disabled":`_option--disabled_1oby0_190`,optionHighlight:`_optionHighlight_1oby0_165`,"optionHighlight--animated":`_optionHighlight--animated_1oby0_221`,option__box:`_option__box_1oby0_228`,"option__box--checked":`_option__box--checked_1oby0_245`,option__icon:`_option__icon_1oby0_250`,option__label:`_option__label_1oby0_251`,option__check:`_option__check_1oby0_252`,panel__loading:`_panel__loading_1oby0_255`,panel__spinner:`_panel__spinner_1oby0_259`,"sakani-cb-spin":`_sakani-cb-spin_1oby0_1`},ze=({options:e,mode:n=`single`,size:r=`md`,label:o,description:s,error:c,placeholder:l=`Select...`,disabled:u,loading:d,value:f,onChange:p,className:m})=>{let h=i.default.useId(),[g,_]=i.default.useState(!1),[v,y]=i.default.useState(!1),[b,x]=i.default.useState(0),S=i.default.useRef(null),C=e;i.default.useEffect(()=>{g&&y(!0)},[g]);let w=i.default.useRef({}),T=i.default.useRef(null),[E,D]=i.default.useState(null),[O,k]=i.default.useState(!1);i.default.useLayoutEffect(()=>{let e=w.current[b];if(!e){D(null);return}D({top:e.offsetTop,height:e.offsetHeight})},[b,C.length]),i.default.useLayoutEffect(()=>{if(!v){k(!1);return}k(!1);let e=window.requestAnimationFrame(()=>k(!0));return()=>window.cancelAnimationFrame(e)},[v]),i.default.useEffect(()=>{if(!T.current)return;let e=new ResizeObserver(()=>{let e=w.current[b];e&&D({top:e.offsetTop,height:e.offsetHeight})});return e.observe(T.current),()=>e.disconnect()},[v]);let[A,ee]=i.default.useState(n===`multi`?[]:``),j=f===void 0?A:f,M=Array.isArray(j)?j:j?[j]:[],[N,te]=i.default.useState(()=>M.map(e=>({value:e,leaving:!1}))),P=M.join(`\0`);i.default.useLayoutEffect(()=>{te(e=>{let t=e.map(e=>({value:e.value,leaving:!M.includes(e.value)}));for(let e of M)t.some(t=>t.value===e)||t.push({value:e,leaving:!1});return t})},[P]);let F=e=>te(t=>t.filter(t=>!(t.value===e&&t.leaving))),I=!!c;i.default.useEffect(()=>{let e=e=>{S.current&&!S.current.contains(e.target)&&_(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let ne=e=>{f===void 0&&ee(e),p?.(e)},re=e=>{if(!e.disabled)if(n===`multi`){let t=new Set(M);t.has(e.value)?t.delete(e.value):t.add(e.value),ne([...t])}else ne(e.value),_(!1)},L=t=>e.find(e=>e.value===t)?.label??t,ie=M.length?L(M[0]):``,R=e=>{u||(e.key===`ArrowDown`?(e.preventDefault(),_(!0),x(e=>Math.min(e+1,C.length-1))):e.key===`ArrowUp`?(e.preventDefault(),x(e=>Math.max(e-1,0))):e.key===`Enter`?(e.preventDefault(),g&&C[b]?re(C[b]):_(!0)):e.key===`Escape`&&_(!1))},ae=u?`disabled`:I?`error`:g?`open`:`default`;return(0,a.jsxs)(`div`,{className:[W.field,m??``].filter(Boolean).join(` `),ref:S,children:[o&&(0,a.jsx)(`label`,{htmlFor:`${h}-trigger`,className:W.field__label,children:o}),(0,a.jsxs)(`div`,{id:`${h}-trigger`,role:`combobox`,tabIndex:u?-1:0,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":`${h}-panel`,"aria-invalid":I||void 0,"aria-disabled":u||void 0,"aria-activedescendant":g&&C[b]?`${h}-opt-${b}`:void 0,className:[W.control,W[`control--${r}`],W[`control--${ae}`]].join(` `),onClick:()=>!u&&_(e=>!e),onKeyDown:R,children:[n===`multi`&&N.length>0&&(0,a.jsx)(`div`,{className:W.chips,children:N.map(({value:t,leaving:n})=>(0,a.jsxs)(`span`,{className:[W.chip,n?W[`chip--leaving`]:``].filter(Boolean).join(` `),"aria-hidden":n||void 0,onAnimationEnd:n?()=>F(t):void 0,children:[L(t),(0,a.jsx)(`button`,{type:`button`,className:W.chip__remove,tabIndex:n?-1:void 0,onClick:n=>{n.stopPropagation(),re(e.find(e=>e.value===t))},"aria-label":`Remove ${L(t)}`,children:`×`})]},t))}),!(n===`multi`&&N.length>0)&&(0,a.jsx)(`span`,{className:[W.control__value,n===`single`&&ie?``:W[`control__value--placeholder`]].filter(Boolean).join(` `),children:n===`single`&&ie?ie:l}),(0,a.jsx)(`span`,{className:[W.control__chevron,g?W[`control__chevron--open`]:``].join(` `),"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(16),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),v&&!u&&(0,a.jsx)(`div`,{ref:T,className:[W.panel,g?W[`panel--entering`]:W[`panel--exiting`]].filter(Boolean).join(` `),id:`${h}-panel`,role:`listbox`,"aria-multiselectable":n===`multi`||void 0,"aria-busy":d||void 0,onAnimationEnd:()=>{g||y(!1)},children:d?(0,a.jsxs)(`div`,{className:W.panel__loading,children:[(0,a.jsx)(`span`,{className:W.panel__spinner,"aria-hidden":`true`}),`Loading…`]}):C.length===0?(0,a.jsx)(`div`,{className:W.panel__empty,children:`No options available`}):(0,a.jsxs)(a.Fragment,{children:[E&&(0,a.jsx)(`span`,{"aria-hidden":`true`,className:[W.optionHighlight,O?W[`optionHighlight--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateY(${E.top}px)`,height:E.height}}),C.map((e,r)=>{let i=M.includes(e.value);return(0,a.jsxs)(`div`,{ref:e=>{w.current[r]=e},id:`${h}-opt-${r}`,role:`option`,"aria-selected":i,className:[W.option,i&&n===`single`?W[`option--selected`]:``,e.disabled?W[`option--disabled`]:``].filter(Boolean).join(` `),onMouseEnter:()=>{e.disabled||x(r)},onClick:()=>re(e),children:[n===`multi`&&(0,a.jsx)(`span`,{className:[W.option__box,i?W[`option__box--checked`]:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(12),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}),e.icon&&(0,a.jsx)(`span`,{className:W.option__icon,"aria-hidden":`true`,children:e.icon}),(0,a.jsx)(`span`,{className:W.option__label,children:e.label}),i&&n===`single`&&(0,a.jsx)(`span`,{className:W.option__check,"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})})]},e.value)})]})}),(s||c)&&(0,a.jsx)(`span`,{className:I?W.field__error:W.field__description,children:c||s})]})},G={wrap:`_wrap_1j16e_2`,dropzone:`_dropzone_1j16e_4`,"dropzone--dragging":`_dropzone--dragging_1j16e_21`,dropzone__icon:`_dropzone__icon_1j16e_23`,dropzone__label:`_dropzone__label_1j16e_28`,dropzone__link:`_dropzone__link_1j16e_29`,dropzone__hint:`_dropzone__hint_1j16e_30`,input:`_input_1j16e_32`,files:`_files_1j16e_35`,file:`_file_1j16e_35`,file__icon:`_file__icon_1j16e_45`,file__name:`_file__name_1j16e_46`,file__remove:`_file__remove_1j16e_47`},Be=({accept:e,multiple:r,hint:o=`SVG, PNG, JPG or PDF (max. 2MB)`,onFilesChange:s,className:c})=>{let l=i.default.useRef(null),[u,d]=i.default.useState(!1),[f,p]=i.default.useState([]),m=e=>{p(e),s?.(e)},h=e=>{if(!e)return;let t=Array.from(e);m(r?[...f,...t]:t.slice(0,1))},g=e=>m(f.filter((t,n)=>n!==e));return(0,a.jsxs)(`div`,{className:[G.wrap,c??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:[G.dropzone,u?G[`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,a.jsx)(`span`,{className:G.dropzone__icon,"aria-hidden":`true`,children:(0,a.jsx)(n.c,{size:22,strokeWidth:t.jt(22)})}),(0,a.jsxs)(`span`,{className:G.dropzone__label,children:[(0,a.jsx)(`span`,{className:G.dropzone__link,children:`Click to upload`}),` or drag and drop`]}),(0,a.jsx)(`span`,{className:G.dropzone__hint,children:o}),(0,a.jsx)(`input`,{ref:l,type:`file`,accept:e,multiple:r,className:G.input,onChange:e=>h(e.target.files)})]}),f.length>0&&(0,a.jsx)(`ul`,{className:G.files,children:f.map((e,r)=>(0,a.jsxs)(`li`,{className:G.file,children:[(0,a.jsx)(`span`,{className:G.file__icon,"aria-hidden":`true`,children:(0,a.jsx)(n.p,{size:16,strokeWidth:t.jt(16)})}),(0,a.jsx)(`span`,{className:G.file__name,children:e.name}),(0,a.jsx)(`button`,{type:`button`,className:G.file__remove,onClick:()=>g(r),"aria-label":`Remove ${e.name}`,children:(0,a.jsx)(n.F,{size:14,strokeWidth:t.jt(14)})})]},r))})]})},K={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`},Ve={sm:180,md:240,lg:320,xl:420},He=560,Ue=.3,We=.55,Ge=({data:e,size:n=`md`,className:r})=>{let[o,s]=i.default.useState(null),c=i.default.useRef(null),l=t.ct(c),u=l(`--color-chart-1`)??`#ff4700`,d=l(`--color-bg-canvas`)??`#fafaf9`,f=e[0]?.value||1,p=Ve[n],m=p*.66,h=m/2+8,g=He/e.length,_=e[0]?.value||1,v=e=>e/_*m,y=e.map(e=>v(e.value));y.push(v(e[e.length-1]?.value??0)*We);let b=t=>e.length<=1?1:Ue+t/(e.length-1)*(1-Ue),x=o===null?null:e[o],S=o===null?0:h-y[o]/2,C=o===null?0:o*g+g/2;return(0,a.jsxs)(`div`,{ref:c,className:[K.chart,r??``].filter(Boolean).join(` `),style:{height:p},children:[(0,a.jsx)(`svg`,{viewBox:`0 0 ${He} ${p}`,width:`100%`,height:p,className:K.svg,children:e.map((e,t)=>{let n=t*g,r=(t+1)*g,i=(n+r)/2,c=y[t]/2,l=y[t+1]/2,d=h-c,p=h-l,m=h+c,_=h+l,v=[`M ${n} ${d}`,`C ${i} ${d} ${i} ${p} ${r} ${p}`,`L ${r} ${_}`,`C ${i} ${_} ${i} ${m} ${n} ${m}`,`Z`].join(` `),x=o===null?b(t):t===o?1:.45,S=Math.round(e.value/f*100);return(0,a.jsxs)(`g`,{className:K.segment,onMouseEnter:()=>s(t),onMouseLeave:()=>s(null),children:[(0,a.jsx)(`path`,{d:v,fill:u,fillOpacity:x}),(0,a.jsxs)(`text`,{x:i,y:h,textAnchor:`middle`,dominantBaseline:`middle`,className:K.pctLabel,children:[S,`%`]})]},t)})}),(0,a.jsx)(`div`,{className:K.labels,style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((e,t)=>(0,a.jsx)(`span`,{className:K.labelItem,children:e.label},t))}),x&&(0,a.jsxs)(`div`,{className:K.tooltip,style:{left:`${C/He*100}%`,top:`${S/p*100}%`,background:d},children:[(0,a.jsx)(`span`,{className:K.tooltip__title,children:x.label}),(0,a.jsxs)(`div`,{className:K.tooltip__row,children:[(0,a.jsx)(`span`,{className:K.tooltip__dot,style:{background:u}}),(0,a.jsx)(`span`,{className:K.tooltip__label,children:`Share`}),(0,a.jsxs)(`span`,{className:K.tooltip__value,children:[Math.round(x.value/f*100),`%`]})]})]})]})},q={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`},Ke=.12,qe=.45,Je=({data:e,rowLabels:n,colLabels:r,valueLabel:o=`Value`,size:s=`md`,className:c})=>{let l=i.default.useRef(null),u=t.ct(l),d=i.default.useRef(null),[f,p]=i.default.useState(null),m=u(`--color-chart-1`)??`#ff4700`,h=Math.max(1,...e.flat()),g=e[0]?.length??0,_=(e,t,n)=>r=>{let i=r.currentTarget.getBoundingClientRect(),a=d.current?.getBoundingClientRect();a&&p({row:e,col:t,value:n,left:i.left-a.left+i.width/2,top:i.top-a.top})};return(0,a.jsx)(`div`,{ref:l,className:[q.chart,q[`chart--${s}`],c??``].filter(Boolean).join(` `),children:(0,a.jsxs)(`div`,{ref:d,className:q.grid,style:{gridTemplateColumns:`auto repeat(${g}, 1fr)`},children:[e.map((e,t)=>(0,a.jsxs)(i.default.Fragment,{children:[(0,a.jsx)(`span`,{className:q.rowLabel,children:n?.[t]??``}),e.map((e,n)=>{let r=f?.row===t&&f?.col===n,i=f!==null&&!r,o=r?1:Ke+e/h*(1-Ke);return(0,a.jsx)(`div`,{className:q.cell,style:{background:m,opacity:i?qe:o},onMouseEnter:_(t,n,e),onMouseLeave:()=>p(null)},n)})]},t)),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`span`,{}),r.map((e,t)=>(0,a.jsx)(`span`,{className:q.colLabel,children:e},t))]}),f&&(0,a.jsxs)(`div`,{className:q.tooltip,style:{left:f.left,top:f.top},children:[(0,a.jsx)(`span`,{className:q.tooltip__title,children:[n?.[f.row],r?.[f.col]].filter(Boolean).join(` · `)||`Row ${f.row+1}, Col ${f.col+1}`}),(0,a.jsxs)(`div`,{className:q.tooltip__row,children:[(0,a.jsx)(`span`,{className:q.tooltip__dot}),(0,a.jsx)(`span`,{className:q.tooltip__label,children:o}),(0,a.jsx)(`span`,{className:q.tooltip__value,children:f.value})]})]})]})})},Ye={kbd:`_kbd_1cz4m_3`},Xe=({children:e,className:t})=>(0,a.jsx)(`kbd`,{className:[Ye.kbd,t??``].filter(Boolean).join(` `),children:e}),Ze={label:`_label_rcdks_3`,label__required:`_label__required_rcdks_17`},Qe=i.default.forwardRef(({required:e,children:t,className:n,...r},i)=>(0,a.jsxs)(`label`,{ref:i,className:[Ze.label,n??``].filter(Boolean).join(` `),...r,children:[t,e&&(0,a.jsx)(`span`,{className:Ze.label__required,"aria-hidden":`true`,children:` *`})]}));Qe.displayName=`Label`;var $e={item:`_item_4gag1_2`,"item--disabled":`_item--disabled_4gag1_22`,"item--selected":`_item--selected_4gag1_26`,item__leading:`_item__leading_4gag1_30`,item__text:`_item__text_4gag1_31`,item__title:`_item__title_4gag1_32`,item__description:`_item__description_4gag1_33`,item__trailing:`_item__trailing_4gag1_34`},et=({title:e,description:t,leading:n,trailing:r,selected:i,disabled:o,onClick:s,className:c})=>(0,a.jsxs)(`button`,{type:`button`,"data-hover-item":``,disabled:o,onClick:s,"aria-current":i?`true`:void 0,className:[$e.item,i?$e[`item--selected`]:``,o?$e[`item--disabled`]:``,c??``].filter(Boolean).join(` `),children:[n&&(0,a.jsx)(`span`,{className:$e.item__leading,children:n}),(0,a.jsxs)(`span`,{className:$e.item__text,children:[(0,a.jsx)(`span`,{className:$e.item__title,children:e}),t&&(0,a.jsx)(`span`,{className:$e.item__description,children:t})]}),r&&(0,a.jsx)(`span`,{className:$e.item__trailing,children:r})]}),J={map:`_map_1ogus_2`,tiles:`_tiles_1ogus_25`,tile:`_tile_1ogus_25`,overlay:`_overlay_1ogus_37`,controls:`_controls_1ogus_41`,group:`_group_1ogus_50`,button:`_button_1ogus_59`,divider:`_divider_1ogus_75`,attribution:`_attribution_1ogus_78`,marker:`_marker_1ogus_94`,"marker--selected":`_marker--selected_1ogus_106`,"marker--pin":`_marker--pin_1ogus_110`,pin:`_pin_1ogus_111`,pinShadow:`_pinShadow_1ogus_123`,"marker--dot":`_marker--dot_1ogus_141`,"marker--cluster":`_marker--cluster_1ogus_153`,clusterCount:`_clusterCount_1ogus_166`,popup:`_popup_1ogus_169`,"sakani-map-popup-in":`_sakani-map-popup-in_1ogus_1`,popupHeader:`_popupHeader_1ogus_190`,popupTitle:`_popupTitle_1ogus_191`,popupClose:`_popupClose_1ogus_192`,popupDescription:`_popupDescription_1ogus_207`,popupPointer:`_popupPointer_1ogus_209`},tt=({icon:e,hovered:n,className:r,onClick:i,disabled:o,...s})=>(0,a.jsx)(`button`,{type:`button`,className:[J.button,r??``].filter(Boolean).join(` `),"data-hovered":n?``:void 0,disabled:o,onClick:i,...s,children:(0,a.jsx)(e,{size:16,strokeWidth:t.jt(16),"aria-hidden":`true`})});tt.displayName=`MapControlButton`;var nt=({onZoomIn:e,onZoomOut:t,zoomInDisabled:i,zoomOutDisabled:o,zoom:s=!0,locate:c=!1,onLocate:l,className:u})=>(0,a.jsxs)(`div`,{className:[J.controls,u??``].filter(Boolean).join(` `),"data-map-ui":``,children:[s&&(0,a.jsxs)(`div`,{className:J.group,children:[(0,a.jsx)(tt,{icon:n.T,"aria-label":`Zoom in`,disabled:i,onClick:e}),(0,a.jsx)(`span`,{className:J.divider}),(0,a.jsx)(tt,{icon:n.E,"aria-label":`Zoom out`,disabled:o,onClick:t})]}),c&&(0,a.jsx)(`div`,{className:J.group,children:(0,a.jsx)(tt,{icon:r.n,"aria-label":`Show my location`,onClick:l})})]});nt.displayName=`MapControls`;var rt=`AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH/4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADf//8AAf///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB////D//////n/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gf/x////////wAAAAAbgAAB4AAAAAAPwAAAAAAAAAAAAAAAAAAAAAAAAAAAf//8A///////+AAAAB/ngAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAAAAAAcH3Hv/5////////8AAAAA/gAAAAAAAAAAAAD4AAAAAAAAAAAAAAAAAAAAAAcIAAQP/AH///////+AAAAAPCAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAADwDAc+f+AP///////4AAAAAAAAAAAAAB4AAAAB/8AAAAAAAAAAAAAAAAAAAAAH9wc374AAAf/////8AAAAAAAAAAAAH4AAAA////AAAB/gAAAAAAAAAAAAAAAAwAAA/QAAAH/////8AAAAAAAAAAAAOAAAAP///wAAAAAAAAAAAAAAAAAAAAP8AYe+c3AAAD/////4AAAAAAAAAAAA4AAAH////++HgAOAAAAAAAAAAAAAAAfv+4+w/4gAAB/////wAAAAAAAAAAADwAHgH///////4AfgAAAAAgAAAAAAAAPf/4O4//9AAB/////wAAAAAAAAAAADwAPb////////4m//gAAAAAAAf+AAAAAA/+A8f//4AB////8gAAAAAAA/gAAAAAfv/////////////8AAAAAB///+H//H/+PeDwf+AA3////AAAAAAA//4AAAA8fv///////////////P8gAf////////A4CPz4H8AAP///wAAAAAAD///wADH/n3/////////////////8AD////////////34Z/wA///4AAAAAAAP///+M////n/////////////////+4E/////////////gD/8Af//gAAAAAAAf//5+P////f/////////////////fw/////////////6AD8YAf/wAAf8AAAA/8f+D///////////////////////AgEf///////////zw7/AAP/gAAP4AAAB/4/+f//////////////////////8AMAf//////////+DIA/gAH/gAAAAAAAH/z/////////////////////////+AAH///////////8AwgOAAD+AAAAAAAA//H/////////////////////////6AAP///////////wAA/AAAB+AAAAAAAB/+H//////////////////////nP+AAAH//z////////wAA/wAAAOAAAAAAAB//D/////////////////////+A/4AAAA/zAD///////gAA/4wAAAAAAAAAAB//Ab///////////////////+eDgAAAAABwAA///////4AA/94AAAAAAAAAYA5+A///////////////////4AAHAAAAAADcAAD//////4AAf/8AAAAAAAAA8AC+C///////////////////wAAfgAAAAAMAAAA///////wAf/8AAAAAAAAA4AO8H///////////////////AAA/gAAAABgAAAA///////8A///AAAAAAAAA8ANwH//////////////////8AAB/AAAAAEAAAAAf///////z///4AAAAAAAHOAEDv//////////////////+AAA+AAAAAAAAAABH///////x///8AAAAAAAHHAf/////////////////////6AA8AAAAAAAAAAAD///////x///8AAAAAAAGPz//////////////////////6AAwAAAAAAAAAAAD///////9///6AAAAAAAAPj//////////////////////6AAQAAAAAAAAAAAC///////////EAAAAAAAAYf//////////////////////7AAAAAAAAAAAAAABv////////+MNAAAAAAAAD///////////////////////zAAAAAAAAAAAAAAAH////////7gfgAAAAAAAf///////////////////////yAAAAAAAAAAAAAAAL/////////gCgAAAAAAAH///////////////////////iAAAAAAAAAAAAAAAP/////////pAAAAAAAAAD/////uP/x//////////////DAAAAAAAAAAAAAAAP/////////+AAAAAAAAAB//v//Gf/B/////////////+AAAAAAAAAAAAAAAAP////////8wAAAAAAAAAB//H/+AP+P/////////////8CAAAAAAAAAAAAAAAP////////wAAAAAAAAADj/jz/8AD/H/////////////4HgAAAAAAAAAAAAAAP////////gAAAAAAAAAH/4Bw/8AA/B////////////+APAAAAAAAAAAAAAAAP////////gAAAAAAAAAH/wA8f8Ph/g////////////8AAAAAAAAAAAAAAAAAP///////8AAAAAAAAAAH/gMHfJ///x///////////v4AMAAAAAAAAAAAAAAAP///////8AAAAAAAAAAH/AMCOP///h//////////+JwAMAAAAAAAAAAAAAAAH///////4AAAAAAAAAAH/AAAHH///g//////////8BwAIAAAAAAAAAAAAAAAH///////wAAAAAAAAAAH+AAYGH///w//////////+w4A4AAAAAAAAAAAAAAAD///////wAAAAAAAAAAAgf+ACBs//////////////g4D4AAAAAAAAAAAAAAAB///////wAAAAAAAAAAAj/+AAAA//////////////AYf4AAAAAAAAAAAAAAAA///////gAAAAAAAAAAB//8AAAA//////////////Ah2AAAAAAAAAAAAAAAAAP/////+AAAAAAAAAAAD//+AAAB//////////////gDwAAAAAAAAAAAAAAAAAH/////8AAAAAAAAAAAH///4GAB//////////////gDAAAAAAAAAAAAAAAAAAG/////4AAAAAAAAAAAP///8P4h//////////////wCAAAAAAAAAAAAAAAAAACf////4AAAAAAAAAAAP////v////////////////gAAAAAAAAAAAAAAAAAAABP//hgYAAAAAAAAAAAP//////3//P///////////wAAAAAAAAAAAAAAAAAAAAv//AAYAAAAAAAAAAAf//////9//H///////////wAAAAAAAAAAAAAAAAAAAB3/+AAcAAAAAAAAAAB///////4//h///////////gAAAAAAAAAAAAAAAAAAAAR/+AANAAAAAAAAAAD///////8//wH//////////AAAAAAAAAAAAAAAAAAAAAJ/+AAEAAAAAAAAAAH///////+f/0B/////////+AAAAAAAAAAAAAAAAAAAAAI/8AAAAAAAAAAAAAH///////+f/44Af///////+QAAAAAAAAAAAAAAAAAAAAAf8AAAAAAAAAAAAAP////////H//+AP///////4gAAAAAAAAAAAAAAAAAAAAAP8AAuAAAAAAAAAAP////////H///AD///v///ggAAAAAAAAAAAAAAAAAAAAAH+AABgAAAAAAAAAf////////n//+AD//4P//YAAAAAAAAAAAAAAAAAAAAAAAP+A4AYAAAAAAAAAP////////j//+AAf/4H/+AAAAAAAAAAAAAAAAgAAAAAAAH/B4ABwAAAAAAAAP////////h//8AAf/gD/8YAAAAAAAAAAAAAAAAAAAAAAAD/nwAD9AAAAAAAAP////////x//4AAf/AD/8QAAAAAAAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAP////////4//gAAf+AD/+AAwAAAAAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAf////////4f+AAAf8AD//AAwAAAAAAAAAAAAAAAAAAAAAAAH/AAAAAAAAAAAf////////8f8AAAPwAAP/gAwAAAAAAAAAAAAAAAAAAAAAAAD/gAAAAAAAAAAf////////+fgAAAPwAAP/gAwAAAAAAAAAAAAAAAAAAAAAAAA/AAAAAAAAAAAf/////////eAAAAHwAAP/gAMAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAAf/////////gAAAAHwAAM/gACAAAAAAAAAAAAAAAAAAAAAAAADABAAAAAAAAAP/////////gYAAADwAAEfgAJAAAAAAAAAAAAAAAAAAAAAAAADgPfOAAAAAAAH/////////34AAADwAAIOABAAAAAAAAAAAAAAAAAAAAAAAAAAyPf+AAAAAAAD//////////4AAADoAAIEACBAAAAAAAAAAAAAAAAAAAAAAAAA8///AAAAAAAB//////////wAAABIAAMAAAFAAAAAAAAAAAAAAAAAAAAAAAAAE///gAAAAAAB//////////wAAAAMAAEAAALgAAAAAAAAAAAAAAAAAAAAAAAAAf//wAAAAAAAf/////////gAAAAMAADAAMCAAAAAAAAAAAAAAAAAAAAAAAAAA////gAAAAAAP/B///////gAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAf///wAAAAAACAA///////AAAAAAAAxgA+AAAAAAAAAAAAAAAAAAAAAAAAAAAf///4AAAAAAAAAD/////+AAAAAAAAZgB4AAAAAAAAAAAAAAAAAAAAAAAAAAB////4AAAAAAAAAD/////8AAAAAAAAMwH8AAAAAAAAAAAAAAAAAAAAAAAAAAB////8AAAAAAAAAH/////4AAAAAAAAHQf8AIAAAAAAAAAAAAAAAAAAAAAAAAD////8AAAAAAAAAH/////gAAAAAAAAHgf88IAAAAAAAAAAAAAAAAAAAAAAAAD////+AAAAAAAAAH/////AAAAAAAAADwf8AAgAAAAAAAAAAAAAAAAAAAAAAAH/////4AAAAAAAAH/////AAAAAAAAABwP5wBwAAAAAAAAAAAAAAAAAAAAAAAH/////6AAAAAAAAD////+AAAAAAAAAB8P5wATwAAAAAAAAAAAAAAAAAAAAAAD//////4AAAAAAAB////8AAAAAAAAAA8AxQif+AAAAAAAAAAAAAAAAAAAAAAH//////8AAAAAAAB////4AAAAAAAAAAcAAIAD/gAAAAAAAAAAAAAAAAAAAAAH///////gAAAAAAA////4AAAAAAAAAAMAAIAI/ywAAAAAAAAAAAAAAAAAAAAH///////gAAAAAAA////4AAAAAAAAAADgAAAI/8BAAAAAAAAAAAAAAAAAAAAD///////gAAAAAAAf///4AAAAAAAAAAB+AAAA/4AIAAAAAAAAAAAAAAAAAAAB///////gAAAAAAAf///4AAAAAAAAAAAAmogAOMAAAAAAAAAAAAAAAAAAAAAB///////AAAAAAAAf///8AAAAAAAAAAAABCAAAGADAAAAAAAAAAAAAAAAAAAA///////AAAAAAAAf///8AAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAf/////+AAAAAAAAP///8AAAAAAAAAAAAAAAgCAAAAAAAAAAAAAAAAAAAAAAAf/////8AAAAAAAAf///+AQAAAAAAAAAAAAB+CAAAAAAAAAAAAAAAAAAAAAAAP/////4AAAAAAAAf///+AQAAAAAAAAAAAAD8DAAAAAAAAAAAAAAAAAAAAAAAP/////4AAAAAAAA////+AwAAAAAAAAAAAA38DgAAAAAAAAAAAAAAAAAAAAAAH/////4AAAAAAAA////8BwAAAAAAAAAAAD/8DgAAAAAAAAAAAAAAAAAAAAAAB/////4AAAAAAAA////8PwAAAAAAAAAAAD//HwAABABAAAAAAAAAAAAAAAAAAf////4AAAAAAAA////wPgAAAAAAAAAAAP//3wAAAACAAAAAAAAAAAAAAAAAAP////wAAAAAAAA////APgAAAAAAAAAAAP///wAAAAAAAAAAAAAAAAAAAAAAAP////wAAAAAAAAf//+APgAAAAAAAAAAAf///4AAAAAAAAAAAAAAAAAAAAAAAP////wAAAAAAAAf//+APgAAAAAAAAAAD////+AAIAAAAAAAAAAAAAAAAAAAAP////gAAAAAAAAP//+AfAAAAAAAAAAAf////+AAEAAAAAAAAAAAAAAAAAAAAP////AAAAAAAAAP///AfAAAAAAAAAAA//////AAAAAAAAAAAAAAAAAAAAAAAP///4AAAAAAAAAP//+APAAAAAAAAAAA//////gAAAAAAAAAAAAAAAAAAAAAAf///gAAAAAAAAAH//+AOAAAAAAAAAAB//////wAAAAAAAAAAAAAAAAAAAAAAf///AAAAAAAAAAH//4AEAAAAAAAAAAA//////4AAAAAAAAAAAAAAAAAAAAAAf//+AAAAAAAAAAH//4AAAAAAAAAAAAB//////4AAAAAAAAAAAAAAAAAAAAAAf//+AAAAAAAAAAH//4AAAAAAAAAAAAA//////4AAAAAAAAAAAAAAAAAAAAAAf//+AAAAAAAAAAD//wAAAAAAAAAAAAAf/////8AAAAAAAAAAAAAAAAAAAAAAf//8AAAAAAAAAAB//gAAAAAAAAAAAAAf/////4AAAAAAAAAAAAAAAAAAAAAA///8AAAAAAAAAAB//gAAAAAAAAAAAAAf/////4AAAAAAAAAAAAAAAAAAAAAA///4AAAAAAAAAAA//AAAAAAAAAAAAAAP/////4AAAAAAAAAAAAAAAAAAAAAAf//wAAAAAAAAAAA/+AAAAAAAAAAAAAAP/AP//wAAAAAAAAAAAAAAAAAAAAAA///gAAAAAAAAAAA/4AAAAAAAAAAAAAAf8AG//gAAAAAAAAAAAAAAAAAAAAAA//3AAAAAAAAAAAAYAAAAAAAAAAAAAAAOAAF//gAAAAAAAAAAAAAAAAAAAAAB//4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//AAABAAAAAAAAAAAAAAAAAAB//4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/AAAAgAAAAAAAAAAAAAAAAAD//4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/AAAAQAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYAAAAcAAAAAAAAAAAAAAAAAB/8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAD/8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAD/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAADQAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAHAAAAAAAAAAAAAAAAAAB/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAOAAAAAAAAAAAAAAAAAAD/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAH+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB4AAAAAAAAAAAAAAAAAAH+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP8AAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4BwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAAAAAAAAAAH4AAAAAAB4HgAD8AAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAA//AAAD//////////wAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAf///4Af///////////AAAAAAAAAAAAAAAAAAAAAAAz4AAAAAAAAAAAAAAAPz////8B/////////////wAAAAAAAAAAAAAAAAAAAAA78AAAAAAAAAAA8/8///////wf/////////////+AAAAAAAAAAAAAAAAAAAAH9+AAAAAAAAZ////////////w////////////////4AAAAAAAAAAAAAAAAAAAB+AAAAAAAB//////////////////////////////4AAAAAAAAABmAAB8f+HB/+AAAAAAAP//////////////////////////////gAAAAAAAAP/c/oAf/////4AAAAAAAP/////////////////////////////8AAAAAAAD/////////////gAAAAAAB//////////////////////////////wAAAAAAAD////////////wAAAAAAP///////////////////////////////wAAAAAD/////////////4AAAAAAD////////////////////////////////wAAAADh/////////////AAAAB8A/////////////////////////////////+AAAAA4Af///////////gAAAH+AA///////////////////////////////+AAAAAAAAH///////////+A/A/wAA///////////////////////////////8AAAAAAAf//////////////gAAAf////////////////////////////////+AAAAAAAH///////////////h////////////////////////////////////wAAAAAAP/////////////////////////////////////////////////////gA+/gAAH/////////////////////////////////////////////////////8AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`,it=85.05112878,Y=Math.PI/180,X=(e,t,n)=>Math.min(n,Math.max(t,e)),at=e=>((e+180)%360+360)%360-180;function Z([e,t],n){let r=256*2**n,i=Math.sin(X(e,-85.05112878,it)*Y);return{x:(t+180)/360*r,y:(.5-Math.log((1+i)/(1-i))/(4*Math.PI))*r}}function ot(e,t,n){let r=256*2**n,i=Math.PI-2*Math.PI*t/r;return[X(Math.atan(Math.sinh(i))/Y,-85.05112878,it),at(e/r*360-180)]}var st=null;function ct(){if(!st){let e=atob(rt);st=new Uint8Array(e.length);for(let t=0;t<e.length;t++)st[t]=e.charCodeAt(t)}return st}function lt(e,t){let n=X(Math.floor(90-e),0,179),r=X(Math.floor(at(t)+180),0,359),i=n*360+r;return(ct()[i>>3]&128>>(i&7))!=0}function ut(e){let t=[];for(let n=-90+e/2;n<90;n+=e){let r=Math.max(1,Math.round(360*Math.cos(n*Y)/e));for(let e=0;e<r;e++){let i=-180+(e+.5)*360/r;t.push({cp:Math.cos(n*Y),sp:Math.sin(n*Y),lam:i*Y,land:lt(n,i)})}}return t}function dt(e,t){let n=e*Y,r=Math.cos(t*Y),i=Math.sin(t*Y);return(e,t,a)=>{let o=a-n,s=Math.cos(o);return{x:e*Math.sin(o),y:r*t-i*e*s,z:i*t+r*e*s}}}var ft=([e,t])=>({cp:Math.cos(e*Y),sp:Math.sin(e*Y),lam:t*Y});function pt(e,t,n=64,r=.12){let i=e=>{let t=ft(e);return[t.cp*Math.cos(t.lam),t.cp*Math.sin(t.lam),t.sp]},a=i(e),o=i(t),s=Math.acos(X(a[0]*o[0]+a[1]*o[1]+a[2]*o[2],-1,1)),c=Math.sin(s)||1e-6,l=[];for(let e=0;e<=n;e++){let t=e/n,i=Math.sin((1-t)*s)/c,u=Math.sin(t*s)/c,d=i*a[0]+u*o[0],f=i*a[1]+u*o[1],p=i*a[2]+u*o[2],m=Math.asin(X(p/(Math.hypot(d,f,p)||1),-1,1));l.push({cp:Math.cos(m),sp:Math.sin(m),lam:Math.atan2(f,d),h:1+r*Math.sin(Math.PI*t)*Math.min(1,s/1.2)})}return l}var mt=i.default.createContext(null);function ht(){let e=i.default.useContext(mt);if(!e)throw Error(`MapMarker, MapPopup and MapClusterLayer must be rendered inside <Map>.`);return e}var gt=()=>typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches;function _t(e,t=0){let[n,r]=e,[a,o]=i.default.useState(e),s=i.default.useRef(e);return i.default.useEffect(()=>{if(!t||gt()){s.current=[n,r],o([n,r]);return}let e=s.current;if(e[0]===n&&e[1]===r)return;let i=(r-e[1]+540)%360-180,a=performance.now(),c=0,l=u=>{let d=Math.min(1,(u-a)/t),f=1-(1-d)**3,p=d===1?[n,r]:[e[0]+(n-e[0])*f,e[1]+i*f];s.current=p,o(p),d<1&&(c=requestAnimationFrame(l))};return c=requestAnimationFrame(l),()=>cancelAnimationFrame(c)},[n,r,t]),t&&!gt()?a:e}var vt=`M16 0C7.163 0 0 7.163 0 16c0 11 16 24 16 24s16-13 16-24C32 7.163 24.837 0 16 0Z`,yt=({position:e,variant:t=`pin`,count:n,selected:r,hovered:i,glide:o,label:s,onClick:c,className:l})=>{let{project:u}=ht(),d=u(_t(e,o));if(!d)return null;let f=[J.marker,J[`marker--${t}`],r?J[`marker--selected`]:``,l??``].filter(Boolean).join(` `),p=t===`pin`?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`span`,{className:J.pinShadow}),(0,a.jsxs)(`svg`,{className:J.pin,viewBox:`-1 -1 34 42`,"aria-hidden":`true`,children:[(0,a.jsx)(`path`,{d:vt}),(0,a.jsx)(`circle`,{cx:`16`,cy:`16`,r:`6`})]})]}):t===`cluster`?(0,a.jsx)(`span`,{className:J.clusterCount,children:n}):null,m={left:d.x,top:d.y},h=i?``:void 0,g=s??(t===`cluster`&&n!=null?`${n} places`:void 0);return c?(0,a.jsx)(`button`,{type:`button`,className:f,style:m,"aria-label":g,"aria-pressed":r,"data-hovered":h,"data-map-ui":``,onClick:c,children:p}):(0,a.jsx)(`span`,{className:f,style:m,"data-hovered":h,role:g?`img`:void 0,"aria-label":g,"aria-hidden":!g||void 0,children:p})};yt.displayName=`MapMarker`;var bt=`https://tile.openstreetmap.org/{z}/{x}/{y}.png`,xt=(0,a.jsxs)(a.Fragment,{children:[`© `,(0,a.jsx)(`a`,{href:`https://www.openstreetmap.org/copyright`,target:`_blank`,rel:`noreferrer`,children:`OpenStreetMap`}),` contributors`]}),St=260,Ct=()=>typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches,wt=({center:e=[51.505,-.09],zoom:t=12,minZoom:n=2,maxZoom:r=18,onViewChange:o,tileUrl:s=bt,tileUrlDark:c,theme:l=`auto`,attribution:u=xt,controls:d=!0,locate:f=!1,onLocate:p,onLocateError:m,height:h=400,"aria-label":g=`Map`,className:_,children:v})=>{let y=i.default.useRef(null),[b,x]=i.default.useState({w:0,h:0}),[S,C]=i.default.useState({center:e,zoom:X(t,n,r)}),w=i.default.useRef(S);w.current=S;let T=i.default.useRef(0),[E,D]=i.default.useState(null),[O,k]=i.default.useState(l===`dark`);i.default.useLayoutEffect(()=>{let e=y.current;if(!e)return;let t=()=>k(l===`dark`||!!e.closest(`.dark`));t();let n=new MutationObserver(t);for(let t=e;t;t=t.parentElement)n.observe(t,{attributes:!0,attributeFilter:[`class`]});return()=>n.disconnect()},[l]);let A=O&&!!c,ee=A?c:s;i.default.useLayoutEffect(()=>{let e=y.current;if(!e)return;let t=new ResizeObserver(([e])=>x({w:e.contentRect.width,h:e.contentRect.height}));return t.observe(e),()=>t.disconnect()},[]);let j=i.default.useCallback(e=>{let t={center:e.center,zoom:X(e.zoom,n,r)};w.current=t,C(t),o?.(t)},[n,r,o]),M=i.default.useCallback((e,t)=>{cancelAnimationFrame(T.current);let i=w.current,a={center:e.center,zoom:X(e.zoom,n,r)};if(Ct()){j(a);return}let o=performance.now(),s=e=>{let n=Math.min(1,(e-o)/St),r=1-(1-n)**3,c=i.zoom+(a.zoom-i.zoom)*r,l;if(t)l=P(te(t,i),t,c);else{let e=Z(i.center,c),t=Z(a.center,c);l=ot(e.x+(t.x-e.x)*r,e.y+(t.y-e.y)*r,c)}j({center:l,zoom:c}),n<1&&(T.current=requestAnimationFrame(s))};T.current=requestAnimationFrame(s)},[j,n,r,b.w,b.h]),N=i.default.useRef(!0);i.default.useEffect(()=>{if(N.current){N.current=!1;return}M({center:e,zoom:t})},[e[0],e[1],t]),i.default.useEffect(()=>()=>cancelAnimationFrame(T.current),[]);let te=(e,t)=>{let n=Z(t.center,t.zoom);return ot(n.x+e.x-b.w/2,n.y+e.y-b.h/2,t.zoom)},P=(e,t,n)=>{let r=Z(e,n);return ot(r.x-(t.x-b.w/2),r.y-(t.y-b.h/2),n)},F=i.default.useRef(null),I=(e,t)=>{let n=w.current,r=Z(n.center,n.zoom);j({center:ot(r.x-e,r.y-t,n.zoom),zoom:n.zoom})},ne=e=>{e.button!==0||e.target.closest(`[data-map-ui]`)||(cancelAnimationFrame(T.current),F.current={id:e.pointerId,x:e.clientX,y:e.clientY,moved:!1,samples:[{x:e.clientX,y:e.clientY,t:performance.now()}]})},re=e=>{let t=F.current;if(!t||t.id!==e.pointerId)return;let n=e.clientX-t.x,r=e.clientY-t.y;!t.moved&&Math.hypot(n,r)<3||(t.moved||(t.moved=!0,y.current?.setPointerCapture(e.pointerId)),t.x=e.clientX,t.y=e.clientY,t.samples.push({x:e.clientX,y:e.clientY,t:performance.now()}),t.samples.length>5&&t.samples.shift(),I(n,r))},L=()=>{let e=F.current;if(F.current=null,!e||!e.moved||Ct())return;let t=e.samples[0],n=e.samples[e.samples.length-1],r=Math.max(1,n.t-t.t);if(performance.now()-n.t>80)return;let i=(n.x-t.x)/r*16,a=(n.y-t.y)/r*16,o=()=>{i*=.9,a*=.9,!(Math.hypot(i,a)<.3)&&(I(i,a),T.current=requestAnimationFrame(o))};T.current=requestAnimationFrame(o)};i.default.useEffect(()=>{let e=y.current;if(!e)return;let t=t=>{t.preventDefault(),cancelAnimationFrame(T.current);let i=e.getBoundingClientRect(),a={x:t.clientX-i.left,y:t.clientY-i.top},o=w.current,s=X(-t.deltaY*(t.ctrlKey?.01:.002),-.5,.5),c=X(o.zoom+s,n,r),l=Z(o.center,o.zoom),u=Z(ot(l.x+a.x-i.width/2,l.y+a.y-i.height/2,o.zoom),c);j({center:ot(u.x-(a.x-i.width/2),u.y-(a.y-i.height/2),c),zoom:c})};return e.addEventListener(`wheel`,t,{passive:!1}),()=>e.removeEventListener(`wheel`,t)},[j,n,r]);let ie=e=>{if(e.target.closest(`[data-map-ui]`))return;let t=y.current.getBoundingClientRect();M({center:S.center,zoom:Math.round(S.zoom)+1},{x:e.clientX-t.left,y:e.clientY-t.top})},R=e=>{if(e.target!==e.currentTarget)return;let t=e.key;if(t===`ArrowLeft`)I(80,0);else if(t===`ArrowRight`)I(-80,0);else if(t===`ArrowUp`)I(0,80);else if(t===`ArrowDown`)I(0,-80);else if(t===`+`||t===`=`)M({center:S.center,zoom:Math.round(S.zoom)+1});else if(t===`-`||t===`_`)M({center:S.center,zoom:Math.round(S.zoom)-1});else return;e.preventDefault()},ae=()=>{if(!navigator.geolocation){m?.(Error(`Geolocation is not supported in this browser.`));return}navigator.geolocation.getCurrentPosition(e=>{let t=[e.coords.latitude,e.coords.longitude];D(t),M({center:t,zoom:Math.max(S.zoom,14)}),p?.(t)},e=>m?.(e))},oe=i.default.useRef(b);oe.current=b;let se=i.default.useRef(M);se.current=M;let z=i.default.useCallback((e,t)=>{se.current({center:e,zoom:t??w.current.zoom})},[]),B=i.default.useCallback((e,t=48)=>{if(!e.length)return;let{w:n,h:r}=oe.current,i=e.map(e=>e[0]),a=e.map(t=>e[0][1]+((t[1]-e[0][1]+540)%360-180)),[o,s,c,l]=[Math.min(...i),Math.max(...i),Math.min(...a),Math.max(...a)],u=[(o+s)/2,at((c+l)/2)],d=Z([s,c],0),f=Z([o,l],0),p=Math.max(1e-6,Math.abs(f.x-d.x)),m=Math.max(1e-6,Math.abs(f.y-d.y)),h=Math.min(Math.log2(Math.max(1,n-t*2)/p),Math.log2(Math.max(1,r-t*2)/m));se.current({center:u,zoom:e.length===1||!Number.isFinite(h)?Math.max(w.current.zoom,14):Math.floor(h*4)/4})},[]),ce=X(Math.round(S.zoom),0,r),V=2**(S.zoom-ce),le=[];if(b.w&&b.h){let e=Z(S.center,ce),t={x:b.w/2/V,y:b.h/2/V},n=2**ce,r=Math.floor((e.x-t.x)/256),i=Math.floor((e.x+t.x)/256),a=Math.max(0,Math.floor((e.y-t.y)/256)),o=Math.min(n-1,Math.floor((e.y+t.y)/256));for(let t=a;t<=o;t++)for(let a=r;a<=i;a++){let r=(a%n+n)%n;le.push({key:`${ce}/${a}/${t}`,src:ee.replace(`{z}`,String(ce)).replace(`{x}`,String(r)).replace(`{y}`,String(t)),left:(a*256-e.x)*V+b.w/2,top:(t*256-e.y)*V+b.h/2})}}let H=256*V,ue=i.default.useMemo(()=>{let e=Z(S.center,S.zoom),t=256*2**S.zoom;return{zoom:S.zoom,flyTo:z,fitBounds:B,maxZoom:r,project:n=>{if(!b.w||!b.h)return null;let r=Z(n,S.zoom),i=r.x-e.x;i-=Math.round(i/t)*t;let a=i+b.w/2,o=r.y-e.y+b.h/2;return a<-200||o<-200||a>b.w+200||o>b.h+200?null:{x:a,y:o}}}},[S,b.w,b.h,z,B,r]);return(0,a.jsxs)(`div`,{ref:y,className:[J.map,l===`dark`?`dark`:``,_??``].filter(Boolean).join(` `),"data-own-dark-tiles":A?``:void 0,style:{height:h},role:`region`,"aria-roledescription":`map`,"aria-label":g,tabIndex:0,onPointerDown:ne,onPointerMove:re,onPointerUp:L,onPointerCancel:L,onDoubleClick:ie,onKeyDown:R,children:[(0,a.jsx)(`div`,{className:J.tiles,"aria-hidden":`true`,children:le.map(e=>(0,a.jsx)(`img`,{src:e.src,alt:``,draggable:!1,className:J.tile,style:{left:e.left,top:e.top,width:H+.5,height:H+.5},onLoad:e=>e.currentTarget.setAttribute(`data-loaded`,``)},e.key))}),(0,a.jsx)(mt.Provider,{value:ue,children:(0,a.jsxs)(`div`,{className:J.overlay,children:[v,E&&(0,a.jsx)(yt,{position:E,variant:`dot`,label:`Your location`})]})}),(d||f)&&(0,a.jsx)(nt,{zoom:d,locate:f,onLocate:ae,zoomInDisabled:S.zoom>=r,zoomOutDisabled:S.zoom<=n,onZoomIn:()=>M({center:S.center,zoom:Math.round(S.zoom)+1}),onZoomOut:()=>M({center:S.center,zoom:Math.round(S.zoom)-1})}),u!=null&&(0,a.jsx)(`div`,{className:J.attribution,"data-map-ui":``,children:u})]})};wt.displayName=`Map`;var Tt=({position:e,title:r,description:i,onClose:o,offset:s=48,pointer:c=!0,glide:l,children:u,className:d})=>{let{project:f}=ht(),p=f(_t(e,l));return p?(0,a.jsxs)(`div`,{className:[J.popup,d??``].filter(Boolean).join(` `),style:{left:p.x,top:p.y-s},role:`dialog`,"aria-label":typeof r==`string`?r:void 0,"data-map-ui":``,onKeyDown:e=>{e.key===`Escape`&&o&&(e.stopPropagation(),o())},children:[(r||o)&&(0,a.jsxs)(`div`,{className:J.popupHeader,children:[r&&(0,a.jsx)(`div`,{className:J.popupTitle,children:r}),o&&(0,a.jsx)(`button`,{type:`button`,className:J.popupClose,"aria-label":`Close`,onClick:o,children:(0,a.jsx)(n.F,{size:14,strokeWidth:t.jt(14),"aria-hidden":`true`})})]}),i&&(0,a.jsx)(`div`,{className:J.popupDescription,children:i}),u,c&&(0,a.jsx)(`span`,{className:J.popupPointer,"aria-hidden":`true`})]}):null};Tt.displayName=`MapPopup`;var Et={globe:`_globe_w22uh_2`,"globe--draggable":`_globe--draggable_w22uh_10`,canvas:`_canvas_w22uh_12`,srOnly:`_srOnly_w22uh_15`},Dt=8,Ot=()=>typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches;function kt(e,t){t.fillStyle=`#000`,t.fillStyle=e;let n=String(t.fillStyle);if(n.startsWith(`#`))return[1,3,5].map(e=>parseInt(n.slice(e,e+2),16)).join(`,`);let r=n.match(/[\d.]+/g);return r?r.slice(0,3).join(`,`):`20,20,20`}var At=({variant:e=`land`,center:n=[15,90],markers:r=[],arcs:o=[],autoRotate:s=!0,rotationSpeed:c=6,draggable:l=!0,atmosphere:u=!0,dotSpacing:d=1.3,theme:f=`auto`,onMarkerClick:p,onMarkerHover:m,"aria-label":h=`Globe`,className:g})=>{let _=i.default.useRef(null),v=i.default.useRef(null),y=t.xt(),b=i.default.useMemo(()=>ut(d),[d]),x=i.default.useMemo(()=>o.map(e=>pt(e.from,e.to)),[o]),S=i.default.useRef({rot:n[1],tilt:X(n[0],-60,60),vr:0,vt:0,dragging:!1,idleUntil:0}),C=i.default.useRef({rgb:`20,20,20`,surface:`255,255,255`,border:`230,230,230`,font:`sans-serif`,visible:!0,size:0,hits:[]}),w=i.default.useRef({markers:r,arcPts:x,variant:e,atmosphere:u,autoRotate:s,rotationSpeed:c});w.current={markers:r,arcPts:x,variant:e,atmosphere:u,autoRotate:s,rotationSpeed:c};let T=i.default.useRef({onMarkerClick:p,onMarkerHover:m});T.current={onMarkerClick:p,onMarkerHover:m};let E=i.default.useRef(null),D=e=>{E.current!==e&&(E.current=e,_.current&&(_.current.style.cursor=e==null?``:`pointer`),T.current.onMarkerHover?.(e))};i.default.useEffect(()=>{let e=v.current;if(!e)return;let t=document.createElement(`canvas`).getContext(`2d`);if(!t)return;let n=getComputedStyle(e),r=(e,r)=>kt(n.getPropertyValue(e).trim()||r,t);C.current.rgb=kt(n.getPropertyValue(`--color-fg-default`).trim()||n.color,t),C.current.surface=r(`--color-bg-surface`,`#ffffff`),C.current.border=r(`--color-border-subtle`,`#e5e5e5`),C.current.font=n.fontFamily||`sans-serif`},[y,f]),i.default.useEffect(()=>{let e=v.current,t=_.current;if(!e||!t)return;let n=e.getContext(`2d`);if(!n)return;let r=0,i=performance.now(),a=i,o=()=>{let r=t.clientWidth,i=Math.min(2,window.devicePixelRatio||1);C.current.size=r,e.width=Math.round(r*i),e.height=Math.round(r*i),e.style.width=`${r}px`,e.style.height=`${r}px`,n.setTransform(i,0,0,i,0,0)},s=new ResizeObserver(o);s.observe(t),o();let c=new IntersectionObserver(([e])=>{C.current.visible=e.isIntersecting});c.observe(t);let l=e=>{let t=C.current.size;if(!t)return;let r=w.current,i=S.current,o=C.current.rgb,s=t*.42,c=t/2,l=t/2,u=t/480,d=dt(i.rot,i.tilt);if(n.clearRect(0,0,t,t),r.atmosphere){let e=n.createRadialGradient(c,l,s*.9,c,l,s*1.16);e.addColorStop(0,`rgba(${o},0.11)`),e.addColorStop(1,`rgba(${o},0)`),n.fillStyle=e,n.beginPath(),n.arc(c,l,s*1.16,0,Math.PI*2),n.fill()}let f=n.createRadialGradient(c-s*.35,l-s*.4,s*.1,c,l,s);f.addColorStop(0,`rgba(${o},0.07)`),f.addColorStop(1,`rgba(${o},0.02)`),n.fillStyle=f,n.beginPath(),n.arc(c,l,s,0,Math.PI*2),n.fill();let p=Array.from({length:Dt},()=>new Path2D),m=new Path2D,h=r.variant===`ocean`;for(let e of b){let t=d(e.cp,e.sp,e.lam);if(t.z<=0)continue;let n=t.z**.55,r=c+s*t.x,i=l-s*t.y;if(h?!e.land:e.land){let e=1.15*u*(.6+.4*n),t=p[Math.min(Dt-1,Math.floor(n*Dt))];t.moveTo(r+e,i),t.arc(r,i,e,0,Math.PI*2)}else{let e=.8*u*(.6+.4*n);m.moveTo(r+e,i),m.arc(r,i,e,0,Math.PI*2)}}n.fillStyle=`rgba(${o},0.12)`,n.fill(m),p.forEach((e,t)=>{n.fillStyle=`rgba(${o},${.22+.78*((t+.5)/Dt)})`,n.fill(e)}),n.lineCap=`round`;let g=(e-a)/1e3;r.arcPts.forEach((e,t)=>{let r=(g/2.6+t*.37)%1*(e.length-1);for(let t=1;t<e.length;t++){let i=e[t-1],a=e[t],f=d(i.cp,i.sp,i.lam),p=d(a.cp,a.sp,a.lam),m=Math.min(f.z,p.z),h=p.x*a.h,g=p.y*a.h;if(m<.04||Math.hypot(h,g)>.995&&m<.35)continue;let _=Math.min(1,(m-.04)/.25),v=Math.max(0,1-Math.abs(t-r)/6);n.strokeStyle=`rgba(${o},${(.28+.4*Math.sin(Math.PI*t/e.length)+.5*v)*_})`,n.lineWidth=(1.1+1.1*v)*u,n.beginPath(),n.moveTo(c+s*f.x*i.h,l-s*f.y*i.h),n.lineTo(c+s*h,l-s*g),n.stroke()}});let _=[],v=[];r.markers.forEach((e,t)=>{let r=ft(e.position),i=d(r.cp,r.sp,r.lam);if(i.z<=.06)return;let a=c+s*i.x,f=l-s*i.y,p=Math.min(1,(i.z-.06)/.2);_.push({i:t,x:a,y:f});let m=!!e.selected,h=!!e.hovered||E.current===t;if((m||h)&&(n.fillStyle=`rgba(${o},${(m?.2:.14)*p})`,n.beginPath(),n.arc(a,f,(m?15:11)*u,0,Math.PI*2),n.fill(),e.label&&v.push({x:a,y:f,label:e.label,k:p})),e.active){let e=g%2/2;n.strokeStyle=`rgba(${o},${.5*(1-e)*p})`,n.lineWidth=1.5*u,n.beginPath(),n.arc(a,f,(5+14*e)*u,0,Math.PI*2),n.stroke(),n.fillStyle=`rgba(${o},${.16*p})`,n.beginPath(),n.arc(a,f,9*u,0,Math.PI*2),n.fill()}n.globalCompositeOperation=`destination-out`,n.beginPath(),n.arc(a,f,(m?7:h?6.5:5.5)*u,0,Math.PI*2),n.fill(),n.globalCompositeOperation=`source-over`,n.fillStyle=`rgba(${o},${p})`,n.beginPath(),n.arc(a,f,(m?5:h?4.5:3.5)*u,0,Math.PI*2),n.fill()}),C.current.hits=_;for(let e of v){n.font=`500 ${12*u}px ${C.current.font}`;let r=n.measureText(e.label).width+16*u,i=24*u,a=16*u,s=X(e.x-r/2,4*u,t-r-4*u),c=e.y-a-i<4*u?e.y+a:e.y-a-i;n.save(),n.globalAlpha=e.k,n.shadowColor=`rgba(0,0,0,0.18)`,n.shadowBlur=8*u,n.shadowOffsetY=2*u,n.fillStyle=`rgb(${C.current.surface})`,n.beginPath(),n.roundRect?n.roundRect(s,c,r,i,6*u):n.rect(s,c,r,i),n.fill(),n.shadowColor=`transparent`,n.strokeStyle=`rgb(${C.current.border})`,n.lineWidth=u,n.stroke(),n.fillStyle=`rgb(${o})`,n.textBaseline=`middle`,n.fillText(e.label,s+8*u,c+i/2+u*.5),n.restore()}},u=e=>{let t=Math.min(.05,(e-i)/1e3);i=e;let n=S.current,a=w.current;n.dragging||(n.rot+=n.vr*t,n.tilt=X(n.tilt+n.vt*t,-60,60),n.vr*=.04**t,n.vt*=.04**t,a.autoRotate&&!Ot()&&e>n.idleUntil&&E.current==null&&(n.rot+=a.rotationSpeed*t)),C.current.visible&&l(e),r=requestAnimationFrame(u)};return r=requestAnimationFrame(u),()=>{cancelAnimationFrame(r),s.disconnect(),c.disconnect()}},[b]);let O=(e,t)=>{let n=_.current?.getBoundingClientRect();if(!n)return null;let r=e-n.left,i=t-n.top,a=Math.max(10,C.current.size/480*12),o=null,s=a;for(let e of C.current.hits){let t=Math.hypot(e.x-r,e.y-i);t<=s&&(o=e.i,s=t)}return o},k=i.default.useRef(null),A=i.default.useRef(null),ee=e=>{let t=O(e.clientX,e.clientY);A.current={x:e.clientX,y:e.clientY,hit:t},D(t),l&&(e.currentTarget.setPointerCapture(e.pointerId),k.current={x:e.clientX,y:e.clientY,t:performance.now()},S.current.dragging=!0,S.current.vr=0,S.current.vt=0)},j=e=>{let t=A.current;t&&Math.hypot(e.clientX-t.x,e.clientY-t.y)>4&&(t.hit=null);let n=k.current;if(!n){t||D(O(e.clientX,e.clientY));return}let r=S.current,i=180/Math.max(1,C.current.size*.84*Math.PI)*1.6,a=e.clientX-n.x,o=e.clientY-n.y,s=Math.max(1,performance.now()-n.t)/1e3;r.rot-=a*i,r.tilt=X(r.tilt+o*i,-60,60),r.vr=-a*i/s,r.vt=o*i/s,n.x=e.clientX,n.y=e.clientY,n.t=performance.now()},M=e=>{let t=A.current;if(A.current=null,t&&t.hit!=null&&e.type===`pointerup`&&T.current.onMarkerClick?.(t.hit,w.current.markers[t.hit]),!k.current)return;k.current=null;let n=S.current;n.dragging=!1,n.idleUntil=performance.now()+1500,Ot()&&(n.vr=0,n.vt=0)};return(0,a.jsxs)(`div`,{ref:_,className:[Et.globe,l?Et[`globe--draggable`]:``,f===`dark`?`dark`:``,g??``].filter(Boolean).join(` `),role:p?`group`:`img`,"aria-label":h,onPointerDown:ee,onPointerMove:j,onPointerUp:M,onPointerCancel:M,onPointerLeave:()=>{A.current||D(null)},children:[(0,a.jsx)(`canvas`,{ref:v,className:Et.canvas,"aria-hidden":p?!0:void 0}),p&&r.map((e,t)=>e.label&&(0,a.jsx)(`button`,{type:`button`,className:Et.srOnly,onFocus:()=>D(t),onBlur:()=>D(null),onClick:()=>p(t,e),children:e.label},t))]})};At.displayName=`MapGlobe`;function jt({points:e,renderPoint:t,radius:n=56,clusterMaxZoom:r=16,onClusterClick:o}){let{zoom:s,project:c,fitBounds:l,flyTo:u,maxZoom:d}=ht(),f=Math.floor(s),p=f<r,m=i.default.useMemo(()=>{if(!p)return e.map(e=>({key:String(e.id),position:e.position,points:[e]}));let t=new Map;for(let r of e){let e=Z(r.position,f),i=`${Math.floor(e.x/n)}:${Math.floor(e.y/n)}`,a=t.get(i);a?a.push(r):t.set(i,[r])}let r=n*.8,i=Array.from(t,([e,t])=>{let n=t.reduce((e,t)=>e+t.position[0],0)/t.length,r=t.reduce((e,t)=>e+t.position[1],0)/t.length;return{k:e,pts:t,lat:n,lng:r,...Z([n,r],f)}}).sort((e,t)=>t.pts.length-e.pts.length),a=[],o=new Map;for(let e of i){let t=Math.floor(e.x/r),n=Math.floor(e.y/r),i;for(let a=-1;a<=1&&!i;a++)for(let s=-1;s<=1&&!i;s++)i=o.get(`${t+a}:${n+s}`)?.find(t=>Math.hypot(t.x-e.x,t.y-e.y)<r);if(i){let t=i.pts.length+e.pts.length;i.lat=(i.lat*i.pts.length+e.lat*e.pts.length)/t,i.lng=(i.lng*i.pts.length+e.lng*e.pts.length)/t,i.pts=i.pts.concat(e.pts),Object.assign(i,Z([i.lat,i.lng],f))}else{a.push(e);let r=`${t}:${n}`;o.set(r,[...o.get(r)??[],e])}}return a.map(e=>({key:e.pts.length===1?String(e.pts[0].id):`c${f}:${e.k}`,position:e.pts.length===1?e.pts[0].position:[e.lat,e.lng],points:e.pts}))},[e,f,n,p]),h=e=>{let t=e.points.map(e=>e.position);t.every(e=>e[0]===t[0][0]&&e[1]===t[0][1])?u(e.position,Math.min(d,f+3)):l(t),o?.(e.points)};return(0,a.jsx)(a.Fragment,{children:m.map(e=>c(e.position)?e.points.length===1?(0,a.jsx)(i.default.Fragment,{children:t(e.points[0])},e.key):(0,a.jsx)(yt,{variant:`cluster`,position:e.position,count:e.points.length,onClick:()=>h(e)},e.key):null)})}jt.displayName=`MapClusterLayer`;var Mt={chart:`_chart_cc7lx_2`,center:`_center_cc7lx_30`,center__value:`_center__value_cc7lx_39`,center__caption:`_center__caption_cc7lx_40`},Nt={sm:{h:180,outer:72},md:{h:220,outer:90},lg:{h:280,outer:116},xl:{h:340,outer:142}},Pt=new Set([`donut`,`donut-active`,`donut-with-text`,`interactive`]),Ft=new Set([`donut-active`]),It=new Set([`interactive`]),Lt=new Set([`donut-with-text`]),Rt=Math.PI/180,zt=({data:e,variant:n=`donut`,size:r=`md`,centerValue:s,centerCaption:c,className:l})=>{let u=i.default.useRef(null),d=t.ct(u),[f,p]=i.default.useState(void 0),m=[1,2,3,4,5].map(e=>d(`--color-chart-${e}`)??t.st[e-1]),h=d(`--color-bg-surface`)??`#ffffff`,g=d(`--color-fg-default`)??`#141414`,_=Nt[r],v=Pt.has(n),y=Ft.has(n),b=It.has(n),x=v?_.outer*.6:0,S=Lt.has(n)&&(s||c),C=f??(y||b?0:void 0),w=e=>{let{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:s,endAngle:c,fill:l,index:u}=e,d=u===C,f=d&&(y||b)?16:0;return d&&b?(0,a.jsxs)(`g`,{children:[(0,a.jsx)(o.Sector,{cx:t,cy:n,innerRadius:r,outerRadius:i+f,startAngle:s,endAngle:c,fill:l}),(0,a.jsx)(o.Sector,{cx:t,cy:n,innerRadius:i+f+3,outerRadius:i+f+7,startAngle:s,endAngle:c,fill:l})]}):(0,a.jsx)(o.Sector,{cx:t,cy:n,innerRadius:r,outerRadius:i+f,startAngle:s,endAngle:c,fill:l})},T=e=>{let{cx:t,cy:n,midAngle:r,outerRadius:i}=e,a=r??0,o=Math.cos(-a*Rt),s=Math.sin(-a*Rt),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`}},E=e=>{let{value:t,fill:n}=e,{d:r,endX:i,endY:o,textAnchor:s}=T(e),c=i+(s===`start`?4:-4);return(0,a.jsxs)(`g`,{children:[(0,a.jsx)(`path`,{d:r,fill:`none`,stroke:n,strokeWidth:1}),(0,a.jsx)(`text`,{x:c,y:o,textAnchor:s,dominantBaseline:`central`,fill:g,fontSize:12,fontFamily:`var(--font-sans)`,children:t})]})},D=e=>{let{x:t,y:n,textAnchor:r,value:i}=e;return(0,a.jsx)(`text`,{x:t,y:n,textAnchor:r,dominantBaseline:`central`,fill:g,fontSize:20,fontWeight:400,fontFamily:`var(--font-sans)`,children:i})},O=t=>{let{cx:n,cy:r,midAngle:i,innerRadius:o,outerRadius:s,index:c}=t,l=(o+s)/2;return(0,a.jsx)(`text`,{x:n+l*Math.cos(-i*Rt),y:r+l*Math.sin(-i*Rt),textAnchor:`middle`,dominantBaseline:`central`,fill:`#fff`,fontSize:11,fontWeight:500,fontFamily:`var(--font-sans)`,children:e[c]?.label})};if(n===`stacked`){let n=e=>f!==void 0&&f!==e?.45:1;return(0,a.jsx)(`div`,{ref:u,className:[Mt.chart,l??``].filter(Boolean).join(` `),style:{height:_.h},children:(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,a.jsxs)(o.PieChart,{children:[(0,a.jsx)(o.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:_.outer*.82,outerRadius:_.outer,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,a.jsx)(o.Cell,{fill:m[t%m.length],fillOpacity:n(t)},t))}),(0,a.jsx)(o.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:0,outerRadius:_.outer*.62,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,a.jsx)(o.Cell,{fill:m[t%m.length],fillOpacity:n(t)},t))}),(0,a.jsx)(o.Tooltip,{content:(0,a.jsx)(t.ot,{}),wrapperStyle:{zIndex:50}})]})})})}return(0,a.jsxs)(`div`,{ref:u,className:[Mt.chart,l??``].filter(Boolean).join(` `),style:{height:_.h},children:[(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,a.jsxs)(o.PieChart,{children:[(0,a.jsx)(o.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:x,outerRadius:_.outer,paddingAngle:0,stroke:n===`pie`?h:`none`,strokeWidth:n===`pie`?2:0,isAnimationActive:!1,shape:y||b?w:void 0,label:n===`label`?E:n===`custom-label`?D:n===`label-list`?O:void 0,labelLine:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,a.jsx)(o.Cell,{fill:m[t%m.length]},t))}),(0,a.jsx)(o.Tooltip,{content:(0,a.jsx)(t.ot,{}),wrapperStyle:{zIndex:50}})]})}),S&&(0,a.jsxs)(`div`,{className:Mt.center,children:[s&&(0,a.jsx)(`span`,{className:Mt.center__value,children:s}),c&&(0,a.jsx)(`span`,{className:Mt.center__caption,children:c})]})]})},Bt={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`},Vt=({trigger:e,title:t,description:n,actions:r,placement:o=`bottom-start`,children:s,className:c})=>{let[l,u]=i.default.useState(!1),[d,f]=i.default.useState(!1),p=i.default.useRef(null),m=i.default.useRef(null);return i.default.useEffect(()=>{l&&f(!0)},[l]),i.default.useEffect(()=>{if(l||!d)return;let e=setTimeout(()=>f(!1),240);return()=>clearTimeout(e)},[l,d]),i.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]),i.default.useEffect(()=>{!l&&m.current&&(m.current.focus(),m.current=null)},[l]),(0,a.jsxs)(`div`,{className:[Bt.root,c??``].filter(Boolean).join(` `),ref:p,children:[(0,a.jsx)(`span`,{className:Bt.trigger,onClick:()=>{l||(m.current=document.activeElement),u(e=>!e)},children:e}),d&&(0,a.jsxs)(`div`,{className:[Bt.panel,Bt[`panel--${o}`],l?Bt[`panel--entering`]:Bt[`panel--exiting`]].filter(Boolean).join(` `),role:`dialog`,onAnimationEnd:e=>{e.target===e.currentTarget&&!l&&f(!1)},children:[t&&(0,a.jsx)(`div`,{className:Bt.panel__title,children:t}),n&&(0,a.jsx)(`div`,{className:Bt.panel__description,children:n}),s&&(0,a.jsx)(`div`,{className:Bt.panel__body,children:s}),r&&(0,a.jsx)(`div`,{className:Bt.panel__actions,children:r})]})]})},Ht={chart:`_chart_q6xhl_2`,circleFillSvg:`_circleFillSvg_q6xhl_17`},Ut={sm:200,md:260,lg:340,xl:420},Wt=new Set([`circle-grid`,`circle-grid-no-lines`,`circle-grid-filled`]),Gt=new Set([`default`,`grid-custom`]),Kt=new Set([`dots-grid-none`]),qt=new Set([`grid-filled`]),Jt=e=>e===`circle-grid-filled`,Yt=new Set([`default`,`dots`,`dots-grid-none`,`circle-grid`,`circle-grid-no-lines`,`multiple`,`custom-label`,`grid-custom`,`grid-filled`,`circle-grid-filled`]),Xt=[1,.8,.6,.4,.2],Zt=({data:e,variant:n=`default`,size:r=`md`,seriesLabels:s=[`Value`,`Value 2`],className:c})=>{let l=i.default.useRef(null),u=t.ct(l),d=u(`--color-chart-1`)??`#ff4700`,f=u(`--color-chart-2`)??`#5b92dd`,p=u(`--color-border-default`)??`#dbdad7`,m=u(`--color-fg-subtle`)??`#a8a29b`,h=n===`multiple`,g=n===`lines-only`,_=h||n===`custom-label`||g,v=!g,y=n===`dots`||n===`dots-grid-none`||n===`circle-grid`||n===`circle-grid-no-lines`,b=qt.has(n),x=Gt.has(n),S=Kt.has(n),C=Jt(n),[w,T]=i.default.useState(0);i.default.useEffect(()=>{if(!C||!l.current)return;let e=l.current,t=new ResizeObserver(([e])=>T(e.contentRect.width));return t.observe(e),()=>t.disconnect()},[C]);let E=i.default.useMemo(()=>{if(!b)return e;let t=Math.max(1,...e.flatMap(e=>[e.value,e.value2??0]));return e.map(e=>{let n={};return Xt.forEach((e,r)=>{n[`ring${r}`]=e*t}),{...e,...n}})},[e,b]),D=t=>{let{x:n,y:r,cx:i,cy:o,payload:s,textAnchor:c}=t,l=e.find(e=>e.label===s?.value)??e[s?.index];if(!l)return(0,a.jsx)(`g`,{});let u=n-i,d=r-o,f=l.value2===void 0?`${l.value}`:`${l.value}/${l.value2}`,p=Math.abs(d)>Math.abs(u),h,g;if(p&&d<0)g=r-4-6,h=g-16;else if(p)h=r+4+10,g=h+18;else{let e=r+d/(Math.sqrt(u*u+d*d)||1)*4;h=e-8,g=e+12}let _=p?n:n+u/Math.sqrt(u*u+d*d||1)*4;return(0,a.jsxs)(`g`,{children:[(0,a.jsx)(`text`,{x:_,y:h,textAnchor:c,fill:m,fontSize:15,fontWeight:600,fontFamily:`var(--font-sans)`,children:f}),(0,a.jsx)(`text`,{x:_,y:g,textAnchor:c,fill:m,fontSize:13,fontFamily:`var(--font-sans)`,children:l.label})]})},O=Ut[r],k=(w>0?Math.min(w,O)/2-5:0)*.7;return(0,a.jsxs)(`div`,{ref:l,className:[Ht.chart,c??``].filter(Boolean).join(` `),children:[C&&w>0&&(0,a.jsx)(`svg`,{className:Ht.circleFillSvg,width:w,height:O,children:Xt.map(e=>(0,a.jsx)(`circle`,{cx:w/2,cy:O/2,r:k*e,fill:f,fillOpacity:.1},e))}),(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:O,children:(0,a.jsxs)(o.RadarChart,{data:E,outerRadius:`70%`,children:[!b&&!S&&(0,a.jsx)(o.PolarGrid,{gridType:Wt.has(n)?`circle`:`polygon`,radialLines:n!==`circle-grid-no-lines`&&!x,stroke:p}),(0,a.jsx)(o.PolarAngleAxis,{dataKey:`label`,axisLine:!1,tick:n===`custom-label`?D:{fill:m,fontSize:12,fontFamily:`var(--font-sans)`}}),(0,a.jsx)(o.PolarRadiusAxis,{tick:!1,axisLine:!1,tickCount:x?2:void 0}),(0,a.jsx)(o.Tooltip,{content:(0,a.jsx)(t.ot,{}),wrapperStyle:{zIndex:50}}),h&&(0,a.jsx)(o.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),b&&Xt.map((e,t)=>(0,a.jsx)(o.Radar,{dataKey:`ring${t}`,stroke:`none`,fill:f,fillOpacity:.1,isAnimationActive:!1,legendType:`none`},`ring${t}`)),(0,a.jsx)(o.Radar,{name:h?s[0]??`Value`:void 0,dataKey:`value`,stroke:Yt.has(n)?`none`:f,fill:v?f:`none`,fillOpacity:v?x?1:_?.45:.5:0,strokeWidth:Yt.has(n)?0:2,dot:y?{r:4,fill:f,stroke:`none`}:!1,isAnimationActive:!1}),_&&(0,a.jsx)(o.Radar,{name:h?s[1]??`Value 2`:void 0,dataKey:`value2`,stroke:g?d:`none`,fill:g?`none`:d,fillOpacity:g?0:.8,strokeWidth:g?2:0,dot:y?{r:4,fill:d,stroke:`none`}:!1,isAnimationActive:!1})]})})]})},Qt={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`},$t={sm:180,md:220,lg:280,xl:340},en=Math.PI/180,tn=e=>Math.round(e*1e3)/1e3,nn={multi:[`30%`,`100%`],grid:[`30%`,`100%`],"stacked-label":[`30%`,`100%`],text:[`76%`,`100%`]},rn=({value:e,max:t,color:n,track:r,centerValue:i,centerCaption:o,labelColor:s,captionColor:c})=>{let l=Math.round(Math.min(e,t)/t*40);return(0,a.jsxs)(`svg`,{viewBox:`0 0 200 120`,className:Qt.gaugeSvg,children:[Array.from({length:40}).map((e,t)=>{let i=180+t/39*180;return(0,a.jsx)(`line`,{x1:tn(100+78*Math.cos(i*en)),y1:tn(100+78*Math.sin(i*en)),x2:tn(100+92*Math.cos(i*en)),y2:tn(100+92*Math.sin(i*en)),stroke:t<l?n:r,strokeWidth:2.5,strokeLinecap:`round`},t)}),(i||o)&&(0,a.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[i&&(0,a.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:i}),o&&(0,a.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},an=({rings:e,spokes:t,color:n})=>(0,a.jsxs)(`svg`,{viewBox:`0 0 200 200`,className:Qt.gridSvg,children:[Array.from({length:e}).map((t,r)=>(0,a.jsx)(`circle`,{cx:100,cy:100,r:(r+1)/e*96,fill:`none`,stroke:n,strokeWidth:1},r)),Array.from({length:t}).map((e,r)=>{let i=r/t*360,o=99.5*1.1;return(0,a.jsx)(`line`,{x1:100,y1:100,x2:tn(100+o*Math.cos(i*en)),y2:tn(100+o*Math.sin(i*en)),stroke:n,strokeWidth:1},r)})]}),on=({data:e,palette:t,track:n,centerValue:r,centerCaption:i,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,a.jsxs)(`svg`,{viewBox:`0 0 200 160`,className:Qt.gaugeSvg,children:[d.map((e,t)=>(0,a.jsx)(o.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,a.jsx)(o.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:u,endAngle:-30,fill:n,cornerRadius:4}),(r||i)&&(0,a.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[r&&(0,a.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:r}),i&&(0,a.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:i})]})]})},sn=({data:e,variant:n=`multi`,size:r=`md`,centerValue:s,centerCaption:c,className:l})=>{let u=i.default.useRef(null),d=t.ct(u),f=[1,2,3,4,5].map(e=>d(`--color-chart-${e}`)??t.st[e-1]),p=d(`--color-bg-subtle`)??`#f5f4f2`,m=d(`--color-border-subtle`)??`#e7e5e1`,h=d(`--color-fg-default`)??`#141414`,g=d(`--color-fg-muted`)??`#78716a`,_=$t[r];if(n===`gauge-tick`){let t=e[0];return(0,a.jsx)(`div`,{ref:u,className:[Qt.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:(0,a.jsx)(rn,{value:t?.value??0,max:t?.max??100,color:f[0],track:p,centerValue:s,centerCaption:c,labelColor:h,captionColor:g})})}if(n===`shape`||n===`stacked`||n===`stacked-3-layers`)return(0,a.jsx)(`div`,{ref:u,className:[Qt.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:(0,a.jsx)(on,{data:e,palette:f,track:p,centerValue:s,centerCaption:c,labelColor:h,captionColor:g})});let[v,y]=nn[n]??[`30%`,`100%`],b=(n===`stacked-label`||n===`text`)&&(s||c);return(0,a.jsxs)(`div`,{ref:u,className:[Qt.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:[n===`grid`&&(0,a.jsx)(an,{rings:8,spokes:12,color:m}),(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,a.jsxs)(o.RadialBarChart,{data:e,innerRadius:v,outerRadius:y,startAngle:90,endAngle:-270,barCategoryGap:`12%`,children:[(0,a.jsx)(o.PolarAngleAxis,{type:`number`,domain:[0,e[0]?.max??100],tick:!1,axisLine:!1}),(0,a.jsx)(o.RadialBar,{dataKey:`value`,background:n!==`grid`&&{fill:p},cornerRadius:8,isAnimationActive:!1,children:e.map((e,t)=>(0,a.jsx)(o.Cell,{fill:f[t%f.length]},t))})]})}),b&&(0,a.jsxs)(`div`,{className:Qt.center,children:[s&&(0,a.jsx)(`span`,{className:Qt.center__value,children:s}),c&&(0,a.jsx)(`span`,{className:Qt.center__caption,children:c})]})]})},cn={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`},ln=i.default.forwardRef(({label:e,description:t,disabled:n,id:r,className:o,...s},c)=>{let l=i.default.useId(),u=r??l;return(0,a.jsxs)(`label`,{htmlFor:u,className:[cn.wrapper,t?cn[`wrapper--withDescription`]:``,n?cn[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`input`,{ref:c,id:u,type:`radio`,disabled:n,className:cn.input,...s}),(0,a.jsx)(`span`,{className:cn.circle,"aria-hidden":`true`,children:(0,a.jsx)(`span`,{className:cn.dot})}),(e||t)&&(0,a.jsxs)(`span`,{className:cn.text,children:[e&&(0,a.jsx)(`span`,{className:cn.text__label,children:e}),t&&(0,a.jsx)(`span`,{className:cn.text__description,children:t})]})]})});ln.displayName=`Radio`;var un={footer:`_footer_x13xl_4`,"footer--collapsed":`_footer--collapsed_x13xl_12`,footer__text:`_footer__text_x13xl_14`,footer__title:`_footer__title_x13xl_15`,footer__subtitle:`_footer__subtitle_x13xl_16`,footer__menu:`_footer__menu_x13xl_17`,footer__action:`_footer__action_x13xl_29`},dn=({type:e=`user`,title:i,subtitle:o,avatarSrc:s,avatarInitials:c,collapsed:l,onMenu:u,onSignOut:d})=>{let f=(0,a.jsx)(t.Ot,{size:l?`sm`:`md`,src:s,initials:c,alt:i??`User`});return l?(0,a.jsx)(`div`,{className:[un.footer,un[`footer--collapsed`]].join(` `),children:f}):e===`actions`?(0,a.jsx)(`div`,{className:un.footer,children:(0,a.jsxs)(`button`,{type:`button`,"data-hover-item":``,className:un.footer__action,onClick:d,children:[(0,a.jsx)(r.t,{size:16,strokeWidth:t.jt(16)}),` Sign out`]})}):(0,a.jsxs)(`div`,{className:un.footer,children:[f,(0,a.jsxs)(`span`,{className:un.footer__text,children:[i&&(0,a.jsx)(`span`,{className:un.footer__title,children:i}),o&&(0,a.jsx)(`span`,{className:un.footer__subtitle,children:o})]}),e===`user-menu`&&(0,a.jsx)(`button`,{type:`button`,"data-hover-item":``,className:un.footer__menu,onClick:u,"aria-label":`Open menu`,children:(0,a.jsx)(n.a,{size:16,strokeWidth:t.jt(16)})})]})},fn={search:`_search_4878u_2`,search__icon:`_search__icon_4878u_25`,search__input:`_search__input_4878u_26`,search__placeholder:`_search__placeholder_4878u_38`,search__kbd:`_search__kbd_4878u_39`,collapsed:`_collapsed_4878u_53`},pn=({type:e=`field`,placeholder:r=`Search…`,collapsed:i,value:o,onChange:s,onClick:c})=>i?(0,a.jsx)(`button`,{type:`button`,className:fn.collapsed,onClick:c,"aria-label":`Search`,children:(0,a.jsx)(n.u,{size:18,strokeWidth:t.jt(18)})}):e===`command`?(0,a.jsxs)(`button`,{type:`button`,className:fn.search,onClick:c,children:[(0,a.jsx)(n.u,{size:16,strokeWidth:t.jt(16),className:fn.search__icon}),(0,a.jsx)(`span`,{className:fn.search__placeholder,children:r}),(0,a.jsx)(`kbd`,{className:fn.search__kbd,children:`⌘K`})]}):(0,a.jsxs)(`div`,{className:fn.search,children:[(0,a.jsx)(n.u,{size:16,strokeWidth:t.jt(16),className:fn.search__icon}),(0,a.jsx)(`input`,{className:fn.search__input,placeholder:r,value:o,onChange:e=>s?.(e.target.value)})]}),Q={toaster:`_toaster_ma9al_7`,toast:`_toast_ma9al_7`,swipeOutLeft:`_swipeOutLeft_ma9al_1`,swipeOutRight:`_swipeOutRight_ma9al_1`,swipeOutUp:`_swipeOutUp_ma9al_1`,swipeOutDown:`_swipeOutDown_ma9al_1`,icon:`_icon_ma9al_160`,content:`_content_ma9al_173`,title:`_title_ma9al_180`,description:`_description_ma9al_181`,button:`_button_ma9al_183`,cancel:`_cancel_ma9al_202`,close:`_close_ma9al_204`,spinner:`_spinner_ma9al_227`,spinnerBar:`_spinnerBar_ma9al_232`,spinnerFade:`_spinnerFade_ma9al_1`},mn=0,hn=[],gn=new Set;function _n(e){for(let t of gn)t(e)}var vn={subscribe(e){return gn.add(e),()=>{gn.delete(e)}},active:()=>hn,remove(e){hn=hn.filter(t=>t.id!==e)}};function yn(e,t,n={}){let r=n.id??`sakani-toast-${++mn}`,i=hn.find(e=>e.id===r),a={...i,...n,id:r,type:e,title:t,delete:!1,version:(i?.version??0)+1};return hn=i?hn.map(e=>e.id===r?a:e):[a,...hn],_n({kind:`upsert`,toast:a}),r}function bn(e){return hn=e===void 0?[]:hn.filter(t=>t.id!==e),_n({kind:`dismiss`,id:e}),e}function xn(e,t){let{loading:n,success:r,error:i,finally:a,id:o,...s}=t,c=o??`sakani-toast-${++mn}`;return n!==void 0&&yn(`loading`,n,{...s,id:c}),(typeof e==`function`?e():e).then(e=>{if(r===void 0){n!==void 0&&bn(c);return}yn(`success`,typeof r==`function`?r(e):r,{...s,id:c})},e=>{if(i===void 0){n!==void 0&&bn(c);return}yn(`error`,typeof i==`function`?i(e):i,{...s,id:c})}).finally(()=>a?.()),c}var Sn=Object.assign((e,t)=>yn(`default`,e,t),{message:(e,t)=>yn(`default`,e,t),success:(e,t)=>yn(`success`,e,t),info:(e,t)=>yn(`info`,e,t),warning:(e,t)=>yn(`warning`,e,t),error:(e,t)=>yn(`error`,e,t),loading:(e,t)=>yn(`loading`,e,t),promise:xn,dismiss:bn}),Cn=356,wn=45,Tn=200,En=e=>typeof e==`number`?`${e}px`:e,Dn=(...e)=>e.filter(Boolean).join(` `),On={success:{viewBox:`0 0 20 20`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`},info:{viewBox:`0 0 20 20`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`},warning:{viewBox:`0 0 24 24`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`},error:{viewBox:`0 0 20 20`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`}};function kn({type:e}){if(e===`loading`)return(0,a.jsx)(`span`,{className:Q.spinner,"aria-hidden":`true`,children:Array.from({length:12},(e,t)=>(0,a.jsx)(`span`,{className:Q.spinnerBar,style:{transform:`rotate(${t*30||1e-4}deg) translate(146%)`,animationDelay:`${-1.2+t*.1}s`}},t))});let t=On[e];return t?(0,a.jsx)(`svg`,{viewBox:t.viewBox,width:16,height:16,fill:`currentColor`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:t.d})}):null}var An=()=>(0,a.jsx)(`svg`,{viewBox:`0 0 12 12`,width:12,height:12,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M9 3L3 9M3 3l6 6`})});function jn({toast:e,index:t,count:n,expanded:r,expandByDefault:o,paused:s,heights:c,setHeights:l,removeToast:u,gap:d,visibleToasts:f,yPosition:p,xPosition:m,closeButton:h,richColors:g,duration:_}){let[v,y]=(0,i.useState)(!1),[b,x]=(0,i.useState)(!1),[S,C]=(0,i.useState)(!1),[w,T]=(0,i.useState)(!1),[E,D]=(0,i.useState)(!1),[O,k]=(0,i.useState)(null),[A,ee]=(0,i.useState)(0),[j,M]=(0,i.useState)(0),N=(0,i.useRef)(null),te=(0,i.useRef)(null),P=(0,i.useRef)(null),F=(0,i.useRef)(0),I=(0,i.useRef)(0),ne=t===0,re=t+1<=f,L=e.dismissible!==!1,ie=e.duration??_,R=e.richColors??g,ae=(e.closeButton??h)&&e.type!==`loading`,oe=c.findIndex(t=>t.id===e.id),se=(0,i.useMemo)(()=>{let e=c.reduce((e,t,n)=>n>=oe?e:e+t.height,0);return Math.max(0,oe)*d+e},[c,oe,d]),z=(0,i.useRef)(se);z.current=se,(0,i.useLayoutEffect)(()=>{let t=N.current;if(!t)return;let n=t.style.height;t.style.height=`auto`;let r=t.offsetHeight;t.style.height=n,M(r),l(t=>t.some(t=>t.id===e.id)?t.map(t=>t.id===e.id?{...t,height:r}:t):[{id:e.id,height:r},...t])},[e.id,e.version,l]),(0,i.useEffect)(()=>{y(!0)},[]);let B=(0,i.useCallback)(()=>{x(!0),ee(z.current),l(t=>t.filter(t=>t.id!==e.id)),window.setTimeout(()=>u(e),Tn)},[e,u,l]);(0,i.useEffect)(()=>{e.delete&&!b&&(e.onDismiss?.(e),B())},[e,b,B]),(0,i.useEffect)(()=>{I.current=ie},[e.version,ie]),(0,i.useEffect)(()=>{if(b||s||e.type===`loading`||ie===1/0)return;let t=Date.now(),n=window.setTimeout(()=>{e.onAutoClose?.(e),B()},I.current);return()=>{window.clearTimeout(n),I.current-=Date.now()-t}},[b,s,e,ie,B]);let ce=()=>{!L||b||(e.onDismiss?.(e),B())},V=(0,i.useMemo)(()=>{let e=[p];return m!==`center`&&e.push(m),e},[p,m]),le=(e,t)=>{N.current?.style.setProperty(`--swipe-amount-x`,`${e}px`),N.current?.style.setProperty(`--swipe-amount-y`,`${t}px`)},H=e=>{if(!(e.button===2||!L||b)&&!e.target.closest(`button`)){F.current=Date.now(),ee(z.current);try{e.currentTarget.setPointerCapture(e.pointerId)}catch{}C(!0),te.current={x:e.clientX,y:e.clientY},P.current=null}},ue=e=>{if(!te.current||!L||(window.getSelection()?.toString().length??0)>0)return;let t=e.clientY-te.current.y,n=e.clientX-te.current.x;!P.current&&(Math.abs(n)>1||Math.abs(t)>1)&&(P.current=Math.abs(n)>Math.abs(t)?`x`:`y`);let r=e=>e/(1.5+Math.abs(e)/20),i=0,a=0;P.current===`y`?a=V.includes(`top`)&&t<0||V.includes(`bottom`)&&t>0?t:r(t):P.current===`x`&&(i=V.includes(`left`)&&n<0||V.includes(`right`)&&n>0?n:r(n)),(i!==0||a!==0)&&T(!0),le(i,a)},de=()=>{if(E||!L||!te.current)return;te.current=null;let t=N.current?.style,n=parseFloat(t?.getPropertyValue(`--swipe-amount-x`)||`0`)||0,r=parseFloat(t?.getPropertyValue(`--swipe-amount-y`)||`0`)||0,i=P.current===`x`?n:r,a=Math.abs(i)/Math.max(1,Date.now()-F.current);if((P.current===`x`?i<0&&V.includes(`left`)||i>0&&V.includes(`right`):i<0&&V.includes(`top`)||i>0&&V.includes(`bottom`))&&(Math.abs(i)>=wn||a>.11)){ee(z.current),e.onDismiss?.(e),k(P.current===`x`?n>0?`right`:`left`:r>0?`down`:`up`),B(),D(!0);return}le(0,0),T(!1),C(!1),P.current=null},fe=r||o&&v,pe=e.icon===null?null:e.icon??(0,a.jsx)(kn,{type:e.type}),me=pe!==null&&(e.icon!==void 0||e.type!=="default");return(0,a.jsxs)(`li`,{ref:N,tabIndex:0,role:`status`,"aria-live":e.important||e.type===`error`?`assertive`:`polite`,"aria-atomic":`true`,className:Dn(Q.toast,e.className),"data-mounted":v,"data-removed":b,"data-visible":re,"data-front":ne,"data-expanded":fe,"data-y-position":p,"data-x-position":m,"data-type":e.type,"data-rich-colors":R,"data-dismissible":L,"data-swiping":S,"data-swiped":w,"data-swipe-out":E,"data-swipe-direction":O??void 0,style:{"--index":t,"--toasts-before":t,"--z-index":n-t,"--offset":`${b?A:se}px`,"--initial-height":o?`auto`:`${j}px`},onPointerDown:H,onPointerMove:ue,onPointerUp:de,onPointerCancel:de,onKeyDown:e=>{(e.key===`Delete`||e.key===`Backspace`)&&ce()},children:[ae&&(0,a.jsx)(`button`,{type:`button`,className:Q.close,"aria-label":`Close notification`,disabled:!L,onClick:ce,children:(0,a.jsx)(An,{})}),me&&(0,a.jsx)(`div`,{className:Q.icon,children:pe}),(0,a.jsxs)(`div`,{className:Q.content,children:[(0,a.jsx)(`div`,{className:Q.title,children:e.title}),e.description&&(0,a.jsx)(`div`,{className:Q.description,children:e.description})]}),e.cancel&&(0,a.jsx)(`button`,{type:`button`,className:Dn(Q.button,Q.cancel),onClick:t=>{e.cancel?.onClick?.(t),L&&ce()},children:e.cancel.label}),e.action&&(0,a.jsx)(`button`,{type:`button`,className:Q.button,onClick:t=>{e.action?.onClick(t),t.defaultPrevented||B()},children:e.action.label})]})}var Mn=({position:e=`bottom-right`,richColors:t=!1,closeButton:n=!1,expand:r=!1,visibleToasts:o=3,duration:s=4e3,gap:c=14,offset:l=24,mobileOffset:u=16,hotkey:d=[`altKey`,`KeyT`],containerAriaLabel:f=`Notifications`,className:p,style:m})=>{let[h,g]=(0,i.useState)(()=>vn.active()),[_,v]=(0,i.useState)([]),[y,b]=(0,i.useState)(!1),[x,S]=(0,i.useState)(!1),[C,w]=(0,i.useState)(!1),T=(0,i.useRef)(null),[E,D]=e.split(`-`);(0,i.useEffect)(()=>vn.subscribe(e=>{e.kind===`upsert`?g(t=>t.some(t=>t.id===e.toast.id)?t.map(t=>t.id===e.toast.id?e.toast:t):[e.toast,...t]):g(t=>t.map(t=>e.id===void 0||t.id===e.id?{...t,delete:!0}:t))}),[]);let O=(0,i.useCallback)(e=>{vn.remove(e.id),g(t=>t.filter(t=>t.id!==e.id))},[]);return(0,i.useEffect)(()=>{h.length<=1&&b(!1)},[h.length]),(0,i.useEffect)(()=>{let e=()=>w(document.hidden);return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[]),(0,i.useEffect)(()=>{let e=e=>{d.length>0&&d.every(t=>e[t]===!0||e.code===t)&&(b(!0),T.current?.focus()),e.key===`Escape`&&T.current&&(document.activeElement===T.current||T.current.contains(document.activeElement))&&(b(!1),document.activeElement?.blur())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[d]),(0,a.jsx)(`section`,{"aria-label":`${f} ${d.join(`+`).replace(/Key/g,``).replace(/Digit/g,``)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`,children:h.length>0&&(0,a.jsx)(`ol`,{ref:T,tabIndex:-1,className:Dn(Q.toaster,p),"data-y-position":E,"data-x-position":D,style:{"--front-toast-height":`${_[0]?.height??0}px`,"--width":`${Cn}px`,"--gap":`${c}px`,"--offset-top":En(l),"--offset-right":En(l),"--offset-bottom":En(l),"--offset-left":En(l),"--mobile-offset-top":En(u),"--mobile-offset-right":En(u),"--mobile-offset-bottom":En(u),"--mobile-offset-left":En(u),...m},onMouseEnter:()=>b(!0),onMouseMove:()=>b(!0),onMouseLeave:()=>{x||b(!1)},onFocus:()=>b(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||b(!1)},onPointerDown:e=>{e.target.dataset?.dismissible!==`false`&&S(!0)},onPointerUp:()=>S(!1),children:h.map((e,i)=>(0,a.jsx)(jn,{toast:e,index:i,count:h.length,expanded:y,expandByDefault:r,paused:y||x||C,heights:_,setHeights:v,removeToast:O,gap:c,visibleToasts:o,yPosition:E,xPosition:D,closeButton:n,richColors:t,duration:s},e.id))})})},Nn={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`},Pn=({size:e=`md`,label:t=`Loading...`,className:n})=>(0,a.jsx)(`span`,{role:`status`,"aria-label":t,className:[Nn.spinner,Nn[`spinner--${e}`],n??``].filter(Boolean).join(` `),children:(0,a.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.5,strokeLinecap:`round`,"aria-hidden":`true`,className:Nn.spinner__svg,children:[(0,a.jsx)(`circle`,{cx:12,cy:12,r:9,opacity:.2}),(0,a.jsx)(`path`,{d:`M12 3a9 9 0 0 1 9 9`,className:Nn.spinner__arc})]})}),$={stepper:`_stepper_1qhab_3`,"stepper--horizontal":`_stepper--horizontal_1qhab_4`,"stepper--vertical":`_stepper--vertical_1qhab_5`,step:`_step_1qhab_3`,"step--horizontal":`_step--horizontal_1qhab_8`,"step--vertical":`_step--vertical_1qhab_9`,circle:`_circle_1qhab_12`,circle__num:`_circle__num_1qhab_24`,"stepper--animated":`_stepper--animated_1qhab_28`,"circle--completed":`_circle--completed_1qhab_32`,"stepper-check":`_stepper-check_1qhab_1`,"circle--current":`_circle--current_1qhab_39`,"stepper-arrive":`_stepper-arrive_1qhab_1`,"circle--upcoming":`_circle--upcoming_1qhab_57`,step__text:`_step__text_1qhab_64`,step__label:`_step__label_1qhab_65`,"step__label--current":`_step__label--current_1qhab_66`,"step__label--upcoming":`_step__label--upcoming_1qhab_67`,step__desc:`_step__desc_1qhab_68`,connector:`_connector_1qhab_71`,connector__fill:`_connector__fill_1qhab_75`,"connector--vertical":`_connector--vertical_1qhab_82`,"connector--filled":`_connector--filled_1qhab_86`,"connector--horizontal":`_connector--horizontal_1qhab_88`},Fn=({index:e,state:r,label:i,description:o,orientation:s=`horizontal`,delay:c=0,fresh:l})=>(0,a.jsxs)(`div`,{className:[$.step,$[`step--${s}`]].join(` `),style:{"--delay":`${c}ms`},children:[(0,a.jsx)(`span`,{className:[$.circle,$[`circle--${r}`]].join(` `),"data-fresh":l||void 0,"aria-hidden":`true`,children:r===`completed`?(0,a.jsx)(n.k,{size:14,strokeWidth:t.jt(14)}):(0,a.jsx)(`span`,{className:$.circle__num,children:e+1})}),(0,a.jsxs)(`span`,{className:$.step__text,children:[(0,a.jsx)(`span`,{className:[$.step__label,r===`current`?$[`step__label--current`]:``,r===`upcoming`?$[`step__label--upcoming`]:``].filter(Boolean).join(` `),children:i}),o&&(0,a.jsx)(`span`,{className:$.step__desc,children:o})]})]}),In=457,Ln=({steps:e,current:t,orientation:n=`horizontal`,className:r})=>{let o=e=>e<t?`completed`:e===t?`current`:`upcoming`,s=(0,i.useRef)(t),[c,l]=(0,i.useState)(!1);(0,i.useEffect)(()=>{l(!0)},[]),(0,i.useEffect)(()=>{s.current=t},[t]);let u=s.current,d=(e,t)=>e<t?`completed`:e===t?`current`:`upcoming`,f=e=>c&&u!==t&&d(e,u)!==d(e,t),p=t>=u,m=Math.max(1,Math.abs(t-u)),h=Math.min(In,Math.floor(1430/m)),g=e=>p?e>=u&&e<=t?(e-u)*h:0:e>=t&&e<=u?(u-e)*h:0,_=e=>p?e>=u&&e<t?(e-u)*h:0:e>=t&&e<u?(u-1-e)*h+57:0;return(0,a.jsx)(`div`,{className:[$.stepper,$[`stepper--${n}`],c?$[`stepper--animated`]:``,r??``].filter(Boolean).join(` `),style:{"--fill-ms":`${h}ms`},children:e.map((r,s)=>(0,a.jsxs)(i.default.Fragment,{children:[(0,a.jsx)(Fn,{index:s,state:o(s),label:r.label,description:r.description,orientation:n,delay:g(s),fresh:f(s)}),s<e.length-1&&(0,a.jsx)(`span`,{className:[$.connector,$[`connector--${n}`],s<t?$[`connector--filled`]:``].filter(Boolean).join(` `),style:{"--delay":`${_(s)}ms`},"aria-hidden":`true`,children:(0,a.jsx)(`span`,{className:$.connector__fill})})]},s))})},Rn={wrapper:`_wrapper_1d89w_3`,"wrapper--disabled":`_wrapper--disabled_1d89w_11`,input:`_input_1d89w_13`,track:`_track_1d89w_15`,thumb:`_thumb_1d89w_28`,"wrapper--stretch":`_wrapper--stretch_1d89w_50`,label:`_label_1d89w_60`,"wrapper--withDescription":`_wrapper--withDescription_1d89w_65`,text:`_text_1d89w_66`,description:`_description_1d89w_68`},zn=16,Bn=2,Vn=18,Hn=360,Un=16,Wn=e=>1-(1-e)**3,Gn=.16,Kn=i.default.forwardRef(({label:e,description:t,disabled:n,id:r,className:o,onChange:s,variant:c=`default`,...l},u)=>{let d=i.default.useId(),f=r??d,p=i.default.useRef(null);return(0,a.jsxs)(`label`,{htmlFor:f,className:[Rn.wrapper,c===`stretch`?Rn[`wrapper--stretch`]:``,t?Rn[`wrapper--withDescription`]:``,n?Rn[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`input`,{ref:u,id:f,type:`checkbox`,role:`switch`,disabled:n,className:Rn.input,onChange:e=>{s?.(e);let t=p.current;if(c!==`stretch`||!t||typeof t.animate!=`function`||window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches)return;let n=e.target.checked,r=getComputedStyle(t),i=parseFloat(r.translate)||0,a=parseFloat(r.width)||zn,o=(n?Bn:Vn)+i,l=o+a,u=n?Vn:Bn,d=u+zn;t.getAnimations().forEach(e=>e.cancel());let f=[];for(let e=0;e<=Un;e++){let t=e/Un,r=Wn(t),i=Wn(Math.min(1,Math.max(0,(t-Gn)/(1-Gn)))),a=o+(u-o)*(n?i:r),s=l+(d-l)*(n?r:i);f.push({width:`${s-a}px`,translate:`${a-u}px 0`,offset:t})}t.animate(f,{duration:Hn,easing:`linear`})},...l}),(0,a.jsx)(`span`,{className:Rn.track,"aria-hidden":`true`,children:(0,a.jsx)(`span`,{ref:p,className:Rn.thumb})}),t?(0,a.jsxs)(`span`,{className:Rn.text,children:[e&&(0,a.jsx)(`span`,{className:Rn.label,children:e}),(0,a.jsx)(`span`,{className:Rn.description,children:t})]}):e&&(0,a.jsx)(`span`,{className:Rn.label,children:e})]})});Kn.displayName=`Switch`;var qn={field:`_field_53t87_6`,field__label:`_field__label_53t87_8`,field__description:`_field__description_53t87_10`,field__error:`_field__error_53t87_11`,textarea:`_textarea_53t87_13`,"textarea--error":`_textarea--error_53t87_37`,"textarea--disabled":`_textarea--disabled_53t87_52`},Jn=i.default.forwardRef(({label:e,description:t,error:n,disabled:r,id:o,className:s,rows:c=3,...l},u)=>{let d=i.default.useId(),f=o??d,p=!!n,m=t||n?`${f}-desc`:void 0;return(0,a.jsxs)(`div`,{className:[qn.field,s??``].filter(Boolean).join(` `),children:[e&&(0,a.jsx)(`label`,{htmlFor:f,className:qn.field__label,children:e}),(0,a.jsx)(`textarea`,{ref:u,id:f,rows:c,disabled:r,"aria-invalid":p||void 0,"aria-describedby":m,className:[qn.textarea,p?qn[`textarea--error`]:``,r?qn[`textarea--disabled`]:``].filter(Boolean).join(` `),...l}),(t||n)&&(0,a.jsx)(`span`,{id:m,className:p?qn.field__error:qn.field__description,children:n||t})]})});Jn.displayName=`Textarea`;var Yn={toast:`_toast_dshlf_3`,toast__icon:`_toast__icon_dshlf_17`,"toast--success":`_toast--success_dshlf_18`,"toast--error":`_toast--error_dshlf_19`,"toast--info":`_toast--info_dshlf_20`,toast__content:`_toast__content_dshlf_22`,toast__title:`_toast__title_dshlf_23`,toast__description:`_toast__description_dshlf_24`,toast__dismiss:`_toast__dismiss_dshlf_26`},Xn={success:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,a.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),error:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,a.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,a.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),info:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,a.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,a.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]})},Zn=({status:e=`info`,title:n,description:r,onDismiss:i,className:o})=>(0,a.jsxs)(`div`,{role:e===`error`?`alert`:`status`,"aria-live":e===`error`?`assertive`:`polite`,className:[Yn.toast,Yn[`toast--${e}`],o??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`span`,{className:Yn.toast__icon,"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:Xn[e]})}),(0,a.jsxs)(`div`,{className:Yn.toast__content,children:[n&&(0,a.jsx)(`div`,{className:Yn.toast__title,children:n}),r&&(0,a.jsx)(`div`,{className:Yn.toast__description,children:r})]}),i&&(0,a.jsx)(`button`,{type:`button`,className:Yn.toast__dismiss,onClick:i,"aria-label":`Dismiss`,children:(0,a.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(16),strokeLinecap:`round`,strokeLinejoin:`round`,width:16,height:16,children:[(0,a.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,a.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})]}),Qn={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`},$n=({type:e=`title`,title:r,trailing:i,search:o,onMenu:s,onAction:c,onClose:l,className:u})=>(0,a.jsxs)(`header`,{className:[Qn.bar,u??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`button`,{type:`button`,className:Qn.bar__icon,onClick:s,"aria-label":`Open menu`,children:(0,a.jsx)(n.b,{size:18,strokeWidth:t.jt(18)})}),e===`search`?(0,a.jsx)(`div`,{className:Qn.bar__search,children:o}):(0,a.jsx)(`span`,{className:[Qn.bar__title,e===`title-centered`?Qn[`bar__title--center`]:``].join(` `),children:r}),e===`title-action`&&(0,a.jsx)(`button`,{type:`button`,className:Qn.bar__icon,onClick:c,"aria-label":`Add`,children:(0,a.jsx)(n.T,{size:18,strokeWidth:t.jt(18)})}),e===`search`&&(0,a.jsx)(`button`,{type:`button`,className:Qn.bar__icon,onClick:l,"aria-label":`Close search`,children:(0,a.jsx)(n.F,{size:18,strokeWidth:t.jt(18)})}),(e===`title`||e===`title-centered`)&&i]});exports.Accordion=t.kt,exports.AccordionItem=t.At,exports.ActivityFeed=t.Et,exports.ActivityFeedHighlight=t.Dt,exports.Alert=t.F,exports.Announcement=c,exports.AreaChart=ke,exports.Avatar=t.Ot,exports.AvatarGroup=t.V,exports.AvatarUpload=t.St,exports.Badge=t.it,exports.Balance=t.bt,exports.BarChart=t.at,exports.BlogBlockquote=I,exports.BlogFeatureText=re,exports.BlogImage=ie,exports.BlogListingCard=t.W,exports.BlogListingFeaturedCard=t.U,exports.BoardCard=t.P,exports.BoardColumn=je,exports.Breadcrumb=t.j,exports.Button=t.Ct,exports.Calendar=Ie,exports.Card=Re,exports.CardMetaItem=t.A,exports.CartItem=t.nt,exports.ChatComposer=t.k,exports.Checkbox=t.O,exports.CheckoutSteps=t.et,exports.CodeSnippet=p,exports.ColorSwatch=t.Q,exports.Combobox=ze,exports.ConversationItem=t.D,exports.DEFAULT_CHECKOUT_STEPS=t.tt,exports.Divider=t.pt,exports.DonutChart=t.E,exports.EmptyState=t.T,exports.Expenses=g,exports.FacebookIcon=Te,exports.FeaturedIcon=t.H,exports.FileUpload=Be,exports.FilterChip=t.w,exports.FirstPageHeading=ae,exports.FunnelChart=Ge,exports.GithubIcon=_e,exports.HeatmapChart=Je,exports.HoverGroup=t.M,exports.IconButton=t.wt,exports.InlineHint=y,exports.Input=t.C,exports.InstagramIcon=we,exports.JobListing=t.z,exports.Kbd=Xe,exports.Label=Qe,exports.LineChart=t.S,exports.Link=t.Tt,exports.LinkedinIcon=Ee,exports.LiquidBackdrop=t.mt,exports.LiquidGlass=t.ht,exports.List=se,exports.ListItem=et,exports.LocationDot=t.B,exports.Map=wt,exports.MapClusterLayer=jt,exports.MapControlButton=tt,exports.MapControls=nt,exports.MapGlobe=At,exports.MapMarker=yt,exports.MapPopup=Tt,exports.Marquee=ce,exports.Menu=t.b,exports.MenuDivider=t.x,exports.MenuItem=t.y,exports.MessageBubble=t.v,exports.Metric=le,exports.MobileNavigationMenu=ue,exports.Modal=t.ft,exports.NotificationItem=t.dt,exports.Pagination=t._,exports.PieChart=zt,exports.PlaceholderLogo=pe,exports.Popover=Vt,exports.PriceDisplay=t.Z,exports.ProductCard=t.Y,exports.ProductGallery=t.J,exports.ProfileCard=he,exports.Progress=t.yt,exports.ProgressItem=x,exports.ProgressStat=t.ut,exports.QuantitySelector=t.rt,exports.RadarChart=Zt,exports.RadialChart=sn,exports.Radio=ln,exports.RichSeparator=C,exports.RichTextHeading=ye,exports.RichTextParagraph=xe,exports.SectionHeading=t.L,exports.SegmentedControl=t.g,exports.Select=t.h,exports.Sidebar=t.m,exports.SidebarDivider=t.p,exports.SidebarFooter=dn,exports.SidebarGroupLabel=t.f,exports.SidebarHeader=t.d,exports.SidebarItem=t.u,exports.SidebarPromo=t.l,exports.SidebarSearch=pn,exports.SidebarSubItem=t.c,exports.SizeSelector=t.q,exports.Skeleton=t.s,exports.Slider=t.o,exports.SpendingBalance=t.lt,exports.Spinner=Pn,exports.StarRating=t.K,exports.StatCard=t.a,exports.Stepper=Ln,exports.StepperStep=Fn,exports.StockMarket=E,exports.StockStatus=t.G,exports.SubFeature=Ce,exports.Switch=Kn,exports.Table=t.i,exports.Tabs=t.r,exports.Tags=k,exports.TeamCard=t.I,exports.Textarea=Jn,exports.Ticker=M,exports.Toast=Zn,exports.Toaster=Mn,exports.Tooltip=t.n,exports.TopBar=t.t,exports.TopBarMobile=$n,exports.Transactions=P,exports.WishlistButton=t.X,exports.XIcon=ge,exports.getContrastColor=t.$,exports.iconStrokeWidth=t.jt,exports.syncLiquidBackdrop=t.gt,exports.toast=Sn,exports.useHoverHighlight=t.N,exports.useLiquidGlass=t._t,exports.useMapContext=ht;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-CMqjfN_6.cjs"),t=require("./TopBar-Dd_xHXBv.cjs"),n=require("./help-circle-C1LENUMu.cjs"),r=require("./logout-g8G9uxDa.cjs");let i=require("react");i=e.t(i,1);let a=require("react/jsx-runtime"),o=require("recharts");var s={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`},c=({message:e,linkLabel:r,linkHref:i,onLinkClick:o,onDismiss:c,variant:l=`neutral`,className:u})=>{let d=l===`urgent`;return(0,a.jsxs)(`div`,{className:[s.announcement,s[`announcement--${l}`],u??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:s.content,children:[(0,a.jsx)(`span`,{className:s.icon,"aria-hidden":`true`,children:d?(0,a.jsx)(n.L,{size:24,strokeWidth:1.5,style:{fill:`var(--color-info-solid)`,stroke:`var(--color-info-bg)`}}):(0,a.jsx)(n.R,{size:24,strokeWidth:1.5,fill:`currentColor`,stroke:`currentColor`,className:s.icon__neutral})}),(0,a.jsx)(`p`,{className:s.message,children:e}),!d&&r&&(0,a.jsx)(t.Tt,{href:i,onClick:o,className:s.link,style:{color:`var(--color-brand-fg)`,fontSize:16,lineHeight:`24px`},children:r})]}),c&&(0,a.jsx)(t.wt,{icon:n.I,size:`sm`,variant:`ghost`,"aria-label":`Dismiss`,onClick:c})]})},l={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`},u=[`import`,`export`,`from`,`default`,`function`,`return`,`const`,`let`,`var`,`if`,`else`,`for`,`while`,`class`,`extends`,`new`,`async`,`await`,`as`,`of`,`in`],d=RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${u.join(`|`)})\\b)`,`g`),f=e=>e.split(d).map((e,t)=>{if(!e)return null;let n=/^['"`]/.test(e),r=!n&&u.includes(e);return n?(0,a.jsx)(`span`,{className:l.tokenString,children:e},t):r?(0,a.jsx)(`span`,{className:l.tokenKeyword,children:e},t):(0,a.jsx)(i.default.Fragment,{children:e},t)}),p=({code:e,filename:o,onCopy:s,editable:c=!1,onChange:u,placeholder:d,className:p})=>{let[m,h]=i.default.useState(!1),[g,_]=i.default.useState(e);i.default.useEffect(()=>_(e),[e]);let v=()=>{navigator.clipboard?.writeText(g),s?.(g),h(!0),window.setTimeout(()=>h(!1),1500)},y=e=>{_(e),u?.(e)},b=c?(0,a.jsxs)(`div`,{className:l.editableBody,children:[(0,a.jsx)(`pre`,{className:l.body,"aria-hidden":`true`,children:f(g)}),(0,a.jsx)(`textarea`,{className:l.textarea,value:g,placeholder:d,spellCheck:!1,onChange:e=>y(e.target.value),onKeyDown:e=>{if(e.key!==`Tab`)return;e.preventDefault();let t=e.currentTarget,{selectionStart:n,selectionEnd:r}=t,i=`${g.slice(0,n)} ${g.slice(r)}`;y(i),requestAnimationFrame(()=>{t.selectionStart=t.selectionEnd=n+2})}})]}):(0,a.jsx)(`pre`,{className:l.body,children:f(g)});return o?(0,a.jsxs)(`div`,{className:[l.snippet,p??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:l.header,children:[(0,a.jsx)(`p`,{className:l.filename,children:o}),(0,a.jsx)(t.wt,{icon:m?n.A:r.l,variant:`ghost`,size:`sm`,"aria-label":m?`Copied`:`Copy code`,onClick:v})]}),b]}):(0,a.jsx)(`div`,{className:[l.snippet,p??``].filter(Boolean).join(` `),children:b})},m={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`},h=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),g=({categories:e,variant:n=`default`,formatAmount:r=h,className:i})=>{let o=n===`compact`,s=Math.max(1,...e.map(e=>e.amount));return(0,a.jsx)(`div`,{className:[m.expenses,i??``].filter(Boolean).join(` `),children:e.map((e,n)=>(0,a.jsxs)(`div`,{className:m.row,children:[(0,a.jsxs)(`div`,{className:m.top,children:[(0,a.jsxs)(`div`,{className:m.left,children:[(0,a.jsx)(`span`,{className:m.icon,"aria-hidden":`true`,children:e.icon}),(0,a.jsx)(`p`,{className:m.label,children:e.label})]}),(0,a.jsx)(`p`,{className:m.amount,children:r(e.amount)})]}),!o&&(0,a.jsx)(t.yt,{value:e.amount/s*100,size:`lg`,label:`${e.label} spending`})]},e.id??n))})},_={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`},v=14,y=({message:e,variant:i=`neutral`,className:o})=>{let s=i===`warning`?n.L:r.c;return(0,a.jsxs)(`div`,{className:[_.hint,_[`hint--${i}`],o??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`span`,{className:_.bar,"aria-hidden":`true`}),(0,a.jsx)(s,{size:v,strokeWidth:t.jt(v),className:_.icon}),(0,a.jsx)(`p`,{className:_.message,children:e})]})},b={item:`_item_jnz6o_1`,"item--horizontal":`_item--horizontal_jnz6o_6`,"item--vertical":`_item--vertical_jnz6o_11`,"text--single":`_text--single_jnz6o_18`,text:`_text_jnz6o_18`,value:`_value_jnz6o_28`,topRow:`_topRow_jnz6o_43`,connectorHorizontal:`_connectorHorizontal_jnz6o_48`,rail:`_rail_jnz6o_56`,connectorVertical:`_connectorVertical_jnz6o_63`,title:`_title_jnz6o_77`,description:`_description_jnz6o_85`},x=({step:e,title:r,description:i,completed:o=!1,orientation:s=`horizontal`,isLast:c=!1,className:l})=>{let u=s===`vertical`,d=(0,a.jsx)(`span`,{className:b.value,"aria-hidden":`true`,children:o?(0,a.jsx)(n.A,{size:14,strokeWidth:t.jt(14)}):e}),f=(0,a.jsxs)(`div`,{className:[b.text,i?``:b[`text--single`]].filter(Boolean).join(` `),children:[(0,a.jsx)(`p`,{className:b.title,children:r}),i&&(0,a.jsx)(`p`,{className:b.description,children:i})]});return u?(0,a.jsxs)(`div`,{className:[b.item,b[`item--vertical`],l??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:b.rail,children:[d,!c&&(0,a.jsx)(`div`,{className:b.connectorVertical})]}),f]}):(0,a.jsxs)(`div`,{className:[b.item,b[`item--horizontal`],l??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:b.topRow,children:[d,!c&&(0,a.jsx)(`div`,{className:b.connectorHorizontal})]}),f]})},S={separator:`_separator_pcfo8_1`,line:`_line_pcfo8_9`,overline:`_overline_pcfo8_19`,badge:`_badge_pcfo8_31`,iconWrap:`_iconWrap_pcfo8_37`},C=({children:e,label:n,className:r})=>(0,a.jsxs)(`div`,{className:[S.separator,r??``].filter(Boolean).join(` `),role:`separator`,children:[(0,a.jsx)(t.pt,{className:S.line}),e??(n&&(0,a.jsx)(`span`,{className:S.overline,children:n})),(0,a.jsx)(t.pt,{className:S.line})]}),w={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`},T=e=>Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),E=({logo:e,symbol:i,name:o,price:s,change:c,formatAmount:l=T,chart:u,periodLabel:d=`Last 6 months`,onPeriodClick:f,className:p})=>{let m=c.amount>=0,h=m?n.M:n.j,g=m?`+`:`-`,_=`${g}${l(c.amount)} (${g}${Math.abs(c.percent)}%)`,v=m?w.trendUp:w.trendDown;return u?(0,a.jsxs)(`div`,{className:[w.card,p??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:w.header,children:[(0,a.jsx)(r.s,{size:16,strokeWidth:t.jt(16),className:w.headerIcon}),(0,a.jsx)(`span`,{className:w.headerLabel,children:`Stock market`})]}),(0,a.jsxs)(`div`,{className:w.tickerRow,children:[(0,a.jsx)(`span`,{className:w.logoLg,"aria-hidden":`true`,children:e}),(0,a.jsxs)(`div`,{className:w.text,children:[(0,a.jsx)(`p`,{className:w.symbol,children:i}),(0,a.jsx)(`p`,{className:w.name,children:o})]})]}),(0,a.jsxs)(`div`,{className:w.body,children:[(0,a.jsxs)(`div`,{className:w.priceRow,children:[(0,a.jsxs)(`div`,{className:w.priceGroup,children:[(0,a.jsx)(`p`,{className:w.priceLg,children:l(s)}),(0,a.jsxs)(`div`,{className:w.changeRowLg,children:[(0,a.jsx)(h,{size:24,strokeWidth:t.jt(24),className:v}),(0,a.jsx)(`span`,{className:[w.changeTextLg,v].join(` `),children:_})]})]}),(0,a.jsx)(t.Ct,{variant:`outline`,size:`sm`,rightIcon:(0,a.jsx)(n.O,{size:16,strokeWidth:t.jt(16)}),onClick:f,children:d})]}),(0,a.jsx)(t.at,{data:u,className:w.chart})]})]}):(0,a.jsxs)(`div`,{className:[w.row,p??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:w.left,children:[(0,a.jsx)(`span`,{className:w.logo,"aria-hidden":`true`,children:e}),(0,a.jsxs)(`div`,{className:w.text,children:[(0,a.jsx)(`p`,{className:w.symbol,children:i}),(0,a.jsx)(`p`,{className:w.name,children:o})]})]}),(0,a.jsxs)(`div`,{className:w.right,children:[(0,a.jsx)(`p`,{className:w.price,children:l(s)}),(0,a.jsxs)(`div`,{className:w.changeRow,children:[(0,a.jsx)(h,{size:20,strokeWidth:t.jt(20),className:v}),(0,a.jsx)(`span`,{className:[w.changeText,v].join(` `),children:_})]})]})]})},D={tags:`_tags_bsi1x_1`,remove:`_remove_bsi1x_8`,tag:`_tag_bsi1x_1`,"tag--leaving":`_tag--leaving_bsi1x_22`},O=160,k=({tags:e,onRemove:r,className:o})=>{let[s,c]=i.default.useState(null),l=i.default.useRef(void 0);i.default.useEffect(()=>()=>window.clearTimeout(l.current),[]);let u=(e,t)=>{if(!(!r||s)){if(window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches){r(e,t);return}c(e),l.current=window.setTimeout(()=>{r(e,t),c(null)},O)}};return(0,a.jsx)(`div`,{className:[D.tags,o??``].filter(Boolean).join(` `),children:e.map((e,i)=>(0,a.jsx)(t.it,{className:[D.tag,s===e?D[`tag--leaving`]:``].filter(Boolean).join(` `),rightIcon:r&&(0,a.jsx)(`button`,{type:`button`,className:D.remove,onClick:()=>u(e,i),"aria-label":`Remove ${e}`,children:(0,a.jsx)(n.I,{size:12,strokeWidth:t.jt(12)})}),children:e},e))})},A={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`},ee=e=>`${e>=0?`+`:``}${e}%`,j=({items:e,formatChange:r,ariaHidden:i})=>(0,a.jsx)(`div`,{className:A.row,"aria-hidden":i,children:e.map((e,i)=>{let o=e.changePercent>=0,s=o?n.M:n.j,c=o?A.trendUp:A.trendDown;return(0,a.jsxs)(`div`,{className:A.item,children:[(0,a.jsx)(`span`,{className:A.symbol,children:e.symbol}),(0,a.jsx)(s,{size:14,strokeWidth:t.jt(14),className:c}),(0,a.jsx)(`span`,{className:[A.change,c].join(` `),children:r(e.changePercent)})]},`${e.symbol}-${i}`)})}),M=({items:e,speed:t=40,formatChange:n=ee,className:r})=>{let o=i.default.useRef(null),[s,c]=i.default.useState(20);return i.default.useEffect(()=>{let e=o.current;if(!e)return;let n=e.firstElementChild;if(!n)return;let r=()=>{let e=n.scrollWidth;e>0&&c(e/t)};r();let i=new ResizeObserver(r);return i.observe(n),()=>i.disconnect()},[e,t]),(0,a.jsxs)(`div`,{className:[A.ticker,r??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{ref:o,className:A.track,style:{"--ticker-duration":`${s}s`},children:[(0,a.jsx)(j,{items:e,formatChange:n}),(0,a.jsx)(j,{items:e,formatChange:n,ariaHidden:!0})]}),(0,a.jsx)(`div`,{className:A.fadeLeft,"aria-hidden":`true`}),(0,a.jsx)(`div`,{className:A.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`},te=e=>`${e>=0?`+`:`-`}${Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`})}`,P=({transactions:e,formatAmount:n=te,emptyTitle:i=`No transactions yet`,emptyDescription:o=`Your activity will show up here.`,className:s})=>e.length===0?(0,a.jsxs)(`div`,{className:[N.empty,s??``].filter(Boolean).join(` `),children:[(0,a.jsx)(r.o,{size:24,strokeWidth:t.jt(24),className:N.emptyIcon}),(0,a.jsx)(`p`,{className:N.emptyTitle,children:i}),(0,a.jsx)(`p`,{className:N.emptyDesc,children:o})]}):(0,a.jsx)(`div`,{className:[N.list,s??``].filter(Boolean).join(` `),children:e.map((t,r)=>{let i=t.amount>=0;return(0,a.jsxs)(`div`,{className:[N.row,r===e.length-1?N.rowLast:``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:N.left,children:[(0,a.jsx)(`span`,{className:N.iconWrap,"aria-hidden":`true`,children:t.icon}),(0,a.jsxs)(`div`,{className:N.info,children:[(0,a.jsx)(`p`,{className:N.name,children:t.name}),(0,a.jsx)(`p`,{className:N.category,children:t.category})]})]}),(0,a.jsx)(`p`,{className:[N.amount,i?N.amountUp:N.amountDown].join(` `),children:n(t.amount)})]},t.id??`${t.name}-${r}`)})}),F={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`},I=({quote:e,author:r,className:i})=>{let o=!!r;return(0,a.jsxs)(`div`,{className:[F.root,o?F.rootAttributed:F.rootSimple,i??``].filter(Boolean).join(` `),children:[(0,a.jsx)(t.pt,{orientation:`vertical`,className:F.rail}),(0,a.jsxs)(`div`,{className:F.body,children:[o&&(0,a.jsx)(`span`,{className:F.markRow,"aria-hidden":`true`,children:(0,a.jsx)(n.S,{size:12,strokeWidth:t.jt(12),className:F.mark,fill:`currentColor`})}),(0,a.jsx)(`p`,{className:o?F.quoteAttributed:F.quoteSimple,children:o?e:`"${e}"`}),o&&(0,a.jsx)(`span`,{className:[F.markRow,F.markRowEnd].join(` `),"aria-hidden":`true`,children:(0,a.jsx)(n.S,{size:12,strokeWidth:t.jt(12),className:F.mark,fill:`currentColor`})}),r&&(0,a.jsxs)(`div`,{className:F.author,children:[(0,a.jsx)(t.Ot,{size:`sm`,src:r.avatarSrc,alt:r.avatarAlt??r.name}),(0,a.jsxs)(`p`,{className:F.authorText,children:[(0,a.jsx)(`span`,{className:F.authorName,children:r.name}),(0,a.jsxs)(`span`,{className:F.authorRole,children:[`, `,r.role]})]})]})]})]})},ne={root:`_root_btuyr_1`,rootLeft:`_rootLeft_btuyr_13`,rootTop:`_rootTop_btuyr_19`,ruleLeft:`_ruleLeft_btuyr_24`,ruleTop:`_ruleTop_btuyr_31`,text:`_text_btuyr_39`},re=({text:e,align:t=`left`,className:n})=>(0,a.jsxs)(`div`,{className:[ne.root,t===`top`?ne.rootTop:ne.rootLeft,n??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`span`,{className:t===`top`?ne.ruleTop:ne.ruleLeft,"aria-hidden":`true`}),(0,a.jsx)(`p`,{className:ne.text,children:e})]}),L={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`},ie=({src:e,alt:t=``,size:n=`large`,caption:r,className:i})=>(0,a.jsxs)(`figure`,{className:[L.root,L[`root--${n}`],i??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`span`,{className:L.imageWrap,children:(0,a.jsx)(`img`,{src:e,alt:t,className:L.image})}),r&&(0,a.jsx)(`figcaption`,{className:L.caption,children:r})]}),R={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`},ae=({title:e,description:n,badgeLabel:i,primaryCta:o,secondaryCta:s,avatars:c,avatarsCaption:l,align:u=`center`,className:d})=>{let f=!!(o||s),p=!!(c&&c.length>0);return(0,a.jsxs)(`div`,{className:[R.root,u===`left`?R.rootLeft:R.rootCenter,d??``].filter(Boolean).join(` `),children:[i&&(0,a.jsx)(t.it,{variant:`accent`,emphasis:`subtle`,children:i}),(0,a.jsx)(`p`,{className:R.title,children:e}),n&&(0,a.jsx)(`p`,{className:R.description,children:n}),f&&(0,a.jsxs)(`div`,{className:R.ctaRow,children:[o&&(0,a.jsx)(t.Ct,{variant:`primary`,onClick:o.onClick,children:o.label}),s&&(0,a.jsx)(t.Ct,{variant:`secondary`,leftIcon:(0,a.jsx)(r.a,{size:16,strokeWidth:t.jt(16),fill:`currentColor`}),onClick:s.onClick,children:s.label})]}),p&&(0,a.jsxs)(`div`,{className:R.avatarBlock,children:[(0,a.jsx)(t.V,{size:`md`,avatars:c}),l&&(0,a.jsx)(`p`,{className:R.avatarsCaption,children:l})]})]})},oe={root:`_root_5kajg_1`,item:`_item_5kajg_12`,marker:`_marker_5kajg_18`,dot:`_dot_5kajg_26`,label:`_label_5kajg_34`},se=({items:e,style:i=`check`,className:o})=>(0,a.jsx)(`ul`,{className:[oe.root,o??``].filter(Boolean).join(` `),children:e.map((e,o)=>(0,a.jsxs)(`li`,{className:oe.item,children:[(0,a.jsxs)(`span`,{className:oe.marker,"aria-hidden":`true`,children:[i===`check`&&(0,a.jsx)(n.A,{size:18,strokeWidth:t.jt(18)}),i===`arrow`&&(0,a.jsx)(r.i,{size:16,strokeWidth:t.jt(16)}),i===`bullet`&&(0,a.jsx)(`span`,{className:oe.dot})]}),(0,a.jsx)(`span`,{className:oe.label,children:e})]},o))}),z={marquee:`_marquee_1pc4i_1`,track:`_track_1pc4i_13`,row:`_row_1pc4i_19`,item:`_item_1pc4i_25`,fadeLeft:`_fadeLeft_1pc4i_31`,fadeRight:`_fadeRight_1pc4i_32`},ce=({items:e,gap:t,ariaHidden:n})=>(0,a.jsx)(`div`,{className:z.row,style:{gap:t,paddingRight:t},"aria-hidden":n,children:e.map((e,t)=>(0,a.jsx)(`div`,{className:z.item,children:e},t))}),le=({items:e,speed:t=40,gap:n,className:r})=>{let o=i.default.useRef(null),s=i.default.useRef(0),c=i.default.useRef(0),l=i.default.useRef(!1);return i.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,n]),i.default.useEffect(()=>{let e=o.current;if(!e||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let n,r=performance.now(),i=()=>{let a=performance.now(),o=(a-r)/1e3;r=a;let u=l.current?t*.2:t,d=s.current;d>0&&(c.current=(c.current+u*o)%d,e.style.transform=`translateX(-${c.current}px)`),n=setTimeout(i,16)};return n=setTimeout(i,16),()=>clearTimeout(n)},[t]),(0,a.jsxs)(`div`,{className:[z.marquee,r??``].filter(Boolean).join(` `),onMouseEnter:()=>{l.current=!0},onMouseLeave:()=>{l.current=!1},children:[(0,a.jsxs)(`div`,{ref:o,className:z.track,children:[(0,a.jsx)(ce,{items:e,gap:n}),(0,a.jsx)(ce,{items:e,gap:n,ariaHidden:!0})]}),(0,a.jsx)(`div`,{className:z.fadeLeft,"aria-hidden":`true`}),(0,a.jsx)(`div`,{className:z.fadeRight,"aria-hidden":`true`})]})},B={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`},ue=({value:e,label:r,trend:i,className:o})=>{let s=i!==void 0,c=s&&i>=0,l=c?n.M:n.j;return(0,a.jsxs)(`div`,{className:[B.root,o??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:B.numRow,children:[(0,a.jsx)(`p`,{className:B.value,children:e}),s&&(0,a.jsxs)(`span`,{className:[B.trend,c?B.trendUp:B.trendDown].join(` `),children:[(0,a.jsx)(l,{size:24,strokeWidth:t.jt(24)}),Math.abs(i),`%`]})]}),(0,a.jsx)(`p`,{className:B.label,children:r})]})},V={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`},de=({label:e,links:r,ctaLabel:o=`Get started`,onCtaClick:s,open:c,defaultOpen:l=!1,onOpenChange:u,className:d})=>{let f=c!==void 0,[p,m]=i.default.useState(l),h=f?c:p,g=()=>{let e=!h;f||m(e),u?.(e)},_=i.default.useRef(null),[v,y]=i.default.useState(0);return i.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()},[r,o]),(0,a.jsxs)(`div`,{className:[V.root,d??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:V.header,children:[(0,a.jsx)(`p`,{className:V.label,children:e}),(0,a.jsx)(`button`,{type:`button`,className:V.toggle,onClick:g,"aria-expanded":h,"aria-label":h?`Close menu`:`Open menu`,children:h?(0,a.jsx)(n.I,{size:16,strokeWidth:t.jt(16)}):(0,a.jsx)(n.x,{size:16,strokeWidth:t.jt(16)})})]}),(0,a.jsx)(`div`,{className:[V.collapse,h?V.collapseOpen:``].filter(Boolean).join(` `),style:{maxHeight:h?`${v}px`:`0px`},"aria-hidden":!h,children:(0,a.jsxs)(`div`,{ref:_,className:V.collapseInner,children:[(0,a.jsx)(`nav`,{className:V.navLinks,"aria-label":e,children:r.map(e=>(0,a.jsx)(`a`,{href:e.href,onClick:e.onClick,className:V.navLink,tabIndex:h?void 0:-1,children:e.label},e.label))}),(0,a.jsx)(t.pt,{className:V.fullWidth}),(0,a.jsx)(t.Ct,{variant:`primary`,className:V.fullWidth,onClick:s,tabIndex:h?void 0:-1,children:o})]})})]})},fe={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`},pe={sm:14,md:16,lg:18},me=({size:e=`md`,logo:n,label:r,className:o})=>{let s=pe[e],c=i.default.isValidElement(n)?i.default.cloneElement(n,{size:s,strokeWidth:t.jt(s)}):n??(0,a.jsx)(`span`,{className:fe.defaultMark,style:{width:s,height:s},children:(0,a.jsx)(t.R,{size:s})});return(0,a.jsx)(`span`,{className:[fe.root,fe[`root--${e}`],o??``].filter(Boolean).join(` `),role:`img`,"aria-label":r??`Logo placeholder`,children:c})},he={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`},ge=({name:e,role:n,avatarSrc:r,avatarAlt:i,bio:o,socialLinks:s=[],className:c})=>{let l=!!o||s.length>0;return(0,a.jsxs)(`div`,{className:[he.root,l?he.rootDetailed:he.rootCompact,c??``].filter(Boolean).join(` `),children:[(0,a.jsx)(t.Ot,{size:`xl`,src:r,alt:i??e}),(0,a.jsxs)(`div`,{className:l?he.infoDetailed:he.infoCompact,children:[(0,a.jsx)(`p`,{className:he.name,children:e}),(0,a.jsx)(`p`,{className:he.role,children:n})]}),l&&o&&(0,a.jsx)(`p`,{className:he.bio,children:o}),l&&s.length>0&&(0,a.jsx)(`div`,{className:he.social,children:s.map((e,t)=>(0,a.jsx)(`a`,{href:e.href,onClick:e.onClick,className:he.socialBtn,"aria-label":e.label,children:e.icon},e.label??t))})]})},_e=({size:e=16})=>(0,a.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,fill:`currentColor`,d:`M9.48933 6.77467L15.318 0H13.9367L8.876 5.88267L4.834 0H0.172L6.284 8.89533L0.172 16H1.55333L6.89733 9.788L11.166 16H15.828L9.48933 6.77467ZM7.598 8.974L6.97867 8.088L2.05067 1.04H4.172L8.14867 6.728L8.768 7.614L13.9373 15.0073H11.816L7.598 8.974Z`})}),ve=({size:e=16})=>(0,a.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{fill:`currentColor`,stroke:`currentColor`,strokeWidth:`0.5`,d:`M5.2627 14.9109C5.24063 14.9019 5.21825 14.8937 5.19629 14.8845C5.21828 14.8846 5.2404 14.8849 5.2627 14.8845C5.26277 14.8934 5.26262 14.9022 5.2627 14.9109ZM8 0.948C12.0038 0.948 15.25 4.19421 15.25 8.198C15.25 11.2321 13.382 13.8337 10.7119 14.9041C10.7126 14.8154 10.7132 14.7175 10.7139 14.6111C10.7164 14.2289 10.7197 13.7443 10.7197 13.2068C10.7197 12.8702 10.6752 12.5602 10.5967 12.282C11.2251 12.1236 11.8603 11.8618 12.4033 11.407C13.3035 10.6531 13.8291 9.48051 13.8291 7.78003C13.8291 6.87672 13.5529 6.10004 13.0859 5.46265C13.1914 4.97309 13.2464 4.1873 12.8779 3.24292L12.748 2.91089L12.4082 2.80152L12.1885 3.48902C12.4086 2.8019 12.407 2.80174 12.4062 2.80152L12.4053 2.80054L12.3965 2.79761C12.3923 2.79634 12.3874 2.79501 12.3828 2.7937C12.3738 2.79113 12.364 2.78851 12.3535 2.78589C12.3324 2.78061 12.3081 2.77611 12.2812 2.77124C12.2271 2.76146 12.1615 2.75326 12.085 2.74976C11.9315 2.74276 11.7366 2.75416 11.499 2.80445C11.0816 2.8928 10.5376 3.09872 9.85352 3.52808C9.24662 3.38844 8.61824 3.31986 7.99414 3.31616H7.98535C7.36044 3.31984 6.73069 3.3881 6.12305 3.52808C5.43488 3.09865 4.88896 2.89272 4.4707 2.80445C4.23272 2.75425 4.03733 2.74275 3.88379 2.74976C3.80726 2.75325 3.74164 2.76049 3.6875 2.77027C3.66056 2.77514 3.63643 2.78059 3.61523 2.78589C3.60476 2.78851 3.59499 2.79113 3.58594 2.7937C3.58136 2.79501 3.57647 2.79634 3.57227 2.79761L3.56348 2.80054L3.56152 2.80152C3.56163 2.80419 3.57406 2.84531 3.78906 3.51636L3.56055 2.80152L3.2207 2.91089L3.09082 3.24292C2.72472 4.18117 2.77327 4.9675 2.88574 5.46851C2.41945 6.10504 2.14648 6.88031 2.14648 7.78003C2.14649 8.97574 2.40791 9.91025 2.87598 10.6228C2.76692 10.5961 2.65215 10.5747 2.53027 10.5662L2.50879 10.5642H2.46289C2.45155 10.5643 2.43701 10.5646 2.41992 10.5652C2.3862 10.5664 2.33899 10.569 2.28516 10.575C2.20712 10.5835 2.00131 10.6093 1.80762 10.7195C1.70282 10.7791 1.53342 10.9016 1.43457 11.1267C1.42275 11.1537 1.41196 11.181 1.40332 11.2078C0.984401 10.291 0.75 9.27198 0.75 8.198C0.75 4.19409 3.99434 0.948 8 0.948ZM4.51855 11.9919C4.75868 12.0994 5.00485 12.1834 5.25098 12.2517C5.17809 12.2603 5.10423 12.266 5.03125 12.2595C4.87853 12.2459 4.69843 12.1922 4.51855 11.9919Z`})}),ye={heading:`_heading_96cdx_1`,h2:`_h2_96cdx_8`,h3:`_h3_96cdx_14`},be=({children:e,level:t=`h2`,className:n})=>(0,a.jsx)(t,{className:[ye.heading,ye[t],n??``].filter(Boolean).join(` `),children:e}),xe={paragraph:`_paragraph_8pqdi_1`},Se=({children:e,className:t})=>(0,a.jsx)(`p`,{className:[xe.paragraph,t??``].filter(Boolean).join(` `),children:e}),Ce={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`},we=({icon:e,title:n,description:r,layout:o=`horizontal`,leftBorder:s=!1,className:c})=>{let l=o===`vertical`,u=(0,a.jsxs)(`div`,{className:l?Ce.contentVertical:Ce.contentHorizontal,children:[(0,a.jsx)(t.H,{icon:e,size:`sm`,variant:`light`}),(0,a.jsxs)(`div`,{className:l?Ce.textVertical:Ce.textHorizontal,children:[(0,a.jsx)(`p`,{className:Ce.title,children:n}),(0,a.jsx)(`p`,{className:Ce.description,children:r})]})]});return s?(0,a.jsxs)(`div`,{className:[Ce.rootBordered,c??``].filter(Boolean).join(` `),children:[(0,a.jsx)(t.pt,{orientation:`vertical`,className:Ce.rail}),u]}):i.default.cloneElement(u,{className:[u.props.className,c??``].filter(Boolean).join(` `)})},Te=({size:e=16})=>(0,a.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M11.6667 4.33333H11.6733M4.66667 1.33333H11.3333C13.1743 1.33333 14.6667 2.82572 14.6667 4.66667V11.3333C14.6667 13.1743 13.1743 14.6667 11.3333 14.6667H4.66667C2.82572 14.6667 1.33333 13.1743 1.33333 11.3333V4.66667C1.33333 2.82572 2.82572 1.33333 4.66667 1.33333ZM10.6666 7.58004C10.7489 8.13487 10.6541 8.70152 10.3958 9.19938C10.1375 9.69725 9.72873 10.101 9.22772 10.3532C8.7267 10.6053 8.15893 10.6931 7.60516 10.604C7.05138 10.5149 6.53981 10.2534 6.14319 9.85681C5.74658 9.4602 5.48512 8.94862 5.39601 8.39485C5.3069 7.84107 5.39468 7.2733 5.64685 6.77229C5.89903 6.27127 6.30276 5.86253 6.80062 5.6042C7.29849 5.34587 7.86514 5.2511 8.41997 5.33337C8.98592 5.41729 9.50987 5.68101 9.91443 6.08558C10.319 6.49014 10.5827 7.01409 10.6666 7.58004Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Ee=({size:e=16})=>(0,a.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M12 1.33333H10C9.11594 1.33333 8.2681 1.68452 7.64298 2.30964C7.01786 2.93477 6.66667 3.78261 6.66667 4.66667V6.66667H4.66667V9.33333H6.66667V14.6667H9.33333V9.33333H11.3333L12 6.66667H9.33333V4.66667C9.33333 4.48986 9.40357 4.32029 9.5286 4.19526C9.65362 4.07024 9.82319 4 10 4H12V1.33333Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),De=({size:e=16})=>(0,a.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:[(0,a.jsx)(`path`,{d:`M10.6667 5.33333C11.7275 5.33333 12.7449 5.75476 13.4951 6.50491C14.2452 7.25505 14.6667 8.27247 14.6667 9.33333V14H12V9.33333C12 8.97971 11.8595 8.64057 11.6095 8.39052C11.3594 8.14048 11.0203 8 10.6667 8C10.313 8 9.97391 8.14048 9.72386 8.39052C9.47381 8.64057 9.33333 8.97971 9.33333 9.33333V14H6.66667V9.33333C6.66667 8.27247 7.08809 7.25505 7.83824 6.50491C8.58838 5.75476 9.6058 5.33333 10.6667 5.33333Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,a.jsx)(`path`,{d:`M4 6H1.33333V14H4V6Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,a.jsx)(`path`,{d:`M2.66667 4C3.40305 4 4 3.40305 4 2.66667C4 1.93029 3.40305 1.33333 2.66667 1.33333C1.93029 1.33333 1.33333 1.93029 1.33333 2.66667C1.33333 3.40305 1.93029 4 2.66667 4Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),Oe={chart:`_chart_qqaox_2`},ke={sm:180,md:240,lg:320,xl:420},Ae=({data:e,variant:n=`default`,seriesLabels:r=[`Value`,`Value 2`],size:s=`md`,height:c,className:l})=>{let u=i.default.useRef(null),d=t.ct(u),f=d(`--color-chart-5`)??`#dca84f`,p=d(`--color-chart-2`)??`#5b92dd`,m=d(`--color-border-subtle`)??`#e7e5e1`,h=d(`--color-fg-muted`)??`#78716a`,g=e.some(e=>e.value2!==void 0),_=n===`step`?`step`:n===`linear`?`linear`:`monotone`,v=n===`stacked`?`stack`:void 0;return(0,a.jsx)(`div`,{ref:u,className:[Oe.chart,l??``].filter(Boolean).join(` `),children:(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:c??ke[s],children:(0,a.jsxs)(o.AreaChart,{data:e,margin:{top:8,right:8,bottom:8,left:0},children:[(0,a.jsxs)(`defs`,{children:[(0,a.jsxs)(`linearGradient`,{id:`sakani-area-1`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,a.jsx)(`stop`,{offset:`5%`,stopColor:f,stopOpacity:.35}),(0,a.jsx)(`stop`,{offset:`95%`,stopColor:f,stopOpacity:.02})]}),(0,a.jsxs)(`linearGradient`,{id:`sakani-area-2`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,a.jsx)(`stop`,{offset:`5%`,stopColor:p,stopOpacity:.35}),(0,a.jsx)(`stop`,{offset:`95%`,stopColor:p,stopOpacity:.02})]})]}),(0,a.jsx)(o.CartesianGrid,{strokeDasharray:`3 3`,stroke:m,vertical:!1}),(0,a.jsx)(o.XAxis,{dataKey:`label`,stroke:h,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,a.jsx)(o.Tooltip,{cursor:{stroke:d(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,a.jsx)(t.ot,{}),wrapperStyle:{zIndex:50}}),g&&(0,a.jsx)(o.Area,{type:_,dataKey:`value2`,name:r[1]??`Value 2`,stackId:v,stroke:p,strokeWidth:2,fill:`url(#sakani-area-2)`,dot:!1,activeDot:{r:4,fill:p,stroke:d(`--color-bg-canvas`),strokeWidth:1.5}}),(0,a.jsx)(o.Area,{type:_,dataKey:`value`,name:r[0]??`Value`,stackId:v,stroke:f,strokeWidth:2,fill:`url(#sakani-area-1)`,dot:!1,activeDot:{r:4,fill:f,stroke:d(`--color-bg-canvas`),strokeWidth:1.5}})]})})})},je={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`},Me=({state:e=`default`,title:r,count:i,dotColor:o=`var(--color-chart-1)`,children:s,onAdd:c,onMenu:l,className:u})=>(0,a.jsxs)(`div`,{className:[je.col,u??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:je.col__header,children:[(0,a.jsx)(`span`,{className:je.col__dot,style:{background:o},"aria-hidden":`true`}),(0,a.jsx)(`span`,{className:je.col__title,children:r}),i!=null&&(0,a.jsx)(`span`,{className:je.col__count,children:i}),(0,a.jsx)(`span`,{className:je.col__spacer}),(0,a.jsx)(`button`,{type:`button`,className:je.col__action,onClick:c,"aria-label":`Add task`,children:(0,a.jsx)(n.E,{size:16,strokeWidth:t.jt(16)})}),(0,a.jsx)(`button`,{type:`button`,className:je.col__action,onClick:l,"aria-label":`Column options`,children:(0,a.jsx)(n.b,{size:16,strokeWidth:t.jt(16)})})]}),(0,a.jsx)(`div`,{className:je.col__body,children:e===`empty`?(0,a.jsx)(`div`,{className:je.col__drop,children:`Drop tasks here`}):s}),(0,a.jsxs)(`button`,{type:`button`,className:je.col__add,onClick:c,children:[(0,a.jsx)(n.E,{size:16,strokeWidth:t.jt(16),"aria-hidden":`true`}),`Add task`]})]}),H={calendar:`_calendar_qvyxg_2`,header:`_header_qvyxg_14`,header__label:`_header__label_qvyxg_15`,navBtn:`_navBtn_qvyxg_16`,weekdays:`_weekdays_qvyxg_27`,weekday:`_weekday_qvyxg_27`,grid:`_grid_qvyxg_34`,day:`_day_qvyxg_35`,"day--default":`_day--default_qvyxg_49`,"day--hover":`_day--hover_qvyxg_50`,"day--selected":`_day--selected_qvyxg_51`,"day--today":`_day--today_qvyxg_52`,"day--in-range":`_day--in-range_qvyxg_53`,"day--outside":`_day--outside_qvyxg_54`,"day--disabled":`_day--disabled_qvyxg_55`,dropdowns:`_dropdowns_qvyxg_58`,dropdown:`_dropdown_qvyxg_58`},Ne=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],Pe=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Fe=(e,t)=>!!e&&!!t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),Ie=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),Le=({mode:e=`single`,value:r,onChange:o,range:s,onRangeChange:c,headerType:l=`arrows`,defaultMonth:u,minDate:d,maxDate:f,className:p})=>{let[m,h]=i.default.useState(()=>{let e=u??r??s?.from??new Date;return new Date(e.getFullYear(),e.getMonth(),1)}),[g,_]=i.default.useState({}),v=t.N(),y=s===void 0?g:s,b=new Date,x=m.getFullYear(),S=m.getMonth(),C=new Date(x,S,1).getDay(),w=new Date(x,S,1-C),T=Array.from({length:42},(e,t)=>new Date(w.getFullYear(),w.getMonth(),w.getDate()+t)),E=e=>d&&e<Ie(d)||f&&e>f,D=e=>{s===void 0&&_(e),c?.(e)},O=t=>{if(e===`single`){o?.(t);return}let{from:n,to:r}=y;D(!n||n&&r?{from:t,to:void 0}:t<n?{from:t,to:n}:{from:n,to:t})},k=t=>{if(E(t))return`disabled`;if(e===`single`){if(Fe(t,r))return`selected`}else{let{from:e,to:n}=y;if(Fe(t,e)||Fe(t,n))return`selected`;if(e&&n&&t>e&&t<n)return`in-range`}return t.getMonth()===S?Fe(t,b)?`today`:`default`:`outside`},A=d?d.getFullYear():x-10,ee=f?f.getFullYear():x+10,j=Array.from({length:ee-A+1},(e,t)=>A+t);return(0,a.jsxs)(`div`,{className:[H.calendar,p??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:H.header,children:[(0,a.jsx)(`button`,{type:`button`,className:H.navBtn,onClick:()=>h(new Date(x,S-1,1)),"aria-label":`Previous month`,children:(0,a.jsx)(n.y,{size:16,strokeWidth:t.jt(16)})}),l===`dropdowns`?(0,a.jsxs)(`span`,{className:H.dropdowns,children:[(0,a.jsx)(`select`,{className:H.dropdown,value:S,onChange:e=>h(new Date(x,Number(e.target.value),1)),"aria-label":`Month`,children:Pe.map((e,t)=>(0,a.jsx)(`option`,{value:t,children:e},e))}),(0,a.jsx)(`select`,{className:H.dropdown,value:x,onChange:e=>h(new Date(Number(e.target.value),S,1)),"aria-label":`Year`,children:j.map(e=>(0,a.jsx)(`option`,{value:e,children:e},e))})]}):(0,a.jsxs)(`span`,{className:H.header__label,children:[Pe[S],` `,x]}),(0,a.jsx)(`button`,{type:`button`,className:H.navBtn,onClick:()=>h(new Date(x,S+1,1)),"aria-label":`Next month`,children:(0,a.jsx)(n.v,{size:16,strokeWidth:t.jt(16)})})]}),(0,a.jsx)(`div`,{className:H.weekdays,children:Ne.map(e=>(0,a.jsx)(`span`,{className:H.weekday,children:e},e))}),(0,a.jsxs)(`div`,{ref:v.ref,...v.groupProps,className:H.grid,children:[v.highlight,T.map((e,t)=>{let n=k(e);return(0,a.jsx)(`button`,{type:`button`,"data-hover-item":``,className:[H.day,H[`day--${n}`]].filter(Boolean).join(` `),disabled:n===`disabled`,"aria-current":n===`today`?`date`:void 0,"aria-selected":n===`selected`,"aria-label":e.toLocaleDateString(void 0,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`}),onClick:()=>O(e),children:e.getDate()},t)})]})]})},Re={card:`_card_1qpcc_3`,"card--interactive":`_card--interactive_1qpcc_22`,card__header:`_card__header_1qpcc_30`,card__title:`_card__title_1qpcc_34`,card__description:`_card__description_1qpcc_43`,card__body:`_card__body_1qpcc_53`,card__actions:`_card__actions_1qpcc_57`,"card__actions--split":`_card__actions--split_1qpcc_66`,card__actionsGroup:`_card__actionsGroup_1qpcc_67`},ze=({title:e,description:t,actions:n,leadingAction:r,interactive:i,children:o,className:s})=>(0,a.jsxs)(`div`,{className:[Re.card,i?Re[`card--interactive`]:``,s??``].filter(Boolean).join(` `),children:[(e||t)&&(0,a.jsxs)(`div`,{className:Re.card__header,children:[e&&(0,a.jsx)(`h3`,{className:Re.card__title,children:e}),t&&(0,a.jsx)(`p`,{className:Re.card__description,children:t})]}),o&&(0,a.jsx)(`div`,{className:Re.card__body,children:o}),(n||r)&&(r?(0,a.jsxs)(`div`,{className:[Re.card__actions,Re[`card__actions--split`]].join(` `),children:[r,(0,a.jsx)(`div`,{className:Re.card__actionsGroup,children:n})]}):(0,a.jsx)(`div`,{className:Re.card__actions,children:n}))]}),U={sr:`_sr_115fu_5`,root:`_root_115fu_17`,header:`_header_115fu_26`,header__icon:`_header__icon_115fu_44`,header__title:`_header__title_115fu_45`,header__chevron:`_header__chevron_115fu_46`,panel:`_panel_115fu_51`,panel__inner:`_panel__inner_115fu_59`,step:`_step_115fu_61`,steps:`_steps_115fu_71`,step__body:`_step__body_115fu_83`,step__row:`_step__row_115fu_115`,step__icon:`_step__icon_115fu_116`,step__content:`_step__content_115fu_117`,step__label:`_step__label_115fu_118`,step__query:`_step__query_115fu_119`,step__count:`_step__count_115fu_129`,"step--done":`_step--done_115fu_136`,"step--active":`_step--active_115fu_137`,"step--pending":`_step--pending_115fu_139`,step__sources:`_step__sources_115fu_145`,"step__sources--button":`_step__sources--button_115fu_157`,step__sourcesLabel:`_step__sourcesLabel_115fu_158`,step__sourcesChevron:`_step__sourcesChevron_115fu_160`,stack:`_stack_115fu_163`,chip:`_chip_115fu_164`,working:`_working_115fu_179`,indicator:`_indicator_115fu_180`,indicator__icon:`_indicator__icon_115fu_181`,indicator__label:`_indicator__label_115fu_182`,indicator__time:`_indicator__time_115fu_183`,"indicator--working":`_indicator--working_115fu_189`,"chain-of-thought-shimmer":`_chain-of-thought-shimmer_115fu_1`,"chain-of-thought-open":`_chain-of-thought-open_115fu_1`,"chain-of-thought-rail-down":`_chain-of-thought-rail-down_115fu_1`,"chain-of-thought-rail-across":`_chain-of-thought-rail-across_115fu_1`,"chain-of-thought-land":`_chain-of-thought-land_115fu_1`,"chain-of-thought-write":`_chain-of-thought-write_115fu_1`,"chain-of-thought-type":`_chain-of-thought-type_115fu_1`,"chain-of-thought-fade-in":`_chain-of-thought-fade-in_115fu_1`,"chain-of-thought-row-open":`_chain-of-thought-row-open_115fu_1`,"chain-of-thought-fan":`_chain-of-thought-fan_115fu_1`,"chain-of-thought-spark-down":`_chain-of-thought-spark-down_115fu_1`,"chain-of-thought-spark-across":`_chain-of-thought-spark-across_115fu_1`,"chain-of-thought-beat":`_chain-of-thought-beat_115fu_1`,spark:`_spark_115fu_289`,spark__big:`_spark__big_115fu_291`,"chain-of-thought-spark-turn":`_chain-of-thought-spark-turn_115fu_1`,spark__top:`_spark__top_115fu_292`,"chain-of-thought-spark-twinkle":`_chain-of-thought-spark-twinkle_115fu_1`,spark__bottom:`_spark__bottom_115fu_293`,"chain-of-thought-sweep":`_chain-of-thought-sweep_115fu_1`,"chain-of-thought-glint":`_chain-of-thought-glint_115fu_1`,"indicator--done":`_indicator--done_115fu_307`,"chain-of-thought-pop":`_chain-of-thought-pop_115fu_1`,"chain-of-thought-check":`_chain-of-thought-check_115fu_1`,"chain-of-thought-rise":`_chain-of-thought-rise_115fu_1`,"chain-of-thought-title":`_chain-of-thought-title_115fu_1`},Be=(...e)=>e.filter(Boolean).join(` `),Ve=i.default.createContext(!1);function He(){let e=i.default.useContext(Ve),[t]=i.default.useState(e);return t}function Ue(e,t=700,n=()=>!0){let[r,a]=i.default.useState(!1),o=i.default.useRef(!0);return i.default.useEffect(()=>{if(o.current){o.current=!1;return}if(!n(e)){a(!1);return}a(!0);let r=setTimeout(()=>a(!1),t);return()=>clearTimeout(r)},[e]),r}var We=()=>typeof window<`u`&&!!window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches;function Ge(e){return e<60?`${e.toFixed(1)}s`:`${Math.floor(e/60)}m ${Math.floor(e%60)}s`}var Ke=({className:e})=>(0,a.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(16,1),strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,focusable:`false`,className:Be(U.spark,e),children:[(0,a.jsx)(`path`,{className:U.spark__big,d:`M9 18a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6`}),(0,a.jsx)(`path`,{className:U.spark__top,d:`M16 6a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2`}),(0,a.jsx)(`path`,{className:U.spark__bottom,d:`M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2`})]}),qe=({status:e=`working`,label:r,elapsed:o,startedAt:s,className:c})=>{let l=e===`working`,[u,d]=i.default.useState(()=>Date.now());i.default.useEffect(()=>{if(!l||s==null||o!=null)return;d(Date.now());let e=setInterval(()=>d(Date.now()),100);return()=>clearInterval(e)},[l,s,o]);let f=o??(s==null?void 0:Math.max(0,(u-s)/1e3)),p=Ue(e,2400);return(0,a.jsxs)(`div`,{className:Be(U.indicator,l?U[`indicator--working`]:U[`indicator--done`],c),"data-changed":p||void 0,role:`status`,children:[l?(0,a.jsx)(Ke,{className:U.indicator__icon}):(0,a.jsx)(n.g,{className:U.indicator__icon,size:16,strokeWidth:t.jt(16),"aria-hidden":`true`}),(0,a.jsx)(`span`,{className:U.indicator__label,children:r??(l?`Working`:`Worked for`)}),f!=null&&(0,a.jsx)(`span`,{className:U.indicator__time,"aria-hidden":l||void 0,children:Ge(f)})]})};qe.displayName=`WorkingIndicator`;var Je=({sources:e,className:n})=>{let i=He();return(0,a.jsx)(`ul`,{className:Be(U.stack,n),"aria-label":`${e.length} source${e.length===1?``:`s`}`,children:e.map((e,n)=>{let o=e.icon??r.r;return(0,a.jsxs)(`li`,{className:U.chip,title:e.label,"data-fresh":i||void 0,style:{"--i":n},children:[(0,a.jsx)(o,{size:10,strokeWidth:t.jt(10,1),"aria-hidden":`true`}),(0,a.jsx)(`span`,{className:U.sr,children:e.label})]},`${e.label}-${n}`)})})};Je.displayName=`SourceStack`;var Ye=({children:e,delay:t})=>{let n=He(),[r,o]=i.default.useState(null);return i.default.useEffect(()=>{let r=n&&(typeof e==`string`||typeof e==`number`)?/^(\d+)(.*)$/s.exec(String(e)):null,i=r?Number(r[1]):0;if(!r||i<2||We())return;let a=r[2],s=Math.max(2,Math.round(i*.25)),c=performance.now()+t,l=Math.min(900,380+i*30),u=0,d=e=>{let t=Math.min(1,Math.max(0,(e-c)/l)),n=1-(1-t)**3;o(t<1?`${Math.round(s+n*(i-s))}${a}`:null),t<1&&(u=requestAnimationFrame(d))};return o(`${s}${a}`),u=requestAnimationFrame(d),()=>cancelAnimationFrame(u)},[]),(0,a.jsx)(`span`,{className:U.step__count,"data-fresh":n||void 0,children:r??e})},Xe=({onClick:e,children:t})=>{let n=He();return e?(0,a.jsx)(`button`,{type:`button`,className:Be(U.step__sources,U[`step__sources--button`]),"data-fresh":n||void 0,onClick:e,children:t}):(0,a.jsx)(`div`,{className:U.step__sources,"data-fresh":n||void 0,children:t})},Ze={pending:`Pending: `,active:`In progress: `,done:`Done: `},Qe=({status:e=`done`,icon:r,label:o,query:s,count:c,accent:l,sources:u,sourcesLabel:d=`Sources`,onSourcesClick:f,className:p})=>{let m=r??n._,h=l??m.brandColor??void 0,g=He(),[_,v]=i.default.useState(g),[y]=i.default.useState(g&&(c!=null||u!=null));i.default.useEffect(()=>{if(!_)return;let e=setTimeout(()=>v(!1),2e3);return()=>clearTimeout(e)},[_]);let b=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`span`,{className:U.step__sourcesLabel,children:d}),u,f&&(0,a.jsx)(n.O,{className:U.step__sourcesChevron,size:12,strokeWidth:t.jt(12),"aria-hidden":`true`})]});return(0,a.jsx)(`li`,{className:Be(U.step,U[`step--${e}`],p),style:h?{"--cot-spark":h}:void 0,"data-entering":_||void 0,"data-with-results":_&&y||void 0,"aria-current":e===`active`?`step`:void 0,children:(0,a.jsxs)(`div`,{className:U.step__body,children:[(0,a.jsxs)(`div`,{className:U.step__row,children:[(0,a.jsx)(m,{className:U.step__icon,size:16,strokeWidth:t.jt(16),"aria-hidden":`true`}),(0,a.jsxs)(`span`,{className:U.step__content,children:[(0,a.jsx)(`span`,{className:U.sr,children:Ze[e]}),(0,a.jsx)(`span`,{className:U.step__label,children:o}),s&&(0,a.jsx)(`code`,{className:U.step__query,style:{"--chars":Math.max(1,s.length)},children:s})]}),c!=null&&(0,a.jsx)(Ye,{delay:_&&y?760:0,children:c})]}),u&&(0,a.jsx)(Xe,{onClick:f,children:b})]})})};Qe.displayName=`ChainOfThoughtStep`;var $e=({title:e,icon:r,open:o,defaultOpen:s=!0,onOpenChange:c,status:l,elapsed:u,startedAt:d,children:f,className:p})=>{let m=r??n._,h=i.default.useId(),[g,_]=i.default.useState(!1);i.default.useEffect(()=>{let e=requestAnimationFrame(()=>_(!0));return()=>cancelAnimationFrame(e)},[]);let v=Ue(typeof e==`string`?e:void 0,600),[y,b]=i.default.useState(s),x=o??y,S=i.default.useRef(null),[C,w]=i.default.useState(0);i.default.useLayoutEffect(()=>{let e=S.current?Array.from(S.current.children):[];e.forEach((e,t)=>e.style.setProperty(`--step`,String(t))),e.length!==C&&w(e.length)});let T=Ue(l,900+C*110,e=>e===`done`),E=Ue(x,700+C*45,e=>e===!0);return(0,a.jsxs)(`div`,{className:Be(U.root,p),"data-open":x||void 0,"data-finishing":T||void 0,"data-opening":E||void 0,style:{"--steps":C},children:[(0,a.jsxs)(`button`,{type:`button`,className:U.header,"aria-expanded":x,"aria-controls":h,onClick:()=>{let e=!x;o===void 0&&b(e),c?.(e)},children:[(0,a.jsx)(m,{className:U.header__icon,size:16,strokeWidth:t.jt(16),"aria-hidden":`true`}),(0,a.jsx)(`span`,{className:U.header__title,"data-changed":v||void 0,children:e}),(0,a.jsx)(n.O,{className:U.header__chevron,size:14,strokeWidth:t.jt(14),"aria-hidden":`true`})]}),(0,a.jsx)(`div`,{id:h,className:U.panel,"aria-hidden":!x||void 0,children:(0,a.jsxs)(`div`,{className:U.panel__inner,children:[(0,a.jsx)(Ve.Provider,{value:g,children:f!=null&&(0,a.jsx)(`ol`,{ref:S,className:U.steps,children:f})}),l&&(0,a.jsx)(`div`,{className:U.working,children:(0,a.jsx)(qe,{status:l,elapsed:u,startedAt:d})})]})})]})};$e.displayName=`ChainOfThought`;var et={google:{label:`Google`,color:`#4285F4`,path:`M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z`},x:{label:`X`,color:null,path:`M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z`},reddit:{label:`Reddit`,color:`#FF4500`,path:`M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z`},github:{label:`GitHub`,color:null,path:`M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12`},linkedin:{label:`LinkedIn`,color:`#0A66C2`,path:`M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1 -5 5h-10a5 5 0 0 1 -5 -5v-10a5 5 0 0 1 5 -5zm-9 8a1 1 0 0 0 -1 1v5a1 1 0 0 0 2 0v-5a1 1 0 0 0 -1 -1m6 0a3 3 0 0 0 -1.168 .236l-.125 .057a1 1 0 0 0 -1.707 .707v5a1 1 0 0 0 2 0v-3a1 1 0 0 1 2 0v3a1 1 0 0 0 2 0v-3a3 3 0 0 0 -3 -3m-6 -3a1 1 0 0 0 -.993 .883l-.007 .127a1 1 0 0 0 1.993 .117l.007 -.127a1 1 0 0 0 -1 -1`},youtube:{label:`YouTube`,color:`#FF0000`,path:`M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z`},hackernews:{label:`Hacker News`,color:`#FF6600`,path:`M0 24V0h24v24H0zM6.951 5.896l4.112 7.708v5.064h1.583v-4.972l4.148-7.799h-1.749l-2.457 4.875c-.372.745-.688 1.434-.688 1.434s-.297-.708-.651-1.434L8.831 5.896h-1.88z`},wikipedia:{label:`Wikipedia`,color:null,path:`M12.09 13.119c-.936 1.932-2.217 4.548-2.853 5.728-.616 1.074-1.127.931-1.532.029-1.406-3.321-4.293-9.144-5.651-12.409-.251-.601-.441-.987-.619-1.139-.181-.15-.554-.24-1.122-.271C.103 5.033 0 4.982 0 4.898v-.455l.052-.045c.924-.005 5.401 0 5.401 0l.051.045v.434c0 .119-.075.176-.225.176l-.564.031c-.485.029-.727.164-.727.436 0 .135.053.33.166.601 1.082 2.646 4.818 10.521 4.818 10.521l.136.046 2.411-4.81-.482-1.067-1.658-3.264s-.318-.654-.428-.872c-.728-1.443-.712-1.518-1.447-1.617-.207-.023-.313-.05-.313-.149v-.468l.06-.045h4.292l.113.037v.451c0 .105-.076.15-.227.15l-.308.047c-.792.061-.661.381-.136 1.422l1.582 3.252 1.758-3.504c.293-.64.233-.801.111-.947-.07-.084-.305-.22-.812-.24l-.201-.021c-.052 0-.098-.015-.145-.051-.045-.031-.067-.076-.067-.129v-.427l.061-.045c1.247-.008 4.043 0 4.043 0l.059.045v.436c0 .121-.059.178-.193.178-.646.03-.782.095-1.023.439-.12.186-.375.589-.646 1.039l-2.301 4.273-.065.135 2.792 5.712.17.048 4.396-10.438c.154-.422.129-.722-.064-.895-.197-.172-.346-.273-.857-.295l-.42-.016c-.061 0-.105-.014-.152-.045-.043-.029-.072-.075-.072-.119v-.436l.059-.045h4.961l.041.045v.437c0 .119-.074.18-.209.18-.648.03-1.127.18-1.443.421-.314.255-.557.616-.736 1.067 0 0-4.043 9.258-5.426 12.339-.525 1.007-1.053.917-1.503-.031-.571-1.171-1.773-3.786-2.646-5.71l.053-.036z`},stackoverflow:{label:`Stack Overflow`,color:`#F58025`,path:`M15.725 0l-1.72 1.277 6.39 8.588 1.716-1.277L15.725 0zm-3.94 3.418l-1.369 1.644 8.225 6.85 1.369-1.644-8.225-6.85zm-3.15 4.465l-.905 1.94 9.702 4.517.904-1.94-9.701-4.517zm-1.85 4.86l-.44 2.093 10.473 2.201.44-2.092-10.473-2.203zM1.89 15.47V24h19.19v-8.53h-2.133v6.397H4.021v-6.396H1.89zm4.265 2.133v2.13h10.66v-2.13H6.154Z`},producthunt:{label:`Product Hunt`,color:`#DA552F`,path:`M13.604 8.4h-3.405V12h3.405c.995 0 1.801-.806 1.801-1.801 0-.993-.805-1.799-1.801-1.799zM12 0C5.372 0 0 5.372 0 12s5.372 12 12 12 12-5.372 12-12S18.628 0 12 0zm1.604 14.4h-3.405V18H7.801V6h5.804c2.319 0 4.2 1.88 4.2 4.199 0 2.321-1.881 4.201-4.201 4.201z`},medium:{label:`Medium`,color:null,path:`M4.21 0A4.201 4.201 0 0 0 0 4.21v15.58A4.201 4.201 0 0 0 4.21 24h15.58A4.201 4.201 0 0 0 24 19.79v-1.093c-.137.013-.278.02-.422.02-2.577 0-4.027-2.146-4.09-4.832a7.592 7.592 0 0 1 .022-.708c.093-1.186.475-2.241 1.105-3.022a3.885 3.885 0 0 1 1.395-1.1c.468-.237 1.127-.367 1.664-.367h.023c.101 0 .202.004.303.01V4.211A4.201 4.201 0 0 0 19.79 0Zm.198 5.583h4.165l3.588 8.435 3.59-8.435h3.864v.146l-.019.004c-.705.16-1.063.397-1.063 1.254h-.003l.003 10.274c.06.676.424.885 1.063 1.03l.02.004v.145h-4.923v-.145l.019-.005c.639-.144.994-.353 1.054-1.03V7.267l-4.745 11.15h-.261L6.15 7.569v9.445c0 .857.358 1.094 1.063 1.253l.02.004v.147H4.405v-.147l.019-.004c.705-.16 1.065-.397 1.065-1.253V6.987c0-.857-.358-1.094-1.064-1.254l-.018-.004zm19.25 3.668c-1.086.023-1.733 1.323-1.813 3.124H24V9.298a1.378 1.378 0 0 0-.342-.047Zm-1.862 3.632c-.1 1.756.86 3.239 2.204 3.634v-3.634z`},notion:{label:`Notion`,color:null,path:`M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z`},substack:{label:`Substack`,color:`#FF6719`,path:`M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z`},arxiv:{label:`arXiv`,color:`#B31B1B`,path:`M3.8423 0a1.0037 1.0037 0 0 0-.922.6078c-.1536.3687-.0438.6275.2938 1.1113l6.9185 8.3597-1.0223 1.1058a1.0393 1.0393 0 0 0 .003 1.4229l1.2292 1.3135-5.4391 6.4444c-.2803.299-.4538.823-.2971 1.1986a1.0253 1.0253 0 0 0 .9585.635.9133.9133 0 0 0 .6891-.3405l5.783-6.126 7.4902 8.0051a.8527.8527 0 0 0 .6835.2597.9575.9575 0 0 0 .8777-.6138c.1577-.377-.017-.7502-.306-1.1407l-7.0518-8.3418 1.0632-1.13a.9626.9626 0 0 0 .0089-1.3165L4.6336.4639s-.3733-.4535-.768-.463zm0 .272h.0166c.2179.0052.4874.2715.5644.3639l.005.006.0052.0055 10.169 10.9905a.6915.6915 0 0 1-.0072.945l-1.0666 1.133-1.4982-1.7724-8.5994-10.39c-.3286-.472-.352-.6183-.2592-.841a.7307.7307 0 0 1 .6704-.4401Zm14.341 1.5701a.877.877 0 0 0-.6554.2418l-5.6962 6.1584 1.6944 1.8319 5.3089-6.5138c.3251-.4335.479-.6603.3247-1.0292a1.1205 1.1205 0 0 0-.9763-.689zm-7.6557 12.2823 1.3186 1.4135-5.7864 6.1295a.6494.6494 0 0 1-.4959.26.7516.7516 0 0 1-.706-.4669c-.1119-.2682.0359-.6864.2442-.9083l.0051-.0055.0047-.0055z`},bluesky:{label:`Bluesky`,color:`#1185FE`,path:`M5.202 2.857C7.954 4.922 10.913 9.11 12 11.358c1.087-2.247 4.046-6.436 6.798-8.501C20.783 1.366 24 .213 24 3.883c0 .732-.42 6.156-.667 7.037-.856 3.061-3.978 3.842-6.755 3.37 4.854.826 6.089 3.562 3.422 6.299-5.065 5.196-7.28-1.304-7.847-2.97-.104-.305-.152-.448-.153-.327 0-.121-.05.022-.153.327-.568 1.666-2.782 8.166-7.847 2.97-2.667-2.737-1.432-5.473 3.422-6.3-2.777.473-5.899-.308-6.755-3.369C.42 10.04 0 4.615 0 3.883c0-3.67 3.217-2.517 5.202-1.026`},perplexity:{label:`Perplexity`,color:`#1FB8CD`,path:`M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z`},duckduckgo:{label:`DuckDuckGo`,color:`#DE5833`,path:`M12 0C5.37 0 0 5.37 0 12s5.37 12 12 12 12-5.37 12-12S18.63 0 12 0zm0 .984C18.083.984 23.016 5.916 23.016 12S18.084 23.016 12 23.016.984 18.084.984 12C.984 5.917 5.916.984 12 .984zm0 .938C6.434 1.922 1.922 6.434 1.922 12c0 4.437 2.867 8.205 6.85 9.55-.237-.82-.776-2.753-1.6-6.052-1.184-4.741-2.064-8.606 2.379-9.813.047-.011.064-.064.03-.093-.514-.467-1.382-.548-2.233-.38a.06.06 0 0 1-.07-.058c0-.011 0-.023.011-.035.205-.286.572-.507.822-.64a1.843 1.843 0 0 0-.607-.335c-.059-.022-.059-.12-.006-.144.006-.006.012-.012.024-.012 1.749-.233 3.586.292 4.49 1.448.011.011.023.017.035.023 2.968.635 3.509 4.837 3.328 5.998a9.607 9.607 0 0 0 2.346-.576c.746-.286 1.008-.222 1.101-.053.1.193-.018.513-.28.81-.496.567-1.393 1.01-2.974 1.137-.546.044-1.029.024-1.445.006-.789-.035-1.339-.059-1.633.39-.192.298-.041.998 1.487 1.22 1.09.157 2.078.047 2.798-.034.643-.07 1.073-.118 1.172.069.21.402-.996 1.207-3.066 1.224-.158 0-.315-.006-.467-.011-1.283-.065-2.227-.414-2.816-.735a.094.094 0 0 1-.035-.017c-.105-.059-.31.045-.188.267.07.134.444.478 1.004.776-.058.466.087 1.184.338 2l.088-.016c.041-.009.087-.019.134-.025.507-.082.775.012.926.175.717-.536 1.913-1.294 2.03-1.154.583.694.66 2.332.53 2.99-.004.012-.017.024-.04.035-.274.117-1.783-.296-1.783-.511-.059-1.075-.26-1.173-.493-1.225h-.156c.006.006.012.018.018.03l.052.12c.093.257.24 1.063.13 1.26-.112.199-.835.297-1.284.303-.443.006-.543-.158-.637-.408-.07-.204-.103-.675-.103-.95a.857.857 0 0 1 .012-.216c-.134.058-.333.193-.397.281-.017.262-.017.682.123 1.149.07.221-1.518 1.164-1.74.99-.227-.181-.634-1.952-.459-2.67-.187.017-.338.075-.42.191-.367.508.093 2.933.582 3.248.257.169 1.54-.553 2.176-1.095.105.145.305.158.553.158.326-.012.782-.06 1.103-.158.192.45.423.972.613 1.388 4.47-1.032 7.803-5.037 7.803-9.82 0-5.566-4.512-10.078-10.078-10.078zm1.791 5.646c-.42 0-.678.146-.795.332-.023.047.047.094.094.07.14-.075.357-.161.701-.156.328.006.516.09.67.159l.023.01c.041.017.088-.03.059-.065-.134-.18-.332-.35-.752-.35zm-5.078.198a1.24 1.24 0 0 0-.522.082c-.454.169-.67.526-.67.76 0 .051.112.057.141.011.081-.123.21-.31.617-.478.408-.17.73-.146.951-.094.047.012.083-.041.041-.07a.989.989 0 0 0-.558-.211zm5.434 1.423a.651.651 0 0 0-.655.647.652.652 0 0 0 1.307 0 .646.646 0 0 0-.652-.647zm.283.262h.008a.17.17 0 0 1 .17.17c0 .093-.077.17-.17.17a.17.17 0 0 1-.17-.17c0-.09.072-.165.162-.17zm-5.358.076a.752.752 0 0 0-.758.758c0 .42.338.758.758.758s.758-.337.758-.758a.756.756 0 0 0-.758-.758zm.328.303h.01c.112 0 .2.089.2.2 0 .11-.088.197-.2.197a.195.195 0 0 1-.197-.198c0-.107.082-.194.187-.199z`}},tt=i.default.forwardRef(function({name:e,size:t=16,title:n,className:r,...i},o){let s=et[e],c=n?{role:`img`,"aria-label":n}:{"aria-hidden":!0,focusable:`false`};return s?(0,a.jsxs)(`svg`,{ref:o,xmlns:`http://www.w3.org/2000/svg`,width:t,height:t,viewBox:`0 0 24 24`,fill:s.color??`currentColor`,className:[`sakani-source-logo`,`sakani-source-logo-${e}`,r].filter(Boolean).join(` `),...c,...i,children:[n?(0,a.jsx)(`title`,{children:n}):null,(0,a.jsx)(`path`,{d:s.path})]}):null});tt.displayName=`SourceLogo`;var nt=Object.keys(et),rt=new Map;function it(e){let t=rt.get(e);if(!t){let n=({size:t,className:n,style:r,"aria-hidden":i})=>(0,a.jsx)(tt,{name:e,size:t,className:n,style:r,"aria-hidden":i});n.displayName=`SourceLogo(${e})`,t=Object.assign(n,{logoName:e,brandColor:et[e].color}),rt.set(e,t)}return t}var W={field:`_field_1oby0_7`,field__label:`_field__label_1oby0_8`,field__description:`_field__description_1oby0_9`,field__error:`_field__error_1oby0_10`,control:`_control_1oby0_13`,"control--sm":`_control--sm_1oby0_25`,"control--md":`_control--md_1oby0_26`,"control--lg":`_control--lg_1oby0_27`,"control--open":`_control--open_1oby0_30`,"control--error":`_control--error_1oby0_41`,"control--disabled":`_control--disabled_1oby0_46`,control__value:`_control__value_1oby0_52`,"control__value--placeholder":`_control__value--placeholder_1oby0_62`,control__input:`_control__input_1oby0_63`,control__chevron:`_control__chevron_1oby0_83`,"control__chevron--open":`_control__chevron--open_1oby0_84`,chips:`_chips_1oby0_90`,chip:`_chip_1oby0_90`,"chip--leaving":`_chip--leaving_1oby0_102`,"sakani-combobox-chip-out":`_sakani-combobox-chip-out_1oby0_1`,chip__remove:`_chip__remove_1oby0_110`,panel:`_panel_1oby0_121`,"panel--entering":`_panel--entering_1oby0_145`,"sakani-combobox-panel-in":`_sakani-combobox-panel-in_1oby0_1`,"panel--exiting":`_panel--exiting_1oby0_146`,"sakani-combobox-panel-out":`_sakani-combobox-panel-out_1oby0_1`,panel__empty:`_panel__empty_1oby0_156`,option:`_option_1oby0_164`,"option--selected":`_option--selected_1oby0_189`,"option--disabled":`_option--disabled_1oby0_190`,optionHighlight:`_optionHighlight_1oby0_165`,"optionHighlight--animated":`_optionHighlight--animated_1oby0_221`,option__box:`_option__box_1oby0_228`,"option__box--checked":`_option__box--checked_1oby0_245`,option__icon:`_option__icon_1oby0_250`,option__label:`_option__label_1oby0_251`,option__check:`_option__check_1oby0_252`,panel__loading:`_panel__loading_1oby0_255`,panel__spinner:`_panel__spinner_1oby0_259`,"sakani-cb-spin":`_sakani-cb-spin_1oby0_1`},at=({options:e,mode:n=`single`,size:r=`md`,label:o,description:s,error:c,placeholder:l=`Select...`,disabled:u,loading:d,value:f,onChange:p,className:m})=>{let h=i.default.useId(),[g,_]=i.default.useState(!1),[v,y]=i.default.useState(!1),[b,x]=i.default.useState(0),S=i.default.useRef(null),C=e;i.default.useEffect(()=>{g&&y(!0)},[g]);let w=i.default.useRef({}),T=i.default.useRef(null),[E,D]=i.default.useState(null),[O,k]=i.default.useState(!1);i.default.useLayoutEffect(()=>{let e=w.current[b];if(!e){D(null);return}D({top:e.offsetTop,height:e.offsetHeight})},[b,C.length]),i.default.useLayoutEffect(()=>{if(!v){k(!1);return}k(!1);let e=window.requestAnimationFrame(()=>k(!0));return()=>window.cancelAnimationFrame(e)},[v]),i.default.useEffect(()=>{if(!T.current)return;let e=new ResizeObserver(()=>{let e=w.current[b];e&&D({top:e.offsetTop,height:e.offsetHeight})});return e.observe(T.current),()=>e.disconnect()},[v]);let[A,ee]=i.default.useState(n===`multi`?[]:``),j=f===void 0?A:f,M=Array.isArray(j)?j:j?[j]:[],[N,te]=i.default.useState(()=>M.map(e=>({value:e,leaving:!1}))),P=M.join(`\0`);i.default.useLayoutEffect(()=>{te(e=>{let t=e.map(e=>({value:e.value,leaving:!M.includes(e.value)}));for(let e of M)t.some(t=>t.value===e)||t.push({value:e,leaving:!1});return t})},[P]);let F=e=>te(t=>t.filter(t=>!(t.value===e&&t.leaving))),I=!!c;i.default.useEffect(()=>{let e=e=>{S.current&&!S.current.contains(e.target)&&_(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let ne=e=>{f===void 0&&ee(e),p?.(e)},re=e=>{if(!e.disabled)if(n===`multi`){let t=new Set(M);t.has(e.value)?t.delete(e.value):t.add(e.value),ne([...t])}else ne(e.value),_(!1)},L=t=>e.find(e=>e.value===t)?.label??t,ie=M.length?L(M[0]):``,R=e=>{u||(e.key===`ArrowDown`?(e.preventDefault(),_(!0),x(e=>Math.min(e+1,C.length-1))):e.key===`ArrowUp`?(e.preventDefault(),x(e=>Math.max(e-1,0))):e.key===`Enter`?(e.preventDefault(),g&&C[b]?re(C[b]):_(!0)):e.key===`Escape`&&_(!1))},ae=u?`disabled`:I?`error`:g?`open`:`default`;return(0,a.jsxs)(`div`,{className:[W.field,m??``].filter(Boolean).join(` `),ref:S,children:[o&&(0,a.jsx)(`label`,{htmlFor:`${h}-trigger`,className:W.field__label,children:o}),(0,a.jsxs)(`div`,{id:`${h}-trigger`,role:`combobox`,tabIndex:u?-1:0,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":`${h}-panel`,"aria-invalid":I||void 0,"aria-disabled":u||void 0,"aria-activedescendant":g&&C[b]?`${h}-opt-${b}`:void 0,className:[W.control,W[`control--${r}`],W[`control--${ae}`]].join(` `),onClick:()=>!u&&_(e=>!e),onKeyDown:R,children:[n===`multi`&&N.length>0&&(0,a.jsx)(`div`,{className:W.chips,children:N.map(({value:t,leaving:n})=>(0,a.jsxs)(`span`,{className:[W.chip,n?W[`chip--leaving`]:``].filter(Boolean).join(` `),"aria-hidden":n||void 0,onAnimationEnd:n?()=>F(t):void 0,children:[L(t),(0,a.jsx)(`button`,{type:`button`,className:W.chip__remove,tabIndex:n?-1:void 0,onClick:n=>{n.stopPropagation(),re(e.find(e=>e.value===t))},"aria-label":`Remove ${L(t)}`,children:`×`})]},t))}),!(n===`multi`&&N.length>0)&&(0,a.jsx)(`span`,{className:[W.control__value,n===`single`&&ie?``:W[`control__value--placeholder`]].filter(Boolean).join(` `),children:n===`single`&&ie?ie:l}),(0,a.jsx)(`span`,{className:[W.control__chevron,g?W[`control__chevron--open`]:``].join(` `),"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(16),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),v&&!u&&(0,a.jsx)(`div`,{ref:T,className:[W.panel,g?W[`panel--entering`]:W[`panel--exiting`]].filter(Boolean).join(` `),id:`${h}-panel`,role:`listbox`,"aria-multiselectable":n===`multi`||void 0,"aria-busy":d||void 0,onAnimationEnd:()=>{g||y(!1)},children:d?(0,a.jsxs)(`div`,{className:W.panel__loading,children:[(0,a.jsx)(`span`,{className:W.panel__spinner,"aria-hidden":`true`}),`Loading…`]}):C.length===0?(0,a.jsx)(`div`,{className:W.panel__empty,children:`No options available`}):(0,a.jsxs)(a.Fragment,{children:[E&&(0,a.jsx)(`span`,{"aria-hidden":`true`,className:[W.optionHighlight,O?W[`optionHighlight--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateY(${E.top}px)`,height:E.height}}),C.map((e,r)=>{let i=M.includes(e.value);return(0,a.jsxs)(`div`,{ref:e=>{w.current[r]=e},id:`${h}-opt-${r}`,role:`option`,"aria-selected":i,className:[W.option,i&&n===`single`?W[`option--selected`]:``,e.disabled?W[`option--disabled`]:``].filter(Boolean).join(` `),onMouseEnter:()=>{e.disabled||x(r)},onClick:()=>re(e),children:[n===`multi`&&(0,a.jsx)(`span`,{className:[W.option__box,i?W[`option__box--checked`]:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(12),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}),e.icon&&(0,a.jsx)(`span`,{className:W.option__icon,"aria-hidden":`true`,children:e.icon}),(0,a.jsx)(`span`,{className:W.option__label,children:e.label}),i&&n===`single`&&(0,a.jsx)(`span`,{className:W.option__check,"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})})]},e.value)})]})}),(s||c)&&(0,a.jsx)(`span`,{className:I?W.field__error:W.field__description,children:c||s})]})},G={wrap:`_wrap_1j16e_2`,dropzone:`_dropzone_1j16e_4`,"dropzone--dragging":`_dropzone--dragging_1j16e_21`,dropzone__icon:`_dropzone__icon_1j16e_23`,dropzone__label:`_dropzone__label_1j16e_28`,dropzone__link:`_dropzone__link_1j16e_29`,dropzone__hint:`_dropzone__hint_1j16e_30`,input:`_input_1j16e_32`,files:`_files_1j16e_35`,file:`_file_1j16e_35`,file__icon:`_file__icon_1j16e_45`,file__name:`_file__name_1j16e_46`,file__remove:`_file__remove_1j16e_47`},ot=({accept:e,multiple:r,hint:o=`SVG, PNG, JPG or PDF (max. 2MB)`,onFilesChange:s,className:c})=>{let l=i.default.useRef(null),[u,d]=i.default.useState(!1),[f,p]=i.default.useState([]),m=e=>{p(e),s?.(e)},h=e=>{if(!e)return;let t=Array.from(e);m(r?[...f,...t]:t.slice(0,1))},g=e=>m(f.filter((t,n)=>n!==e));return(0,a.jsxs)(`div`,{className:[G.wrap,c??``].filter(Boolean).join(` `),children:[(0,a.jsxs)(`div`,{className:[G.dropzone,u?G[`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,a.jsx)(`span`,{className:G.dropzone__icon,"aria-hidden":`true`,children:(0,a.jsx)(n.c,{size:22,strokeWidth:t.jt(22)})}),(0,a.jsxs)(`span`,{className:G.dropzone__label,children:[(0,a.jsx)(`span`,{className:G.dropzone__link,children:`Click to upload`}),` or drag and drop`]}),(0,a.jsx)(`span`,{className:G.dropzone__hint,children:o}),(0,a.jsx)(`input`,{ref:l,type:`file`,accept:e,multiple:r,className:G.input,onChange:e=>h(e.target.files)})]}),f.length>0&&(0,a.jsx)(`ul`,{className:G.files,children:f.map((e,r)=>(0,a.jsxs)(`li`,{className:G.file,children:[(0,a.jsx)(`span`,{className:G.file__icon,"aria-hidden":`true`,children:(0,a.jsx)(n.f,{size:16,strokeWidth:t.jt(16)})}),(0,a.jsx)(`span`,{className:G.file__name,children:e.name}),(0,a.jsx)(`button`,{type:`button`,className:G.file__remove,onClick:()=>g(r),"aria-label":`Remove ${e.name}`,children:(0,a.jsx)(n.I,{size:14,strokeWidth:t.jt(14)})})]},r))})]})},K={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`},st={sm:180,md:240,lg:320,xl:420},ct=560,lt=.3,ut=.55,dt=({data:e,size:n=`md`,className:r})=>{let[o,s]=i.default.useState(null),c=i.default.useRef(null),l=t.ct(c),u=l(`--color-chart-1`)??`#ff4700`,d=l(`--color-bg-canvas`)??`#fafaf9`,f=e[0]?.value||1,p=st[n],m=p*.66,h=m/2+8,g=ct/e.length,_=e[0]?.value||1,v=e=>e/_*m,y=e.map(e=>v(e.value));y.push(v(e[e.length-1]?.value??0)*ut);let b=t=>e.length<=1?1:lt+t/(e.length-1)*(1-lt),x=o===null?null:e[o],S=o===null?0:h-y[o]/2,C=o===null?0:o*g+g/2;return(0,a.jsxs)(`div`,{ref:c,className:[K.chart,r??``].filter(Boolean).join(` `),style:{height:p},children:[(0,a.jsx)(`svg`,{viewBox:`0 0 ${ct} ${p}`,width:`100%`,height:p,className:K.svg,children:e.map((e,t)=>{let n=t*g,r=(t+1)*g,i=(n+r)/2,c=y[t]/2,l=y[t+1]/2,d=h-c,p=h-l,m=h+c,_=h+l,v=[`M ${n} ${d}`,`C ${i} ${d} ${i} ${p} ${r} ${p}`,`L ${r} ${_}`,`C ${i} ${_} ${i} ${m} ${n} ${m}`,`Z`].join(` `),x=o===null?b(t):t===o?1:.45,S=Math.round(e.value/f*100);return(0,a.jsxs)(`g`,{className:K.segment,onMouseEnter:()=>s(t),onMouseLeave:()=>s(null),children:[(0,a.jsx)(`path`,{d:v,fill:u,fillOpacity:x}),(0,a.jsxs)(`text`,{x:i,y:h,textAnchor:`middle`,dominantBaseline:`middle`,className:K.pctLabel,children:[S,`%`]})]},t)})}),(0,a.jsx)(`div`,{className:K.labels,style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((e,t)=>(0,a.jsx)(`span`,{className:K.labelItem,children:e.label},t))}),x&&(0,a.jsxs)(`div`,{className:K.tooltip,style:{left:`${C/ct*100}%`,top:`${S/p*100}%`,background:d},children:[(0,a.jsx)(`span`,{className:K.tooltip__title,children:x.label}),(0,a.jsxs)(`div`,{className:K.tooltip__row,children:[(0,a.jsx)(`span`,{className:K.tooltip__dot,style:{background:u}}),(0,a.jsx)(`span`,{className:K.tooltip__label,children:`Share`}),(0,a.jsxs)(`span`,{className:K.tooltip__value,children:[Math.round(x.value/f*100),`%`]})]})]})]})},q={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`},ft=.12,pt=.45,mt=({data:e,rowLabels:n,colLabels:r,valueLabel:o=`Value`,size:s=`md`,className:c})=>{let l=i.default.useRef(null),u=t.ct(l),d=i.default.useRef(null),[f,p]=i.default.useState(null),m=u(`--color-chart-1`)??`#ff4700`,h=Math.max(1,...e.flat()),g=e[0]?.length??0,_=(e,t,n)=>r=>{let i=r.currentTarget.getBoundingClientRect(),a=d.current?.getBoundingClientRect();a&&p({row:e,col:t,value:n,left:i.left-a.left+i.width/2,top:i.top-a.top})};return(0,a.jsx)(`div`,{ref:l,className:[q.chart,q[`chart--${s}`],c??``].filter(Boolean).join(` `),children:(0,a.jsxs)(`div`,{ref:d,className:q.grid,style:{gridTemplateColumns:`auto repeat(${g}, 1fr)`},children:[e.map((e,t)=>(0,a.jsxs)(i.default.Fragment,{children:[(0,a.jsx)(`span`,{className:q.rowLabel,children:n?.[t]??``}),e.map((e,n)=>{let r=f?.row===t&&f?.col===n,i=f!==null&&!r,o=r?1:ft+e/h*(1-ft);return(0,a.jsx)(`div`,{className:q.cell,style:{background:m,opacity:i?pt:o},onMouseEnter:_(t,n,e),onMouseLeave:()=>p(null)},n)})]},t)),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`span`,{}),r.map((e,t)=>(0,a.jsx)(`span`,{className:q.colLabel,children:e},t))]}),f&&(0,a.jsxs)(`div`,{className:q.tooltip,style:{left:f.left,top:f.top},children:[(0,a.jsx)(`span`,{className:q.tooltip__title,children:[n?.[f.row],r?.[f.col]].filter(Boolean).join(` · `)||`Row ${f.row+1}, Col ${f.col+1}`}),(0,a.jsxs)(`div`,{className:q.tooltip__row,children:[(0,a.jsx)(`span`,{className:q.tooltip__dot}),(0,a.jsx)(`span`,{className:q.tooltip__label,children:o}),(0,a.jsx)(`span`,{className:q.tooltip__value,children:f.value})]})]})]})})},ht={kbd:`_kbd_1cz4m_3`},gt=({children:e,className:t})=>(0,a.jsx)(`kbd`,{className:[ht.kbd,t??``].filter(Boolean).join(` `),children:e}),_t={label:`_label_rcdks_3`,label__required:`_label__required_rcdks_17`},vt=i.default.forwardRef(({required:e,children:t,className:n,...r},i)=>(0,a.jsxs)(`label`,{ref:i,className:[_t.label,n??``].filter(Boolean).join(` `),...r,children:[t,e&&(0,a.jsx)(`span`,{className:_t.label__required,"aria-hidden":`true`,children:` *`})]}));vt.displayName=`Label`;var yt={item:`_item_4gag1_2`,"item--disabled":`_item--disabled_4gag1_22`,"item--selected":`_item--selected_4gag1_26`,item__leading:`_item__leading_4gag1_30`,item__text:`_item__text_4gag1_31`,item__title:`_item__title_4gag1_32`,item__description:`_item__description_4gag1_33`,item__trailing:`_item__trailing_4gag1_34`},bt=({title:e,description:t,leading:n,trailing:r,selected:i,disabled:o,onClick:s,className:c})=>(0,a.jsxs)(`button`,{type:`button`,"data-hover-item":``,disabled:o,onClick:s,"aria-current":i?`true`:void 0,className:[yt.item,i?yt[`item--selected`]:``,o?yt[`item--disabled`]:``,c??``].filter(Boolean).join(` `),children:[n&&(0,a.jsx)(`span`,{className:yt.item__leading,children:n}),(0,a.jsxs)(`span`,{className:yt.item__text,children:[(0,a.jsx)(`span`,{className:yt.item__title,children:e}),t&&(0,a.jsx)(`span`,{className:yt.item__description,children:t})]}),r&&(0,a.jsx)(`span`,{className:yt.item__trailing,children:r})]}),J={map:`_map_1ogus_2`,tiles:`_tiles_1ogus_25`,tile:`_tile_1ogus_25`,overlay:`_overlay_1ogus_37`,controls:`_controls_1ogus_41`,group:`_group_1ogus_50`,button:`_button_1ogus_59`,divider:`_divider_1ogus_75`,attribution:`_attribution_1ogus_78`,marker:`_marker_1ogus_94`,"marker--selected":`_marker--selected_1ogus_106`,"marker--pin":`_marker--pin_1ogus_110`,pin:`_pin_1ogus_111`,pinShadow:`_pinShadow_1ogus_123`,"marker--dot":`_marker--dot_1ogus_141`,"marker--cluster":`_marker--cluster_1ogus_153`,clusterCount:`_clusterCount_1ogus_166`,popup:`_popup_1ogus_169`,"sakani-map-popup-in":`_sakani-map-popup-in_1ogus_1`,popupHeader:`_popupHeader_1ogus_190`,popupTitle:`_popupTitle_1ogus_191`,popupClose:`_popupClose_1ogus_192`,popupDescription:`_popupDescription_1ogus_207`,popupPointer:`_popupPointer_1ogus_209`},xt=({icon:e,hovered:n,className:r,onClick:i,disabled:o,...s})=>(0,a.jsx)(`button`,{type:`button`,className:[J.button,r??``].filter(Boolean).join(` `),"data-hovered":n?``:void 0,disabled:o,onClick:i,...s,children:(0,a.jsx)(e,{size:16,strokeWidth:t.jt(16),"aria-hidden":`true`})});xt.displayName=`MapControlButton`;var St=({onZoomIn:e,onZoomOut:t,zoomInDisabled:i,zoomOutDisabled:o,zoom:s=!0,locate:c=!1,onLocate:l,className:u})=>(0,a.jsxs)(`div`,{className:[J.controls,u??``].filter(Boolean).join(` `),"data-map-ui":``,children:[s&&(0,a.jsxs)(`div`,{className:J.group,children:[(0,a.jsx)(xt,{icon:n.E,"aria-label":`Zoom in`,disabled:i,onClick:e}),(0,a.jsx)(`span`,{className:J.divider}),(0,a.jsx)(xt,{icon:n.D,"aria-label":`Zoom out`,disabled:o,onClick:t})]}),c&&(0,a.jsx)(`div`,{className:J.group,children:(0,a.jsx)(xt,{icon:r.n,"aria-label":`Show my location`,onClick:l})})]});St.displayName=`MapControls`;var Ct=`AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH/4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADf//8AAf///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB////D//////n/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gf/x////////wAAAAAbgAAB4AAAAAAPwAAAAAAAAAAAAAAAAAAAAAAAAAAAf//8A///////+AAAAB/ngAAAAAAAAAAH8AAAAAAAAAAAAAAAAAAAAAAAAcH3Hv/5////////8AAAAA/gAAAAAAAAAAAAD4AAAAAAAAAAAAAAAAAAAAAAcIAAQP/AH///////+AAAAAPCAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAADwDAc+f+AP///////4AAAAAAAAAAAAAB4AAAAB/8AAAAAAAAAAAAAAAAAAAAAH9wc374AAAf/////8AAAAAAAAAAAAH4AAAA////AAAB/gAAAAAAAAAAAAAAAAwAAA/QAAAH/////8AAAAAAAAAAAAOAAAAP///wAAAAAAAAAAAAAAAAAAAAP8AYe+c3AAAD/////4AAAAAAAAAAAA4AAAH////++HgAOAAAAAAAAAAAAAAAfv+4+w/4gAAB/////wAAAAAAAAAAADwAHgH///////4AfgAAAAAgAAAAAAAAPf/4O4//9AAB/////wAAAAAAAAAAADwAPb////////4m//gAAAAAAAf+AAAAAA/+A8f//4AB////8gAAAAAAA/gAAAAAfv/////////////8AAAAAB///+H//H/+PeDwf+AA3////AAAAAAA//4AAAA8fv///////////////P8gAf////////A4CPz4H8AAP///wAAAAAAD///wADH/n3/////////////////8AD////////////34Z/wA///4AAAAAAAP///+M////n/////////////////+4E/////////////gD/8Af//gAAAAAAAf//5+P////f/////////////////fw/////////////6AD8YAf/wAAf8AAAA/8f+D///////////////////////AgEf///////////zw7/AAP/gAAP4AAAB/4/+f//////////////////////8AMAf//////////+DIA/gAH/gAAAAAAAH/z/////////////////////////+AAH///////////8AwgOAAD+AAAAAAAA//H/////////////////////////6AAP///////////wAA/AAAB+AAAAAAAB/+H//////////////////////nP+AAAH//z////////wAA/wAAAOAAAAAAAB//D/////////////////////+A/4AAAA/zAD///////gAA/4wAAAAAAAAAAB//Ab///////////////////+eDgAAAAABwAA///////4AA/94AAAAAAAAAYA5+A///////////////////4AAHAAAAAADcAAD//////4AAf/8AAAAAAAAA8AC+C///////////////////wAAfgAAAAAMAAAA///////wAf/8AAAAAAAAA4AO8H///////////////////AAA/gAAAABgAAAA///////8A///AAAAAAAAA8ANwH//////////////////8AAB/AAAAAEAAAAAf///////z///4AAAAAAAHOAEDv//////////////////+AAA+AAAAAAAAAABH///////x///8AAAAAAAHHAf/////////////////////6AA8AAAAAAAAAAAD///////x///8AAAAAAAGPz//////////////////////6AAwAAAAAAAAAAAD///////9///6AAAAAAAAPj//////////////////////6AAQAAAAAAAAAAAC///////////EAAAAAAAAYf//////////////////////7AAAAAAAAAAAAAABv////////+MNAAAAAAAAD///////////////////////zAAAAAAAAAAAAAAAH////////7gfgAAAAAAAf///////////////////////yAAAAAAAAAAAAAAAL/////////gCgAAAAAAAH///////////////////////iAAAAAAAAAAAAAAAP/////////pAAAAAAAAAD/////uP/x//////////////DAAAAAAAAAAAAAAAP/////////+AAAAAAAAAB//v//Gf/B/////////////+AAAAAAAAAAAAAAAAP////////8wAAAAAAAAAB//H/+AP+P/////////////8CAAAAAAAAAAAAAAAP////////wAAAAAAAAADj/jz/8AD/H/////////////4HgAAAAAAAAAAAAAAP////////gAAAAAAAAAH/4Bw/8AA/B////////////+APAAAAAAAAAAAAAAAP////////gAAAAAAAAAH/wA8f8Ph/g////////////8AAAAAAAAAAAAAAAAAP///////8AAAAAAAAAAH/gMHfJ///x///////////v4AMAAAAAAAAAAAAAAAP///////8AAAAAAAAAAH/AMCOP///h//////////+JwAMAAAAAAAAAAAAAAAH///////4AAAAAAAAAAH/AAAHH///g//////////8BwAIAAAAAAAAAAAAAAAH///////wAAAAAAAAAAH+AAYGH///w//////////+w4A4AAAAAAAAAAAAAAAD///////wAAAAAAAAAAAgf+ACBs//////////////g4D4AAAAAAAAAAAAAAAB///////wAAAAAAAAAAAj/+AAAA//////////////AYf4AAAAAAAAAAAAAAAA///////gAAAAAAAAAAB//8AAAA//////////////Ah2AAAAAAAAAAAAAAAAAP/////+AAAAAAAAAAAD//+AAAB//////////////gDwAAAAAAAAAAAAAAAAAH/////8AAAAAAAAAAAH///4GAB//////////////gDAAAAAAAAAAAAAAAAAAG/////4AAAAAAAAAAAP///8P4h//////////////wCAAAAAAAAAAAAAAAAAACf////4AAAAAAAAAAAP////v////////////////gAAAAAAAAAAAAAAAAAAABP//hgYAAAAAAAAAAAP//////3//P///////////wAAAAAAAAAAAAAAAAAAAAv//AAYAAAAAAAAAAAf//////9//H///////////wAAAAAAAAAAAAAAAAAAAB3/+AAcAAAAAAAAAAB///////4//h///////////gAAAAAAAAAAAAAAAAAAAAR/+AANAAAAAAAAAAD///////8//wH//////////AAAAAAAAAAAAAAAAAAAAAJ/+AAEAAAAAAAAAAH///////+f/0B/////////+AAAAAAAAAAAAAAAAAAAAAI/8AAAAAAAAAAAAAH///////+f/44Af///////+QAAAAAAAAAAAAAAAAAAAAAf8AAAAAAAAAAAAAP////////H//+AP///////4gAAAAAAAAAAAAAAAAAAAAAP8AAuAAAAAAAAAAP////////H///AD///v///ggAAAAAAAAAAAAAAAAAAAAAH+AABgAAAAAAAAAf////////n//+AD//4P//YAAAAAAAAAAAAAAAAAAAAAAAP+A4AYAAAAAAAAAP////////j//+AAf/4H/+AAAAAAAAAAAAAAAAgAAAAAAAH/B4ABwAAAAAAAAP////////h//8AAf/gD/8YAAAAAAAAAAAAAAAAAAAAAAAD/nwAD9AAAAAAAAP////////x//4AAf/AD/8QAAAAAAAAAAAAAAAAAAAAAAAAf/wAAAAAAAAAAAP////////4//gAAf+AD/+AAwAAAAAAAAAAAAAAAAAAAAAAH/wAAAAAAAAAAAf////////4f+AAAf8AD//AAwAAAAAAAAAAAAAAAAAAAAAAAH/AAAAAAAAAAAf////////8f8AAAPwAAP/gAwAAAAAAAAAAAAAAAAAAAAAAAD/gAAAAAAAAAAf////////+fgAAAPwAAP/gAwAAAAAAAAAAAAAAAAAAAAAAAA/AAAAAAAAAAAf/////////eAAAAHwAAP/gAMAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAAf/////////gAAAAHwAAM/gACAAAAAAAAAAAAAAAAAAAAAAAADABAAAAAAAAAP/////////gYAAADwAAEfgAJAAAAAAAAAAAAAAAAAAAAAAAADgPfOAAAAAAAH/////////34AAADwAAIOABAAAAAAAAAAAAAAAAAAAAAAAAAAyPf+AAAAAAAD//////////4AAADoAAIEACBAAAAAAAAAAAAAAAAAAAAAAAAA8///AAAAAAAB//////////wAAABIAAMAAAFAAAAAAAAAAAAAAAAAAAAAAAAAE///gAAAAAAB//////////wAAAAMAAEAAALgAAAAAAAAAAAAAAAAAAAAAAAAAf//wAAAAAAAf/////////gAAAAMAADAAMCAAAAAAAAAAAAAAAAAAAAAAAAAA////gAAAAAAP/B///////gAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAf///wAAAAAACAA///////AAAAAAAAxgA+AAAAAAAAAAAAAAAAAAAAAAAAAAAf///4AAAAAAAAAD/////+AAAAAAAAZgB4AAAAAAAAAAAAAAAAAAAAAAAAAAB////4AAAAAAAAAD/////8AAAAAAAAMwH8AAAAAAAAAAAAAAAAAAAAAAAAAAB////8AAAAAAAAAH/////4AAAAAAAAHQf8AIAAAAAAAAAAAAAAAAAAAAAAAAD////8AAAAAAAAAH/////gAAAAAAAAHgf88IAAAAAAAAAAAAAAAAAAAAAAAAD////+AAAAAAAAAH/////AAAAAAAAADwf8AAgAAAAAAAAAAAAAAAAAAAAAAAH/////4AAAAAAAAH/////AAAAAAAAABwP5wBwAAAAAAAAAAAAAAAAAAAAAAAH/////6AAAAAAAAD////+AAAAAAAAAB8P5wATwAAAAAAAAAAAAAAAAAAAAAAD//////4AAAAAAAB////8AAAAAAAAAA8AxQif+AAAAAAAAAAAAAAAAAAAAAAH//////8AAAAAAAB////4AAAAAAAAAAcAAIAD/gAAAAAAAAAAAAAAAAAAAAAH///////gAAAAAAA////4AAAAAAAAAAMAAIAI/ywAAAAAAAAAAAAAAAAAAAAH///////gAAAAAAA////4AAAAAAAAAADgAAAI/8BAAAAAAAAAAAAAAAAAAAAD///////gAAAAAAAf///4AAAAAAAAAAB+AAAA/4AIAAAAAAAAAAAAAAAAAAAB///////gAAAAAAAf///4AAAAAAAAAAAAmogAOMAAAAAAAAAAAAAAAAAAAAAB///////AAAAAAAAf///8AAAAAAAAAAAABCAAAGADAAAAAAAAAAAAAAAAAAAA///////AAAAAAAAf///8AAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAf/////+AAAAAAAAP///8AAAAAAAAAAAAAAAgCAAAAAAAAAAAAAAAAAAAAAAAf/////8AAAAAAAAf///+AQAAAAAAAAAAAAB+CAAAAAAAAAAAAAAAAAAAAAAAP/////4AAAAAAAAf///+AQAAAAAAAAAAAAD8DAAAAAAAAAAAAAAAAAAAAAAAP/////4AAAAAAAA////+AwAAAAAAAAAAAA38DgAAAAAAAAAAAAAAAAAAAAAAH/////4AAAAAAAA////8BwAAAAAAAAAAAD/8DgAAAAAAAAAAAAAAAAAAAAAAB/////4AAAAAAAA////8PwAAAAAAAAAAAD//HwAABABAAAAAAAAAAAAAAAAAAf////4AAAAAAAA////wPgAAAAAAAAAAAP//3wAAAACAAAAAAAAAAAAAAAAAAP////wAAAAAAAA////APgAAAAAAAAAAAP///wAAAAAAAAAAAAAAAAAAAAAAAP////wAAAAAAAAf//+APgAAAAAAAAAAAf///4AAAAAAAAAAAAAAAAAAAAAAAP////wAAAAAAAAf//+APgAAAAAAAAAAD////+AAIAAAAAAAAAAAAAAAAAAAAP////gAAAAAAAAP//+AfAAAAAAAAAAAf////+AAEAAAAAAAAAAAAAAAAAAAAP////AAAAAAAAAP///AfAAAAAAAAAAA//////AAAAAAAAAAAAAAAAAAAAAAAP///4AAAAAAAAAP//+APAAAAAAAAAAA//////gAAAAAAAAAAAAAAAAAAAAAAf///gAAAAAAAAAH//+AOAAAAAAAAAAB//////wAAAAAAAAAAAAAAAAAAAAAAf///AAAAAAAAAAH//4AEAAAAAAAAAAA//////4AAAAAAAAAAAAAAAAAAAAAAf//+AAAAAAAAAAH//4AAAAAAAAAAAAB//////4AAAAAAAAAAAAAAAAAAAAAAf//+AAAAAAAAAAH//4AAAAAAAAAAAAA//////4AAAAAAAAAAAAAAAAAAAAAAf//+AAAAAAAAAAD//wAAAAAAAAAAAAAf/////8AAAAAAAAAAAAAAAAAAAAAAf//8AAAAAAAAAAB//gAAAAAAAAAAAAAf/////4AAAAAAAAAAAAAAAAAAAAAA///8AAAAAAAAAAB//gAAAAAAAAAAAAAf/////4AAAAAAAAAAAAAAAAAAAAAA///4AAAAAAAAAAA//AAAAAAAAAAAAAAP/////4AAAAAAAAAAAAAAAAAAAAAAf//wAAAAAAAAAAA/+AAAAAAAAAAAAAAP/AP//wAAAAAAAAAAAAAAAAAAAAAA///gAAAAAAAAAAA/4AAAAAAAAAAAAAAf8AG//gAAAAAAAAAAAAAAAAAAAAAA//3AAAAAAAAAAAAYAAAAAAAAAAAAAAAOAAF//gAAAAAAAAAAAAAAAAAAAAAB//4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//AAABAAAAAAAAAAAAAAAAAAB//4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/AAAAgAAAAAAAAAAAAAAAAAD//4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/AAAAQAAAAAAAAAAAAAAAAAB//gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABYAAAAcAAAAAAAAAAAAAAAAAB/8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAD/8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAD/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAADQAAAAAAAAAAAAAAAAAD/4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAHAAAAAAAAAAAAAAAAAAB/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAOAAAAAAAAAAAAAAAAAAD/gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAH+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB4AAAAAAAAAAAAAAAAAAH+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAAAAH/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP8AAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH4BwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAAAAAAAAAAH4AAAAAAB4HgAD8AAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAA//AAAD//////////wAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAf///4Af///////////AAAAAAAAAAAAAAAAAAAAAAAz4AAAAAAAAAAAAAAAPz////8B/////////////wAAAAAAAAAAAAAAAAAAAAA78AAAAAAAAAAA8/8///////wf/////////////+AAAAAAAAAAAAAAAAAAAAH9+AAAAAAAAZ////////////w////////////////4AAAAAAAAAAAAAAAAAAAB+AAAAAAAB//////////////////////////////4AAAAAAAAABmAAB8f+HB/+AAAAAAAP//////////////////////////////gAAAAAAAAP/c/oAf/////4AAAAAAAP/////////////////////////////8AAAAAAAD/////////////gAAAAAAB//////////////////////////////wAAAAAAAD////////////wAAAAAAP///////////////////////////////wAAAAAD/////////////4AAAAAAD////////////////////////////////wAAAADh/////////////AAAAB8A/////////////////////////////////+AAAAA4Af///////////gAAAH+AA///////////////////////////////+AAAAAAAAH///////////+A/A/wAA///////////////////////////////8AAAAAAAf//////////////gAAAf////////////////////////////////+AAAAAAAH///////////////h////////////////////////////////////wAAAAAAP/////////////////////////////////////////////////////gA+/gAAH/////////////////////////////////////////////////////8AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`,wt=85.05112878,Y=Math.PI/180,X=(e,t,n)=>Math.min(n,Math.max(t,e)),Tt=e=>((e+180)%360+360)%360-180;function Z([e,t],n){let r=256*2**n,i=Math.sin(X(e,-85.05112878,wt)*Y);return{x:(t+180)/360*r,y:(.5-Math.log((1+i)/(1-i))/(4*Math.PI))*r}}function Et(e,t,n){let r=256*2**n,i=Math.PI-2*Math.PI*t/r;return[X(Math.atan(Math.sinh(i))/Y,-85.05112878,wt),Tt(e/r*360-180)]}var Dt=null;function Ot(){if(!Dt){let e=atob(Ct);Dt=new Uint8Array(e.length);for(let t=0;t<e.length;t++)Dt[t]=e.charCodeAt(t)}return Dt}function kt(e,t){let n=X(Math.floor(90-e),0,179),r=X(Math.floor(Tt(t)+180),0,359),i=n*360+r;return(Ot()[i>>3]&128>>(i&7))!=0}function At(e){let t=[];for(let n=-90+e/2;n<90;n+=e){let r=Math.max(1,Math.round(360*Math.cos(n*Y)/e));for(let e=0;e<r;e++){let i=-180+(e+.5)*360/r;t.push({cp:Math.cos(n*Y),sp:Math.sin(n*Y),lam:i*Y,land:kt(n,i)})}}return t}function jt(e,t){let n=e*Y,r=Math.cos(t*Y),i=Math.sin(t*Y);return(e,t,a)=>{let o=a-n,s=Math.cos(o);return{x:e*Math.sin(o),y:r*t-i*e*s,z:i*t+r*e*s}}}var Mt=([e,t])=>({cp:Math.cos(e*Y),sp:Math.sin(e*Y),lam:t*Y});function Nt(e,t,n=64,r=.12){let i=e=>{let t=Mt(e);return[t.cp*Math.cos(t.lam),t.cp*Math.sin(t.lam),t.sp]},a=i(e),o=i(t),s=Math.acos(X(a[0]*o[0]+a[1]*o[1]+a[2]*o[2],-1,1)),c=Math.sin(s)||1e-6,l=[];for(let e=0;e<=n;e++){let t=e/n,i=Math.sin((1-t)*s)/c,u=Math.sin(t*s)/c,d=i*a[0]+u*o[0],f=i*a[1]+u*o[1],p=i*a[2]+u*o[2],m=Math.asin(X(p/(Math.hypot(d,f,p)||1),-1,1));l.push({cp:Math.cos(m),sp:Math.sin(m),lam:Math.atan2(f,d),h:1+r*Math.sin(Math.PI*t)*Math.min(1,s/1.2)})}return l}var Pt=i.default.createContext(null);function Ft(){let e=i.default.useContext(Pt);if(!e)throw Error(`MapMarker, MapPopup and MapClusterLayer must be rendered inside <Map>.`);return e}var It=()=>typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches;function Lt(e,t=0){let[n,r]=e,[a,o]=i.default.useState(e),s=i.default.useRef(e);return i.default.useEffect(()=>{if(!t||It()){s.current=[n,r],o([n,r]);return}let e=s.current;if(e[0]===n&&e[1]===r)return;let i=(r-e[1]+540)%360-180,a=performance.now(),c=0,l=u=>{let d=Math.min(1,(u-a)/t),f=1-(1-d)**3,p=d===1?[n,r]:[e[0]+(n-e[0])*f,e[1]+i*f];s.current=p,o(p),d<1&&(c=requestAnimationFrame(l))};return c=requestAnimationFrame(l),()=>cancelAnimationFrame(c)},[n,r,t]),t&&!It()?a:e}var Rt=`M16 0C7.163 0 0 7.163 0 16c0 11 16 24 16 24s16-13 16-24C32 7.163 24.837 0 16 0Z`,zt=({position:e,variant:t=`pin`,count:n,selected:r,hovered:i,glide:o,label:s,onClick:c,className:l})=>{let{project:u}=Ft(),d=u(Lt(e,o));if(!d)return null;let f=[J.marker,J[`marker--${t}`],r?J[`marker--selected`]:``,l??``].filter(Boolean).join(` `),p=t===`pin`?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`span`,{className:J.pinShadow}),(0,a.jsxs)(`svg`,{className:J.pin,viewBox:`-1 -1 34 42`,"aria-hidden":`true`,children:[(0,a.jsx)(`path`,{d:Rt}),(0,a.jsx)(`circle`,{cx:`16`,cy:`16`,r:`6`})]})]}):t===`cluster`?(0,a.jsx)(`span`,{className:J.clusterCount,children:n}):null,m={left:d.x,top:d.y},h=i?``:void 0,g=s??(t===`cluster`&&n!=null?`${n} places`:void 0);return c?(0,a.jsx)(`button`,{type:`button`,className:f,style:m,"aria-label":g,"aria-pressed":r,"data-hovered":h,"data-map-ui":``,onClick:c,children:p}):(0,a.jsx)(`span`,{className:f,style:m,"data-hovered":h,role:g?`img`:void 0,"aria-label":g,"aria-hidden":!g||void 0,children:p})};zt.displayName=`MapMarker`;var Bt=`https://tile.openstreetmap.org/{z}/{x}/{y}.png`,Vt=(0,a.jsxs)(a.Fragment,{children:[`© `,(0,a.jsx)(`a`,{href:`https://www.openstreetmap.org/copyright`,target:`_blank`,rel:`noreferrer`,children:`OpenStreetMap`}),` contributors`]}),Ht=260,Ut=()=>typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches,Wt=({center:e=[51.505,-.09],zoom:t=12,minZoom:n=2,maxZoom:r=18,onViewChange:o,tileUrl:s=Bt,tileUrlDark:c,theme:l=`auto`,attribution:u=Vt,controls:d=!0,locate:f=!1,onLocate:p,onLocateError:m,height:h=400,"aria-label":g=`Map`,className:_,children:v})=>{let y=i.default.useRef(null),[b,x]=i.default.useState({w:0,h:0}),[S,C]=i.default.useState({center:e,zoom:X(t,n,r)}),w=i.default.useRef(S);w.current=S;let T=i.default.useRef(0),[E,D]=i.default.useState(null),[O,k]=i.default.useState(l===`dark`);i.default.useLayoutEffect(()=>{let e=y.current;if(!e)return;let t=()=>k(l===`dark`||!!e.closest(`.dark`));t();let n=new MutationObserver(t);for(let t=e;t;t=t.parentElement)n.observe(t,{attributes:!0,attributeFilter:[`class`]});return()=>n.disconnect()},[l]);let A=O&&!!c,ee=A?c:s;i.default.useLayoutEffect(()=>{let e=y.current;if(!e)return;let t=new ResizeObserver(([e])=>x({w:e.contentRect.width,h:e.contentRect.height}));return t.observe(e),()=>t.disconnect()},[]);let j=i.default.useCallback(e=>{let t={center:e.center,zoom:X(e.zoom,n,r)};w.current=t,C(t),o?.(t)},[n,r,o]),M=i.default.useCallback((e,t)=>{cancelAnimationFrame(T.current);let i=w.current,a={center:e.center,zoom:X(e.zoom,n,r)};if(Ut()){j(a);return}let o=performance.now(),s=e=>{let n=Math.min(1,(e-o)/Ht),r=1-(1-n)**3,c=i.zoom+(a.zoom-i.zoom)*r,l;if(t)l=P(te(t,i),t,c);else{let e=Z(i.center,c),t=Z(a.center,c);l=Et(e.x+(t.x-e.x)*r,e.y+(t.y-e.y)*r,c)}j({center:l,zoom:c}),n<1&&(T.current=requestAnimationFrame(s))};T.current=requestAnimationFrame(s)},[j,n,r,b.w,b.h]),N=i.default.useRef(!0);i.default.useEffect(()=>{if(N.current){N.current=!1;return}M({center:e,zoom:t})},[e[0],e[1],t]),i.default.useEffect(()=>()=>cancelAnimationFrame(T.current),[]);let te=(e,t)=>{let n=Z(t.center,t.zoom);return Et(n.x+e.x-b.w/2,n.y+e.y-b.h/2,t.zoom)},P=(e,t,n)=>{let r=Z(e,n);return Et(r.x-(t.x-b.w/2),r.y-(t.y-b.h/2),n)},F=i.default.useRef(null),I=(e,t)=>{let n=w.current,r=Z(n.center,n.zoom);j({center:Et(r.x-e,r.y-t,n.zoom),zoom:n.zoom})},ne=e=>{e.button!==0||e.target.closest(`[data-map-ui]`)||(cancelAnimationFrame(T.current),F.current={id:e.pointerId,x:e.clientX,y:e.clientY,moved:!1,samples:[{x:e.clientX,y:e.clientY,t:performance.now()}]})},re=e=>{let t=F.current;if(!t||t.id!==e.pointerId)return;let n=e.clientX-t.x,r=e.clientY-t.y;!t.moved&&Math.hypot(n,r)<3||(t.moved||(t.moved=!0,y.current?.setPointerCapture(e.pointerId)),t.x=e.clientX,t.y=e.clientY,t.samples.push({x:e.clientX,y:e.clientY,t:performance.now()}),t.samples.length>5&&t.samples.shift(),I(n,r))},L=()=>{let e=F.current;if(F.current=null,!e||!e.moved||Ut())return;let t=e.samples[0],n=e.samples[e.samples.length-1],r=Math.max(1,n.t-t.t);if(performance.now()-n.t>80)return;let i=(n.x-t.x)/r*16,a=(n.y-t.y)/r*16,o=()=>{i*=.9,a*=.9,!(Math.hypot(i,a)<.3)&&(I(i,a),T.current=requestAnimationFrame(o))};T.current=requestAnimationFrame(o)};i.default.useEffect(()=>{let e=y.current;if(!e)return;let t=t=>{t.preventDefault(),cancelAnimationFrame(T.current);let i=e.getBoundingClientRect(),a={x:t.clientX-i.left,y:t.clientY-i.top},o=w.current,s=X(-t.deltaY*(t.ctrlKey?.01:.002),-.5,.5),c=X(o.zoom+s,n,r),l=Z(o.center,o.zoom),u=Z(Et(l.x+a.x-i.width/2,l.y+a.y-i.height/2,o.zoom),c);j({center:Et(u.x-(a.x-i.width/2),u.y-(a.y-i.height/2),c),zoom:c})};return e.addEventListener(`wheel`,t,{passive:!1}),()=>e.removeEventListener(`wheel`,t)},[j,n,r]);let ie=e=>{if(e.target.closest(`[data-map-ui]`))return;let t=y.current.getBoundingClientRect();M({center:S.center,zoom:Math.round(S.zoom)+1},{x:e.clientX-t.left,y:e.clientY-t.top})},R=e=>{if(e.target!==e.currentTarget)return;let t=e.key;if(t===`ArrowLeft`)I(80,0);else if(t===`ArrowRight`)I(-80,0);else if(t===`ArrowUp`)I(0,80);else if(t===`ArrowDown`)I(0,-80);else if(t===`+`||t===`=`)M({center:S.center,zoom:Math.round(S.zoom)+1});else if(t===`-`||t===`_`)M({center:S.center,zoom:Math.round(S.zoom)-1});else return;e.preventDefault()},ae=()=>{if(!navigator.geolocation){m?.(Error(`Geolocation is not supported in this browser.`));return}navigator.geolocation.getCurrentPosition(e=>{let t=[e.coords.latitude,e.coords.longitude];D(t),M({center:t,zoom:Math.max(S.zoom,14)}),p?.(t)},e=>m?.(e))},oe=i.default.useRef(b);oe.current=b;let se=i.default.useRef(M);se.current=M;let z=i.default.useCallback((e,t)=>{se.current({center:e,zoom:t??w.current.zoom})},[]),ce=i.default.useCallback((e,t=48)=>{if(!e.length)return;let{w:n,h:r}=oe.current,i=e.map(e=>e[0]),a=e.map(t=>e[0][1]+((t[1]-e[0][1]+540)%360-180)),[o,s,c,l]=[Math.min(...i),Math.max(...i),Math.min(...a),Math.max(...a)],u=[(o+s)/2,Tt((c+l)/2)],d=Z([s,c],0),f=Z([o,l],0),p=Math.max(1e-6,Math.abs(f.x-d.x)),m=Math.max(1e-6,Math.abs(f.y-d.y)),h=Math.min(Math.log2(Math.max(1,n-t*2)/p),Math.log2(Math.max(1,r-t*2)/m));se.current({center:u,zoom:e.length===1||!Number.isFinite(h)?Math.max(w.current.zoom,14):Math.floor(h*4)/4})},[]),le=X(Math.round(S.zoom),0,r),B=2**(S.zoom-le),ue=[];if(b.w&&b.h){let e=Z(S.center,le),t={x:b.w/2/B,y:b.h/2/B},n=2**le,r=Math.floor((e.x-t.x)/256),i=Math.floor((e.x+t.x)/256),a=Math.max(0,Math.floor((e.y-t.y)/256)),o=Math.min(n-1,Math.floor((e.y+t.y)/256));for(let t=a;t<=o;t++)for(let a=r;a<=i;a++){let r=(a%n+n)%n;ue.push({key:`${le}/${a}/${t}`,src:ee.replace(`{z}`,String(le)).replace(`{x}`,String(r)).replace(`{y}`,String(t)),left:(a*256-e.x)*B+b.w/2,top:(t*256-e.y)*B+b.h/2})}}let V=256*B,de=i.default.useMemo(()=>{let e=Z(S.center,S.zoom),t=256*2**S.zoom;return{zoom:S.zoom,flyTo:z,fitBounds:ce,maxZoom:r,project:n=>{if(!b.w||!b.h)return null;let r=Z(n,S.zoom),i=r.x-e.x;i-=Math.round(i/t)*t;let a=i+b.w/2,o=r.y-e.y+b.h/2;return a<-200||o<-200||a>b.w+200||o>b.h+200?null:{x:a,y:o}}}},[S,b.w,b.h,z,ce,r]);return(0,a.jsxs)(`div`,{ref:y,className:[J.map,l===`dark`?`dark`:``,_??``].filter(Boolean).join(` `),"data-own-dark-tiles":A?``:void 0,style:{height:h},role:`region`,"aria-roledescription":`map`,"aria-label":g,tabIndex:0,onPointerDown:ne,onPointerMove:re,onPointerUp:L,onPointerCancel:L,onDoubleClick:ie,onKeyDown:R,children:[(0,a.jsx)(`div`,{className:J.tiles,"aria-hidden":`true`,children:ue.map(e=>(0,a.jsx)(`img`,{src:e.src,alt:``,draggable:!1,className:J.tile,style:{left:e.left,top:e.top,width:V+.5,height:V+.5},onLoad:e=>e.currentTarget.setAttribute(`data-loaded`,``)},e.key))}),(0,a.jsx)(Pt.Provider,{value:de,children:(0,a.jsxs)(`div`,{className:J.overlay,children:[v,E&&(0,a.jsx)(zt,{position:E,variant:`dot`,label:`Your location`})]})}),(d||f)&&(0,a.jsx)(St,{zoom:d,locate:f,onLocate:ae,zoomInDisabled:S.zoom>=r,zoomOutDisabled:S.zoom<=n,onZoomIn:()=>M({center:S.center,zoom:Math.round(S.zoom)+1}),onZoomOut:()=>M({center:S.center,zoom:Math.round(S.zoom)-1})}),u!=null&&(0,a.jsx)(`div`,{className:J.attribution,"data-map-ui":``,children:u})]})};Wt.displayName=`Map`;var Gt=({position:e,title:r,description:i,onClose:o,offset:s=48,pointer:c=!0,glide:l,children:u,className:d})=>{let{project:f}=Ft(),p=f(Lt(e,l));return p?(0,a.jsxs)(`div`,{className:[J.popup,d??``].filter(Boolean).join(` `),style:{left:p.x,top:p.y-s},role:`dialog`,"aria-label":typeof r==`string`?r:void 0,"data-map-ui":``,onKeyDown:e=>{e.key===`Escape`&&o&&(e.stopPropagation(),o())},children:[(r||o)&&(0,a.jsxs)(`div`,{className:J.popupHeader,children:[r&&(0,a.jsx)(`div`,{className:J.popupTitle,children:r}),o&&(0,a.jsx)(`button`,{type:`button`,className:J.popupClose,"aria-label":`Close`,onClick:o,children:(0,a.jsx)(n.I,{size:14,strokeWidth:t.jt(14),"aria-hidden":`true`})})]}),i&&(0,a.jsx)(`div`,{className:J.popupDescription,children:i}),u,c&&(0,a.jsx)(`span`,{className:J.popupPointer,"aria-hidden":`true`})]}):null};Gt.displayName=`MapPopup`;var Kt={globe:`_globe_w22uh_2`,"globe--draggable":`_globe--draggable_w22uh_10`,canvas:`_canvas_w22uh_12`,srOnly:`_srOnly_w22uh_15`},qt=8,Jt=()=>typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches;function Yt(e,t){t.fillStyle=`#000`,t.fillStyle=e;let n=String(t.fillStyle);if(n.startsWith(`#`))return[1,3,5].map(e=>parseInt(n.slice(e,e+2),16)).join(`,`);let r=n.match(/[\d.]+/g);return r?r.slice(0,3).join(`,`):`20,20,20`}var Xt=({variant:e=`land`,center:n=[15,90],markers:r=[],arcs:o=[],autoRotate:s=!0,rotationSpeed:c=6,draggable:l=!0,atmosphere:u=!0,dotSpacing:d=1.3,theme:f=`auto`,onMarkerClick:p,onMarkerHover:m,"aria-label":h=`Globe`,className:g})=>{let _=i.default.useRef(null),v=i.default.useRef(null),y=t.xt(),b=i.default.useMemo(()=>At(d),[d]),x=i.default.useMemo(()=>o.map(e=>Nt(e.from,e.to)),[o]),S=i.default.useRef({rot:n[1],tilt:X(n[0],-60,60),vr:0,vt:0,dragging:!1,idleUntil:0}),C=i.default.useRef({rgb:`20,20,20`,surface:`255,255,255`,border:`230,230,230`,font:`sans-serif`,visible:!0,size:0,hits:[]}),w=i.default.useRef({markers:r,arcPts:x,variant:e,atmosphere:u,autoRotate:s,rotationSpeed:c});w.current={markers:r,arcPts:x,variant:e,atmosphere:u,autoRotate:s,rotationSpeed:c};let T=i.default.useRef({onMarkerClick:p,onMarkerHover:m});T.current={onMarkerClick:p,onMarkerHover:m};let E=i.default.useRef(null),D=e=>{E.current!==e&&(E.current=e,_.current&&(_.current.style.cursor=e==null?``:`pointer`),T.current.onMarkerHover?.(e))};i.default.useEffect(()=>{let e=v.current;if(!e)return;let t=document.createElement(`canvas`).getContext(`2d`);if(!t)return;let n=getComputedStyle(e),r=(e,r)=>Yt(n.getPropertyValue(e).trim()||r,t);C.current.rgb=Yt(n.getPropertyValue(`--color-fg-default`).trim()||n.color,t),C.current.surface=r(`--color-bg-surface`,`#ffffff`),C.current.border=r(`--color-border-subtle`,`#e5e5e5`),C.current.font=n.fontFamily||`sans-serif`},[y,f]),i.default.useEffect(()=>{let e=v.current,t=_.current;if(!e||!t)return;let n=e.getContext(`2d`);if(!n)return;let r=0,i=performance.now(),a=i,o=()=>{let r=t.clientWidth,i=Math.min(2,window.devicePixelRatio||1);C.current.size=r,e.width=Math.round(r*i),e.height=Math.round(r*i),e.style.width=`${r}px`,e.style.height=`${r}px`,n.setTransform(i,0,0,i,0,0)},s=new ResizeObserver(o);s.observe(t),o();let c=new IntersectionObserver(([e])=>{C.current.visible=e.isIntersecting});c.observe(t);let l=e=>{let t=C.current.size;if(!t)return;let r=w.current,i=S.current,o=C.current.rgb,s=t*.42,c=t/2,l=t/2,u=t/480,d=jt(i.rot,i.tilt);if(n.clearRect(0,0,t,t),r.atmosphere){let e=n.createRadialGradient(c,l,s*.9,c,l,s*1.16);e.addColorStop(0,`rgba(${o},0.11)`),e.addColorStop(1,`rgba(${o},0)`),n.fillStyle=e,n.beginPath(),n.arc(c,l,s*1.16,0,Math.PI*2),n.fill()}let f=n.createRadialGradient(c-s*.35,l-s*.4,s*.1,c,l,s);f.addColorStop(0,`rgba(${o},0.07)`),f.addColorStop(1,`rgba(${o},0.02)`),n.fillStyle=f,n.beginPath(),n.arc(c,l,s,0,Math.PI*2),n.fill();let p=Array.from({length:qt},()=>new Path2D),m=new Path2D,h=r.variant===`ocean`;for(let e of b){let t=d(e.cp,e.sp,e.lam);if(t.z<=0)continue;let n=t.z**.55,r=c+s*t.x,i=l-s*t.y;if(h?!e.land:e.land){let e=1.15*u*(.6+.4*n),t=p[Math.min(qt-1,Math.floor(n*qt))];t.moveTo(r+e,i),t.arc(r,i,e,0,Math.PI*2)}else{let e=.8*u*(.6+.4*n);m.moveTo(r+e,i),m.arc(r,i,e,0,Math.PI*2)}}n.fillStyle=`rgba(${o},0.12)`,n.fill(m),p.forEach((e,t)=>{n.fillStyle=`rgba(${o},${.22+.78*((t+.5)/qt)})`,n.fill(e)}),n.lineCap=`round`;let g=(e-a)/1e3;r.arcPts.forEach((e,t)=>{let r=(g/2.6+t*.37)%1*(e.length-1);for(let t=1;t<e.length;t++){let i=e[t-1],a=e[t],f=d(i.cp,i.sp,i.lam),p=d(a.cp,a.sp,a.lam),m=Math.min(f.z,p.z),h=p.x*a.h,g=p.y*a.h;if(m<.04||Math.hypot(h,g)>.995&&m<.35)continue;let _=Math.min(1,(m-.04)/.25),v=Math.max(0,1-Math.abs(t-r)/6);n.strokeStyle=`rgba(${o},${(.28+.4*Math.sin(Math.PI*t/e.length)+.5*v)*_})`,n.lineWidth=(1.1+1.1*v)*u,n.beginPath(),n.moveTo(c+s*f.x*i.h,l-s*f.y*i.h),n.lineTo(c+s*h,l-s*g),n.stroke()}});let _=[],v=[];r.markers.forEach((e,t)=>{let r=Mt(e.position),i=d(r.cp,r.sp,r.lam);if(i.z<=.06)return;let a=c+s*i.x,f=l-s*i.y,p=Math.min(1,(i.z-.06)/.2);_.push({i:t,x:a,y:f});let m=!!e.selected,h=!!e.hovered||E.current===t;if((m||h)&&(n.fillStyle=`rgba(${o},${(m?.2:.14)*p})`,n.beginPath(),n.arc(a,f,(m?15:11)*u,0,Math.PI*2),n.fill(),e.label&&v.push({x:a,y:f,label:e.label,k:p})),e.active){let e=g%2/2;n.strokeStyle=`rgba(${o},${.5*(1-e)*p})`,n.lineWidth=1.5*u,n.beginPath(),n.arc(a,f,(5+14*e)*u,0,Math.PI*2),n.stroke(),n.fillStyle=`rgba(${o},${.16*p})`,n.beginPath(),n.arc(a,f,9*u,0,Math.PI*2),n.fill()}n.globalCompositeOperation=`destination-out`,n.beginPath(),n.arc(a,f,(m?7:h?6.5:5.5)*u,0,Math.PI*2),n.fill(),n.globalCompositeOperation=`source-over`,n.fillStyle=`rgba(${o},${p})`,n.beginPath(),n.arc(a,f,(m?5:h?4.5:3.5)*u,0,Math.PI*2),n.fill()}),C.current.hits=_;for(let e of v){n.font=`500 ${12*u}px ${C.current.font}`;let r=n.measureText(e.label).width+16*u,i=24*u,a=16*u,s=X(e.x-r/2,4*u,t-r-4*u),c=e.y-a-i<4*u?e.y+a:e.y-a-i;n.save(),n.globalAlpha=e.k,n.shadowColor=`rgba(0,0,0,0.18)`,n.shadowBlur=8*u,n.shadowOffsetY=2*u,n.fillStyle=`rgb(${C.current.surface})`,n.beginPath(),n.roundRect?n.roundRect(s,c,r,i,6*u):n.rect(s,c,r,i),n.fill(),n.shadowColor=`transparent`,n.strokeStyle=`rgb(${C.current.border})`,n.lineWidth=u,n.stroke(),n.fillStyle=`rgb(${o})`,n.textBaseline=`middle`,n.fillText(e.label,s+8*u,c+i/2+u*.5),n.restore()}},u=e=>{let t=Math.min(.05,(e-i)/1e3);i=e;let n=S.current,a=w.current;n.dragging||(n.rot+=n.vr*t,n.tilt=X(n.tilt+n.vt*t,-60,60),n.vr*=.04**t,n.vt*=.04**t,a.autoRotate&&!Jt()&&e>n.idleUntil&&E.current==null&&(n.rot+=a.rotationSpeed*t)),C.current.visible&&l(e),r=requestAnimationFrame(u)};return r=requestAnimationFrame(u),()=>{cancelAnimationFrame(r),s.disconnect(),c.disconnect()}},[b]);let O=(e,t)=>{let n=_.current?.getBoundingClientRect();if(!n)return null;let r=e-n.left,i=t-n.top,a=Math.max(10,C.current.size/480*12),o=null,s=a;for(let e of C.current.hits){let t=Math.hypot(e.x-r,e.y-i);t<=s&&(o=e.i,s=t)}return o},k=i.default.useRef(null),A=i.default.useRef(null),ee=e=>{let t=O(e.clientX,e.clientY);A.current={x:e.clientX,y:e.clientY,hit:t},D(t),l&&(e.currentTarget.setPointerCapture(e.pointerId),k.current={x:e.clientX,y:e.clientY,t:performance.now()},S.current.dragging=!0,S.current.vr=0,S.current.vt=0)},j=e=>{let t=A.current;t&&Math.hypot(e.clientX-t.x,e.clientY-t.y)>4&&(t.hit=null);let n=k.current;if(!n){t||D(O(e.clientX,e.clientY));return}let r=S.current,i=180/Math.max(1,C.current.size*.84*Math.PI)*1.6,a=e.clientX-n.x,o=e.clientY-n.y,s=Math.max(1,performance.now()-n.t)/1e3;r.rot-=a*i,r.tilt=X(r.tilt+o*i,-60,60),r.vr=-a*i/s,r.vt=o*i/s,n.x=e.clientX,n.y=e.clientY,n.t=performance.now()},M=e=>{let t=A.current;if(A.current=null,t&&t.hit!=null&&e.type===`pointerup`&&T.current.onMarkerClick?.(t.hit,w.current.markers[t.hit]),!k.current)return;k.current=null;let n=S.current;n.dragging=!1,n.idleUntil=performance.now()+1500,Jt()&&(n.vr=0,n.vt=0)};return(0,a.jsxs)(`div`,{ref:_,className:[Kt.globe,l?Kt[`globe--draggable`]:``,f===`dark`?`dark`:``,g??``].filter(Boolean).join(` `),role:p?`group`:`img`,"aria-label":h,onPointerDown:ee,onPointerMove:j,onPointerUp:M,onPointerCancel:M,onPointerLeave:()=>{A.current||D(null)},children:[(0,a.jsx)(`canvas`,{ref:v,className:Kt.canvas,"aria-hidden":p?!0:void 0}),p&&r.map((e,t)=>e.label&&(0,a.jsx)(`button`,{type:`button`,className:Kt.srOnly,onFocus:()=>D(t),onBlur:()=>D(null),onClick:()=>p(t,e),children:e.label},t))]})};Xt.displayName=`MapGlobe`;function Zt({points:e,renderPoint:t,radius:n=56,clusterMaxZoom:r=16,onClusterClick:o}){let{zoom:s,project:c,fitBounds:l,flyTo:u,maxZoom:d}=Ft(),f=Math.floor(s),p=f<r,m=i.default.useMemo(()=>{if(!p)return e.map(e=>({key:String(e.id),position:e.position,points:[e]}));let t=new Map;for(let r of e){let e=Z(r.position,f),i=`${Math.floor(e.x/n)}:${Math.floor(e.y/n)}`,a=t.get(i);a?a.push(r):t.set(i,[r])}let r=n*.8,i=Array.from(t,([e,t])=>{let n=t.reduce((e,t)=>e+t.position[0],0)/t.length,r=t.reduce((e,t)=>e+t.position[1],0)/t.length;return{k:e,pts:t,lat:n,lng:r,...Z([n,r],f)}}).sort((e,t)=>t.pts.length-e.pts.length),a=[],o=new Map;for(let e of i){let t=Math.floor(e.x/r),n=Math.floor(e.y/r),i;for(let a=-1;a<=1&&!i;a++)for(let s=-1;s<=1&&!i;s++)i=o.get(`${t+a}:${n+s}`)?.find(t=>Math.hypot(t.x-e.x,t.y-e.y)<r);if(i){let t=i.pts.length+e.pts.length;i.lat=(i.lat*i.pts.length+e.lat*e.pts.length)/t,i.lng=(i.lng*i.pts.length+e.lng*e.pts.length)/t,i.pts=i.pts.concat(e.pts),Object.assign(i,Z([i.lat,i.lng],f))}else{a.push(e);let r=`${t}:${n}`;o.set(r,[...o.get(r)??[],e])}}return a.map(e=>({key:e.pts.length===1?String(e.pts[0].id):`c${f}:${e.k}`,position:e.pts.length===1?e.pts[0].position:[e.lat,e.lng],points:e.pts}))},[e,f,n,p]),h=e=>{let t=e.points.map(e=>e.position);t.every(e=>e[0]===t[0][0]&&e[1]===t[0][1])?u(e.position,Math.min(d,f+3)):l(t),o?.(e.points)};return(0,a.jsx)(a.Fragment,{children:m.map(e=>c(e.position)?e.points.length===1?(0,a.jsx)(i.default.Fragment,{children:t(e.points[0])},e.key):(0,a.jsx)(zt,{variant:`cluster`,position:e.position,count:e.points.length,onClick:()=>h(e)},e.key):null)})}Zt.displayName=`MapClusterLayer`;var Qt={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}},en=new Set([`donut`,`donut-active`,`donut-with-text`,`interactive`]),tn=new Set([`donut-active`]),nn=new Set([`interactive`]),rn=new Set([`donut-with-text`]),an=Math.PI/180,on=({data:e,variant:n=`donut`,size:r=`md`,centerValue:s,centerCaption:c,className:l})=>{let u=i.default.useRef(null),d=t.ct(u),[f,p]=i.default.useState(void 0),m=[1,2,3,4,5].map(e=>d(`--color-chart-${e}`)??t.st[e-1]),h=d(`--color-bg-surface`)??`#ffffff`,g=d(`--color-fg-default`)??`#141414`,_=$t[r],v=en.has(n),y=tn.has(n),b=nn.has(n),x=v?_.outer*.6:0,S=rn.has(n)&&(s||c),C=f??(y||b?0:void 0),w=e=>{let{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:s,endAngle:c,fill:l,index:u}=e,d=u===C,f=d&&(y||b)?16:0;return d&&b?(0,a.jsxs)(`g`,{children:[(0,a.jsx)(o.Sector,{cx:t,cy:n,innerRadius:r,outerRadius:i+f,startAngle:s,endAngle:c,fill:l}),(0,a.jsx)(o.Sector,{cx:t,cy:n,innerRadius:i+f+3,outerRadius:i+f+7,startAngle:s,endAngle:c,fill:l})]}):(0,a.jsx)(o.Sector,{cx:t,cy:n,innerRadius:r,outerRadius:i+f,startAngle:s,endAngle:c,fill:l})},T=e=>{let{cx:t,cy:n,midAngle:r,outerRadius:i}=e,a=r??0,o=Math.cos(-a*an),s=Math.sin(-a*an),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`}},E=e=>{let{value:t,fill:n}=e,{d:r,endX:i,endY:o,textAnchor:s}=T(e),c=i+(s===`start`?4:-4);return(0,a.jsxs)(`g`,{children:[(0,a.jsx)(`path`,{d:r,fill:`none`,stroke:n,strokeWidth:1}),(0,a.jsx)(`text`,{x:c,y:o,textAnchor:s,dominantBaseline:`central`,fill:g,fontSize:12,fontFamily:`var(--font-sans)`,children:t})]})},D=e=>{let{x:t,y:n,textAnchor:r,value:i}=e;return(0,a.jsx)(`text`,{x:t,y:n,textAnchor:r,dominantBaseline:`central`,fill:g,fontSize:20,fontWeight:400,fontFamily:`var(--font-sans)`,children:i})},O=t=>{let{cx:n,cy:r,midAngle:i,innerRadius:o,outerRadius:s,index:c}=t,l=(o+s)/2;return(0,a.jsx)(`text`,{x:n+l*Math.cos(-i*an),y:r+l*Math.sin(-i*an),textAnchor:`middle`,dominantBaseline:`central`,fill:`#fff`,fontSize:11,fontWeight:500,fontFamily:`var(--font-sans)`,children:e[c]?.label})};if(n===`stacked`){let n=e=>f!==void 0&&f!==e?.45:1;return(0,a.jsx)(`div`,{ref:u,className:[Qt.chart,l??``].filter(Boolean).join(` `),style:{height:_.h},children:(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,a.jsxs)(o.PieChart,{children:[(0,a.jsx)(o.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:_.outer*.82,outerRadius:_.outer,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,a.jsx)(o.Cell,{fill:m[t%m.length],fillOpacity:n(t)},t))}),(0,a.jsx)(o.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:0,outerRadius:_.outer*.62,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,a.jsx)(o.Cell,{fill:m[t%m.length],fillOpacity:n(t)},t))}),(0,a.jsx)(o.Tooltip,{content:(0,a.jsx)(t.ot,{}),wrapperStyle:{zIndex:50}})]})})})}return(0,a.jsxs)(`div`,{ref:u,className:[Qt.chart,l??``].filter(Boolean).join(` `),style:{height:_.h},children:[(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,a.jsxs)(o.PieChart,{children:[(0,a.jsx)(o.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:x,outerRadius:_.outer,paddingAngle:0,stroke:n===`pie`?h:`none`,strokeWidth:n===`pie`?2:0,isAnimationActive:!1,shape:y||b?w:void 0,label:n===`label`?E:n===`custom-label`?D:n===`label-list`?O:void 0,labelLine:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,a.jsx)(o.Cell,{fill:m[t%m.length]},t))}),(0,a.jsx)(o.Tooltip,{content:(0,a.jsx)(t.ot,{}),wrapperStyle:{zIndex:50}})]})}),S&&(0,a.jsxs)(`div`,{className:Qt.center,children:[s&&(0,a.jsx)(`span`,{className:Qt.center__value,children:s}),c&&(0,a.jsx)(`span`,{className:Qt.center__caption,children:c})]})]})},sn={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`},cn=({trigger:e,title:t,description:n,actions:r,placement:o=`bottom-start`,children:s,className:c})=>{let[l,u]=i.default.useState(!1),[d,f]=i.default.useState(!1),p=i.default.useRef(null),m=i.default.useRef(null);return i.default.useEffect(()=>{l&&f(!0)},[l]),i.default.useEffect(()=>{if(l||!d)return;let e=setTimeout(()=>f(!1),240);return()=>clearTimeout(e)},[l,d]),i.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]),i.default.useEffect(()=>{!l&&m.current&&(m.current.focus(),m.current=null)},[l]),(0,a.jsxs)(`div`,{className:[sn.root,c??``].filter(Boolean).join(` `),ref:p,children:[(0,a.jsx)(`span`,{className:sn.trigger,onClick:()=>{l||(m.current=document.activeElement),u(e=>!e)},children:e}),d&&(0,a.jsxs)(`div`,{className:[sn.panel,sn[`panel--${o}`],l?sn[`panel--entering`]:sn[`panel--exiting`]].filter(Boolean).join(` `),role:`dialog`,onAnimationEnd:e=>{e.target===e.currentTarget&&!l&&f(!1)},children:[t&&(0,a.jsx)(`div`,{className:sn.panel__title,children:t}),n&&(0,a.jsx)(`div`,{className:sn.panel__description,children:n}),s&&(0,a.jsx)(`div`,{className:sn.panel__body,children:s}),r&&(0,a.jsx)(`div`,{className:sn.panel__actions,children:r})]})]})},ln={chart:`_chart_q6xhl_2`,circleFillSvg:`_circleFillSvg_q6xhl_17`},un={sm:200,md:260,lg:340,xl:420},dn=new Set([`circle-grid`,`circle-grid-no-lines`,`circle-grid-filled`]),fn=new Set([`default`,`grid-custom`]),pn=new Set([`dots-grid-none`]),mn=new Set([`grid-filled`]),hn=e=>e===`circle-grid-filled`,gn=new Set([`default`,`dots`,`dots-grid-none`,`circle-grid`,`circle-grid-no-lines`,`multiple`,`custom-label`,`grid-custom`,`grid-filled`,`circle-grid-filled`]),_n=[1,.8,.6,.4,.2],vn=({data:e,variant:n=`default`,size:r=`md`,seriesLabels:s=[`Value`,`Value 2`],className:c})=>{let l=i.default.useRef(null),u=t.ct(l),d=u(`--color-chart-1`)??`#ff4700`,f=u(`--color-chart-2`)??`#5b92dd`,p=u(`--color-border-default`)??`#dbdad7`,m=u(`--color-fg-subtle`)??`#a8a29b`,h=n===`multiple`,g=n===`lines-only`,_=h||n===`custom-label`||g,v=!g,y=n===`dots`||n===`dots-grid-none`||n===`circle-grid`||n===`circle-grid-no-lines`,b=mn.has(n),x=fn.has(n),S=pn.has(n),C=hn(n),[w,T]=i.default.useState(0);i.default.useEffect(()=>{if(!C||!l.current)return;let e=l.current,t=new ResizeObserver(([e])=>T(e.contentRect.width));return t.observe(e),()=>t.disconnect()},[C]);let E=i.default.useMemo(()=>{if(!b)return e;let t=Math.max(1,...e.flatMap(e=>[e.value,e.value2??0]));return e.map(e=>{let n={};return _n.forEach((e,r)=>{n[`ring${r}`]=e*t}),{...e,...n}})},[e,b]),D=t=>{let{x:n,y:r,cx:i,cy:o,payload:s,textAnchor:c}=t,l=e.find(e=>e.label===s?.value)??e[s?.index];if(!l)return(0,a.jsx)(`g`,{});let u=n-i,d=r-o,f=l.value2===void 0?`${l.value}`:`${l.value}/${l.value2}`,p=Math.abs(d)>Math.abs(u),h,g;if(p&&d<0)g=r-4-6,h=g-16;else if(p)h=r+4+10,g=h+18;else{let e=r+d/(Math.sqrt(u*u+d*d)||1)*4;h=e-8,g=e+12}let _=p?n:n+u/Math.sqrt(u*u+d*d||1)*4;return(0,a.jsxs)(`g`,{children:[(0,a.jsx)(`text`,{x:_,y:h,textAnchor:c,fill:m,fontSize:15,fontWeight:600,fontFamily:`var(--font-sans)`,children:f}),(0,a.jsx)(`text`,{x:_,y:g,textAnchor:c,fill:m,fontSize:13,fontFamily:`var(--font-sans)`,children:l.label})]})},O=un[r],k=(w>0?Math.min(w,O)/2-5:0)*.7;return(0,a.jsxs)(`div`,{ref:l,className:[ln.chart,c??``].filter(Boolean).join(` `),children:[C&&w>0&&(0,a.jsx)(`svg`,{className:ln.circleFillSvg,width:w,height:O,children:_n.map(e=>(0,a.jsx)(`circle`,{cx:w/2,cy:O/2,r:k*e,fill:f,fillOpacity:.1},e))}),(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:O,children:(0,a.jsxs)(o.RadarChart,{data:E,outerRadius:`70%`,children:[!b&&!S&&(0,a.jsx)(o.PolarGrid,{gridType:dn.has(n)?`circle`:`polygon`,radialLines:n!==`circle-grid-no-lines`&&!x,stroke:p}),(0,a.jsx)(o.PolarAngleAxis,{dataKey:`label`,axisLine:!1,tick:n===`custom-label`?D:{fill:m,fontSize:12,fontFamily:`var(--font-sans)`}}),(0,a.jsx)(o.PolarRadiusAxis,{tick:!1,axisLine:!1,tickCount:x?2:void 0}),(0,a.jsx)(o.Tooltip,{content:(0,a.jsx)(t.ot,{}),wrapperStyle:{zIndex:50}}),h&&(0,a.jsx)(o.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),b&&_n.map((e,t)=>(0,a.jsx)(o.Radar,{dataKey:`ring${t}`,stroke:`none`,fill:f,fillOpacity:.1,isAnimationActive:!1,legendType:`none`},`ring${t}`)),(0,a.jsx)(o.Radar,{name:h?s[0]??`Value`:void 0,dataKey:`value`,stroke:gn.has(n)?`none`:f,fill:v?f:`none`,fillOpacity:v?x?1:_?.45:.5:0,strokeWidth:gn.has(n)?0:2,dot:y?{r:4,fill:f,stroke:`none`}:!1,isAnimationActive:!1}),_&&(0,a.jsx)(o.Radar,{name:h?s[1]??`Value 2`:void 0,dataKey:`value2`,stroke:g?d:`none`,fill:g?`none`:d,fillOpacity:g?0:.8,strokeWidth:g?2:0,dot:y?{r:4,fill:d,stroke:`none`}:!1,isAnimationActive:!1})]})})]})},yn={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`},bn={sm:180,md:220,lg:280,xl:340},xn=Math.PI/180,Sn=e=>Math.round(e*1e3)/1e3,Cn={multi:[`30%`,`100%`],grid:[`30%`,`100%`],"stacked-label":[`30%`,`100%`],text:[`76%`,`100%`]},wn=({value:e,max:t,color:n,track:r,centerValue:i,centerCaption:o,labelColor:s,captionColor:c})=>{let l=Math.round(Math.min(e,t)/t*40);return(0,a.jsxs)(`svg`,{viewBox:`0 0 200 120`,className:yn.gaugeSvg,children:[Array.from({length:40}).map((e,t)=>{let i=180+t/39*180;return(0,a.jsx)(`line`,{x1:Sn(100+78*Math.cos(i*xn)),y1:Sn(100+78*Math.sin(i*xn)),x2:Sn(100+92*Math.cos(i*xn)),y2:Sn(100+92*Math.sin(i*xn)),stroke:t<l?n:r,strokeWidth:2.5,strokeLinecap:`round`},t)}),(i||o)&&(0,a.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[i&&(0,a.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:i}),o&&(0,a.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},Tn=({rings:e,spokes:t,color:n})=>(0,a.jsxs)(`svg`,{viewBox:`0 0 200 200`,className:yn.gridSvg,children:[Array.from({length:e}).map((t,r)=>(0,a.jsx)(`circle`,{cx:100,cy:100,r:(r+1)/e*96,fill:`none`,stroke:n,strokeWidth:1},r)),Array.from({length:t}).map((e,r)=>{let i=r/t*360,o=99.5*1.1;return(0,a.jsx)(`line`,{x1:100,y1:100,x2:Sn(100+o*Math.cos(i*xn)),y2:Sn(100+o*Math.sin(i*xn)),stroke:n,strokeWidth:1},r)})]}),En=({data:e,palette:t,track:n,centerValue:r,centerCaption:i,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,a.jsxs)(`svg`,{viewBox:`0 0 200 160`,className:yn.gaugeSvg,children:[d.map((e,t)=>(0,a.jsx)(o.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,a.jsx)(o.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:u,endAngle:-30,fill:n,cornerRadius:4}),(r||i)&&(0,a.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[r&&(0,a.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:r}),i&&(0,a.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:i})]})]})},Dn=({data:e,variant:n=`multi`,size:r=`md`,centerValue:s,centerCaption:c,className:l})=>{let u=i.default.useRef(null),d=t.ct(u),f=[1,2,3,4,5].map(e=>d(`--color-chart-${e}`)??t.st[e-1]),p=d(`--color-bg-subtle`)??`#f5f4f2`,m=d(`--color-border-subtle`)??`#e7e5e1`,h=d(`--color-fg-default`)??`#141414`,g=d(`--color-fg-muted`)??`#78716a`,_=bn[r];if(n===`gauge-tick`){let t=e[0];return(0,a.jsx)(`div`,{ref:u,className:[yn.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:(0,a.jsx)(wn,{value:t?.value??0,max:t?.max??100,color:f[0],track:p,centerValue:s,centerCaption:c,labelColor:h,captionColor:g})})}if(n===`shape`||n===`stacked`||n===`stacked-3-layers`)return(0,a.jsx)(`div`,{ref:u,className:[yn.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:(0,a.jsx)(En,{data:e,palette:f,track:p,centerValue:s,centerCaption:c,labelColor:h,captionColor:g})});let[v,y]=Cn[n]??[`30%`,`100%`],b=(n===`stacked-label`||n===`text`)&&(s||c);return(0,a.jsxs)(`div`,{ref:u,className:[yn.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:[n===`grid`&&(0,a.jsx)(Tn,{rings:8,spokes:12,color:m}),(0,a.jsx)(o.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,a.jsxs)(o.RadialBarChart,{data:e,innerRadius:v,outerRadius:y,startAngle:90,endAngle:-270,barCategoryGap:`12%`,children:[(0,a.jsx)(o.PolarAngleAxis,{type:`number`,domain:[0,e[0]?.max??100],tick:!1,axisLine:!1}),(0,a.jsx)(o.RadialBar,{dataKey:`value`,background:n!==`grid`&&{fill:p},cornerRadius:8,isAnimationActive:!1,children:e.map((e,t)=>(0,a.jsx)(o.Cell,{fill:f[t%f.length]},t))})]})}),b&&(0,a.jsxs)(`div`,{className:yn.center,children:[s&&(0,a.jsx)(`span`,{className:yn.center__value,children:s}),c&&(0,a.jsx)(`span`,{className:yn.center__caption,children:c})]})]})},On={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`},kn=i.default.forwardRef(({label:e,description:t,disabled:n,id:r,className:o,...s},c)=>{let l=i.default.useId(),u=r??l;return(0,a.jsxs)(`label`,{htmlFor:u,className:[On.wrapper,t?On[`wrapper--withDescription`]:``,n?On[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`input`,{ref:c,id:u,type:`radio`,disabled:n,className:On.input,...s}),(0,a.jsx)(`span`,{className:On.circle,"aria-hidden":`true`,children:(0,a.jsx)(`span`,{className:On.dot})}),(e||t)&&(0,a.jsxs)(`span`,{className:On.text,children:[e&&(0,a.jsx)(`span`,{className:On.text__label,children:e}),t&&(0,a.jsx)(`span`,{className:On.text__description,children:t})]})]})});kn.displayName=`Radio`;var An={footer:`_footer_x13xl_4`,"footer--collapsed":`_footer--collapsed_x13xl_12`,footer__text:`_footer__text_x13xl_14`,footer__title:`_footer__title_x13xl_15`,footer__subtitle:`_footer__subtitle_x13xl_16`,footer__menu:`_footer__menu_x13xl_17`,footer__action:`_footer__action_x13xl_29`},jn=({type:e=`user`,title:i,subtitle:o,avatarSrc:s,avatarInitials:c,collapsed:l,onMenu:u,onSignOut:d})=>{let f=(0,a.jsx)(t.Ot,{size:l?`sm`:`md`,src:s,initials:c,alt:i??`User`});return l?(0,a.jsx)(`div`,{className:[An.footer,An[`footer--collapsed`]].join(` `),children:f}):e===`actions`?(0,a.jsx)(`div`,{className:An.footer,children:(0,a.jsxs)(`button`,{type:`button`,"data-hover-item":``,className:An.footer__action,onClick:d,children:[(0,a.jsx)(r.t,{size:16,strokeWidth:t.jt(16)}),` Sign out`]})}):(0,a.jsxs)(`div`,{className:An.footer,children:[f,(0,a.jsxs)(`span`,{className:An.footer__text,children:[i&&(0,a.jsx)(`span`,{className:An.footer__title,children:i}),o&&(0,a.jsx)(`span`,{className:An.footer__subtitle,children:o})]}),e===`user-menu`&&(0,a.jsx)(`button`,{type:`button`,"data-hover-item":``,className:An.footer__menu,onClick:u,"aria-label":`Open menu`,children:(0,a.jsx)(n.a,{size:16,strokeWidth:t.jt(16)})})]})},Mn={search:`_search_4878u_2`,search__icon:`_search__icon_4878u_25`,search__input:`_search__input_4878u_26`,search__placeholder:`_search__placeholder_4878u_38`,search__kbd:`_search__kbd_4878u_39`,collapsed:`_collapsed_4878u_53`},Nn=({type:e=`field`,placeholder:r=`Search…`,collapsed:i,value:o,onChange:s,onClick:c})=>i?(0,a.jsx)(`button`,{type:`button`,className:Mn.collapsed,onClick:c,"aria-label":`Search`,children:(0,a.jsx)(n._,{size:18,strokeWidth:t.jt(18)})}):e===`command`?(0,a.jsxs)(`button`,{type:`button`,className:Mn.search,onClick:c,children:[(0,a.jsx)(n._,{size:16,strokeWidth:t.jt(16),className:Mn.search__icon}),(0,a.jsx)(`span`,{className:Mn.search__placeholder,children:r}),(0,a.jsx)(`kbd`,{className:Mn.search__kbd,children:`⌘K`})]}):(0,a.jsxs)(`div`,{className:Mn.search,children:[(0,a.jsx)(n._,{size:16,strokeWidth:t.jt(16),className:Mn.search__icon}),(0,a.jsx)(`input`,{className:Mn.search__input,placeholder:r,value:o,onChange:e=>s?.(e.target.value)})]}),Q={toaster:`_toaster_ma9al_7`,toast:`_toast_ma9al_7`,swipeOutLeft:`_swipeOutLeft_ma9al_1`,swipeOutRight:`_swipeOutRight_ma9al_1`,swipeOutUp:`_swipeOutUp_ma9al_1`,swipeOutDown:`_swipeOutDown_ma9al_1`,icon:`_icon_ma9al_160`,content:`_content_ma9al_173`,title:`_title_ma9al_180`,description:`_description_ma9al_181`,button:`_button_ma9al_183`,cancel:`_cancel_ma9al_202`,close:`_close_ma9al_204`,spinner:`_spinner_ma9al_227`,spinnerBar:`_spinnerBar_ma9al_232`,spinnerFade:`_spinnerFade_ma9al_1`},Pn=0,Fn=[],In=new Set;function Ln(e){for(let t of In)t(e)}var Rn={subscribe(e){return In.add(e),()=>{In.delete(e)}},active:()=>Fn,remove(e){Fn=Fn.filter(t=>t.id!==e)}};function zn(e,t,n={}){let r=n.id??`sakani-toast-${++Pn}`,i=Fn.find(e=>e.id===r),a={...i,...n,id:r,type:e,title:t,delete:!1,version:(i?.version??0)+1};return Fn=i?Fn.map(e=>e.id===r?a:e):[a,...Fn],Ln({kind:`upsert`,toast:a}),r}function Bn(e){return Fn=e===void 0?[]:Fn.filter(t=>t.id!==e),Ln({kind:`dismiss`,id:e}),e}function Vn(e,t){let{loading:n,success:r,error:i,finally:a,id:o,...s}=t,c=o??`sakani-toast-${++Pn}`;return n!==void 0&&zn(`loading`,n,{...s,id:c}),(typeof e==`function`?e():e).then(e=>{if(r===void 0){n!==void 0&&Bn(c);return}zn(`success`,typeof r==`function`?r(e):r,{...s,id:c})},e=>{if(i===void 0){n!==void 0&&Bn(c);return}zn(`error`,typeof i==`function`?i(e):i,{...s,id:c})}).finally(()=>a?.()),c}var Hn=Object.assign((e,t)=>zn(`default`,e,t),{message:(e,t)=>zn(`default`,e,t),success:(e,t)=>zn(`success`,e,t),info:(e,t)=>zn(`info`,e,t),warning:(e,t)=>zn(`warning`,e,t),error:(e,t)=>zn(`error`,e,t),loading:(e,t)=>zn(`loading`,e,t),promise:Vn,dismiss:Bn}),Un=356,Wn=45,Gn=200,Kn=e=>typeof e==`number`?`${e}px`:e,qn=(...e)=>e.filter(Boolean).join(` `),Jn={success:{viewBox:`0 0 20 20`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`},info:{viewBox:`0 0 20 20`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`},warning:{viewBox:`0 0 24 24`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`},error:{viewBox:`0 0 20 20`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`}};function Yn({type:e}){if(e===`loading`)return(0,a.jsx)(`span`,{className:Q.spinner,"aria-hidden":`true`,children:Array.from({length:12},(e,t)=>(0,a.jsx)(`span`,{className:Q.spinnerBar,style:{transform:`rotate(${t*30||1e-4}deg) translate(146%)`,animationDelay:`${-1.2+t*.1}s`}},t))});let t=Jn[e];return t?(0,a.jsx)(`svg`,{viewBox:t.viewBox,width:16,height:16,fill:`currentColor`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:t.d})}):null}var Xn=()=>(0,a.jsx)(`svg`,{viewBox:`0 0 12 12`,width:12,height:12,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,"aria-hidden":`true`,children:(0,a.jsx)(`path`,{d:`M9 3L3 9M3 3l6 6`})});function Zn({toast:e,index:t,count:n,expanded:r,expandByDefault:o,paused:s,heights:c,setHeights:l,removeToast:u,gap:d,visibleToasts:f,yPosition:p,xPosition:m,closeButton:h,richColors:g,duration:_}){let[v,y]=(0,i.useState)(!1),[b,x]=(0,i.useState)(!1),[S,C]=(0,i.useState)(!1),[w,T]=(0,i.useState)(!1),[E,D]=(0,i.useState)(!1),[O,k]=(0,i.useState)(null),[A,ee]=(0,i.useState)(0),[j,M]=(0,i.useState)(0),N=(0,i.useRef)(null),te=(0,i.useRef)(null),P=(0,i.useRef)(null),F=(0,i.useRef)(0),I=(0,i.useRef)(0),ne=t===0,re=t+1<=f,L=e.dismissible!==!1,ie=e.duration??_,R=e.richColors??g,ae=(e.closeButton??h)&&e.type!==`loading`,oe=c.findIndex(t=>t.id===e.id),se=(0,i.useMemo)(()=>{let e=c.reduce((e,t,n)=>n>=oe?e:e+t.height,0);return Math.max(0,oe)*d+e},[c,oe,d]),z=(0,i.useRef)(se);z.current=se,(0,i.useLayoutEffect)(()=>{let t=N.current;if(!t)return;let n=t.style.height;t.style.height=`auto`;let r=t.offsetHeight;t.style.height=n,M(r),l(t=>t.some(t=>t.id===e.id)?t.map(t=>t.id===e.id?{...t,height:r}:t):[{id:e.id,height:r},...t])},[e.id,e.version,l]),(0,i.useEffect)(()=>{y(!0)},[]);let ce=(0,i.useCallback)(()=>{x(!0),ee(z.current),l(t=>t.filter(t=>t.id!==e.id)),window.setTimeout(()=>u(e),Gn)},[e,u,l]);(0,i.useEffect)(()=>{e.delete&&!b&&(e.onDismiss?.(e),ce())},[e,b,ce]),(0,i.useEffect)(()=>{I.current=ie},[e.version,ie]),(0,i.useEffect)(()=>{if(b||s||e.type===`loading`||ie===1/0)return;let t=Date.now(),n=window.setTimeout(()=>{e.onAutoClose?.(e),ce()},I.current);return()=>{window.clearTimeout(n),I.current-=Date.now()-t}},[b,s,e,ie,ce]);let le=()=>{!L||b||(e.onDismiss?.(e),ce())},B=(0,i.useMemo)(()=>{let e=[p];return m!==`center`&&e.push(m),e},[p,m]),ue=(e,t)=>{N.current?.style.setProperty(`--swipe-amount-x`,`${e}px`),N.current?.style.setProperty(`--swipe-amount-y`,`${t}px`)},V=e=>{if(!(e.button===2||!L||b)&&!e.target.closest(`button`)){F.current=Date.now(),ee(z.current);try{e.currentTarget.setPointerCapture(e.pointerId)}catch{}C(!0),te.current={x:e.clientX,y:e.clientY},P.current=null}},de=e=>{if(!te.current||!L||(window.getSelection()?.toString().length??0)>0)return;let t=e.clientY-te.current.y,n=e.clientX-te.current.x;!P.current&&(Math.abs(n)>1||Math.abs(t)>1)&&(P.current=Math.abs(n)>Math.abs(t)?`x`:`y`);let r=e=>e/(1.5+Math.abs(e)/20),i=0,a=0;P.current===`y`?a=B.includes(`top`)&&t<0||B.includes(`bottom`)&&t>0?t:r(t):P.current===`x`&&(i=B.includes(`left`)&&n<0||B.includes(`right`)&&n>0?n:r(n)),(i!==0||a!==0)&&T(!0),ue(i,a)},fe=()=>{if(E||!L||!te.current)return;te.current=null;let t=N.current?.style,n=parseFloat(t?.getPropertyValue(`--swipe-amount-x`)||`0`)||0,r=parseFloat(t?.getPropertyValue(`--swipe-amount-y`)||`0`)||0,i=P.current===`x`?n:r,a=Math.abs(i)/Math.max(1,Date.now()-F.current);if((P.current===`x`?i<0&&B.includes(`left`)||i>0&&B.includes(`right`):i<0&&B.includes(`top`)||i>0&&B.includes(`bottom`))&&(Math.abs(i)>=Wn||a>.11)){ee(z.current),e.onDismiss?.(e),k(P.current===`x`?n>0?`right`:`left`:r>0?`down`:`up`),ce(),D(!0);return}ue(0,0),T(!1),C(!1),P.current=null},pe=r||o&&v,me=e.icon===null?null:e.icon??(0,a.jsx)(Yn,{type:e.type}),he=me!==null&&(e.icon!==void 0||e.type!=="default");return(0,a.jsxs)(`li`,{ref:N,tabIndex:0,role:`status`,"aria-live":e.important||e.type===`error`?`assertive`:`polite`,"aria-atomic":`true`,className:qn(Q.toast,e.className),"data-mounted":v,"data-removed":b,"data-visible":re,"data-front":ne,"data-expanded":pe,"data-y-position":p,"data-x-position":m,"data-type":e.type,"data-rich-colors":R,"data-dismissible":L,"data-swiping":S,"data-swiped":w,"data-swipe-out":E,"data-swipe-direction":O??void 0,style:{"--index":t,"--toasts-before":t,"--z-index":n-t,"--offset":`${b?A:se}px`,"--initial-height":o?`auto`:`${j}px`},onPointerDown:V,onPointerMove:de,onPointerUp:fe,onPointerCancel:fe,onKeyDown:e=>{(e.key===`Delete`||e.key===`Backspace`)&&le()},children:[ae&&(0,a.jsx)(`button`,{type:`button`,className:Q.close,"aria-label":`Close notification`,disabled:!L,onClick:le,children:(0,a.jsx)(Xn,{})}),he&&(0,a.jsx)(`div`,{className:Q.icon,children:me}),(0,a.jsxs)(`div`,{className:Q.content,children:[(0,a.jsx)(`div`,{className:Q.title,children:e.title}),e.description&&(0,a.jsx)(`div`,{className:Q.description,children:e.description})]}),e.cancel&&(0,a.jsx)(`button`,{type:`button`,className:qn(Q.button,Q.cancel),onClick:t=>{e.cancel?.onClick?.(t),L&&le()},children:e.cancel.label}),e.action&&(0,a.jsx)(`button`,{type:`button`,className:Q.button,onClick:t=>{e.action?.onClick(t),t.defaultPrevented||ce()},children:e.action.label})]})}var Qn=({position:e=`bottom-right`,richColors:t=!1,closeButton:n=!1,expand:r=!1,visibleToasts:o=3,duration:s=4e3,gap:c=14,offset:l=24,mobileOffset:u=16,hotkey:d=[`altKey`,`KeyT`],containerAriaLabel:f=`Notifications`,className:p,style:m})=>{let[h,g]=(0,i.useState)(()=>Rn.active()),[_,v]=(0,i.useState)([]),[y,b]=(0,i.useState)(!1),[x,S]=(0,i.useState)(!1),[C,w]=(0,i.useState)(!1),T=(0,i.useRef)(null),[E,D]=e.split(`-`);(0,i.useEffect)(()=>Rn.subscribe(e=>{e.kind===`upsert`?g(t=>t.some(t=>t.id===e.toast.id)?t.map(t=>t.id===e.toast.id?e.toast:t):[e.toast,...t]):g(t=>t.map(t=>e.id===void 0||t.id===e.id?{...t,delete:!0}:t))}),[]);let O=(0,i.useCallback)(e=>{Rn.remove(e.id),g(t=>t.filter(t=>t.id!==e.id))},[]);return(0,i.useEffect)(()=>{h.length<=1&&b(!1)},[h.length]),(0,i.useEffect)(()=>{let e=()=>w(document.hidden);return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[]),(0,i.useEffect)(()=>{let e=e=>{d.length>0&&d.every(t=>e[t]===!0||e.code===t)&&(b(!0),T.current?.focus()),e.key===`Escape`&&T.current&&(document.activeElement===T.current||T.current.contains(document.activeElement))&&(b(!1),document.activeElement?.blur())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[d]),(0,a.jsx)(`section`,{"aria-label":`${f} ${d.join(`+`).replace(/Key/g,``).replace(/Digit/g,``)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`,children:h.length>0&&(0,a.jsx)(`ol`,{ref:T,tabIndex:-1,className:qn(Q.toaster,p),"data-y-position":E,"data-x-position":D,style:{"--front-toast-height":`${_[0]?.height??0}px`,"--width":`${Un}px`,"--gap":`${c}px`,"--offset-top":Kn(l),"--offset-right":Kn(l),"--offset-bottom":Kn(l),"--offset-left":Kn(l),"--mobile-offset-top":Kn(u),"--mobile-offset-right":Kn(u),"--mobile-offset-bottom":Kn(u),"--mobile-offset-left":Kn(u),...m},onMouseEnter:()=>b(!0),onMouseMove:()=>b(!0),onMouseLeave:()=>{x||b(!1)},onFocus:()=>b(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||b(!1)},onPointerDown:e=>{e.target.dataset?.dismissible!==`false`&&S(!0)},onPointerUp:()=>S(!1),children:h.map((e,i)=>(0,a.jsx)(Zn,{toast:e,index:i,count:h.length,expanded:y,expandByDefault:r,paused:y||x||C,heights:_,setHeights:v,removeToast:O,gap:c,visibleToasts:o,yPosition:E,xPosition:D,closeButton:n,richColors:t,duration:s},e.id))})})},$n={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`},er=({size:e=`md`,label:t=`Loading...`,className:n})=>(0,a.jsx)(`span`,{role:`status`,"aria-label":t,className:[$n.spinner,$n[`spinner--${e}`],n??``].filter(Boolean).join(` `),children:(0,a.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.5,strokeLinecap:`round`,"aria-hidden":`true`,className:$n.spinner__svg,children:[(0,a.jsx)(`circle`,{cx:12,cy:12,r:9,opacity:.2}),(0,a.jsx)(`path`,{d:`M12 3a9 9 0 0 1 9 9`,className:$n.spinner__arc})]})}),$={stepper:`_stepper_1qhab_3`,"stepper--horizontal":`_stepper--horizontal_1qhab_4`,"stepper--vertical":`_stepper--vertical_1qhab_5`,step:`_step_1qhab_3`,"step--horizontal":`_step--horizontal_1qhab_8`,"step--vertical":`_step--vertical_1qhab_9`,circle:`_circle_1qhab_12`,circle__num:`_circle__num_1qhab_24`,"stepper--animated":`_stepper--animated_1qhab_28`,"circle--completed":`_circle--completed_1qhab_32`,"stepper-check":`_stepper-check_1qhab_1`,"circle--current":`_circle--current_1qhab_39`,"stepper-arrive":`_stepper-arrive_1qhab_1`,"circle--upcoming":`_circle--upcoming_1qhab_57`,step__text:`_step__text_1qhab_64`,step__label:`_step__label_1qhab_65`,"step__label--current":`_step__label--current_1qhab_66`,"step__label--upcoming":`_step__label--upcoming_1qhab_67`,step__desc:`_step__desc_1qhab_68`,connector:`_connector_1qhab_71`,connector__fill:`_connector__fill_1qhab_75`,"connector--vertical":`_connector--vertical_1qhab_82`,"connector--filled":`_connector--filled_1qhab_86`,"connector--horizontal":`_connector--horizontal_1qhab_88`},tr=({index:e,state:r,label:i,description:o,orientation:s=`horizontal`,delay:c=0,fresh:l})=>(0,a.jsxs)(`div`,{className:[$.step,$[`step--${s}`]].join(` `),style:{"--delay":`${c}ms`},children:[(0,a.jsx)(`span`,{className:[$.circle,$[`circle--${r}`]].join(` `),"data-fresh":l||void 0,"aria-hidden":`true`,children:r===`completed`?(0,a.jsx)(n.A,{size:14,strokeWidth:t.jt(14)}):(0,a.jsx)(`span`,{className:$.circle__num,children:e+1})}),(0,a.jsxs)(`span`,{className:$.step__text,children:[(0,a.jsx)(`span`,{className:[$.step__label,r===`current`?$[`step__label--current`]:``,r===`upcoming`?$[`step__label--upcoming`]:``].filter(Boolean).join(` `),children:i}),o&&(0,a.jsx)(`span`,{className:$.step__desc,children:o})]})]}),nr=457,rr=({steps:e,current:t,orientation:n=`horizontal`,className:r})=>{let o=e=>e<t?`completed`:e===t?`current`:`upcoming`,s=(0,i.useRef)(t),[c,l]=(0,i.useState)(!1);(0,i.useEffect)(()=>{l(!0)},[]),(0,i.useEffect)(()=>{s.current=t},[t]);let u=s.current,d=(e,t)=>e<t?`completed`:e===t?`current`:`upcoming`,f=e=>c&&u!==t&&d(e,u)!==d(e,t),p=t>=u,m=Math.max(1,Math.abs(t-u)),h=Math.min(nr,Math.floor(1430/m)),g=e=>p?e>=u&&e<=t?(e-u)*h:0:e>=t&&e<=u?(u-e)*h:0,_=e=>p?e>=u&&e<t?(e-u)*h:0:e>=t&&e<u?(u-1-e)*h+57:0;return(0,a.jsx)(`div`,{className:[$.stepper,$[`stepper--${n}`],c?$[`stepper--animated`]:``,r??``].filter(Boolean).join(` `),style:{"--fill-ms":`${h}ms`},children:e.map((r,s)=>(0,a.jsxs)(i.default.Fragment,{children:[(0,a.jsx)(tr,{index:s,state:o(s),label:r.label,description:r.description,orientation:n,delay:g(s),fresh:f(s)}),s<e.length-1&&(0,a.jsx)(`span`,{className:[$.connector,$[`connector--${n}`],s<t?$[`connector--filled`]:``].filter(Boolean).join(` `),style:{"--delay":`${_(s)}ms`},"aria-hidden":`true`,children:(0,a.jsx)(`span`,{className:$.connector__fill})})]},s))})},ir={wrapper:`_wrapper_1d89w_3`,"wrapper--disabled":`_wrapper--disabled_1d89w_11`,input:`_input_1d89w_13`,track:`_track_1d89w_15`,thumb:`_thumb_1d89w_28`,"wrapper--stretch":`_wrapper--stretch_1d89w_50`,label:`_label_1d89w_60`,"wrapper--withDescription":`_wrapper--withDescription_1d89w_65`,text:`_text_1d89w_66`,description:`_description_1d89w_68`},ar=16,or=2,sr=18,cr=360,lr=16,ur=e=>1-(1-e)**3,dr=.16,fr=i.default.forwardRef(({label:e,description:t,disabled:n,id:r,className:o,onChange:s,variant:c=`default`,...l},u)=>{let d=i.default.useId(),f=r??d,p=i.default.useRef(null);return(0,a.jsxs)(`label`,{htmlFor:f,className:[ir.wrapper,c===`stretch`?ir[`wrapper--stretch`]:``,t?ir[`wrapper--withDescription`]:``,n?ir[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`input`,{ref:u,id:f,type:`checkbox`,role:`switch`,disabled:n,className:ir.input,onChange:e=>{s?.(e);let t=p.current;if(c!==`stretch`||!t||typeof t.animate!=`function`||window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches)return;let n=e.target.checked,r=getComputedStyle(t),i=parseFloat(r.translate)||0,a=parseFloat(r.width)||ar,o=(n?or:sr)+i,l=o+a,u=n?sr:or,d=u+ar;t.getAnimations().forEach(e=>e.cancel());let f=[];for(let e=0;e<=lr;e++){let t=e/lr,r=ur(t),i=ur(Math.min(1,Math.max(0,(t-dr)/(1-dr)))),a=o+(u-o)*(n?i:r),s=l+(d-l)*(n?r:i);f.push({width:`${s-a}px`,translate:`${a-u}px 0`,offset:t})}t.animate(f,{duration:cr,easing:`linear`})},...l}),(0,a.jsx)(`span`,{className:ir.track,"aria-hidden":`true`,children:(0,a.jsx)(`span`,{ref:p,className:ir.thumb})}),t?(0,a.jsxs)(`span`,{className:ir.text,children:[e&&(0,a.jsx)(`span`,{className:ir.label,children:e}),(0,a.jsx)(`span`,{className:ir.description,children:t})]}):e&&(0,a.jsx)(`span`,{className:ir.label,children:e})]})});fr.displayName=`Switch`;var pr={field:`_field_53t87_6`,field__label:`_field__label_53t87_8`,field__description:`_field__description_53t87_10`,field__error:`_field__error_53t87_11`,textarea:`_textarea_53t87_13`,"textarea--error":`_textarea--error_53t87_37`,"textarea--disabled":`_textarea--disabled_53t87_52`},mr=i.default.forwardRef(({label:e,description:t,error:n,disabled:r,id:o,className:s,rows:c=3,...l},u)=>{let d=i.default.useId(),f=o??d,p=!!n,m=t||n?`${f}-desc`:void 0;return(0,a.jsxs)(`div`,{className:[pr.field,s??``].filter(Boolean).join(` `),children:[e&&(0,a.jsx)(`label`,{htmlFor:f,className:pr.field__label,children:e}),(0,a.jsx)(`textarea`,{ref:u,id:f,rows:c,disabled:r,"aria-invalid":p||void 0,"aria-describedby":m,className:[pr.textarea,p?pr[`textarea--error`]:``,r?pr[`textarea--disabled`]:``].filter(Boolean).join(` `),...l}),(t||n)&&(0,a.jsx)(`span`,{id:m,className:p?pr.field__error:pr.field__description,children:n||t})]})});mr.displayName=`Textarea`;var hr={toast:`_toast_dshlf_3`,toast__icon:`_toast__icon_dshlf_17`,"toast--success":`_toast--success_dshlf_18`,"toast--error":`_toast--error_dshlf_19`,"toast--info":`_toast--info_dshlf_20`,toast__content:`_toast__content_dshlf_22`,toast__title:`_toast__title_dshlf_23`,toast__description:`_toast__description_dshlf_24`,toast__dismiss:`_toast__dismiss_dshlf_26`},gr={success:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,a.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),error:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,a.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,a.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),info:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,a.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,a.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]})},_r=({status:e=`info`,title:n,description:r,onDismiss:i,className:o})=>(0,a.jsxs)(`div`,{role:e===`error`?`alert`:`status`,"aria-live":e===`error`?`assertive`:`polite`,className:[hr.toast,hr[`toast--${e}`],o??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`span`,{className:hr.toast__icon,"aria-hidden":`true`,children:(0,a.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:gr[e]})}),(0,a.jsxs)(`div`,{className:hr.toast__content,children:[n&&(0,a.jsx)(`div`,{className:hr.toast__title,children:n}),r&&(0,a.jsx)(`div`,{className:hr.toast__description,children:r})]}),i&&(0,a.jsx)(`button`,{type:`button`,className:hr.toast__dismiss,onClick:i,"aria-label":`Dismiss`,children:(0,a.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.jt(16),strokeLinecap:`round`,strokeLinejoin:`round`,width:16,height:16,children:[(0,a.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,a.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})]}),vr={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`},yr=({type:e=`title`,title:r,trailing:i,search:o,onMenu:s,onAction:c,onClose:l,className:u})=>(0,a.jsxs)(`header`,{className:[vr.bar,u??``].filter(Boolean).join(` `),children:[(0,a.jsx)(`button`,{type:`button`,className:vr.bar__icon,onClick:s,"aria-label":`Open menu`,children:(0,a.jsx)(n.x,{size:18,strokeWidth:t.jt(18)})}),e===`search`?(0,a.jsx)(`div`,{className:vr.bar__search,children:o}):(0,a.jsx)(`span`,{className:[vr.bar__title,e===`title-centered`?vr[`bar__title--center`]:``].join(` `),children:r}),e===`title-action`&&(0,a.jsx)(`button`,{type:`button`,className:vr.bar__icon,onClick:c,"aria-label":`Add`,children:(0,a.jsx)(n.E,{size:18,strokeWidth:t.jt(18)})}),e===`search`&&(0,a.jsx)(`button`,{type:`button`,className:vr.bar__icon,onClick:l,"aria-label":`Close search`,children:(0,a.jsx)(n.I,{size:18,strokeWidth:t.jt(18)})}),(e===`title`||e===`title-centered`)&&i]});exports.Accordion=t.kt,exports.AccordionItem=t.At,exports.ActivityFeed=t.Et,exports.ActivityFeedHighlight=t.Dt,exports.Alert=t.F,exports.Announcement=c,exports.AreaChart=Ae,exports.Avatar=t.Ot,exports.AvatarGroup=t.V,exports.AvatarUpload=t.St,exports.Badge=t.it,exports.Balance=t.bt,exports.BarChart=t.at,exports.BlogBlockquote=I,exports.BlogFeatureText=re,exports.BlogImage=ie,exports.BlogListingCard=t.W,exports.BlogListingFeaturedCard=t.U,exports.BoardCard=t.P,exports.BoardColumn=Me,exports.Breadcrumb=t.j,exports.Button=t.Ct,exports.Calendar=Le,exports.Card=ze,exports.CardMetaItem=t.A,exports.CartItem=t.nt,exports.ChainOfThought=$e,exports.ChainOfThoughtStep=Qe,exports.ChatComposer=t.k,exports.Checkbox=t.O,exports.CheckoutSteps=t.et,exports.CodeSnippet=p,exports.ColorSwatch=t.Q,exports.Combobox=at,exports.ConversationItem=t.D,exports.DEFAULT_CHECKOUT_STEPS=t.tt,exports.Divider=t.pt,exports.DonutChart=t.E,exports.EmptyState=t.T,exports.Expenses=g,exports.FacebookIcon=Ee,exports.FeaturedIcon=t.H,exports.FileUpload=ot,exports.FilterChip=t.w,exports.FirstPageHeading=ae,exports.FunnelChart=dt,exports.GithubIcon=ve,exports.HeatmapChart=mt,exports.HoverGroup=t.M,exports.IconButton=t.wt,exports.InlineHint=y,exports.Input=t.C,exports.InstagramIcon=Te,exports.JobListing=t.z,exports.Kbd=gt,exports.Label=vt,exports.LineChart=t.S,exports.Link=t.Tt,exports.LinkedinIcon=De,exports.LiquidBackdrop=t.mt,exports.LiquidGlass=t.ht,exports.List=se,exports.ListItem=bt,exports.LocationDot=t.B,exports.Map=Wt,exports.MapClusterLayer=Zt,exports.MapControlButton=xt,exports.MapControls=St,exports.MapGlobe=Xt,exports.MapMarker=zt,exports.MapPopup=Gt,exports.Marquee=le,exports.Menu=t.b,exports.MenuDivider=t.x,exports.MenuItem=t.y,exports.MessageBubble=t.v,exports.Metric=ue,exports.MobileNavigationMenu=de,exports.Modal=t.ft,exports.NotificationItem=t.dt,exports.Pagination=t._,exports.PieChart=on,exports.PlaceholderLogo=me,exports.Popover=cn,exports.PriceDisplay=t.Z,exports.ProductCard=t.Y,exports.ProductGallery=t.J,exports.ProfileCard=ge,exports.Progress=t.yt,exports.ProgressItem=x,exports.ProgressStat=t.ut,exports.QuantitySelector=t.rt,exports.RadarChart=vn,exports.RadialChart=Dn,exports.Radio=kn,exports.RichSeparator=C,exports.RichTextHeading=be,exports.RichTextParagraph=Se,exports.SectionHeading=t.L,exports.SegmentedControl=t.g,exports.Select=t.h,exports.Sidebar=t.m,exports.SidebarDivider=t.p,exports.SidebarFooter=jn,exports.SidebarGroupLabel=t.f,exports.SidebarHeader=t.d,exports.SidebarItem=t.u,exports.SidebarPromo=t.l,exports.SidebarSearch=Nn,exports.SidebarSubItem=t.c,exports.SizeSelector=t.q,exports.Skeleton=t.s,exports.Slider=t.o,exports.SourceLogo=tt,exports.SourceStack=Je,exports.SpendingBalance=t.lt,exports.Spinner=er,exports.StarRating=t.K,exports.StatCard=t.a,exports.Stepper=rr,exports.StepperStep=tr,exports.StockMarket=E,exports.StockStatus=t.G,exports.SubFeature=we,exports.Switch=fr,exports.Table=t.i,exports.Tabs=t.r,exports.Tags=k,exports.TeamCard=t.I,exports.Textarea=mr,exports.Ticker=M,exports.Toast=_r,exports.Toaster=Qn,exports.Tooltip=t.n,exports.TopBar=t.t,exports.TopBarMobile=yr,exports.Transactions=P,exports.WishlistButton=t.X,exports.WorkingIndicator=qe,exports.XIcon=_e,exports.getContrastColor=t.$,exports.iconStrokeWidth=t.jt,exports.sourceLogo=it,exports.sourceLogoNames=nt,exports.syncLiquidBackdrop=t.gt,exports.toast=Hn,exports.useHoverHighlight=t.N,exports.useLiquidGlass=t._t,exports.useMapContext=Ft;
|