cordage-enterprise 1.1.24 → 1.1.25

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.
@@ -218295,9 +218295,11 @@ const SS2 = (l) => {
218295
218295
  width: "100%",
218296
218296
  justifyContent: "space-between",
218297
218297
  flexDirection: "row",
218298
- height: "100%",
218299
218298
  alignItems: "center",
218300
218299
  gap: ".4rem",
218300
+ style: {
218301
+ flex: 1
218302
+ },
218301
218303
  children: [
218302
218304
  !m1 && (F1 === "default" ? /* @__PURE__ */ L.jsx(
218303
218305
  i2,
@@ -728,7 +728,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
728
728
  *
729
729
  * This source code is licensed under the MIT license found in the
730
730
  * LICENSE file in the root directory of this source tree.
731
- */var bF7;function wpc(){return bF7||(bF7=1,process.env.NODE_ENV!=="production"&&function(){function l(t,f){return t===f&&(t!==0||1/t===1/f)||t!==t&&f!==f}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=R,e=BE(),a=typeof Object.is=="function"?Object.is:l,s=e.useSyncExternalStore,o=c.useRef,n=c.useEffect,i=c.useMemo,r=c.useDebugValue;ht2.useSyncExternalStoreWithSelector=function(t,f,m,z,u){var p=o(null);if(p.current===null){var M={hasValue:!1,value:null};p.current=M}else M=p.current;p=i(function(){function C(w){if(!h){if(h=!0,x=w,w=z(w),u!==void 0&&M.hasValue){var b=M.value;if(u(b,w))return A=b}return A=w}if(b=A,a(x,w))return b;var N=z(w);return u!==void 0&&u(b,N)?(x=w,b):(x=w,A=N)}var h=!1,x,A,v=m===void 0?null:m;return[function(){return C(f())},v===null?void 0:function(){return C(v())}]},[f,m,z,u]);var d=s(t,p[0],p[1]);return n(function(){M.hasValue=!0,M.value=d},[d]),r(d),d},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),ht2}process.env.NODE_ENV==="production"?dt2.exports=ypc():dt2.exports=wpc();var bpc=dt2.exports;const Npc=ze(bpc),NF7={},{useDebugValue:kpc}=R,{useSyncExternalStoreWithSelector:Bpc}=Npc;let kF7=!1;const Tpc=l=>l;function Epc(l,c=Tpc,e){(NF7?"production":void 0)!=="production"&&e&&!kF7&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),kF7=!0);const a=Bpc(l.subscribe,l.getState,l.getServerState||l.getInitialState,c,e);return kpc(a),a}const BF7=l=>{(NF7?"production":void 0)!=="production"&&typeof l!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const c=typeof l=="function"?Spc(l):l,e=(a,s)=>Epc(c,a,s);return Object.assign(e,c),e},ww=l=>l?BF7(l):BF7,Ppc=()=>{const l=navigator.userAgent;let c="desktop";/tablet|ipad/i.test(l)?c="tablet":/mobile/i.test(l)&&(c="mobile");let e="uknown-browser";return l.indexOf("Chrome")>-1&&l.indexOf("Edge")===-1?e="Chrome":l.indexOf("Safari")>-1&&l.indexOf("Chrome")===-1?e="Safari":l.indexOf("Firefox")>-1?e="Firefox":l.indexOf("MSIE")>-1||document.documentMode?e="IE":l.indexOf("Edge")>-1&&(e="Edge"),{deviceType:c,browser:e}},i3=ww(l=>({isMobile:window.innerWidth<=440,deviceType:"",browser:"",setIsMobile:c=>l({isMobile:c}),init:(c=440)=>{const{deviceType:e,browser:a}=Ppc();l({deviceType:e,browser:a});const s=()=>{l({isMobile:window.innerWidth<=c})};return s(),window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)}})),Dpc=X("div",{display:"flex",alignItems:"center",justifyContent:"center",width:"1.6rem",height:"2rem"}),Fpc={drag:"fa-grip-dots-vertical",collapsed:"fa-chevron-down",expanded:"fa-chevron-right",indeterminate:"fa-minus"},on=({type:l="drag",size:c,stylesIcon:e,stylesContainer:a,classNameContainer:s,classNameIcon:o})=>L.jsx(Dpc,{style:a,className:s,children:L.jsx(jr2,{size:c??"1.6rem",className:`fa-solid ${Fpc[l]} ${o}`,color:"var(--colors-neutral500)",style:e})}),Ipc=X("div",{display:"flex",flexDirection:"row",position:"relative",variants:{fullWidth:{true:{width:"100%"}}}}),Hpc=X("div",{display:"flex",flexDirection:"row",justifyContent:"space-between",variants:{isDisabled:{true:{opacity:.5,cursor:"not-allowed"},false:{cursor:"pointer"}},alignment:{top:{alignItems:"flex-start"},center:{alignItems:"center"}},fullWidth:{true:{width:"100%"}}}}),Rpc=X("div",{display:"flex",alignItems:"center",justifyContent:"center",width:"1.6rem",height:"1.6rem",borderRadius:".2rem",border:".1rem solid",transition:"all ease .2s","&:hover":{borderColor:"$neutral500"},"&:focus":{outline:".2rem solid $blue300",borderColor:"$blue600"},variants:{checked:{true:{backgroundColor:"$blue700",borderColor:"$blue700"},false:{backgroundColor:"$neutral50",borderColor:"$neutral400"}},focused:{true:{outline:".2rem solid $blue300"}},disabled:{true:{opacity:.5}}}}),Upc=X("div",{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",marginLeft:"1.6rem"}),jpc=X("div",{display:"flex",alignItems:"center",variants:{hasIcon:{true:{gap:"1.6rem"},false:{gap:".8rem"}}}}),w7=({label:l,small:c,checked:e,onChange:a,focus:s,disabled:o,indeterminate:n,onFocus:i,onBlur:r,id:t,customStyle:f,emoji:m,icon:z,classNameText:u,onlyCheckboxDisabled:p,className:M,style:d,customContentLeft:C,customContenItem:h,visualElement:x,align:A="center",styleCheckContainer:v,isLoading:w})=>{const[b,N]=R.useState(e||!1),[k,E]=R.useState(s||!1);R.useEffect(()=>{e!==void 0&&b!==e&&N(e)},[e]),R.useEffect(()=>{s!==void 0&&E(s)},[s]);const B=U=>{if(o||p)return;const j=!b;N(j),a&&a({target:{checked:j,name:t}})},I=U=>{E(!0),i==null||i(U)},D=U=>{E(!1),r==null||r(U)},H=!!(h||x);return w?L.jsx(T,{width:"1.6rem",height:"1.6rem",children:L.jsx(E1,{variant:"light",viewBox:"100%",borderRadius:"2px"})}):L.jsx(Ipc,{id:`${t}-cont`,className:M,style:d,fullWidth:H,children:L.jsxs(Hpc,{id:`${t}-content`,onClick:U=>{U.stopPropagation(),B()},style:f,isDisabled:o||p,alignment:H&&A==="top"?"top":"center",fullWidth:H,children:[L.jsx(UP,{checked:b,disabled:o||p,onFocus:I,onBlur:D,onChange:U=>{U.stopPropagation()},render:L.jsx(Rpc,{id:`${t}-cont-check`,tabIndex:0,role:"checkbox","aria-checked":b,"aria-labelledby":`${t}-label`,style:v,checked:b,focused:k,disabled:p,onClick:U=>{U.stopPropagation(),B()},children:b&&!n?L.jsx(l2,{id:`${t}-check`,name:"faCheck",color:"white",customIconSize:"1rem",variant:"solid"}):b&&n&&L.jsx(l2,{"data-testid":"minus-icon",name:"faMinus",color:"white",customIconSize:"1rem",variant:"solid"})})}),(l||c)&&!h&&L.jsxs(Upc,{children:[L.jsxs(jpc,{hasIcon:!!z,children:[m&&L.jsx(I5,{emoji:m,size:"1.6rem"}),z&&L.jsx(T,{style:{padding:".6rem"},children:L.jsx(l2,{name:z,variant:"regular",customIconSize:"2rem",className:u})}),C,L.jsx(o2,{id:`${t}-label`,variant:"medium",className:u,color:"$neutral800",role:"label",children:l})]}),c&&L.jsx(o2,{id:`${t}-supportText`,variant:"regular",className:u,color:"$neutral600",children:c})]}),h&&L.jsx(T,{className:"customContent",display:"flex",flexDirection:"column",children:h})]})})},T3=X("p",{color:"$gray700",variants:Btc}),r3=X("h5",{color:"$gray700",variants:{variant:{light:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$light",lineHeight:"$h5"},regular:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$regular",lineHeight:"$h5"},medium:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$medium",lineHeight:"$h5"},bold:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$bold",lineHeight:"$h5"},black:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$black",lineHeight:"$h5"},light2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$light",lineHeight:"$h5"},regular2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$regular",lineHeight:"$h5"},medium2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$medium",lineHeight:"$h5"},bold2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$bold",lineHeight:"$h5"},black2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$black",lineHeight:"$h5"}}}}),nn={icon:{xs:"1rem",sm:"1.2rem",md:"1.4rem",lg:"1.6rem",xl:"1.8rem"},cordageFlag:{xs:"1rem",sm:"1.2rem",md:"1.4rem",lg:"1.6rem",xl:"1.8rem"},countryFlag:{xs:10,sm:12,md:14,lg:16,xl:18}},ez={xs:".2rem",sm:".3rem",md:".3rem",lg:".4rem",xl:".4rem"},Vpc=X("a",{display:"inline-flex",alignItems:"center",padding:"0rem .1rem",border:"none",outline:"none",variants:{disabled:{true:{cursor:"none",opacity:.5,pointerEvents:"none"},false:{cursor:"pointer",opacity:1,pointerEvents:"auto"}},hasUnderline:{true:{},false:{}},variantColor:{blue:{border:"none","p, small, h5, svg":{color:"$blue700"},"&:hover":{"p, small, h5, svg":{color:"$blue700"}},"&:active":{"p, small, h5, svg":{color:"$blue800"}},"&:visited":{"p, small, h5, svg":{color:"$violet800"}}},gray:{"p, small, h5, svg":{color:"$neutral500"},"&:hover":{"p, small, h5, svg":{color:"$violet600"}},"&:active":{"p, small, h5, svg":{color:"$violet800"}},"&:visited":{"p, small, h5, svg":{color:"$violet700"}}},black:{"p, small, h5, svg":{color:"$neutral800"},"&:hover":{"p, small, h5, svg":{color:"$blue700"}},"&:active":{"p, small, h5, svg":{color:"$blue700"}},"&:visited":{"p, small, h5, svg":{color:"$neutral500"}}},orange:{"p, small, h5, svg":{color:"$orange600"},"&:hover":{"p, small, h5, svg":{color:"$orange600"}},"&:active":{"p, small, h5, svg":{color:"$orange700"}},"&:visited":{"p, small, h5, svg":{color:"$orange800"}}}},variant:{xs:{textUnderlineOffset:ez.xs,gap:".4rem"},sm:{textUnderlineOffset:ez.sm,gap:".4rem"},md:{textUnderlineOffset:ez.md,gap:".4rem"},lg:{textUnderlineOffset:ez.lg,gap:".8rem"},xl:{textUnderlineOffset:ez.xl,gap:".8rem"}}},compoundVariants:[{disabled:!0,variantColor:"blue",css:{"p, small, h5, svg":{color:"$neutral800"}}},{disabled:!0,variantColor:"black",css:{"p, small, h5, svg":{color:"$neutral500"}}},{disabled:!0,variantColor:"gray",css:{"p, small, h5, svg":{color:"$neutral500"}}},{disabled:!0,variantColor:"orange",css:{"p, small, h5, svg":{color:"$neutral800"}}},{hasUnderline:!0,disabled:!1,variantColor:"blue",css:{textDecoration:"underline",textDecorationThickness:".1rem",textDecorationColor:"$blue700","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!1,disabled:!1,variantColor:"blue",css:{textDecoration:"none","&:hover":{textDecoration:"underline",textDecorationColor:"$blue700"},"&:active":{textDecoration:"underline",textDecorationColor:"$blue800"},"&:visited":{textDecoration:"none"}}},{hasUnderline:!0,disabled:!1,variantColor:"black",css:{textDecoration:"underline",textDecorationThickness:".1rem",textDecorationColor:"$neutral800","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!1,disabled:!1,variantColor:"black",css:{textDecoration:"none","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!0,disabled:!1,variantColor:"gray",css:{textDecoration:"underline",textDecorationThickness:".1rem",textDecorationColor:"$neutral500","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!1,disabled:!1,variantColor:"gray",css:{textDecoration:"none","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!0,disabled:!1,variantColor:"orange",css:{textDecoration:"underline",textDecorationThickness:".1rem",textDecorationColor:"$orange600","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!1,disabled:!1,variantColor:"orange",css:{textDecoration:"none","&:hover":{textDecoration:"underline",textDecorationColor:"$orange600"},"&:active":{textDecoration:"underline",textDecorationColor:"$orange700"},"&:visited":{textDecoration:"none"}}}],defaultVariants:{variantColor:"blue",variant:"lg",disabled:!1,hasUnderline:!1}}),O3=({children:l,variant:c,variantColor:e="blue",hasUnderline:a,onClick:s,href:o,disabled:n=!1,color:i,style:r,styleContainer:t,tabIndex:f,classNameContainer:m,classNameAnchor:z,hasVisualLeft:u,hasVisualRight:p,visualLeft:M,nameIconLeft:d,nameIconRight:C,visualRight:h,countryCodeLeft:x,countryCodeRight:A,codeCordageLeft:v,codeCordageRight:w,styleText:b,styleIconLeft:N,styleIconRight:k,css:E})=>{const B={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"};return L.jsx(T,{maxHeight:"2rem",alignItems:"center",display:"inline",className:m,style:{boxSizing:"border-box",...t},children:L.jsxs(Vpc,{role:"link",onClick:s,tabIndex:f??0,href:o,variantColor:e,disabled:n??!1,hasUnderline:a??!1,color:i,variant:c,className:z,style:r,css:E,children:[u&&L.jsx(B4,{type:M??"icon",componentIcon:L.jsx(l2,{variant:"regular",customIconSize:nn.icon[c],name:d??"faShapes",stylesContainer:{display:"flex",...N}}),countryCode:x,sizeCountryFlag:nn.countryFlag[c],cordageFlagCode:v,sizeCordageFlag:nn.cordageFlag[c]}),c==="xs"&&L.jsx(T3,{color:i,variant:"bold",style:{lineHeight:"1.7rem",...B,...b},children:l}),c==="sm"&&L.jsx(s0,{color:i,variant:"bold",style:{...B,...b},children:l}),c==="md"&&L.jsx(f2,{color:i,variant:"bold",style:{...B,...b},children:l}),c==="lg"&&L.jsx(o2,{color:i,variant:"bold",style:{...B,...b},children:l}),c==="xl"&&L.jsx(r3,{color:i,variant:"bold",style:{...B,...b},children:l}),p&&L.jsx(B4,{type:h??"icon",componentIcon:L.jsx(l2,{variant:"regular",customIconSize:nn.icon[c],name:C??"faShapes",stylesContainer:{display:"flex",...k}}),countryCode:A,sizeCountryFlag:nn.countryFlag[c],cordageFlagCode:w,sizeCordageFlag:nn.cordageFlag[c]})]})})},qpc=X("div",{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"}),gt2=({children:l,linkText:c,onClickLink:e,customComponentRight:a,styleTextDefault:s})=>L.jsxs(qpc,{children:[L.jsx(dr,{css:{color:"$neutral500",fontSize:"1.2rem",lineHeight:"1.6rem",fontWeight:500,...s},children:l}),a,c&&L.jsx(O3,{variant:"sm",children:c,onClick:e,color:"$blue700"})]}),Opc=(l,c,e)=>L.jsxs(T,{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between",children:[L.jsx(gt2,{children:l.title}),L.jsxs(T,{display:"flex",gap:"1.6rem",alignItems:"center",children:[l.contentBadge&&L.jsx(U0,{variant:"simple",content:l.contentBadge}),l.textAll&&L.jsx(i0,{variant:"secondary",size:"xs",hasVisualLeft:!0,iconName:"faPlus",children:l.textAll,pill:!0,onClick:c}),L.jsx(l2,{variant:"regular",name:l.nameIconChevron??"faChevronDown",customIconSize:"1.4rem",onClick:e})]})]}),Qpc=X("a",{display:"flex",flexDirection:"row",alignItems:"center",padding:0,"&:hover, &:active":{"p, h4, small, svg":{color:"$neutral800 !important"}}}),az=({children:l,variant:c="sm",onClick:e,href:a,iconName:s,isActive:o})=>L.jsxs(Qpc,{role:"breadcrumb",onClick:o?void 0:e,href:a,style:{gap:c!=="lg"?".4rem":".8rem",pointerEvents:o?"none":"auto",cursor:o?"default":"pointer"},children:[s&&L.jsx(T,{display:"flex",justifyContent:"center",style:{width:c==="sm"?"1.2rem":c==="md"?"1.4rem":"2rem",height:c==="sm"?"1.2rem":c==="md"?"1.4rem":"2rem"},children:L.jsx(l2,{name:s,customIconSize:c==="sm"?"1.2rem":c==="md"?"1.4rem":"2rem",variant:"regular",color:o?"neutral800":"orange600"})}),c==="sm"?L.jsx(s0,{variant:"bold",color:o?"neutral800":"orange600",children:l}):c==="md"?L.jsx(f2,{variant:"bold",color:o?"neutral800":"orange600",style:{lineHeight:"2rem",fontSize:"1.4rem"},children:l}):L.jsx(Y4,{variant:"bold",color:o?"neutral800":"orange600",children:l})]}),Gpc=(l,c,e)=>L.jsxs(T,{display:"flex",flexDirection:"column",gap:"1.2rem",width:"100%",children:[L.jsxs(T,{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",children:[L.jsx(T,{display:"flex",alignItems:"center",gap:"1.6rem",children:l.map((a,s)=>L.jsx(az,{variant:a.variant??"sm",children:a.children,href:a.href,onClick:o=>c==null?void 0:c(a,o),isActive:s===l.length-1,iconName:"faAngleLeft"},s))}),L.jsx(Y2,{variant:"tertiary",size:"md",onlyIconButton:!0,iconName:"faSearch",density:"comfort",onClick:e})]}),L.jsx(B0,{variant:"xxs"})]}),Wpc=(l,c)=>L.jsxs(T,{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1.6rem",width:"100%",children:[L.jsxs(T,{display:"flex",gap:".8rem",alignItems:"center",children:[L.jsx(u0,{hasBadge:l.hasBadgeAvatar,nameBadge:l.nameBadgeAvatar,image:l.imgAvatar,border:l.hasBorderAvatar,letters:l.lettersAvatar,size:"xxs",hasShadow:l.hasShadowAvatar,iconName:l.iconNameAvatar,colorIcon:l.colorIconAvatar,emoji:l.emojiAvatar,backgroundColor:l.backgroundColorAvatar,styleContainerAvatar:l.styleContainerAvatar}),L.jsx(gt2,{children:l.title})]}),L.jsx(O3,{variant:"sm",children:l.linkText,onClick:c,color:"$blue700"})]}),Kpc=()=>L.jsx(T,{width:"6.4rem",height:"1.2rem",children:L.jsx(E1,{viewBox:"100%",variant:"light"})}),Tc=({onClickBtnAll:l,onBreadcrumbClick:c,onClickIconChevronDown:e,onClickSearch:a,onClickLink:s,customComponentRight:o,styleTextDefault:n,...i})=>{const{variant:r,breadcrumbItems:t=[]}=i;return L.jsxs(T,{display:"flex",alignItems:"center",width:"100%",style:i.styleContainer,children:[r==="default"&&L.jsx(gt2,{linkText:i.linkText,onClickLink:s,customComponentRight:o,styleTextDefault:{...n},children:i.title}),r==="breadcrumb"&&Gpc(t,c,a),r==="avatar"&&Wpc(i,s),r==="groupal"&&Opc(i,l,e),r==="loading"&&Kpc()]})},xt2=({type:l="item",label:c,searchTerm:e,colorText:a,linesShow:s,styleLabel:o,variant:n="default",isGrayedOut:i=!1})=>{const r=typeof e=="string"?[e]:e,t=Array.isArray(r)&&r.filter(Boolean).length>0,f=t?r.filter(Boolean).map(d=>d.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")):[],m=t?new RegExp(`(${f.join("|")})`,"gi"):null,z=t&&m?c.split(m):[c],u=()=>L.jsx(L.Fragment,{children:e?z.map((d,C)=>t&&m.test(d??"")&&!i?L.jsx("span",{style:{fontFamily:"Satoshi-Bold",fontWeight:700,lineHeight:l==="item"?"1.6rem":"2.4rem",fontSize:l==="item"?"1.2rem":"1.6rem"},children:d},C):L.jsx("span",{style:{fontFamily:l==="item"?"Satoshi-Regular":"Satoshi-Medium",fontWeight:l==="item"?400:500,lineHeight:l==="item"?"1.6rem":"2.4rem",fontSize:l==="item"?"1.2rem":"1.6rem"},children:d},C)):c}),p=i?"$neutral400":a??"$neutral800",M={card:L.jsx(f2,{className:"labelItem",variant:"medium",css:{color:p},style:{display:"-webkit-box",WebkitLineClamp:s??2,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left",margin:".4rem 0rem",...o},children:u()}),item:L.jsx(s0,{variant:"regular",color:a??"$neutral600",css:{fontSize:"1.2rem",color:p},children:u()}),text:n==="compact"?L.jsx(f2,{className:"labelItem",variant:"medium",css:{color:p},style:{display:"-webkit-box",WebkitLineClamp:s??2,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left",margin:".4rem 0rem",...o},children:u()}):L.jsx(o2,{className:"labelItem",variant:"medium",css:{color:p},style:{display:"-webkit-box",WebkitLineClamp:s??2,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left",margin:".4rem 0rem",...o},children:u()})};return L.jsx(L.Fragment,{children:M[l]})},At2={primary:{backgroundColor:"$teal700",borderColor:"$teal700",span:{color:"white"},svg:{color:"white"},".smallTag":{color:"white"},"&:hover":{backgroundColor:"$teal800",borderColor:"$teal800"},"&:focus":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500"},"&:active":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500"}},secondary:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},".spanTag":{color:"neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral500"},"&:hover":{backgroundColor:"$neutral100",borderColor:"$neutral400",svg:{color:"$neutral700"},span:{color:"$neutral700"},".smallTag":{color:"$neutral600"}},"&:focus":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"},".smallTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"},".smallTag":{color:"$neutral700"}}},tertiary:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral500"},"&:hover":{backgroundColor:"white",borderColor:"$orange300",span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:focus":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"},".smallTag":{color:"$neutral500"}},"&:active":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"},".smallTag":{color:"$neutral500"}}},orange:{backgroundColor:"$orange100",borderColor:"$orange400",span:{color:"$orange600"},svg:{color:"$orange600"},".smallTag":{color:"$orange500"},"&:hover":{backgroundColor:"$orange200",borderColor:"$orange500",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}},"&:focus":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}}},red:{backgroundColor:"$red100",borderColor:"$red300",span:{color:"$red600"},svg:{color:"$red600"},".smallTag":{color:"$red500"},"&:hover":{backgroundColor:"$red200",borderColor:"$red400",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}},"&:focus":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}},"&:active":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}}},blue:{backgroundColor:"$blue100",borderColor:"$blue300",span:{color:"$blue700"},svg:{color:"$blue700"},".smallTag":{color:"$blue600"},"&:hover":{backgroundColor:"$blue200",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}},"&:focus":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}},"&:active":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}}},green:{backgroundColor:"$green100",borderColor:"$green600",span:{color:"$green700"},svg:{color:"$green700"},".smallTag":{color:"$green600"},"&:hover":{backgroundColor:"$green200",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}},"&:focus":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}},"&:active":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}}},yellow:{backgroundColor:"$yellow100",borderColor:"$yellow600",span:{color:"$yellow700"},svg:{color:"$yellow700"},".smallTag":{color:"$yellow600"},"&:hover":{backgroundColor:"$yellow200",borderColor:"$yellow700",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"},".smallTag":{color:"$yellow700"}},"&:focus":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"},".smallTag":{color:"$yellow600"}},"&:active":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"},".smallTag":{color:"$yellow600"}}},violet:{backgroundColor:"$violet100",borderColor:"$violet600",span:{color:"$violet700"},svg:{color:"$violet700"},".smallTag":{color:"$violet600"},"&:hover":{backgroundColor:"$violet200",borderColor:"$violet700",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}},"&:focus":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}},"&:active":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}}},fuchsia:{backgroundColor:"$fuchsia100",borderColor:"$fuchsia600",span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},".smallTag":{color:"$fuchsia600"},"&:hover":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia700",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}},"&:focus":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}},"&:active":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}}},teal:{backgroundColor:"$teal100",borderColor:"$teal600",span:{color:"$teal700"},svg:{color:"$teal700"},".smallTag":{color:"$teal600"},"&:hover":{backgroundColor:"$teal200",borderColor:"$teal700",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}},"&:focus":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}},"&:active":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}}},indigo:{backgroundColor:"$indigo100",borderColor:"$indigo600",span:{color:"$indigo700"},svg:{color:"$indigo700"},".smallTag":{color:"$indigo600"},"&:hover":{backgroundColor:"$indigo200",borderColor:"$indigo700",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}},"&:focus":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}},"&:active":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}}},whiteBlue:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral700"},"&:hover":{borderColor:"$blue400",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}},"&:focus":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}},"&:active":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}}}},vt2={primary:{span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal800",span:{color:"white"},".spanTag":{color:"white"}},"&:active":{backgroundColor:"$teal800",outline:".4rem solid",outlineColor:"$teal500",span:{color:"white"},".spanTag":{color:"white"}}},secondary:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",outline:".4rem solid",outlineColor:"$neutral200",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},tertiary:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange100",outline:".4rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"}}},orange:{span:{color:"$orange600"},svg:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",span:{color:"$orange700"},".spanTag":{color:"$orange700"}},"&:active":{backgroundColor:"$orange200",outline:".4rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},red:{span:{color:"$red600"},svg:{color:"$red600"},"&:hover":{backgroundColor:"$red200",span:{color:"$red700"},".spanTag":{color:"$red700"}},"&:active":{backgroundColor:"$red200",outline:".4rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{span:{color:"$blue700"},svg:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue200",outline:".4rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"}}},green:{span:{color:"$green700"},svg:{color:"$green700"},"&:hover":{backgroundColor:"$green200",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green200",outline:".4rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"}}},yellow:{span:{color:"$yellow700"},svg:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow200",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",outline:".4rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}},violet:{span:{color:"$violet700"},svg:{color:"$violet700"},"&:hover":{backgroundColor:"$violet200",span:{color:"$violet800"},".spanTag":{color:"$violet800"}},"&:active":{backgroundColor:"$violet200",outline:".4rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"}}},fuchsia:{span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},"&:hover":{backgroundColor:"$fuchsia200",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}},"&:active":{backgroundColor:"$fuchsia200",outline:".4rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}}},teal:{span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal200",span:{color:"$teal800"},".spanTag":{color:"$teal800"}},"&:active":{backgroundColor:"$teal200",outline:".4rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"}}},indigo:{span:{color:"$indigo700"},svg:{color:"$indigo700"},"&:hover":{backgroundColor:"$indigo200",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}},"&:active":{backgroundColor:"$indigo200",outline:".4rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}}},whiteBlue:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{span:{color:"$blue700"},".spanTag":{color:"$blue700"}},"&:active":{outline:".4rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}}},St2={primary:{borderColor:"$teal700",span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal800",borderColor:"$teal800",span:{color:"white"},".spanTag":{color:"white"}},"&:active":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500",span:{color:"white"},".spanTag":{color:"white"}}},secondary:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",borderColor:"$neutral400",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},tertiary:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{borderColor:"$orange300",span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"}}},orange:{borderColor:"$orange300",span:{color:"$orange600"},svg:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",borderColor:"$orange400",span:{color:"$orange700"},".spanTag":{color:"$orange700"}},"&:active":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},red:{borderColor:"$red300",span:{color:"$red600"},svg:{color:"$red600"},"&:hover":{backgroundColor:"$red200",borderColor:"$red400",span:{color:"$red700"},".spanTag":{color:"$red700"}},"&:active":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{borderColor:"$blue300",span:{color:"$blue700"},svg:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"}}},green:{borderColor:"$green600",span:{color:"$green700"},svg:{color:"$green700"},"&:hover":{backgroundColor:"$green200",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"}}},yellow:{borderColor:"$yellow600",span:{color:"$yellow700"},svg:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow200",borderColor:"$yellow700",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}},violet:{borderColor:"$violet600",span:{color:"$violet700"},svg:{color:"$violet700"},"&:hover":{backgroundColor:"$violet200",borderColor:"$violet700",span:{color:"$violet800"},".spanTag":{color:"$violet800"}},"&:active":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"}}},fuchsia:{borderColor:"$fuchsia600",span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},"&:hover":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia700",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}},"&:active":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}}},teal:{borderColor:"$teal600",span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal200",borderColor:"$teal700",span:{color:"$teal800"},".spanTag":{color:"$teal800"}},"&:active":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"}}},indigo:{borderColor:"$indigo600",span:{color:"$indigo700"},svg:{color:"$indigo700"},"&:hover":{backgroundColor:"$indigo200",borderColor:"$indigo700",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}},"&:active":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}}},whiteBlue:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{borderColor:"$blue400",span:{color:"$blue700"},".spanTag":{color:"$blue700"}},"&:active":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}}},Ypc={green:{backgroundColor:"$green50",border:".1rem solid",borderColor:"$green600",span:{color:"$green700"},"&:hover":{backgroundColor:"$green100",border:".1rem solid",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green300",border:".1rem solid",borderColor:"$green200",outline:"3px solid",outlineColor:"$green400",outlineOffset:"0px",span:{color:"$green900"},".spanTag":{color:"$green900"}},"&:focus":{backgroundColor:"$green50",border:".1rem solid",borderColor:"$green600",outline:"3px solid",outlineColor:"$green400",outlineOffset:"0px",span:{color:"$green700"},".spanTag":{color:"$green700"}}},default:{backgroundColor:"transparent",border:".1rem solid",borderColor:"$neutral300",span:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",border:".1rem solid",borderColor:"$neutral400",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral200",border:".1rem solid",borderColor:"$neutral500",outline:"3px solid",outlineColor:"$neutral200",outlineOffset:"0px",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"}},"&:focus":{backgroundColor:"transparent",border:".1rem solid",borderColor:"$neutral300",outline:"3px solid",outlineColor:"$neutral200",outlineOffset:"0px",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},orange:{backgroundColor:"$orange100",border:".1rem solid",borderColor:"$orange300",span:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",border:".1rem solid",borderColor:"$orange400",span:{color:"$orange800"},".spanTag":{color:"$orange800"}},"&:active":{backgroundColor:"$orange300",border:".1rem solid",borderColor:"$orange500",outline:"3px solid",outlineColor:"$orange100",outlineOffset:"0px",span:{color:"$orange900"},".spanTag":{color:"$orange900"}},"&:focus":{backgroundColor:"$orange100",border:".1rem solid",borderColor:"$orange300",outline:"3px solid",outlineColor:"$orange100",outlineOffset:"0px",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},gray:{backgroundColor:"$neutral500",border:".1rem solid",borderColor:"$neutral500",span:{color:"white"},"&:hover":{backgroundColor:"$neutral600",border:".1rem solid",borderColor:"$neutral600",span:{color:"white"}},"&:active":{backgroundColor:"$neutral700",border:".1rem solid",borderColor:"$neutral700",outline:"3px solid",outlineColor:"$neutral300",outlineOffset:"0px",span:{color:"white"}},"&:focus":{backgroundColor:"$neutral500",border:".1rem solid",borderColor:"$neutral500",outline:"3px solid",outlineColor:"$neutral300",outlineOffset:"0px",span:{color:"white"}}},red:{backgroundColor:"$red100",border:".1rem solid",borderColor:"$red300",span:{color:"$red700"},"&:hover":{backgroundColor:"$red200",border:".1rem solid",borderColor:"$red400",span:{color:"$red800"},".spanTag":{color:"$red800"}},"&:active":{backgroundColor:"$red300",border:".1rem solid",borderColor:"$red700",outline:"3px solid",outlineColor:"$red200",outlineOffset:"0px",span:{color:"$red900"},".spanTag":{color:"$red900"}},"&:focus":{backgroundColor:"$red100",border:".1rem solid",borderColor:"$red600",outline:"3px solid",outlineColor:"$red200",outlineOffset:"0px",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{backgroundColor:"$blue100",border:".1rem solid",borderColor:"$blue300",span:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",border:".1rem solid",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue300",border:".1rem solid",borderColor:"$red500",outline:"3px solid",outlineColor:"$blue200",outlineOffset:"0px",span:{color:"$blue900"},".spanTag":{color:"$blue900"}},"&:focus":{backgroundColor:"$blue100",border:".1rem solid",borderColor:"$blue300",outline:"3px solid",outlineColor:"$blue200",outlineOffset:"0px",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}},yellow:{backgroundColor:"$yellow50",border:".1rem solid",borderColor:"$yellow300",span:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow100",border:".1rem solid",borderColor:"$yellow400",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",border:".1rem solid",borderColor:"$yellow500",outline:"3px solid",outlineColor:"$yellow200",outlineOffset:"0px",span:{color:"$yellow900"},".spanTag":{color:"$yellow900"}},"&:focus":{backgroundColor:"$yellow50",border:".1rem solid",borderColor:"$yellow300",outline:"3px solid",outlineColor:"$yellow200",outlineOffset:"0px",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}}},TF7={primary:"$teal50",secondary:"$neutral500",tertiary:"$neutral500",orange:"$orange600",red:"$red600",blue:"$celeste600",green:"$green600",yellow:"$yellow600",violet:"$violet600",fuchsia:"$fuchsia600",teal:"$teals600",indigo:"$indigo600",whiteBlue:"$blue600"},EF7={orange:"orange600",gray:"neutral300",red:"red600",blue:"celeste500",green:"green600",default:"neutral500",yellow:"yellow600"},yt2={primary:"lime500",secondary:"neutral200",tertiary:"neutral100",orange:"orange300",red:"red300",blue:"celeste300",green:"green200",yellow:"yellow300",violet:"violet300",fuchsia:"fuchsia300",teal:"teal300",indigo:"indigo300",whiteBlue:"blue100"},wt2={primary:"lime600",secondary:"neutral600",tertiary:"neutral700",orange:"orange500",red:"red600",blue:"celeste700",green:"green600",yellow:"yellow600",violet:"violet600",fuchsia:"fuchsia600",teal:"teal600",indigo:"indigo600",whiteBlue:"blue600"},bt2={primary:"$neutral500",secondary:"$neutral500",tertiary:"$neutral500",orange:"$orange700",red:"$red700",blue:"$celeste700",green:"$green700",yellow:"$yellow700",violet:"$violet700",fuchsia:"$fuchsia700",teal:"$teal700",indigo:"$indigo700",whiteBlue:"$blue700"},Nt2=[{density:"default",css:{height:"3.2rem",padding:"0 1.2rem"}},{density:"comfort",css:{height:"3rem",padding:"0 .8rem"}},{density:"compact",css:{height:"2.6rem",padding:"0 .8rem"}},{density:"default",hasAvatar:!0,css:{height:"3.2rem !important",padding:"0 1.2rem 0 .4rem !important"}},{density:"comfort",hasAvatar:!0,css:{height:"3.2rem !important",padding:"0 1.2rem 0 .4rem !important"}},{density:"compact",hasAvatar:!0,css:{height:"3.2rem !important",padding:"0 1.2rem 0 .4rem !important"}}],kt2=({color:l})=>L.jsx(T,{width:".8rem",height:".8rem",borderRadius:".6rem",border:".2rem solid",borderColor:l,backgroundColor:l,mr:".8rem",ml:".4rem"}),rn=({componentIcon:l,countryCode:c,cordageFlagCode:e,emoji:a,type:s,sizeCountryFlag:o,sizeCordageFlag:n,sizeEmoji:i,isLoading:r,isDefaultLang:t,id:f,typeOphimatic:m,styleOphimatic:z})=>{const u={icon:l,countryFlag:L.jsxs(T,{position:"relative",overflow:"hidden",children:[L.jsx(d6,{size:o??14,code:c??"US",isLoading:r,id:`${f}-countryflag`}),t&&L.jsx(T,{size:"1rem",position:"absolute",bottom:-2,right:-2,id:`${f}-dafault-lang`,children:L.jsx(q0,{src:"/star_sphere.svg",alt:"star",id:f})})]}),cordageFlag:L.jsx(Nc,{text:e??"A",size:n??"1.4rem",isRound:!0,isLoading:r}),emoji:L.jsx(I5,{emoji:a??"📦",size:i??"1.4rem",isLoadingEmoji:r}),ophimatic:L.jsx(dw,{type:m??"word",style:{width:"1.2rem",height:"1.559922rem",...z}})};return L.jsx(T,{width:"auto",borderRadius:s==="cordageFlag"?"1.4rem":"0",overflow:s==="cordageFlag"?"hidden":"auto",display:"flex",alignItems:"center",justifyContent:"center",flexGrow:"1",id:`${f}-container-visual`,children:u[s]})},bw={display:"inline-flex",alignItems:"center",position:"relative",border:".1rem solid",gap:".8rem",borderRadius:".4rem","& span":{fontFamily:"Satoshi-Variable",fontSize:"1.4rem",fontWeight:700,lineHeight:"2rem"}},sz={disabled:{true:{opacity:.5,pointerEvents:"none"},false:{opacity:1,pointerEvents:"auto",cursor:"pointer"}},pill:{true:{borderRadius:"6.4rem"}},notActiveDisplay:{true:{"&:focus":{outlineColor:"transparent"},cursor:"default"},false:{cursor:"pointer"}},density:{default:{height:"3.2rem",padding:"0 1.2rem"},comfort:{height:"3rem",padding:"0 .8rem"},compact:{height:"2.6rem",padding:"0 .8rem"}},hasAvatar:{true:{},false:{}},hasVisualLeft:{true:{},false:{}},hasVisualRight:{true:{},false:{}},hasNotification:{true:{},false:{}},hasOnClick:{true:{cursor:"pointer"},false:{cursor:"default"}}},Jpc=X("div",{...bw,variants:{variant:At2,...sz},compoundVariants:Nt2}),Zpc=X("div",{...bw,border:"none",variants:{variant:vt2,...sz},compoundVariants:Nt2}),$pc=X("div",{...bw,backgroundColor:"white",border:".1rem solid",variants:{variant:St2,...sz},compoundVariants:Nt2}),Xpc=X("div",{...bw,variants:{variant:Ypc,disabled:sz.disabled,pill:sz.pill}}),d3=({tabIndex:l,children:c,variant:e,density:a="default",hasVisualLeft:s,hasVisualRight:o,visualLeft:n,visualRight:i,nameIconLeft:r,nameIconRight:t,emojiLeft:f,emojiRight:m,countryCodeLeft:z,countryCodeRight:u,codeCordageLeft:p,codeCordageRight:M,typeOphimaticLeft:d,typeOphimaticRight:C,styleOphimaticLeft:h,styleOphimaticRight:x,hasAvatar:A,nameIconAvatar:v,hasAvatarBadge:w,nameBadge:b,imgAvatar:N,lettersAvatar:k,customColorAvatar:E,colorIconAvatar:B,hasNotification:I,hasNotificationRight:D,notificationVariant:H,notificationVariantRight:U,notificationColor:j,notificationColorRight:V,notificationContent:Q,notificationContentRight:Y,notificationCustomColor:J,notificationCustomColorRight:K,hasNotificationBorder:o1,hasNotificationBorderRight:r1,notifPositionTooltip:e1,notifTextTooltip:l1,notifPositionTooltipRight:_,notifTextTooltipRight:f1,styleNotification:t1,styleNotificationRight:z1,cssNotification:g1,cssNotificationRight:d1,styles:m1,status:C1,onClick:k1,isDisabled:D1,pill:T1,maxWidth:X1,iconLeftColor:c2,emojiAvatar:O1,notActiveDisplay:p2,hasBorderAvatar:S2,hasShadowAvatar:B1,small:m2,role:k2,...P1})=>L.jsxs(Jpc,{role:k2,"data-testid":"tag-solid",onClick:k1,hasOnClick:!!k1,tabIndex:l??0,variant:e,density:a,disabled:D1??!1,pill:T1,notActiveDisplay:p2,hasAvatar:A,hasVisualLeft:s,hasVisualRight:o,hasNotification:I,style:{maxWidth:X1,...m1},...P1,children:[A&&!s&&L.jsx(u0,{"data-testid":"avatar",size:"xxs",iconName:v,colorIcon:B??bt2[e],customIconSize:"1rem",hasBadge:w,nameBadge:b??"favorite",image:N,letters:k,backgroundColor:E||(k?wt2[e]:yt2[e]),border:S2,hasShadow:B1,emoji:O1}),I&&L.jsx(r4,{position:e1??"topCenter",text:l1,children:L.jsx(U0,{"data-testid":"notification",variant:H??"dot",content:Q,color:j??"blue",customColor:J,hasBorder:o1,css:g1,style:{minWidth:H==="dot"?4:6,...t1}})}),s&&n&&!A&&L.jsx(T,{minWidth:"1.4rem","data-testid":"visual-left",children:L.jsx(rn,{type:n,componentIcon:L.jsx(l2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:r??"faShapes",color:c2?n3(c2):At2[e].span.color,stylesContainer:{display:"flex"}}),countryCode:z,sizeCountryFlag:16,cordageFlagCode:p,sizeCordageFlag:"1.6rem",emoji:f,sizeEmoji:"1.4rem",typeOphimatic:d,styleOphimatic:h})}),C1&&!s&&L.jsx(kt2,{"data-testid":"status-badge",color:TF7[e]}),L.jsx("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:c}),m2&&L.jsx(s0,{variant:"medium",className:"smallTag",children:m2}),D&&L.jsx(r4,{position:_??"topCenter",text:f1,children:L.jsx(U0,{"data-testid":"notification",variant:U??"dot",content:Y,color:V??"blue",customColor:K,hasBorder:r1,css:d1,style:{minWidth:U==="dot"?4:6,...z1}})}),o&&i&&L.jsx(T,{minWidth:"1.4rem",children:L.jsx(rn,{"data-testid":"visual-right",type:i,componentIcon:L.jsx(l2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:t??"faShapes",color:At2[e].span.color,stylesContainer:{display:"flex"}}),countryCode:u,sizeCountryFlag:16,cordageFlagCode:M,sizeCordageFlag:"1.6rem",emoji:m,sizeEmoji:"1.4rem",typeOphimatic:C,styleOphimatic:x})})]}),_pc=X("div",{display:"inline-flex",width:"100%",justifyContent:"space-between",outline:"none",position:"relative",border:"none",backgroundColor:"transparent","&:focus":{backgroundColor:"$blue50 !important",position:"relative"},"&.item-lines":{"&:hover:not(:focus)":{backgroundColor:"$neutral100"}},variants:{hasLettersAvatar:{true:{}},onlyView:{true:{padding:".8rem .0rem !important",cursor:"default","&.item-lines":{"&:hover:not(:focus)":{outline:"none",backgroundColor:"$neutral100"}},"&:focus":{backgroundColor:"$blue50 !important",position:"relative"}},false:{}},disabled:{true:{opacity:.5,cursor:"not-allowed",pointerEvents:"none"}},selected:{true:{backgroundColor:"$blue50 !important","&:hover:not(:focus)":{backgroundColor:"$blue50 !important"}}},unselected:{true:{backgroundColor:"$neutral200 !important"}},variantDensity:{default:{padding:".8rem 1.2rem .8rem 1.2rem !important"},compact:{padding:".5rem .8rem .5rem .8rem !important",minHeight:"3.2rem"}},disableVisualStates:{true:{"&:hover:not(:focus)":{backgroundColor:"transparent !important"},"&:focus":{backgroundColor:"transparent !important"},"&:active":{backgroundColor:"transparent !important"}},false:{}},danger:{true:{".labelItem":{color:"$red600 !important"},".focusableOpac":{color:"$red600 !important"},"i, p":{color:"$red600 !important"},".visualElement svg":{color:"$red600 !important"},"&:hover:not(:focus)":{backgroundColor:"transparent !important"},"&:focus":{backgroundColor:"transparent !important"},"&:active":{backgroundColor:"transparent !important"}},false:{}},onDrag:{true:{backgroundColor:"$blue50 !important",".labelItem":{color:"$blue600 !important"},"i, p":{color:"$blue600 !important"},".visualElement svg":{color:"$blue600 !important"},"&:hover:not(:focus)":{backgroundColor:"$blue50 !important"},"&:focus":{backgroundColor:"$blue50 !important"},"&:active":{backgroundColor:"$blue50 !important"}},false:{}},onlyIcon:{true:{width:"fit-content"},false:{}},highlight:{true:{outline:"2px solid $blue600","&:hover:not(:focus)":{outline:"2px solid $blue600",backgroundColor:"transparent !important"},"&:focus":{outline:"2px solid $blue600",backgroundColor:"transparent !important"},"&:active":{outline:"2px solid $blue600",backgroundColor:"transparent !important"}},false:{}}},compoundVariants:[{selected:!0,css:{backgroundColor:"$blue50 !important",position:"relative"}},{onlyIcon:!0,variantDensity:"default",css:{padding:".8rem .5rem !important"}},{onlyIcon:!0,variantDensity:"compact",css:{padding:".3rem .4rem !important",minHeight:void 0}}]}),cMc=X("div",{display:"flex",alignItems:"center"}),lMc=X(T,{display:"flex",flexDirection:"row",width:"100%",variants:{onlyIcon:{true:{width:"fit-content"},false:{}}}}),eMc=X(T,{display:"flex",width:"fit-content",alignItems:"center",justifyContent:"center",gap:".2rem",padding:"0rem .2rem",borderRadius:".2rem",variants:{type:{valid:{backgroundColor:"$green100",".mini-tag-text":{color:"$green600"}},expired:{backgroundColor:"$red100",".mini-tag-text":{color:"$red600"}},soonExpired:{backgroundColor:"$orange100",".mini-tag-text":{color:"$orange600"}}}}}),aMc=({type:l="valid",colorBadge:c,backgroundColor:e,textColor:a,text:s})=>{const o={valid:"green",expired:"red",soonExpired:"orange"};return L.jsxs(eMc,{type:l,backgroundColor:e,children:[L.jsx(U0,{variant:"dot",color:c??(l?o[l]:void 0),style:{width:".4rem",height:".4rem",outline:"none"}}),L.jsx(Ur2,{className:"mini-tag-text",style:{fontFamily:"Satoshi-Variable",fontSize:".8rem",fontWeight:700,lineHeight:"1.2rem",color:a},children:s})]})},sMc=({variant:l,alignItems:c,hasDrag:e,checked:a,isMCD:s})=>L.jsx(T,{display:"flex",p:l==="compact"?".7rem .8rem":"1rem 1.4rem",gap:l==="compact"?"1.3rem":"1.6rem",width:"100%",alignItems:c==="center"?"center":"flex-start",borderRadius:".4rem",children:s?L.jsx(T,{size:"2rem",ml:".2rem",children:L.jsx(e4,{variant:"light",size:"2rem"})}):L.jsxs(L.Fragment,{children:[L.jsxs(T,{display:"flex",alignItems:c==="center"?"center":"top",mt:".1rem",height:"100%",gap:l==="compact"?"1.6rem":"2rem",children:[e&&L.jsx(on,{type:"drag",size:"2rem"}),a&&L.jsx(w7,{isLoading:!0}),L.jsx(T,{size:"2rem",ml:".2rem",children:L.jsx(e4,{variant:"light",size:"2rem"})})]}),L.jsxs(T,{display:"flex",flexDirection:"column",height:"100%",justifyContent:"center",alignItems:"left",mt:".2rem",children:[L.jsxs(T,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[L.jsx(T,{width:"40%",height:"1.4rem",mb:l==="compact"?".5rem":".7rem",children:L.jsx(E1,{borderRadius:"1.5rem"})}),c==="flex-start"&&L.jsx(T,{display:"flex",height:"100%",alignItems:"top",children:L.jsx(T,{size:l==="compact"?"2rem":"1.6rem",children:L.jsx(e4,{variant:"light",size:l==="compact"?"2rem":"1.6rem"})})})]}),L.jsx(T,{width:"74%",height:l==="compact"?"1.2rem":"1.4rem",children:L.jsx(E1,{borderRadius:"1.5rem"})}),L.jsx(T,{width:"100%",height:l==="compact"?"1.2rem":"1.5rem",mt:l==="compact"?".4rem":".6rem",children:L.jsx(E1,{borderRadius:"1.5rem"})})]}),c==="center"&&L.jsx(T,{display:"flex",height:"100%",alignItems:"center",children:L.jsx(T,{size:l==="compact"?"2rem":"1.6rem",children:L.jsx(e4,{variant:"light",size:l==="compact"?"2rem":"1.6rem"})})})]})}),R5=({avatars:l,maxAvatars:c,variant:e="gray",nameIcon:a,variantIcon:s,style:o,onClick:n,styleIcon:i,styleAvatars:r,onClickIcon:t,styleContainerAvatar:f,size:m="sm",isLoading:z,styleIconContainer:u,iconColor:p})=>L.jsx(hLc,{children:z?L.jsxs(T,{display:"flex",gap:".4rem",alignItems:"center",border:".1rem solid $neutral300",padding:".4rem",borderRadius:"4rem",children:[L.jsx(T,{display:"flex",justifyContent:"center",width:"1.2rem",height:"1.2rem",children:L.jsx(E1,{variant:"light",borderRadius:"999px"})}),L.jsx(T,{display:"flex",justifyContent:"center",width:"2.4rem",height:"2.4rem",children:L.jsx(E1,{variant:"light",borderRadius:"999px"})})]}):L.jsxs(gLc,{variant:e,size:m,isEmpty:!(l.length>=0),style:o,children:[L.jsx(xLc,{"data-avatars":l,onClick:M=>{t&&(M.stopPropagation(),t(M))},style:u,children:a&&L.jsx(l2,{variant:s??"duotone",name:a??"faUser",color:p??"neutral500",styles:{width:m==="sm"?"1.25rem":"1.6rem",height:m==="sm"?"1.25rem":"1.6rem",marginLeft:m==="sm"?".4rem":".5rem",marginRight:m==="sm"?".3rem":".4rem",marginTop:m==="sm"?".2rem":".4rem",...i}})}),l.length>=0?l.slice(0,c).map((M,d)=>L.jsx(ALc,{size:m,isFirst:d===0,style:f,css:{zIndex:100-d},onClick:n,children:L.jsx(u0,{size:m==="sm"?"xxs":"xs",letters:M.letters,image:M.imgSrc,iconName:"faUser",backgroundColor:M.bgColor,isLoading:M.isLoading,hasShadow:l.length>1,style:{cursor:n?"pointer":"default",...r}})},`${M.color}-${d}`)):L.jsx(u0,{size:"xxs"}),oMc({avatars:l,maxAvatars:c})]})}),oMc=({avatars:l,maxAvatars:c,onClick:e,size:a,styleNumbers:s})=>l.length-c<1?null:L.jsx(T,{height:a==="sm"?"2rem":"2.4rem",backgroundColor:"transparent",borderRadius:"2.4rem",onClick:e&&e,ml:".4rem",mr:".4rem",mb:a==="lg"?".4rem":"none",style:{cursor:e?"pointer":"default",...s},children:a==="sm"?L.jsxs(f2,{variant:"bold",css:{color:"$neutral500"},style:{textAlign:"center"},children:["+",l?l.length-c:0]}):L.jsxs(o2,{variant:"bold",css:{color:"$neutral500"},style:{textAlign:"center"},children:["+",l?l.length-c:0]})}),nMc=X("div",{display:"inline-block",alignItems:"center"}),iMc=X("div",{display:"flex",alignItems:"center",variants:{isDisabled:{true:{opacity:.5,cursor:"not-allowed"}},isVertical:{true:{flexDirection:"column-reverse"}}}}),rMc=X("div",{position:"relative",size:"1.6rem",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"1rem",transition:"all .2s ease",border:"1px solid",borderColor:"$neutral400",boxShadow:"0rem 0.1rem 0.2rem -0.1rem rgba(0, 0, 0, 0.1), 0rem 0.1rem 0.3rem rgba(0, 0, 0, 0.1)",variants:{isChecked:{true:{border:"4px solid",backgroundColor:"$blue700",borderColor:"$blue700"},false:{backgroundColor:"white"}},focused:{true:{border:"4px solid",outline:".3rem solid $blue300",borderColor:"$blue700"}}}}),tMc=X("div",{display:"inline-block",borderRadius:"2rem","&:focus":{outline:".3rem solid $blue300"}}),fMc=X("div",{display:"flex",flexDirection:"column","&:focus":{border:"none"},variants:{isVertical:{true:{alignItems:"center",textAlign:"center"}}}}),mMc=X(T,{"&:hover":{backgroundColor:"$neutral200"},variants:{checkedRadio:{true:{"&:hover":{backgroundColor:"$celeste500"},".labelRadio":{color:"$white"}}}}}),PF7=X(T,{variants:{active:{true:{border:".1rem solid $blue600",outline:".4rem solid $blue200"}},focus:{true:{outline:".4rem solid $blue200"}},hasCustomContent:{false:{"&:hover":{backgroundColor:"$neutral50"}}}}}),zMc=X("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",cursor:"pointer",width:"100%",height:"14.4rem",borderRadius:"0.4rem",border:"0.1rem solid $neutral300",gap:"0.8rem",backgroundColor:"$white","&:hover":{outline:"0.3rem solid $blue200"},"&:focus":{outline:"0.3rem solid $blue200"},"&:active":{border:"0.1rem solid $blue600",outline:"0.3rem solid $blue200"}}),Nw=({role:l,checked:c=!1,label:e,styleCheck:a="dot",small:s,id:o,onChange:n,disabled:i,name:r,isVertical:t=!1,style:f,styleContainer:m,customContentLeft:z,onFocus:u,onBlur:p,isLoading:M})=>{const[d,C]=R.useState(!1),h=BP();R.useEffect(()=>{c&&h.setValue(o||null)},[c,o,h]);const x=b=>{b.target.checked&&n&&n(b)},A=b=>{C(!0),u&&u(b)},v=b=>{C(!1),p&&p(b)},w=()=>{!i&&!c&&n&&n({target:{checked:!0,value:o,name:r,type:"radio"},currentTarget:{checked:!0,value:o,name:r,type:"radio"}})};return L.jsx(nMc,{id:`${o}-cont`,style:{opacity:i?.5:1,cursor:i?"not-allowed":"pointer",...f},onClick:w,role:"presentation",children:M?L.jsx(T,{size:"1.6rem",children:L.jsx(e4,{variant:"light"})}):L.jsxs(iMc,{id:`${o}-content`,isDisabled:i,isVertical:t,style:{gap:e||s?".8rem":"none"},children:[L.jsx(Dx2,{role:l,store:h,value:o,name:r,disabled:i,onChange:x,onFocus:A,onBlur:v,checked:c,render:L.jsx(tMc,{"data-testid":"custom-container",tabIndex:0,role:"radio","aria-checked":c,"aria-labelledby":`${o}-label`,style:m,onClick:b=>{b.stopPropagation(),w()},children:L.jsx(rMc,{"data-testid":"radio-container",isChecked:c,focused:d,children:c&&a==="check"?L.jsx(l2,{id:`${o}-check`,name:"faCheck",color:"white",customIconSize:"1rem",variant:"solid"}):L.jsx(T,{size:".8rem",backgroundColor:"white",borderRadius:"50%"})})})}),z&&L.jsx(T,{display:"flex",flexDirection:"column",className:"customContent",style:{flex:1},children:z}),(e||s)&&L.jsxs(fMc,{isVertical:t,onClick:b=>{b.stopPropagation(),w()},onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),w())},style:{cursor:i?"not-allowed":"pointer"},children:[e&&L.jsx(o2,{id:`${o}-label`,variant:t?"bold":"medium",css:{color:"$neutral800",fontSize:"1.6rem",lineHeight:"2.4rem"},role:"label",children:e}),s&&L.jsx(f2,{id:`${o}-supportText`,variant:"regular",css:{color:"$neutral600",fontSize:"1.4rem",lineHeight:"2rem",fontWeight:400},children:s})]})]})})},U5=({type:l="button",customComponent:c,isLoading:e,variantBadge:a,contentBadge:s,colorBadge:o,hasBorderBadge:n,hasBadgeAvatar:i,imgAvatar:r,sizeAvatar:t,emojiAvatar:f,lettersAvatar:m,iconNameAvatar:z,colorIconAvatar:u,hasBorderAvatar:p,hasShadowAvatar:M,nameBadgeAvatar:d,styleContainerAvatar:C,backgroundColorAvatar:h,users:x,onChange:A,checked:v,isDisabled:w,variantBtn:b,sizeBtn:N,iconNameBtn:k,onClickBtn:E,idRadio:B,typeRadio:I,variantBtnPrimary:D,variantBtnSecondary:H,onClickBtnPrimary:U,onClickBtnSecondary:j,iconNameBtnPrimary:V,iconNameBtnSecondary:Q,isDisabledPrimaryBtn:Y,isDisabledSecondaryBtn:J,isBtnPill:K,nameIconAvatarStack:o1,hasActivePrimary:r1,hasActiveSecondary:e1,idToggle:l1,nameToggle:_,valueToggle:f1,nameIconLeftToggle:t1,nameIconRightToggle:z1,isPillToggle:g1,styleContainer:d1,styleContainerBadge:m1,classNameAvatar:C1,densityBtn:k1})=>{const D1={checkbox:L.jsx(w7,{onChange:A,checked:v,disabled:w,isLoading:e}),radio:B&&L.jsx(Nw,{type:I??"radio",id:B,onChange:A,checked:v,disabled:w,isLoading:e}),button:L.jsx(Y2,{as:"div",density:k1??"default",variant:b??"secondary",onClick:T1=>{T1.stopPropagation(),E&&E(T1)},onlyIconButton:!0,size:N??"lg",iconName:k??"faShapes",pill:K,disabled:w}),customComponent:c,doubleOption:L.jsxs(T,{display:"flex",gap:".4rem",children:[L.jsx(Y2,{as:"div",density:k1??"default",variant:D??"secondary",hasActive:r1,onClick:T1=>{T1.stopPropagation(),U&&U(T1)},onlyIconButton:!0,size:N??"lg",iconName:V??"faShapes",pill:K,disabled:Y}),L.jsx(Y2,{as:"div",density:k1??"default",variant:H??"secondary",hasActive:e1,onClick:T1=>{T1.stopPropagation(),j&&j(T1)},onlyIconButton:!0,size:N??"lg",iconName:Q??"faShapes",pill:K,disabled:J})]}),badge:L.jsx(U0,{variant:a||"content",content:s,color:o||"blue",hasBorder:n,styleContainer:m1}),avatar:L.jsx(u0,{classNameAvatar:C1??"classNameAvatar",hasBadge:i,nameBadge:d,image:r,border:p,letters:m,size:t??"xs",hasShadow:M,isLoading:e,iconName:z,colorIcon:u,emoji:f,backgroundColor:h,styleContainerAvatar:{...C}}),users:L.jsx(T,{children:x&&L.jsx(R5,{isLoading:e,variant:"white",nameIcon:o1??"faUserGroup",avatars:x,maxAvatars:3})}),toggle:L.jsx(cz,{variant:"sm",onChange:A,id:l1,nameIconLeft:t1,nameIconRight:z1,name:_,value:f1,checked:v,pill:g1,isLoading:e})};return L.jsx(T,{display:"contents",width:"auto",overflow:l==="customComponent"?"visible":"auto",style:{flex:1,borderRadius:"0rem",...d1},children:e&&l==="doubleOption"?L.jsxs(T,{display:"flex",gap:".4rem",children:[L.jsx(T,{size:"2rem",m:".6rem",children:L.jsx(e4,{variant:"light"})}),L.jsx(T,{size:"2rem",m:".6rem",children:L.jsx(e4,{variant:"light"})})]}):e&&l==="button"?L.jsx(T,{size:"2rem",m:".6rem",children:L.jsx(e4,{variant:"light"})}):D1[l]})},DF7=({badgeText:l,badgeTextSecondary:c,variantBadgeRight:e,colorBadgeRight:a,hasBorderBadgeRight:s,typeOptionsRight:o,variantDensity:n="default",showOptionsOnHover:i,isHovered:r,lettersAvatar:t,logo:f,iconNameAvatar:m,sizeAvatar:z,styleBadgeContainer:u,optionsProps:p})=>L.jsxs(cMc,{style:{gap:(l||o)&&n==="default"?"2rem":(l||o)&&n==="compact"?"1.6rem":"1rem",marginLeft:n==="compact"&&(l||o||c)?"1.1rem":l||o||c?"2.4rem":"0rem",marginTop:n==="compact"?".1rem":"0rem",...u},children:[(c||e)&&(!i||!r)&&L.jsx(T,{display:"flex",justifyContent:"center",alignItems:"center",height:"2.4rem",paddingBottom:n==="compact"?".3rem":"0rem",children:L.jsx(U0,{variant:e??"content",content:c,color:a||"redLight",hasBorder:s})}),(l||o)&&(!i||r)&&L.jsx(U5,{type:o??"badge",contentBadge:l,sizeBtn:"md",variantBadge:"content",lettersAvatar:t,imgAvatar:f,iconNameAvatar:m??"faUser",sizeAvatar:z??"xs",...p})]}),e6=({as:l,badgeText:c,badgeTextSecondary:e,checked:a,colorBadgeRight:s,customComponentLeft:o,colorText:n,css:i,customHeaderComponent:r,dataLetter:t,disabled:f,hasBorderBadgeRight:m=!1,hasCheckBox:z,hasDivider:u,hasOperations:p,iconName:M,iconNameAvatar:d,iconSize:C,iconStyles:h,iconVariant:x,id:A,isLoading:v,isUnselected:w,label:b,lettersAvatar:N,logo:k,selected:E,small:B,isSmallLink:I,variantColorSmallLink:D,variantSmallLink:H,stopPropagation:U=!0,disableKeyDown:j=!1,disableVisualStates:V=!1,tabIndexValue:Q,styleBadgeContainer:Y,styleLeftContainer:J,stylesOperations:K,styleTitleItem:o1,styleVisualLeft:r1,titleItem:e1,typeOperations:l1,typeOptionsRight:_,typeVisualLeft:f1,variantBadgeRight:t1,searchTerm:z1,onChange:g1,onClick:d1,onMouseEnter:m1,onMouseLeave:C1,onKeyPress:k1,variantDensity:D1="default",hasIconLeftSmall:T1,colorIconLeftSmall:X1,customIconSizeLeftSmall:c2,nameIconLeftSmall:O1,textTooltipSmall:p2,positionTooltipSmall:S2,stylesTooltipSmall:B1,stylesTooltipSmallContainer:m2,variantDivider:k2,styleDivider:P1,styleContainerText:A1,styleContainerLabel:H1,styleContainerSmall:I1,styleContainerOperations:u2,showOptionsOnHover:U2,actionTag:h2,onClickLink:y1,tags:w1,numberLinesLabel:e2,numberLinesSmall:K1,className:i2,onlyView:a2=!1,sizeAvatar:M2,badges:X2,badgeTextLabel:F2,colorBadgeLabel:S0,hasBorderBadgeLabel:h0,customContentItem:I0,smalls:v4,styleSmallsContainer:H4,middleAlignment:L0="center",actionBadges:N4,miniTag:h4,colorTagBottom:Z6,isCheckBoxDisabled:l3=!1,isMCD:W3=!1,danger:f6=!1,onDrag:$6=!1,onlyIcon:R4=!1,highlight:A3=!1,...R3})=>{const p1=R3,J1=R3,t2=R3,[I2,x0]=R.useState(a),[b0,W2]=R.useState(!1),w2=s1=>{if(d1&&d1(s1),z&&!l3){const G1=!I2;x0(G1),g1&&g1({target:{checked:G1,name:A}})}},E4=s1=>{W2(!0),m1&&m1(s1)},g2=s1=>{W2(!1),C1&&C1(s1)};return R.useEffect(()=>{x0(a)},[a]),L.jsx(T,{display:"flex",width:"100%",children:v?L.jsx(sMc,{variant:D1,alignItems:L0,hasDrag:!!p,checked:z,isMCD:W3}):L.jsxs(T,{display:"flex",flexDirection:"column",width:"100%",children:[L.jsxs(T,{display:"flex",flexDirection:"column",width:"100%",children:[e1&&L.jsx(T,{onClick:s1=>s1.stopPropagation(),children:L.jsx(Tc,{variant:"default",title:e1,styleContainer:{padding:".8rem 1.6rem",...o1}})}),u&&L.jsx(B0,{variant:k2??"xxs",style:P1})]}),r&&L.jsx(L.Fragment,{children:r}),L.jsxs(_pc,{className:`item-lines ${i2}`,as:l??(a2||_==="customComponent"?"div":u6),id:A,onlyView:a2,"data-letter":t,disabled:f,unselected:w,selected:E,variantDensity:D1,disableVisualStates:V,hasLettersAvatar:!N,danger:f6,onDrag:$6,onlyIcon:R4,highlight:A3,tabIndex:a2?-1:typeof Q=="number"?Q:f?-1:0,"aria-disabled":f,onMouseEnter:a2?void 0:E4,onMouseLeave:a2?void 0:g2,onClick:a2?void 0:s1=>{U&&s1.stopPropagation(),f||(s1.currentTarget.focus(),w2(s1))},onKeyDown:a2?void 0:s1=>{j||(k1&&k1(s1),(s1.key==="Enter"||s1.key===" ")&&!f&&(s1.preventDefault(),U&&s1.stopPropagation(),w2(s1)))},css:{alignItems:L0==="center"?"center":"flex-start",borderRadius:".8rem",...i},children:[L.jsxs(lMc,{gap:(p||z||f1)&&D1==="compact"?"1.2rem":(p||z||f1)&&D1==="default"?"1.6rem":"0rem",style:J,onlyIcon:R4,children:[(p||z)&&L.jsxs(T,{display:"flex",alignItems:L0==="center"?"center":"flex-start",style:u2,children:[p&&L.jsx(on,{type:l1??"drag",size:"2rem",...J1,stylesContainer:{paddingTop:L0==="center"?"none":".4rem",paddingBottom:L0==="center"?".2rem":".none",marginRight:z&&D1==="default"?"1.5rem":z&&D1==="compact"?"1.1rem":"0rem",...K}}),z&&L.jsx(w7,{onChange:g1,checked:I2,disabled:f||l3,styleCheckContainer:{marginTop:L0==="center"?"0rem":".3rem",marginRight:".2rem",marginLeft:".2rem"}})]}),f1&&L.jsx(T,{display:f1?"flex":"none",alignItems:L0==="center"?"center":"flex-start",style:r1,children:L.jsx(B4,{type:R4?"icon":f1??"avatar",componentIcon:R4?L.jsx(T,{display:"flex",alignItems:"center",justifyContent:"center",width:"3.1rem",children:L.jsx(l2,{variant:"regular",name:"faShapes",customIconSize:"2rem",stylesContainer:{padding:".2rem"}})}):void 0,imgAvatar:k,iconNameAvatar:d??"faUser",lettersAvatar:N,sizeAvatar:M2??"xs",styleVisualElement:{marginTop:f1==="icon"?".2rem":"0rem"},custom:o,...t2})}),!R4&&L.jsxs(T,{display:"flex",flexDirection:"column",width:"100%",justifyContent:"space-between",style:{textAlign:"left",...A1},children:[h4&&L.jsx(aMc,{...h4}),L.jsxs(T,{display:"flex",width:"100%",justifyContent:"space-between",flexDirection:"row",height:"100%",alignItems:"center",gap:".4rem",children:[!z1&&(D1==="default"?L.jsx(o2,{variant:"regular",className:"labelItem",css:{display:"-webkit-box",WebkitLineClamp:e2??1,WebkitBoxOrient:"vertical",overflow:"hidden",fontWeight:500,lineHeight:"2.4rem",color:n||"$neutral800"},style:H1,children:b}):L.jsx(f2,{variant:"medium",className:"labelItem",css:{display:"-webkit-box",WebkitLineClamp:e2??1,lineHeight:"2rem",marginTop:".1rem",WebkitBoxOrient:"vertical",overflow:"hidden",fontWeight:500,color:n||"$neutral800",...H1},children:b})),L0==="flex-start"&&!z1&&L.jsx(DF7,{badgeText:c,badgeTextSecondary:e,variantBadgeRight:t1,colorBadgeRight:s,hasBorderBadgeRight:m,typeOptionsRight:_,variantDensity:D1,showOptionsOnHover:U2,isHovered:b0,lettersAvatar:N,logo:k,iconNameAvatar:d,sizeAvatar:M2,styleBadgeContainer:Y,optionsProps:p1})]}),F2&&L.jsx(T,{children:L.jsx(U0,{content:F2,color:S0??"blue",variant:"content",hasBorder:h0??!1,styleContainer:{marginTop:".4rem",marginBottom:".4rem"}})}),(B||I0)&&L.jsxs(T,{display:"flex",marginTop:D1==="compact"?".5rem":".3rem",alignItems:"center",gap:T1?".8rem":void 0,style:I1,children:[T1&&L.jsx(l2,{variant:"regular",name:O1||"faArrowRight",color:X1||"orange500",customIconSize:c2||"1.4rem"}),L.jsx(r4,{position:S2??"topCenter",text:p2??void 0,style:B1,styleContainer:m2,children:D1==="default"?I?L.jsx(O3,{children:B,variant:H??"md",variantColor:D??"blue",onClick:s1=>{s1.stopPropagation(),y1&&y1()},css:{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left"},styleText:{whiteSpace:"break-spaces",overflow:"none"}}):L.jsx(f2,{className:"focusableOpac",variant:"regular",css:{display:"-webkit-box",WebkitLineClamp:K1||2,WebkitBoxOrient:"vertical",overflow:"hidden",color:"$neutral600",...I1},children:B}):L.jsx(w3,{className:"focusableOpac",variant:"regular",css:{display:"-webkit-box",fontSize:"1.2rem",lineHeight:"1.6rem",fontWeight:400,WebkitLineClamp:K1||2,WebkitBoxOrient:"vertical",overflow:"hidden",color:"$neutral600",...I1},children:B})}),I0]}),z1&&L.jsx(T,{display:"flex",width:"100%",flexDirection:"row",style:{position:"relative"},children:L.jsx(xt2,{type:"text",label:b,colorText:n,styleLabel:{margin:0},searchTerm:z1})}),w1&&L.jsx(T,{display:"flex",flexDirection:"row",flexWrap:"wrap",style:{gap:".6rem"},children:w1==null?void 0:w1.map((s1,G1)=>L.jsx(d3,{pill:!0,children:s1.childrenTag,variant:Z6??"secondary",hasVisualLeft:!!(s1.iconName||s1.countryCodeLeft),visualLeft:s1.visualLeft??"icon",countryCodeLeft:s1.countryCodeLeft,nameIconLeft:s1.iconName,onClick:C2=>{C2.stopPropagation(),h2&&h2(s1)},hasBorderAvatar:!1},G1))}),X2&&L.jsx(T,{display:"flex",flexDirection:"row",flexWrap:"wrap",style:{marginTop:".3rem",marginBottom:".3rem",gap:".6rem"},children:X2==null?void 0:X2.map((s1,G1)=>L.jsx(U0,{variant:"content",variantIconLeft:"regular",content:s1.childrenTag,hasIconLeft:!!s1.iconName,nameIconLeft:s1.iconName,colorIconLeft:s1.colorIconLeft,hasIconRight:!!s1.iconNameRight,nameIconRight:s1.iconNameRight,colorIconRight:s1.colorIconRight,color:s1.colorBadgeBottom??"white",sizeIconLeft:s1.sizeIconLeft,sizeIconRight:s1.sizeIconRight,hasBorder:!0,onClick:C2=>{C2.stopPropagation(),N4&&N4(s1)}},`badge-${G1}-${s1.childrenTag}`))}),v4&&L.jsx(T,{style:{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left",...H4},children:v4==null?void 0:v4.map((s1,G1)=>L.jsxs(R.Fragment,{children:[L.jsx(xt2,{type:"item",label:s1,styleLabel:{margin:0},searchTerm:z1}),G1<v4.length-1&&L.jsx(s0,{variant:"regular",color:"$neutral600",children:"・"})]},G1))})]})]}),(L0==="center"||z1)&&L.jsx(DF7,{badgeText:c,badgeTextSecondary:e,variantBadgeRight:t1,colorBadgeRight:s,hasBorderBadgeRight:m,typeOptionsRight:_,variantDensity:D1,showOptionsOnHover:U2,isHovered:b0,lettersAvatar:N,logo:k,iconNameAvatar:d,sizeAvatar:M2,styleBadgeContainer:Y,optionsProps:p1})]})]})})},LMc=({items:l,onClickItem:c,idActive:e,classNameMenu:a,classNameContent:s,classNameSection:o,className:n,styles:i,stylesMenu:r,stylesContent:t,stylesSection:f,styleContainerSection:m,stylesItem:z,stylesTitleSection:u,stylesTitleItem:p,css:M,timeToActive:d=3e3})=>{const C=R.useRef({}),h=R.useRef(null),x=R.useRef(null),{isMobile:A,init:v}=i3(),[w,b]=R.useState(),[N,k]=R.useState(),E=B=>{const I=C.current[B];if(I&&x.current){const D=x.current.getBoundingClientRect().top,U=I.getBoundingClientRect().top-D;x.current.scrollTo({top:x.current.scrollTop+U-4,behavior:"smooth"}),k(B),h.current&&clearTimeout(h.current),h.current=window.setTimeout(()=>{k(void 0)},d)}};return R.useEffect(()=>{var B;if(e)b(e),k(e),E(e);else{const I=A||(B=l[0])==null?void 0:B.id;b(I),k(I),I&&(h.current=window.setTimeout(()=>{k(void 0)},3e3))}return()=>{h.current&&clearTimeout(h.current)}},[l,e]),R.useEffect(()=>v(),[]),L.jsxs(Cpc,{css:M,className:n,style:i,children:[!A&&L.jsx(hpc,{height:"100vh",className:a,style:r,children:l.map((B,I)=>{var D;return L.jsxs(L.Fragment,{children:[B.titleSection&&L.jsx(s0,{variant:"regular",css:{padding:"1.6rem",paddingBottom:".8rem",paddingTop:".8rem",color:"$neutral500",width:"100%",textAlign:"left",display:"inline-block",marginTop:I===0?"1.6rem":"0"},style:p,children:B.titleSection.toLocaleUpperCase()}),L.jsx(e6,{onClick:()=>{E(B.id),b(B.id),c&&c(B)},selected:w===B.id,typeVisualLeft:"icon",middleAlignment:"flex-start",componentIcon:L.jsx(T,{display:"flex",alignItems:"center",justifyContent:"center",minWidth:"2.4rem",minHeight:"2.4rem",children:L.jsx(l2,{name:(B==null?void 0:B.icon)??"faShapes",customIconSize:"2rem",variant:"regular"})}),label:B.label,small:B.sublabel,tags:(D=B==null?void 0:B.langs)==null?void 0:D.map(H=>({id:H.flag,childrenTag:H.text??"EN",visualLeft:"countryFlag",countryCodeLeft:H.flag??"US"})),css:{...z}},B.id),B.hasDivider&&L.jsx(gpc,{})]})})}),L.jsx(xpc,{ref:x,isMobile:A,className:s,style:t,children:l.map((B,I)=>L.jsxs(T,{display:"flex",flexDirection:"column",width:"100%",backgroundColor:"white",ref:D=>C.current[B.id]=D,style:{zIndex:N===B.id?1:0,...m},children:[B.titleSection&&L.jsx(Y4,{variant:"bold",css:{padding:"1.6rem",paddingBottom:".8rem",color:"$neutral800",width:"100%",textAlign:"left"},style:u,children:B.titleSection}),L.jsx(Apc,{active:N===B.id,className:o,marginBottom:I===l.length-1?"19.5vh":"0",style:f,children:B.section},B.id)]}))})]})},uMc=X("div",{height:"22.2rem","& .signatureCanvas":{width:"100%",height:"100% !important",backgroundImage:"radial-gradient(circle at .2rem .2rem, #E3E3E3 .1rem, transparent 0)",backgroundSize:"2.4rem 2.4rem",backgroundColor:"#FAFAFA"}});var FF7={exports:{}};/*!
731
+ */var bF7;function wpc(){return bF7||(bF7=1,process.env.NODE_ENV!=="production"&&function(){function l(t,f){return t===f&&(t!==0||1/t===1/f)||t!==t&&f!==f}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=R,e=BE(),a=typeof Object.is=="function"?Object.is:l,s=e.useSyncExternalStore,o=c.useRef,n=c.useEffect,i=c.useMemo,r=c.useDebugValue;ht2.useSyncExternalStoreWithSelector=function(t,f,m,z,u){var p=o(null);if(p.current===null){var M={hasValue:!1,value:null};p.current=M}else M=p.current;p=i(function(){function C(w){if(!h){if(h=!0,x=w,w=z(w),u!==void 0&&M.hasValue){var b=M.value;if(u(b,w))return A=b}return A=w}if(b=A,a(x,w))return b;var N=z(w);return u!==void 0&&u(b,N)?(x=w,b):(x=w,A=N)}var h=!1,x,A,v=m===void 0?null:m;return[function(){return C(f())},v===null?void 0:function(){return C(v())}]},[f,m,z,u]);var d=s(t,p[0],p[1]);return n(function(){M.hasValue=!0,M.value=d},[d]),r(d),d},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),ht2}process.env.NODE_ENV==="production"?dt2.exports=ypc():dt2.exports=wpc();var bpc=dt2.exports;const Npc=ze(bpc),NF7={},{useDebugValue:kpc}=R,{useSyncExternalStoreWithSelector:Bpc}=Npc;let kF7=!1;const Tpc=l=>l;function Epc(l,c=Tpc,e){(NF7?"production":void 0)!=="production"&&e&&!kF7&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),kF7=!0);const a=Bpc(l.subscribe,l.getState,l.getServerState||l.getInitialState,c,e);return kpc(a),a}const BF7=l=>{(NF7?"production":void 0)!=="production"&&typeof l!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const c=typeof l=="function"?Spc(l):l,e=(a,s)=>Epc(c,a,s);return Object.assign(e,c),e},ww=l=>l?BF7(l):BF7,Ppc=()=>{const l=navigator.userAgent;let c="desktop";/tablet|ipad/i.test(l)?c="tablet":/mobile/i.test(l)&&(c="mobile");let e="uknown-browser";return l.indexOf("Chrome")>-1&&l.indexOf("Edge")===-1?e="Chrome":l.indexOf("Safari")>-1&&l.indexOf("Chrome")===-1?e="Safari":l.indexOf("Firefox")>-1?e="Firefox":l.indexOf("MSIE")>-1||document.documentMode?e="IE":l.indexOf("Edge")>-1&&(e="Edge"),{deviceType:c,browser:e}},i3=ww(l=>({isMobile:window.innerWidth<=440,deviceType:"",browser:"",setIsMobile:c=>l({isMobile:c}),init:(c=440)=>{const{deviceType:e,browser:a}=Ppc();l({deviceType:e,browser:a});const s=()=>{l({isMobile:window.innerWidth<=c})};return s(),window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)}})),Dpc=X("div",{display:"flex",alignItems:"center",justifyContent:"center",width:"1.6rem",height:"2rem"}),Fpc={drag:"fa-grip-dots-vertical",collapsed:"fa-chevron-down",expanded:"fa-chevron-right",indeterminate:"fa-minus"},on=({type:l="drag",size:c,stylesIcon:e,stylesContainer:a,classNameContainer:s,classNameIcon:o})=>L.jsx(Dpc,{style:a,className:s,children:L.jsx(jr2,{size:c??"1.6rem",className:`fa-solid ${Fpc[l]} ${o}`,color:"var(--colors-neutral500)",style:e})}),Ipc=X("div",{display:"flex",flexDirection:"row",position:"relative",variants:{fullWidth:{true:{width:"100%"}}}}),Hpc=X("div",{display:"flex",flexDirection:"row",justifyContent:"space-between",variants:{isDisabled:{true:{opacity:.5,cursor:"not-allowed"},false:{cursor:"pointer"}},alignment:{top:{alignItems:"flex-start"},center:{alignItems:"center"}},fullWidth:{true:{width:"100%"}}}}),Rpc=X("div",{display:"flex",alignItems:"center",justifyContent:"center",width:"1.6rem",height:"1.6rem",borderRadius:".2rem",border:".1rem solid",transition:"all ease .2s","&:hover":{borderColor:"$neutral500"},"&:focus":{outline:".2rem solid $blue300",borderColor:"$blue600"},variants:{checked:{true:{backgroundColor:"$blue700",borderColor:"$blue700"},false:{backgroundColor:"$neutral50",borderColor:"$neutral400"}},focused:{true:{outline:".2rem solid $blue300"}},disabled:{true:{opacity:.5}}}}),Upc=X("div",{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",marginLeft:"1.6rem"}),jpc=X("div",{display:"flex",alignItems:"center",variants:{hasIcon:{true:{gap:"1.6rem"},false:{gap:".8rem"}}}}),w7=({label:l,small:c,checked:e,onChange:a,focus:s,disabled:o,indeterminate:n,onFocus:i,onBlur:r,id:t,customStyle:f,emoji:m,icon:z,classNameText:u,onlyCheckboxDisabled:p,className:M,style:d,customContentLeft:C,customContenItem:h,visualElement:x,align:A="center",styleCheckContainer:v,isLoading:w})=>{const[b,N]=R.useState(e||!1),[k,E]=R.useState(s||!1);R.useEffect(()=>{e!==void 0&&b!==e&&N(e)},[e]),R.useEffect(()=>{s!==void 0&&E(s)},[s]);const B=U=>{if(o||p)return;const j=!b;N(j),a&&a({target:{checked:j,name:t}})},I=U=>{E(!0),i==null||i(U)},D=U=>{E(!1),r==null||r(U)},H=!!(h||x);return w?L.jsx(T,{width:"1.6rem",height:"1.6rem",children:L.jsx(E1,{variant:"light",viewBox:"100%",borderRadius:"2px"})}):L.jsx(Ipc,{id:`${t}-cont`,className:M,style:d,fullWidth:H,children:L.jsxs(Hpc,{id:`${t}-content`,onClick:U=>{U.stopPropagation(),B()},style:f,isDisabled:o||p,alignment:H&&A==="top"?"top":"center",fullWidth:H,children:[L.jsx(UP,{checked:b,disabled:o||p,onFocus:I,onBlur:D,onChange:U=>{U.stopPropagation()},render:L.jsx(Rpc,{id:`${t}-cont-check`,tabIndex:0,role:"checkbox","aria-checked":b,"aria-labelledby":`${t}-label`,style:v,checked:b,focused:k,disabled:p,onClick:U=>{U.stopPropagation(),B()},children:b&&!n?L.jsx(l2,{id:`${t}-check`,name:"faCheck",color:"white",customIconSize:"1rem",variant:"solid"}):b&&n&&L.jsx(l2,{"data-testid":"minus-icon",name:"faMinus",color:"white",customIconSize:"1rem",variant:"solid"})})}),(l||c)&&!h&&L.jsxs(Upc,{children:[L.jsxs(jpc,{hasIcon:!!z,children:[m&&L.jsx(I5,{emoji:m,size:"1.6rem"}),z&&L.jsx(T,{style:{padding:".6rem"},children:L.jsx(l2,{name:z,variant:"regular",customIconSize:"2rem",className:u})}),C,L.jsx(o2,{id:`${t}-label`,variant:"medium",className:u,color:"$neutral800",role:"label",children:l})]}),c&&L.jsx(o2,{id:`${t}-supportText`,variant:"regular",className:u,color:"$neutral600",children:c})]}),h&&L.jsx(T,{className:"customContent",display:"flex",flexDirection:"column",children:h})]})})},T3=X("p",{color:"$gray700",variants:Btc}),r3=X("h5",{color:"$gray700",variants:{variant:{light:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$light",lineHeight:"$h5"},regular:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$regular",lineHeight:"$h5"},medium:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$medium",lineHeight:"$h5"},bold:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$bold",lineHeight:"$h5"},black:{fontSize:"$h5",fontFamily:"$satoshi",fontWeight:"$black",lineHeight:"$h5"},light2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$light",lineHeight:"$h5"},regular2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$regular",lineHeight:"$h5"},medium2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$medium",lineHeight:"$h5"},bold2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$bold",lineHeight:"$h5"},black2:{fontSize:"$h5",fontFamily:"$lora",fontWeight:"$black",lineHeight:"$h5"}}}}),nn={icon:{xs:"1rem",sm:"1.2rem",md:"1.4rem",lg:"1.6rem",xl:"1.8rem"},cordageFlag:{xs:"1rem",sm:"1.2rem",md:"1.4rem",lg:"1.6rem",xl:"1.8rem"},countryFlag:{xs:10,sm:12,md:14,lg:16,xl:18}},ez={xs:".2rem",sm:".3rem",md:".3rem",lg:".4rem",xl:".4rem"},Vpc=X("a",{display:"inline-flex",alignItems:"center",padding:"0rem .1rem",border:"none",outline:"none",variants:{disabled:{true:{cursor:"none",opacity:.5,pointerEvents:"none"},false:{cursor:"pointer",opacity:1,pointerEvents:"auto"}},hasUnderline:{true:{},false:{}},variantColor:{blue:{border:"none","p, small, h5, svg":{color:"$blue700"},"&:hover":{"p, small, h5, svg":{color:"$blue700"}},"&:active":{"p, small, h5, svg":{color:"$blue800"}},"&:visited":{"p, small, h5, svg":{color:"$violet800"}}},gray:{"p, small, h5, svg":{color:"$neutral500"},"&:hover":{"p, small, h5, svg":{color:"$violet600"}},"&:active":{"p, small, h5, svg":{color:"$violet800"}},"&:visited":{"p, small, h5, svg":{color:"$violet700"}}},black:{"p, small, h5, svg":{color:"$neutral800"},"&:hover":{"p, small, h5, svg":{color:"$blue700"}},"&:active":{"p, small, h5, svg":{color:"$blue700"}},"&:visited":{"p, small, h5, svg":{color:"$neutral500"}}},orange:{"p, small, h5, svg":{color:"$orange600"},"&:hover":{"p, small, h5, svg":{color:"$orange600"}},"&:active":{"p, small, h5, svg":{color:"$orange700"}},"&:visited":{"p, small, h5, svg":{color:"$orange800"}}}},variant:{xs:{textUnderlineOffset:ez.xs,gap:".4rem"},sm:{textUnderlineOffset:ez.sm,gap:".4rem"},md:{textUnderlineOffset:ez.md,gap:".4rem"},lg:{textUnderlineOffset:ez.lg,gap:".8rem"},xl:{textUnderlineOffset:ez.xl,gap:".8rem"}}},compoundVariants:[{disabled:!0,variantColor:"blue",css:{"p, small, h5, svg":{color:"$neutral800"}}},{disabled:!0,variantColor:"black",css:{"p, small, h5, svg":{color:"$neutral500"}}},{disabled:!0,variantColor:"gray",css:{"p, small, h5, svg":{color:"$neutral500"}}},{disabled:!0,variantColor:"orange",css:{"p, small, h5, svg":{color:"$neutral800"}}},{hasUnderline:!0,disabled:!1,variantColor:"blue",css:{textDecoration:"underline",textDecorationThickness:".1rem",textDecorationColor:"$blue700","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!1,disabled:!1,variantColor:"blue",css:{textDecoration:"none","&:hover":{textDecoration:"underline",textDecorationColor:"$blue700"},"&:active":{textDecoration:"underline",textDecorationColor:"$blue800"},"&:visited":{textDecoration:"none"}}},{hasUnderline:!0,disabled:!1,variantColor:"black",css:{textDecoration:"underline",textDecorationThickness:".1rem",textDecorationColor:"$neutral800","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!1,disabled:!1,variantColor:"black",css:{textDecoration:"none","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!0,disabled:!1,variantColor:"gray",css:{textDecoration:"underline",textDecorationThickness:".1rem",textDecorationColor:"$neutral500","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!1,disabled:!1,variantColor:"gray",css:{textDecoration:"none","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!0,disabled:!1,variantColor:"orange",css:{textDecoration:"underline",textDecorationThickness:".1rem",textDecorationColor:"$orange600","&:hover, &:active, &:visited":{textDecoration:"none"}}},{hasUnderline:!1,disabled:!1,variantColor:"orange",css:{textDecoration:"none","&:hover":{textDecoration:"underline",textDecorationColor:"$orange600"},"&:active":{textDecoration:"underline",textDecorationColor:"$orange700"},"&:visited":{textDecoration:"none"}}}],defaultVariants:{variantColor:"blue",variant:"lg",disabled:!1,hasUnderline:!1}}),O3=({children:l,variant:c,variantColor:e="blue",hasUnderline:a,onClick:s,href:o,disabled:n=!1,color:i,style:r,styleContainer:t,tabIndex:f,classNameContainer:m,classNameAnchor:z,hasVisualLeft:u,hasVisualRight:p,visualLeft:M,nameIconLeft:d,nameIconRight:C,visualRight:h,countryCodeLeft:x,countryCodeRight:A,codeCordageLeft:v,codeCordageRight:w,styleText:b,styleIconLeft:N,styleIconRight:k,css:E})=>{const B={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"};return L.jsx(T,{maxHeight:"2rem",alignItems:"center",display:"inline",className:m,style:{boxSizing:"border-box",...t},children:L.jsxs(Vpc,{role:"link",onClick:s,tabIndex:f??0,href:o,variantColor:e,disabled:n??!1,hasUnderline:a??!1,color:i,variant:c,className:z,style:r,css:E,children:[u&&L.jsx(B4,{type:M??"icon",componentIcon:L.jsx(l2,{variant:"regular",customIconSize:nn.icon[c],name:d??"faShapes",stylesContainer:{display:"flex",...N}}),countryCode:x,sizeCountryFlag:nn.countryFlag[c],cordageFlagCode:v,sizeCordageFlag:nn.cordageFlag[c]}),c==="xs"&&L.jsx(T3,{color:i,variant:"bold",style:{lineHeight:"1.7rem",...B,...b},children:l}),c==="sm"&&L.jsx(s0,{color:i,variant:"bold",style:{...B,...b},children:l}),c==="md"&&L.jsx(f2,{color:i,variant:"bold",style:{...B,...b},children:l}),c==="lg"&&L.jsx(o2,{color:i,variant:"bold",style:{...B,...b},children:l}),c==="xl"&&L.jsx(r3,{color:i,variant:"bold",style:{...B,...b},children:l}),p&&L.jsx(B4,{type:h??"icon",componentIcon:L.jsx(l2,{variant:"regular",customIconSize:nn.icon[c],name:C??"faShapes",stylesContainer:{display:"flex",...k}}),countryCode:A,sizeCountryFlag:nn.countryFlag[c],cordageFlagCode:w,sizeCordageFlag:nn.cordageFlag[c]})]})})},qpc=X("div",{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"}),gt2=({children:l,linkText:c,onClickLink:e,customComponentRight:a,styleTextDefault:s})=>L.jsxs(qpc,{children:[L.jsx(dr,{css:{color:"$neutral500",fontSize:"1.2rem",lineHeight:"1.6rem",fontWeight:500,...s},children:l}),a,c&&L.jsx(O3,{variant:"sm",children:c,onClick:e,color:"$blue700"})]}),Opc=(l,c,e)=>L.jsxs(T,{display:"flex",width:"100%",alignItems:"center",justifyContent:"space-between",children:[L.jsx(gt2,{children:l.title}),L.jsxs(T,{display:"flex",gap:"1.6rem",alignItems:"center",children:[l.contentBadge&&L.jsx(U0,{variant:"simple",content:l.contentBadge}),l.textAll&&L.jsx(i0,{variant:"secondary",size:"xs",hasVisualLeft:!0,iconName:"faPlus",children:l.textAll,pill:!0,onClick:c}),L.jsx(l2,{variant:"regular",name:l.nameIconChevron??"faChevronDown",customIconSize:"1.4rem",onClick:e})]})]}),Qpc=X("a",{display:"flex",flexDirection:"row",alignItems:"center",padding:0,"&:hover, &:active":{"p, h4, small, svg":{color:"$neutral800 !important"}}}),az=({children:l,variant:c="sm",onClick:e,href:a,iconName:s,isActive:o})=>L.jsxs(Qpc,{role:"breadcrumb",onClick:o?void 0:e,href:a,style:{gap:c!=="lg"?".4rem":".8rem",pointerEvents:o?"none":"auto",cursor:o?"default":"pointer"},children:[s&&L.jsx(T,{display:"flex",justifyContent:"center",style:{width:c==="sm"?"1.2rem":c==="md"?"1.4rem":"2rem",height:c==="sm"?"1.2rem":c==="md"?"1.4rem":"2rem"},children:L.jsx(l2,{name:s,customIconSize:c==="sm"?"1.2rem":c==="md"?"1.4rem":"2rem",variant:"regular",color:o?"neutral800":"orange600"})}),c==="sm"?L.jsx(s0,{variant:"bold",color:o?"neutral800":"orange600",children:l}):c==="md"?L.jsx(f2,{variant:"bold",color:o?"neutral800":"orange600",style:{lineHeight:"2rem",fontSize:"1.4rem"},children:l}):L.jsx(Y4,{variant:"bold",color:o?"neutral800":"orange600",children:l})]}),Gpc=(l,c,e)=>L.jsxs(T,{display:"flex",flexDirection:"column",gap:"1.2rem",width:"100%",children:[L.jsxs(T,{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",children:[L.jsx(T,{display:"flex",alignItems:"center",gap:"1.6rem",children:l.map((a,s)=>L.jsx(az,{variant:a.variant??"sm",children:a.children,href:a.href,onClick:o=>c==null?void 0:c(a,o),isActive:s===l.length-1,iconName:"faAngleLeft"},s))}),L.jsx(Y2,{variant:"tertiary",size:"md",onlyIconButton:!0,iconName:"faSearch",density:"comfort",onClick:e})]}),L.jsx(B0,{variant:"xxs"})]}),Wpc=(l,c)=>L.jsxs(T,{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1.6rem",width:"100%",children:[L.jsxs(T,{display:"flex",gap:".8rem",alignItems:"center",children:[L.jsx(u0,{hasBadge:l.hasBadgeAvatar,nameBadge:l.nameBadgeAvatar,image:l.imgAvatar,border:l.hasBorderAvatar,letters:l.lettersAvatar,size:"xxs",hasShadow:l.hasShadowAvatar,iconName:l.iconNameAvatar,colorIcon:l.colorIconAvatar,emoji:l.emojiAvatar,backgroundColor:l.backgroundColorAvatar,styleContainerAvatar:l.styleContainerAvatar}),L.jsx(gt2,{children:l.title})]}),L.jsx(O3,{variant:"sm",children:l.linkText,onClick:c,color:"$blue700"})]}),Kpc=()=>L.jsx(T,{width:"6.4rem",height:"1.2rem",children:L.jsx(E1,{viewBox:"100%",variant:"light"})}),Tc=({onClickBtnAll:l,onBreadcrumbClick:c,onClickIconChevronDown:e,onClickSearch:a,onClickLink:s,customComponentRight:o,styleTextDefault:n,...i})=>{const{variant:r,breadcrumbItems:t=[]}=i;return L.jsxs(T,{display:"flex",alignItems:"center",width:"100%",style:i.styleContainer,children:[r==="default"&&L.jsx(gt2,{linkText:i.linkText,onClickLink:s,customComponentRight:o,styleTextDefault:{...n},children:i.title}),r==="breadcrumb"&&Gpc(t,c,a),r==="avatar"&&Wpc(i,s),r==="groupal"&&Opc(i,l,e),r==="loading"&&Kpc()]})},xt2=({type:l="item",label:c,searchTerm:e,colorText:a,linesShow:s,styleLabel:o,variant:n="default",isGrayedOut:i=!1})=>{const r=typeof e=="string"?[e]:e,t=Array.isArray(r)&&r.filter(Boolean).length>0,f=t?r.filter(Boolean).map(d=>d.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")):[],m=t?new RegExp(`(${f.join("|")})`,"gi"):null,z=t&&m?c.split(m):[c],u=()=>L.jsx(L.Fragment,{children:e?z.map((d,C)=>t&&m.test(d??"")&&!i?L.jsx("span",{style:{fontFamily:"Satoshi-Bold",fontWeight:700,lineHeight:l==="item"?"1.6rem":"2.4rem",fontSize:l==="item"?"1.2rem":"1.6rem"},children:d},C):L.jsx("span",{style:{fontFamily:l==="item"?"Satoshi-Regular":"Satoshi-Medium",fontWeight:l==="item"?400:500,lineHeight:l==="item"?"1.6rem":"2.4rem",fontSize:l==="item"?"1.2rem":"1.6rem"},children:d},C)):c}),p=i?"$neutral400":a??"$neutral800",M={card:L.jsx(f2,{className:"labelItem",variant:"medium",css:{color:p},style:{display:"-webkit-box",WebkitLineClamp:s??2,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left",margin:".4rem 0rem",...o},children:u()}),item:L.jsx(s0,{variant:"regular",color:a??"$neutral600",css:{fontSize:"1.2rem",color:p},children:u()}),text:n==="compact"?L.jsx(f2,{className:"labelItem",variant:"medium",css:{color:p},style:{display:"-webkit-box",WebkitLineClamp:s??2,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left",margin:".4rem 0rem",...o},children:u()}):L.jsx(o2,{className:"labelItem",variant:"medium",css:{color:p},style:{display:"-webkit-box",WebkitLineClamp:s??2,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left",margin:".4rem 0rem",...o},children:u()})};return L.jsx(L.Fragment,{children:M[l]})},At2={primary:{backgroundColor:"$teal700",borderColor:"$teal700",span:{color:"white"},svg:{color:"white"},".smallTag":{color:"white"},"&:hover":{backgroundColor:"$teal800",borderColor:"$teal800"},"&:focus":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500"},"&:active":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500"}},secondary:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},".spanTag":{color:"neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral500"},"&:hover":{backgroundColor:"$neutral100",borderColor:"$neutral400",svg:{color:"$neutral700"},span:{color:"$neutral700"},".smallTag":{color:"$neutral600"}},"&:focus":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"},".smallTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"},".smallTag":{color:"$neutral700"}}},tertiary:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral500"},"&:hover":{backgroundColor:"white",borderColor:"$orange300",span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:focus":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"},".smallTag":{color:"$neutral500"}},"&:active":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"},".smallTag":{color:"$neutral500"}}},orange:{backgroundColor:"$orange100",borderColor:"$orange400",span:{color:"$orange600"},svg:{color:"$orange600"},".smallTag":{color:"$orange500"},"&:hover":{backgroundColor:"$orange200",borderColor:"$orange500",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}},"&:focus":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"},".smallTag":{color:"$orange600"}}},red:{backgroundColor:"$red100",borderColor:"$red300",span:{color:"$red600"},svg:{color:"$red600"},".smallTag":{color:"$red500"},"&:hover":{backgroundColor:"$red200",borderColor:"$red400",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}},"&:focus":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}},"&:active":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"},".smallTag":{color:"$red600"}}},blue:{backgroundColor:"$blue100",borderColor:"$blue300",span:{color:"$blue700"},svg:{color:"$blue700"},".smallTag":{color:"$blue600"},"&:hover":{backgroundColor:"$blue200",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}},"&:focus":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}},"&:active":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"},".smallTag":{color:"$blue700"}}},green:{backgroundColor:"$green100",borderColor:"$green600",span:{color:"$green700"},svg:{color:"$green700"},".smallTag":{color:"$green600"},"&:hover":{backgroundColor:"$green200",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}},"&:focus":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}},"&:active":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"},".smallTag":{color:"$green700"}}},yellow:{backgroundColor:"$yellow100",borderColor:"$yellow600",span:{color:"$yellow700"},svg:{color:"$yellow700"},".smallTag":{color:"$yellow600"},"&:hover":{backgroundColor:"$yellow200",borderColor:"$yellow700",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"},".smallTag":{color:"$yellow700"}},"&:focus":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"},".smallTag":{color:"$yellow600"}},"&:active":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"},".smallTag":{color:"$yellow600"}}},violet:{backgroundColor:"$violet100",borderColor:"$violet600",span:{color:"$violet700"},svg:{color:"$violet700"},".smallTag":{color:"$violet600"},"&:hover":{backgroundColor:"$violet200",borderColor:"$violet700",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}},"&:focus":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}},"&:active":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"},".smallTag":{color:"$violet700"}}},fuchsia:{backgroundColor:"$fuchsia100",borderColor:"$fuchsia600",span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},".smallTag":{color:"$fuchsia600"},"&:hover":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia700",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}},"&:focus":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}},"&:active":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"},".smallTag":{color:"$fuchsia700"}}},teal:{backgroundColor:"$teal100",borderColor:"$teal600",span:{color:"$teal700"},svg:{color:"$teal700"},".smallTag":{color:"$teal600"},"&:hover":{backgroundColor:"$teal200",borderColor:"$teal700",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}},"&:focus":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}},"&:active":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"},".smallTag":{color:"$teal700"}}},indigo:{backgroundColor:"$indigo100",borderColor:"$indigo600",span:{color:"$indigo700"},svg:{color:"$indigo700"},".smallTag":{color:"$indigo600"},"&:hover":{backgroundColor:"$indigo200",borderColor:"$indigo700",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}},"&:focus":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}},"&:active":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"},".smallTag":{color:"$indigo700"}}},whiteBlue:{backgroundColor:"white",borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},".smallTag":{color:"$neutral700"},"&:hover":{borderColor:"$blue400",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}},"&:focus":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}},"&:active":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"},".smallTag":{color:"$neutral600"}}}},vt2={primary:{span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal800",span:{color:"white"},".spanTag":{color:"white"}},"&:active":{backgroundColor:"$teal800",outline:".4rem solid",outlineColor:"$teal500",span:{color:"white"},".spanTag":{color:"white"}}},secondary:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",outline:".4rem solid",outlineColor:"$neutral200",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},tertiary:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange100",outline:".4rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"}}},orange:{span:{color:"$orange600"},svg:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",span:{color:"$orange700"},".spanTag":{color:"$orange700"}},"&:active":{backgroundColor:"$orange200",outline:".4rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},red:{span:{color:"$red600"},svg:{color:"$red600"},"&:hover":{backgroundColor:"$red200",span:{color:"$red700"},".spanTag":{color:"$red700"}},"&:active":{backgroundColor:"$red200",outline:".4rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{span:{color:"$blue700"},svg:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue200",outline:".4rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"}}},green:{span:{color:"$green700"},svg:{color:"$green700"},"&:hover":{backgroundColor:"$green200",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green200",outline:".4rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"}}},yellow:{span:{color:"$yellow700"},svg:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow200",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",outline:".4rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}},violet:{span:{color:"$violet700"},svg:{color:"$violet700"},"&:hover":{backgroundColor:"$violet200",span:{color:"$violet800"},".spanTag":{color:"$violet800"}},"&:active":{backgroundColor:"$violet200",outline:".4rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"}}},fuchsia:{span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},"&:hover":{backgroundColor:"$fuchsia200",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}},"&:active":{backgroundColor:"$fuchsia200",outline:".4rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}}},teal:{span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal200",span:{color:"$teal800"},".spanTag":{color:"$teal800"}},"&:active":{backgroundColor:"$teal200",outline:".4rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"}}},indigo:{span:{color:"$indigo700"},svg:{color:"$indigo700"},"&:hover":{backgroundColor:"$indigo200",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}},"&:active":{backgroundColor:"$indigo200",outline:".4rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}}},whiteBlue:{span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{span:{color:"$blue700"},".spanTag":{color:"$blue700"}},"&:active":{outline:".4rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}}},St2={primary:{borderColor:"$teal700",span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal800",borderColor:"$teal800",span:{color:"white"},".spanTag":{color:"white"}},"&:active":{backgroundColor:"$teal800",borderColor:"$teal800",outline:".3rem solid",outlineColor:"$teal500",span:{color:"white"},".spanTag":{color:"white"}}},secondary:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",borderColor:"$neutral400",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral100",borderColor:"$neutral300",outline:".3rem solid",outlineColor:"$neutral200",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},tertiary:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{borderColor:"$orange300",span:{color:"$orange600"},".spanTag":{color:"$orange600"}},"&:active":{backgroundColor:"$orange100",borderColor:"$orange300",outline:".3rem solid",outlineColor:"$orange200",span:{color:"$orange600"},".spanTag":{color:"$orange600"}}},orange:{borderColor:"$orange300",span:{color:"$orange600"},svg:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",borderColor:"$orange400",span:{color:"$orange700"},".spanTag":{color:"$orange700"}},"&:active":{backgroundColor:"$orange200",borderColor:"$orange400",outline:".3rem solid",outlineColor:"$orange300",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},red:{borderColor:"$red300",span:{color:"$red600"},svg:{color:"$red600"},"&:hover":{backgroundColor:"$red200",borderColor:"$red400",span:{color:"$red700"},".spanTag":{color:"$red700"}},"&:active":{backgroundColor:"$red200",borderColor:"$red400",outline:".3rem solid",outlineColor:"$red300",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{borderColor:"$blue300",span:{color:"$blue700"},svg:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue200",borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue800"},".spanTag":{color:"$blue800"}}},green:{borderColor:"$green600",span:{color:"$green700"},svg:{color:"$green700"},"&:hover":{backgroundColor:"$green200",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green200",borderColor:"$green500",outline:".3rem solid",outlineColor:"$green300",span:{color:"$green800"},".spanTag":{color:"$green800"}}},yellow:{borderColor:"$yellow600",span:{color:"$yellow700"},svg:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow200",borderColor:"$yellow700",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",borderColor:"$yellow500",outline:".3rem solid",outlineColor:"$yellow300",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}},violet:{borderColor:"$violet600",span:{color:"$violet700"},svg:{color:"$violet700"},"&:hover":{backgroundColor:"$violet200",borderColor:"$violet700",span:{color:"$violet800"},".spanTag":{color:"$violet800"}},"&:active":{backgroundColor:"$violet200",borderColor:"$violet400",outline:".3rem solid",outlineColor:"$violet300",span:{color:"$violet800"},".spanTag":{color:"$violet800"}}},fuchsia:{borderColor:"$fuchsia600",span:{color:"$fuchsia700"},svg:{color:"$fuchsia700"},"&:hover":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia700",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}},"&:active":{backgroundColor:"$fuchsia200",borderColor:"$fuchsia400",outline:".3rem solid",outlineColor:"$fuchsia300",span:{color:"$fuchsia800"},".spanTag":{color:"$fuchsia800"}}},teal:{borderColor:"$teal600",span:{color:"$teal700"},svg:{color:"$teal700"},"&:hover":{backgroundColor:"$teal200",borderColor:"$teal700",span:{color:"$teal800"},".spanTag":{color:"$teal800"}},"&:active":{backgroundColor:"$teal200",borderColor:"$teal400",outline:".3rem solid",outlineColor:"$teal300",span:{color:"$teal800"},".spanTag":{color:"$teal800"}}},indigo:{borderColor:"$indigo600",span:{color:"$indigo700"},svg:{color:"$indigo700"},"&:hover":{backgroundColor:"$indigo200",borderColor:"$indigo700",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}},"&:active":{backgroundColor:"$indigo200",borderColor:"$indigo400",outline:".3rem solid",outlineColor:"$indigo300",span:{color:"$indigo800"},".spanTag":{color:"$indigo800"}}},whiteBlue:{borderColor:"$neutral300",span:{color:"$neutral600"},svg:{color:"$neutral600"},"&:hover":{borderColor:"$blue400",span:{color:"$blue700"},".spanTag":{color:"$blue700"}},"&:active":{borderColor:"$blue400",outline:".3rem solid",outlineColor:"$blue300",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}}},Ypc={green:{backgroundColor:"$green50",border:".1rem solid",borderColor:"$green600",span:{color:"$green700"},"&:hover":{backgroundColor:"$green100",border:".1rem solid",borderColor:"$green700",span:{color:"$green800"},".spanTag":{color:"$green800"}},"&:active":{backgroundColor:"$green300",border:".1rem solid",borderColor:"$green200",outline:"3px solid",outlineColor:"$green400",outlineOffset:"0px",span:{color:"$green900"},".spanTag":{color:"$green900"}},"&:focus":{backgroundColor:"$green50",border:".1rem solid",borderColor:"$green600",outline:"3px solid",outlineColor:"$green400",outlineOffset:"0px",span:{color:"$green700"},".spanTag":{color:"$green700"}}},default:{backgroundColor:"transparent",border:".1rem solid",borderColor:"$neutral300",span:{color:"$neutral600"},"&:hover":{backgroundColor:"$neutral100",border:".1rem solid",borderColor:"$neutral400",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}},"&:active":{backgroundColor:"$neutral200",border:".1rem solid",borderColor:"$neutral500",outline:"3px solid",outlineColor:"$neutral200",outlineOffset:"0px",span:{color:"$neutral800"},".spanTag":{color:"$neutral800"}},"&:focus":{backgroundColor:"transparent",border:".1rem solid",borderColor:"$neutral300",outline:"3px solid",outlineColor:"$neutral200",outlineOffset:"0px",span:{color:"$neutral700"},".spanTag":{color:"$neutral700"}}},orange:{backgroundColor:"$orange100",border:".1rem solid",borderColor:"$orange300",span:{color:"$orange600"},"&:hover":{backgroundColor:"$orange200",border:".1rem solid",borderColor:"$orange400",span:{color:"$orange800"},".spanTag":{color:"$orange800"}},"&:active":{backgroundColor:"$orange300",border:".1rem solid",borderColor:"$orange500",outline:"3px solid",outlineColor:"$orange100",outlineOffset:"0px",span:{color:"$orange900"},".spanTag":{color:"$orange900"}},"&:focus":{backgroundColor:"$orange100",border:".1rem solid",borderColor:"$orange300",outline:"3px solid",outlineColor:"$orange100",outlineOffset:"0px",span:{color:"$orange700"},".spanTag":{color:"$orange700"}}},gray:{backgroundColor:"$neutral500",border:".1rem solid",borderColor:"$neutral500",span:{color:"white"},"&:hover":{backgroundColor:"$neutral600",border:".1rem solid",borderColor:"$neutral600",span:{color:"white"}},"&:active":{backgroundColor:"$neutral700",border:".1rem solid",borderColor:"$neutral700",outline:"3px solid",outlineColor:"$neutral300",outlineOffset:"0px",span:{color:"white"}},"&:focus":{backgroundColor:"$neutral500",border:".1rem solid",borderColor:"$neutral500",outline:"3px solid",outlineColor:"$neutral300",outlineOffset:"0px",span:{color:"white"}}},red:{backgroundColor:"$red100",border:".1rem solid",borderColor:"$red300",span:{color:"$red700"},"&:hover":{backgroundColor:"$red200",border:".1rem solid",borderColor:"$red400",span:{color:"$red800"},".spanTag":{color:"$red800"}},"&:active":{backgroundColor:"$red300",border:".1rem solid",borderColor:"$red700",outline:"3px solid",outlineColor:"$red200",outlineOffset:"0px",span:{color:"$red900"},".spanTag":{color:"$red900"}},"&:focus":{backgroundColor:"$red100",border:".1rem solid",borderColor:"$red600",outline:"3px solid",outlineColor:"$red200",outlineOffset:"0px",span:{color:"$red700"},".spanTag":{color:"$red700"}}},blue:{backgroundColor:"$blue100",border:".1rem solid",borderColor:"$blue300",span:{color:"$blue700"},"&:hover":{backgroundColor:"$blue200",border:".1rem solid",borderColor:"$blue400",span:{color:"$blue800"},".spanTag":{color:"$blue800"}},"&:active":{backgroundColor:"$blue300",border:".1rem solid",borderColor:"$red500",outline:"3px solid",outlineColor:"$blue200",outlineOffset:"0px",span:{color:"$blue900"},".spanTag":{color:"$blue900"}},"&:focus":{backgroundColor:"$blue100",border:".1rem solid",borderColor:"$blue300",outline:"3px solid",outlineColor:"$blue200",outlineOffset:"0px",span:{color:"$blue700"},".spanTag":{color:"$blue700"}}},yellow:{backgroundColor:"$yellow50",border:".1rem solid",borderColor:"$yellow300",span:{color:"$yellow700"},"&:hover":{backgroundColor:"$yellow100",border:".1rem solid",borderColor:"$yellow400",span:{color:"$yellow800"},".spanTag":{color:"$yellow800"}},"&:active":{backgroundColor:"$yellow200",border:".1rem solid",borderColor:"$yellow500",outline:"3px solid",outlineColor:"$yellow200",outlineOffset:"0px",span:{color:"$yellow900"},".spanTag":{color:"$yellow900"}},"&:focus":{backgroundColor:"$yellow50",border:".1rem solid",borderColor:"$yellow300",outline:"3px solid",outlineColor:"$yellow200",outlineOffset:"0px",span:{color:"$yellow700"},".spanTag":{color:"$yellow700"}}}},TF7={primary:"$teal50",secondary:"$neutral500",tertiary:"$neutral500",orange:"$orange600",red:"$red600",blue:"$celeste600",green:"$green600",yellow:"$yellow600",violet:"$violet600",fuchsia:"$fuchsia600",teal:"$teals600",indigo:"$indigo600",whiteBlue:"$blue600"},EF7={orange:"orange600",gray:"neutral300",red:"red600",blue:"celeste500",green:"green600",default:"neutral500",yellow:"yellow600"},yt2={primary:"lime500",secondary:"neutral200",tertiary:"neutral100",orange:"orange300",red:"red300",blue:"celeste300",green:"green200",yellow:"yellow300",violet:"violet300",fuchsia:"fuchsia300",teal:"teal300",indigo:"indigo300",whiteBlue:"blue100"},wt2={primary:"lime600",secondary:"neutral600",tertiary:"neutral700",orange:"orange500",red:"red600",blue:"celeste700",green:"green600",yellow:"yellow600",violet:"violet600",fuchsia:"fuchsia600",teal:"teal600",indigo:"indigo600",whiteBlue:"blue600"},bt2={primary:"$neutral500",secondary:"$neutral500",tertiary:"$neutral500",orange:"$orange700",red:"$red700",blue:"$celeste700",green:"$green700",yellow:"$yellow700",violet:"$violet700",fuchsia:"$fuchsia700",teal:"$teal700",indigo:"$indigo700",whiteBlue:"$blue700"},Nt2=[{density:"default",css:{height:"3.2rem",padding:"0 1.2rem"}},{density:"comfort",css:{height:"3rem",padding:"0 .8rem"}},{density:"compact",css:{height:"2.6rem",padding:"0 .8rem"}},{density:"default",hasAvatar:!0,css:{height:"3.2rem !important",padding:"0 1.2rem 0 .4rem !important"}},{density:"comfort",hasAvatar:!0,css:{height:"3.2rem !important",padding:"0 1.2rem 0 .4rem !important"}},{density:"compact",hasAvatar:!0,css:{height:"3.2rem !important",padding:"0 1.2rem 0 .4rem !important"}}],kt2=({color:l})=>L.jsx(T,{width:".8rem",height:".8rem",borderRadius:".6rem",border:".2rem solid",borderColor:l,backgroundColor:l,mr:".8rem",ml:".4rem"}),rn=({componentIcon:l,countryCode:c,cordageFlagCode:e,emoji:a,type:s,sizeCountryFlag:o,sizeCordageFlag:n,sizeEmoji:i,isLoading:r,isDefaultLang:t,id:f,typeOphimatic:m,styleOphimatic:z})=>{const u={icon:l,countryFlag:L.jsxs(T,{position:"relative",overflow:"hidden",children:[L.jsx(d6,{size:o??14,code:c??"US",isLoading:r,id:`${f}-countryflag`}),t&&L.jsx(T,{size:"1rem",position:"absolute",bottom:-2,right:-2,id:`${f}-dafault-lang`,children:L.jsx(q0,{src:"/star_sphere.svg",alt:"star",id:f})})]}),cordageFlag:L.jsx(Nc,{text:e??"A",size:n??"1.4rem",isRound:!0,isLoading:r}),emoji:L.jsx(I5,{emoji:a??"📦",size:i??"1.4rem",isLoadingEmoji:r}),ophimatic:L.jsx(dw,{type:m??"word",style:{width:"1.2rem",height:"1.559922rem",...z}})};return L.jsx(T,{width:"auto",borderRadius:s==="cordageFlag"?"1.4rem":"0",overflow:s==="cordageFlag"?"hidden":"auto",display:"flex",alignItems:"center",justifyContent:"center",flexGrow:"1",id:`${f}-container-visual`,children:u[s]})},bw={display:"inline-flex",alignItems:"center",position:"relative",border:".1rem solid",gap:".8rem",borderRadius:".4rem","& span":{fontFamily:"Satoshi-Variable",fontSize:"1.4rem",fontWeight:700,lineHeight:"2rem"}},sz={disabled:{true:{opacity:.5,pointerEvents:"none"},false:{opacity:1,pointerEvents:"auto",cursor:"pointer"}},pill:{true:{borderRadius:"6.4rem"}},notActiveDisplay:{true:{"&:focus":{outlineColor:"transparent"},cursor:"default"},false:{cursor:"pointer"}},density:{default:{height:"3.2rem",padding:"0 1.2rem"},comfort:{height:"3rem",padding:"0 .8rem"},compact:{height:"2.6rem",padding:"0 .8rem"}},hasAvatar:{true:{},false:{}},hasVisualLeft:{true:{},false:{}},hasVisualRight:{true:{},false:{}},hasNotification:{true:{},false:{}},hasOnClick:{true:{cursor:"pointer"},false:{cursor:"default"}}},Jpc=X("div",{...bw,variants:{variant:At2,...sz},compoundVariants:Nt2}),Zpc=X("div",{...bw,border:"none",variants:{variant:vt2,...sz},compoundVariants:Nt2}),$pc=X("div",{...bw,backgroundColor:"white",border:".1rem solid",variants:{variant:St2,...sz},compoundVariants:Nt2}),Xpc=X("div",{...bw,variants:{variant:Ypc,disabled:sz.disabled,pill:sz.pill}}),d3=({tabIndex:l,children:c,variant:e,density:a="default",hasVisualLeft:s,hasVisualRight:o,visualLeft:n,visualRight:i,nameIconLeft:r,nameIconRight:t,emojiLeft:f,emojiRight:m,countryCodeLeft:z,countryCodeRight:u,codeCordageLeft:p,codeCordageRight:M,typeOphimaticLeft:d,typeOphimaticRight:C,styleOphimaticLeft:h,styleOphimaticRight:x,hasAvatar:A,nameIconAvatar:v,hasAvatarBadge:w,nameBadge:b,imgAvatar:N,lettersAvatar:k,customColorAvatar:E,colorIconAvatar:B,hasNotification:I,hasNotificationRight:D,notificationVariant:H,notificationVariantRight:U,notificationColor:j,notificationColorRight:V,notificationContent:Q,notificationContentRight:Y,notificationCustomColor:J,notificationCustomColorRight:K,hasNotificationBorder:o1,hasNotificationBorderRight:r1,notifPositionTooltip:e1,notifTextTooltip:l1,notifPositionTooltipRight:_,notifTextTooltipRight:f1,styleNotification:t1,styleNotificationRight:z1,cssNotification:g1,cssNotificationRight:d1,styles:m1,status:C1,onClick:k1,isDisabled:D1,pill:T1,maxWidth:X1,iconLeftColor:c2,emojiAvatar:O1,notActiveDisplay:p2,hasBorderAvatar:S2,hasShadowAvatar:B1,small:m2,role:k2,...P1})=>L.jsxs(Jpc,{role:k2,"data-testid":"tag-solid",onClick:k1,hasOnClick:!!k1,tabIndex:l??0,variant:e,density:a,disabled:D1??!1,pill:T1,notActiveDisplay:p2,hasAvatar:A,hasVisualLeft:s,hasVisualRight:o,hasNotification:I,style:{maxWidth:X1,...m1},...P1,children:[A&&!s&&L.jsx(u0,{"data-testid":"avatar",size:"xxs",iconName:v,colorIcon:B??bt2[e],customIconSize:"1rem",hasBadge:w,nameBadge:b??"favorite",image:N,letters:k,backgroundColor:E||(k?wt2[e]:yt2[e]),border:S2,hasShadow:B1,emoji:O1}),I&&L.jsx(r4,{position:e1??"topCenter",text:l1,children:L.jsx(U0,{"data-testid":"notification",variant:H??"dot",content:Q,color:j??"blue",customColor:J,hasBorder:o1,css:g1,style:{minWidth:H==="dot"?4:6,...t1}})}),s&&n&&!A&&L.jsx(T,{minWidth:"1.4rem","data-testid":"visual-left",children:L.jsx(rn,{type:n,componentIcon:L.jsx(l2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:r??"faShapes",color:c2?n3(c2):At2[e].span.color,stylesContainer:{display:"flex"}}),countryCode:z,sizeCountryFlag:16,cordageFlagCode:p,sizeCordageFlag:"1.6rem",emoji:f,sizeEmoji:"1.4rem",typeOphimatic:d,styleOphimatic:h})}),C1&&!s&&L.jsx(kt2,{"data-testid":"status-badge",color:TF7[e]}),L.jsx("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},children:c}),m2&&L.jsx(s0,{variant:"medium",className:"smallTag",children:m2}),D&&L.jsx(r4,{position:_??"topCenter",text:f1,children:L.jsx(U0,{"data-testid":"notification",variant:U??"dot",content:Y,color:V??"blue",customColor:K,hasBorder:r1,css:d1,style:{minWidth:U==="dot"?4:6,...z1}})}),o&&i&&L.jsx(T,{minWidth:"1.4rem",children:L.jsx(rn,{"data-testid":"visual-right",type:i,componentIcon:L.jsx(l2,{className:"spanTag",customIconSize:"1.4rem",variant:"regular",name:t??"faShapes",color:At2[e].span.color,stylesContainer:{display:"flex"}}),countryCode:u,sizeCountryFlag:16,cordageFlagCode:M,sizeCordageFlag:"1.6rem",emoji:m,sizeEmoji:"1.4rem",typeOphimatic:C,styleOphimatic:x})})]}),_pc=X("div",{display:"inline-flex",width:"100%",justifyContent:"space-between",outline:"none",position:"relative",border:"none",backgroundColor:"transparent","&:focus":{backgroundColor:"$blue50 !important",position:"relative"},"&.item-lines":{"&:hover:not(:focus)":{backgroundColor:"$neutral100"}},variants:{hasLettersAvatar:{true:{}},onlyView:{true:{padding:".8rem .0rem !important",cursor:"default","&.item-lines":{"&:hover:not(:focus)":{outline:"none",backgroundColor:"$neutral100"}},"&:focus":{backgroundColor:"$blue50 !important",position:"relative"}},false:{}},disabled:{true:{opacity:.5,cursor:"not-allowed",pointerEvents:"none"}},selected:{true:{backgroundColor:"$blue50 !important","&:hover:not(:focus)":{backgroundColor:"$blue50 !important"}}},unselected:{true:{backgroundColor:"$neutral200 !important"}},variantDensity:{default:{padding:".8rem 1.2rem .8rem 1.2rem !important"},compact:{padding:".5rem .8rem .5rem .8rem !important",minHeight:"3.2rem"}},disableVisualStates:{true:{"&:hover:not(:focus)":{backgroundColor:"transparent !important"},"&:focus":{backgroundColor:"transparent !important"},"&:active":{backgroundColor:"transparent !important"}},false:{}},danger:{true:{".labelItem":{color:"$red600 !important"},".focusableOpac":{color:"$red600 !important"},"i, p":{color:"$red600 !important"},".visualElement svg":{color:"$red600 !important"},"&:hover:not(:focus)":{backgroundColor:"transparent !important"},"&:focus":{backgroundColor:"transparent !important"},"&:active":{backgroundColor:"transparent !important"}},false:{}},onDrag:{true:{backgroundColor:"$blue50 !important",".labelItem":{color:"$blue600 !important"},"i, p":{color:"$blue600 !important"},".visualElement svg":{color:"$blue600 !important"},"&:hover:not(:focus)":{backgroundColor:"$blue50 !important"},"&:focus":{backgroundColor:"$blue50 !important"},"&:active":{backgroundColor:"$blue50 !important"}},false:{}},onlyIcon:{true:{width:"fit-content"},false:{}},highlight:{true:{outline:"2px solid $blue600","&:hover:not(:focus)":{outline:"2px solid $blue600",backgroundColor:"transparent !important"},"&:focus":{outline:"2px solid $blue600",backgroundColor:"transparent !important"},"&:active":{outline:"2px solid $blue600",backgroundColor:"transparent !important"}},false:{}}},compoundVariants:[{selected:!0,css:{backgroundColor:"$blue50 !important",position:"relative"}},{onlyIcon:!0,variantDensity:"default",css:{padding:".8rem .5rem !important"}},{onlyIcon:!0,variantDensity:"compact",css:{padding:".3rem .4rem !important",minHeight:void 0}}]}),cMc=X("div",{display:"flex",alignItems:"center"}),lMc=X(T,{display:"flex",flexDirection:"row",width:"100%",variants:{onlyIcon:{true:{width:"fit-content"},false:{}}}}),eMc=X(T,{display:"flex",width:"fit-content",alignItems:"center",justifyContent:"center",gap:".2rem",padding:"0rem .2rem",borderRadius:".2rem",variants:{type:{valid:{backgroundColor:"$green100",".mini-tag-text":{color:"$green600"}},expired:{backgroundColor:"$red100",".mini-tag-text":{color:"$red600"}},soonExpired:{backgroundColor:"$orange100",".mini-tag-text":{color:"$orange600"}}}}}),aMc=({type:l="valid",colorBadge:c,backgroundColor:e,textColor:a,text:s})=>{const o={valid:"green",expired:"red",soonExpired:"orange"};return L.jsxs(eMc,{type:l,backgroundColor:e,children:[L.jsx(U0,{variant:"dot",color:c??(l?o[l]:void 0),style:{width:".4rem",height:".4rem",outline:"none"}}),L.jsx(Ur2,{className:"mini-tag-text",style:{fontFamily:"Satoshi-Variable",fontSize:".8rem",fontWeight:700,lineHeight:"1.2rem",color:a},children:s})]})},sMc=({variant:l,alignItems:c,hasDrag:e,checked:a,isMCD:s})=>L.jsx(T,{display:"flex",p:l==="compact"?".7rem .8rem":"1rem 1.4rem",gap:l==="compact"?"1.3rem":"1.6rem",width:"100%",alignItems:c==="center"?"center":"flex-start",borderRadius:".4rem",children:s?L.jsx(T,{size:"2rem",ml:".2rem",children:L.jsx(e4,{variant:"light",size:"2rem"})}):L.jsxs(L.Fragment,{children:[L.jsxs(T,{display:"flex",alignItems:c==="center"?"center":"top",mt:".1rem",height:"100%",gap:l==="compact"?"1.6rem":"2rem",children:[e&&L.jsx(on,{type:"drag",size:"2rem"}),a&&L.jsx(w7,{isLoading:!0}),L.jsx(T,{size:"2rem",ml:".2rem",children:L.jsx(e4,{variant:"light",size:"2rem"})})]}),L.jsxs(T,{display:"flex",flexDirection:"column",height:"100%",justifyContent:"center",alignItems:"left",mt:".2rem",children:[L.jsxs(T,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[L.jsx(T,{width:"40%",height:"1.4rem",mb:l==="compact"?".5rem":".7rem",children:L.jsx(E1,{borderRadius:"1.5rem"})}),c==="flex-start"&&L.jsx(T,{display:"flex",height:"100%",alignItems:"top",children:L.jsx(T,{size:l==="compact"?"2rem":"1.6rem",children:L.jsx(e4,{variant:"light",size:l==="compact"?"2rem":"1.6rem"})})})]}),L.jsx(T,{width:"74%",height:l==="compact"?"1.2rem":"1.4rem",children:L.jsx(E1,{borderRadius:"1.5rem"})}),L.jsx(T,{width:"100%",height:l==="compact"?"1.2rem":"1.5rem",mt:l==="compact"?".4rem":".6rem",children:L.jsx(E1,{borderRadius:"1.5rem"})})]}),c==="center"&&L.jsx(T,{display:"flex",height:"100%",alignItems:"center",children:L.jsx(T,{size:l==="compact"?"2rem":"1.6rem",children:L.jsx(e4,{variant:"light",size:l==="compact"?"2rem":"1.6rem"})})})]})}),R5=({avatars:l,maxAvatars:c,variant:e="gray",nameIcon:a,variantIcon:s,style:o,onClick:n,styleIcon:i,styleAvatars:r,onClickIcon:t,styleContainerAvatar:f,size:m="sm",isLoading:z,styleIconContainer:u,iconColor:p})=>L.jsx(hLc,{children:z?L.jsxs(T,{display:"flex",gap:".4rem",alignItems:"center",border:".1rem solid $neutral300",padding:".4rem",borderRadius:"4rem",children:[L.jsx(T,{display:"flex",justifyContent:"center",width:"1.2rem",height:"1.2rem",children:L.jsx(E1,{variant:"light",borderRadius:"999px"})}),L.jsx(T,{display:"flex",justifyContent:"center",width:"2.4rem",height:"2.4rem",children:L.jsx(E1,{variant:"light",borderRadius:"999px"})})]}):L.jsxs(gLc,{variant:e,size:m,isEmpty:!(l.length>=0),style:o,children:[L.jsx(xLc,{"data-avatars":l,onClick:M=>{t&&(M.stopPropagation(),t(M))},style:u,children:a&&L.jsx(l2,{variant:s??"duotone",name:a??"faUser",color:p??"neutral500",styles:{width:m==="sm"?"1.25rem":"1.6rem",height:m==="sm"?"1.25rem":"1.6rem",marginLeft:m==="sm"?".4rem":".5rem",marginRight:m==="sm"?".3rem":".4rem",marginTop:m==="sm"?".2rem":".4rem",...i}})}),l.length>=0?l.slice(0,c).map((M,d)=>L.jsx(ALc,{size:m,isFirst:d===0,style:f,css:{zIndex:100-d},onClick:n,children:L.jsx(u0,{size:m==="sm"?"xxs":"xs",letters:M.letters,image:M.imgSrc,iconName:"faUser",backgroundColor:M.bgColor,isLoading:M.isLoading,hasShadow:l.length>1,style:{cursor:n?"pointer":"default",...r}})},`${M.color}-${d}`)):L.jsx(u0,{size:"xxs"}),oMc({avatars:l,maxAvatars:c})]})}),oMc=({avatars:l,maxAvatars:c,onClick:e,size:a,styleNumbers:s})=>l.length-c<1?null:L.jsx(T,{height:a==="sm"?"2rem":"2.4rem",backgroundColor:"transparent",borderRadius:"2.4rem",onClick:e&&e,ml:".4rem",mr:".4rem",mb:a==="lg"?".4rem":"none",style:{cursor:e?"pointer":"default",...s},children:a==="sm"?L.jsxs(f2,{variant:"bold",css:{color:"$neutral500"},style:{textAlign:"center"},children:["+",l?l.length-c:0]}):L.jsxs(o2,{variant:"bold",css:{color:"$neutral500"},style:{textAlign:"center"},children:["+",l?l.length-c:0]})}),nMc=X("div",{display:"inline-block",alignItems:"center"}),iMc=X("div",{display:"flex",alignItems:"center",variants:{isDisabled:{true:{opacity:.5,cursor:"not-allowed"}},isVertical:{true:{flexDirection:"column-reverse"}}}}),rMc=X("div",{position:"relative",size:"1.6rem",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"1rem",transition:"all .2s ease",border:"1px solid",borderColor:"$neutral400",boxShadow:"0rem 0.1rem 0.2rem -0.1rem rgba(0, 0, 0, 0.1), 0rem 0.1rem 0.3rem rgba(0, 0, 0, 0.1)",variants:{isChecked:{true:{border:"4px solid",backgroundColor:"$blue700",borderColor:"$blue700"},false:{backgroundColor:"white"}},focused:{true:{border:"4px solid",outline:".3rem solid $blue300",borderColor:"$blue700"}}}}),tMc=X("div",{display:"inline-block",borderRadius:"2rem","&:focus":{outline:".3rem solid $blue300"}}),fMc=X("div",{display:"flex",flexDirection:"column","&:focus":{border:"none"},variants:{isVertical:{true:{alignItems:"center",textAlign:"center"}}}}),mMc=X(T,{"&:hover":{backgroundColor:"$neutral200"},variants:{checkedRadio:{true:{"&:hover":{backgroundColor:"$celeste500"},".labelRadio":{color:"$white"}}}}}),PF7=X(T,{variants:{active:{true:{border:".1rem solid $blue600",outline:".4rem solid $blue200"}},focus:{true:{outline:".4rem solid $blue200"}},hasCustomContent:{false:{"&:hover":{backgroundColor:"$neutral50"}}}}}),zMc=X("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",cursor:"pointer",width:"100%",height:"14.4rem",borderRadius:"0.4rem",border:"0.1rem solid $neutral300",gap:"0.8rem",backgroundColor:"$white","&:hover":{outline:"0.3rem solid $blue200"},"&:focus":{outline:"0.3rem solid $blue200"},"&:active":{border:"0.1rem solid $blue600",outline:"0.3rem solid $blue200"}}),Nw=({role:l,checked:c=!1,label:e,styleCheck:a="dot",small:s,id:o,onChange:n,disabled:i,name:r,isVertical:t=!1,style:f,styleContainer:m,customContentLeft:z,onFocus:u,onBlur:p,isLoading:M})=>{const[d,C]=R.useState(!1),h=BP();R.useEffect(()=>{c&&h.setValue(o||null)},[c,o,h]);const x=b=>{b.target.checked&&n&&n(b)},A=b=>{C(!0),u&&u(b)},v=b=>{C(!1),p&&p(b)},w=()=>{!i&&!c&&n&&n({target:{checked:!0,value:o,name:r,type:"radio"},currentTarget:{checked:!0,value:o,name:r,type:"radio"}})};return L.jsx(nMc,{id:`${o}-cont`,style:{opacity:i?.5:1,cursor:i?"not-allowed":"pointer",...f},onClick:w,role:"presentation",children:M?L.jsx(T,{size:"1.6rem",children:L.jsx(e4,{variant:"light"})}):L.jsxs(iMc,{id:`${o}-content`,isDisabled:i,isVertical:t,style:{gap:e||s?".8rem":"none"},children:[L.jsx(Dx2,{role:l,store:h,value:o,name:r,disabled:i,onChange:x,onFocus:A,onBlur:v,checked:c,render:L.jsx(tMc,{"data-testid":"custom-container",tabIndex:0,role:"radio","aria-checked":c,"aria-labelledby":`${o}-label`,style:m,onClick:b=>{b.stopPropagation(),w()},children:L.jsx(rMc,{"data-testid":"radio-container",isChecked:c,focused:d,children:c&&a==="check"?L.jsx(l2,{id:`${o}-check`,name:"faCheck",color:"white",customIconSize:"1rem",variant:"solid"}):L.jsx(T,{size:".8rem",backgroundColor:"white",borderRadius:"50%"})})})}),z&&L.jsx(T,{display:"flex",flexDirection:"column",className:"customContent",style:{flex:1},children:z}),(e||s)&&L.jsxs(fMc,{isVertical:t,onClick:b=>{b.stopPropagation(),w()},onKeyDown:b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),w())},style:{cursor:i?"not-allowed":"pointer"},children:[e&&L.jsx(o2,{id:`${o}-label`,variant:t?"bold":"medium",css:{color:"$neutral800",fontSize:"1.6rem",lineHeight:"2.4rem"},role:"label",children:e}),s&&L.jsx(f2,{id:`${o}-supportText`,variant:"regular",css:{color:"$neutral600",fontSize:"1.4rem",lineHeight:"2rem",fontWeight:400},children:s})]})]})})},U5=({type:l="button",customComponent:c,isLoading:e,variantBadge:a,contentBadge:s,colorBadge:o,hasBorderBadge:n,hasBadgeAvatar:i,imgAvatar:r,sizeAvatar:t,emojiAvatar:f,lettersAvatar:m,iconNameAvatar:z,colorIconAvatar:u,hasBorderAvatar:p,hasShadowAvatar:M,nameBadgeAvatar:d,styleContainerAvatar:C,backgroundColorAvatar:h,users:x,onChange:A,checked:v,isDisabled:w,variantBtn:b,sizeBtn:N,iconNameBtn:k,onClickBtn:E,idRadio:B,typeRadio:I,variantBtnPrimary:D,variantBtnSecondary:H,onClickBtnPrimary:U,onClickBtnSecondary:j,iconNameBtnPrimary:V,iconNameBtnSecondary:Q,isDisabledPrimaryBtn:Y,isDisabledSecondaryBtn:J,isBtnPill:K,nameIconAvatarStack:o1,hasActivePrimary:r1,hasActiveSecondary:e1,idToggle:l1,nameToggle:_,valueToggle:f1,nameIconLeftToggle:t1,nameIconRightToggle:z1,isPillToggle:g1,styleContainer:d1,styleContainerBadge:m1,classNameAvatar:C1,densityBtn:k1})=>{const D1={checkbox:L.jsx(w7,{onChange:A,checked:v,disabled:w,isLoading:e}),radio:B&&L.jsx(Nw,{type:I??"radio",id:B,onChange:A,checked:v,disabled:w,isLoading:e}),button:L.jsx(Y2,{as:"div",density:k1??"default",variant:b??"secondary",onClick:T1=>{T1.stopPropagation(),E&&E(T1)},onlyIconButton:!0,size:N??"lg",iconName:k??"faShapes",pill:K,disabled:w}),customComponent:c,doubleOption:L.jsxs(T,{display:"flex",gap:".4rem",children:[L.jsx(Y2,{as:"div",density:k1??"default",variant:D??"secondary",hasActive:r1,onClick:T1=>{T1.stopPropagation(),U&&U(T1)},onlyIconButton:!0,size:N??"lg",iconName:V??"faShapes",pill:K,disabled:Y}),L.jsx(Y2,{as:"div",density:k1??"default",variant:H??"secondary",hasActive:e1,onClick:T1=>{T1.stopPropagation(),j&&j(T1)},onlyIconButton:!0,size:N??"lg",iconName:Q??"faShapes",pill:K,disabled:J})]}),badge:L.jsx(U0,{variant:a||"content",content:s,color:o||"blue",hasBorder:n,styleContainer:m1}),avatar:L.jsx(u0,{classNameAvatar:C1??"classNameAvatar",hasBadge:i,nameBadge:d,image:r,border:p,letters:m,size:t??"xs",hasShadow:M,isLoading:e,iconName:z,colorIcon:u,emoji:f,backgroundColor:h,styleContainerAvatar:{...C}}),users:L.jsx(T,{children:x&&L.jsx(R5,{isLoading:e,variant:"white",nameIcon:o1??"faUserGroup",avatars:x,maxAvatars:3})}),toggle:L.jsx(cz,{variant:"sm",onChange:A,id:l1,nameIconLeft:t1,nameIconRight:z1,name:_,value:f1,checked:v,pill:g1,isLoading:e})};return L.jsx(T,{display:"contents",width:"auto",overflow:l==="customComponent"?"visible":"auto",style:{flex:1,borderRadius:"0rem",...d1},children:e&&l==="doubleOption"?L.jsxs(T,{display:"flex",gap:".4rem",children:[L.jsx(T,{size:"2rem",m:".6rem",children:L.jsx(e4,{variant:"light"})}),L.jsx(T,{size:"2rem",m:".6rem",children:L.jsx(e4,{variant:"light"})})]}):e&&l==="button"?L.jsx(T,{size:"2rem",m:".6rem",children:L.jsx(e4,{variant:"light"})}):D1[l]})},DF7=({badgeText:l,badgeTextSecondary:c,variantBadgeRight:e,colorBadgeRight:a,hasBorderBadgeRight:s,typeOptionsRight:o,variantDensity:n="default",showOptionsOnHover:i,isHovered:r,lettersAvatar:t,logo:f,iconNameAvatar:m,sizeAvatar:z,styleBadgeContainer:u,optionsProps:p})=>L.jsxs(cMc,{style:{gap:(l||o)&&n==="default"?"2rem":(l||o)&&n==="compact"?"1.6rem":"1rem",marginLeft:n==="compact"&&(l||o||c)?"1.1rem":l||o||c?"2.4rem":"0rem",marginTop:n==="compact"?".1rem":"0rem",...u},children:[(c||e)&&(!i||!r)&&L.jsx(T,{display:"flex",justifyContent:"center",alignItems:"center",height:"2.4rem",paddingBottom:n==="compact"?".3rem":"0rem",children:L.jsx(U0,{variant:e??"content",content:c,color:a||"redLight",hasBorder:s})}),(l||o)&&(!i||r)&&L.jsx(U5,{type:o??"badge",contentBadge:l,sizeBtn:"md",variantBadge:"content",lettersAvatar:t,imgAvatar:f,iconNameAvatar:m??"faUser",sizeAvatar:z??"xs",...p})]}),e6=({as:l,badgeText:c,badgeTextSecondary:e,checked:a,colorBadgeRight:s,customComponentLeft:o,colorText:n,css:i,customHeaderComponent:r,dataLetter:t,disabled:f,hasBorderBadgeRight:m=!1,hasCheckBox:z,hasDivider:u,hasOperations:p,iconName:M,iconNameAvatar:d,iconSize:C,iconStyles:h,iconVariant:x,id:A,isLoading:v,isUnselected:w,label:b,lettersAvatar:N,logo:k,selected:E,small:B,isSmallLink:I,variantColorSmallLink:D,variantSmallLink:H,stopPropagation:U=!0,disableKeyDown:j=!1,disableVisualStates:V=!1,tabIndexValue:Q,styleBadgeContainer:Y,styleLeftContainer:J,stylesOperations:K,styleTitleItem:o1,styleVisualLeft:r1,titleItem:e1,typeOperations:l1,typeOptionsRight:_,typeVisualLeft:f1,variantBadgeRight:t1,searchTerm:z1,onChange:g1,onClick:d1,onMouseEnter:m1,onMouseLeave:C1,onKeyPress:k1,variantDensity:D1="default",hasIconLeftSmall:T1,colorIconLeftSmall:X1,customIconSizeLeftSmall:c2,nameIconLeftSmall:O1,textTooltipSmall:p2,positionTooltipSmall:S2,stylesTooltipSmall:B1,stylesTooltipSmallContainer:m2,variantDivider:k2,styleDivider:P1,styleContainerText:A1,styleContainerLabel:H1,styleContainerSmall:I1,styleContainerOperations:u2,showOptionsOnHover:U2,actionTag:h2,onClickLink:y1,tags:w1,numberLinesLabel:e2,numberLinesSmall:K1,className:i2,onlyView:a2=!1,sizeAvatar:M2,badges:X2,badgeTextLabel:F2,colorBadgeLabel:S0,hasBorderBadgeLabel:h0,customContentItem:I0,smalls:v4,styleSmallsContainer:H4,middleAlignment:L0="center",actionBadges:N4,miniTag:h4,colorTagBottom:Z6,isCheckBoxDisabled:l3=!1,isMCD:W3=!1,danger:f6=!1,onDrag:$6=!1,onlyIcon:R4=!1,highlight:A3=!1,...R3})=>{const p1=R3,J1=R3,t2=R3,[I2,x0]=R.useState(a),[b0,W2]=R.useState(!1),w2=s1=>{if(d1&&d1(s1),z&&!l3){const G1=!I2;x0(G1),g1&&g1({target:{checked:G1,name:A}})}},E4=s1=>{W2(!0),m1&&m1(s1)},g2=s1=>{W2(!1),C1&&C1(s1)};return R.useEffect(()=>{x0(a)},[a]),L.jsx(T,{display:"flex",width:"100%",children:v?L.jsx(sMc,{variant:D1,alignItems:L0,hasDrag:!!p,checked:z,isMCD:W3}):L.jsxs(T,{display:"flex",flexDirection:"column",width:"100%",children:[L.jsxs(T,{display:"flex",flexDirection:"column",width:"100%",children:[e1&&L.jsx(T,{onClick:s1=>s1.stopPropagation(),children:L.jsx(Tc,{variant:"default",title:e1,styleContainer:{padding:".8rem 1.6rem",...o1}})}),u&&L.jsx(B0,{variant:k2??"xxs",style:P1})]}),r&&L.jsx(L.Fragment,{children:r}),L.jsxs(_pc,{className:`item-lines ${i2}`,as:l??(a2||_==="customComponent"?"div":u6),id:A,onlyView:a2,"data-letter":t,disabled:f,unselected:w,selected:E,variantDensity:D1,disableVisualStates:V,hasLettersAvatar:!N,danger:f6,onDrag:$6,onlyIcon:R4,highlight:A3,tabIndex:a2?-1:typeof Q=="number"?Q:f?-1:0,"aria-disabled":f,onMouseEnter:a2?void 0:E4,onMouseLeave:a2?void 0:g2,onClick:a2?void 0:s1=>{U&&s1.stopPropagation(),f||(s1.currentTarget.focus(),w2(s1))},onKeyDown:a2?void 0:s1=>{j||(k1&&k1(s1),(s1.key==="Enter"||s1.key===" ")&&!f&&(s1.preventDefault(),U&&s1.stopPropagation(),w2(s1)))},css:{alignItems:L0==="center"?"center":"flex-start",borderRadius:".8rem",...i},children:[L.jsxs(lMc,{gap:(p||z||f1)&&D1==="compact"?"1.2rem":(p||z||f1)&&D1==="default"?"1.6rem":"0rem",style:J,onlyIcon:R4,children:[(p||z)&&L.jsxs(T,{display:"flex",alignItems:L0==="center"?"center":"flex-start",style:u2,children:[p&&L.jsx(on,{type:l1??"drag",size:"2rem",...J1,stylesContainer:{paddingTop:L0==="center"?"none":".4rem",paddingBottom:L0==="center"?".2rem":".none",marginRight:z&&D1==="default"?"1.5rem":z&&D1==="compact"?"1.1rem":"0rem",...K}}),z&&L.jsx(w7,{onChange:g1,checked:I2,disabled:f||l3,styleCheckContainer:{marginTop:L0==="center"?"0rem":".3rem",marginRight:".2rem",marginLeft:".2rem"}})]}),f1&&L.jsx(T,{display:f1?"flex":"none",alignItems:L0==="center"?"center":"flex-start",style:r1,children:L.jsx(B4,{type:R4?"icon":f1??"avatar",componentIcon:R4?L.jsx(T,{display:"flex",alignItems:"center",justifyContent:"center",width:"3.1rem",children:L.jsx(l2,{variant:"regular",name:"faShapes",customIconSize:"2rem",stylesContainer:{padding:".2rem"}})}):void 0,imgAvatar:k,iconNameAvatar:d??"faUser",lettersAvatar:N,sizeAvatar:M2??"xs",styleVisualElement:{marginTop:f1==="icon"?".2rem":"0rem"},custom:o,...t2})}),!R4&&L.jsxs(T,{display:"flex",flexDirection:"column",width:"100%",justifyContent:"space-between",style:{textAlign:"left",...A1},children:[h4&&L.jsx(aMc,{...h4}),L.jsxs(T,{display:"flex",width:"100%",justifyContent:"space-between",flexDirection:"row",alignItems:"center",gap:".4rem",style:{flex:1},children:[!z1&&(D1==="default"?L.jsx(o2,{variant:"regular",className:"labelItem",css:{display:"-webkit-box",WebkitLineClamp:e2??1,WebkitBoxOrient:"vertical",overflow:"hidden",fontWeight:500,lineHeight:"2.4rem",color:n||"$neutral800"},style:H1,children:b}):L.jsx(f2,{variant:"medium",className:"labelItem",css:{display:"-webkit-box",WebkitLineClamp:e2??1,lineHeight:"2rem",marginTop:".1rem",WebkitBoxOrient:"vertical",overflow:"hidden",fontWeight:500,color:n||"$neutral800",...H1},children:b})),L0==="flex-start"&&!z1&&L.jsx(DF7,{badgeText:c,badgeTextSecondary:e,variantBadgeRight:t1,colorBadgeRight:s,hasBorderBadgeRight:m,typeOptionsRight:_,variantDensity:D1,showOptionsOnHover:U2,isHovered:b0,lettersAvatar:N,logo:k,iconNameAvatar:d,sizeAvatar:M2,styleBadgeContainer:Y,optionsProps:p1})]}),F2&&L.jsx(T,{children:L.jsx(U0,{content:F2,color:S0??"blue",variant:"content",hasBorder:h0??!1,styleContainer:{marginTop:".4rem",marginBottom:".4rem"}})}),(B||I0)&&L.jsxs(T,{display:"flex",marginTop:D1==="compact"?".5rem":".3rem",alignItems:"center",gap:T1?".8rem":void 0,style:I1,children:[T1&&L.jsx(l2,{variant:"regular",name:O1||"faArrowRight",color:X1||"orange500",customIconSize:c2||"1.4rem"}),L.jsx(r4,{position:S2??"topCenter",text:p2??void 0,style:B1,styleContainer:m2,children:D1==="default"?I?L.jsx(O3,{children:B,variant:H??"md",variantColor:D??"blue",onClick:s1=>{s1.stopPropagation(),y1&&y1()},css:{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left"},styleText:{whiteSpace:"break-spaces",overflow:"none"}}):L.jsx(f2,{className:"focusableOpac",variant:"regular",css:{display:"-webkit-box",WebkitLineClamp:K1||2,WebkitBoxOrient:"vertical",overflow:"hidden",color:"$neutral600",...I1},children:B}):L.jsx(w3,{className:"focusableOpac",variant:"regular",css:{display:"-webkit-box",fontSize:"1.2rem",lineHeight:"1.6rem",fontWeight:400,WebkitLineClamp:K1||2,WebkitBoxOrient:"vertical",overflow:"hidden",color:"$neutral600",...I1},children:B})}),I0]}),z1&&L.jsx(T,{display:"flex",width:"100%",flexDirection:"row",style:{position:"relative"},children:L.jsx(xt2,{type:"text",label:b,colorText:n,styleLabel:{margin:0},searchTerm:z1})}),w1&&L.jsx(T,{display:"flex",flexDirection:"row",flexWrap:"wrap",style:{gap:".6rem"},children:w1==null?void 0:w1.map((s1,G1)=>L.jsx(d3,{pill:!0,children:s1.childrenTag,variant:Z6??"secondary",hasVisualLeft:!!(s1.iconName||s1.countryCodeLeft),visualLeft:s1.visualLeft??"icon",countryCodeLeft:s1.countryCodeLeft,nameIconLeft:s1.iconName,onClick:C2=>{C2.stopPropagation(),h2&&h2(s1)},hasBorderAvatar:!1},G1))}),X2&&L.jsx(T,{display:"flex",flexDirection:"row",flexWrap:"wrap",style:{marginTop:".3rem",marginBottom:".3rem",gap:".6rem"},children:X2==null?void 0:X2.map((s1,G1)=>L.jsx(U0,{variant:"content",variantIconLeft:"regular",content:s1.childrenTag,hasIconLeft:!!s1.iconName,nameIconLeft:s1.iconName,colorIconLeft:s1.colorIconLeft,hasIconRight:!!s1.iconNameRight,nameIconRight:s1.iconNameRight,colorIconRight:s1.colorIconRight,color:s1.colorBadgeBottom??"white",sizeIconLeft:s1.sizeIconLeft,sizeIconRight:s1.sizeIconRight,hasBorder:!0,onClick:C2=>{C2.stopPropagation(),N4&&N4(s1)}},`badge-${G1}-${s1.childrenTag}`))}),v4&&L.jsx(T,{style:{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",textAlign:"left",...H4},children:v4==null?void 0:v4.map((s1,G1)=>L.jsxs(R.Fragment,{children:[L.jsx(xt2,{type:"item",label:s1,styleLabel:{margin:0},searchTerm:z1}),G1<v4.length-1&&L.jsx(s0,{variant:"regular",color:"$neutral600",children:"・"})]},G1))})]})]}),(L0==="center"||z1)&&L.jsx(DF7,{badgeText:c,badgeTextSecondary:e,variantBadgeRight:t1,colorBadgeRight:s,hasBorderBadgeRight:m,typeOptionsRight:_,variantDensity:D1,showOptionsOnHover:U2,isHovered:b0,lettersAvatar:N,logo:k,iconNameAvatar:d,sizeAvatar:M2,styleBadgeContainer:Y,optionsProps:p1})]})]})})},LMc=({items:l,onClickItem:c,idActive:e,classNameMenu:a,classNameContent:s,classNameSection:o,className:n,styles:i,stylesMenu:r,stylesContent:t,stylesSection:f,styleContainerSection:m,stylesItem:z,stylesTitleSection:u,stylesTitleItem:p,css:M,timeToActive:d=3e3})=>{const C=R.useRef({}),h=R.useRef(null),x=R.useRef(null),{isMobile:A,init:v}=i3(),[w,b]=R.useState(),[N,k]=R.useState(),E=B=>{const I=C.current[B];if(I&&x.current){const D=x.current.getBoundingClientRect().top,U=I.getBoundingClientRect().top-D;x.current.scrollTo({top:x.current.scrollTop+U-4,behavior:"smooth"}),k(B),h.current&&clearTimeout(h.current),h.current=window.setTimeout(()=>{k(void 0)},d)}};return R.useEffect(()=>{var B;if(e)b(e),k(e),E(e);else{const I=A||(B=l[0])==null?void 0:B.id;b(I),k(I),I&&(h.current=window.setTimeout(()=>{k(void 0)},3e3))}return()=>{h.current&&clearTimeout(h.current)}},[l,e]),R.useEffect(()=>v(),[]),L.jsxs(Cpc,{css:M,className:n,style:i,children:[!A&&L.jsx(hpc,{height:"100vh",className:a,style:r,children:l.map((B,I)=>{var D;return L.jsxs(L.Fragment,{children:[B.titleSection&&L.jsx(s0,{variant:"regular",css:{padding:"1.6rem",paddingBottom:".8rem",paddingTop:".8rem",color:"$neutral500",width:"100%",textAlign:"left",display:"inline-block",marginTop:I===0?"1.6rem":"0"},style:p,children:B.titleSection.toLocaleUpperCase()}),L.jsx(e6,{onClick:()=>{E(B.id),b(B.id),c&&c(B)},selected:w===B.id,typeVisualLeft:"icon",middleAlignment:"flex-start",componentIcon:L.jsx(T,{display:"flex",alignItems:"center",justifyContent:"center",minWidth:"2.4rem",minHeight:"2.4rem",children:L.jsx(l2,{name:(B==null?void 0:B.icon)??"faShapes",customIconSize:"2rem",variant:"regular"})}),label:B.label,small:B.sublabel,tags:(D=B==null?void 0:B.langs)==null?void 0:D.map(H=>({id:H.flag,childrenTag:H.text??"EN",visualLeft:"countryFlag",countryCodeLeft:H.flag??"US"})),css:{...z}},B.id),B.hasDivider&&L.jsx(gpc,{})]})})}),L.jsx(xpc,{ref:x,isMobile:A,className:s,style:t,children:l.map((B,I)=>L.jsxs(T,{display:"flex",flexDirection:"column",width:"100%",backgroundColor:"white",ref:D=>C.current[B.id]=D,style:{zIndex:N===B.id?1:0,...m},children:[B.titleSection&&L.jsx(Y4,{variant:"bold",css:{padding:"1.6rem",paddingBottom:".8rem",color:"$neutral800",width:"100%",textAlign:"left"},style:u,children:B.titleSection}),L.jsx(Apc,{active:N===B.id,className:o,marginBottom:I===l.length-1?"19.5vh":"0",style:f,children:B.section},B.id)]}))})]})},uMc=X("div",{height:"22.2rem","& .signatureCanvas":{width:"100%",height:"100% !important",backgroundImage:"radial-gradient(circle at .2rem .2rem, #E3E3E3 .1rem, transparent 0)",backgroundSize:"2.4rem 2.4rem",backgroundColor:"#FAFAFA"}});var FF7={exports:{}};/*!
732
732
  * Signature Pad v2.3.2
733
733
  * https://github.com/szimek/signature_pad
734
734
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ItemGeneral.d.ts","sourceRoot":"","sources":["../../../../src/components/Items/ItemGeneral.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,gBAAgB,EAIjB,MAAM,mCAAmC,CAAC;AAwB3C,eAAO,MAAM,WAAW,GAAI,k2CA8FzB,gBAAgB,4CAijBlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ItemGeneral.d.ts","sourceRoot":"","sources":["../../../../src/components/Items/ItemGeneral.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,gBAAgB,EAIjB,MAAM,mCAAmC,CAAC;AAwB3C,eAAO,MAAM,WAAW,GAAI,k2CA8FzB,gBAAgB,4CAmjBlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordage-enterprise",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "description": "Cordage Enterprise Component Library",
5
5
  "main": "dist/cordage-enterprise.umd.js",
6
6
  "module": "dist/cordage-enterprise.es.js",