@cleen/ui 0.1.266 → 0.1.267

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  import{cn as uo,useAnimateNumber as rb}from"@cleen/ui-core";import{forwardRef as ab,useMemo as f0}from"react";import{cn as Sa,usePositionClose as jI,ZIndex as eb}from"@cleen/ui-core";import{useEffect as i0,useRef as Oc,useState as p0}from"react";import{createPortal as tb}from"react-dom";import{jsx as _c,jsxs as d0}from"react/jsx-runtime";var ge=({bg:e,label:t,color:r,closeOnClick:n=!0,hideOnMouseDown:l=!0,isOpen:a,children:c,hasArrow:s,placement:u="top",offset:p=8,className:i,classNames:g,isDisabled:h,openDelay:y=0,invertColors:b=!1,extraUpdateTriggers:f,allowNonDescendantHover:v=!0,zIndex:C=eb.TOOLTIP,style:x,styles:I,onClick:P,onMouseEnter:M,onMouseLeave:B,...k})=>{let[w,R]=p0(a??!1),[E,N]=p0(!1),L=Oc(null),F=Oc(null),D=Oc(null),{positionStyles:S,isMounted:H,optimalPosition:T}=jI({triggerRef:F,targetRef:L,position:u,isOpen:w&&!h,offset:p,extraUpdateTriggers:f});i0(()=>{R(a??!1)},[a]);let z=_=>{P?.(_),n&&R(!1)},A=(_,G)=>{if(a!==void 0)return;let $=F.current?.contains(_.target);!v&&!$||(G?(M?.(_),y&&y>0?D.current=setTimeout(()=>{R(!0)},y):R(!0)):(D.current&&(clearTimeout(D.current),D.current=null),R(!1),B?.(_)))};return i0(()=>{let _=()=>{l&&N(!0)},G=()=>{N(!1)};return document.addEventListener("mousedown",_),document.addEventListener("mouseup",G),()=>{document.removeEventListener("mousedown",_),document.removeEventListener("mouseup",G)}},[]),d0("div",{className:Sa("cleen",i),style:x,children:[_c("div",{ref:F,className:Sa("cleen-relative cleen-max-w-fit",g?.container),style:I?.container,onClick:z,onMouseEnter:_=>A(_,!0),onMouseLeave:_=>A(_,!1),...k,children:c}),t!==void 0&&w&&!h&&!E&&tb(_c("div",{className:"cleen",children:d0("div",{ref:L,className:Sa("cleen-shadow cleen-px-2 cleen-py-0.5 cleen-rounded-md cleen-text-sm cleen-transition-opacity cleen-duration-200 cleen-pointer-events-none","cleen-absolute",b?"cleen-bg-primary after:cleen-border-primary cleen-text-primary-foreground":"cleen-bg-surface after:cleen-border-surface cleen-text-primary",{"cleen-opacity-0":!H,"cleen-opacity-100":H},g?.labelContainer),style:{zIndex:C,top:`${S.top}px`,left:`${S.left}px`,...e&&{backgroundColor:e},...r&&{color:r},...I?.labelContainer},children:[t,_c("div",{className:Sa(s?["cleen-absolute cleen-border-[6px] cleen-border-surface",{"cleen-border-b-transparent cleen-border-x-transparent cleen-top-full cleen-drop-shadow-[0_1px_0.5px_rgba(var(--cleen-black),0.1)]":T==="top"||T==="top-left"||T==="top-right","cleen-left-[calc(50%-6px)]":T==="top"||T==="bottom","cleen-left-[6px]":T==="top-left"||T==="bottom-left","cleen-right-[6px]":T==="top-right"||T==="bottom-right","cleen-border-t-transparent cleen-border-x-transparent cleen-bottom-full cleen-drop-shadow-[0_-0.5px_0.5px_rgba(var(--cleen-black),0.1)]":T==="bottom"||T==="bottom-left"||T==="bottom-right","cleen-border-y-transparent cleen-border-r-transparent cleen-left-full cleen-top-[calc(50%-6px)] cleen-drop-shadow-[1px_0_0.5px_rgba(var(--cleen-black),0.1)]":T==="left","cleen-border-y-transparent cleen-border-l-transparent cleen-right-full cleen-top-[calc(50%-6px)] cleen-drop-shadow-[-0.25px_0_0.5px_rgba(var(--cleen-black),0.1)]":T==="right"}]:"cleen-hidden"),style:{}})]})}),document.body)]})};import{cn as Hn}from"@cleen/ui-core";var yt=e=>Math.max(0,Math.min(100,Number.isFinite(e)?e:0)),Ct=(e,t,r)=>{let n=Number.isFinite(t)?t:0,l=Number.isFinite(r)?r:100;return l===n?0:(e-n)/(l-n)*100};import{cn as Ma}from"@cleen/ui-core";import{jsx as Hc}from"react/jsx-runtime";var wa=({serie:e,minValue:t,maxValue:r,color:n,trackHeight:l,className:a,style:c})=>{if(e.type!=="clamp")return null;let s=typeof e.value=="number"?e.value:0,u=Number.isFinite(s)?s:t,p=yt(Ct(u,t,r)),i=Math.max(2,e?.height??l*1.5),g={left:`${p}%`,top:"50%"};return e.tooltip?Hc(ge,{invertColors:!0,...e.tooltip,className:Ma("cleen-absolute cleen-z-10 -cleen-translate-x-1/2 -cleen-translate-y-1/2",e.tooltip.className),style:{...g,...e.tooltip.style},classNames:{...e.tooltip.classNames,labelContainer:Ma("cleen-z-10",e.tooltip.classNames?.labelContainer)},children:Hc("div",{className:Ma("cleen-rounded-full",a),style:{width:i,height:i,backgroundColor:n,...c}})}):Hc("div",{className:Ma("cleen-absolute cleen-rounded-full -cleen-translate-x-1/2 -cleen-translate-y-1/2 cleen-pointer-events-none",a),style:{width:i,height:i,backgroundColor:n,...g,...c}})};import{jsx as ka}from"react/jsx-runtime";var m0=({serie:e,minValue:t,maxValue:r,animatedGlobal:n=t,renderAnimated:l,color:a,trackHeight:c,trackRadius:s,className:u,style:p})=>{if(e.type!=="bar")return null;let i=typeof e.start=="number"?e.start:t,g=typeof e.end=="number"?e.end:r,h=yt(Ct(i,t,r)),y=yt(Ct(g,t,r));y<h&&([h,y]=[y,h]);let b=Math.max(0,l?n-h:y-h);if(b<1&&!l||l&&n>=y&&b===0)return ka(wa,{serie:{...e,type:"clamp",value:h},color:a,trackHeight:c,minValue:t,maxValue:r,className:u,style:p});let f={left:`${h}%`,top:e?.height?(c-e.height)/2:0,width:`${b}%`,height:e?.height??"100%"},v={width:"100%",height:"100%"},C={background:a,borderRadius:e?.radius??s??(e?.height??c)/2};return e.tooltip?ka(ge,{invertColors:!0,...e.tooltip,className:Hn("cleen-absolute",e.tooltip.className),style:{...f,...e.tooltip.style},classNames:{...e.tooltip.classNames,container:Hn("cleen-size-full !cleen-max-w-none",e.tooltip.classNames?.container),labelContainer:Hn("cleen-z-10",e.tooltip.classNames?.labelContainer)},styles:{...e.tooltip.styles,container:{width:"100%",maxWidth:"none",height:"100%",...e.tooltip.styles?.container}},children:ka("div",{className:Hn("cleen-relative cleen-size-full",u),style:{...C,...v,...p}})}):ka("div",{className:Hn("cleen-absolute cleen-pointer-events-none",u),style:{...C,...f,...p}})};import{cn as ob}from"@cleen/ui-core";import{jsx as nb}from"react/jsx-runtime";var u0=({serie:e,minValue:t,maxValue:r,className:n,style:l})=>{let a=0;if(e.type==="clamp"){let c=typeof e.value=="number"?e.value:0,s=Number.isFinite(c)?c:t;a=yt(Ct(s,t,r))}else{let c=typeof e.start=="number"?e.start:t,s=typeof e.end=="number"?e.end:r,u=yt(Ct(c,t,r)),p=yt(Ct(s,t,r));a=(u+p)/2}return nb("div",{className:ob("cleen-absolute -cleen-translate-x-1/2 cleen-whitespace-nowrap",n),style:{left:`${a}%`,...l},children:e.label})};var h0={color:"rgb(var(--cleen-neutral-200))",height:8};import{jsx as Ko,jsxs as g0}from"react/jsx-runtime";var lb=ab(function({series:t=[],track:r,renderAnimated:n,renderAnimatedDuration:l=1e3,className:a,classNames:c,style:s,styles:u,minValue:p=0,maxValue:i=100,...g},h){let y=f0(()=>({...h0,...r}),[r]),b=f0(()=>t.reduce((x,I)=>{if(I.type==="bar"){let P=typeof I.end=="number"?I.end:i,M=Math.max(p,Math.min(P,i));if(M>x)return M}return x},0),[t,p,i]),f=rb({targetNumber:b,defaultNumber:p,duration:l,disabled:!n}),{bars:v,clamps:C}=t.reduce((x,I,P)=>{if(I==null||!I.type)return x;let M=I.color??"var(--cleen-primary)";switch(I.type){case"clamp":x.clamps.push(Ko(wa,{serie:I,color:M,trackHeight:y.height,minValue:p,maxValue:i,className:uo(c?.clamp,I.className),style:{...u?.clamp,...I.style}},`clamp-${P}`));break;case"bar":x.bars.push(Ko(m0,{serie:I,color:M,trackHeight:y.height,trackRadius:y.radius,minValue:p,maxValue:i,renderAnimated:n,animatedGlobal:f,className:uo(c?.bar,I.className),style:{...u?.bar,...I.style}},`bar-${P}`));break;default:break}return x},{clamps:[],bars:[]});return Ko("div",{className:uo("cleen",a),style:s,ref:h,...g,children:g0("div",{className:uo("cleen-relative cleen-w-full",c?.container),style:u?.container,children:[g0("div",{className:uo("cleen-relative cleen-size-full",c?.trackWrapper),style:u?.trackWrapper,children:[Ko("div",{className:uo("cleen-relative cleen-w-full",c?.track),style:{height:y.height,backgroundColor:y.color,borderRadius:y.radius??y.height/2,...u?.track},children:v}),C]}),t.some(x=>!!x.label)&&Ko("div",{"aria-hidden":!0,className:uo("cleen-relative cleen-mt-2 cleen-h-5",c?.labels),style:u?.labels,children:t.map((x,I)=>!x||!x.type||!x.label?null:Ko(u0,{serie:x,minValue:p,maxValue:i,className:c?.label,style:u?.label},`label-${I}`))})]})})});import{cn as Uc}from"@cleen/ui-core";import{jsx as Gc}from"react/jsx-runtime";var cb={xs:"cleen-size-4",sm:"cleen-size-5",md:"cleen-size-[30px] cleen-border-2",lg:"cleen-size-10 cleen-border-2",xl:"cleen-size-[50px] cleen-border-4"},sb={slow:1.3,normal:.65,fast:.4},ne=({isFullscreen:e,size:t="xs",stroke:r,speed:n="normal",className:l,classNames:a,style:c,styles:s,color:u,...p})=>Gc("div",{className:Uc("cleen",l),style:c,children:Gc("div",{className:Uc("cleen-flex cleen-justify-center cleen-items-center cleen-w-full cleen-h-full",{"cleen-h-screen cleen-w-screen cleen-bg-background":e},a?.container),style:s?.container,...p,children:Gc("span",{className:Uc("cleen-border cleen-rounded-full cleen-border-t-primary cleen-border-x-primary cleen-border-b-transparent cleen-animate-[spin_0.65s_linear_infinite]",typeof t=="string"&&cb[t],a?.loader),style:{...u&&{borderInlineColor:u,borderTopColor:u},...typeof t=="number"&&{width:t,height:t},...typeof r=="number"&&{borderWidth:r},animationDuration:`${typeof n=="number"?n:sb[n]}s`,...s?.loader}})})});import{cn as Vc,useWidthDynamicResize as ib}from"@cleen/ui-core";import{forwardRef as pb,useImperativeHandle as db,useRef as mb}from"react";var v0={primary:"cleen-text-primary-foreground cleen-shadow-sm cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]",secondary:"cleen-border cleen-border-border cleen-text-foreground hover:cleen-bg-surface hover:cleen-border-muted-foreground disabled:cleen-bg-surface disabled:cleen-text-muted-foreground","secondary-blue":"cleen-border cleen-border-blue cleen-text-blue hover:cleen-bg-blue hover:cleen-text-white disabled:cleen-bg-blue disabled:cleen-text-white","secondary-success":"cleen-border cleen-border-success cleen-text-success hover:cleen-bg-success hover:cleen-text-white disabled:cleen-bg-success disabled:cleen-text-white","secondary-error":"cleen-border cleen-border-error cleen-text-error hover:cleen-bg-error hover:cleen-text-white disabled:cleen-bg-error disabled:cleen-text-white",borderless:"cleen-text-foreground hover:cleen-bg-primary-100 hover:cleen-translate-y-0","borderless-blue":"cleen-text-blue-800 hover:cleen-bg-blue-dark-100 hover:cleen-translate-y-0","borderless-success":"cleen-text-success hover:cleen-bg-success-bg hover:cleen-translate-y-0","borderless-error":"cleen-text-error hover:cleen-bg-error-bg hover:cleen-translate-y-0",error:"cleen-text-white cleen-shadow-sm cleen-bg-error hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-error)),black_12%)]",success:"cleen-text-white cleen-shadow-sm cleen-bg-success hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-success)),black_12%)]",warning:"cleen-text-white cleen-shadow-sm cleen-bg-warning hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-warning)),black_12%)]",black:"cleen-text-white cleen-shadow-sm cleen-bg-black hover:cleen-bg-gray-modern-800",purple:"cleen-text-white cleen-shadow-sm cleen-bg-purple hover:cleen-bg-purple-800",indigo:"cleen-text-white cleen-shadow-sm cleen-bg-indigo hover:cleen-bg-indigo-800",yellow:"cleen-text-black cleen-shadow-sm cleen-bg-yellow hover:cleen-bg-yellow-500"},I0={primary:"rgb(var(--cleen-primary-foreground))",borderless:"rgb(var(--cleen-foreground))","borderless-blue":"rgb(var(--cleen-blue))","borderless-success":"rgb(var(--cleen-success))","borderless-error":"rgb(var(--cleen-error))",secondary:"rgb(var(--cleen-foreground))","secondary-blue":"rgb(var(--cleen-blue))","secondary-success":"rgb(var(--cleen-success))","secondary-error":"rgb(var(--cleen-error))",error:"rgb(var(--cleen-white))",success:"rgb(var(--cleen-white))",warning:"rgb(var(--cleen-white))",black:"rgb(var(--cleen-white))",purple:"rgb(var(--cleen-white))",indigo:"rgb(var(--cleen-white))",yellow:"rgb(var(--cleen-black))"};import{jsx as b0,jsxs as ub}from"react/jsx-runtime";var re=pb(function({type:t="button",label:r,onClick:n,className:l,classNames:a,style:c,styles:s,disabled:u=!1,leftIcon:p,rightIcon:i,loaderColor:g,isLoading:h=!1,variant:y="primary",fullWidth:b=!1,children:f,...v},C){let x=mb(null);return db(C,()=>x.current),ib({ref:x,skip:b},[h,p,i,b]),b0("div",{className:Vc("cleen",l),style:c,children:ub("button",{type:t,ref:x,className:Vc("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1 cleen-px-4 cleen-py-2 cleen-rounded-lg focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2 cleen-font-semibold cleen-text-sm cleen-text-nowrap cleen-leading-6 cleen-transition-all hover:-cleen-translate-y-[1px] cleen-duration-200 cleen-ease-in-out",v0[y],{"cleen-w-full cleen-flex-1":b,"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":u||h},a?.container),style:s?.container,disabled:h||u,onClick:n,...v,children:[h&&b0(ne,{size:"xs",color:g||I0[y],className:Vc("cleen-mr-1.5 cleen-w-fit",a?.loaderContainer),style:s?.loaderContainer,classNames:{loader:a?.loader},styles:{loader:s?.loader}}),p||null,r||f,i||null]})})});var y0={primary:"cleen-text-primary-foreground cleen-shadow-sm cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]",secondary:"cleen-border-border cleen-text-foreground hover:cleen-bg-surface hover:cleen-border-muted-foreground group-aria-disabled:cleen-bg-surface group-aria-disabled:cleen-text-muted-foreground","secondary-blue":"cleen-border-blue cleen-text-blue hover:cleen-bg-blue hover:cleen-text-white group-aria-disabled:cleen-bg-blue group-aria-disabled:cleen-text-white","secondary-success":"cleen-border-success cleen-text-success hover:cleen-bg-success hover:cleen-text-white group-aria-disabled:cleen-bg-success group-aria-disabled:cleen-text-white","secondary-error":"cleen-border-error cleen-text-error hover:cleen-bg-error hover:cleen-text-white group-aria-disabled:cleen-bg-error group-aria-disabled:cleen-text-white",borderless:"cleen-border-0 cleen-text-foreground hover:cleen-bg-primary-100","borderless-blue":"cleen-border-0 cleen-text-blue-800 hover:cleen-bg-blue-dark-100","borderless-success":"cleen-border-0 cleen-text-success hover:cleen-bg-success-bg","borderless-error":"cleen-border-0 cleen-text-error hover:cleen-bg-error-bg",error:"cleen-text-white cleen-shadow-sm cleen-bg-error hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-error)),black_12%)]",success:"cleen-text-white cleen-shadow-sm cleen-bg-success hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-success)),black_12%)]",warning:"cleen-text-white cleen-shadow-sm cleen-bg-warning hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-warning)),black_12%)]",black:"cleen-text-white cleen-shadow-sm cleen-bg-black hover:cleen-bg-gray-modern-800",purple:"cleen-text-white cleen-shadow-sm cleen-bg-purple hover:cleen-bg-purple-800",indigo:"cleen-text-white cleen-shadow-sm cleen-bg-indigo hover:cleen-bg-indigo-800",yellow:"cleen-text-black cleen-shadow-sm cleen-bg-yellow hover:cleen-bg-yellow-500"},C0={primary:"rgb(var(--cleen-primary-foreground))",borderless:"rgb(var(--cleen-foreground))","borderless-blue":"rgb(var(--cleen-blue))","borderless-success":"rgb(var(--cleen-success))","borderless-error":"rgb(var(--cleen-error))",secondary:"rgb(var(--cleen-foreground))","secondary-blue":"rgb(var(--cleen-blue))","secondary-success":"rgb(var(--cleen-success))","secondary-error":"rgb(var(--cleen-error))",error:"rgb(var(--cleen-white))",success:"rgb(var(--cleen-white))",warning:"rgb(var(--cleen-white))",black:"rgb(var(--cleen-white))",purple:"rgb(var(--cleen-white))",indigo:"rgb(var(--cleen-white))",yellow:"rgb(var(--cleen-black))"};import{cn as Gt,ColorHelpers as Mb}from"@cleen/ui-core";function Zo(e,t,r){return Math.min(Math.max(e,r),t)}var Wc=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}},Un=Wc;function hb(e){if(typeof e!="string")throw new Un(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=xb.test(e)?vb(e):e;let r=Ib.exec(t);if(r){let c=Array.from(r).slice(1);return[...c.slice(0,3).map(s=>parseInt(Gn(s,2),16)),parseInt(Gn(c[3]||"f",2),16)/255]}let n=bb.exec(t);if(n){let c=Array.from(n).slice(1);return[...c.slice(0,3).map(s=>parseInt(s,16)),parseInt(c[3]||"ff",16)/255]}let l=yb.exec(t);if(l){let c=Array.from(l).slice(1);return[...c.slice(0,3).map(s=>parseInt(s,10)),parseFloat(c[3]||"1")]}let a=Cb.exec(t);if(a){let[c,s,u,p]=Array.from(a).slice(1).map(parseFloat);if(Zo(0,100,s)!==s)throw new Un(e);if(Zo(0,100,u)!==u)throw new Un(e);return[...Pb(c,s,u),Number.isNaN(p)?1:p]}throw new Un(e)}function fb(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return(t>>>0)%2341}var x0=e=>parseInt(e.replace(/_/g,""),36),gb="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let r=x0(t.substring(0,3)),n=x0(t.substring(3)).toString(16),l="";for(let a=0;a<6-n.length;a++)l+="0";return e[r]=`${l}${n}`,e},{});function vb(e){let t=e.toLowerCase().trim(),r=gb[fb(t)];if(!r)throw new Un(e);return`#${r}`}var Gn=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),Ib=new RegExp(`^#${Gn("([a-f0-9])",3)}([a-f0-9])?$`,"i"),bb=new RegExp(`^#${Gn("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),yb=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Gn(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Cb=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,xb=/^[a-z]+$/i,P0=e=>Math.round(e*255),Pb=(e,t,r)=>{let n=r/100;if(t===0)return[n,n,n].map(P0);let l=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*(t/100),c=a*(1-Math.abs(l%2-1)),s=0,u=0,p=0;l>=0&&l<1?(s=a,u=c):l>=1&&l<2?(s=c,u=a):l>=2&&l<3?(u=a,p=c):l>=3&&l<4?(u=c,p=a):l>=4&&l<5?(s=c,p=a):l>=5&&l<6&&(s=a,p=c);let i=n-a/2,g=s+i,h=u+i,y=p+i;return[g,h,y].map(P0)};function Sb(e,t,r,n){return`rgba(${Zo(0,255,e).toFixed()}, ${Zo(0,255,t).toFixed()}, ${Zo(0,255,r).toFixed()}, ${parseFloat(Zo(0,1,n).toFixed(3))})`}function Vn(e,t){let[r,n,l,a]=hb(e);return Sb(r,n,l,a-t)}import{forwardRef as wb,useMemo as kb}from"react";import{jsx as Qo,jsxs as S0}from"react/jsx-runtime";var pe=wb(function({header:t,footer:r,color:n,isGlass:l=!1,hoverable:a=!1,p:c,gap:s,radius:u=8,children:p,className:i,classNames:g,style:h,styles:y,...b},f){let{cardColor:v,backgroundColor:C,borderColor:x}=kb(()=>{let I=Mb.getComputedColor(n);return I?{cardColor:I,backgroundColor:Vn(I,.9),borderColor:Vn(I,.8)}:{cardColor:I}},[n]);return Qo("div",{className:Gt("cleen",i),style:h,ref:f,...b,children:S0("div",{className:Gt("cleen-bg-background cleen-pt-6 cleen-border cleen-border-border cleen-flex cleen-flex-col cleen-gap-6 cleen-flex-grow cleen-transition-all cleen-duration-200",a&&"hover:cleen-border-neutral-300 hover:cleen-shadow-md",r?.content?"cleen-pb-3":"cleen-pb-6",g?.container),style:{...v&&{backgroundColor:C,borderColor:x,color:v},...l&&{backgroundImage:`linear-gradient(to right, rgba(var(--cleen-black), 0.03) 0%, rgba(255, 255, 255, 0) 5%),
2
- linear-gradient(to bottom, rgba(var(--cleen-black), 0.03) 0%, rgba(255, 255, 255, 0) 10%)`},...c!==void 0&&{paddingBlock:c},...s!==void 0&&{gap:s},borderRadius:u,...y?.container},children:[(t?.content||t?.title)&&S0("div",{className:Gt("cleen-px-6",g?.header?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.header?.content},children:[t?.title&&Qo("div",{className:Gt("cleen-text-xl cleen-font-bold cleen-text-foreground-emphasis",g?.header?.title),style:{...v&&{color:v},...y?.header?.title},children:t?.title}),t?.content]}),(t?.content||t?.title)&&t?.hasDivider&&Qo("hr",{className:Gt("cleen-text-neutral-200",g?.header?.divider),style:{...v&&{color:x},...y?.header?.divider}}),p&&Qo("div",{className:Gt("cleen-px-6",g?.childrenContainer),style:{...c!==void 0&&{paddingInline:c},...y?.childrenContainer},children:p}),r?.content&&r?.hasDivider&&Qo("hr",{className:Gt("cleen-text-neutral-200",g?.footer?.divider),style:{...v&&{color:x},...y?.footer?.divider}}),r?.content&&Qo("div",{className:Gt("cleen-px-6 -cleen-mt-3 cleen-text-foreground",g?.footer?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.footer?.content},children:r.content})]})})});import{jsx as Bb}from"react/jsx-runtime";function o({size:e=24,width:t,height:r,strokeWidth:n=1.5,isFilled:l=!1,children:a,...c}){return delete c.color1,delete c.color2,Bb("svg",{xmlns:"http://www.w3.org/2000/svg",width:t??e,height:r??e,viewBox:"0 0 24 24",fill:l?"currentColor":"none",stroke:"currentColor",strokeWidth:l?0:n,strokeLinecap:"round",strokeLinejoin:"round",...c,children:a})}import{jsx as M0,jsxs as Rb}from"react/jsx-runtime";var $c=e=>Rb(o,{...e,children:[M0("path",{d:"M9 10.5l2 2l4 -4"}),M0("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})]});import{jsx as w0}from"react/jsx-runtime";var qc=e=>w0(o,{isFilled:!0,...e,children:w0("path",{d:"M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1 -1.555 .832l-5.445 -3.63l-5.444 3.63a1 1 0 0 1 -1.55 -.72l-.006 -.112v-14a5 5 0 0 1 5 -5h4zM15.707 7.293a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as Xc,jsxs as Lb}from"react/jsx-runtime";var Kc=e=>Lb(o,{...e,children:[Xc("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v5"}),Xc("path",{d:"M16 19h6"}),Xc("path",{d:"M19 16v6"})]});import{jsx as Vt,jsxs as Db}from"react/jsx-runtime";var Zc=e=>Db(o,{...e,children:[Vt("path",{d:"M3 21l18 0"}),Vt("path",{d:"M9 8l1 0"}),Vt("path",{d:"M9 12l1 0"}),Vt("path",{d:"M9 16l1 0"}),Vt("path",{d:"M14 8l1 0"}),Vt("path",{d:"M14 12l1 0"}),Vt("path",{d:"M14 16l1 0"}),Vt("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16"})]});import{jsx as k0,jsxs as Tb}from"react/jsx-runtime";var Qc=e=>Tb(o,{...e,children:[k0("path",{d:"M10 4h4a1 1 0 0 1 1 1v10M12 20h-2a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1"}),k0("path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39"})]});import{jsx as Ba,jsxs as Nb}from"react/jsx-runtime";var Yc=e=>Nb(o,{...e,children:[Ba("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ba("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Ba("path",{d:"M16.32 3.27a6.5 6.5 0 0 1 0 7.46"}),Ba("path",{d:"M19.37 1.84a9 9 0 0 1 0 10.32"})]});import{jsx as Wn,jsxs as Fb}from"react/jsx-runtime";var Jc=e=>Fb(o,{viewBox:"0 0 48 48",...e,children:[Wn("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),Wn("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),Wn("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),Wn("path",{d:"M24 18v8"}),Wn("path",{d:"M24 30h.01"})]});import{jsx as Ra,jsxs as Eb}from"react/jsx-runtime";var jc=e=>Eb(o,{viewBox:"0 0 48 48",...e,children:[Ra("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),Ra("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),Ra("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),Ra("path",{d:"M18 24l4 4l8 -8"})]});import{jsx as es,jsxs as Ab}from"react/jsx-runtime";var ho=e=>Ab(o,{...e,children:[es("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),es("path",{d:"M12 8v4"}),es("path",{d:"M12 16h.01"})]});import{jsx as B0}from"react/jsx-runtime";var ts=e=>B0(o,{isFilled:!0,...e,children:B0("path",{d:"M14.897 1a4 4 0 0 1 2.664 1.016l.165 .156l4.1 4.1a4 4 0 0 1 1.168 2.605l.006 .227v5.794a4 4 0 0 1 -1.016 2.664l-.156 .165l-4.1 4.1a4 4 0 0 1 -2.603 1.168l-.227 .006h-5.795a3.999 3.999 0 0 1 -2.664 -1.017l-.165 -.156l-4.1 -4.1a4 4 0 0 1 -1.168 -2.604l-.006 -.227v-5.794a4 4 0 0 1 1.016 -2.664l.156 -.165l4.1 -4.1a4 4 0 0 1 2.605 -1.168l.227 -.006h5.793zm-2.887 14l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z"})});import{jsx as os,jsxs as zb}from"react/jsx-runtime";var ns=e=>zb(o,{...e,children:[os("path",{d:"M12 9v4"}),os("path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z"}),os("path",{d:"M12 16h.01"})]});import{jsx as $n,jsxs as Ob}from"react/jsx-runtime";var rs=e=>Ob(o,{...e,children:[$n("path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M14 7l6 0"}),$n("path",{d:"M17 4l0 6"})]});import{jsx as as,jsxs as _b}from"react/jsx-runtime";var ls=e=>_b(o,{...e,children:[as("path",{d:"M3 4m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),as("path",{d:"M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10"}),as("path",{d:"M10 12l4 0"})]});import{jsx as La,jsxs as Hb}from"react/jsx-runtime";var cs=e=>Hb(o,{...e,children:[La("path",{d:"M12 20l0 -10"}),La("path",{d:"M12 20l4 -4"}),La("path",{d:"M12 20l-4 -4"}),La("path",{d:"M4 4l16 0"})]});import{jsx as Da,jsxs as Ub}from"react/jsx-runtime";var ss=e=>Ub(o,{...e,children:[Da("path",{d:"M4 12l10 0"}),Da("path",{d:"M4 12l4 4"}),Da("path",{d:"M4 12l4 -4"}),Da("path",{d:"M20 4l0 16"})]});import{jsx as Ta,jsxs as Gb}from"react/jsx-runtime";var is=e=>Gb(o,{...e,children:[Ta("path",{d:"M20 12l-10 0"}),Ta("path",{d:"M20 12l-4 4"}),Ta("path",{d:"M20 12l-4 -4"}),Ta("path",{d:"M4 4l0 16"})]});import{jsx as Na,jsxs as Vb}from"react/jsx-runtime";var ps=e=>Vb(o,{...e,children:[Na("path",{d:"M4 20l16 0"}),Na("path",{d:"M12 14l0 -10"}),Na("path",{d:"M12 14l4 -4"}),Na("path",{d:"M12 14l-4 -4"})]});import{jsx as Fa,jsxs as Wb}from"react/jsx-runtime";var ds=e=>Wb(o,{...e,children:[Fa("path",{d:"M10 12l10 0"}),Fa("path",{d:"M10 12l4 4"}),Fa("path",{d:"M10 12l4 -4"}),Fa("path",{d:"M4 4l0 16"})]});import{jsx as Ea,jsxs as $b}from"react/jsx-runtime";var ms=e=>$b(o,{...e,children:[Ea("path",{d:"M14 12l-10 0"}),Ea("path",{d:"M14 12l-4 4"}),Ea("path",{d:"M14 12l-4 -4"}),Ea("path",{d:"M20 4l0 16"})]});import{jsx as Aa,jsxs as qb}from"react/jsx-runtime";var us=e=>qb(o,{...e,children:[Aa("path",{d:"M12 10l0 10"}),Aa("path",{d:"M12 10l4 4"}),Aa("path",{d:"M12 10l-4 4"}),Aa("path",{d:"M4 4l16 0"})]});import{jsx as za,jsxs as Xb}from"react/jsx-runtime";var hs=e=>Xb(o,{...e,children:[za("path",{d:"M12 4l0 10"}),za("path",{d:"M12 4l4 4"}),za("path",{d:"M12 4l-4 4"}),za("path",{d:"M4 20l16 0"})]});import{jsx as fs,jsxs as Kb}from"react/jsx-runtime";var gs=e=>Kb(o,{...e,children:[fs("path",{d:"M12 5l0 14"}),fs("path",{d:"M18 13l-6 6"}),fs("path",{d:"M6 13l6 6"})]});import{jsx as R0,jsxs as Zb}from"react/jsx-runtime";var vs=e=>Zb(o,{...e,children:[R0("path",{d:"M17 7l-10 10"}),R0("path",{d:"M16 17l-9 0l0 -9"})]});import{jsx as Is,jsxs as Qb}from"react/jsx-runtime";var bs=e=>Qb(o,{...e,children:[Is("path",{d:"M12 5l0 14"}),Is("path",{d:"M16 15l-4 4"}),Is("path",{d:"M8 15l4 4"})]});import{jsx as L0,jsxs as Yb}from"react/jsx-runtime";var ys=e=>Yb(o,{...e,children:[L0("path",{d:"M7 7l10 10"}),L0("path",{d:"M17 8l0 9l-9 0"})]});import{jsx as Cs,jsxs as Jb}from"react/jsx-runtime";var xs=e=>Jb(o,{...e,children:[Cs("path",{d:"M5 12l14 0"}),Cs("path",{d:"M5 12l6 6"}),Cs("path",{d:"M5 12l6 -6"})]});import{jsx as Ps,jsxs as jb}from"react/jsx-runtime";var Ss=e=>jb(o,{...e,children:[Ps("path",{d:"M5 12l14 0"}),Ps("path",{d:"M5 12l4 4"}),Ps("path",{d:"M5 12l4 -4"})]});import{jsx as Ms,jsxs as ey}from"react/jsx-runtime";var ws=e=>ey(o,{...e,children:[Ms("path",{d:"M5 12l14 0"}),Ms("path",{d:"M13 18l6 -6"}),Ms("path",{d:"M13 6l6 6"})]});import{jsx as ks,jsxs as ty}from"react/jsx-runtime";var Bs=e=>ty(o,{...e,children:[ks("path",{d:"M5 12l14 0"}),ks("path",{d:"M15 16l4 -4"}),ks("path",{d:"M15 8l4 4"})]});import{jsx as Rs,jsxs as oy}from"react/jsx-runtime";var Ls=e=>oy(o,{...e,children:[Rs("path",{d:"M12 5l0 14"}),Rs("path",{d:"M18 11l-6 -6"}),Rs("path",{d:"M6 11l6 -6"})]});import{jsx as D0,jsxs as ny}from"react/jsx-runtime";var Ds=e=>ny(o,{...e,children:[D0("path",{d:"M7 7l10 10"}),D0("path",{d:"M16 7l-9 0l0 9"})]});import{jsx as Ts,jsxs as ry}from"react/jsx-runtime";var Ns=e=>ry(o,{...e,children:[Ts("path",{d:"M12 5l0 14"}),Ts("path",{d:"M16 9l-4 -4"}),Ts("path",{d:"M8 9l4 -4"})]});import{jsx as T0,jsxs as ay}from"react/jsx-runtime";var Fs=e=>ay(o,{...e,children:[T0("path",{d:"M17 7l-10 10"}),T0("path",{d:"M8 7l9 0l0 9"})]});import{jsx as N0}from"react/jsx-runtime";var Es=e=>N0(o,{...e,children:N0("path",{d:"M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5"})});import{jsx as Oa,jsxs as ly}from"react/jsx-runtime";var As=e=>ly(o,{...e,children:[Oa("path",{d:"M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),Oa("path",{d:"M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),Oa("path",{d:"M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),Oa("path",{d:"M4 20h14"})]});import{jsx as qn,jsxs as cy}from"react/jsx-runtime";var zs=e=>cy(o,{...e,children:[qn("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),qn("path",{d:"M6 14.5a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v3a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M14 11a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v6.5a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M10 7a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v10.5a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M7 18.5h10"})]});import{jsx as F0,jsxs as sy}from"react/jsx-runtime";var Os=e=>sy(o,{...e,children:[F0("path",{d:"M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"}),F0("path",{d:"M9 17v1a3 3 0 0 0 6 0v-1"})]});import{jsx as E0,jsxs as iy}from"react/jsx-runtime";var _s=e=>iy(o,{...e,children:[E0("path",{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}),E0("path",{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"})]});import{jsx as A0}from"react/jsx-runtime";var Hs=e=>A0(o,{...e,children:A0("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})});import{jsx as z0}from"react/jsx-runtime";var Us=e=>z0(o,{isFilled:!0,...e,children:z0("path",{d:"M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1 -1.555 .832l-5.445 -3.63l-5.444 3.63a1 1 0 0 1 -1.55 -.72l-.006 -.112v-14a5 5 0 0 1 5 -5h4z"})});import{jsx as O0,jsxs as py}from"react/jsx-runtime";var Gs=e=>py(o,{...e,children:[O0("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v8"}),O0("path",{d:"M16 19h6"})]});import{jsx as Vs,jsxs as dy}from"react/jsx-runtime";var Ws=e=>dy(o,{...e,children:[Vs("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v6.5"}),Vs("path",{d:"M20.5 21.5l-5 -5"}),Vs("path",{d:"M15.5 21.5l5 -5"})]});import{jsx as Xn,jsxs as my}from"react/jsx-runtime";var $s=e=>my(o,{...e,children:[Xn("path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Xn("path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Xn("path",{d:"M3 6l0 13"}),Xn("path",{d:"M12 6l0 13"}),Xn("path",{d:"M21 6l0 13"})]});import{jsx as _a,jsxs as uy}from"react/jsx-runtime";var qs=e=>uy(o,{...e,children:[_a("path",{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),_a("path",{d:"M9 13h-2"}),_a("path",{d:"M13 10h-6"}),_a("path",{d:"M11 7h-4"})]});import{jsx as Xs,jsxs as hy}from"react/jsx-runtime";var Ks=e=>hy(o,{...e,children:[Xs("path",{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),Xs("path",{d:"M10 8h4"}),Xs("path",{d:"M12 8v8"})]});import{jsx as Zs,jsxs as fy}from"react/jsx-runtime";var Qs=e=>fy(o,{...e,children:[Zs("path",{d:"M9 12l2 2l4 -4"}),Zs("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Zs("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as Kn,jsxs as gy}from"react/jsx-runtime";var Ys=e=>gy(o,{...e,children:[Kn("path",{d:"M15 12h.01"}),Kn("path",{d:"M12 12h.01"}),Kn("path",{d:"M9 12h.01"}),Kn("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Kn("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as xt,jsxs as vy}from"react/jsx-runtime";var Js=e=>vy(o,{...e,children:[xt("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),xt("path",{d:"M4 8h16"}),xt("path",{d:"M20 12h-16"}),xt("path",{d:"M4 16h16"}),xt("path",{d:"M9 4v4"}),xt("path",{d:"M14 8v4"}),xt("path",{d:"M8 12v4"}),xt("path",{d:"M16 12v4"}),xt("path",{d:"M11 16v4"})]});import{jsx as Ha,jsxs as Iy}from"react/jsx-runtime";var js=e=>Iy(o,{...e,children:[Ha("path",{d:"M3 7m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),Ha("path",{d:"M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2"}),Ha("path",{d:"M12 12l0 .01"}),Ha("path",{d:"M3 13a20 20 0 0 0 18 0"})]});import{jsx as Wt,jsxs as by}from"react/jsx-runtime";var ei=e=>by(o,{...e,children:[Wt("path",{d:"M4 3m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Wt("path",{d:"M8 7m0 1a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v1a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1z"}),Wt("path",{d:"M8 14l0 .01"}),Wt("path",{d:"M12 14l0 .01"}),Wt("path",{d:"M16 14l0 .01"}),Wt("path",{d:"M8 17l0 .01"}),Wt("path",{d:"M12 17l0 .01"}),Wt("path",{d:"M16 17l0 .01"})]});import{jsx as Yo,jsxs as yy}from"react/jsx-runtime";var Zn=e=>yy(o,{...e,children:[Yo("path",{d:"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12z"}),Yo("path",{d:"M16 3v4"}),Yo("path",{d:"M8 3v4"}),Yo("path",{d:"M4 11h16"}),Yo("path",{d:"M11 15h1"}),Yo("path",{d:"M12 15v3"})]});import{jsx as Jo,jsxs as Cy}from"react/jsx-runtime";var ti=e=>Cy(o,{...e,children:[Jo("path",{d:"M15 15m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Jo("path",{d:"M13 17.5v4.5l2 -1.5l2 1.5v-4.5"}),Jo("path",{d:"M10 19h-5a2 2 0 0 1 -2 -2v-10c0 -1.1 .9 -2 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -1 1.73"}),Jo("path",{d:"M6 9l12 0"}),Jo("path",{d:"M6 12l3 0"}),Jo("path",{d:"M6 15l2 0"})]});import{jsx as _0}from"react/jsx-runtime";var Pt=e=>_0(o,{...e,children:_0("path",{d:"M5 12l5 5l10 -10"})});import{jsx as H0,jsxs as xy}from"react/jsx-runtime";var fo=e=>xy(o,{...e,children:[H0("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),H0("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as U0,jsxs as Py}from"react/jsx-runtime";var oi=e=>Py(o,{...e,children:[U0("path",{d:"M16.8 4.3a9 9 0 1 0 4.3 6.1"}),U0("path",{d:"M8.5 12l3 3l9.5 -10"})]});import{jsx as G0}from"react/jsx-runtime";var ni=e=>G0(o,{isFilled:!0,...e,children:G0("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as V0,jsxs as Sy}from"react/jsx-runtime";var ri=e=>Sy(o,{...e,children:[V0("path",{d:"M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1"}),V0("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as W0}from"react/jsx-runtime";var ai=e=>W0(o,{isFilled:!0,...e,children:W0("path",{d:"M12.01 2.011a3.2 3.2 0 0 1 2.113 .797l.154 .145l.698 .698a1.2 1.2 0 0 0 .71 .341l.135 .008h1a3.2 3.2 0 0 1 3.195 3.018l.005 .182v1c0 .27 .092 .533 .258 .743l.09 .1l.697 .698a3.2 3.2 0 0 1 .147 4.382l-.145 .154l-.698 .698a1.2 1.2 0 0 0 -.341 .71l-.008 .135v1a3.2 3.2 0 0 1 -3.018 3.195l-.182 .005h-1a1.2 1.2 0 0 0 -.743 .258l-.1 .09l-.698 .697a3.2 3.2 0 0 1 -4.382 .147l-.154 -.145l-.698 -.698a1.2 1.2 0 0 0 -.71 -.341l-.135 -.008h-1a3.2 3.2 0 0 1 -3.195 -3.018l-.005 -.182v-1a1.2 1.2 0 0 0 -.258 -.743l-.09 -.1l-.697 -.698a3.2 3.2 0 0 1 -.147 -4.382l.145 -.154l.698 -.698a1.2 1.2 0 0 0 .341 -.71l.008 -.135v-1l.005 -.182a3.2 3.2 0 0 1 3.013 -3.013l.182 -.005h1a1.2 1.2 0 0 0 .743 -.258l.1 -.09l.698 -.697a3.2 3.2 0 0 1 2.269 -.944zm3.697 7.282a1 1 0 0 0 -1.414 0l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.32 1.497l2 2l.094 .083a1 1 0 0 0 1.32 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as $0}from"react/jsx-runtime";var Qn=e=>$0(o,{...e,children:$0("path",{d:"M6 9l6 6l6 -6"})});import{jsx as q0,jsxs as My}from"react/jsx-runtime";var li=e=>My(o,{...e,children:[q0("path",{d:"M7 7l5 5l5 -5"}),q0("path",{d:"M7 13l5 5l5 -5"})]});import{jsx as X0}from"react/jsx-runtime";var ci=e=>X0(o,{...e,children:X0("path",{d:"M8 8v8h8"})});import{jsx as K0,jsxs as wy}from"react/jsx-runtime";var si=e=>wy(o,{...e,children:[K0("path",{d:"M11 5v8h8"}),K0("path",{d:"M7 9v8h8"})]});import{jsx as Z0}from"react/jsx-runtime";var ii=e=>Z0(o,{...e,children:Z0("path",{d:"M16 8v8h-8"})});import{jsx as Q0,jsxs as ky}from"react/jsx-runtime";var pi=e=>ky(o,{...e,children:[Q0("path",{d:"M13 5v8h-8"}),Q0("path",{d:"M17 9v8h-8"})]});import{jsx as Y0}from"react/jsx-runtime";var St=e=>Y0(o,{...e,children:Y0("path",{d:"M15 6l-6 6l6 6"})});import{jsx as J0,jsxs as By}from"react/jsx-runtime";var di=e=>By(o,{...e,children:[J0("path",{d:"M11 7l-5 5l5 5"}),J0("path",{d:"M17 7l-5 5l5 5"})]});import{jsx as j0}from"react/jsx-runtime";var je=e=>j0(o,{...e,children:j0("path",{d:"M9 6l6 6l-6 6"})});import{jsx as ef,jsxs as Ry}from"react/jsx-runtime";var Yn=e=>Ry(o,{...e,children:[ef("path",{d:"M7 7l5 5l-5 5"}),ef("path",{d:"M13 7l5 5l-5 5"})]});import{jsx as tf,jsxs as Ly}from"react/jsx-runtime";var mi=e=>Ly(o,{...e,children:[tf("path",{d:"M8 9l4 -4l4 4"}),tf("path",{d:"M16 15l-4 4l-4 -4"})]});import{jsx as of}from"react/jsx-runtime";var Mt=e=>of(o,{...e,children:of("path",{d:"M6 15l6 -6l6 6"})});import{jsx as nf,jsxs as Dy}from"react/jsx-runtime";var ui=e=>Dy(o,{...e,children:[nf("path",{d:"M7 11l5 -5l5 5"}),nf("path",{d:"M7 17l5 -5l5 5"})]});import{jsx as rf}from"react/jsx-runtime";var hi=e=>rf(o,{...e,children:rf("path",{d:"M8 16v-8h8"})});import{jsx as af,jsxs as Ty}from"react/jsx-runtime";var fi=e=>Ty(o,{...e,children:[af("path",{d:"M7 15v-8h8"}),af("path",{d:"M11 19v-8h8"})]});import{jsx as lf}from"react/jsx-runtime";var gi=e=>lf(o,{...e,children:lf("path",{d:"M8 8h8v8"})});import{jsx as cf,jsxs as Ny}from"react/jsx-runtime";var vi=e=>Ny(o,{...e,children:[cf("path",{d:"M9 7h8v8"}),cf("path",{d:"M5 11h8v8"})]});import{jsx as jo,jsxs as Fy}from"react/jsx-runtime";var Ii=e=>Fy(o,{...e,children:[jo("path",{d:"M3 12l3 0"}),jo("path",{d:"M12 3l0 3"}),jo("path",{d:"M7.8 7.8l-2.2 -2.2"}),jo("path",{d:"M16.2 7.8l2.2 -2.2"}),jo("path",{d:"M7.8 16.2l-2.2 2.2"}),jo("path",{d:"M12 12l9 3l-4 2l-2 4l-3 -9"})]});import{jsx as sf,jsxs as Ey}from"react/jsx-runtime";var bi=e=>Ey(o,{...e,children:[sf("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),sf("path",{d:"M12 7v5l3 3"})]});import{jsx as Ua,jsxs as Ay}from"react/jsx-runtime";var yi=e=>Ay(o,{...e,children:[Ua("path",{d:"M12 7v5l2 2"}),Ua("path",{d:"M16.5 20.5l2 -1.5l-2 -1.5z"}),Ua("path",{d:"M19 20.5l2 -1.5l-2 -1.5z"}),Ua("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as Ci,jsxs as zy}from"react/jsx-runtime";var xi=e=>zy(o,{...e,children:[Ci("path",{d:"M12 7v5l2 2"}),Ci("path",{d:"M17 22l5 -3l-5 -3z"}),Ci("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as pf,jsxs as Oy}from"react/jsx-runtime";var Pi=e=>Oy(o,{...e,children:[pf("path",{d:"M12 8l0 4l2 2"}),pf("path",{d:"M3.05 13a9 9 0 1 0 .5 -4m-.5 -5v5h5"})]});import{jsx as Jn,jsxs as _y}from"react/jsx-runtime";var Si=e=>_y(o,{...e,children:[Jn("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Jn("path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667v-8.666"}),Jn("path",{d:"M11 14h6"}),Jn("path",{d:"M14 11v6"}),Jn("path",{d:"M4.012 16.737a2 2 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"})]});import{jsx as Mi,jsxs as Hy}from"react/jsx-runtime";var wi=e=>Hy(o,{...e,children:[Mi("path",{d:"M7 8l-4 4l4 4"}),Mi("path",{d:"M17 8l4 4l-4 4"}),Mi("path",{d:"M14 4l-4 16"})]});import{jsx as en,jsxs as Uy}from"react/jsx-runtime";var ki=e=>Uy(o,{...e,children:[en("path",{d:"M4 8h16"}),en("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),en("path",{d:"M8 4v4"}),en("path",{d:"M9 12l-2 2l2 2"}),en("path",{d:"M15 12l2 2l-2 2"}),en("path",{d:"M13 11l-2 6"})]});import{jsx as Bi,jsxs as Gy}from"react/jsx-runtime";var Ri=e=>Gy(o,{...e,children:[Bi("path",{d:"M10 14l-2 -2l2 -2"}),Bi("path",{d:"M14 10l2 2l-2 2"}),Bi("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Li,jsxs as Vy}from"react/jsx-runtime";var Di=e=>Vy(o,{...e,children:[Li("path",{d:"M12 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Li("path",{d:"M6.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Li("path",{d:"M17.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})]});import{jsx as df,jsxs as Wy}from"react/jsx-runtime";var Ti=e=>Wy(o,{...e,children:[df("path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z"}),df("path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"})]});import{jsx as mf,jsxs as $y}from"react/jsx-runtime";var Ni=e=>$y(o,{...e,children:[mf("path",{d:"M8 10a2 2 0 0 1 2 -2h9a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-9a2 2 0 0 1 -2 -2z"}),mf("path",{d:"M16 8v-3a2 2 0 0 0 -2 -2h-9a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h3"})]});import{jsx as Fi,jsxs as qy}from"react/jsx-runtime";var Ei=e=>qy(o,{...e,children:[Fi("path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z"}),Fi("path",{d:"M4.012 16.737a2 2 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"}),Fi("path",{d:"M11 14l2 2l4 -4"})]});import{jsx as Ga,jsxs as Xy}from"react/jsx-runtime";var Ai=e=>Xy(o,{...e,children:[Ga("path",{d:"M3 5m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),Ga("path",{d:"M3 10l18 0"}),Ga("path",{d:"M7 15l.01 0"}),Ga("path",{d:"M11 15l2 0"})]});import{jsx as Va,jsxs as Ky}from"react/jsx-runtime";var zi=e=>Ky(o,{...e,children:[Va("path",{d:"M21 16.008v-8.018a1.98 1.98 0 0 0 -1 -1.717l-7 -4.008a2.016 2.016 0 0 0 -2 0l-7 4.008c-.619 .355 -1 1.01 -1 1.718v8.018c0 .709 .381 1.363 1 1.717l7 4.008a2.016 2.016 0 0 0 2 0l7 -4.008c.619 -.355 1 -1.01 1 -1.718z"}),Va("path",{d:"M12 22v-10"}),Va("path",{d:"M12 12l8.73 -5.04"}),Va("path",{d:"M3.27 6.96l8.73 5.04"})]});import{jsx as Ue,jsxs as Zy}from"react/jsx-runtime";var Oi=e=>Zy(o,{...e,children:[Ue("path",{d:"M6 17.6l-2 -1.1v-2.5"}),Ue("path",{d:"M4 10v-2.5l2 -1.1"}),Ue("path",{d:"M10 4.1l2 -1.1l2 1.1"}),Ue("path",{d:"M18 6.4l2 1.1v2.5"}),Ue("path",{d:"M20 14v2.5l-2 1.12"}),Ue("path",{d:"M14 19.9l-2 1.1l-2 -1.1"}),Ue("path",{d:"M12 12l2 -1.1"}),Ue("path",{d:"M18 8.6l2 -1.1"}),Ue("path",{d:"M12 12l0 2.5"}),Ue("path",{d:"M12 18.5l0 2.5"}),Ue("path",{d:"M12 12l-2 -1.12"}),Ue("path",{d:"M6 8.6l-2 -1.1"})]});import{jsx as uf,jsxs as Qy}from"react/jsx-runtime";var jn=e=>Qy(o,{...e,children:[uf("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v5.5M10.5 20h-5.5a2 2 0 0 1 -2 -2v-13"}),uf("path",{d:"M18 17l2.822 -1.101c.8125 -.317 .769 -1.481 -.065 -1.7365l-7.1595 -2.191c-.705 -.215 -1.365 .444 -1.149 1.149l2.191 7.159c.255 .834 1.42 .877 1.7365 .065l1.101 -2.822a.92 .92 0 0 1 .5225 -.5225"})]});import{jsx as go,jsxs as Yy}from"react/jsx-runtime";var _i=e=>Yy(o,{...e,children:[go("path",{d:"M5 2h5v4h-5z"}),go("path",{d:"M15 10h5v4h-5z"}),go("path",{d:"M5 18h5v4h-5z"}),go("path",{d:"M5 10h5v4h-5z"}),go("path",{d:"M10 12h5"}),go("path",{d:"M7.5 6v4"}),go("path",{d:"M7.5 14v4"})]});import{jsx as Ge,jsxs as Jy}from"react/jsx-runtime";var Hi=e=>Jy(o,{...e,children:[Ge("path",{d:"M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M12 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M20 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M4 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M16 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M5 17l2 -3"}),Ge("path",{d:"M9 10l2 -3"}),Ge("path",{d:"M13 7l2 3"}),Ge("path",{d:"M17 14l2 3"}),Ge("path",{d:"M15 14l-2 3"}),Ge("path",{d:"M9 14l2 3"})]});import{jsx as er,jsxs as jy}from"react/jsx-runtime";var Ui=e=>jy(o,{...e,children:[er("path",{d:"M3 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M15 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1"}),er("path",{d:"M12 9l0 3"})]});import{jsx as Gi,jsxs as eC}from"react/jsx-runtime";var Vi=e=>eC(o,{...e,children:[Gi("path",{d:"M4 4l16 0"}),Gi("path",{d:"M4 20l16 0"}),Gi("path",{d:"M6 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]});import{jsx as hf,jsxs as tC}from"react/jsx-runtime";var Wi=e=>tC(o,{...e,children:[hf("path",{d:"M16.7 8a3 3 0 0 0 -2.7 -2h-4a3 3 0 0 0 0 6h4a3 3 0 0 1 0 6h-4a3 3 0 0 1 -2.7 -2"}),hf("path",{d:"M12 3v3m0 12v3"})]});import{jsx as $i,jsxs as oC}from"react/jsx-runtime";var qi=e=>oC(o,{...e,children:[$i("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),$i("path",{d:"M14.8 9a2 2 0 0 0 -1.8 -1h-2a2 2 0 1 0 0 4h2a2 2 0 1 1 0 4h-2a2 2 0 0 1 -1.8 -1"}),$i("path",{d:"M12 7v10"})]});import{jsx as ff}from"react/jsx-runtime";var Xi=e=>ff(o,{...e,children:ff("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})});import{jsx as gf}from"react/jsx-runtime";var Ki=e=>gf(o,{isFilled:!0,...e,children:gf("path",{d:"M12 7a5 5 0 1 1 -4.995 5.217l-.005 -.217l.005 -.217a5 5 0 0 1 4.995 -4.783z"})});import{jsx as wt,jsxs as nC}from"react/jsx-runtime";var Zi=e=>nC(o,{...e,children:[wt("path",{d:"M5 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M19 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M5 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M19 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Qi,jsxs as rC}from"react/jsx-runtime";var Yi=e=>rC(o,{...e,children:[Qi("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Qi("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Qi("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Ji,jsxs as aC}from"react/jsx-runtime";var tn=e=>aC(o,{...e,children:[Ji("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ji("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ji("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as ji,jsxs as lC}from"react/jsx-runtime";var ep=e=>lC(o,{...e,children:[ji("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),ji("path",{d:"M7 11l5 5l5 -5"}),ji("path",{d:"M12 4l0 12"})]});import{jsx as vf,jsxs as cC}from"react/jsx-runtime";var tp=e=>cC(o,{...e,children:[vf("path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),vf("path",{d:"M13.5 6.5l4 4"})]});import{jsx as op,jsxs as sC}from"react/jsx-runtime";var np=e=>sC(o,{...e,children:[op("path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"}),op("path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"}),op("path",{d:"M16 5l3 3"})]});import{jsx as $t,jsxs as iC}from"react/jsx-runtime";var rp=e=>iC(o,{...e,children:[$t("path",{d:"M16 4l4 0l0 4"}),$t("path",{d:"M14 10l6 -6"}),$t("path",{d:"M8 20l-4 0l0 -4"}),$t("path",{d:"M4 20l6 -6"}),$t("path",{d:"M16 20l4 0l0 -4"}),$t("path",{d:"M14 14l6 6"}),$t("path",{d:"M8 4l-4 0l0 4"}),$t("path",{d:"M4 4l6 6"})]});import{jsx as ap,jsxs as pC}from"react/jsx-runtime";var lp=e=>pC(o,{...e,children:[ap("path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"}),ap("path",{d:"M11 13l9 -9"}),ap("path",{d:"M15 4h5v5"})]});import{jsx as cp,jsxs as dC}from"react/jsx-runtime";var sp=e=>dC(o,{...e,children:[cp("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),cp("path",{d:"M15 9l-6 6"}),cp("path",{d:"M10 9l5 0l0 5"})]});import{jsx as If,jsxs as mC}from"react/jsx-runtime";var ip=e=>mC(o,{...e,children:[If("path",{d:"M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),If("path",{d:"M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"})]});import{jsx as pp,jsxs as uC}from"react/jsx-runtime";var dp=e=>uC(o,{...e,children:[pp("path",{d:"M10.585 10.587a2 2 0 0 0 2.829 2.828"}),pp("path",{d:"M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87"}),pp("path",{d:"M3 3l18 18"})]});import{jsx as tr,jsxs as hC}from"react/jsx-runtime";var mp=e=>hC(o,{...e,children:[tr("path",{d:"M21 9c-2.4 2.667 -5.4 4 -9 4c-3.6 0 -6.6 -1.333 -9 -4"}),tr("path",{d:"M3 15l2.5 -3.8"}),tr("path",{d:"M21 14.976l-2.492 -3.776"}),tr("path",{d:"M9 17l.5 -4"}),tr("path",{d:"M15 17l-.5 -4"})]});import{jsx as Wa,jsxs as fC}from"react/jsx-runtime";var up=e=>fC(o,{...e,children:[Wa("path",{d:"M12 21a9 9 0 1 1 0 -18a9 9 0 0 1 0 18z"}),Wa("path",{d:"M8 9l2 1"}),Wa("path",{d:"M16 9l-2 1"}),Wa("path",{d:"M14.5 16.05a3.5 3.5 0 0 0 -5 0"})]});import{jsx as on,jsxs as gC}from"react/jsx-runtime";var hp=e=>gC(o,{...e,children:[on("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),on("path",{d:"M7 8.5l3 3"}),on("path",{d:"M7 11.5l3 -3"}),on("path",{d:"M14 8.5l3 3"}),on("path",{d:"M14 11.5l3 -3"}),on("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as $a,jsxs as vC}from"react/jsx-runtime";var fp=e=>vC(o,{...e,children:[$a("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),$a("path",{d:"M9 10l.01 0"}),$a("path",{d:"M15 10l.01 0"}),$a("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as bf,jsxs as IC}from"react/jsx-runtime";var vo=e=>IC(o,{...e,children:[bf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),bf("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"})]});import{jsx as gp,jsxs as bC}from"react/jsx-runtime";var vp=e=>bC(o,{...e,children:[gp("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),gp("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),gp("path",{d:"M9 15l2 2l4 -4"})]});import{jsx as or,jsxs as yC}from"react/jsx-runtime";var nr=e=>yC(o,{...e,children:[or("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),or("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),or("path",{d:"M7 16.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0"}),or("path",{d:"M10 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),or("path",{d:"M16 15l2 6l2 -6"})]});import{jsx as qa,jsxs as CC}from"react/jsx-runtime";var Ip=e=>CC(o,{...e,children:[qa("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),qa("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),qa("path",{d:"M12 17v-6"}),qa("path",{d:"M9.5 14.5l2.5 2.5l2.5 -2.5"})]});import{jsx as nn,jsxs as xC}from"react/jsx-runtime";var rr=e=>xC(o,{...e,children:[nn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),nn("path",{d:"M5 12v-8a2 2 0 0 1 2 -2h7l5 5v5"}),nn("path",{d:"M4 15.125h2.5v4.5a1.25 1.25 0 0 1 -2.5 0v-.5"}),nn("path",{d:"M8.5 20.25c0 .345 .28 .625 .625 .625h1a.875 .875 0 0 0 .875 -.875v-1.125a.875 .875 0 0 0 -.875 -.875h-.75a.875 .875 0 0 1 -.875 -.875v-1.125a.875 .875 0 0 1 .875 -.875h1a.625 .625 0 0 1 .625 .625"}),nn("path",{d:"M14.25 15.125a1.25 1.25 0 0 1 1.25 1.25v3.25a1.25 1.25 0 1 1 -2.5 0v-3.25a1.25 1.25 0 0 1 1.25 -1.25z"}),nn("path",{d:"M17.5 20.875v-5.75l2.5 5.75v-5.75"})]});import{jsx as Xa,jsxs as PC}from"react/jsx-runtime";var bp=e=>PC(o,{...e,children:[Xa("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Xa("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Xa("path",{d:"M9 17h6"}),Xa("path",{d:"M9 13h6"})]});import{jsx as Ka,jsxs as SC}from"react/jsx-runtime";var Ve=e=>SC(o,{...e,children:[Ka("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Ka("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Ka("path",{d:"M11 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ka("path",{d:"M12 16l0 -5l2 1"})]});import{jsx as rn,jsxs as MC}from"react/jsx-runtime";var Io=e=>MC(o,{...e,children:[rn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),rn("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),rn("path",{d:"M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6"}),rn("path",{d:"M17 18h2"}),rn("path",{d:"M20 15h-3v6"}),rn("path",{d:"M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z"})]});import{jsx as yp,jsxs as wC}from"react/jsx-runtime";var Cp=e=>wC(o,{...e,children:[yp("path",{d:"M15 3v4a1 1 0 0 0 1 1h4"}),yp("path",{d:"M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2z"}),yp("path",{d:"M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2"})]});import{jsx as ar,jsxs as kC}from"react/jsx-runtime";var lr=e=>kC(o,{...e,children:[ar("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),ar("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),ar("path",{d:"M8 11h8v7h-8z"}),ar("path",{d:"M8 15h8"}),ar("path",{d:"M11 11v7"})]});import{jsx as cr,jsxs as BC}from"react/jsx-runtime";var kt=e=>BC(o,{...e,children:[cr("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),cr("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),cr("path",{d:"M9 9l1 0"}),cr("path",{d:"M9 13l6 0"}),cr("path",{d:"M9 17l6 0"})]});import{jsx as Za,jsxs as RC}from"react/jsx-runtime";var xp=e=>RC(o,{...e,children:[Za("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Za("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Za("path",{d:"M12 11v6"}),Za("path",{d:"M9.5 13.5l2.5 -2.5l2.5 2.5"})]});import{jsx as an,jsxs as LC}from"react/jsx-runtime";var sr=e=>LC(o,{...e,children:[an("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),an("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),an("path",{d:"M4 15l4 6"}),an("path",{d:"M4 21l4 -6"}),an("path",{d:"M17 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),an("path",{d:"M11 15v6h3"})]});import{jsx as qt,jsxs as DC}from"react/jsx-runtime";var ir=e=>DC(o,{...e,children:[qt("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),qt("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v5"}),qt("path",{d:"M4 16l3 5"}),qt("path",{d:"M4 21l3 -5"}),qt("path",{d:"M8.5 16v5h2"}),qt("path",{d:"M12 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-0.5a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-0.5a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),qt("path",{d:"M16.5 16l3 5"}),qt("path",{d:"M16.5 21l3 -5"})]});import{jsx as Xt,jsxs as TC}from"react/jsx-runtime";var ct=e=>TC(o,{...e,children:[Xt("path",{d:"M6 20.735a2 2 0 0 1 -1 -1.735v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-1"}),Xt("path",{d:"M11 17a2 2 0 0 1 2 2v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-2a2 2 0 0 1 2 -2z"}),Xt("path",{d:"M11 5l-1 0"}),Xt("path",{d:"M13 7l-1 0"}),Xt("path",{d:"M11 9l-1 0"}),Xt("path",{d:"M13 11l-1 0"}),Xt("path",{d:"M11 13l-1 0"}),Xt("path",{d:"M13 15l-1 0"})]});import{jsx as yf}from"react/jsx-runtime";var Pp=e=>yf(o,{...e,children:yf("path",{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z"})});import{jsx as Sp,jsxs as NC}from"react/jsx-runtime";var pr=e=>NC(o,{...e,children:[Sp("path",{d:"M4 6h16"}),Sp("path",{d:"M6 12h12"}),Sp("path",{d:"M9 18h6"})]});import{jsx as Cf,jsxs as FC}from"react/jsx-runtime";var Mp=e=>FC(o,{...e,children:[Cf("path",{d:"M5 5a5 5 0 0 1 7 0a5 5 0 0 0 7 0v9a5 5 0 0 1 -7 0a5 5 0 0 0 -7 0v-9z"}),Cf("path",{d:"M5 21v-7"})]});import{jsx as xf}from"react/jsx-runtime";var wp=e=>xf(o,{...e,children:xf("path",{d:"M5 14h14v-9h-14v16"})});import{jsx as Pf}from"react/jsx-runtime";var kp=e=>Pf(o,{isFilled:!0,...e,children:Pf("path",{d:"M4 5a1 1 0 0 1 .3 -.714a6 6 0 0 1 8.213 -.176l.351 .328a4 4 0 0 0 5.272 0l.249 -.227c.61 -.483 1.527 -.097 1.61 .676l.005 .113v9a1 1 0 0 1 -.3 .714a6 6 0 0 1 -8.213 .176l-.351 -.328a4 4 0 0 0 -5.136 -.114v6.552a1 1 0 0 1 -1.993 .117l-.007 -.117v-16z"})});import{jsx as dr,jsxs as EC}from"react/jsx-runtime";var Bp=e=>EC(o,{...e,children:[dr("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),dr("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),dr("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),dr("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),dr("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as Sf}from"react/jsx-runtime";var Rp=e=>Sf(o,{...e,children:Sf("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"})});import{jsx as Qa,jsxs as AC}from"react/jsx-runtime";var Lp=e=>AC(o,{...e,children:[Qa("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-0.5m0 -8v-2.5a2 2 0 0 1 2 -2"}),Qa("path",{d:"M1 12.5l7 0"}),Qa("path",{d:"M1 12.5l2 2"}),Qa("path",{d:"M1 12.5l2 -2"})]});import{jsx as Ya,jsxs as zC}from"react/jsx-runtime";var Dp=e=>zC(o,{...e,children:[Ya("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-1m0 -6v-4a2 2 0 0 1 2 -2"}),Ya("path",{d:"M2 13l7 0"}),Ya("path",{d:"M9 13l-2 2"}),Ya("path",{d:"M9 13l-2 -2"})]});import{jsx as Mf,jsxs as OC}from"react/jsx-runtime";var Tp=e=>OC(o,{...e,children:[Mf("path",{d:"M22 9l-10 -4l-10 4l10 4l10 -4v6"}),Mf("path",{d:"M6 10.6v5.4a6 3 0 0 0 12 0v-5.4"})]});import{jsx as ln,jsxs as _C}from"react/jsx-runtime";var Np=e=>_C(o,{...e,children:[ln("path",{d:"M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Ja,jsxs as HC}from"react/jsx-runtime";var Fp=e=>HC(o,{...e,children:[Ja("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),Ja("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),Ja("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),Ja("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"})]});import{jsx as cn,jsxs as UC}from"react/jsx-runtime";var Ep=e=>UC(o,{...e,children:[cn("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),cn("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),cn("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),cn("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v5"}),cn("path",{d:"M14 22h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"}),cn("path",{d:"M22 16c0 4 -2.5 6 -3.5 6s-3.5 -2 -3.5 -6c1 0 2.5 -.5 3.5 -1.5c1 1 2.5 1.5 3.5 1.5"})]});import{jsx as ja,jsxs as GC}from"react/jsx-runtime";var Ap=e=>GC(o,{...e,children:[ja("path",{d:"M5 9l14 0"}),ja("path",{d:"M5 15l14 0"}),ja("path",{d:"M11 4l-4 16"}),ja("path",{d:"M17 4l-4 16"})]});import{jsx as el,jsxs as VC}from"react/jsx-runtime";var zp=e=>VC(o,{...e,children:[el("path",{d:"M4 14v-3a8 8 0 1 1 16 0v3"}),el("path",{d:"M18 19c0 1.657 -2.686 3 -6 3"}),el("path",{d:"M4 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z"}),el("path",{d:"M15 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z"})]});import{jsx as wf}from"react/jsx-runtime";var Op=e=>wf(o,{...e,children:wf("path",{d:"M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"})});import{jsx as kf}from"react/jsx-runtime";var _p=e=>kf(o,{isFilled:!0,...e,children:kf("path",{d:"M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z"})});import{jsx as Hp,jsxs as WC}from"react/jsx-runtime";var Up=e=>WC(o,{...e,children:[Hp("path",{d:"M5 12l-2 0l9 -9l9 9l-2 0"}),Hp("path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"}),Hp("path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"})]});import{jsx as Bf,jsxs as $C}from"react/jsx-runtime";var mr=e=>$C(o,{...e,children:[Bf("path",{d:"M19 8.71l-5.333 -4.148a2.666 2.666 0 0 0 -3.274 0l-5.334 4.148a2.665 2.665 0 0 0 -1.029 2.105v7.2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-7.2c0 -.823 -.38 -1.6 -1.03 -2.105"}),Bf("path",{d:"M16 15c-2.21 1.333 -5.792 1.333 -8 0"})]});import{jsx as tl,jsxs as qC}from"react/jsx-runtime";var we=e=>qC(o,{...e,children:[tl("path",{d:"M15 8h.01"}),tl("path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z"}),tl("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),tl("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3"})]});import{jsx as ur,jsxs as XC}from"react/jsx-runtime";var Gp=e=>XC(o,{...e,children:[ur("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),ur("path",{d:"M4 16l16 0"}),ur("path",{d:"M4 12l3 -3c.928 -.893 2.072 -.893 3 0l4 4"}),ur("path",{d:"M13 12l2 -2c.928 -.893 2.072 -.893 3 0l2 2"}),ur("path",{d:"M14 7l.01 0"})]});import{jsx as hr,jsxs as KC}from"react/jsx-runtime";var Vp=e=>KC(o,{...e,children:[hr("path",{d:"M15 8h.01"}),hr("path",{d:"M11.5 21h-5.5a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v7"}),hr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l4 4"}),hr("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l.5 .5"}),hr("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as fr,jsxs as ZC}from"react/jsx-runtime";var Wp=e=>ZC(o,{...e,children:[fr("path",{d:"M15 8h.01"}),fr("path",{d:"M7 3h11a3 3 0 0 1 3 3v11m-.856 3.099a2.991 2.991 0 0 1 -2.144 .901h-12a3 3 0 0 1 -3 -3v-12c0 -.845 .349 -1.608 .91 -2.153"}),fr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),fr("path",{d:"M16.33 12.338c.574 -.054 1.155 .166 1.67 .662l3 3"}),fr("path",{d:"M3 3l18 18"})]});import{jsx as Rf,jsxs as QC}from"react/jsx-runtime";var $p=e=>QC(o,{...e,children:[Rf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Rf("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-5.5m-9.5 -2h7m-3 -3l3 3l-3 3"})]});import{jsx as Lf,jsxs as YC}from"react/jsx-runtime";var qp=e=>YC(o,{...e,children:[Lf("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Lf("path",{d:"M4 13h3l3 3h4l3 -3h3"})]});import{jsx as Xp,jsxs as JC}from"react/jsx-runtime";var Kp=e=>JC(o,{...e,children:[Xp("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Xp("path",{d:"M12 9h.01"}),Xp("path",{d:"M11 12h1v4h1"})]});import{jsx as Zp,jsxs as jC}from"react/jsx-runtime";var Qp=e=>jC(o,{...e,children:[Zp("path",{d:"M19.875 6.27c.7 .398 1.13 1.143 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033z"}),Zp("path",{d:"M12 9h.01"}),Zp("path",{d:"M11 12h1v4h1"})]});import{jsx as Yp,jsxs as ex}from"react/jsx-runtime";var Jp=e=>ex(o,{...e,children:[Yp("path",{d:"M11 5l6 0"}),Yp("path",{d:"M7 19l6 0"}),Yp("path",{d:"M14 5l-4 14"})]});import{jsx as jp,jsxs as tx}from"react/jsx-runtime";var ed=e=>tx(o,{...e,children:[jp("path",{d:"M12 4l-8 4l8 4l8 -4l-8 -4"}),jp("path",{d:"M4 12l8 4l8 -4"}),jp("path",{d:"M4 16l8 4l8 -4"})]});import{jsx as Df,jsxs as ox}from"react/jsx-runtime";var td=e=>ox(o,{...e,children:[Df("path",{d:"M12 6l-8 4l8 4l8 -4l-8 -4"}),Df("path",{d:"M4 14l8 4l8 -4"})]});import{jsx as Tf,jsxs as nx}from"react/jsx-runtime";var od=e=>nx(o,{...e,children:[Tf("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Tf("path",{d:"M9 4l0 16"})]});import{jsx as nd,jsxs as rx}from"react/jsx-runtime";var rd=e=>rx(o,{...e,children:[nd("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),nd("path",{d:"M4 13m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),nd("path",{d:"M14 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"})]});import{jsx as ol,jsxs as ax}from"react/jsx-runtime";var ad=e=>ax(o,{...e,children:[ol("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),ol("path",{d:"M4 9h8"}),ol("path",{d:"M12 15h8"}),ol("path",{d:"M12 4v16"})]});import{jsx as gr,jsxs as lx}from"react/jsx-runtime";var ld=e=>lx(o,{...e,children:[gr("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),gr("path",{d:"M4 12h8"}),gr("path",{d:"M12 15h8"}),gr("path",{d:"M12 9h8"}),gr("path",{d:"M12 4v16"})]});import{jsx as cd,jsxs as cx}from"react/jsx-runtime";var sd=e=>cx(o,{...e,children:[cd("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),cd("path",{d:"M10 4l4 16"}),cd("path",{d:"M12 12l-8 2"})]});import{jsx as nl,jsxs as sx}from"react/jsx-runtime";var id=e=>sx(o,{...e,children:[nl("path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),nl("path",{d:"M14 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),nl("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),nl("path",{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"})]});import{jsx as sn,jsxs as ix}from"react/jsx-runtime";var pd=e=>ix(o,{...e,children:[sn("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),sn("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),sn("path",{d:"M15 15l3.35 3.35"}),sn("path",{d:"M9 15l-3.35 3.35"}),sn("path",{d:"M5.65 5.65l3.35 3.35"}),sn("path",{d:"M18.35 5.65l-3.35 3.35"})]});import{jsx as dd,jsxs as px}from"react/jsx-runtime";var md=e=>px(o,{...e,children:[dd("path",{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"}),dd("path",{d:"M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"}),dd("path",{d:"M9.7 17l4.6 0"})]});import{jsx as Nf}from"react/jsx-runtime";var ud=e=>Nf(o,{...e,children:Nf("path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11"})});import{jsx as Ff,jsxs as dx}from"react/jsx-runtime";var hd=e=>dx(o,{...e,children:[Ff("path",{d:"M16 3l0 7l4 0l-6 11l0 -7l-4 0l6 -11"}),Ff("path",{d:"M5 7h4M3 13h4M5 19h4"})]});import{jsx as Ef,jsxs as mx}from"react/jsx-runtime";var fd=e=>mx(o,{...e,children:[Ef("path",{d:"M4 19l16 0"}),Ef("path",{d:"M4 15l4 -6l4 2l4 -5l4 4"})]});import{jsx as pn,jsxs as ux}from"react/jsx-runtime";var gd=e=>ux(o,{...e,children:[pn("path",{d:"M3 3v18h18"}),pn("path",{d:"M20 18v3"}),pn("path",{d:"M16 16v5"}),pn("path",{d:"M12 13v8"}),pn("path",{d:"M8 16v5"}),pn("path",{d:"M3 11c6 0 5 -5 9 -5s3 5 9 5"})]});import{jsx as dn,jsxs as hx}from"react/jsx-runtime";var vd=e=>hx(o,{...e,children:[dn("path",{d:"M10.5 3h-5.5a2 2 0 0 0 -2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2 -2v-5.5"}),dn("path",{d:"M3 13c0 0, 8 0, 12 -4"}),dn("path",{d:"M12 8h4v4"}),dn("path",{d:"M15 2v1.44"}),dn("path",{d:"M18.75 4.75l1.2 -1.2"}),dn("path",{d:"M20 9h1.44"})]});import{jsx as Id,jsxs as fx}from"react/jsx-runtime";var bd=e=>fx(o,{...e,children:[Id("path",{d:"M4 19l16 0"}),Id("path",{d:"M4 16l6 -6l4 4l5 -5"}),Id("path",{d:"M15 8h5v5"})]});import{jsx as Af,jsxs as gx}from"react/jsx-runtime";var yd=e=>gx(o,{...e,children:[Af("path",{d:"M5 10h14"}),Af("path",{d:"M5 14h14"})]});import{jsx as mn,jsxs as vx}from"react/jsx-runtime";var Cd=e=>vx(o,{...e,children:[mn("path",{d:"M3.5 5.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M3.5 11.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M3.5 17.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M11 6l9 0"}),mn("path",{d:"M11 12l9 0"}),mn("path",{d:"M11 18l9 0"})]});import{jsx as rl,jsxs as Ix}from"react/jsx-runtime";var xd=e=>Ix(o,{...e,children:[rl("path",{d:"M12 10v8l8 -4z"}),rl("path",{d:"M4 6h16"}),rl("path",{d:"M4 12h4.5"}),rl("path",{d:"M4 18h4.5"})]});import{jsx as Pd,jsxs as bx}from"react/jsx-runtime";var Sd=e=>bx(o,{...e,children:[Pd("path",{d:"M9 15l6 -6"}),Pd("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),Pd("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]});import{jsx as zf,jsxs as yx}from"react/jsx-runtime";var Md=e=>yx(o,{...e,children:[zf("path",{d:"M9.183 6.117a6 6 0 1 0 4.511 3.986"}),zf("path",{d:"M14.813 17.883a6 6 0 1 0 -4.496 -3.954"})]});import{jsx as al,jsxs as Cx}from"react/jsx-runtime";var wd=e=>Cx(o,{...e,children:[al("path",{d:"M9 15l3 -3m2 -2l1 -1"}),al("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),al("path",{d:"M3 3l18 18"}),al("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]});import{jsx as un,jsxs as xx}from"react/jsx-runtime";var kd=e=>xx(o,{...e,children:[un("path",{d:"M9 6l11 0"}),un("path",{d:"M9 12l11 0"}),un("path",{d:"M9 18l11 0"}),un("path",{d:"M5 6l0 .01"}),un("path",{d:"M5 12l0 .01"}),un("path",{d:"M5 18l0 .01"})]});import{jsx as vr,jsxs as Px}from"react/jsx-runtime";var Bd=e=>Px(o,{...e,children:[vr("path",{d:"M11 6h9"}),vr("path",{d:"M11 12h9"}),vr("path",{d:"M12 18h8"}),vr("path",{d:"M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4"}),vr("path",{d:"M6 10v-6l-2 2"})]});import{jsx as Rd,jsxs as Sx}from"react/jsx-runtime";var Ld=e=>Sx(o,{...e,children:[Rd("path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z"}),Rd("path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),Rd("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as Of}from"react/jsx-runtime";var Dd=e=>Of(o,{isFilled:!0,...e,children:Of("path",{d:"M12 2a5 5 0 0 1 5 5v3a3 3 0 0 1 3 3v6a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-6a3 3 0 0 1 3 -3v-3a5 5 0 0 1 5 -5m0 12a2 2 0 0 0 -1.995 1.85l-.005 .15a2 2 0 1 0 2 -2m0 -10a3 3 0 0 0 -3 3v3h6v-3a3 3 0 0 0 -3 -3"})});import{jsx as Td,jsxs as Mx}from"react/jsx-runtime";var Nd=e=>Mx(o,{...e,children:[Td("path",{d:"M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}),Td("path",{d:"M3 12h13l-3 -3"}),Td("path",{d:"M13 15l3 -3"})]});import{jsx as Fd,jsxs as wx}from"react/jsx-runtime";var Ed=e=>wx(o,{...e,children:[Fd("path",{d:"M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"}),Fd("path",{d:"M9 12h12l-3 -3"}),Fd("path",{d:"M18 15l3 -3"})]});import{jsx as Ad,jsxs as kx}from"react/jsx-runtime";var zd=e=>kx(o,{...e,children:[Ad("path",{d:"M10 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}),Ad("path",{d:"M15 12h-12l3 -3"}),Ad("path",{d:"M6 15l-3 -3"})]});import{jsx as ll,jsxs as Bx}from"react/jsx-runtime";var Od=e=>Bx(o,{...e,children:[ll("path",{d:"M6 21l15 -15l-3 -3l-15 15l3 3"}),ll("path",{d:"M15 6l3 3"}),ll("path",{d:"M9 3a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"}),ll("path",{d:"M19 13a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"})]});import{jsx as _f,jsxs as Rx}from"react/jsx-runtime";var _d=e=>Rx(o,{...e,children:[_f("path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z"}),_f("path",{d:"M3 7l9 6l9 -6"})]});import{jsx as cl,jsxs as Lx}from"react/jsx-runtime";var Hd=e=>Lx(o,{...e,children:[cl("path",{d:"M3 9l9 6l9 -6l-9 -6l-9 6"}),cl("path",{d:"M21 9v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10"}),cl("path",{d:"M3 19l6 -6"}),cl("path",{d:"M15 13l6 6"})]});import{jsx as Hf,jsxs as Dx}from"react/jsx-runtime";var Ud=e=>Dx(o,{...e,children:[Hf("path",{d:"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),Hf("path",{d:"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z"})]});import{jsx as sl,jsxs as Tx}from"react/jsx-runtime";var Gd=e=>Tx(o,{...e,children:[sl("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),sl("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),sl("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),sl("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as il,jsxs as Nx}from"react/jsx-runtime";var Vd=e=>Nx(o,{...e,children:[il("path",{d:"M16 4l4 0l0 4"}),il("path",{d:"M14 10l6 -6"}),il("path",{d:"M8 20l-4 0l0 -4"}),il("path",{d:"M4 20l6 -6"})]});import{jsx as Uf}from"react/jsx-runtime";var Wd=e=>Uf(o,{...e,children:Uf("path",{d:"M3 20l1.3 -3.9c-2.324 -3.437 -1.426 -7.872 2.1 -10.374c3.526 -2.501 8.59 -2.296 11.845 .48c3.255 2.777 3.695 7.266 1.029 10.501c-2.666 3.235 -7.615 4.215 -11.574 2.293l-4.7 1"})});import{jsx as $d,jsxs as Fx}from"react/jsx-runtime";var qd=e=>Fx(o,{...e,children:[$d("path",{d:"M8 9h8"}),$d("path",{d:"M8 13h6"}),$d("path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12z"})]});import{jsx as pl,jsxs as Ex}from"react/jsx-runtime";var Xd=e=>Ex(o,{...e,children:[pl("path",{d:"M12 11v.01"}),pl("path",{d:"M8 11v.01"}),pl("path",{d:"M16 11v.01"}),pl("path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3z"})]});import{jsx as Ir,jsxs as Ax}from"react/jsx-runtime";var Kd=e=>Ax(o,{...e,children:[Ir("path",{d:"M8 9h8"}),Ir("path",{d:"M8 13h6"}),Ir("path",{d:"M13 18l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v6"}),Ir("path",{d:"M22 22l-5 -5"}),Ir("path",{d:"M17 22l5 -5"})]});import{jsx as dl,jsxs as zx}from"react/jsx-runtime";var br=e=>zx(o,{...e,children:[dl("path",{d:"M9 2m0 3a3 3 0 0 1 3 -3h0a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3h0a3 3 0 0 1 -3 -3z"}),dl("path",{d:"M5 10a7 7 0 0 0 14 0"}),dl("path",{d:"M8 21l8 0"}),dl("path",{d:"M12 17l0 4"})]});import{jsx as ml,jsxs as Ox}from"react/jsx-runtime";var Zd=e=>Ox(o,{...e,children:[ml("path",{d:"M15 19v-2a2 2 0 0 1 2 -2h2"}),ml("path",{d:"M15 5v2a2 2 0 0 0 2 2h2"}),ml("path",{d:"M5 15h2a2 2 0 0 1 2 2v2"}),ml("path",{d:"M5 9h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as ul,jsxs as _x}from"react/jsx-runtime";var Qd=e=>_x(o,{...e,children:[ul("path",{d:"M18 10h-4v-4"}),ul("path",{d:"M20 4l-6 6"}),ul("path",{d:"M6 14h4v4"}),ul("path",{d:"M10 14l-6 6"})]});import{jsx as Gf,jsxs as Hx}from"react/jsx-runtime";var Yd=e=>Hx(o,{...e,children:[Gf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Gf("path",{d:"M9 12l6 0"})]});import{jsx as Jd,jsxs as Ux}from"react/jsx-runtime";var jd=e=>Ux(o,{...e,children:[Jd("path",{d:"M6 5a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14z"}),Jd("path",{d:"M11 4h2"}),Jd("path",{d:"M12 17v.01"})]});import{jsx as hl,jsxs as Gx}from"react/jsx-runtime";var em=e=>Gx(o,{...e,children:[hl("path",{d:"M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10z"}),hl("path",{d:"M7 20h10"}),hl("path",{d:"M9 16v4"}),hl("path",{d:"M15 16v4"})]});import{jsx as yr,jsxs as Vx}from"react/jsx-runtime";var tm=e=>Vx(o,{...e,children:[yr("path",{d:"M3 4a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-12z"}),yr("path",{d:"M3 13h18"}),yr("path",{d:"M8 21h8"}),yr("path",{d:"M10 17l-.5 4"}),yr("path",{d:"M14 17l.5 4"})]});import{jsx as Vf}from"react/jsx-runtime";var om=e=>Vf(o,{...e,children:Vf("path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"})});import{jsx as Wf,jsxs as Wx}from"react/jsx-runtime";var nm=e=>Wx(o,{...e,children:[Wf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Wf("path",{d:"M12 6c.088 0 .175 0 .262 0a5 5 0 0 0 5.28 8.297a6 6 0 1 1 -5.542 -8.303z"})]});import{jsx as Kt,jsxs as $x}from"react/jsx-runtime";var et=e=>$x(o,{...e,children:[Kt("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Kt("path",{d:"M8 4l0 16"}),Kt("path",{d:"M16 4l0 16"}),Kt("path",{d:"M4 8l4 0"}),Kt("path",{d:"M4 16l4 0"}),Kt("path",{d:"M4 12l16 0"}),Kt("path",{d:"M16 8l4 0"}),Kt("path",{d:"M16 16l4 0"})]});import{jsx as $f}from"react/jsx-runtime";var rm=e=>$f(o,{...e,children:$f("path",{d:"M12 18.5l7.265 2.463c.196 .077 .42 .032 .57 -.116a.548 .548 0 0 0 .134 -.572l-7.969 -17.275l-7.97 17.275c-.07 .2 -.017 .424 .135 .572c.15 .148 .374 .193 .57 .116l7.265 -2.463"})});import{jsx as qf,jsxs as qx}from"react/jsx-runtime";var am=e=>qx(o,{...e,children:[qf("path",{d:"M10 6h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3"}),qf("path",{d:"M17 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"})]});import{jsx as Cr,jsxs as Xx}from"react/jsx-runtime";var lm=e=>Xx(o,{...e,children:[Cr("path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5"}),Cr("path",{d:"M12 12l8 -4.5"}),Cr("path",{d:"M12 12l0 9"}),Cr("path",{d:"M12 12l-8 -4.5"}),Cr("path",{d:"M16 5.25l-8 4.5"})]});import{jsx as fl,jsxs as Kx}from"react/jsx-runtime";var cm=e=>Kx(o,{...e,children:[fl("path",{d:"M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25"}),fl("path",{d:"M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),fl("path",{d:"M12.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),fl("path",{d:"M16.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as xr,jsxs as Zx}from"react/jsx-runtime";var sm=e=>Zx(o,{...e,children:[xr("path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"}),xr("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"}),xr("path",{d:"M15 16h.01"}),xr("path",{d:"M12.01 16h.01"}),xr("path",{d:"M9.02 16h.01"})]});import{jsx as Xf,jsxs as Qx}from"react/jsx-runtime";var bo=e=>Qx(o,{...e,children:[Xf("path",{d:"M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),Xf("path",{d:"M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"})]});import{jsx as im,jsxs as Yx}from"react/jsx-runtime";var pm=e=>Yx(o,{...e,children:[im("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),im("path",{d:"M8 8m0 1a1 1 0 0 1 1 -1h1a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1z"}),im("path",{d:"M13 8m0 1a1 1 0 0 1 1 -1h1a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1z"})]});import{jsx as dm,jsxs as Jx}from"react/jsx-runtime";var mm=e=>Jx(o,{...e,children:[dm("path",{d:"M13 9a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1v-10z"}),dm("path",{d:"M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9"}),dm("path",{d:"M16 9h2"})]});import{jsx as um,jsxs as jx}from"react/jsx-runtime";var hm=e=>jx(o,{...e,children:[um("path",{d:"M14 6l7 7l-4 4"}),um("path",{d:"M5.828 18.172a2.828 2.828 0 0 0 4 0l10.586 -10.586a2 2 0 0 0 0 -2.829l-1.171 -1.171a2 2 0 0 0 -2.829 0l-10.586 10.586a2.828 2.828 0 0 0 0 4"}),um("path",{d:"M4 20l1.768 -1.768"})]});import{jsx as gl,jsxs as eP}from"react/jsx-runtime";var fm=e=>eP(o,{...e,children:[gl("path",{d:"M9 15l6 -6"}),gl("circle",{cx:"9.5",cy:"9.5",r:".5",fill:"currentColor"}),gl("circle",{cx:"14.5",cy:"14.5",r:".5",fill:"currentColor"}),gl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Kf}from"react/jsx-runtime";var gm=e=>Kf(o,{...e,children:Kf("path",{d:"M6.141 4.163l12 1.714a1 1 0 0 1 .859 .99v10.266a1 1 0 0 1 -.859 .99l-12 1.714a1 1 0 0 1 -1.141 -.99v-13.694a1 1 0 0 1 1.141 -.99z"})});import{jsx as vm,jsxs as tP}from"react/jsx-runtime";var Im=e=>tP(o,{...e,children:[vm("path",{d:"M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2"}),vm("path",{d:"M15 7a2 2 0 0 1 2 2"}),vm("path",{d:"M15 3a6 6 0 0 1 6 6"})]});import{jsx as bm,jsxs as oP}from"react/jsx-runtime";var Pr=e=>oP(o,{...e,children:[bm("path",{d:"M15 4.5l-4 4l-4 1.5l-1.5 1.5l7 7l1.5 -1.5l1.5 -4l4 -4"}),bm("path",{d:"M9 15l-4.5 4.5"}),bm("path",{d:"M14.5 4l5.5 5.5"})]});import{jsx as Zf}from"react/jsx-runtime";var yo=e=>Zf(o,{...e,children:Zf("path",{d:"M7 4v16l13 -8z"})});import{jsx as Qf,jsxs as nP}from"react/jsx-runtime";var ym=e=>nP(o,{...e,children:[Qf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Qf("path",{d:"M9 8v8l8 -4z"})]});import{jsx as Yf,jsxs as rP}from"react/jsx-runtime";var Sr=e=>rP(o,{...e,children:[Yf("path",{d:"M12 5l0 14"}),Yf("path",{d:"M5 12l14 0"})]});import{jsx as Cm,jsxs as aP}from"react/jsx-runtime";var Zt=e=>aP(o,{...e,children:[Cm("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Cm("path",{d:"M9 12h6"}),Cm("path",{d:"M12 9v6"})]});import{jsx as xm,jsxs as lP}from"react/jsx-runtime";var Pm=e=>lP(o,{...e,children:[xm("path",{d:"M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2"}),xm("path",{d:"M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4"}),xm("path",{d:"M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z"})]});import{jsx as Jf}from"react/jsx-runtime";var Sm=e=>Jf(o,{...e,children:Jf("path",{d:"M3 12h4l3 8l4 -16l3 8h4"})});import{jsx as Mm,jsxs as cP}from"react/jsx-runtime";var Mr=e=>cP(o,{...e,children:[Mm("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Mm("path",{d:"M12 16v.01"}),Mm("path",{d:"M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483"})]});import{jsx as jf,jsxs as sP}from"react/jsx-runtime";var wm=e=>sP(o,{...e,children:[jf("path",{d:"M10 11h-4a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v6c0 2.667 -1.333 4.333 -4 5"}),jf("path",{d:"M19 11h-4a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v6c0 2.667 -1.333 4.333 -4 5"})]});import{jsx as e2,jsxs as iP}from"react/jsx-runtime";var km=e=>iP(o,{...e,children:[e2("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),e2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as t2}from"react/jsx-runtime";var Bm=e=>t2(o,{isFilled:!0,...e,children:t2("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 6.66a2 2 0 0 0 -1.977 1.697l-.018 .154l-.005 .149l.005 .15a2 2 0 1 0 1.995 -2.15z"})});import{jsx as o2}from"react/jsx-runtime";var Rm=e=>o2(o,{...e,children:o2("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2m4 -14h6m-6 4h6m-2 4h2"})});import{jsx as n2,jsxs as pP}from"react/jsx-runtime";var Lm=e=>pP(o,{...e,children:[n2("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2"}),n2("path",{d:"M9 11l2 2l4 -4"})]});import{jsx as r2,jsxs as dP}from"react/jsx-runtime";var Dm=e=>dP(o,{...e,children:[r2("path",{d:"M15 14l4 -4l-4 -4"}),r2("path",{d:"M19 10h-11a4 4 0 1 0 0 8h1"})]});import{jsx as a2}from"react/jsx-runtime";var Tm=e=>a2(o,{...e,children:a2("path",{d:"M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5"})});import{jsx as l2,jsxs as mP}from"react/jsx-runtime";var Nm=e=>mP(o,{...e,children:[l2("path",{d:"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"}),l2("path",{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"})]});import{jsx as c2,jsxs as uP}from"react/jsx-runtime";var Fm=e=>uP(o,{...e,children:[c2("path",{d:"M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747"}),c2("path",{d:"M20 4v5h-5"})]});import{jsx as s2,jsxs as hP}from"react/jsx-runtime";var Em=e=>hP(o,{...e,children:[s2("path",{d:"M4 12v-3a3 3 0 0 1 3 -3h13m-3 -3l3 3l-3 3"}),s2("path",{d:"M20 12v3a3 3 0 0 1 -3 3h-13m3 3l-3 -3l3 -3"})]});import{jsx as vl,jsxs as fP}from"react/jsx-runtime";var Am=e=>fP(o,{...e,children:[vl("path",{d:"M3 3m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),vl("path",{d:"M15 15m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),vl("path",{d:"M21 11v-3a2 2 0 0 0 -2 -2h-6l3 3m0 -6l-3 3"}),vl("path",{d:"M3 13v3a2 2 0 0 0 2 2h6l-3 -3m0 6l3 -3"})]});import{jsx as i2}from"react/jsx-runtime";var zm=e=>i2(o,{...e,children:i2("path",{d:"M19.95 11a8 8 0 1 0 -.5 4m.5 5v-5h-5"})});import{jsx as Om,jsxs as gP}from"react/jsx-runtime";var _m=e=>gP(o,{...e,children:[Om("path",{d:"M3.06 13a9 9 0 1 0 .49 -4.087"}),Om("path",{d:"M3 4.001v5h5"}),Om("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Hm,jsxs as vP}from"react/jsx-runtime";var Um=e=>vP(o,{...e,children:[Hm("path",{d:"M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3 -5a9 9 0 0 0 6 -8a3 3 0 0 0 -3 -3a9 9 0 0 0 -8 6a6 6 0 0 0 -5 3"}),Hm("path",{d:"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3"}),Hm("path",{d:"M15 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as p2,jsxs as IP}from"react/jsx-runtime";var Gm=e=>IP(o,{...e,children:[p2("path",{d:"M10 3.2a9 9 0 1 0 10.8 10.8a1 1 0 0 0 -1 -1h-6.8a2 2 0 0 1 -2 -2v-7a.9 .9 0 0 0 -1 -.8"}),p2("path",{d:"M15 3.5a9 9 0 0 1 5.5 5.5h-4.5a1 1 0 0 1 -1 -1v-4.5"})]});import{jsx as d2,jsxs as bP}from"react/jsx-runtime";var Vm=e=>bP(o,{...e,children:[d2("path",{d:"M12 3v9h9"}),d2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Wm,jsxs as yP}from"react/jsx-runtime";var $m=e=>yP(o,{...e,children:[Wm("path",{d:"M3 19a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),Wm("path",{d:"M19 7a2 2 0 1 0 0 -4a2 2 0 0 0 0 4z"}),Wm("path",{d:"M11 19h5.5a3.5 3.5 0 0 0 0 -7h-8a3.5 3.5 0 0 1 0 -7h4.5"})]});import{jsx as qm,jsxs as CP}from"react/jsx-runtime";var Xm=e=>CP(o,{...e,children:[qm("path",{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"}),qm("path",{d:"M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qm("path",{d:"M14 4l0 4l-6 0l0 -4"})]});import{jsx as Qt,jsxs as xP}from"react/jsx-runtime";var Km=e=>xP(o,{...e,children:[Qt("path",{d:"M4 7v-1a2 2 0 0 1 2 -2h2"}),Qt("path",{d:"M4 17v1a2 2 0 0 0 2 2h2"}),Qt("path",{d:"M16 4h2a2 2 0 0 1 2 2v1"}),Qt("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-1"}),Qt("path",{d:"M5 11h1v2h-1z"}),Qt("path",{d:"M10 11l0 2"}),Qt("path",{d:"M14 11h1v2h-1z"}),Qt("path",{d:"M19 11l0 2"})]});import{jsx as Il,jsxs as PP}from"react/jsx-runtime";var wr=e=>PP(o,{...e,children:[Il("path",{d:"M6 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Il("path",{d:"M6 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Il("path",{d:"M8.6 8.6l10.4 10.4"}),Il("path",{d:"M8.6 15.4l10.4 -10.4"})]});import{jsx as m2,jsxs as SP}from"react/jsx-runtime";var Bt=e=>SP(o,{...e,children:[m2("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),m2("path",{d:"M21 21l-6 -6"})]});import{jsx as u2,jsxs as MP}from"react/jsx-runtime";var Zm=e=>MP(o,{...e,children:[u2("path",{d:"M10 14l11 -11"}),u2("path",{d:"M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5"})]});import{jsx as bl,jsxs as wP}from"react/jsx-runtime";var Qm=e=>wP(o,{...e,children:[bl("path",{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),bl("path",{d:"M3 12m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),bl("path",{d:"M7 8l0 .01"}),bl("path",{d:"M7 16l0 .01"})]});import{jsx as h2,jsxs as kP}from"react/jsx-runtime";var Ym=e=>kP(o,{...e,children:[h2("path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"}),h2("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"})]});import{jsx as Rt,jsxs as BP}from"react/jsx-runtime";var Jm=e=>BP(o,{...e,children:[Rt("path",{d:"M14 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Rt("path",{d:"M4 6l8 0"}),Rt("path",{d:"M16 6l4 0"}),Rt("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Rt("path",{d:"M4 12l2 0"}),Rt("path",{d:"M10 12l10 0"}),Rt("path",{d:"M17 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Rt("path",{d:"M4 18l11 0"}),Rt("path",{d:"M19 18l1 0"})]});import{jsx as kr,jsxs as RP}from"react/jsx-runtime";var jm=e=>RP(o,{...e,children:[kr("path",{d:"M6 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M18 6m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M8.7 10.7l6.6 -3.4"}),kr("path",{d:"M8.7 13.3l6.6 3.4"})]});import{jsx as f2,jsxs as LP}from"react/jsx-runtime";var eu=e=>LP(o,{...e,children:[f2("path",{d:"M13.342 20.566c-.436 .17 -.884 .315 -1.342 .434a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .117 6.34"}),f2("path",{d:"M19 16l-2 3h4l-2 3"})]});import{jsx as tu,jsxs as DP}from"react/jsx-runtime";var ou=e=>DP(o,{...e,children:[tu("path",{d:"M12.462 20.87c-.153 .047 -.307 .09 -.462 .13a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .11 6.37"}),tu("path",{d:"M16 19h6"}),tu("path",{d:"M19 16v6"})]});import{jsx as nu,jsxs as TP}from"react/jsx-runtime";var ru=e=>TP(o,{...e,children:[nu("path",{d:"M13.252 20.601c-.408 .155 -.826 .288 -1.252 .399a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.19 7.357"}),nu("path",{d:"M22 22l-5 -5"}),nu("path",{d:"M17 22l5 -5"})]});import{jsx as g2,jsxs as NP}from"react/jsx-runtime";var au=e=>NP(o,{...e,children:[g2("path",{d:"M6.331 8h11.339a2 2 0 0 1 1.977 2.304l-1.255 8.152a3 3 0 0 1 -2.966 2.544h-6.852a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304z"}),g2("path",{d:"M9 11v-5a3 3 0 0 1 6 0v5"})]});import{jsx as yl,jsxs as FP}from"react/jsx-runtime";var lu=e=>FP(o,{...e,children:[yl("path",{d:"M6 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),yl("path",{d:"M17 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),yl("path",{d:"M17 17h-11v-14h-2"}),yl("path",{d:"M6 5l14 1l-1 7h-13"})]});import{jsx as Yt,jsxs as EP}from"react/jsx-runtime";var cu=e=>EP(o,{...e,children:[Yt("path",{d:"M5 9l4 0l0 -4"}),Yt("path",{d:"M3 3l6 6"}),Yt("path",{d:"M5 15l4 0l0 4"}),Yt("path",{d:"M3 21l6 -6"}),Yt("path",{d:"M19 9l-4 0l0 -4"}),Yt("path",{d:"M15 9l6 -6"}),Yt("path",{d:"M19 15l-4 0l0 4"}),Yt("path",{d:"M15 15l6 6"})]});import{jsx as Cl,jsxs as AP}from"react/jsx-runtime";var su=e=>AP(o,{...e,children:[Cl("path",{d:"M18 4l3 3l-3 3"}),Cl("path",{d:"M18 20l3 -3l-3 -3"}),Cl("path",{d:"M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5"}),Cl("path",{d:"M21 7h-5a4.978 4.978 0 0 0 -3 1m-4 8a4.984 4.984 0 0 1 -3 1h-3"})]});import{jsx as v2,jsxs as zP}from"react/jsx-runtime";var iu=e=>zP(o,{...e,children:[v2("path",{d:"M4 5v14l12 -7z"}),v2("path",{d:"M20 5l0 14"})]});import{jsx as I2,jsxs as OP}from"react/jsx-runtime";var pu=e=>OP(o,{...e,children:[I2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),I2("path",{d:"M5.7 5.7l12.6 12.6"})]});import{jsx as b2,jsxs as _P}from"react/jsx-runtime";var du=e=>_P(o,{...e,children:[b2("path",{d:"M9.103 2h5.794a3 3 0 0 1 2.122 .879l4.101 4.1a3 3 0 0 1 .879 2.123v5.794a3 3 0 0 1 -.879 2.122l-4.1 4.101a3 3 0 0 1 -2.123 .879h-5.794a3 3 0 0 1 -2.122 -.879l-4.101 -4.1a3 3 0 0 1 -.879 -2.123v-5.794a3 3 0 0 1 .879 -2.122l4.1 -4.101a3 3 0 0 1 2.123 -.879z"}),b2("path",{d:"M5 5 L19 19"})]});import{jsx as Co,jsxs as HP}from"react/jsx-runtime";var mu=e=>HP(o,{...e,children:[Co("path",{d:"M4 10l0 6"}),Co("path",{d:"M20 10l0 6"}),Co("path",{d:"M7 9h10v8a1 1 0 0 1 -1 1h-8a1 1 0 0 1 -1 -1v-8a5 5 0 0 1 10 0"}),Co("path",{d:"M8 3l1 2"}),Co("path",{d:"M16 3l-1 2"}),Co("path",{d:"M9 18l0 3"}),Co("path",{d:"M15 18l0 3"})]});import{jsx as y2,jsxs as UP}from"react/jsx-runtime";var uu=e=>UP(o,{...e,children:[y2("path",{d:"M8.286 7.008c-3.216 0 -4.286 3.23 -4.286 5.92c0 3.229 2.143 8.072 4.286 8.072c1.165 -.05 1.799 -.538 3.214 -.538c1.406 0 1.607 .538 3.214 .538s4.286 -3.229 4.286 -5.381c-.03 -.011 -2.649 -.434 -2.679 -3.23c-.02 -2.335 2.589 -3.179 2.679 -3.228c-1.096 -1.606 -3.162 -2.113 -3.75 -2.153c-1.535 -.12 -3.032 1.077 -3.75 1.077c-.729 0 -2.036 -1.077 -3.214 -1.077z"}),y2("path",{d:"M12 4a2 2 0 0 0 2 -2a2 2 0 0 0 -2 2"})]});import{jsx as C2}from"react/jsx-runtime";var hu=e=>C2(o,{...e,children:C2("path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"})});import{jsx as Br,jsxs as GP}from"react/jsx-runtime";var fu=e=>GP(o,{...e,children:[Br("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Br("path",{d:"M3.6 9h16.8"}),Br("path",{d:"M3.6 15h16.8"}),Br("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),Br("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]});import{jsx as x2}from"react/jsx-runtime";var gu=e=>x2(o,{...e,children:x2("path",{d:"M20.945 11a9 9 0 1 1 -3.284 -5.997l-2.655 2.392a5.5 5.5 0 1 0 2.119 6.605h-4.125v-3h7.945z"})});import{jsx as vu,jsxs as VP}from"react/jsx-runtime";var Iu=e=>VP(o,{...e,children:[vu("path",{d:"M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z"}),vu("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),vu("path",{d:"M16.5 7.5v.01"})]});import{jsx as Rr,jsxs as WP}from"react/jsx-runtime";var bu=e=>WP(o,{...e,children:[Rr("path",{d:"M8 11v5"}),Rr("path",{d:"M8 8v.01"}),Rr("path",{d:"M12 16v-5"}),Rr("path",{d:"M16 16v-3a2 2 0 1 0 -4 0"}),Rr("path",{d:"M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z"})]});import{jsx as yu,jsxs as $P}from"react/jsx-runtime";var Cu=e=>$P(o,{...e,children:[yu("path",{d:"M14 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),yu("path",{d:"M12 9.765a3 3 0 1 0 0 4.47"}),yu("path",{d:"M3 5m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"})]});import{jsx as xo,jsxs as qP}from"react/jsx-runtime";var xu=e=>qP(o,{...e,children:[xo("path",{d:"M6.306 8.711c-2.602 .723 -4.306 1.926 -4.306 3.289c0 2.21 4.477 4 10 4c.773 0 1.526 -.035 2.248 -.102"}),xo("path",{d:"M17.692 15.289c2.603 -.722 4.308 -1.926 4.308 -3.289c0 -2.21 -4.477 -4 -10 -4c-.773 0 -1.526 .035 -2.25 .102"}),xo("path",{d:"M6.305 15.287c-.676 2.615 -.485 4.693 .695 5.373c1.913 1.105 5.703 -1.877 8.464 -6.66c.387 -.67 .733 -1.339 1.036 -2"}),xo("path",{d:"M17.694 8.716c.677 -2.616 .487 -4.696 -.694 -5.376c-1.913 -1.105 -5.703 1.877 -8.464 6.66c-.387 .67 -.733 1.34 -1.037 2"}),xo("path",{d:"M12 5.424c-1.925 -1.892 -3.82 -2.766 -5 -2.084c-1.913 1.104 -1.226 5.877 1.536 10.66c.386 .67 .793 1.304 1.212 1.896"}),xo("path",{d:"M12 18.574c1.926 1.893 3.821 2.768 5 2.086c1.913 -1.104 1.226 -5.877 -1.536 -10.66c-.375 -.65 -.78 -1.283 -1.212 -1.897"}),xo("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"})]});import{jsx as Lr,jsxs as XP}from"react/jsx-runtime";var Pu=e=>XP(o,{...e,children:[Lr("path",{d:"M21 15l-1 -6l-2.5 6"}),Lr("path",{d:"M9 15l1 -6"}),Lr("path",{d:"M3 9h1v6h.5l2.5 -6"}),Lr("path",{d:"M16 9.5a.5 .5 0 0 0 -.5 -.5h-.75c-.721 0 -1.337 .521 -1.455 1.233l-.09 .534a1.059 1.059 0 0 0 1.045 1.233a1.059 1.059 0 0 1 1.045 1.233l-.09 .534a1.476 1.476 0 0 1 -1.455 1.233h-.75a.5 .5 0 0 1 -.5 -.5"}),Lr("path",{d:"M18 14h2.7"})]});import{jsx as P2,jsxs as KP}from"react/jsx-runtime";var Su=e=>KP(o,{...e,children:[P2("path",{d:"M4 4l11.733 16h4.267l-11.733 -16z"}),P2("path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"})]});import{jsx as xl,jsxs as ZP}from"react/jsx-runtime";var Mu=e=>ZP(o,{...e,children:[xl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),xl("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),xl("path",{d:"M13.41 10.59l2.59 -2.59"}),xl("path",{d:"M7 12a5 5 0 0 1 5 -5"})]});import{jsx as S2}from"react/jsx-runtime";var wu=e=>S2(o,{...e,children:S2("path",{d:"M22 5h-5v5h-5v5h-5v5h-5"})});import{jsx as M2}from"react/jsx-runtime";var Dr=e=>M2(o,{...e,children:M2("path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"})});import{jsx as w2}from"react/jsx-runtime";var ku=e=>w2(o,{isFilled:!0,...e,children:w2("path",{d:"M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z"})});import{jsx as k2}from"react/jsx-runtime";var Bu=e=>k2(o,{isFilled:!0,...e,children:k2("path",{d:"M12 1a.993 .993 0 0 1 .823 .443l.067 .116l2.852 5.781l6.38 .925c.741 .108 1.08 .94 .703 1.526l-.07 .095l-.078 .086l-4.624 4.499l1.09 6.355a1.001 1.001 0 0 1 -1.249 1.135l-.101 -.035l-.101 -.046l-5.693 -3l-5.706 3c-.105 .055 -.212 .09 -.32 .106l-.106 .01a1.003 1.003 0 0 1 -1.038 -1.06l.013 -.11l1.09 -6.355l-4.623 -4.5a1.001 1.001 0 0 1 .328 -1.647l.113 -.036l.114 -.023l6.379 -.925l2.853 -5.78a.968 .968 0 0 1 .904 -.56zm0 3.274v12.476a1 1 0 0 1 .239 .029l.115 .036l.112 .05l4.363 2.299l-.836 -4.873a1 1 0 0 1 .136 -.696l.07 -.099l.082 -.09l3.546 -3.453l-4.891 -.708a1 1 0 0 1 -.62 -.344l-.073 -.097l-.06 -.106l-2.183 -4.424z"})});import{jsx as B2}from"react/jsx-runtime";var Ru=e=>B2(o,{...e,children:B2("path",{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 2zm0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6z"})});import{jsx as R2}from"react/jsx-runtime";var Tr=e=>R2(o,{...e,children:R2("path",{d:"M5 5m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"})});import{jsx as L2,jsxs as QP}from"react/jsx-runtime";var Lu=e=>QP(o,{...e,children:[L2("path",{d:"M5 12l14 0"}),L2("path",{d:"M16 6.5a4 2 0 0 0 -4 -1.5h-1a3.5 3.5 0 0 0 0 7h2a3.5 3.5 0 0 1 0 7h-1.5a4 2 0 0 1 -4 -1.5"})]});import{jsx as D2,jsxs as YP}from"react/jsx-runtime";var Du=e=>YP(o,{...e,children:[D2("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),D2("path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7"})]});import{jsx as T2,jsxs as JP}from"react/jsx-runtime";var Tu=e=>JP(o,{...e,children:[T2("path",{d:"M7 10h14l-4 -4"}),T2("path",{d:"M17 14h-14l4 4"})]});import{jsx as Pl,jsxs as jP}from"react/jsx-runtime";var Nu=e=>jP(o,{...e,children:[Pl("path",{d:"M16 3l4 4l-4 4"}),Pl("path",{d:"M10 7l10 0"}),Pl("path",{d:"M8 13l-4 4l4 4"}),Pl("path",{d:"M4 17l9 0"})]});import{jsx as Fu,jsxs as eS}from"react/jsx-runtime";var Eu=e=>eS(o,{...e,children:[Fu("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),Fu("path",{d:"M3 10h18"}),Fu("path",{d:"M10 3v18"})]});import{jsx as N2,jsxs as tS}from"react/jsx-runtime";var Nr=e=>tS(o,{...e,children:[N2("path",{d:"M7.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),N2("path",{d:"M3 6v5.172a2 2 0 0 0 .586 1.414l7.71 7.71a2.41 2.41 0 0 0 3.408 0l5.592 -5.592a2.41 2.41 0 0 0 0 -3.408l-7.71 -7.71a2 2 0 0 0 -1.414 -.586h-5.172a3 3 0 0 0 -3 3z"})]});import{jsx as hn,jsxs as oS}from"react/jsx-runtime";var Au=e=>oS(o,{...e,children:[hn("path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),hn("path",{d:"M12 12m-8 0a8 8 0 1 0 16 0a8 8 0 1 0 -16 0"}),hn("path",{d:"M12 2l0 2"}),hn("path",{d:"M12 20l0 2"}),hn("path",{d:"M20 12l2 0"}),hn("path",{d:"M2 12l2 0"})]});import{jsx as zu,jsxs as nS}from"react/jsx-runtime";var Ou=e=>nS(o,{...e,children:[zu("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),zu("path",{d:"M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0"}),zu("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as _u,jsxs as rS}from"react/jsx-runtime";var Hu=e=>rS(o,{...e,children:[_u("path",{d:"M9 15v-7a3 3 0 0 1 6 0v7"}),_u("path",{d:"M9 11h6"}),_u("path",{d:"M5 19h14"})]});import{jsx as F2,jsxs as aS}from"react/jsx-runtime";var Uu=e=>aS(o,{...e,children:[F2("path",{d:"M6 4l12 0"}),F2("path",{d:"M12 4l0 16"})]});import{jsx as Sl,jsxs as lS}from"react/jsx-runtime";var Gu=e=>lS(o,{...e,children:[Sl("path",{d:"M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),Sl("path",{d:"M12.5 5.5l4 4"}),Sl("path",{d:"M4.5 13.5l4 4"}),Sl("path",{d:"M21 15v4h-8l4 -4z"})]});import{jsx as E2}from"react/jsx-runtime";var Vu=e=>E2(o,{...e,children:E2("path",{d:"M7 13v-8a1 1 0 0 0 -1 -1h-2a1 1 0 0 0 -1 1v7a1 1 0 0 0 1 1h3a4 4 0 0 1 4 4v1a2 2 0 0 0 4 0v-5h3a2 2 0 0 0 2 -2l-1 -5a2 3 0 0 0 -2 -2h-7a3 3 0 0 0 -3 3"})});import{jsx as A2}from"react/jsx-runtime";var Wu=e=>A2(o,{...e,children:A2("path",{d:"M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3"})});import{jsx as z2,jsxs as cS}from"react/jsx-runtime";var $u=e=>cS(o,{isFilled:!0,...e,children:[z2("path",{d:"M13 3a3 3 0 0 1 2.995 2.824l.005 .176v4h2a3 3 0 0 1 2.98 2.65l.015 .174l.005 .176l-.02 .196l-1.006 5.032c-.381 1.626 -1.502 2.796 -2.81 2.78l-.164 -.008h-8a1 1 0 0 1 -.993 -.883l-.007 -.117l.001 -9.536a1 1 0 0 1 .5 -.865a2.998 2.998 0 0 0 1.492 -2.397l.007 -.202v-1a3 3 0 0 1 3 -3z"}),z2("path",{d:"M5 10a1 1 0 0 1 .993 .883l.007 .117v9a1 1 0 0 1 -.883 .993l-.117 .007h-1a2 2 0 0 1 -1.995 -1.85l-.005 -.15v-7a2 2 0 0 1 1.85 -1.995l.15 -.005h1z"})]});import{jsx as O2,jsxs as sS}from"react/jsx-runtime";var qu=e=>sS(o,{...e,children:[O2("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),O2("path",{d:"M2 6m0 6a6 6 0 0 1 6 -6h8a6 6 0 0 1 6 6v0a6 6 0 0 1 -6 6h-8a6 6 0 0 1 -6 -6z"})]});import{jsx as fn,jsxs as iS}from"react/jsx-runtime";var Xu=e=>iS(o,{...e,children:[fn("path",{d:"M9 6.371c0 4.418 -2.239 6.629 -5 6.629"}),fn("path",{d:"M4 6.371h7"}),fn("path",{d:"M5 9c0 2.144 2.252 3.908 6 4"}),fn("path",{d:"M12 20l4 -9l4 9"}),fn("path",{d:"M19.1 18h-6.2"}),fn("path",{d:"M6.694 3l.793 .582"})]});import{jsx as Fr,jsxs as pS}from"react/jsx-runtime";var We=e=>pS(o,{...e,children:[Fr("path",{d:"M4 7l16 0"}),Fr("path",{d:"M10 11l0 6"}),Fr("path",{d:"M14 11l0 6"}),Fr("path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}),Fr("path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"})]});import{jsx as _2,jsxs as dS}from"react/jsx-runtime";var Ku=e=>dS(o,{...e,children:[_2("path",{d:"M3 17l6 -6l4 4l8 -8"}),_2("path",{d:"M14 7l7 0l0 7"})]});import{jsx as H2,jsxs as mS}from"react/jsx-runtime";var Zu=e=>mS(o,{...e,children:[H2("path",{d:"M7 5v5a5 5 0 0 0 10 0v-5"}),H2("path",{d:"M5 19h14"})]});import{jsx as U2,jsxs as uS}from"react/jsx-runtime";var Qu=e=>uS(o,{...e,children:[U2("path",{d:"M9 14l-4 -4l4 -4"}),U2("path",{d:"M5 10h11a4 4 0 1 1 0 8h-1"})]});import{jsx as Yu,jsxs as hS}from"react/jsx-runtime";var Ju=e=>hS(o,{...e,children:[Yu("path",{d:"M3 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -6"}),Yu("path",{d:"M9 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),Yu("path",{d:"M13 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as ju,jsxs as fS}from"react/jsx-runtime";var Po=e=>fS(o,{...e,children:[ju("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),ju("path",{d:"M9 15l3 -3l3 3"}),ju("path",{d:"M12 12l0 9"})]});import{jsx as G2,jsxs as gS}from"react/jsx-runtime";var Er=e=>gS(o,{...e,children:[G2("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),G2("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"})]});import{jsx as e1,jsxs as vS}from"react/jsx-runtime";var t1=e=>vS(o,{...e,children:[e1("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),e1("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"}),e1("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as Ml,jsxs as IS}from"react/jsx-runtime";var o1=e=>IS(o,{...e,children:[Ml("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ml("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),Ml("path",{d:"M21 15h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3h-2.5"}),Ml("path",{d:"M19 21v1m0 -8v1"})]});import{jsx as n1,jsxs as bS}from"react/jsx-runtime";var r1=e=>bS(o,{...e,children:[n1("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),n1("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3.5"}),n1("path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39z"})]});import{jsx as wl,jsxs as yS}from"react/jsx-runtime";var a1=e=>yS(o,{...e,children:[wl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),wl("path",{d:"M16 19h6"}),wl("path",{d:"M19 16v6"}),wl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"})]});import{jsx as kl,jsxs as CS}from"react/jsx-runtime";var l1=e=>CS(o,{...e,children:[kl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),kl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),kl("path",{d:"M16 22l5 -5"}),kl("path",{d:"M21 21.5v-4.5h-4.5"})]});import{jsx as Bl,jsxs as xS}from"react/jsx-runtime";var c1=e=>xS(o,{...e,children:[Bl("path",{d:"M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Bl("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Bl("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Bl("path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"})]});import{jsx as s1,jsxs as PS}from"react/jsx-runtime";var i1=e=>PS(o,{...e,children:[s1("path",{d:"M9 10a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),s1("path",{d:"M6 21v-1a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v1"}),s1("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"})]});import{jsx as Ar,jsxs as SS}from"react/jsx-runtime";var p1=e=>SS(o,{...e,children:[Ar("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ar("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h6"}),Ar("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Ar("path",{d:"M19 22v-6"}),Ar("path",{d:"M22 19l-3 -3l-3 3"})]});import{jsx as V2,jsxs as MS}from"react/jsx-runtime";var d1=e=>MS(o,{...e,children:[V2("path",{d:"M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4z"}),V2("path",{d:"M3 6m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]});import{jsx as m1,jsxs as wS}from"react/jsx-runtime";var u1=e=>wS(o,{...e,children:[m1("path",{d:"M12 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),m1("path",{d:"M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),m1("path",{d:"M8 16l-2.091 3.486a1 1 0 0 0 .857 1.514h10.468a1 1 0 0 0 .857 -1.514l-2.091 -3.486"})]});import{jsx as h1,jsxs as kS}from"react/jsx-runtime";var f1=e=>kS(o,{...e,children:[h1("path",{d:"M15 8a5 5 0 0 1 0 8"}),h1("path",{d:"M17.7 5a9 9 0 0 1 0 14"}),h1("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]});import{jsx as W2,jsxs as BS}from"react/jsx-runtime";var g1=e=>BS(o,{...e,children:[W2("path",{d:"M15 8a5 5 0 0 1 0 8"}),W2("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]});import{jsx as $2,jsxs as RS}from"react/jsx-runtime";var v1=e=>RS(o,{...e,children:[$2("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"}),$2("path",{d:"M16 10l4 4m0 -4l-4 4"})]});import{jsx as q2}from"react/jsx-runtime";var I1=e=>q2(o,{...e,children:q2("path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"})});import{jsx as X2,jsxs as LS}from"react/jsx-runtime";var De=e=>LS(o,{...e,children:[X2("path",{d:"M18 6l-12 12"}),X2("path",{d:"M6 6l12 12"})]});import{jsx as K2,jsxs as DS}from"react/jsx-runtime";var b1=e=>DS(o,{...e,children:[K2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),K2("path",{d:"M10 10l4 4m0 -4l-4 4"})]});import{jsx as Z2}from"react/jsx-runtime";var y1=e=>Z2(o,{isFilled:!0,...e,children:Z2("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-6.489 5.8a1 1 0 0 0 -1.218 1.567l1.292 1.293l-1.292 1.293l-.083 .094a1 1 0 0 0 1.497 1.32l1.293 -1.292l1.293 1.292l.094 .083a1 1 0 0 0 1.32 -1.497l-1.292 -1.293l1.292 -1.293l.083 -.094a1 1 0 0 0 -1.497 -1.32l-1.293 1.292l-1.293 -1.292l-.094 -.083z"})});import{jsx as Q2,jsxs as TS}from"react/jsx-runtime";var C1=e=>TS(o,{...e,children:[Q2("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),Q2("path",{d:"M9 9l6 6m0 -6l-6 6"})]});import{jsx as Rl,jsxs as NS}from"react/jsx-runtime";var x1=e=>NS(o,{...e,children:[Rl("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),Rl("path",{d:"M7 10l6 0"}),Rl("path",{d:"M10 7l0 6"}),Rl("path",{d:"M21 21l-6 -6"})]});import{jsx as P1,jsxs as FS}from"react/jsx-runtime";var S1=e=>FS(o,{...e,children:[P1("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),P1("path",{d:"M7 10l6 0"}),P1("path",{d:"M21 21l-6 -6"})]});var zr=(d=>(d["48AlertFeatured"]="48AlertFeatured",d["48SuccessFeatured"]="48SuccessFeatured",d.AlertCircle="AlertCircle",d.AlertOctagon="AlertOctagon",d.AlertTriangle="AlertTriangle",d.Apps="Apps",d.ArrowBarDown="ArrowBarDown",d.ArrowBarLeft="ArrowBarLeft",d.ArrowBarRight="ArrowBarRight",d.ArrowBarToDown="ArrowBarToDown",d.ArrowBarToLeft="ArrowBarToLeft",d.ArrowBarToRight="ArrowBarToRight",d.ArrowBarToUp="ArrowBarToUp",d.ArrowBarUp="ArrowBarUp",d.Archive="Archive",d.ArrowDown="ArrowDown",d.ArrowDownLeft="ArrowDownLeft",d.ArrowDownNarrow="ArrowDownNarrow",d.ArrowDownRight="ArrowDownRight",d.ArrowLeft="ArrowLeft",d.ArrowLeftNarrow="ArrowLeftNarrow",d.ArrowRight="ArrowRight",d.ArrowRightNarrow="ArrowRightNarrow",d.ArrowUp="ArrowUp",d.ArrowUpLeft="ArrowUpLeft",d.ArrowUpNarrow="ArrowUpNarrow",d.ArrowUpRight="ArrowUpRight",d.Attachment="Attachment",d.BarChart="BarChart",d.BarChartSquare="BarChartSquare",d.Bell="Bell",d.Bold="Bold",d.Bookmark="Bookmark",d.BookmarkCheck="BookmarkCheck",d.BookmarkCheckFill="BookmarkCheckFill",d.BookmarkFill="BookmarkFill",d.BookmarkMinus="BookmarkMinus",d.BookmarkPlus="BookmarkPlus",d.BookmarkX="BookmarkX",d.BookOpen="BookOpen",d.BoxLines="BoxLines",d.BoxText="BoxText",d.BracketsCheck="BracketsCheck",d.BracketsEllipses="BracketsEllipses",d.BrickWall="BrickWall",d.Briefcase="Briefcase",d.Building="Building",d.Calculator="Calculator",d.Calendar="Calendar",d.Certificate="Certificate",d.Check="Check",d.CheckCircle="CheckCircle",d.CheckCircleBroken="CheckCircleBroken",d.CheckFill="CheckFill",d.CheckVerified="CheckVerified",d.CheckVerifiedFill="CheckVerifiedFill",d.ChevronDown="ChevronDown",d.ChevronDownDouble="ChevronDownDouble",d.ChevronDownLeft="ChevronDownLeft",d.ChevronDownLeftDouble="ChevronDownLeftDouble",d.ChevronDownRight="ChevronDownRight",d.ChevronDownRightDouble="ChevronDownRightDouble",d.ChevronLeft="ChevronLeft",d.ChevronLeftDouble="ChevronLeftDouble",d.ChevronRight="ChevronRight",d.ChevronRightDouble="ChevronRightDouble",d.ChevronSelectorVertical="ChevronSelectorVertical",d.ChevronUp="ChevronUp",d.ChevronUpDouble="ChevronUpDouble",d.ChevronUpLeft="ChevronUpLeft",d.ChevronUpLeftDouble="ChevronUpLeftDouble",d.ChevronUpRight="ChevronUpRight",d.ChevronUpRightDouble="ChevronUpRightDouble",d.Click="Click",d.Clock="Clock",d.ClockFastForward="ClockFastForward",d.ClockPlay="ClockPlay",d.ClockRewind="ClockRewind",d.Clone="Clone",d.Code="Code",d.CodeBrowser="CodeBrowser",d.CodeCircle="CodeCircle",d.Colors="Colors",d.ColumnEdit="ColumnEdit",d.Copy="Copy",d.Copy2="Copy2",d.CopyCheck="CopyCheck",d.CreditCard="CreditCard",d.Cube="Cube",d.CubeOutline="CubeOutline",d.CursorBox="CursorBox",d.Dataflow="Dataflow",d.Dataflow2="Dataflow2",d.Dataflow3="Dataflow3",d.DistributeHorizontal="DistributeHorizontal",d.Dollar="Dollar",d.DollarCircle="DollarCircle",d.Dot="Dot",d.DotFill="DotFill",d.DotsGrid="DotsGrid",d.DotsHorizontal="DotsHorizontal",d.DotsVertical="DotsVertical",d.Download="Download",d.Edit="Edit",d.Editable="Editable",d.Expand="Expand",d.ExternalLink="ExternalLink",d.ExternalLink2="ExternalLink2",d.Eye="Eye",d.EyeHidden="EyeHidden",d.EyeHidden2="EyeHidden2",d.FaceAngry="FaceAngry",d.FaceLaugh="FaceLaugh",d.FaceSmile="FaceSmile",d.File="File",d.FileCheck="FileCheck",d.FileCsv="FileCsv",d.FileDownload="FileDownload",d.FileJson="FileJson",d.FileList="FileList",d.FileMusic="FileMusic",d.FilePdf="FilePdf",d.Files="Files",d.FileSpreadsheet="FileSpreadsheet",d.FileText="FileText",d.FileUpload="FileUpload",d.FileXls="FileXls",d.FileXlsx="FileXlsx",d.FileZip="FileZip",d.Filter="Filter",d.Filter2="Filter2",d.Flag="Flag",d.Flag2="Flag2",d.FlagFill="FlagFill",d.Focus="Focus",d.Folder="Folder",d.FolderExport="FolderExport",d.FolderImport="FolderImport",d.GraduationCap="GraduationCap",d.GripVertical="GripVertical",d.Hand="Hand",d.HandShield="HandShield",d.Hash="Hash",d.HeadsetMic="HeadsetMic",d.Heart="Heart",d.HeartFill="HeartFill",d.House="House",d.HouseLine="HouseLine",d.Image="Image",d.Image2="Image2",d.ImageCheck="ImageCheck",d.ImageOff="ImageOff",d.Import="Import",d.Inbox="Inbox",d.InfoCircle="InfoCircle",d.InfoHexagon="InfoHexagon",d.Italic="Italic",d.LayersMultiple="LayersMultiple",d.LayersSingle="LayersSingle",d.Layout="Layout",d.Layout2="Layout2",d.LayoutColumns="LayoutColumns",d.LayoutCustom="LayoutCustom",d.LayoutStuffed="LayoutStuffed",d.LayoutTile="LayoutTile",d.LifeBuoy="LifeBuoy",d.Lightbulb="Lightbulb",d.Lightning="Lightning",d.LightningFast="LightningFast",d.LineChart="LineChart",d.LineChartBar="LineChartBar",d.LineChartBreakoutSquare="LineChartBreakoutSquare",d.LineChartUp="LineChartUp",d.Lines="Lines",d.LinesCheck="LinesCheck",d.LinesPlay="LinesPlay",d.Link="Link",d.Link2="Link2",d.LinkOff="LinkOff",d.ListBullet="ListBullet",d.ListOrder="ListOrder",d.Lock="Lock",d.LockFill="LockFill",d.LogIn="LogIn",d.LogOut="LogOut",d.LogOut2="LogOut2",d.MagicWand="MagicWand",d.Mail="Mail",d.MailOpen="MailOpen",d.MapPin="MapPin",d.Maximize="Maximize",d.Maximize2="Maximize2",d.MessageCircle="MessageCircle",d.MessageSquare="MessageSquare",d.MessageSquare2="MessageSquare2",d.MessageXSquare="MessageXSquare",d.Microphone="Microphone",d.Minimize="Minimize",d.Minimize2="Minimize2",d.MinusCircle="MinusCircle",d.Mobile="Mobile",d.Monitor="Monitor",d.Monitor2="Monitor2",d.Moon="Moon",d.MoonCircle="MoonCircle",d.Movie="Movie",d.NavigationPointer="NavigationPointer",d.NotificationBox="NotificationBox",d.Package="Package",d.Palette="Palette",d.PasscodeLock="PasscodeLock",d.Pause="Pause",d.PauseCircle="PauseCircle",d.PCSetup="PCSetup",d.Pen="Pen",d.PercentageCircle="PercentageCircle",d.Perspective="Perspective",d.PhoneCall="PhoneCall",d.Pin="Pin",d.Play="Play",d.PlayCircle="PlayCircle",d.Plus="Plus",d.PlusCircle="PlusCircle",d.Printer="Printer",d.Pulse="Pulse",d.QuestionCircle="QuestionCircle",d.Quote="Quote",d.RadioButton="RadioButton",d.RadioButtonFill="RadioButtonFill",d.Receipt="Receipt",d.ReceiptCheck="ReceiptCheck",d.Redo="Redo",d.Refresh="Refresh",d.Refresh2="Refresh2",d.Refresh3="Refresh3",d.Repeat="Repeat",d.Replace="Replace",d.Replay="Replay",d.Restore="Restore",d.Rocket="Rocket",d.RoundChart="RoundChart",d.RoundChart2="RoundChart2",d.Route="Route",d.Save="Save",d.ScanDots="ScanDots",d.Scissors="Scissors",d.Search="Search",d.Send="Send",d.Server="Server",d.Settings="Settings",d.Settings2="Settings2",d.Share="Share",d.ShieldLightning="ShieldLightning",d.ShieldPlus="ShieldPlus",d.ShieldRemove="ShieldRemove",d.ShoppingBag="ShoppingBag",d.ShoppingCart="ShoppingCart",d.Shrink="Shrink",d.Shuffle="Shuffle",d.SkipForward="SkipForward",d.SlashCircle="SlashCircle",d.SlashOctagon="SlashOctagon",d.SocialAndroid="SocialAndroid",d.SocialApple="SocialApple",d.SocialGithub="SocialGithub",d.SocialGlobe="SocialGlobe",d.SocialGoogle="SocialGoogle",d.SocialInstagram="SocialInstagram",d.SocialLinkedin="SocialLinkedin",d.SocialMastercard="SocialMastercard",d.SocialReact="SocialReact",d.SocialVisa="SocialVisa",d.SocialX="SocialX",d.Speedometer="Speedometer",d.Stairs="Stairs",d.Star="Star",d.StarFill="StarFill",d.StarHalf="StarHalf",d.Stars="Stars",d.Stop="Stop",d.Strikethrough="Strikethrough",d.Sun="Sun",d.Swap="Swap",d.SwitchHorizontal="SwitchHorizontal",d.Table="Table",d.Tag="Tag",d.Target="Target",d.Target2="Target2",d.TextFormat="TextFormat",d.TextFormat2="TextFormat2",d.TextHighlight="TextHighlight",d.ThumbsDown="ThumbsDown",d.ThumbsUp="ThumbsUp",d.ThumbsUpFill="ThumbsUpFill",d.Toggle="Toggle",d.Translate="Translate",d.Trash="Trash",d.Trending="Trending",d.Underline="Underline",d.Undo="Undo",d.Unlock="Unlock",d.UploadCloud="UploadCloud",d.User="User",d.UserCheck="UserCheck",d.UserDollar="UserDollar",d.UserEdit="UserEdit",d.UserPlus="UserPlus",d.UserRight="UserRight",d.Users="Users",d.UserSquare="UserSquare",d.UsersUp="UsersUp",d.UserVoice="UserVoice",d.Video="Video",d.VideoChat="VideoChat",d.Volume="Volume",d.VolumeDown="VolumeDown",d.VolumeMute="VolumeMute",d.Wrench="Wrench",d.X="X",d.XCircle="XCircle",d.XCircleFill="XCircleFill",d.XSquare="XSquare",d.ZoomIn="ZoomIn",d.ZoomOut="ZoomOut",d))(zr||{});import{jsx as m}from"react/jsx-runtime";function Oe({name:e,...t}){switch(e){case"48AlertFeatured":return m(Jc,{...t});case"48SuccessFeatured":return m(jc,{...t});case"AlertCircle":return m(ho,{...t});case"AlertOctagon":return m(ts,{...t});case"AlertTriangle":return m(ns,{...t});case"ArrowBarDown":return m(cs,{...t});case"ArrowBarLeft":return m(ss,{...t});case"ArrowBarRight":return m(is,{...t});case"ArrowBarToDown":return m(ps,{...t});case"ArrowBarToLeft":return m(ds,{...t});case"ArrowBarToRight":return m(ms,{...t});case"ArrowBarToUp":return m(us,{...t});case"ArrowBarUp":return m(hs,{...t});case"Apps":return m(rs,{...t});case"Archive":return m(ls,{...t});case"ArrowDown":return m(gs,{...t});case"ArrowDownLeft":return m(vs,{...t});case"ArrowDownNarrow":return m(bs,{...t});case"ArrowDownRight":return m(ys,{...t});case"ArrowLeft":return m(xs,{...t});case"ArrowLeftNarrow":return m(Ss,{...t});case"ArrowRight":return m(ws,{...t});case"ArrowRightNarrow":return m(Bs,{...t});case"ArrowUp":return m(Ls,{...t});case"ArrowUpLeft":return m(Ds,{...t});case"ArrowUpNarrow":return m(Ns,{...t});case"ArrowUpRight":return m(Fs,{...t});case"Attachment":return m(Es,{...t});case"BarChart":return m(As,{...t});case"BarChartSquare":return m(zs,{...t});case"Bell":return m(Os,{...t});case"Bold":return m(_s,{...t});case"BookOpen":return m($s,{...t});case"Bookmark":return m(Hs,{...t});case"BookmarkCheck":return m($c,{...t});case"BookmarkCheckFill":return m(qc,{...t});case"BookmarkFill":return m(Us,{...t});case"BookmarkMinus":return m(Gs,{...t});case"BookmarkPlus":return m(Kc,{...t});case"BookmarkX":return m(Ws,{...t});case"BoxLines":return m(qs,{...t});case"BoxText":return m(Ks,{...t});case"BracketsCheck":return m(Qs,{...t});case"BracketsEllipses":return m(Ys,{...t});case"BrickWall":return m(Js,{...t});case"Briefcase":return m(js,{...t});case"Building":return m(Zc,{...t});case"Calculator":return m(ei,{...t});case"Calendar":return m(Zn,{...t});case"Certificate":return m(ti,{...t});case"Check":return m(Pt,{...t});case"CheckCircle":return m(fo,{...t});case"CheckCircleBroken":return m(oi,{...t});case"CheckFill":return m(ni,{...t});case"CheckVerified":return m(ri,{...t});case"CheckVerifiedFill":return m(ai,{...t});case"ChevronDown":return m(Qn,{...t});case"ChevronDownDouble":return m(li,{...t});case"ChevronDownLeft":return m(ci,{...t});case"ChevronDownLeftDouble":return m(si,{...t});case"ChevronDownRight":return m(ii,{...t});case"ChevronDownRightDouble":return m(pi,{...t});case"ChevronLeft":return m(St,{...t});case"ChevronLeftDouble":return m(di,{...t});case"ChevronRight":return m(je,{...t});case"ChevronRightDouble":return m(Yn,{...t});case"ChevronSelectorVertical":return m(mi,{...t});case"ChevronUp":return m(Mt,{...t});case"ChevronUpDouble":return m(ui,{...t});case"ChevronUpLeft":return m(hi,{...t});case"ChevronUpLeftDouble":return m(fi,{...t});case"ChevronUpRight":return m(gi,{...t});case"ChevronUpRightDouble":return m(vi,{...t});case"Click":return m(Ii,{...t});case"Clock":return m(bi,{...t});case"ClockFastForward":return m(yi,{...t});case"ClockPlay":return m(xi,{...t});case"ClockRewind":return m(Pi,{...t});case"Clone":return m(Si,{...t});case"Code":return m(wi,{...t});case"CodeBrowser":return m(ki,{...t});case"CodeCircle":return m(Ri,{...t});case"Colors":return m(Di,{...t});case"ColumnEdit":return m(Qc,{...t});case"Copy":return m(Ti,{...t});case"Copy2":return m(Ni,{...t});case"CopyCheck":return m(Ei,{...t});case"Files":return m(Cp,{...t});case"CreditCard":return m(Ai,{...t});case"Cube":return m(zi,{...t});case"CubeOutline":return m(Oi,{...t});case"CursorBox":return m(jn,{...t});case"Dataflow":return m(_i,{...t});case"Dataflow2":return m(Hi,{...t});case"Dataflow3":return m(Ui,{...t});case"DistributeHorizontal":return m(Vi,{...t});case"Dollar":return m(Wi,{...t});case"DollarCircle":return m(qi,{...t});case"Dot":return m(Xi,{...t});case"DotFill":return m(Ki,{...t});case"DotsGrid":return m(Zi,{...t});case"DotsHorizontal":return m(Yi,{...t});case"DotsVertical":return m(tn,{...t});case"Download":return m(ep,{...t});case"Edit":return m(tp,{...t});case"Editable":return m(np,{...t});case"Expand":return m(rp,{...t});case"ExternalLink":return m(lp,{...t});case"ExternalLink2":return m(sp,{...t});case"Eye":return m(ip,{...t});case"EyeHidden":return m(dp,{...t});case"EyeHidden2":return m(mp,{...t});case"FaceAngry":return m(up,{...t});case"FaceLaugh":return m(hp,{...t});case"FaceSmile":return m(fp,{...t});case"File":return m(vo,{...t});case"FileCheck":return m(vp,{...t});case"FileCsv":return m(nr,{...t});case"FileDownload":return m(Ip,{...t});case"FileJson":return m(rr,{...t});case"FileList":return m(bp,{...t});case"FileMusic":return m(Ve,{...t});case"FilePdf":return m(Io,{...t});case"FileSpreadsheet":return m(lr,{...t});case"FileText":return m(kt,{...t});case"FileUpload":return m(xp,{...t});case"FileXls":return m(sr,{...t});case"FileXlsx":return m(ir,{...t});case"FileZip":return m(ct,{...t});case"Filter":return m(Pp,{...t});case"Filter2":return m(pr,{...t});case"Flag":return m(Mp,{...t});case"Flag2":return m(wp,{...t});case"FlagFill":return m(kp,{...t});case"Focus":return m(Bp,{...t});case"Folder":return m(Rp,{...t});case"FolderExport":return m(Lp,{...t});case"FolderImport":return m(Dp,{...t});case"GraduationCap":return m(Tp,{...t});case"GripVertical":return m(Np,{...t});case"Hand":return m(Fp,{...t});case"HandShield":return m(Ep,{...t});case"Hash":return m(Ap,{...t});case"HeadsetMic":return m(zp,{...t});case"Heart":return m(Op,{...t});case"HeartFill":return m(_p,{...t});case"House":return m(Up,{...t});case"HouseLine":return m(mr,{...t});case"Image":return m(we,{...t});case"Image2":return m(Gp,{...t});case"ImageCheck":return m(Vp,{...t});case"ImageOff":return m(Wp,{...t});case"Import":return m($p,{...t});case"Inbox":return m(qp,{...t});case"InfoCircle":return m(Kp,{...t});case"InfoHexagon":return m(Qp,{...t});case"Italic":return m(Jp,{...t});case"LayersMultiple":return m(ed,{...t});case"LayersSingle":return m(td,{...t});case"Layout":return m(od,{...t});case"Layout2":return m(rd,{...t});case"LayoutColumns":return m(ad,{...t});case"LayoutCustom":return m(ld,{...t});case"LayoutStuffed":return m(sd,{...t});case"LayoutTile":return m(id,{...t});case"LifeBuoy":return m(pd,{...t});case"Lightbulb":return m(md,{...t});case"Lightning":return m(ud,{...t});case"LightningFast":return m(hd,{...t});case"LineChartBar":return m(gd,{...t});case"LineChartBreakoutSquare":return m(vd,{...t});case"LineChart":return m(fd,{...t});case"LineChartUp":return m(bd,{...t});case"Lines":return m(yd,{...t});case"LinesCheck":return m(Cd,{...t});case"LinesPlay":return m(xd,{...t});case"Link":return m(Sd,{...t});case"Link2":return m(Md,{...t});case"LinkOff":return m(wd,{...t});case"ListBullet":return m(kd,{...t});case"ListOrder":return m(Bd,{...t});case"Lock":return m(Ld,{...t});case"LockFill":return m(Dd,{...t});case"LogIn":return m(Nd,{...t});case"LogOut":return m(Ed,{...t});case"LogOut2":return m(zd,{...t});case"MagicWand":return m(Od,{...t});case"Mail":return m(_d,{...t});case"MailOpen":return m(Hd,{...t});case"MapPin":return m(Ud,{...t});case"Maximize":return m(Gd,{...t});case"Maximize2":return m(Vd,{...t});case"MessageCircle":return m(Wd,{...t});case"MessageSquare":return m(qd,{...t});case"MessageSquare2":return m(Xd,{...t});case"MessageXSquare":return m(Kd,{...t});case"Microphone":return m(br,{...t});case"Minimize":return m(Zd,{...t});case"Minimize2":return m(Qd,{...t});case"MinusCircle":return m(Yd,{...t});case"Mobile":return m(jd,{...t});case"Monitor":return m(em,{...t});case"Monitor2":return m(tm,{...t});case"Moon":return m(om,{...t});case"MoonCircle":return m(nm,{...t});case"Movie":return m(et,{...t});case"NavigationPointer":return m(rm,{...t});case"NotificationBox":return m(am,{...t});case"Package":return m(lm,{...t});case"Palette":return m(cm,{...t});case"PasscodeLock":return m(sm,{...t});case"Pause":return m(bo,{...t});case"PauseCircle":return m(pm,{...t});case"PCSetup":return m(mm,{...t});case"Pen":return m(hm,{...t});case"PercentageCircle":return m(fm,{...t});case"Perspective":return m(gm,{...t});case"PhoneCall":return m(Im,{...t});case"Pin":return m(Pr,{...t});case"Play":return m(yo,{...t});case"PlayCircle":return m(ym,{...t});case"Plus":return m(Sr,{...t});case"PlusCircle":return m(Zt,{...t});case"Printer":return m(Pm,{...t});case"Pulse":return m(Sm,{...t});case"QuestionCircle":return m(Mr,{...t});case"Quote":return m(wm,{...t});case"RadioButton":return m(km,{...t});case"RadioButtonFill":return m(Bm,{...t});case"Receipt":return m(Rm,{...t});case"ReceiptCheck":return m(Lm,{...t});case"Redo":return m(Dm,{...t});case"Refresh":return m(Tm,{...t});case"Refresh2":return m(Nm,{...t});case"Refresh3":return m(Fm,{...t});case"Repeat":return m(Em,{...t});case"Replace":return m(Am,{...t});case"Replay":return m(zm,{...t});case"Restore":return m(_m,{...t});case"Rocket":return m(Um,{...t});case"RoundChart":return m(Gm,{...t});case"RoundChart2":return m(Vm,{...t});case"Route":return m($m,{...t});case"Save":return m(Xm,{...t});case"ScanDots":return m(Km,{...t});case"Scissors":return m(wr,{...t});case"Search":return m(Bt,{...t});case"Send":return m(Zm,{...t});case"Server":return m(Qm,{...t});case"Settings":return m(Ym,{...t});case"Settings2":return m(Jm,{...t});case"Share":return m(jm,{...t});case"ShieldLightning":return m(eu,{...t});case"ShieldPlus":return m(ou,{...t});case"ShieldRemove":return m(ru,{...t});case"ShoppingBag":return m(au,{...t});case"ShoppingCart":return m(lu,{...t});case"Shrink":return m(cu,{...t});case"Shuffle":return m(su,{...t});case"SkipForward":return m(iu,{...t});case"SlashCircle":return m(pu,{...t});case"SlashOctagon":return m(du,{...t});case"SocialAndroid":return m(mu,{...t});case"SocialApple":return m(uu,{...t});case"SocialGithub":return m(hu,{...t});case"SocialGlobe":return m(fu,{...t});case"SocialGoogle":return m(gu,{...t});case"SocialInstagram":return m(Iu,{...t});case"SocialLinkedin":return m(bu,{...t});case"SocialMastercard":return m(Cu,{...t});case"SocialReact":return m(xu,{...t});case"SocialVisa":return m(Pu,{...t});case"SocialX":return m(Su,{...t});case"Speedometer":return m(Mu,{...t});case"Stairs":return m(wu,{...t});case"Star":return m(Dr,{...t});case"StarFill":return m(ku,{...t});case"StarHalf":return m(Bu,{...t});case"Stars":return m(Ru,{...t});case"Stop":return m(Tr,{...t});case"Strikethrough":return m(Lu,{...t});case"Sun":return m(Du,{...t});case"Swap":return m(Tu,{...t});case"SwitchHorizontal":return m(Nu,{...t});case"Table":return m(Eu,{...t});case"Tag":return m(Nr,{...t});case"Target":return m(Au,{...t});case"Target2":return m(Ou,{...t});case"TextFormat":return m(Hu,{...t});case"TextFormat2":return m(Uu,{...t});case"TextHighlight":return m(Gu,{...t});case"ThumbsDown":return m(Vu,{...t});case"ThumbsUp":return m(Wu,{...t});case"ThumbsUpFill":return m($u,{...t});case"Toggle":return m(qu,{...t});case"Translate":return m(Xu,{...t});case"Trash":return m(We,{...t});case"Trending":return m(Ku,{...t});case"Underline":return m(Zu,{...t});case"Undo":return m(Qu,{...t});case"Unlock":return m(Ju,{...t});case"UploadCloud":return m(Po,{...t});case"User":return m(Er,{...t});case"UserCheck":return m(t1,{...t});case"UserDollar":return m(o1,{...t});case"UserEdit":return m(r1,{...t});case"UserPlus":return m(a1,{...t});case"UserRight":return m(l1,{...t});case"UserSquare":return m(i1,{...t});case"Users":return m(c1,{...t});case"UsersUp":return m(p1,{...t});case"UserVoice":return m(Yc,{...t});case"Video":return m(d1,{...t});case"VideoChat":return m(u1,{...t});case"Volume":return m(f1,{...t});case"VolumeDown":return m(g1,{...t});case"VolumeMute":return m(v1,{...t});case"Wrench":return m(I1,{...t});case"X":return m(De,{...t});case"XCircle":return m(b1,{...t});case"XCircleFill":return m(y1,{...t});case"XSquare":return m(C1,{...t});case"ZoomIn":return m(x1,{...t});case"ZoomOut":return m(S1,{...t});default:return null}}var Y2=vo,J2={png:we,jpg:we,jpeg:we,gif:we,bmp:we,webp:we,svg:we,avif:we,heic:we,ico:we,tif:we,tiff:we,mp4:et,mov:et,webm:et,avi:et,mkv:et,m4v:et,ogv:et,mp3:Ve,wav:Ve,ogg:Ve,oga:Ve,m4a:Ve,aac:Ve,flac:Ve,weba:Ve,pdf:Io,doc:kt,docx:kt,txt:kt,rtf:kt,odt:kt,json:rr,csv:nr,xls:sr,xlsx:ir,ods:lr,zip:ct,rar:ct,"7z":ct,tar:ct,gz:ct,tgz:ct};var M1=e=>{let t=e?.trim().replace(/^\./,"").toLowerCase();return t&&J2[t]||Y2};import{cn as w1,ColorHelpers as ES}from"@cleen/ui-core";import{forwardRef as AS}from"react";import{Fragment as OS,jsx as Or,jsxs as _S}from"react/jsx-runtime";var zS=AS(function({iconName:t,iconSrc:r,icon:n,iconSize:l=20,header:a,color:c,children:s,classNames:u,styles:p,...i},g){let h=ES.getComputedColor(c);return Or(pe,{ref:g,classNames:{...u,header:{...u?.header,title:w1("cleen-flex cleen-gap-4",u?.header?.title)}},header:{...a,title:_S(OS,{children:[Or("div",{className:w1("cleen-flex cleen-w-10 cleen-h-10 cleen-justify-center cleen-items-center cleen-gap-2 cleen-flex-shrink-0 cleen-rounded-xl cleen-border cleen-border-border cleen-bg-background",u?.iconHolder),style:{...h&&{backgroundColor:Vn(h,.85),color:h,borderColor:"transparent"},...p?.iconHolder},children:n||(t?Or(Oe,{name:t,className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):r?Or("img",{src:r,alt:"Icon",className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):null)}),a?.title]})},color:c,...i,children:s&&Or("div",{className:w1("cleen-flex-1",u?.content),style:p?.content,children:s})})});import{cn as gn}from"@cleen/ui-core";import{forwardRef as HS,useMemo as US}from"react";import{jsx as _r}from"react/jsx-runtime";var GS=HS(function({media:t,header:r,color:n,children:l,classNames:a,styles:c,...s},u){let p=US(()=>{switch(t?.type){case"image":return _r("img",{...t,alt:t.alt??"Card media",className:gn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"video":return _r("video",{playsInline:!0,controls:!0,...t,className:gn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"iframe":return _r("iframe",{...t,title:t.title??"Card iframe",className:gn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});default:return null}},[t,a?.media,c?.media]);return _r(pe,{ref:u,color:n,classNames:{...a,container:gn("cleen-pt-0",a?.container),header:{...a?.header,content:gn("cleen-p-0",a?.header?.content)}},header:{...r,...p&&{content:_r("div",{className:gn("cleen-w-full cleen-overflow-hidden cleen-rounded-t-lg",a?.media?.container),style:c?.media?.container,children:p})}},...s,children:l})});import{cn as Hr}from"@cleen/ui-core";import{jsx as Ll,jsxs as VS}from"react/jsx-runtime";var ee=({className:e,classNames:t,style:r,styles:n,infoMessage:l,errorMessage:a,subtitle:c,...s})=>Ll("div",{className:Hr("cleen",e),style:r,children:VS("div",{className:Hr(t?.container),style:n?.container,...s,children:[l&&Ll("div",{className:Hr("cleen-mt-1 cleen-font-normal cleen-text-sm cleen-text-info",t?.infoMessage),style:n?.infoMessage,role:"note",children:l}),a&&Ll("div",{className:Hr("cleen-mt-1 cleen-font-medium cleen-text-sm cleen-text-error",t?.errorMessage),style:n?.errorMessage,role:"alert",children:a}),c&&Ll("div",{className:Hr("cleen-mt-2 cleen-font-normal cleen-text-sm cleen-text-neutral-600",t?.subtitle),style:n?.subtitle,children:c})]})});import{cn as Ur}from"@cleen/ui-core";import{jsx as Gr,jsxs as WS}from"react/jsx-runtime";var oe=({required:e=!1,tooltip:t,children:r,className:n,classNames:l,style:a,styles:c,...s})=>Gr("div",{className:Ur("cleen",n),style:a,children:WS("label",{...s,className:Ur("cleen-w-full cleen-flex cleen-gap-1 cleen-items-center cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-leading-6",l?.container),style:c?.container,children:[Gr("div",{className:Ur({"cleen-flex-1":!e&&!t},l?.label),style:c?.label,children:r}),e&&Gr("span",{className:Ur("cleen-text-primary",l?.required),style:c?.required,children:"*"}),t&&Gr(ge,{hasArrow:!0,placement:"top",label:t,color:"rgb(var(--cleen-neutral-600))",...l?.tooltip,style:c?.tooltip?.style,styles:{...c?.tooltip?.styles,labelContainer:{width:"max-content",maxWidth:"250px",...c?.tooltip?.styles?.labelContainer}},children:Gr(Mr,{className:Ur("cleen-size-3 cleen-text-neutral-500 hover:cleen-text-neutral-900 cleen-transition-colors cleen-cursor-help",l?.questionIcon),style:c?.questionIcon})})]})});import{cn as Lt}from"@cleen/ui-core";import{forwardRef as $S,useEffect as qS,useId as XS,useMemo as KS,useState as j2}from"react";import{jsx as Jt,jsxs as Dl}from"react/jsx-runtime";var de=$S(function({name:t,id:r,type:n,label:l,labelTooltip:a,defaultValue:c,value:s,files:u,disabled:p,required:i,className:g,classNames:h,style:y,styles:b,autoComplete:f="off",isFocusedBorder:v,maxLength:C,minLength:x,maxLengthLabelThreshold:I=.5,uploadLabel:P="Choose a file",leftIcon:M,rightIcon:B,topRightIcon:k,inputOverlay:w,infoLabels:R,maxLengthLabel:E,minLengthLabel:N,onChange:L,...F},D){let S=s!==void 0||u!==void 0,[H,T]=j2(c??""),[z,A]=j2(null),_=S?s:H,G=S?u:z;qS(()=>{S||T(s??c??"")},[s,c,S]);let $=O=>{let Z=O.target.value;if(n==="file"&&O.target.files){S||A(O.target.files),L?.(O);return}(!C||Z.length<=C)&&(S||T(Z),L?.(O))},q=KS(()=>x&&N&&(_?.toString()?.length??0)<x?N(x-(_?.toString()?.length??0)):!C||!E||(_?.toString()?.length??0)/C<I?R?.subtitle:E?.(C-(_?.toString()?.length??0)),[_,C,I,R?.subtitle]),U=XS(),V=!!(R?.errorMessage||R?.infoMessage||q),Q=V?`${U}-info`:void 0;return Jt("div",{className:Lt("cleen",g),style:y,children:Dl("div",{className:Lt("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-normal",h?.container),style:b?.container,children:[(l||k)&&Dl("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",children:[Jt(oe,{htmlFor:r||t,required:i,tooltip:a,className:Lt("cleen-w-full",h?.label?.className),classNames:h?.label?.classNames,...b?.label,children:l}),k]}),Dl("label",{className:Lt("cleen-relative cleen-flex cleen-items-stretch cleen-bg-background cleen-shadow-sm cleen-border cleen-rounded-md cleen-transition-all cleen-duration-200 cleen-overflow-hidden focus-within:cleen-ring-4 focus-within:cleen-ring-primary-100 focus-within:cleen-ring-offset-0",{"has-[:focus]:cleen-border has-[:focus]:cleen-border-primary/30":v},p&&"cleen-bg-muted",{"cleen-cursor-pointer":n==="file"&&!p},R?.errorMessage?["cleen-border-error/70 focus-within:cleen-ring-error-bg",!p&&"hover:cleen-border-error"]:["cleen-border-border focus-within:cleen-border-primary-400",!p&&"hover:cleen-border-muted-foreground focus-within:cleen-border-primary focus-within:hover:cleen-border-primary"],h?.inputContainer),style:b?.inputContainer,children:[M&&Jt("div",{className:Lt("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1.5 cleen-p-2 cleen-rounded-l-md focus:cleen-outline-none focus:cleen-ring-4 cleen-text-base",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",h?.leftIconContainer),style:b?.leftIconContainer,children:M}),Dl("div",{className:"cleen-relative cleen-flex cleen-flex-1 cleen-items-stretch",children:[Jt("input",{id:r||t,name:t,type:n,disabled:p,maxLength:C,autoComplete:f,value:_,className:Lt("cleen-block cleen-border-0 cleen-bg-transparent cleen-rounded-md cleen-w-full cleen-text-base","cleen-py-2 cleen-pr-2 placeholder:cleen-text-neutral-400 sm:cleen-text-sm focus:cleen-ring-transparent focus:cleen-outline-none cleen-my-auto",M?"cleen-pl-0":"cleen-px-3.5",{"cleen-rounded-l-none":M,"cleen-rounded-r-none":B,"cleen-hidden":n==="file"},p?"cleen-text-neutral-400":"cleen-text-foreground",h?.input),style:b?.input,onChange:$,required:i,"aria-invalid":R?.errorMessage?!0:void 0,"aria-describedby":Q,ref:D,...F}),w&&Jt("div",{className:Lt("cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-rounded-md cleen-overflow-hidden cleen-text-sm cleen-pointer-events-auto",M?"cleen-pl-0 cleen-pr-2":"cleen-px-3.5",h?.inputOverlay),style:b?.inputOverlay,children:w}),n==="file"&&Jt("p",{className:Lt("cleen-flex cleen-items-center cleen-p-2.5 cleen-text-sm cleen-text-nowrap",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",G&&G.length>0&&"cleen-text-foreground"),children:G&&G.length>0?Array.from(G).map(O=>O.name).join(", "):P})]}),B&&Jt("div",{className:Lt("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1.5 cleen-p-2 cleen-rounded-r-md focus:cleen-outline-none focus:cleen-ring-4 cleen-text-base",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",h?.rightIconContainer),style:b?.rightIconContainer,children:B})]}),V&&Jt(ee,{id:Q,...R,subtitle:q})]})})});import{cn as Vr,useOutsideClick as ZS}from"@cleen/ui-core";import{forwardRef as QS,useEffect as eg,useImperativeHandle as YS,useMemo as JS,useRef as jS,useState as Tl}from"react";import{jsx as Wr,jsxs as e4}from"react/jsx-runtime";var k1=QS(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:g,inputProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:f,customLoader:v=Wr(ne,{}),selectAllOnEdit:C=!1,renderText:x,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Tl(r??""),L=R?t??"":E,[F,D]=Tl(!1),S=f??F,H=JS(()=>typeof x=="function"?x(L):x||L||s||c,[L,x,c,s]),[T,z]=Tl(n),A=l!==void 0,_=A?l:T,[G,$]=Tl(L),q=jS(null);YS(w,()=>({...q.current,save:V,cancel:U})),eg(()=>{R||N(r??"")},[r,R]),eg(()=>{_||$(L)},[L,_]);let U=async()=>{A||z(!1),a?.(!1),$(L),await i?.()},V=async()=>{if(!S){if(L===G){await i?.(),A||z(!1),a?.(!1);return}D(!0),R||N(G);try{await p?.(G),A||z(!1),a?.(!1)}finally{D(!1)}}},Q=async O=>{O.key==="Enter"&&(O.preventDefault(),await V()),O.key==="Escape"&&(O.stopPropagation(),O.preventDefault(),await U()),h?.onKeyDown?.(O)};return ZS({refs:[q],enabled:y&&_,handler:async()=>{b?await V():await U()}}),Wr("div",{className:Vr("cleen",I),style:M,ref:q,...k,children:_?e4("div",{className:Vr("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[Wr(de,{value:G,onChange:O=>{$(O.target.value),g?.(O.target.value)},autoFocus:!0,placeholder:c,className:P?.input?.className,classNames:{...P?.input?.classNames,inputContainer:Vr("cleen-border-primary hover:cleen-border-primary/60",P?.input?.classNames?.inputContainer)},...B?.input,...h,onFocus:O=>{h?.onFocus?.(O),C&&O.target.select()},disabled:S||h?.disabled,onKeyDown:Q}),S&&Wr("div",{className:Vr("cleen-absolute cleen-top-1/2 cleen-left-1/2 cleen-transform cleen--translate-x-1/2 cleen--translate-y-1/2",P?.loaderContainer),style:B?.loaderContainer,children:v})]}):Wr("div",{onClick:()=>{u&&(A||z(!0),a?.(!0))},className:Vr("cleen-min-h-6 cleen-text-foreground",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!L&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:H})})});import{cn as vn}from"@cleen/ui-core";import{forwardRef as t4,useEffect as tg,useId as o4,useMemo as n4,useRef as r4,useState as a4}from"react";import{jsx as So,jsxs as B1}from"react/jsx-runtime";var R1=t4(function({name:t,id:r,value:n,defaultValue:l,label:a,labelTooltip:c,disabled:s,required:u,infoLabels:p,topRightElement:i,labelRightElement:g,textareaOverlay:h,onChange:y,minHeight:b,maxHeight:f=200,autoResize:v=!0,maxLength:C,minLength:x,maxLengthLabelThreshold:I=.5,maxLengthLabel:P,minLengthLabel:M,className:B,classNames:k,style:w,styles:R,...E},N){let L=n!==void 0,[F,D]=a4(typeof l=="string"?l:""),S=r4(null),H=N??S,T=L?n:F;tg(()=>{L||D(n??(typeof l=="string"?l:""))},[n,l,L]);let z=O=>{O.style.height="auto";let Z=Math.min(O.scrollHeight,f);O.style.height=`${Z}px`},A=O=>{z(O.target)};tg(()=>{!v||!S.current||z(S.current)},[v,T,f]);let _=O=>{O.preventDefault()},G=O=>{O.preventDefault();let Z=O.dataTransfer?.getData("text/plain");L?y?.(`${n??""}${Z}`):(D(ie=>`${ie}${Z}`),y?.(`${F}${Z}`))},$=O=>{let Z=O.target.value;(!C||Z.length<=C)&&(L||D(Z),y?.(Z),v&&A(O))},q=n4(()=>x&&M&&(T?.length??0)<x?M(x-(T?.length??0)):!C||!P||(T?.toString()?.length??0)/C<I?p?.subtitle:P?.(C-(T?.toString()?.length??0)),[T,C,I,p?.subtitle]),U=o4(),V=!!(p?.errorMessage||p?.infoMessage||q),Q=V?`${U}-info`:void 0;return So("div",{className:vn("cleen",B),style:w,children:B1("div",{className:vn("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-size-full cleen-font-normal",k?.container),style:R?.container,children:[(a||g)&&B1("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-mb-1.5",children:[a&&So(oe,{htmlFor:r||t,required:u,tooltip:c,className:vn("cleen-w-full",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:a}),g&&So("div",{className:"cleen-ml-auto",children:g})]}),B1("div",{className:vn("cleen-relative cleen-flex cleen-items-center cleen-shadow-sm cleen-border cleen-rounded-md cleen-transition-colors cleen-duration-200",p?.errorMessage?"cleen-border-error/70 hover:cleen-border-error":"cleen-border-border hover:cleen-border-muted-foreground focus-within:cleen-border-primary focus-within:hover:cleen-border-primary",k?.textareaContainer),style:R?.textareaContainer,children:[i&&So("div",{className:"cleen-absolute cleen-top-2 cleen-right-2 cleen-z-10",children:i}),h&&So("div",{className:vn("cleen-absolute cleen-inset-0 cleen-px-3.5 cleen-py-3 cleen-rounded-lg cleen-overflow-y-auto cleen-text-sm cleen-leading-6",s?"cleen-bg-muted":"cleen-bg-background"),children:h}),So("textarea",{id:r||t,name:t,ref:H,disabled:s,value:T,minLength:x,maxLength:C,"aria-invalid":p?.errorMessage?!0:void 0,"aria-describedby":Q,className:vn("cleen-block cleen-flex-1 cleen-px-3.5 cleen-py-3 cleen-border-0 cleen-rounded-lg focus:cleen-outline-none focus:cleen-ring-transparent placeholder:cleen-text-muted-foreground sm:cleen-text-sm cleen-text-base",s?"cleen-bg-muted cleen-text-neutral-400":"cleen-bg-background cleen-text-foreground",k?.textarea),style:{...b&&{minHeight:`${b}px`},...R?.textarea},onFocus:O=>O.currentTarget.setSelectionRange(O.currentTarget.value.length,O.currentTarget.value.length),onDragOver:_,onDrop:G,...E,onChange:$})]}),V&&So(ee,{id:Q,...p,subtitle:q})]})})});import{cn as $r,useOutsideClick as l4}from"@cleen/ui-core";import{forwardRef as c4,useEffect as og,useImperativeHandle as s4,useMemo as i4,useRef as p4,useState as Nl}from"react";import{jsx as qr,jsxs as d4}from"react/jsx-runtime";var L1=c4(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:g,textAreaProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:f,customLoader:v=qr(ne,{size:"md"}),selectAllOnEdit:C=!1,renderText:x,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Nl(r??""),L=R?t??"":E,[F,D]=Nl(!1),S=f??F,H=i4(()=>typeof x=="function"?x(L):x||L||s||c,[L,x,c,s]),[T,z]=Nl(n),A=l!==void 0,_=A?l:T,[G,$]=Nl(L),q=p4(null);s4(w,()=>({...q.current,save:V,cancel:U})),og(()=>{R||N(r??"")},[r,R]),og(()=>{_||$(L)},[L,_]);let U=async()=>{A||z(!1),a?.(!1),$(L),await i?.()},V=async()=>{if(!S){if(L===G){await i?.(),A||z(!1),a?.(!1);return}D(!0),R||N(G);try{await p?.(G),A||z(!1),a?.(!1)}finally{D(!1)}}},Q=async O=>{O.key==="Escape"&&(O.preventDefault(),O.stopPropagation(),await U()),O.key==="Enter"&&(O.metaKey||O.ctrlKey)&&(O.preventDefault(),await V()),h?.onKeyDown?.(O)};return l4({refs:[q],enabled:y&&_,handler:async()=>{b?await V():await U()}}),qr("div",{className:$r("cleen",I),style:M,ref:q,...k,children:_?d4("div",{className:$r("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[qr(R1,{value:G,onChange:O=>{$(O),g?.(O)},autoFocus:!0,placeholder:c,className:P?.textArea?.className,classNames:{...P?.textArea?.classNames,textareaContainer:$r("cleen-border-primary hover:cleen-border-primary/60",P?.textArea?.classNames?.textareaContainer)},...B?.textArea,...h,onFocus:O=>{h?.onFocus?.(O),C&&O.target.select()},disabled:S||h?.disabled,onKeyDown:Q}),S&&qr("div",{className:$r("cleen-absolute cleen-top-1/2 cleen-left-1/2 cleen-transform cleen--translate-x-1/2 cleen--translate-y-1/2",P?.loaderContainer),style:B?.loaderContainer,children:v})]}):qr("div",{onClick:()=>{u&&(A||z(!0),a?.(!0))},className:$r("cleen-min-h-6 cleen-text-foreground cleen-whitespace-pre-wrap",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!L&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:H})})});import"@cleen/ui-core";import{forwardRef as m4}from"react";import{Fragment as h4,jsx as D1,jsxs as f4}from"react/jsx-runtime";var u4=m4(function({header:t,color:r,children:n,description:l,onSave:a,isDescriptionHidden:c=!1,titleProps:s,descriptionProps:u,classNames:p,styles:i,...g},h){let y=typeof t?.title=="string"||typeof t?.title=="number"?String(t.title):void 0;return D1(pe,{ref:h,color:r,header:{...t,title:D1(k1,{value:y??"",onSave:async b=>{await a?.("title",b)},...p?.titleTextInput,...i?.titleTextInput,...s})},classNames:p,styles:i,...g,children:(!c||n)&&f4(h4,{children:[D1(L1,{value:l??"",onSave:async b=>{await a?.("description",b)},...u,textAreaProps:u?.textAreaProps,...p?.descriptionTextInput,...i?.descriptionTextInput}),n]})})});import{cn as Xr}from"@cleen/ui-core";import{forwardRef as g4}from"react";import{jsx as Fl}from"react/jsx-runtime";var v4=g4(function({type:t="button",label:r,onClick:n,containerRef:l,className:a,classNames:c,style:s,styles:u,disabled:p=!1,loaderOptions:i,isLoading:g=!1,variant:h="primary",children:y,...b},f){return Fl("div",{className:Xr("cleen",a),style:s,ref:l,children:Fl("button",{type:t,ref:f,disabled:g||p,onClick:n,className:Xr("cleen-size-full",c?.container),style:u?.container,...b,children:Fl(pe,{p:0,className:Xr("cleen-size-full cleen-group",c?.card?.className),classNames:{...c?.card?.classNames,container:Xr("focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2 cleen-size-full cleen-font-semibold cleen-transition-colors cleen-duration-200",y0[h],c?.card?.classNames?.container,{"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":p||g}),childrenContainer:Xr("cleen-flex cleen-justify-center cleen-items-center cleen-size-full",c?.card?.classNames?.childrenContainer)},"aria-disabled":p||g,...u?.card,children:g?Fl(ne,{size:"lg",...i,color:i?.color||C0[h],...c?.loader,...u?.loader}):r||y})})})});import{cn as Kr,ColorHelpers as ng,formatAudioTime as rg}from"@cleen/ui-core";import{useWavesurfer as I4}from"@wavesurfer/react";import{forwardRef as b4,useCallback as y4,useRef as C4}from"react";import{jsx as Zr,jsxs as ag}from"react/jsx-runtime";var x4={waveColor:ng.getComputedColor("var(--cleen-neutral-200)"),progressColor:ng.getComputedColor("var(--cleen-primary)"),cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,interact:!0,normalize:!0},P4=b4(function({url:t,options:r,className:n,classNames:l,style:a,styles:c,...s},u){let p=C4(null),{wavesurfer:i,isPlaying:g,isReady:h,currentTime:y}=I4({...x4,...r,container:p,url:t}),b=h?i?.getDuration()??0:0,f=y4(()=>{i?.playPause()},[i]);return Zr("div",{ref:u,className:Kr("cleen",n),style:a,...s,children:ag("div",{className:Kr("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-rounded-xl cleen-bg-surface cleen-border cleen-border-border",l?.container),style:c?.container,children:[Zr(re,{type:"button",onClick:f,disabled:!h,"aria-label":g?"Pause":"Play",className:l?.playButton?.className,classNames:{...l?.playButton?.classNames,container:Kr("cleen-p-0 !cleen-size-9 cleen-rounded-full",l?.playButton?.classNames?.container)},...c?.playButton,children:g?Zr(bo,{className:"cleen-fill-current"}):Zr(yo,{className:"cleen-fill-current"})}),Zr("div",{ref:p,className:Kr("cleen-flex-1 cleen-min-w-0",l?.waveform),style:c?.waveform}),ag("span",{className:Kr("cleen-shrink-0 cleen-text-xs cleen-text-muted-foreground cleen-tabular-nums",l?.timestamp),style:c?.timestamp,children:[rg(y),"\xA0/\xA0",rg(b)]})]})})});import{ColorHelpers as S4}from"@cleen/ui-core";var lg=S4.getComputedColor("var(--cleen-primary)"),cg="rgba(var(--cleen-primary), 0.15)",sg={waveColor:lg,progressColor:lg,cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,minPxPerSec:.5,sampleRate:8e3};var ig={startRecording:"Click to start recording"};import{cn as _e,formatAudioTime as Gl,trimBlob as w4}from"@cleen/ui-core";import{useWavesurfer as k4}from"@wavesurfer/react";import{forwardRef as B4,useCallback as bn,useEffect as z1,useMemo as R4,useRef as mg,useState as Vl}from"react";function T1(e,t,r,n){return new(r||(r=Promise))((function(l,a){function c(p){try{u(n.next(p))}catch(i){a(i)}}function s(p){try{u(n.throw(p))}catch(i){a(i)}}function u(p){var i;p.done?l(p.value):(i=p.value,i instanceof r?i:new r((function(g){g(i)}))).then(c,s)}u((n=n.apply(e,t||[])).next())}))}var El=class{constructor(){this.listeners={}}on(t,r,n){if(this.listeners[t]||(this.listeners[t]=new Set),n?.once){let l=(...a)=>{this.un(t,l),r(...a)};return this.listeners[t].add(l),()=>this.un(t,l)}return this.listeners[t].add(r),()=>this.un(t,r)}un(t,r){var n;(n=this.listeners[t])===null||n===void 0||n.delete(r)}once(t,r){return this.on(t,r,{once:!0})}unAll(){this.listeners={}}emit(t,...r){this.listeners[t]&&this.listeners[t].forEach((n=>n(...r)))}},F1=class extends El{constructor(t){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=t}onInit(){}_init(t){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=t,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},E1=class extends El{constructor(){super(...arguments),this.animationFrameId=null,this.isRunning=!1}start(){if(this.isRunning)return;this.isRunning=!0;let t=()=>{this.isRunning&&(this.emit("tick"),this.animationFrameId=requestAnimationFrame(t))};t()}stop(){this.isRunning=!1,this.animationFrameId!==null&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}destroy(){this.stop()}},N1=100,M4=["audio/webm","audio/wav","audio/mpeg","audio/mp4","audio/mp3"],Al=class e extends F1{constructor(t){var r,n,l,a,c,s;super(Object.assign(Object.assign({},t),{audioBitsPerSecond:(r=t.audioBitsPerSecond)!==null&&r!==void 0?r:128e3,scrollingWaveform:(n=t.scrollingWaveform)!==null&&n!==void 0&&n,scrollingWaveformWindow:(l=t.scrollingWaveformWindow)!==null&&l!==void 0?l:5,continuousWaveform:(a=t.continuousWaveform)!==null&&a!==void 0&&a,renderRecordedAudio:(c=t.renderRecordedAudio)===null||c===void 0||c,mediaRecorderTimeslice:(s=t.mediaRecorderTimeslice)!==null&&s!==void 0?s:void 0})),this.stream=null,this.mediaRecorder=null,this.dataWindow=null,this.isWaveformPaused=!1,this.lastStartTime=0,this.lastDuration=0,this.duration=0,this.micStream=null,this.recordedBlobUrl=null,this.timer=new E1,this.subscriptions.push(this.timer.on("tick",(()=>{let u=performance.now()-this.lastStartTime;this.duration=this.isPaused()?this.duration:this.lastDuration+u,this.emit("record-progress",this.duration)})))}static create(t){return new e(t||{})}renderMicStream(t){var r;let n=new AudioContext,l=n.createMediaStreamSource(t),a=n.createAnalyser();l.connect(a),(this.options.continuousWaveform||this.options.scrollingWaveform)&&(a.fftSize=32);let c=a.frequencyBinCount,s=new Float32Array(c),u=0;this.wavesurfer&&((r=this.originalOptions)!==null&&r!==void 0||(this.originalOptions=Object.assign({},this.wavesurfer.options)),this.wavesurfer.options.interact=!1,this.options.scrollingWaveform&&(this.wavesurfer.options.cursorWidth=0,this.wavesurfer.options.normalize=!0,this.wavesurfer.options.maxPeak=1));let p=setInterval((()=>{var i,g,h,y;if(!this.isWaveformPaused){if(a.getFloatTimeDomainData(s),this.options.scrollingWaveform){let b=Math.floor((this.options.scrollingWaveformWindow||0)*N1),f=0;for(let C=0;C<c;C++){let x=Math.abs(s[C]);x>f&&(f=x)}this.dataWindow||(this.dataWindow=new Float32Array(b));let v=new Float32Array(b);if(this.dataWindow&&this.dataWindow.length>0){let C=b-1,x=this.dataWindow.slice(-C);v.set(x,0)}v[b-1]=f,this.dataWindow=v}else if(this.options.continuousWaveform){if(!this.dataWindow){let f=this.options.continuousWaveformDuration?Math.round(this.options.continuousWaveformDuration*N1):((g=(i=this.wavesurfer)===null||i===void 0?void 0:i.getWidth())!==null&&g!==void 0?g:0)*window.devicePixelRatio;this.dataWindow=new Float32Array(f)}let b=0;for(let f=0;f<c;f++){let v=Math.abs(s[f]);v>b&&(b=v)}if(u+1>this.dataWindow.length){let f=new Float32Array(2*this.dataWindow.length);f.set(this.dataWindow,0),this.dataWindow=f}this.dataWindow[u]=b,u++}else this.dataWindow=s;if(this.wavesurfer){let b=((y=(h=this.dataWindow)===null||h===void 0?void 0:h.length)!==null&&y!==void 0?y:0)/N1;this.wavesurfer.load("",[this.dataWindow],this.options.scrollingWaveform?this.options.scrollingWaveformWindow:b).then((()=>{this.wavesurfer&&this.options.continuousWaveform&&(this.wavesurfer.setTime(this.getDuration()/1e3),this.wavesurfer.options.minPxPerSec||this.wavesurfer.setOptions({minPxPerSec:this.wavesurfer.getWidth()/this.wavesurfer.getDuration()}))})).catch((f=>{console.error("Error rendering real-time recording data:",f)}))}}}),10);return{onDestroy:()=>{clearInterval(p),l?.disconnect(),n?.close()},onEnd:()=>{this.isWaveformPaused=!0,this.stopMic()}}}startMic(t){return T1(this,void 0,void 0,(function*(){let r;this.micStream&&this.stopMic();try{r=yield navigator.mediaDevices.getUserMedia({audio:t==null||t})}catch(l){throw new Error("Error accessing the microphone: "+l.message)}let n=this.renderMicStream(r);return this.micStream=n,this.unsubscribeDestroy=this.once("destroy",n.onDestroy),this.unsubscribeRecordEnd=this.once("record-end",n.onEnd),this.stream=r,r}))}stopMic(){var t,r,n;(t=this.micStream)===null||t===void 0||t.onDestroy(),(r=this.unsubscribeDestroy)===null||r===void 0||r.call(this),(n=this.unsubscribeRecordEnd)===null||n===void 0||n.call(this),this.micStream=null,this.unsubscribeDestroy=void 0,this.unsubscribeRecordEnd=void 0,this.stream&&(this.stream.getTracks().forEach((l=>l.stop())),this.stream=null,this.mediaRecorder=null)}startRecording(t){return T1(this,void 0,void 0,(function*(){let r=this.stream||(yield this.startMic(t));this.dataWindow=null;let n=this.mediaRecorder||new MediaRecorder(r,{mimeType:this.options.mimeType||M4.find((c=>MediaRecorder.isTypeSupported(c))),audioBitsPerSecond:this.options.audioBitsPerSecond});this.mediaRecorder=n,this.stopRecording();let l=[];n.ondataavailable=c=>{c.data.size>0&&l.push(c.data),this.emit("record-data-available",c.data)};let a=c=>{var s;let u=new Blob(l,{type:n.mimeType});this.emit(c,u),this.options.renderRecordedAudio&&(this.applyOriginalOptionsIfNeeded(),this.recordedBlobUrl&&URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=URL.createObjectURL(u),(s=this.wavesurfer)===null||s===void 0||s.load(this.recordedBlobUrl))};n.onpause=()=>a("record-pause"),n.onstop=()=>a("record-end"),n.start(this.options.mediaRecorderTimeslice),this.lastStartTime=performance.now(),this.lastDuration=0,this.duration=0,this.isWaveformPaused=!1,this.timer.start(),this.emit("record-start")}))}getDuration(){return this.duration}isRecording(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)==="recording"}isPaused(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)==="paused"}isActive(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)!=="inactive"}stopRecording(){var t;this.isActive()&&((t=this.mediaRecorder)===null||t===void 0||t.stop(),this.timer.stop())}pauseRecording(){var t,r;this.isRecording()&&(this.isWaveformPaused=!0,(t=this.mediaRecorder)===null||t===void 0||t.requestData(),(r=this.mediaRecorder)===null||r===void 0||r.pause(),this.timer.stop(),this.lastDuration=this.duration)}resumeRecording(){var t;this.isPaused()&&(this.isWaveformPaused=!1,(t=this.mediaRecorder)===null||t===void 0||t.resume(),this.timer.start(),this.lastStartTime=performance.now(),this.emit("record-resume"))}static getAvailableAudioDevices(){return T1(this,void 0,void 0,(function*(){return navigator.mediaDevices.enumerateDevices().then((t=>t.filter((r=>r.kind==="audioinput"))))}))}destroy(){this.applyOriginalOptionsIfNeeded(),super.destroy(),this.stopRecording(),this.stopMic(),this.recordedBlobUrl&&(URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=null)}applyOriginalOptionsIfNeeded(){this.wavesurfer&&this.originalOptions&&(this.wavesurfer.setOptions(this.originalOptions),delete this.originalOptions)}};var _l=class{constructor(){this.listeners={}}on(t,r,n){if(this.listeners[t]||(this.listeners[t]=new Set),n?.once){let l=(...a)=>{this.un(t,l),r(...a)};return this.listeners[t].add(l),()=>this.un(t,l)}return this.listeners[t].add(r),()=>this.un(t,r)}un(t,r){var n;(n=this.listeners[t])===null||n===void 0||n.delete(r)}once(t,r){return this.on(t,r,{once:!0})}unAll(){this.listeners={}}emit(t,...r){this.listeners[t]&&this.listeners[t].forEach((n=>n(...r)))}},A1=class extends _l{constructor(t){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=t}onInit(){}_init(t){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=t,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}};function pg(e,t){let r=t.xmlns?document.createElementNS(t.xmlns,e):document.createElement(e);for(let[n,l]of Object.entries(t))if(n==="children"&&l)for(let[a,c]of Object.entries(l))c instanceof Node?r.appendChild(c):typeof c=="string"?r.appendChild(document.createTextNode(c)):r.appendChild(pg(a,c));else n==="style"?Object.assign(r.style,l):n==="textContent"?r.textContent=l:r.setAttribute(n,l.toString());return r}function Qr(e,t,r){let n=pg(e,t||{});return r?.appendChild(n),n}function dg(e){let t=e,r=new Set;return{get value(){return t},set(n){Object.is(t,n)||(t=n,r.forEach((l=>l(t))))},update(n){this.set(n(t))},subscribe:n=>(r.add(n),()=>r.delete(n))}}function zl(e,t){let r,n=()=>{r&&(r(),r=void 0),r=e()},l=t.map((a=>a.subscribe(n)));return n(),()=>{r&&(r(),r=void 0),l.forEach((a=>a()))}}function In(e,t){let r=dg(null),n=l=>{r.set(l)};return e.addEventListener(t,n),r._cleanup=()=>{e.removeEventListener(t,n)},r}function Mo(e){let t=e._cleanup;typeof t=="function"&&t()}function Ol(e,t={}){let{threshold:r=3,mouseButton:n=0,touchDelay:l=100}=t,a=dg(null),c=new Map,s=matchMedia("(pointer: coarse)").matches,u=()=>{},p=i=>{if(i.button!==n||(c.set(i.pointerId,i),c.size>1))return;let g=i.clientX,h=i.clientY,y=!1,b=Date.now(),f=e.getBoundingClientRect(),{left:v,top:C}=f,x=k=>{if(k.defaultPrevented||c.size>1||s&&Date.now()-b<l)return;let w=k.clientX,R=k.clientY,E=w-g,N=R-h;(y||Math.abs(E)>r||Math.abs(N)>r)&&(k.preventDefault(),k.stopPropagation(),y||(a.set({type:"start",x:g-v,y:h-C}),y=!0),a.set({type:"move",x:w-v,y:R-C,deltaX:E,deltaY:N}),g=w,h=R)},I=k=>{if(c.delete(k.pointerId),y){let w=k.clientX,R=k.clientY;a.set({type:"end",x:w-v,y:R-C})}u()},P=k=>{c.delete(k.pointerId),k.relatedTarget&&k.relatedTarget!==document.documentElement||I(k)},M=k=>{y&&(k.stopPropagation(),k.preventDefault())},B=k=>{k.defaultPrevented||c.size>1||y&&k.preventDefault()};document.addEventListener("pointermove",x),document.addEventListener("pointerup",I),document.addEventListener("pointerout",P),document.addEventListener("pointercancel",P),document.addEventListener("touchmove",B,{passive:!1}),document.addEventListener("click",M,{capture:!0}),u=()=>{document.removeEventListener("pointermove",x),document.removeEventListener("pointerup",I),document.removeEventListener("pointerout",P),document.removeEventListener("pointercancel",P),document.removeEventListener("touchmove",B),setTimeout((()=>{document.removeEventListener("click",M,{capture:!0})}),10)}};return e.addEventListener("pointerdown",p),{signal:a,cleanup:()=>{u(),e.removeEventListener("pointerdown",p),c.clear(),Mo(a)}}}var Hl=class extends _l{constructor(t,r,n=0){var l,a,c,s,u,p,i,g,h,y;super(),this.totalDuration=r,this.numberOfChannels=n,this.element=null,this.minLength=0,this.maxLength=1/0,this.contentEditable=!1,this.subscriptions=[],this.updatingSide=void 0,this.isRemoved=!1,this.subscriptions=[],this.id=t.id||`region-${Math.random().toString(32).slice(2)}`,this.start=this.clampPosition(t.start),this.end=this.clampPosition((l=t.end)!==null&&l!==void 0?l:t.start),this.drag=(a=t.drag)===null||a===void 0||a,this.resize=(c=t.resize)===null||c===void 0||c,this.resizeStart=(s=t.resizeStart)===null||s===void 0||s,this.resizeEnd=(u=t.resizeEnd)===null||u===void 0||u,this.color=(p=t.color)!==null&&p!==void 0?p:"rgba(0, 0, 0, 0.1)",this.minLength=(i=t.minLength)!==null&&i!==void 0?i:this.minLength,this.maxLength=(g=t.maxLength)!==null&&g!==void 0?g:this.maxLength,this.channelIdx=(h=t.channelIdx)!==null&&h!==void 0?h:-1,this.contentEditable=(y=t.contentEditable)!==null&&y!==void 0?y:this.contentEditable,this.element=this.initElement(),this.setContent(t.content),this.setPart(),this.renderPosition(),this.initMouseEvents()}clampPosition(t){return Math.max(0,Math.min(this.totalDuration,t))}setPart(){var t;let r=this.start===this.end;(t=this.element)===null||t===void 0||t.setAttribute("part",`${r?"marker":"region"} ${this.id}`)}addResizeHandles(t){let r={position:"absolute",zIndex:"2",width:"6px",height:"100%",top:"0",cursor:"ew-resize",wordBreak:"keep-all"},n=Qr("div",{part:"region-handle region-handle-left",style:Object.assign(Object.assign({},r),{left:"0",borderLeft:"2px solid rgba(0, 0, 0, 0.5)",borderRadius:"2px 0 0 2px"})},t),l=Qr("div",{part:"region-handle region-handle-right",style:Object.assign(Object.assign({},r),{right:"0",borderRight:"2px solid rgba(0, 0, 0, 0.5)",borderRadius:"0 2px 2px 0"})},t),a=Ol(n,{threshold:1}),c=Ol(l,{threshold:1}),s=zl((()=>{let p=a.signal.value;p&&(p.type==="move"&&p.deltaX!==void 0?this.onResize(p.deltaX,"start"):p.type==="end"&&this.onEndResizing("start"))}),[a.signal]),u=zl((()=>{let p=c.signal.value;p&&(p.type==="move"&&p.deltaX!==void 0?this.onResize(p.deltaX,"end"):p.type==="end"&&this.onEndResizing("end"))}),[c.signal]);this.subscriptions.push((()=>{s(),u(),a.cleanup(),c.cleanup()}))}removeResizeHandles(t){let r=t.querySelector('[part*="region-handle-left"]'),n=t.querySelector('[part*="region-handle-right"]');r&&t.removeChild(r),n&&t.removeChild(n)}initElement(){if(this.isRemoved)return null;let t=this.start===this.end,r=0,n=100;this.channelIdx>=0&&this.numberOfChannels>0&&this.channelIdx<this.numberOfChannels&&(n=100/this.numberOfChannels,r=n*this.channelIdx);let l=Qr("div",{style:{position:"absolute",top:`${r}%`,height:`${n}%`,backgroundColor:t?"none":this.color,borderLeft:t?"2px solid "+this.color:"none",borderRadius:"2px",boxSizing:"border-box",transition:"background-color 0.2s ease",cursor:this.drag?"grab":"default",pointerEvents:"all"}});return!t&&this.resize&&this.addResizeHandles(l),l}renderPosition(){if(!this.element)return;let t=this.start/this.totalDuration,r=(this.totalDuration-this.end)/this.totalDuration;this.element.style.left=100*t+"%",this.element.style.right=100*r+"%"}toggleCursor(t){var r;this.drag&&(!((r=this.element)===null||r===void 0)&&r.style)&&(this.element.style.cursor=t?"grabbing":"grab")}initMouseEvents(){let{element:t}=this;if(!t)return;let r=In(t,"click"),n=In(t,"mouseenter"),l=In(t,"mouseleave"),a=In(t,"dblclick"),c=In(t,"pointerdown"),s=In(t,"pointerup"),u=r.subscribe((v=>v&&this.emit("click",v))),p=n.subscribe((v=>v&&this.emit("over",v))),i=l.subscribe((v=>v&&this.emit("leave",v))),g=a.subscribe((v=>v&&this.emit("dblclick",v))),h=c.subscribe((v=>v&&this.toggleCursor(!0))),y=s.subscribe((v=>v&&this.toggleCursor(!1)));this.subscriptions.push((()=>{u(),p(),i(),g(),h(),y(),Mo(r),Mo(n),Mo(l),Mo(a),Mo(c),Mo(s)}));let b=Ol(t),f=zl((()=>{let v=b.signal.value;v&&(v.type==="start"?this.toggleCursor(!0):v.type==="move"&&v.deltaX!==void 0?this.onMove(v.deltaX):v.type==="end"&&(this.toggleCursor(!1),this.drag&&this.emit("update-end")))}),[b.signal]);this.subscriptions.push((()=>{f(),b.cleanup()})),this.contentEditable&&this.content&&(this.contentClickListener=v=>this.onContentClick(v),this.contentBlurListener=()=>this.onContentBlur(),this.content.addEventListener("click",this.contentClickListener),this.content.addEventListener("blur",this.contentBlurListener))}_onUpdate(t,r,n){var l;if(!(!((l=this.element)===null||l===void 0)&&l.parentElement))return;let{width:a}=this.element.parentElement.getBoundingClientRect(),c=t/a*this.totalDuration,s=r&&r!=="start"?this.start:this.start+c,u=r&&r!=="end"?this.end:this.end+c,p=n!==void 0;p&&this.updatingSide&&this.updatingSide!==r&&(this.updatingSide==="start"?s=n:u=n),s=Math.max(0,s),u=Math.min(this.totalDuration,u);let i=u-s;this.updatingSide=r;let g=i>=this.minLength&&i<=this.maxLength;s<=u&&(g||p)&&(this.start=s,this.end=u,this.renderPosition(),this.emit("update",r))}onMove(t){this.drag&&this._onUpdate(t)}onResize(t,r){this.resize&&(this.resizeStart||r!=="start")&&(this.resizeEnd||r!=="end")&&this._onUpdate(t,r)}onEndResizing(t){this.resize&&(this.emit("update-end",t),this.updatingSide=void 0)}onContentClick(t){t.stopPropagation(),t.target.focus(),this.emit("click",t)}onContentBlur(){this.emit("update-end")}_setTotalDuration(t){this.totalDuration=t,this.renderPosition()}play(t){this.emit("play",t&&this.end!==this.start?this.end:void 0)}getContent(t=!1){var r;return t?this.content||void 0:this.element instanceof HTMLElement?((r=this.content)===null||r===void 0?void 0:r.innerHTML)||void 0:""}setContent(t){var r;if(this.element)if(this.content&&this.contentEditable&&(this.contentClickListener&&this.content.removeEventListener("click",this.contentClickListener),this.contentBlurListener&&this.content.removeEventListener("blur",this.contentBlurListener)),(r=this.content)===null||r===void 0||r.remove(),t){if(typeof t=="string"){let n=this.start===this.end;this.content=Qr("div",{style:{padding:`0.2em ${n?.2:.4}em`,display:"inline-block"},textContent:t})}else this.content=t;this.contentEditable&&(this.content.contentEditable="true",this.contentClickListener=n=>this.onContentClick(n),this.contentBlurListener=()=>this.onContentBlur(),this.content.addEventListener("click",this.contentClickListener),this.content.addEventListener("blur",this.contentBlurListener)),this.content.setAttribute("part","region-content"),this.element.appendChild(this.content),this.emit("content-changed")}else this.content=void 0}setOptions(t){var r,n;if(this.element){if(t.color&&(this.color=t.color,this.element.style.backgroundColor=this.color),t.drag!==void 0&&(this.drag=t.drag,this.element.style.cursor=this.drag?"grab":"default"),t.start!==void 0||t.end!==void 0){let l=this.start===this.end;this.start=this.clampPosition((r=t.start)!==null&&r!==void 0?r:this.start),this.end=this.clampPosition((n=t.end)!==null&&n!==void 0?n:l?this.start:this.end),this.renderPosition(),this.setPart()}if(t.content&&this.setContent(t.content),t.id&&(this.id=t.id,this.setPart()),t.resize!==void 0&&t.resize!==this.resize){let l=this.start===this.end;this.resize=t.resize,this.resize&&!l?this.addResizeHandles(this.element):this.removeResizeHandles(this.element)}t.resizeStart!==void 0&&(this.resizeStart=t.resizeStart),t.resizeEnd!==void 0&&(this.resizeEnd=t.resizeEnd)}}remove(){this.isRemoved=!0,this.emit("remove"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.content&&this.contentEditable&&(this.contentClickListener&&(this.content.removeEventListener("click",this.contentClickListener),this.contentClickListener=void 0),this.contentBlurListener&&(this.content.removeEventListener("blur",this.contentBlurListener),this.contentBlurListener=void 0)),this.element&&(this.element.remove(),this.element=null),this.unAll()}},Ul=class e extends A1{constructor(t){super(t),this.regions=[],this.regionsContainer=this.initRegionsContainer()}static create(t){return new e(t)}onInit(){if(!this.wavesurfer)throw Error("WaveSurfer is not initialized");this.wavesurfer.getWrapper().appendChild(this.regionsContainer),this.subscriptions.push(this.wavesurfer.on("ready",(r=>{this.regions.forEach((n=>n._setTotalDuration(r)))})));let t=[];this.subscriptions.push(this.wavesurfer.on("timeupdate",(r=>{let n=this.regions.filter((l=>l.start<=r&&(l.end===l.start?l.start+.05:l.end)>=r));n.forEach((l=>{t.includes(l)||this.emit("region-in",l)})),t.forEach((l=>{n.includes(l)||this.emit("region-out",l)})),t=n})))}initRegionsContainer(){return Qr("div",{part:"regions-container",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"5",pointerEvents:"none"}})}getRegions(){return this.regions}avoidOverlapping(t){t.content&&setTimeout((()=>{let r=t.content,n=r.getBoundingClientRect(),l=this.regions.map((a=>{if(a===t||!a.content)return 0;let c=a.content.getBoundingClientRect();return n.left<c.left+c.width&&c.left<n.left+n.width?c.height:0})).reduce(((a,c)=>a+c),0);r.style.marginTop=`${l}px`}),10)}adjustScroll(t){var r,n;if(!t.element)return;let l=(n=(r=this.wavesurfer)===null||r===void 0?void 0:r.getWrapper())===null||n===void 0?void 0:n.parentElement;if(!l)return;let{clientWidth:a,scrollWidth:c}=l;if(c<=a)return;let s=l.getBoundingClientRect(),u=t.element.getBoundingClientRect(),p=u.left-s.left,i=u.right-s.left;p<0?l.scrollLeft+=p:i>a&&(l.scrollLeft+=i-a)}virtualAppend(t,r,n){let l=()=>{if(!this.wavesurfer)return;let a=this.wavesurfer.getWidth(),c=this.wavesurfer.getScroll(),s=r.clientWidth,u=this.wavesurfer.getDuration(),p=Math.round(t.start/u*s),i=p+(Math.round((t.end-t.start)/u*s)||1)>c&&p<c+a;i&&!n.parentElement?r.appendChild(n):!i&&n.parentElement&&n.remove()};setTimeout((()=>{if(!this.wavesurfer||!t.element)return;l();let a=this.wavesurfer.on("scroll",l),c=this.wavesurfer.on("zoom",l),s=this.wavesurfer.on("resize",l);this.subscriptions.push(a,c,s),t.once("remove",(()=>{a(),c(),s()}))}),0)}saveRegion(t){if(!t.element)return;this.virtualAppend(t,this.regionsContainer,t.element),this.avoidOverlapping(t),this.regions.push(t);let r=[t.on("update",(n=>{n||this.adjustScroll(t),this.emit("region-update",t,n)})),t.on("update-end",(n=>{this.avoidOverlapping(t),this.emit("region-updated",t,n)})),t.on("play",(n=>{var l;(l=this.wavesurfer)===null||l===void 0||l.play(t.start,n)})),t.on("click",(n=>{this.emit("region-clicked",t,n)})),t.on("dblclick",(n=>{this.emit("region-double-clicked",t,n)})),t.on("content-changed",(()=>{this.emit("region-content-changed",t)})),t.once("remove",(()=>{r.forEach((n=>n())),this.regions=this.regions.filter((n=>n!==t)),this.emit("region-removed",t)}))];this.subscriptions.push(...r),this.emit("region-created",t)}addRegion(t){var r,n;if(!this.wavesurfer)throw Error("WaveSurfer is not initialized");let l=this.wavesurfer.getDuration(),a=(n=(r=this.wavesurfer)===null||r===void 0?void 0:r.getDecodedData())===null||n===void 0?void 0:n.numberOfChannels,c=new Hl(t,l,a);return this.emit("region-initialized",c),l?this.saveRegion(c):this.subscriptions.push(this.wavesurfer.once("ready",(s=>{c._setTotalDuration(s),this.saveRegion(c)}))),c}enableDragSelection(t,r=3){var n;let l=(n=this.wavesurfer)===null||n===void 0?void 0:n.getWrapper();if(!(l&&l instanceof HTMLElement))return()=>{};let a=null,c=0,s=0,u=Ol(l,{threshold:r}),p=zl((()=>{var i,g;let h=u.signal.value;if(h)if(h.type==="start"){if(c=h.x,!this.wavesurfer)return;let y=this.wavesurfer.getDuration(),b=(g=(i=this.wavesurfer)===null||i===void 0?void 0:i.getDecodedData())===null||g===void 0?void 0:g.numberOfChannels,{width:f}=this.wavesurfer.getWrapper().getBoundingClientRect();s=c/f*y;let v=h.x/f*y,C=(h.x+5)/f*y;a=new Hl(Object.assign(Object.assign({},t),{start:v,end:C}),y,b),this.emit("region-initialized",a),a.element&&this.regionsContainer.appendChild(a.element)}else h.type==="move"&&h.deltaX!==void 0?a&&a._onUpdate(h.deltaX,h.x>c?"end":"start",s):h.type==="end"&&a&&(this.saveRegion(a),a.updatingSide=void 0,a=null)}),[u.signal]);return()=>{p(),u.cleanup()}}clearRegions(){this.regions.slice().forEach((t=>t.remove())),this.regions=[]}destroy(){this.clearRegions(),super.destroy(),this.regionsContainer.remove()}};import{Fragment as D4,jsx as Pe,jsxs as Yr}from"react/jsx-runtime";var L4=B4(function({onFinalize:t,recordOptions:r,options:n,labels:l=ig,className:a,classNames:c,style:s,styles:u,...p},i){let g=mg(null),[h,y]=Vl("idle"),[b,f]=Vl(null),[v,C]=Vl(null),[x,I]=Vl(!1),P=mg("idle");P.current=h;let M=R4(()=>[Al.create({renderRecordedAudio:!0,scrollingWaveform:!1,continuousWaveform:!1,...r}),Ul.create()],[]),[B,k]=M,{wavesurfer:w,isPlaying:R,isReady:E,currentTime:N}=k4({...sg,...n,container:g,plugins:M}),L=E?w?.getDuration()??0:0;z1(()=>{let _=[B.on("record-start",()=>y("recording")),B.on("record-end",G=>{y("recorded"),f(G)}),k.on("region-clicked",(G,$)=>{$.stopPropagation(),G.play(!0)})];return()=>_.forEach(G=>G?.())},[k,B]),z1(()=>w?w.on("ready",()=>{if(P.current!=="recorded")return;let G=w.getDuration();k.clearRegions();let $=k.addRegion({start:0,end:G,color:n?.regionColor??cg,drag:!1,resize:!0});C({start:$.start,end:$.end})}):void 0,[w,k,n]),z1(()=>k.on("region-updated",G=>{C({start:G.start,end:G.end})}),[k]);let F=bn(async()=>{await B.startRecording()},[B]),D=bn(()=>{B.stopRecording()},[B]),S=bn(()=>{w?.playPause()},[w]),H=bn(async()=>{if(!(!b||!v||!w)){I(!0);try{let _=await w4(b,v.start,v.end),G=URL.createObjectURL(_);f(_),w.load(G)}finally{I(!1)}}},[b,v,w]),T=bn(()=>{k.clearRegions(),w?.empty(),f(null),C(null),y("idle")},[w,k]),z=bn(()=>{if(b){let _=URL.createObjectURL(b);t?.(b,_)}},[t,b]),A=!v||v.start<=0&&v.end>=L;return Pe("div",{ref:i,className:_e("cleen wavesurfer-handle",a),style:s,...p,children:Yr("div",{className:_e("cleen-flex cleen-flex-col cleen-items-center cleen-gap-3",c?.container),style:u?.container,children:[h==="idle"&&Yr(D4,{children:[Pe("button",{type:"button",onClick:F,"aria-label":"Start recording",className:_e("cleen-p-8 cleen-border-2 cleen-border-primary/20 hover:cleen-border-primary cleen-rounded-full cleen-transition-colors",c?.startButton),style:u?.startButton,children:Pe(br,{className:"cleen-size-8 cleen-text-primary"})}),Pe("p",{className:_e("cleen-text-neutral-600 cleen-text-sm cleen-select-none",c?.startLabel),style:u?.startLabel,children:l.startRecording})]}),h==="recording"&&Pe("button",{type:"button",onClick:D,"aria-label":"Stop recording",className:_e("cleen-p-8 cleen-border-2 cleen-border-primary/20 hover:cleen-border-primary cleen-rounded-full cleen-transition-colors",c?.stopButton),style:u?.stopButton,children:Pe(Tr,{className:"cleen-size-8 cleen-text-primary"})}),Pe("div",{ref:g,className:_e("cleen-w-full cleen-min-w-0 cleen-waveform",h==="idle"&&"cleen-hidden",c?.waveform),style:u?.waveform}),h==="recorded"&&Yr("div",{className:_e("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",c?.recordedContainer),style:u?.recordedContainer,children:[Pe(re,{type:"button",onClick:S,disabled:!E,"aria-label":R?"Pause":"Play",className:c?.playPauseButton?.className,classNames:{...c?.playPauseButton?.classNames,container:_e("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.playPauseButton?.classNames?.container)},...u?.playPauseButton,children:R?Pe(bo,{className:"cleen-fill-current"}):Pe(yo,{className:"cleen-fill-current"})}),Yr("span",{className:_e("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.timestamp),style:u?.timestamp,children:[Gl(N),"\xA0/\xA0",Gl(L)]}),Pe("span",{className:"cleen-flex-1"}),!A&&v&&Yr("span",{className:_e("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.trimmedTimestamp),style:u?.trimmedTimestamp,children:[Gl(v.start),"\u2013",Gl(v.end)]}),Pe(re,{type:"button",onClick:T,variant:"secondary","aria-label":"Discard recording",className:c?.discardButton?.className,classNames:{...c?.discardButton?.classNames,container:_e("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.discardButton?.classNames?.container)},...u?.discardButton,children:Pe(We,{className:"cleen-text-error"})}),Pe(re,{type:"button",onClick:H,disabled:A||x||!E,"aria-label":"Apply trim",variant:"secondary",className:c?.trimButton?.className,classNames:{...c?.trimButton?.classNames,container:_e("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.trimButton?.classNames?.container)},...u?.trimButton,children:Pe(wr,{})}),Pe(re,{type:"button",onClick:z,"aria-label":"Finalize recording",className:c?.finalizeButton?.className,classNames:{...c?.finalizeButton?.classNames,container:_e("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.finalizeButton?.classNames?.container)},...u?.finalizeButton,children:Pe(Pt,{})})]})]})})});import{cn as Wl}from"@cleen/ui-core";import{forwardRef as T4,useMemo as N4}from"react";var ug={xs:"cleen-size-6 cleen-text-[10px]",sm:"cleen-size-7 cleen-text-xs",md:"cleen-size-9 cleen-text-sm",lg:"cleen-size-11 cleen-text-base",xl:"cleen-size-14 cleen-text-lg"};import{jsx as Jr}from"react/jsx-runtime";var $l=T4(function({title:t,name:r,src:n,alt:l,size:a="md",initialsLength:c=2,isSelected:s=!1,showBorder:u=!1,fallback:p=Jr(Er,{}),className:i,classNames:g,style:h,styles:y,onClick:b,...f},v){let C=N4(()=>(c===2?r?.split(" ").map(x=>x.charAt(0).toUpperCase()).join("").slice(0,c):r?.charAt(0).toUpperCase())||p,[r,c,p]);return Jr("div",{className:Wl("cleen",i),style:h,ref:v,...f,children:Jr("div",{onClick:b,className:Wl("cleen-flex cleen-justify-center cleen-items-center cleen-bg-neutral-200 cleen-rounded-full cleen-font-medium cleen-transition-all",typeof a=="string"&&ug[a],{"cleen-border-2 cleen-border-white":u,"cleen-cursor-pointer":!!b},g?.avatar,u&&s&&["cleen-border-primary",g?.avatarSelected]),style:{...typeof a=="number"&&{width:a,height:a,fontSize:a*.4,lineHeight:`${a}px`},...y?.avatar,...u&&s&&y?.avatarSelected},title:t||r,children:n?Jr("img",{src:n,alt:l||r,className:Wl("cleen-rounded-full cleen-w-full cleen-h-full cleen-object-cover",g?.image),style:y?.image}):Jr("span",{className:Wl("cleen-select-none cleen-text-neutral-700",g?.fallback),style:y?.fallback,children:C})})})});import{cn as hg}from"@cleen/ui-core";import{forwardRef as F4}from"react";import{jsx as O1,jsxs as A4}from"react/jsx-runtime";var E4=F4(function({avatars:t,size:r="md",selectedAvatars:n=[],onAvatarToggle:l,gap:a=4,maxVisible:c,maxExtra:s=99,showBorder:u=!0,initialsLength:p,fallback:i,className:g,classNames:h,style:y,styles:b,...f},v){let C=c?t?.slice(0,c):t,x=c&&t&&t.length>c?Math.min(t.length-c,s):0;return O1("div",{className:hg("cleen",g),style:y,ref:v,...f,children:A4("div",{className:hg("cleen-flex cleen-items-center",h?.row),style:{gap:a,...b?.row},children:[C?.map((I,P)=>{let M=n.includes(I?.id??"");return O1($l,{name:I.name,src:I.src,size:r,isSelected:M,showBorder:u,initialsLength:p,fallback:i,onClick:()=>l?.(I.id??""),...h?.avatar,style:{zIndex:C.length-P,...b?.avatar?.style},styles:b?.avatar?.styles,...I},I.id||P)}),x>0&&O1($l,{size:r,fallback:`+${x}`,...h?.extra,...b?.extra})]})})});import{cn as jt}from"@cleen/ui-core";import{forwardRef as z4}from"react";import{Link as fg}from"react-router-dom";import{jsx as jr,jsxs as ql}from"react/jsx-runtime";var O4=z4(function({root:t={path:"/",icon:jr(mr,{"aria-hidden":"true",className:"cleen-h-5 cleen-w-5"})},segments:r,className:n,classNames:l,style:a,styles:c,...s},u){return!r||r.length===0?null:jr("div",{className:jt("cleen",n),style:a,ref:u,...s,children:jr("nav",{className:jt("cleen-hidden sm:cleen-flex",l?.container),style:c?.container,"aria-label":"Breadcrumb",children:ql("ol",{role:"list",className:jt("cleen-flex cleen-items-center cleen-gap-4",l?.list),style:c?.list,children:[t&&jr("li",{className:jt("cleen-flex cleen-items-center",l?.rootItem),style:c?.rootItem,children:ql(fg,{to:t?.path,className:jt("cleen-text-sm cleen-text-neutral-400 cleen-flex cleen-items-center cleen-gap-2 cleen-transition-colors cleen-duration-200 hover:cleen-text-neutral-600",l?.rootLink),style:c?.rootLink,"aria-current":"page",children:[t?.icon,t?.label]})}),r.map(({path:p,icon:i,label:g,id:h},y)=>{let b=y===r.length-1,f=g||p.charAt(0).toUpperCase()+p.slice(1);return ql("li",{className:jt("cleen-flex cleen-items-center cleen-gap-4",l?.item),style:c?.item,children:[(t||!t&&y!==0)&&jr(je,{className:jt("cleen-h-5 cleen-w-5 cleen-text-neutral-300",l?.chevron),style:c?.chevron,"aria-hidden":"true"}),ql(fg,{to:p,className:jt("cleen-transition-colors cleen-duration-200 hover:cleen-text-primary cleen-text-sm cleen-flex cleen-items-center cleen-gap-2",b?"cleen-rounded-md cleen-bg-neutral-50 cleen-py-1 cleen-px-2 cleen-text-neutral-700 cleen-font-semibold":"cleen-text-neutral-600 cleen-font-medium",l?.link),style:c?.link,"aria-current":b?"page":void 0,children:[i,f]})]},h||p)})]})})})});var Xl=(e,t)=>{if(!e)return;if(!t||!t.min&&!t.max)return e;let{min:r,max:n}=t,l=new Date,a=new Date(l.getFullYear(),l.getMonth(),l.getDate());if(r){let c=r==="today"?a:r;if(c>=e)return c}if(n){let c=n==="today"?a:n;if(c<=e)return c}return e};import{cn as Kl}from"@cleen/ui-core";import{forwardRef as _4,useState as _1}from"react";import{DayPicker as gg,MonthGrid as H4}from"react-day-picker";import{Fragment as U4,jsx as wo,jsxs as U1}from"react/jsx-runtime";var H1=e=>e?.toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric"}),G1=_4(function({label:t,labelTooltip:r,infoLabels:n,required:l,withDateInput:a=!1,withTodayButton:c=!1,selected:s,onSelect:u,month:p,labels:i,className:g,style:h,classNames:y,styles:b,mode:f="single",min:v,max:C,disabled:x,disabledDates:I,components:P,...M},B){let k=s!==void 0,w=f==="single",[R,E]=_1(),[N,L]=_1(),F=k?s:w?R:N,[D,S]=_1(p),H=(A,_)=>{k||(w&&(A===void 0||A instanceof Date)?E(A):w||L(A)),u?.(A,_)},T={MonthGrid:A=>U1(U4,{children:[(c||a)&&U1("div",{className:"cleen-flex cleen-gap-3 cleen-items-center cleen-py-2",children:[a&&wo(de,{value:f==="single"?H1(F):F?.from||F?.to?`${H1(F?.from)??"..."} - ${H1(F?.to)??"..."}`:void 0,placeholder:i?.inputPlaceholder??"No date selected",className:"cleen-flex-1",readOnly:!0}),c&&wo(re,{variant:"secondary",onClick:()=>S(new Date),children:i?.today??"Today"})]}),wo(H4,{...A})]}),...P},z={navLayout:"around",...M,className:Kl("cleen-text-foreground",y?.calendar?.className),classNames:{...y?.calendar?.classNames,nav:Kl("cleen-text-error",y?.calendar?.classNames?.nav)},disabled:v||C?{before:v==="today"?new Date:v,after:C==="today"?new Date:C}:I||x,components:T,month:D,onMonthChange:S,...b?.calendar};return U1("div",{ref:B,className:Kl("cleen",g),style:h,children:[t&&wo(oe,{required:l,tooltip:r,className:Kl("cleen-mb-1.5",y?.label?.className),classNames:y?.label?.classNames,...b?.label,children:t}),w?wo(gg,{mode:"single",...z,selected:F,onSelect:(A,_)=>{if(v||C){H(Xl(A,{min:v,max:C}),_);return}H(A,_)}}):wo(gg,{mode:"range",...z,selected:F,onSelect:(A,_)=>{if(v||C){H({from:Xl(A?.from,{min:v,max:C}),to:Xl(A?.to,{min:v,max:C})},_);return}H(A,_)}}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&wo(ee,{...n})]})});import{cn as yn,useOutsideClick as G4,usePositionClose as V4,ZIndex as W4}from"@cleen/ui-core";import{forwardRef as $4,useEffect as q4,useRef as vg,useState as X4}from"react";import{createPortal as K4}from"react-dom";import{jsx as ko,jsxs as Ig}from"react/jsx-runtime";var ea=$4(function({type:t="button",required:r,label:n,title:l,titleTooltip:a,disabled:c=!1,leftIcon:s,rightIcon:u=ko(jn,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),fullWidth:p=!0,fullWidthDropdown:i,offset:g=4,isOpen:h,onOpenChange:y,keepOpenOnClickContent:b=!0,zIndex:f=W4.DROPDOWN,infoLabels:v,className:C,classNames:x,style:I,styles:P,children:M,...B},k){let[w,R]=X4(!1),E=h!==void 0?h:w,N=vg(null),L=vg(null),{positionStyles:F,isMounted:D}=V4({triggerRef:L,targetRef:N,position:"bottom-left",isOpen:E,offset:g});G4({refs:[N,L],handler:()=>{R(!1),y?.(!1)},enabled:E}),q4(()=>{let T=z=>{z.key==="Escape"&&E&&(R(!1),y?.(!1))};return document.addEventListener("keydown",T),()=>{document.removeEventListener("keydown",T)}},[E,y]);let S=()=>{let T=!E;h===void 0&&R(T),y?.(T)},H=()=>{b||(h===void 0&&R(!1),y?.(!1))};return Ig("div",{className:yn("cleen",C),style:I,ref:k,...B,children:[l&&ko(oe,{required:r,tooltip:a,className:yn("cleen-mb-1.5",x?.title?.className),classNames:x?.title?.classNames,...P?.title,children:l}),ko("div",{className:yn("cleen-inline-block cleen-relative",p&&"cleen-w-full"),ref:L,children:Ig("button",{type:t,className:yn("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-bg-background cleen-shadow-sm cleen-my-auto cleen-px-3.5 cleen-py-2.5 cleen-border cleen-border-border cleen-rounded-md cleen-w-full cleen-text-foreground cleen-text-base cleen-transition-colors cleen-duration-200 hover:cleen-bg-neutral-25 hover:cleen-border-muted-foreground",{"cleen-w-full cleen-flex-1":p,"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":c},p&&"cleen-w-full",x?.trigger),style:P?.trigger,disabled:c,"aria-haspopup":"dialog","aria-expanded":E,onClick:S,children:[s,ko("div",{className:yn("cleen-flex-1 cleen-text-left",x?.label),style:P?.label,children:n}),u]})}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&ko(ee,{...v}),M&&E&&K4(ko("div",{className:"cleen",children:ko("div",{ref:N,className:yn("cleen-bg-background cleen-shadow-md cleen-p-2.5 cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute",{"cleen-opacity-0":!D},x?.dropdown),style:{zIndex:f,top:`${F.top}px`,left:`${F.left}px`,minWidth:i&&L.current?.offsetWidth?`${L.current.offsetWidth}px`:void 0,...P?.dropdown},onClick:H,children:M})}),document.body)]})});import{cn as bg}from"@cleen/ui-core";import{forwardRef as Z4,useMemo as Q4,useState as Zl}from"react";import{jsx as Bo,jsxs as yg}from"react/jsx-runtime";var Y4=Z4(function({label:t,placeholder:r,infoLabels:n,required:l,selected:a,onSelect:c,onSelectInternal:s,leftIcon:u,rightIcon:p=Bo(Zn,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),className:i,style:g,classNames:h,styles:y,mode:b="single",min:f,max:v,disabled:C,disabledDates:x,...I},P){let M=a!==void 0,B=b==="single",[k,w]=Zl(!1),[R,E]=Zl(),[N,L]=Zl(),F=M?a:B?R:N,[D,S]=Zl(),H=z=>{M||(B&&(z===void 0||z instanceof Date)?E(z):B||L(z)),c?.(z)},T=Q4(()=>{if(!F)return r;if(B)return F?.toLocaleDateString();{let z=F;if(z.from&&z.to)return`${z.from.toLocaleDateString()} - ${z.to.toLocaleDateString()}`;if(z.from)return z.from.toLocaleDateString()}return r},[r,F,B]);return yg("div",{ref:P,className:bg("cleen",i),style:g,children:[Bo(ea,{title:t,label:T,isOpen:k,onOpenChange:z=>{S(F),w(z)},leftIcon:u,rightIcon:p,className:h?.dropdown?.className,classNames:{...h?.dropdown?.classNames,dropdown:bg("cleen-p-0 cleen-border-0",h?.dropdown?.classNames?.dropdown)},required:l,disabled:C,...y?.dropdown,children:Bo(pe,{footer:{hasDivider:!0,content:yg("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[Bo(re,{variant:"secondary",onClick:()=>w(!1),styles:{container:{minWidth:"max-content"}},children:"Close"}),Bo(re,{onClick:()=>{H(D),w(!1)},styles:{container:{minWidth:"max-content"}},children:"Apply"})]})},...h?.card,...y?.card,children:Bo(G1,{mode:b,...I,selected:D,onSelect:(z,A)=>S(s?.(z,A)??z),min:f,max:v,disabledDates:x,...h?.calendar,...y?.calendar})})}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&Bo(ee,{...n})]})});import"react";import{cn as Cn}from"@cleen/ui-core";import J4 from"embla-carousel-auto-scroll";import j4 from"embla-carousel-autoplay";import e5 from"embla-carousel-react";import{forwardRef as t5,useEffect as o5,useMemo as Cg,useState as xg}from"react";import{jsx as Ro,jsxs as r5}from"react/jsx-runtime";var n5=t5(function({options:t,slideAmount:r=3,slideSize:n,prevBtn:l,nextBtn:a,autoPlay:c=!1,autoPlayOptions:s,autoScroll:u=!1,autoScrollOptions:p,children:i,className:g,classNames:h,style:y,styles:b,...f},v){let C=Cg(()=>{let L=[];return c&&L.push(j4(s)),u&&L.push(J4(p)),L},[c,u,s,p]),[x,I]=e5({skipSnaps:!0,...t},C),[P,M]=xg(!0),[B,k]=xg(!0),w=()=>I?.scrollPrev(),R=()=>I?.scrollNext(),E=L=>{M(!L?.canScrollPrev()),k(!L?.canScrollNext())};o5(()=>{I&&(E(I),I.on("reInit",E),I.on("select",E))},[I]);let N=Cg(()=>n?`${n}%`:`${100/r}%`,[n,r]);return Ro("div",{className:Cn("cleen",g),style:y,ref:v,...f,children:r5("div",{className:Cn("cleen-flex cleen-gap-2",h?.container),style:b?.container,children:[Ro("button",{className:Cn("cleen-text-foreground",h?.prevBtn,P&&"cleen-opacity-50"),onClick:w,disabled:P,style:b?.prevBtn,children:l||Ro(St,{})}),Ro("div",{className:Cn("cleen-flex-1 cleen-overflow-hidden",h?.viewport),style:b?.viewport,ref:x,children:Ro("div",{className:Cn("cleen-flex [&>*]:cleen-flex-[0_0] cleen-gap-2 [&>*]:cleen-min-w-0 cleen-touch-pinch-zoom [&>*]:cleen-basis-[var(--cleen-carousel-slide-size)]",h?.list),style:{...b?.list,"--cleen-carousel-slide-size":N},children:i})}),Ro("button",{className:Cn("cleen-text-foreground",h?.nextBtn,B&&"cleen-opacity-50"),onClick:R,disabled:B,style:b?.nextBtn,children:a||Ro(je,{})})]})})});import{cn as Lo}from"@cleen/ui-core";import{forwardRef as a5,useEffect as Mg,useId as l5,useRef as c5,useState as s5}from"react";var Pg={primary:"cleen-bg-primary cleen-transition-all cleen-duration-200 hover:cleen-bg-primary hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-primary),0.25)]",error:"cleen-bg-error cleen-transition-all cleen-duration-200 hover:cleen-bg-error hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]"},Sg={primary:"cleen-bg-primary/60 cleen-transition-all cleen-duration-200 hover:cleen-bg-primary/60 hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-primary),0.25)]",error:"cleen-bg-error/60 cleen-transition-all cleen-duration-200 hover:cleen-bg-error/60 hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]"};import{Fragment as i5,jsx as st,jsxs as Ql}from"react/jsx-runtime";var ta=a5(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,className:c,classNames:s,style:u,styles:p,onChange:i,disabled:g,title:h,titleTooltip:y,label:b,sublabel:f,variant:v="primary",allowIndeterminate:C=!1,fullTriggerArea:x=!1,infoLabels:I,inputRef:P,...M},B){let k=l5(),w=t??k,R=typeof l=="boolean"||l===null,[E,N]=s5(a),L=c5(null),F=z=>{L.current=z,P&&(P.current=z)};Mg(()=>{R||N(a)},[a,R]);let D=R?l:E;Mg(()=>{L.current&&(L.current.indeterminate=C&&D===null)},[C,D]);let S=z=>{let A;if(C)switch(D){case!0:A=null;break;case!1:A=!0;break;default:A=!1;break}else A=!D;R||N(A),i?.({...z,target:{...z.target,checked:A}})},H=Ql(i5,{children:[Ql("label",{className:Lo("cleen-bg-background cleen-transition-all cleen-duration-200 hover:cleen-bg-surface hover:cleen-shadow-[0px_0px_0px_4px_rgb(var(--cleen-neutral-100))] cleen-border cleen-border-neutral-300 cleen-rounded cleen-ring-primary cleen-size-5 cleen-min-w-5 cleen-min-h-5 cleen-cursor-pointer focus-within:cleen-ring-2 focus-within:cleen-ring-offset-1 focus-within:cleen-ring-primary",{[Pg[v]]:D,[Sg[v]]:D===null},g&&"cleen-cursor-not-allowed cleen-pointer-events-none","cleen-flex cleen-items-center cleen-justify-center",s?.checkbox),style:p?.checkbox,children:[st("input",{ref:F,type:"checkbox",disabled:g,className:"cleen-sr-only",checked:D===!0,onChange:S,id:w,name:r,...M}),D===null?st("span",{className:"cleen-block cleen-m-auto cleen-border cleen-border-white cleen-rounded-sm cleen-w-2.5 cleen-h-0.5 cleen-size-3"}):D?st(Pt,{className:"cleen-stroke-[3px] cleen-size-3 cleen-text-primary-foreground"}):null]}),(b||f)&&Ql("div",{children:[st("label",{htmlFor:w,className:Lo("cleen-block cleen-text-foreground",s?.label),style:p?.label,children:b}),st("label",{htmlFor:w,className:Lo("cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-leading-5",s?.sublabel),style:p?.sublabel,children:f})]})]}),T={className:Lo("cleen-flex cleen-items-start cleen-gap-2",{"cleen-opacity-50":g},s?.checkboxContainer),style:p?.checkboxContainer};return st("div",{className:Lo("cleen",c),style:u,ref:B,children:Ql("div",{className:Lo(s?.container),style:p?.container,children:[h&&st(oe,{htmlFor:w,required:n,tooltip:y,className:Lo("cleen-mb-1.5",s?.title?.className),classNames:s?.title?.classNames,...p?.title,children:h}),x?st("div",{...T,onClick:z=>{z.target instanceof Element&&!z.target.closest("label")&&L.current?.click()},children:H}):st("div",{...T,children:H}),(I?.errorMessage||I?.infoMessage||I?.subtitle)&&st(ee,{...I})]})})});import{cn as oa}from"@cleen/ui-core";import{forwardRef as p5,useId as d5,useMemo as m5,useState as u5}from"react";import{jsx as xn,jsxs as f5}from"react/jsx-runtime";var h5=p5(function({id:t,required:r,label:n,labelTooltip:l,checkboxes:a,allowIndeterminate:c,infoLabels:s,requiresAtLeastOneOptions:u,classNames:p,styles:i,onChange:g,...h},y){let b=d5(),f=t??b,[v,C]=u5(!1),x=m5(()=>u&&v&&a?.every(P=>P.checked===!1)?u.title:s?.errorMessage,[u,s?.errorMessage,a,v]),I=(P,M)=>{let B={...M,checked:P.target.checked},k;a&&M?.id&&(k=[...a].map(w=>w.id===M.id?B:w)),g?.(B,k),C(!0)};return xn("div",{className:oa("cleen"),...h,ref:y,children:f5("div",{className:oa("cleen-flex cleen-flex-col cleen-gap-2",p?.container),style:i?.container,children:[n&&xn(oe,{htmlFor:f,required:r,tooltip:l,className:oa("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...i?.label,children:n}),xn("div",{className:oa("cleen-flex cleen-flex-col cleen-gap-3",p?.checkboxes),style:i?.checkboxes,children:a?.map((P,M)=>xn("div",{className:oa("cleen-flex",p?.checkboxContainer),style:i?.checkboxContainer,children:xn(ta,{allowIndeterminate:c,...P,id:`${f}-${M}`,fullTriggerArea:!0,onChange:B=>I(B,P)})},P.id))}),(x||s?.infoMessage||s?.subtitle)&&xn(ee,{...s,errorMessage:x})]})})});import{cn as Do}from"@cleen/ui-core";import{forwardRef as g5,useState as wg}from"react";import{jsx as Pn,jsxs as kg}from"react/jsx-runtime";var Bg=g5(({sections:e,defaultOpenIndex:t,allowExpandAll:r=!1,className:n,classNames:l,style:a,styles:c,...s},u)=>{let[p,i]=wg(t??null),[g,h]=wg(()=>new Set(e.map((f,v)=>v))),y=f=>r?g.has(f):p===f,b=(f,v)=>{v.onClick?.(),v.items?.length&&(r?h(C=>{let x=new Set(C);return x.has(f)?x.delete(f):x.add(f),x}):i(p===f?null:f))};return Pn("div",{ref:u,className:Do("cleen",n),style:{...a,width:"100%"},...s,children:Pn("div",{className:Do("cleen-w-full",l?.container),style:c?.container,children:e.map((f,v)=>kg("div",{className:Do("cleen-mb-3",l?.section),style:c?.section,children:[kg("div",{onClick:()=>b(v,f),className:Do("cleen-flex cleen-w-full cleen-items-center cleen-justify-between cleen-font-medium cleen-text-md cleen-text-foreground cleen-p-2 cleen-rounded-lg cleen-cursor-pointer hover:cleen-bg-muted cleen-transition-colors",l?.sectionHeader),style:c?.sectionHeader,children:[Pn("div",{className:"cleen-flex-1 cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis",children:f?.title}),f?.items?.length?Pn(Mt,{className:Do("cleen-shrink-0 cleen-text-neutral-400 cleen-transition-transform",{"cleen-rotate-180":!y(v)})}):null]}),y(v)&&f?.items&&Pn("div",{className:Do("cleen-mt-1 cleen-flex cleen-flex-col cleen-w-full",l?.sectionBody),style:c?.sectionBody,children:f?.items?.map((C,x)=>Pn("div",{className:Do("cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis cleen-p-2 cleen-w-full cleen-rounded-lg cleen-font-normal cleen-text-md cleen-text-foreground cleen-cursor-pointer hover:cleen-bg-muted cleen-transition-colors",l?.item),style:c?.item,onClick:C?.onClick,children:C?.content},C?.key??x))})]},f?.key??v))})})});Bg.displayName="Collapsible";function V1(e){let t=e.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);return t?{r:Number(t[1]),g:Number(t[2]),b:Number(t[3]),a:t[4]!==void 0?Number(t[4]):1}:{r:0,g:0,b:0,a:1}}function Rg(e){return`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`}import{cn as Yl}from"@cleen/ui-core";import{useEffect as v5,useState as I5}from"react";import{HexAlphaColorPicker as b5,RgbaColorPicker as y5}from"react-colorful";import{jsx as Sn,jsxs as x5}from"react/jsx-runtime";var Lg="rgba(0, 0, 0, 1)",Dg="#000000ff",C5=({required:e,value:t,defaultValue:r,onChange:n,colorModel:l="rgba",disabled:a,label:c,labelTooltip:s,className:u,classNames:p,style:i,styles:g,infoLabels:h,...y})=>{let b=t!==void 0,f=r??(l==="hexa"?Dg:Lg),[v,C]=I5(f),x=b?t:v;v5(()=>{b||C(r??(l==="hexa"?Dg:Lg))},[r,b,l]);let I=M=>{let B=Rg(M);b||C(B),n?.(B)},P=M=>{b||C(M),n?.(M)};return Sn("div",{className:Yl("cleen",u),style:i,...y,children:x5("div",{className:Yl("cleen-flex cleen-flex-col cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-medium",p?.container),style:g?.container,children:[c&&Sn(oe,{required:e,tooltip:s,className:Yl("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...g?.label,children:c}),Sn("div",{className:Yl("cleen-rounded-md",a&&"cleen-opacity-50 cleen-pointer-events-none",p?.picker),style:g?.picker,children:l==="hexa"?Sn(b5,{color:x,onChange:P}):Sn(y5,{color:V1(x),onChange:I})}),(h?.errorMessage||h?.infoMessage||h?.subtitle)&&Sn(ee,{...h})]})})};import{cn as $e}from"@cleen/ui-core";import{forwardRef as P5,useMemo as S5,useState as M5}from"react";var W1=(e="")=>e.replace(/\D+/g,""),Tg=e=>{switch(e.slice(0,2)){case"34":case"37":return"amex";case"36":return"dinersclub";default:return"other"}};function Ng(e,t="other"){if(!e)return e;let r=W1(e),n;switch(t){case"amex":n=`${r.slice(0,4)} ${r.slice(4,10)} ${r.slice(10,15)}`;break;case"dinersclub":n=`${r.slice(0,4)} ${r.slice(4,10)} ${r.slice(10,14)}`;break;default:n=`${r.slice(0,4)} ${r.slice(4,8)} ${r.slice(8,12)} ${r.slice(12,19)}`;break}return n.trim()}var Fg=e=>W1(e);function Eg(e){let t=W1(e);if(!t||parseInt(t.charAt(0),10)>=2)return"";if(t.length<2)return t;let r=t.slice(0,2);if(parseInt(r,10)<1||parseInt(r,10)>12)return t.slice(0,1);if(t.length<3)return r;if(t.length===3)return`${r}/${t.charAt(2)}`;let n=t.length===6?t.slice(-2):t.slice(2,4),l=new Date,a=l.getFullYear()%100,c=l.getMonth()+1;return parseInt(n,10)<a||parseInt(n,10)===a&&parseInt(r,10)<c?`${r}/${n.charAt(0)}`:`${r}/${n}`}import{jsx as eo,jsxs as Ag}from"react/jsx-runtime";var w5=P5(function({labels:t,value:r,isLoading:n,errors:l,className:a,classNames:c,style:s,styles:u,infoLabels:p,onChange:i,onFieldFocus:g,...h},y){let[b,f]=M5({number:"",expiry:"",cvc:""}),v=!!r,C=v?r:b,x=S5(()=>Tg(C.number),[C.number]),I=M=>{let{name:B}=M.target,{value:k}=M.target;switch(B){case"number":k=Ng(k,x);break;case"expiry":k=Eg(k);break;case"cvc":k=Fg(k);break;default:return}v||f(w=>({...w,[B]:k})),i?.({...r,[B]:k})},P=M=>{g?.(M.target.name)};return eo("div",{className:$e("cleen",a),style:s,ref:y,...h,children:eo("div",{className:$e("cleen-flex cleen-flex-wrap cleen-justify-center cleen-items-start cleen-gap-8 cleen-bg-background cleen-min-w-80 cleen-w-min cleen-border cleen-border-primary/20 cleen-rounded-[10px] cleen-shadow-lg",c?.container),style:u?.container,children:n?eo("div",{className:$e("cleen-py-4",c?.loader?.container),style:u?.loader?.container,children:eo(ne,{...c?.loader?.component,...u?.loader?.component})}):Ag("form",{className:$e("cleen-flex cleen-flex-col cleen-items-start cleen-gap-3 cleen-p-4",c?.form?.container),style:u?.form?.container,onSubmit:M=>M.preventDefault(),children:[eo(de,{label:t?.number,name:"number",type:"tel",autoComplete:"cc-number",className:$e("cleen-w-full",c?.form?.cardNumber?.className),classNames:{...c?.form?.cardNumber?.classNames,inputContainer:$e({"cleen-border-error":l?.number},c?.form?.cardNumber?.classNames?.inputContainer),input:$e({"cleen-text-error":l?.number},c?.form?.cardNumber?.classNames?.input)},...u?.form?.cardNumber,placeholder:"1111 1111 1111 1111",value:C.number,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.number}}),Ag("div",{className:$e("cleen-flex cleen-justify-between cleen-items-start cleen-gap-3 cleen-w-full",c?.form?.cvcExpiryContainer),style:u?.form?.cvcExpiryContainer,children:[eo(de,{label:t?.expiry,name:"expiry",type:"tel",autoComplete:"cc-exp",className:c?.form?.expiry?.className,classNames:{...c?.form?.expiry?.classNames,inputContainer:$e({"cleen-border-error":l?.expiry},c?.form?.expiry?.classNames?.inputContainer),input:$e({"cleen-text-error":l?.expiry},c?.form?.expiry?.classNames?.input)},...u?.form?.expiry,placeholder:"00/00",value:C.expiry,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.expiry}}),eo(de,{label:t?.cvc,name:"cvc",type:"tel",inputMode:"numeric",autoComplete:"cc-csc",maxLength:x==="amex"?4:3,className:c?.form?.cvc?.className,classNames:{...c?.form?.cvc?.classNames,inputContainer:$e({"cleen-border-error":l?.cvc},c?.form?.cvc?.classNames?.inputContainer),input:$e({"cleen-text-error":l?.cvc},c?.form?.cvc?.classNames?.input)},...u?.form?.cvc,placeholder:"***",value:C.cvc,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.cvc}})]}),(p?.infoMessage||p?.errorMessage||p?.subtitle)&&eo(ee,{...p})]})})})});import{cn as zg}from"@cleen/ui-core";import{jsx as Og}from"react/jsx-runtime";var tt=({isHorizontal:e=!0,className:t,classNames:r,style:n,styles:l,...a})=>Og("div",{className:zg("cleen",t),style:n,children:Og("div",{className:zg("cleen-bg-border cleen-my-0",e?"cleen-w-full cleen-h-[1px]":"cleen-w-[1px] cleen-h-full",r?.container),style:l?.container,...a})});import{cn as to,useBodyScrollLock as k5,useCleenOverlays as _g,ZIndex as B5}from"@cleen/ui-core";import{forwardRef as R5,useCallback as L5,useEffect as $1,useId as D5,useRef as T5,useState as Hg}from"react";import{createPortal as N5}from"react-dom";import{jsx as Mn,jsxs as Jl}from"react/jsx-runtime";var F5={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":672,"3xl":768},Ug=300,q1=R5(function({title:t,subtitle:r,children:n,headerCloseBtn:l,footer:a,isOpen:c=!1,onClose:s,closeOnOverlayClick:u=!0,position:p="right",zIndex:i=B5.DRAWER,size:g="lg",p:h,gap:y,className:b,classNames:f,style:v,styles:C,...x},I){let[P,M]=Hg(c),[B,k]=Hg(c),w=T5(null),R=D5(),{addOverlay:E,removeOverlay:N}=_g(),L=L5(()=>{M(!1),setTimeout(()=>s?.(),Ug)},[s]);return $1(()=>{if(c){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),Ug);return()=>clearTimeout(F)}},[c]),$1(()=>{if(c)return E(R),()=>N(R)},[E,N,c,R]),$1(()=>{let F=D=>{let{overlays:S}=_g.getState();D.key==="Escape"&&S[S.length-1]===R&&L()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[L,R]),k5(B),B?N5(Jl("div",{className:to("cleen",b),style:v,ref:I,...x,children:[Mn("div",{className:to("cleen-fixed cleen-inset-0 cleen-bg-black/50 dark:cleen-bg-surface/50 cleen-transition-opacity cleen-duration-300 cleen-ease-in-out",P?"cleen-opacity-100":"cleen-opacity-0",f?.overlay),onClick:()=>{u&&L()},style:{zIndex:i-1,...C?.overlay},"aria-hidden":"true"}),Jl("div",{className:to("cleen-top-0 cleen-fixed cleen-flex cleen-flex-col cleen-gap-6 cleen-bg-surface cleen-shadow-l cleen-h-dvh cleen-transition-transform cleen-duration-300 cleen-ease-in-out cleen-transform",p==="right"?"cleen-right-0":"cleen-left-0",P?"cleen-translate-x-0":p==="right"?"cleen-translate-x-full":"-cleen-translate-x-full",f?.drawer),style:{zIndex:i,width:typeof g=="number"?g:F5[g],...y!==void 0&&{gap:y},...C?.drawer},ref:w,children:[Jl("div",{className:to("cleen-flex cleen-justify-between cleen-items-center cleen-px-6 cleen-pt-6 cleen-w-full",f?.header),style:{...h!==void 0&&{paddingInline:h,paddingTop:h},...C?.header},children:[Jl("div",{className:"cleen-flex cleen-flex-col",children:[Mn("span",{className:to("cleen-font-semibold cleen-text-foreground-emphasis cleen-text-xl",f?.title),style:C?.title,children:t}),Mn("span",{className:to("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",f?.subtitle),style:C?.subtitle,children:r})]}),l||Mn(De,{onClick:L,className:"cleen-mb-auto cleen-size-5 cleen-cursor-pointer"})]}),Mn("div",{className:to("cleen-flex-1 cleen-px-6 cleen-overflow-y-auto cleen-no-scrollbar",f?.content),style:{...h!==void 0&&{paddingInline:h},...C?.content},children:n}),a&&Mn("div",{className:to("cleen-flex cleen-justify-end cleen-items-center cleen-gap-2 cleen-bg-sidebar cleen-px-6 cleen-py-4 cleen-border-border cleen-border-t",f?.footer),style:{...h!==void 0&&{paddingInline:h,paddingBlock:y},...C?.footer},children:a})]})]}),document.body):null});import{cn as To,useAnimateNumber as E5}from"@cleen/ui-core";import{forwardRef as A5,useEffect as z5,useMemo as O5,useRef as _5,useState as H5}from"react";import{jsx as jl,jsxs as X1}from"react/jsx-runtime";var wn=A5(({percentage:e,title:t,barColor:r,backgroundColor:n="rgb(var(--cleen-neutral-200))",textColor:l="rgb(var(--cleen-foreground))",invertProgressColors:a=!1,showPercentage:c=!1,renderAnimated:s=!1,renderAnimatedDuration:u=1e3,className:p,classNames:i,style:g,styles:h,...y},b)=>{let f=Math.max(0,Math.min(e,100)),v=_5(f),[C,x]=H5(s?0:f),I=E5({targetNumber:C,duration:u,disabled:!s});z5(()=>{if(s){setTimeout(()=>x(f),0);return}v.current!==f&&(x(f),v.current=f)},[f,s]);let P=O5(()=>{if(r)return r;switch(f<=30?"red":f<70?"orange":"green"){case"red":return a?"rgb(var(--cleen-success))":"rgb(var(--cleen-error))";case"orange":return"rgb(var(--cleen-warning))";case"green":return a?"rgb(var(--cleen-error))":"rgb(var(--cleen-success))";default:return"rgb(var(--cleen-success))"}},[f,a,r]);return jl("div",{ref:b,className:To("cleen",p),style:g,children:X1("div",{className:To("cleen-w-full",i?.container),style:h?.container,...y,children:[t&&jl("div",{className:To("cleen-mb-1 cleen-font-semibold cleen-text-xs",i?.title),style:h?.title,children:t}),X1("div",{className:To("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full cleen-h-4",i?.wrapper||i?.progress),style:h?.wrapper??h?.progress,children:[jl("div",{className:To("cleen-overflow-hidden cleen-flex-1 cleen-h-2 cleen-rounded-full",i?.track),style:{backgroundColor:n,...h?.track},children:jl("div",{className:To("cleen-h-full cleen-transition-all cleen-duration-300 ease-out",i?.fill),style:{width:`${C}%`,backgroundColor:P,...s&&{transitionDuration:`${u}ms`},...h?.fill}})}),c&&X1("span",{className:To("cleen-font-medium cleen-text-sm cleen-whitespace-nowrap cleen-w-10",i?.text),style:{color:l,...h?.text},children:[Math.round(I),"%"]})]})]})})});wn.displayName="ProgressBar";import{cn as oo,FileEntryStatus as No}from"@cleen/ui-core";import{useMemo as Gg}from"react";import{Fragment as Vg,jsx as Se,jsxs as Fo}from"react/jsx-runtime";var Wg=({fileEntry:e,onRemove:t,onFileClick:r,labels:n,classNames:l,styles:a})=>{let{id:c,file:s,name:u,size:p,url:i,type:g,status:h,progress:y=0,preExisting:b}=e,f=h===No.UPLOADING,v=h===No.ERROR,C=h===No.DONE,x=h===No.DELETING,I=p?p*y/100:0,P=Gg(()=>{switch(h){case No.UPLOADING:return Fo(Vg,{children:[Se(Po,{className:"cleen-size-4"}),Se("span",{children:n?.uploading})]});case No.DONE:return Se(fo,{className:"cleen-size-4"});case No.ERROR:return Se(ho,{className:"cleen-size-4"});default:return null}},[h,n]),M=()=>{if(r){r(e);return}i&&window.open(i,"_blank","noopener,noreferrer")},B=u||s?.name||"",[k,w]=B.split("."),R=Gg(()=>g?.startsWith("image/")&&i?Se("img",{src:i,alt:B,className:"cleen-size-8 cleen-object-cover cleen-rounded-md"}):g==="application/pdf"?Se(Io,{className:"cleen-size-8"}):Se(vo,{className:"cleen-size-8"}),[B,g,i]);return Se(pe,{p:12,className:l?.card?.className,classNames:{...l?.card?.classNames,container:oo(l?.card?.classNames?.container,{"hover:cleen-bg-muted cleen-cursor-pointer cleen-overflow-hidden":C})},...a?.card,onClick:C?M:void 0,children:Fo("div",{className:oo("cleen-space-y-1",l?.container),style:a?.container,children:[Fo("div",{className:oo("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",l?.nameContainer),style:a?.nameContainer,children:[R,Fo("div",{className:oo("cleen-text-foreground cleen-text-sm cleen-font-medium cleen-flex",l?.name),style:{maxWidth:R?"calc(100% - 5rem)":"calc(100% - 2.5rem)",...a?.name},children:[Se("span",{className:"cleen-truncate cleen-shrink",children:k}),Fo("span",{className:"cleen-whitespace-nowrap",children:[".",w]})]}),Se("div",{className:"cleen-flex-1"}),!f&&(x?Se(ne,{color:"rgb(var(--cleen-error))",className:oo("cleen-shrink-0")}):Se(We,{className:oo("cleen-size-4 cleen-shrink-0 cleen-text-neutral-600 hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer"),onClick:E=>{E.stopPropagation(),t?.(c)}}))]}),Fo("div",{className:oo("cleen-flex cleen-gap-2 cleen-items-center cleen-text-neutral-600 cleen-text-xs",l?.statusContainer),style:a?.statusContainer,children:[!!p&&(f?Se("p",{children:n?.uploadProgress?.(I,p)}):C&&Se("p",{children:n?.uploaded?.(p)})),!b&&Fo(Vg,{children:[Se("span",{children:"|"}),Se("div",{className:oo("cleen-flex cleen-items-center cleen-gap-1",{"cleen-text-error":v,"cleen-text-success":C},l?.statusText),style:a?.statusText,children:P})]})]}),f&&Se(wn,{barColor:"rgb(var(--cleen-primary))",percentage:y,showPercentage:!0,...l?.progressBar,...a?.progressBar})]})},c)};var ec=e=>{if(e===0)return"0 B";let t=1024,r=["B","KB","MB","GB","TB"],n=Math.floor(Math.log(e)/Math.log(t));return`${parseFloat((e/Math.pow(t,n)).toFixed(1))} ${r[n]}`};var $g={primaryText:"Click to upload",secondaryText:"or drag and drop",helperText:"SVG, PNG or JPG (max. 400x400px)",uploading:"Uploading...",uploadProgress:(e,t)=>`${ec(e)} of ${ec(t)}`,uploaded:e=>ec(e)};var qg={uploading:e=>`Uploading ${e} ${e===1?"item":"items"}`,completed:"Uploads complete",showMore:e=>`+${e} more`,showLess:"Show less",dismiss:"Dismiss",contract:"Contract",uploadProgress:e=>`${Math.round(e)}%`};var na=(a=>(a.PENDING="pending",a.IN_PROGRESS="inProgress",a.DONE="done",a.ERROR="error",a.REMOVING="removing",a))(na||{});import{cn as Eo}from"@cleen/ui-core";import{jsx as no,jsxs as Xg}from"react/jsx-runtime";var K1=({item:e,labels:t,classNames:r,styles:n})=>{let{status:l,progress:a=0,icon:c,name:s}=e,u=l==="inProgress",p=l==="done",i=l==="error",g=l==="removing",h=l==="pending";return Xg("div",{className:Eo("cleen-flex cleen-items-center cleen-gap-3",r?.container),style:n?.container,children:[c,Xg("div",{className:Eo("cleen-flex-1 cleen-space-y-1 cleen-min-w-0",r?.infoContainer),style:n?.infoContainer,children:[no("p",{className:Eo("cleen-font-medium cleen-text-foreground cleen-text-sm cleen-truncate",r?.name),style:n?.name,children:s}),u&&no(wn,{barColor:"rgb(var(--cleen-primary))",percentage:a,...r?.progressBar,...n?.progressBar})]}),u&&no("span",{className:Eo("cleen-shrink-0 cleen-text-muted-foreground cleen-text-xs",r?.progressText),style:n?.progressText,children:t?.itemProgress?.(a)}),g&&no(ne,{color:"rgb(var(--cleen-error))"}),p&&no(fo,{className:Eo("cleen-size-5 cleen-shrink-0 cleen-text-success",r?.statusIcon),style:n?.statusIcon}),i&&no(ho,{className:Eo("cleen-size-5 cleen-shrink-0 cleen-text-error",r?.statusIcon),style:n?.statusIcon}),h&&no("div",{className:Eo("cleen-size-5 cleen-shrink-0 cleen-flex cleen-items-center cleen-gap-1",r?.statusIcon),style:n?.statusIcon,children:Array.from({length:3}).map((y,b)=>no("div",{className:"cleen-size-1 cleen-bg-primary cleen-rounded-full cleen-animate-bounce-medium",style:{animationDelay:`${b*.1}s`}},b))})]})};var ra=(l=>(l.NOT_STARTED="notStarted",l.IN_PROGRESS="inProgress",l.COMPLETED="completed",l.ALL="all",l))(ra||{}),aa=["notStarted","inProgress","completed","all"];import{cn as tc}from"@cleen/ui-core";import{jsx as Kg,jsxs as U5}from"react/jsx-runtime";var Z1=({value:e,onChange:t,counts:r,labels:n,classNames:l,styles:a})=>Kg("div",{role:"group","aria-label":n?.statusFilter,className:tc("cleen-flex cleen-flex-wrap cleen-items-center cleen-gap-0.5 cleen-bg-muted cleen-p-0.5 cleen-border cleen-border-border cleen-rounded-md",l?.container),style:a?.container,children:aa.map(c=>{let s=c===e;return U5("button",{type:"button","aria-pressed":s,onClick:()=>t(c),className:tc("cleen-flex cleen-items-center cleen-gap-1 cleen-px-2 cleen-py-0.5 cleen-rounded cleen-font-medium cleen-text-muted-foreground cleen-text-xs cleen-whitespace-nowrap cleen-transition-colors hover:cleen-text-foreground focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary",l?.option,s&&tc("cleen-bg-background cleen-text-foreground cleen-shadow-sm",l?.optionActive)),style:{...a?.option,...s&&a?.optionActive},children:[n?.statusFilterOptions?.[c],r&&Kg("span",{className:tc("cleen-text-neutral-400 cleen-tabular-nums",l?.optionCount),style:a?.optionCount,children:r[c]})]},c)})});var Zg={processing:e=>`Processing ${e} ${e===1?"item":"items"}`,completed:"Processing complete",showMore:e=>`+${e} more`,showLess:"Show less",dismiss:"Dismiss",contract:"Contract",itemProgress:e=>`${Math.round(e)}%`,statusFilter:"Filter by status",statusFilterOptions:{notStarted:"Not Started",inProgress:"In Progress",completed:"Completed",all:"All"},emptyStatusFilter:"Nothing to show for this status"};var Qg=e=>e.status==="inProgress"||e.status==="pending",Yg=e=>e.length>0&&e.every(t=>t.status==="done"),Q1=(e,t)=>{switch(t){case"notStarted":return e.status==="pending";case"inProgress":return e.status==="inProgress"||e.status==="removing";case"completed":return e.status==="done"||e.status==="error";case"all":default:return!0}};import{applyDefaults as G5,cn as ot,useControlled as Jg,useDisclosure as V5}from"@cleen/ui-core";import{forwardRef as W5,useEffect as jg,useMemo as Y1,useRef as $5}from"react";import{jsx as it,jsxs as J1}from"react/jsx-runtime";var j1=W5(function({items:t,title:r,maxVisibleItems:n=5,isExpanded:l,defaultExpanded:a=!1,onExpandedChange:c,onDismiss:s,autoDismissOnUploadCompleteAfterMilliSeconds:u,showHeader:p=!0,showStatusFilter:i=!1,showStatusFilterCounts:g=!1,statusFilter:h,defaultStatusFilter:y="inProgress",onStatusFilterChange:b,labels:f,className:v,classNames:C,style:x,styles:I,...P},M){let{isOpen:B,toggle:k,close:w}=V5(),{value:R,handleChange:E}=Jg({value:l,defaultValue:a,onChange:c});jg(()=>{t.length>0&&w()},[t.length,w]);let N=G5(Zg,f),{value:L,handleChange:F}=Jg({value:h,defaultValue:y,onChange:b}),D=$5(s);D.current=s;let S=Yg(t);jg(()=>{if(u==null||!D.current||!S)return;if(u<=0){D.current();return}let $=setTimeout(()=>D.current?.(),u);return()=>clearTimeout($)},[S,u]);let H=Y1(()=>t.filter(Qg).length,[t]),T=Y1(()=>!i||!L?t:t.filter($=>Q1($,L)),[t,i,L]),z=Y1(()=>{if(g)return aa.reduce(($,q)=>({...$,[q]:t.filter(U=>Q1(U,q)).length}),{})},[t,g]);if(!t.length)return null;let A=Math.max(T.length-n,0),_=R||!A?T:T.slice(0,n),G=r??(H?N?.processing?.(H):N?.completed);return it(pe,{p:16,gap:12,ref:M,className:ot(v,C?.card?.className),classNames:{...C?.card?.classNames,childrenContainer:ot(C?.card?.classNames?.childrenContainer,{"cleen-hidden":B})},style:x,styles:I?.card?.styles,header:p?{hasDivider:!B,content:J1("div",{className:ot("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",C?.header),style:I?.header,children:[it("p",{className:ot("cleen-font-semibold cleen-text-foreground cleen-text-sm",C?.title),style:I?.title,children:G}),J1("div",{className:ot("cleen-flex cleen-items-center cleen-gap-2",C?.headerButtons),style:I?.headerButtons,children:[it("button",{type:"button","aria-label":N?.contract,onClick:k,className:ot("cleen-text-muted-foreground hover:cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.contractButton),style:I?.contractButton,children:it(Mt,{className:ot("cleen-size-5 cleen-transition-transform",B&&"cleen-rotate-180")})}),s&&it("button",{type:"button","aria-label":N?.dismiss,onClick:s,className:ot("cleen-text-muted-foreground hover:cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.dismissButton),style:I?.dismissButton,children:it(De,{className:"cleen-size-4"})})]})]})}:void 0,...P,children:J1("div",{className:ot("cleen-flex cleen-flex-col cleen-gap-3",C?.list),style:I?.list,children:[i&&L&&it(Z1,{value:L,onChange:F,counts:z,labels:N,classNames:C?.statusFilter,styles:I?.statusFilter}),!_.length&&it("p",{className:ot("cleen-text-muted-foreground cleen-text-xs",C?.emptyStatusFilter),style:I?.emptyStatusFilter,children:N?.emptyStatusFilter}),_.map($=>it(K1,{item:$,labels:N,classNames:C?.row,styles:I?.row},$.id)),!!A&&it("button",{type:"button","aria-expanded":R,onClick:()=>E(!R),className:ot("cleen-self-start cleen-font-medium cleen-text-primary cleen-text-xs hover:cleen-underline focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.expandButton),style:I?.expandButton,children:R?N?.showLess:N?.showMore?.(A)})]})})});import{FileEntryStatus as Dt}from"@cleen/ui-core";var q5=[{label:"PDF",className:"cleen-bg-error",extensions:["pdf"]},{label:"DOC",className:"cleen-bg-primary",extensions:["doc","docx","rtf","odt"]},{label:"XLS",className:"cleen-bg-success",extensions:["xls","xlsx","csv","ods"]},{label:"IMG",className:"cleen-bg-warning",extensions:["png","jpg","jpeg","gif","svg","webp"]}],ev={label:"FILE",className:"cleen-bg-neutral-500"},X5={[Dt.QUEUED]:"inProgress",[Dt.UPLOADING]:"inProgress",[Dt.PAUSED]:"inProgress",[Dt.DONE]:"done",[Dt.ERROR]:"error",[Dt.DELETING]:"removing"},eh=e=>e.name||e.file?.name||"",tv=e=>{let t=eh(e).split(".").pop()?.toLowerCase()??"",r=q5.find(({extensions:n})=>n.includes(t));return r?{label:r.label,className:r.className}:{label:t?t.slice(0,4).toUpperCase():ev.label,className:ev.className}},ov=e=>e.status===Dt.QUEUED||e.status===Dt.UPLOADING||e.status===Dt.PAUSED,nv=e=>X5[e.status]??"pending",rv=e=>Array.isArray(e)?e:Array.from(e.values());import{cn as K5}from"@cleen/ui-core";import{jsx as Z5}from"react/jsx-runtime";var av=({fileEntry:e,className:t,style:r})=>{let n=tv(e);return Z5("div",{className:K5("cleen-flex cleen-justify-center cleen-items-center cleen-rounded-md cleen-size-8 cleen-shrink-0 cleen-font-semibold cleen-text-[10px] cleen-text-white",n.className,t),style:r,children:n.label})};import{jsx as Q5}from"react/jsx-runtime";var lv=(e,t)=>({id:e.id,name:eh(e),progress:e.progress,status:nv(e),icon:Q5(av,{fileEntry:e,className:t?.className,style:t?.style})});import{applyDefaults as Y5}from"@cleen/ui-core";import{forwardRef as J5,useMemo as cv}from"react";import{jsx as j5}from"react/jsx-runtime";var th=J5(function({files:t,title:r,maxVisibleFiles:n=5,labels:l,classNames:a,styles:c,...s},u){let p=cv(()=>rv(t),[t]),i=Y5(qg,l),g=cv(()=>p.map(b=>lv(b,{className:a?.row?.typeBadge,style:c?.row?.typeBadge})),[p,a?.row?.typeBadge,c?.row?.typeBadge]),h=p.filter(ov).length,y=r??(h?i?.uploading?.(h):i?.completed);return j5(j1,{ref:u,items:g,title:y,maxVisibleItems:n,labels:{showMore:i?.showMore,showLess:i?.showLess,dismiss:i?.dismiss,contract:i?.contract,itemProgress:i?.uploadProgress},classNames:a,styles:c,...s})});import{applyDefaults as e3,cn as Te,FileEntryStatus as t3,useFileUpload as o3}from"@cleen/ui-core";import{forwardRef as n3,useEffect as r3,useMemo as sv,useRef as iv,useState as oh}from"react";import{createPortal as a3}from"react-dom";import{jsx as Ne,jsxs as oc}from"react/jsx-runtime";var l3=n3(function({required:t,icon:r,files:n,initialFiles:l=[],onFilesChange:a,onFileUpload:c,onFilesUpload:s,onFileRemove:u,onFileClick:p,infoLabels:i,containerRef:g,label:h,labelTooltip:y,labels:b,showUploadedFiles:f=!1,showProgressTracker:v=!1,progressTracker:C,className:x,classNames:I,style:P,styles:M,multiple:B,disabled:k,loadingWhileUploading:w,isLoading:R,readOnly:E,onChange:N,id:L,name:F,...D},S){let H=iv(null),{files:T,addFiles:z,remove:A}=o3({files:n,onFilesChange:a,initialFiles:l,onFileUpload:c,onFilesUpload:s,onFileRemove:u}),_=sv(()=>R||w&&Array.from(T.values()).some(X=>X.status===t3.UPLOADING),[T,w,R]),[G,$]=oh(!1),[q,U]=oh([]),[V,Q]=oh(!1),O=iv(new Set(T.keys()));r3(()=>{let X=Array.from(T.keys()),Ce=X.filter(Re=>!O.current.has(Re));O.current=new Set(X),U(Re=>{let xe=Re.filter(Je=>T.has(Je));return Ce.length?V?Ce:[...xe,...Ce.filter(Je=>!xe.includes(Je))]:xe.length===Re.length?Re:xe}),Ce.length&&Q(!1)},[T,V]);let Z=sv(()=>q.map(X=>T.get(X)).filter(X=>!!X),[q,T]),ie=()=>{Q(!0),U([]),C?.onDismiss?.()},he=!k&&!E&&!_,Ie=X=>{let Ce=Array.from(X.target.files??[]);z(Ce),N?.(X)},It=X=>{A(X)},Qe=()=>{he&&H.current?.click()},Y=X=>{if(!X.length)return;let Ce=B?X:X.slice(0,1);if(!H.current||typeof DataTransfer>"u"){z(Ce);return}let Re=new DataTransfer;Ce.forEach(xe=>Re.items.add(xe));try{H.current.files=Re.files}catch{z(Ce);return}z(Ce),N?.({target:H.current,currentTarget:H.current})},ae=X=>{X.preventDefault(),X.stopPropagation(),$(!1),he&&Y(Array.from(X.dataTransfer.files??[]))},rt=X=>{X.preventDefault(),X.stopPropagation(),he&&$(!0)},at=X=>{X.preventDefault(),X.stopPropagation(),he&&$(!0)},Be=X=>{X.preventDefault(),X.stopPropagation(),he&&$(!1)},bt=X=>{he&&(X.key!=="Enter"&&X.key!==" "||(X.preventDefault(),Qe()))},Ye=e3($g,b);return oc("div",{className:Te("cleen",x),style:P,ref:g,children:[Ne("input",{id:L||F,name:F,ref:X=>{if(H.current=X,typeof S=="function"){S(X);return}S&&(S.current=X)},type:"file",multiple:B,disabled:k||_,readOnly:E,className:Te("cleen-hidden",I?.input),style:M?.input,onChange:Ie,...D}),h&&Ne(oe,{htmlFor:L||F,required:t,tooltip:y,className:Te("cleen-mb-1.5",I?.label?.className),classNames:I?.label?.classNames,...M?.label,children:h}),oc("div",{className:Te("cleen-relative cleen-blur-0",{"cleen-pointer-events-none":_}),children:[Ne(pe,{tabIndex:he?0:-1,role:"button","aria-label":typeof h=="string"?h:"Upload file","aria-disabled":k||E||_,onClick:Qe,onKeyDown:bt,onDrop:ae,onDragEnter:rt,onDragOver:at,onDragLeave:Be,p:16,className:Te("cleen-rounded-lg focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",I?.card?.className),classNames:{...I?.card?.classNames,container:Te("cleen-transition-colors",k?"cleen-cursor-not-allowed cleen-bg-muted":"cleen-cursor-pointer hover:cleen-bg-surface hover:cleen-border-muted-foreground",I?.card?.classNames?.container,G&&["cleen-border-muted-foreground cleen-bg-surface",I?.cardDragActive]),childrenContainer:Te({"cleen-blur-sm":_},I?.card?.classNames?.childrenContainer)},style:M?.card?.style,styles:{...M?.card?.styles,container:{...M?.card?.styles?.container,...G?M?.cardDragActive:void 0}},children:oc("div",{className:Te("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center cleen-gap-3 cleen-text-center",I?.dropArea),style:M?.dropArea,"aria-disabled":k||E||_,children:[Ne("div",{className:Te("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-border cleen-border-border cleen-rounded-xl cleen-size-11 cleen-text-neutral-700",I?.iconContainer),style:M?.iconContainer,children:r||Ne(Po,{className:"cleen-size-5"})}),oc("p",{className:Te("cleen-font-medium cleen-text-sm",I?.textContainer),style:M?.textContainer,children:[Ne("span",{className:Te(k?"cleen-text-muted-foreground":"cleen-text-primary",I?.primaryText),style:M?.primaryText,children:Ye?.primaryText})," ",Ne("span",{className:Te("cleen-text-foreground",I?.secondaryText),style:M?.secondaryText,children:Ye?.secondaryText})]}),Ne("p",{className:Te("cleen-text-neutral-600 cleen-text-xs",I?.helperText),style:M?.helperText,children:Ye?.helperText})]})}),_&&Ne(ne,{size:"md",className:"cleen-absolute cleen-top-1/2 cleen-left-1/2 -cleen-translate-x-1/2 -cleen-translate-y-1/2"})]}),f&&T.size>0&&Ne("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-mt-4",children:Array.from(T.values()).map(X=>Ne(Wg,{fileEntry:X,onRemove:It,onFileClick:p,labels:Ye,classNames:I?.fileCard,styles:M?.fileCard},X.id))}),v&&!V&&Z.length>0&&a3(Ne("div",{className:"cleen",children:Ne(th,{...C,files:Z,onDismiss:ie,className:Te("cleen-fixed cleen-right-0 cleen-bottom-0 cleen-m-4 cleen-w-96",I?.progressTracker?.className),classNames:I?.progressTracker?.classNames,...M?.progressTracker})}),document.body),(i?.errorMessage||i?.infoMessage||i?.subtitle)&&Ne(ee,{...i})]})});var c3=e=>{let t=e instanceof Date?e:new Date(e);if(Number.isNaN(t.getTime()))return;let r={dateStyle:"medium",timeStyle:"short"};try{return new Intl.DateTimeFormat("en-US",r).format(t)}catch{return new Intl.DateTimeFormat("en-US",r).format(t)}},pv={uploaded:e=>`Uploaded: ${c3(e)}`};var nh={"image/":"image","video/":"video","audio/":"audio"},rh={"application/pdf":"pdf","application/msword":"document","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"document","application/vnd.oasis.opendocument.text":"document","application/rtf":"document","text/rtf":"document","text/plain":"document","application/vnd.ms-excel":"spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"spreadsheet","application/vnd.oasis.opendocument.spreadsheet":"spreadsheet","text/csv":"spreadsheet","application/zip":"archive","application/x-zip-compressed":"archive","application/vnd.rar":"archive","application/x-rar-compressed":"archive","application/x-7z-compressed":"archive","application/x-tar":"archive","application/gzip":"archive","application/x-gzip":"archive"},dv={png:"image",jpg:"image",jpeg:"image",gif:"image",bmp:"image",webp:"image",svg:"image",avif:"image",heic:"image",ico:"image",tif:"image",tiff:"image",mp4:"video",mov:"video",webm:"video",avi:"video",mkv:"video",m4v:"video",ogv:"video",mp3:"audio",wav:"audio",ogg:"audio",oga:"audio",m4a:"audio",aac:"audio",flac:"audio",weba:"audio",pdf:"pdf",doc:"document",docx:"document",txt:"document",rtf:"document",odt:"document",xls:"spreadsheet",xlsx:"spreadsheet",csv:"spreadsheet",ods:"spreadsheet",zip:"archive",rar:"archive","7z":"archive",tar:"archive",gz:"archive",tgz:"archive"},mv=["http:","https:","blob:"];var s3=e=>{let t=e?.split(";")[0].trim().toLowerCase();if(!t)return;if(t in rh)return rh[t];let r=Object.keys(nh).find(n=>t.startsWith(n));return r?nh[r]:void 0},ah=e=>{let t=e.lastIndexOf(".");return t<0?void 0:e.slice(t+1).toLowerCase()},i3=e=>{let t=ah(e);return t?dv[t]:void 0},uv=e=>s3(e.type)??i3(e.name)??"generic",hv=e=>{if(!e)return!1;try{let t=typeof document<"u"?document.baseURI:void 0;return mv.includes(new URL(e,t).protocol)}catch{return!1}};import{cn as Tt,formatFileSize as p3}from"@cleen/ui-core";import{forwardRef as d3,useMemo as fv,useState as m3}from"react";import{Fragment as h3,jsx as pt,jsxs as nc}from"react/jsx-runtime";var u3=d3(function({file:t,preview:r=!1,onRemove:n,description:l,labels:a,className:c,classNames:s,style:u,styles:p,...i},g){let[h,y]=m3(),b=fv(()=>({...pv,...a}),[a]),f=uv(t),v=M1(ah(t.name)),C=hv(t.url)?t.url:void 0,x=t.previewUrl||t.url,I=r&&(f==="image"||f==="video")&&!!x&&h!==x,P=fv(()=>{if(l!=null)return l;let w=[];if(t.size!=null&&w.push(p3(t.size)),t.uploadedAt!=null){let R=b?.uploaded(t.uploadedAt);R&&w.push(R)}return w.length>0?w.join(" \u2022 "):null},[l,t.uploadedAt,t.size,b]),M=w=>{w.stopPropagation(),n?.(t)},B=Tt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-items-center cleen-gap-3 cleen-py-2 cleen-px-3 cleen-rounded-lg",C&&"cleen-cursor-pointer focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-inset focus-visible:cleen-ring-primary",s?.main),k=nc(h3,{children:[nc("div",{className:Tt("cleen-flex cleen-size-10 cleen-shrink-0 cleen-items-center cleen-justify-center cleen-overflow-hidden cleen-rounded-lg cleen-bg-primary-50 cleen-text-primary-600",s?.media),style:p?.media,children:[I&&(f==="image"||f==="video"&&t.previewUrl)&&pt("img",{src:x,alt:t.name,className:"cleen-size-full cleen-object-cover",onError:()=>y(x)}),I&&f==="video"&&!t.previewUrl&&pt("video",{src:x,"aria-label":t.name,className:"cleen-size-full cleen-object-cover",muted:!0,playsInline:!0,preload:"metadata",onError:()=>y(x)}),!I&&pt(v,{"aria-hidden":!0,className:Tt("cleen-size-5",s?.icon),style:p?.icon})]}),nc("div",{className:Tt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-flex-col cleen-gap-0.5",s?.content),style:p?.content,children:[pt("span",{className:Tt("cleen-truncate cleen-text-sm cleen-font-semibold cleen-text-foreground",s?.title),style:p?.title,title:t.name,children:t.name}),P!==null&&pt("span",{className:Tt("cleen-truncate cleen-text-xs cleen-text-muted-foreground",s?.description),style:p?.description,children:P})]})]});return pt("div",{className:Tt("cleen",c),style:u,ref:g,...i,children:nc("div",{className:Tt("cleen-flex cleen-w-full cleen-min-w-0 cleen-items-center cleen-rounded-lg cleen-border cleen-border-border cleen-bg-background cleen-transition-all cleen-duration-200",C&&"hover:cleen-border-neutral-300 hover:cleen-shadow-md",s?.container),style:p?.container,children:[C?pt("a",{href:C,target:"_blank",rel:"noopener noreferrer",className:B,style:p?.main,children:k}):pt("div",{className:B,style:p?.main,children:k}),n&&pt("button",{type:"button",className:Tt("cleen-mr-3 cleen-flex cleen-size-8 cleen-shrink-0 cleen-items-center cleen-justify-center cleen-rounded-md cleen-text-error cleen-transition-colors hover:cleen-bg-muted focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-error",s?.removeButton),style:p?.removeButton,onClick:M,children:pt(De,{"aria-hidden":!0,className:"cleen-size-5"})})]})})});var rc={filterName:"",exposed:!1};import{createContext as f3}from"react";var qe=f3({isSaveFiltersStep:!1,setIsSaveFiltersStep:()=>{},saveStepValues:{exposed:!1,filterName:""},setSaveStepValues:()=>{},handleCloseSaveFilter:()=>{},isFiltersDropdownOpen:!1,setIsFiltersDropdownOpen:()=>{},errors:{},setErrors:()=>{},setError:()=>{}});import{cn as g3}from"@cleen/ui-core";import{useContext as v3,useState as I3}from"react";import{Fragment as b3,jsx as la,jsxs as lh}from"react/jsx-runtime";var gv={min:3,max:50},vv=()=>{let{isSaveFiltersStep:e,saveStepValues:t,setSaveStepValues:r,setIsSaveFiltersStep:n,handleCloseSaveFilter:l,setError:a,onSave:c,classNames:s,styles:u,labels:p,withSavedFilters:i=!0,onCancel:g,onApply:h}=v3(qe),[y,b]=I3(!1),f=async()=>{try{if(t.filterName.length<gv.min){a?.("filterName",p?.saveStep?.validation?.tooShort);return}if(t.filterName.length>gv.max){a?.("filterName",p?.saveStep?.validation?.tooLong);return}b(!0),await c?.(t),n(!1)}catch(v){console.error("Error saving filters:",v)}finally{b(!1)}};return e?lh("div",{className:"cleen-flex cleen-flex-1 cleen-justify-end cleen-gap-3",children:[la(re,{onClick:()=>n(!1),variant:"secondary",...s?.saveFilter?.backBtn,...u?.saveFilter?.backBtn,children:p?.saveStep?.back}),la(re,{onClick:f,isLoading:y,loaderColor:"rgb(var(--cleen-white))",...s?.saveFilter?.saveBtn,...u?.saveFilter?.saveBtn,children:p?.saveStep?.save})]}):lh(b3,{children:[i&&la(re,{onClick:()=>{r(rc),n(!0)},variant:"borderless-blue",...s?.saveBtn,...u?.saveBtn,children:p?.save}),lh("div",{className:g3("cleen-flex cleen-items-center cleen-gap-3",{"cleen-flex-1 cleen-justify-end":!i}),children:[la(re,{onClick:()=>{g?.(),l()},variant:"secondary",...s?.cancelBtn,...u?.cancelBtn,children:p?.cancel}),la(re,{onClick:()=>{h?.(),l()},...s?.applyBtn,...u?.applyBtn,children:p?.apply})]})]})};import{cn as ac}from"@cleen/ui-core";import{Link as y3}from"react-router-dom";import{Fragment as bv,jsx as Ao,jsxs as ch}from"react/jsx-runtime";var Iv=({item:e,classNames:t,styles:r})=>({disabled:e?.disabled,className:ac("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-2 cleen-w-full cleen-text-foreground cleen-text-sm cleen-text-left cleen-transition-colors",e?.disabled?"cleen-opacity-50 cleen-select-none cleen-cursor-not-allowed cleen-pointer-events-none":"hover:cleen-bg-muted cleen-cursor-pointer",{"cleen-text-error hover:cleen-bg-error-bg":e?.danger},t?.container),style:r?.container,children:ch(bv,{children:[e?.icon,Ao("span",{className:ac("cleen-flex-1",t?.label),style:r?.label,children:e?.label})]}),...e?.type==="button"?{type:"button"}:{to:e?.to}}),sh=({item:e,isLast:t,handleClick:r,onEnterSubmenu:n,classNames:l,styles:a})=>{switch(e?.type){case"group":return ch(bv,{children:[e?.label&&Ao("p",{className:ac("cleen-px-4 cleen-py-2 cleen-font-bold cleen-text-muted-foreground cleen-text-xs",l?.groupLabel),style:a?.groupDivider,children:e?.label}),e?.items?.map((c,s,u)=>Ao(sh,{item:c,handleClick:r,onEnterSubmenu:n,isLast:s===u.length-1},c?.id||s)),!t&&Ao("hr",{className:ac("cleen-text-neutral-200",l?.groupDivider),style:a?.groupDivider})]});case"button":{let c=e?.submenu&&e?.submenu?.length>0;return ch("button",{type:"button",onClick:()=>{c?n?.(e.submenu,e?.label):r?.(e)},...Iv({item:e,classNames:l,styles:a}),children:[e?.icon,Ao("span",{className:"cleen-flex-1",children:e?.label}),c&&Ao(je,{className:"cleen-size-4 cleen-text-neutral-400"})]})}case"link":return Ao(y3,{to:"",...Iv({item:e,classNames:l,styles:a})});default:return null}};import{cn as C3}from"@cleen/ui-core";import{useEffect as yv,useState as Cv}from"react";import{Fragment as x3,jsx as xv,jsxs as Pv}from"react/jsx-runtime";var Sv=({items:e,keepOpenOnClick:t,hideMenu:r,classNames:n,styles:l})=>{let[a,c]=Cv([]),[s,u]=Cv(e),p=(h,y)=>{c(b=>[...b,{items:s,title:y}]),u(h)},i=()=>{let h=a[a?.length-1];h&&(u(h?.items),c(y=>y?.slice(0,-1)))};yv(()=>{u(e),c([])},[e]),yv(()=>{let h=y=>{if(y.key==="Escape")if(a.length>0){let b=a?.[a?.length-1];u(b?.items),c(f=>f?.slice(0,-1))}else r()};return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[r,a]);let g=h=>{h?.onClick?.(),t||r()};return Pv(x3,{children:[a?.length>0&&Pv("button",{onClick:i,className:C3("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-2 cleen-w-full cleen-text-sm cleen-text-foreground hover:cleen-bg-neutral-50",n?.submenuButton),style:l?.submenuButton,children:[xv(St,{className:"cleen-size-4 cleen-text-neutral-300"}),a?.[a?.length-1]?.title]}),s?.map((h,y,b)=>xv(sh,{item:h,isLast:y===b?.length-1,handleClick:g,onEnterSubmenu:p,classNames:n?.item,styles:l?.item},h?.id||y))]})};import{CLEEN_IGNORE_OUTSIDE_CLICK as P3,cn as ih,useDisclosure as S3,useOutsideClick as M3,usePositionClose as w3,ZIndex as k3}from"@cleen/ui-core";import{forwardRef as B3,useRef as Mv}from"react";import{createPortal as R3}from"react-dom";import{jsx as lc,jsxs as L3}from"react/jsx-runtime";var kn=B3(function({items:t=[],position:r="bottom-left",keepOpenOnClick:n=!0,triggerRef:l,menuRef:a,ignoreClickOutside:c=!1,zIndex:s=k3.MENU,children:u,className:p,classNames:i,style:g,styles:h,...y},b){let{isOpen:f,toggle:v,close:C}=S3(),x=Mv(null),I=Mv(null),P=l??x,M=a??I,{positionStyles:B,isMounted:k}=w3({triggerRef:P,targetRef:M,position:r,isOpen:f});M3({refs:[P,M],handler:C,enabled:f});let w=()=>{v()};return L3("div",{className:ih("cleen",p),style:g,ref:b,...y,children:[lc("div",{ref:P,onClick:w,className:ih("cleen-size-fit",i?.trigger,f&&i?.triggerOpen),style:{...h?.trigger,...f?h?.triggerOpen:{}},children:u}),f&&R3(lc("div",{className:"cleen",...c&&{[P3]:"true"},children:lc("div",{ref:M,className:ih("cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg cleen-w-52","cleen-absolute",{"cleen-opacity-0":!k},i?.menu),style:{zIndex:s,top:`${B.top}px`,left:`${B.left}px`,...h?.menu},children:lc(Sv,{items:t,keepOpenOnClick:n,hideMenu:C,classNames:i,styles:h})})}),document.body)]})});import{cn as cc,ColorHelpers as uh}from"@cleen/ui-core";import{useMemo as D3}from"react";var ph=["blue","lighter-blue","primary","indigo","green","red","purple","pink","orange","gray","yellow"],dh={blue:"cleen-border-blue/30 cleen-bg-blue/10 cleen-text-blue","lighter-blue":"cleen-border-blue-light/20 cleen-bg-blue-light/5 cleen-text-blue-light",primary:"cleen-border-primary/30 cleen-bg-primary/10 cleen-text-primary",indigo:"cleen-border-indigo/50 cleen-bg-indigo/5 cleen-text-indigo/80",green:"cleen-border-success/20 cleen-bg-success-bg cleen-text-success",red:"cleen-border-error/20 cleen-bg-error-bg cleen-text-error",purple:"cleen-border-purple/20 cleen-bg-purple/5 cleen-text-purple/80",pink:"cleen-border-pink/50 cleen-bg-pink/5 cleen-text-pink/80",orange:"cleen-border-orange/20 cleen-bg-orange/5 cleen-text-orange/80",yellow:"cleen-text-yellow-500 cleen-bg-yellow/10 cleen-border-yellow",gray:"cleen-border-border cleen-bg-muted cleen-text-neutral-600"},wv={blue:"cleen-bg-primary/50",primary:"cleen-bg-primary/50",indigo:"cleen-bg-indigo/50",green:"cleen-bg-success/50",red:"cleen-bg-error/50",purple:"cleen-bg-purple/50",pink:"cleen-bg-pink/50",orange:"cleen-bg-warning/50",yellow:"cleen-bg-yellow/50",gray:"cleen-bg-neutral-300"},kv={full:"cleen-rounded-full",rounded:"cleen-rounded-2xl",semiRounded:"cleen-rounded-lg",sleek:"cleen-rounded"};var mh=(e,t)=>!e&&!t?"primary":t?ph[t%ph.length]:e;import{jsx as hh,jsxs as T3}from"react/jsx-runtime";var Fe=({className:e,classNames:t,style:r,styles:n,label:l,color:a="primary",variant:c="rounded",showDot:s=!1,icon:u,removeable:p=!1,withBorder:i=!0,onRemoveClicked:g,onClick:h,colorByIndex:y,children:b,...f})=>{let{variantClass:v,dotVariantClass:C,dotVariantStyle:x,variantStyle:I}=D3(()=>{let P={};return a in dh?(P.variantClass=dh[mh(a,y)],P.dotVariantClass=wv[mh(a,y)]):(P.variantStyle={borderColor:uh.trasparentize(a,.8),backgroundColor:uh.trasparentize(a,.95),color:a},P.dotVariantStyle={backgroundColor:uh.trasparentize(a,.5)}),P},[a,y]);return hh("div",{className:cc("cleen",e),style:r,children:T3("span",{className:cc("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1 cleen-text-xs cleen-font-medium cleen-py-0.5 cleen-px-2 cleen-w-fit cleen-min-w-max cleen-transition-all cleen-duration-200",v,kv[c],{"cleen-border":i},{"hover:cleen-opacity-80 cleen-cursor-pointer":h||p},t?.container),style:{...I,...n?.container},onClick:h,...f,children:[s&&hh("span",{className:cc("cleen-size-2 cleen-rounded-[50%]",C,t?.dot),style:{...x,...n?.dot}}),u,l??b,p&&hh(De,{className:cc("cleen-size-3 cleen-cursor-pointer cleen-flex cleen-flex-col cleen-justify-center cleen-items-center cleen-transition-transform cleen-duration-200 hover:cleen-scale-125",t?.removable),style:n?.removable,onClick:g})]})})};import{cn as F3}from"@cleen/ui-core";import{useContext as E3,useState as Bv}from"react";import{jsx as dt,jsxs as A3}from"react/jsx-runtime";var Rv=({filter:e,activeTabId:t})=>{let[r,n]=Bv(!1),[l,a]=Bv(!1),{labels:c,onFilterDelete:s,onFilterPin:u,onFilterSelect:p,onFilterUnpin:i,setIsFiltersDropdownOpen:g}=E3(qe),h=async()=>{try{if(!s)return;n(!0),await s(e.filterID)}catch(b){console.error("Error while deleting filter:",b)}finally{n(!1)}},y=async()=>{try{a(!0),e?.isPinned?await i?.(e.filterID):await u?.(e.filterID)}catch(b){console.error("Error while pinning/unpinnning filter:",b)}finally{a(!1)}};return dt("div",{className:"cleen-group cleen-flex cleen-flex-col cleen-justify-around cleen-gap-2 hover:cleen-bg-primary/5 cleen-p-2 cleen-rounded-md cleen-min-h-10",children:A3("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-cursor-pointer",onClick:()=>{p?.(e),g(!1)},children:[dt("span",{className:"cleen-flex-1 cleen-text-neutral-600 cleen-text-sm cleen-text-left cleen-truncate",children:e.title}),l?dt(ne,{classNames:{loader:"cleen-size-5"}}):dt(Fe,{color:"gray",onClick:b=>{b.stopPropagation(),y()},icon:dt(Pr,{name:"pin",className:F3("cleen-size-3.5 group-hover:cleen-text-neutral-700 cleen-transition-colors cleen-cursor-pointer",e?.isPinned?"cleen-text-neutral-600":"cleen-text-neutral-300")}),classNames:{container:"cleen-font-bold"},label:e?.isPinned?c?.savedFilters?.filter?.unpin:c?.savedFilters?.filter?.pin}),t==="mine"&&dt(kn,{items:[{id:"duplicate",type:"button",label:c?.savedFilters?.filter?.cancelDelete,icon:dt(De,{className:"cleen-size-5"}),onClick:()=>{}},{id:"archive",type:"button",label:c?.savedFilters?.filter?.delete,icon:dt(We,{}),danger:!0,onClick:()=>h()}],keepOpenOnClick:!1,ignoreClickOutside:!0,onClick:b=>b.stopPropagation(),className:"cleen-flex",children:r?dt(ne,{size:"sm",color:"rgb(var(--cleen-error))"}):dt(We,{className:"cleen-text-foreground hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer",name:"delete"})})]})})};import{cn as ro}from"@cleen/ui-core";import{forwardRef as z3,useMemo as Dv,useState as O3}from"react";import{cn as fh}from"@cleen/ui-core";var ca={horizontal:{list:"cleen-flex cleen-flex-wrap cleen-mb-4"},vertical:{container:"cleen-flex cleen-gap-4",list:"cleen-flex cleen-flex-col",content:"cleen-flex-1"}},Lv=e=>{let t=e==="vertical";return{underlined:{list:fh("cleen-gap-2 cleen-border-border",!t&&"cleen-border-b"),tab:fh("cleen-px-1 cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200",t?"cleen-border-l-2 cleen-pl-3 cleen-py-1.5":"cleen-border-b-2 cleen-pb-3"),tabActive:"cleen-border-primary cleen-text-primary",tabInactive:"cleen-border-transparent cleen-text-muted-foreground hover:cleen-text-neutral-700 hover:cleen-border-border",tabDisabled:"cleen-border-transparent cleen-text-neutral-300 cleen-cursor-not-allowed"},padded:{list:"cleen-gap-1",tab:"cleen-px-3 cleen-py-2.5 cleen-rounded-md cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200",tabActive:"cleen-bg-primary/10 cleen-text-primary",tabInactive:"cleen-text-muted-foreground hover:cleen-bg-muted",tabDisabled:"cleen-text-neutral-300 cleen-cursor-not-allowed"},stretched:{list:"cleen-rounded-md cleen-overflow-hidden cleen-border cleen-border-border",tab:fh("cleen-flex-1 cleen-px-3 cleen-py-2 cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200 cleen-border-border cleen-justify-center",t?"[&:not(:first-child)]:cleen-border-t":"[&:not(:first-child)]:cleen-border-l"),tabActive:"cleen-bg-primary/10 cleen-text-primary",tabInactive:"cleen-text-neutral-600 hover:cleen-bg-muted",tabDisabled:"cleen-text-neutral-300 cleen-cursor-not-allowed"}}};import{jsx as sc,jsxs as Tv}from"react/jsx-runtime";var gh=z3(function({tabs:t,variant:r="underlined",direction:n="horizontal",currentTabIndex:l,onTabChange:a,className:c,classNames:s,style:u,styles:p,...i},g){let[h,y]=O3(0),f=l!==void 0?l:h,v=Dv(()=>t?.[f],[t,f]),C=(I,P)=>{y(I),a?.(I,P)},x=Dv(()=>Lv(n),[n]);return sc("div",{className:ro("cleen",c),style:u,ref:g,...i,children:Tv("div",{className:ro(ca[n].container,s?.container),style:p?.container,children:[sc("nav",{className:ro(x[r].list,ca[n].list,s?.list),"aria-label":"Tabs",style:p?.list,children:t?.map((I,P)=>{let M=f===P,B=I?.isDisabled;return Tv("span",{onClick:()=>!B&&C(P,I),className:ro("cleen-flex cleen-items-center cleen-gap-2 cleen-whitespace-nowrap",!B&&"cleen-cursor-pointer",x[r].tab,ca[n].tab,s?.tab,B?ro(x[r].tabDisabled,s?.tabDisabled):M?ro(x[r].tabActive,s?.tabActive):ro(x[r].tabInactive,s?.tabInactive)),style:{...p?.tab,...B?p?.tabDisabled:M?p?.tabActive:p?.tabInactive},"aria-current":M?"page":void 0,"aria-disabled":B,children:[I?.label,!!I?.badge?.label&&sc(Fe,{variant:"rounded",color:M?"blue":"gray",...s?.count,...p?.count,...I.badge})]},I?.id||P)})}),!!v?.content&&sc("div",{className:ro("h-full",ca[n].content,s?.content),style:p?.content,children:v?.content})]})})});import{useContext as _3,useState as H3}from"react";import{jsx as zo,jsxs as G3}from"react/jsx-runtime";var U3=e=>{let t={isFeatured:null,isMine:null,isPinned:null,isShared:null};switch(e){case"featured":t.isFeatured=!0;break;case"mine":t.isMine=!0;break;case"pinned":t.isPinned=!0;break;case"shared":t.isShared=!0;break;case"all":default:break}return t},Nv=({selectedSavedFilter:e,filters:t,isFiltersFetching:r,onFilterCategoryChange:n})=>{let[l,a]=H3("all"),{labels:c,classNames:s,styles:u,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i}=_3(qe);return zo(ea,{isOpen:p,onOpenChange:i,leftIcon:zo(pr,{className:"cleen-size-5"}),label:e?.title??c?.savedFilters?.label,fullWidthDropdown:!0,...s?.dropdown,...u?.dropdown,children:G3("div",{className:"flex flex-col gap-2 p-2.5 w-full",children:[zo(gh,{tabs:[{id:"all",label:c?.savedFilters?.tabs?.all},{id:"mine",label:c?.savedFilters?.tabs?.mine},{id:"shared",label:c?.savedFilters?.tabs?.shared},{id:"featured",label:c?.savedFilters?.tabs?.featured},{id:"pinned",label:c?.savedFilters?.tabs?.pinned}],variant:"padded",onTabChange:(g,h)=>{a(h?.id),n?.(U3(h?.id))},classNames:{list:"cleen-mb-2"}}),zo("div",{className:"flex flex-col",children:r?zo(ne,{classNames:{loader:"cleen-size-6"}}):(t?.length||0)>0?t?.map(g=>zo(Rv,{filter:g,activeTabId:l},g.filterID)):zo("p",{className:"cleen-font-normal cleen-text-neutral-600 cleen-text-base cleen-text-center",children:c?.savedFilters?.noFilters})})]})})};import{cn as Nt}from"@cleen/ui-core";import{forwardRef as V3,useEffect as W3,useId as $3,useState as q3}from"react";import{jsx as Oo,jsxs as vh}from"react/jsx-runtime";var Ih=V3(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,onChange:c,title:s,label:u,labelTooltip:p,sublabel:i,disabled:g,classNames:h,className:y,style:b,styles:f,infoLabels:v,...C},x){let I=typeof l=="boolean",[P,M]=q3(a);W3(()=>{I||M(a)},[a,I]);let B=I?l:P,k=$3(),w=s?`${k}-title`:void 0,R=u?`${k}-label`:void 0,E=[w,R].filter(Boolean).join(" ")||void 0,N=()=>{g||(I||M(!P),c?.(!B))};return Oo("div",{className:Nt("cleen",y),style:b,children:vh("div",{className:Nt("cleen-flex cleen-flex-col",h?.container),style:f?.container,children:[s&&Oo(oe,{id:w,htmlFor:t||r,required:n,tooltip:p,className:Nt("cleen-mb-1.5",h?.title?.className),classNames:h?.title?.classNames,...f?.title,children:s}),vh("div",{className:Nt("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",h?.switchContainer),style:f?.switchContainer,children:[Oo("button",{id:t||r,type:"button",role:"switch","aria-checked":B,"aria-labelledby":E,disabled:g,onClick:N,className:Nt("cleen-inline-flex cleen-relative cleen-flex-shrink-0 cleen-my-auto cleen-mb-auto cleen-border-2 cleen-border-transparent cleen-rounded-full cleen-w-11 cleen-h-6 cleen-transition-colors cleen-duration-200 cleen-ease-in-out cleen-cursor-pointer focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",B?"cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]":"cleen-bg-neutral-200 hover:cleen-bg-neutral-300",h?.switch),style:f?.switch,ref:x,...C,children:Oo("span",{"aria-hidden":"true",className:Nt("cleen-inline-block cleen-bg-primary-foreground cleen-shadow cleen-rounded-full cleen-ring-0 cleen-w-5 cleen-h-5 cleen-transition cleen-duration-200 cleen-ease-in-out cleen-pointer-events-none cleen-transform",B?"cleen-translate-x-5":"cleen-translate-x-0",h?.check),style:f?.check})}),(u||i)&&vh("div",{className:Nt("cleen-flex cleen-flex-col cleen-text-sm",h?.labelContainer),style:f?.labelContainer,children:[u&&Oo("span",{id:R,className:Nt("cleen-font-semibold cleen-text-foreground",h?.label),style:f?.label,children:u}),i&&Oo("span",{className:Nt("cleen-font-normal cleen-text-muted-foreground",h?.sublabel),style:f?.sublabel,children:i})]})]}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&Oo(ee,{...v})]})})});import{useContext as X3}from"react";import{Fragment as K3,jsx as Fv,jsxs as Z3}from"react/jsx-runtime";var Ev=()=>{let{classNames:e,styles:t,labels:r,saveStepValues:n,setSaveStepValues:l,errors:a,clearError:c}=X3(qe);return Z3(K3,{children:[Fv(de,{value:n.filterName,onChange:s=>{l(u=>({...u,filterName:s.target.value})),a?.filterName&&c?.("filterName")},label:r?.saveStep?.filterNameInput?.label,placeholder:r?.saveStep?.filterNameInput?.placeholder,infoLabels:{errorMessage:a?.filterName},...e?.saveFilter?.filterName,...t?.saveFilter?.filterName}),Fv(Ih,{checked:n.exposed,onChange:s=>l(u=>({...u,exposed:s})),title:r?.saveStep?.exposureSwitch?.title,label:r?.saveStep?.exposureSwitch?.label,sublabel:r?.saveStep?.exposureSwitch?.sublabel,...e?.saveFilter?.exposure,...t?.saveFilter?.exposure})]})};var Av={title:"Filters",subtitle:"Apply filters to table data.",apply:"Apply",cancel:"Cancel",clear:"Clear",save:"Save filters",saveStep:{back:"Back",save:"Save",title:"Save Filter",subtitle:"Filters are reusable and shareable.",filterNameInput:{label:"Filter name",placeholder:"Type a name for this filter"},exposureSwitch:{title:"Exposure",label:"Share this filter",sublabel:"Allows others to see and use this filter"},validation:{tooShort:"You must provide a valid filter title, above 3 characters long.",tooLong:"You must provide a valid filter title, below 50 characters long."}},savedFilters:{label:"Select saved filter",noFilters:"No saved filters",filter:{delete:"Delete",cancelDelete:"Cancel",pin:"Pin",unpin:"Unpin"},tabs:{all:"All",featured:"Featured",mine:"Mine",pinned:"Pinned",shared:"Shared"}}};import{useValidation as Q3}from"@cleen/ui-core";import{useState as bh}from"react";import{jsx as Y3}from"react/jsx-runtime";var zv=({children:e,value:t})=>{let[r,n]=bh(!1),[l,a]=bh(rc),{errors:c,setError:s,clearError:u}=Q3({}),[p,i]=bh(!1),g=()=>{n(!1),t?.onClose?.()};return Y3(qe.Provider,{value:{isSaveFiltersStep:r,setIsSaveFiltersStep:n,saveStepValues:l,setSaveStepValues:a,handleCloseSaveFilter:g,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i,errors:c,setError:s,clearError:u,...t},children:e})};import{applyDefaults as J3,cn as Ov}from"@cleen/ui-core";import{forwardRef as _v,useContext as j3}from"react";import{Fragment as oM,jsx as ao,jsxs as nM}from"react/jsx-runtime";var eM=_v(function({selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,children:l,classNames:a,styles:c,labels:s,withSavedFilters:u=!0,onClear:p,onSave:i,onCancel:g,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:f,onFilterDelete:v,onFilterPin:C,onFilterSelect:x,onFilterUnpin:I,...P},M){return ao(zv,{value:{selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,classNames:a,styles:c,labels:J3(Av,s),withSavedFilters:u,onClear:p,onSave:i,onCancel:g,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:f,onFilterDelete:v,onFilterPin:C,onFilterSelect:x,onFilterUnpin:I},children:ao(tM,{...P,ref:M,children:l})})}),tM=_v(function({children:t,...r},n){let{handleCloseSaveFilter:l,isSaveFiltersStep:a,selectedSavedFilter:c,savedFilters:s,isFiltersFetching:u,classNames:p,styles:i,labels:g,withSavedFilters:h=!0,onClear:y,onFilterCategoryChange:b,onFilterSelect:f}=j3(qe);return ao(q1,{footer:ao(vv,{}),headerCloseBtn:ao(re,{onClick:()=>{y?.(),f?.(void 0)},leftIcon:ao(We,{}),variant:"secondary",...p?.clearBtn,...i?.clearBtn,children:g?.clear}),classNames:{...p,content:Ov("cleen-space-y-4",p?.content),footer:Ov("cleen-justify-between",p?.footer)},onClose:l,ref:n,...r,title:a?g?.saveStep?.title:r.title,subtitle:a?g?.saveStep?.subtitle:r.subtitle,children:a?ao(Ev,{}):nM(oM,{children:[h&&ao(Nv,{filters:s,selectedSavedFilter:c,onFilterCategoryChange:b,isFiltersFetching:u}),t]})})});import{cn as Bn}from"@cleen/ui-core";import{forwardRef as rM}from"react";import{jsx as ic,jsxs as Hv}from"react/jsx-runtime";var Uv=rM(({title:e,titleTooltip:t,subtitle:r,required:n,labelProps:l,children:a,className:c,classNames:s,style:u,styles:p,...i},g)=>ic("div",{ref:g,className:Bn("cleen",c),style:{...u,width:"100%"},...i,children:Hv("div",{className:Bn("cleen-flex cleen-w-full cleen-items-start cleen-justify-start cleen-gap-8",s?.container),style:p?.container,children:[Hv("div",{className:Bn("cleen-flex cleen-flex-col cleen-w-1/3",s?.titleColumn),style:p?.titleColumn,children:[ic(oe,{...l,required:n,tooltip:t,className:s?.title?.className,classNames:{...s?.title?.classNames,label:Bn("cleen-truncate",s?.title?.classNames?.label)},...p?.title,children:e}),r&&ic("div",{className:Bn("cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis cleen-w-full cleen-font-normal cleen-text-neutral-600 cleen-text-sm",s?.subtitle),style:p?.subtitle,children:r})]}),ic("div",{className:Bn("cleen-form-group--controls-row cleen-flex cleen-flex-1 cleen-flex-wrap cleen-gap-8",s?.controlsRow),style:p?.controlsRow,children:a})]})}));Uv.displayName="FormGroup";import{cn as be,useDebounce as aM,useOutsideClick as lM,usePositionClose as cM,ZIndex as sM}from"@cleen/ui-core";import{useEffect as pc,useMemo as yh,useRef as Ch,useState as nt}from"react";import{createPortal as iM}from"react-dom";import{Fragment as mM,jsx as K,jsxs as Ee}from"react/jsx-runtime";function pM(e){return e!==null&&typeof e=="object"}function ke(e,t){if(pM(e)&&t in e)return e[t]}function Gv(e,t){let r=ke(e,t);return Array.isArray(r)?r:[]}function Vv(e,t){let r=e?.[t];if(typeof r=="string"||typeof r=="number")return r;let n=e?.data?.[t];return typeof n=="string"||typeof n=="number"?n:null}var dM=({position:e="bottom-right",labels:t,groups:r=[],selectedItemID:n=null,groupThreeDotMenuOptions:l=[],itemThreeDotMenuOptions:a=[],refetchData:c,onGroupSave:s,onItemSave:u,onGroupThreeDotMenuClick:p,onItemThreeDotMenuClick:i,onSearchChange:g,onItemSelect:h,groupIDKey:y,groupTitleKey:b,itemsKey:f,itemIDKey:v,itemGroupIDKey:C,itemTitleKey:x,itemSubtitleKey:I,newValueMinLength:P=2,isLoading:M=!1,isGroupSaving:B=!1,isItemSaving:k=!1,selectedColor:w="rgb(var(--cleen-primary-100))",hasFiltering:R=!0,zIndex:E=sM.POPOVER,className:N,classNames:L,style:F,styles:D})=>{let[S,H]=nt(!1),[T,z]=nt(!1),[A,_]=nt(!1),[G,$]=nt(!1),[q,U]=nt(null),[V,Q]=nt(null),[O,Z]=nt(""),[ie,he]=nt(""),[Ie,It]=nt(null),Qe=Ch(void 0),[Y,ae]=nt(""),[rt]=aM(Y,500),[at,Be]=nt(""),bt=Ch(null),Ye=Ch(null),{positionStyles:X,isMounted:Ce}=cM({triggerRef:bt,targetRef:Ye,position:e,isOpen:S,offset:10});lM({refs:[Ye],handler:()=>H(!1),enabled:S});let Re=yh(()=>r??[],[r]),xe=yh(()=>{let W=new Map;for(let J of Re){let le=ke(J,y);le!=null&&W.set(le,Gv(J,f))}return W},[Re,y,f]),Je=yh(()=>{let W=[];return q==null?W=Array.from(xe?.values()).flat():W=xe?.get(q)??[],R&&at.trim()!==""&&(W=W.filter(J=>{let le=String(ke(J,x)??""),Le=I?String(ke(J,I)??""):"";return le.toLowerCase().includes(at?.toLowerCase()??"")||Le.toLowerCase().includes(at?.toLowerCase()??"")})),W},[q,xe,at,x,I,R]);pc(()=>{let W=Qe.current!==n;if(Qe.current=n,n==null){W&&(Q(null),U(null));return}let le=Array.from(xe?.values())?.flat()?.find(Le=>ke(Le,v)===n);if(le){let Le=ke(le,C)??null;Q(le),U(Le)}else W&&Q(null)},[n,xe,v,C]),pc(()=>{if(Ie==null)return;let J=Array.from(xe?.values())?.flat()?.find(Le=>ke(Le,v)===Ie);if(!J)return;let le=ke(J,C);U(typeof le=="string"||typeof le=="number"?le:null),Q(J),It(null),h?.(J)},[Ie,xe,v,C,h]),pc(()=>{g&&g(rt??"")},[rt,g]),pc(()=>{S||(z(!1),_(!1),Z(""),he(""))},[S]);let lt=W=>{W===q?(U(null),Q(null),h?.(null)):(Q(null),U(W),h?.(null))},Ec=W=>{let J=ke(W,C);U(typeof J=="string"||typeof J=="number"?J:null),Q(W),h?.(W),H(!1)};async function Pa(){if(!s)return;let W={[b]:O};try{let J=await s(W);if(J?.success){z(!1),Z(""),c&&await c();let le=Vv(J,y);le!=null&&(U(le),Q(null),h?.(null))}}catch{}}async function te(){if(!u)return;let W={[x]:ie,...q!=null?{[C]:q}:{}};try{let J=await u(W);J?.success&&(_(!1),he(""),It(Vv(J,v)),c&&await c())}catch{}}return K("div",{className:be("cleen",N),style:F,children:Ee("div",{ref:bt,className:be("cleen-relative cleen-w-full cleen-cursor-pointer",L?.container),style:D?.container,onClick:W=>{W.stopPropagation(),H(!0)},children:[K(de,{placeholder:t?.inputPlaceholder,rightIcon:K(Mt,{className:be("cleen-w-5 cleen-h-5 cleen-text-neutral-300 cleen-transition-transform",{"cleen-rotate-180":!S})}),value:Y,onChange:W=>{U(null),Q(null),ae(W.target.value)},classNames:{input:S?"":"cleen-cursor-pointer"},className:L?.input,style:D?.input}),S&&iM(K("div",{className:"cleen",children:Ee("div",{ref:Ye,className:be("cleen-overflow-hidden cleen-flex cleen-items-start cleen-justify-start cleen-w-[500px] cleen-h-[344px] cleen-bg-surface cleen-border cleen-border-border cleen-rounded-lg cleen-shadow-xl cleen-cursor-default","cleen-absolute",{"cleen-opacity-0":!Ce},L?.columnsContainer),style:{zIndex:E,top:`${X.top}px`,left:`${X.left}px`,...D?.columnsContainer},children:[Ee("div",{className:"cleen-w-1/2 cleen-h-full",children:[K("div",{className:be("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",L?.leftColumn),style:D?.leftColumn,children:M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(ne,{size:"sm"})}):r?.map((W,J)=>{let le=ke(W,y),Le=le===q,Ac=String(ke(W,b)??""),zc=Gv(W,f)?.length??0;return Ee("div",{className:be("cleen-group cleen-flex cleen-items-center cleen-justify-between cleen-gap-2 cleen-px-3 cleen-w-full cleen-min-h-10 cleen-cursor-pointer cleen-transition-colors hover:cleen-bg-neutral-50",L?.groupItem),style:{...D?.groupItem||{},...Le?{backgroundColor:w}:{}},onClick:fe=>{fe.stopPropagation(),fe.preventDefault(),lt(le??null)},children:[Ee("div",{className:be("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2",l?.length>0?"cleen-w-[calc(100%-30px)]":"cleen-w-full"),children:[K("span",{className:be("cleen-truncate cleen-font-semibold cleen-text-[14px] cleen-text-foreground",L?.groupItemTitle),style:D?.groupItemTitle,children:Ac}),K(Fe,{color:"lighter-blue",label:zc})]}),l?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:fe=>{fe.stopPropagation(),p?.(W)},children:K(kn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:l?.map(fe=>{let _n=fe?.disabledOptionCallback?.(W);return{...fe,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:fe?.label}),onClick:()=>{_n||fe?.onClick(W)},disabled:_n}}),classNames:{menu:"cleen-min-w-max"},className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-5 cleen-h-5 cleen-bg-surface cleen-rounded-md",children:K(tn,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`group-${J}-${String(le??J)}`)})}),K(tt,{isHorizontal:!0}),T?Ee("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(de,{leftIcon:K(Zt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newGroupPlaceholder,value:O,onChange:W=>Z(W.target.value),classNames:{inputContainer:"cleen-border-none focus-within:cleen-ring-0",input:"cleen-w-full"},className:"cleen-w-[170px]",autoFocus:!0}),K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-[80px] cleen-h-full",children:s?B?K(ne,{}):O?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{Pa()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Ee("div",{className:be("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2 cleen-w-full cleen-px-2 cleen-h-10 cleen-cursor-pointer cleen-transition-colors hover:cleen-bg-neutral-50",L?.newGroupButton),style:D?.newGroupButton,onClick:()=>z(!0),children:[K(Zt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),K("span",{className:"cleen-text-normal cleen-text-[14px] cleen-text-muted-foreground",children:t?.newGroupPlaceholder})]})]}),K(tt,{className:"cleen-absolute cleen-top-0 cleen-left-1/2 cleen-min-w-[1px] cleen-h-full cleen-bg-border cleen-z-[1]"}),Ee("div",{className:"cleen-w-1/2 cleen-h-full",children:[Ee("div",{className:be("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",L?.rightColumn),style:D?.rightColumn,children:[R&&Ee(mM,{children:[K(de,{leftIcon:K(Bt,{className:"cleen-size-5"}),className:be("cleen-w-full cleen-transition-transform",{"-cleen-translate-y-11":!G}),classNames:{inputContainer:"cleen-border-0 cleen-shadow-none"},onChange:W=>Be(W.target.value),placeholder:t?.filterPlaceholder}),K("button",{type:"button",className:be("cleen-w-full cleen-py-0.5 cleen-transition-all cleen-bg-neutral-50 hover:cleen-bg-muted cleen-border-t cleen-border-border",{"-cleen-mt-10 cleen-border-transparent":!G}),onClick:()=>$(W=>!W),children:K(Yn,{className:be("cleen-mx-auto cleen-size-4 cleen-text-muted-foreground cleen-transition-transform",G?"-cleen-rotate-90":"cleen-rotate-90")})})]}),M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(ne,{size:"sm"})}):Je?.map((W,J)=>{let le=ke(W,v),Le=V&&ke(V,v)===le,Ac=String(ke(W,x)??""),zc=I?String(ke(W,I)??""):"";return Ee("div",{className:be("cleen-group cleen-flex cleen-items-center cleen-justify-between cleen-gap-2 cleen-px-3 cleen-w-full cleen-min-h-[60px] cleen-cursor-pointer hover:cleen-bg-neutral-50 cleen-transition-colors",L?.item),style:{...D?.item||{},...Le?{backgroundColor:w}:{}},onClick:fe=>{fe.stopPropagation(),fe.preventDefault(),Ec(W)},children:[Ee("div",{className:be("cleen-flex cleen-flex-col cleen-items-start cleen-justify-center",a?.length>0?"cleen-w-[calc(100%-30px)]":"cleen-w-full"),children:[K("span",{className:be("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[14px] cleen-text-foreground",L?.itemTitle),style:D?.itemTitle,children:Ac}),K("span",{className:be("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[12px] cleen-text-neutral-600",L?.itemSubtitle),style:D?.itemSubtitle,children:zc})]}),a?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:fe=>{fe.stopPropagation(),i?.(W)},children:K(kn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:a?.map(fe=>{let _n=fe?.disabledOptionCallback?.(W);return{...fe,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:fe?.label}),onClick:()=>{_n||fe?.onClick(W)},disabled:_n}}),classNames:{menu:"cleen-min-w-max"},className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-5 cleen-h-5 cleen-bg-surface cleen-rounded-md",children:K(tn,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`item-${J}-${String(le??J)}`)})]}),K(tt,{isHorizontal:!0}),A?Ee("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(de,{leftIcon:K(Zt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newItemPlaceholder,value:ie,onChange:W=>he(W.target.value),classNames:{inputContainer:"cleen-border-none focus-within:cleen-ring-0",input:"cleen-w-full"},className:"cleen-w-[170px]",autoFocus:!0}),K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-[80px] cleen-h-full",children:u?k?K(ne,{}):ie?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{te()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Ee("div",{className:be("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2 cleen-w-full cleen-px-2 cleen-h-10 cleen-cursor-pointer hover:cleen-bg-primary/10",L?.newItemButton),style:D?.newItemButton,onClick:()=>_(!0),children:[K(Zt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),K("span",{className:"cleen-text-normal cleen-text-[14px] cleen-text-muted-foreground",children:t?.newItemPlaceholder})]})]})]})}),document.body),!S&&V&&K("div",{className:"cleen-absolute cleen-top-1.5 cleen-left-1 cleen-flex cleen-items-center cleen-justify-start cleen-pl-2.5 cleen-w-[calc(100%-40px)] cleen-h-8 cleen-bg-surface",onClick:()=>H(!0),children:K("span",{className:"cleen-truncate cleen-font-semibold cleen-text-sm cleen-text-foreground",children:String(ke(V,x)??"")})})]})})};import{cn as Me,useDebounce as uM,useOutsideClick as hM,usePositionClose as fM,ZIndex as gM}from"@cleen/ui-core";import{forwardRef as vM,useEffect as qv,useId as IM,useMemo as Xv,useRef as dc,useState as mc}from"react";import{createPortal as bM}from"react-dom";import{cn as _o}from"@cleen/ui-core";import{jsx as lo,jsxs as Wv}from"react/jsx-runtime";var $v=({options:e,selection:t,classNames:r,styles:n,onChoose:l,displaySubtextInline:a=!0,activeIndex:c=-1,getOptionId:s,onActiveIndexChange:u,...p})=>lo("div",{...p,children:lo("div",{className:_o("cleen-flex cleen-flex-col cleen-pt-1 cleen-pb-1.5 cleen-max-h-64 cleen-overflow-y-auto",r?.container),style:n?.container,children:e?.map((i,g)=>{let h=t?.some(b=>b?.value===i?.value),y=g===c;return Wv("li",{id:s?.(g),role:"option","aria-selected":h,className:_o("cleen-flex cleen-justify-between cleen-items-center hover:cleen-bg-muted cleen-px-2 cleen-py-2.5 cleen-rounded-md cleen-cursor-pointer cleen-select-none",{"cleen-bg-muted hover:cleen-bg-neutral-200":h,"cleen-bg-muted":y},r?.item),style:n?.item,onMouseEnter:()=>u?.(g),onClick:()=>l?.(i,h),children:[Wv("div",{className:_o("cleen-flex cleen-justify-start cleen-items-center cleen-gap-2",r?.labels,!a&&"cleen-truncate cleen-flex-col cleen-items-start cleen-gap-0"),style:n?.labels,children:[i?.leadingBadgeValue&&lo(Fe,{color:"gray",label:i?.leadingBadgeValue}),i?.icon,i?.label&&lo("span",{className:_o("cleen-font-medium cleen-text-foreground cleen-text-base",!a&&"cleen-w-full cleen-truncate"),children:i?.label}),i?.preSublabel&&lo("span",{className:_o("cleen-font-medium cleen-text-neutral-400 cleen-text-xs",!a&&"cleen-w-full cleen-truncate"),children:i?.preSublabel}),i?.sublabel&&lo("span",{className:_o("cleen-font-medium cleen-text-neutral-600 cleen-text-sm",!a&&"cleen-w-full cleen-truncate"),children:i?.sublabel})]}),h&&lo("div",{className:r?.checkContainer,style:n?.checkContainer,children:lo(Pt,{className:_o("cleen-text-primary",r?.check),style:n?.check})})]},i.value)})})});import{Fragment as CM,jsx as ve,jsxs as uc}from"react/jsx-runtime";var yM=vM(function({id:t,name:r,label:n,labelTooltip:l,labels:a,options:c,value:s,displaySelected:u="under",isLoading:p=!1,required:i,internalFiltering:g=!1,closeOnReachingLimit:h=!0,limit:y,getCustomBadgeLabel:b,displaySubtextInline:f=!0,selectedBadgeColor:v="blue",debounceDelay:C=0,characterThreshold:x=2,disabled:I=!1,isNoDataVisibleOnCreateNew:P=!0,zIndex:M=gM.DROPDOWN,className:B,classNames:k,style:w,styles:R,infoLabels:E,menuDetachedFromPortal:N,onInputChange:L,onChange:F,onCreateNewOption:D,createNewOptionLabelString:S,onLookupBlur:H,triggerBlurOnlyWhenOpen:T=!0,menuRef:z,...A},_){let[G,$]=mc(!1),q=dc(null),U=dc(null),V=z??q,{positionStyles:Q,isMounted:O}=fM({triggerRef:U,targetRef:V,position:"bottom-left",isOpen:G,offset:4});hM({refs:[V,U],handler:()=>{$(!1),H?.()},enabled:T?G:!0});let[Z,ie]=mc(""),he=uM(Z,C),Ie=C?he:Z,It=dc(Ie),Qe=dc(!1),Y=()=>{Qe.current=!1,ie("")},ae=Array.isArray(s),[rt,at]=mc([]),Be=ae?s:rt,bt=["inside","inside-badge"].includes(u),Ye=(te,W=!1)=>{if(W){let le=Be.filter(Le=>Le.value!==te.value);ae||at(le),F?.(le);return}let J;if(y===1)J=[te];else{if(y&&Be.length>=y)return;J=[...Be,te]}ae||at(J),F?.(J),h&&y&&J.length>=y&&(Y(),$(!1))},X=Xv(()=>g?c?.filter(te=>te?.label?.match(new RegExp(Ie,"i"))):c,[c,Ie,g]),Ce=Xv(()=>S&&D&&!p&&Z?.length>0&&!X?.some(te=>te?.label===Z)?typeof S=="function"?S(Z):S:null,[S,D,p,Z,X]);qv(()=>{if(It.current!==Ie)if(It.current=Ie,Ie.length<x)$(!1);else{L?.(Ie);let te=!!U.current?.contains(document.activeElement);Qe.current&&te&&$(!0)}},[Ie,L,x]);let Re=IM(),xe=te=>`${Re}-option-${te}`,[Je,lt]=mc(-1);qv(()=>{lt(-1)},[Ie,G]);let Ec=te=>{let W=X?.length??0;switch(te.key){case"ArrowDown":if(!W)return;if(te.preventDefault(),!G){$(!0),lt(0);return}lt(J=>(J+1)%W);break;case"ArrowUp":if(!W)return;if(te.preventDefault(),!G){$(!0),lt(W-1);return}lt(J=>(J-1+W)%W);break;case"Home":if(!G||!W)return;te.preventDefault(),lt(0);break;case"End":if(!G||!W)return;te.preventDefault(),lt(W-1);break;case"Enter":{if(!G||Je<0)return;let J=X?.[Je];if(!J)return;te.preventDefault();let le=Be?.some(Le=>Le.value===J.value);Ye(J,le);break}case"Escape":G&&(te.preventDefault(),$(!1));break;default:break}},Pa=uc("ul",{id:Re,role:"listbox",className:Me("cleen-flex cleen-flex-col cleen-gap-0.5 cleen-bg-background cleen-shadow-[0px_12px_16px_-4px_rgba(var(--cleen-neutral-100))] cleen-px-1.5 cleen-pt-1 cleen-pb-0.5 cleen-border cleen-border-border cleen-rounded-lg",k?.menu?.container),style:R?.menu?.container,children:[p?ve(ne,{className:Me("cleen-py-3",k?.menu?.loader),style:R?.menu?.loader}):!X||X?.length===0?!!a?.noDataFound&&(P||!Ce)&&ve("div",{className:Me("cleen-flex cleen-justify-center cleen-items-center cleen-px-2 cleen-py-2.5 cleen-rounded-md cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-text-center cleen-pointer-events-none cleen-select-none",k?.menu?.noDataFound),style:R?.menu?.noDataFound,children:a?.noDataFound}):ve($v,{options:X,selection:Be,onChoose:Ye,displaySubtextInline:f,activeIndex:Je,getOptionId:xe,onActiveIndexChange:lt,...k?.menu?.list,...R?.menu?.list}),Ce&&uc("div",{className:Me("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center",k?.createNewOption?.container),style:R?.createNewOption?.container,children:[ve(tt,{...k?.createNewOption?.divider,...R?.createNewOption?.divider}),ve("span",{className:Me("cleen-py-3 cleen-font-semibold cleen-text-primary/70 cleen-text-sm cleen-cursor-pointer",k?.createNewOption?.value),style:R?.createNewOption?.value,onClick:()=>{let te=D?.(Z);typeof te=="boolean"&&!te||(Y(),$(!1))},children:Ce})]})]});return ve("div",{className:Me("cleen",B),style:w,children:uc("div",{className:Me("cleen-flex cleen-flex-col cleen-w-full",k?.container),style:R?.container,children:[n&&ve(oe,{htmlFor:t||r,required:i,tooltip:l,className:Me("cleen-mb-1.5",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:n}),ve("div",{ref:U,className:Me("cleen-relative cleen-flex cleen-items-center",k?.input?.container),style:R?.input?.container,children:ve(de,{id:t||r,type:"search",autoFocus:!1,autoComplete:"off",className:Me("cleen-w-full",k?.input?.component?.className),classNames:{...k?.input?.component?.classNames,inputContainer:Me({"cleen-flex-wrap":bt},k?.input?.component?.classNames?.inputContainer),input:Me({"cleen-pl-2":bt},k?.input?.component?.classNames?.input),leftIconContainer:Me({"cleen-pr-0":bt},k?.input?.component?.classNames?.leftIconContainer)},...R?.input?.component,leftIcon:uc(CM,{children:[ve(Bt,{}),bt&&(Be||[])?.length>0&&ve("div",{className:Me("cleen-flex cleen-gap-1 cleen-overflow-hidden cleen-text-ellipsis cleen-whitespace-nowrap"),onClick:()=>{$(!G)},children:u==="inside-badge"?Be?.map(te=>ve(Fe,{label:te?.label,color:"blue",variant:"semiRounded"},te.value)):ve("span",{className:Me("cleen-font-medium cleen-text-foreground cleen-text-sm"),children:Be?.map(te=>te?.label).join(", ")})})," "]}),onFocus:()=>{Ie.length>=x&&Z.length>=x&&$(!0)},value:Z,onChange:te=>{Qe.current=!0,ie(te.target.value)},role:"combobox","aria-autocomplete":"list","aria-expanded":G,"aria-controls":G?Re:void 0,"aria-activedescendant":G&&Je>=0?xe(Je):void 0,onKeyDown:Ec,ref:_,required:i,disabled:I,...A})}),G&&(N?ve("div",{ref:V,children:Pa}):bM(ve("div",{className:"cleen",children:ve("div",{ref:V,className:Me("cleen-absolute",{"cleen-opacity-0":!O}),style:{zIndex:M,top:`${Q.top}px`,left:`${Q.left}px`,minWidth:U.current?.offsetWidth?`${U.current.offsetWidth}px`:void 0},children:Pa})}),document.body)),u==="under"&&Be?.length>0&&ve("span",{className:Me("cleen-flex cleen-flex-wrap cleen-gap-1.5 cleen-mt-1.5",k?.pillbadge?.container),style:R?.pillbadge?.container,children:Be?.map(te=>ve(Fe,{label:b?b(te):te?.label,color:v,removeable:!I,onRemoveClicked:()=>{if(I)return;let W=Be?.filter(J=>J?.value!==te?.value);ae||at(W),F?.(W)},...k?.pillbadge?.component,...R?.pillbadge?.component},te.value))}),(E?.errorMessage||E?.infoMessage||E?.subtitle)&&ve(ee,{...E})]})})});import{cn as se}from"@cleen/ui-core";import{forwardRef as xM}from"react";import PM from"react-markdown";import SM from"remark-gfm";import{jsx as ce}from"react/jsx-runtime";var MM=xM(function({components:t,children:r,className:n,classNames:l,style:a,styles:c,...s},u){let p={h1:({children:i})=>ce("h1",{className:se("cleen-text-3xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-4 cleen-mt-6"),children:i}),h2:({children:i})=>ce("h2",{className:se("cleen-text-2xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-3 cleen-mt-5"),children:i}),h3:({children:i})=>ce("h3",{className:se("cleen-text-xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-4"),children:i}),h4:({children:i})=>ce("h4",{className:se("cleen-text-lg cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-3"),children:i}),h5:({children:i})=>ce("h5",{className:se("cleen-text-base cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),h6:({children:i})=>ce("h6",{className:se("cleen-text-sm cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),p:({children:i})=>ce("p",{className:se("cleen-text-base cleen-text-foreground cleen-mb-4 cleen-leading-relaxed"),children:i}),a:({href:i,children:g})=>ce("a",{href:i,className:se("cleen-text-primary cleen-underline"),target:"_blank",rel:"noopener noreferrer",children:g}),ul:({children:i})=>ce("ul",{className:se("cleen-list-disc cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),ol:({children:i})=>ce("ol",{className:se("cleen-list-decimal cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),li:({children:i})=>ce("li",{className:se("cleen-mb-1"),children:i}),blockquote:({children:i})=>ce("blockquote",{className:se("cleen-border-l-4 cleen-border-primary/30 cleen-pl-4 cleen-italic cleen-text-neutral-700 cleen-mb-4"),children:i}),code:({className:i,children:g,...h})=>i?ce("code",{className:se("cleen-font-mono cleen-text-sm"),...h,children:g}):ce("code",{className:se("cleen-font-mono cleen-bg-muted cleen-rounded cleen-px-1 cleen-text-sm"),...h,children:g}),pre:({children:i})=>ce("pre",{className:se("cleen-bg-muted dark:cleen-bg-neutral-200 cleen-rounded cleen-p-4 cleen-overflow-x-auto cleen-mb-4 cleen-text-sm"),children:i}),hr:()=>ce("hr",{className:se("cleen-border-t cleen-border-border cleen-my-4")}),img:({src:i,alt:g})=>ce("img",{src:i,alt:g,className:se("cleen-max-w-full cleen-rounded")}),strong:({children:i})=>ce("strong",{className:se("cleen-font-semibold"),children:i}),em:({children:i})=>ce("em",{className:se("cleen-italic"),children:i}),table:({children:i})=>ce("div",{className:se("cleen-overflow-x-auto cleen-mb-4"),children:ce("table",{className:se("cleen-w-full cleen-border-collapse cleen-text-sm cleen-text-900"),children:i})}),thead:({children:i})=>ce("thead",{className:se("cleen-border-b cleen-border-border"),children:i}),th:({children:i})=>ce("th",{className:se("cleen-text-left cleen-font-semibold cleen-p-2 cleen-border-b cleen-border-border"),children:i}),td:({children:i})=>ce("td",{className:se("cleen-p-2 cleen-border-b cleen-border-border"),children:i}),input:({type:i,checked:g,disabled:h})=>i==="checkbox"?ce("input",{type:"checkbox",checked:g,disabled:h,readOnly:!0,className:se("cleen-mr-2 cleen-align-middle")}):ce("input",{type:i})};return ce("div",{ref:u,className:se("cleen",n,l?.container),style:{...a,...c?.container},...s,children:ce(PM,{...s,remarkPlugins:[SM],components:{...p,...t},children:r})})});import{cn as Ho,useBodyScrollLock as wM,useCleenOverlays as Kv,ZIndex as kM}from"@cleen/ui-core";import{forwardRef as BM,useCallback as RM,useEffect as xh,useId as LM,useRef as DM,useState as Zv}from"react";import{createPortal as TM}from"react-dom";import{jsx as sa,jsxs as Yv}from"react/jsx-runtime";var NM={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":728,"3xl":896,"4xl":1152},Qv=300,FM=BM(function({isOpen:t=!1,onClose:r,closeOnOverlayClick:n=!0,closeButtonIcon:l=sa(De,{className:"cleen-size-5"}),header:a,footer:c,zIndex:s=kM.MODAL,size:u="md",color:p,p:i,gap:g,radius:h=16,className:y,classNames:b,style:f,styles:v,children:C,...x},I){let[P,M]=Zv(t),[B,k]=Zv(t),w=DM(null),R=LM(),{addOverlay:E,removeOverlay:N}=Kv(),L=RM(()=>{M(!1),setTimeout(()=>r?.(),Qv)},[r]);return xh(()=>{if(t){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),Qv);return()=>clearTimeout(F)}},[t]),xh(()=>{if(t)return E(R),()=>N(R)},[E,N,t,R]),xh(()=>{let F=D=>{let{overlays:S}=Kv.getState();D.key==="Escape"&&S[S.length-1]===R&&L()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[L,R]),wM(B),B?TM(Yv("div",{className:Ho("cleen",y),style:f,ref:I,...x,children:[sa("div",{className:Ho("cleen-fixed cleen-inset-0 cleen-bg-black/50 dark:cleen-bg-surface/50 cleen-transition-opacity cleen-duration-300 cleen-ease-in-out",P?"cleen-opacity-100":"cleen-opacity-0",b?.overlay),style:{zIndex:s,...v?.overlay},onClick:()=>{n&&L()},"aria-hidden":"true"}),sa("div",{className:Ho("cleen-fixed cleen-inset-0 cleen-flex cleen-justify-center cleen-items-center cleen-p-4 cleen-overflow-auto","cleen-transition-all cleen-duration-300 cleen-ease-in-out","cleen-pointer-events-none",P?"cleen-opacity-100 cleen-scale-100":"cleen-opacity-0 cleen-scale-95",b?.container),style:{zIndex:s,...v?.container},"aria-modal":"true",role:"dialog",children:Yv(pe,{header:a,footer:c,color:p,p:i,gap:g,radius:h,className:Ho("cleen-relative cleen-shadow-xl cleen-w-full cleen-max-w-lg cleen-rounded-lg cleen-pointer-events-auto",b?.modal?.className),style:{maxWidth:typeof u=="number"?u:NM[u],...v?.modal?.style},classNames:{...b?.modal?.classNames,container:Ho("cleen-min-h-48 cleen-max-h-[90vh] cleen-overflow-y-auto",b?.modal?.classNames?.container),childrenContainer:Ho("cleen-min-h-24 cleen-max-h-[80vh] cleen-overflow-y-auto",b?.modal?.classNames?.childrenContainer)},styles:v?.modal?.styles,ref:w,children:[C,l&&sa("div",{className:Ho("cleen-top-3 cleen-right-3 cleen-absolute"),children:sa(re,{variant:"borderless",onClick:L,"aria-label":"Close modal",classNames:{container:"cleen-p-1.5 cleen-rounded-full"},children:l})})]})})]}),document.body):null});import{useEffect as Jv,useRef as EM}from"react";import{Fragment as AM,jsx as zM}from"react/jsx-runtime";var jv=({children:e,isIn:t,done:r,playToast:n})=>{let l=EM(!1);return Jv(()=>{l.current||(l.current=!0,n())},[n]),Jv(()=>{t||r()},[t,r]),zM(AM,{children:e})};import"react-toastify";var Ph={success:{},error:{autoClose:2e4,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0},info:{},warning:{autoClose:4e3},default:{autoClose:3e3,position:"top-right",hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0}},eI={success:{name:"CheckCircle",className:"cleen-text-success"},error:{name:"XCircle",className:"cleen-text-error"},info:{name:"InfoCircle",className:"cleen-text-primary"},warning:{name:"AlertTriangle",className:"cleen-text-warning"},default:null};import{cn as ia}from"@cleen/ui-core";import{jsx as hc,jsxs as tI}from"react/jsx-runtime";var oI=({message:e,title:t,icon:r,variant:n="default",classNames:l})=>{let a=eI[n],c=r??(a?hc(Oe,{name:a.name,width:18,height:18,className:a.className}):null);return tI("div",{className:ia("cleen-flex cleen-items-start cleen-gap-3",l?.container),children:[c&&hc("span",{className:ia("cleen-flex cleen-shrink-0 cleen-items-center cleen-pt-0.5",l?.icon),children:c}),tI("div",{className:ia("cleen-flex cleen-flex-col cleen-gap-0.5",l?.body),children:[t&&hc("span",{className:ia("cleen-text-sm cleen-font-semibold cleen-text-foreground",l?.title),children:t}),hc("span",{className:ia("cleen-text-sm cleen-text-muted-foreground",l?.message),children:e})]})]})};import{cn as OM}from"@cleen/ui-core";import{Bounce as _M,Flip as HM,toast as pa,Slide as UM,Zoom as GM}from"react-toastify";import{jsx as WM}from"react/jsx-runtime";var VM=({message:e,title:t,icon:r,variant:n="default",animationType:l="slide",className:a,classNames:c,...s})=>{let u=()=>{switch(l){case"bounce":return _M;case"flip":return HM;case"zoom":return GM;case"none":return jv;default:return UM}},p=t!==void 0||r!==void 0,i=p?WM(oI,{message:e,title:t,icon:r,variant:n,classNames:c}):e,g={...Ph.default,...n!=="default"&&Ph[n],transition:u(),className:OM("cleen-text-sm",a),...s,...p&&{icon:!1}};switch(n){case"success":return pa.success(i,g);case"error":return pa.error(i,g);case"info":return pa.info(i,g);case"warning":return pa.warning(i,g);default:return pa(i,g)}};import{ToastContainer as $M}from"react-toastify";import{jsx as nI}from"react/jsx-runtime";var qM=e=>nI("div",{className:"cleen",children:nI($M,{...e})});import{cn as rI}from"@cleen/ui-core";import{forwardRef as XM,useState as KM}from"react";import{jsx as Sh,jsxs as ZM}from"react/jsx-runtime";var Mh=XM(({totalPages:e,labels:t,onGoToPage:r,classNames:n,styles:l,...a},c)=>{let[s,u]=KM(""),p=()=>{let g=parseInt(s,10);isNaN(g)||(r?.(Math.min(Math.max(g,1),e)),u(""))},i=g=>{g.key==="Enter"?p():g.key==="Escape"&&u("")};return Sh("div",{className:"cleen",...a,children:ZM("div",{className:rI("cleen-flex cleen-items-center cleen-gap-2",n?.container),style:l?.container,children:[Sh("span",{className:rI("cleen-text-sm cleen-text-neutral-700 cleen-whitespace-nowrap",n?.label),style:l?.label,children:t?.goToPage}),Sh(de,{ref:c,type:"number",min:1,max:e,value:s,onChange:g=>u(g.target.value),onKeyDown:i,...n?.input,...l?.input})]})})});import{cn as fc,useOutsideClick as QM,usePositionClose as YM}from"@cleen/ui-core";import{forwardRef as JM,useRef as aI,useState as lI}from"react";import{createPortal as jM}from"react-dom";import{jsx as Rn,jsxs as tw}from"react/jsx-runtime";var ew=[10,20,50,100],wh=JM(({pageSize:e,pageSizes:t=ew,labels:r,onPageSizeChange:n,classNames:l,styles:a,...c},s)=>{let[u,p]=lI(e??t?.[0]??void 0),[i,g]=lI(!1),h=aI(null),y=aI(null),{positionStyles:b,isMounted:f}=YM({triggerRef:h,targetRef:y,isOpen:i,position:"top-left"});return QM({refs:[h,y],handler:()=>g(!1),enabled:i}),Rn("div",{className:"cleen",ref:s,...c,children:tw("div",{className:fc("cleen-relative cleen-flex cleen-justify-start cleen-items-center cleen-w-10",l?.container),style:a?.container,children:[Rn(ge,{label:r?.itemsPerPage?.(u),classNames:{labelContainer:"cleen-min-w-max"},children:Rn("div",{className:fc("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted hover:cleen-bg-neutral-200 cleen-p-2 cleen-rounded-lg cleen-min-w-10 cleen-h-10 cleen-font-medium cleen-text-sm cleen-text-neutral-700 cleen-transition-colors cleen-cursor-pointer",l?.trigger),style:a?.trigger,onClick:()=>g(v=>!v),ref:h,children:u})}),i&&jM(Rn("div",{className:"cleen",children:Rn("div",{ref:y,className:fc("cleen-flex cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute cleen-z-50",{"cleen-opacity-0":!f},l?.menu),style:{top:`${b.top}px`,left:`${b.left}px`,...a?.menu},children:t?.filter(v=>v!==u)?.map(v=>Rn("div",{className:fc("cleen-flex cleen-justify-center cleen-items-center hover:cleen-bg-muted cleen-p-2 cleen-min-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-transition-colors cleen-cursor-pointer",l?.menuItem),style:a?.menuItem,onClick:()=>{p(v),n?.(v),g(!1)},children:v},v))})}),document.body)]})})});var cI={goToPreviousPage:"Go to previous page",goToNextPage:"Go to next page",goToPage:"Go to page",itemsPerPage:e=>`Show ${e} items per page`};import{cn as co}from"@cleen/ui-core";import{forwardRef as ow,useCallback as gc,useMemo as nw,useRef as rw}from"react";import{jsx as Ae,jsxs as lw}from"react/jsx-runtime";var aw=ow(({currentPage:e,totalPages:t,pageSize:r,pageSizes:n,hasGotoPage:l=!0,hasPageSizeSelector:a=!0,onPageChange:c,onPageSizeChange:s,labels:u=cI,classNames:p,styles:i,...g},h)=>{let y=rw(null),b=gc(()=>{e<t&&c?.(e+1)},[e,t,c]),f=gc(()=>{e>1&&c?.(e-1)},[e,c]),v=gc(I=>Ae("span",{className:co("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background hover:cleen-bg-muted cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-cursor-pointer",I===e&&"cleen-bg-muted hover:cleen-bg-neutral-200",p?.pageButton,I===e?p?.activePageButton:""),style:{...i?.pageButton,...I===e?i?.activePageButton:{}},onClick:()=>c?.(I),children:I},`page-${I}`),[e,c,p,i]),C=gc(I=>Ae("span",{className:co("cleen-flex cleen-justify-center cleen-self-end cleen-bg-background hover:cleen-bg-muted cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.ellipsis),style:i?.ellipsis,onClick:()=>y.current?.focus(),children:"..."},I),[p,i]),x=nw(()=>{if(isNaN(e)||isNaN(t))return[];let I=[];if(I.push(Ae(ge,{label:u.goToPreviousPage,classNames:{labelContainer:"cleen-min-w-max"},children:Ae("span",{className:co("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 hover:cleen-text-primary cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.navButton),style:i?.navButton,onClick:f,children:Ae(St,{})})},"prev")),t<=7)for(let P=1;P<=t;P++)I.push(v(P));else if(I.push(v(1)),e<=3){for(let P=2;P<5;P++)I.push(v(P));I.push(C("dots-end")),I.push(v(t))}else if(e>=t-2){I.push(C("dots-start"));for(let P=t-3;P<=t;P++)I.push(v(P))}else I.push(C("dots-start")),I.push(v(e-1)),I.push(v(e)),I.push(v(e+1)),I.push(C("dots-end")),I.push(v(t));return I.push(Ae(ge,{label:u.goToNextPage,classNames:{labelContainer:"cleen-min-w-max"},children:Ae("span",{className:co("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 hover:cleen-text-primary cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.navButton),style:i?.navButton,onClick:b,children:Ae(je,{})})},"next")),I},[e,t,u,p,i,C,v,b,f]);return Ae("div",{className:"cleen",ref:h,...g,children:lw("div",{className:co("cleen-flex cleen-justify-between cleen-gap-4",p?.container),style:i?.container,children:[a?Ae(wh,{pageSize:r,labels:u,onPageSizeChange:s,pageSizes:n,className:co("cleen-flex-1",p?.pageSizeSelector?.className),classNames:p?.pageSizeSelector?.classNames,...i?.pageSizeSelector}):Ae("div",{className:"cleen-flex-1"}),Ae("div",{className:co("cleen-flex cleen-flex-1 cleen-justify-center cleen-items-center cleen-gap-2 cleen-w-full",p?.buttonsContainer),style:i?.buttonsContainer,children:x}),l?Ae(Mh,{ref:y,totalPages:t,onGoToPage:c,labels:u,className:co("cleen-flex cleen-flex-1 cleen-justify-end",p?.goToPage?.className),classNames:p?.goToPage?.classNames,...i?.goToPage}):Ae("div",{className:"cleen-flex-1"})]})})});import{cn as kh,useDisclosure as cw,useOutsideClick as sw,usePositionClose as iw,ZIndex as pw}from"@cleen/ui-core";import{forwardRef as dw,useRef as sI}from"react";import{createPortal as mw}from"react-dom";import{jsx as Bh,jsxs as uw}from"react/jsx-runtime";var Rh=dw(function({isOpen:t,onOpenChange:r,content:n,position:l="bottom-left",offset:a,zIndex:c=pw.POPOVER,children:s,className:u,classNames:p,style:i,styles:g,...h},y){let{isOpen:b,toggle:f,close:v}=cw({value:t,setValue:r}),C=sI(null),x=sI(null),{positionStyles:I,isMounted:P}=iw({triggerRef:C,targetRef:x,position:l,isOpen:b,offset:a});sw({refs:[C,x],handler:v,enabled:b});let M=B=>{B.stopPropagation(),f()};return uw("div",{className:kh("cleen",u),style:i,ref:y,...h,children:[Bh("div",{ref:C,onClick:M,className:kh("cleen-size-fit",p?.trigger,b&&p?.triggerOpen),style:{...g?.trigger,...b?g?.triggerOpen:{}},children:s}),b&&mw(Bh("div",{className:"cleen",onClick:B=>B.stopPropagation(),onPointerDown:B=>B.stopPropagation(),onMouseDown:B=>B.stopPropagation(),onTouchStart:B=>B.stopPropagation(),children:Bh("div",{ref:x,className:kh("cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg cleen-w-52","cleen-absolute",{"cleen-opacity-0":!P},p?.popover),style:{zIndex:c,top:`${I.top}px`,left:`${I.left}px`,...g?.popover},onClick:B=>B.stopPropagation(),children:n})}),document.body)]})});import{cn as iI}from"@cleen/ui-core";import{forwardRef as hw,useEffect as fw,useState as gw}from"react";import{jsx as vc,jsxs as pI}from"react/jsx-runtime";var vw={xs:40,sm:60,md:80,lg:100,xl:120,xxl:140,xxxl:160},dI=hw(({isFullscreen:e,percentage:t,duration:r=1e3,radius:n,stroke:l=16,size:a="md",color:c="rgb(var(--cleen-primary))",emptyColor:s="rgb(var(--cleen-neutral-200))",textColor:u="rgb(var(--cleen-foreground))",textHidden:p=!1,fontSize:i,renderText:g,className:h,classNames:y,style:b,styles:f,...v},C)=>{let x=n??vw[a]/2,I=x-l/2,P=I*2*Math.PI,[M,B]=gw(0);fw(()=>{let w=null;if(r===0){B(t);return}let R=E=>{w||(w=E);let N=E-w,L=Math.min(N/r*t,t);B(L),L<t&&requestAnimationFrame(R)};requestAnimationFrame(R)},[t,r]);let k=P-M/100*P;return vc("div",{ref:C,className:iI("cleen",h),style:b,...v,children:pI("div",{className:iI("cleen-flex cleen-justify-center cleen-items-center cleen-w-full cleen-h-full",{"cleen-h-screen cleen-w-screen cleen-bg-background":e},y?.container),style:f?.container,children:[pI("svg",{height:x*2,width:x*2,style:{transform:"rotate(-90deg)"},children:[vc("circle",{stroke:s,fill:"transparent",strokeWidth:l,r:I,cx:x,cy:x}),vc("circle",{stroke:c,fill:"transparent",strokeWidth:l,strokeLinecap:"round",strokeDasharray:P,strokeDashoffset:k,r:I,cx:x,cy:x})]}),!p&&vc("div",{className:"cleen-absolute cleen-font-semibold cleen-text-foreground",style:{fontSize:i??x/2.5,color:u},children:g?g(M):`${Math.round(M)}%`})]})})});dI.displayName="ProgressCircle";import{cn as Xe}from"@cleen/ui-core";import{useEffect as Iw,useState as bw}from"react";import{Fragment as mI,jsx as Ft,jsxs as da}from"react/jsx-runtime";var yw=({horizontal:e,boxes:t,selectedBox:r,onBoxClick:n,leftElement:l,rightElement:a,leftIcon:c,leftIconName:s,rightIconName:u,className:p,classNames:i,style:g,styles:h,...y})=>{let[b,f]=bw(r);Iw(()=>{f(r)},[r]);let v=(P,M)=>da(mI,{children:[l&&l(P),c||(s?Ft(Oe,{name:s,className:Xe("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.leftIcon),style:h?.leftIcon}):null)]}),C=(P,M)=>Ft("span",{className:Xe("cleen-font-semibold",M?"cleen-text-primary":"cleen-text-neutral-700",i?.label),style:h?.label,children:P?.label}),x=(P,M)=>Ft("span",{className:Xe("cleen-font-semibold cleen-text-16px",M?"cleen-text-primary":"cleen-text-neutral-700",i?.subLabel),style:h?.subLabel,children:P?.subLabel}),I=(P,M)=>da(mI,{children:[a&&a(P),u&&Ft(Oe,{name:u,className:Xe("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.rightIcon),style:h?.rightIcon})]});return Ft("div",{className:Xe("cleen",p),style:g,...y,children:e?Ft("div",{className:Xe("cleen-flex cleen-flex-wrap cleen-items-start cleen-justify-start cleen-gap-3 cleen-w-full",i?.container),style:h?.container,children:t?.map(P=>{let M=P?.id===b?.id;return da("div",{className:Xe("cleen-flex cleen-items-center cleen-gap-3 cleen-p-4 cleen-border cleen-rounded-xl cleen-shadow-lg cleen-cursor-pointer cleen-transition-all cleen-duration-200 hover:cleen-bg-primary-100 cleen-w-max",M?"cleen-bg-primary/5 cleen-border-primary/50":"cleen-border-border",i?.box),style:h?.box,onClick:()=>{f(P),n?.(P)},children:[v(P,M),P?.label&&C(P,M),P?.subLabel&&x(P,M),I(P,M)]},P?.id)})}):Ft("div",{className:Xe("cleen-grid cleen-gap-3 cleen-w-full",i?.container),style:{gridTemplateColumns:"1fr auto 1fr",...h?.container},children:t?.map(P=>{let M=P?.id===b?.id;return da("div",{className:Xe("cleen-grid cleen-col-span-full cleen-items-center cleen-gap-3 cleen-p-4 cleen-border cleen-rounded-xl cleen-shadow-lg cleen-cursor-pointer cleen-transition-all cleen-duration-200 hover:cleen-bg-primary-50",M?"cleen-bg-primary-100 cleen-border-muted-foreground":"cleen-bg-surface cleen-border-border",i?.box),style:{gridTemplateColumns:"subgrid",gridColumn:"1 / -1",...h?.box},onClick:()=>{f(P),n?.(P)},children:[Ft("div",{className:Xe("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-start",i?.leftIconContainer),style:h?.leftIconContainer,children:v(P,M)}),Ft("div",{className:Xe("cleen-flex cleen-items-center cleen-justify-center",i?.labelContainer),style:h?.labelContainer,children:P?.label&&C(P,M)}),da("div",{className:Xe("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-end",i?.rightIconContainer),style:h?.rightIconContainer,children:[P?.subLabel&&x(P,M),I(P,M)]})]},P?.id)})})})};import{cn as Et}from"@cleen/ui-core";import{forwardRef as Pw,useEffect as Sw,useId as Mw,useRef as ww,useState as kw}from"react";import{cn as uI}from"@cleen/ui-core";import{forwardRef as Cw}from"react";import{jsx as hI,jsxs as xw}from"react/jsx-runtime";var Ic=Cw(function({checked:t,className:r,classNames:n,style:l,styles:a,...c},s){return xw("div",{className:uI("group cleen-flex cleen-size-5 cleen-min-h-5 cleen-min-w-5 cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-border-neutral-300 focus-within:cleen-ring-2 focus-within:cleen-ring-primary focus-within:cleen-ring-offset-1",t?"cleen-bg-primary":"cleen-bg-surface",r),style:l,children:[hI("input",{ref:s,type:"radio",checked:t,className:"cleen-sr-only",...c}),hI("span",{className:uI("cleen-size-2 cleen-rounded-full cleen-bg-primary-foreground",n?.innerCircle),style:a?.innerCircle})]})});import{jsx as mt,jsxs as bc}from"react/jsx-runtime";var Bw=Pw(function({required:t,radios:r,label:n,labelTooltip:l,className:a,classNames:c,style:s,styles:u,name:p,direction:i="vertical",radioPosition:g="left",defaultActiveId:h,value:y,infoLabels:b,onChange:f},v){let C=y!==void 0,[x,I]=kw(h??r[0]?.id),P=Mw(),M=`${P}-label`,B=p??`cleen-radio-group-${P}`;Sw(()=>{!C&&h!==void 0&&I(h)},[h,C]);let k=C?y:x,w=S=>k!=null&&k==S,R=S=>{C||I(S),f?.(S)},E=ww([]),N=r?.findIndex(S=>w(S.id)),L=N>=0?N:0,F=S=>{let H=r[S];H&&(R(H.id),E.current[S]?.focus())},D=(S,H)=>{let T=r.length;if(T)switch(S.key){case"ArrowDown":case"ArrowRight":S.preventDefault(),F((H+1)%T);break;case"ArrowUp":case"ArrowLeft":S.preventDefault(),F((H-1+T)%T);break;default:break}};return mt("div",{className:Et("cleen",a),style:s,ref:v,children:bc("div",{className:c?.container,style:u?.container,children:[n&&mt(oe,{id:M,htmlFor:P,required:t,tooltip:l,className:Et("cleen-mb-1.5",c?.label?.className),classNames:c?.label?.classNames,...u?.label,children:n}),mt("div",{id:P,role:"radiogroup","aria-labelledby":n?M:void 0,className:Et("cleen-flex cleen-flex-wrap cleen-gap-2.5",i==="vertical"&&"cleen-flex-col cleen-w-fit",c?.radios),style:u?.radios,children:r?.map((S,H)=>{let T=`${P}-${H}`,z=S.radioPosition??g;return bc("div",{className:Et("cleen-flex cleen-gap-2 hover:cleen-bg-muted cleen-p-5 cleen-border cleen-border-border hover:cleen-border-neutral-300 cleen-rounded-xl cleen-transition-all cleen-duration-200 cleen-cursor-pointer",i==="horizontal"&&"cleen-flex-1",w(S?.id)&&"cleen-border-primary hover:cleen-border-primary",c?.radioContainer,S?.className,w(S?.id)&&c?.radioActive),style:{...u?.radioContainer,...S?.style},onClick:A=>{A.target instanceof Element&&!A.target.closest("label, input")&&E.current[H]?.click()},children:[S.leftIcon,z==="left"&&mt(Ic,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:Et(c?.radioOuterCheckBox,S?.classNames?.outerCheckBox),style:{...u?.radioOuterCheckBox,...S?.styles?.outerCheckBox}}),bc("label",{htmlFor:T,className:Et("cleen-flex-1 cleen-cursor-pointer",c?.radioLabelsContainer,S?.classNames?.labelsContainer),style:{...u?.radioLabelsContainer,...S?.styles?.labelsContainer},children:[bc("div",{className:"cleen-flex cleen-items-center cleen-gap-1",children:[mt("span",{className:Et("cleen-font-semibold cleen-text-neutral-700 cleen-text-sm",c?.radioTitle,S?.classNames?.title),style:{...u?.radioTitle,...S?.styles?.title},children:S.title}),mt("span",{className:Et("cleen-font-normal cleen-text-neutral-600 cleen-text-xs",c?.radiotPostTitle,S?.classNames?.postTitle),style:{...u?.radiotPostTitle,...S?.styles?.postTitle},children:S.postTitle})]}),mt("span",{className:Et("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",c?.radioSubTitle,S?.classNames?.subTitle),style:{...u?.radioSubTitle,...S?.styles?.subTitle},children:S?.subTitle})]}),z==="right"&&mt(Ic,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:c?.radioOuterCheckBox,style:u?.radioOuterCheckBox}),z==="hidden"&&mt(Ic,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:"cleen-sr-only"}),S.rightIcon]},S?.id)})}),(b?.errorMessage||b?.infoMessage||b?.subtitle)&&mt(ee,{...b})]})})});import{cn as Ln,ColorHelpers as Rw}from"@cleen/ui-core";import{forwardRef as Lw,useRef as Dw,useState as Tw}from"react";import{jsx as Uo,jsxs as fI}from"react/jsx-runtime";var Nw=Lw(function({id:t,required:r,label:n,labelTooltip:l,labels:a,infoLabels:c,value:s,onChange:u,amount:p=5,options:i=[],gap:g,size:h=36,readonly:y,color:b="rgb(var(--cleen-primary))",className:f,style:v,classNames:C,styles:x,...I},P){let[M,B]=Tw(0),k=s!==void 0,w=k?s:M,R=i?.length>0?i:Array.from({length:p},(T,z)=>z+1),E=Dw([]),N=R.findIndex(T=>T===w),L=N>=0?N:0,F=T=>{k||B(T),u?.(T)},D=T=>{let z=R[T];z!==void 0&&(F(z),E.current[T]?.focus())},S=(T,z)=>{if(y)return;let A=R.length;if(A)switch(T.key){case"ArrowRight":case"ArrowUp":T.preventDefault(),D((z+1)%A);break;case"ArrowLeft":case"ArrowDown":T.preventDefault(),D((z-1+A)%A);break;case"Home":T.preventDefault(),D(0);break;case"End":T.preventDefault(),D(A-1);break;default:break}},H=typeof n=="string"?n:"Rating";return Uo("div",{className:Ln("cleen",f),style:v,ref:P,...I,children:fI("div",{className:Ln("cleen-space-y-2",C?.container),style:x?.container,children:[n&&Uo(oe,{htmlFor:t,required:r,tooltip:l,className:Ln("cleen-mb-1.5",C?.label?.className),classNames:C?.label?.classNames,...x?.label,children:n}),fI("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[Uo("div",{role:"radiogroup","aria-label":H,className:Ln("cleen-flex cleen-flex-wrap cleen-gap-3",C?.list),style:{...g?{gap:g}:{},...x?.list},children:R?.map((T,z)=>Uo("button",{id:t,ref:A=>{E.current[z]=A},role:"radio","aria-checked":w===T,"aria-label":`${T}`,tabIndex:z===L?0:-1,onClick:()=>F(T),onKeyDown:A=>S(A,z),className:Ln("cleen-flex cleen-justify-center cleen-items-center cleen-border cleen-border-border hover:cleen-border-muted-foreground cleen-rounded-full cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",y&&"cleen-cursor-default cleen-pointer-events-none",C?.item),style:{width:h,height:h,...w===T?{borderColor:b,backgroundColor:Rw.trasparentize(b,.9),color:b}:{},...x?.item},type:"button",children:Uo("span",{className:Ln("cleen-font-medium cleen-text-sm",C?.value),style:x?.value,children:T})},T))}),a?.helperText&&Uo("span",{className:"cleen-text-sm cleen-text-neutral-600",children:a.helperText})]}),(c?.errorMessage||c?.infoMessage||c?.subtitle)&&Uo(ee,{...c})]})})});import{useState as Fw}from"react";import{components as Ew}from"react-select";import{jsx as Lh,jsxs as gI}from"react/jsx-runtime";var vI=e=>{let[t,r]=Fw(!1),n=e.data;return Lh("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:Lh(Ew.Option,{...e,children:gI("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[gI("div",{className:"cleen-flex-1",children:[n?.label,n?.sublabel&&Lh("p",{className:"cleen-text-xs",children:n?.sublabel})]}),typeof n?.icon=="function"?n.icon({...e,isHovered:t}):n?.icon]})})})};import{components as Aw}from"react-select";import{jsx as Dh,jsxs as zw}from"react/jsx-runtime";var II=e=>{let t=e.data;return Dh(Aw.SingleValue,{...e,children:zw("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Dh("p",{children:t?.label}),t?.sublabel&&Dh("p",{className:"cleen-text-xs cleen-text-neutral-600 cleen-line-clamp-1",children:t?.sublabel})]})})};import{cn as ma,ZIndex as PI}from"@cleen/ui-core";import{forwardRef as Hw,useId as Uw,useState as SI}from"react";import Gw from"react-select";import{components as Ow}from"react-select";import{jsx as Th,jsxs as bI}from"react/jsx-runtime";var yI=({isLoading:e,inputValue:t,options:r,createNewOptionCallback:n,createNewOptionLabelStringCb:l,children:a,...c})=>{let s=t?.trim().toLowerCase(),u=r?.some(p=>p?.labelString?p.labelString.toLowerCase()===s:typeof p?.label=="string"?p.label.toLowerCase()===s:!1);return Th("div",{className:"cleen",children:bI(Ow.MenuList,{options:r,...c,children:[a,n&&!e&&t&&t?.length>0&&!u&&bI("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-justify-center",children:[Th(tt,{}),Th("span",{className:"cleen-py-3 cleen-font-semibold cleen-text-sm cleen-text-primary/70 cleen-cursor-pointer",onClick:()=>{n(t)},children:l?.(t)||t})]})]})})};import{components as _w}from"react-select";import{jsx as CI}from"react/jsx-runtime";var xI=({isLoading:e,noDataFound:t,...r})=>CI(_w.NoOptionsMessage,{...r,children:e?CI(ne,{}):t||"No data found"});import{jsx as so,jsxs as wI}from"react/jsx-runtime";var MI=e=>typeof e=="object"&&e!==null&&("labelString"in e||"label"in e),Vw=Hw(function({label:t,labelTooltip:r,sublabel:n,id:l,name:a,required:c,className:s,classNames:u,isLoading:p=!1,disabled:i,emboldenOptions:g=!1,labels:h,components:y,style:b,styles:f,infoLabels:v,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...I},P){let[M,B]=SI(!1),[k,w]=SI(""),R=Uw(),E=I.inputId??l??a??R,N=(F,D)=>{if(!MI(F.data))return!1;let{labelString:S,label:H}=F.data;return S?S.toLowerCase().includes(D.toLowerCase()):typeof H=="string"?H.toLowerCase().includes(D.toLowerCase()):!1},L=F=>MI(F)?F.labelString??(typeof F.label=="string"?F.label:""):"";return so("div",{className:ma("cleen",s),style:b,ref:P,children:wI("div",{className:ma("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full",u?.cleenContainer),style:f?.cleenContainer,children:[(t||n)&&wI("div",{className:ma("cleen-flex cleen-flex-col cleen-gap-1",u?.labels?.container),style:f?.labels?.container,children:[t&&so(oe,{htmlFor:E,required:c,tooltip:r,...u?.labels?.label,...f?.labels?.label,children:t}),n&&so("span",{className:ma("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",u?.labels?.sublabel),style:f?.labels?.sublabel,children:n})]}),so(Gw,{...C&&{menuIsOpen:M,inputValue:k,onInputChange:F=>w(F),onMenuOpen:()=>B(!0),onMenuClose:()=>B(!1)},...!I.filterOption&&{filterOption:N},...!I.getOptionLabel&&{getOptionLabel:L},id:l||a,classNames:u,isDisabled:i,menuPortalTarget:document.body,menuPosition:"fixed",...I,inputId:E,className:ma("cleen-shadow-none cleen-font-normal cleen-text-foreground cleen-text-sm",u?.inputOuterContainer),styles:{...f,control:(F,D)=>{let S={...F,minHeight:44,borderWidth:1,borderRadius:8,padding:3,transition:"border-color 200ms",fontWeight:g&&D.hasValue?"600":"400",borderColor:v?.errorMessage?"rgba(var(--cleen-error), 0.7)":"rgb(var(--cleen-border))",color:D.isDisabled?"rgb(var(--cleen-neutral-500))":"rgb(var(--cleen-foreground))",backgroundColor:D.isDisabled?"rgb(var(--cleen-neutral-100))":"rgba(var(--cleen-background))",boxShadow:D.isFocused?"0 0 0 2px rgba(var(--cleen-primary), 0.5)":"none",cursor:"pointer",caretColor:C?"rgba(var(--cleen-foreground))":"transparent","&:hover":{borderColor:v?.errorMessage?"rgba(var(--cleen-error))":"rgb(var(--cleen-border))"}};return f?.control?f?.control(S,D):S},menuPortal:(F,D)=>{let S={...F,zIndex:PI.SELECT,...f?.menuPortal};return f?.menuPortal?f?.menuPortal(S,D):S},menu:(F,D)=>{let S={...F,backgroundColor:"rgba(var(--cleen-surface))",border:"1px solid rgba(var(--cleen-border))",zIndex:PI.SELECT,...f?.menu};return f?.menu?f?.menu(S,D):S},option:(F,D)=>{let S={...F,backgroundColor:D.isSelected?"rgba(var(--cleen-primary))":D.isFocused?"rgba(var(--cleen-primary), 0.1)":"rgba(var(--cleen-white))",color:D.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-foreground))",fontWeight:g?"600":"400","&:hover":D.isSelected?{}:{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))",cursor:"pointer"},p:{color:D.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-neutral-600))"},"&:hover p":{color:"rgba(var(--cleen-white))"},"&:active":{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))"}};return f?.option?f?.option(S,D):S},menuList:(F,D)=>{let S={...F,"::-webkit-scrollbar":{width:"6px",height:"0px"},"::-webkit-scrollbar-track":{background:"rgb(var(--cleen-background))"},"::-webkit-scrollbar-thumb":{background:"rgba(var(--cleen-neutral-200))"},"::-webkit-scrollbar-thumb:hover":{background:"rgba(var(--cleen-neutral-400))"},padding:0,borderRadius:4,...f?.menuList};return f?.menuList?f?.menuList(S,D):S},singleValue:(F,D)=>{let S={...F,color:D.isDisabled?"rgba(var(--cleen-neutral-500))":"rgba(var(--cleen-black))"};return f?.singleValue?f?.singleValue(S,D):S},input:(F,D)=>{let S={...F,color:"rgba(var(--cleen-foreground))"};return f?.input?f?.input(S,D):S}},components:{IndicatorSeparator:()=>null,SingleValue:F=>so(II,{...F}),NoOptionsMessage:F=>so(xI,{isLoading:p,noDataFound:h?.noDataFound,...F}),MenuList:F=>so(yI,{isLoading:p,inputValue:k,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...F}),Option:vI,...y}}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&so(ee,{...v})]})})});import{jsx as kI,jsxs as Ww}from"react/jsx-runtime";function BI({children:e,title:t,className:r="",renderHeader:n}){return Ww("div",{className:`cleen-w-full cleen-h-full ${r}`,"data-testid":`drawer-container-${t}`,children:[n?n(t):kI("h1",{className:"cleen-text-sm cleen-font-medium cleen-pb-4 cleen-pt-9 cleen-px-4 cleen-text-foreground-emphasis",children:t}),kI("div",{className:"cleen-h-max cleen-w-full cleen-px-4",children:e})]})}import{cn as At}from"@cleen/ui-core";import{forwardRef as $w,useState as qw}from"react";import{Fragment as Qw,jsx as Ke,jsxs as yc}from"react/jsx-runtime";function Xw({icon:e,iconSrc:t,iconName:r,iconSize:n=24,title:l,className:a,style:c}){return e?Ke("span",{className:At("cleen-flex cleen-justify-center cleen-items-center cleen-shrink-0",a),style:{width:n,height:n,...c},children:e}):t?Ke("img",{src:t,alt:l,width:n,height:n,className:a,style:c}):r?Ke(Oe,{name:r,width:n,height:n,className:a,style:c}):null}function RI({item:e,depth:t,iconSize:r=24,classNames:n,styles:l}){let[a,c]=qw(!1),s={...e,classNames:{...n,...e.classNames},styles:{...l,...e.styles}},u=Array.isArray(s?.items)&&s.items.length>0,p=s?.iconSize??r,i=t>0?{paddingLeft:12+t*28}:{},g=yc(Qw,{children:[yc("div",{className:At("cleen-flex cleen-items-center cleen-gap-3 cleen-min-w-0",s?.classNames?.containerInner),style:s?.styles?.containerInner,children:[Ke(Xw,{icon:s?.icon,iconSrc:s?.iconSrc,iconName:s?.iconName,iconSize:p,title:s?.name,className:At("cleen-text-neutral-700 group-hover/row:cleen-text-foreground [&_path]:cleen-stroke-[1.5] [&_path]:[vector-effect:non-scaling-stroke] cleen-transition-all cleen-duration-200",s?.isActive&&"cleen-text-foreground",s?.classNames?.icon),style:s?.styles?.icon}),Ke("span",{className:At("cleen-font-semibold cleen-text-neutral-800 group-hover/row:cleen-text-foreground cleen-text-sm cleen-truncate cleen-transition-colors cleen-duration-200",s?.isActive&&"cleen-text-foreground",s?.classNames?.name),style:s?.styles?.name,children:s?.name})]}),["string","number"].includes(typeof s?.badgeCount)&&Ke(Fe,{color:s?.badgeColor,label:String(s?.badgeCount),...s?.classNames?.badge,...s?.styles?.badge})]});return u?yc("details",{className:s?.classNames?.container,style:s?.styles?.container,children:[yc("summary",{className:At("cleen-group/row [&::-webkit-details-marker]:cleen-hidden cleen-flex cleen-justify-between cleen-items-center cleen-gap-3 hover:cleen-bg-muted cleen-py-2 cleen-pr-3 cleen-rounded-md cleen-w-full cleen-transition-colors cleen-duration-200 cleen-cursor-pointer cleen-list-none",t===0?"cleen-px-3":void 0,s?.classNames?.parentItemContainer),style:{...i,...s?.styles?.parentItemContainer},onClick:()=>c(h=>!h),children:[g,Ke(Oe,{name:"ChevronDown",className:At("cleen-w-5 cleen-h-5 cleen-text-neutral-700 group-hover/row:cleen-text-foreground cleen-transition-all cleen-shrink-0",{"cleen-rotate-180":a},s?.classNames?.chevron),style:s?.styles?.chevron})]}),Ke("div",{className:At("cleen-flex cleen-flex-col cleen-gap-1 cleen-mt-1",s?.classNames?.childItemsContainer),style:s?.styles?.childItemsContainer,children:s.items.map(h=>Ke(RI,{item:h,depth:t+1,iconSize:r,classNames:n,styles:l},h?.id??h?.name))})]}):Ke("div",{className:At("cleen-group/row cleen-flex cleen-justify-between cleen-items-center cleen-gap-3 hover:cleen-bg-primary/5 cleen-py-2 cleen-pr-3 cleen-rounded-md cleen-w-full cleen-transition-colors cleen-duration-200 cleen-cursor-pointer",t===0?"cleen-px-3 hover:cleen-bg-muted":void 0,s?.isActive&&t===0&&"cleen-bg-muted",s?.disabled&&"cleen-opacity-50 cleen-pointer-events-none",s?.classNames?.container),style:{...i,...s?.styles?.container},onClick:()=>s?.onClick?.(s),children:g})}var Kw=$w(function({title:t,icon:r,iconName:n,iconSrc:l,iconSize:a=24,badgeColor:c="gray",badgeCount:s,items:u,onClick:p,isActive:i=!1,disabled:g,className:h,classNames:y,style:b,styles:f},v){let C={id:"root",name:t,icon:r,iconName:n,iconSrc:l,iconSize:a,badgeColor:c,badgeCount:s,isActive:i,disabled:g,onClick:p?()=>p():void 0,classNames:y,styles:f,items:u};return Ke("div",{className:At("cleen",h),style:b,ref:v,children:Ke(RI,{item:C,depth:0,iconSize:a,classNames:y,styles:f})})}),Zw=Kw;import{cn as zt}from"@cleen/ui-core";import{useEffect as ek,useRef as tk,useState as ok}from"react";import{cn as ua}from"@cleen/ui-core";import{useMemo as Yw}from"react";import{Link as Jw}from"react-router-dom";import{jsx as ha,jsxs as jw}from"react/jsx-runtime";function fa({item:e,activeId:t,onClick:r,countBadge:n,classNames:l,styles:a,renderIcon:c}){let s=t===e?.id,u=Yw(()=>e?c?c(e,s):e.icon?e.icon:e.iconSrc?ha("img",{src:e.iconSrc,alt:e?.name||e?.label,className:ua("cleen-w-6 cleen-h-6 cleen-transition-all cleen-duration-200 group-hover:cleen-text-primary",l?.icon,s&&"cleen-text-primary"),style:a?.icon}):e.iconName?ha(Oe,{name:e.iconName,className:ua("cleen-w-6 cleen-h-6 cleen-text-neutral-700 [&_path]:cleen-stroke-[1.5] [&_path]:[vector-effect:non-scaling-stroke] cleen-transition-all cleen-duration-200 group-hover:cleen-text-primary",l?.icon,s&&"cleen-text-primary"),style:a?.icon}):null:null,[e,s,c,l?.icon,a?.icon]),p=jw("div",{"data-testid":`nav-item-${e?.id}`,className:ua("cleen-group cleen-relative cleen-p-2 cleen-cursor-pointer cleen-rounded-md cleen-w-12 cleen-h-12 cleen-flex cleen-justify-center cleen-items-center cleen-select-none cleen-transition-colors cleen-duration-200 hover:cleen-bg-primary/10",l?.container,s&&"cleen-bg-primary/10"),style:a?.container,onClick:()=>{e?.path||r?.(e)},children:[u,n&&ha("div",{className:ua("cleen-absolute -cleen-top-1 -cleen-right-1 cleen-flex cleen-items-center cleen-justify-center cleen-w-4 cleen-h-4 cleen-bg-surface cleen-rounded-md cleen-border cleen-border-border cleen-font-normal cleen-text-[8px] cleen-text-foreground",l?.badge),style:a?.badge,children:n})]});return ha(ge,{hasArrow:!0,placement:"right",color:"rgba(var(--cleen-foreground))",className:l?.tooltip?.className,classNames:{...l?.tooltip,labelContainer:ua("cleen-min-w-max",l?.tooltip?.classNames?.labelContainer)},...a?.tooltip,label:e?.label,children:e?.path?ha(Jw,{to:e.path,children:p}):p})}import{jsx as Ot,jsxs as Go}from"react/jsx-runtime";function LI({navigationItems:e,bottomNavigationItems:t=[],drawerContent:r={},logo:n,onLogoClick:l,userAvatar:a,userInfo:c,drawerFooter:s,drawerWidth:u=330,direction:p="right",defaultActiveId:i=null,activeId:g,onActiveChange:h,closeOnOutsideClick:y=!0,closeOnBlur:b=!0,className:f,classNames:v,style:C,styles:x,renderSidebarItem:I}){let[P,M]=ok(i),B=tk(null),k=g!==void 0?g:P,w=!!k,R=N=>{let L=k===N.id?null:N.id;g===void 0&&M(L),h?.(L)};ek(()=>{if(!y||!w)return;let N=L=>{B.current&&!B.current.contains(L.target)&&(g===void 0&&M(null),h?.(null))};return document.addEventListener("mousedown",N),()=>{document.removeEventListener("mousedown",N)}},[y,w,g,h]);let E=N=>{!b||!w||B.current&&!B.current.contains(N.relatedTarget)&&(g===void 0&&M(null),h?.(null))};return Go("div",{className:zt("cleen",f),style:{height:"100%",display:"flex",backgroundColor:"rgb(var(--cleen-sidebar))",flexDirection:p==="left"?"row-reverse":"row",...C},ref:B,onBlur:E,tabIndex:b?0:void 0,children:[Go("div",{className:zt("cleen-flex cleen-flex-col cleen-items-center cleen-h-full",p==="right"?"cleen-border-r cleen-border-r-border":"cleen-border-l cleen-border-l-border",v?.navigation),style:x?.navigation,children:[n&&Ot("div",{className:zt("cleen-flex cleen-justify-center cleen-items-center cleen-pt-8 cleen-pb-6 cleen-w-full cleen-cursor-pointer",v?.logo),style:x?.logo,onClick:l,children:n}),Go("div",{className:zt("cleen-flex cleen-flex-col cleen-flex-1 cleen-justify-between cleen-gap-2 cleen-px-4 cleen-overflow-y-auto cleen-no-scrollbar",v?.navigationItems),style:x?.navigationItems,children:[Ot("nav",{className:zt("cleen-flex cleen-flex-col cleen-gap-2",v?.upperNavigationItemsWrapper),style:x?.upperNavigationItemsWrapper,children:e.map(N=>Go("div",{children:[I?I(N,k===N.id,R):Ot(fa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&Ot("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id))}),Go("div",{className:zt("cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",v?.bottomNavigationItemsWrapper),style:x?.bottomNavigationItemsWrapper,children:[t.map(N=>Go("div",{children:[I?I(N,k===N.id,R):Ot(fa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&Ot("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id)),a&&Ot("div",{className:"cleen-mt-6 cleen-mb-8",children:a})]})]})]}),Go("div",{className:zt("cleen-flex cleen-flex-col cleen-bg-sidebar cleen-h-full cleen-overflow-hidden cleen-transition-all cleen-duration-100",{"cleen-border-r cleen-border-r-border":w&&p==="right","cleen-border-l cleen-border-l-border":w&&p==="left"},v?.drawer),style:{...x?.drawer,width:w?`${u}px`:"0px",visibility:w?"visible":"hidden"},children:[k&&r[k]&&Ot("div",{className:zt("cleen-flex-1 cleen-overflow-auto",v?.drawerContent),style:x?.drawerContent,children:r[k]}),k&&(s||c)&&Ot("div",{className:zt("cleen-mt-auto cleen-flex cleen-justify-between cleen-items-start cleen-gap-4 cleen-px-5 cleen-pt-4 cleen-pb-8 cleen-border-border cleen-border-t cleen-w-full",v?.drawerFooter),style:x?.drawerFooter,children:typeof s=="function"?s(k):s||c})]})]})}var j=e=>e==="pulse"?"cleen-animate-pulse":"";import{cn as DI}from"@cleen/ui-core";import{forwardRef as nk}from"react";import{jsx as TI}from"react/jsx-runtime";var rk={none:"cleen-rounded-none",sm:"cleen-rounded-sm",md:"cleen-rounded-md",lg:"cleen-rounded-lg",xl:"cleen-rounded-xl","2xl":"cleen-rounded-2xl",full:"cleen-rounded-full"},ak=nk(function({width:t,height:r,roundness:n="md",variant:l="default",className:a,style:c},s){let u=j(l),p={...t!==void 0?{width:typeof t=="number"?`${t}px`:t}:{},...r!==void 0?{height:typeof r=="number"?`${r}px`:r}:{},...c};return TI("div",{ref:s,className:DI("cleen",a),children:TI("div",{className:DI("cleen-bg-muted",rk[n],t===void 0&&"cleen-w-full",r===void 0&&"cleen-h-4",u),style:p})})});import{cn as Nh}from"@cleen/ui-core";import{forwardRef as lk}from"react";import{jsx as Cc,jsxs as ck}from"react/jsx-runtime";var Fh=lk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=j(n);return Cc("div",{ref:a,className:Nh("cleen",t),style:r,children:Cc("div",{className:"cleen-flex cleen-items-start cleen-gap-4 cleen-flex-wrap",children:Array.from({length:l}).map((s,u)=>ck("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",children:[Cc("div",{className:Nh("cleen-bg-muted cleen-rounded-full cleen-size-12 cleen-border cleen-border-border",c)}),Cc("div",{className:Nh("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",c)})]},u))})})});import{cn as NI}from"@cleen/ui-core";import{forwardRef as sk}from"react";import{jsx as Eh}from"react/jsx-runtime";var Ah=sk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=j(n);return Eh("div",{ref:a,className:NI("cleen",t),style:r,children:Eh("div",{className:"cleen-flex cleen-items-center cleen-flex-wrap cleen-gap-2",children:Array.from({length:l}).map((s,u)=>Eh("div",{className:NI("cleen-bg-muted cleen-rounded-full cleen-h-6 cleen-w-16",c)},u))})})});import{cn as FI}from"@cleen/ui-core";import{forwardRef as ik}from"react";import{jsx as Vo,jsxs as xc}from"react/jsx-runtime";var zh=ik(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Vo("div",{ref:l,className:FI("cleen",t),style:r,children:xc("div",{className:FI("cleen-relative cleen-bg-muted cleen-rounded-2xl cleen-w-full cleen-overflow-hidden",a),children:[Vo("div",{className:"cleen-h-48 cleen-w-full"}),xc("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-flex-col cleen-justify-center cleen-items-start cleen-gap-4 cleen-px-8",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-w-24 cleen-h-6"}),xc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-2/3 cleen-h-8"}),Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-1/2 cleen-h-5"})]}),xc("div",{className:"cleen-flex cleen-gap-3",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-28 cleen-h-10"}),Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-24 cleen-h-10"})]})]})]})})});import{cn as EI}from"@cleen/ui-core";import{forwardRef as pk}from"react";import{jsx as Oh}from"react/jsx-runtime";var _h=pk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=j(n);return Oh("div",{ref:a,className:EI("cleen",t),style:r,children:Oh("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:Array.from({length:l}).map((s,u)=>Oh("div",{className:EI("cleen-bg-muted cleen-rounded-lg cleen-h-10 cleen-w-28",c)},u))})})});import{cn as Pc}from"@cleen/ui-core";import{forwardRef as dk}from"react";import{jsx as Sc,jsxs as AI}from"react/jsx-runtime";var ga=dk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Sc("div",{ref:l,className:Pc("cleen",t),style:r,children:AI("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-w-full",children:[Sc("div",{className:Pc("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-min-w-10 cleen-size-10",a)}),AI("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Sc("div",{className:Pc("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)}),Sc("div",{className:Pc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3",a)})]})]})})});import{cn as Dn}from"@cleen/ui-core";import{forwardRef as mk}from"react";import{jsx as Tn,jsxs as Mc}from"react/jsx-runtime";var wc=mk(({className:e,style:t,variant:r="default"},n)=>{let l=j(r);return Tn("div",{ref:n,className:Dn("cleen",e),style:t,children:Mc("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-lg",children:[Mc("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-w-full",children:[Tn("div",{className:Dn("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-size-10",l)}),Mc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-5",l)}),Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",l)})]})]}),Mc("div",{className:"cleen-space-y-2 cleen-w-full",children:[Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-2",l)}),Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-16 cleen-h-3",l)})]})]})})});wc.displayName="AssessmentHeaderSkeleton";import{cn as ut}from"@cleen/ui-core";import{forwardRef as uk}from"react";import{jsx as ht,jsxs as Nn}from"react/jsx-runtime";var Hh=uk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return ht("div",{ref:l,className:ut("cleen",t),style:r,children:Nn("div",{className:"cleen-flex cleen-flex-col cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden cleen-w-full",children:[ht("div",{className:ut("cleen-bg-muted cleen-w-full cleen-h-40",a)}),Nn("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-px-4 cleen-py-4",children:[Nn("div",{className:"cleen-flex cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-w-16 cleen-h-5",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-w-12 cleen-h-5",a)})]}),Nn("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-5",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)})]}),Nn("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-1",children:[Nn("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-size-7 cleen-shrink-0",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),ht("div",{className:ut("cleen-bg-muted cleen-rounded-lg cleen-w-16 cleen-h-7",a)})]})]})]})})});import{forwardRef as hk}from"react";import{cn as fk}from"@cleen/ui-core";import{jsx as Uh}from"react/jsx-runtime";var Gh=hk(function({className:t,style:r,itemCount:n=3,variant:l="default"},a){return Uh("div",{ref:a,className:fk("cleen",t),style:r,children:Uh("div",{className:"cleen-flex cleen-flex-col cleen-gap-3",children:Array.from({length:n}).map((c,s)=>Uh(ga,{variant:l},s))})})});import{cn as Wo}from"@cleen/ui-core";import{forwardRef as gk}from"react";import{jsx as Ze,jsxs as va}from"react/jsx-runtime";var zI=["cleen-h-16","cleen-h-24","cleen-h-14","cleen-h-28","cleen-h-20","cleen-h-10","cleen-h-24"],Vh=gk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Ze("div",{ref:l,className:Wo("cleen",t),style:r,children:va("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-px-4 cleen-pt-4 cleen-pb-3 cleen-w-full",children:[va("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[Ze("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-32 cleen-h-5",a)}),Ze("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[28,20].map((c,s)=>va("div",{className:"cleen-flex cleen-items-center cleen-gap-1.5",children:[Ze("div",{className:Wo("cleen-bg-muted cleen-rounded-full cleen-size-2.5",a)}),Ze("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-h-3",a),style:{width:c}})]},s))})]}),va("div",{className:"cleen-flex cleen-gap-3",children:[Ze("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-end cleen-py-1",style:{height:120},children:[0,1,2,3].map(c=>Ze("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-6 cleen-h-2",a)},c))}),va("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1",children:[Ze("div",{className:"cleen-flex cleen-items-end cleen-justify-around cleen-gap-2",style:{height:112},children:zI.map((c,s)=>Ze("div",{className:Wo("cleen-bg-muted cleen-rounded-t cleen-flex-1",c,a)},s))}),Ze("div",{className:"cleen-w-full cleen-h-px cleen-bg-muted"}),Ze("div",{className:"cleen-flex cleen-justify-around cleen-gap-2 cleen-pt-1",children:zI.map((c,s)=>Ze("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-flex-1 cleen-h-2",a)},s))})]})]})]})})});import{cn as $o}from"@cleen/ui-core";import{forwardRef as vk}from"react";import{jsx as _t,jsxs as kc}from"react/jsx-runtime";var Wh=vk(({variant:e="default",itemCount:t=3,className:r,style:n},l)=>{let a=j(e);return _t("div",{ref:l,className:$o("cleen",r),style:n,children:_t(pe,{className:"cleen-max-h-fit",children:kc("div",{className:"cleen-flex cleen-flex-col cleen-gap-4",children:[kc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-6",a)}),_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)})]}),_t("div",{className:"cleen-space-y-6",children:Array.from({length:t}).map((c,s)=>kc("div",{className:"cleen-space-y-3",children:[_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-4",a)}),_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-10",a)})]},s))}),kc("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-4",children:[_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)}),_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)})]})]})})})});import{cn as Bc}from"@cleen/ui-core";import{forwardRef as Ik}from"react";import{jsx as Ia,jsxs as bk}from"react/jsx-runtime";var $h=Ik(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=j(n),s=["cleen-w-1/12","cleen-w-3/12","cleen-w-2/12","cleen-w-3/12","cleen-w-2/12","cleen-w-1/12"];return Ia("div",{ref:a,className:Bc("cleen",t),style:r,children:bk("div",{className:"cleen-flex cleen-flex-col cleen-w-full cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden",children:[Ia("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-bg-muted cleen-border-b cleen-border-border",children:s.map((u,p)=>Ia("div",{className:Bc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",u,c)},p))}),Array.from({length:l}).map((u,p)=>Ia("div",{className:Bc("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3",p<l-1?"cleen-border-b cleen-border-border":""),children:s.map((i,g)=>Ia("div",{className:Bc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",g===s.length-1?"cleen-rounded-full":"cleen-rounded",i,c)},g))},p))]})})});import{cn as Rc}from"@cleen/ui-core";import{forwardRef as yk}from"react";import{jsx as ba,jsxs as OI}from"react/jsx-runtime";var qh=yk(function({className:t,style:r,variant:n="default",itemCount:l=4},a){let c=j(n);return ba("div",{ref:a,className:Rc("cleen",t),style:r,children:OI("div",{className:"cleen-flex cleen-flex-col cleen-gap-5 cleen-w-full cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-px-6 cleen-py-6",children:[Array.from({length:l}).map((s,u)=>OI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ba("div",{className:Rc("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",c)}),ba("div",{className:Rc("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10",c)})]},u)),ba("div",{className:"cleen-flex cleen-justify-end cleen-pt-1",children:ba("div",{className:Rc("cleen-bg-muted cleen-rounded-lg cleen-w-28 cleen-h-10",c)})})]})})});import{cn as _I}from"@cleen/ui-core";import{forwardRef as Ck}from"react";import{jsx as Xh}from"react/jsx-runtime";var xk=["rgb(var(--cleen-blue))","rgb(var(--cleen-aqua))","rgb(var(--cleen-green-light-300))","rgb(var(--cleen-aqua))","rgb(var(--cleen-blue))"],Kh=Ck(function({className:t,style:r,variant:n="default",colors:l=xk},a){let c=j(n);return Xh("div",{ref:a,className:_I("cleen",t),style:r,children:Xh("div",{className:_I("cleen-p-1 cleen-size-full cleen-rounded-lg cleen-animate-[cleen-rotate-gradient-angle_2.5s_linear_infinite]",c),style:{background:`conic-gradient(from var(--cleen--gradient-angle),${l.join(",")})`},children:Xh("div",{className:"cleen-bg-background cleen-size-full cleen-rounded-md"})})})});import{cn as Lc}from"@cleen/ui-core";import{forwardRef as Pk}from"react";import{jsx as Fn,jsxs as HI}from"react/jsx-runtime";var Zh=Pk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Fn("div",{ref:l,className:Lc("cleen",t),style:r,children:HI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Fn("div",{className:Lc("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:Fn("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:HI("div",{className:Lc("cleen-flex cleen-flex-col cleen-items-center cleen-gap-1 cleen-opacity-30"),children:[Fn("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-8"}),Fn("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-16 cleen-h-2"})]})})}),Fn("div",{className:Lc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3 cleen-mx-auto",a)})]})})});import{cn as He}from"@cleen/ui-core";import{forwardRef as Sk}from"react";import{jsx as ze,jsxs as Ht}from"react/jsx-runtime";var Qh=Sk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return ze("div",{ref:l,className:He("cleen",t),style:r,children:Ht("div",{className:He("cleen-flex cleen-flex-col cleen-items-start cleen-gap-4 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-h-fit",t),style:r,children:[Ht("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[ze("div",{className:He("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-p-2 cleen-rounded-full cleen-size-8",a)}),ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),Ht("div",{className:"cleen-space-y-3 cleen-w-full",children:[Ht("div",{children:[ze("div",{className:He("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),ze(pe,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Ht("div",{className:"cleen-space-y-2",children:[ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-5/6 cleen-h-3",a)})]})})]}),Ht("div",{children:[ze("div",{className:He("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Ht("div",{className:"cleen-space-y-2",children:[ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-3",a)})]})]}),Ht("div",{children:[ze("div",{className:He("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),ze(pe,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Ht("div",{className:"cleen-space-y-2",children:[ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-3",a)})]})})]})]})]})})});import{cn as Yh}from"@cleen/ui-core";import{forwardRef as Mk}from"react";import{jsx as Jh,jsxs as wk}from"react/jsx-runtime";var jh=Mk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Jh("div",{ref:l,className:Yh("cleen",t),style:r,children:wk("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Jh("div",{className:Yh("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",a)}),Jh("div",{className:Yh("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10 cleen-border cleen-border-border",a)})]})})});import{cn as ya}from"@cleen/ui-core";import{forwardRef as kk}from"react";import{jsx as En,jsxs as UI}from"react/jsx-runtime";var e0=kk(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=j(n),s=["cleen-w-3/4","cleen-w-2/3","cleen-w-4/5","cleen-w-1/2","cleen-w-3/5"];return En("div",{ref:a,className:ya("cleen",t),style:r,children:En("div",{className:"cleen-flex cleen-flex-col cleen-divide-y cleen-divide-border",children:Array.from({length:l}).map((u,p)=>UI("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-py-3",children:[En("div",{className:ya("cleen-bg-muted cleen-rounded-full cleen-size-8 cleen-shrink-0 cleen-border cleen-border-border",c)}),UI("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1.5",children:[En("div",{className:ya("cleen-bg-muted cleen-rounded cleen-h-4",s[p%s.length],c)}),En("div",{className:ya("cleen-bg-muted cleen-rounded cleen-h-3 cleen-w-2/5",c)})]}),En("div",{className:ya("cleen-bg-muted cleen-rounded-full cleen-w-14 cleen-h-5 cleen-shrink-0",c)})]},p))})})});import{cn as GI}from"@cleen/ui-core";import{forwardRef as Bk}from"react";import{jsx as o0}from"react/jsx-runtime";var t0=["cleen-w-full","cleen-w-full","cleen-w-11/12","cleen-w-full","cleen-w-4/5"],n0=Bk(function({className:t,style:r,variant:n="default",itemCount:l},a){let c=j(n),s=l??t0.length;return o0("div",{ref:a,className:GI("cleen",t),style:r,children:o0("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:Array.from({length:s}).map((u,p)=>{let i=p<t0.length?t0[p]:p===s-1?"cleen-w-3/5":"cleen-w-full";return o0("div",{className:GI("cleen-bg-muted cleen-rounded cleen-h-3",i,c)},p)})})})});import{cn as VI}from"@cleen/ui-core";import{forwardRef as Rk}from"react";import{jsx as WI}from"react/jsx-runtime";var r0=Rk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return WI("div",{ref:l,className:VI("cleen",t),style:r,children:WI("div",{className:VI("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)})})});import{cn as qo}from"@cleen/ui-core";import{forwardRef as Lk}from"react";import{jsx as ft,jsxs as Dc}from"react/jsx-runtime";var a0=Lk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return ft("div",{ref:l,className:qo("cleen",t),style:r,children:Dc("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-w-full",children:[ft("div",{className:qo("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:ft("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:ft("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-14 cleen-flex cleen-items-center cleen-justify-center",children:ft("div",{className:"cleen-w-0 cleen-h-0 cleen-ml-1 cleen-border-y-[8px] cleen-border-y-transparent cleen-border-l-[14px] cleen-border-l-neutral-400"})})})}),Dc("div",{className:"cleen-flex cleen-gap-3",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded-lg cleen-size-10 cleen-shrink-0",a)}),Dc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)}),ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),Dc("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",a)}),ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-10 cleen-h-3",a)})]})]})]})]})})});import{cn as Ca}from"@cleen/ui-core";import{forwardRef as Dk}from"react";import{jsx as xa,jsxs as l0}from"react/jsx-runtime";var Tc=Dk(function({variant:t="default",className:r,style:n},l){let a=j(t);return xa("div",{ref:l,className:Ca("cleen",r),style:n,children:l0("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-w-full cleen-h-full",children:[l0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-2 cleen-py-0.5 cleen-border cleen-border-border cleen-rounded-full",children:[xa("div",{className:Ca("cleen-bg-muted cleen-rounded-full cleen-size-1.5",a)}),xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-20 cleen-h-3",a)})]}),l0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-w-full",children:[xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-8",a)}),xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-12 cleen-h-4",a)})]})]})})});Tc.displayName="SkeletonBadgeCard";import{forwardRef as Tk}from"react";import{jsx as me}from"react/jsx-runtime";var Nk=Tk(function({className:t,style:r,variant:n="default",itemCount:l=3,colors:a,skeleton:c="card",isShowing:s=!1,children:u},p){if(!s)return u;let i={ref:p,variant:n,itemCount:l,colors:a,className:t,style:r};switch(c){case"card2":return me(wc,{...i});case"card3":return me(Hh,{...i});case"cardStack":return me(Gh,{...i});case"contentCard":return me(Wh,{...i});case"infoCard":return me(Qh,{...i});case"widgetCard":return me(Tc,{...i});case"image":return me(Zh,{...i});case"video":return me(a0,{...i});case"avatar":return me(Fh,{...i});case"dataGrid":return me($h,{...i});case"text":return me(r0,{...i});case"paragraph":return me(n0,{...i});case"list":return me(e0,{...i});case"form":return me(qh,{...i});case"banner":return me(zh,{...i});case"chart":return me(Vh,{...i});case"button":return me(_h,{...i});case"badge":return me(Ah,{...i});case"input":return me(jh,{...i});case"glowingCard":return me(Kh,{...i});default:return me(ga,{...i})}});import{cn as io}from"@cleen/ui-core";import{forwardRef as Fk,useCallback as c0,useEffect as Ek,useRef as $I,useState as qI}from"react";import{jsx as po,jsxs as Nc}from"react/jsx-runtime";var Ak=Fk(function({id:t,required:r,minValue:n=0,maxValue:l=100,step:a=1,defaultValue:c=0,value:s,variant:u="default",onChange:p,onChangeEnd:i,className:g,classNames:h,style:y,styles:b,disabled:f=!1,label:v,labelTooltip:C,labels:x,tooltip:I,infoLabels:P},M){let[B,k]=qI(c??n),w=s!==void 0?s:B,R=$I(null),[E,N]=qI(!1),L=$I(!1),F=(w-n)/(l-n)*100,D=Math.min(100,Math.max(0,F)),S=c0(q=>{let U=Math.round((q-n)/a)*a+n;return Math.min(l,Math.max(n,U))},[n,l,a]),H=c0((q,U)=>{let V=S(q);s===void 0&&k(V),p?.(V),U&&i?.(V)},[S,s,p,i]),T=c0(q=>{let U=R.current;if(!U)return n;let V=U.getBoundingClientRect(),Q=(q-V.left)/V.width;return S(n+Q*(l-n))},[n,l,S]),z=q=>{if(f)return;let U;switch(q.key){case"ArrowRight":case"ArrowUp":U=w+a;break;case"ArrowLeft":case"ArrowDown":U=w-a;break;case"Home":U=n;break;case"End":U=l;break;default:return}q.preventDefault(),H(U,!0)},A=q=>{f||(q.preventDefault(),N(!0))},_=q=>{if(f||L.current){L.current=!1;return}H(T(q.clientX),!0)},G=q=>{f||(q.preventDefault(),N(!0))};Ek(()=>{if(!E)return;let q=O=>{H(T(O.clientX))},U=O=>{N(!1),L.current=!0,i?.(S(T(O.clientX)))},V=O=>{O.touches.length>0&&H(T(O.touches[0].clientX))},Q=O=>{N(!1),L.current=!0,i?.(S(T(O.changedTouches[0].clientX)))};return document.addEventListener("mousemove",q),document.addEventListener("mouseup",U),document.addEventListener("touchmove",V),document.addEventListener("touchend",Q),()=>{document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",U),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",Q)}},[E,S,T,H,i]);let $=q=>po("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:q});return po("div",{className:io("cleen",g),style:y,ref:M,children:Nc("div",{className:io("cleen-w-full",h?.container),style:b?.container,children:[v&&po(oe,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Nc("div",{className:io({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&x?.minLabel!==void 0&&$(x?.minLabel),Nc("div",{ref:R,className:io("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":f,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":f,onClick:_,children:[po("div",{className:io("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-neutral-200 cleen-rounded-sm -cleen-translate-y-1/2",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.path),style:b?.path,children:po("div",{className:io("cleen-absolute cleen-left-0 cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{width:`${D}%`,...b?.filledTrack}})}),po(ge,{invertColors:!0,...I,label:x?.tooltip?.(w)??w,className:io("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.className),style:{left:`calc(${D}% - 8px)`,...I?.style},isOpen:E||I?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,children:po("div",{id:t,className:io("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w,"aria-valuemin":n,"aria-valuemax":l,"aria-disabled":f,"aria-label":typeof v=="string"?v:"Slider","aria-labelledby":t,onMouseDown:A,onTouchStart:G,onKeyDown:z})})]}),u==="inline"?x?.maxLabel&&$(x?.maxLabel):(x?.minLabel||x?.maxLabel)&&Nc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[x?.minLabel&&$(x?.minLabel),x?.maxLabel&&$(x?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&po(ee,{...P})]})})});import{cn as gt}from"@cleen/ui-core";import{forwardRef as zk,useCallback as s0,useEffect as Ok,useRef as _k,useState as XI}from"react";import{jsx as vt,jsxs as Fc}from"react/jsx-runtime";var Hk=zk(function({id:t,required:r,minValue:n=0,maxValue:l=100,step:a=1,defaultValue:c=[n,l],value:s,variant:u="default",onChange:p,onChangeEnd:i,className:g,classNames:h,style:y,styles:b,disabled:f=!1,label:v,labelTooltip:C,labels:x,tooltips:I,infoLabels:P},M){let[B,k]=XI(c??[n,l]),w=s!==void 0?s:B,R=_k(null),[E,N]=XI(null),L=s0(U=>{let V=Math.round((U-n)/a)*a+n;return Math.min(l,Math.max(n,V))},[n,l,a]),F=(w[0]-n)/(l-n)*100,D=Math.min(100,Math.max(0,F)),S=(w[1]-n)/(l-n)*100,H=Math.min(100,Math.max(0,S)),T=s0(U=>{let V=[L(Math.min(U[0],U[1])),L(Math.max(U[0],U[1]))];s===void 0&&k(V),p?.(V)},[L,s,p]),z=s0(U=>{let V=R.current;if(!V)return n;let Q=V.getBoundingClientRect(),O=(U-Q.left)/Q.width;return L(n+O*(l-n))},[n,l,L]),A=U=>V=>{if(f)return;let Q=U==="min"?w[0]:w[1],O;switch(V.key){case"ArrowRight":case"ArrowUp":O=Q+a;break;case"ArrowLeft":case"ArrowDown":O=Q-a;break;case"Home":O=n;break;case"End":O=l;break;default:return}V.preventDefault();let Z=U==="min"?[Math.min(O,w[1]),w[1]]:[w[0],Math.max(O,w[0])];T(Z),i?.([L(Z[0]),L(Z[1])])},_=U=>V=>{f||(V.preventDefault(),N(U))},G=U=>{if(f)return;let V=z(U.clientX),Q=Math.abs(V-w[0]),O=Math.abs(V-w[1]);Q<O?T([V,w[1]]):T([w[0],V])},$=U=>V=>{f||(V.preventDefault(),N(U))};Ok(()=>{if(!E)return;let U=Z=>{let ie=z(Z.clientX);T(E==="min"?[ie,w[1]]:[w[0],ie])},V=Z=>{let ie=z(Z.clientX),he=E==="min"?[ie,w[1]]:[w[0],ie];N(null),i?.(he)},Q=Z=>{if(Z.touches.length>0){let ie=z(Z.touches[0].clientX);T(E==="min"?[ie,w[1]]:[w[0],ie])}},O=Z=>{let ie=z(Z.changedTouches[0].clientX),he=E==="min"?[ie,w[1]]:[w[0],ie];N(null),i?.(he)};return document.addEventListener("mousemove",U),document.addEventListener("mouseup",V),document.addEventListener("touchmove",Q),document.addEventListener("touchend",O),()=>{document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",V),document.removeEventListener("touchmove",Q),document.removeEventListener("touchend",O)}},[E,w,z,T,i]);let q=U=>vt("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:U});return vt("div",{className:gt("cleen",g),style:y,ref:M,children:Fc("div",{className:gt("cleen-w-full",h?.container),style:b?.container,children:[v&&vt(oe,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Fc("div",{className:gt({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&x?.minLabel!==void 0&&q(x?.minLabel),Fc("div",{ref:R,className:gt("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":f,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":f,onClick:G,children:[vt("div",{className:gt("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-neutral-200 cleen-rounded-sm -cleen-translate-y-1/2",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer"),children:vt("div",{className:gt("cleen-absolute cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{left:`${D}%`,width:`${H-D}%`,...b?.filledTrack}})}),vt(ge,{invertColors:!0,isOpen:E==="min"||I?.min?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.min,label:x?.tooltip?.(w[0])??w[0]?.toString(),className:gt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.min?.className),style:{left:`calc(${D}% - 8px)`,...I?.shared?.style,...I?.min?.style},children:vt("div",{className:gt("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w[0],"aria-valuemin":n,"aria-valuemax":w[1],"aria-disabled":f,"aria-label":typeof v=="string"?`${v} minimum value`:"Minimum value",onMouseDown:_("min"),onTouchStart:$("min"),onKeyDown:A("min")})}),vt(ge,{invertColors:!0,isOpen:E==="max"||I?.max?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.max,label:x?.tooltip?.(w[1])??w[1]?.toString(),className:gt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.max?.className),style:{left:`calc(${H}% - 8px)`,...I?.shared?.style,...I?.max?.style},children:vt("div",{className:gt("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w[1],"aria-valuemin":w[0],"aria-valuemax":l,"aria-disabled":f,"aria-label":typeof v=="string"?`${v} maximum value`:"Maximum value",onMouseDown:_("max"),onTouchStart:$("max"),onKeyDown:A("max")})})]}),u==="inline"?x?.maxLabel&&q(x?.maxLabel):(x?.minLabel||x?.maxLabel)&&Fc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[x?.minLabel&&q(x?.minLabel),x?.maxLabel&&q(x?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&vt(ee,{...P})]})})});import{cn as An}from"@cleen/ui-core";import{forwardRef as Uk,useRef as Gk,useState as KI}from"react";import{jsx as Xo,jsxs as Wk}from"react/jsx-runtime";var Vk=Uk(function({label:t,infoLabels:r,value:n,onChange:l,amount:a=5,gap:c,size:s,readonly:u,color:p="rgb(var(--cleen-yellow))",className:i,style:g,classNames:h,styles:y,...b},f){let[v,C]=KI(0),x=n!==void 0,I=x?n:v,[P,M]=KI(null),B=P!==null?P+1:I,k=!u,w=Gk([]),R=I>0?I-1:0,E=D=>{x||C(D),l?.(D)},N=D=>{D<0||D>=a||(E(D+1),w.current[D]?.focus())},L=(D,S)=>{switch(D.key){case"ArrowRight":case"ArrowUp":D.preventDefault(),N((S+1)%a);break;case"ArrowLeft":case"ArrowDown":D.preventDefault(),N((S-1+a)%a);break;case"Home":D.preventDefault(),N(0);break;case"End":D.preventDefault(),N(a-1);break;default:break}},F=typeof t=="string"?t:"Rating";return Xo("div",{className:An("cleen",i),style:g,ref:f,...b,children:Wk("div",{className:An("cleen-space-y-2",h?.container),style:y?.container,children:[t&&Xo("span",{className:An("cleen-font-medium cleen-text-sm cleen-text-foreground",h?.label),style:y?.label,children:t}),Xo("div",{role:k?"radiogroup":"img","aria-label":k?F:`${F}: ${I} out of ${a}`,className:An("cleen-flex cleen-gap-3",h?.list),style:{...c?{gap:c}:{},...y?.list},children:Array.from({length:a},(D,S)=>{let H=Xo(Dr,{"aria-hidden":"true",className:An("cleen-size-5 cleen-text-neutral-700 cleen-transition-colors",h?.star),style:{...s?{width:s,height:s}:{},...y?.star,fill:(u?I:B)>S?p:"transparent"}});return k?Xo("button",{type:"button",ref:T=>{w.current[S]=T},role:"radio","aria-checked":I===S+1,"aria-label":`${S+1} ${S+1===1?"star":"stars"}`,tabIndex:S===R?0:-1,onMouseEnter:()=>M(S),onMouseLeave:()=>M(null),onClick:()=>E(S+1),onKeyDown:T=>L(T,S),className:An("focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary focus-visible:cleen-rounded"),children:H},S):Xo("span",{className:"cleen-cursor-default",children:H},S)})}),(r?.errorMessage||r?.infoMessage||r?.subtitle)&&Xo(ee,{...r})]})})});import{cn as Ut}from"@cleen/ui-core";import{forwardRef as $k}from"react";import{jsx as mo,jsxs as ZI}from"react/jsx-runtime";var QI=$k(({steps:e,activeStep:t=0,orientation:r="horizontal",color:n="rgb(var(--cleen-primary))",className:l,classNames:a,style:c,styles:s,...u},p)=>{let i=r==="vertical";return mo("div",{ref:p,className:Ut("cleen",l),style:{...c,width:"100%"},...u,children:mo("div",{className:Ut("cleen-flex cleen-w-full",i?"cleen-flex-col cleen-gap-6":"cleen-flex-row cleen-items-start cleen-gap-8 cleen-justify-between",a?.container),style:{width:"100%",...s?.container},children:e?.map((g,h)=>{let y=h+1<t,b=h+1===t;return ZI("div",{className:Ut("cleen-relative cleen-flex cleen-flex-1",i?"cleen-flex-row cleen-items-start":"cleen-flex-col cleen-items-center cleen-text-center",a?.step),style:s?.step,children:[h<e?.length-1&&mo("div",{className:Ut("cleen-absolute cleen-bg-neutral-200 cleen-transition-all cleen-duration-300",i?"cleen-left-3 cleen-top-7 cleen-w-[2px] cleen-h-[calc(100%-4px)]":"cleen-top-3 cleen-left-[calc(50%+14px)] cleen-h-[2px] cleen-w-[calc(100%+4px)]",y&&"cleen-bg-primary",a?.connector),style:{backgroundColor:y?n:void 0,...s?.connector}}),mo("div",{className:Ut("cleen-relative cleen-flex cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-transition-all cleen-duration-300","cleen-size-7",y||b?"cleen-border-[2px]":"cleen-border-border",a?.circle),style:{borderColor:b||y?n:void 0,backgroundColor:y?n:"transparent",...s?.circle},children:y?mo("span",{className:"cleen-text-white cleen-text-sm",children:"\u2713"}):mo("span",{className:Ut("cleen-w-2 cleen-h-2 cleen-rounded-full",b?"cleen-bg-white":"cleen-bg-neutral-200"),style:{backgroundColor:b?n:void 0}})}),ZI("div",{className:Ut("cleen-flex cleen-flex-col",i?"cleen-ml-3":"cleen-mt-3 cleen-items-center"),children:[g.title&&mo("div",{className:Ut("cleen-font-medium cleen-text-sm",b?"cleen-text-primary":"cleen-text-foreground",a?.title),style:{color:b?n:void 0,...s?.title},children:g.title}),g.subtitle&&mo("div",{className:Ut("cleen-text-xs cleen-text-neutral-600",a?.subtitle),style:{color:b?n:void 0,...s?.subtitle},children:g.subtitle})]})]},h)})})})});QI.displayName="Stepper";import{cn as ye}from"@cleen/ui-core";import{forwardRef as qk,useMemo as JI,useState as zn}from"react";var YI={trigger:"Filter by tags",noMatches:"No matching tags",searchPlaceholder:"Search or create a tag",noData:"There are no tags yet",footer:"Select tags to filter",selected:e=>`${e} selected`,create:e=>`Create \u201C${e}\u201D`,clear:"Clear",done:"Done"};import{Fragment as Zk,jsx as ue,jsxs as On}from"react/jsx-runtime";var Xk=[],Kk=qk(function({items:t=Xk,value:r,defaultValue:n,onApply:l,onCreate:a,isLoading:c=!1,icon:s,disabled:u=!1,isOpen:p,onOpenChange:i,position:g="bottom-left",zIndex:h,labels:y,className:b,classNames:f,style:v,styles:C,...x},I){let P={...YI,...y},[M,B]=zn(n??[]),k=r??M,[w,R]=zn(!1),E=p??w,[N,L]=zn(k),[F,D]=zn(""),[S,H]=zn([]),[T,z]=zn(!1),A=JI(()=>[...t,...S.filter(Y=>!t.some(ae=>ae.id===Y.id))],[t,S]),_=F.trim(),G=JI(()=>{let Y=_.toLowerCase();return Y?A.filter(ae=>ae.label.toLowerCase().includes(Y)):A},[A,_]),$=!!_&&!A.some(Y=>Y.label.toLowerCase()===_.toLowerCase())&&!!a,q=c||T,U=k.length,V=U>0,Q=Y=>{Y&&(L(k),D("")),p===void 0&&R(Y),i?.(Y)},O=Y=>{L(ae=>ae.includes(Y)?ae.filter(rt=>rt!==Y):[...ae,Y])},Z=async()=>{if(!(!a||!_||q)){z(!0);try{let Y=await a(_);Y&&(H(ae=>ae.some(rt=>rt.id===Y.id)?ae:[...ae,Y]),L(ae=>ae.includes(Y.id)?ae:[...ae,Y.id]),D(""))}finally{z(!1)}}},ie=Y=>{Y.key==="Enter"&&$&&(Y.preventDefault(),Z())},he=()=>{L([])},Ie=()=>{let Y=A.filter(ae=>N.includes(ae.id));r===void 0&&B(N),l?.(N,Y),Q(!1)},It=()=>On(Zk,{children:[$&&ue("div",{className:"cleen-p-1.5",children:ue(re,{variant:"borderless-blue",fullWidth:!0,isLoading:q,leftIcon:ue(Sr,{className:"cleen-size-4 cleen-shrink-0"}),onClick:()=>{Z()},classNames:{container:ye("cleen-justify-start cleen-px-2.5 cleen-py-1.5 cleen-font-medium",f?.createButton)},styles:{container:C?.createButton},children:ue("span",{className:"cleen-truncate",children:P.create(_)})})}),G.length===0?$?null:ue("p",{className:ye("cleen-px-3 cleen-py-4 cleen-text-gray-500 cleen-text-sm cleen-text-center cleen-opacity-50",f?.noData),style:C?.noData,children:A.length===0?P.noData:P.noMatches}):ue("ul",{className:ye("cleen-flex cleen-flex-col cleen-py-1 cleen-max-h-[300px] cleen-overflow-y-auto cleen-[scrollbar-width:thin] [&::-webkit-scrollbar]:cleen-w-1 [&::-webkit-scrollbar-track]:cleen-bg-transparent [&::-webkit-scrollbar-thumb]:cleen-rounded-full [&::-webkit-scrollbar-thumb]:cleen-bg-neutral-200",f?.list),style:C?.list,children:G.map(Y=>On("li",{onClick:()=>O(Y.id),className:ye("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 hover:cleen-bg-surface cleen-px-3 cleen-py-2 cleen-transition-colors",f?.item),style:C?.item,children:[ue(ta,{className:"cleen-flex-1 cleen-min-w-0",classNames:{container:"cleen-min-w-0",checkboxContainer:"cleen-items-center cleen-min-w-0 [&>div]:cleen-flex-1 [&>div]:cleen-min-w-0",checkbox:f?.checkbox,label:ye("cleen-text-sm cleen-truncate cleen-cursor-pointer",f?.itemLabel)},styles:{checkbox:C?.checkbox,label:C?.itemLabel},checked:N.includes(Y.id),onClick:ae=>ae.stopPropagation(),label:ue("span",{title:Y.label,className:"cleen-select-none",children:Y.label}),fullTriggerArea:!0}),Y.count!==void 0&&ue("span",{className:ye("cleen-shrink-0 cleen-text-gray-500 cleen-text-sm cleen-tabular-nums cleen-opacity-50 cleen-select-none",f?.count),style:C?.count,children:Y.count})]},Y.id))})]}),Qe=On("div",{className:ye("cleen-flex cleen-flex-col",f?.content),style:C?.content,role:"dialog",children:[ue(de,{autoFocus:!0,value:F,onChange:Y=>D(Y.target.value),onKeyDown:ie,placeholder:P.searchPlaceholder,"aria-label":P.searchPlaceholder,leftIcon:ue(Bt,{className:"cleen-size-4 cleen-text-muted-foreground"}),className:ye("cleen-shrink-0 cleen-p-1.5 cleen-py-1",f?.search),style:C?.search,classNames:{inputContainer:"cleen-border-0 cleen-shadow-none cleen-rounded-none focus-within:cleen-ring-0",input:"cleen-text-sm"}}),ue(tt,{className:ye("cleen-shrink-0",f?.divider),style:C?.divider}),ue("div",{className:"cleen-flex-1 cleen-min-h-0",children:It()}),On("div",{className:ye("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-3 cleen-py-2 cleen-border-t cleen-border-border cleen-shrink-0",f?.footer),style:C?.footer,children:[ue("span",{className:ye("cleen-min-w-0 cleen-text-muted-foreground cleen-text-xs cleen-truncate",f?.footerText),style:C?.footerText,children:N.length>0?P.selected(N.length):P.footer}),On("div",{className:ye("cleen-flex cleen-items-center cleen-gap-2 cleen-shrink-0",f?.footerActions),style:C?.footerActions,children:[ue(re,{variant:"secondary",onClick:he,disabled:N.length===0,classNames:{container:ye("cleen-h-8 cleen-px-4 cleen-py-0 cleen-text-sm",f?.clearButton)},styles:{container:C?.clearButton},children:P.clear}),ue(re,{variant:"primary",onClick:Ie,classNames:{container:ye("cleen-h-8 cleen-px-4 cleen-py-0 cleen-text-sm",f?.doneButton)},styles:{container:C?.doneButton},children:P.done})]})]})]});return ue(Rh,{ref:I,isOpen:E,onOpenChange:Q,position:g,zIndex:h,content:Qe,className:b,style:v,classNames:{trigger:ye(u&&"cleen-pointer-events-none"),popover:ye("cleen-w-80 cleen-overflow-hidden cleen-shadow-md",f?.popover)},styles:{popover:C?.popover},...x,children:On("button",{type:"button",disabled:u,"aria-label":P.trigger,"aria-haspopup":"dialog","aria-expanded":E,className:ye("cleen-flex cleen-items-center cleen-gap-1 cleen-bg-background cleen-shadow-sm cleen-px-2.5 cleen-py-2 cleen-border cleen-border-border cleen-rounded-lg cleen-text-muted-foreground cleen-transition-colors cleen-duration-200 hover:cleen-bg-surface focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2",{"cleen-border-primary-300 cleen-bg-primary-50 cleen-text-primary hover:cleen-bg-primary-100":V,"cleen-opacity-50 cleen-cursor-not-allowed":u},f?.trigger,V&&f?.triggerActive),style:{...C?.trigger,...V?C?.triggerActive:{}},children:[s??ue(Nr,{className:"cleen-size-4 cleen-shrink-0"}),V&&ue("span",{className:ye("cleen-flex cleen-justify-center cleen-items-center cleen-bg-primary cleen-px-1.5 cleen-rounded-full cleen-min-w-5 cleen-h-5 cleen-font-semibold cleen-text-primary-foreground cleen-text-xs",f?.badge),style:C?.badge,children:U}),ue(Qn,{className:"cleen-size-3.5 cleen-shrink-0"})]})})});export{lb as AdvancedProgressBar,P4 as AudioPlayback,L4 as AudioRecorder,$l as Avatar,E4 as AvatarRow,O4 as Breadcrumb,re as Button,G1 as Calendar,Y4 as CalendarDropdown,v4 as CanvasButton,pe as Card,zS as CardIcon,GS as CardMedia,n5 as Carousel,ta as Checkbox,h5 as CheckboxGroup,Oe as CleenIcon,qM as CleenNotificationContainer,Bg as Collapsible,C5 as ColorPicker,w5 as CreditCardInput,tt as Divider,q1 as Drawer,BI as DrawerContainer,Zw as DrawerContentTitle,ea as Dropdown,l3 as Dropzone,u4 as EditableCard,k1 as EditableText,L1 as EditableTextArea,u3 as FileCard,th as FileStackedProgressTracker,eM as FilterDrawer,Uv as FormGroup,dM as GroupSelector,Jc as Icon48AlertFeatured,jc as Icon48SuccessFeatured,ho as IconAlertCircle,ts as IconAlertOctagon,ns as IconAlertTriangle,rs as IconApps,ls as IconArchive,cs as IconArrowBarDown,ss as IconArrowBarLeft,is as IconArrowBarRight,ps as IconArrowBarToDown,ds as IconArrowBarToLeft,ms as IconArrowBarToRight,us as IconArrowBarToUp,hs as IconArrowBarUp,gs as IconArrowDown,vs as IconArrowDownLeft,bs as IconArrowDownNarrow,ys as IconArrowDownRight,xs as IconArrowLeft,Ss as IconArrowLeftNarrow,ws as IconArrowRight,Bs as IconArrowRightNarrow,Ls as IconArrowUp,Ds as IconArrowUpLeft,Ns as IconArrowUpNarrow,Fs as IconArrowUpRight,Es as IconAttachment,As as IconBarChart,zs as IconBarChartSquare,Os as IconBell,_s as IconBold,$s as IconBookOpen,Hs as IconBookmark,$c as IconBookmarkCheck,qc as IconBookmarkCheckFill,Us as IconBookmarkFill,Gs as IconBookmarkMinus,Kc as IconBookmarkPlus,Ws as IconBookmarkX,qs as IconBoxLines,Ks as IconBoxText,Qs as IconBracketsCheck,Ys as IconBracketsEllipses,Js as IconBrickWall,js as IconBriefcase,Zc as IconBuilding,ei as IconCalculator,Zn as IconCalendar,ti as IconCertificate,Pt as IconCheck,fo as IconCheckCircle,oi as IconCheckCircleBroken,ni as IconCheckFill,ri as IconCheckVerified,ai as IconCheckVerifiedFill,Qn as IconChevronDown,li as IconChevronDownDouble,ci as IconChevronDownLeft,si as IconChevronDownLeftDouble,ii as IconChevronDownRight,pi as IconChevronDownRightDouble,St as IconChevronLeft,di as IconChevronLeftDouble,je as IconChevronRight,Yn as IconChevronRightDouble,mi as IconChevronSelectorVertical,Mt as IconChevronUp,ui as IconChevronUpDouble,hi as IconChevronUpLeft,fi as IconChevronUpLeftDouble,gi as IconChevronUpRight,vi as IconChevronUpRightDouble,Ii as IconClick,bi as IconClock,yi as IconClockFastForward,xi as IconClockPlay,Pi as IconClockRewind,Si as IconClone,wi as IconCode,ki as IconCodeBrowser,Ri as IconCodeCircle,Di as IconColors,Qc as IconColumnEdit,Ti as IconCopy,Ni as IconCopy2,Ei as IconCopyCheck,Ai as IconCreditCard,zi as IconCube,Oi as IconCubeOutline,jn as IconCursorBox,_i as IconDataflow,Hi as IconDataflow2,Ui as IconDataflow3,Vi as IconDistributeHorizontal,Wi as IconDollar,qi as IconDollarCircle,Xi as IconDot,Ki as IconDotFill,Zi as IconDotsGrid,Yi as IconDotsHorizontal,tn as IconDotsVertical,ep as IconDownload,tp as IconEdit,np as IconEditable,rp as IconExpand,lp as IconExternalLink,sp as IconExternalLink2,ip as IconEye,dp as IconEyeHidden,mp as IconEyeHidden2,up as IconFaceAngry,hp as IconFaceLaugh,fp as IconFaceSmile,vo as IconFile,vp as IconFileCheck,nr as IconFileCsv,Ip as IconFileDownload,rr as IconFileJson,bp as IconFileList,Ve as IconFileMusic,Io as IconFilePdf,lr as IconFileSpreadsheet,kt as IconFileText,xp as IconFileUpload,sr as IconFileXls,ir as IconFileXlsx,ct as IconFileZip,Cp as IconFiles,Pp as IconFilter,pr as IconFilter2,Mp as IconFlag,wp as IconFlag2,kp as IconFlagFill,Bp as IconFocus,Rp as IconFolder,Lp as IconFolderExport,Dp as IconFolderImport,Tp as IconGraduationCap,Np as IconGripVertical,Fp as IconHand,Ep as IconHandShield,Ap as IconHash,zp as IconHeadsetMic,Op as IconHeart,_p as IconHeartFill,Up as IconHouse,mr as IconHouseLine,we as IconImage,Gp as IconImage2,Vp as IconImageCheck,Wp as IconImageOff,$p as IconImport,qp as IconInbox,Kp as IconInfoCircle,Qp as IconInfoHexagon,Jp as IconItalic,ed as IconLayersMultiple,td as IconLayersSingle,od as IconLayout,rd as IconLayout2,ad as IconLayoutColumns,ld as IconLayoutCustom,sd as IconLayoutStuffed,id as IconLayoutTile,pd as IconLifeBuoy,md as IconLightbulb,ud as IconLightning,hd as IconLightningFast,fd as IconLineChart,gd as IconLineChartBar,vd as IconLineChartBreakoutSquare,bd as IconLineChartUp,yd as IconLines,Cd as IconLinesCheck,xd as IconLinesPlay,Sd as IconLink,Md as IconLink2,wd as IconLinkOff,kd as IconListBullet,Bd as IconListOrder,Ld as IconLock,Dd as IconLockFill,Nd as IconLogIn,Ed as IconLogOut,zd as IconLogOut2,Od as IconMagicWand,_d as IconMail,Hd as IconMailOpen,Ud as IconMapPin,Gd as IconMaximize,Vd as IconMaximize2,Wd as IconMessageCircle,qd as IconMessageSquare,Xd as IconMessageSquare2,Kd as IconMessageXSquare,br as IconMicrophone,Zd as IconMinimize,Qd as IconMinimize2,Yd as IconMinusCircle,jd as IconMobile,em as IconMonitor,tm as IconMonitor2,om as IconMoon,nm as IconMoonCircle,et as IconMovie,zr as IconName,rm as IconNavigationPointer,am as IconNotificationBox,mm as IconPCSetup,lm as IconPackage,cm as IconPalette,sm as IconPasscodeLock,bo as IconPause,pm as IconPauseCircle,hm as IconPen,fm as IconPercentageCircle,gm as IconPerspective,Im as IconPhoneCall,Pr as IconPin,yo as IconPlay,ym as IconPlayCircle,Sr as IconPlus,Zt as IconPlusCircle,Pm as IconPrinter,Sm as IconPulse,Mr as IconQuestionCircle,wm as IconQuote,km as IconRadioButton,Bm as IconRadioButtonFill,Rm as IconReceipt,Lm as IconReceiptCheck,Dm as IconRedo,Tm as IconRefresh,Nm as IconRefresh2,Fm as IconRefresh3,Em as IconRepeat,Am as IconReplace,zm as IconReplay,_m as IconRestore,Um as IconRocket,Gm as IconRoundChart,Vm as IconRoundChart2,$m as IconRoute,Xm as IconSave,Km as IconScanDots,wr as IconScissors,Bt as IconSearch,Zm as IconSend,Qm as IconServer,Ym as IconSettings,Jm as IconSettings2,jm as IconShare,eu as IconShieldLightning,ou as IconShieldPlus,ru as IconShieldRemove,au as IconShoppingBag,lu as IconShoppingCart,cu as IconShrink,su as IconShuffle,iu as IconSkipForward,pu as IconSlashCircle,du as IconSlashOctagon,mu as IconSocialAndroid,uu as IconSocialApple,hu as IconSocialGithub,fu as IconSocialGlobe,gu as IconSocialGoogle,Iu as IconSocialInstagram,bu as IconSocialLinkedin,Cu as IconSocialMastercard,xu as IconSocialReact,Pu as IconSocialVisa,Su as IconSocialX,Mu as IconSpeedometer,wu as IconStairs,Dr as IconStar,ku as IconStarFill,Bu as IconStarHalf,Ru as IconStars,Tr as IconStop,Lu as IconStrikethrough,Du as IconSun,Tu as IconSwap,Nu as IconSwitchHorizontal,Eu as IconTable,Nr as IconTag,Au as IconTarget,Ou as IconTarget2,Hu as IconTextFormat,Uu as IconTextFormat2,Gu as IconTextHighlight,Vu as IconThumbsDown,Wu as IconThumbsUp,$u as IconThumbsUpFill,qu as IconToggle,Xu as IconTranslate,We as IconTrash,Ku as IconTrending,Zu as IconUnderline,Qu as IconUndo,Ju as IconUnlock,Po as IconUploadCloud,Er as IconUser,t1 as IconUserCheck,o1 as IconUserDollar,r1 as IconUserEdit,a1 as IconUserPlus,l1 as IconUserRight,i1 as IconUserSquare,Yc as IconUserVoice,c1 as IconUsers,p1 as IconUsersUp,d1 as IconVideo,u1 as IconVideoChat,f1 as IconVolume,g1 as IconVolumeDown,v1 as IconVolumeMute,I1 as IconWrench,De as IconX,b1 as IconXCircle,y1 as IconXCircleFill,C1 as IconXSquare,x1 as IconZoomIn,S1 as IconZoomOut,ee as InfoLabels,de as Input,oe as Label,ne as Loader,yM as Lookup,MM as Markdown,kn as Menu,FM as Modal,aw as Pagination,Mh as PaginationGoToPage,wh as PaginationPageSize,Fe as PillBadge,Rh as Popover,wn as ProgressBar,dI as ProgressCircle,yw as RadioBoxGroup,Bw as RadioButtonGroup,Nw as Rating,Vw as Select,LI as Sidebar,fa as SidebarItem,ak as Skeleton,Fh as SkeletonAvatar,Ah as SkeletonBadge,zh as SkeletonBanner,_h as SkeletonButton,ga as SkeletonCard,wc as SkeletonCard2,Hh as SkeletonCard3,Gh as SkeletonCardStack,Vh as SkeletonChart,Wh as SkeletonContentCard,$h as SkeletonDataGrid,qh as SkeletonForm,Kh as SkeletonGlowingCard,Zh as SkeletonImage,Qh as SkeletonInfoCard,jh as SkeletonInput,e0 as SkeletonList,n0 as SkeletonParagraph,r0 as SkeletonText,a0 as SkeletonVideo,Tc as SkeletonWidgetCard,Nk as SkeletonWrapper,Ak as Slider,Hk as SliderRange,j1 as StackedProgressTracker,K1 as StackedProgressTrackerRow,Z1 as StackedProgressTrackerStatusFilter,Vk as StarRating,QI as Stepper,Ih as Switch,aa as TRACKER_STATUS_FILTER_ORDER,gh as Tabs,Kk as TagFilter,R1 as TextArea,ge as Tooltip,na as TrackerItemStatus,ra as TrackerStatusFilter,M1 as getFileIcon,V1 as parseRgbaString,VM as showNotification};
2
+ linear-gradient(to bottom, rgba(var(--cleen-black), 0.03) 0%, rgba(255, 255, 255, 0) 10%)`},...c!==void 0&&{paddingBlock:c},...s!==void 0&&{gap:s},borderRadius:u,...y?.container},children:[(t?.content||t?.title)&&S0("div",{className:Gt("cleen-px-6",g?.header?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.header?.content},children:[t?.title&&Qo("div",{className:Gt("cleen-text-xl cleen-font-bold cleen-text-foreground-emphasis",g?.header?.title),style:{...v&&{color:v},...y?.header?.title},children:t?.title}),t?.content]}),(t?.content||t?.title)&&t?.hasDivider&&Qo("hr",{className:Gt("cleen-text-neutral-200",g?.header?.divider),style:{...v&&{color:x},...y?.header?.divider}}),p&&Qo("div",{className:Gt("cleen-px-6",g?.childrenContainer),style:{...c!==void 0&&{paddingInline:c},...y?.childrenContainer},children:p}),r?.content&&r?.hasDivider&&Qo("hr",{className:Gt("cleen-text-neutral-200",g?.footer?.divider),style:{...v&&{color:x},...y?.footer?.divider}}),r?.content&&Qo("div",{className:Gt("cleen-px-6 -cleen-mt-3 cleen-text-foreground",g?.footer?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.footer?.content},children:r.content})]})})});import{jsx as Bb}from"react/jsx-runtime";function o({size:e=24,width:t,height:r,strokeWidth:n=1.5,isFilled:l=!1,children:a,...c}){return delete c.color1,delete c.color2,Bb("svg",{xmlns:"http://www.w3.org/2000/svg",width:t??e,height:r??e,viewBox:"0 0 24 24",fill:l?"currentColor":"none",stroke:"currentColor",strokeWidth:l?0:n,strokeLinecap:"round",strokeLinejoin:"round",...c,children:a})}import{jsx as M0,jsxs as Rb}from"react/jsx-runtime";var $c=e=>Rb(o,{...e,children:[M0("path",{d:"M9 10.5l2 2l4 -4"}),M0("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})]});import{jsx as w0}from"react/jsx-runtime";var qc=e=>w0(o,{isFilled:!0,...e,children:w0("path",{d:"M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1 -1.555 .832l-5.445 -3.63l-5.444 3.63a1 1 0 0 1 -1.55 -.72l-.006 -.112v-14a5 5 0 0 1 5 -5h4zM15.707 7.293a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as Xc,jsxs as Lb}from"react/jsx-runtime";var Kc=e=>Lb(o,{...e,children:[Xc("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v5"}),Xc("path",{d:"M16 19h6"}),Xc("path",{d:"M19 16v6"})]});import{jsx as Vt,jsxs as Db}from"react/jsx-runtime";var Zc=e=>Db(o,{...e,children:[Vt("path",{d:"M3 21l18 0"}),Vt("path",{d:"M9 8l1 0"}),Vt("path",{d:"M9 12l1 0"}),Vt("path",{d:"M9 16l1 0"}),Vt("path",{d:"M14 8l1 0"}),Vt("path",{d:"M14 12l1 0"}),Vt("path",{d:"M14 16l1 0"}),Vt("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16"})]});import{jsx as k0,jsxs as Tb}from"react/jsx-runtime";var Qc=e=>Tb(o,{...e,children:[k0("path",{d:"M10 4h4a1 1 0 0 1 1 1v10M12 20h-2a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1"}),k0("path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39"})]});import{jsx as Ba,jsxs as Nb}from"react/jsx-runtime";var Yc=e=>Nb(o,{...e,children:[Ba("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ba("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Ba("path",{d:"M16.32 3.27a6.5 6.5 0 0 1 0 7.46"}),Ba("path",{d:"M19.37 1.84a9 9 0 0 1 0 10.32"})]});import{jsx as Wn,jsxs as Fb}from"react/jsx-runtime";var Jc=e=>Fb(o,{viewBox:"0 0 48 48",...e,children:[Wn("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),Wn("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),Wn("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),Wn("path",{d:"M24 18v8"}),Wn("path",{d:"M24 30h.01"})]});import{jsx as Ra,jsxs as Eb}from"react/jsx-runtime";var jc=e=>Eb(o,{viewBox:"0 0 48 48",...e,children:[Ra("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),Ra("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),Ra("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),Ra("path",{d:"M18 24l4 4l8 -8"})]});import{jsx as es,jsxs as Ab}from"react/jsx-runtime";var ho=e=>Ab(o,{...e,children:[es("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),es("path",{d:"M12 8v4"}),es("path",{d:"M12 16h.01"})]});import{jsx as B0}from"react/jsx-runtime";var ts=e=>B0(o,{isFilled:!0,...e,children:B0("path",{d:"M14.897 1a4 4 0 0 1 2.664 1.016l.165 .156l4.1 4.1a4 4 0 0 1 1.168 2.605l.006 .227v5.794a4 4 0 0 1 -1.016 2.664l-.156 .165l-4.1 4.1a4 4 0 0 1 -2.603 1.168l-.227 .006h-5.795a3.999 3.999 0 0 1 -2.664 -1.017l-.165 -.156l-4.1 -4.1a4 4 0 0 1 -1.168 -2.604l-.006 -.227v-5.794a4 4 0 0 1 1.016 -2.664l.156 -.165l4.1 -4.1a4 4 0 0 1 2.605 -1.168l.227 -.006h5.793zm-2.887 14l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z"})});import{jsx as os,jsxs as zb}from"react/jsx-runtime";var ns=e=>zb(o,{...e,children:[os("path",{d:"M12 9v4"}),os("path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z"}),os("path",{d:"M12 16h.01"})]});import{jsx as $n,jsxs as Ob}from"react/jsx-runtime";var rs=e=>Ob(o,{...e,children:[$n("path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M14 7l6 0"}),$n("path",{d:"M17 4l0 6"})]});import{jsx as as,jsxs as _b}from"react/jsx-runtime";var ls=e=>_b(o,{...e,children:[as("path",{d:"M3 4m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),as("path",{d:"M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10"}),as("path",{d:"M10 12l4 0"})]});import{jsx as La,jsxs as Hb}from"react/jsx-runtime";var cs=e=>Hb(o,{...e,children:[La("path",{d:"M12 20l0 -10"}),La("path",{d:"M12 20l4 -4"}),La("path",{d:"M12 20l-4 -4"}),La("path",{d:"M4 4l16 0"})]});import{jsx as Da,jsxs as Ub}from"react/jsx-runtime";var ss=e=>Ub(o,{...e,children:[Da("path",{d:"M4 12l10 0"}),Da("path",{d:"M4 12l4 4"}),Da("path",{d:"M4 12l4 -4"}),Da("path",{d:"M20 4l0 16"})]});import{jsx as Ta,jsxs as Gb}from"react/jsx-runtime";var is=e=>Gb(o,{...e,children:[Ta("path",{d:"M20 12l-10 0"}),Ta("path",{d:"M20 12l-4 4"}),Ta("path",{d:"M20 12l-4 -4"}),Ta("path",{d:"M4 4l0 16"})]});import{jsx as Na,jsxs as Vb}from"react/jsx-runtime";var ps=e=>Vb(o,{...e,children:[Na("path",{d:"M4 20l16 0"}),Na("path",{d:"M12 14l0 -10"}),Na("path",{d:"M12 14l4 -4"}),Na("path",{d:"M12 14l-4 -4"})]});import{jsx as Fa,jsxs as Wb}from"react/jsx-runtime";var ds=e=>Wb(o,{...e,children:[Fa("path",{d:"M10 12l10 0"}),Fa("path",{d:"M10 12l4 4"}),Fa("path",{d:"M10 12l4 -4"}),Fa("path",{d:"M4 4l0 16"})]});import{jsx as Ea,jsxs as $b}from"react/jsx-runtime";var ms=e=>$b(o,{...e,children:[Ea("path",{d:"M14 12l-10 0"}),Ea("path",{d:"M14 12l-4 4"}),Ea("path",{d:"M14 12l-4 -4"}),Ea("path",{d:"M20 4l0 16"})]});import{jsx as Aa,jsxs as qb}from"react/jsx-runtime";var us=e=>qb(o,{...e,children:[Aa("path",{d:"M12 10l0 10"}),Aa("path",{d:"M12 10l4 4"}),Aa("path",{d:"M12 10l-4 4"}),Aa("path",{d:"M4 4l16 0"})]});import{jsx as za,jsxs as Xb}from"react/jsx-runtime";var hs=e=>Xb(o,{...e,children:[za("path",{d:"M12 4l0 10"}),za("path",{d:"M12 4l4 4"}),za("path",{d:"M12 4l-4 4"}),za("path",{d:"M4 20l16 0"})]});import{jsx as fs,jsxs as Kb}from"react/jsx-runtime";var gs=e=>Kb(o,{...e,children:[fs("path",{d:"M12 5l0 14"}),fs("path",{d:"M18 13l-6 6"}),fs("path",{d:"M6 13l6 6"})]});import{jsx as R0,jsxs as Zb}from"react/jsx-runtime";var vs=e=>Zb(o,{...e,children:[R0("path",{d:"M17 7l-10 10"}),R0("path",{d:"M16 17l-9 0l0 -9"})]});import{jsx as Is,jsxs as Qb}from"react/jsx-runtime";var bs=e=>Qb(o,{...e,children:[Is("path",{d:"M12 5l0 14"}),Is("path",{d:"M16 15l-4 4"}),Is("path",{d:"M8 15l4 4"})]});import{jsx as L0,jsxs as Yb}from"react/jsx-runtime";var ys=e=>Yb(o,{...e,children:[L0("path",{d:"M7 7l10 10"}),L0("path",{d:"M17 8l0 9l-9 0"})]});import{jsx as Cs,jsxs as Jb}from"react/jsx-runtime";var xs=e=>Jb(o,{...e,children:[Cs("path",{d:"M5 12l14 0"}),Cs("path",{d:"M5 12l6 6"}),Cs("path",{d:"M5 12l6 -6"})]});import{jsx as Ps,jsxs as jb}from"react/jsx-runtime";var Ss=e=>jb(o,{...e,children:[Ps("path",{d:"M5 12l14 0"}),Ps("path",{d:"M5 12l4 4"}),Ps("path",{d:"M5 12l4 -4"})]});import{jsx as Ms,jsxs as ey}from"react/jsx-runtime";var ws=e=>ey(o,{...e,children:[Ms("path",{d:"M5 12l14 0"}),Ms("path",{d:"M13 18l6 -6"}),Ms("path",{d:"M13 6l6 6"})]});import{jsx as ks,jsxs as ty}from"react/jsx-runtime";var Bs=e=>ty(o,{...e,children:[ks("path",{d:"M5 12l14 0"}),ks("path",{d:"M15 16l4 -4"}),ks("path",{d:"M15 8l4 4"})]});import{jsx as Rs,jsxs as oy}from"react/jsx-runtime";var Ls=e=>oy(o,{...e,children:[Rs("path",{d:"M12 5l0 14"}),Rs("path",{d:"M18 11l-6 -6"}),Rs("path",{d:"M6 11l6 -6"})]});import{jsx as D0,jsxs as ny}from"react/jsx-runtime";var Ds=e=>ny(o,{...e,children:[D0("path",{d:"M7 7l10 10"}),D0("path",{d:"M16 7l-9 0l0 9"})]});import{jsx as Ts,jsxs as ry}from"react/jsx-runtime";var Ns=e=>ry(o,{...e,children:[Ts("path",{d:"M12 5l0 14"}),Ts("path",{d:"M16 9l-4 -4"}),Ts("path",{d:"M8 9l4 -4"})]});import{jsx as T0,jsxs as ay}from"react/jsx-runtime";var Fs=e=>ay(o,{...e,children:[T0("path",{d:"M17 7l-10 10"}),T0("path",{d:"M8 7l9 0l0 9"})]});import{jsx as N0}from"react/jsx-runtime";var Es=e=>N0(o,{...e,children:N0("path",{d:"M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5"})});import{jsx as Oa,jsxs as ly}from"react/jsx-runtime";var As=e=>ly(o,{...e,children:[Oa("path",{d:"M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),Oa("path",{d:"M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),Oa("path",{d:"M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),Oa("path",{d:"M4 20h14"})]});import{jsx as qn,jsxs as cy}from"react/jsx-runtime";var zs=e=>cy(o,{...e,children:[qn("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),qn("path",{d:"M6 14.5a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v3a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M14 11a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v6.5a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M10 7a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v10.5a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M7 18.5h10"})]});import{jsx as F0,jsxs as sy}from"react/jsx-runtime";var Os=e=>sy(o,{...e,children:[F0("path",{d:"M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"}),F0("path",{d:"M9 17v1a3 3 0 0 0 6 0v-1"})]});import{jsx as E0,jsxs as iy}from"react/jsx-runtime";var _s=e=>iy(o,{...e,children:[E0("path",{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}),E0("path",{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"})]});import{jsx as A0}from"react/jsx-runtime";var Hs=e=>A0(o,{...e,children:A0("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})});import{jsx as z0}from"react/jsx-runtime";var Us=e=>z0(o,{isFilled:!0,...e,children:z0("path",{d:"M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1 -1.555 .832l-5.445 -3.63l-5.444 3.63a1 1 0 0 1 -1.55 -.72l-.006 -.112v-14a5 5 0 0 1 5 -5h4z"})});import{jsx as O0,jsxs as py}from"react/jsx-runtime";var Gs=e=>py(o,{...e,children:[O0("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v8"}),O0("path",{d:"M16 19h6"})]});import{jsx as Vs,jsxs as dy}from"react/jsx-runtime";var Ws=e=>dy(o,{...e,children:[Vs("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v6.5"}),Vs("path",{d:"M20.5 21.5l-5 -5"}),Vs("path",{d:"M15.5 21.5l5 -5"})]});import{jsx as Xn,jsxs as my}from"react/jsx-runtime";var $s=e=>my(o,{...e,children:[Xn("path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Xn("path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Xn("path",{d:"M3 6l0 13"}),Xn("path",{d:"M12 6l0 13"}),Xn("path",{d:"M21 6l0 13"})]});import{jsx as _a,jsxs as uy}from"react/jsx-runtime";var qs=e=>uy(o,{...e,children:[_a("path",{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),_a("path",{d:"M9 13h-2"}),_a("path",{d:"M13 10h-6"}),_a("path",{d:"M11 7h-4"})]});import{jsx as Xs,jsxs as hy}from"react/jsx-runtime";var Ks=e=>hy(o,{...e,children:[Xs("path",{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),Xs("path",{d:"M10 8h4"}),Xs("path",{d:"M12 8v8"})]});import{jsx as Zs,jsxs as fy}from"react/jsx-runtime";var Qs=e=>fy(o,{...e,children:[Zs("path",{d:"M9 12l2 2l4 -4"}),Zs("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Zs("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as Kn,jsxs as gy}from"react/jsx-runtime";var Ys=e=>gy(o,{...e,children:[Kn("path",{d:"M15 12h.01"}),Kn("path",{d:"M12 12h.01"}),Kn("path",{d:"M9 12h.01"}),Kn("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Kn("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as xt,jsxs as vy}from"react/jsx-runtime";var Js=e=>vy(o,{...e,children:[xt("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),xt("path",{d:"M4 8h16"}),xt("path",{d:"M20 12h-16"}),xt("path",{d:"M4 16h16"}),xt("path",{d:"M9 4v4"}),xt("path",{d:"M14 8v4"}),xt("path",{d:"M8 12v4"}),xt("path",{d:"M16 12v4"}),xt("path",{d:"M11 16v4"})]});import{jsx as Ha,jsxs as Iy}from"react/jsx-runtime";var js=e=>Iy(o,{...e,children:[Ha("path",{d:"M3 7m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),Ha("path",{d:"M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2"}),Ha("path",{d:"M12 12l0 .01"}),Ha("path",{d:"M3 13a20 20 0 0 0 18 0"})]});import{jsx as Wt,jsxs as by}from"react/jsx-runtime";var ei=e=>by(o,{...e,children:[Wt("path",{d:"M4 3m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Wt("path",{d:"M8 7m0 1a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v1a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1z"}),Wt("path",{d:"M8 14l0 .01"}),Wt("path",{d:"M12 14l0 .01"}),Wt("path",{d:"M16 14l0 .01"}),Wt("path",{d:"M8 17l0 .01"}),Wt("path",{d:"M12 17l0 .01"}),Wt("path",{d:"M16 17l0 .01"})]});import{jsx as Yo,jsxs as yy}from"react/jsx-runtime";var Zn=e=>yy(o,{...e,children:[Yo("path",{d:"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12z"}),Yo("path",{d:"M16 3v4"}),Yo("path",{d:"M8 3v4"}),Yo("path",{d:"M4 11h16"}),Yo("path",{d:"M11 15h1"}),Yo("path",{d:"M12 15v3"})]});import{jsx as Jo,jsxs as Cy}from"react/jsx-runtime";var ti=e=>Cy(o,{...e,children:[Jo("path",{d:"M15 15m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Jo("path",{d:"M13 17.5v4.5l2 -1.5l2 1.5v-4.5"}),Jo("path",{d:"M10 19h-5a2 2 0 0 1 -2 -2v-10c0 -1.1 .9 -2 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -1 1.73"}),Jo("path",{d:"M6 9l12 0"}),Jo("path",{d:"M6 12l3 0"}),Jo("path",{d:"M6 15l2 0"})]});import{jsx as _0}from"react/jsx-runtime";var Pt=e=>_0(o,{...e,children:_0("path",{d:"M5 12l5 5l10 -10"})});import{jsx as H0,jsxs as xy}from"react/jsx-runtime";var fo=e=>xy(o,{...e,children:[H0("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),H0("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as U0,jsxs as Py}from"react/jsx-runtime";var oi=e=>Py(o,{...e,children:[U0("path",{d:"M16.8 4.3a9 9 0 1 0 4.3 6.1"}),U0("path",{d:"M8.5 12l3 3l9.5 -10"})]});import{jsx as G0}from"react/jsx-runtime";var ni=e=>G0(o,{isFilled:!0,...e,children:G0("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as V0,jsxs as Sy}from"react/jsx-runtime";var ri=e=>Sy(o,{...e,children:[V0("path",{d:"M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1"}),V0("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as W0}from"react/jsx-runtime";var ai=e=>W0(o,{isFilled:!0,...e,children:W0("path",{d:"M12.01 2.011a3.2 3.2 0 0 1 2.113 .797l.154 .145l.698 .698a1.2 1.2 0 0 0 .71 .341l.135 .008h1a3.2 3.2 0 0 1 3.195 3.018l.005 .182v1c0 .27 .092 .533 .258 .743l.09 .1l.697 .698a3.2 3.2 0 0 1 .147 4.382l-.145 .154l-.698 .698a1.2 1.2 0 0 0 -.341 .71l-.008 .135v1a3.2 3.2 0 0 1 -3.018 3.195l-.182 .005h-1a1.2 1.2 0 0 0 -.743 .258l-.1 .09l-.698 .697a3.2 3.2 0 0 1 -4.382 .147l-.154 -.145l-.698 -.698a1.2 1.2 0 0 0 -.71 -.341l-.135 -.008h-1a3.2 3.2 0 0 1 -3.195 -3.018l-.005 -.182v-1a1.2 1.2 0 0 0 -.258 -.743l-.09 -.1l-.697 -.698a3.2 3.2 0 0 1 -.147 -4.382l.145 -.154l.698 -.698a1.2 1.2 0 0 0 .341 -.71l.008 -.135v-1l.005 -.182a3.2 3.2 0 0 1 3.013 -3.013l.182 -.005h1a1.2 1.2 0 0 0 .743 -.258l.1 -.09l.698 -.697a3.2 3.2 0 0 1 2.269 -.944zm3.697 7.282a1 1 0 0 0 -1.414 0l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.32 1.497l2 2l.094 .083a1 1 0 0 0 1.32 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as $0}from"react/jsx-runtime";var Qn=e=>$0(o,{...e,children:$0("path",{d:"M6 9l6 6l6 -6"})});import{jsx as q0,jsxs as My}from"react/jsx-runtime";var li=e=>My(o,{...e,children:[q0("path",{d:"M7 7l5 5l5 -5"}),q0("path",{d:"M7 13l5 5l5 -5"})]});import{jsx as X0}from"react/jsx-runtime";var ci=e=>X0(o,{...e,children:X0("path",{d:"M8 8v8h8"})});import{jsx as K0,jsxs as wy}from"react/jsx-runtime";var si=e=>wy(o,{...e,children:[K0("path",{d:"M11 5v8h8"}),K0("path",{d:"M7 9v8h8"})]});import{jsx as Z0}from"react/jsx-runtime";var ii=e=>Z0(o,{...e,children:Z0("path",{d:"M16 8v8h-8"})});import{jsx as Q0,jsxs as ky}from"react/jsx-runtime";var pi=e=>ky(o,{...e,children:[Q0("path",{d:"M13 5v8h-8"}),Q0("path",{d:"M17 9v8h-8"})]});import{jsx as Y0}from"react/jsx-runtime";var St=e=>Y0(o,{...e,children:Y0("path",{d:"M15 6l-6 6l6 6"})});import{jsx as J0,jsxs as By}from"react/jsx-runtime";var di=e=>By(o,{...e,children:[J0("path",{d:"M11 7l-5 5l5 5"}),J0("path",{d:"M17 7l-5 5l5 5"})]});import{jsx as j0}from"react/jsx-runtime";var je=e=>j0(o,{...e,children:j0("path",{d:"M9 6l6 6l-6 6"})});import{jsx as ef,jsxs as Ry}from"react/jsx-runtime";var Yn=e=>Ry(o,{...e,children:[ef("path",{d:"M7 7l5 5l-5 5"}),ef("path",{d:"M13 7l5 5l-5 5"})]});import{jsx as tf,jsxs as Ly}from"react/jsx-runtime";var mi=e=>Ly(o,{...e,children:[tf("path",{d:"M8 9l4 -4l4 4"}),tf("path",{d:"M16 15l-4 4l-4 -4"})]});import{jsx as of}from"react/jsx-runtime";var Mt=e=>of(o,{...e,children:of("path",{d:"M6 15l6 -6l6 6"})});import{jsx as nf,jsxs as Dy}from"react/jsx-runtime";var ui=e=>Dy(o,{...e,children:[nf("path",{d:"M7 11l5 -5l5 5"}),nf("path",{d:"M7 17l5 -5l5 5"})]});import{jsx as rf}from"react/jsx-runtime";var hi=e=>rf(o,{...e,children:rf("path",{d:"M8 16v-8h8"})});import{jsx as af,jsxs as Ty}from"react/jsx-runtime";var fi=e=>Ty(o,{...e,children:[af("path",{d:"M7 15v-8h8"}),af("path",{d:"M11 19v-8h8"})]});import{jsx as lf}from"react/jsx-runtime";var gi=e=>lf(o,{...e,children:lf("path",{d:"M8 8h8v8"})});import{jsx as cf,jsxs as Ny}from"react/jsx-runtime";var vi=e=>Ny(o,{...e,children:[cf("path",{d:"M9 7h8v8"}),cf("path",{d:"M5 11h8v8"})]});import{jsx as jo,jsxs as Fy}from"react/jsx-runtime";var Ii=e=>Fy(o,{...e,children:[jo("path",{d:"M3 12l3 0"}),jo("path",{d:"M12 3l0 3"}),jo("path",{d:"M7.8 7.8l-2.2 -2.2"}),jo("path",{d:"M16.2 7.8l2.2 -2.2"}),jo("path",{d:"M7.8 16.2l-2.2 2.2"}),jo("path",{d:"M12 12l9 3l-4 2l-2 4l-3 -9"})]});import{jsx as sf,jsxs as Ey}from"react/jsx-runtime";var bi=e=>Ey(o,{...e,children:[sf("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),sf("path",{d:"M12 7v5l3 3"})]});import{jsx as Ua,jsxs as Ay}from"react/jsx-runtime";var yi=e=>Ay(o,{...e,children:[Ua("path",{d:"M12 7v5l2 2"}),Ua("path",{d:"M16.5 20.5l2 -1.5l-2 -1.5z"}),Ua("path",{d:"M19 20.5l2 -1.5l-2 -1.5z"}),Ua("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as Ci,jsxs as zy}from"react/jsx-runtime";var xi=e=>zy(o,{...e,children:[Ci("path",{d:"M12 7v5l2 2"}),Ci("path",{d:"M17 22l5 -3l-5 -3z"}),Ci("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as pf,jsxs as Oy}from"react/jsx-runtime";var Pi=e=>Oy(o,{...e,children:[pf("path",{d:"M12 8l0 4l2 2"}),pf("path",{d:"M3.05 13a9 9 0 1 0 .5 -4m-.5 -5v5h5"})]});import{jsx as Jn,jsxs as _y}from"react/jsx-runtime";var Si=e=>_y(o,{...e,children:[Jn("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Jn("path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667v-8.666"}),Jn("path",{d:"M11 14h6"}),Jn("path",{d:"M14 11v6"}),Jn("path",{d:"M4.012 16.737a2 2 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"})]});import{jsx as Mi,jsxs as Hy}from"react/jsx-runtime";var wi=e=>Hy(o,{...e,children:[Mi("path",{d:"M7 8l-4 4l4 4"}),Mi("path",{d:"M17 8l4 4l-4 4"}),Mi("path",{d:"M14 4l-4 16"})]});import{jsx as en,jsxs as Uy}from"react/jsx-runtime";var ki=e=>Uy(o,{...e,children:[en("path",{d:"M4 8h16"}),en("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),en("path",{d:"M8 4v4"}),en("path",{d:"M9 12l-2 2l2 2"}),en("path",{d:"M15 12l2 2l-2 2"}),en("path",{d:"M13 11l-2 6"})]});import{jsx as Bi,jsxs as Gy}from"react/jsx-runtime";var Ri=e=>Gy(o,{...e,children:[Bi("path",{d:"M10 14l-2 -2l2 -2"}),Bi("path",{d:"M14 10l2 2l-2 2"}),Bi("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Li,jsxs as Vy}from"react/jsx-runtime";var Di=e=>Vy(o,{...e,children:[Li("path",{d:"M12 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Li("path",{d:"M6.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Li("path",{d:"M17.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})]});import{jsx as df,jsxs as Wy}from"react/jsx-runtime";var Ti=e=>Wy(o,{...e,children:[df("path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z"}),df("path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"})]});import{jsx as mf,jsxs as $y}from"react/jsx-runtime";var Ni=e=>$y(o,{...e,children:[mf("path",{d:"M8 10a2 2 0 0 1 2 -2h9a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-9a2 2 0 0 1 -2 -2z"}),mf("path",{d:"M16 8v-3a2 2 0 0 0 -2 -2h-9a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h3"})]});import{jsx as Fi,jsxs as qy}from"react/jsx-runtime";var Ei=e=>qy(o,{...e,children:[Fi("path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z"}),Fi("path",{d:"M4.012 16.737a2 2 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"}),Fi("path",{d:"M11 14l2 2l4 -4"})]});import{jsx as Ga,jsxs as Xy}from"react/jsx-runtime";var Ai=e=>Xy(o,{...e,children:[Ga("path",{d:"M3 5m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),Ga("path",{d:"M3 10l18 0"}),Ga("path",{d:"M7 15l.01 0"}),Ga("path",{d:"M11 15l2 0"})]});import{jsx as Va,jsxs as Ky}from"react/jsx-runtime";var zi=e=>Ky(o,{...e,children:[Va("path",{d:"M21 16.008v-8.018a1.98 1.98 0 0 0 -1 -1.717l-7 -4.008a2.016 2.016 0 0 0 -2 0l-7 4.008c-.619 .355 -1 1.01 -1 1.718v8.018c0 .709 .381 1.363 1 1.717l7 4.008a2.016 2.016 0 0 0 2 0l7 -4.008c.619 -.355 1 -1.01 1 -1.718z"}),Va("path",{d:"M12 22v-10"}),Va("path",{d:"M12 12l8.73 -5.04"}),Va("path",{d:"M3.27 6.96l8.73 5.04"})]});import{jsx as Ue,jsxs as Zy}from"react/jsx-runtime";var Oi=e=>Zy(o,{...e,children:[Ue("path",{d:"M6 17.6l-2 -1.1v-2.5"}),Ue("path",{d:"M4 10v-2.5l2 -1.1"}),Ue("path",{d:"M10 4.1l2 -1.1l2 1.1"}),Ue("path",{d:"M18 6.4l2 1.1v2.5"}),Ue("path",{d:"M20 14v2.5l-2 1.12"}),Ue("path",{d:"M14 19.9l-2 1.1l-2 -1.1"}),Ue("path",{d:"M12 12l2 -1.1"}),Ue("path",{d:"M18 8.6l2 -1.1"}),Ue("path",{d:"M12 12l0 2.5"}),Ue("path",{d:"M12 18.5l0 2.5"}),Ue("path",{d:"M12 12l-2 -1.12"}),Ue("path",{d:"M6 8.6l-2 -1.1"})]});import{jsx as uf,jsxs as Qy}from"react/jsx-runtime";var jn=e=>Qy(o,{...e,children:[uf("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v5.5M10.5 20h-5.5a2 2 0 0 1 -2 -2v-13"}),uf("path",{d:"M18 17l2.822 -1.101c.8125 -.317 .769 -1.481 -.065 -1.7365l-7.1595 -2.191c-.705 -.215 -1.365 .444 -1.149 1.149l2.191 7.159c.255 .834 1.42 .877 1.7365 .065l1.101 -2.822a.92 .92 0 0 1 .5225 -.5225"})]});import{jsx as go,jsxs as Yy}from"react/jsx-runtime";var _i=e=>Yy(o,{...e,children:[go("path",{d:"M5 2h5v4h-5z"}),go("path",{d:"M15 10h5v4h-5z"}),go("path",{d:"M5 18h5v4h-5z"}),go("path",{d:"M5 10h5v4h-5z"}),go("path",{d:"M10 12h5"}),go("path",{d:"M7.5 6v4"}),go("path",{d:"M7.5 14v4"})]});import{jsx as Ge,jsxs as Jy}from"react/jsx-runtime";var Hi=e=>Jy(o,{...e,children:[Ge("path",{d:"M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M12 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M20 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M4 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M16 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ge("path",{d:"M5 17l2 -3"}),Ge("path",{d:"M9 10l2 -3"}),Ge("path",{d:"M13 7l2 3"}),Ge("path",{d:"M17 14l2 3"}),Ge("path",{d:"M15 14l-2 3"}),Ge("path",{d:"M9 14l2 3"})]});import{jsx as er,jsxs as jy}from"react/jsx-runtime";var Ui=e=>jy(o,{...e,children:[er("path",{d:"M3 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M15 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1"}),er("path",{d:"M12 9l0 3"})]});import{jsx as Gi,jsxs as eC}from"react/jsx-runtime";var Vi=e=>eC(o,{...e,children:[Gi("path",{d:"M4 4l16 0"}),Gi("path",{d:"M4 20l16 0"}),Gi("path",{d:"M6 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]});import{jsx as hf,jsxs as tC}from"react/jsx-runtime";var Wi=e=>tC(o,{...e,children:[hf("path",{d:"M16.7 8a3 3 0 0 0 -2.7 -2h-4a3 3 0 0 0 0 6h4a3 3 0 0 1 0 6h-4a3 3 0 0 1 -2.7 -2"}),hf("path",{d:"M12 3v3m0 12v3"})]});import{jsx as $i,jsxs as oC}from"react/jsx-runtime";var qi=e=>oC(o,{...e,children:[$i("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),$i("path",{d:"M14.8 9a2 2 0 0 0 -1.8 -1h-2a2 2 0 1 0 0 4h2a2 2 0 1 1 0 4h-2a2 2 0 0 1 -1.8 -1"}),$i("path",{d:"M12 7v10"})]});import{jsx as ff}from"react/jsx-runtime";var Xi=e=>ff(o,{...e,children:ff("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})});import{jsx as gf}from"react/jsx-runtime";var Ki=e=>gf(o,{isFilled:!0,...e,children:gf("path",{d:"M12 7a5 5 0 1 1 -4.995 5.217l-.005 -.217l.005 -.217a5 5 0 0 1 4.995 -4.783z"})});import{jsx as wt,jsxs as nC}from"react/jsx-runtime";var Zi=e=>nC(o,{...e,children:[wt("path",{d:"M5 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M19 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M5 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),wt("path",{d:"M19 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Qi,jsxs as rC}from"react/jsx-runtime";var Yi=e=>rC(o,{...e,children:[Qi("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Qi("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Qi("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Ji,jsxs as aC}from"react/jsx-runtime";var tn=e=>aC(o,{...e,children:[Ji("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ji("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ji("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as ji,jsxs as lC}from"react/jsx-runtime";var ep=e=>lC(o,{...e,children:[ji("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),ji("path",{d:"M7 11l5 5l5 -5"}),ji("path",{d:"M12 4l0 12"})]});import{jsx as vf,jsxs as cC}from"react/jsx-runtime";var tp=e=>cC(o,{...e,children:[vf("path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),vf("path",{d:"M13.5 6.5l4 4"})]});import{jsx as op,jsxs as sC}from"react/jsx-runtime";var np=e=>sC(o,{...e,children:[op("path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"}),op("path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"}),op("path",{d:"M16 5l3 3"})]});import{jsx as $t,jsxs as iC}from"react/jsx-runtime";var rp=e=>iC(o,{...e,children:[$t("path",{d:"M16 4l4 0l0 4"}),$t("path",{d:"M14 10l6 -6"}),$t("path",{d:"M8 20l-4 0l0 -4"}),$t("path",{d:"M4 20l6 -6"}),$t("path",{d:"M16 20l4 0l0 -4"}),$t("path",{d:"M14 14l6 6"}),$t("path",{d:"M8 4l-4 0l0 4"}),$t("path",{d:"M4 4l6 6"})]});import{jsx as ap,jsxs as pC}from"react/jsx-runtime";var lp=e=>pC(o,{...e,children:[ap("path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"}),ap("path",{d:"M11 13l9 -9"}),ap("path",{d:"M15 4h5v5"})]});import{jsx as cp,jsxs as dC}from"react/jsx-runtime";var sp=e=>dC(o,{...e,children:[cp("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),cp("path",{d:"M15 9l-6 6"}),cp("path",{d:"M10 9l5 0l0 5"})]});import{jsx as If,jsxs as mC}from"react/jsx-runtime";var ip=e=>mC(o,{...e,children:[If("path",{d:"M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),If("path",{d:"M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"})]});import{jsx as pp,jsxs as uC}from"react/jsx-runtime";var dp=e=>uC(o,{...e,children:[pp("path",{d:"M10.585 10.587a2 2 0 0 0 2.829 2.828"}),pp("path",{d:"M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87"}),pp("path",{d:"M3 3l18 18"})]});import{jsx as tr,jsxs as hC}from"react/jsx-runtime";var mp=e=>hC(o,{...e,children:[tr("path",{d:"M21 9c-2.4 2.667 -5.4 4 -9 4c-3.6 0 -6.6 -1.333 -9 -4"}),tr("path",{d:"M3 15l2.5 -3.8"}),tr("path",{d:"M21 14.976l-2.492 -3.776"}),tr("path",{d:"M9 17l.5 -4"}),tr("path",{d:"M15 17l-.5 -4"})]});import{jsx as Wa,jsxs as fC}from"react/jsx-runtime";var up=e=>fC(o,{...e,children:[Wa("path",{d:"M12 21a9 9 0 1 1 0 -18a9 9 0 0 1 0 18z"}),Wa("path",{d:"M8 9l2 1"}),Wa("path",{d:"M16 9l-2 1"}),Wa("path",{d:"M14.5 16.05a3.5 3.5 0 0 0 -5 0"})]});import{jsx as on,jsxs as gC}from"react/jsx-runtime";var hp=e=>gC(o,{...e,children:[on("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),on("path",{d:"M7 8.5l3 3"}),on("path",{d:"M7 11.5l3 -3"}),on("path",{d:"M14 8.5l3 3"}),on("path",{d:"M14 11.5l3 -3"}),on("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as $a,jsxs as vC}from"react/jsx-runtime";var fp=e=>vC(o,{...e,children:[$a("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),$a("path",{d:"M9 10l.01 0"}),$a("path",{d:"M15 10l.01 0"}),$a("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as bf,jsxs as IC}from"react/jsx-runtime";var vo=e=>IC(o,{...e,children:[bf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),bf("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"})]});import{jsx as gp,jsxs as bC}from"react/jsx-runtime";var vp=e=>bC(o,{...e,children:[gp("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),gp("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),gp("path",{d:"M9 15l2 2l4 -4"})]});import{jsx as or,jsxs as yC}from"react/jsx-runtime";var nr=e=>yC(o,{...e,children:[or("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),or("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),or("path",{d:"M7 16.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0"}),or("path",{d:"M10 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),or("path",{d:"M16 15l2 6l2 -6"})]});import{jsx as qa,jsxs as CC}from"react/jsx-runtime";var Ip=e=>CC(o,{...e,children:[qa("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),qa("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),qa("path",{d:"M12 17v-6"}),qa("path",{d:"M9.5 14.5l2.5 2.5l2.5 -2.5"})]});import{jsx as nn,jsxs as xC}from"react/jsx-runtime";var rr=e=>xC(o,{...e,children:[nn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),nn("path",{d:"M5 12v-8a2 2 0 0 1 2 -2h7l5 5v5"}),nn("path",{d:"M4 15.125h2.5v4.5a1.25 1.25 0 0 1 -2.5 0v-.5"}),nn("path",{d:"M8.5 20.25c0 .345 .28 .625 .625 .625h1a.875 .875 0 0 0 .875 -.875v-1.125a.875 .875 0 0 0 -.875 -.875h-.75a.875 .875 0 0 1 -.875 -.875v-1.125a.875 .875 0 0 1 .875 -.875h1a.625 .625 0 0 1 .625 .625"}),nn("path",{d:"M14.25 15.125a1.25 1.25 0 0 1 1.25 1.25v3.25a1.25 1.25 0 1 1 -2.5 0v-3.25a1.25 1.25 0 0 1 1.25 -1.25z"}),nn("path",{d:"M17.5 20.875v-5.75l2.5 5.75v-5.75"})]});import{jsx as Xa,jsxs as PC}from"react/jsx-runtime";var bp=e=>PC(o,{...e,children:[Xa("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Xa("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Xa("path",{d:"M9 17h6"}),Xa("path",{d:"M9 13h6"})]});import{jsx as Ka,jsxs as SC}from"react/jsx-runtime";var Ve=e=>SC(o,{...e,children:[Ka("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Ka("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Ka("path",{d:"M11 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ka("path",{d:"M12 16l0 -5l2 1"})]});import{jsx as rn,jsxs as MC}from"react/jsx-runtime";var Io=e=>MC(o,{...e,children:[rn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),rn("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),rn("path",{d:"M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6"}),rn("path",{d:"M17 18h2"}),rn("path",{d:"M20 15h-3v6"}),rn("path",{d:"M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z"})]});import{jsx as yp,jsxs as wC}from"react/jsx-runtime";var Cp=e=>wC(o,{...e,children:[yp("path",{d:"M15 3v4a1 1 0 0 0 1 1h4"}),yp("path",{d:"M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2z"}),yp("path",{d:"M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2"})]});import{jsx as ar,jsxs as kC}from"react/jsx-runtime";var lr=e=>kC(o,{...e,children:[ar("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),ar("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),ar("path",{d:"M8 11h8v7h-8z"}),ar("path",{d:"M8 15h8"}),ar("path",{d:"M11 11v7"})]});import{jsx as cr,jsxs as BC}from"react/jsx-runtime";var kt=e=>BC(o,{...e,children:[cr("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),cr("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),cr("path",{d:"M9 9l1 0"}),cr("path",{d:"M9 13l6 0"}),cr("path",{d:"M9 17l6 0"})]});import{jsx as Za,jsxs as RC}from"react/jsx-runtime";var xp=e=>RC(o,{...e,children:[Za("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Za("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Za("path",{d:"M12 11v6"}),Za("path",{d:"M9.5 13.5l2.5 -2.5l2.5 2.5"})]});import{jsx as an,jsxs as LC}from"react/jsx-runtime";var sr=e=>LC(o,{...e,children:[an("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),an("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),an("path",{d:"M4 15l4 6"}),an("path",{d:"M4 21l4 -6"}),an("path",{d:"M17 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),an("path",{d:"M11 15v6h3"})]});import{jsx as qt,jsxs as DC}from"react/jsx-runtime";var ir=e=>DC(o,{...e,children:[qt("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),qt("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v5"}),qt("path",{d:"M4 16l3 5"}),qt("path",{d:"M4 21l3 -5"}),qt("path",{d:"M8.5 16v5h2"}),qt("path",{d:"M12 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-0.5a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-0.5a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),qt("path",{d:"M16.5 16l3 5"}),qt("path",{d:"M16.5 21l3 -5"})]});import{jsx as Xt,jsxs as TC}from"react/jsx-runtime";var ct=e=>TC(o,{...e,children:[Xt("path",{d:"M6 20.735a2 2 0 0 1 -1 -1.735v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-1"}),Xt("path",{d:"M11 17a2 2 0 0 1 2 2v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-2a2 2 0 0 1 2 -2z"}),Xt("path",{d:"M11 5l-1 0"}),Xt("path",{d:"M13 7l-1 0"}),Xt("path",{d:"M11 9l-1 0"}),Xt("path",{d:"M13 11l-1 0"}),Xt("path",{d:"M11 13l-1 0"}),Xt("path",{d:"M13 15l-1 0"})]});import{jsx as yf}from"react/jsx-runtime";var Pp=e=>yf(o,{...e,children:yf("path",{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z"})});import{jsx as Sp,jsxs as NC}from"react/jsx-runtime";var pr=e=>NC(o,{...e,children:[Sp("path",{d:"M4 6h16"}),Sp("path",{d:"M6 12h12"}),Sp("path",{d:"M9 18h6"})]});import{jsx as Cf,jsxs as FC}from"react/jsx-runtime";var Mp=e=>FC(o,{...e,children:[Cf("path",{d:"M5 5a5 5 0 0 1 7 0a5 5 0 0 0 7 0v9a5 5 0 0 1 -7 0a5 5 0 0 0 -7 0v-9z"}),Cf("path",{d:"M5 21v-7"})]});import{jsx as xf}from"react/jsx-runtime";var wp=e=>xf(o,{...e,children:xf("path",{d:"M5 14h14v-9h-14v16"})});import{jsx as Pf}from"react/jsx-runtime";var kp=e=>Pf(o,{isFilled:!0,...e,children:Pf("path",{d:"M4 5a1 1 0 0 1 .3 -.714a6 6 0 0 1 8.213 -.176l.351 .328a4 4 0 0 0 5.272 0l.249 -.227c.61 -.483 1.527 -.097 1.61 .676l.005 .113v9a1 1 0 0 1 -.3 .714a6 6 0 0 1 -8.213 .176l-.351 -.328a4 4 0 0 0 -5.136 -.114v6.552a1 1 0 0 1 -1.993 .117l-.007 -.117v-16z"})});import{jsx as dr,jsxs as EC}from"react/jsx-runtime";var Bp=e=>EC(o,{...e,children:[dr("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),dr("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),dr("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),dr("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),dr("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as Sf}from"react/jsx-runtime";var Rp=e=>Sf(o,{...e,children:Sf("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"})});import{jsx as Qa,jsxs as AC}from"react/jsx-runtime";var Lp=e=>AC(o,{...e,children:[Qa("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-0.5m0 -8v-2.5a2 2 0 0 1 2 -2"}),Qa("path",{d:"M1 12.5l7 0"}),Qa("path",{d:"M1 12.5l2 2"}),Qa("path",{d:"M1 12.5l2 -2"})]});import{jsx as Ya,jsxs as zC}from"react/jsx-runtime";var Dp=e=>zC(o,{...e,children:[Ya("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-1m0 -6v-4a2 2 0 0 1 2 -2"}),Ya("path",{d:"M2 13l7 0"}),Ya("path",{d:"M9 13l-2 2"}),Ya("path",{d:"M9 13l-2 -2"})]});import{jsx as Mf,jsxs as OC}from"react/jsx-runtime";var Tp=e=>OC(o,{...e,children:[Mf("path",{d:"M22 9l-10 -4l-10 4l10 4l10 -4v6"}),Mf("path",{d:"M6 10.6v5.4a6 3 0 0 0 12 0v-5.4"})]});import{jsx as ln,jsxs as _C}from"react/jsx-runtime";var Np=e=>_C(o,{...e,children:[ln("path",{d:"M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Ja,jsxs as HC}from"react/jsx-runtime";var Fp=e=>HC(o,{...e,children:[Ja("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),Ja("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),Ja("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),Ja("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"})]});import{jsx as cn,jsxs as UC}from"react/jsx-runtime";var Ep=e=>UC(o,{...e,children:[cn("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),cn("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),cn("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),cn("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v5"}),cn("path",{d:"M14 22h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"}),cn("path",{d:"M22 16c0 4 -2.5 6 -3.5 6s-3.5 -2 -3.5 -6c1 0 2.5 -.5 3.5 -1.5c1 1 2.5 1.5 3.5 1.5"})]});import{jsx as ja,jsxs as GC}from"react/jsx-runtime";var Ap=e=>GC(o,{...e,children:[ja("path",{d:"M5 9l14 0"}),ja("path",{d:"M5 15l14 0"}),ja("path",{d:"M11 4l-4 16"}),ja("path",{d:"M17 4l-4 16"})]});import{jsx as el,jsxs as VC}from"react/jsx-runtime";var zp=e=>VC(o,{...e,children:[el("path",{d:"M4 14v-3a8 8 0 1 1 16 0v3"}),el("path",{d:"M18 19c0 1.657 -2.686 3 -6 3"}),el("path",{d:"M4 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z"}),el("path",{d:"M15 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z"})]});import{jsx as wf}from"react/jsx-runtime";var Op=e=>wf(o,{...e,children:wf("path",{d:"M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"})});import{jsx as kf}from"react/jsx-runtime";var _p=e=>kf(o,{isFilled:!0,...e,children:kf("path",{d:"M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z"})});import{jsx as Hp,jsxs as WC}from"react/jsx-runtime";var Up=e=>WC(o,{...e,children:[Hp("path",{d:"M5 12l-2 0l9 -9l9 9l-2 0"}),Hp("path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"}),Hp("path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"})]});import{jsx as Bf,jsxs as $C}from"react/jsx-runtime";var mr=e=>$C(o,{...e,children:[Bf("path",{d:"M19 8.71l-5.333 -4.148a2.666 2.666 0 0 0 -3.274 0l-5.334 4.148a2.665 2.665 0 0 0 -1.029 2.105v7.2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-7.2c0 -.823 -.38 -1.6 -1.03 -2.105"}),Bf("path",{d:"M16 15c-2.21 1.333 -5.792 1.333 -8 0"})]});import{jsx as tl,jsxs as qC}from"react/jsx-runtime";var we=e=>qC(o,{...e,children:[tl("path",{d:"M15 8h.01"}),tl("path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z"}),tl("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),tl("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3"})]});import{jsx as ur,jsxs as XC}from"react/jsx-runtime";var Gp=e=>XC(o,{...e,children:[ur("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),ur("path",{d:"M4 16l16 0"}),ur("path",{d:"M4 12l3 -3c.928 -.893 2.072 -.893 3 0l4 4"}),ur("path",{d:"M13 12l2 -2c.928 -.893 2.072 -.893 3 0l2 2"}),ur("path",{d:"M14 7l.01 0"})]});import{jsx as hr,jsxs as KC}from"react/jsx-runtime";var Vp=e=>KC(o,{...e,children:[hr("path",{d:"M15 8h.01"}),hr("path",{d:"M11.5 21h-5.5a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v7"}),hr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l4 4"}),hr("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l.5 .5"}),hr("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as fr,jsxs as ZC}from"react/jsx-runtime";var Wp=e=>ZC(o,{...e,children:[fr("path",{d:"M15 8h.01"}),fr("path",{d:"M7 3h11a3 3 0 0 1 3 3v11m-.856 3.099a2.991 2.991 0 0 1 -2.144 .901h-12a3 3 0 0 1 -3 -3v-12c0 -.845 .349 -1.608 .91 -2.153"}),fr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),fr("path",{d:"M16.33 12.338c.574 -.054 1.155 .166 1.67 .662l3 3"}),fr("path",{d:"M3 3l18 18"})]});import{jsx as Rf,jsxs as QC}from"react/jsx-runtime";var $p=e=>QC(o,{...e,children:[Rf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Rf("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-5.5m-9.5 -2h7m-3 -3l3 3l-3 3"})]});import{jsx as Lf,jsxs as YC}from"react/jsx-runtime";var qp=e=>YC(o,{...e,children:[Lf("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Lf("path",{d:"M4 13h3l3 3h4l3 -3h3"})]});import{jsx as Xp,jsxs as JC}from"react/jsx-runtime";var Kp=e=>JC(o,{...e,children:[Xp("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Xp("path",{d:"M12 9h.01"}),Xp("path",{d:"M11 12h1v4h1"})]});import{jsx as Zp,jsxs as jC}from"react/jsx-runtime";var Qp=e=>jC(o,{...e,children:[Zp("path",{d:"M19.875 6.27c.7 .398 1.13 1.143 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033z"}),Zp("path",{d:"M12 9h.01"}),Zp("path",{d:"M11 12h1v4h1"})]});import{jsx as Yp,jsxs as ex}from"react/jsx-runtime";var Jp=e=>ex(o,{...e,children:[Yp("path",{d:"M11 5l6 0"}),Yp("path",{d:"M7 19l6 0"}),Yp("path",{d:"M14 5l-4 14"})]});import{jsx as jp,jsxs as tx}from"react/jsx-runtime";var ed=e=>tx(o,{...e,children:[jp("path",{d:"M12 4l-8 4l8 4l8 -4l-8 -4"}),jp("path",{d:"M4 12l8 4l8 -4"}),jp("path",{d:"M4 16l8 4l8 -4"})]});import{jsx as Df,jsxs as ox}from"react/jsx-runtime";var td=e=>ox(o,{...e,children:[Df("path",{d:"M12 6l-8 4l8 4l8 -4l-8 -4"}),Df("path",{d:"M4 14l8 4l8 -4"})]});import{jsx as Tf,jsxs as nx}from"react/jsx-runtime";var od=e=>nx(o,{...e,children:[Tf("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Tf("path",{d:"M9 4l0 16"})]});import{jsx as nd,jsxs as rx}from"react/jsx-runtime";var rd=e=>rx(o,{...e,children:[nd("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),nd("path",{d:"M4 13m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),nd("path",{d:"M14 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"})]});import{jsx as ol,jsxs as ax}from"react/jsx-runtime";var ad=e=>ax(o,{...e,children:[ol("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),ol("path",{d:"M4 9h8"}),ol("path",{d:"M12 15h8"}),ol("path",{d:"M12 4v16"})]});import{jsx as gr,jsxs as lx}from"react/jsx-runtime";var ld=e=>lx(o,{...e,children:[gr("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),gr("path",{d:"M4 12h8"}),gr("path",{d:"M12 15h8"}),gr("path",{d:"M12 9h8"}),gr("path",{d:"M12 4v16"})]});import{jsx as cd,jsxs as cx}from"react/jsx-runtime";var sd=e=>cx(o,{...e,children:[cd("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),cd("path",{d:"M10 4l4 16"}),cd("path",{d:"M12 12l-8 2"})]});import{jsx as nl,jsxs as sx}from"react/jsx-runtime";var id=e=>sx(o,{...e,children:[nl("path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),nl("path",{d:"M14 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),nl("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),nl("path",{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"})]});import{jsx as sn,jsxs as ix}from"react/jsx-runtime";var pd=e=>ix(o,{...e,children:[sn("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),sn("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),sn("path",{d:"M15 15l3.35 3.35"}),sn("path",{d:"M9 15l-3.35 3.35"}),sn("path",{d:"M5.65 5.65l3.35 3.35"}),sn("path",{d:"M18.35 5.65l-3.35 3.35"})]});import{jsx as dd,jsxs as px}from"react/jsx-runtime";var md=e=>px(o,{...e,children:[dd("path",{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"}),dd("path",{d:"M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"}),dd("path",{d:"M9.7 17l4.6 0"})]});import{jsx as Nf}from"react/jsx-runtime";var ud=e=>Nf(o,{...e,children:Nf("path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11"})});import{jsx as Ff,jsxs as dx}from"react/jsx-runtime";var hd=e=>dx(o,{...e,children:[Ff("path",{d:"M16 3l0 7l4 0l-6 11l0 -7l-4 0l6 -11"}),Ff("path",{d:"M5 7h4M3 13h4M5 19h4"})]});import{jsx as Ef,jsxs as mx}from"react/jsx-runtime";var fd=e=>mx(o,{...e,children:[Ef("path",{d:"M4 19l16 0"}),Ef("path",{d:"M4 15l4 -6l4 2l4 -5l4 4"})]});import{jsx as pn,jsxs as ux}from"react/jsx-runtime";var gd=e=>ux(o,{...e,children:[pn("path",{d:"M3 3v18h18"}),pn("path",{d:"M20 18v3"}),pn("path",{d:"M16 16v5"}),pn("path",{d:"M12 13v8"}),pn("path",{d:"M8 16v5"}),pn("path",{d:"M3 11c6 0 5 -5 9 -5s3 5 9 5"})]});import{jsx as dn,jsxs as hx}from"react/jsx-runtime";var vd=e=>hx(o,{...e,children:[dn("path",{d:"M10.5 3h-5.5a2 2 0 0 0 -2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2 -2v-5.5"}),dn("path",{d:"M3 13c0 0, 8 0, 12 -4"}),dn("path",{d:"M12 8h4v4"}),dn("path",{d:"M15 2v1.44"}),dn("path",{d:"M18.75 4.75l1.2 -1.2"}),dn("path",{d:"M20 9h1.44"})]});import{jsx as Id,jsxs as fx}from"react/jsx-runtime";var bd=e=>fx(o,{...e,children:[Id("path",{d:"M4 19l16 0"}),Id("path",{d:"M4 16l6 -6l4 4l5 -5"}),Id("path",{d:"M15 8h5v5"})]});import{jsx as Af,jsxs as gx}from"react/jsx-runtime";var yd=e=>gx(o,{...e,children:[Af("path",{d:"M5 10h14"}),Af("path",{d:"M5 14h14"})]});import{jsx as mn,jsxs as vx}from"react/jsx-runtime";var Cd=e=>vx(o,{...e,children:[mn("path",{d:"M3.5 5.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M3.5 11.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M3.5 17.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M11 6l9 0"}),mn("path",{d:"M11 12l9 0"}),mn("path",{d:"M11 18l9 0"})]});import{jsx as rl,jsxs as Ix}from"react/jsx-runtime";var xd=e=>Ix(o,{...e,children:[rl("path",{d:"M12 10v8l8 -4z"}),rl("path",{d:"M4 6h16"}),rl("path",{d:"M4 12h4.5"}),rl("path",{d:"M4 18h4.5"})]});import{jsx as Pd,jsxs as bx}from"react/jsx-runtime";var Sd=e=>bx(o,{...e,children:[Pd("path",{d:"M9 15l6 -6"}),Pd("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),Pd("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]});import{jsx as zf,jsxs as yx}from"react/jsx-runtime";var Md=e=>yx(o,{...e,children:[zf("path",{d:"M9.183 6.117a6 6 0 1 0 4.511 3.986"}),zf("path",{d:"M14.813 17.883a6 6 0 1 0 -4.496 -3.954"})]});import{jsx as al,jsxs as Cx}from"react/jsx-runtime";var wd=e=>Cx(o,{...e,children:[al("path",{d:"M9 15l3 -3m2 -2l1 -1"}),al("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),al("path",{d:"M3 3l18 18"}),al("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]});import{jsx as un,jsxs as xx}from"react/jsx-runtime";var kd=e=>xx(o,{...e,children:[un("path",{d:"M9 6l11 0"}),un("path",{d:"M9 12l11 0"}),un("path",{d:"M9 18l11 0"}),un("path",{d:"M5 6l0 .01"}),un("path",{d:"M5 12l0 .01"}),un("path",{d:"M5 18l0 .01"})]});import{jsx as vr,jsxs as Px}from"react/jsx-runtime";var Bd=e=>Px(o,{...e,children:[vr("path",{d:"M11 6h9"}),vr("path",{d:"M11 12h9"}),vr("path",{d:"M12 18h8"}),vr("path",{d:"M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4"}),vr("path",{d:"M6 10v-6l-2 2"})]});import{jsx as Rd,jsxs as Sx}from"react/jsx-runtime";var Ld=e=>Sx(o,{...e,children:[Rd("path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z"}),Rd("path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),Rd("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as Of}from"react/jsx-runtime";var Dd=e=>Of(o,{isFilled:!0,...e,children:Of("path",{d:"M12 2a5 5 0 0 1 5 5v3a3 3 0 0 1 3 3v6a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-6a3 3 0 0 1 3 -3v-3a5 5 0 0 1 5 -5m0 12a2 2 0 0 0 -1.995 1.85l-.005 .15a2 2 0 1 0 2 -2m0 -10a3 3 0 0 0 -3 3v3h6v-3a3 3 0 0 0 -3 -3"})});import{jsx as Td,jsxs as Mx}from"react/jsx-runtime";var Nd=e=>Mx(o,{...e,children:[Td("path",{d:"M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}),Td("path",{d:"M3 12h13l-3 -3"}),Td("path",{d:"M13 15l3 -3"})]});import{jsx as Fd,jsxs as wx}from"react/jsx-runtime";var Ed=e=>wx(o,{...e,children:[Fd("path",{d:"M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"}),Fd("path",{d:"M9 12h12l-3 -3"}),Fd("path",{d:"M18 15l3 -3"})]});import{jsx as Ad,jsxs as kx}from"react/jsx-runtime";var zd=e=>kx(o,{...e,children:[Ad("path",{d:"M10 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}),Ad("path",{d:"M15 12h-12l3 -3"}),Ad("path",{d:"M6 15l-3 -3"})]});import{jsx as ll,jsxs as Bx}from"react/jsx-runtime";var Od=e=>Bx(o,{...e,children:[ll("path",{d:"M6 21l15 -15l-3 -3l-15 15l3 3"}),ll("path",{d:"M15 6l3 3"}),ll("path",{d:"M9 3a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"}),ll("path",{d:"M19 13a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"})]});import{jsx as _f,jsxs as Rx}from"react/jsx-runtime";var _d=e=>Rx(o,{...e,children:[_f("path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z"}),_f("path",{d:"M3 7l9 6l9 -6"})]});import{jsx as cl,jsxs as Lx}from"react/jsx-runtime";var Hd=e=>Lx(o,{...e,children:[cl("path",{d:"M3 9l9 6l9 -6l-9 -6l-9 6"}),cl("path",{d:"M21 9v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10"}),cl("path",{d:"M3 19l6 -6"}),cl("path",{d:"M15 13l6 6"})]});import{jsx as Hf,jsxs as Dx}from"react/jsx-runtime";var Ud=e=>Dx(o,{...e,children:[Hf("path",{d:"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),Hf("path",{d:"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z"})]});import{jsx as sl,jsxs as Tx}from"react/jsx-runtime";var Gd=e=>Tx(o,{...e,children:[sl("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),sl("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),sl("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),sl("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as il,jsxs as Nx}from"react/jsx-runtime";var Vd=e=>Nx(o,{...e,children:[il("path",{d:"M16 4l4 0l0 4"}),il("path",{d:"M14 10l6 -6"}),il("path",{d:"M8 20l-4 0l0 -4"}),il("path",{d:"M4 20l6 -6"})]});import{jsx as Uf}from"react/jsx-runtime";var Wd=e=>Uf(o,{...e,children:Uf("path",{d:"M3 20l1.3 -3.9c-2.324 -3.437 -1.426 -7.872 2.1 -10.374c3.526 -2.501 8.59 -2.296 11.845 .48c3.255 2.777 3.695 7.266 1.029 10.501c-2.666 3.235 -7.615 4.215 -11.574 2.293l-4.7 1"})});import{jsx as $d,jsxs as Fx}from"react/jsx-runtime";var qd=e=>Fx(o,{...e,children:[$d("path",{d:"M8 9h8"}),$d("path",{d:"M8 13h6"}),$d("path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12z"})]});import{jsx as pl,jsxs as Ex}from"react/jsx-runtime";var Xd=e=>Ex(o,{...e,children:[pl("path",{d:"M12 11v.01"}),pl("path",{d:"M8 11v.01"}),pl("path",{d:"M16 11v.01"}),pl("path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3z"})]});import{jsx as Ir,jsxs as Ax}from"react/jsx-runtime";var Kd=e=>Ax(o,{...e,children:[Ir("path",{d:"M8 9h8"}),Ir("path",{d:"M8 13h6"}),Ir("path",{d:"M13 18l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v6"}),Ir("path",{d:"M22 22l-5 -5"}),Ir("path",{d:"M17 22l5 -5"})]});import{jsx as dl,jsxs as zx}from"react/jsx-runtime";var br=e=>zx(o,{...e,children:[dl("path",{d:"M9 2m0 3a3 3 0 0 1 3 -3h0a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3h0a3 3 0 0 1 -3 -3z"}),dl("path",{d:"M5 10a7 7 0 0 0 14 0"}),dl("path",{d:"M8 21l8 0"}),dl("path",{d:"M12 17l0 4"})]});import{jsx as ml,jsxs as Ox}from"react/jsx-runtime";var Zd=e=>Ox(o,{...e,children:[ml("path",{d:"M15 19v-2a2 2 0 0 1 2 -2h2"}),ml("path",{d:"M15 5v2a2 2 0 0 0 2 2h2"}),ml("path",{d:"M5 15h2a2 2 0 0 1 2 2v2"}),ml("path",{d:"M5 9h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as ul,jsxs as _x}from"react/jsx-runtime";var Qd=e=>_x(o,{...e,children:[ul("path",{d:"M18 10h-4v-4"}),ul("path",{d:"M20 4l-6 6"}),ul("path",{d:"M6 14h4v4"}),ul("path",{d:"M10 14l-6 6"})]});import{jsx as Gf,jsxs as Hx}from"react/jsx-runtime";var Yd=e=>Hx(o,{...e,children:[Gf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Gf("path",{d:"M9 12l6 0"})]});import{jsx as Jd,jsxs as Ux}from"react/jsx-runtime";var jd=e=>Ux(o,{...e,children:[Jd("path",{d:"M6 5a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14z"}),Jd("path",{d:"M11 4h2"}),Jd("path",{d:"M12 17v.01"})]});import{jsx as hl,jsxs as Gx}from"react/jsx-runtime";var em=e=>Gx(o,{...e,children:[hl("path",{d:"M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10z"}),hl("path",{d:"M7 20h10"}),hl("path",{d:"M9 16v4"}),hl("path",{d:"M15 16v4"})]});import{jsx as yr,jsxs as Vx}from"react/jsx-runtime";var tm=e=>Vx(o,{...e,children:[yr("path",{d:"M3 4a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-12z"}),yr("path",{d:"M3 13h18"}),yr("path",{d:"M8 21h8"}),yr("path",{d:"M10 17l-.5 4"}),yr("path",{d:"M14 17l.5 4"})]});import{jsx as Vf}from"react/jsx-runtime";var om=e=>Vf(o,{...e,children:Vf("path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"})});import{jsx as Wf,jsxs as Wx}from"react/jsx-runtime";var nm=e=>Wx(o,{...e,children:[Wf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Wf("path",{d:"M12 6c.088 0 .175 0 .262 0a5 5 0 0 0 5.28 8.297a6 6 0 1 1 -5.542 -8.303z"})]});import{jsx as Kt,jsxs as $x}from"react/jsx-runtime";var et=e=>$x(o,{...e,children:[Kt("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Kt("path",{d:"M8 4l0 16"}),Kt("path",{d:"M16 4l0 16"}),Kt("path",{d:"M4 8l4 0"}),Kt("path",{d:"M4 16l4 0"}),Kt("path",{d:"M4 12l16 0"}),Kt("path",{d:"M16 8l4 0"}),Kt("path",{d:"M16 16l4 0"})]});import{jsx as $f}from"react/jsx-runtime";var rm=e=>$f(o,{...e,children:$f("path",{d:"M12 18.5l7.265 2.463c.196 .077 .42 .032 .57 -.116a.548 .548 0 0 0 .134 -.572l-7.969 -17.275l-7.97 17.275c-.07 .2 -.017 .424 .135 .572c.15 .148 .374 .193 .57 .116l7.265 -2.463"})});import{jsx as qf,jsxs as qx}from"react/jsx-runtime";var am=e=>qx(o,{...e,children:[qf("path",{d:"M10 6h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3"}),qf("path",{d:"M17 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"})]});import{jsx as Cr,jsxs as Xx}from"react/jsx-runtime";var lm=e=>Xx(o,{...e,children:[Cr("path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5"}),Cr("path",{d:"M12 12l8 -4.5"}),Cr("path",{d:"M12 12l0 9"}),Cr("path",{d:"M12 12l-8 -4.5"}),Cr("path",{d:"M16 5.25l-8 4.5"})]});import{jsx as fl,jsxs as Kx}from"react/jsx-runtime";var cm=e=>Kx(o,{...e,children:[fl("path",{d:"M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25"}),fl("path",{d:"M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),fl("path",{d:"M12.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),fl("path",{d:"M16.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as xr,jsxs as Zx}from"react/jsx-runtime";var sm=e=>Zx(o,{...e,children:[xr("path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"}),xr("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"}),xr("path",{d:"M15 16h.01"}),xr("path",{d:"M12.01 16h.01"}),xr("path",{d:"M9.02 16h.01"})]});import{jsx as Xf,jsxs as Qx}from"react/jsx-runtime";var bo=e=>Qx(o,{...e,children:[Xf("path",{d:"M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),Xf("path",{d:"M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"})]});import{jsx as im,jsxs as Yx}from"react/jsx-runtime";var pm=e=>Yx(o,{...e,children:[im("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),im("path",{d:"M8 8m0 1a1 1 0 0 1 1 -1h1a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1z"}),im("path",{d:"M13 8m0 1a1 1 0 0 1 1 -1h1a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1z"})]});import{jsx as dm,jsxs as Jx}from"react/jsx-runtime";var mm=e=>Jx(o,{...e,children:[dm("path",{d:"M13 9a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1v-10z"}),dm("path",{d:"M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9"}),dm("path",{d:"M16 9h2"})]});import{jsx as um,jsxs as jx}from"react/jsx-runtime";var hm=e=>jx(o,{...e,children:[um("path",{d:"M14 6l7 7l-4 4"}),um("path",{d:"M5.828 18.172a2.828 2.828 0 0 0 4 0l10.586 -10.586a2 2 0 0 0 0 -2.829l-1.171 -1.171a2 2 0 0 0 -2.829 0l-10.586 10.586a2.828 2.828 0 0 0 0 4"}),um("path",{d:"M4 20l1.768 -1.768"})]});import{jsx as gl,jsxs as eP}from"react/jsx-runtime";var fm=e=>eP(o,{...e,children:[gl("path",{d:"M9 15l6 -6"}),gl("circle",{cx:"9.5",cy:"9.5",r:".5",fill:"currentColor"}),gl("circle",{cx:"14.5",cy:"14.5",r:".5",fill:"currentColor"}),gl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Kf}from"react/jsx-runtime";var gm=e=>Kf(o,{...e,children:Kf("path",{d:"M6.141 4.163l12 1.714a1 1 0 0 1 .859 .99v10.266a1 1 0 0 1 -.859 .99l-12 1.714a1 1 0 0 1 -1.141 -.99v-13.694a1 1 0 0 1 1.141 -.99z"})});import{jsx as vm,jsxs as tP}from"react/jsx-runtime";var Im=e=>tP(o,{...e,children:[vm("path",{d:"M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2"}),vm("path",{d:"M15 7a2 2 0 0 1 2 2"}),vm("path",{d:"M15 3a6 6 0 0 1 6 6"})]});import{jsx as bm,jsxs as oP}from"react/jsx-runtime";var Pr=e=>oP(o,{...e,children:[bm("path",{d:"M15 4.5l-4 4l-4 1.5l-1.5 1.5l7 7l1.5 -1.5l1.5 -4l4 -4"}),bm("path",{d:"M9 15l-4.5 4.5"}),bm("path",{d:"M14.5 4l5.5 5.5"})]});import{jsx as Zf}from"react/jsx-runtime";var yo=e=>Zf(o,{...e,children:Zf("path",{d:"M7 4v16l13 -8z"})});import{jsx as Qf,jsxs as nP}from"react/jsx-runtime";var ym=e=>nP(o,{...e,children:[Qf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Qf("path",{d:"M9 8v8l8 -4z"})]});import{jsx as Yf,jsxs as rP}from"react/jsx-runtime";var Sr=e=>rP(o,{...e,children:[Yf("path",{d:"M12 5l0 14"}),Yf("path",{d:"M5 12l14 0"})]});import{jsx as Cm,jsxs as aP}from"react/jsx-runtime";var Zt=e=>aP(o,{...e,children:[Cm("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Cm("path",{d:"M9 12h6"}),Cm("path",{d:"M12 9v6"})]});import{jsx as xm,jsxs as lP}from"react/jsx-runtime";var Pm=e=>lP(o,{...e,children:[xm("path",{d:"M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2"}),xm("path",{d:"M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4"}),xm("path",{d:"M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z"})]});import{jsx as Jf}from"react/jsx-runtime";var Sm=e=>Jf(o,{...e,children:Jf("path",{d:"M3 12h4l3 8l4 -16l3 8h4"})});import{jsx as Mm,jsxs as cP}from"react/jsx-runtime";var Mr=e=>cP(o,{...e,children:[Mm("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Mm("path",{d:"M12 16v.01"}),Mm("path",{d:"M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483"})]});import{jsx as jf,jsxs as sP}from"react/jsx-runtime";var wm=e=>sP(o,{...e,children:[jf("path",{d:"M10 11h-4a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v6c0 2.667 -1.333 4.333 -4 5"}),jf("path",{d:"M19 11h-4a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v6c0 2.667 -1.333 4.333 -4 5"})]});import{jsx as e2,jsxs as iP}from"react/jsx-runtime";var km=e=>iP(o,{...e,children:[e2("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),e2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as t2}from"react/jsx-runtime";var Bm=e=>t2(o,{isFilled:!0,...e,children:t2("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 6.66a2 2 0 0 0 -1.977 1.697l-.018 .154l-.005 .149l.005 .15a2 2 0 1 0 1.995 -2.15z"})});import{jsx as o2}from"react/jsx-runtime";var Rm=e=>o2(o,{...e,children:o2("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2m4 -14h6m-6 4h6m-2 4h2"})});import{jsx as n2,jsxs as pP}from"react/jsx-runtime";var Lm=e=>pP(o,{...e,children:[n2("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2"}),n2("path",{d:"M9 11l2 2l4 -4"})]});import{jsx as r2,jsxs as dP}from"react/jsx-runtime";var Dm=e=>dP(o,{...e,children:[r2("path",{d:"M15 14l4 -4l-4 -4"}),r2("path",{d:"M19 10h-11a4 4 0 1 0 0 8h1"})]});import{jsx as a2}from"react/jsx-runtime";var Tm=e=>a2(o,{...e,children:a2("path",{d:"M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5"})});import{jsx as l2,jsxs as mP}from"react/jsx-runtime";var Nm=e=>mP(o,{...e,children:[l2("path",{d:"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"}),l2("path",{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"})]});import{jsx as c2,jsxs as uP}from"react/jsx-runtime";var Fm=e=>uP(o,{...e,children:[c2("path",{d:"M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747"}),c2("path",{d:"M20 4v5h-5"})]});import{jsx as s2,jsxs as hP}from"react/jsx-runtime";var Em=e=>hP(o,{...e,children:[s2("path",{d:"M4 12v-3a3 3 0 0 1 3 -3h13m-3 -3l3 3l-3 3"}),s2("path",{d:"M20 12v3a3 3 0 0 1 -3 3h-13m3 3l-3 -3l3 -3"})]});import{jsx as vl,jsxs as fP}from"react/jsx-runtime";var Am=e=>fP(o,{...e,children:[vl("path",{d:"M3 3m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),vl("path",{d:"M15 15m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),vl("path",{d:"M21 11v-3a2 2 0 0 0 -2 -2h-6l3 3m0 -6l-3 3"}),vl("path",{d:"M3 13v3a2 2 0 0 0 2 2h6l-3 -3m0 6l3 -3"})]});import{jsx as i2}from"react/jsx-runtime";var zm=e=>i2(o,{...e,children:i2("path",{d:"M19.95 11a8 8 0 1 0 -.5 4m.5 5v-5h-5"})});import{jsx as Om,jsxs as gP}from"react/jsx-runtime";var _m=e=>gP(o,{...e,children:[Om("path",{d:"M3.06 13a9 9 0 1 0 .49 -4.087"}),Om("path",{d:"M3 4.001v5h5"}),Om("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Hm,jsxs as vP}from"react/jsx-runtime";var Um=e=>vP(o,{...e,children:[Hm("path",{d:"M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3 -5a9 9 0 0 0 6 -8a3 3 0 0 0 -3 -3a9 9 0 0 0 -8 6a6 6 0 0 0 -5 3"}),Hm("path",{d:"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3"}),Hm("path",{d:"M15 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as p2,jsxs as IP}from"react/jsx-runtime";var Gm=e=>IP(o,{...e,children:[p2("path",{d:"M10 3.2a9 9 0 1 0 10.8 10.8a1 1 0 0 0 -1 -1h-6.8a2 2 0 0 1 -2 -2v-7a.9 .9 0 0 0 -1 -.8"}),p2("path",{d:"M15 3.5a9 9 0 0 1 5.5 5.5h-4.5a1 1 0 0 1 -1 -1v-4.5"})]});import{jsx as d2,jsxs as bP}from"react/jsx-runtime";var Vm=e=>bP(o,{...e,children:[d2("path",{d:"M12 3v9h9"}),d2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Wm,jsxs as yP}from"react/jsx-runtime";var $m=e=>yP(o,{...e,children:[Wm("path",{d:"M3 19a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),Wm("path",{d:"M19 7a2 2 0 1 0 0 -4a2 2 0 0 0 0 4z"}),Wm("path",{d:"M11 19h5.5a3.5 3.5 0 0 0 0 -7h-8a3.5 3.5 0 0 1 0 -7h4.5"})]});import{jsx as qm,jsxs as CP}from"react/jsx-runtime";var Xm=e=>CP(o,{...e,children:[qm("path",{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"}),qm("path",{d:"M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qm("path",{d:"M14 4l0 4l-6 0l0 -4"})]});import{jsx as Qt,jsxs as xP}from"react/jsx-runtime";var Km=e=>xP(o,{...e,children:[Qt("path",{d:"M4 7v-1a2 2 0 0 1 2 -2h2"}),Qt("path",{d:"M4 17v1a2 2 0 0 0 2 2h2"}),Qt("path",{d:"M16 4h2a2 2 0 0 1 2 2v1"}),Qt("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-1"}),Qt("path",{d:"M5 11h1v2h-1z"}),Qt("path",{d:"M10 11l0 2"}),Qt("path",{d:"M14 11h1v2h-1z"}),Qt("path",{d:"M19 11l0 2"})]});import{jsx as Il,jsxs as PP}from"react/jsx-runtime";var wr=e=>PP(o,{...e,children:[Il("path",{d:"M6 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Il("path",{d:"M6 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Il("path",{d:"M8.6 8.6l10.4 10.4"}),Il("path",{d:"M8.6 15.4l10.4 -10.4"})]});import{jsx as m2,jsxs as SP}from"react/jsx-runtime";var Bt=e=>SP(o,{...e,children:[m2("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),m2("path",{d:"M21 21l-6 -6"})]});import{jsx as u2,jsxs as MP}from"react/jsx-runtime";var Zm=e=>MP(o,{...e,children:[u2("path",{d:"M10 14l11 -11"}),u2("path",{d:"M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5"})]});import{jsx as bl,jsxs as wP}from"react/jsx-runtime";var Qm=e=>wP(o,{...e,children:[bl("path",{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),bl("path",{d:"M3 12m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),bl("path",{d:"M7 8l0 .01"}),bl("path",{d:"M7 16l0 .01"})]});import{jsx as h2,jsxs as kP}from"react/jsx-runtime";var Ym=e=>kP(o,{...e,children:[h2("path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"}),h2("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"})]});import{jsx as Rt,jsxs as BP}from"react/jsx-runtime";var Jm=e=>BP(o,{...e,children:[Rt("path",{d:"M14 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Rt("path",{d:"M4 6l8 0"}),Rt("path",{d:"M16 6l4 0"}),Rt("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Rt("path",{d:"M4 12l2 0"}),Rt("path",{d:"M10 12l10 0"}),Rt("path",{d:"M17 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Rt("path",{d:"M4 18l11 0"}),Rt("path",{d:"M19 18l1 0"})]});import{jsx as kr,jsxs as RP}from"react/jsx-runtime";var jm=e=>RP(o,{...e,children:[kr("path",{d:"M6 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M18 6m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M8.7 10.7l6.6 -3.4"}),kr("path",{d:"M8.7 13.3l6.6 3.4"})]});import{jsx as f2,jsxs as LP}from"react/jsx-runtime";var eu=e=>LP(o,{...e,children:[f2("path",{d:"M13.342 20.566c-.436 .17 -.884 .315 -1.342 .434a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .117 6.34"}),f2("path",{d:"M19 16l-2 3h4l-2 3"})]});import{jsx as tu,jsxs as DP}from"react/jsx-runtime";var ou=e=>DP(o,{...e,children:[tu("path",{d:"M12.462 20.87c-.153 .047 -.307 .09 -.462 .13a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .11 6.37"}),tu("path",{d:"M16 19h6"}),tu("path",{d:"M19 16v6"})]});import{jsx as nu,jsxs as TP}from"react/jsx-runtime";var ru=e=>TP(o,{...e,children:[nu("path",{d:"M13.252 20.601c-.408 .155 -.826 .288 -1.252 .399a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.19 7.357"}),nu("path",{d:"M22 22l-5 -5"}),nu("path",{d:"M17 22l5 -5"})]});import{jsx as g2,jsxs as NP}from"react/jsx-runtime";var au=e=>NP(o,{...e,children:[g2("path",{d:"M6.331 8h11.339a2 2 0 0 1 1.977 2.304l-1.255 8.152a3 3 0 0 1 -2.966 2.544h-6.852a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304z"}),g2("path",{d:"M9 11v-5a3 3 0 0 1 6 0v5"})]});import{jsx as yl,jsxs as FP}from"react/jsx-runtime";var lu=e=>FP(o,{...e,children:[yl("path",{d:"M6 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),yl("path",{d:"M17 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),yl("path",{d:"M17 17h-11v-14h-2"}),yl("path",{d:"M6 5l14 1l-1 7h-13"})]});import{jsx as Yt,jsxs as EP}from"react/jsx-runtime";var cu=e=>EP(o,{...e,children:[Yt("path",{d:"M5 9l4 0l0 -4"}),Yt("path",{d:"M3 3l6 6"}),Yt("path",{d:"M5 15l4 0l0 4"}),Yt("path",{d:"M3 21l6 -6"}),Yt("path",{d:"M19 9l-4 0l0 -4"}),Yt("path",{d:"M15 9l6 -6"}),Yt("path",{d:"M19 15l-4 0l0 4"}),Yt("path",{d:"M15 15l6 6"})]});import{jsx as Cl,jsxs as AP}from"react/jsx-runtime";var su=e=>AP(o,{...e,children:[Cl("path",{d:"M18 4l3 3l-3 3"}),Cl("path",{d:"M18 20l3 -3l-3 -3"}),Cl("path",{d:"M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5"}),Cl("path",{d:"M21 7h-5a4.978 4.978 0 0 0 -3 1m-4 8a4.984 4.984 0 0 1 -3 1h-3"})]});import{jsx as v2,jsxs as zP}from"react/jsx-runtime";var iu=e=>zP(o,{...e,children:[v2("path",{d:"M4 5v14l12 -7z"}),v2("path",{d:"M20 5l0 14"})]});import{jsx as I2,jsxs as OP}from"react/jsx-runtime";var pu=e=>OP(o,{...e,children:[I2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),I2("path",{d:"M5.7 5.7l12.6 12.6"})]});import{jsx as b2,jsxs as _P}from"react/jsx-runtime";var du=e=>_P(o,{...e,children:[b2("path",{d:"M9.103 2h5.794a3 3 0 0 1 2.122 .879l4.101 4.1a3 3 0 0 1 .879 2.123v5.794a3 3 0 0 1 -.879 2.122l-4.1 4.101a3 3 0 0 1 -2.123 .879h-5.794a3 3 0 0 1 -2.122 -.879l-4.101 -4.1a3 3 0 0 1 -.879 -2.123v-5.794a3 3 0 0 1 .879 -2.122l4.1 -4.101a3 3 0 0 1 2.123 -.879z"}),b2("path",{d:"M5 5 L19 19"})]});import{jsx as Co,jsxs as HP}from"react/jsx-runtime";var mu=e=>HP(o,{...e,children:[Co("path",{d:"M4 10l0 6"}),Co("path",{d:"M20 10l0 6"}),Co("path",{d:"M7 9h10v8a1 1 0 0 1 -1 1h-8a1 1 0 0 1 -1 -1v-8a5 5 0 0 1 10 0"}),Co("path",{d:"M8 3l1 2"}),Co("path",{d:"M16 3l-1 2"}),Co("path",{d:"M9 18l0 3"}),Co("path",{d:"M15 18l0 3"})]});import{jsx as y2,jsxs as UP}from"react/jsx-runtime";var uu=e=>UP(o,{...e,children:[y2("path",{d:"M8.286 7.008c-3.216 0 -4.286 3.23 -4.286 5.92c0 3.229 2.143 8.072 4.286 8.072c1.165 -.05 1.799 -.538 3.214 -.538c1.406 0 1.607 .538 3.214 .538s4.286 -3.229 4.286 -5.381c-.03 -.011 -2.649 -.434 -2.679 -3.23c-.02 -2.335 2.589 -3.179 2.679 -3.228c-1.096 -1.606 -3.162 -2.113 -3.75 -2.153c-1.535 -.12 -3.032 1.077 -3.75 1.077c-.729 0 -2.036 -1.077 -3.214 -1.077z"}),y2("path",{d:"M12 4a2 2 0 0 0 2 -2a2 2 0 0 0 -2 2"})]});import{jsx as C2}from"react/jsx-runtime";var hu=e=>C2(o,{...e,children:C2("path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"})});import{jsx as Br,jsxs as GP}from"react/jsx-runtime";var fu=e=>GP(o,{...e,children:[Br("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Br("path",{d:"M3.6 9h16.8"}),Br("path",{d:"M3.6 15h16.8"}),Br("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),Br("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]});import{jsx as x2}from"react/jsx-runtime";var gu=e=>x2(o,{...e,children:x2("path",{d:"M20.945 11a9 9 0 1 1 -3.284 -5.997l-2.655 2.392a5.5 5.5 0 1 0 2.119 6.605h-4.125v-3h7.945z"})});import{jsx as vu,jsxs as VP}from"react/jsx-runtime";var Iu=e=>VP(o,{...e,children:[vu("path",{d:"M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z"}),vu("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),vu("path",{d:"M16.5 7.5v.01"})]});import{jsx as Rr,jsxs as WP}from"react/jsx-runtime";var bu=e=>WP(o,{...e,children:[Rr("path",{d:"M8 11v5"}),Rr("path",{d:"M8 8v.01"}),Rr("path",{d:"M12 16v-5"}),Rr("path",{d:"M16 16v-3a2 2 0 1 0 -4 0"}),Rr("path",{d:"M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z"})]});import{jsx as yu,jsxs as $P}from"react/jsx-runtime";var Cu=e=>$P(o,{...e,children:[yu("path",{d:"M14 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),yu("path",{d:"M12 9.765a3 3 0 1 0 0 4.47"}),yu("path",{d:"M3 5m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"})]});import{jsx as xo,jsxs as qP}from"react/jsx-runtime";var xu=e=>qP(o,{...e,children:[xo("path",{d:"M6.306 8.711c-2.602 .723 -4.306 1.926 -4.306 3.289c0 2.21 4.477 4 10 4c.773 0 1.526 -.035 2.248 -.102"}),xo("path",{d:"M17.692 15.289c2.603 -.722 4.308 -1.926 4.308 -3.289c0 -2.21 -4.477 -4 -10 -4c-.773 0 -1.526 .035 -2.25 .102"}),xo("path",{d:"M6.305 15.287c-.676 2.615 -.485 4.693 .695 5.373c1.913 1.105 5.703 -1.877 8.464 -6.66c.387 -.67 .733 -1.339 1.036 -2"}),xo("path",{d:"M17.694 8.716c.677 -2.616 .487 -4.696 -.694 -5.376c-1.913 -1.105 -5.703 1.877 -8.464 6.66c-.387 .67 -.733 1.34 -1.037 2"}),xo("path",{d:"M12 5.424c-1.925 -1.892 -3.82 -2.766 -5 -2.084c-1.913 1.104 -1.226 5.877 1.536 10.66c.386 .67 .793 1.304 1.212 1.896"}),xo("path",{d:"M12 18.574c1.926 1.893 3.821 2.768 5 2.086c1.913 -1.104 1.226 -5.877 -1.536 -10.66c-.375 -.65 -.78 -1.283 -1.212 -1.897"}),xo("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"})]});import{jsx as Lr,jsxs as XP}from"react/jsx-runtime";var Pu=e=>XP(o,{...e,children:[Lr("path",{d:"M21 15l-1 -6l-2.5 6"}),Lr("path",{d:"M9 15l1 -6"}),Lr("path",{d:"M3 9h1v6h.5l2.5 -6"}),Lr("path",{d:"M16 9.5a.5 .5 0 0 0 -.5 -.5h-.75c-.721 0 -1.337 .521 -1.455 1.233l-.09 .534a1.059 1.059 0 0 0 1.045 1.233a1.059 1.059 0 0 1 1.045 1.233l-.09 .534a1.476 1.476 0 0 1 -1.455 1.233h-.75a.5 .5 0 0 1 -.5 -.5"}),Lr("path",{d:"M18 14h2.7"})]});import{jsx as P2,jsxs as KP}from"react/jsx-runtime";var Su=e=>KP(o,{...e,children:[P2("path",{d:"M4 4l11.733 16h4.267l-11.733 -16z"}),P2("path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"})]});import{jsx as xl,jsxs as ZP}from"react/jsx-runtime";var Mu=e=>ZP(o,{...e,children:[xl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),xl("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),xl("path",{d:"M13.41 10.59l2.59 -2.59"}),xl("path",{d:"M7 12a5 5 0 0 1 5 -5"})]});import{jsx as S2}from"react/jsx-runtime";var wu=e=>S2(o,{...e,children:S2("path",{d:"M22 5h-5v5h-5v5h-5v5h-5"})});import{jsx as M2}from"react/jsx-runtime";var Dr=e=>M2(o,{...e,children:M2("path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"})});import{jsx as w2}from"react/jsx-runtime";var ku=e=>w2(o,{isFilled:!0,...e,children:w2("path",{d:"M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z"})});import{jsx as k2}from"react/jsx-runtime";var Bu=e=>k2(o,{isFilled:!0,...e,children:k2("path",{d:"M12 1a.993 .993 0 0 1 .823 .443l.067 .116l2.852 5.781l6.38 .925c.741 .108 1.08 .94 .703 1.526l-.07 .095l-.078 .086l-4.624 4.499l1.09 6.355a1.001 1.001 0 0 1 -1.249 1.135l-.101 -.035l-.101 -.046l-5.693 -3l-5.706 3c-.105 .055 -.212 .09 -.32 .106l-.106 .01a1.003 1.003 0 0 1 -1.038 -1.06l.013 -.11l1.09 -6.355l-4.623 -4.5a1.001 1.001 0 0 1 .328 -1.647l.113 -.036l.114 -.023l6.379 -.925l2.853 -5.78a.968 .968 0 0 1 .904 -.56zm0 3.274v12.476a1 1 0 0 1 .239 .029l.115 .036l.112 .05l4.363 2.299l-.836 -4.873a1 1 0 0 1 .136 -.696l.07 -.099l.082 -.09l3.546 -3.453l-4.891 -.708a1 1 0 0 1 -.62 -.344l-.073 -.097l-.06 -.106l-2.183 -4.424z"})});import{jsx as B2}from"react/jsx-runtime";var Ru=e=>B2(o,{...e,children:B2("path",{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 2zm0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6z"})});import{jsx as R2}from"react/jsx-runtime";var Tr=e=>R2(o,{...e,children:R2("path",{d:"M5 5m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"})});import{jsx as L2,jsxs as QP}from"react/jsx-runtime";var Lu=e=>QP(o,{...e,children:[L2("path",{d:"M5 12l14 0"}),L2("path",{d:"M16 6.5a4 2 0 0 0 -4 -1.5h-1a3.5 3.5 0 0 0 0 7h2a3.5 3.5 0 0 1 0 7h-1.5a4 2 0 0 1 -4 -1.5"})]});import{jsx as D2,jsxs as YP}from"react/jsx-runtime";var Du=e=>YP(o,{...e,children:[D2("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),D2("path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7"})]});import{jsx as T2,jsxs as JP}from"react/jsx-runtime";var Tu=e=>JP(o,{...e,children:[T2("path",{d:"M7 10h14l-4 -4"}),T2("path",{d:"M17 14h-14l4 4"})]});import{jsx as Pl,jsxs as jP}from"react/jsx-runtime";var Nu=e=>jP(o,{...e,children:[Pl("path",{d:"M16 3l4 4l-4 4"}),Pl("path",{d:"M10 7l10 0"}),Pl("path",{d:"M8 13l-4 4l4 4"}),Pl("path",{d:"M4 17l9 0"})]});import{jsx as Fu,jsxs as eS}from"react/jsx-runtime";var Eu=e=>eS(o,{...e,children:[Fu("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),Fu("path",{d:"M3 10h18"}),Fu("path",{d:"M10 3v18"})]});import{jsx as N2,jsxs as tS}from"react/jsx-runtime";var Nr=e=>tS(o,{...e,children:[N2("path",{d:"M7.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),N2("path",{d:"M3 6v5.172a2 2 0 0 0 .586 1.414l7.71 7.71a2.41 2.41 0 0 0 3.408 0l5.592 -5.592a2.41 2.41 0 0 0 0 -3.408l-7.71 -7.71a2 2 0 0 0 -1.414 -.586h-5.172a3 3 0 0 0 -3 3z"})]});import{jsx as hn,jsxs as oS}from"react/jsx-runtime";var Au=e=>oS(o,{...e,children:[hn("path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),hn("path",{d:"M12 12m-8 0a8 8 0 1 0 16 0a8 8 0 1 0 -16 0"}),hn("path",{d:"M12 2l0 2"}),hn("path",{d:"M12 20l0 2"}),hn("path",{d:"M20 12l2 0"}),hn("path",{d:"M2 12l2 0"})]});import{jsx as zu,jsxs as nS}from"react/jsx-runtime";var Ou=e=>nS(o,{...e,children:[zu("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),zu("path",{d:"M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0"}),zu("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as _u,jsxs as rS}from"react/jsx-runtime";var Hu=e=>rS(o,{...e,children:[_u("path",{d:"M9 15v-7a3 3 0 0 1 6 0v7"}),_u("path",{d:"M9 11h6"}),_u("path",{d:"M5 19h14"})]});import{jsx as F2,jsxs as aS}from"react/jsx-runtime";var Uu=e=>aS(o,{...e,children:[F2("path",{d:"M6 4l12 0"}),F2("path",{d:"M12 4l0 16"})]});import{jsx as Sl,jsxs as lS}from"react/jsx-runtime";var Gu=e=>lS(o,{...e,children:[Sl("path",{d:"M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),Sl("path",{d:"M12.5 5.5l4 4"}),Sl("path",{d:"M4.5 13.5l4 4"}),Sl("path",{d:"M21 15v4h-8l4 -4z"})]});import{jsx as E2}from"react/jsx-runtime";var Vu=e=>E2(o,{...e,children:E2("path",{d:"M7 13v-8a1 1 0 0 0 -1 -1h-2a1 1 0 0 0 -1 1v7a1 1 0 0 0 1 1h3a4 4 0 0 1 4 4v1a2 2 0 0 0 4 0v-5h3a2 2 0 0 0 2 -2l-1 -5a2 3 0 0 0 -2 -2h-7a3 3 0 0 0 -3 3"})});import{jsx as A2}from"react/jsx-runtime";var Wu=e=>A2(o,{...e,children:A2("path",{d:"M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3"})});import{jsx as z2,jsxs as cS}from"react/jsx-runtime";var $u=e=>cS(o,{isFilled:!0,...e,children:[z2("path",{d:"M13 3a3 3 0 0 1 2.995 2.824l.005 .176v4h2a3 3 0 0 1 2.98 2.65l.015 .174l.005 .176l-.02 .196l-1.006 5.032c-.381 1.626 -1.502 2.796 -2.81 2.78l-.164 -.008h-8a1 1 0 0 1 -.993 -.883l-.007 -.117l.001 -9.536a1 1 0 0 1 .5 -.865a2.998 2.998 0 0 0 1.492 -2.397l.007 -.202v-1a3 3 0 0 1 3 -3z"}),z2("path",{d:"M5 10a1 1 0 0 1 .993 .883l.007 .117v9a1 1 0 0 1 -.883 .993l-.117 .007h-1a2 2 0 0 1 -1.995 -1.85l-.005 -.15v-7a2 2 0 0 1 1.85 -1.995l.15 -.005h1z"})]});import{jsx as O2,jsxs as sS}from"react/jsx-runtime";var qu=e=>sS(o,{...e,children:[O2("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),O2("path",{d:"M2 6m0 6a6 6 0 0 1 6 -6h8a6 6 0 0 1 6 6v0a6 6 0 0 1 -6 6h-8a6 6 0 0 1 -6 -6z"})]});import{jsx as fn,jsxs as iS}from"react/jsx-runtime";var Xu=e=>iS(o,{...e,children:[fn("path",{d:"M9 6.371c0 4.418 -2.239 6.629 -5 6.629"}),fn("path",{d:"M4 6.371h7"}),fn("path",{d:"M5 9c0 2.144 2.252 3.908 6 4"}),fn("path",{d:"M12 20l4 -9l4 9"}),fn("path",{d:"M19.1 18h-6.2"}),fn("path",{d:"M6.694 3l.793 .582"})]});import{jsx as Fr,jsxs as pS}from"react/jsx-runtime";var We=e=>pS(o,{...e,children:[Fr("path",{d:"M4 7l16 0"}),Fr("path",{d:"M10 11l0 6"}),Fr("path",{d:"M14 11l0 6"}),Fr("path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}),Fr("path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"})]});import{jsx as _2,jsxs as dS}from"react/jsx-runtime";var Ku=e=>dS(o,{...e,children:[_2("path",{d:"M3 17l6 -6l4 4l8 -8"}),_2("path",{d:"M14 7l7 0l0 7"})]});import{jsx as H2,jsxs as mS}from"react/jsx-runtime";var Zu=e=>mS(o,{...e,children:[H2("path",{d:"M7 5v5a5 5 0 0 0 10 0v-5"}),H2("path",{d:"M5 19h14"})]});import{jsx as U2,jsxs as uS}from"react/jsx-runtime";var Qu=e=>uS(o,{...e,children:[U2("path",{d:"M9 14l-4 -4l4 -4"}),U2("path",{d:"M5 10h11a4 4 0 1 1 0 8h-1"})]});import{jsx as Yu,jsxs as hS}from"react/jsx-runtime";var Ju=e=>hS(o,{...e,children:[Yu("path",{d:"M3 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -6"}),Yu("path",{d:"M9 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),Yu("path",{d:"M13 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as ju,jsxs as fS}from"react/jsx-runtime";var Po=e=>fS(o,{...e,children:[ju("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),ju("path",{d:"M9 15l3 -3l3 3"}),ju("path",{d:"M12 12l0 9"})]});import{jsx as G2,jsxs as gS}from"react/jsx-runtime";var Er=e=>gS(o,{...e,children:[G2("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),G2("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"})]});import{jsx as e1,jsxs as vS}from"react/jsx-runtime";var t1=e=>vS(o,{...e,children:[e1("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),e1("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"}),e1("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as Ml,jsxs as IS}from"react/jsx-runtime";var o1=e=>IS(o,{...e,children:[Ml("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ml("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),Ml("path",{d:"M21 15h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3h-2.5"}),Ml("path",{d:"M19 21v1m0 -8v1"})]});import{jsx as n1,jsxs as bS}from"react/jsx-runtime";var r1=e=>bS(o,{...e,children:[n1("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),n1("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3.5"}),n1("path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39z"})]});import{jsx as wl,jsxs as yS}from"react/jsx-runtime";var a1=e=>yS(o,{...e,children:[wl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),wl("path",{d:"M16 19h6"}),wl("path",{d:"M19 16v6"}),wl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"})]});import{jsx as kl,jsxs as CS}from"react/jsx-runtime";var l1=e=>CS(o,{...e,children:[kl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),kl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),kl("path",{d:"M16 22l5 -5"}),kl("path",{d:"M21 21.5v-4.5h-4.5"})]});import{jsx as Bl,jsxs as xS}from"react/jsx-runtime";var c1=e=>xS(o,{...e,children:[Bl("path",{d:"M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Bl("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Bl("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Bl("path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"})]});import{jsx as s1,jsxs as PS}from"react/jsx-runtime";var i1=e=>PS(o,{...e,children:[s1("path",{d:"M9 10a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),s1("path",{d:"M6 21v-1a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v1"}),s1("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"})]});import{jsx as Ar,jsxs as SS}from"react/jsx-runtime";var p1=e=>SS(o,{...e,children:[Ar("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ar("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h6"}),Ar("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Ar("path",{d:"M19 22v-6"}),Ar("path",{d:"M22 19l-3 -3l-3 3"})]});import{jsx as V2,jsxs as MS}from"react/jsx-runtime";var d1=e=>MS(o,{...e,children:[V2("path",{d:"M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4z"}),V2("path",{d:"M3 6m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]});import{jsx as m1,jsxs as wS}from"react/jsx-runtime";var u1=e=>wS(o,{...e,children:[m1("path",{d:"M12 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),m1("path",{d:"M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),m1("path",{d:"M8 16l-2.091 3.486a1 1 0 0 0 .857 1.514h10.468a1 1 0 0 0 .857 -1.514l-2.091 -3.486"})]});import{jsx as h1,jsxs as kS}from"react/jsx-runtime";var f1=e=>kS(o,{...e,children:[h1("path",{d:"M15 8a5 5 0 0 1 0 8"}),h1("path",{d:"M17.7 5a9 9 0 0 1 0 14"}),h1("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]});import{jsx as W2,jsxs as BS}from"react/jsx-runtime";var g1=e=>BS(o,{...e,children:[W2("path",{d:"M15 8a5 5 0 0 1 0 8"}),W2("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]});import{jsx as $2,jsxs as RS}from"react/jsx-runtime";var v1=e=>RS(o,{...e,children:[$2("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"}),$2("path",{d:"M16 10l4 4m0 -4l-4 4"})]});import{jsx as q2}from"react/jsx-runtime";var I1=e=>q2(o,{...e,children:q2("path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"})});import{jsx as X2,jsxs as LS}from"react/jsx-runtime";var De=e=>LS(o,{...e,children:[X2("path",{d:"M18 6l-12 12"}),X2("path",{d:"M6 6l12 12"})]});import{jsx as K2,jsxs as DS}from"react/jsx-runtime";var b1=e=>DS(o,{...e,children:[K2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),K2("path",{d:"M10 10l4 4m0 -4l-4 4"})]});import{jsx as Z2}from"react/jsx-runtime";var y1=e=>Z2(o,{isFilled:!0,...e,children:Z2("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-6.489 5.8a1 1 0 0 0 -1.218 1.567l1.292 1.293l-1.292 1.293l-.083 .094a1 1 0 0 0 1.497 1.32l1.293 -1.292l1.293 1.292l.094 .083a1 1 0 0 0 1.32 -1.497l-1.292 -1.293l1.292 -1.293l.083 -.094a1 1 0 0 0 -1.497 -1.32l-1.293 1.292l-1.293 -1.292l-.094 -.083z"})});import{jsx as Q2,jsxs as TS}from"react/jsx-runtime";var C1=e=>TS(o,{...e,children:[Q2("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),Q2("path",{d:"M9 9l6 6m0 -6l-6 6"})]});import{jsx as Rl,jsxs as NS}from"react/jsx-runtime";var x1=e=>NS(o,{...e,children:[Rl("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),Rl("path",{d:"M7 10l6 0"}),Rl("path",{d:"M10 7l0 6"}),Rl("path",{d:"M21 21l-6 -6"})]});import{jsx as P1,jsxs as FS}from"react/jsx-runtime";var S1=e=>FS(o,{...e,children:[P1("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),P1("path",{d:"M7 10l6 0"}),P1("path",{d:"M21 21l-6 -6"})]});var zr=(d=>(d["48AlertFeatured"]="48AlertFeatured",d["48SuccessFeatured"]="48SuccessFeatured",d.AlertCircle="AlertCircle",d.AlertOctagon="AlertOctagon",d.AlertTriangle="AlertTriangle",d.Apps="Apps",d.ArrowBarDown="ArrowBarDown",d.ArrowBarLeft="ArrowBarLeft",d.ArrowBarRight="ArrowBarRight",d.ArrowBarToDown="ArrowBarToDown",d.ArrowBarToLeft="ArrowBarToLeft",d.ArrowBarToRight="ArrowBarToRight",d.ArrowBarToUp="ArrowBarToUp",d.ArrowBarUp="ArrowBarUp",d.Archive="Archive",d.ArrowDown="ArrowDown",d.ArrowDownLeft="ArrowDownLeft",d.ArrowDownNarrow="ArrowDownNarrow",d.ArrowDownRight="ArrowDownRight",d.ArrowLeft="ArrowLeft",d.ArrowLeftNarrow="ArrowLeftNarrow",d.ArrowRight="ArrowRight",d.ArrowRightNarrow="ArrowRightNarrow",d.ArrowUp="ArrowUp",d.ArrowUpLeft="ArrowUpLeft",d.ArrowUpNarrow="ArrowUpNarrow",d.ArrowUpRight="ArrowUpRight",d.Attachment="Attachment",d.BarChart="BarChart",d.BarChartSquare="BarChartSquare",d.Bell="Bell",d.Bold="Bold",d.Bookmark="Bookmark",d.BookmarkCheck="BookmarkCheck",d.BookmarkCheckFill="BookmarkCheckFill",d.BookmarkFill="BookmarkFill",d.BookmarkMinus="BookmarkMinus",d.BookmarkPlus="BookmarkPlus",d.BookmarkX="BookmarkX",d.BookOpen="BookOpen",d.BoxLines="BoxLines",d.BoxText="BoxText",d.BracketsCheck="BracketsCheck",d.BracketsEllipses="BracketsEllipses",d.BrickWall="BrickWall",d.Briefcase="Briefcase",d.Building="Building",d.Calculator="Calculator",d.Calendar="Calendar",d.Certificate="Certificate",d.Check="Check",d.CheckCircle="CheckCircle",d.CheckCircleBroken="CheckCircleBroken",d.CheckFill="CheckFill",d.CheckVerified="CheckVerified",d.CheckVerifiedFill="CheckVerifiedFill",d.ChevronDown="ChevronDown",d.ChevronDownDouble="ChevronDownDouble",d.ChevronDownLeft="ChevronDownLeft",d.ChevronDownLeftDouble="ChevronDownLeftDouble",d.ChevronDownRight="ChevronDownRight",d.ChevronDownRightDouble="ChevronDownRightDouble",d.ChevronLeft="ChevronLeft",d.ChevronLeftDouble="ChevronLeftDouble",d.ChevronRight="ChevronRight",d.ChevronRightDouble="ChevronRightDouble",d.ChevronSelectorVertical="ChevronSelectorVertical",d.ChevronUp="ChevronUp",d.ChevronUpDouble="ChevronUpDouble",d.ChevronUpLeft="ChevronUpLeft",d.ChevronUpLeftDouble="ChevronUpLeftDouble",d.ChevronUpRight="ChevronUpRight",d.ChevronUpRightDouble="ChevronUpRightDouble",d.Click="Click",d.Clock="Clock",d.ClockFastForward="ClockFastForward",d.ClockPlay="ClockPlay",d.ClockRewind="ClockRewind",d.Clone="Clone",d.Code="Code",d.CodeBrowser="CodeBrowser",d.CodeCircle="CodeCircle",d.Colors="Colors",d.ColumnEdit="ColumnEdit",d.Copy="Copy",d.Copy2="Copy2",d.CopyCheck="CopyCheck",d.CreditCard="CreditCard",d.Cube="Cube",d.CubeOutline="CubeOutline",d.CursorBox="CursorBox",d.Dataflow="Dataflow",d.Dataflow2="Dataflow2",d.Dataflow3="Dataflow3",d.DistributeHorizontal="DistributeHorizontal",d.Dollar="Dollar",d.DollarCircle="DollarCircle",d.Dot="Dot",d.DotFill="DotFill",d.DotsGrid="DotsGrid",d.DotsHorizontal="DotsHorizontal",d.DotsVertical="DotsVertical",d.Download="Download",d.Edit="Edit",d.Editable="Editable",d.Expand="Expand",d.ExternalLink="ExternalLink",d.ExternalLink2="ExternalLink2",d.Eye="Eye",d.EyeHidden="EyeHidden",d.EyeHidden2="EyeHidden2",d.FaceAngry="FaceAngry",d.FaceLaugh="FaceLaugh",d.FaceSmile="FaceSmile",d.File="File",d.FileCheck="FileCheck",d.FileCsv="FileCsv",d.FileDownload="FileDownload",d.FileJson="FileJson",d.FileList="FileList",d.FileMusic="FileMusic",d.FilePdf="FilePdf",d.Files="Files",d.FileSpreadsheet="FileSpreadsheet",d.FileText="FileText",d.FileUpload="FileUpload",d.FileXls="FileXls",d.FileXlsx="FileXlsx",d.FileZip="FileZip",d.Filter="Filter",d.Filter2="Filter2",d.Flag="Flag",d.Flag2="Flag2",d.FlagFill="FlagFill",d.Focus="Focus",d.Folder="Folder",d.FolderExport="FolderExport",d.FolderImport="FolderImport",d.GraduationCap="GraduationCap",d.GripVertical="GripVertical",d.Hand="Hand",d.HandShield="HandShield",d.Hash="Hash",d.HeadsetMic="HeadsetMic",d.Heart="Heart",d.HeartFill="HeartFill",d.House="House",d.HouseLine="HouseLine",d.Image="Image",d.Image2="Image2",d.ImageCheck="ImageCheck",d.ImageOff="ImageOff",d.Import="Import",d.Inbox="Inbox",d.InfoCircle="InfoCircle",d.InfoHexagon="InfoHexagon",d.Italic="Italic",d.LayersMultiple="LayersMultiple",d.LayersSingle="LayersSingle",d.Layout="Layout",d.Layout2="Layout2",d.LayoutColumns="LayoutColumns",d.LayoutCustom="LayoutCustom",d.LayoutStuffed="LayoutStuffed",d.LayoutTile="LayoutTile",d.LifeBuoy="LifeBuoy",d.Lightbulb="Lightbulb",d.Lightning="Lightning",d.LightningFast="LightningFast",d.LineChart="LineChart",d.LineChartBar="LineChartBar",d.LineChartBreakoutSquare="LineChartBreakoutSquare",d.LineChartUp="LineChartUp",d.Lines="Lines",d.LinesCheck="LinesCheck",d.LinesPlay="LinesPlay",d.Link="Link",d.Link2="Link2",d.LinkOff="LinkOff",d.ListBullet="ListBullet",d.ListOrder="ListOrder",d.Lock="Lock",d.LockFill="LockFill",d.LogIn="LogIn",d.LogOut="LogOut",d.LogOut2="LogOut2",d.MagicWand="MagicWand",d.Mail="Mail",d.MailOpen="MailOpen",d.MapPin="MapPin",d.Maximize="Maximize",d.Maximize2="Maximize2",d.MessageCircle="MessageCircle",d.MessageSquare="MessageSquare",d.MessageSquare2="MessageSquare2",d.MessageXSquare="MessageXSquare",d.Microphone="Microphone",d.Minimize="Minimize",d.Minimize2="Minimize2",d.MinusCircle="MinusCircle",d.Mobile="Mobile",d.Monitor="Monitor",d.Monitor2="Monitor2",d.Moon="Moon",d.MoonCircle="MoonCircle",d.Movie="Movie",d.NavigationPointer="NavigationPointer",d.NotificationBox="NotificationBox",d.Package="Package",d.Palette="Palette",d.PasscodeLock="PasscodeLock",d.Pause="Pause",d.PauseCircle="PauseCircle",d.PCSetup="PCSetup",d.Pen="Pen",d.PercentageCircle="PercentageCircle",d.Perspective="Perspective",d.PhoneCall="PhoneCall",d.Pin="Pin",d.Play="Play",d.PlayCircle="PlayCircle",d.Plus="Plus",d.PlusCircle="PlusCircle",d.Printer="Printer",d.Pulse="Pulse",d.QuestionCircle="QuestionCircle",d.Quote="Quote",d.RadioButton="RadioButton",d.RadioButtonFill="RadioButtonFill",d.Receipt="Receipt",d.ReceiptCheck="ReceiptCheck",d.Redo="Redo",d.Refresh="Refresh",d.Refresh2="Refresh2",d.Refresh3="Refresh3",d.Repeat="Repeat",d.Replace="Replace",d.Replay="Replay",d.Restore="Restore",d.Rocket="Rocket",d.RoundChart="RoundChart",d.RoundChart2="RoundChart2",d.Route="Route",d.Save="Save",d.ScanDots="ScanDots",d.Scissors="Scissors",d.Search="Search",d.Send="Send",d.Server="Server",d.Settings="Settings",d.Settings2="Settings2",d.Share="Share",d.ShieldLightning="ShieldLightning",d.ShieldPlus="ShieldPlus",d.ShieldRemove="ShieldRemove",d.ShoppingBag="ShoppingBag",d.ShoppingCart="ShoppingCart",d.Shrink="Shrink",d.Shuffle="Shuffle",d.SkipForward="SkipForward",d.SlashCircle="SlashCircle",d.SlashOctagon="SlashOctagon",d.SocialAndroid="SocialAndroid",d.SocialApple="SocialApple",d.SocialGithub="SocialGithub",d.SocialGlobe="SocialGlobe",d.SocialGoogle="SocialGoogle",d.SocialInstagram="SocialInstagram",d.SocialLinkedin="SocialLinkedin",d.SocialMastercard="SocialMastercard",d.SocialReact="SocialReact",d.SocialVisa="SocialVisa",d.SocialX="SocialX",d.Speedometer="Speedometer",d.Stairs="Stairs",d.Star="Star",d.StarFill="StarFill",d.StarHalf="StarHalf",d.Stars="Stars",d.Stop="Stop",d.Strikethrough="Strikethrough",d.Sun="Sun",d.Swap="Swap",d.SwitchHorizontal="SwitchHorizontal",d.Table="Table",d.Tag="Tag",d.Target="Target",d.Target2="Target2",d.TextFormat="TextFormat",d.TextFormat2="TextFormat2",d.TextHighlight="TextHighlight",d.ThumbsDown="ThumbsDown",d.ThumbsUp="ThumbsUp",d.ThumbsUpFill="ThumbsUpFill",d.Toggle="Toggle",d.Translate="Translate",d.Trash="Trash",d.Trending="Trending",d.Underline="Underline",d.Undo="Undo",d.Unlock="Unlock",d.UploadCloud="UploadCloud",d.User="User",d.UserCheck="UserCheck",d.UserDollar="UserDollar",d.UserEdit="UserEdit",d.UserPlus="UserPlus",d.UserRight="UserRight",d.Users="Users",d.UserSquare="UserSquare",d.UsersUp="UsersUp",d.UserVoice="UserVoice",d.Video="Video",d.VideoChat="VideoChat",d.Volume="Volume",d.VolumeDown="VolumeDown",d.VolumeMute="VolumeMute",d.Wrench="Wrench",d.X="X",d.XCircle="XCircle",d.XCircleFill="XCircleFill",d.XSquare="XSquare",d.ZoomIn="ZoomIn",d.ZoomOut="ZoomOut",d))(zr||{});import{jsx as m}from"react/jsx-runtime";function Oe({name:e,...t}){switch(e){case"48AlertFeatured":return m(Jc,{...t});case"48SuccessFeatured":return m(jc,{...t});case"AlertCircle":return m(ho,{...t});case"AlertOctagon":return m(ts,{...t});case"AlertTriangle":return m(ns,{...t});case"ArrowBarDown":return m(cs,{...t});case"ArrowBarLeft":return m(ss,{...t});case"ArrowBarRight":return m(is,{...t});case"ArrowBarToDown":return m(ps,{...t});case"ArrowBarToLeft":return m(ds,{...t});case"ArrowBarToRight":return m(ms,{...t});case"ArrowBarToUp":return m(us,{...t});case"ArrowBarUp":return m(hs,{...t});case"Apps":return m(rs,{...t});case"Archive":return m(ls,{...t});case"ArrowDown":return m(gs,{...t});case"ArrowDownLeft":return m(vs,{...t});case"ArrowDownNarrow":return m(bs,{...t});case"ArrowDownRight":return m(ys,{...t});case"ArrowLeft":return m(xs,{...t});case"ArrowLeftNarrow":return m(Ss,{...t});case"ArrowRight":return m(ws,{...t});case"ArrowRightNarrow":return m(Bs,{...t});case"ArrowUp":return m(Ls,{...t});case"ArrowUpLeft":return m(Ds,{...t});case"ArrowUpNarrow":return m(Ns,{...t});case"ArrowUpRight":return m(Fs,{...t});case"Attachment":return m(Es,{...t});case"BarChart":return m(As,{...t});case"BarChartSquare":return m(zs,{...t});case"Bell":return m(Os,{...t});case"Bold":return m(_s,{...t});case"BookOpen":return m($s,{...t});case"Bookmark":return m(Hs,{...t});case"BookmarkCheck":return m($c,{...t});case"BookmarkCheckFill":return m(qc,{...t});case"BookmarkFill":return m(Us,{...t});case"BookmarkMinus":return m(Gs,{...t});case"BookmarkPlus":return m(Kc,{...t});case"BookmarkX":return m(Ws,{...t});case"BoxLines":return m(qs,{...t});case"BoxText":return m(Ks,{...t});case"BracketsCheck":return m(Qs,{...t});case"BracketsEllipses":return m(Ys,{...t});case"BrickWall":return m(Js,{...t});case"Briefcase":return m(js,{...t});case"Building":return m(Zc,{...t});case"Calculator":return m(ei,{...t});case"Calendar":return m(Zn,{...t});case"Certificate":return m(ti,{...t});case"Check":return m(Pt,{...t});case"CheckCircle":return m(fo,{...t});case"CheckCircleBroken":return m(oi,{...t});case"CheckFill":return m(ni,{...t});case"CheckVerified":return m(ri,{...t});case"CheckVerifiedFill":return m(ai,{...t});case"ChevronDown":return m(Qn,{...t});case"ChevronDownDouble":return m(li,{...t});case"ChevronDownLeft":return m(ci,{...t});case"ChevronDownLeftDouble":return m(si,{...t});case"ChevronDownRight":return m(ii,{...t});case"ChevronDownRightDouble":return m(pi,{...t});case"ChevronLeft":return m(St,{...t});case"ChevronLeftDouble":return m(di,{...t});case"ChevronRight":return m(je,{...t});case"ChevronRightDouble":return m(Yn,{...t});case"ChevronSelectorVertical":return m(mi,{...t});case"ChevronUp":return m(Mt,{...t});case"ChevronUpDouble":return m(ui,{...t});case"ChevronUpLeft":return m(hi,{...t});case"ChevronUpLeftDouble":return m(fi,{...t});case"ChevronUpRight":return m(gi,{...t});case"ChevronUpRightDouble":return m(vi,{...t});case"Click":return m(Ii,{...t});case"Clock":return m(bi,{...t});case"ClockFastForward":return m(yi,{...t});case"ClockPlay":return m(xi,{...t});case"ClockRewind":return m(Pi,{...t});case"Clone":return m(Si,{...t});case"Code":return m(wi,{...t});case"CodeBrowser":return m(ki,{...t});case"CodeCircle":return m(Ri,{...t});case"Colors":return m(Di,{...t});case"ColumnEdit":return m(Qc,{...t});case"Copy":return m(Ti,{...t});case"Copy2":return m(Ni,{...t});case"CopyCheck":return m(Ei,{...t});case"Files":return m(Cp,{...t});case"CreditCard":return m(Ai,{...t});case"Cube":return m(zi,{...t});case"CubeOutline":return m(Oi,{...t});case"CursorBox":return m(jn,{...t});case"Dataflow":return m(_i,{...t});case"Dataflow2":return m(Hi,{...t});case"Dataflow3":return m(Ui,{...t});case"DistributeHorizontal":return m(Vi,{...t});case"Dollar":return m(Wi,{...t});case"DollarCircle":return m(qi,{...t});case"Dot":return m(Xi,{...t});case"DotFill":return m(Ki,{...t});case"DotsGrid":return m(Zi,{...t});case"DotsHorizontal":return m(Yi,{...t});case"DotsVertical":return m(tn,{...t});case"Download":return m(ep,{...t});case"Edit":return m(tp,{...t});case"Editable":return m(np,{...t});case"Expand":return m(rp,{...t});case"ExternalLink":return m(lp,{...t});case"ExternalLink2":return m(sp,{...t});case"Eye":return m(ip,{...t});case"EyeHidden":return m(dp,{...t});case"EyeHidden2":return m(mp,{...t});case"FaceAngry":return m(up,{...t});case"FaceLaugh":return m(hp,{...t});case"FaceSmile":return m(fp,{...t});case"File":return m(vo,{...t});case"FileCheck":return m(vp,{...t});case"FileCsv":return m(nr,{...t});case"FileDownload":return m(Ip,{...t});case"FileJson":return m(rr,{...t});case"FileList":return m(bp,{...t});case"FileMusic":return m(Ve,{...t});case"FilePdf":return m(Io,{...t});case"FileSpreadsheet":return m(lr,{...t});case"FileText":return m(kt,{...t});case"FileUpload":return m(xp,{...t});case"FileXls":return m(sr,{...t});case"FileXlsx":return m(ir,{...t});case"FileZip":return m(ct,{...t});case"Filter":return m(Pp,{...t});case"Filter2":return m(pr,{...t});case"Flag":return m(Mp,{...t});case"Flag2":return m(wp,{...t});case"FlagFill":return m(kp,{...t});case"Focus":return m(Bp,{...t});case"Folder":return m(Rp,{...t});case"FolderExport":return m(Lp,{...t});case"FolderImport":return m(Dp,{...t});case"GraduationCap":return m(Tp,{...t});case"GripVertical":return m(Np,{...t});case"Hand":return m(Fp,{...t});case"HandShield":return m(Ep,{...t});case"Hash":return m(Ap,{...t});case"HeadsetMic":return m(zp,{...t});case"Heart":return m(Op,{...t});case"HeartFill":return m(_p,{...t});case"House":return m(Up,{...t});case"HouseLine":return m(mr,{...t});case"Image":return m(we,{...t});case"Image2":return m(Gp,{...t});case"ImageCheck":return m(Vp,{...t});case"ImageOff":return m(Wp,{...t});case"Import":return m($p,{...t});case"Inbox":return m(qp,{...t});case"InfoCircle":return m(Kp,{...t});case"InfoHexagon":return m(Qp,{...t});case"Italic":return m(Jp,{...t});case"LayersMultiple":return m(ed,{...t});case"LayersSingle":return m(td,{...t});case"Layout":return m(od,{...t});case"Layout2":return m(rd,{...t});case"LayoutColumns":return m(ad,{...t});case"LayoutCustom":return m(ld,{...t});case"LayoutStuffed":return m(sd,{...t});case"LayoutTile":return m(id,{...t});case"LifeBuoy":return m(pd,{...t});case"Lightbulb":return m(md,{...t});case"Lightning":return m(ud,{...t});case"LightningFast":return m(hd,{...t});case"LineChartBar":return m(gd,{...t});case"LineChartBreakoutSquare":return m(vd,{...t});case"LineChart":return m(fd,{...t});case"LineChartUp":return m(bd,{...t});case"Lines":return m(yd,{...t});case"LinesCheck":return m(Cd,{...t});case"LinesPlay":return m(xd,{...t});case"Link":return m(Sd,{...t});case"Link2":return m(Md,{...t});case"LinkOff":return m(wd,{...t});case"ListBullet":return m(kd,{...t});case"ListOrder":return m(Bd,{...t});case"Lock":return m(Ld,{...t});case"LockFill":return m(Dd,{...t});case"LogIn":return m(Nd,{...t});case"LogOut":return m(Ed,{...t});case"LogOut2":return m(zd,{...t});case"MagicWand":return m(Od,{...t});case"Mail":return m(_d,{...t});case"MailOpen":return m(Hd,{...t});case"MapPin":return m(Ud,{...t});case"Maximize":return m(Gd,{...t});case"Maximize2":return m(Vd,{...t});case"MessageCircle":return m(Wd,{...t});case"MessageSquare":return m(qd,{...t});case"MessageSquare2":return m(Xd,{...t});case"MessageXSquare":return m(Kd,{...t});case"Microphone":return m(br,{...t});case"Minimize":return m(Zd,{...t});case"Minimize2":return m(Qd,{...t});case"MinusCircle":return m(Yd,{...t});case"Mobile":return m(jd,{...t});case"Monitor":return m(em,{...t});case"Monitor2":return m(tm,{...t});case"Moon":return m(om,{...t});case"MoonCircle":return m(nm,{...t});case"Movie":return m(et,{...t});case"NavigationPointer":return m(rm,{...t});case"NotificationBox":return m(am,{...t});case"Package":return m(lm,{...t});case"Palette":return m(cm,{...t});case"PasscodeLock":return m(sm,{...t});case"Pause":return m(bo,{...t});case"PauseCircle":return m(pm,{...t});case"PCSetup":return m(mm,{...t});case"Pen":return m(hm,{...t});case"PercentageCircle":return m(fm,{...t});case"Perspective":return m(gm,{...t});case"PhoneCall":return m(Im,{...t});case"Pin":return m(Pr,{...t});case"Play":return m(yo,{...t});case"PlayCircle":return m(ym,{...t});case"Plus":return m(Sr,{...t});case"PlusCircle":return m(Zt,{...t});case"Printer":return m(Pm,{...t});case"Pulse":return m(Sm,{...t});case"QuestionCircle":return m(Mr,{...t});case"Quote":return m(wm,{...t});case"RadioButton":return m(km,{...t});case"RadioButtonFill":return m(Bm,{...t});case"Receipt":return m(Rm,{...t});case"ReceiptCheck":return m(Lm,{...t});case"Redo":return m(Dm,{...t});case"Refresh":return m(Tm,{...t});case"Refresh2":return m(Nm,{...t});case"Refresh3":return m(Fm,{...t});case"Repeat":return m(Em,{...t});case"Replace":return m(Am,{...t});case"Replay":return m(zm,{...t});case"Restore":return m(_m,{...t});case"Rocket":return m(Um,{...t});case"RoundChart":return m(Gm,{...t});case"RoundChart2":return m(Vm,{...t});case"Route":return m($m,{...t});case"Save":return m(Xm,{...t});case"ScanDots":return m(Km,{...t});case"Scissors":return m(wr,{...t});case"Search":return m(Bt,{...t});case"Send":return m(Zm,{...t});case"Server":return m(Qm,{...t});case"Settings":return m(Ym,{...t});case"Settings2":return m(Jm,{...t});case"Share":return m(jm,{...t});case"ShieldLightning":return m(eu,{...t});case"ShieldPlus":return m(ou,{...t});case"ShieldRemove":return m(ru,{...t});case"ShoppingBag":return m(au,{...t});case"ShoppingCart":return m(lu,{...t});case"Shrink":return m(cu,{...t});case"Shuffle":return m(su,{...t});case"SkipForward":return m(iu,{...t});case"SlashCircle":return m(pu,{...t});case"SlashOctagon":return m(du,{...t});case"SocialAndroid":return m(mu,{...t});case"SocialApple":return m(uu,{...t});case"SocialGithub":return m(hu,{...t});case"SocialGlobe":return m(fu,{...t});case"SocialGoogle":return m(gu,{...t});case"SocialInstagram":return m(Iu,{...t});case"SocialLinkedin":return m(bu,{...t});case"SocialMastercard":return m(Cu,{...t});case"SocialReact":return m(xu,{...t});case"SocialVisa":return m(Pu,{...t});case"SocialX":return m(Su,{...t});case"Speedometer":return m(Mu,{...t});case"Stairs":return m(wu,{...t});case"Star":return m(Dr,{...t});case"StarFill":return m(ku,{...t});case"StarHalf":return m(Bu,{...t});case"Stars":return m(Ru,{...t});case"Stop":return m(Tr,{...t});case"Strikethrough":return m(Lu,{...t});case"Sun":return m(Du,{...t});case"Swap":return m(Tu,{...t});case"SwitchHorizontal":return m(Nu,{...t});case"Table":return m(Eu,{...t});case"Tag":return m(Nr,{...t});case"Target":return m(Au,{...t});case"Target2":return m(Ou,{...t});case"TextFormat":return m(Hu,{...t});case"TextFormat2":return m(Uu,{...t});case"TextHighlight":return m(Gu,{...t});case"ThumbsDown":return m(Vu,{...t});case"ThumbsUp":return m(Wu,{...t});case"ThumbsUpFill":return m($u,{...t});case"Toggle":return m(qu,{...t});case"Translate":return m(Xu,{...t});case"Trash":return m(We,{...t});case"Trending":return m(Ku,{...t});case"Underline":return m(Zu,{...t});case"Undo":return m(Qu,{...t});case"Unlock":return m(Ju,{...t});case"UploadCloud":return m(Po,{...t});case"User":return m(Er,{...t});case"UserCheck":return m(t1,{...t});case"UserDollar":return m(o1,{...t});case"UserEdit":return m(r1,{...t});case"UserPlus":return m(a1,{...t});case"UserRight":return m(l1,{...t});case"UserSquare":return m(i1,{...t});case"Users":return m(c1,{...t});case"UsersUp":return m(p1,{...t});case"UserVoice":return m(Yc,{...t});case"Video":return m(d1,{...t});case"VideoChat":return m(u1,{...t});case"Volume":return m(f1,{...t});case"VolumeDown":return m(g1,{...t});case"VolumeMute":return m(v1,{...t});case"Wrench":return m(I1,{...t});case"X":return m(De,{...t});case"XCircle":return m(b1,{...t});case"XCircleFill":return m(y1,{...t});case"XSquare":return m(C1,{...t});case"ZoomIn":return m(x1,{...t});case"ZoomOut":return m(S1,{...t});default:return null}}var Y2=vo,J2={png:we,jpg:we,jpeg:we,gif:we,bmp:we,webp:we,svg:we,avif:we,heic:we,ico:we,tif:we,tiff:we,mp4:et,mov:et,webm:et,avi:et,mkv:et,m4v:et,ogv:et,mp3:Ve,wav:Ve,ogg:Ve,oga:Ve,m4a:Ve,aac:Ve,flac:Ve,weba:Ve,pdf:Io,doc:kt,docx:kt,txt:kt,rtf:kt,odt:kt,json:rr,csv:nr,xls:sr,xlsx:ir,ods:lr,zip:ct,rar:ct,"7z":ct,tar:ct,gz:ct,tgz:ct};var M1=e=>{let t=e?.trim().replace(/^\./,"").toLowerCase();return t&&J2[t]||Y2};import{cn as w1,ColorHelpers as ES}from"@cleen/ui-core";import{forwardRef as AS}from"react";import{Fragment as OS,jsx as Or,jsxs as _S}from"react/jsx-runtime";var zS=AS(function({iconName:t,iconSrc:r,icon:n,iconSize:l=20,header:a,color:c,children:s,classNames:u,styles:p,...i},g){let h=ES.getComputedColor(c);return Or(pe,{ref:g,classNames:{...u,header:{...u?.header,title:w1("cleen-flex cleen-gap-4",u?.header?.title)}},header:{...a,title:_S(OS,{children:[Or("div",{className:w1("cleen-flex cleen-w-10 cleen-h-10 cleen-justify-center cleen-items-center cleen-gap-2 cleen-flex-shrink-0 cleen-rounded-xl cleen-border cleen-border-border cleen-bg-background",u?.iconHolder),style:{...h&&{backgroundColor:Vn(h,.85),color:h,borderColor:"transparent"},...p?.iconHolder},children:n||(t?Or(Oe,{name:t,className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):r?Or("img",{src:r,alt:"Icon",className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):null)}),a?.title]})},color:c,...i,children:s&&Or("div",{className:w1("cleen-flex-1",u?.content),style:p?.content,children:s})})});import{cn as gn}from"@cleen/ui-core";import{forwardRef as HS,useMemo as US}from"react";import{jsx as _r}from"react/jsx-runtime";var GS=HS(function({media:t,header:r,color:n,children:l,classNames:a,styles:c,...s},u){let p=US(()=>{switch(t?.type){case"image":return _r("img",{...t,alt:t.alt??"Card media",className:gn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"video":return _r("video",{playsInline:!0,controls:!0,...t,className:gn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"iframe":return _r("iframe",{...t,title:t.title??"Card iframe",className:gn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});default:return null}},[t,a?.media,c?.media]);return _r(pe,{ref:u,color:n,classNames:{...a,container:gn("cleen-pt-0",a?.container),header:{...a?.header,content:gn("cleen-p-0",a?.header?.content)}},header:{...r,...p&&{content:_r("div",{className:gn("cleen-w-full cleen-overflow-hidden cleen-rounded-t-lg",a?.media?.container),style:c?.media?.container,children:p})}},...s,children:l})});import{cn as Hr}from"@cleen/ui-core";import{jsx as Ll,jsxs as VS}from"react/jsx-runtime";var ee=({className:e,classNames:t,style:r,styles:n,infoMessage:l,errorMessage:a,subtitle:c,...s})=>Ll("div",{className:Hr("cleen",e),style:r,children:VS("div",{className:Hr(t?.container),style:n?.container,...s,children:[l&&Ll("div",{className:Hr("cleen-mt-1 cleen-font-normal cleen-text-sm cleen-text-info",t?.infoMessage),style:n?.infoMessage,role:"note",children:l}),a&&Ll("div",{className:Hr("cleen-mt-1 cleen-font-medium cleen-text-sm cleen-text-error",t?.errorMessage),style:n?.errorMessage,role:"alert",children:a}),c&&Ll("div",{className:Hr("cleen-mt-2 cleen-font-normal cleen-text-sm cleen-text-neutral-600",t?.subtitle),style:n?.subtitle,children:c})]})});import{cn as Ur}from"@cleen/ui-core";import{jsx as Gr,jsxs as WS}from"react/jsx-runtime";var oe=({required:e=!1,tooltip:t,children:r,className:n,classNames:l,style:a,styles:c,...s})=>Gr("div",{className:Ur("cleen",n),style:a,children:WS("label",{...s,className:Ur("cleen-w-full cleen-flex cleen-gap-1 cleen-items-center cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-leading-6",l?.container),style:c?.container,children:[Gr("div",{className:Ur({"cleen-flex-1":!e&&!t},l?.label),style:c?.label,children:r}),e&&Gr("span",{className:Ur("cleen-text-primary",l?.required),style:c?.required,children:"*"}),t&&Gr(ge,{hasArrow:!0,placement:"top",label:t,color:"rgb(var(--cleen-neutral-600))",...l?.tooltip,style:c?.tooltip?.style,styles:{...c?.tooltip?.styles,labelContainer:{width:"max-content",maxWidth:"250px",...c?.tooltip?.styles?.labelContainer}},children:Gr(Mr,{className:Ur("cleen-size-3 cleen-text-neutral-500 hover:cleen-text-neutral-900 cleen-transition-colors cleen-cursor-help",l?.questionIcon),style:c?.questionIcon})})]})});import{cn as Lt}from"@cleen/ui-core";import{forwardRef as $S,useEffect as qS,useId as XS,useMemo as KS,useState as j2}from"react";import{jsx as Jt,jsxs as Dl}from"react/jsx-runtime";var de=$S(function({name:t,id:r,type:n,label:l,labelTooltip:a,defaultValue:c,value:s,files:u,disabled:p,required:i,className:g,classNames:h,style:y,styles:b,autoComplete:f="off",isFocusedBorder:v,maxLength:C,minLength:x,maxLengthLabelThreshold:I=.5,uploadLabel:P="Choose a file",leftIcon:M,rightIcon:B,topRightIcon:k,inputOverlay:w,infoLabels:R,maxLengthLabel:E,minLengthLabel:N,onChange:L,...F},D){let S=s!==void 0||u!==void 0,[H,T]=j2(c??""),[z,A]=j2(null),_=S?s:H,G=S?u:z;qS(()=>{S||T(s??c??"")},[s,c,S]);let $=O=>{let Z=O.target.value;if(n==="file"&&O.target.files){S||A(O.target.files),L?.(O);return}(!C||Z.length<=C)&&(S||T(Z),L?.(O))},q=KS(()=>x&&N&&(_?.toString()?.length??0)<x?N(x-(_?.toString()?.length??0)):!C||!E||(_?.toString()?.length??0)/C<I?R?.subtitle:E?.(C-(_?.toString()?.length??0)),[_,C,I,R?.subtitle]),U=XS(),V=!!(R?.errorMessage||R?.infoMessage||q),Q=V?`${U}-info`:void 0;return Jt("div",{className:Lt("cleen",g),style:y,children:Dl("div",{className:Lt("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-normal",h?.container),style:b?.container,children:[(l||k)&&Dl("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",children:[Jt(oe,{htmlFor:r||t,required:i,tooltip:a,className:Lt("cleen-w-full",h?.label?.className),classNames:h?.label?.classNames,...b?.label,children:l}),k]}),Dl("label",{className:Lt("cleen-relative cleen-flex cleen-items-stretch cleen-bg-background cleen-shadow-sm cleen-border cleen-rounded-md cleen-transition-all cleen-duration-200 cleen-overflow-hidden focus-within:cleen-ring-4 focus-within:cleen-ring-primary-100 focus-within:cleen-ring-offset-0",{"has-[:focus]:cleen-border has-[:focus]:cleen-border-primary/30":v},p&&"cleen-bg-muted",{"cleen-cursor-pointer":n==="file"&&!p},R?.errorMessage?["cleen-border-error/70 focus-within:cleen-ring-error-bg",!p&&"hover:cleen-border-error"]:["cleen-border-border focus-within:cleen-border-primary-400",!p&&"hover:cleen-border-muted-foreground focus-within:cleen-border-primary focus-within:hover:cleen-border-primary"],h?.inputContainer),style:b?.inputContainer,children:[M&&Jt("div",{className:Lt("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1.5 cleen-p-2 cleen-rounded-l-md focus:cleen-outline-none focus:cleen-ring-4 cleen-text-base",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",h?.leftIconContainer),style:b?.leftIconContainer,children:M}),Dl("div",{className:"cleen-relative cleen-flex cleen-flex-1 cleen-items-stretch",children:[Jt("input",{id:r||t,name:t,type:n,disabled:p,maxLength:C,autoComplete:f,value:_,className:Lt("cleen-block cleen-border-0 cleen-bg-transparent cleen-rounded-md cleen-w-full cleen-text-base","cleen-py-2 cleen-pr-2 placeholder:cleen-text-neutral-400 sm:cleen-text-sm focus:cleen-ring-transparent focus:cleen-outline-none cleen-my-auto",M?"cleen-pl-0":"cleen-px-3.5",{"cleen-rounded-l-none":M,"cleen-rounded-r-none":B,"cleen-hidden":n==="file"},p?"cleen-text-neutral-400":"cleen-text-foreground",h?.input),style:b?.input,onChange:$,required:i,"aria-invalid":R?.errorMessage?!0:void 0,"aria-describedby":Q,ref:D,...F}),w&&Jt("div",{className:Lt("cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-rounded-md cleen-overflow-hidden cleen-text-sm cleen-pointer-events-auto",M?"cleen-pl-0 cleen-pr-2":"cleen-px-3.5",h?.inputOverlay),style:b?.inputOverlay,children:w}),n==="file"&&Jt("p",{className:Lt("cleen-flex cleen-items-center cleen-p-2.5 cleen-text-sm cleen-text-nowrap",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",G&&G.length>0&&"cleen-text-foreground"),children:G&&G.length>0?Array.from(G).map(O=>O.name).join(", "):P})]}),B&&Jt("div",{className:Lt("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1.5 cleen-p-2 cleen-rounded-r-md focus:cleen-outline-none focus:cleen-ring-4 cleen-text-base",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",h?.rightIconContainer),style:b?.rightIconContainer,children:B})]}),V&&Jt(ee,{id:Q,...R,subtitle:q})]})})});import{cn as Vr,useOutsideClick as ZS}from"@cleen/ui-core";import{forwardRef as QS,useEffect as eg,useImperativeHandle as YS,useMemo as JS,useRef as jS,useState as Tl}from"react";import{jsx as Wr,jsxs as e4}from"react/jsx-runtime";var k1=QS(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:g,inputProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:f,customLoader:v=Wr(ne,{}),selectAllOnEdit:C=!1,renderText:x,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Tl(r??""),L=R?t??"":E,[F,D]=Tl(!1),S=f??F,H=JS(()=>typeof x=="function"?x(L):x||L||s||c,[L,x,c,s]),[T,z]=Tl(n),A=l!==void 0,_=A?l:T,[G,$]=Tl(L),q=jS(null);YS(w,()=>({...q.current,save:V,cancel:U})),eg(()=>{R||N(r??"")},[r,R]),eg(()=>{_||$(L)},[L,_]);let U=async()=>{A||z(!1),a?.(!1),$(L),await i?.()},V=async()=>{if(!S){if(L===G){await i?.(),A||z(!1),a?.(!1);return}D(!0),R||N(G);try{await p?.(G),A||z(!1),a?.(!1)}finally{D(!1)}}},Q=async O=>{O.key==="Enter"&&(O.preventDefault(),await V()),O.key==="Escape"&&(O.stopPropagation(),O.preventDefault(),await U()),h?.onKeyDown?.(O)};return ZS({refs:[q],enabled:y&&_,handler:async()=>{b?await V():await U()}}),Wr("div",{className:Vr("cleen",I),style:M,ref:q,...k,children:_?e4("div",{className:Vr("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[Wr(de,{value:G,onChange:O=>{$(O.target.value),g?.(O.target.value)},autoFocus:!0,placeholder:c,className:P?.input?.className,classNames:{...P?.input?.classNames,inputContainer:Vr("cleen-border-primary hover:cleen-border-primary/60",P?.input?.classNames?.inputContainer)},...B?.input,...h,onFocus:O=>{h?.onFocus?.(O),C&&O.target.select()},disabled:S||h?.disabled,onKeyDown:Q}),S&&Wr("div",{className:Vr("cleen-absolute cleen-top-1/2 cleen-left-1/2 cleen-transform cleen--translate-x-1/2 cleen--translate-y-1/2",P?.loaderContainer),style:B?.loaderContainer,children:v})]}):Wr("div",{onClick:()=>{u&&(A||z(!0),a?.(!0))},className:Vr("cleen-min-h-6 cleen-text-foreground",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!L&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:H})})});import{cn as vn}from"@cleen/ui-core";import{forwardRef as t4,useEffect as tg,useId as o4,useMemo as n4,useRef as r4,useState as a4}from"react";import{jsx as So,jsxs as B1}from"react/jsx-runtime";var R1=t4(function({name:t,id:r,value:n,defaultValue:l,label:a,labelTooltip:c,disabled:s,required:u,infoLabels:p,topRightElement:i,labelRightElement:g,textareaOverlay:h,onChange:y,minHeight:b,maxHeight:f=200,autoResize:v=!0,maxLength:C,minLength:x,maxLengthLabelThreshold:I=.5,maxLengthLabel:P,minLengthLabel:M,className:B,classNames:k,style:w,styles:R,...E},N){let L=n!==void 0,[F,D]=a4(typeof l=="string"?l:""),S=r4(null),H=N??S,T=L?n:F;tg(()=>{L||D(n??(typeof l=="string"?l:""))},[n,l,L]);let z=O=>{O.style.height="auto";let Z=Math.min(O.scrollHeight,f);O.style.height=`${Z}px`},A=O=>{z(O.target)};tg(()=>{!v||!S.current||z(S.current)},[v,T,f]);let _=O=>{O.preventDefault()},G=O=>{O.preventDefault();let Z=O.dataTransfer?.getData("text/plain");L?y?.(`${n??""}${Z}`):(D(ie=>`${ie}${Z}`),y?.(`${F}${Z}`))},$=O=>{let Z=O.target.value;(!C||Z.length<=C)&&(L||D(Z),y?.(Z),v&&A(O))},q=n4(()=>x&&M&&(T?.length??0)<x?M(x-(T?.length??0)):!C||!P||(T?.toString()?.length??0)/C<I?p?.subtitle:P?.(C-(T?.toString()?.length??0)),[T,C,I,p?.subtitle]),U=o4(),V=!!(p?.errorMessage||p?.infoMessage||q),Q=V?`${U}-info`:void 0;return So("div",{className:vn("cleen",B),style:w,children:B1("div",{className:vn("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-size-full cleen-font-normal",k?.container),style:R?.container,children:[(a||g)&&B1("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-mb-1.5",children:[a&&So(oe,{htmlFor:r||t,required:u,tooltip:c,className:vn("cleen-w-full",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:a}),g&&So("div",{className:"cleen-ml-auto",children:g})]}),B1("div",{className:vn("cleen-relative cleen-flex cleen-items-center cleen-shadow-sm cleen-border cleen-rounded-md cleen-transition-colors cleen-duration-200",p?.errorMessage?"cleen-border-error/70 hover:cleen-border-error":"cleen-border-border hover:cleen-border-muted-foreground focus-within:cleen-border-primary focus-within:hover:cleen-border-primary",k?.textareaContainer),style:R?.textareaContainer,children:[i&&So("div",{className:"cleen-absolute cleen-top-2 cleen-right-2 cleen-z-10",children:i}),h&&So("div",{className:vn("cleen-absolute cleen-inset-0 cleen-px-3.5 cleen-py-3 cleen-rounded-lg cleen-overflow-y-auto cleen-text-sm cleen-leading-6",s?"cleen-bg-muted":"cleen-bg-background"),children:h}),So("textarea",{id:r||t,name:t,ref:H,disabled:s,value:T,minLength:x,maxLength:C,"aria-invalid":p?.errorMessage?!0:void 0,"aria-describedby":Q,className:vn("cleen-block cleen-flex-1 cleen-px-3.5 cleen-py-3 cleen-border-0 cleen-rounded-lg focus:cleen-outline-none focus:cleen-ring-transparent placeholder:cleen-text-muted-foreground sm:cleen-text-sm cleen-text-base",s?"cleen-bg-muted cleen-text-neutral-400":"cleen-bg-background cleen-text-foreground",k?.textarea),style:{...b&&{minHeight:`${b}px`},...R?.textarea},onFocus:O=>O.currentTarget.setSelectionRange(O.currentTarget.value.length,O.currentTarget.value.length),onDragOver:_,onDrop:G,...E,onChange:$})]}),V&&So(ee,{id:Q,...p,subtitle:q})]})})});import{cn as $r,useOutsideClick as l4}from"@cleen/ui-core";import{forwardRef as c4,useEffect as og,useImperativeHandle as s4,useMemo as i4,useRef as p4,useState as Nl}from"react";import{jsx as qr,jsxs as d4}from"react/jsx-runtime";var L1=c4(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:g,textAreaProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:f,customLoader:v=qr(ne,{size:"md"}),selectAllOnEdit:C=!1,renderText:x,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Nl(r??""),L=R?t??"":E,[F,D]=Nl(!1),S=f??F,H=i4(()=>typeof x=="function"?x(L):x||L||s||c,[L,x,c,s]),[T,z]=Nl(n),A=l!==void 0,_=A?l:T,[G,$]=Nl(L),q=p4(null);s4(w,()=>({...q.current,save:V,cancel:U})),og(()=>{R||N(r??"")},[r,R]),og(()=>{_||$(L)},[L,_]);let U=async()=>{A||z(!1),a?.(!1),$(L),await i?.()},V=async()=>{if(!S){if(L===G){await i?.(),A||z(!1),a?.(!1);return}D(!0),R||N(G);try{await p?.(G),A||z(!1),a?.(!1)}finally{D(!1)}}},Q=async O=>{O.key==="Escape"&&(O.preventDefault(),O.stopPropagation(),await U()),O.key==="Enter"&&(O.metaKey||O.ctrlKey)&&(O.preventDefault(),await V()),h?.onKeyDown?.(O)};return l4({refs:[q],enabled:y&&_,handler:async()=>{b?await V():await U()}}),qr("div",{className:$r("cleen",I),style:M,ref:q,...k,children:_?d4("div",{className:$r("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[qr(R1,{value:G,onChange:O=>{$(O),g?.(O)},autoFocus:!0,placeholder:c,className:P?.textArea?.className,classNames:{...P?.textArea?.classNames,textareaContainer:$r("cleen-border-primary hover:cleen-border-primary/60",P?.textArea?.classNames?.textareaContainer)},...B?.textArea,...h,onFocus:O=>{h?.onFocus?.(O),C&&O.target.select()},disabled:S||h?.disabled,onKeyDown:Q}),S&&qr("div",{className:$r("cleen-absolute cleen-top-1/2 cleen-left-1/2 cleen-transform cleen--translate-x-1/2 cleen--translate-y-1/2",P?.loaderContainer),style:B?.loaderContainer,children:v})]}):qr("div",{onClick:()=>{u&&(A||z(!0),a?.(!0))},className:$r("cleen-min-h-6 cleen-text-foreground cleen-whitespace-pre-wrap",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!L&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:H})})});import"@cleen/ui-core";import{forwardRef as m4}from"react";import{Fragment as h4,jsx as D1,jsxs as f4}from"react/jsx-runtime";var u4=m4(function({header:t,color:r,children:n,description:l,onSave:a,isDescriptionHidden:c=!1,titleProps:s,descriptionProps:u,classNames:p,styles:i,...g},h){let y=typeof t?.title=="string"||typeof t?.title=="number"?String(t.title):void 0;return D1(pe,{ref:h,color:r,header:{...t,title:D1(k1,{value:y??"",onSave:async b=>{await a?.("title",b)},...p?.titleTextInput,...i?.titleTextInput,...s})},classNames:p,styles:i,...g,children:(!c||n)&&f4(h4,{children:[D1(L1,{value:l??"",onSave:async b=>{await a?.("description",b)},...u,textAreaProps:u?.textAreaProps,...p?.descriptionTextInput,...i?.descriptionTextInput}),n]})})});import{cn as Xr}from"@cleen/ui-core";import{forwardRef as g4}from"react";import{jsx as Fl}from"react/jsx-runtime";var v4=g4(function({type:t="button",label:r,onClick:n,containerRef:l,className:a,classNames:c,style:s,styles:u,disabled:p=!1,loaderOptions:i,isLoading:g=!1,variant:h="primary",children:y,...b},f){return Fl("div",{className:Xr("cleen",a),style:s,ref:l,children:Fl("button",{type:t,ref:f,disabled:g||p,onClick:n,className:Xr("cleen-size-full",c?.container),style:u?.container,...b,children:Fl(pe,{p:0,className:Xr("cleen-size-full cleen-group",c?.card?.className),classNames:{...c?.card?.classNames,container:Xr("focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2 cleen-size-full cleen-font-semibold cleen-transition-colors cleen-duration-200",y0[h],c?.card?.classNames?.container,{"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":p||g}),childrenContainer:Xr("cleen-flex cleen-justify-center cleen-items-center cleen-size-full",c?.card?.classNames?.childrenContainer)},"aria-disabled":p||g,...u?.card,children:g?Fl(ne,{size:"lg",...i,color:i?.color||C0[h],...c?.loader,...u?.loader}):r||y})})})});import{cn as Kr,ColorHelpers as ng,formatAudioTime as rg}from"@cleen/ui-core";import{useWavesurfer as I4}from"@wavesurfer/react";import{forwardRef as b4,useCallback as y4,useRef as C4}from"react";import{jsx as Zr,jsxs as ag}from"react/jsx-runtime";var x4={waveColor:ng.getComputedColor("var(--cleen-neutral-200)"),progressColor:ng.getComputedColor("var(--cleen-primary)"),cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,interact:!0,normalize:!0},P4=b4(function({url:t,options:r,className:n,classNames:l,style:a,styles:c,...s},u){let p=C4(null),{wavesurfer:i,isPlaying:g,isReady:h,currentTime:y}=I4({...x4,...r,container:p,url:t}),b=h?i?.getDuration()??0:0,f=y4(()=>{i?.playPause()},[i]);return Zr("div",{ref:u,className:Kr("cleen",n),style:a,...s,children:ag("div",{className:Kr("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-rounded-xl cleen-bg-surface cleen-border cleen-border-border",l?.container),style:c?.container,children:[Zr(re,{type:"button",onClick:f,disabled:!h,"aria-label":g?"Pause":"Play",className:l?.playButton?.className,classNames:{...l?.playButton?.classNames,container:Kr("cleen-p-0 !cleen-size-9 cleen-rounded-full",l?.playButton?.classNames?.container)},...c?.playButton,children:g?Zr(bo,{className:"cleen-fill-current"}):Zr(yo,{className:"cleen-fill-current"})}),Zr("div",{ref:p,className:Kr("cleen-flex-1 cleen-min-w-0",l?.waveform),style:c?.waveform}),ag("span",{className:Kr("cleen-shrink-0 cleen-text-xs cleen-text-muted-foreground cleen-tabular-nums",l?.timestamp),style:c?.timestamp,children:[rg(y),"\xA0/\xA0",rg(b)]})]})})});import{ColorHelpers as S4}from"@cleen/ui-core";var lg=S4.getComputedColor("var(--cleen-primary)"),cg="rgba(var(--cleen-primary), 0.15)",sg={waveColor:lg,progressColor:lg,cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,minPxPerSec:.5,sampleRate:8e3};var ig={startRecording:"Click to start recording"};import{cn as _e,formatAudioTime as Gl,trimBlob as w4}from"@cleen/ui-core";import{useWavesurfer as k4}from"@wavesurfer/react";import{forwardRef as B4,useCallback as bn,useEffect as z1,useMemo as R4,useRef as mg,useState as Vl}from"react";function T1(e,t,r,n){return new(r||(r=Promise))((function(l,a){function c(p){try{u(n.next(p))}catch(i){a(i)}}function s(p){try{u(n.throw(p))}catch(i){a(i)}}function u(p){var i;p.done?l(p.value):(i=p.value,i instanceof r?i:new r((function(g){g(i)}))).then(c,s)}u((n=n.apply(e,t||[])).next())}))}var El=class{constructor(){this.listeners={}}on(t,r,n){if(this.listeners[t]||(this.listeners[t]=new Set),n?.once){let l=(...a)=>{this.un(t,l),r(...a)};return this.listeners[t].add(l),()=>this.un(t,l)}return this.listeners[t].add(r),()=>this.un(t,r)}un(t,r){var n;(n=this.listeners[t])===null||n===void 0||n.delete(r)}once(t,r){return this.on(t,r,{once:!0})}unAll(){this.listeners={}}emit(t,...r){this.listeners[t]&&this.listeners[t].forEach((n=>n(...r)))}},F1=class extends El{constructor(t){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=t}onInit(){}_init(t){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=t,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},E1=class extends El{constructor(){super(...arguments),this.animationFrameId=null,this.isRunning=!1}start(){if(this.isRunning)return;this.isRunning=!0;let t=()=>{this.isRunning&&(this.emit("tick"),this.animationFrameId=requestAnimationFrame(t))};t()}stop(){this.isRunning=!1,this.animationFrameId!==null&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}destroy(){this.stop()}},N1=100,M4=["audio/webm","audio/wav","audio/mpeg","audio/mp4","audio/mp3"],Al=class e extends F1{constructor(t){var r,n,l,a,c,s;super(Object.assign(Object.assign({},t),{audioBitsPerSecond:(r=t.audioBitsPerSecond)!==null&&r!==void 0?r:128e3,scrollingWaveform:(n=t.scrollingWaveform)!==null&&n!==void 0&&n,scrollingWaveformWindow:(l=t.scrollingWaveformWindow)!==null&&l!==void 0?l:5,continuousWaveform:(a=t.continuousWaveform)!==null&&a!==void 0&&a,renderRecordedAudio:(c=t.renderRecordedAudio)===null||c===void 0||c,mediaRecorderTimeslice:(s=t.mediaRecorderTimeslice)!==null&&s!==void 0?s:void 0})),this.stream=null,this.mediaRecorder=null,this.dataWindow=null,this.isWaveformPaused=!1,this.lastStartTime=0,this.lastDuration=0,this.duration=0,this.micStream=null,this.recordedBlobUrl=null,this.timer=new E1,this.subscriptions.push(this.timer.on("tick",(()=>{let u=performance.now()-this.lastStartTime;this.duration=this.isPaused()?this.duration:this.lastDuration+u,this.emit("record-progress",this.duration)})))}static create(t){return new e(t||{})}renderMicStream(t){var r;let n=new AudioContext,l=n.createMediaStreamSource(t),a=n.createAnalyser();l.connect(a),(this.options.continuousWaveform||this.options.scrollingWaveform)&&(a.fftSize=32);let c=a.frequencyBinCount,s=new Float32Array(c),u=0;this.wavesurfer&&((r=this.originalOptions)!==null&&r!==void 0||(this.originalOptions=Object.assign({},this.wavesurfer.options)),this.wavesurfer.options.interact=!1,this.options.scrollingWaveform&&(this.wavesurfer.options.cursorWidth=0,this.wavesurfer.options.normalize=!0,this.wavesurfer.options.maxPeak=1));let p=setInterval((()=>{var i,g,h,y;if(!this.isWaveformPaused){if(a.getFloatTimeDomainData(s),this.options.scrollingWaveform){let b=Math.floor((this.options.scrollingWaveformWindow||0)*N1),f=0;for(let C=0;C<c;C++){let x=Math.abs(s[C]);x>f&&(f=x)}this.dataWindow||(this.dataWindow=new Float32Array(b));let v=new Float32Array(b);if(this.dataWindow&&this.dataWindow.length>0){let C=b-1,x=this.dataWindow.slice(-C);v.set(x,0)}v[b-1]=f,this.dataWindow=v}else if(this.options.continuousWaveform){if(!this.dataWindow){let f=this.options.continuousWaveformDuration?Math.round(this.options.continuousWaveformDuration*N1):((g=(i=this.wavesurfer)===null||i===void 0?void 0:i.getWidth())!==null&&g!==void 0?g:0)*window.devicePixelRatio;this.dataWindow=new Float32Array(f)}let b=0;for(let f=0;f<c;f++){let v=Math.abs(s[f]);v>b&&(b=v)}if(u+1>this.dataWindow.length){let f=new Float32Array(2*this.dataWindow.length);f.set(this.dataWindow,0),this.dataWindow=f}this.dataWindow[u]=b,u++}else this.dataWindow=s;if(this.wavesurfer){let b=((y=(h=this.dataWindow)===null||h===void 0?void 0:h.length)!==null&&y!==void 0?y:0)/N1;this.wavesurfer.load("",[this.dataWindow],this.options.scrollingWaveform?this.options.scrollingWaveformWindow:b).then((()=>{this.wavesurfer&&this.options.continuousWaveform&&(this.wavesurfer.setTime(this.getDuration()/1e3),this.wavesurfer.options.minPxPerSec||this.wavesurfer.setOptions({minPxPerSec:this.wavesurfer.getWidth()/this.wavesurfer.getDuration()}))})).catch((f=>{console.error("Error rendering real-time recording data:",f)}))}}}),10);return{onDestroy:()=>{clearInterval(p),l?.disconnect(),n?.close()},onEnd:()=>{this.isWaveformPaused=!0,this.stopMic()}}}startMic(t){return T1(this,void 0,void 0,(function*(){let r;this.micStream&&this.stopMic();try{r=yield navigator.mediaDevices.getUserMedia({audio:t==null||t})}catch(l){throw new Error("Error accessing the microphone: "+l.message)}let n=this.renderMicStream(r);return this.micStream=n,this.unsubscribeDestroy=this.once("destroy",n.onDestroy),this.unsubscribeRecordEnd=this.once("record-end",n.onEnd),this.stream=r,r}))}stopMic(){var t,r,n;(t=this.micStream)===null||t===void 0||t.onDestroy(),(r=this.unsubscribeDestroy)===null||r===void 0||r.call(this),(n=this.unsubscribeRecordEnd)===null||n===void 0||n.call(this),this.micStream=null,this.unsubscribeDestroy=void 0,this.unsubscribeRecordEnd=void 0,this.stream&&(this.stream.getTracks().forEach((l=>l.stop())),this.stream=null,this.mediaRecorder=null)}startRecording(t){return T1(this,void 0,void 0,(function*(){let r=this.stream||(yield this.startMic(t));this.dataWindow=null;let n=this.mediaRecorder||new MediaRecorder(r,{mimeType:this.options.mimeType||M4.find((c=>MediaRecorder.isTypeSupported(c))),audioBitsPerSecond:this.options.audioBitsPerSecond});this.mediaRecorder=n,this.stopRecording();let l=[];n.ondataavailable=c=>{c.data.size>0&&l.push(c.data),this.emit("record-data-available",c.data)};let a=c=>{var s;let u=new Blob(l,{type:n.mimeType});this.emit(c,u),this.options.renderRecordedAudio&&(this.applyOriginalOptionsIfNeeded(),this.recordedBlobUrl&&URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=URL.createObjectURL(u),(s=this.wavesurfer)===null||s===void 0||s.load(this.recordedBlobUrl))};n.onpause=()=>a("record-pause"),n.onstop=()=>a("record-end"),n.start(this.options.mediaRecorderTimeslice),this.lastStartTime=performance.now(),this.lastDuration=0,this.duration=0,this.isWaveformPaused=!1,this.timer.start(),this.emit("record-start")}))}getDuration(){return this.duration}isRecording(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)==="recording"}isPaused(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)==="paused"}isActive(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)!=="inactive"}stopRecording(){var t;this.isActive()&&((t=this.mediaRecorder)===null||t===void 0||t.stop(),this.timer.stop())}pauseRecording(){var t,r;this.isRecording()&&(this.isWaveformPaused=!0,(t=this.mediaRecorder)===null||t===void 0||t.requestData(),(r=this.mediaRecorder)===null||r===void 0||r.pause(),this.timer.stop(),this.lastDuration=this.duration)}resumeRecording(){var t;this.isPaused()&&(this.isWaveformPaused=!1,(t=this.mediaRecorder)===null||t===void 0||t.resume(),this.timer.start(),this.lastStartTime=performance.now(),this.emit("record-resume"))}static getAvailableAudioDevices(){return T1(this,void 0,void 0,(function*(){return navigator.mediaDevices.enumerateDevices().then((t=>t.filter((r=>r.kind==="audioinput"))))}))}destroy(){this.applyOriginalOptionsIfNeeded(),super.destroy(),this.stopRecording(),this.stopMic(),this.recordedBlobUrl&&(URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=null)}applyOriginalOptionsIfNeeded(){this.wavesurfer&&this.originalOptions&&(this.wavesurfer.setOptions(this.originalOptions),delete this.originalOptions)}};var _l=class{constructor(){this.listeners={}}on(t,r,n){if(this.listeners[t]||(this.listeners[t]=new Set),n?.once){let l=(...a)=>{this.un(t,l),r(...a)};return this.listeners[t].add(l),()=>this.un(t,l)}return this.listeners[t].add(r),()=>this.un(t,r)}un(t,r){var n;(n=this.listeners[t])===null||n===void 0||n.delete(r)}once(t,r){return this.on(t,r,{once:!0})}unAll(){this.listeners={}}emit(t,...r){this.listeners[t]&&this.listeners[t].forEach((n=>n(...r)))}},A1=class extends _l{constructor(t){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=t}onInit(){}_init(t){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=t,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}};function pg(e,t){let r=t.xmlns?document.createElementNS(t.xmlns,e):document.createElement(e);for(let[n,l]of Object.entries(t))if(n==="children"&&l)for(let[a,c]of Object.entries(l))c instanceof Node?r.appendChild(c):typeof c=="string"?r.appendChild(document.createTextNode(c)):r.appendChild(pg(a,c));else n==="style"?Object.assign(r.style,l):n==="textContent"?r.textContent=l:r.setAttribute(n,l.toString());return r}function Qr(e,t,r){let n=pg(e,t||{});return r?.appendChild(n),n}function dg(e){let t=e,r=new Set;return{get value(){return t},set(n){Object.is(t,n)||(t=n,r.forEach((l=>l(t))))},update(n){this.set(n(t))},subscribe:n=>(r.add(n),()=>r.delete(n))}}function zl(e,t){let r,n=()=>{r&&(r(),r=void 0),r=e()},l=t.map((a=>a.subscribe(n)));return n(),()=>{r&&(r(),r=void 0),l.forEach((a=>a()))}}function In(e,t){let r=dg(null),n=l=>{r.set(l)};return e.addEventListener(t,n),r._cleanup=()=>{e.removeEventListener(t,n)},r}function Mo(e){let t=e._cleanup;typeof t=="function"&&t()}function Ol(e,t={}){let{threshold:r=3,mouseButton:n=0,touchDelay:l=100}=t,a=dg(null),c=new Map,s=matchMedia("(pointer: coarse)").matches,u=()=>{},p=i=>{if(i.button!==n||(c.set(i.pointerId,i),c.size>1))return;let g=i.clientX,h=i.clientY,y=!1,b=Date.now(),f=e.getBoundingClientRect(),{left:v,top:C}=f,x=k=>{if(k.defaultPrevented||c.size>1||s&&Date.now()-b<l)return;let w=k.clientX,R=k.clientY,E=w-g,N=R-h;(y||Math.abs(E)>r||Math.abs(N)>r)&&(k.preventDefault(),k.stopPropagation(),y||(a.set({type:"start",x:g-v,y:h-C}),y=!0),a.set({type:"move",x:w-v,y:R-C,deltaX:E,deltaY:N}),g=w,h=R)},I=k=>{if(c.delete(k.pointerId),y){let w=k.clientX,R=k.clientY;a.set({type:"end",x:w-v,y:R-C})}u()},P=k=>{c.delete(k.pointerId),k.relatedTarget&&k.relatedTarget!==document.documentElement||I(k)},M=k=>{y&&(k.stopPropagation(),k.preventDefault())},B=k=>{k.defaultPrevented||c.size>1||y&&k.preventDefault()};document.addEventListener("pointermove",x),document.addEventListener("pointerup",I),document.addEventListener("pointerout",P),document.addEventListener("pointercancel",P),document.addEventListener("touchmove",B,{passive:!1}),document.addEventListener("click",M,{capture:!0}),u=()=>{document.removeEventListener("pointermove",x),document.removeEventListener("pointerup",I),document.removeEventListener("pointerout",P),document.removeEventListener("pointercancel",P),document.removeEventListener("touchmove",B),setTimeout((()=>{document.removeEventListener("click",M,{capture:!0})}),10)}};return e.addEventListener("pointerdown",p),{signal:a,cleanup:()=>{u(),e.removeEventListener("pointerdown",p),c.clear(),Mo(a)}}}var Hl=class extends _l{constructor(t,r,n=0){var l,a,c,s,u,p,i,g,h,y;super(),this.totalDuration=r,this.numberOfChannels=n,this.element=null,this.minLength=0,this.maxLength=1/0,this.contentEditable=!1,this.subscriptions=[],this.updatingSide=void 0,this.isRemoved=!1,this.subscriptions=[],this.id=t.id||`region-${Math.random().toString(32).slice(2)}`,this.start=this.clampPosition(t.start),this.end=this.clampPosition((l=t.end)!==null&&l!==void 0?l:t.start),this.drag=(a=t.drag)===null||a===void 0||a,this.resize=(c=t.resize)===null||c===void 0||c,this.resizeStart=(s=t.resizeStart)===null||s===void 0||s,this.resizeEnd=(u=t.resizeEnd)===null||u===void 0||u,this.color=(p=t.color)!==null&&p!==void 0?p:"rgba(0, 0, 0, 0.1)",this.minLength=(i=t.minLength)!==null&&i!==void 0?i:this.minLength,this.maxLength=(g=t.maxLength)!==null&&g!==void 0?g:this.maxLength,this.channelIdx=(h=t.channelIdx)!==null&&h!==void 0?h:-1,this.contentEditable=(y=t.contentEditable)!==null&&y!==void 0?y:this.contentEditable,this.element=this.initElement(),this.setContent(t.content),this.setPart(),this.renderPosition(),this.initMouseEvents()}clampPosition(t){return Math.max(0,Math.min(this.totalDuration,t))}setPart(){var t;let r=this.start===this.end;(t=this.element)===null||t===void 0||t.setAttribute("part",`${r?"marker":"region"} ${this.id}`)}addResizeHandles(t){let r={position:"absolute",zIndex:"2",width:"6px",height:"100%",top:"0",cursor:"ew-resize",wordBreak:"keep-all"},n=Qr("div",{part:"region-handle region-handle-left",style:Object.assign(Object.assign({},r),{left:"0",borderLeft:"2px solid rgba(0, 0, 0, 0.5)",borderRadius:"2px 0 0 2px"})},t),l=Qr("div",{part:"region-handle region-handle-right",style:Object.assign(Object.assign({},r),{right:"0",borderRight:"2px solid rgba(0, 0, 0, 0.5)",borderRadius:"0 2px 2px 0"})},t),a=Ol(n,{threshold:1}),c=Ol(l,{threshold:1}),s=zl((()=>{let p=a.signal.value;p&&(p.type==="move"&&p.deltaX!==void 0?this.onResize(p.deltaX,"start"):p.type==="end"&&this.onEndResizing("start"))}),[a.signal]),u=zl((()=>{let p=c.signal.value;p&&(p.type==="move"&&p.deltaX!==void 0?this.onResize(p.deltaX,"end"):p.type==="end"&&this.onEndResizing("end"))}),[c.signal]);this.subscriptions.push((()=>{s(),u(),a.cleanup(),c.cleanup()}))}removeResizeHandles(t){let r=t.querySelector('[part*="region-handle-left"]'),n=t.querySelector('[part*="region-handle-right"]');r&&t.removeChild(r),n&&t.removeChild(n)}initElement(){if(this.isRemoved)return null;let t=this.start===this.end,r=0,n=100;this.channelIdx>=0&&this.numberOfChannels>0&&this.channelIdx<this.numberOfChannels&&(n=100/this.numberOfChannels,r=n*this.channelIdx);let l=Qr("div",{style:{position:"absolute",top:`${r}%`,height:`${n}%`,backgroundColor:t?"none":this.color,borderLeft:t?"2px solid "+this.color:"none",borderRadius:"2px",boxSizing:"border-box",transition:"background-color 0.2s ease",cursor:this.drag?"grab":"default",pointerEvents:"all"}});return!t&&this.resize&&this.addResizeHandles(l),l}renderPosition(){if(!this.element)return;let t=this.start/this.totalDuration,r=(this.totalDuration-this.end)/this.totalDuration;this.element.style.left=100*t+"%",this.element.style.right=100*r+"%"}toggleCursor(t){var r;this.drag&&(!((r=this.element)===null||r===void 0)&&r.style)&&(this.element.style.cursor=t?"grabbing":"grab")}initMouseEvents(){let{element:t}=this;if(!t)return;let r=In(t,"click"),n=In(t,"mouseenter"),l=In(t,"mouseleave"),a=In(t,"dblclick"),c=In(t,"pointerdown"),s=In(t,"pointerup"),u=r.subscribe((v=>v&&this.emit("click",v))),p=n.subscribe((v=>v&&this.emit("over",v))),i=l.subscribe((v=>v&&this.emit("leave",v))),g=a.subscribe((v=>v&&this.emit("dblclick",v))),h=c.subscribe((v=>v&&this.toggleCursor(!0))),y=s.subscribe((v=>v&&this.toggleCursor(!1)));this.subscriptions.push((()=>{u(),p(),i(),g(),h(),y(),Mo(r),Mo(n),Mo(l),Mo(a),Mo(c),Mo(s)}));let b=Ol(t),f=zl((()=>{let v=b.signal.value;v&&(v.type==="start"?this.toggleCursor(!0):v.type==="move"&&v.deltaX!==void 0?this.onMove(v.deltaX):v.type==="end"&&(this.toggleCursor(!1),this.drag&&this.emit("update-end")))}),[b.signal]);this.subscriptions.push((()=>{f(),b.cleanup()})),this.contentEditable&&this.content&&(this.contentClickListener=v=>this.onContentClick(v),this.contentBlurListener=()=>this.onContentBlur(),this.content.addEventListener("click",this.contentClickListener),this.content.addEventListener("blur",this.contentBlurListener))}_onUpdate(t,r,n){var l;if(!(!((l=this.element)===null||l===void 0)&&l.parentElement))return;let{width:a}=this.element.parentElement.getBoundingClientRect(),c=t/a*this.totalDuration,s=r&&r!=="start"?this.start:this.start+c,u=r&&r!=="end"?this.end:this.end+c,p=n!==void 0;p&&this.updatingSide&&this.updatingSide!==r&&(this.updatingSide==="start"?s=n:u=n),s=Math.max(0,s),u=Math.min(this.totalDuration,u);let i=u-s;this.updatingSide=r;let g=i>=this.minLength&&i<=this.maxLength;s<=u&&(g||p)&&(this.start=s,this.end=u,this.renderPosition(),this.emit("update",r))}onMove(t){this.drag&&this._onUpdate(t)}onResize(t,r){this.resize&&(this.resizeStart||r!=="start")&&(this.resizeEnd||r!=="end")&&this._onUpdate(t,r)}onEndResizing(t){this.resize&&(this.emit("update-end",t),this.updatingSide=void 0)}onContentClick(t){t.stopPropagation(),t.target.focus(),this.emit("click",t)}onContentBlur(){this.emit("update-end")}_setTotalDuration(t){this.totalDuration=t,this.renderPosition()}play(t){this.emit("play",t&&this.end!==this.start?this.end:void 0)}getContent(t=!1){var r;return t?this.content||void 0:this.element instanceof HTMLElement?((r=this.content)===null||r===void 0?void 0:r.innerHTML)||void 0:""}setContent(t){var r;if(this.element)if(this.content&&this.contentEditable&&(this.contentClickListener&&this.content.removeEventListener("click",this.contentClickListener),this.contentBlurListener&&this.content.removeEventListener("blur",this.contentBlurListener)),(r=this.content)===null||r===void 0||r.remove(),t){if(typeof t=="string"){let n=this.start===this.end;this.content=Qr("div",{style:{padding:`0.2em ${n?.2:.4}em`,display:"inline-block"},textContent:t})}else this.content=t;this.contentEditable&&(this.content.contentEditable="true",this.contentClickListener=n=>this.onContentClick(n),this.contentBlurListener=()=>this.onContentBlur(),this.content.addEventListener("click",this.contentClickListener),this.content.addEventListener("blur",this.contentBlurListener)),this.content.setAttribute("part","region-content"),this.element.appendChild(this.content),this.emit("content-changed")}else this.content=void 0}setOptions(t){var r,n;if(this.element){if(t.color&&(this.color=t.color,this.element.style.backgroundColor=this.color),t.drag!==void 0&&(this.drag=t.drag,this.element.style.cursor=this.drag?"grab":"default"),t.start!==void 0||t.end!==void 0){let l=this.start===this.end;this.start=this.clampPosition((r=t.start)!==null&&r!==void 0?r:this.start),this.end=this.clampPosition((n=t.end)!==null&&n!==void 0?n:l?this.start:this.end),this.renderPosition(),this.setPart()}if(t.content&&this.setContent(t.content),t.id&&(this.id=t.id,this.setPart()),t.resize!==void 0&&t.resize!==this.resize){let l=this.start===this.end;this.resize=t.resize,this.resize&&!l?this.addResizeHandles(this.element):this.removeResizeHandles(this.element)}t.resizeStart!==void 0&&(this.resizeStart=t.resizeStart),t.resizeEnd!==void 0&&(this.resizeEnd=t.resizeEnd)}}remove(){this.isRemoved=!0,this.emit("remove"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.content&&this.contentEditable&&(this.contentClickListener&&(this.content.removeEventListener("click",this.contentClickListener),this.contentClickListener=void 0),this.contentBlurListener&&(this.content.removeEventListener("blur",this.contentBlurListener),this.contentBlurListener=void 0)),this.element&&(this.element.remove(),this.element=null),this.unAll()}},Ul=class e extends A1{constructor(t){super(t),this.regions=[],this.regionsContainer=this.initRegionsContainer()}static create(t){return new e(t)}onInit(){if(!this.wavesurfer)throw Error("WaveSurfer is not initialized");this.wavesurfer.getWrapper().appendChild(this.regionsContainer),this.subscriptions.push(this.wavesurfer.on("ready",(r=>{this.regions.forEach((n=>n._setTotalDuration(r)))})));let t=[];this.subscriptions.push(this.wavesurfer.on("timeupdate",(r=>{let n=this.regions.filter((l=>l.start<=r&&(l.end===l.start?l.start+.05:l.end)>=r));n.forEach((l=>{t.includes(l)||this.emit("region-in",l)})),t.forEach((l=>{n.includes(l)||this.emit("region-out",l)})),t=n})))}initRegionsContainer(){return Qr("div",{part:"regions-container",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"5",pointerEvents:"none"}})}getRegions(){return this.regions}avoidOverlapping(t){t.content&&setTimeout((()=>{let r=t.content,n=r.getBoundingClientRect(),l=this.regions.map((a=>{if(a===t||!a.content)return 0;let c=a.content.getBoundingClientRect();return n.left<c.left+c.width&&c.left<n.left+n.width?c.height:0})).reduce(((a,c)=>a+c),0);r.style.marginTop=`${l}px`}),10)}adjustScroll(t){var r,n;if(!t.element)return;let l=(n=(r=this.wavesurfer)===null||r===void 0?void 0:r.getWrapper())===null||n===void 0?void 0:n.parentElement;if(!l)return;let{clientWidth:a,scrollWidth:c}=l;if(c<=a)return;let s=l.getBoundingClientRect(),u=t.element.getBoundingClientRect(),p=u.left-s.left,i=u.right-s.left;p<0?l.scrollLeft+=p:i>a&&(l.scrollLeft+=i-a)}virtualAppend(t,r,n){let l=()=>{if(!this.wavesurfer)return;let a=this.wavesurfer.getWidth(),c=this.wavesurfer.getScroll(),s=r.clientWidth,u=this.wavesurfer.getDuration(),p=Math.round(t.start/u*s),i=p+(Math.round((t.end-t.start)/u*s)||1)>c&&p<c+a;i&&!n.parentElement?r.appendChild(n):!i&&n.parentElement&&n.remove()};setTimeout((()=>{if(!this.wavesurfer||!t.element)return;l();let a=this.wavesurfer.on("scroll",l),c=this.wavesurfer.on("zoom",l),s=this.wavesurfer.on("resize",l);this.subscriptions.push(a,c,s),t.once("remove",(()=>{a(),c(),s()}))}),0)}saveRegion(t){if(!t.element)return;this.virtualAppend(t,this.regionsContainer,t.element),this.avoidOverlapping(t),this.regions.push(t);let r=[t.on("update",(n=>{n||this.adjustScroll(t),this.emit("region-update",t,n)})),t.on("update-end",(n=>{this.avoidOverlapping(t),this.emit("region-updated",t,n)})),t.on("play",(n=>{var l;(l=this.wavesurfer)===null||l===void 0||l.play(t.start,n)})),t.on("click",(n=>{this.emit("region-clicked",t,n)})),t.on("dblclick",(n=>{this.emit("region-double-clicked",t,n)})),t.on("content-changed",(()=>{this.emit("region-content-changed",t)})),t.once("remove",(()=>{r.forEach((n=>n())),this.regions=this.regions.filter((n=>n!==t)),this.emit("region-removed",t)}))];this.subscriptions.push(...r),this.emit("region-created",t)}addRegion(t){var r,n;if(!this.wavesurfer)throw Error("WaveSurfer is not initialized");let l=this.wavesurfer.getDuration(),a=(n=(r=this.wavesurfer)===null||r===void 0?void 0:r.getDecodedData())===null||n===void 0?void 0:n.numberOfChannels,c=new Hl(t,l,a);return this.emit("region-initialized",c),l?this.saveRegion(c):this.subscriptions.push(this.wavesurfer.once("ready",(s=>{c._setTotalDuration(s),this.saveRegion(c)}))),c}enableDragSelection(t,r=3){var n;let l=(n=this.wavesurfer)===null||n===void 0?void 0:n.getWrapper();if(!(l&&l instanceof HTMLElement))return()=>{};let a=null,c=0,s=0,u=Ol(l,{threshold:r}),p=zl((()=>{var i,g;let h=u.signal.value;if(h)if(h.type==="start"){if(c=h.x,!this.wavesurfer)return;let y=this.wavesurfer.getDuration(),b=(g=(i=this.wavesurfer)===null||i===void 0?void 0:i.getDecodedData())===null||g===void 0?void 0:g.numberOfChannels,{width:f}=this.wavesurfer.getWrapper().getBoundingClientRect();s=c/f*y;let v=h.x/f*y,C=(h.x+5)/f*y;a=new Hl(Object.assign(Object.assign({},t),{start:v,end:C}),y,b),this.emit("region-initialized",a),a.element&&this.regionsContainer.appendChild(a.element)}else h.type==="move"&&h.deltaX!==void 0?a&&a._onUpdate(h.deltaX,h.x>c?"end":"start",s):h.type==="end"&&a&&(this.saveRegion(a),a.updatingSide=void 0,a=null)}),[u.signal]);return()=>{p(),u.cleanup()}}clearRegions(){this.regions.slice().forEach((t=>t.remove())),this.regions=[]}destroy(){this.clearRegions(),super.destroy(),this.regionsContainer.remove()}};import{Fragment as D4,jsx as Pe,jsxs as Yr}from"react/jsx-runtime";var L4=B4(function({onFinalize:t,recordOptions:r,options:n,labels:l=ig,className:a,classNames:c,style:s,styles:u,...p},i){let g=mg(null),[h,y]=Vl("idle"),[b,f]=Vl(null),[v,C]=Vl(null),[x,I]=Vl(!1),P=mg("idle");P.current=h;let M=R4(()=>[Al.create({renderRecordedAudio:!0,scrollingWaveform:!1,continuousWaveform:!1,...r}),Ul.create()],[]),[B,k]=M,{wavesurfer:w,isPlaying:R,isReady:E,currentTime:N}=k4({...sg,...n,container:g,plugins:M}),L=E?w?.getDuration()??0:0;z1(()=>{let _=[B.on("record-start",()=>y("recording")),B.on("record-end",G=>{y("recorded"),f(G)}),k.on("region-clicked",(G,$)=>{$.stopPropagation(),G.play(!0)})];return()=>_.forEach(G=>G?.())},[k,B]),z1(()=>w?w.on("ready",()=>{if(P.current!=="recorded")return;let G=w.getDuration();k.clearRegions();let $=k.addRegion({start:0,end:G,color:n?.regionColor??cg,drag:!1,resize:!0});C({start:$.start,end:$.end})}):void 0,[w,k,n]),z1(()=>k.on("region-updated",G=>{C({start:G.start,end:G.end})}),[k]);let F=bn(async()=>{await B.startRecording()},[B]),D=bn(()=>{B.stopRecording()},[B]),S=bn(()=>{w?.playPause()},[w]),H=bn(async()=>{if(!(!b||!v||!w)){I(!0);try{let _=await w4(b,v.start,v.end),G=URL.createObjectURL(_);f(_),w.load(G)}finally{I(!1)}}},[b,v,w]),T=bn(()=>{k.clearRegions(),w?.empty(),f(null),C(null),y("idle")},[w,k]),z=bn(()=>{if(b){let _=URL.createObjectURL(b);t?.(b,_)}},[t,b]),A=!v||v.start<=0&&v.end>=L;return Pe("div",{ref:i,className:_e("cleen wavesurfer-handle",a),style:s,...p,children:Yr("div",{className:_e("cleen-flex cleen-flex-col cleen-items-center cleen-gap-3",c?.container),style:u?.container,children:[h==="idle"&&Yr(D4,{children:[Pe("button",{type:"button",onClick:F,"aria-label":"Start recording",className:_e("cleen-p-8 cleen-border-2 cleen-border-primary/20 hover:cleen-border-primary cleen-rounded-full cleen-transition-colors",c?.startButton),style:u?.startButton,children:Pe(br,{className:"cleen-size-8 cleen-text-primary"})}),Pe("p",{className:_e("cleen-text-neutral-600 cleen-text-sm cleen-select-none",c?.startLabel),style:u?.startLabel,children:l.startRecording})]}),h==="recording"&&Pe("button",{type:"button",onClick:D,"aria-label":"Stop recording",className:_e("cleen-p-8 cleen-border-2 cleen-border-primary/20 hover:cleen-border-primary cleen-rounded-full cleen-transition-colors",c?.stopButton),style:u?.stopButton,children:Pe(Tr,{className:"cleen-size-8 cleen-text-primary"})}),Pe("div",{ref:g,className:_e("cleen-w-full cleen-min-w-0 cleen-waveform",h==="idle"&&"cleen-hidden",c?.waveform),style:u?.waveform}),h==="recorded"&&Yr("div",{className:_e("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",c?.recordedContainer),style:u?.recordedContainer,children:[Pe(re,{type:"button",onClick:S,disabled:!E,"aria-label":R?"Pause":"Play",className:c?.playPauseButton?.className,classNames:{...c?.playPauseButton?.classNames,container:_e("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.playPauseButton?.classNames?.container)},...u?.playPauseButton,children:R?Pe(bo,{className:"cleen-fill-current"}):Pe(yo,{className:"cleen-fill-current"})}),Yr("span",{className:_e("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.timestamp),style:u?.timestamp,children:[Gl(N),"\xA0/\xA0",Gl(L)]}),Pe("span",{className:"cleen-flex-1"}),!A&&v&&Yr("span",{className:_e("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.trimmedTimestamp),style:u?.trimmedTimestamp,children:[Gl(v.start),"\u2013",Gl(v.end)]}),Pe(re,{type:"button",onClick:T,variant:"secondary","aria-label":"Discard recording",className:c?.discardButton?.className,classNames:{...c?.discardButton?.classNames,container:_e("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.discardButton?.classNames?.container)},...u?.discardButton,children:Pe(We,{className:"cleen-text-error"})}),Pe(re,{type:"button",onClick:H,disabled:A||x||!E,"aria-label":"Apply trim",variant:"secondary",className:c?.trimButton?.className,classNames:{...c?.trimButton?.classNames,container:_e("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.trimButton?.classNames?.container)},...u?.trimButton,children:Pe(wr,{})}),Pe(re,{type:"button",onClick:z,"aria-label":"Finalize recording",className:c?.finalizeButton?.className,classNames:{...c?.finalizeButton?.classNames,container:_e("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.finalizeButton?.classNames?.container)},...u?.finalizeButton,children:Pe(Pt,{})})]})]})})});import{cn as Wl}from"@cleen/ui-core";import{forwardRef as T4,useMemo as N4}from"react";var ug={xs:"cleen-size-6 cleen-text-[10px]",sm:"cleen-size-7 cleen-text-xs",md:"cleen-size-9 cleen-text-sm",lg:"cleen-size-11 cleen-text-base",xl:"cleen-size-14 cleen-text-lg"};import{jsx as Jr}from"react/jsx-runtime";var $l=T4(function({title:t,name:r,src:n,alt:l,size:a="md",initialsLength:c=2,isSelected:s=!1,showBorder:u=!1,fallback:p=Jr(Er,{}),className:i,classNames:g,style:h,styles:y,onClick:b,...f},v){let C=N4(()=>(c===2?r?.split(" ").map(x=>x.charAt(0).toUpperCase()).join("").slice(0,c):r?.charAt(0).toUpperCase())||p,[r,c,p]);return Jr("div",{className:Wl("cleen",i),style:h,ref:v,...f,children:Jr("div",{onClick:b,className:Wl("cleen-flex cleen-justify-center cleen-items-center cleen-bg-neutral-200 cleen-rounded-full cleen-font-medium cleen-transition-all",typeof a=="string"&&ug[a],{"cleen-border-2 cleen-border-white":u,"cleen-cursor-pointer":!!b},g?.avatar,u&&s&&["cleen-border-primary",g?.avatarSelected]),style:{...typeof a=="number"&&{width:a,height:a,fontSize:a*.4,lineHeight:`${a}px`},...y?.avatar,...u&&s&&y?.avatarSelected},title:t||r,children:n?Jr("img",{src:n,alt:l||r,className:Wl("cleen-rounded-full cleen-w-full cleen-h-full cleen-object-cover",g?.image),style:y?.image}):Jr("span",{className:Wl("cleen-select-none cleen-text-neutral-700",g?.fallback),style:y?.fallback,children:C})})})});import{cn as hg}from"@cleen/ui-core";import{forwardRef as F4}from"react";import{jsx as O1,jsxs as A4}from"react/jsx-runtime";var E4=F4(function({avatars:t,size:r="md",selectedAvatars:n=[],onAvatarToggle:l,gap:a=4,maxVisible:c,maxExtra:s=99,showBorder:u=!0,initialsLength:p,fallback:i,className:g,classNames:h,style:y,styles:b,...f},v){let C=c?t?.slice(0,c):t,x=c&&t&&t.length>c?Math.min(t.length-c,s):0;return O1("div",{className:hg("cleen",g),style:y,ref:v,...f,children:A4("div",{className:hg("cleen-flex cleen-items-center",h?.row),style:{gap:a,...b?.row},children:[C?.map((I,P)=>{let M=n.includes(I?.id??"");return O1($l,{name:I.name,src:I.src,size:r,isSelected:M,showBorder:u,initialsLength:p,fallback:i,onClick:()=>l?.(I.id??""),...h?.avatar,style:{zIndex:C.length-P,...b?.avatar?.style},styles:b?.avatar?.styles,...I},I.id||P)}),x>0&&O1($l,{size:r,fallback:`+${x}`,...h?.extra,...b?.extra})]})})});import{cn as jt}from"@cleen/ui-core";import{forwardRef as z4}from"react";import{Link as fg}from"react-router-dom";import{jsx as jr,jsxs as ql}from"react/jsx-runtime";var O4=z4(function({root:t={path:"/",icon:jr(mr,{"aria-hidden":"true",className:"cleen-h-5 cleen-w-5"})},segments:r,className:n,classNames:l,style:a,styles:c,...s},u){return!r||r.length===0?null:jr("div",{className:jt("cleen",n),style:a,ref:u,...s,children:jr("nav",{className:jt("cleen-hidden sm:cleen-flex",l?.container),style:c?.container,"aria-label":"Breadcrumb",children:ql("ol",{role:"list",className:jt("cleen-flex cleen-items-center cleen-gap-4",l?.list),style:c?.list,children:[t&&jr("li",{className:jt("cleen-flex cleen-items-center",l?.rootItem),style:c?.rootItem,children:ql(fg,{to:t?.path,className:jt("cleen-text-sm cleen-text-neutral-400 cleen-flex cleen-items-center cleen-gap-2 cleen-transition-colors cleen-duration-200 hover:cleen-text-neutral-600",l?.rootLink),style:c?.rootLink,"aria-current":"page",children:[t?.icon,t?.label]})}),r.map(({path:p,icon:i,label:g,id:h},y)=>{let b=y===r.length-1,f=g||p.charAt(0).toUpperCase()+p.slice(1);return ql("li",{className:jt("cleen-flex cleen-items-center cleen-gap-4",l?.item),style:c?.item,children:[(t||!t&&y!==0)&&jr(je,{className:jt("cleen-h-5 cleen-w-5 cleen-text-neutral-300",l?.chevron),style:c?.chevron,"aria-hidden":"true"}),ql(fg,{to:p,className:jt("cleen-transition-colors cleen-duration-200 hover:cleen-text-primary cleen-text-sm cleen-flex cleen-items-center cleen-gap-2",b?"cleen-rounded-md cleen-bg-neutral-50 cleen-py-1 cleen-px-2 cleen-text-neutral-700 cleen-font-semibold":"cleen-text-neutral-600 cleen-font-medium",l?.link),style:c?.link,"aria-current":b?"page":void 0,children:[i,f]})]},h||p)})]})})})});var Xl=(e,t)=>{if(!e)return;if(!t||!t.min&&!t.max)return e;let{min:r,max:n}=t,l=new Date,a=new Date(l.getFullYear(),l.getMonth(),l.getDate());if(r){let c=r==="today"?a:r;if(c>=e)return c}if(n){let c=n==="today"?a:n;if(c<=e)return c}return e};import{cn as Kl}from"@cleen/ui-core";import{forwardRef as _4,useState as _1}from"react";import{DayPicker as gg,MonthGrid as H4}from"react-day-picker";import{Fragment as U4,jsx as wo,jsxs as U1}from"react/jsx-runtime";var H1=e=>e?.toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric"}),G1=_4(function({label:t,labelTooltip:r,infoLabels:n,required:l,withDateInput:a=!1,withTodayButton:c=!1,selected:s,onSelect:u,month:p,labels:i,className:g,style:h,classNames:y,styles:b,mode:f="single",min:v,max:C,disabled:x,disabledDates:I,components:P,...M},B){let k=s!==void 0,w=f==="single",[R,E]=_1(),[N,L]=_1(),F=k?s:w?R:N,[D,S]=_1(p),H=(A,_)=>{k||(w&&(A===void 0||A instanceof Date)?E(A):w||L(A)),u?.(A,_)},T={MonthGrid:A=>U1(U4,{children:[(c||a)&&U1("div",{className:"cleen-flex cleen-gap-3 cleen-items-center cleen-py-2",children:[a&&wo(de,{value:f==="single"?H1(F):F?.from||F?.to?`${H1(F?.from)??"..."} - ${H1(F?.to)??"..."}`:void 0,placeholder:i?.inputPlaceholder??"No date selected",className:"cleen-flex-1",readOnly:!0}),c&&wo(re,{variant:"secondary",onClick:()=>S(new Date),children:i?.today??"Today"})]}),wo(H4,{...A})]}),...P},z={navLayout:"around",...M,className:Kl("cleen-text-foreground",y?.calendar?.className),classNames:{...y?.calendar?.classNames,nav:Kl("cleen-text-error",y?.calendar?.classNames?.nav)},disabled:v||C?{before:v==="today"?new Date:v,after:C==="today"?new Date:C}:I||x,components:T,month:D,onMonthChange:S,...b?.calendar};return U1("div",{ref:B,className:Kl("cleen",g),style:h,children:[t&&wo(oe,{required:l,tooltip:r,className:Kl("cleen-mb-1.5",y?.label?.className),classNames:y?.label?.classNames,...b?.label,children:t}),w?wo(gg,{mode:"single",...z,selected:F,onSelect:(A,_)=>{if(v||C){H(Xl(A,{min:v,max:C}),_);return}H(A,_)}}):wo(gg,{mode:"range",...z,selected:F,onSelect:(A,_)=>{if(v||C){H({from:Xl(A?.from,{min:v,max:C}),to:Xl(A?.to,{min:v,max:C})},_);return}H(A,_)}}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&wo(ee,{...n})]})});import{cn as yn,useOutsideClick as G4,usePositionClose as V4,ZIndex as W4}from"@cleen/ui-core";import{forwardRef as $4,useEffect as q4,useRef as vg,useState as X4}from"react";import{createPortal as K4}from"react-dom";import{jsx as ko,jsxs as Ig}from"react/jsx-runtime";var ea=$4(function({type:t="button",required:r,label:n,title:l,titleTooltip:a,disabled:c=!1,leftIcon:s,rightIcon:u=ko(jn,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),fullWidth:p=!0,fullWidthDropdown:i,offset:g=4,isOpen:h,onOpenChange:y,keepOpenOnClickContent:b=!0,zIndex:f=W4.DROPDOWN,infoLabels:v,className:C,classNames:x,style:I,styles:P,children:M,...B},k){let[w,R]=X4(!1),E=h!==void 0?h:w,N=vg(null),L=vg(null),{positionStyles:F,isMounted:D}=V4({triggerRef:L,targetRef:N,position:"bottom-left",isOpen:E,offset:g});G4({refs:[N,L],handler:()=>{R(!1),y?.(!1)},enabled:E}),q4(()=>{let T=z=>{z.key==="Escape"&&E&&(R(!1),y?.(!1))};return document.addEventListener("keydown",T),()=>{document.removeEventListener("keydown",T)}},[E,y]);let S=()=>{let T=!E;h===void 0&&R(T),y?.(T)},H=()=>{b||(h===void 0&&R(!1),y?.(!1))};return Ig("div",{className:yn("cleen",C),style:I,ref:k,...B,children:[l&&ko(oe,{required:r,tooltip:a,className:yn("cleen-mb-1.5",x?.title?.className),classNames:x?.title?.classNames,...P?.title,children:l}),ko("div",{className:yn("cleen-inline-block cleen-relative",p&&"cleen-w-full"),ref:L,children:Ig("button",{type:t,className:yn("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-bg-background cleen-shadow-sm cleen-my-auto cleen-px-3.5 cleen-py-2.5 cleen-border cleen-border-border cleen-rounded-md cleen-w-full cleen-text-foreground cleen-text-base cleen-transition-colors cleen-duration-200 hover:cleen-bg-neutral-25 hover:cleen-border-muted-foreground",{"cleen-w-full cleen-flex-1":p,"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":c},p&&"cleen-w-full",x?.trigger),style:P?.trigger,disabled:c,"aria-haspopup":"dialog","aria-expanded":E,onClick:S,children:[s,ko("div",{className:yn("cleen-flex-1 cleen-text-left",x?.label),style:P?.label,children:n}),u]})}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&ko(ee,{...v}),M&&E&&K4(ko("div",{className:"cleen",children:ko("div",{ref:N,className:yn("cleen-bg-background cleen-shadow-md cleen-p-2.5 cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute",{"cleen-opacity-0":!D},x?.dropdown),style:{zIndex:f,top:`${F.top}px`,left:`${F.left}px`,minWidth:i&&L.current?.offsetWidth?`${L.current.offsetWidth}px`:void 0,...P?.dropdown},onClick:H,children:M})}),document.body)]})});import{cn as bg}from"@cleen/ui-core";import{forwardRef as Z4,useMemo as Q4,useState as Zl}from"react";import{jsx as Bo,jsxs as yg}from"react/jsx-runtime";var Y4=Z4(function({label:t,placeholder:r,infoLabels:n,required:l,selected:a,onSelect:c,onSelectInternal:s,leftIcon:u,rightIcon:p=Bo(Zn,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),className:i,style:g,classNames:h,styles:y,mode:b="single",min:f,max:v,disabled:C,disabledDates:x,...I},P){let M=a!==void 0,B=b==="single",[k,w]=Zl(!1),[R,E]=Zl(),[N,L]=Zl(),F=M?a:B?R:N,[D,S]=Zl(),H=z=>{M||(B&&(z===void 0||z instanceof Date)?E(z):B||L(z)),c?.(z)},T=Q4(()=>{if(!F)return r;if(B)return F?.toLocaleDateString();{let z=F;if(z.from&&z.to)return`${z.from.toLocaleDateString()} - ${z.to.toLocaleDateString()}`;if(z.from)return z.from.toLocaleDateString()}return r},[r,F,B]);return yg("div",{ref:P,className:bg("cleen",i),style:g,children:[Bo(ea,{title:t,label:T,isOpen:k,onOpenChange:z=>{S(F),w(z)},leftIcon:u,rightIcon:p,className:h?.dropdown?.className,classNames:{...h?.dropdown?.classNames,dropdown:bg("cleen-p-0 cleen-border-0",h?.dropdown?.classNames?.dropdown)},required:l,disabled:C,...y?.dropdown,children:Bo(pe,{footer:{hasDivider:!0,content:yg("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[Bo(re,{variant:"secondary",onClick:()=>w(!1),styles:{container:{minWidth:"max-content"}},children:"Close"}),Bo(re,{onClick:()=>{H(D),w(!1)},styles:{container:{minWidth:"max-content"}},children:"Apply"})]})},...h?.card,...y?.card,children:Bo(G1,{mode:b,...I,selected:D,onSelect:(z,A)=>S(s?.(z,A)??z),min:f,max:v,disabledDates:x,...h?.calendar,...y?.calendar})})}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&Bo(ee,{...n})]})});import"react";import{cn as Cn}from"@cleen/ui-core";import J4 from"embla-carousel-auto-scroll";import j4 from"embla-carousel-autoplay";import e5 from"embla-carousel-react";import{forwardRef as t5,useEffect as o5,useMemo as Cg,useState as xg}from"react";import{jsx as Ro,jsxs as r5}from"react/jsx-runtime";var n5=t5(function({options:t,slideAmount:r=3,slideSize:n,prevBtn:l,nextBtn:a,autoPlay:c=!1,autoPlayOptions:s,autoScroll:u=!1,autoScrollOptions:p,children:i,className:g,classNames:h,style:y,styles:b,...f},v){let C=Cg(()=>{let L=[];return c&&L.push(j4(s)),u&&L.push(J4(p)),L},[c,u,s,p]),[x,I]=e5({skipSnaps:!0,...t},C),[P,M]=xg(!0),[B,k]=xg(!0),w=()=>I?.scrollPrev(),R=()=>I?.scrollNext(),E=L=>{M(!L?.canScrollPrev()),k(!L?.canScrollNext())};o5(()=>{I&&(E(I),I.on("reInit",E),I.on("select",E))},[I]);let N=Cg(()=>n?`${n}%`:`${100/r}%`,[n,r]);return Ro("div",{className:Cn("cleen",g),style:y,ref:v,...f,children:r5("div",{className:Cn("cleen-flex cleen-gap-2",h?.container),style:b?.container,children:[Ro("button",{className:Cn("cleen-text-foreground",h?.prevBtn,P&&"cleen-opacity-50"),onClick:w,disabled:P,style:b?.prevBtn,children:l||Ro(St,{})}),Ro("div",{className:Cn("cleen-flex-1 cleen-overflow-hidden",h?.viewport),style:b?.viewport,ref:x,children:Ro("div",{className:Cn("cleen-flex [&>*]:cleen-flex-[0_0] cleen-gap-2 [&>*]:cleen-min-w-0 cleen-touch-pinch-zoom [&>*]:cleen-basis-[var(--cleen-carousel-slide-size)]",h?.list),style:{...b?.list,"--cleen-carousel-slide-size":N},children:i})}),Ro("button",{className:Cn("cleen-text-foreground",h?.nextBtn,B&&"cleen-opacity-50"),onClick:R,disabled:B,style:b?.nextBtn,children:a||Ro(je,{})})]})})});import{cn as Lo}from"@cleen/ui-core";import{forwardRef as a5,useEffect as Mg,useId as l5,useRef as c5,useState as s5}from"react";var Pg={primary:"cleen-bg-primary cleen-transition-all cleen-duration-200 hover:cleen-bg-primary hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-primary),0.25)]",error:"cleen-bg-error cleen-transition-all cleen-duration-200 hover:cleen-bg-error hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]"},Sg={primary:"cleen-bg-primary/60 cleen-transition-all cleen-duration-200 hover:cleen-bg-primary/60 hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-primary),0.25)]",error:"cleen-bg-error/60 cleen-transition-all cleen-duration-200 hover:cleen-bg-error/60 hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]"};import{Fragment as i5,jsx as st,jsxs as Ql}from"react/jsx-runtime";var ta=a5(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,className:c,classNames:s,style:u,styles:p,onChange:i,disabled:g,title:h,titleTooltip:y,label:b,sublabel:f,variant:v="primary",allowIndeterminate:C=!1,fullTriggerArea:x=!1,infoLabels:I,inputRef:P,...M},B){let k=l5(),w=t??k,R=typeof l=="boolean"||l===null,[E,N]=s5(a),L=c5(null),F=z=>{L.current=z,P&&(P.current=z)};Mg(()=>{R||N(a)},[a,R]);let D=R?l:E;Mg(()=>{L.current&&(L.current.indeterminate=C&&D===null)},[C,D]);let S=z=>{let A;if(C)switch(D){case!0:A=null;break;case!1:A=!0;break;default:A=!1;break}else A=!D;R||N(A),i?.({...z,target:{...z.target,checked:A}})},H=Ql(i5,{children:[Ql("label",{className:Lo("cleen-bg-background cleen-transition-all cleen-duration-200 hover:cleen-bg-surface hover:cleen-shadow-[0px_0px_0px_4px_rgb(var(--cleen-neutral-100))] cleen-border cleen-border-neutral-300 cleen-rounded cleen-ring-primary cleen-size-5 cleen-min-w-5 cleen-min-h-5 cleen-cursor-pointer focus-within:cleen-ring-2 focus-within:cleen-ring-offset-1 focus-within:cleen-ring-primary",{[Pg[v]]:D,[Sg[v]]:D===null},g&&"cleen-cursor-not-allowed cleen-pointer-events-none","cleen-flex cleen-items-center cleen-justify-center",s?.checkbox),style:p?.checkbox,children:[st("input",{ref:F,type:"checkbox",disabled:g,className:"cleen-sr-only",checked:D===!0,onChange:S,id:w,name:r,...M}),D===null?st("span",{className:"cleen-block cleen-m-auto cleen-border cleen-border-white cleen-rounded-sm cleen-w-2.5 cleen-h-0.5 cleen-size-3"}):D?st(Pt,{className:"cleen-stroke-[3px] cleen-size-3 cleen-text-primary-foreground"}):null]}),(b||f)&&Ql("div",{children:[st("label",{htmlFor:w,className:Lo("cleen-block cleen-text-foreground",s?.label),style:p?.label,children:b}),st("label",{htmlFor:w,className:Lo("cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-leading-5",s?.sublabel),style:p?.sublabel,children:f})]})]}),T={className:Lo("cleen-flex cleen-items-start cleen-gap-2",{"cleen-opacity-50":g},s?.checkboxContainer),style:p?.checkboxContainer};return st("div",{className:Lo("cleen",c),style:u,ref:B,children:Ql("div",{className:Lo(s?.container),style:p?.container,children:[h&&st(oe,{htmlFor:w,required:n,tooltip:y,className:Lo("cleen-mb-1.5",s?.title?.className),classNames:s?.title?.classNames,...p?.title,children:h}),x?st("div",{...T,onClick:z=>{z.target instanceof Element&&!z.target.closest("label")&&L.current?.click()},children:H}):st("div",{...T,children:H}),(I?.errorMessage||I?.infoMessage||I?.subtitle)&&st(ee,{...I})]})})});import{cn as oa}from"@cleen/ui-core";import{forwardRef as p5,useId as d5,useMemo as m5,useState as u5}from"react";import{jsx as xn,jsxs as f5}from"react/jsx-runtime";var h5=p5(function({id:t,required:r,label:n,labelTooltip:l,checkboxes:a,allowIndeterminate:c,infoLabels:s,requiresAtLeastOneOptions:u,classNames:p,styles:i,onChange:g,...h},y){let b=d5(),f=t??b,[v,C]=u5(!1),x=m5(()=>u&&v&&a?.every(P=>P.checked===!1)?u.title:s?.errorMessage,[u,s?.errorMessage,a,v]),I=(P,M)=>{let B={...M,checked:P.target.checked},k;a&&M?.id&&(k=[...a].map(w=>w.id===M.id?B:w)),g?.(B,k),C(!0)};return xn("div",{className:oa("cleen"),...h,ref:y,children:f5("div",{className:oa("cleen-flex cleen-flex-col cleen-gap-2",p?.container),style:i?.container,children:[n&&xn(oe,{htmlFor:f,required:r,tooltip:l,className:oa("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...i?.label,children:n}),xn("div",{className:oa("cleen-flex cleen-flex-col cleen-gap-3",p?.checkboxes),style:i?.checkboxes,children:a?.map((P,M)=>xn("div",{className:oa("cleen-flex",p?.checkboxContainer),style:i?.checkboxContainer,children:xn(ta,{allowIndeterminate:c,...P,id:`${f}-${M}`,fullTriggerArea:!0,onChange:B=>I(B,P)})},P.id))}),(x||s?.infoMessage||s?.subtitle)&&xn(ee,{...s,errorMessage:x})]})})});import{cn as Do}from"@cleen/ui-core";import{forwardRef as g5,useState as wg}from"react";import{jsx as Pn,jsxs as kg}from"react/jsx-runtime";var Bg=g5(({sections:e,defaultOpenIndex:t,allowExpandAll:r=!1,className:n,classNames:l,style:a,styles:c,...s},u)=>{let[p,i]=wg(t??null),[g,h]=wg(()=>new Set(e.map((f,v)=>v))),y=f=>r?g.has(f):p===f,b=(f,v)=>{v.onClick?.(),v.items?.length&&(r?h(C=>{let x=new Set(C);return x.has(f)?x.delete(f):x.add(f),x}):i(p===f?null:f))};return Pn("div",{ref:u,className:Do("cleen",n),style:{...a,width:"100%"},...s,children:Pn("div",{className:Do("cleen-w-full",l?.container),style:c?.container,children:e.map((f,v)=>kg("div",{className:Do("cleen-mb-3",l?.section),style:c?.section,children:[kg("div",{onClick:()=>b(v,f),className:Do("cleen-flex cleen-w-full cleen-items-center cleen-justify-between cleen-font-medium cleen-text-md cleen-text-foreground cleen-p-2 cleen-rounded-lg cleen-cursor-pointer hover:cleen-bg-muted cleen-transition-colors",l?.sectionHeader),style:c?.sectionHeader,children:[Pn("div",{className:"cleen-flex-1 cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis",children:f?.title}),f?.items?.length?Pn(Mt,{className:Do("cleen-shrink-0 cleen-text-neutral-400 cleen-transition-transform",{"cleen-rotate-180":!y(v)})}):null]}),y(v)&&f?.items&&Pn("div",{className:Do("cleen-mt-1 cleen-flex cleen-flex-col cleen-w-full",l?.sectionBody),style:c?.sectionBody,children:f?.items?.map((C,x)=>Pn("div",{className:Do("cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis cleen-p-2 cleen-w-full cleen-rounded-lg cleen-font-normal cleen-text-md cleen-text-foreground cleen-cursor-pointer hover:cleen-bg-muted cleen-transition-colors",l?.item),style:c?.item,onClick:C?.onClick,children:C?.content},C?.key??x))})]},f?.key??v))})})});Bg.displayName="Collapsible";function V1(e){let t=e.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);return t?{r:Number(t[1]),g:Number(t[2]),b:Number(t[3]),a:t[4]!==void 0?Number(t[4]):1}:{r:0,g:0,b:0,a:1}}function Rg(e){return`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`}import{cn as Yl}from"@cleen/ui-core";import{useEffect as v5,useState as I5}from"react";import{HexAlphaColorPicker as b5,RgbaColorPicker as y5}from"react-colorful";import{jsx as Sn,jsxs as x5}from"react/jsx-runtime";var Lg="rgba(0, 0, 0, 1)",Dg="#000000ff",C5=({required:e,value:t,defaultValue:r,onChange:n,colorModel:l="rgba",disabled:a,label:c,labelTooltip:s,className:u,classNames:p,style:i,styles:g,infoLabels:h,...y})=>{let b=t!==void 0,f=r??(l==="hexa"?Dg:Lg),[v,C]=I5(f),x=b?t:v;v5(()=>{b||C(r??(l==="hexa"?Dg:Lg))},[r,b,l]);let I=M=>{let B=Rg(M);b||C(B),n?.(B)},P=M=>{b||C(M),n?.(M)};return Sn("div",{className:Yl("cleen",u),style:i,...y,children:x5("div",{className:Yl("cleen-flex cleen-flex-col cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-medium",p?.container),style:g?.container,children:[c&&Sn(oe,{required:e,tooltip:s,className:Yl("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...g?.label,children:c}),Sn("div",{className:Yl("cleen-rounded-md",a&&"cleen-opacity-50 cleen-pointer-events-none",p?.picker),style:g?.picker,children:l==="hexa"?Sn(b5,{color:x,onChange:P}):Sn(y5,{color:V1(x),onChange:I})}),(h?.errorMessage||h?.infoMessage||h?.subtitle)&&Sn(ee,{...h})]})})};import{cn as $e}from"@cleen/ui-core";import{forwardRef as P5,useMemo as S5,useState as M5}from"react";var W1=(e="")=>e.replace(/\D+/g,""),Tg=e=>{switch(e.slice(0,2)){case"34":case"37":return"amex";case"36":return"dinersclub";default:return"other"}};function Ng(e,t="other"){if(!e)return e;let r=W1(e),n;switch(t){case"amex":n=`${r.slice(0,4)} ${r.slice(4,10)} ${r.slice(10,15)}`;break;case"dinersclub":n=`${r.slice(0,4)} ${r.slice(4,10)} ${r.slice(10,14)}`;break;default:n=`${r.slice(0,4)} ${r.slice(4,8)} ${r.slice(8,12)} ${r.slice(12,19)}`;break}return n.trim()}var Fg=e=>W1(e);function Eg(e){let t=W1(e);if(!t||parseInt(t.charAt(0),10)>=2)return"";if(t.length<2)return t;let r=t.slice(0,2);if(parseInt(r,10)<1||parseInt(r,10)>12)return t.slice(0,1);if(t.length<3)return r;if(t.length===3)return`${r}/${t.charAt(2)}`;let n=t.length===6?t.slice(-2):t.slice(2,4),l=new Date,a=l.getFullYear()%100,c=l.getMonth()+1;return parseInt(n,10)<a||parseInt(n,10)===a&&parseInt(r,10)<c?`${r}/${n.charAt(0)}`:`${r}/${n}`}import{jsx as eo,jsxs as Ag}from"react/jsx-runtime";var w5=P5(function({labels:t,value:r,isLoading:n,errors:l,className:a,classNames:c,style:s,styles:u,infoLabels:p,onChange:i,onFieldFocus:g,...h},y){let[b,f]=M5({number:"",expiry:"",cvc:""}),v=!!r,C=v?r:b,x=S5(()=>Tg(C.number),[C.number]),I=M=>{let{name:B}=M.target,{value:k}=M.target;switch(B){case"number":k=Ng(k,x);break;case"expiry":k=Eg(k);break;case"cvc":k=Fg(k);break;default:return}v||f(w=>({...w,[B]:k})),i?.({...r,[B]:k})},P=M=>{g?.(M.target.name)};return eo("div",{className:$e("cleen",a),style:s,ref:y,...h,children:eo("div",{className:$e("cleen-flex cleen-flex-wrap cleen-justify-center cleen-items-start cleen-gap-8 cleen-bg-background cleen-min-w-80 cleen-w-min cleen-border cleen-border-primary/20 cleen-rounded-[10px] cleen-shadow-lg",c?.container),style:u?.container,children:n?eo("div",{className:$e("cleen-py-4",c?.loader?.container),style:u?.loader?.container,children:eo(ne,{...c?.loader?.component,...u?.loader?.component})}):Ag("form",{className:$e("cleen-flex cleen-flex-col cleen-items-start cleen-gap-3 cleen-p-4",c?.form?.container),style:u?.form?.container,onSubmit:M=>M.preventDefault(),children:[eo(de,{label:t?.number,name:"number",type:"tel",autoComplete:"cc-number",className:$e("cleen-w-full",c?.form?.cardNumber?.className),classNames:{...c?.form?.cardNumber?.classNames,inputContainer:$e({"cleen-border-error":l?.number},c?.form?.cardNumber?.classNames?.inputContainer),input:$e({"cleen-text-error":l?.number},c?.form?.cardNumber?.classNames?.input)},...u?.form?.cardNumber,placeholder:"1111 1111 1111 1111",value:C.number,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.number}}),Ag("div",{className:$e("cleen-flex cleen-justify-between cleen-items-start cleen-gap-3 cleen-w-full",c?.form?.cvcExpiryContainer),style:u?.form?.cvcExpiryContainer,children:[eo(de,{label:t?.expiry,name:"expiry",type:"tel",autoComplete:"cc-exp",className:c?.form?.expiry?.className,classNames:{...c?.form?.expiry?.classNames,inputContainer:$e({"cleen-border-error":l?.expiry},c?.form?.expiry?.classNames?.inputContainer),input:$e({"cleen-text-error":l?.expiry},c?.form?.expiry?.classNames?.input)},...u?.form?.expiry,placeholder:"00/00",value:C.expiry,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.expiry}}),eo(de,{label:t?.cvc,name:"cvc",type:"tel",inputMode:"numeric",autoComplete:"cc-csc",maxLength:x==="amex"?4:3,className:c?.form?.cvc?.className,classNames:{...c?.form?.cvc?.classNames,inputContainer:$e({"cleen-border-error":l?.cvc},c?.form?.cvc?.classNames?.inputContainer),input:$e({"cleen-text-error":l?.cvc},c?.form?.cvc?.classNames?.input)},...u?.form?.cvc,placeholder:"***",value:C.cvc,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.cvc}})]}),(p?.infoMessage||p?.errorMessage||p?.subtitle)&&eo(ee,{...p})]})})})});import{cn as zg}from"@cleen/ui-core";import{jsx as Og}from"react/jsx-runtime";var tt=({isHorizontal:e=!0,className:t,classNames:r,style:n,styles:l,...a})=>Og("div",{className:zg("cleen",t),style:n,children:Og("div",{className:zg("cleen-bg-border cleen-my-0",e?"cleen-w-full cleen-h-[1px]":"cleen-w-[1px] cleen-h-full",r?.container),style:l?.container,...a})});import{cn as to,useBodyScrollLock as k5,useCleenOverlays as _g,ZIndex as B5}from"@cleen/ui-core";import{forwardRef as R5,useCallback as L5,useEffect as $1,useId as D5,useRef as T5,useState as Hg}from"react";import{createPortal as N5}from"react-dom";import{jsx as Mn,jsxs as Jl}from"react/jsx-runtime";var F5={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":672,"3xl":768},Ug=300,q1=R5(function({title:t,subtitle:r,children:n,headerCloseBtn:l,footer:a,isOpen:c=!1,onClose:s,closeOnOverlayClick:u=!0,position:p="right",zIndex:i=B5.DRAWER,size:g="lg",p:h,gap:y,className:b,classNames:f,style:v,styles:C,...x},I){let[P,M]=Hg(c),[B,k]=Hg(c),w=T5(null),R=D5(),{addOverlay:E,removeOverlay:N}=_g(),L=L5(()=>{M(!1),setTimeout(()=>s?.(),Ug)},[s]);return $1(()=>{if(c){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),Ug);return()=>clearTimeout(F)}},[c]),$1(()=>{if(c)return E(R),()=>N(R)},[E,N,c,R]),$1(()=>{let F=D=>{let{overlays:S}=_g.getState();D.key==="Escape"&&S[S.length-1]===R&&L()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[L,R]),k5(B),B?N5(Jl("div",{className:to("cleen",b),style:v,ref:I,...x,children:[Mn("div",{className:to("cleen-fixed cleen-inset-0 cleen-bg-black/50 dark:cleen-bg-surface/50 cleen-transition-opacity cleen-duration-300 cleen-ease-in-out",P?"cleen-opacity-100":"cleen-opacity-0",f?.overlay),onClick:()=>{u&&L()},style:{zIndex:i-1,...C?.overlay},"aria-hidden":"true"}),Jl("div",{className:to("cleen-top-0 cleen-fixed cleen-flex cleen-flex-col cleen-gap-6 cleen-bg-surface cleen-shadow-l cleen-h-dvh cleen-transition-transform cleen-duration-300 cleen-ease-in-out cleen-transform",p==="right"?"cleen-right-0":"cleen-left-0",P?"cleen-translate-x-0":p==="right"?"cleen-translate-x-full":"-cleen-translate-x-full",f?.drawer),style:{zIndex:i,width:typeof g=="number"?g:F5[g],...y!==void 0&&{gap:y},...C?.drawer},ref:w,children:[Jl("div",{className:to("cleen-flex cleen-justify-between cleen-items-center cleen-px-6 cleen-pt-6 cleen-w-full",f?.header),style:{...h!==void 0&&{paddingInline:h,paddingTop:h},...C?.header},children:[Jl("div",{className:"cleen-flex cleen-flex-col",children:[Mn("span",{className:to("cleen-font-semibold cleen-text-foreground-emphasis cleen-text-xl",f?.title),style:C?.title,children:t}),Mn("span",{className:to("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",f?.subtitle),style:C?.subtitle,children:r})]}),l||Mn(De,{onClick:L,className:"cleen-mb-auto cleen-size-5 cleen-cursor-pointer"})]}),Mn("div",{className:to("cleen-flex-1 cleen-px-6 cleen-overflow-y-auto cleen-no-scrollbar",f?.content),style:{...h!==void 0&&{paddingInline:h},...C?.content},children:n}),a&&Mn("div",{className:to("cleen-flex cleen-justify-end cleen-items-center cleen-gap-2 cleen-bg-sidebar cleen-px-6 cleen-py-4 cleen-border-border cleen-border-t",f?.footer),style:{...h!==void 0&&{paddingInline:h,paddingBlock:y},...C?.footer},children:a})]})]}),document.body):null});import{cn as To,useAnimateNumber as E5}from"@cleen/ui-core";import{forwardRef as A5,useEffect as z5,useMemo as O5,useRef as _5,useState as H5}from"react";import{jsx as jl,jsxs as X1}from"react/jsx-runtime";var wn=A5(({percentage:e,title:t,barColor:r,backgroundColor:n="rgb(var(--cleen-neutral-200))",textColor:l="rgb(var(--cleen-foreground))",invertProgressColors:a=!1,showPercentage:c=!1,renderAnimated:s=!1,renderAnimatedDuration:u=1e3,className:p,classNames:i,style:g,styles:h,...y},b)=>{let f=Math.max(0,Math.min(e,100)),v=_5(f),[C,x]=H5(s?0:f),I=E5({targetNumber:C,duration:u,disabled:!s});z5(()=>{if(s){setTimeout(()=>x(f),0);return}v.current!==f&&(x(f),v.current=f)},[f,s]);let P=O5(()=>{if(r)return r;switch(f<=30?"red":f<70?"orange":"green"){case"red":return a?"rgb(var(--cleen-success))":"rgb(var(--cleen-error))";case"orange":return"rgb(var(--cleen-warning))";case"green":return a?"rgb(var(--cleen-error))":"rgb(var(--cleen-success))";default:return"rgb(var(--cleen-success))"}},[f,a,r]);return jl("div",{ref:b,className:To("cleen",p),style:g,children:X1("div",{className:To("cleen-w-full",i?.container),style:h?.container,...y,children:[t&&jl("div",{className:To("cleen-mb-1 cleen-font-semibold cleen-text-xs",i?.title),style:h?.title,children:t}),X1("div",{className:To("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full cleen-h-4",i?.wrapper||i?.progress),style:h?.wrapper??h?.progress,children:[jl("div",{className:To("cleen-overflow-hidden cleen-flex-1 cleen-h-2 cleen-rounded-full",i?.track),style:{backgroundColor:n,...h?.track},children:jl("div",{className:To("cleen-h-full cleen-transition-all cleen-duration-300 ease-out",i?.fill),style:{width:`${C}%`,backgroundColor:P,...s&&{transitionDuration:`${u}ms`},...h?.fill}})}),c&&X1("span",{className:To("cleen-font-medium cleen-text-sm cleen-whitespace-nowrap cleen-w-10",i?.text),style:{color:l,...h?.text},children:[Math.round(I),"%"]})]})]})})});wn.displayName="ProgressBar";import{cn as oo,FileEntryStatus as No}from"@cleen/ui-core";import{useMemo as Gg}from"react";import{Fragment as Vg,jsx as Se,jsxs as Fo}from"react/jsx-runtime";var Wg=({fileEntry:e,onRemove:t,onFileClick:r,labels:n,classNames:l,styles:a})=>{let{id:c,file:s,name:u,size:p,url:i,type:g,status:h,progress:y=0,preExisting:b}=e,f=h===No.UPLOADING,v=h===No.ERROR,C=h===No.DONE,x=h===No.DELETING,I=p?p*y/100:0,P=Gg(()=>{switch(h){case No.UPLOADING:return Fo(Vg,{children:[Se(Po,{className:"cleen-size-4"}),Se("span",{children:n?.uploading})]});case No.DONE:return Se(fo,{className:"cleen-size-4"});case No.ERROR:return Se(ho,{className:"cleen-size-4"});default:return null}},[h,n]),M=()=>{if(r){r(e);return}i&&window.open(i,"_blank","noopener,noreferrer")},B=u||s?.name||"",[k,w]=B.split("."),R=Gg(()=>g?.startsWith("image/")&&i?Se("img",{src:i,alt:B,className:"cleen-size-8 cleen-object-cover cleen-rounded-md"}):g==="application/pdf"?Se(Io,{className:"cleen-size-8"}):Se(vo,{className:"cleen-size-8"}),[B,g,i]);return Se(pe,{p:12,className:l?.card?.className,classNames:{...l?.card?.classNames,container:oo(l?.card?.classNames?.container,{"hover:cleen-bg-muted cleen-cursor-pointer cleen-overflow-hidden":C})},...a?.card,onClick:C?M:void 0,children:Fo("div",{className:oo("cleen-space-y-1",l?.container),style:a?.container,children:[Fo("div",{className:oo("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",l?.nameContainer),style:a?.nameContainer,children:[R,Fo("div",{className:oo("cleen-text-foreground cleen-text-sm cleen-font-medium cleen-flex",l?.name),style:{maxWidth:R?"calc(100% - 5rem)":"calc(100% - 2.5rem)",...a?.name},children:[Se("span",{className:"cleen-truncate cleen-shrink",children:k}),Fo("span",{className:"cleen-whitespace-nowrap",children:[".",w]})]}),Se("div",{className:"cleen-flex-1"}),!f&&(x?Se(ne,{color:"rgb(var(--cleen-error))",className:oo("cleen-shrink-0")}):Se(We,{className:oo("cleen-size-4 cleen-shrink-0 cleen-text-neutral-600 hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer"),onClick:E=>{E.stopPropagation(),t?.(c)}}))]}),Fo("div",{className:oo("cleen-flex cleen-gap-2 cleen-items-center cleen-text-neutral-600 cleen-text-xs",l?.statusContainer),style:a?.statusContainer,children:[!!p&&(f?Se("p",{children:n?.uploadProgress?.(I,p)}):C&&Se("p",{children:n?.uploaded?.(p)})),!b&&Fo(Vg,{children:[Se("span",{children:"|"}),Se("div",{className:oo("cleen-flex cleen-items-center cleen-gap-1",{"cleen-text-error":v,"cleen-text-success":C},l?.statusText),style:a?.statusText,children:P})]})]}),f&&Se(wn,{barColor:"rgb(var(--cleen-primary))",percentage:y,showPercentage:!0,...l?.progressBar,...a?.progressBar})]})},c)};var ec=e=>{if(e===0)return"0 B";let t=1024,r=["B","KB","MB","GB","TB"],n=Math.floor(Math.log(e)/Math.log(t));return`${parseFloat((e/Math.pow(t,n)).toFixed(1))} ${r[n]}`};var $g={primaryText:"Click to upload",secondaryText:"or drag and drop",helperText:"SVG, PNG or JPG (max. 400x400px)",uploading:"Uploading...",uploadProgress:(e,t)=>`${ec(e)} of ${ec(t)}`,uploaded:e=>ec(e)};var qg={uploading:e=>`Uploading ${e} ${e===1?"item":"items"}`,completed:"Uploads complete",showMore:e=>`+${e} more`,showLess:"Show less",dismiss:"Dismiss",contract:"Contract",uploadProgress:e=>`${Math.round(e)}%`};var na=(a=>(a.PENDING="pending",a.IN_PROGRESS="inProgress",a.DONE="done",a.ERROR="error",a.REMOVING="removing",a))(na||{});import{cn as Eo}from"@cleen/ui-core";import{jsx as no,jsxs as Xg}from"react/jsx-runtime";var K1=({item:e,labels:t,classNames:r,styles:n})=>{let{status:l,progress:a=0,icon:c,name:s}=e,u=l==="inProgress",p=l==="done",i=l==="error",g=l==="removing",h=l==="pending";return Xg("div",{className:Eo("cleen-flex cleen-items-center cleen-gap-3",r?.container),style:n?.container,children:[c,Xg("div",{className:Eo("cleen-flex-1 cleen-space-y-1 cleen-min-w-0",r?.infoContainer),style:n?.infoContainer,children:[no("p",{className:Eo("cleen-font-medium cleen-text-foreground cleen-text-sm cleen-truncate",r?.name),style:n?.name,children:s}),u&&no(wn,{barColor:"rgb(var(--cleen-primary))",percentage:a,...r?.progressBar,...n?.progressBar})]}),u&&no("span",{className:Eo("cleen-shrink-0 cleen-text-muted-foreground cleen-text-xs",r?.progressText),style:n?.progressText,children:t?.itemProgress?.(a)}),g&&no(ne,{color:"rgb(var(--cleen-error))"}),p&&no(fo,{className:Eo("cleen-size-5 cleen-shrink-0 cleen-text-success",r?.statusIcon),style:n?.statusIcon}),i&&no(ho,{className:Eo("cleen-size-5 cleen-shrink-0 cleen-text-error",r?.statusIcon),style:n?.statusIcon}),h&&no("div",{className:Eo("cleen-size-5 cleen-shrink-0 cleen-flex cleen-items-center cleen-gap-1",r?.statusIcon),style:n?.statusIcon,children:Array.from({length:3}).map((y,b)=>no("div",{className:"cleen-size-1 cleen-bg-primary cleen-rounded-full cleen-animate-bounce-medium",style:{animationDelay:`${b*.1}s`}},b))})]})};var ra=(l=>(l.NOT_STARTED="notStarted",l.IN_PROGRESS="inProgress",l.COMPLETED="completed",l.ALL="all",l))(ra||{}),aa=["notStarted","inProgress","completed","all"];import{cn as tc}from"@cleen/ui-core";import{jsx as Kg,jsxs as U5}from"react/jsx-runtime";var Z1=({value:e,onChange:t,counts:r,labels:n,classNames:l,styles:a})=>Kg("div",{role:"group","aria-label":n?.statusFilter,className:tc("cleen-flex cleen-flex-wrap cleen-items-center cleen-gap-0.5 cleen-bg-muted cleen-p-0.5 cleen-border cleen-border-border cleen-rounded-md",l?.container),style:a?.container,children:aa.map(c=>{let s=c===e;return U5("button",{type:"button","aria-pressed":s,onClick:()=>t(c),className:tc("cleen-flex cleen-items-center cleen-gap-1 cleen-px-2 cleen-py-0.5 cleen-rounded cleen-font-medium cleen-text-muted-foreground cleen-text-xs cleen-whitespace-nowrap cleen-transition-colors hover:cleen-text-foreground focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary",l?.option,s&&tc("cleen-bg-background cleen-text-foreground cleen-shadow-sm",l?.optionActive)),style:{...a?.option,...s&&a?.optionActive},children:[n?.statusFilterOptions?.[c],r&&Kg("span",{className:tc("cleen-text-neutral-400 cleen-tabular-nums",l?.optionCount),style:a?.optionCount,children:r[c]})]},c)})});var Zg={processing:e=>`Processing ${e} ${e===1?"item":"items"}`,completed:"Processing complete",showMore:e=>`+${e} more`,showLess:"Show less",dismiss:"Dismiss",contract:"Contract",itemProgress:e=>`${Math.round(e)}%`,statusFilter:"Filter by status",statusFilterOptions:{notStarted:"Not Started",inProgress:"In Progress",completed:"Completed",all:"All"},emptyStatusFilter:"Nothing to show for this status"};var Qg=e=>e.status==="inProgress"||e.status==="pending",Yg=e=>e.length>0&&e.every(t=>t.status==="done"),Q1=(e,t)=>{switch(t){case"notStarted":return e.status==="pending";case"inProgress":return e.status==="inProgress"||e.status==="removing";case"completed":return e.status==="done"||e.status==="error";case"all":default:return!0}};import{applyDefaults as G5,cn as ot,useControlled as Jg,useDisclosure as V5}from"@cleen/ui-core";import{forwardRef as W5,useEffect as jg,useMemo as Y1,useRef as $5}from"react";import{jsx as it,jsxs as J1}from"react/jsx-runtime";var j1=W5(function({items:t,title:r,maxVisibleItems:n=5,isExpanded:l,defaultExpanded:a=!1,onExpandedChange:c,onDismiss:s,autoDismissOnUploadCompleteAfterMilliSeconds:u,showHeader:p=!0,showStatusFilter:i=!1,showStatusFilterCounts:g=!1,statusFilter:h,defaultStatusFilter:y="inProgress",onStatusFilterChange:b,labels:f,className:v,classNames:C,style:x,styles:I,...P},M){let{isOpen:B,toggle:k,close:w}=V5(),{value:R,handleChange:E}=Jg({value:l,defaultValue:a,onChange:c});jg(()=>{t.length>0&&w()},[t.length,w]);let N=G5(Zg,f),{value:L,handleChange:F}=Jg({value:h,defaultValue:y,onChange:b}),D=$5(s);D.current=s;let S=Yg(t);jg(()=>{if(u==null||!D.current||!S)return;if(u<=0){D.current();return}let $=setTimeout(()=>D.current?.(),u);return()=>clearTimeout($)},[S,u]);let H=Y1(()=>t.filter(Qg).length,[t]),T=Y1(()=>!i||!L?t:t.filter($=>Q1($,L)),[t,i,L]),z=Y1(()=>{if(g)return aa.reduce(($,q)=>({...$,[q]:t.filter(U=>Q1(U,q)).length}),{})},[t,g]);if(!t.length)return null;let A=Math.max(T.length-n,0),_=R||!A?T:T.slice(0,n),G=r??(H?N?.processing?.(H):N?.completed);return it(pe,{p:16,gap:12,ref:M,className:ot(v,C?.card?.className),classNames:{...C?.card?.classNames,childrenContainer:ot(C?.card?.classNames?.childrenContainer,{"cleen-hidden":B})},style:x,styles:I?.card?.styles,header:p?{hasDivider:!B,content:J1("div",{className:ot("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",C?.header),style:I?.header,children:[it("p",{className:ot("cleen-font-semibold cleen-text-foreground cleen-text-sm",C?.title),style:I?.title,children:G}),J1("div",{className:ot("cleen-flex cleen-items-center cleen-gap-2",C?.headerButtons),style:I?.headerButtons,children:[it("button",{type:"button","aria-label":N?.contract,onClick:k,className:ot("cleen-text-muted-foreground hover:cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.contractButton),style:I?.contractButton,children:it(Mt,{className:ot("cleen-size-5 cleen-transition-transform",B&&"cleen-rotate-180")})}),s&&it("button",{type:"button","aria-label":N?.dismiss,onClick:s,className:ot("cleen-text-muted-foreground hover:cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.dismissButton),style:I?.dismissButton,children:it(De,{className:"cleen-size-4"})})]})]})}:void 0,...P,children:J1("div",{className:ot("cleen-flex cleen-flex-col cleen-gap-3",C?.list),style:I?.list,children:[i&&L&&it(Z1,{value:L,onChange:F,counts:z,labels:N,classNames:C?.statusFilter,styles:I?.statusFilter}),!_.length&&it("p",{className:ot("cleen-text-muted-foreground cleen-text-xs",C?.emptyStatusFilter),style:I?.emptyStatusFilter,children:N?.emptyStatusFilter}),_.map($=>it(K1,{item:$,labels:N,classNames:C?.row,styles:I?.row},$.id)),!!A&&it("button",{type:"button","aria-expanded":R,onClick:()=>E(!R),className:ot("cleen-self-start cleen-font-medium cleen-text-primary cleen-text-xs hover:cleen-underline focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.expandButton),style:I?.expandButton,children:R?N?.showLess:N?.showMore?.(A)})]})})});import{FileEntryStatus as Dt}from"@cleen/ui-core";var q5=[{label:"PDF",className:"cleen-bg-error",extensions:["pdf"]},{label:"DOC",className:"cleen-bg-primary",extensions:["doc","docx","rtf","odt"]},{label:"XLS",className:"cleen-bg-success",extensions:["xls","xlsx","csv","ods"]},{label:"IMG",className:"cleen-bg-warning",extensions:["png","jpg","jpeg","gif","svg","webp"]}],ev={label:"FILE",className:"cleen-bg-neutral-500"},X5={[Dt.QUEUED]:"inProgress",[Dt.UPLOADING]:"inProgress",[Dt.PAUSED]:"inProgress",[Dt.DONE]:"done",[Dt.ERROR]:"error",[Dt.DELETING]:"removing"},eh=e=>e.name||e.file?.name||"",tv=e=>{let t=eh(e).split(".").pop()?.toLowerCase()??"",r=q5.find(({extensions:n})=>n.includes(t));return r?{label:r.label,className:r.className}:{label:t?t.slice(0,4).toUpperCase():ev.label,className:ev.className}},ov=e=>e.status===Dt.QUEUED||e.status===Dt.UPLOADING||e.status===Dt.PAUSED,nv=e=>X5[e.status]??"pending",rv=e=>Array.isArray(e)?e:Array.from(e.values());import{cn as K5}from"@cleen/ui-core";import{jsx as Z5}from"react/jsx-runtime";var av=({fileEntry:e,className:t,style:r})=>{let n=tv(e);return Z5("div",{className:K5("cleen-flex cleen-justify-center cleen-items-center cleen-rounded-md cleen-size-8 cleen-shrink-0 cleen-font-semibold cleen-text-[10px] cleen-text-white",n.className,t),style:r,children:n.label})};import{jsx as Q5}from"react/jsx-runtime";var lv=(e,t)=>({id:e.id,name:eh(e),progress:e.progress,status:nv(e),icon:Q5(av,{fileEntry:e,className:t?.className,style:t?.style})});import{applyDefaults as Y5}from"@cleen/ui-core";import{forwardRef as J5,useMemo as cv}from"react";import{jsx as j5}from"react/jsx-runtime";var th=J5(function({files:t,title:r,maxVisibleFiles:n=5,labels:l,classNames:a,styles:c,...s},u){let p=cv(()=>rv(t),[t]),i=Y5(qg,l),g=cv(()=>p.map(b=>lv(b,{className:a?.row?.typeBadge,style:c?.row?.typeBadge})),[p,a?.row?.typeBadge,c?.row?.typeBadge]),h=p.filter(ov).length,y=r??(h?i?.uploading?.(h):i?.completed);return j5(j1,{ref:u,items:g,title:y,maxVisibleItems:n,labels:{showMore:i?.showMore,showLess:i?.showLess,dismiss:i?.dismiss,contract:i?.contract,itemProgress:i?.uploadProgress},classNames:a,styles:c,...s})});import{applyDefaults as e3,cn as Te,FileEntryStatus as t3,useFileUpload as o3}from"@cleen/ui-core";import{forwardRef as n3,useEffect as r3,useMemo as sv,useRef as iv,useState as oh}from"react";import{createPortal as a3}from"react-dom";import{jsx as Ne,jsxs as oc}from"react/jsx-runtime";var l3=n3(function({required:t,icon:r,files:n,initialFiles:l=[],onFilesChange:a,onFileUpload:c,onFilesUpload:s,onFileRemove:u,onFileClick:p,infoLabels:i,containerRef:g,label:h,labelTooltip:y,labels:b,showUploadedFiles:f=!1,showProgressTracker:v=!1,progressTracker:C,className:x,classNames:I,style:P,styles:M,multiple:B,disabled:k,loadingWhileUploading:w,isLoading:R,readOnly:E,onChange:N,id:L,name:F,...D},S){let H=iv(null),{files:T,addFiles:z,remove:A}=o3({files:n,onFilesChange:a,initialFiles:l,onFileUpload:c,onFilesUpload:s,onFileRemove:u}),_=sv(()=>R||w&&Array.from(T.values()).some(X=>X.status===t3.UPLOADING),[T,w,R]),[G,$]=oh(!1),[q,U]=oh([]),[V,Q]=oh(!1),O=iv(new Set(T.keys()));r3(()=>{let X=Array.from(T.keys()),Ce=X.filter(Re=>!O.current.has(Re));O.current=new Set(X),U(Re=>{let xe=Re.filter(Je=>T.has(Je));return Ce.length?V?Ce:[...xe,...Ce.filter(Je=>!xe.includes(Je))]:xe.length===Re.length?Re:xe}),Ce.length&&Q(!1)},[T,V]);let Z=sv(()=>q.map(X=>T.get(X)).filter(X=>!!X),[q,T]),ie=()=>{Q(!0),U([]),C?.onDismiss?.()},he=!k&&!E&&!_,Ie=X=>{let Ce=Array.from(X.target.files??[]);z(Ce),N?.(X)},It=X=>{A(X)},Qe=()=>{he&&H.current?.click()},Y=X=>{if(!X.length)return;let Ce=B?X:X.slice(0,1);if(!H.current||typeof DataTransfer>"u"){z(Ce);return}let Re=new DataTransfer;Ce.forEach(xe=>Re.items.add(xe));try{H.current.files=Re.files}catch{z(Ce);return}z(Ce),N?.({target:H.current,currentTarget:H.current})},ae=X=>{X.preventDefault(),X.stopPropagation(),$(!1),he&&Y(Array.from(X.dataTransfer.files??[]))},rt=X=>{X.preventDefault(),X.stopPropagation(),he&&$(!0)},at=X=>{X.preventDefault(),X.stopPropagation(),he&&$(!0)},Be=X=>{X.preventDefault(),X.stopPropagation(),he&&$(!1)},bt=X=>{he&&(X.key!=="Enter"&&X.key!==" "||(X.preventDefault(),Qe()))},Ye=e3($g,b);return oc("div",{className:Te("cleen",x),style:P,ref:g,children:[Ne("input",{id:L||F,name:F,ref:X=>{if(H.current=X,typeof S=="function"){S(X);return}S&&(S.current=X)},type:"file",multiple:B,disabled:k||_,readOnly:E,className:Te("cleen-hidden",I?.input),style:M?.input,onChange:Ie,...D}),h&&Ne(oe,{htmlFor:L||F,required:t,tooltip:y,className:Te("cleen-mb-1.5",I?.label?.className),classNames:I?.label?.classNames,...M?.label,children:h}),oc("div",{className:Te("cleen-relative cleen-blur-0",{"cleen-pointer-events-none":_}),children:[Ne(pe,{tabIndex:he?0:-1,role:"button","aria-label":typeof h=="string"?h:"Upload file","aria-disabled":k||E||_,onClick:Qe,onKeyDown:bt,onDrop:ae,onDragEnter:rt,onDragOver:at,onDragLeave:Be,p:16,className:Te("cleen-rounded-lg focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",I?.card?.className),classNames:{...I?.card?.classNames,container:Te("cleen-transition-colors",k?"cleen-cursor-not-allowed cleen-bg-muted":"cleen-cursor-pointer hover:cleen-bg-surface hover:cleen-border-muted-foreground",I?.card?.classNames?.container,G&&["cleen-border-muted-foreground cleen-bg-surface",I?.cardDragActive]),childrenContainer:Te({"cleen-blur-sm":_},I?.card?.classNames?.childrenContainer)},style:M?.card?.style,styles:{...M?.card?.styles,container:{...M?.card?.styles?.container,...G?M?.cardDragActive:void 0}},children:oc("div",{className:Te("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center cleen-gap-3 cleen-text-center",I?.dropArea),style:M?.dropArea,"aria-disabled":k||E||_,children:[Ne("div",{className:Te("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-border cleen-border-border cleen-rounded-xl cleen-size-11 cleen-text-neutral-700",I?.iconContainer),style:M?.iconContainer,children:r||Ne(Po,{className:"cleen-size-5"})}),oc("p",{className:Te("cleen-font-medium cleen-text-sm",I?.textContainer),style:M?.textContainer,children:[Ne("span",{className:Te(k?"cleen-text-muted-foreground":"cleen-text-primary",I?.primaryText),style:M?.primaryText,children:Ye?.primaryText})," ",Ne("span",{className:Te("cleen-text-foreground",I?.secondaryText),style:M?.secondaryText,children:Ye?.secondaryText})]}),Ne("p",{className:Te("cleen-text-neutral-600 cleen-text-xs",I?.helperText),style:M?.helperText,children:Ye?.helperText})]})}),_&&Ne(ne,{size:"md",className:"cleen-absolute cleen-top-1/2 cleen-left-1/2 -cleen-translate-x-1/2 -cleen-translate-y-1/2"})]}),f&&T.size>0&&Ne("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-mt-4",children:Array.from(T.values()).map(X=>Ne(Wg,{fileEntry:X,onRemove:It,onFileClick:p,labels:Ye,classNames:I?.fileCard,styles:M?.fileCard},X.id))}),v&&!V&&Z.length>0&&a3(Ne("div",{className:"cleen",children:Ne(th,{...C,files:Z,onDismiss:ie,className:Te("cleen-fixed cleen-right-0 cleen-bottom-0 cleen-m-4 cleen-w-96",I?.progressTracker?.className),classNames:I?.progressTracker?.classNames,...M?.progressTracker})}),document.body),(i?.errorMessage||i?.infoMessage||i?.subtitle)&&Ne(ee,{...i})]})});var c3=e=>{let t=e instanceof Date?e:new Date(e);if(Number.isNaN(t.getTime()))return;let r={dateStyle:"medium",timeStyle:"short"};try{return new Intl.DateTimeFormat("en-US",r).format(t)}catch{return new Intl.DateTimeFormat("en-US",r).format(t)}},pv={uploaded:e=>`Uploaded: ${c3(e)}`};var nh={"image/":"image","video/":"video","audio/":"audio"},rh={"application/pdf":"pdf","application/msword":"document","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"document","application/vnd.oasis.opendocument.text":"document","application/rtf":"document","text/rtf":"document","text/plain":"document","application/vnd.ms-excel":"spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"spreadsheet","application/vnd.oasis.opendocument.spreadsheet":"spreadsheet","text/csv":"spreadsheet","application/zip":"archive","application/x-zip-compressed":"archive","application/vnd.rar":"archive","application/x-rar-compressed":"archive","application/x-7z-compressed":"archive","application/x-tar":"archive","application/gzip":"archive","application/x-gzip":"archive"},dv={png:"image",jpg:"image",jpeg:"image",gif:"image",bmp:"image",webp:"image",svg:"image",avif:"image",heic:"image",ico:"image",tif:"image",tiff:"image",mp4:"video",mov:"video",webm:"video",avi:"video",mkv:"video",m4v:"video",ogv:"video",mp3:"audio",wav:"audio",ogg:"audio",oga:"audio",m4a:"audio",aac:"audio",flac:"audio",weba:"audio",pdf:"pdf",doc:"document",docx:"document",txt:"document",rtf:"document",odt:"document",xls:"spreadsheet",xlsx:"spreadsheet",csv:"spreadsheet",ods:"spreadsheet",zip:"archive",rar:"archive","7z":"archive",tar:"archive",gz:"archive",tgz:"archive"},mv=["http:","https:","blob:"];var s3=e=>{let t=e?.split(";")[0].trim().toLowerCase();if(!t)return;if(t in rh)return rh[t];let r=Object.keys(nh).find(n=>t.startsWith(n));return r?nh[r]:void 0},ah=e=>{let t=e.lastIndexOf(".");return t<0?void 0:e.slice(t+1).toLowerCase()},i3=e=>{let t=ah(e);return t?dv[t]:void 0},uv=e=>s3(e.type)??i3(e.name)??"generic",hv=e=>{if(!e)return!1;try{let t=typeof document<"u"?document.baseURI:void 0;return mv.includes(new URL(e,t).protocol)}catch{return!1}};import{cn as Tt,formatFileSize as p3}from"@cleen/ui-core";import{forwardRef as d3,useMemo as fv,useState as m3}from"react";import{Fragment as h3,jsx as pt,jsxs as nc}from"react/jsx-runtime";var u3=d3(function({file:t,preview:r=!1,onRemove:n,description:l,labels:a,className:c,classNames:s,style:u,styles:p,...i},g){let[h,y]=m3(),b=fv(()=>({...pv,...a}),[a]),f=uv(t),v=M1(ah(t.name)),C=hv(t.url)?t.url:void 0,x=t.previewUrl||t.url,I=r&&(f==="image"||f==="video")&&!!x&&h!==x,P=fv(()=>{if(l!=null)return l;let w=[];if(t.size!=null&&w.push(p3(t.size)),t.uploadedAt!=null){let R=b?.uploaded(t.uploadedAt);R&&w.push(R)}return w.length>0?w.join(" \u2022 "):null},[l,t.uploadedAt,t.size,b]),M=w=>{w.stopPropagation(),n?.(t)},B=Tt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-items-center cleen-gap-3 cleen-py-2 cleen-px-3 cleen-rounded-lg",C&&"cleen-cursor-pointer focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-inset focus-visible:cleen-ring-primary",s?.main),k=nc(h3,{children:[nc("div",{className:Tt("cleen-flex cleen-size-10 cleen-shrink-0 cleen-items-center cleen-justify-center cleen-overflow-hidden cleen-rounded-lg cleen-bg-primary-50 cleen-text-primary-600",s?.media),style:p?.media,children:[I&&(f==="image"||f==="video"&&t.previewUrl)&&pt("img",{src:x,alt:t.name,className:"cleen-size-full cleen-object-cover",onError:()=>y(x)}),I&&f==="video"&&!t.previewUrl&&pt("video",{src:x,"aria-label":t.name,className:"cleen-size-full cleen-object-cover",muted:!0,playsInline:!0,preload:"metadata",onError:()=>y(x)}),!I&&pt(v,{"aria-hidden":!0,className:Tt("cleen-size-5",s?.icon),style:p?.icon})]}),nc("div",{className:Tt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-flex-col cleen-gap-0.5",s?.content),style:p?.content,children:[pt("span",{className:Tt("cleen-truncate cleen-text-sm cleen-font-semibold cleen-text-foreground",s?.title),style:p?.title,title:t.name,children:t.name}),P!==null&&pt("span",{className:Tt("cleen-truncate cleen-text-xs cleen-text-muted-foreground",s?.description),style:p?.description,children:P})]})]});return pt("div",{className:Tt("cleen",c),style:u,ref:g,...i,children:nc("div",{className:Tt("cleen-flex cleen-w-full cleen-min-w-0 cleen-items-center cleen-rounded-lg cleen-border cleen-border-border cleen-bg-background cleen-transition-all cleen-duration-200",C&&"hover:cleen-border-neutral-300 hover:cleen-shadow-md",s?.container),style:p?.container,children:[C?pt("a",{href:C,target:"_blank",rel:"noopener noreferrer",className:B,style:p?.main,children:k}):pt("div",{className:B,style:p?.main,children:k}),n&&pt("button",{type:"button",className:Tt("cleen-mr-3 cleen-flex cleen-size-8 cleen-shrink-0 cleen-items-center cleen-justify-center cleen-rounded-md cleen-text-error cleen-transition-colors hover:cleen-bg-muted focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-error",s?.removeButton),style:p?.removeButton,onClick:M,children:pt(De,{"aria-hidden":!0,className:"cleen-size-5"})})]})})});var rc={filterName:"",exposed:!1};import{createContext as f3}from"react";var qe=f3({isSaveFiltersStep:!1,setIsSaveFiltersStep:()=>{},saveStepValues:{exposed:!1,filterName:""},setSaveStepValues:()=>{},handleCloseSaveFilter:()=>{},isFiltersDropdownOpen:!1,setIsFiltersDropdownOpen:()=>{},errors:{},setErrors:()=>{},setError:()=>{}});import{cn as g3}from"@cleen/ui-core";import{useContext as v3,useState as I3}from"react";import{Fragment as b3,jsx as la,jsxs as lh}from"react/jsx-runtime";var gv={min:3,max:50},vv=()=>{let{isSaveFiltersStep:e,saveStepValues:t,setSaveStepValues:r,setIsSaveFiltersStep:n,handleCloseSaveFilter:l,setError:a,onSave:c,classNames:s,styles:u,labels:p,withSavedFilters:i=!0,onCancel:g,onApply:h}=v3(qe),[y,b]=I3(!1),f=async()=>{try{if(t.filterName.length<gv.min){a?.("filterName",p?.saveStep?.validation?.tooShort);return}if(t.filterName.length>gv.max){a?.("filterName",p?.saveStep?.validation?.tooLong);return}b(!0),await c?.(t),n(!1)}catch(v){console.error("Error saving filters:",v)}finally{b(!1)}};return e?lh("div",{className:"cleen-flex cleen-flex-1 cleen-justify-end cleen-gap-3",children:[la(re,{onClick:()=>n(!1),variant:"secondary",...s?.saveFilter?.backBtn,...u?.saveFilter?.backBtn,children:p?.saveStep?.back}),la(re,{onClick:f,isLoading:y,loaderColor:"rgb(var(--cleen-white))",...s?.saveFilter?.saveBtn,...u?.saveFilter?.saveBtn,children:p?.saveStep?.save})]}):lh(b3,{children:[i&&la(re,{onClick:()=>{r(rc),n(!0)},variant:"borderless-blue",...s?.saveBtn,...u?.saveBtn,children:p?.save}),lh("div",{className:g3("cleen-flex cleen-items-center cleen-gap-3",{"cleen-flex-1 cleen-justify-end":!i}),children:[la(re,{onClick:()=>{g?.(),l()},variant:"secondary",...s?.cancelBtn,...u?.cancelBtn,children:p?.cancel}),la(re,{onClick:()=>{h?.(),l()},...s?.applyBtn,...u?.applyBtn,children:p?.apply})]})]})};import{cn as ac}from"@cleen/ui-core";import{Link as y3}from"react-router-dom";import{Fragment as bv,jsx as Ao,jsxs as ch}from"react/jsx-runtime";var Iv=({item:e,classNames:t,styles:r})=>({disabled:e?.disabled,className:ac("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-2 cleen-w-full cleen-text-foreground cleen-text-sm cleen-text-left cleen-transition-colors",e?.disabled?"cleen-opacity-50 cleen-select-none cleen-cursor-not-allowed cleen-pointer-events-none":"hover:cleen-bg-muted cleen-cursor-pointer",{"cleen-text-error hover:cleen-bg-error-bg":e?.danger},t?.container),style:r?.container,children:ch(bv,{children:[e?.icon,Ao("span",{className:ac("cleen-flex-1",t?.label),style:r?.label,children:e?.label})]}),...e?.type==="button"?{type:"button"}:{to:e?.to}}),sh=({item:e,isLast:t,handleClick:r,onEnterSubmenu:n,classNames:l,styles:a})=>{switch(e?.type){case"group":return ch(bv,{children:[e?.label&&Ao("p",{className:ac("cleen-px-4 cleen-py-2 cleen-font-bold cleen-text-muted-foreground cleen-text-xs",l?.groupLabel),style:a?.groupDivider,children:e?.label}),e?.items?.map((c,s,u)=>Ao(sh,{item:c,handleClick:r,onEnterSubmenu:n,isLast:s===u.length-1},c?.id||s)),!t&&Ao("hr",{className:ac("cleen-text-neutral-200",l?.groupDivider),style:a?.groupDivider})]});case"button":{let c=e?.submenu&&e?.submenu?.length>0;return ch("button",{type:"button",onClick:()=>{c?n?.(e.submenu,e?.label):r?.(e)},...Iv({item:e,classNames:l,styles:a}),children:[e?.icon,Ao("span",{className:"cleen-flex-1",children:e?.label}),c&&Ao(je,{className:"cleen-size-4 cleen-text-neutral-400"})]})}case"link":return Ao(y3,{to:"",...Iv({item:e,classNames:l,styles:a})});default:return null}};import{cn as C3}from"@cleen/ui-core";import{useEffect as yv,useState as Cv}from"react";import{Fragment as x3,jsx as xv,jsxs as Pv}from"react/jsx-runtime";var Sv=({items:e,keepOpenOnClick:t,hideMenu:r,classNames:n,styles:l})=>{let[a,c]=Cv([]),[s,u]=Cv(e),p=(h,y)=>{c(b=>[...b,{items:s,title:y}]),u(h)},i=()=>{let h=a[a?.length-1];h&&(u(h?.items),c(y=>y?.slice(0,-1)))};yv(()=>{u(e),c([])},[e]),yv(()=>{let h=y=>{if(y.key==="Escape")if(a.length>0){let b=a?.[a?.length-1];u(b?.items),c(f=>f?.slice(0,-1))}else r()};return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[r,a]);let g=h=>{h?.onClick?.(),t||r()};return Pv(x3,{children:[a?.length>0&&Pv("button",{onClick:i,className:C3("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-2 cleen-w-full cleen-text-sm cleen-text-foreground hover:cleen-bg-neutral-50",n?.submenuButton),style:l?.submenuButton,children:[xv(St,{className:"cleen-size-4 cleen-text-neutral-300"}),a?.[a?.length-1]?.title]}),s?.map((h,y,b)=>xv(sh,{item:h,isLast:y===b?.length-1,handleClick:g,onEnterSubmenu:p,classNames:n?.item,styles:l?.item},h?.id||y))]})};import{CLEEN_IGNORE_OUTSIDE_CLICK as P3,cn as ih,useDisclosure as S3,useOutsideClick as M3,usePositionClose as w3,ZIndex as k3}from"@cleen/ui-core";import{forwardRef as B3,useRef as Mv}from"react";import{createPortal as R3}from"react-dom";import{jsx as lc,jsxs as L3}from"react/jsx-runtime";var kn=B3(function({items:t=[],position:r="bottom-left",keepOpenOnClick:n=!0,triggerRef:l,menuRef:a,ignoreClickOutside:c=!1,zIndex:s=k3.MENU,children:u,className:p,classNames:i,style:g,styles:h,...y},b){let{isOpen:f,toggle:v,close:C}=S3(),x=Mv(null),I=Mv(null),P=l??x,M=a??I,{positionStyles:B,isMounted:k}=w3({triggerRef:P,targetRef:M,position:r,isOpen:f});M3({refs:[P,M],handler:C,enabled:f});let w=()=>{v()};return L3("div",{className:ih("cleen",p),style:g,ref:b,...y,children:[lc("div",{ref:P,onClick:w,className:ih("cleen-size-fit",i?.trigger,f&&i?.triggerOpen),style:{...h?.trigger,...f?h?.triggerOpen:{}},children:u}),f&&R3(lc("div",{className:"cleen",...c&&{[P3]:"true"},children:lc("div",{ref:M,className:ih("cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg cleen-w-52","cleen-absolute",{"cleen-opacity-0":!k},i?.menu),style:{zIndex:s,top:`${B.top}px`,left:`${B.left}px`,...h?.menu},children:lc(Sv,{items:t,keepOpenOnClick:n,hideMenu:C,classNames:i,styles:h})})}),document.body)]})});import{cn as cc,ColorHelpers as uh}from"@cleen/ui-core";import{useMemo as D3}from"react";var ph=["blue","lighter-blue","primary","indigo","green","red","purple","pink","orange","gray","yellow"],dh={blue:"cleen-border-blue/30 cleen-bg-blue/10 cleen-text-blue","lighter-blue":"cleen-border-blue-light/20 cleen-bg-blue-light/5 cleen-text-blue-light",primary:"cleen-border-primary/30 cleen-bg-primary/10 cleen-text-primary",indigo:"cleen-border-indigo/50 cleen-bg-indigo/5 cleen-text-indigo/80",green:"cleen-border-success/20 cleen-bg-success-bg cleen-text-success",red:"cleen-border-error/20 cleen-bg-error-bg cleen-text-error",purple:"cleen-border-purple/20 cleen-bg-purple/5 cleen-text-purple/80",pink:"cleen-border-pink/50 cleen-bg-pink/5 cleen-text-pink/80",orange:"cleen-border-orange/20 cleen-bg-orange/5 cleen-text-orange/80",yellow:"cleen-text-yellow-500 cleen-bg-yellow/10 cleen-border-yellow",gray:"cleen-border-border cleen-bg-muted cleen-text-neutral-600"},wv={blue:"cleen-bg-primary/50",primary:"cleen-bg-primary/50",indigo:"cleen-bg-indigo/50",green:"cleen-bg-success/50",red:"cleen-bg-error/50",purple:"cleen-bg-purple/50",pink:"cleen-bg-pink/50",orange:"cleen-bg-warning/50",yellow:"cleen-bg-yellow/50",gray:"cleen-bg-neutral-300"},kv={full:"cleen-rounded-full",rounded:"cleen-rounded-2xl",semiRounded:"cleen-rounded-lg",sleek:"cleen-rounded"};var mh=(e,t)=>!e&&!t?"primary":t?ph[t%ph.length]:e;import{jsx as hh,jsxs as T3}from"react/jsx-runtime";var Fe=({className:e,classNames:t,style:r,styles:n,label:l,color:a="primary",variant:c="rounded",showDot:s=!1,icon:u,removeable:p=!1,withBorder:i=!0,onRemoveClicked:g,onClick:h,colorByIndex:y,children:b,...f})=>{let{variantClass:v,dotVariantClass:C,dotVariantStyle:x,variantStyle:I}=D3(()=>{let P={};return a in dh?(P.variantClass=dh[mh(a,y)],P.dotVariantClass=wv[mh(a,y)]):(P.variantStyle={borderColor:uh.trasparentize(a,.8),backgroundColor:uh.trasparentize(a,.95),color:a},P.dotVariantStyle={backgroundColor:uh.trasparentize(a,.5)}),P},[a,y]);return hh("div",{className:cc("cleen",e),style:r,children:T3("span",{className:cc("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1 cleen-text-xs cleen-font-medium cleen-py-0.5 cleen-px-2 cleen-w-fit cleen-min-w-max cleen-transition-all cleen-duration-200",v,kv[c],{"cleen-border":i},{"hover:cleen-opacity-80 cleen-cursor-pointer":h||p},t?.container),style:{...I,...n?.container},onClick:h,...f,children:[s&&hh("span",{className:cc("cleen-size-2 cleen-rounded-[50%]",C,t?.dot),style:{...x,...n?.dot}}),u,l??b,p&&hh(De,{className:cc("cleen-size-3 cleen-cursor-pointer cleen-flex cleen-flex-col cleen-justify-center cleen-items-center cleen-transition-transform cleen-duration-200 hover:cleen-scale-125",t?.removable),style:n?.removable,onClick:g})]})})};import{cn as F3}from"@cleen/ui-core";import{useContext as E3,useState as Bv}from"react";import{jsx as dt,jsxs as A3}from"react/jsx-runtime";var Rv=({filter:e,activeTabId:t})=>{let[r,n]=Bv(!1),[l,a]=Bv(!1),{labels:c,onFilterDelete:s,onFilterPin:u,onFilterSelect:p,onFilterUnpin:i,setIsFiltersDropdownOpen:g}=E3(qe),h=async()=>{try{if(!s)return;n(!0),await s(e.filterID)}catch(b){console.error("Error while deleting filter:",b)}finally{n(!1)}},y=async()=>{try{a(!0),e?.isPinned?await i?.(e.filterID):await u?.(e.filterID)}catch(b){console.error("Error while pinning/unpinnning filter:",b)}finally{a(!1)}};return dt("div",{className:"cleen-group cleen-flex cleen-flex-col cleen-justify-around cleen-gap-2 hover:cleen-bg-primary/5 cleen-p-2 cleen-rounded-md cleen-min-h-10",children:A3("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-cursor-pointer",onClick:()=>{p?.(e),g(!1)},children:[dt("span",{className:"cleen-flex-1 cleen-text-neutral-600 cleen-text-sm cleen-text-left cleen-truncate",children:e.title}),l?dt(ne,{classNames:{loader:"cleen-size-5"}}):dt(Fe,{color:"gray",onClick:b=>{b.stopPropagation(),y()},icon:dt(Pr,{name:"pin",className:F3("cleen-size-3.5 group-hover:cleen-text-neutral-700 cleen-transition-colors cleen-cursor-pointer",e?.isPinned?"cleen-text-neutral-600":"cleen-text-neutral-300")}),classNames:{container:"cleen-font-bold"},label:e?.isPinned?c?.savedFilters?.filter?.unpin:c?.savedFilters?.filter?.pin}),t==="mine"&&dt(kn,{items:[{id:"duplicate",type:"button",label:c?.savedFilters?.filter?.cancelDelete,icon:dt(De,{className:"cleen-size-5"}),onClick:()=>{}},{id:"archive",type:"button",label:c?.savedFilters?.filter?.delete,icon:dt(We,{}),danger:!0,onClick:()=>h()}],keepOpenOnClick:!1,ignoreClickOutside:!0,onClick:b=>b.stopPropagation(),className:"cleen-flex",children:r?dt(ne,{size:"sm",color:"rgb(var(--cleen-error))"}):dt(We,{className:"cleen-text-foreground hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer",name:"delete"})})]})})};import{cn as ro}from"@cleen/ui-core";import{forwardRef as z3,useMemo as Dv,useState as O3}from"react";import{cn as fh}from"@cleen/ui-core";var ca={horizontal:{list:"cleen-flex cleen-flex-wrap cleen-mb-4"},vertical:{container:"cleen-flex cleen-gap-4",list:"cleen-flex cleen-flex-col",content:"cleen-flex-1"}},Lv=e=>{let t=e==="vertical";return{underlined:{list:fh("cleen-gap-2 cleen-border-border",!t&&"cleen-border-b"),tab:fh("cleen-px-1 cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200",t?"cleen-border-l-2 cleen-pl-3 cleen-py-1.5":"cleen-border-b-2 cleen-pb-3"),tabActive:"cleen-border-primary cleen-text-primary",tabInactive:"cleen-border-transparent cleen-text-muted-foreground hover:cleen-text-neutral-700 hover:cleen-border-border",tabDisabled:"cleen-border-transparent cleen-text-neutral-300 cleen-cursor-not-allowed"},padded:{list:"cleen-gap-1",tab:"cleen-px-3 cleen-py-2.5 cleen-rounded-md cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200",tabActive:"cleen-bg-primary/10 cleen-text-primary",tabInactive:"cleen-text-muted-foreground hover:cleen-bg-muted",tabDisabled:"cleen-text-neutral-300 cleen-cursor-not-allowed"},stretched:{list:"cleen-rounded-md cleen-overflow-hidden cleen-border cleen-border-border",tab:fh("cleen-flex-1 cleen-px-3 cleen-py-2 cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200 cleen-border-border cleen-justify-center",t?"[&:not(:first-child)]:cleen-border-t":"[&:not(:first-child)]:cleen-border-l"),tabActive:"cleen-bg-primary/10 cleen-text-primary",tabInactive:"cleen-text-neutral-600 hover:cleen-bg-muted",tabDisabled:"cleen-text-neutral-300 cleen-cursor-not-allowed"}}};import{jsx as sc,jsxs as Tv}from"react/jsx-runtime";var gh=z3(function({tabs:t,variant:r="underlined",direction:n="horizontal",currentTabIndex:l,onTabChange:a,className:c,classNames:s,style:u,styles:p,...i},g){let[h,y]=O3(0),f=l!==void 0?l:h,v=Dv(()=>t?.[f],[t,f]),C=(I,P)=>{y(I),a?.(I,P)},x=Dv(()=>Lv(n),[n]);return sc("div",{className:ro("cleen",c),style:u,ref:g,...i,children:Tv("div",{className:ro(ca[n].container,s?.container),style:p?.container,children:[sc("nav",{className:ro(x[r].list,ca[n].list,s?.list),"aria-label":"Tabs",style:p?.list,children:t?.map((I,P)=>{let M=f===P,B=I?.isDisabled;return Tv("span",{onClick:()=>!B&&C(P,I),className:ro("cleen-flex cleen-items-center cleen-gap-2 cleen-whitespace-nowrap",!B&&"cleen-cursor-pointer",x[r].tab,ca[n].tab,s?.tab,B?ro(x[r].tabDisabled,s?.tabDisabled):M?ro(x[r].tabActive,s?.tabActive):ro(x[r].tabInactive,s?.tabInactive)),style:{...p?.tab,...B?p?.tabDisabled:M?p?.tabActive:p?.tabInactive},"aria-current":M?"page":void 0,"aria-disabled":B,children:[I?.label,!!I?.badge?.label&&sc(Fe,{variant:"rounded",color:M?"blue":"gray",...s?.count,...p?.count,...I.badge})]},I?.id||P)})}),!!v?.content&&sc("div",{className:ro("h-full",ca[n].content,s?.content),style:p?.content,children:v?.content})]})})});import{useContext as _3,useState as H3}from"react";import{jsx as zo,jsxs as G3}from"react/jsx-runtime";var U3=e=>{let t={isFeatured:null,isMine:null,isPinned:null,isShared:null};switch(e){case"featured":t.isFeatured=!0;break;case"mine":t.isMine=!0;break;case"pinned":t.isPinned=!0;break;case"shared":t.isShared=!0;break;case"all":default:break}return t},Nv=({selectedSavedFilter:e,filters:t,isFiltersFetching:r,onFilterCategoryChange:n})=>{let[l,a]=H3("all"),{labels:c,classNames:s,styles:u,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i}=_3(qe);return zo(ea,{isOpen:p,onOpenChange:i,leftIcon:zo(pr,{className:"cleen-size-5"}),label:e?.title??c?.savedFilters?.label,fullWidthDropdown:!0,...s?.dropdown,...u?.dropdown,children:G3("div",{className:"flex flex-col gap-2 p-2.5 w-full",children:[zo(gh,{tabs:[{id:"all",label:c?.savedFilters?.tabs?.all},{id:"mine",label:c?.savedFilters?.tabs?.mine},{id:"shared",label:c?.savedFilters?.tabs?.shared},{id:"featured",label:c?.savedFilters?.tabs?.featured},{id:"pinned",label:c?.savedFilters?.tabs?.pinned}],variant:"padded",onTabChange:(g,h)=>{a(h?.id),n?.(U3(h?.id))},classNames:{list:"cleen-mb-2"}}),zo("div",{className:"flex flex-col",children:r?zo(ne,{classNames:{loader:"cleen-size-6"}}):(t?.length||0)>0?t?.map(g=>zo(Rv,{filter:g,activeTabId:l},g.filterID)):zo("p",{className:"cleen-font-normal cleen-text-neutral-600 cleen-text-base cleen-text-center",children:c?.savedFilters?.noFilters})})]})})};import{cn as Nt}from"@cleen/ui-core";import{forwardRef as V3,useEffect as W3,useId as $3,useState as q3}from"react";import{jsx as Oo,jsxs as vh}from"react/jsx-runtime";var Ih=V3(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,onChange:c,title:s,label:u,labelTooltip:p,sublabel:i,disabled:g,classNames:h,className:y,style:b,styles:f,infoLabels:v,...C},x){let I=typeof l=="boolean",[P,M]=q3(a);W3(()=>{I||M(a)},[a,I]);let B=I?l:P,k=$3(),w=s?`${k}-title`:void 0,R=u?`${k}-label`:void 0,E=[w,R].filter(Boolean).join(" ")||void 0,N=()=>{g||(I||M(!P),c?.(!B))};return Oo("div",{className:Nt("cleen",y),style:b,children:vh("div",{className:Nt("cleen-flex cleen-flex-col",h?.container),style:f?.container,children:[s&&Oo(oe,{id:w,htmlFor:t||r,required:n,tooltip:p,className:Nt("cleen-mb-1.5",h?.title?.className),classNames:h?.title?.classNames,...f?.title,children:s}),vh("div",{className:Nt("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",h?.switchContainer),style:f?.switchContainer,children:[Oo("button",{id:t||r,type:"button",role:"switch","aria-checked":B,"aria-labelledby":E,disabled:g,onClick:N,className:Nt("cleen-inline-flex cleen-relative cleen-flex-shrink-0 cleen-my-auto cleen-mb-auto cleen-border-2 cleen-border-transparent cleen-rounded-full cleen-w-11 cleen-h-6 cleen-transition-colors cleen-duration-200 cleen-ease-in-out cleen-cursor-pointer focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",B?"cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]":"cleen-bg-neutral-200 hover:cleen-bg-neutral-300",h?.switch),style:f?.switch,ref:x,...C,children:Oo("span",{"aria-hidden":"true",className:Nt("cleen-inline-block cleen-bg-primary-foreground cleen-shadow cleen-rounded-full cleen-ring-0 cleen-w-5 cleen-h-5 cleen-transition cleen-duration-200 cleen-ease-in-out cleen-pointer-events-none cleen-transform",B?"cleen-translate-x-5":"cleen-translate-x-0",h?.check),style:f?.check})}),(u||i)&&vh("div",{className:Nt("cleen-flex cleen-flex-col cleen-text-sm",h?.labelContainer),style:f?.labelContainer,children:[u&&Oo("span",{id:R,className:Nt("cleen-font-semibold cleen-text-foreground",h?.label),style:f?.label,children:u}),i&&Oo("span",{className:Nt("cleen-font-normal cleen-text-muted-foreground",h?.sublabel),style:f?.sublabel,children:i})]})]}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&Oo(ee,{...v})]})})});import{useContext as X3}from"react";import{Fragment as K3,jsx as Fv,jsxs as Z3}from"react/jsx-runtime";var Ev=()=>{let{classNames:e,styles:t,labels:r,saveStepValues:n,setSaveStepValues:l,errors:a,clearError:c}=X3(qe);return Z3(K3,{children:[Fv(de,{value:n.filterName,onChange:s=>{l(u=>({...u,filterName:s.target.value})),a?.filterName&&c?.("filterName")},label:r?.saveStep?.filterNameInput?.label,placeholder:r?.saveStep?.filterNameInput?.placeholder,infoLabels:{errorMessage:a?.filterName},...e?.saveFilter?.filterName,...t?.saveFilter?.filterName}),Fv(Ih,{checked:n.exposed,onChange:s=>l(u=>({...u,exposed:s})),title:r?.saveStep?.exposureSwitch?.title,label:r?.saveStep?.exposureSwitch?.label,sublabel:r?.saveStep?.exposureSwitch?.sublabel,...e?.saveFilter?.exposure,...t?.saveFilter?.exposure})]})};var Av={title:"Filters",subtitle:"Apply filters to table data.",apply:"Apply",cancel:"Cancel",clear:"Clear",save:"Save filters",saveStep:{back:"Back",save:"Save",title:"Save Filter",subtitle:"Filters are reusable and shareable.",filterNameInput:{label:"Filter name",placeholder:"Type a name for this filter"},exposureSwitch:{title:"Exposure",label:"Share this filter",sublabel:"Allows others to see and use this filter"},validation:{tooShort:"You must provide a valid filter title, above 3 characters long.",tooLong:"You must provide a valid filter title, below 50 characters long."}},savedFilters:{label:"Select saved filter",noFilters:"No saved filters",filter:{delete:"Delete",cancelDelete:"Cancel",pin:"Pin",unpin:"Unpin"},tabs:{all:"All",featured:"Featured",mine:"Mine",pinned:"Pinned",shared:"Shared"}}};import{useValidation as Q3}from"@cleen/ui-core";import{useState as bh}from"react";import{jsx as Y3}from"react/jsx-runtime";var zv=({children:e,value:t})=>{let[r,n]=bh(!1),[l,a]=bh(rc),{errors:c,setError:s,clearError:u}=Q3({}),[p,i]=bh(!1),g=()=>{n(!1),t?.onClose?.()};return Y3(qe.Provider,{value:{isSaveFiltersStep:r,setIsSaveFiltersStep:n,saveStepValues:l,setSaveStepValues:a,handleCloseSaveFilter:g,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i,errors:c,setError:s,clearError:u,...t},children:e})};import{applyDefaults as J3,cn as Ov}from"@cleen/ui-core";import{forwardRef as _v,useContext as j3}from"react";import{Fragment as oM,jsx as ao,jsxs as nM}from"react/jsx-runtime";var eM=_v(function({selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,children:l,classNames:a,styles:c,labels:s,withSavedFilters:u=!0,onClear:p,onSave:i,onCancel:g,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:f,onFilterDelete:v,onFilterPin:C,onFilterSelect:x,onFilterUnpin:I,...P},M){return ao(zv,{value:{selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,classNames:a,styles:c,labels:J3(Av,s),withSavedFilters:u,onClear:p,onSave:i,onCancel:g,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:f,onFilterDelete:v,onFilterPin:C,onFilterSelect:x,onFilterUnpin:I},children:ao(tM,{...P,ref:M,children:l})})}),tM=_v(function({children:t,...r},n){let{handleCloseSaveFilter:l,isSaveFiltersStep:a,selectedSavedFilter:c,savedFilters:s,isFiltersFetching:u,classNames:p,styles:i,labels:g,withSavedFilters:h=!0,onClear:y,onFilterCategoryChange:b,onFilterSelect:f}=j3(qe);return ao(q1,{footer:ao(vv,{}),headerCloseBtn:ao(re,{onClick:()=>{y?.(),f?.(void 0)},leftIcon:ao(We,{}),variant:"secondary",...p?.clearBtn,...i?.clearBtn,children:g?.clear}),classNames:{...p,content:Ov("cleen-space-y-4",p?.content),footer:Ov("cleen-justify-between",p?.footer)},onClose:l,ref:n,...r,title:a?g?.saveStep?.title:r.title,subtitle:a?g?.saveStep?.subtitle:r.subtitle,children:a?ao(Ev,{}):nM(oM,{children:[h&&ao(Nv,{filters:s,selectedSavedFilter:c,onFilterCategoryChange:b,isFiltersFetching:u}),t]})})});import{cn as Bn}from"@cleen/ui-core";import{forwardRef as rM}from"react";import{jsx as ic,jsxs as Hv}from"react/jsx-runtime";var Uv=rM(({title:e,titleTooltip:t,subtitle:r,required:n,labelProps:l,children:a,className:c,classNames:s,style:u,styles:p,...i},g)=>ic("div",{ref:g,className:Bn("cleen",c),style:{...u,width:"100%"},...i,children:Hv("div",{className:Bn("cleen-flex cleen-w-full cleen-items-start cleen-justify-start cleen-gap-8",s?.container),style:p?.container,children:[Hv("div",{className:Bn("cleen-flex cleen-flex-col cleen-w-1/3",s?.titleColumn),style:p?.titleColumn,children:[ic(oe,{...l,required:n,tooltip:t,className:s?.title?.className,classNames:{...s?.title?.classNames,label:Bn("cleen-truncate",s?.title?.classNames?.label)},...p?.title,children:e}),r&&ic("div",{className:Bn("cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis cleen-w-full cleen-font-normal cleen-text-neutral-600 cleen-text-sm",s?.subtitle),style:p?.subtitle,children:r})]}),ic("div",{className:Bn("cleen-form-group--controls-row cleen-flex cleen-flex-1 cleen-flex-wrap cleen-gap-8",s?.controlsRow),style:p?.controlsRow,children:a})]})}));Uv.displayName="FormGroup";import{cn as be,useDebounce as aM,useOutsideClick as lM,usePositionClose as cM,ZIndex as sM}from"@cleen/ui-core";import{useEffect as pc,useMemo as yh,useRef as Ch,useState as nt}from"react";import{createPortal as iM}from"react-dom";import{Fragment as mM,jsx as K,jsxs as Ee}from"react/jsx-runtime";function pM(e){return e!==null&&typeof e=="object"}function ke(e,t){if(pM(e)&&t in e)return e[t]}function Gv(e,t){let r=ke(e,t);return Array.isArray(r)?r:[]}function Vv(e,t){let r=e?.[t];if(typeof r=="string"||typeof r=="number")return r;let n=e?.data?.[t];return typeof n=="string"||typeof n=="number"?n:null}var dM=({position:e="bottom-right",labels:t,groups:r=[],selectedItemID:n=null,groupThreeDotMenuOptions:l=[],itemThreeDotMenuOptions:a=[],refetchData:c,onGroupSave:s,onItemSave:u,onGroupThreeDotMenuClick:p,onItemThreeDotMenuClick:i,onSearchChange:g,onItemSelect:h,groupIDKey:y,groupTitleKey:b,itemsKey:f,itemIDKey:v,itemGroupIDKey:C,itemTitleKey:x,itemSubtitleKey:I,newValueMinLength:P=2,isLoading:M=!1,isGroupSaving:B=!1,isItemSaving:k=!1,selectedColor:w="rgb(var(--cleen-primary-100))",hasFiltering:R=!0,zIndex:E=sM.POPOVER,className:N,classNames:L,style:F,styles:D})=>{let[S,H]=nt(!1),[T,z]=nt(!1),[A,_]=nt(!1),[G,$]=nt(!1),[q,U]=nt(null),[V,Q]=nt(null),[O,Z]=nt(""),[ie,he]=nt(""),[Ie,It]=nt(null),Qe=Ch(void 0),[Y,ae]=nt(""),[rt]=aM(Y,500),[at,Be]=nt(""),bt=Ch(null),Ye=Ch(null),{positionStyles:X,isMounted:Ce}=cM({triggerRef:bt,targetRef:Ye,position:e,isOpen:S,offset:10});lM({refs:[Ye],handler:()=>H(!1),enabled:S});let Re=yh(()=>r??[],[r]),xe=yh(()=>{let W=new Map;for(let J of Re){let le=ke(J,y);le!=null&&W.set(le,Gv(J,f))}return W},[Re,y,f]),Je=yh(()=>{let W=[];return q==null?W=Array.from(xe?.values()).flat():W=xe?.get(q)??[],R&&at.trim()!==""&&(W=W.filter(J=>{let le=String(ke(J,x)??""),Le=I?String(ke(J,I)??""):"";return le.toLowerCase().includes(at?.toLowerCase()??"")||Le.toLowerCase().includes(at?.toLowerCase()??"")})),W},[q,xe,at,x,I,R]);pc(()=>{let W=Qe.current!==n;if(Qe.current=n,n==null){W&&(Q(null),U(null));return}let le=Array.from(xe?.values())?.flat()?.find(Le=>ke(Le,v)===n);if(le){let Le=ke(le,C)??null;Q(le),U(Le)}else W&&Q(null)},[n,xe,v,C]),pc(()=>{if(Ie==null)return;let J=Array.from(xe?.values())?.flat()?.find(Le=>ke(Le,v)===Ie);if(!J)return;let le=ke(J,C);U(typeof le=="string"||typeof le=="number"?le:null),Q(J),It(null),h?.(J)},[Ie,xe,v,C,h]),pc(()=>{g&&g(rt??"")},[rt,g]),pc(()=>{S||(z(!1),_(!1),Z(""),he(""))},[S]);let lt=W=>{W===q?(U(null),Q(null),h?.(null)):(Q(null),U(W),h?.(null))},Ec=W=>{let J=ke(W,C);U(typeof J=="string"||typeof J=="number"?J:null),Q(W),h?.(W),H(!1)};async function Pa(){if(!s)return;let W={[b]:O};try{let J=await s(W);if(J?.success){z(!1),Z(""),c&&await c();let le=Vv(J,y);le!=null&&(U(le),Q(null),h?.(null))}}catch{}}async function te(){if(!u)return;let W={[x]:ie,...q!=null?{[C]:q}:{}};try{let J=await u(W);J?.success&&(_(!1),he(""),It(Vv(J,v)),c&&await c())}catch{}}return K("div",{className:be("cleen",N),style:F,children:Ee("div",{ref:bt,className:be("cleen-relative cleen-w-full cleen-cursor-pointer",L?.container),style:D?.container,onClick:W=>{W.stopPropagation(),H(!0)},children:[K(de,{placeholder:t?.inputPlaceholder,rightIcon:K(Mt,{className:be("cleen-w-5 cleen-h-5 cleen-text-neutral-300 cleen-transition-transform",{"cleen-rotate-180":!S})}),value:Y,onChange:W=>{U(null),Q(null),ae(W.target.value)},classNames:{input:S?"":"cleen-cursor-pointer"},className:L?.input,style:D?.input}),S&&iM(K("div",{className:"cleen",children:Ee("div",{ref:Ye,className:be("cleen-overflow-hidden cleen-flex cleen-items-start cleen-justify-start cleen-w-[500px] cleen-h-[344px] cleen-bg-surface cleen-border cleen-border-border cleen-rounded-lg cleen-shadow-xl cleen-cursor-default","cleen-absolute",{"cleen-opacity-0":!Ce},L?.columnsContainer),style:{zIndex:E,top:`${X.top}px`,left:`${X.left}px`,...D?.columnsContainer},children:[Ee("div",{className:"cleen-w-1/2 cleen-h-full",children:[K("div",{className:be("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",L?.leftColumn),style:D?.leftColumn,children:M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(ne,{size:"sm"})}):r?.map((W,J)=>{let le=ke(W,y),Le=le===q,Ac=String(ke(W,b)??""),zc=Gv(W,f)?.length??0;return Ee("div",{className:be("cleen-group cleen-flex cleen-items-center cleen-justify-between cleen-gap-2 cleen-px-3 cleen-w-full cleen-min-h-10 cleen-cursor-pointer cleen-transition-colors hover:cleen-bg-neutral-50",L?.groupItem),style:{...D?.groupItem||{},...Le?{backgroundColor:w}:{}},onClick:fe=>{fe.stopPropagation(),fe.preventDefault(),lt(le??null)},children:[Ee("div",{className:be("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2",l?.length>0?"cleen-w-[calc(100%-30px)]":"cleen-w-full"),children:[K("span",{className:be("cleen-truncate cleen-font-semibold cleen-text-[14px] cleen-text-foreground",L?.groupItemTitle),style:D?.groupItemTitle,children:Ac}),K(Fe,{color:"lighter-blue",label:zc})]}),l?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:fe=>{fe.stopPropagation(),p?.(W)},children:K(kn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:l?.map(fe=>{let _n=fe?.disabledOptionCallback?.(W);return{...fe,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:fe?.label}),onClick:()=>{_n||fe?.onClick(W)},disabled:_n}}),classNames:{menu:"cleen-min-w-max"},className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-5 cleen-h-5 cleen-bg-surface cleen-rounded-md",children:K(tn,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`group-${J}-${String(le??J)}`)})}),K(tt,{isHorizontal:!0}),T?Ee("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(de,{leftIcon:K(Zt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newGroupPlaceholder,value:O,onChange:W=>Z(W.target.value),classNames:{inputContainer:"cleen-border-none focus-within:cleen-ring-0",input:"cleen-w-full"},className:"cleen-w-[170px]",autoFocus:!0}),K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-[80px] cleen-h-full",children:s?B?K(ne,{}):O?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{Pa()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Ee("div",{className:be("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2 cleen-w-full cleen-px-2 cleen-h-10 cleen-cursor-pointer cleen-transition-colors hover:cleen-bg-neutral-50",L?.newGroupButton),style:D?.newGroupButton,onClick:()=>z(!0),children:[K(Zt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),K("span",{className:"cleen-text-normal cleen-text-[14px] cleen-text-muted-foreground",children:t?.newGroupPlaceholder})]})]}),K(tt,{className:"cleen-absolute cleen-top-0 cleen-left-1/2 cleen-min-w-[1px] cleen-h-full cleen-bg-border cleen-z-[1]"}),Ee("div",{className:"cleen-w-1/2 cleen-h-full",children:[Ee("div",{className:be("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",L?.rightColumn),style:D?.rightColumn,children:[R&&Ee(mM,{children:[K(de,{leftIcon:K(Bt,{className:"cleen-size-5"}),className:be("cleen-w-full cleen-transition-transform",{"-cleen-translate-y-11":!G}),classNames:{inputContainer:"cleen-border-0 cleen-shadow-none"},onChange:W=>Be(W.target.value),placeholder:t?.filterPlaceholder}),K("button",{type:"button",className:be("cleen-w-full cleen-py-0.5 cleen-transition-all cleen-bg-neutral-50 hover:cleen-bg-muted cleen-border-t cleen-border-border",{"-cleen-mt-10 cleen-border-transparent":!G}),onClick:()=>$(W=>!W),children:K(Yn,{className:be("cleen-mx-auto cleen-size-4 cleen-text-muted-foreground cleen-transition-transform",G?"-cleen-rotate-90":"cleen-rotate-90")})})]}),M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(ne,{size:"sm"})}):Je?.map((W,J)=>{let le=ke(W,v),Le=V&&ke(V,v)===le,Ac=String(ke(W,x)??""),zc=I?String(ke(W,I)??""):"";return Ee("div",{className:be("cleen-group cleen-flex cleen-items-center cleen-justify-between cleen-gap-2 cleen-px-3 cleen-w-full cleen-min-h-[60px] cleen-cursor-pointer hover:cleen-bg-neutral-50 cleen-transition-colors",L?.item),style:{...D?.item||{},...Le?{backgroundColor:w}:{}},onClick:fe=>{fe.stopPropagation(),fe.preventDefault(),Ec(W)},children:[Ee("div",{className:be("cleen-flex cleen-flex-col cleen-items-start cleen-justify-center",a?.length>0?"cleen-w-[calc(100%-30px)]":"cleen-w-full"),children:[K("span",{className:be("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[14px] cleen-text-foreground",L?.itemTitle),style:D?.itemTitle,children:Ac}),K("span",{className:be("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[12px] cleen-text-neutral-600",L?.itemSubtitle),style:D?.itemSubtitle,children:zc})]}),a?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:fe=>{fe.stopPropagation(),i?.(W)},children:K(kn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:a?.map(fe=>{let _n=fe?.disabledOptionCallback?.(W);return{...fe,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:fe?.label}),onClick:()=>{_n||fe?.onClick(W)},disabled:_n}}),classNames:{menu:"cleen-min-w-max"},className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-5 cleen-h-5 cleen-bg-surface cleen-rounded-md",children:K(tn,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`item-${J}-${String(le??J)}`)})]}),K(tt,{isHorizontal:!0}),A?Ee("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(de,{leftIcon:K(Zt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newItemPlaceholder,value:ie,onChange:W=>he(W.target.value),classNames:{inputContainer:"cleen-border-none focus-within:cleen-ring-0",input:"cleen-w-full"},className:"cleen-w-[170px]",autoFocus:!0}),K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-[80px] cleen-h-full",children:u?k?K(ne,{}):ie?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{te()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Ee("div",{className:be("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2 cleen-w-full cleen-px-2 cleen-h-10 cleen-cursor-pointer hover:cleen-bg-primary/10",L?.newItemButton),style:D?.newItemButton,onClick:()=>_(!0),children:[K(Zt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),K("span",{className:"cleen-text-normal cleen-text-[14px] cleen-text-muted-foreground",children:t?.newItemPlaceholder})]})]})]})}),document.body),!S&&V&&K("div",{className:"cleen-absolute cleen-top-1.5 cleen-left-1 cleen-flex cleen-items-center cleen-justify-start cleen-pl-2.5 cleen-w-[calc(100%-40px)] cleen-h-8 cleen-bg-surface",onClick:()=>H(!0),children:K("span",{className:"cleen-truncate cleen-font-semibold cleen-text-sm cleen-text-foreground",children:String(ke(V,x)??"")})})]})})};import{cn as Me,useDebounce as uM,useOutsideClick as hM,usePositionClose as fM,ZIndex as gM}from"@cleen/ui-core";import{forwardRef as vM,useEffect as qv,useId as IM,useMemo as Xv,useRef as dc,useState as mc}from"react";import{createPortal as bM}from"react-dom";import{cn as _o}from"@cleen/ui-core";import{jsx as lo,jsxs as Wv}from"react/jsx-runtime";var $v=({options:e,selection:t,classNames:r,styles:n,onChoose:l,displaySubtextInline:a=!0,activeIndex:c=-1,getOptionId:s,onActiveIndexChange:u,...p})=>lo("div",{...p,children:lo("div",{className:_o("cleen-flex cleen-flex-col cleen-pt-1 cleen-pb-1.5 cleen-max-h-64 cleen-overflow-y-auto",r?.container),style:n?.container,children:e?.map((i,g)=>{let h=t?.some(b=>b?.value===i?.value),y=g===c;return Wv("li",{id:s?.(g),role:"option","aria-selected":h,className:_o("cleen-flex cleen-justify-between cleen-items-center hover:cleen-bg-muted cleen-px-2 cleen-py-2.5 cleen-rounded-md cleen-cursor-pointer cleen-select-none",{"cleen-bg-muted hover:cleen-bg-neutral-200":h,"cleen-bg-muted":y},r?.item),style:n?.item,onMouseEnter:()=>u?.(g),onClick:()=>l?.(i,h),children:[Wv("div",{className:_o("cleen-flex cleen-justify-start cleen-items-center cleen-gap-2",r?.labels,!a&&"cleen-truncate cleen-flex-col cleen-items-start cleen-gap-0"),style:n?.labels,children:[i?.leadingBadgeValue&&lo(Fe,{color:"gray",label:i?.leadingBadgeValue}),i?.icon,i?.label&&lo("span",{className:_o("cleen-font-medium cleen-text-foreground cleen-text-base",!a&&"cleen-w-full cleen-truncate"),children:i?.label}),i?.preSublabel&&lo("span",{className:_o("cleen-font-medium cleen-text-neutral-400 cleen-text-xs",!a&&"cleen-w-full cleen-truncate"),children:i?.preSublabel}),i?.sublabel&&lo("span",{className:_o("cleen-font-medium cleen-text-neutral-600 cleen-text-sm",!a&&"cleen-w-full cleen-truncate"),children:i?.sublabel})]}),h&&lo("div",{className:r?.checkContainer,style:n?.checkContainer,children:lo(Pt,{className:_o("cleen-text-primary",r?.check),style:n?.check})})]},i.value)})})});import{Fragment as CM,jsx as ve,jsxs as uc}from"react/jsx-runtime";var yM=vM(function({id:t,name:r,label:n,labelTooltip:l,labels:a,options:c,value:s,displaySelected:u="under",isLoading:p=!1,required:i,internalFiltering:g=!1,closeOnReachingLimit:h=!0,limit:y,getCustomBadgeLabel:b,displaySubtextInline:f=!0,selectedBadgeColor:v="blue",debounceDelay:C=0,characterThreshold:x=2,disabled:I=!1,isNoDataVisibleOnCreateNew:P=!0,zIndex:M=gM.DROPDOWN,className:B,classNames:k,style:w,styles:R,infoLabels:E,menuDetachedFromPortal:N,onInputChange:L,onChange:F,onCreateNewOption:D,createNewOptionLabelString:S,onLookupBlur:H,triggerBlurOnlyWhenOpen:T=!0,menuRef:z,...A},_){let[G,$]=mc(!1),q=dc(null),U=dc(null),V=z??q,{positionStyles:Q,isMounted:O}=fM({triggerRef:U,targetRef:V,position:"bottom-left",isOpen:G,offset:4});hM({refs:[V,U],handler:()=>{$(!1),H?.()},enabled:T?G:!0});let[Z,ie]=mc(""),he=uM(Z,C),Ie=C?he:Z,It=dc(Ie),Qe=dc(!1),Y=()=>{Qe.current=!1,ie("")},ae=Array.isArray(s),[rt,at]=mc([]),Be=ae?s:rt,bt=["inside","inside-badge"].includes(u),Ye=(te,W=!1)=>{if(W){let le=Be.filter(Le=>Le.value!==te.value);ae||at(le),F?.(le);return}let J;if(y===1)J=[te];else{if(y&&Be.length>=y)return;J=[...Be,te]}ae||at(J),F?.(J),h&&y&&J.length>=y&&(Y(),$(!1))},X=Xv(()=>g?c?.filter(te=>te?.label?.match(new RegExp(Ie,"i"))):c,[c,Ie,g]),Ce=Xv(()=>S&&D&&!p&&Z?.length>0&&!X?.some(te=>te?.label===Z)?typeof S=="function"?S(Z):S:null,[S,D,p,Z,X]);qv(()=>{if(It.current!==Ie)if(It.current=Ie,Ie.length<x)$(!1);else{L?.(Ie);let te=!!U.current?.contains(document.activeElement);Qe.current&&te&&$(!0)}},[Ie,L,x]);let Re=IM(),xe=te=>`${Re}-option-${te}`,[Je,lt]=mc(-1);qv(()=>{lt(-1)},[Ie,G]);let Ec=te=>{let W=X?.length??0;switch(te.key){case"ArrowDown":if(!W)return;if(te.preventDefault(),!G){$(!0),lt(0);return}lt(J=>(J+1)%W);break;case"ArrowUp":if(!W)return;if(te.preventDefault(),!G){$(!0),lt(W-1);return}lt(J=>(J-1+W)%W);break;case"Home":if(!G||!W)return;te.preventDefault(),lt(0);break;case"End":if(!G||!W)return;te.preventDefault(),lt(W-1);break;case"Enter":{if(!G||Je<0)return;let J=X?.[Je];if(!J)return;te.preventDefault();let le=Be?.some(Le=>Le.value===J.value);Ye(J,le);break}case"Escape":G&&(te.preventDefault(),$(!1));break;default:break}},Pa=uc("ul",{id:Re,role:"listbox",className:Me("cleen-flex cleen-flex-col cleen-gap-0.5 cleen-bg-background cleen-shadow-[0px_12px_16px_-4px_rgba(var(--cleen-neutral-100))] cleen-px-1.5 cleen-pt-1 cleen-pb-0.5 cleen-border cleen-border-border cleen-rounded-lg",k?.menu?.container),style:R?.menu?.container,children:[p?ve(ne,{className:Me("cleen-py-3",k?.menu?.loader),style:R?.menu?.loader}):!X||X?.length===0?!!a?.noDataFound&&(P||!Ce)&&ve("div",{className:Me("cleen-flex cleen-justify-center cleen-items-center cleen-px-2 cleen-py-2.5 cleen-rounded-md cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-text-center cleen-pointer-events-none cleen-select-none",k?.menu?.noDataFound),style:R?.menu?.noDataFound,children:a?.noDataFound}):ve($v,{options:X,selection:Be,onChoose:Ye,displaySubtextInline:f,activeIndex:Je,getOptionId:xe,onActiveIndexChange:lt,...k?.menu?.list,...R?.menu?.list}),Ce&&uc("div",{className:Me("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center",k?.createNewOption?.container),style:R?.createNewOption?.container,children:[ve(tt,{...k?.createNewOption?.divider,...R?.createNewOption?.divider}),ve("span",{className:Me("cleen-py-3 cleen-font-semibold cleen-text-primary/70 cleen-text-sm cleen-cursor-pointer",k?.createNewOption?.value),style:R?.createNewOption?.value,onClick:()=>{let te=D?.(Z);typeof te=="boolean"&&!te||(Y(),$(!1))},children:Ce})]})]});return ve("div",{className:Me("cleen",B),style:w,children:uc("div",{className:Me("cleen-flex cleen-flex-col cleen-w-full",k?.container),style:R?.container,children:[n&&ve(oe,{htmlFor:t||r,required:i,tooltip:l,className:Me("cleen-mb-1.5",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:n}),ve("div",{ref:U,className:Me("cleen-relative cleen-flex cleen-items-center",k?.input?.container),style:R?.input?.container,children:ve(de,{id:t||r,type:"search",autoFocus:!1,autoComplete:"off",className:Me("cleen-w-full",k?.input?.component?.className),classNames:{...k?.input?.component?.classNames,inputContainer:Me({"cleen-flex-wrap":bt},k?.input?.component?.classNames?.inputContainer),input:Me({"cleen-pl-2":bt},k?.input?.component?.classNames?.input),leftIconContainer:Me({"cleen-pr-0":bt},k?.input?.component?.classNames?.leftIconContainer)},...R?.input?.component,leftIcon:uc(CM,{children:[ve(Bt,{}),bt&&(Be||[])?.length>0&&ve("div",{className:Me("cleen-flex cleen-gap-1 cleen-overflow-hidden cleen-text-ellipsis cleen-whitespace-nowrap"),onClick:()=>{$(!G)},children:u==="inside-badge"?Be?.map(te=>ve(Fe,{label:te?.label,color:"blue",variant:"semiRounded"},te.value)):ve("span",{className:Me("cleen-font-medium cleen-text-foreground cleen-text-sm"),children:Be?.map(te=>te?.label).join(", ")})})," "]}),onFocus:()=>{Ie.length>=x&&Z.length>=x&&$(!0)},value:Z,onChange:te=>{Qe.current=!0,ie(te.target.value)},role:"combobox","aria-autocomplete":"list","aria-expanded":G,"aria-controls":G?Re:void 0,"aria-activedescendant":G&&Je>=0?xe(Je):void 0,onKeyDown:Ec,ref:_,required:i,disabled:I,...A})}),G&&(N?ve("div",{ref:V,children:Pa}):bM(ve("div",{className:"cleen",children:ve("div",{ref:V,className:Me("cleen-absolute",{"cleen-opacity-0":!O}),style:{zIndex:M,top:`${Q.top}px`,left:`${Q.left}px`,minWidth:U.current?.offsetWidth?`${U.current.offsetWidth}px`:void 0},children:Pa})}),document.body)),u==="under"&&Be?.length>0&&ve("span",{className:Me("cleen-flex cleen-flex-wrap cleen-gap-1.5 cleen-mt-1.5",k?.pillbadge?.container),style:R?.pillbadge?.container,children:Be?.map(te=>ve(Fe,{label:b?b(te):te?.label,color:v,removeable:!I,onRemoveClicked:()=>{if(I)return;let W=Be?.filter(J=>J?.value!==te?.value);ae||at(W),F?.(W)},...k?.pillbadge?.component,...R?.pillbadge?.component},te.value))}),(E?.errorMessage||E?.infoMessage||E?.subtitle)&&ve(ee,{...E})]})})});import{cn as se}from"@cleen/ui-core";import{forwardRef as xM}from"react";import PM from"react-markdown";import SM from"remark-gfm";import{jsx as ce}from"react/jsx-runtime";var MM=xM(function({components:t,children:r,className:n,classNames:l,style:a,styles:c,...s},u){let p={h1:({children:i})=>ce("h1",{className:se("cleen-text-3xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-4 cleen-mt-6"),children:i}),h2:({children:i})=>ce("h2",{className:se("cleen-text-2xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-3 cleen-mt-5"),children:i}),h3:({children:i})=>ce("h3",{className:se("cleen-text-xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-4"),children:i}),h4:({children:i})=>ce("h4",{className:se("cleen-text-lg cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-3"),children:i}),h5:({children:i})=>ce("h5",{className:se("cleen-text-base cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),h6:({children:i})=>ce("h6",{className:se("cleen-text-sm cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),p:({children:i})=>ce("p",{className:se("cleen-text-base cleen-text-foreground cleen-mb-4 cleen-leading-relaxed"),children:i}),a:({href:i,children:g})=>ce("a",{href:i,className:se("cleen-text-primary cleen-underline"),target:"_blank",rel:"noopener noreferrer",children:g}),ul:({children:i})=>ce("ul",{className:se("cleen-list-disc cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),ol:({children:i})=>ce("ol",{className:se("cleen-list-decimal cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),li:({children:i})=>ce("li",{className:se("cleen-mb-1"),children:i}),blockquote:({children:i})=>ce("blockquote",{className:se("cleen-border-l-4 cleen-border-primary/30 cleen-pl-4 cleen-italic cleen-text-neutral-700 cleen-mb-4"),children:i}),code:({className:i,children:g,...h})=>i?ce("code",{className:se("cleen-font-mono cleen-text-sm"),...h,children:g}):ce("code",{className:se("cleen-font-mono cleen-bg-muted cleen-rounded cleen-px-1 cleen-text-sm"),...h,children:g}),pre:({children:i})=>ce("pre",{className:se("cleen-bg-muted dark:cleen-bg-neutral-200 cleen-rounded cleen-p-4 cleen-overflow-x-auto cleen-mb-4 cleen-text-sm"),children:i}),hr:()=>ce("hr",{className:se("cleen-border-t cleen-border-border cleen-my-4")}),img:({src:i,alt:g})=>ce("img",{src:i,alt:g,className:se("cleen-max-w-full cleen-rounded")}),strong:({children:i})=>ce("strong",{className:se("cleen-font-semibold"),children:i}),em:({children:i})=>ce("em",{className:se("cleen-italic"),children:i}),table:({children:i})=>ce("div",{className:se("cleen-overflow-x-auto cleen-mb-4"),children:ce("table",{className:se("cleen-w-full cleen-border-collapse cleen-text-sm cleen-text-900"),children:i})}),thead:({children:i})=>ce("thead",{className:se("cleen-border-b cleen-border-border"),children:i}),th:({children:i})=>ce("th",{className:se("cleen-text-left cleen-font-semibold cleen-p-2 cleen-border-b cleen-border-border"),children:i}),td:({children:i})=>ce("td",{className:se("cleen-p-2 cleen-border-b cleen-border-border"),children:i}),input:({type:i,checked:g,disabled:h})=>i==="checkbox"?ce("input",{type:"checkbox",checked:g,disabled:h,readOnly:!0,className:se("cleen-mr-2 cleen-align-middle")}):ce("input",{type:i})};return ce("div",{ref:u,className:se("cleen",n,l?.container),style:{...a,...c?.container},...s,children:ce(PM,{...s,remarkPlugins:[SM],components:{...p,...t},children:r})})});import{cn as Ho,useBodyScrollLock as wM,useCleenOverlays as Kv,ZIndex as kM}from"@cleen/ui-core";import{forwardRef as BM,useCallback as RM,useEffect as xh,useId as LM,useRef as DM,useState as Zv}from"react";import{createPortal as TM}from"react-dom";import{jsx as sa,jsxs as Yv}from"react/jsx-runtime";var NM={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":728,"3xl":896,"4xl":1152},Qv=300,FM=BM(function({isOpen:t=!1,onClose:r,closeOnOverlayClick:n=!0,closeButtonIcon:l=sa(De,{className:"cleen-size-5"}),header:a,footer:c,zIndex:s=kM.MODAL,size:u="md",color:p,p:i,gap:g,radius:h=16,className:y,classNames:b,style:f,styles:v,children:C,...x},I){let[P,M]=Zv(t),[B,k]=Zv(t),w=DM(null),R=LM(),{addOverlay:E,removeOverlay:N}=Kv(),L=RM(()=>{M(!1),setTimeout(()=>r?.(),Qv)},[r]);return xh(()=>{if(t){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),Qv);return()=>clearTimeout(F)}},[t]),xh(()=>{if(t)return E(R),()=>N(R)},[E,N,t,R]),xh(()=>{let F=D=>{let{overlays:S}=Kv.getState();D.key==="Escape"&&S[S.length-1]===R&&L()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[L,R]),wM(B),B?TM(Yv("div",{className:Ho("cleen",y),style:f,ref:I,...x,children:[sa("div",{className:Ho("cleen-fixed cleen-inset-0 cleen-bg-black/50 dark:cleen-bg-surface/50 cleen-transition-opacity cleen-duration-300 cleen-ease-in-out",P?"cleen-opacity-100":"cleen-opacity-0",b?.overlay),style:{zIndex:s,...v?.overlay},onClick:()=>{n&&L()},"aria-hidden":"true"}),sa("div",{className:Ho("cleen-fixed cleen-inset-0 cleen-flex cleen-justify-center cleen-items-center cleen-p-4 cleen-overflow-auto","cleen-transition-all cleen-duration-300 cleen-ease-in-out","cleen-pointer-events-none",P?"cleen-opacity-100 cleen-scale-100":"cleen-opacity-0 cleen-scale-95",b?.container),style:{zIndex:s,...v?.container},"aria-modal":"true",role:"dialog",children:Yv(pe,{header:a,footer:c,color:p,p:i,gap:g,radius:h,className:Ho("cleen-relative cleen-shadow-xl cleen-w-full cleen-max-w-lg cleen-rounded-lg cleen-pointer-events-auto",b?.modal?.className),style:{maxWidth:typeof u=="number"?u:NM[u],...v?.modal?.style},classNames:{...b?.modal?.classNames,container:Ho("cleen-min-h-48 cleen-max-h-[90vh] cleen-overflow-y-auto",b?.modal?.classNames?.container),childrenContainer:Ho("cleen-min-h-24 cleen-max-h-[80vh] cleen-overflow-y-auto",b?.modal?.classNames?.childrenContainer)},styles:v?.modal?.styles,ref:w,children:[C,l&&sa("div",{className:Ho("cleen-top-3 cleen-right-3 cleen-absolute"),children:sa(re,{variant:"borderless",onClick:L,"aria-label":"Close modal",classNames:{container:"cleen-p-1.5 cleen-rounded-full"},children:l})})]})})]}),document.body):null});import{useEffect as Jv,useRef as EM}from"react";import{Fragment as AM,jsx as zM}from"react/jsx-runtime";var jv=({children:e,isIn:t,done:r,playToast:n})=>{let l=EM(!1);return Jv(()=>{l.current||(l.current=!0,n())},[n]),Jv(()=>{t||r()},[t,r]),zM(AM,{children:e})};import"react-toastify";var Ph={success:{},error:{autoClose:2e4,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0},info:{},warning:{autoClose:4e3},default:{autoClose:3e3,position:"top-right",hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0}},eI={success:{name:"CheckCircle",className:"cleen-text-success"},error:{name:"XCircle",className:"cleen-text-error"},info:{name:"InfoCircle",className:"cleen-text-primary"},warning:{name:"AlertTriangle",className:"cleen-text-warning"},default:null};import{cn as ia}from"@cleen/ui-core";import{jsx as hc,jsxs as tI}from"react/jsx-runtime";var oI=({message:e,title:t,icon:r,variant:n="default",classNames:l})=>{let a=eI[n],c=r??(a?hc(Oe,{name:a.name,width:18,height:18,className:a.className}):null);return tI("div",{className:ia("cleen-flex cleen-items-start cleen-gap-3",l?.container),children:[c&&hc("span",{className:ia("cleen-flex cleen-shrink-0 cleen-items-center cleen-pt-0.5",l?.icon),children:c}),tI("div",{className:ia("cleen-flex cleen-flex-col cleen-gap-0.5",l?.body),children:[t&&hc("span",{className:ia("cleen-text-sm cleen-font-semibold cleen-text-foreground",l?.title),children:t}),hc("span",{className:ia("cleen-text-sm cleen-text-muted-foreground",l?.message),children:e})]})]})};import{cn as OM}from"@cleen/ui-core";import{Bounce as _M,Flip as HM,toast as pa,Slide as UM,Zoom as GM}from"react-toastify";import{jsx as WM}from"react/jsx-runtime";var VM=({message:e,title:t,icon:r,variant:n="default",animationType:l="slide",className:a,classNames:c,...s})=>{let u=()=>{switch(l){case"bounce":return _M;case"flip":return HM;case"zoom":return GM;case"none":return jv;default:return UM}},p=t!==void 0||r!==void 0,i=p?WM(oI,{message:e,title:t,icon:r,variant:n,classNames:c}):e,g={...Ph.default,...n!=="default"&&Ph[n],transition:u(),className:OM("cleen-text-sm",a),...s,...p&&{icon:!1}};switch(n){case"success":return pa.success(i,g);case"error":return pa.error(i,g);case"info":return pa.info(i,g);case"warning":return pa.warning(i,g);default:return pa(i,g)}};import{ToastContainer as $M}from"react-toastify";import{jsx as nI}from"react/jsx-runtime";var qM=e=>nI("div",{className:"cleen",children:nI($M,{...e})});import{cn as rI}from"@cleen/ui-core";import{forwardRef as XM,useState as KM}from"react";import{jsx as Sh,jsxs as ZM}from"react/jsx-runtime";var Mh=XM(({totalPages:e,labels:t,onGoToPage:r,classNames:n,styles:l,...a},c)=>{let[s,u]=KM(""),p=()=>{let g=parseInt(s,10);isNaN(g)||(r?.(Math.min(Math.max(g,1),e)),u(""))},i=g=>{g.key==="Enter"?p():g.key==="Escape"&&u("")};return Sh("div",{className:"cleen",...a,children:ZM("div",{className:rI("cleen-flex cleen-items-center cleen-gap-2",n?.container),style:l?.container,children:[Sh("span",{className:rI("cleen-text-sm cleen-text-neutral-700 cleen-whitespace-nowrap",n?.label),style:l?.label,children:t?.goToPage}),Sh(de,{ref:c,type:"number",min:1,max:e,value:s,onChange:g=>u(g.target.value),onKeyDown:i,...n?.input,...l?.input})]})})});import{cn as fc,useOutsideClick as QM,usePositionClose as YM}from"@cleen/ui-core";import{forwardRef as JM,useRef as aI,useState as lI}from"react";import{createPortal as jM}from"react-dom";import{jsx as Rn,jsxs as tw}from"react/jsx-runtime";var ew=[10,20,50,100],wh=JM(({pageSize:e,pageSizes:t=ew,labels:r,onPageSizeChange:n,classNames:l,styles:a,...c},s)=>{let[u,p]=lI(e??t?.[0]??void 0),[i,g]=lI(!1),h=aI(null),y=aI(null),{positionStyles:b,isMounted:f}=YM({triggerRef:h,targetRef:y,isOpen:i,position:"top-left"});return QM({refs:[h,y],handler:()=>g(!1),enabled:i}),Rn("div",{className:"cleen",ref:s,...c,children:tw("div",{className:fc("cleen-relative cleen-flex cleen-justify-start cleen-items-center cleen-w-10",l?.container),style:a?.container,children:[Rn(ge,{label:r?.itemsPerPage?.(u),classNames:{labelContainer:"cleen-min-w-max"},children:Rn("div",{className:fc("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted hover:cleen-bg-neutral-200 cleen-p-2 cleen-rounded-lg cleen-min-w-10 cleen-h-10 cleen-font-medium cleen-text-sm cleen-text-neutral-700 cleen-transition-colors cleen-cursor-pointer",l?.trigger),style:a?.trigger,onClick:()=>g(v=>!v),ref:h,children:u})}),i&&jM(Rn("div",{className:"cleen",children:Rn("div",{ref:y,className:fc("cleen-flex cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute cleen-z-50",{"cleen-opacity-0":!f},l?.menu),style:{top:`${b.top}px`,left:`${b.left}px`,...a?.menu},children:t?.filter(v=>v!==u)?.map(v=>Rn("div",{className:fc("cleen-flex cleen-justify-center cleen-items-center hover:cleen-bg-muted cleen-p-2 cleen-min-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-transition-colors cleen-cursor-pointer",l?.menuItem),style:a?.menuItem,onClick:()=>{p(v),n?.(v),g(!1)},children:v},v))})}),document.body)]})})});var cI={goToPreviousPage:"Go to previous page",goToNextPage:"Go to next page",goToPage:"Go to page",itemsPerPage:e=>`Show ${e} items per page`};import{cn as co}from"@cleen/ui-core";import{forwardRef as ow,useCallback as gc,useMemo as nw,useRef as rw}from"react";import{jsx as Ae,jsxs as lw}from"react/jsx-runtime";var aw=ow(({currentPage:e,totalPages:t,pageSize:r,pageSizes:n,hasGotoPage:l=!0,hasPageSizeSelector:a=!0,onPageChange:c,onPageSizeChange:s,labels:u=cI,classNames:p,styles:i,...g},h)=>{let y=rw(null),b=gc(()=>{e<t&&c?.(e+1)},[e,t,c]),f=gc(()=>{e>1&&c?.(e-1)},[e,c]),v=gc(I=>Ae("span",{className:co("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background hover:cleen-bg-muted cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-cursor-pointer",I===e&&"cleen-bg-muted hover:cleen-bg-neutral-200",p?.pageButton,I===e?p?.activePageButton:""),style:{...i?.pageButton,...I===e?i?.activePageButton:{}},onClick:()=>c?.(I),children:I},`page-${I}`),[e,c,p,i]),C=gc(I=>Ae("span",{className:co("cleen-flex cleen-justify-center cleen-self-end cleen-bg-background hover:cleen-bg-muted cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.ellipsis),style:i?.ellipsis,onClick:()=>y.current?.focus(),children:"..."},I),[p,i]),x=nw(()=>{if(isNaN(e)||isNaN(t))return[];let I=[];if(I.push(Ae(ge,{label:u.goToPreviousPage,classNames:{labelContainer:"cleen-min-w-max"},children:Ae("span",{className:co("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 hover:cleen-text-primary cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.navButton),style:i?.navButton,onClick:f,children:Ae(St,{})})},"prev")),t<=7)for(let P=1;P<=t;P++)I.push(v(P));else if(I.push(v(1)),e<=3){for(let P=2;P<5;P++)I.push(v(P));I.push(C("dots-end")),I.push(v(t))}else if(e>=t-2){I.push(C("dots-start"));for(let P=t-3;P<=t;P++)I.push(v(P))}else I.push(C("dots-start")),I.push(v(e-1)),I.push(v(e)),I.push(v(e+1)),I.push(C("dots-end")),I.push(v(t));return I.push(Ae(ge,{label:u.goToNextPage,classNames:{labelContainer:"cleen-min-w-max"},children:Ae("span",{className:co("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 hover:cleen-text-primary cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.navButton),style:i?.navButton,onClick:b,children:Ae(je,{})})},"next")),I},[e,t,u,p,i,C,v,b,f]);return Ae("div",{className:"cleen",ref:h,...g,children:lw("div",{className:co("cleen-flex cleen-justify-between cleen-gap-4",p?.container),style:i?.container,children:[a?Ae(wh,{pageSize:r,labels:u,onPageSizeChange:s,pageSizes:n,className:co("cleen-flex-1",p?.pageSizeSelector?.className),classNames:p?.pageSizeSelector?.classNames,...i?.pageSizeSelector}):Ae("div",{className:"cleen-flex-1"}),Ae("div",{className:co("cleen-flex cleen-flex-1 cleen-justify-center cleen-items-center cleen-gap-2 cleen-w-full",p?.buttonsContainer),style:i?.buttonsContainer,children:x}),l?Ae(Mh,{ref:y,totalPages:t,onGoToPage:c,labels:u,className:co("cleen-flex cleen-flex-1 cleen-justify-end",p?.goToPage?.className),classNames:p?.goToPage?.classNames,...i?.goToPage}):Ae("div",{className:"cleen-flex-1"})]})})});import{cn as kh,useDisclosure as cw,useOutsideClick as sw,usePositionClose as iw,ZIndex as pw}from"@cleen/ui-core";import{forwardRef as dw,useRef as sI}from"react";import{createPortal as mw}from"react-dom";import{jsx as Bh,jsxs as uw}from"react/jsx-runtime";var Rh=dw(function({isOpen:t,onOpenChange:r,content:n,position:l="bottom-left",offset:a,zIndex:c=pw.POPOVER,children:s,className:u,classNames:p,style:i,styles:g,...h},y){let{isOpen:b,toggle:f,close:v}=cw({value:t,setValue:r}),C=sI(null),x=sI(null),{positionStyles:I,isMounted:P}=iw({triggerRef:C,targetRef:x,position:l,isOpen:b,offset:a});sw({refs:[C,x],handler:v,enabled:b});let M=B=>{B.stopPropagation(),f()};return uw("div",{className:kh("cleen",u),style:i,ref:y,...h,children:[Bh("div",{ref:C,onClick:M,className:kh("cleen-size-fit",p?.trigger,b&&p?.triggerOpen),style:{...g?.trigger,...b?g?.triggerOpen:{}},children:s}),b&&mw(Bh("div",{className:"cleen",onClick:B=>B.stopPropagation(),onPointerDown:B=>B.stopPropagation(),onMouseDown:B=>B.stopPropagation(),onTouchStart:B=>B.stopPropagation(),children:Bh("div",{ref:x,className:kh("cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg cleen-w-52","cleen-absolute",{"cleen-opacity-0":!P},p?.popover),style:{zIndex:c,top:`${I.top}px`,left:`${I.left}px`,...g?.popover},onClick:B=>B.stopPropagation(),children:n})}),document.body)]})});import{cn as iI}from"@cleen/ui-core";import{forwardRef as hw,useEffect as fw,useState as gw}from"react";import{jsx as vc,jsxs as pI}from"react/jsx-runtime";var vw={xs:40,sm:60,md:80,lg:100,xl:120,xxl:140,xxxl:160},dI=hw(({isFullscreen:e,percentage:t,duration:r=1e3,radius:n,stroke:l=16,size:a="md",color:c="rgb(var(--cleen-primary))",emptyColor:s="rgb(var(--cleen-neutral-200))",textColor:u="rgb(var(--cleen-foreground))",textHidden:p=!1,fontSize:i,renderText:g,className:h,classNames:y,style:b,styles:f,...v},C)=>{let x=n??vw[a]/2,I=x-l/2,P=I*2*Math.PI,[M,B]=gw(0);fw(()=>{let w=null;if(r===0){B(t);return}let R=E=>{w||(w=E);let N=E-w,L=Math.min(N/r*t,t);B(L),L<t&&requestAnimationFrame(R)};requestAnimationFrame(R)},[t,r]);let k=P-M/100*P;return vc("div",{ref:C,className:iI("cleen",h),style:b,...v,children:pI("div",{className:iI("cleen-flex cleen-justify-center cleen-items-center cleen-w-full cleen-h-full",{"cleen-h-screen cleen-w-screen cleen-bg-background":e},y?.container),style:f?.container,children:[pI("svg",{height:x*2,width:x*2,style:{transform:"rotate(-90deg)"},children:[vc("circle",{stroke:s,fill:"transparent",strokeWidth:l,r:I,cx:x,cy:x}),vc("circle",{stroke:c,fill:"transparent",strokeWidth:l,strokeLinecap:"round",strokeDasharray:P,strokeDashoffset:k,r:I,cx:x,cy:x})]}),!p&&vc("div",{className:"cleen-absolute cleen-font-semibold cleen-text-foreground",style:{fontSize:i??x/2.5,color:u},children:g?g(M):`${Math.round(M)}%`})]})})});dI.displayName="ProgressCircle";import{cn as Xe}from"@cleen/ui-core";import{useEffect as Iw,useState as bw}from"react";import{Fragment as mI,jsx as Ft,jsxs as da}from"react/jsx-runtime";var yw=({horizontal:e,boxes:t,selectedBox:r,onBoxClick:n,leftElement:l,rightElement:a,leftIcon:c,leftIconName:s,rightIconName:u,className:p,classNames:i,style:g,styles:h,...y})=>{let[b,f]=bw(r);Iw(()=>{f(r)},[r]);let v=(P,M)=>da(mI,{children:[l&&l(P),c||(s?Ft(Oe,{name:s,className:Xe("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.leftIcon),style:h?.leftIcon}):null)]}),C=(P,M)=>Ft("span",{className:Xe("cleen-font-semibold",M?"cleen-text-primary":"cleen-text-neutral-700",i?.label),style:h?.label,children:P?.label}),x=(P,M)=>Ft("span",{className:Xe("cleen-font-semibold cleen-text-16px",M?"cleen-text-primary":"cleen-text-neutral-700",i?.subLabel),style:h?.subLabel,children:P?.subLabel}),I=(P,M)=>da(mI,{children:[a&&a(P),u&&Ft(Oe,{name:u,className:Xe("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.rightIcon),style:h?.rightIcon})]});return Ft("div",{className:Xe("cleen",p),style:g,...y,children:e?Ft("div",{className:Xe("cleen-flex cleen-flex-wrap cleen-items-start cleen-justify-start cleen-gap-3 cleen-w-full",i?.container),style:h?.container,children:t?.map(P=>{let M=P?.id===b?.id;return da("div",{className:Xe("cleen-flex cleen-items-center cleen-gap-3 cleen-p-4 cleen-border cleen-rounded-xl cleen-shadow-lg cleen-cursor-pointer cleen-transition-all cleen-duration-200 hover:cleen-bg-primary-100 cleen-w-max",M?"cleen-bg-primary/5 cleen-border-primary/50":"cleen-border-border",i?.box),style:h?.box,onClick:()=>{f(P),n?.(P)},children:[v(P,M),P?.label&&C(P,M),P?.subLabel&&x(P,M),I(P,M)]},P?.id)})}):Ft("div",{className:Xe("cleen-grid cleen-gap-3 cleen-w-full",i?.container),style:{gridTemplateColumns:"1fr auto 1fr",...h?.container},children:t?.map(P=>{let M=P?.id===b?.id;return da("div",{className:Xe("cleen-grid cleen-col-span-full cleen-items-center cleen-gap-3 cleen-p-4 cleen-border cleen-rounded-xl cleen-shadow-lg cleen-cursor-pointer cleen-transition-all cleen-duration-200 hover:cleen-bg-primary-50",M?"cleen-bg-primary-100 cleen-border-muted-foreground":"cleen-bg-surface cleen-border-border",i?.box),style:{gridTemplateColumns:"subgrid",gridColumn:"1 / -1",...h?.box},onClick:()=>{f(P),n?.(P)},children:[Ft("div",{className:Xe("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-start",i?.leftIconContainer),style:h?.leftIconContainer,children:v(P,M)}),Ft("div",{className:Xe("cleen-flex cleen-items-center cleen-justify-center",i?.labelContainer),style:h?.labelContainer,children:P?.label&&C(P,M)}),da("div",{className:Xe("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-end",i?.rightIconContainer),style:h?.rightIconContainer,children:[P?.subLabel&&x(P,M),I(P,M)]})]},P?.id)})})})};import{cn as Et}from"@cleen/ui-core";import{forwardRef as Pw,useEffect as Sw,useId as Mw,useRef as ww,useState as kw}from"react";import{cn as uI}from"@cleen/ui-core";import{forwardRef as Cw}from"react";import{jsx as hI,jsxs as xw}from"react/jsx-runtime";var Ic=Cw(function({checked:t,className:r,classNames:n,style:l,styles:a,...c},s){return xw("div",{className:uI("group cleen-flex cleen-size-5 cleen-min-h-5 cleen-min-w-5 cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-border-neutral-300 focus-within:cleen-ring-2 focus-within:cleen-ring-primary focus-within:cleen-ring-offset-1",t?"cleen-bg-primary":"cleen-bg-surface",r),style:l,children:[hI("input",{ref:s,type:"radio",checked:t,className:"cleen-sr-only",...c}),hI("span",{className:uI("cleen-size-2 cleen-rounded-full cleen-bg-primary-foreground",n?.innerCircle),style:a?.innerCircle})]})});import{jsx as mt,jsxs as bc}from"react/jsx-runtime";var Bw=Pw(function({required:t,radios:r,label:n,labelTooltip:l,className:a,classNames:c,style:s,styles:u,name:p,direction:i="vertical",radioPosition:g="left",defaultActiveId:h,value:y,infoLabels:b,onChange:f},v){let C=y!==void 0,[x,I]=kw(h??r[0]?.id),P=Mw(),M=`${P}-label`,B=p??`cleen-radio-group-${P}`;Sw(()=>{!C&&h!==void 0&&I(h)},[h,C]);let k=C?y:x,w=S=>k!=null&&k==S,R=S=>{C||I(S),f?.(S)},E=ww([]),N=r?.findIndex(S=>w(S.id)),L=N>=0?N:0,F=S=>{let H=r[S];H&&(R(H.id),E.current[S]?.focus())},D=(S,H)=>{let T=r.length;if(T)switch(S.key){case"ArrowDown":case"ArrowRight":S.preventDefault(),F((H+1)%T);break;case"ArrowUp":case"ArrowLeft":S.preventDefault(),F((H-1+T)%T);break;default:break}};return mt("div",{className:Et("cleen",a),style:s,ref:v,children:bc("div",{className:c?.container,style:u?.container,children:[n&&mt(oe,{id:M,htmlFor:P,required:t,tooltip:l,className:Et("cleen-mb-1.5",c?.label?.className),classNames:c?.label?.classNames,...u?.label,children:n}),mt("div",{id:P,role:"radiogroup","aria-labelledby":n?M:void 0,className:Et("cleen-flex cleen-flex-wrap cleen-gap-2.5",i==="vertical"&&"cleen-flex-col cleen-w-fit",c?.radios),style:u?.radios,children:r?.map((S,H)=>{let T=`${P}-${H}`,z=S.radioPosition??g;return bc("div",{className:Et("cleen-flex cleen-gap-2 hover:cleen-bg-muted cleen-p-5 cleen-border cleen-border-border hover:cleen-border-neutral-300 cleen-rounded-xl cleen-transition-all cleen-duration-200 cleen-cursor-pointer",i==="horizontal"&&"cleen-flex-1",w(S?.id)&&"cleen-border-primary hover:cleen-border-primary",c?.radioContainer,S?.className,w(S?.id)&&c?.radioActive),style:{...u?.radioContainer,...S?.style},onClick:A=>{A.target instanceof Element&&!A.target.closest("label, input")&&E.current[H]?.click()},children:[S.leftIcon,z==="left"&&mt(Ic,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:Et(c?.radioOuterCheckBox,S?.classNames?.outerCheckBox),style:{...u?.radioOuterCheckBox,...S?.styles?.outerCheckBox}}),bc("label",{htmlFor:T,className:Et("cleen-flex-1 cleen-cursor-pointer",c?.radioLabelsContainer,S?.classNames?.labelsContainer),style:{...u?.radioLabelsContainer,...S?.styles?.labelsContainer},children:[bc("div",{className:"cleen-flex cleen-items-center cleen-gap-1",children:[mt("span",{className:Et("cleen-font-semibold cleen-text-neutral-700 cleen-text-sm",c?.radioTitle,S?.classNames?.title),style:{...u?.radioTitle,...S?.styles?.title},children:S.title}),mt("span",{className:Et("cleen-font-normal cleen-text-neutral-600 cleen-text-xs",c?.radiotPostTitle,S?.classNames?.postTitle),style:{...u?.radiotPostTitle,...S?.styles?.postTitle},children:S.postTitle})]}),mt("span",{className:Et("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",c?.radioSubTitle,S?.classNames?.subTitle),style:{...u?.radioSubTitle,...S?.styles?.subTitle},children:S?.subTitle})]}),z==="right"&&mt(Ic,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:c?.radioOuterCheckBox,style:u?.radioOuterCheckBox}),z==="hidden"&&mt(Ic,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:"cleen-sr-only"}),S.rightIcon]},S?.id)})}),(b?.errorMessage||b?.infoMessage||b?.subtitle)&&mt(ee,{...b})]})})});import{cn as Ln,ColorHelpers as Rw}from"@cleen/ui-core";import{forwardRef as Lw,useRef as Dw,useState as Tw}from"react";import{jsx as Uo,jsxs as fI}from"react/jsx-runtime";var Nw=Lw(function({id:t,required:r,label:n,labelTooltip:l,labels:a,infoLabels:c,value:s,onChange:u,amount:p=5,options:i=[],gap:g,size:h=36,readonly:y,color:b="rgb(var(--cleen-primary))",className:f,style:v,classNames:C,styles:x,...I},P){let[M,B]=Tw(0),k=s!==void 0,w=k?s:M,R=i?.length>0?i:Array.from({length:p},(T,z)=>z+1),E=Dw([]),N=R.findIndex(T=>T===w),L=N>=0?N:0,F=T=>{k||B(T),u?.(T)},D=T=>{let z=R[T];z!==void 0&&(F(z),E.current[T]?.focus())},S=(T,z)=>{if(y)return;let A=R.length;if(A)switch(T.key){case"ArrowRight":case"ArrowUp":T.preventDefault(),D((z+1)%A);break;case"ArrowLeft":case"ArrowDown":T.preventDefault(),D((z-1+A)%A);break;case"Home":T.preventDefault(),D(0);break;case"End":T.preventDefault(),D(A-1);break;default:break}},H=typeof n=="string"?n:"Rating";return Uo("div",{className:Ln("cleen",f),style:v,ref:P,...I,children:fI("div",{className:Ln("cleen-space-y-2",C?.container),style:x?.container,children:[n&&Uo(oe,{htmlFor:t,required:r,tooltip:l,className:Ln("cleen-mb-1.5",C?.label?.className),classNames:C?.label?.classNames,...x?.label,children:n}),fI("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[Uo("div",{role:"radiogroup","aria-label":H,className:Ln("cleen-flex cleen-flex-wrap cleen-gap-3",C?.list),style:{...g?{gap:g}:{},...x?.list},children:R?.map((T,z)=>Uo("button",{id:t,ref:A=>{E.current[z]=A},role:"radio","aria-checked":w===T,"aria-label":`${T}`,tabIndex:z===L?0:-1,onClick:()=>F(T),onKeyDown:A=>S(A,z),className:Ln("cleen-flex cleen-justify-center cleen-items-center cleen-border cleen-border-border hover:cleen-border-muted-foreground cleen-rounded-full cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",y&&"cleen-cursor-default cleen-pointer-events-none",C?.item),style:{width:h,height:h,...w===T?{borderColor:b,backgroundColor:Rw.trasparentize(b,.9),color:b}:{},...x?.item},type:"button",children:Uo("span",{className:Ln("cleen-font-medium cleen-text-sm",C?.value),style:x?.value,children:T})},T))}),a?.helperText&&Uo("span",{className:"cleen-text-sm cleen-text-neutral-600",children:a.helperText})]}),(c?.errorMessage||c?.infoMessage||c?.subtitle)&&Uo(ee,{...c})]})})});import{useState as Fw}from"react";import{components as Ew}from"react-select";import{jsx as Lh,jsxs as gI}from"react/jsx-runtime";var vI=e=>{let[t,r]=Fw(!1),n=e.data;return Lh("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:Lh(Ew.Option,{...e,children:gI("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[gI("div",{className:"cleen-flex-1",children:[n?.label,n?.sublabel&&Lh("p",{className:"cleen-text-xs",children:n?.sublabel})]}),typeof n?.icon=="function"?n.icon({...e,isHovered:t}):n?.icon]})})})};import{components as Aw}from"react-select";import{jsx as Dh,jsxs as zw}from"react/jsx-runtime";var II=e=>{let t=e.data;return Dh(Aw.SingleValue,{...e,children:zw("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Dh("p",{children:t?.label}),t?.sublabel&&Dh("p",{className:"cleen-text-xs cleen-text-neutral-600 cleen-line-clamp-1",children:t?.sublabel})]})})};import{cn as ma,ZIndex as PI}from"@cleen/ui-core";import{forwardRef as Hw,useId as Uw,useState as SI}from"react";import Gw from"react-select";import{components as Ow}from"react-select";import{jsx as Th,jsxs as bI}from"react/jsx-runtime";var yI=({isLoading:e,inputValue:t,options:r,createNewOptionCallback:n,createNewOptionLabelStringCb:l,children:a,...c})=>{let s=t?.trim().toLowerCase(),u=r?.some(p=>p?.labelString?p.labelString.toLowerCase()===s:typeof p?.label=="string"?p.label.toLowerCase()===s:!1);return Th("div",{className:"cleen",children:bI(Ow.MenuList,{options:r,...c,children:[a,n&&!e&&t&&t?.length>0&&!u&&bI("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-justify-center",children:[Th(tt,{}),Th("span",{className:"cleen-py-3 cleen-font-semibold cleen-text-sm cleen-text-primary/70 cleen-cursor-pointer",onClick:()=>{n(t)},children:l?.(t)||t})]})]})})};import{components as _w}from"react-select";import{jsx as CI}from"react/jsx-runtime";var xI=({isLoading:e,noDataFound:t,...r})=>CI(_w.NoOptionsMessage,{...r,children:e?CI(ne,{}):t||"No data found"});import{jsx as so,jsxs as wI}from"react/jsx-runtime";var MI=e=>typeof e=="object"&&e!==null&&("labelString"in e||"label"in e),Vw=Hw(function({label:t,labelTooltip:r,sublabel:n,id:l,name:a,required:c,className:s,classNames:u,isLoading:p=!1,disabled:i,emboldenOptions:g=!1,labels:h,components:y,style:b,styles:f,infoLabels:v,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...I},P){let[M,B]=SI(!1),[k,w]=SI(""),R=Uw(),E=I.inputId??l??a??R,N=(F,D)=>{if(!MI(F.data))return!1;let{labelString:S,label:H}=F.data;return S?S.toLowerCase().includes(D.toLowerCase()):typeof H=="string"?H.toLowerCase().includes(D.toLowerCase()):!1},L=F=>MI(F)?F.labelString??(typeof F.label=="string"?F.label:""):"";return so("div",{className:ma("cleen",s),style:b,ref:P,children:wI("div",{className:ma("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full",u?.cleenContainer),style:f?.cleenContainer,children:[(t||n)&&wI("div",{className:ma("cleen-flex cleen-flex-col cleen-gap-1",u?.labels?.container),style:f?.labels?.container,children:[t&&so(oe,{htmlFor:E,required:c,tooltip:r,...u?.labels?.label,...f?.labels?.label,children:t}),n&&so("span",{className:ma("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",u?.labels?.sublabel),style:f?.labels?.sublabel,children:n})]}),so(Gw,{...C&&{menuIsOpen:M,inputValue:k,onInputChange:F=>w(F),onMenuOpen:()=>B(!0),onMenuClose:()=>B(!1)},...!I.filterOption&&{filterOption:N},...!I.getOptionLabel&&{getOptionLabel:L},id:l||a,classNames:u,isDisabled:i,menuPortalTarget:document.body,menuPosition:"fixed",...I,inputId:E,className:ma("cleen-shadow-none cleen-font-normal cleen-text-foreground cleen-text-sm",u?.inputOuterContainer),styles:{...f,control:(F,D)=>{let S={...F,minHeight:44,borderWidth:1,borderRadius:8,padding:3,transition:"border-color 200ms",fontWeight:g&&D.hasValue?"600":"400",borderColor:v?.errorMessage?"rgba(var(--cleen-error), 0.7)":"rgb(var(--cleen-border))",color:D.isDisabled?"rgb(var(--cleen-neutral-500))":"rgb(var(--cleen-foreground))",backgroundColor:D.isDisabled?"rgb(var(--cleen-neutral-100))":"rgba(var(--cleen-background))",boxShadow:D.isFocused?"0 0 0 2px rgba(var(--cleen-primary), 0.5)":"none",cursor:"pointer",caretColor:C?"rgba(var(--cleen-foreground))":"transparent","&:hover":{borderColor:v?.errorMessage?"rgba(var(--cleen-error))":"rgb(var(--cleen-border))"}};return f?.control?f?.control(S,D):S},menuPortal:(F,D)=>{let S={...F,zIndex:PI.SELECT,...f?.menuPortal};return f?.menuPortal?f?.menuPortal(S,D):S},menu:(F,D)=>{let S={...F,backgroundColor:"rgba(var(--cleen-surface))",border:"1px solid rgba(var(--cleen-border))",zIndex:PI.SELECT,...f?.menu};return f?.menu?f?.menu(S,D):S},option:(F,D)=>{let S={...F,backgroundColor:D.isSelected?"rgba(var(--cleen-primary))":D.isFocused?"rgba(var(--cleen-primary), 0.1)":"rgba(var(--cleen-white))",color:D.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-foreground))",fontWeight:g?"600":"400","&:hover":D.isSelected?{}:{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))",cursor:"pointer"},p:{color:D.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-neutral-600))"},"&:hover p":{color:"rgba(var(--cleen-white))"},"&:active":{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))"}};return f?.option?f?.option(S,D):S},menuList:(F,D)=>{let S={...F,"::-webkit-scrollbar":{width:"6px",height:"0px"},"::-webkit-scrollbar-track":{background:"rgb(var(--cleen-background))"},"::-webkit-scrollbar-thumb":{background:"rgba(var(--cleen-neutral-200))"},"::-webkit-scrollbar-thumb:hover":{background:"rgba(var(--cleen-neutral-400))"},padding:0,borderRadius:4,...f?.menuList};return f?.menuList?f?.menuList(S,D):S},singleValue:(F,D)=>{let S={...F,color:D.isDisabled?"rgba(var(--cleen-neutral-500))":"rgba(var(--cleen-black))"};return f?.singleValue?f?.singleValue(S,D):S},input:(F,D)=>{let S={...F,color:"rgba(var(--cleen-foreground))"};return f?.input?f?.input(S,D):S}},components:{IndicatorSeparator:()=>null,SingleValue:F=>so(II,{...F}),NoOptionsMessage:F=>so(xI,{isLoading:p,noDataFound:h?.noDataFound,...F}),MenuList:F=>so(yI,{isLoading:p,inputValue:k,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...F}),Option:vI,...y}}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&so(ee,{...v})]})})});import{jsx as kI,jsxs as Ww}from"react/jsx-runtime";function BI({children:e,title:t,className:r="",renderHeader:n}){return Ww("div",{className:`cleen-w-full cleen-h-full ${r}`,"data-testid":`drawer-container-${t}`,children:[n?n(t):kI("h1",{className:"cleen-text-sm cleen-font-medium cleen-pb-4 cleen-pt-9 cleen-px-4 cleen-text-foreground-emphasis",children:t}),kI("div",{className:"cleen-h-max cleen-w-full cleen-px-4",children:e})]})}import{cn as At}from"@cleen/ui-core";import{forwardRef as $w,useState as qw}from"react";import{Fragment as Qw,jsx as Ke,jsxs as yc}from"react/jsx-runtime";function Xw({icon:e,iconSrc:t,iconName:r,iconSize:n=24,title:l,className:a,style:c}){return e?Ke("span",{className:At("cleen-flex cleen-justify-center cleen-items-center cleen-shrink-0",a),style:{width:n,height:n,...c},children:e}):t?Ke("img",{src:t,alt:l,width:n,height:n,className:a,style:c}):r?Ke(Oe,{name:r,width:n,height:n,className:a,style:c}):null}function RI({item:e,depth:t,iconSize:r=24,classNames:n,styles:l}){let[a,c]=qw(!1),s={...e,classNames:{...n,...e.classNames},styles:{...l,...e.styles}},u=Array.isArray(s?.items)&&s.items.length>0,p=s?.iconSize??r,i=t>0?{paddingLeft:12+t*28}:{},g=yc(Qw,{children:[yc("div",{className:At("cleen-flex cleen-items-center cleen-gap-3 cleen-min-w-0",s?.classNames?.containerInner),style:s?.styles?.containerInner,children:[Ke(Xw,{icon:s?.icon,iconSrc:s?.iconSrc,iconName:s?.iconName,iconSize:p,title:s?.name,className:At("cleen-text-neutral-700 group-hover/row:cleen-text-foreground [&_path]:cleen-stroke-[1.5] [&_path]:[vector-effect:non-scaling-stroke] cleen-transition-all cleen-duration-200",s?.isActive&&"cleen-text-foreground",s?.classNames?.icon),style:s?.styles?.icon}),Ke("span",{className:At("cleen-font-semibold cleen-text-neutral-800 group-hover/row:cleen-text-foreground cleen-text-sm cleen-truncate cleen-transition-colors cleen-duration-200",s?.isActive&&"cleen-text-foreground",s?.classNames?.name),style:s?.styles?.name,children:s?.name})]}),["string","number"].includes(typeof s?.badgeCount)&&Ke(Fe,{color:s?.badgeColor,label:String(s?.badgeCount),...s?.classNames?.badge,...s?.styles?.badge})]});return u?yc("details",{className:s?.classNames?.container,style:s?.styles?.container,children:[yc("summary",{className:At("cleen-group/row [&::-webkit-details-marker]:cleen-hidden cleen-flex cleen-justify-between cleen-items-center cleen-gap-3 hover:cleen-bg-muted cleen-py-2 cleen-pr-3 cleen-rounded-md cleen-w-full cleen-transition-colors cleen-duration-200 cleen-cursor-pointer cleen-list-none",t===0?"cleen-px-3":void 0,s?.classNames?.parentItemContainer),style:{...i,...s?.styles?.parentItemContainer},onClick:()=>c(h=>!h),children:[g,Ke(Oe,{name:"ChevronDown",className:At("cleen-w-5 cleen-h-5 cleen-text-neutral-700 group-hover/row:cleen-text-foreground cleen-transition-all cleen-shrink-0",{"cleen-rotate-180":a},s?.classNames?.chevron),style:s?.styles?.chevron})]}),Ke("div",{className:At("cleen-flex cleen-flex-col cleen-gap-1 cleen-mt-1",s?.classNames?.childItemsContainer),style:s?.styles?.childItemsContainer,children:s.items.map(h=>Ke(RI,{item:h,depth:t+1,iconSize:r,classNames:n,styles:l},h?.id??h?.name))})]}):Ke("div",{className:At("cleen-group/row cleen-flex cleen-justify-between cleen-items-center cleen-gap-3 hover:cleen-bg-primary/5 cleen-py-2 cleen-pr-3 cleen-rounded-md cleen-w-full cleen-transition-colors cleen-duration-200 cleen-cursor-pointer",t===0?"cleen-px-3 hover:cleen-bg-muted":void 0,s?.isActive&&t===0&&"cleen-bg-muted",s?.disabled&&"cleen-opacity-50 cleen-pointer-events-none",s?.classNames?.container),style:{...i,...s?.styles?.container},onClick:()=>s?.onClick?.(s),children:g})}var Kw=$w(function({title:t,icon:r,iconName:n,iconSrc:l,iconSize:a=24,badgeColor:c="gray",badgeCount:s,items:u,onClick:p,isActive:i=!1,disabled:g,className:h,classNames:y,style:b,styles:f},v){let C={id:"root",name:t,icon:r,iconName:n,iconSrc:l,iconSize:a,badgeColor:c,badgeCount:s,isActive:i,disabled:g,onClick:p?()=>p():void 0,classNames:y,styles:f,items:u};return Ke("div",{className:At("cleen",h),style:b,ref:v,children:Ke(RI,{item:C,depth:0,iconSize:a,classNames:y,styles:f})})}),Zw=Kw;import{cn as zt}from"@cleen/ui-core";import{useEffect as ek,useRef as tk,useState as ok}from"react";import{cn as ua}from"@cleen/ui-core";import{useMemo as Yw}from"react";import{Link as Jw}from"react-router-dom";import{jsx as ha,jsxs as jw}from"react/jsx-runtime";function fa({item:e,activeId:t,onClick:r,countBadge:n,classNames:l,styles:a,renderIcon:c}){let s=t===e?.id,u=Yw(()=>e?c?c(e,s):e.icon?e.icon:e.iconSrc?ha("img",{src:e.iconSrc,alt:e?.name||e?.label,className:ua("cleen-w-6 cleen-h-6 cleen-transition-all cleen-duration-200 group-hover:cleen-text-primary",l?.icon,s&&"cleen-text-primary"),style:a?.icon}):e.iconName?ha(Oe,{name:e.iconName,className:ua("cleen-w-6 cleen-h-6 cleen-text-neutral-700 [&_path]:cleen-stroke-[1.5] [&_path]:[vector-effect:non-scaling-stroke] cleen-transition-all cleen-duration-200 group-hover:cleen-text-primary",l?.icon,s&&"cleen-text-primary"),style:a?.icon}):null:null,[e,s,c,l?.icon,a?.icon]),p=jw("div",{"data-testid":`nav-item-${e?.id}`,className:ua("cleen-group cleen-relative cleen-p-2 cleen-cursor-pointer cleen-rounded-md cleen-w-12 cleen-h-12 cleen-flex cleen-justify-center cleen-items-center cleen-select-none cleen-transition-colors cleen-duration-200 hover:cleen-bg-primary/10",l?.container,s&&"cleen-bg-primary/10"),style:a?.container,onClick:()=>{e?.path||r?.(e)},children:[u,n&&ha("div",{className:ua("cleen-absolute -cleen-top-1 -cleen-right-1 cleen-flex cleen-items-center cleen-justify-center cleen-w-4 cleen-h-4 cleen-bg-surface cleen-rounded-md cleen-border cleen-border-border cleen-font-normal cleen-text-[8px] cleen-text-foreground",l?.badge),style:a?.badge,children:n})]});return ha(ge,{hasArrow:!0,placement:"right",color:"rgba(var(--cleen-foreground))",className:l?.tooltip?.className,classNames:{...l?.tooltip,labelContainer:ua("cleen-min-w-max",l?.tooltip?.classNames?.labelContainer)},...a?.tooltip,label:e?.label,children:e?.path?ha(Jw,{to:e.path,children:p}):p})}import{jsx as Ot,jsxs as Go}from"react/jsx-runtime";function LI({navigationItems:e,bottomNavigationItems:t=[],drawerContent:r={},logo:n,onLogoClick:l,userAvatar:a,userInfo:c,drawerFooter:s,drawerWidth:u=330,direction:p="right",defaultActiveId:i=null,activeId:g,onActiveChange:h,closeOnOutsideClick:y=!0,closeOnBlur:b=!0,className:f,classNames:v,style:C,styles:x,renderSidebarItem:I}){let[P,M]=ok(i),B=tk(null),k=g!==void 0?g:P,w=!!k,R=N=>{let L=k===N.id?null:N.id;g===void 0&&M(L),h?.(L)};ek(()=>{if(!y||!w)return;let N=L=>{B.current&&!B.current.contains(L.target)&&(g===void 0&&M(null),h?.(null))};return document.addEventListener("mousedown",N),()=>{document.removeEventListener("mousedown",N)}},[y,w,g,h]);let E=N=>{!b||!w||B.current&&!B.current.contains(N.relatedTarget)&&(g===void 0&&M(null),h?.(null))};return Go("div",{className:zt("cleen",f),style:{height:"100%",display:"flex",backgroundColor:"rgb(var(--cleen-sidebar))",flexDirection:p==="left"?"row-reverse":"row",...C},ref:B,onBlur:E,tabIndex:b?0:void 0,children:[Go("div",{className:zt("cleen-flex cleen-flex-col cleen-items-center cleen-h-full",p==="right"?"cleen-border-r cleen-border-r-border":"cleen-border-l cleen-border-l-border",v?.navigation),style:x?.navigation,children:[n&&Ot("div",{className:zt("cleen-flex cleen-justify-center cleen-items-center cleen-pt-8 cleen-pb-6 cleen-w-full cleen-cursor-pointer",v?.logo),style:x?.logo,onClick:l,children:n}),Go("div",{className:zt("cleen-flex cleen-flex-col cleen-flex-1 cleen-justify-between cleen-gap-2 cleen-px-4 cleen-overflow-y-auto cleen-no-scrollbar",v?.navigationItems),style:x?.navigationItems,children:[Ot("nav",{className:zt("cleen-flex cleen-flex-col cleen-gap-2",v?.upperNavigationItemsWrapper),style:x?.upperNavigationItemsWrapper,children:e.map(N=>Go("div",{children:[I?I(N,k===N.id,R):Ot(fa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&Ot("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id))}),Go("div",{className:zt("cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",v?.bottomNavigationItemsWrapper),style:x?.bottomNavigationItemsWrapper,children:[t.map(N=>Go("div",{children:[I?I(N,k===N.id,R):Ot(fa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&Ot("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id)),a&&Ot("div",{className:"cleen-mt-6 cleen-mb-8",children:a})]})]})]}),Go("div",{className:zt("cleen-flex cleen-flex-col cleen-bg-sidebar cleen-h-full cleen-overflow-hidden cleen-transition-all cleen-duration-100",{"cleen-border-r cleen-border-r-border":w&&p==="right","cleen-border-l cleen-border-l-border":w&&p==="left"},v?.drawer),style:{...x?.drawer,width:w?`${u}px`:"0px",visibility:w?"visible":"hidden"},children:[k&&r[k]&&Ot("div",{className:zt("cleen-flex-1 cleen-overflow-auto",v?.drawerContent),style:x?.drawerContent,children:r[k]}),k&&(s||c)&&Ot("div",{className:zt("cleen-mt-auto cleen-flex cleen-justify-between cleen-items-start cleen-gap-4 cleen-px-5 cleen-pt-4 cleen-pb-8 cleen-border-border cleen-border-t cleen-w-full",v?.drawerFooter),style:x?.drawerFooter,children:typeof s=="function"?s(k):s||c})]})]})}var j=e=>e==="pulse"?"cleen-animate-pulse":"";import{cn as DI}from"@cleen/ui-core";import{forwardRef as nk}from"react";import{jsx as TI}from"react/jsx-runtime";var rk={none:"cleen-rounded-none",sm:"cleen-rounded-sm",md:"cleen-rounded-md",lg:"cleen-rounded-lg",xl:"cleen-rounded-xl","2xl":"cleen-rounded-2xl",full:"cleen-rounded-full"},ak=nk(function({width:t,height:r,roundness:n="md",variant:l="default",className:a,style:c},s){let u=j(l),p={...t!==void 0?{width:typeof t=="number"?`${t}px`:t}:{},...r!==void 0?{height:typeof r=="number"?`${r}px`:r}:{},...c};return TI("div",{ref:s,className:DI("cleen",a),children:TI("div",{className:DI("cleen-bg-muted",rk[n],t===void 0&&"cleen-w-full",r===void 0&&"cleen-h-4",u),style:p})})});import{cn as Nh}from"@cleen/ui-core";import{forwardRef as lk}from"react";import{jsx as Cc,jsxs as ck}from"react/jsx-runtime";var Fh=lk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=j(n);return Cc("div",{ref:a,className:Nh("cleen",t),style:r,children:Cc("div",{className:"cleen-flex cleen-items-start cleen-gap-4 cleen-flex-wrap",children:Array.from({length:l}).map((s,u)=>ck("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",children:[Cc("div",{className:Nh("cleen-bg-muted cleen-rounded-full cleen-size-12 cleen-border cleen-border-border",c)}),Cc("div",{className:Nh("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",c)})]},u))})})});import{cn as NI}from"@cleen/ui-core";import{forwardRef as sk}from"react";import{jsx as Eh}from"react/jsx-runtime";var Ah=sk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=j(n);return Eh("div",{ref:a,className:NI("cleen",t),style:r,children:Eh("div",{className:"cleen-flex cleen-items-center cleen-flex-wrap cleen-gap-2",children:Array.from({length:l}).map((s,u)=>Eh("div",{className:NI("cleen-bg-muted cleen-rounded-full cleen-h-6 cleen-w-16",c)},u))})})});import{cn as FI}from"@cleen/ui-core";import{forwardRef as ik}from"react";import{jsx as Vo,jsxs as xc}from"react/jsx-runtime";var zh=ik(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Vo("div",{ref:l,className:FI("cleen",t),style:r,children:xc("div",{className:FI("cleen-relative cleen-bg-muted cleen-rounded-2xl cleen-w-full cleen-overflow-hidden",a),children:[Vo("div",{className:"cleen-h-48 cleen-w-full"}),xc("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-flex-col cleen-justify-center cleen-items-start cleen-gap-4 cleen-px-8",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-w-24 cleen-h-6"}),xc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-2/3 cleen-h-8"}),Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-1/2 cleen-h-5"})]}),xc("div",{className:"cleen-flex cleen-gap-3",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-28 cleen-h-10"}),Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-24 cleen-h-10"})]})]})]})})});import{cn as EI}from"@cleen/ui-core";import{forwardRef as pk}from"react";import{jsx as Oh}from"react/jsx-runtime";var _h=pk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=j(n);return Oh("div",{ref:a,className:EI("cleen",t),style:r,children:Oh("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:Array.from({length:l}).map((s,u)=>Oh("div",{className:EI("cleen-bg-muted cleen-rounded-lg cleen-h-10 cleen-w-28",c)},u))})})});import{cn as Pc}from"@cleen/ui-core";import{forwardRef as dk}from"react";import{jsx as Sc,jsxs as AI}from"react/jsx-runtime";var ga=dk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Sc("div",{ref:l,className:Pc("cleen",t),style:r,children:AI("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-w-full",children:[Sc("div",{className:Pc("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-min-w-10 cleen-size-10",a)}),AI("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Sc("div",{className:Pc("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)}),Sc("div",{className:Pc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3",a)})]})]})})});import{cn as Dn}from"@cleen/ui-core";import{forwardRef as mk}from"react";import{jsx as Tn,jsxs as Mc}from"react/jsx-runtime";var wc=mk(({className:e,style:t,variant:r="default"},n)=>{let l=j(r);return Tn("div",{ref:n,className:Dn("cleen",e),style:t,children:Mc("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-lg",children:[Mc("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-w-full",children:[Tn("div",{className:Dn("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-size-10",l)}),Mc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-5",l)}),Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",l)})]})]}),Mc("div",{className:"cleen-space-y-2 cleen-w-full",children:[Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-2",l)}),Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-16 cleen-h-3",l)})]})]})})});wc.displayName="AssessmentHeaderSkeleton";import{cn as ut}from"@cleen/ui-core";import{forwardRef as uk}from"react";import{jsx as ht,jsxs as Nn}from"react/jsx-runtime";var Hh=uk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return ht("div",{ref:l,className:ut("cleen",t),style:r,children:Nn("div",{className:"cleen-flex cleen-flex-col cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden cleen-w-full",children:[ht("div",{className:ut("cleen-bg-muted cleen-w-full cleen-h-40",a)}),Nn("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-px-4 cleen-py-4",children:[Nn("div",{className:"cleen-flex cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-w-16 cleen-h-5",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-w-12 cleen-h-5",a)})]}),Nn("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-5",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)})]}),Nn("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-1",children:[Nn("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-size-7 cleen-shrink-0",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),ht("div",{className:ut("cleen-bg-muted cleen-rounded-lg cleen-w-16 cleen-h-7",a)})]})]})]})})});import{forwardRef as hk}from"react";import{cn as fk}from"@cleen/ui-core";import{jsx as Uh}from"react/jsx-runtime";var Gh=hk(function({className:t,style:r,itemCount:n=3,variant:l="default"},a){return Uh("div",{ref:a,className:fk("cleen",t),style:r,children:Uh("div",{className:"cleen-flex cleen-flex-col cleen-gap-3",children:Array.from({length:n}).map((c,s)=>Uh(ga,{variant:l},s))})})});import{cn as Wo}from"@cleen/ui-core";import{forwardRef as gk}from"react";import{jsx as Ze,jsxs as va}from"react/jsx-runtime";var zI=["cleen-h-16","cleen-h-24","cleen-h-14","cleen-h-28","cleen-h-20","cleen-h-10","cleen-h-24"],Vh=gk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Ze("div",{ref:l,className:Wo("cleen",t),style:r,children:va("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-px-4 cleen-pt-4 cleen-pb-3 cleen-w-full",children:[va("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[Ze("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-32 cleen-h-5",a)}),Ze("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[28,20].map((c,s)=>va("div",{className:"cleen-flex cleen-items-center cleen-gap-1.5",children:[Ze("div",{className:Wo("cleen-bg-muted cleen-rounded-full cleen-size-2.5",a)}),Ze("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-h-3",a),style:{width:c}})]},s))})]}),va("div",{className:"cleen-flex cleen-gap-3",children:[Ze("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-end cleen-py-1",style:{height:120},children:[0,1,2,3].map(c=>Ze("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-6 cleen-h-2",a)},c))}),va("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1",children:[Ze("div",{className:"cleen-flex cleen-items-end cleen-justify-around cleen-gap-2",style:{height:112},children:zI.map((c,s)=>Ze("div",{className:Wo("cleen-bg-muted cleen-rounded-t cleen-flex-1",c,a)},s))}),Ze("div",{className:"cleen-w-full cleen-h-px cleen-bg-muted"}),Ze("div",{className:"cleen-flex cleen-justify-around cleen-gap-2 cleen-pt-1",children:zI.map((c,s)=>Ze("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-flex-1 cleen-h-2",a)},s))})]})]})]})})});import{cn as $o}from"@cleen/ui-core";import{forwardRef as vk}from"react";import{jsx as _t,jsxs as kc}from"react/jsx-runtime";var Wh=vk(({variant:e="default",itemCount:t=3,className:r,style:n},l)=>{let a=j(e);return _t("div",{ref:l,className:$o("cleen",r),style:n,children:_t(pe,{className:"cleen-max-h-fit",children:kc("div",{className:"cleen-flex cleen-flex-col cleen-gap-4",children:[kc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-6",a)}),_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)})]}),_t("div",{className:"cleen-space-y-6",children:Array.from({length:t}).map((c,s)=>kc("div",{className:"cleen-space-y-3",children:[_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-4",a)}),_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-10",a)})]},s))}),kc("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-4",children:[_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)}),_t("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)})]})]})})})});import{cn as Bc}from"@cleen/ui-core";import{forwardRef as Ik}from"react";import{jsx as Ia,jsxs as bk}from"react/jsx-runtime";var $h=Ik(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=j(n),s=["cleen-w-1/12","cleen-w-3/12","cleen-w-2/12","cleen-w-3/12","cleen-w-2/12","cleen-w-1/12"];return Ia("div",{ref:a,className:Bc("cleen",t),style:r,children:bk("div",{className:"cleen-flex cleen-flex-col cleen-w-full cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden",children:[Ia("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-bg-muted cleen-border-b cleen-border-border",children:s.map((u,p)=>Ia("div",{className:Bc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",u,c)},p))}),Array.from({length:l}).map((u,p)=>Ia("div",{className:Bc("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3",p<l-1?"cleen-border-b cleen-border-border":""),children:s.map((i,g)=>Ia("div",{className:Bc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",g===s.length-1?"cleen-rounded-full":"cleen-rounded",i,c)},g))},p))]})})});import{cn as Rc}from"@cleen/ui-core";import{forwardRef as yk}from"react";import{jsx as ba,jsxs as OI}from"react/jsx-runtime";var qh=yk(function({className:t,style:r,variant:n="default",itemCount:l=4},a){let c=j(n);return ba("div",{ref:a,className:Rc("cleen",t),style:r,children:OI("div",{className:"cleen-flex cleen-flex-col cleen-gap-5 cleen-w-full cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-px-6 cleen-py-6",children:[Array.from({length:l}).map((s,u)=>OI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ba("div",{className:Rc("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",c)}),ba("div",{className:Rc("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10",c)})]},u)),ba("div",{className:"cleen-flex cleen-justify-end cleen-pt-1",children:ba("div",{className:Rc("cleen-bg-muted cleen-rounded-lg cleen-w-28 cleen-h-10",c)})})]})})});import{cn as _I}from"@cleen/ui-core";import{forwardRef as Ck}from"react";import{jsx as Xh}from"react/jsx-runtime";var xk=["rgb(var(--cleen-blue))","rgb(var(--cleen-aqua))","rgb(var(--cleen-green-light-300))","rgb(var(--cleen-aqua))","rgb(var(--cleen-blue))"],Kh=Ck(function({className:t,style:r,variant:n="default",colors:l=xk},a){let c=j(n);return Xh("div",{ref:a,className:_I("cleen",t),style:r,children:Xh("div",{className:_I("cleen-p-1 cleen-size-full cleen-rounded-lg cleen-animate-[cleen-rotate-gradient-angle_2.5s_linear_infinite]",c),style:{background:`conic-gradient(from var(--cleen--gradient-angle),${l.join(",")})`},children:Xh("div",{className:"cleen-bg-background cleen-size-full cleen-rounded-md"})})})});import{cn as Lc}from"@cleen/ui-core";import{forwardRef as Pk}from"react";import{jsx as Fn,jsxs as HI}from"react/jsx-runtime";var Zh=Pk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Fn("div",{ref:l,className:Lc("cleen",t),style:r,children:HI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Fn("div",{className:Lc("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:Fn("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:HI("div",{className:Lc("cleen-flex cleen-flex-col cleen-items-center cleen-gap-1 cleen-opacity-30"),children:[Fn("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-8"}),Fn("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-16 cleen-h-2"})]})})}),Fn("div",{className:Lc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3 cleen-mx-auto",a)})]})})});import{cn as He}from"@cleen/ui-core";import{forwardRef as Sk}from"react";import{jsx as ze,jsxs as Ht}from"react/jsx-runtime";var Qh=Sk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return ze("div",{ref:l,className:He("cleen",t),style:r,children:Ht("div",{className:He("cleen-flex cleen-flex-col cleen-items-start cleen-gap-4 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-h-fit",t),style:r,children:[Ht("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[ze("div",{className:He("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-p-2 cleen-rounded-full cleen-size-8",a)}),ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),Ht("div",{className:"cleen-space-y-3 cleen-w-full",children:[Ht("div",{children:[ze("div",{className:He("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),ze(pe,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Ht("div",{className:"cleen-space-y-2",children:[ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-5/6 cleen-h-3",a)})]})})]}),Ht("div",{children:[ze("div",{className:He("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Ht("div",{className:"cleen-space-y-2",children:[ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-3",a)})]})]}),Ht("div",{children:[ze("div",{className:He("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),ze(pe,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Ht("div",{className:"cleen-space-y-2",children:[ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),ze("div",{className:He("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-3",a)})]})})]})]})]})})});import{cn as Yh}from"@cleen/ui-core";import{forwardRef as Mk}from"react";import{jsx as Jh,jsxs as wk}from"react/jsx-runtime";var jh=Mk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return Jh("div",{ref:l,className:Yh("cleen",t),style:r,children:wk("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Jh("div",{className:Yh("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",a)}),Jh("div",{className:Yh("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10 cleen-border cleen-border-border",a)})]})})});import{cn as ya}from"@cleen/ui-core";import{forwardRef as kk}from"react";import{jsx as En,jsxs as UI}from"react/jsx-runtime";var e0=kk(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=j(n),s=["cleen-w-3/4","cleen-w-2/3","cleen-w-4/5","cleen-w-1/2","cleen-w-3/5"];return En("div",{ref:a,className:ya("cleen",t),style:r,children:En("div",{className:"cleen-flex cleen-flex-col cleen-divide-y cleen-divide-border",children:Array.from({length:l}).map((u,p)=>UI("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-py-3",children:[En("div",{className:ya("cleen-bg-muted cleen-rounded-full cleen-size-8 cleen-shrink-0 cleen-border cleen-border-border",c)}),UI("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1.5",children:[En("div",{className:ya("cleen-bg-muted cleen-rounded cleen-h-4",s[p%s.length],c)}),En("div",{className:ya("cleen-bg-muted cleen-rounded cleen-h-3 cleen-w-2/5",c)})]}),En("div",{className:ya("cleen-bg-muted cleen-rounded-full cleen-w-14 cleen-h-5 cleen-shrink-0",c)})]},p))})})});import{cn as GI}from"@cleen/ui-core";import{forwardRef as Bk}from"react";import{jsx as o0}from"react/jsx-runtime";var t0=["cleen-w-full","cleen-w-full","cleen-w-11/12","cleen-w-full","cleen-w-4/5"],n0=Bk(function({className:t,style:r,variant:n="default",itemCount:l},a){let c=j(n),s=l??t0.length;return o0("div",{ref:a,className:GI("cleen",t),style:r,children:o0("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:Array.from({length:s}).map((u,p)=>{let i=p<t0.length?t0[p]:p===s-1?"cleen-w-3/5":"cleen-w-full";return o0("div",{className:GI("cleen-bg-muted cleen-rounded cleen-h-3",i,c)},p)})})})});import{cn as VI}from"@cleen/ui-core";import{forwardRef as Rk}from"react";import{jsx as WI}from"react/jsx-runtime";var r0=Rk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return WI("div",{ref:l,className:VI("cleen",t),style:r,children:WI("div",{className:VI("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)})})});import{cn as qo}from"@cleen/ui-core";import{forwardRef as Lk}from"react";import{jsx as ft,jsxs as Dc}from"react/jsx-runtime";var a0=Lk(function({className:t,style:r,variant:n="default"},l){let a=j(n);return ft("div",{ref:l,className:qo("cleen",t),style:r,children:Dc("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-w-full",children:[ft("div",{className:qo("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:ft("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:ft("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-14 cleen-flex cleen-items-center cleen-justify-center",children:ft("div",{className:"cleen-w-0 cleen-h-0 cleen-ml-1 cleen-border-y-[8px] cleen-border-y-transparent cleen-border-l-[14px] cleen-border-l-neutral-400"})})})}),Dc("div",{className:"cleen-flex cleen-gap-3",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded-lg cleen-size-10 cleen-shrink-0",a)}),Dc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)}),ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),Dc("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",a)}),ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-10 cleen-h-3",a)})]})]})]})]})})});import{cn as Ca}from"@cleen/ui-core";import{forwardRef as Dk}from"react";import{jsx as xa,jsxs as l0}from"react/jsx-runtime";var Tc=Dk(function({variant:t="default",className:r,style:n},l){let a=j(t);return xa("div",{ref:l,className:Ca("cleen",r),style:n,children:l0("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-w-full cleen-h-full",children:[l0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-2 cleen-py-0.5 cleen-border cleen-border-border cleen-rounded-full",children:[xa("div",{className:Ca("cleen-bg-muted cleen-rounded-full cleen-size-1.5",a)}),xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-20 cleen-h-3",a)})]}),l0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-w-full",children:[xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-8",a)}),xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-12 cleen-h-4",a)})]})]})})});Tc.displayName="SkeletonBadgeCard";import{forwardRef as Tk}from"react";import{jsx as me}from"react/jsx-runtime";var Nk=Tk(function({className:t,style:r,variant:n="default",itemCount:l=3,colors:a,skeleton:c="card",isShowing:s=!1,children:u},p){if(!s)return u;let i={ref:p,variant:n,itemCount:l,colors:a,className:t,style:r};switch(c){case"card2":return me(wc,{...i});case"card3":return me(Hh,{...i});case"cardStack":return me(Gh,{...i});case"contentCard":return me(Wh,{...i});case"infoCard":return me(Qh,{...i});case"widgetCard":return me(Tc,{...i});case"image":return me(Zh,{...i});case"video":return me(a0,{...i});case"avatar":return me(Fh,{...i});case"dataGrid":return me($h,{...i});case"text":return me(r0,{...i});case"paragraph":return me(n0,{...i});case"list":return me(e0,{...i});case"form":return me(qh,{...i});case"banner":return me(zh,{...i});case"chart":return me(Vh,{...i});case"button":return me(_h,{...i});case"badge":return me(Ah,{...i});case"input":return me(jh,{...i});case"glowingCard":return me(Kh,{...i});default:return me(ga,{...i})}});import{cn as io}from"@cleen/ui-core";import{forwardRef as Fk,useCallback as c0,useEffect as Ek,useRef as $I,useState as qI}from"react";import{jsx as po,jsxs as Nc}from"react/jsx-runtime";var Ak=Fk(function({id:t,required:r,minValue:n=0,maxValue:l=100,step:a=1,defaultValue:c=0,value:s,variant:u="default",onChange:p,onChangeEnd:i,className:g,classNames:h,style:y,styles:b,disabled:f=!1,label:v,labelTooltip:C,labels:x,tooltip:I,infoLabels:P},M){let[B,k]=qI(c??n),w=s!==void 0?s:B,R=$I(null),[E,N]=qI(!1),L=$I(!1),F=(w-n)/(l-n)*100,D=Math.min(100,Math.max(0,F)),S=c0(q=>{let U=Math.round((q-n)/a)*a+n;return Math.min(l,Math.max(n,U))},[n,l,a]),H=c0((q,U)=>{let V=S(q);s===void 0&&k(V),p?.(V),U&&i?.(V)},[S,s,p,i]),T=c0(q=>{let U=R.current;if(!U)return n;let V=U.getBoundingClientRect(),Q=(q-V.left)/V.width;return S(n+Q*(l-n))},[n,l,S]),z=q=>{if(f)return;let U;switch(q.key){case"ArrowRight":case"ArrowUp":U=w+a;break;case"ArrowLeft":case"ArrowDown":U=w-a;break;case"Home":U=n;break;case"End":U=l;break;default:return}q.preventDefault(),H(U,!0)},A=q=>{f||(q.preventDefault(),N(!0))},_=q=>{if(f||L.current){L.current=!1;return}H(T(q.clientX),!0)},G=q=>{f||(q.preventDefault(),N(!0))};Ek(()=>{if(!E)return;let q=O=>{H(T(O.clientX))},U=O=>{N(!1),L.current=!0,i?.(S(T(O.clientX)))},V=O=>{O.touches.length>0&&H(T(O.touches[0].clientX))},Q=O=>{N(!1),L.current=!0,i?.(S(T(O.changedTouches[0].clientX)))};return document.addEventListener("mousemove",q),document.addEventListener("mouseup",U),document.addEventListener("touchmove",V),document.addEventListener("touchend",Q),()=>{document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",U),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",Q)}},[E,S,T,H,i]);let $=q=>po("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:q});return po("div",{className:io("cleen",g),style:y,ref:M,children:Nc("div",{className:io("cleen-w-full",h?.container),style:b?.container,children:[v&&po(oe,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Nc("div",{className:io({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&x?.minLabel!==void 0&&$(x?.minLabel),Nc("div",{ref:R,className:io("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":f,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":f,onClick:_,children:[po("div",{className:io("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-neutral-200 cleen-rounded-sm -cleen-translate-y-1/2",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.path),style:b?.path,children:po("div",{className:io("cleen-absolute cleen-left-0 cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{width:`${D}%`,...b?.filledTrack}})}),po(ge,{invertColors:!0,...I,label:x?.tooltip?.(w)??w,className:io("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.className),style:{left:`calc(${D}% - 8px)`,...I?.style},isOpen:E||I?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,children:po("div",{id:t,className:io("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w,"aria-valuemin":n,"aria-valuemax":l,"aria-disabled":f,"aria-label":typeof v=="string"?v:"Slider","aria-labelledby":t,onMouseDown:A,onTouchStart:G,onKeyDown:z})})]}),u==="inline"?x?.maxLabel&&$(x?.maxLabel):(x?.minLabel||x?.maxLabel)&&Nc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[x?.minLabel&&$(x?.minLabel),x?.maxLabel&&$(x?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&po(ee,{...P})]})})});import{cn as gt}from"@cleen/ui-core";import{forwardRef as zk,useCallback as s0,useEffect as Ok,useRef as _k,useState as XI}from"react";import{jsx as vt,jsxs as Fc}from"react/jsx-runtime";var Hk=zk(function({id:t,required:r,minValue:n=0,maxValue:l=100,step:a=1,defaultValue:c=[n,l],value:s,variant:u="default",onChange:p,onChangeEnd:i,className:g,classNames:h,style:y,styles:b,disabled:f=!1,label:v,labelTooltip:C,labels:x,tooltips:I,infoLabels:P},M){let[B,k]=XI(c??[n,l]),w=s!==void 0?s:B,R=_k(null),[E,N]=XI(null),L=s0(U=>{let V=Math.round((U-n)/a)*a+n;return Math.min(l,Math.max(n,V))},[n,l,a]),F=(w[0]-n)/(l-n)*100,D=Math.min(100,Math.max(0,F)),S=(w[1]-n)/(l-n)*100,H=Math.min(100,Math.max(0,S)),T=s0(U=>{let V=[L(Math.min(U[0],U[1])),L(Math.max(U[0],U[1]))];s===void 0&&k(V),p?.(V)},[L,s,p]),z=s0(U=>{let V=R.current;if(!V)return n;let Q=V.getBoundingClientRect(),O=(U-Q.left)/Q.width;return L(n+O*(l-n))},[n,l,L]),A=U=>V=>{if(f)return;let Q=U==="min"?w[0]:w[1],O;switch(V.key){case"ArrowRight":case"ArrowUp":O=Q+a;break;case"ArrowLeft":case"ArrowDown":O=Q-a;break;case"Home":O=n;break;case"End":O=l;break;default:return}V.preventDefault();let Z=U==="min"?[Math.min(O,w[1]),w[1]]:[w[0],Math.max(O,w[0])];T(Z),i?.([L(Z[0]),L(Z[1])])},_=U=>V=>{f||(V.preventDefault(),N(U))},G=U=>{if(f)return;let V=z(U.clientX),Q=Math.abs(V-w[0]),O=Math.abs(V-w[1]);Q<O?T([V,w[1]]):T([w[0],V])},$=U=>V=>{f||(V.preventDefault(),N(U))};Ok(()=>{if(!E)return;let U=Z=>{let ie=z(Z.clientX);T(E==="min"?[ie,w[1]]:[w[0],ie])},V=Z=>{let ie=z(Z.clientX),he=E==="min"?[ie,w[1]]:[w[0],ie];N(null),i?.(he)},Q=Z=>{if(Z.touches.length>0){let ie=z(Z.touches[0].clientX);T(E==="min"?[ie,w[1]]:[w[0],ie])}},O=Z=>{let ie=z(Z.changedTouches[0].clientX),he=E==="min"?[ie,w[1]]:[w[0],ie];N(null),i?.(he)};return document.addEventListener("mousemove",U),document.addEventListener("mouseup",V),document.addEventListener("touchmove",Q),document.addEventListener("touchend",O),()=>{document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",V),document.removeEventListener("touchmove",Q),document.removeEventListener("touchend",O)}},[E,w,z,T,i]);let q=U=>vt("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:U});return vt("div",{className:gt("cleen",g),style:y,ref:M,children:Fc("div",{className:gt("cleen-w-full",h?.container),style:b?.container,children:[v&&vt(oe,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Fc("div",{className:gt({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&x?.minLabel!==void 0&&q(x?.minLabel),Fc("div",{ref:R,className:gt("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":f,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":f,onClick:G,children:[vt("div",{className:gt("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-neutral-200 cleen-rounded-sm -cleen-translate-y-1/2",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer"),children:vt("div",{className:gt("cleen-absolute cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{left:`${D}%`,width:`${H-D}%`,...b?.filledTrack}})}),vt(ge,{invertColors:!0,isOpen:E==="min"||I?.min?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.min,label:x?.tooltip?.(w[0])??w[0]?.toString(),className:gt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.min?.className),style:{left:`calc(${D}% - 8px)`,...I?.shared?.style,...I?.min?.style},children:vt("div",{className:gt("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w[0],"aria-valuemin":n,"aria-valuemax":w[1],"aria-disabled":f,"aria-label":typeof v=="string"?`${v} minimum value`:"Minimum value",onMouseDown:_("min"),onTouchStart:$("min"),onKeyDown:A("min")})}),vt(ge,{invertColors:!0,isOpen:E==="max"||I?.max?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.max,label:x?.tooltip?.(w[1])??w[1]?.toString(),className:gt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.max?.className),style:{left:`calc(${H}% - 8px)`,...I?.shared?.style,...I?.max?.style},children:vt("div",{className:gt("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w[1],"aria-valuemin":w[0],"aria-valuemax":l,"aria-disabled":f,"aria-label":typeof v=="string"?`${v} maximum value`:"Maximum value",onMouseDown:_("max"),onTouchStart:$("max"),onKeyDown:A("max")})})]}),u==="inline"?x?.maxLabel&&q(x?.maxLabel):(x?.minLabel||x?.maxLabel)&&Fc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[x?.minLabel&&q(x?.minLabel),x?.maxLabel&&q(x?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&vt(ee,{...P})]})})});import{cn as An}from"@cleen/ui-core";import{forwardRef as Uk,useRef as Gk,useState as KI}from"react";import{jsx as Xo,jsxs as Wk}from"react/jsx-runtime";var Vk=Uk(function({label:t,infoLabels:r,value:n,onChange:l,amount:a=5,gap:c,size:s,readonly:u,color:p="rgb(var(--cleen-yellow))",className:i,style:g,classNames:h,styles:y,...b},f){let[v,C]=KI(0),x=n!==void 0,I=x?n:v,[P,M]=KI(null),B=P!==null?P+1:I,k=!u,w=Gk([]),R=I>0?I-1:0,E=D=>{x||C(D),l?.(D)},N=D=>{D<0||D>=a||(E(D+1),w.current[D]?.focus())},L=(D,S)=>{switch(D.key){case"ArrowRight":case"ArrowUp":D.preventDefault(),N((S+1)%a);break;case"ArrowLeft":case"ArrowDown":D.preventDefault(),N((S-1+a)%a);break;case"Home":D.preventDefault(),N(0);break;case"End":D.preventDefault(),N(a-1);break;default:break}},F=typeof t=="string"?t:"Rating";return Xo("div",{className:An("cleen",i),style:g,ref:f,...b,children:Wk("div",{className:An("cleen-space-y-2",h?.container),style:y?.container,children:[t&&Xo("span",{className:An("cleen-font-medium cleen-text-sm cleen-text-foreground",h?.label),style:y?.label,children:t}),Xo("div",{role:k?"radiogroup":"img","aria-label":k?F:`${F}: ${I} out of ${a}`,className:An("cleen-flex cleen-gap-3",h?.list),style:{...c?{gap:c}:{},...y?.list},children:Array.from({length:a},(D,S)=>{let H=Xo(Dr,{"aria-hidden":"true",className:An("cleen-size-5 cleen-text-neutral-700 cleen-transition-colors",h?.star),style:{...s?{width:s,height:s}:{},...y?.star,fill:(u?I:B)>S?p:"transparent"}});return k?Xo("button",{type:"button",ref:T=>{w.current[S]=T},role:"radio","aria-checked":I===S+1,"aria-label":`${S+1} ${S+1===1?"star":"stars"}`,tabIndex:S===R?0:-1,onMouseEnter:()=>M(S),onMouseLeave:()=>M(null),onClick:()=>E(S+1),onKeyDown:T=>L(T,S),className:An("focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary focus-visible:cleen-rounded"),children:H},S):Xo("span",{className:"cleen-cursor-default",children:H},S)})}),(r?.errorMessage||r?.infoMessage||r?.subtitle)&&Xo(ee,{...r})]})})});import{cn as Ut}from"@cleen/ui-core";import{forwardRef as $k}from"react";import{jsx as mo,jsxs as ZI}from"react/jsx-runtime";var QI=$k(({steps:e,activeStep:t=0,orientation:r="horizontal",color:n="rgb(var(--cleen-primary))",className:l,classNames:a,style:c,styles:s,...u},p)=>{let i=r==="vertical";return mo("div",{ref:p,className:Ut("cleen",l),style:{...c,width:"100%"},...u,children:mo("div",{className:Ut("cleen-flex cleen-w-full",i?"cleen-flex-col cleen-gap-6":"cleen-flex-row cleen-items-start cleen-gap-8 cleen-justify-between",a?.container),style:{width:"100%",...s?.container},children:e?.map((g,h)=>{let y=h+1<t,b=h+1===t;return ZI("div",{className:Ut("cleen-relative cleen-flex cleen-flex-1",i?"cleen-flex-row cleen-items-start":"cleen-flex-col cleen-items-center cleen-text-center",a?.step),style:s?.step,children:[h<e?.length-1&&mo("div",{className:Ut("cleen-absolute cleen-bg-neutral-200 cleen-transition-all cleen-duration-300",i?"cleen-left-3 cleen-top-7 cleen-w-[2px] cleen-h-[calc(100%-4px)]":"cleen-top-3 cleen-left-[calc(50%+14px)] cleen-h-[2px] cleen-w-[calc(100%+4px)]",y&&"cleen-bg-primary",a?.connector),style:{backgroundColor:y?n:void 0,...s?.connector}}),mo("div",{className:Ut("cleen-relative cleen-flex cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-transition-all cleen-duration-300","cleen-size-7",y||b?"cleen-border-[2px]":"cleen-border-border",a?.circle),style:{borderColor:b||y?n:void 0,backgroundColor:y?n:"transparent",...s?.circle},children:y?mo("span",{className:"cleen-text-white cleen-text-sm",children:"\u2713"}):mo("span",{className:Ut("cleen-w-2 cleen-h-2 cleen-rounded-full",b?"cleen-bg-white":"cleen-bg-neutral-200"),style:{backgroundColor:b?n:void 0}})}),ZI("div",{className:Ut("cleen-flex cleen-flex-col",i?"cleen-ml-3":"cleen-mt-3 cleen-items-center"),children:[g.title&&mo("div",{className:Ut("cleen-font-medium cleen-text-sm",b?"cleen-text-primary":"cleen-text-foreground",a?.title),style:{color:b?n:void 0,...s?.title},children:g.title}),g.subtitle&&mo("div",{className:Ut("cleen-text-xs cleen-text-neutral-600",a?.subtitle),style:{color:b?n:void 0,...s?.subtitle},children:g.subtitle})]})]},h)})})})});QI.displayName="Stepper";import{cn as ye}from"@cleen/ui-core";import{forwardRef as qk,useMemo as JI,useState as zn}from"react";var YI={trigger:"Filter by tags",noMatches:"No matching tags",searchPlaceholder:"Search or create a tag",noData:"There are no tags yet",footer:"Select tags to filter",selected:e=>`${e} selected`,create:e=>`Create \u201C${e}\u201D`,clear:"Clear",done:"Done"};import{Fragment as Zk,jsx as ue,jsxs as On}from"react/jsx-runtime";var Xk=[],Kk=qk(function({items:t=Xk,value:r,defaultValue:n,onApply:l,onCreate:a,isLoading:c=!1,icon:s,disabled:u=!1,isOpen:p,onOpenChange:i,position:g="bottom-left",zIndex:h,labels:y,className:b,classNames:f,style:v,styles:C,...x},I){let P={...YI,...y},[M,B]=zn(n??[]),k=r??M,[w,R]=zn(!1),E=p??w,[N,L]=zn(k),[F,D]=zn(""),[S,H]=zn([]),[T,z]=zn(!1),A=JI(()=>[...t,...S.filter(Y=>!t.some(ae=>ae.id===Y.id))],[t,S]),_=F.trim(),G=JI(()=>{let Y=_.toLowerCase();return Y?A.filter(ae=>ae.label.toLowerCase().includes(Y)):A},[A,_]),$=!!_&&!A.some(Y=>Y.label.toLowerCase()===_.toLowerCase())&&!!a,q=c||T,U=k.length,V=U>0,Q=Y=>{Y&&(L(k),D("")),p===void 0&&R(Y),i?.(Y)},O=Y=>{L(ae=>ae.includes(Y)?ae.filter(rt=>rt!==Y):[...ae,Y])},Z=async()=>{if(!(!a||!_||q)){z(!0);try{let Y=await a(_);Y&&(H(ae=>ae.some(rt=>rt.id===Y.id)?ae:[...ae,Y]),L(ae=>ae.includes(Y.id)?ae:[...ae,Y.id]),D(""))}finally{z(!1)}}},ie=Y=>{Y.key==="Enter"&&$&&(Y.preventDefault(),Z())},he=()=>{L([])},Ie=()=>{let Y=A.filter(ae=>N.includes(ae.id));r===void 0&&B(N),l?.(N,Y),Q(!1)},It=On(Zk,{children:[$&&ue("div",{className:"cleen-p-1.5",children:ue(re,{variant:"borderless-blue",fullWidth:!0,isLoading:q,leftIcon:ue(Sr,{className:"cleen-size-4 cleen-shrink-0"}),onClick:()=>{Z()},classNames:{container:ye("cleen-justify-start cleen-px-2.5 cleen-py-1.5 cleen-font-medium",f?.createButton)},styles:{container:C?.createButton},children:ue("span",{className:"cleen-truncate",children:P.create(_)})})}),G.length===0?$?null:ue("p",{className:ye("cleen-px-3 cleen-py-4 cleen-text-gray-500 cleen-text-sm cleen-text-center cleen-opacity-50",f?.noData),style:C?.noData,children:A.length===0?P.noData:P.noMatches}):ue("ul",{className:ye("cleen-flex cleen-flex-col cleen-py-1 cleen-max-h-[300px] cleen-overflow-y-auto cleen-[scrollbar-width:thin] [&::-webkit-scrollbar]:cleen-w-1 [&::-webkit-scrollbar-track]:cleen-bg-transparent [&::-webkit-scrollbar-thumb]:cleen-rounded-full [&::-webkit-scrollbar-thumb]:cleen-bg-neutral-200",f?.list),style:C?.list,children:G.map(Y=>On("li",{onClick:()=>O(Y.id),className:ye("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 hover:cleen-bg-muted cleen-px-3 cleen-py-2 cleen-transition-colors cleen-cursor-pointer",f?.item),style:C?.item,children:[ue(ta,{className:"cleen-flex-1 cleen-min-w-0",classNames:{container:"cleen-min-w-0",checkboxContainer:"cleen-items-center cleen-min-w-0 [&>div]:cleen-flex-1 [&>div]:cleen-min-w-0",checkbox:f?.checkbox,label:ye("cleen-text-sm cleen-truncate cleen-cursor-pointer",f?.itemLabel)},styles:{checkbox:C?.checkbox,label:C?.itemLabel},checked:N.includes(Y.id),onClick:ae=>ae.stopPropagation(),label:ue("span",{title:Y.label,className:"cleen-select-none",children:Y.label}),fullTriggerArea:!0}),Y.count!==void 0&&ue("span",{className:ye("cleen-shrink-0 cleen-text-gray-500 cleen-text-sm cleen-tabular-nums cleen-opacity-50 cleen-select-none",f?.count),style:C?.count,children:Y.count})]},Y.id))})]}),Qe=On("div",{className:ye("cleen-flex cleen-flex-col",f?.content),style:C?.content,role:"dialog",children:[ue(de,{autoFocus:!0,value:F,onChange:Y=>D(Y.target.value),onKeyDown:ie,placeholder:P.searchPlaceholder,"aria-label":P.searchPlaceholder,leftIcon:ue(Bt,{className:"cleen-size-4 cleen-text-muted-foreground"}),className:ye("cleen-shrink-0 cleen-p-1.5 cleen-py-1",f?.search),style:C?.search,classNames:{inputContainer:"cleen-border-0 cleen-shadow-none cleen-rounded-none focus-within:cleen-ring-0",input:"cleen-text-sm"}}),ue(tt,{className:ye("cleen-shrink-0",f?.divider),style:C?.divider}),ue("div",{className:"cleen-flex-1 cleen-min-h-0",children:It}),On("div",{className:ye("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-3 cleen-py-2 cleen-border-t cleen-border-border cleen-shrink-0",f?.footer),style:C?.footer,children:[ue("span",{className:ye("cleen-min-w-0 cleen-text-muted-foreground cleen-text-xs cleen-truncate",f?.footerText),style:C?.footerText,children:N.length>0?P.selected(N.length):P.footer}),On("div",{className:ye("cleen-flex cleen-items-center cleen-gap-2 cleen-shrink-0",f?.footerActions),style:C?.footerActions,children:[ue(re,{variant:"secondary",onClick:he,disabled:N.length===0,classNames:{container:ye("cleen-h-8 cleen-px-4 cleen-py-0 cleen-text-sm",f?.clearButton)},styles:{container:C?.clearButton},children:P.clear}),ue(re,{variant:"primary",onClick:Ie,classNames:{container:ye("cleen-h-8 cleen-px-4 cleen-py-0 cleen-text-sm",f?.doneButton)},styles:{container:C?.doneButton},children:P.done})]})]})]});return ue(Rh,{ref:I,isOpen:E,onOpenChange:Q,position:g,zIndex:h,content:Qe,className:b,style:v,classNames:{trigger:ye(u&&"cleen-pointer-events-none"),popover:ye("cleen-w-80 cleen-overflow-hidden cleen-shadow-md",f?.popover)},styles:{popover:C?.popover},...x,children:On("button",{type:"button",disabled:u,"aria-label":P.trigger,"aria-haspopup":"dialog","aria-expanded":E,className:ye("cleen-flex cleen-items-center cleen-gap-1 cleen-bg-background cleen-shadow-sm cleen-px-2.5 cleen-py-2 cleen-border cleen-border-border cleen-rounded-lg cleen-text-muted-foreground cleen-transition-colors cleen-duration-200 hover:cleen-bg-muted focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2",{"cleen-border-primary-300 cleen-bg-primary-50 cleen-text-primary hover:cleen-bg-primary-100":V,"cleen-opacity-50 cleen-cursor-not-allowed":u},f?.trigger,V&&f?.triggerActive),style:{...C?.trigger,...V?C?.triggerActive:{}},children:[s??ue(Nr,{className:"cleen-size-4 cleen-shrink-0"}),V&&ue("span",{className:ye("cleen-flex cleen-justify-center cleen-items-center cleen-bg-primary cleen-px-1.5 cleen-rounded-full cleen-min-w-5 cleen-h-5 cleen-font-semibold cleen-text-primary-foreground cleen-text-xs",f?.badge),style:C?.badge,children:U}),ue(Qn,{className:"cleen-size-3.5 cleen-shrink-0"})]})})});export{lb as AdvancedProgressBar,P4 as AudioPlayback,L4 as AudioRecorder,$l as Avatar,E4 as AvatarRow,O4 as Breadcrumb,re as Button,G1 as Calendar,Y4 as CalendarDropdown,v4 as CanvasButton,pe as Card,zS as CardIcon,GS as CardMedia,n5 as Carousel,ta as Checkbox,h5 as CheckboxGroup,Oe as CleenIcon,qM as CleenNotificationContainer,Bg as Collapsible,C5 as ColorPicker,w5 as CreditCardInput,tt as Divider,q1 as Drawer,BI as DrawerContainer,Zw as DrawerContentTitle,ea as Dropdown,l3 as Dropzone,u4 as EditableCard,k1 as EditableText,L1 as EditableTextArea,u3 as FileCard,th as FileStackedProgressTracker,eM as FilterDrawer,Uv as FormGroup,dM as GroupSelector,Jc as Icon48AlertFeatured,jc as Icon48SuccessFeatured,ho as IconAlertCircle,ts as IconAlertOctagon,ns as IconAlertTriangle,rs as IconApps,ls as IconArchive,cs as IconArrowBarDown,ss as IconArrowBarLeft,is as IconArrowBarRight,ps as IconArrowBarToDown,ds as IconArrowBarToLeft,ms as IconArrowBarToRight,us as IconArrowBarToUp,hs as IconArrowBarUp,gs as IconArrowDown,vs as IconArrowDownLeft,bs as IconArrowDownNarrow,ys as IconArrowDownRight,xs as IconArrowLeft,Ss as IconArrowLeftNarrow,ws as IconArrowRight,Bs as IconArrowRightNarrow,Ls as IconArrowUp,Ds as IconArrowUpLeft,Ns as IconArrowUpNarrow,Fs as IconArrowUpRight,Es as IconAttachment,As as IconBarChart,zs as IconBarChartSquare,Os as IconBell,_s as IconBold,$s as IconBookOpen,Hs as IconBookmark,$c as IconBookmarkCheck,qc as IconBookmarkCheckFill,Us as IconBookmarkFill,Gs as IconBookmarkMinus,Kc as IconBookmarkPlus,Ws as IconBookmarkX,qs as IconBoxLines,Ks as IconBoxText,Qs as IconBracketsCheck,Ys as IconBracketsEllipses,Js as IconBrickWall,js as IconBriefcase,Zc as IconBuilding,ei as IconCalculator,Zn as IconCalendar,ti as IconCertificate,Pt as IconCheck,fo as IconCheckCircle,oi as IconCheckCircleBroken,ni as IconCheckFill,ri as IconCheckVerified,ai as IconCheckVerifiedFill,Qn as IconChevronDown,li as IconChevronDownDouble,ci as IconChevronDownLeft,si as IconChevronDownLeftDouble,ii as IconChevronDownRight,pi as IconChevronDownRightDouble,St as IconChevronLeft,di as IconChevronLeftDouble,je as IconChevronRight,Yn as IconChevronRightDouble,mi as IconChevronSelectorVertical,Mt as IconChevronUp,ui as IconChevronUpDouble,hi as IconChevronUpLeft,fi as IconChevronUpLeftDouble,gi as IconChevronUpRight,vi as IconChevronUpRightDouble,Ii as IconClick,bi as IconClock,yi as IconClockFastForward,xi as IconClockPlay,Pi as IconClockRewind,Si as IconClone,wi as IconCode,ki as IconCodeBrowser,Ri as IconCodeCircle,Di as IconColors,Qc as IconColumnEdit,Ti as IconCopy,Ni as IconCopy2,Ei as IconCopyCheck,Ai as IconCreditCard,zi as IconCube,Oi as IconCubeOutline,jn as IconCursorBox,_i as IconDataflow,Hi as IconDataflow2,Ui as IconDataflow3,Vi as IconDistributeHorizontal,Wi as IconDollar,qi as IconDollarCircle,Xi as IconDot,Ki as IconDotFill,Zi as IconDotsGrid,Yi as IconDotsHorizontal,tn as IconDotsVertical,ep as IconDownload,tp as IconEdit,np as IconEditable,rp as IconExpand,lp as IconExternalLink,sp as IconExternalLink2,ip as IconEye,dp as IconEyeHidden,mp as IconEyeHidden2,up as IconFaceAngry,hp as IconFaceLaugh,fp as IconFaceSmile,vo as IconFile,vp as IconFileCheck,nr as IconFileCsv,Ip as IconFileDownload,rr as IconFileJson,bp as IconFileList,Ve as IconFileMusic,Io as IconFilePdf,lr as IconFileSpreadsheet,kt as IconFileText,xp as IconFileUpload,sr as IconFileXls,ir as IconFileXlsx,ct as IconFileZip,Cp as IconFiles,Pp as IconFilter,pr as IconFilter2,Mp as IconFlag,wp as IconFlag2,kp as IconFlagFill,Bp as IconFocus,Rp as IconFolder,Lp as IconFolderExport,Dp as IconFolderImport,Tp as IconGraduationCap,Np as IconGripVertical,Fp as IconHand,Ep as IconHandShield,Ap as IconHash,zp as IconHeadsetMic,Op as IconHeart,_p as IconHeartFill,Up as IconHouse,mr as IconHouseLine,we as IconImage,Gp as IconImage2,Vp as IconImageCheck,Wp as IconImageOff,$p as IconImport,qp as IconInbox,Kp as IconInfoCircle,Qp as IconInfoHexagon,Jp as IconItalic,ed as IconLayersMultiple,td as IconLayersSingle,od as IconLayout,rd as IconLayout2,ad as IconLayoutColumns,ld as IconLayoutCustom,sd as IconLayoutStuffed,id as IconLayoutTile,pd as IconLifeBuoy,md as IconLightbulb,ud as IconLightning,hd as IconLightningFast,fd as IconLineChart,gd as IconLineChartBar,vd as IconLineChartBreakoutSquare,bd as IconLineChartUp,yd as IconLines,Cd as IconLinesCheck,xd as IconLinesPlay,Sd as IconLink,Md as IconLink2,wd as IconLinkOff,kd as IconListBullet,Bd as IconListOrder,Ld as IconLock,Dd as IconLockFill,Nd as IconLogIn,Ed as IconLogOut,zd as IconLogOut2,Od as IconMagicWand,_d as IconMail,Hd as IconMailOpen,Ud as IconMapPin,Gd as IconMaximize,Vd as IconMaximize2,Wd as IconMessageCircle,qd as IconMessageSquare,Xd as IconMessageSquare2,Kd as IconMessageXSquare,br as IconMicrophone,Zd as IconMinimize,Qd as IconMinimize2,Yd as IconMinusCircle,jd as IconMobile,em as IconMonitor,tm as IconMonitor2,om as IconMoon,nm as IconMoonCircle,et as IconMovie,zr as IconName,rm as IconNavigationPointer,am as IconNotificationBox,mm as IconPCSetup,lm as IconPackage,cm as IconPalette,sm as IconPasscodeLock,bo as IconPause,pm as IconPauseCircle,hm as IconPen,fm as IconPercentageCircle,gm as IconPerspective,Im as IconPhoneCall,Pr as IconPin,yo as IconPlay,ym as IconPlayCircle,Sr as IconPlus,Zt as IconPlusCircle,Pm as IconPrinter,Sm as IconPulse,Mr as IconQuestionCircle,wm as IconQuote,km as IconRadioButton,Bm as IconRadioButtonFill,Rm as IconReceipt,Lm as IconReceiptCheck,Dm as IconRedo,Tm as IconRefresh,Nm as IconRefresh2,Fm as IconRefresh3,Em as IconRepeat,Am as IconReplace,zm as IconReplay,_m as IconRestore,Um as IconRocket,Gm as IconRoundChart,Vm as IconRoundChart2,$m as IconRoute,Xm as IconSave,Km as IconScanDots,wr as IconScissors,Bt as IconSearch,Zm as IconSend,Qm as IconServer,Ym as IconSettings,Jm as IconSettings2,jm as IconShare,eu as IconShieldLightning,ou as IconShieldPlus,ru as IconShieldRemove,au as IconShoppingBag,lu as IconShoppingCart,cu as IconShrink,su as IconShuffle,iu as IconSkipForward,pu as IconSlashCircle,du as IconSlashOctagon,mu as IconSocialAndroid,uu as IconSocialApple,hu as IconSocialGithub,fu as IconSocialGlobe,gu as IconSocialGoogle,Iu as IconSocialInstagram,bu as IconSocialLinkedin,Cu as IconSocialMastercard,xu as IconSocialReact,Pu as IconSocialVisa,Su as IconSocialX,Mu as IconSpeedometer,wu as IconStairs,Dr as IconStar,ku as IconStarFill,Bu as IconStarHalf,Ru as IconStars,Tr as IconStop,Lu as IconStrikethrough,Du as IconSun,Tu as IconSwap,Nu as IconSwitchHorizontal,Eu as IconTable,Nr as IconTag,Au as IconTarget,Ou as IconTarget2,Hu as IconTextFormat,Uu as IconTextFormat2,Gu as IconTextHighlight,Vu as IconThumbsDown,Wu as IconThumbsUp,$u as IconThumbsUpFill,qu as IconToggle,Xu as IconTranslate,We as IconTrash,Ku as IconTrending,Zu as IconUnderline,Qu as IconUndo,Ju as IconUnlock,Po as IconUploadCloud,Er as IconUser,t1 as IconUserCheck,o1 as IconUserDollar,r1 as IconUserEdit,a1 as IconUserPlus,l1 as IconUserRight,i1 as IconUserSquare,Yc as IconUserVoice,c1 as IconUsers,p1 as IconUsersUp,d1 as IconVideo,u1 as IconVideoChat,f1 as IconVolume,g1 as IconVolumeDown,v1 as IconVolumeMute,I1 as IconWrench,De as IconX,b1 as IconXCircle,y1 as IconXCircleFill,C1 as IconXSquare,x1 as IconZoomIn,S1 as IconZoomOut,ee as InfoLabels,de as Input,oe as Label,ne as Loader,yM as Lookup,MM as Markdown,kn as Menu,FM as Modal,aw as Pagination,Mh as PaginationGoToPage,wh as PaginationPageSize,Fe as PillBadge,Rh as Popover,wn as ProgressBar,dI as ProgressCircle,yw as RadioBoxGroup,Bw as RadioButtonGroup,Nw as Rating,Vw as Select,LI as Sidebar,fa as SidebarItem,ak as Skeleton,Fh as SkeletonAvatar,Ah as SkeletonBadge,zh as SkeletonBanner,_h as SkeletonButton,ga as SkeletonCard,wc as SkeletonCard2,Hh as SkeletonCard3,Gh as SkeletonCardStack,Vh as SkeletonChart,Wh as SkeletonContentCard,$h as SkeletonDataGrid,qh as SkeletonForm,Kh as SkeletonGlowingCard,Zh as SkeletonImage,Qh as SkeletonInfoCard,jh as SkeletonInput,e0 as SkeletonList,n0 as SkeletonParagraph,r0 as SkeletonText,a0 as SkeletonVideo,Tc as SkeletonWidgetCard,Nk as SkeletonWrapper,Ak as Slider,Hk as SliderRange,j1 as StackedProgressTracker,K1 as StackedProgressTrackerRow,Z1 as StackedProgressTrackerStatusFilter,Vk as StarRating,QI as Stepper,Ih as Switch,aa as TRACKER_STATUS_FILTER_ORDER,gh as Tabs,Kk as TagFilter,R1 as TextArea,ge as Tooltip,na as TrackerItemStatus,ra as TrackerStatusFilter,M1 as getFileIcon,V1 as parseRgbaString,VM as showNotification};