@lax-wp/design-system 0.10.14 → 0.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
}
|
|
243
243
|
`,kV=bs.div`
|
|
244
244
|
animation: ${EV} 1.5s ease-in-out infinite;
|
|
245
|
-
`,wV=({lineHeight:t="30px",gap:e=10})=>{const r=x.useMemo(()=>({direction:"row",repeatCount:1,withOpacity:!0,children:[{gridGap:e,skeletons:[{w:"100%",h:t,r:"2px",margin:[0,0,0]},{w:"70%",h:t,r:"2px",margin:[0,0,0]}]}]}),[]);return A.jsx(kV,{children:A.jsx(gr,{grid:r})})},TV=x.memo(wV),CV=()=>{const t=x.useMemo(()=>({direction:"row",repeatCount:3,withOpacity:!0,gridGap:2,children:[{h:"auto",skeletons:[{w:"100%",h:"100",direction:"row",margin:[0],children:[{skeletons:[{w:"10%",h:"20px",r:"6px"},{w:"70%",h:"15px",r:"6px"},{w:"70%",h:"15px",r:"6px"},{w:"70%",h:"15px",r:"6px"}]}]}]}]}),[]);return A.jsx(gr,{grid:t})},OV=x.memo(CV),_V=()=>{const t=x.useMemo(()=>({direction:"column",repeatCount:1,withOpacity:!0,gridGap:0,children:[{h:"auto",className:"bg-white rounded-lg",skeletons:[{w:"100%",h:"auto",className:"p-2",direction:"row",alignItems:"center",justifyContent:"space-between",children:[{w:"auto",direction:"row",alignItems:"center",children:[{skeletons:[{w:"20px",h:"20px",r:"4px"}]},{skeletons:[{w:"200px",h:"20px",r:"4px"}]}]},{w:"auto",direction:"row",alignItems:"center",children:[{skeletons:[{w:"80px",h:"36px",r:"6px"}]},{skeletons:[{w:"70px",h:"36px",r:"6px"}]},{skeletons:[{w:"70px",h:"36px",r:"6px"}]},{skeletons:[{w:"80px",h:"36px",r:"6px"}]}]}]},{w:"100%",h:"1px",className:"bg-neutral-200",skeletons:[]},{w:"100%",h:"calc(100vh - 200px)",direction:"row",children:[{w:"25%",h:"100%",className:"bg-neutral-50 p-2 border-r border-neutral-200",direction:"column",alignItems:"flex-start",justifyContent:"flex-start",children:[{skeletons:[{w:"80px",h:"14px",r:"4px"}]},{w:"100%",h:"auto",direction:"column",children:[{w:"100%",direction:"row",children:[{w:"50%",className:"bg-neutral-100 rounded-lg p-2",direction:"column",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{skeletons:[{w:"60px",h:"12px",r:"4px"}]}]},{w:"50%",className:"bg-neutral-100 rounded-lg p-2",direction:"column",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{skeletons:[{w:"70px",h:"12px",r:"4px"}]}]}]},{w:"100%",direction:"column",children:[{skeletons:[{w:"80px",h:"14px",r:"4px"}]},{skeletons:[{w:"100%",h:"40px",r:"4px"}]}]}]}]},{w:"75%",h:"auto",direction:"column",children:[{w:"100%",h:"auto",className:"p-2 border-b border-neutral-200",children:[{skeletons:[{w:"200px",h:"36px",r:"18px"}]}]},{w:"100%",h:"auto",className:"p-2",direction:"column",children:[{w:"100%",className:"border border-neutral-200 rounded-lg",direction:"column",children:[{w:"100%",h:"48px",className:"p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"16px",h:"16px",r:"50%"}]},{skeletons:[{w:"120px",h:"16px",r:"4px"}]}]},{w:"100%",h:"auto",className:"p-3 border-t border-neutral-200",direction:"column",children:[{w:"100%",h:"60px",className:"bg-neutral-50 rounded-lg p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{w:"calc(100% - 36px)",direction:"column",children:[{skeletons:[{w:"100px",h:"14px",r:"4px"}]},{skeletons:[{w:"150px",h:"12px",r:"4px"}]}]}]},{w:"100%",h:"60px",className:"bg-neutral-50 rounded-lg p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{w:"calc(100% - 36px)",direction:"column",children:[{skeletons:[{w:"120px",h:"14px",r:"4px"}]},{skeletons:[{w:"180px",h:"12px",r:"4px"}]}]}]},{w:"100%",h:"60px",className:"bg-neutral-50 rounded-lg p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{w:"calc(100% - 36px)",direction:"column",children:[{skeletons:[{w:"120px",h:"14px",r:"4px"}]},{skeletons:[{w:"180px",h:"12px",r:"4px"}]}]}]}]}]},{w:"100%",className:"border border-neutral-200 rounded-lg",direction:"column",children:[{w:"100%",h:"48px",className:"p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"16px",h:"16px",r:"50%"}]},{skeletons:[{w:"140px",h:"16px",r:"4px"}]}]}]},{w:"100%",className:"border border-neutral-200 rounded-lg",direction:"column",children:[{w:"100%",h:"48px",className:"p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"16px",h:"16px",r:"50%"}]},{skeletons:[{w:"140px",h:"16px",r:"4px"}]}]}]}]}]}]}]}]}),[]);return A.jsx(gr,{grid:t})},NV=()=>{const t=x.useMemo(()=>({direction:"column",repeatCount:5,withOpacity:!0,gridGap:8,children:[{h:"auto",className:"bg-white p-2 rounded-lg",skeletons:[{w:"100%",direction:"row",alignItems:"center",children:[{w:"24px",h:"24px",skeletons:[{w:"24px",h:"24px",r:"6px"}]},{w:"calc(100% - 24px)",direction:"column",children:[{skeletons:[{w:"100%",h:"20px",r:"4px"}]}]}]}]}]}),[]);return A.jsx(gr,{grid:t})},IV=({index:t=0})=>{const e={hidden:{opacity:0,y:50,scale:.95},visible:{opacity:1,y:0,scale:1,transition:{duration:.6,delay:t*.1,ease:[.6,-.05,.01,.99]}}};return A.jsxs(ze.motion.div,{className:"rounded-lg border border-[rgba(234,236,240,0.20)] bg-white/15 shadow-[0_8px_24px_0_rgba(16,24,40,0.04)] mt-5",variants:e,initial:"hidden",animate:"visible",children:[A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"flex items-start gap-3",children:[A.jsx("div",{className:"w-[40px] h-[40px] rounded-md border border-[#EAECF0] bg-white shadow-[0_4px_6px_0_rgba(0,0,0,0.10),0_10px_15px_0_rgba(0,0,0,0.10)] flex items-center justify-center",children:A.jsx("div",{className:"w-[20px] h-[20px] rounded-sm bg-neutral-200 animate-pulse"})}),A.jsxs("div",{children:[A.jsxs("div",{className:"flex items-center gap-1 mb-2",children:[A.jsx("div",{className:"w-20 h-4 bg-white/30 rounded-md animate-pulse"}),A.jsx("div",{className:"w-1 h-1 rounded-full bg-neutral-300"}),A.jsx("div",{className:"w-8 h-3 bg-white/20 rounded-md animate-pulse"})]}),A.jsx("div",{className:"w-16 h-[18px] bg-white/25 rounded-lg animate-pulse"})]})]})}),A.jsx("div",{className:"border-b border-[rgba(234,236,240,0.20)]"}),A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"rounded-lg border border-[#D0D5DD] bg-white shadow-[0_4px_6px_0_rgba(0,0,0,0.10),0_10px_15px_0_rgba(0,0,0,0.10)] px-3 py-1.5 flex items-center gap-2 justify-center",children:[A.jsx("div",{className:"w-4 h-4 bg-neutral-200 rounded-sm animate-pulse"}),A.jsx("div",{className:"w-12 h-4 bg-neutral-200 rounded-md animate-pulse"})]})})]})},DV=({index:t=0,isPagination:e=!1})=>{const r={hidden:{opacity:0,y:50,scale:.95},visible:{opacity:1,y:0,scale:1,transition:{duration:.5,delay:e?t*.05:t*.1,ease:[.6,-.05,.01,.99]}}};return A.jsxs(ze.motion.div,{className:"bg-white dark:bg-[#0A0710] rounded-lg border border-[#EAECF0] dark:border-[#14131B] shadow-[0_8px_24px_0_rgba(16,24,40,0.04)] overflow-hidden",variants:r,initial:"hidden",animate:"visible",children:[A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"flex items-start gap-3",children:[A.jsx("div",{className:"w-[40px] h-[40px] rounded-md border border-[#EAECF0] dark:border-[#14131B] bg-white dark:bg-[#0A0710] flex items-center justify-center",children:A.jsx("div",{className:"w-[30px] h-[30px] rounded-md bg-neutral-200 dark:bg-neutral-700 animate-pulse"})}),A.jsxs("div",{className:"flex items-center justify-between w-full",children:[A.jsxs("div",{className:"flex-1",children:[A.jsxs("div",{className:"flex items-center gap-1 mb-2",children:[A.jsx("div",{className:"w-20 h-4 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"}),A.jsx("div",{className:"w-1 h-1 rounded-full bg-neutral-300 dark:bg-neutral-600"}),A.jsx("div",{className:"w-8 h-3 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"})]}),A.jsx("div",{className:"w-16 h-[18px] bg-neutral-200 dark:bg-neutral-700 rounded-lg animate-pulse"})]}),A.jsx("div",{className:"w-4 h-4 bg-neutral-200 dark:bg-neutral-700 rounded-full animate-pulse"})]})]})}),A.jsx("div",{className:"border-b border-neutral-200 dark:border-[#14131B]"}),A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"space-y-2",children:[A.jsx("div",{className:"w-full h-3.5 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"}),A.jsx("div",{className:"w-4/5 h-3.5 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"}),A.jsx("div",{className:"w-3/5 h-3.5 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"})]})}),A.jsx("div",{className:"border-b border-neutral-200 dark:border-[#14131B]"}),A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"rounded-lg border border-[#D0D5DD] dark:border-[#24222F] px-3 py-1.5 flex items-center gap-2 justify-center bg-neutral-50 dark:bg-[#0A0710]",children:[A.jsx("div",{className:"w-4 h-4 bg-neutral-200 dark:bg-neutral-700 rounded-sm animate-pulse"}),A.jsx("div",{className:"w-12 h-4 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"})]})})]})},RV=({rows:t=1})=>{const e=x.useMemo(()=>({direction:"column",repeatCount:t,withOpacity:!0,children:[{h:"auto",skeletons:[{w:"40%",h:"20px",r:"6px",margin:[0,0,12]},{w:"20%",h:"16px",r:"8px",margin:[0,0,12]},{w:"25%",h:"16px",r:"8px",margin:[0,0,20]}]},{h:"auto",direction:"column",children:[{w:"60%",h:"18px",r:"4px",margin:[0,0,10]},{w:"60%",h:"18px",r:"4px",margin:[0,0,10]},{w:"70%",h:"18px",r:"4px",margin:[0,0,10]}]}]}),[t]);return A.jsx(gr,{grid:e})},PV=x.memo(RV),Qo=({LText:t,RText:e,emptyTag:r,text:n="",LeftIcon:a,role:i="",children:s,RightIcon:o,tagName:l="p",className:c="",onClick:u=rb.noop})=>{const{t:f}=Kt.useTranslation(),p=l,h=A.jsxs(x.Fragment,{children:[t&&t,f(n),e&&e]});return p&&!r?A.jsxs(p,{onClick:u,className:B({[c]:c}),role:l==="button"&&"button"||i,children:[a&&A.jsx(a,{}),h,s,o&&A.jsx(o,{})]}):h};Qo.displayName="Text";const ZT=({text:t})=>{const[e,r]=x.useState([]),n=()=>{const a=t.split(/(<um>.*?<\/um>)/);r(a)};return x.useEffect(()=>{n()},[t]),A.jsx(A.Fragment,{children:e.map((a,i)=>a.includes("<um>")?A.jsx("span",{className:"bg-yellow-100 dark:bg-yellow-900 decoration-gray-600",children:a.replace(/<um>|<\/um>/g,"")},i):A.jsx("span",{children:a},i))})};ZT.displayName="TextWithStrike";const $T=({items:t,isDarkMode:e,getLabel:r,getColor:n,getId:a=u=>u?.id??"",moreTagColor:i="gray",useHashColor:s=!1,tooltipPlacement:o="topRight",className:l="w-full",containerWidth:c})=>{const u=x.useCallback(g=>g?g.length*8+20:0,[]),f=x.useCallback(()=>{if(!c||!t?.length)return 0;const g=c,S=u("+ XX more")+10;let E=0,k=0;for(let w=0;w<t.length;w++){const T=t[w],O=u(r(T)),C=8;if(w>0&&k+O+C+S>g)break;if(w===0||k+O+C<=g)k+=O+C,E++;else break}return Math.max(1,E)},[c,t,u,r]),p=x.useMemo(()=>c?f():0,[c,f]),h=x.useMemo(()=>t?.slice(0,p)||[],[t,p]),m=x.useMemo(()=>t?.length>p,[t?.length,p]),b=x.useMemo(()=>t?.length>0&&m?A.jsx("div",{className:"flex flex-col gap-2 p-2 max-h-[300px] overflow-y-auto dark:bg-neutral-800",children:t?.slice(p,t?.length).map((g,S)=>A.jsx("div",{className:"w-fit cursor-pointer",children:A.jsx(vr,{label:r(g),color:n(g),size:"sm",isHashColor:s},`tooltip-tag-${p+S}`)},`tooltip-${p+S}`))}):null,[t,m,p,r,n,s,e]),v=x.useCallback((g,S)=>g.map((E,k)=>A.jsx(vr,{label:r(E),color:n(E),size:"sm",isHashColor:s},`${S}-${a(E)||k}`)),[a,r,n,s,e]);return A.jsx("div",{className:l,children:m?A.jsx(Xe.Tooltip,{title:b,placement:o,classNames:{root:"dynamic-items-tooltip"},arrow:!1,styles:{root:{zIndex:1050}},color:e?"black":"white",children:A.jsxs("div",{className:"flex gap-2 items-center cursor-pointer",children:[v(h,"display"),A.jsx(vr,{label:`+${t.length-p} more`,color:i,size:"sm",isHashColor:s},"more-items-tag")]})}):A.jsx("div",{className:"flex gap-2 items-center",children:v(h,"no-tooltip")})})};$T.displayName="DynamicItemsCell";const LV=x.memo($T),MV=(t,e,r)=>{if(t==null||t==="")return"";const n=typeof t=="string"?parseFloat(t):t;if(isNaN(n))return String(t);const a=r!==void 0?n.toFixed(r):n;switch(e){case"comma":return Number(a).toLocaleString("en-US",{minimumFractionDigits:r,maximumFractionDigits:r});case"currency":return Number(a).toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:r??2,maximumFractionDigits:r??2});case"percent":return`${Number(a).toLocaleString("en-US",{minimumFractionDigits:r,maximumFractionDigits:r})}%`;default:return String(a)}},JT=({label:t,className:e,disabled:r,onChange:n,value:a,numberFormat:i,precision:s=void 0,id:o,style:l,...c})=>{const[u,f]=x.useState(!1),p=()=>{f(!0)},h=m=>{f(!1),n?.(m.target.value)};return A.jsxs("div",{className:"flex flex-col gap-1",children:[t&&A.jsx(ee,{size:"extra-small",variant:"regular",appearance:"subtitle",children:t}),A.jsx("input",{id:o,type:u?"number":"text",className:B("border border-neutral-200 dark:border-black-600 rounded-md block w-full px-3 py-1.5 h-[32px] font-medium text-sm text-neutral-900 dark:text-black-100","bg-white dark:bg-black-600 disabled:opacity-70 disabled:!bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400","hover:border-primary-500 dark:hover:border-primary-400","focus:outline-none focus:ring-0 focus:border-primary-600 dark:focus:border-primary-400","focus:shadow-[0_0_0_1.5px_var(--color-primary-100)] dark:focus:shadow-[0_0_0_1.5px_var(--color-primary-950)]",e),disabled:r,onChange:({target:m})=>n&&n(m.value),onFocus:p,onBlur:h,value:!u&&i?MV(a,i,s):a,style:{fontStyle:"inherit",...l},autoComplete:"off",...c})]})};JT.displayName="NumberInputField";const eC=({children:t,title:e,toggle:r,isOpen:n,hoveringIndex:a,index:i,viewOnly:s,onTitleClick:o,isChecked:l,onSelect:c,subTitle:u,noSpace:f,isDraggable:p,sortableConfig:h,headerClass:m,icon:b,additionalHeader:v,mainClass:g,id:S,childrenClass:E,...k})=>A.jsxs("div",{id:S,className:`${!f&&"mb-4"} ${n?"pb-1":""} ${g||""}`,style:h?.style,...k,children:[A.jsxs("div",{className:B("flex items-center justify-between cursor-pointer border border-neutral-200 dark:border-none bg-neutral-100 dark:bg-black-600 px-3 py-1 rounded-lg",m),onClick:r,...k,children:[A.jsxs("div",{onClick:w=>o?o(w):null,className:`${p&&"flex"} w-full`,children:[p&&!s&&A.jsx("button",{id:"btn-accordion-outline-drag-indicator",className:"flex items-center justify-center w-icon h-icon hover:transform hover:scale-125 transition-all duration-200 ease-in-out",...h?.attributes,...h?.listeners,children:A.jsx(qn.MdOutlineDragIndicator,{height:"10px",width:"7px",color:"#98A2B3"})}),A.jsxs("div",{className:"flex items-center gap-1 w-full",children:[c&&A.jsx(gT,{isChecked:l,onSelect:w=>{w.stopPropagation(),c()},className:"h-4 w-4 accent-[#366FE3]"}),A.jsxs("div",{className:"flex gap-2 items-center",children:[b,A.jsx(ee,{size:"small",appearance:"body",variant:"medium",className:"whitespace-nowrap",children:e})]}),A.jsx(ee,{size:"extra-small",appearance:"title",variant:"medium",className:"ml-1",children:u}),v,A.jsx("span",{children:a===i&&!s&&A.jsx(ur,{variant:"ghost",children:A.jsx(qn.MdEdit,{size:16,className:"ml-[8px]"})})})]})]}),A.jsx(be.ChevronLeft,{sx:{fontSize:18},className:B("text-neutral-600 dark:text-neutral-400",n?"rotate-90":"-rotate-90")})]}),n?A.jsx(ze.motion.div,{className:` ${!f&&"p-4"} ${E}`,children:t}):null]});eC.displayName="Accordion";const tC=({steps:t,currentStep:e,appearance:r="linear",labelPosition:n="inline",onClick:a,className:i,showIndex:s=!0,disableOneMore:o=!1,isMainSideBarOpen:l=!1,isAuthoringOpen:c=!1})=>{const u=x.useRef(null),[f,p]=x.useState(0),[h,m]=x.useState(0),[b,v]=x.useState(0),[g,S]=x.useState(""),[E,k]=x.useState(""),w=()=>n==="top"||n==="top-right"?"flex-col":n==="bottom"||n==="bottom-right"?"flex-col-reverse":r==="linear"?"flex-row":"flex-col",T=()=>{setTimeout(()=>{p(0);const C=210,_=225;let I=0,N=0;for(let R=0;R<t.length&&(u?.current?.clientWidth&&u?.current?.clientWidth>I+_+C);R++)I+=_,N=R+1;p(N),u?.current?.clientWidth&&u?.current?.clientWidth<480&&p(t?.length)},300)};x.useEffect(()=>{T()},[l,t,e]),x.useEffect(()=>{setTimeout(()=>{T()},300)},[c]),x.useEffect(()=>{if(f>0)if(f>e){let C=t?.slice(f,t?.length)?.map(I=>I?.label)?.join(", "),_=f;o&&_===t.length-1&&(_=t.length,C=""),m(0),v(_),k(C)}else{const C=Math.floor((f+1)/2),_=e+C-t?.length;let I=e+C,N=e-Math.max(f-C,0)-(_>0?_:0),R=t?.slice(0,N)?.map(P=>P?.label)?.join(", "),D=t?.slice(I,t?.length)?.map(P=>P?.label)?.join(", ");o&&N===1&&(N=0,R=""),o&&I===t.length-1&&(I=t.length,D=""),m(N),v(I),S(R),k(D)}},[f,c,l,t,e]),gb("resize",T);const O=(C,_,I=!1)=>A.jsx("div",{onClick:()=>a?.(_),className:`flex ${_<t.length-1||r=="parallel"?"flex flex-grow":""} min-w-[200px] ${a?"cursor-pointer":""}`,children:A.jsxs("div",{className:"w-full flex flex-col",children:[A.jsxs("div",{className:`flex ${w()} ${n==="inline"&&r==="linear"?"items-center":""}`,children:[A.jsxs("div",{className:`${n==="inline"?"max-w-[70%]":"w-full"} flex flex-col`,children:[A.jsx("div",{className:`flex ${n==="top-right"||n==="bottom-right"?"justify-end":""}`,children:A.jsx(Me,{title:C?.tooltipText,children:A.jsxs(ee,{size:"small",variant:"medium",className:`truncate flex items-center ${_<=e?"text-primary-600 dark:text-primary-300":"text-neutral-400 dark:text-neutral-100"}`,appearance:"custom",children:[s?A.jsx("div",{className:`${r==="parallel"?"flex items-center":`w-6 min-w-[24px] h-6 ${_<=e?"bg-primary-600":"bg-neutral-400 dark:bg-black-400"} rounded-full flex items-center justify-center text-white`}`,children:C?.isLocked?A.jsx("div",{className:"flex items-center justify-center",children:A.jsx(be.Lock,{sx:{fontSize:16}})}):A.jsx(A.Fragment,{children:e>_&&r==="linear"?A.jsx(NN.AiOutlineCheck,{className:"w-4 h-4"}):A.jsx(ee,{size:`${r==="parallel"?"small":"extra-small"}`,variant:"medium",className:"text-neutral-100",appearance:"custom",children:_+1})})}):null,A.jsx("div",{className:`truncate ${n==="inline"?"mx-2":"ml-2"} ${_<=e?"":"dark:text-black-200"}`,children:C?.label})]})})}),n!=="inline"||r==="parallel"?A.jsx("div",{className:`flex ${n==="top-right"||n==="bottom-right"?"justify-end":r==="linear"?"ml-8":""}`,children:A.jsx(ee,{size:"extra-small",variant:"medium",className:`truncate ${_===e?"text-neutral-900 dark:text-white":"text-neutral-400 dark:text-neutral-600"}`,appearance:"custom",children:C?.description||""})}):null]}),_<t.length-(r==="linear"&&n==="inline"?1:0)&&!I?A.jsx("div",{className:`w-full flex-grow h-0.5 min-w-[70px] ${n!=="inline"||r==="parallel"?"my-2":""} ${_<=e-(r==="linear"&&n==="inline"?1:0)?"bg-primary-600":"bg-neutral-300"}`}):null]}),n==="inline"&&r==="linear"?A.jsx(ee,{size:"extra-small",variant:"medium",className:`ml-8 truncate ${_===e?"text-neutral-900 dark:text-white":"text-neutral-400 dark:text-neutral-600"}`,appearance:"custom",children:C?.description||""}):null]})},_);return A.jsxs("div",{className:`w-full flex ${i}`,ref:u,children:[h>0?A.jsxs("div",{className:`flex ${r==="parallel"?"flex-col":""}`,children:[a?A.jsx(Xe.Dropdown,{menu:{items:t.slice(0,h).map((C,_)=>({label:A.jsx("div",{className:"px-2 py-1",children:O(C,_,!0)}),key:_}))},trigger:["click"],children:A.jsx(ee,{size:"small",variant:"medium",className:`px-2 ${t.length-f>0?"cursor-pointer":"cursor-not-allowed"}`,appearance:"subtitle",children:A.jsx(Me,{title:g,children:A.jsxs("div",{className:"min-w-max",children:[h," More..."]})})})}):A.jsx(ee,{size:"small",variant:"medium",className:`px-2 ${t.length-f>0?"cursor-pointer":"cursor-not-allowed"}`,appearance:"subtitle",children:A.jsx(Me,{title:g,children:A.jsxs("div",{className:"min-w-max",children:[h," More..."]})})}),A.jsx("div",{className:`h-0.5 min-w-[40px] px-2 mr-2 bg-primary-600 ${r==="parallel"?"mt-2":"mt-[11px]"}`})]}):null,A.jsx("div",{className:"w-full flex flex-wrap gap-3 ",children:t?.map((C,_)=>h<=_&&_<b?O(C,_):null)}),t.length-b>0?A.jsxs("div",{className:"flex flex-col",children:[a?A.jsx(Xe.Dropdown,{menu:{items:t.slice(b,t?.length).map((C,_)=>({label:A.jsx("div",{className:"px-2 py-1",children:O(C,_+b,!0)}),key:_}))},trigger:["click"],children:A.jsx(ee,{size:"small",variant:"medium",className:`px-2 ${t.length-b>0?"cursor-pointer":"cursor-not-allowed"}`,appearance:"subtitle",children:A.jsx(Me,{title:E,children:A.jsxs("div",{className:"min-w-max",children:[t.length-b," More..."]})})})}):A.jsx(ee,{size:"small",variant:"medium",className:`px-2 ${t.length-b>0?"cursor-pointer":"cursor-not-allowed"}`,appearance:"subtitle",children:A.jsx(Me,{title:E,children:A.jsxs("div",{className:"min-w-max",children:[t.length-b," More..."]})})}),A.jsx("div",{className:`h-0.5 min-w-[40px] px-2 ml-2 bg-neutral-300 ${r==="parallel"?"mt-2":"hidden"}`})]}):null]})};tC.displayName="Stepper";const rC=({children:t,onCancel:e,onOk:r,async:n,title:a,content:i,footer:s,width:o=500,isVisibleOutside:l=!1,ableToConfirmByChildren:c=!0,parentContainer:u})=>{const[f,p]=x.useState(!1),[h,m]=x.useState(!1),b=({closeByIcon:g})=>{p(!1),e?.(g)},v=()=>{n?(m(!0),n(({error:g})=>{g?m(!1):(m(!1),r(),p(!1))})):(r(),p(!1))};return x.useEffect(()=>{t||p(l)},[l,t]),A.jsxs(A.Fragment,{children:[A.jsx(cn,{asForm:!0,width:o,title:A.jsx("h1",{children:a}),parentContainer:u,open:f,onCancel:()=>b({closeByIcon:!0}),footer:[A.jsxs("div",{className:B("flex gap-2",s?.justify||"justify-end"),children:[A.jsx(Tt,{id:"btn-confirm-popup-close",appearance:"outline",status:s?.cancelBtnType||"secondary-neutral",onClick:()=>b({closeByIcon:!1}),className:"mt-10",children:s?.cancelText||"Cancel"}),A.jsxs(Tt,{id:`btn-confirm-popup-${s?.okText||"Ok"}`,disabled:h,status:s?.okBtnType||"primary",onClick:v,className:"mt-10",type:"submit",children:[h?A.jsx(Da.CgSpinner,{className:"spinner inline mr-2 mb-0.5"}):null,s?.okText||"Ok"]})]},"")],children:A.jsx("div",{className:"mt-5 mb-8",children:A.jsx("h1",{className:"text-neutral-400 font-inter text-base",children:i})})}),t?c?x.cloneElement(t,{onClick:()=>c&&p(!0)}):t:null]})};rC.displayName="ConfirmPopUp";const nC=x.memo(rC),aC=({title:t,to:e,hasUserPermissions:r=!0,viewMoreText:n="View More",LinkComponent:a})=>{const i=()=>{window.scrollTo(0,0)},s=u=>{u.stopPropagation()},o=()=>{i()},l=u=>{u.stopPropagation()},c="text-primary-600 font-semibold font-inter text-sm cursor-pointer hover:text-primary-700";return A.jsxs("div",{className:"flex items-center justify-between mb-4",children:[A.jsx(ee,{variant:"semibold",size:"medium",appearance:"body",children:t}),r&&e?a?A.jsx(a,{to:e,className:c,onClick:o,onMouseDown:s,onTouchStart:l,children:A.jsx(Qo,{emptyTag:!0,text:n})}):A.jsx("a",{href:e,className:c,onClick:o,onMouseDown:s,onTouchStart:l,children:A.jsx(Qo,{emptyTag:!0,text:n})}):null]})};aC.displayName="CardHeaderView";const iC=({title:t,children:e,noPadding:r,className:n,noBanner:a,noScrollbar:i,mode:s,displayId:o})=>{const l=s===Pa.EDIT||s===Pa.FOCUS_EDIT?"edit":s===Pa.COMPARISON?"compare":null,c=x.useMemo(()=>l==="edit"&&o&&!a||l==="compare",[l,o,a]);return d2(),A.jsxs(A.Fragment,{children:[A.jsx(Ss,{title:t}),A.jsxs("div",{style:{marginLeft:"var(--sidebar-ml, 0px)"},className:B(" relative h-[calc(100vh-56px)] overflow-y-auto flex flex-col bg-primary-800 dark:bg-black-800",`ease-in-out duration-${f2}`,n),children:[l==="edit"&&o&&!a?A.jsx(To,{status:"warning",children:`You're currently editing ${o||""}`}):l==="compare"?A.jsx(To,{status:"success",children:"You are now in Comparison Mode"}):null,A.jsx("div",{className:B(`flex-1 overflow-y-auto overflow-x-hidden bg-gray-50 dark:bg-black-700 ${i?"hide-scrollbar":""}`,r?"p-0":"p-base",c?"rounded-tl-none":"!rounded-tl-xl"),id:"app-body-container",children:e})]})]})};iC.displayName="CardMain";const sC=({tabs:t,content:e,title:r,noPadding:n=!1,drawerConfig:a,noBorderTopContent:i=!1,noBorder:s,className:o})=>A.jsxs(A.Fragment,{children:[A.jsx(Ss,{title:r}),A.jsxs(xb,{className:`${!n&&"p-4"} relative ${o||""}`,children:[t&&A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"mb-4",children:t}),!s&&A.jsx("div",{className:`${!i&&"mb-4"}`,children:A.jsx("hr",{className:"w-full bg-neutral-200 dark:bg-black-800"})})]}),A.jsx("div",{className:"flex flex-col flex-1",children:e}),a&&A.jsx("div",{id:"tab-content-drawer-parent",children:A.jsx(zc,{title:A.jsxs("div",{className:"flex items-center gap-2 justify-between",children:[a.header," ",A.jsx(be.Close,{sx:{fontSize:18},onClick:()=>a?.onClose(),className:"text-neutral-900 dark:text-neutral-100 cursor-pointer"})]}),width:400,getContainer:!1,open:a.open,onClose:()=>a?.onClose(),closable:!1,mask:!1,classNames:{content:"rounded-br-xl !p-0",body:"!p-0"},placement:"right",styles:{body:{padding:0,backgroundColor:"rgb(249 250 251)"}},parentContainer:"tab-content-drawer-parent",children:a.content})})]})]});sC.displayName="TabContent";const oC=({onDragEnd:t,onDragStart:e,onDragOver:r,children:n})=>{const a=at.useSensors(at.useSensor(at.MouseSensor,{activationConstraint:{distance:5}}),at.useSensor(at.TouchSensor,{activationConstraint:{delay:300,tolerance:5}}));return A.jsx(at.DndContext,{onDragEnd:t,sensors:a,collisionDetection:at.rectIntersection,onDragStart:e,onDragOver:r,children:n})};oC.displayName="DraggableContainer";const AC=({children:t,containerId:e="full-screen-container"})=>{const r={...at.defaultDropAnimation,duration:50},n=typeof document<"u"?document.getElementById(e)||document.body:null;return n?yn.createPortal(A.jsx(at.DragOverlay,{adjustScale:!1,dropAnimation:r,className:"relative flex flex-col w-full justify-center items-center",children:t}),n):null};AC.displayName="DragOverlay";const HV=56,jV=500,Xy=240,Qy=60,lC=({children:t,isFullScreen:e=!1,className:r="",defaultSize:n="25%",height:a,isMainSideBarOpen:i=!1})=>{const s=e?`calc(100% - ${i?Xy:Qy}px)`:n;return A.jsx("div",{className:B("bg-white dark:bg-black-800 flex-shrink-0 transition-all ease-in-out",`duration-${jV}`,r),style:{width:s,height:a||`calc(100vh - ${HV}px)`,left:e?`${i?Xy:Qy}px`:void 0},children:t})};lC.displayName="Sidebar";const FV=x.memo(lC);var jr="top",An="bottom",ln="right",Fr="left",y2="auto",gA=[jr,An,ln,Fr],ds="start",Go="end",UV="clippingParents",cC="viewport",qs="popper",zV="reference",Gy=gA.reduce(function(t,e){return t.concat([e+"-"+ds,e+"-"+Go])},[]),uC=[].concat(gA,[y2]).reduce(function(t,e){return t.concat([e,e+"-"+ds,e+"-"+Go])},[]),BV="beforeRead",qV="read",VV="afterRead",WV="beforeMain",XV="main",QV="afterMain",GV="beforeWrite",YV="write",KV="afterWrite",ZV=[BV,qV,VV,WV,XV,QV,GV,YV,KV];function Yn(t){return t?(t.nodeName||"").toLowerCase():null}function Yr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Si(t){var e=Yr(t).Element;return t instanceof e||t instanceof Element}function sn(t){var e=Yr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function v2(t){if(typeof ShadowRoot>"u")return!1;var e=Yr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function $V(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},a=e.attributes[r]||{},i=e.elements[r];!sn(i)||!Yn(i)||(Object.assign(i.style,n),Object.keys(a).forEach(function(s){var o=a[s];o===!1?i.removeAttribute(s):i.setAttribute(s,o===!0?"":o)}))})}function JV(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var a=e.elements[n],i=e.attributes[n]||{},s=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),o=s.reduce(function(l,c){return l[c]="",l},{});!sn(a)||!Yn(a)||(Object.assign(a.style,o),Object.keys(i).forEach(function(l){a.removeAttribute(l)}))})}}const eW={name:"applyStyles",enabled:!0,phase:"write",fn:$V,effect:JV,requires:["computeStyles"]};function Wn(t){return t.split("-")[0]}var pi=Math.max,yc=Math.min,fs=Math.round;function jg(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function dC(){return!/^((?!chrome|android).)*safari/i.test(jg())}function ps(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),a=1,i=1;e&&sn(t)&&(a=t.offsetWidth>0&&fs(n.width)/t.offsetWidth||1,i=t.offsetHeight>0&&fs(n.height)/t.offsetHeight||1);var s=Si(t)?Yr(t):window,o=s.visualViewport,l=!dC()&&r,c=(n.left+(l&&o?o.offsetLeft:0))/a,u=(n.top+(l&&o?o.offsetTop:0))/i,f=n.width/a,p=n.height/i;return{width:f,height:p,top:u,right:c+f,bottom:u+p,left:c,x:c,y:u}}function S2(t){var e=ps(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function fC(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&v2(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ba(t){return Yr(t).getComputedStyle(t)}function tW(t){return["table","td","th"].indexOf(Yn(t))>=0}function Ya(t){return((Si(t)?t.ownerDocument:t.document)||window.document).documentElement}function lu(t){return Yn(t)==="html"?t:t.assignedSlot||t.parentNode||(v2(t)?t.host:null)||Ya(t)}function Yy(t){return!sn(t)||ba(t).position==="fixed"?null:t.offsetParent}function rW(t){var e=/firefox/i.test(jg()),r=/Trident/i.test(jg());if(r&&sn(t)){var n=ba(t);if(n.position==="fixed")return null}var a=lu(t);for(v2(a)&&(a=a.host);sn(a)&&["html","body"].indexOf(Yn(a))<0;){var i=ba(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function bA(t){for(var e=Yr(t),r=Yy(t);r&&tW(r)&&ba(r).position==="static";)r=Yy(r);return r&&(Yn(r)==="html"||Yn(r)==="body"&&ba(r).position==="static")?e:r||rW(t)||e}function E2(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function uo(t,e,r){return pi(t,yc(e,r))}function nW(t,e,r){var n=uo(t,e,r);return n>r?r:n}function pC(){return{top:0,right:0,bottom:0,left:0}}function hC(t){return Object.assign({},pC(),t)}function mC(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var aW=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,hC(typeof e!="number"?e:mC(e,gA))};function iW(t){var e,r=t.state,n=t.name,a=t.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,o=Wn(r.placement),l=E2(o),c=[Fr,ln].indexOf(o)>=0,u=c?"height":"width";if(!(!i||!s)){var f=aW(a.padding,r),p=S2(i),h=l==="y"?jr:Fr,m=l==="y"?An:ln,b=r.rects.reference[u]+r.rects.reference[l]-s[l]-r.rects.popper[u],v=s[l]-r.rects.reference[l],g=bA(i),S=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,E=b/2-v/2,k=f[h],w=S-p[u]-f[m],T=S/2-p[u]/2+E,O=uo(k,T,w),C=l;r.modifiersData[n]=(e={},e[C]=O,e.centerOffset=O-T,e)}}function sW(t){var e=t.state,r=t.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=e.elements.popper.querySelector(a),!a)||fC(e.elements.popper,a)&&(e.elements.arrow=a))}const oW={name:"arrow",enabled:!0,phase:"main",fn:iW,effect:sW,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hs(t){return t.split("-")[1]}var AW={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lW(t,e){var r=t.x,n=t.y,a=e.devicePixelRatio||1;return{x:fs(r*a)/a||0,y:fs(n*a)/a||0}}function Ky(t){var e,r=t.popper,n=t.popperRect,a=t.placement,i=t.variation,s=t.offsets,o=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,p=s.x,h=p===void 0?0:p,m=s.y,b=m===void 0?0:m,v=typeof u=="function"?u({x:h,y:b}):{x:h,y:b};h=v.x,b=v.y;var g=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),E=Fr,k=jr,w=window;if(c){var T=bA(r),O="clientHeight",C="clientWidth";if(T===Yr(r)&&(T=Ya(r),ba(T).position!=="static"&&o==="absolute"&&(O="scrollHeight",C="scrollWidth")),T=T,a===jr||(a===Fr||a===ln)&&i===Go){k=An;var _=f&&T===w&&w.visualViewport?w.visualViewport.height:T[O];b-=_-n.height,b*=l?1:-1}if(a===Fr||(a===jr||a===An)&&i===Go){E=ln;var I=f&&T===w&&w.visualViewport?w.visualViewport.width:T[C];h-=I-n.width,h*=l?1:-1}}var N=Object.assign({position:o},c&&AW),R=u===!0?lW({x:h,y:b},Yr(r)):{x:h,y:b};if(h=R.x,b=R.y,l){var D;return Object.assign({},N,(D={},D[k]=S?"0":"",D[E]=g?"0":"",D.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+b+"px)":"translate3d("+h+"px, "+b+"px, 0)",D))}return Object.assign({},N,(e={},e[k]=S?b+"px":"",e[E]=g?h+"px":"",e.transform="",e))}function cW(t){var e=t.state,r=t.options,n=r.gpuAcceleration,a=n===void 0?!0:n,i=r.adaptive,s=i===void 0?!0:i,o=r.roundOffsets,l=o===void 0?!0:o,c={placement:Wn(e.placement),variation:hs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Ky(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ky(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const uW={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cW,data:{}};var ul={passive:!0};function dW(t){var e=t.state,r=t.instance,n=t.options,a=n.scroll,i=a===void 0?!0:a,s=n.resize,o=s===void 0?!0:s,l=Yr(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",r.update,ul)}),o&&l.addEventListener("resize",r.update,ul),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",r.update,ul)}),o&&l.removeEventListener("resize",r.update,ul)}}const fW={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dW,data:{}};var pW={left:"right",right:"left",bottom:"top",top:"bottom"};function Hl(t){return t.replace(/left|right|bottom|top/g,function(e){return pW[e]})}var hW={start:"end",end:"start"};function Zy(t){return t.replace(/start|end/g,function(e){return hW[e]})}function k2(t){var e=Yr(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function w2(t){return ps(Ya(t)).left+k2(t).scrollLeft}function mW(t,e){var r=Yr(t),n=Ya(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,o=0,l=0;if(a){i=a.width,s=a.height;var c=dC();(c||!c&&e==="fixed")&&(o=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:o+w2(t),y:l}}function gW(t){var e,r=Ya(t),n=k2(t),a=(e=t.ownerDocument)==null?void 0:e.body,i=pi(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=pi(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+w2(t),l=-n.scrollTop;return ba(a||r).direction==="rtl"&&(o+=pi(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:o,y:l}}function T2(t){var e=ba(t),r=e.overflow,n=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function gC(t){return["html","body","#document"].indexOf(Yn(t))>=0?t.ownerDocument.body:sn(t)&&T2(t)?t:gC(lu(t))}function fo(t,e){var r;e===void 0&&(e=[]);var n=gC(t),a=n===((r=t.ownerDocument)==null?void 0:r.body),i=Yr(n),s=a?[i].concat(i.visualViewport||[],T2(n)?n:[]):n,o=e.concat(s);return a?o:o.concat(fo(lu(s)))}function Fg(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function bW(t,e){var r=ps(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function $y(t,e,r){return e===cC?Fg(mW(t,r)):Si(e)?bW(e,r):Fg(gW(Ya(t)))}function xW(t){var e=fo(lu(t)),r=["absolute","fixed"].indexOf(ba(t).position)>=0,n=r&&sn(t)?bA(t):t;return Si(n)?e.filter(function(a){return Si(a)&&fC(a,n)&&Yn(a)!=="body"}):[]}function yW(t,e,r,n){var a=e==="clippingParents"?xW(t):[].concat(e),i=[].concat(a,[r]),s=i[0],o=i.reduce(function(l,c){var u=$y(t,c,n);return l.top=pi(u.top,l.top),l.right=yc(u.right,l.right),l.bottom=yc(u.bottom,l.bottom),l.left=pi(u.left,l.left),l},$y(t,s,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function bC(t){var e=t.reference,r=t.element,n=t.placement,a=n?Wn(n):null,i=n?hs(n):null,s=e.x+e.width/2-r.width/2,o=e.y+e.height/2-r.height/2,l;switch(a){case jr:l={x:s,y:e.y-r.height};break;case An:l={x:s,y:e.y+e.height};break;case ln:l={x:e.x+e.width,y:o};break;case Fr:l={x:e.x-r.width,y:o};break;default:l={x:e.x,y:e.y}}var c=a?E2(a):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case ds:l[c]=l[c]-(e[u]/2-r[u]/2);break;case Go:l[c]=l[c]+(e[u]/2-r[u]/2);break}}return l}function Yo(t,e){e===void 0&&(e={});var r=e,n=r.placement,a=n===void 0?t.placement:n,i=r.strategy,s=i===void 0?t.strategy:i,o=r.boundary,l=o===void 0?UV:o,c=r.rootBoundary,u=c===void 0?cC:c,f=r.elementContext,p=f===void 0?qs:f,h=r.altBoundary,m=h===void 0?!1:h,b=r.padding,v=b===void 0?0:b,g=hC(typeof v!="number"?v:mC(v,gA)),S=p===qs?zV:qs,E=t.rects.popper,k=t.elements[m?S:p],w=yW(Si(k)?k:k.contextElement||Ya(t.elements.popper),l,u,s),T=ps(t.elements.reference),O=bC({reference:T,element:E,placement:a}),C=Fg(Object.assign({},E,O)),_=p===qs?C:T,I={top:w.top-_.top+g.top,bottom:_.bottom-w.bottom+g.bottom,left:w.left-_.left+g.left,right:_.right-w.right+g.right},N=t.modifiersData.offset;if(p===qs&&N){var R=N[a];Object.keys(I).forEach(function(D){var P=[ln,An].indexOf(D)>=0?1:-1,j=[jr,An].indexOf(D)>=0?"y":"x";I[D]+=R[j]*P})}return I}function vW(t,e){e===void 0&&(e={});var r=e,n=r.placement,a=r.boundary,i=r.rootBoundary,s=r.padding,o=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?uC:l,u=hs(n),f=u?o?Gy:Gy.filter(function(m){return hs(m)===u}):gA,p=f.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=f);var h=p.reduce(function(m,b){return m[b]=Yo(t,{placement:b,boundary:a,rootBoundary:i,padding:s})[Wn(b)],m},{});return Object.keys(h).sort(function(m,b){return h[m]-h[b]})}function SW(t){if(Wn(t)===y2)return[];var e=Hl(t);return[Zy(t),e,Zy(e)]}function EW(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,o=s===void 0?!0:s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,f=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,b=r.allowedAutoPlacements,v=e.options.placement,g=Wn(v),S=g===v,E=l||(S||!m?[Hl(v)]:SW(v)),k=[v].concat(E).reduce(function(G,Y){return G.concat(Wn(Y)===y2?vW(e,{placement:Y,boundary:u,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:b}):Y)},[]),w=e.rects.reference,T=e.rects.popper,O=new Map,C=!0,_=k[0],I=0;I<k.length;I++){var N=k[I],R=Wn(N),D=hs(N)===ds,P=[jr,An].indexOf(R)>=0,j=P?"width":"height",z=Yo(e,{placement:N,boundary:u,rootBoundary:f,altBoundary:p,padding:c}),M=P?D?ln:Fr:D?An:jr;w[j]>T[j]&&(M=Hl(M));var L=Hl(M),V=[];if(i&&V.push(z[R]<=0),o&&V.push(z[M]<=0,z[L]<=0),V.every(function(G){return G})){_=N,C=!1;break}O.set(N,V)}if(C)for(var U=m?3:1,q=function(Y){var oe=k.find(function(ie){var te=O.get(ie);if(te)return te.slice(0,Y).every(function(se){return se})});if(oe)return _=oe,"break"},Q=U;Q>0;Q--){var X=q(Q);if(X==="break")break}e.placement!==_&&(e.modifiersData[n]._skip=!0,e.placement=_,e.reset=!0)}}const kW={name:"flip",enabled:!0,phase:"main",fn:EW,requiresIfExists:["offset"],data:{_skip:!1}};function Jy(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function ev(t){return[jr,ln,An,Fr].some(function(e){return t[e]>=0})}function wW(t){var e=t.state,r=t.name,n=e.rects.reference,a=e.rects.popper,i=e.modifiersData.preventOverflow,s=Yo(e,{elementContext:"reference"}),o=Yo(e,{altBoundary:!0}),l=Jy(s,n),c=Jy(o,a,i),u=ev(l),f=ev(c);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const TW={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wW};function CW(t,e,r){var n=Wn(t),a=[Fr,jr].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,s=i[0],o=i[1];return s=s||0,o=(o||0)*a,[Fr,ln].indexOf(n)>=0?{x:o,y:s}:{x:s,y:o}}function OW(t){var e=t.state,r=t.options,n=t.name,a=r.offset,i=a===void 0?[0,0]:a,s=uC.reduce(function(u,f){return u[f]=CW(f,e.rects,i),u},{}),o=s[e.placement],l=o.x,c=o.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=s}const _W={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:OW};function NW(t){var e=t.state,r=t.name;e.modifiersData[r]=bC({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const IW={name:"popperOffsets",enabled:!0,phase:"read",fn:NW,data:{}};function DW(t){return t==="x"?"y":"x"}function RW(t){var e=t.state,r=t.options,n=t.name,a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,o=s===void 0?!1:s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,f=r.padding,p=r.tether,h=p===void 0?!0:p,m=r.tetherOffset,b=m===void 0?0:m,v=Yo(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),g=Wn(e.placement),S=hs(e.placement),E=!S,k=E2(g),w=DW(k),T=e.modifiersData.popperOffsets,O=e.rects.reference,C=e.rects.popper,_=typeof b=="function"?b(Object.assign({},e.rects,{placement:e.placement})):b,I=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),N=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,R={x:0,y:0};if(T){if(i){var D,P=k==="y"?jr:Fr,j=k==="y"?An:ln,z=k==="y"?"height":"width",M=T[k],L=M+v[P],V=M-v[j],U=h?-C[z]/2:0,q=S===ds?O[z]:C[z],Q=S===ds?-C[z]:-O[z],X=e.elements.arrow,G=h&&X?S2(X):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:pC(),oe=Y[P],ie=Y[j],te=uo(0,O[z],G[z]),se=E?O[z]/2-U-te-oe-I.mainAxis:q-te-oe-I.mainAxis,me=E?-O[z]/2+U+te+ie+I.mainAxis:Q+te+ie+I.mainAxis,fe=e.elements.arrow&&bA(e.elements.arrow),ce=fe?k==="y"?fe.clientTop||0:fe.clientLeft||0:0,ue=(D=N?.[k])!=null?D:0,K=M+se-ue-ce,re=M+me-ue,Ae=uo(h?yc(L,K):L,M,h?pi(V,re):V);T[k]=Ae,R[k]=Ae-M}if(o){var Ee,Ie=k==="x"?jr:Fr,Qe=k==="x"?An:ln,qe=T[w],rt=w==="y"?"height":"width",Be=qe+v[Ie],de=qe-v[Qe],ae=[jr,Fr].indexOf(g)!==-1,pe=(Ee=N?.[w])!=null?Ee:0,xe=ae?Be:qe-O[rt]-C[rt]-pe+I.altAxis,Ne=ae?qe+O[rt]+C[rt]-pe-I.altAxis:de,Ge=h&&ae?nW(xe,qe,Ne):uo(h?xe:Be,qe,h?Ne:de);T[w]=Ge,R[w]=Ge-qe}e.modifiersData[n]=R}}const PW={name:"preventOverflow",enabled:!0,phase:"main",fn:RW,requiresIfExists:["offset"]};function LW(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function MW(t){return t===Yr(t)||!sn(t)?k2(t):LW(t)}function HW(t){var e=t.getBoundingClientRect(),r=fs(e.width)/t.offsetWidth||1,n=fs(e.height)/t.offsetHeight||1;return r!==1||n!==1}function jW(t,e,r){r===void 0&&(r=!1);var n=sn(e),a=sn(e)&&HW(e),i=Ya(e),s=ps(t,a,r),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Yn(e)!=="body"||T2(i))&&(o=MW(e)),sn(e)?(l=ps(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=w2(i))),{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function FW(t){var e=new Map,r=new Set,n=[];t.forEach(function(i){e.set(i.name,i)});function a(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(o){if(!r.has(o)){var l=e.get(o);l&&a(l)}}),n.push(i)}return t.forEach(function(i){r.has(i.name)||a(i)}),n}function UW(t){var e=FW(t);return ZV.reduce(function(r,n){return r.concat(e.filter(function(a){return a.phase===n}))},[])}function zW(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function BW(t){var e=t.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var tv={placement:"bottom",modifiers:[],strategy:"absolute"};function rv(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function qW(t){t===void 0&&(t={});var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,a=e.defaultOptions,i=a===void 0?tv:a;return function(o,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},tv,i),modifiersData:{},elements:{reference:o,popper:l},attributes:{},styles:{}},f=[],p=!1,h={state:u,setOptions:function(g){var S=typeof g=="function"?g(u.options):g;b(),u.options=Object.assign({},i,u.options,S),u.scrollParents={reference:Si(o)?fo(o):o.contextElement?fo(o.contextElement):[],popper:fo(l)};var E=UW(BW([].concat(n,u.options.modifiers)));return u.orderedModifiers=E.filter(function(k){return k.enabled}),m(),h.update()},forceUpdate:function(){if(!p){var g=u.elements,S=g.reference,E=g.popper;if(rv(S,E)){u.rects={reference:jW(S,bA(E),u.options.strategy==="fixed"),popper:S2(E)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(I){return u.modifiersData[I.name]=Object.assign({},I.data)});for(var k=0;k<u.orderedModifiers.length;k++){if(u.reset===!0){u.reset=!1,k=-1;continue}var w=u.orderedModifiers[k],T=w.fn,O=w.options,C=O===void 0?{}:O,_=w.name;typeof T=="function"&&(u=T({state:u,options:C,name:_,instance:h})||u)}}}},update:zW(function(){return new Promise(function(v){h.forceUpdate(),v(u)})}),destroy:function(){b(),p=!0}};if(!rv(o,l))return h;h.setOptions(c).then(function(v){!p&&c.onFirstUpdate&&c.onFirstUpdate(v)});function m(){u.orderedModifiers.forEach(function(v){var g=v.name,S=v.options,E=S===void 0?{}:S,k=v.effect;if(typeof k=="function"){var w=k({state:u,name:g,instance:h,options:E}),T=function(){};f.push(w||T)}})}function b(){f.forEach(function(v){return v()}),f=[]}return h}}var VW=[fW,IW,uW,eW,_W,kW,PW,oW,TW],xC=qW({defaultModifiers:VW}),yC=function(){if(typeof Map<"u")return Map;function t(e,r){var n=-1;return e.some(function(a,i){return a[0]===r?(n=i,!0):!1}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(r){var n=t(this.__entries__,r),a=this.__entries__[n];return a&&a[1]},e.prototype.set=function(r,n){var a=t(this.__entries__,r);~a?this.__entries__[a][1]=n:this.__entries__.push([r,n])},e.prototype.delete=function(r){var n=this.__entries__,a=t(n,r);~a&&n.splice(a,1)},e.prototype.has=function(r){return!!~t(this.__entries__,r)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var a=0,i=this.__entries__;a<i.length;a++){var s=i[a];r.call(n,s[1],s[0])}},e}()}(),Ug=typeof window<"u"&&typeof document<"u"&&window.document===document,vc=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),WW=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(vc):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),XW=2;function QW(t,e){var r=!1,n=!1,a=0;function i(){r&&(r=!1,t()),n&&o()}function s(){WW(i)}function o(){var l=Date.now();if(r){if(l-a<XW)return;n=!0}else r=!0,n=!1,setTimeout(s,e);a=l}return o}var GW=20,YW=["top","right","bottom","left","width","height","size","weight"],KW=typeof MutationObserver<"u",ZW=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=QW(this.refresh.bind(this),GW)}return t.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},t.prototype.removeObserver=function(e){var r=this.observers_,n=r.indexOf(e);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},t.prototype.updateObservers_=function(){var e=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return e.forEach(function(r){return r.broadcastActive()}),e.length>0},t.prototype.connect_=function(){!Ug||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),KW?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!Ug||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var r=e.propertyName,n=r===void 0?"":r,a=YW.some(function(i){return!!~n.indexOf(i)});a&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),vC=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var a=n[r];Object.defineProperty(t,a,{value:e[a],enumerable:!1,writable:!1,configurable:!0})}return t},ms=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||vc},SC=cu(0,0,0,0);function Sc(t){return parseFloat(t)||0}function nv(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce(function(n,a){var i=t["border-"+a+"-width"];return n+Sc(i)},0)}function $W(t){for(var e=["top","right","bottom","left"],r={},n=0,a=e;n<a.length;n++){var i=a[n],s=t["padding-"+i];r[i]=Sc(s)}return r}function JW(t){var e=t.getBBox();return cu(0,0,e.width,e.height)}function eX(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return SC;var n=ms(t).getComputedStyle(t),a=$W(n),i=a.left+a.right,s=a.top+a.bottom,o=Sc(n.width),l=Sc(n.height);if(n.boxSizing==="border-box"&&(Math.round(o+i)!==e&&(o-=nv(n,"left","right")+i),Math.round(l+s)!==r&&(l-=nv(n,"top","bottom")+s)),!rX(t)){var c=Math.round(o+i)-e,u=Math.round(l+s)-r;Math.abs(c)!==1&&(o-=c),Math.abs(u)!==1&&(l-=u)}return cu(a.left,a.top,o,l)}var tX=function(){return typeof SVGGraphicsElement<"u"?function(t){return t instanceof ms(t).SVGGraphicsElement}:function(t){return t instanceof ms(t).SVGElement&&typeof t.getBBox=="function"}}();function rX(t){return t===ms(t).document.documentElement}function nX(t){return Ug?tX(t)?JW(t):eX(t):SC}function aX(t){var e=t.x,r=t.y,n=t.width,a=t.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,s=Object.create(i.prototype);return vC(s,{x:e,y:r,width:n,height:a,top:r,right:e+n,bottom:a+r,left:e}),s}function cu(t,e,r,n){return{x:t,y:e,width:r,height:n}}var iX=function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=cu(0,0,0,0),this.target=e}return t.prototype.isActive=function(){var e=nX(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t}(),sX=function(){function t(e,r){var n=aX(r);vC(this,{target:e,contentRect:n})}return t}(),oX=function(){function t(e,r,n){if(this.activeObservations_=[],this.observations_=new yC,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=r,this.callbackCtx_=n}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ms(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(e)||(r.set(e,new iX(e)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ms(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(e)&&(r.delete(e),r.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&e.activeObservations_.push(r)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new sX(n.target,n.broadcastRect())});this.callback_.call(e,r,e),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),EC=typeof WeakMap<"u"?new WeakMap:new yC,kC=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=ZW.getInstance(),n=new oX(e,r,this);EC.set(this,n)}return t}();["observe","unobserve","disconnect"].forEach(function(t){kC.prototype[t]=function(){var e;return(e=EC.get(this))[t].apply(e,arguments)}});var AX=function(){return typeof vc.ResizeObserver<"u"?vc.ResizeObserver:kC}();const wC=({isOpen:t,onClose:e,anchorEl:r,placement:n="right-start",children:a,className:i})=>{const s=x.useRef(null),o=x.useRef(null);return x.useEffect(()=>{if(t&&r&&s.current){o.current=xC(r,s.current,{placement:n??"right",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{boundary:"viewport",padding:8}},{name:"flip",options:{fallbackPlacements:["left-start"]}}]});const l=async()=>{o.current&&(await o.current.update(),s.current&&(s.current.style.visibility="visible"))};s.current&&(s.current.style.visibility="hidden"),l()}return()=>{o.current&&(o.current.destroy(),o.current=null)}},[t,r,n]),x.useEffect(()=>{if(!t||!s.current||!o.current)return;const l=new AX(()=>{o.current&&o.current.update()});return l.observe(s.current),()=>{l.disconnect()}},[t,a]),t?yn.createPortal(A.jsx("div",{ref:s,className:"z-[9999]",onMouseEnter:l=>l.stopPropagation(),onMouseLeave:e,children:A.jsx(ze.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},className:i,children:a})}),document.body):null},lX=t=>{const e=new Date(t),n=new Date().getTime()-e.getTime(),a=Math.floor(n/1e3),i=Math.floor(a/60),s=Math.floor(i/60),o=Math.floor(s/24);return a<60?"just now":i<60?`${i}m ago`:s<24?`${s}h ago`:o<7?`${o}d ago`:e.toLocaleDateString()},TC=({isActive:t,lastViewedOn:e})=>{const r=x.useMemo(()=>e?lX(e):null,[e]),n=x.useMemo(()=>{if(!e)return!1;const i=new Date(e);return(new Date().getTime()-i.getTime())/(1e3*60*60)<24},[e]);if(!t&&!r)return null;const a=()=>{if(t)return A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsx("div",{className:"w-2 h-2 rounded-full bg-primary-600"}),A.jsx(ee,{size:"small",variant:"medium",className:"text-primary-600",children:"Online now"})]});if(r){const i=n?"text-primary-300":"text-neutral-400";return A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsx("div",{className:B("w-2 h-2 rounded-full",n?"bg-primary-300":"bg-neutral-400")}),A.jsx(ee,{size:"small",variant:"medium",className:i,children:r})]})}return null};return A.jsxs("div",{className:"flex justify-between items-center",children:[A.jsx(ee,{size:"small",variant:"medium",className:"mr-5",appearance:"body",children:"Status"}),a()]})},zg={xs:"w-4 h-4 text-[7px] font-bold",sm:"w-6 h-6 text-[10px] font-bold",md:"w-9 h-9 text-[14px] font-semibold",lg:"w-12 h-12 text-[18px] font-semibold",xl:"w-16 h-16 text-[24px] font-semibold"},Ec=t=>{if(!t)return"";const e=t?.split(" ");return e?.length===1?e[0]?.charAt(0)?.toUpperCase():e[0]?.charAt(0)?.toUpperCase()+e[e?.length-1]?.charAt(0)?.toUpperCase()},CC=({fill:t="#98A2B3",className:e=""})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:e,children:A.jsx("path",{d:"M8 8C6.9 8 5.95833 7.60833 5.175 6.825C4.39167 6.04167 4 5.1 4 4C4 2.9 4.39167 1.95833 5.175 1.175C5.95833 0.391667 6.9 0 8 0C9.1 0 10.0417 0.391667 10.825 1.175C11.6083 1.95833 12 2.9 12 4C12 5.1 11.6083 6.04167 10.825 6.825C10.0417 7.60833 9.1 8 8 8ZM2 16C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V13.2C0 12.6333 0.145833 12.1125 0.4375 11.6375C0.729167 11.1625 1.11667 10.8 1.6 10.55C2.63333 10.0333 3.68333 9.64583 4.75 9.3875C5.81667 9.12917 6.9 9 8 9C9.1 9 10.1833 9.12917 11.25 9.3875C12.3167 9.64583 13.3667 10.0333 14.4 10.55C14.8833 10.8 15.2708 11.1625 15.5625 11.6375C15.8542 12.1125 16 12.6333 16 13.2V14C16 14.55 15.8042 15.0208 15.4125 15.4125C15.0208 15.8042 14.55 16 14 16H2Z",fill:t})}),OC=()=>{const t=x.useRef(null),e=x.useRef(null),[r,n]=x.useState({vertical:"bottom",horizontal:"left"}),[a,i]=x.useState(!1),s=x.useCallback(()=>{if(!t.current||!e.current)return;const c=t.current.getBoundingClientRect(),u=e.current.getBoundingClientRect(),f=window.innerWidth,h=window.innerHeight-c.bottom,m=c.top,b=f-c.left,v=c.right,g=h>=u.height||h>=m?"bottom":"top",S=b>=u.width||b>=v?"left":"right";n({vertical:g,horizontal:S})},[]),o=x.useCallback(()=>{i(!0),setTimeout(()=>{s()},0)},[s]),l=x.useCallback(()=>{i(!1)},[]);return{triggerRef:t,dropdownRef:e,position:r,isVisible:a,show:o,hide:l}},dl=({label:t,content:e})=>A.jsxs("div",{className:"flex justify-between items-center",children:[A.jsx(ee,{size:"small",variant:"medium",className:"mr-5",appearance:"body",children:t}),e]}),_C=({firstName:t,lastName:e,email:r,profilePic:n,size:a="md",hoverSize:i="lg",containerClassName:s="",enablePopper:o=!0,className:l,userId:c,lastViewedOn:u,isActive:f,statusIndicator:p=!1,userDetails:h,isFetchingUserDetails:m=!1,authToken:b,onHover:v})=>{if(t==="All"&&e==="Users")return A.jsx("div",{className:"p-1 rounded-full bg-primary-100 dark:bg-black-600 flex items-center justify-center",children:A.jsx(be.GroupsOutlined,{sx:{fontSize:16},className:"text-primary-600 dark:text-primary-600"})});const[g,S]=x.useState(!1),[E,k]=x.useState(!1),w=zg[a],{triggerRef:T,dropdownRef:O,position:C,isVisible:_,show:I,hide:N}=OC(),R=x.useRef({}),D=x.useMemo(()=>{if(f||!u)return!1;const oe=new Date(u);return(new Date().getTime()-oe.getTime())/(1e3*60*60)<24},[f,u]),j=f?"bg-primary-600 dark:bg-primary-600":D?"bg-primary-300 dark:bg-primary-300":u?"bg-neutral-400 dark:bg-neutral-400":null,M=f?"border-primary-600 dark:border-primary-600":D?"border-primary-300 dark:border-primary-300":u?"border-neutral-400 dark:border-neutral-400":"border-primary-200 dark:border-neutral-800",L={xs:"w-2 h-2",sm:"w-2.5 h-2.5",md:"w-3 h-3",lg:"w-3.5 h-3.5",xl:"w-4 h-4"};x.useEffect(()=>{if(n)if(R.current[n])k(!0);else{k(!1);const oe=new Image,ie=b||(typeof localStorage<"u"?localStorage.getItem("token"):null);oe.src=n+(ie?"?token="+ie:""),oe.onload=()=>{R.current[n]=oe.src,k(!0)},oe.onerror=()=>{k(!1)}}else k(!1)},[n,b]),x.useEffect(()=>()=>{U.current&&clearTimeout(U.current)},[]);const V=n?R.current[n]:void 0,U=x.useRef(null),q=x.useRef(null),Q=()=>{v?.(),t&&e&&o&&(U.current&&clearTimeout(U.current),U.current=setTimeout(()=>{S(!0)},300))},X=oe=>{U.current&&clearTimeout(U.current),U.current=setTimeout(()=>{q.current&&!q.current.contains(oe.relatedTarget)&&S(!1)},200)},G=A.jsxs("div",{ref:q,className:"bg-white dark:bg-black-800 shadow rounded-lg border border-neutral-200 dark:border-black-700",onMouseEnter:()=>{U.current&&clearTimeout(U.current)},onMouseLeave:oe=>X(oe),children:[A.jsxs("div",{className:"flex flex-col gap-1 items-center p-5",children:[A.jsxs("div",{className:B("relative",zg[i]),children:[V&&E?A.jsx("img",{src:V,alt:"Profile",className:B("rounded-full border-2 object-cover w-full h-full",M),onError:()=>k(!1)}):A.jsx("div",{className:B("bg-primary-100 dark:bg-primary-950 text-primary-600 border-2 flex items-center justify-center rounded-full w-full h-full",M),children:Ec((t||"")+" "+(e||""))}),j&&A.jsx("div",{className:B("absolute bottom-0 right-0 rounded-full border-2 border-white dark:border-black-800",L[i],j)})]}),A.jsxs("div",{className:"flex flex-row gap-1 items-center justify-center",children:[A.jsxs(ee,{size:"medium",variant:"semibold",className:"w-full text-center",children:[t||""," ",e||""]}),h?.region&&A.jsx("span",{children:Z4(h?.region)})]}),A.jsx(ee,{size:"small",variant:"medium",appearance:"body",children:r||h?.email||""})]}),c&&(m?A.jsx("div",{className:"p-5",children:A.jsx(x2,{})}):c&&(h?.teams||h?.clearanceLevel||h?.group)?A.jsxs("div",{className:"flex flex-col gap-4 bg-neutral-50 border-t border-neutral-200 dark:bg-black-700 dark:border-none p-5 rounded-b-lg",children:[A.jsx(TC,{isActive:f,lastViewedOn:u}),h.username&&A.jsx(dl,{label:"Username",content:A.jsx("div",{className:"flex gap-2",children:A.jsx(ee,{size:"small",variant:"medium",appearance:"body",children:h.username})})}),h?.teams&&h?.teams?.length>0&&A.jsx(dl,{label:"Team",content:A.jsxs("div",{className:"flex gap-2",children:[h?.teams?.length>0&&A.jsx(vr,{label:h?.teams[0]?.name,color:h?.teams[0]?.color||"#e38715",size:"sm",isHashColor:!0},h?.teams[0]?.id),h?.teams?.length>=2&&A.jsxs("div",{ref:T,className:"relative cursor-pointer",onMouseEnter:I,onMouseLeave:N,onClick:oe=>oe.stopPropagation(),children:[A.jsx(vr,{label:`+ ${h?.teams?.length-1} More`,color:"#004f08",size:"sm",isHashColor:!0},1),_&&A.jsx("div",{ref:O,className:B("absolute w-max bg-white dark:text-black-200 dark:bg-black-800 shadow-md border border-neutral-200 dark:border-black-800 rounded-md px-2 z-10 overflow-y-auto max-h-60",{"top-full":C.vertical==="bottom","bottom-full":C.vertical==="top","left-0":C.horizontal==="left","right-0":C.horizontal==="right"}),onMouseEnter:I,onMouseLeave:N,children:h?.teams?.slice(1)?.map((oe,ie)=>A.jsx("div",{className:"my-2",children:A.jsx(vr,{label:oe?.name,color:oe?.color||"#4A5568",size:"sm",isHashColor:!0,className:"w-fit"},oe?.id)},oe?.id||ie))})]})]})}),h?.group&&A.jsx(dl,{label:"Role",content:A.jsx(vr,{label:h?.group,color:"#004094",size:"sm",isHashColor:!0},h?.group)}),h?.clearanceLevel&&A.jsx(dl,{label:"Clearance Level",content:A.jsx(vr,{label:`Level ${h?.clearanceLevel}`,color:"#b30000",size:"sm",isHashColor:!0},String(h?.clearanceLevel))})]}):A.jsx("div",{className:"flex items-center justify-center bg-neutral-50 dark:bg-black-700 border-t border-neutral-200 dark:border-black-700 p-5 rounded-b-lg",children:A.jsxs(ee,{className:"flex items-center justify-center gap-1",size:"extra-small",variant:"medium",appearance:"body",children:[A.jsx(DN,{sx:{height:"16px",width:"16px",color:"#F04438"}}),"No other information found!"]})}))]}),Y=x.useRef(null);return A.jsxs("div",{onMouseEnter:Q,onMouseLeave:X,className:B("inline-block relative cursor-pointer",l),ref:Y,children:[A.jsxs("div",{className:B("relative",s||w),children:[V&&E?A.jsx("img",{src:V,alt:"Profile",className:B("rounded-full border object-cover w-full h-full",M),onError:()=>k(!1)}):t&&e?A.jsx("div",{className:B("bg-primary-100 text-primary-600 flex items-center justify-center rounded-full border dark:bg-black-700 w-full h-full",M),children:Ec((t||"")+" "+(e||""))}):A.jsx("div",{className:B(M,"p-1 rounded-full bg-neutral-200 dark:bg-black-600 flex items-center justify-center border w-full h-full"),children:A.jsx(CC,{fill:"#98A2B3"})}),p&&j&&A.jsx("div",{className:B("absolute bottom-0 right-0 rounded-full border border-white dark:border-black-800 w-2 h-2",j)})]}),A.jsx(wC,{isOpen:g,onClose:()=>S(!1),anchorEl:Y.current,className:"bg-white dark:bg-black-700 shadow rounded-lg border border-neutral-200 dark:border-black-600",children:G})]})};_C.displayName="UserAvatar";const C2=({initials:t,rounded:e,className:r})=>A.jsx("div",{className:B("bg-[#016DCF] p-2.5 flex items-center justify-center",{"rounded-full":e},r),children:A.jsx("span",{className:"text-white font-inter",children:t})});C2.displayName="NameInitialLogo";const NC=({url:t,username:e,className:r=""})=>{const[n,a]=x.useState(!1);return A.jsx(A.Fragment,{children:t&&!n?A.jsx("img",{className:r,alt:"user profile",src:t,onError:()=>a(!0)}):A.jsx(C2,{className:r,initials:e?Ec(e):"",rounded:!0})})};NC.displayName="UserProfilePic";const cX=({fill:t="currentColor",size:e=20,...r})=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:"none",...r,children:[A.jsx("g",{clipPath:"url(#clip0_79_37568)",children:A.jsx("path",{d:"M5.00033 15.8333C5.00033 16.75 5.75033 17.5 6.66699 17.5H13.3337C14.2503 17.5 15.0003 16.75 15.0003 15.8333V7.5C15.0003 6.58333 14.2503 5.83333 13.3337 5.83333H6.66699C5.75033 5.83333 5.00033 6.58333 5.00033 7.5V15.8333ZM7.50033 7.5H12.5003C12.9587 7.5 13.3337 7.875 13.3337 8.33333V15C13.3337 15.4583 12.9587 15.8333 12.5003 15.8333H7.50033C7.04199 15.8333 6.66699 15.4583 6.66699 15V8.33333C6.66699 7.875 7.04199 7.5 7.50033 7.5ZM12.917 3.33333L12.3253 2.74167C12.1753 2.59167 11.9587 2.5 11.742 2.5H8.25866C8.04199 2.5 7.82533 2.59167 7.67533 2.74167L7.08366 3.33333H5.00033C4.54199 3.33333 4.16699 3.70833 4.16699 4.16667C4.16699 4.625 4.54199 5 5.00033 5H15.0003C15.4587 5 15.8337 4.625 15.8337 4.16667C15.8337 3.70833 15.4587 3.33333 15.0003 3.33333H12.917Z",fill:t})}),A.jsx("defs",{children:A.jsx("clipPath",{id:"clip0_79_37568",children:A.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),uX=({className:t,size:e=24,fill:r="currentColor"})=>A.jsx("svg",{width:e,className:t,height:e,viewBox:"0 0 24 24",fill:r,xmlns:"http://www.w3.org/2000/svg",children:A.jsx("g",{id:"download",children:A.jsx("g",{mask:"url(#mask0_12019_10777)",children:A.jsx("path",{id:"download_2",d:"M12 15.575C11.8667 15.575 11.7417 15.554 11.625 15.512C11.5083 15.4707 11.4 15.4 11.3 15.3L7.7 11.7C7.51667 11.5167 7.425 11.2833 7.425 11C7.425 10.7167 7.51667 10.4833 7.7 10.3C7.88333 10.1167 8.12067 10.0207 8.412 10.012C8.704 10.004 8.94167 10.0917 9.125 10.275L11 12.15V5C11 4.71667 11.096 4.479 11.288 4.287C11.4793 4.09567 11.7167 4 12 4C12.2833 4 12.521 4.09567 12.713 4.287C12.9043 4.479 13 4.71667 13 5V12.15L14.875 10.275C15.0583 10.0917 15.296 10.004 15.588 10.012C15.8793 10.0207 16.1167 10.1167 16.3 10.3C16.4833 10.4833 16.575 10.7167 16.575 11C16.575 11.2833 16.4833 11.5167 16.3 11.7L12.7 15.3C12.6 15.4 12.4917 15.4707 12.375 15.512C12.2583 15.554 12.1333 15.575 12 15.575ZM6 20C5.45 20 4.97933 19.8043 4.588 19.413C4.196 19.021 4 18.55 4 18V16C4 15.7167 4.09567 15.479 4.287 15.287C4.479 15.0957 4.71667 15 5 15C5.28333 15 5.521 15.0957 5.713 15.287C5.90433 15.479 6 15.7167 6 16V18H18V16C18 15.7167 18.096 15.479 18.288 15.287C18.4793 15.0957 18.7167 15 19 15C19.2833 15 19.5207 15.0957 19.712 15.287C19.904 15.479 20 15.7167 20 16V18C20 18.55 19.8043 19.021 19.413 19.413C19.021 19.8043 18.55 20 18 20H6Z",fill:r})})})}),dX=({fill:t="currentColor",size:e=20})=>A.jsxs("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A.jsx("path",{d:"M5 17.5C4.54167 17.5 4.14917 17.3367 3.8225 17.01C3.49583 16.6833 3.33333 16.2917 3.33333 15.8333V4.16667C3.33333 3.70833 3.49667 3.31583 3.82333 2.98917C4.15 2.6625 4.54167 2.5 5 2.5H11.6667L16.6667 7.5V15.8333C16.6667 16.2917 16.5033 16.6842 16.1767 17.0108C15.85 17.3375 15.4583 17.5 15 17.5H5ZM10.8333 8.33333V3.33333H5V15.8333H15V8.33333H10.8333Z",fill:t}),A.jsx("path",{d:"M6.66667 13.3333H8.33333V12.5H9.16667C9.39167 12.5 9.58333 12.4167 9.75 12.25C9.91667 12.0833 10 11.8917 10 11.6667V10.8333C10 10.6083 9.91667 10.4167 9.75 10.25C9.58333 10.0833 9.39167 10 9.16667 10H6.66667V13.3333ZM7.5 11.6667V10.8333H8.33333V11.6667H7.5Z",fill:t}),A.jsx("path",{d:"M10.8333 13.3333H12.5C12.7361 13.3333 12.9306 13.25 13.0833 13.0833C13.2361 12.9167 13.3194 12.7222 13.3333 12.5V10.8333C13.3333 10.6083 13.25 10.4167 13.0833 10.25C12.9167 10.0833 12.7222 10 12.5 10H10.8333V13.3333ZM11.6667 12.5V10.8333H12.5V12.5H11.6667Z",fill:t})]}),fX=({fill:t="currentColor",size:e=20})=>A.jsx("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:A.jsx("path",{d:"M5 17.5C4.54167 17.5 4.14917 17.3367 3.8225 17.01C3.49583 16.6833 3.33333 16.2917 3.33333 15.8333V4.16667C3.33333 3.70833 3.49667 3.31583 3.82333 2.98917C4.15 2.6625 4.54167 2.5 5 2.5H11.6667L16.6667 7.5V15.8333C16.6667 16.2917 16.5033 16.6842 16.1767 17.0108C15.85 17.3375 15.4583 17.5 15 17.5H5ZM10.8333 8.33333V3.33333H5V15.8333H15V8.33333H10.8333ZM6.66667 14.1667V12.5H13.3333V14.1667H6.66667ZM6.66667 11.6667V10H13.3333V11.6667H6.66667ZM6.66667 9.16667V7.5H9.16667V9.16667H6.66667Z",fill:t})}),pX=({className:t,size:e=40})=>A.jsx("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:A.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"12"})}),{Dragger:hX}=Xe.Upload,mX=200*1024*1024,gX=({getFile:t,id:e,label:r,description:n,required:a=!1,errorMessage:i=null,disabled:s=!1,defaultFile:o=null,acceptedFiles:l=null,isLoading:c=!1,asBase64:u=!1,toFileServer:f=!1,setFileUploading:p,fileUploading:h=!1,uploadToDocServer:m=!1,multiple:b=!1,getRealFileName:v=!1,onDelete:g,hideSelectedFile:S=!1,maxSize:E=mX,fileUploadService:k,clickToUploadText:w,dragAndDropText:T,setFileData:O,fileData:C})=>{const[_,I]=x.useState(null),[N,R]=x.useState([]),[D,P]=x.useState("#d9d9d9"),[j,z]=x.useState(!1),[M,L]=x.useState(null),{t:V}=Kt.useTranslation(),U=async()=>{if(!k||!Bi){console.warn("FileUploadDragger: File server upload requires fileUploadService, buildQueryParams, and getToken");return}Promise.all(N.map(Y=>{const oe=new FormData;oe.append("file",Y);const ie=Bi({file_upload_path:m?"document-server":null,token:localStorage.getItem("token")});return k.uploadFileToFileServer(oe,ie)})).then(Y=>{t(b?Y?.map(oe=>oe?.fileUrl):Y?.[0]?.fileUrl,v?_?.name:Y?.[0]?.fileName),O?.(b?Y?.map(oe=>oe):Y?.[0]),p?.(null),L(Y?.[0])})},q={accept:l||"*",multiple:b,showUploadList:!1,disabled:s,onRemove:()=>{R([])},beforeUpload:(Y,oe)=>{if(Y.size>E){const ie=Math.round(E/1048576),te=jt?.fileSizeLimit(String(ie),"MB")||`File size must be less than ${ie}MB`;return It.toast?.error(te,{toastId:te}),!1}if(S||I(Y),f)p?.(e||"field-file-upload"),R(oe);else{if(u){const ie=new FileReader;ie.onload=te=>{const se=te?.target?.result;t(se,Y?.name)},ie.readAsDataURL(Y)}else t(Y);S||I(Y)}return!1}},Q=async()=>{if(f&&M&&k&&Bi){const Y=Bi({token:localStorage.getItem("token")});k.deleteFileFromFileServer(M?.fileName,Y).then(()=>{L(null)})}I(null),R([]),t(""),g?.()};x.useEffect(()=>{o?.name&&I(o),C&&I?.(C)},[o,C]),x.useEffect(()=>{P(i?"#EF4444":"#d9d9d9")},[i]),x.useEffect(()=>{N.length&&U()},[N]);const X=Y=>Y.includes("?")?new URLSearchParams(Y.split("?")[1]).get("file_name"):null,G=Y=>{const te=f&&!h&&X(Y||C?.fileUrl)||Y;return te?te.length<=30?te:`${te.slice(0,23)}....${te.slice(-7)}`:""};return A.jsxs("div",{className:"flex flex-col gap-1",children:[r?A.jsx(Zt,{label:r,required:a}):null,A.jsx("div",{className:"h-32",onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1),children:A.jsx(hX,{...q,style:{borderColor:j&&!i?"var(--color-primary-500)":D},disabled:s||h,children:_&&!S?A.jsxs("div",{className:"flex items-center justify-between mx-5",title:_?.name||o?.name,children:[A.jsxs("div",{className:"flex items-center justify-center gap-4",children:[_?.type==="application/pdf"?A.jsx("div",{className:"p-3 bg-primary-50 rounded-lg",children:A.jsx(dX,{size:20,fill:"var(--color-primary-500)"})}):A.jsx("div",{className:"p-3 bg-primary-50 rounded-lg",children:A.jsx(fX,{size:20,fill:"var(--color-primary-500)"})}),A.jsxs("div",{className:"text-left",children:[A.jsx(ee,{size:"small",variant:"medium",className:"font-inter text-md text-neutral-900 font-medium text-base",children:G(_?.name||o?.name)}),h?A.jsx(ee,{size:"small",variant:"medium",appearance:"subtitle",children:V("Uploading...")}):_?.size>0?A.jsxs(ee,{size:"small",variant:"medium",appearance:"subtitle",children:[(_.size/1e3).toFixed(2)," ","KB"]}):null]})]}),c?A.jsx(pX,{size:40,className:"spinner text-primary-600"}):A.jsx("button",{id:"btn-file-upload",className:"ml-4",onClick:Y=>{Y.stopPropagation(),Q()},type:"button",disabled:s,children:A.jsx(cX,{size:20,fill:"#98A2B3"})})]}):A.jsx("div",{className:"flex items-center justify-center",children:A.jsxs("div",{className:"flex-col",children:[A.jsx("div",{className:"mb-4 flex justify-center",children:A.jsx(uX,{size:24,fill:"#98A2B3"})}),A.jsxs("div",{children:[A.jsxs("div",{className:"flex items-center justify-center",children:[A.jsx(ee,{size:"small",variant:"medium",className:"text-primary-600 dark:text-primary-300",appearance:"custom",children:w||V("Click to upload")}),A.jsx(ee,{size:"small",variant:"medium",className:"ml-1",appearance:"subtitle",children:T||V("or drag and drop")})]}),n?A.jsx(ee,{size:"small",variant:"medium",className:"text-neutral-400",children:n}):null]})]})})})}),i&&A.jsx(ee,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:i})]})},bX=({animationData:t,width:e=200,height:r=200,loop:n=!0,autoplay:a=!0,className:i,"data-testid":s})=>{const o=x.useRef(null);return x.useEffect(()=>{if(o.current){const l=wN.loadAnimation({container:o.current,renderer:"svg",loop:n,autoplay:a,animationData:t});return()=>{l.destroy()}}},[t,n,a]),A.jsx("div",{ref:o,className:i,style:{width:e,height:r},"data-testid":s})},Ce={BOOLEAN:"boolean",CHOICE:"choice",CURRENCY:"currency",DATE:"date",DATETIME:"datetime",DYNAMIC:"dynamic",EMAIL:"email",MASTER_DATA:"master data",NUMBER:"number",STRING:"string",TAG:"tag",TEXT:"text"},xX=[{label:"Boolean",value:Ce.BOOLEAN},{label:"Choice",value:Ce.CHOICE},{label:"Currency",value:Ce.CURRENCY},{label:"Date",value:Ce.DATE},{label:"Datetime",value:Ce.DATETIME},{label:"Dynamic",value:Ce.DYNAMIC},{label:"Email",value:Ce.EMAIL},{label:"Master Data",value:Ce.MASTER_DATA},{label:"Number",value:Ce.NUMBER},{label:"String",value:Ce.STRING},{label:"Tag",value:Ce.TAG},{label:"Text",value:Ce.TEXT}],yX={[Ce.BOOLEAN]:"#ECFDF3",[Ce.CHOICE]:"#FCEEF3",[Ce.DATE]:"#EAEBF6",[Ce.EMAIL]:"#E3F3FF",[Ce.CURRENCY]:"#FEF4E8",[Ce.DATETIME]:"#F2F7F2",[Ce.TEXT]:"#E4FFCD",[Ce.STRING]:"#E4FFCD",[Ce.TAG]:"#FFD4D8",[Ce.MASTER_DATA]:"#FFFCEA",[Ce.DYNAMIC]:"#FFEAFE",[Ce.NUMBER]:"#D8FBF8"},vX={[Ce.BOOLEAN]:"#D1FADF",[Ce.CHOICE]:"#F5CAD9",[Ce.DATE]:"#BEBFE2",[Ce.EMAIL]:"#B1DEFF",[Ce.CURRENCY]:"#FDDEB7",[Ce.DATETIME]:"#D5E5D5",[Ce.TEXT]:"#CBFF9D",[Ce.STRING]:"#CBFF9D",[Ce.TAG]:"#FFBAC1",[Ce.MASTER_DATA]:"#FFF3B2",[Ce.DYNAMIC]:"#FFC4FB",[Ce.NUMBER]:"#B2FBF5"},SX={[Ce.BOOLEAN]:"#063723",[Ce.CHOICE]:"#590724",[Ce.DATE]:"#040642",[Ce.EMAIL]:"#043056",[Ce.CURRENCY]:"#591F08",[Ce.DATETIME]:"#084605",[Ce.TEXT]:"#254B03",[Ce.STRING]:"#254B03",[Ce.TAG]:"#530F04",[Ce.MASTER_DATA]:"#564007",[Ce.DYNAMIC]:"#52084D",[Ce.NUMBER]:"#08504A"},EX={[Ce.BOOLEAN]:"#032D1C",[Ce.CHOICE]:"#41051A",[Ce.DATE]:"#010227",[Ce.EMAIL]:"#05233D",[Ce.CURRENCY]:"#391506",[Ce.DATETIME]:"#052E04",[Ce.TEXT]:"#172E03",[Ce.STRING]:"#172E03",[Ce.TAG]:"#3E0B04",[Ce.MASTER_DATA]:"#3D2D04",[Ce.DYNAMIC]:"#350332",[Ce.NUMBER]:"#03332F"},kX=({fill:t="#CCAE00",size:e=12})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 21 20",fill:"none",children:A.jsx("path",{d:"M10.666 17.5C8.56879 17.5 6.79449 17.1771 5.3431 16.5312C3.89171 15.8854 3.16602 15.0972 3.16602 14.1667V5.83333C3.16602 4.91667 3.89865 4.13194 5.36393 3.47917C6.82921 2.82639 8.59657 2.5 10.666 2.5C12.7355 2.5 14.5028 2.82639 15.9681 3.47917C17.4334 4.13194 18.166 4.91667 18.166 5.83333V14.1667C18.166 15.0972 17.4403 15.8854 15.9889 16.5312C14.5375 17.1771 12.7632 17.5 10.666 17.5Z",fill:t})}),wX=({fill:t="#DB00CD",size:e=12})=>A.jsx("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:A.jsx("path",{d:"M3.70019 8.625C3.35019 8.91667 2.98561 9.05 2.60644 9.025C2.22727 9 1.89602 8.87083 1.61269 8.6375C1.32935 8.40417 1.1356 8.09792 1.03144 7.71875C0.927272 7.33958 0.996022 6.95 1.23769 6.55L2.17519 5C1.96685 4.81667 1.80227 4.59583 1.68144 4.3375C1.5606 4.07917 1.50019 3.8 1.50019 3.5C1.50019 2.95 1.69602 2.47917 2.08769 2.0875C2.47936 1.69583 2.95019 1.5 3.50019 1.5C4.05019 1.5 4.52102 1.69583 4.91269 2.0875C5.30436 2.47917 5.50019 2.95 5.50019 3.5C5.50019 4.05 5.30436 4.52083 4.91269 4.9125C4.52102 5.30417 4.05019 5.5 3.50019 5.5C3.42519 5.5 3.35019 5.49583 3.27519 5.4875C3.20019 5.47917 3.12935 5.46667 3.06269 5.45L2.10019 7.075C2.00852 7.225 1.97936 7.37292 2.01269 7.51875C2.04602 7.66458 2.11686 7.78333 2.22519 7.875C2.33352 7.96667 2.46269 8.01875 2.61269 8.03125C2.76269 8.04375 2.90852 7.99167 3.05019 7.875L8.30019 3.3625C8.65019 3.07083 9.01686 2.93958 9.40019 2.96875C9.78352 2.99792 10.1169 3.12917 10.4002 3.3625C10.6835 3.59583 10.8752 3.90208 10.9752 4.28125C11.0752 4.66042 11.0044 5.05 10.7627 5.45L9.82519 7C10.0335 7.18333 10.1981 7.40417 10.3189 7.6625C10.4398 7.92083 10.5002 8.2 10.5002 8.5C10.5002 9.05 10.3044 9.52083 9.91269 9.9125C9.52102 10.3042 9.05019 10.5 8.50019 10.5C7.95019 10.5 7.47936 10.3042 7.08769 9.9125C6.69602 9.52083 6.50019 9.05 6.50019 8.5C6.50019 7.95 6.69602 7.47917 7.08769 7.0875C7.47936 6.69583 7.95019 6.5 8.50019 6.5C8.57519 6.5 8.64811 6.50417 8.71894 6.5125C8.78977 6.52083 8.85852 6.53333 8.92519 6.55L9.90019 4.925C9.99186 4.775 10.021 4.62708 9.98769 4.48125C9.95436 4.33542 9.88352 4.21667 9.77519 4.125C9.66686 4.03333 9.53769 3.98125 9.38769 3.96875C9.23769 3.95625 9.09186 4.00833 8.95019 4.125L3.70019 8.625Z",fill:t})}),IC=({dataType:t="text",tooltip:e})=>{const r=xX.find(s=>s.value===t),[n,a]=x.useState(!1),i=document.documentElement.classList.contains("dark");return A.jsx(Me,{title:e||r?.label,placement:"top",children:A.jsx("span",{className:B("flex items-center justify-center p-1 rounded-[4px]"),style:{backgroundColor:n?i?EX[t]:vX[t]:i?SX[t]:yX[t]},onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:(()=>{switch(t){case Ce.BOOLEAN:return A.jsx(be.Rule,{sx:{fontSize:12},className:"text-success-500"});case Ce.CHOICE:return A.jsx(be.FormatListBulleted,{sx:{fontSize:12},className:"text-peach-500"});case Ce.DATE:return A.jsx(be.CalendarMonth,{sx:{fontSize:12},className:"text-navy-600"});case Ce.EMAIL:return A.jsx(be.MailOutline,{sx:{fontSize:12},className:"text-[#139AFA]"});case Ce.CURRENCY:return A.jsx(be.AttachMoney,{sx:{fontSize:12},className:"text-orange-500"});case Ce.DATETIME:return A.jsx(be.Schedule,{sx:{fontSize:12},className:"text-green-600"});case Ce.TEXT:case Ce.STRING:return A.jsx(be.SubjectOutlined,{sx:{fontSize:12},className:"text-[#58B507]"});case Ce.TAG:return A.jsx(be.LocalOfferOutlined,{sx:{fontSize:12},className:"text-[#B31121]"});case Ce.MASTER_DATA:return A.jsx(kX,{size:12,fill:"#CCAE00"});case Ce.DYNAMIC:return A.jsx(wX,{fill:"#DB00CD",size:12});case Ce.NUMBER:return A.jsx(be.Numbers,{sx:{fontSize:12},className:"text-[#00E4D1]"});default:return null}})()})})},TX=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"233",height:"165",viewBox:"0 0 233 165",fill:"none",className:"",children:[A.jsxs("g",{clipPath:"url(#clip0_769_17883)",children:[A.jsx("ellipse",{cx:"116.5",cy:"154.701",rx:"116",ry:"36",fill:"url(#paint0_linear_769_17883)",className:"fill-[url(#paint0_linear_769_17883)] dark:fill-[url(#dark_gradient)]"}),A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M79.5469 130.193C79.6115 121.866 78.1765 109.853 75.8569 102.024C72.9573 92.2364 70.8235 91.8227 68.2651 91.6957C65.7067 91.5687 62.0234 93.4376 63.8575 105.675C64.2395 108.224 64.5821 110.738 64.9104 113.147C65.1807 115.131 65.4413 117.043 65.7063 118.846C64.1257 119.358 62.2552 119.198 62.0163 116.314C61.6185 111.514 61.1533 109.726 60.1554 109.164C59.1574 108.601 57.0831 108.642 57.3916 112.761C57.4366 113.362 57.4625 114.006 57.4891 114.667C57.6448 118.533 57.8248 123.006 62.0004 123.249C63.8519 123.356 65.2865 123.152 66.3409 122.843C67.1357 127.399 68.0533 130.821 69.4136 132.213C74.7164 133.182 78.3787 131.27 79.5469 130.193Z",className:"fill-primary-100 dark:fill-primary-600"}),A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M180.377 105.54C179.568 114.329 177.716 124.231 175.577 131.509C173.803 132.404 168.743 133.446 162.699 130.461C161.541 128.32 161.612 123.891 162.22 118.139C160.846 118.149 159.051 117.902 156.862 117.137C151.924 115.413 153.242 109.972 154.382 105.27L154.382 105.27C154.577 104.466 154.767 103.683 154.919 102.945C155.962 97.8859 158.47 98.5489 159.477 99.5678C160.484 100.587 160.43 102.896 159.261 108.805C158.558 112.353 160.753 113.188 162.829 113.115C163.129 110.857 163.472 108.468 163.828 105.99L163.828 105.989C164.26 102.98 164.711 99.839 165.126 96.6432C167.12 81.2987 172.191 80.3156 175.224 81.3464C178.256 82.3771 180.68 83.6069 180.808 96.3707C180.823 97.8677 180.784 99.4663 180.698 101.136C182.299 101.587 184.075 101.282 184.369 98.3709C184.892 93.202 185.424 91.2826 186.5 90.6933C187.576 90.1039 189.788 90.1833 189.375 94.6189C189.314 95.2667 189.273 95.96 189.232 96.6725C188.986 100.838 188.703 105.658 184.244 105.848C182.68 105.914 181.398 105.775 180.377 105.54Z",className:"fill-primary-50 dark:fill-primary-600"}),A.jsx("circle",{cx:"32.5",cy:"71",r:"12",className:"fill-primary-50 dark:fill-primary-600"}),A.jsx("circle",{cx:"168.501",cy:"22.7008",r:"17",transform:"rotate(25.7746 168.501 22.7008)",className:"fill-primary-200 dark:fill-primary-600"}),A.jsx("path",{d:"M190.28 32.4072C189.984 33.0994 189.242 33.7198 187.849 34.1242C186.464 34.526 184.584 34.6652 182.308 34.5043C177.765 34.1831 171.87 32.6835 165.725 30.0526C159.58 27.4217 154.427 24.1911 151.059 21.1252C149.371 19.589 148.174 18.1325 147.51 16.8533C146.84 15.5659 146.777 14.6009 147.074 13.9087C147.37 13.2165 148.112 12.5961 149.505 12.1917C150.89 11.79 152.77 11.6507 155.046 11.8117C159.589 12.1329 165.484 13.6324 171.629 16.2633C177.774 18.8942 182.927 22.1249 186.295 25.1907C187.983 26.727 189.18 28.1835 189.845 29.4627C190.514 30.7501 190.577 31.715 190.28 32.4072Z",stroke:"currentColor",strokeWidth:"2",className:"stroke-primary-100"}),A.jsx("path",{d:"M183.809 30.093C179.727 38.5478 176.086 28.5844 167.631 24.5019C159.176 20.4193 149.109 23.7634 153.192 15.3087C157.274 6.85394 167.438 3.30958 175.893 7.39215C184.347 11.4747 187.892 21.6382 183.809 30.093Z",className:"fill-primary-200 dark:fill-primary-600"}),A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M101.722 83.3089C101.501 98.71 102.886 116.238 105.251 129.263C108.165 131.143 116.754 133.888 127.794 129.825C130.199 126.324 130.895 118.623 130.903 108.53C133.286 108.801 136.446 108.704 140.387 107.782C149.275 105.702 147.992 96.0173 146.884 87.646L146.884 87.646C146.694 86.2144 146.51 84.8212 146.382 83.511C145.508 74.5396 141.033 75.2265 139.097 76.8085C137.161 78.3905 136.828 82.4078 137.765 92.8779C138.327 99.1663 134.365 100.209 130.775 99.6978C130.672 95.724 130.519 91.5146 130.359 87.1487L130.359 87.1485C130.166 81.8456 129.964 76.3118 129.834 70.6888C129.209 43.6914 120.592 41.0479 115.138 42.276C109.685 43.5041 105.251 45.1902 102.67 67.3168C102.367 69.9119 102.139 72.6932 101.98 75.6067C99.1176 76.0933 96.0924 75.2361 96.12 70.1295C96.169 61.0629 95.5993 57.6335 93.8411 56.4118C92.0829 55.1902 88.2302 54.9191 88.1273 62.693C88.1122 63.8283 88.0548 65.039 87.9959 66.2831C87.651 73.5579 87.252 81.974 94.9543 83.1274C97.6565 83.5321 99.9066 83.5278 101.722 83.3089Z",className:"fill-primary-200 dark:fill-primary-600"}),A.jsx("mask",{id:"mask0_769_17883",maskUnits:"userSpaceOnUse",x:"87",y:"42",width:"61",height:"90",children:A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M101.722 83.3089C101.501 98.71 102.886 116.238 105.251 129.263C108.165 131.143 116.754 133.888 127.794 129.825C130.199 126.324 130.895 118.623 130.903 108.53C133.286 108.801 136.446 108.704 140.387 107.782C149.275 105.702 147.992 96.0173 146.884 87.646L146.884 87.646C146.694 86.2144 146.51 84.8212 146.382 83.511C145.508 74.5396 141.033 75.2265 139.097 76.8085C137.161 78.3905 136.828 82.4078 137.765 92.8779C138.327 99.1663 134.365 100.209 130.775 99.6978C130.672 95.724 130.519 91.5146 130.359 87.1487L130.359 87.1485C130.166 81.8456 129.964 76.3118 129.834 70.6888C129.209 43.6914 120.592 41.0479 115.138 42.276C109.685 43.5041 105.251 45.1902 102.67 67.3168C102.367 69.9119 102.139 72.6932 101.98 75.6067C99.1176 76.0933 96.0924 75.2361 96.12 70.1295C96.169 61.0629 95.5993 57.6335 93.8411 56.4118C92.0829 55.1902 88.2302 54.9191 88.1273 62.693C88.1122 63.8283 88.0548 65.039 87.9959 66.2831C87.651 73.5579 87.252 81.974 94.9543 83.1274C97.6565 83.5321 99.9066 83.5278 101.722 83.3089Z",className:"fill-primary-200 dark:fill-primary-700"})}),A.jsx("g",{mask:"url(#mask0_769_17883)",children:A.jsx("path",{d:"M99 35.7002C101.52 34.9685 105.532 34.5699 109.491 35.7002H144.5L163 88.7002L152.5 127.2C139.5 136.7 114.8 152.6 120 140.2C126.5 124.7 125.5 60.2002 120 45.7002C117.746 39.759 113.648 36.887 109.491 35.7002H99Z",className:"fill-primary-500"})}),A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.358 48.1862C106.216 47.9494 105.908 47.8726 105.672 48.0147C105.435 48.1568 105.358 48.4639 105.5 48.7007L107.986 52.8432C108.128 53.08 108.435 53.1568 108.672 53.0147C108.908 52.8726 108.985 52.5655 108.843 52.3287L106.358 48.1862ZM88.5 55.9936C88.6953 55.7983 89.0119 55.7983 89.2071 55.9936L91.5 58.2865C91.6953 58.4817 91.6953 58.7983 91.5 58.9936C91.3048 59.1888 90.9882 59.1888 90.7929 58.9936L88.5 56.7007C88.3048 56.5054 88.3048 56.1888 88.5 55.9936ZM92.7929 66.9936C92.5976 67.1888 92.5976 67.5054 92.7929 67.7007C92.9881 67.8959 93.3047 67.8959 93.5 67.7007L97.0355 64.1651C97.2308 63.9699 97.2308 63.6533 97.0355 63.458C96.8403 63.2628 96.5237 63.2628 96.3284 63.458L92.7929 66.9936ZM102.5 64.9936C102.695 64.7983 103.012 64.7983 103.207 64.9936L105.5 67.2865C105.695 67.4817 105.695 67.7983 105.5 67.9936C105.305 68.1888 104.988 68.1888 104.793 67.9936L102.5 65.7007C102.305 65.5054 102.305 65.1888 102.5 64.9936ZM115.8 72.8007C115.579 72.635 115.534 72.3216 115.7 72.1007L118.1 68.9007C118.266 68.6798 118.579 68.635 118.8 68.8007C119.021 68.9664 119.066 69.2798 118.9 69.5007L116.5 72.7007C116.334 72.9216 116.021 72.9664 115.8 72.8007ZM103.055 81.8686C102.825 81.7155 102.515 81.7775 102.361 82.0073C102.208 82.2371 102.27 82.5475 102.5 82.7007L104.668 84.146C104.898 84.2992 105.208 84.2371 105.361 84.0073C105.515 83.7775 105.452 83.4671 105.223 83.3139L103.055 81.8686ZM102.361 106.007C102.515 105.778 102.825 105.715 103.055 105.869L105.223 107.314C105.452 107.467 105.515 107.778 105.361 108.007C105.208 108.237 104.898 108.299 104.668 108.146L102.5 106.701C102.27 106.548 102.208 106.237 102.361 106.007ZM140.793 78.9936C140.598 79.1888 140.598 79.5054 140.793 79.7007C140.988 79.8959 141.305 79.8959 141.5 79.7007L144.793 76.4078C144.988 76.2125 144.988 75.8959 144.793 75.7007C144.598 75.5054 144.281 75.5054 144.086 75.7007L140.793 78.9936ZM117.793 98.7007C117.598 98.5054 117.598 98.1888 117.793 97.9936L121.086 94.7007C121.281 94.5054 121.598 94.5054 121.793 94.7007C121.988 94.8959 121.988 95.2125 121.793 95.4078L118.5 98.7007C118.305 98.8959 117.988 98.8959 117.793 98.7007ZM126.793 74.9936C126.598 75.1888 126.598 75.5054 126.793 75.7007C126.988 75.8959 127.305 75.8959 127.5 75.7007L130.793 72.4078C130.988 72.2125 130.988 71.8959 130.793 71.7007C130.598 71.5054 130.281 71.5054 130.086 71.7007L126.793 74.9936ZM126.793 60.7007C126.598 60.5054 126.598 60.1888 126.793 59.9936L130.086 56.7007C130.281 56.5054 130.598 56.5054 130.793 56.7007C130.988 56.8959 130.988 57.2125 130.793 57.4078L127.5 60.7007C127.305 60.8959 126.988 60.8959 126.793 60.7007ZM141.793 102.994C141.598 103.189 141.598 103.505 141.793 103.701C141.988 103.896 142.305 103.896 142.5 103.701L145.793 100.408C145.988 100.213 145.988 99.8959 145.793 99.7007C145.598 99.5054 145.281 99.5054 145.086 99.7007L141.793 102.994ZM126.85 111.979C126.594 111.877 126.469 111.586 126.572 111.329L128.2 107.258C128.303 107.001 128.594 106.877 128.85 106.979C129.107 107.082 129.231 107.373 129.129 107.629L127.5 111.701C127.398 111.957 127.107 112.082 126.85 111.979ZM120.207 115.408C120.402 115.213 120.402 114.896 120.207 114.701C120.012 114.505 119.695 114.505 119.5 114.701L117.207 116.994C117.012 117.189 117.012 117.505 117.207 117.701C117.402 117.896 117.719 117.896 117.914 117.701L120.207 115.408ZM100.436 94.9965C100.613 94.7843 100.928 94.7557 101.14 94.9325L106.372 99.2923C106.584 99.4691 106.613 99.7843 106.436 99.9965C106.259 100.209 105.944 100.237 105.732 100.061L100.5 95.7007C100.288 95.5239 100.259 95.2086 100.436 94.9965ZM88.3575 70.1862C88.2155 69.9494 87.9083 69.8726 87.6715 70.0147C87.4347 70.1568 87.358 70.4639 87.5 70.7007L89.9855 74.8432C90.1276 75.08 90.4347 75.1568 90.6715 75.0147C90.9083 74.8726 90.9851 74.5655 90.843 74.3287L88.3575 70.1862ZM132.2 84.8007C132.366 85.0216 132.321 85.335 132.1 85.5007L128.9 87.9007C128.679 88.0664 128.366 88.0216 128.2 87.8007C128.034 87.5798 128.079 87.2664 128.3 87.1007L131.5 84.7007C131.721 84.535 132.034 84.5798 132.2 84.8007ZM137.125 83.9198C136.909 83.7473 136.594 83.7823 136.422 83.9979C136.249 84.2135 136.284 84.5282 136.5 84.7007L140.719 88.076C140.935 88.2485 141.249 88.2135 141.422 87.9979C141.594 87.7823 141.559 87.4676 141.344 87.2951L137.125 83.9198ZM145.793 93.7007C145.598 93.5054 145.598 93.1888 145.793 92.9936L149.086 89.7007C149.281 89.5054 149.598 89.5054 149.793 89.7007C149.988 89.8959 149.988 90.2125 149.793 90.4078L146.5 93.7007C146.305 93.8959 145.988 93.8959 145.793 93.7007Z",className:"fill-primary-100"})]}),A.jsxs("defs",{children:[A.jsxs("linearGradient",{id:"paint0_linear_769_17883",x1:"116.5",y1:"118.701",x2:"116.5",y2:"154.701",gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#F2F4F7"}),A.jsx("stop",{offset:"1",stopColor:"#F2F4F7",stopOpacity:"0"})]}),A.jsxs("linearGradient",{id:"dark_gradient",x1:"0",y1:"199",x2:"0",y2:"100",gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{offset:"0",stopColor:"#000000"}),A.jsx("stop",{offset:"1",stopColor:"#000000",stopOpacity:"0"})]}),A.jsx("clipPath",{id:"clip0_769_17883",children:A.jsx("rect",{width:"232",height:"165",fill:"white",transform:"translate(0.5)"})})]})]}),CX=({text:t,additionaltext:e,children:r,icon:n,className:a,"data-testid":i})=>A.jsxs("div",{className:`flex flex-col justify-center items-center h-full ${a||""}`,"data-testid":i,children:[n||A.jsx(TX,{}),A.jsx(ee,{variant:"semibold",size:"display-small",className:"mt-5 dark:text-black-200",appearance:"custom",children:t}),A.jsx(ee,{variant:"regular",size:"small",className:"text-center mt-2 dark:text-black-200",appearance:"custom",children:e||""}),r]}),OX=()=>A.jsxs("svg",{width:"403",height:"300",viewBox:"0 0 403 300",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A.jsx("path",{d:"M402.618 263.633H0V263.834H402.618V263.633Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M316.602 269.75H303.026V269.951H316.602V269.75Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M361.197 269.656H325.315V269.858H361.197V269.656Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M258.263 271.008H213.597V271.209H258.263V271.008Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M208.959 271.008H192.274V271.209H208.959V271.008Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M122.042 269.453H114.714V269.654H122.042V269.453Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M138.621 269.453H126.511V269.654H138.621V269.453Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M107.459 273.086H53.8623V273.287H107.459V273.086Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M152.423 177.482H139.306C136.483 177.482 133.691 176.908 131.098 175.793C128.505 174.679 126.166 173.048 124.224 171H167.489C165.549 173.047 163.213 174.677 160.623 175.791C158.033 176.906 155.243 177.481 152.423 177.482Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M224.323 177.482H211.197C208.375 177.483 205.582 176.909 202.989 175.795C200.395 174.68 198.057 173.049 196.115 171H239.405C237.463 173.049 235.124 174.68 232.531 175.795C229.938 176.909 227.145 177.483 224.323 177.482Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M114.295 263.637H107.048V243.031H121.889L114.295 263.637Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M253.311 123.421V21.4297L63.2111 21.4297V123.421L253.311 123.421Z",fill:"#F5F5F5"}),A.jsx("path",{d:"M298.259 95.5859L295.135 104.097H298.259L317.367 95.5859H298.259Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M295.135 95.5859V104.097L314.251 95.5859H295.135Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M330.944 95.5859L327.819 104.097H330.944L350.052 95.5859H330.944Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M281.116 95.9844H301.899V89.5022H281.116V95.9844Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M126.752 151.181C126.752 151.181 112.588 126.774 132.236 107.344C132.236 107.344 137.365 110.685 137.285 115.179C137.204 119.672 131.793 120.815 132.961 124.552C134.128 128.288 139.233 131.984 135.876 135.084C132.518 138.184 136.415 140.938 136.19 144.747C135.964 148.556 126.752 151.181 126.752 151.181Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M127.823 153.414C127.823 153.414 133.564 125.787 108.795 113.539C108.795 113.539 104.986 118.33 106.476 122.566C107.966 126.801 113.457 126.181 113.538 130.103C113.618 134.024 109.93 139.129 114.085 141.014C118.24 142.898 115.422 146.747 116.839 150.274C118.257 153.801 127.823 153.414 127.823 153.414Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M106.13 147.289C106.13 147.289 106.597 165.503 124.65 165.503C142.704 165.503 143.171 147.289 143.171 147.289H106.13Z",fill:"#F0F0F0"}),A.jsxs("g",{className:"text-primary-100 dark:text-primary-600",children:[A.jsx("path",{d:"M200.206 47.7579C158.769 61.7449 67.3422 5.24152 53.4519 73.7348C42.0337 129.948 99.4953 186.355 174.237 205.544C227.294 219.168 299.282 195.768 311.562 129.683C319.244 88.3498 288.21 41.155 263.707 31.7498C233.084 20.0095 227.23 38.6507 200.206 47.7579Z",fill:"currentColor"}),A.jsx("path",{d:"M201.309 299.996C287.535 299.996 357.436 295.915 357.436 290.881C357.436 285.847 287.535 281.766 201.309 281.766C115.082 281.766 45.1816 285.847 45.1816 290.881C45.1816 295.915 115.082 299.996 201.309 299.996Z",fill:"#F5F5F5"})]}),A.jsxs("g",{className:"text-primary-500",children:[A.jsx("path",{d:"M150.217 59.008C150.22 57.5082 150.099 56.0107 149.855 54.5309C148.776 47.9903 145.425 42.0395 140.393 37.7244C135.361 33.4094 128.969 31.0063 122.34 30.9375H122.098C117.651 30.9402 113.269 32.0003 109.312 34.0305C105.355 36.0606 101.938 39.0025 99.3424 42.6134C98.9157 43.2012 98.5372 43.8052 98.1507 44.4091C98.1192 44.4489 98.0922 44.4922 98.0702 44.5379C95.4268 48.9098 94.0342 53.9233 94.044 59.0322V59.0885C94.0606 65.0262 95.9585 70.8059 99.4652 75.5975C102.972 80.3891 107.907 83.9461 113.562 85.7576C119.216 87.5692 125.3 87.542 130.938 85.6801C136.576 83.8181 141.479 80.2173 144.943 75.3945C145.362 74.8067 145.748 74.2108 146.127 73.5989C146.158 73.559 146.185 73.5158 146.207 73.47C148.847 69.1094 150.235 64.1056 150.217 59.008ZM95.2438 58.3719C95.3369 53.7742 96.6215 49.2795 98.972 45.3271H107.757C106.415 49.5468 105.712 53.9439 105.672 58.3719H95.2438ZM108.989 45.3271H121.519V58.3719H106.879C106.906 53.9408 107.618 49.5406 108.989 45.3271ZM122.726 44.1192V32.1051C124.468 32.263 126.136 32.8829 127.558 33.9008C130.545 35.9461 133.05 39.5374 134.805 44.1192H122.726ZM135.24 45.3271C136.236 48.3435 136.884 51.4639 137.172 54.6275C137.293 55.8837 137.35 57.1318 137.366 58.3719H122.726V45.3271H135.24ZM119.747 32.4433C120.325 32.279 120.919 32.1765 121.519 32.1373V44.1434H109.44C111.695 38.0719 115.351 33.6592 119.747 32.4191V32.4433ZM121.519 59.6039V72.6487H109.013C108.017 69.6248 107.374 66.4958 107.097 63.3241C106.984 62.0679 106.92 60.8198 106.904 59.5797L121.519 59.6039ZM121.519 73.8565V85.8706C119.777 85.7116 118.11 85.0918 116.687 84.075C113.708 82.0297 111.204 78.4383 109.44 73.8565H121.519ZM124.498 85.5566C123.92 85.7216 123.326 85.8242 122.726 85.8626V73.8324H134.805C132.55 79.8797 128.895 84.3004 124.498 85.5324V85.5566ZM122.726 72.6728V59.5878H137.366C137.343 64.0191 136.631 68.42 135.256 72.6326L122.726 72.6728ZM138.573 59.5878H149.042C148.944 64.1847 147.66 68.6784 145.313 72.6326H136.488C137.83 68.4128 138.533 64.0158 138.573 59.5878ZM149.042 58.3799H138.573C138.573 57.1076 138.493 55.8193 138.372 54.5228C138.097 51.4018 137.479 48.3205 136.528 45.3351H145.297C146.992 48.2123 148.136 51.3799 148.671 54.6758C148.863 55.8993 148.976 57.1339 149.009 58.3719L149.042 58.3799ZM137.873 37.1781C140.505 39.0739 142.774 41.4278 144.572 44.1273H136.085C134.282 39.1429 131.568 35.1972 128.242 32.9103L127.985 32.7412C131.536 33.5364 134.888 35.043 137.841 37.17L137.873 37.1781ZM116.236 32.7573C112.846 34.9878 110.06 39.0462 108.184 44.1273H99.729L100.317 43.2657C104.141 37.9275 109.796 34.1839 116.204 32.7493L116.236 32.7573ZM95.3002 59.5878H105.728C105.728 60.86 105.808 62.1484 105.929 63.4448C106.208 66.5654 106.826 69.6462 107.773 72.6326H98.9559C97.2579 69.757 96.1135 66.5888 95.582 63.2919C95.3815 62.0667 95.2685 60.8289 95.2438 59.5878H95.3002ZM99.7612 73.8404H108.184C109.988 78.8248 112.701 82.7705 116.027 85.0574L116.293 85.2265C109.527 83.6898 103.609 79.614 99.7612 73.8404ZM128.033 85.2023C131.415 82.9798 134.201 78.9134 136.085 73.8324H144.524C144.331 74.1223 144.138 74.4121 143.936 74.694C140.109 80.0346 134.447 83.7761 128.033 85.2023Z",fill:"currentColor"}),A.jsx("path",{d:"M333.601 72.3828H80.4351V133.726H333.601V72.3828Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M333.601 72.3828H80.4351V133.726H333.601V72.3828Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M327.892 78.0938H74.7261V139.437H327.892V78.0938Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M327.892 78.0938H74.7261V139.437H327.892V78.0938Z",fill:"black"}),A.jsx("path",{d:"M322.183 83.8125H69.0166V145.155H322.183V83.8125Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.1",d:"M322.183 83.8125H69.0166V145.155H322.183V83.8125Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M310.104 133.069V95.8828L81.0956 95.8828V133.069H310.104Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.9",d:"M310.104 133.069V95.8828L81.0956 95.8828V133.069H310.104Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M271.582 95.8846V133.07H272.927V95.8846H271.582Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M271.582 95.8846V133.07H272.927V95.8846H271.582Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M86.8047 101.01V127.938H88.1494V101.01H86.8047Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M86.8047 101.01V127.938H88.1494V101.01H86.8047Z",fill:"#FAFAFA"}),A.jsxs("g",{className:"text-primary-300 dark:text-primary-500",children:[A.jsx("path",{d:"M290.231 119.174C289.254 119.174 288.292 118.933 287.431 118.472C286.569 118.011 285.834 117.345 285.292 116.532C284.749 115.72 284.415 114.786 284.32 113.813C284.224 112.841 284.37 111.86 284.744 110.957C285.117 110.055 285.708 109.258 286.464 108.638C287.219 108.018 288.115 107.594 289.074 107.403C290.032 107.213 291.022 107.261 291.958 107.545C292.893 107.828 293.743 108.338 294.434 109.028C295.266 109.859 295.832 110.919 296.062 112.072C296.291 113.225 296.174 114.42 295.724 115.506C295.274 116.592 294.512 117.521 293.534 118.174C292.556 118.827 291.407 119.175 290.231 119.174ZM290.231 108.908C289.229 108.908 288.257 109.256 287.483 109.892C286.708 110.528 286.178 111.414 285.983 112.397C285.788 113.38 285.94 114.401 286.413 115.285C286.887 116.169 287.652 116.861 288.578 117.244C289.505 117.626 290.535 117.676 291.494 117.384C292.453 117.092 293.281 116.476 293.837 115.642C294.393 114.808 294.643 113.807 294.543 112.809C294.443 111.812 294.001 110.88 293.291 110.172C292.893 109.762 292.418 109.435 291.893 109.211C291.367 108.987 290.802 108.87 290.231 108.867V108.908Z",fill:"currentColor"}),A.jsx("path",{d:"M297.937 121.701C297.831 121.701 297.725 121.679 297.627 121.638C297.529 121.596 297.44 121.536 297.365 121.46L293.299 117.393C293.215 117.321 293.146 117.232 293.098 117.132C293.05 117.033 293.022 116.924 293.018 116.813C293.014 116.702 293.033 116.591 293.073 116.488C293.114 116.385 293.175 116.291 293.253 116.212C293.332 116.134 293.426 116.073 293.529 116.032C293.632 115.992 293.743 115.973 293.854 115.977C293.965 115.981 294.074 116.009 294.173 116.057C294.273 116.105 294.362 116.174 294.434 116.258L298.501 120.324C298.651 120.475 298.735 120.679 298.735 120.892C298.735 121.105 298.651 121.309 298.501 121.46C298.352 121.612 298.15 121.698 297.937 121.701Z",fill:"currentColor"})]}),A.jsx("path",{d:"M171.878 39.2656C170.528 39.2656 169.234 39.8018 168.279 40.7562C167.325 41.7106 166.789 43.005 166.789 44.3547V61.1439C166.789 62.4936 167.325 63.788 168.279 64.7424C169.234 65.6968 170.528 66.2329 171.878 66.2329C173.227 66.2329 174.522 65.6968 175.476 64.7424C176.431 63.788 176.967 62.4936 176.967 61.1439V44.3547C176.967 43.005 176.431 41.7106 175.476 40.7562C174.522 39.8018 173.227 39.2656 171.878 39.2656Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.2",d:"M171.878 39.2656C170.528 39.2656 169.234 39.8018 168.279 40.7562C167.325 41.7106 166.789 43.005 166.789 44.3547V61.1439C166.789 62.4936 167.325 63.788 168.279 64.7424C169.234 65.6968 170.528 66.2329 171.878 66.2329C173.227 66.2329 174.522 65.6968 175.476 64.7424C176.431 63.788 176.967 62.4936 176.967 61.1439V44.3547C176.967 43.005 176.431 41.7106 175.476 40.7562C174.522 39.8018 173.227 39.2656 171.878 39.2656Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M184.633 29.2579C183.287 29.2643 181.999 29.8032 181.05 30.7569C180.101 31.7106 179.568 33.0014 179.568 34.347V61.1452C179.568 62.4949 180.104 63.7893 181.058 64.7437C182.013 65.6981 183.307 66.2343 184.657 66.2343C186.007 66.2343 187.301 65.6981 188.255 64.7437C189.21 63.7893 189.746 62.4949 189.746 61.1452V34.347C189.746 33.6766 189.614 33.0129 189.356 32.3939C189.099 31.7748 188.722 31.2127 188.247 30.7399C187.772 30.267 187.208 29.8926 186.588 29.6383C185.968 29.384 185.303 29.2547 184.633 29.2579Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M184.633 29.2579C183.287 29.2643 181.999 29.8032 181.05 30.7569C180.101 31.7106 179.568 33.0014 179.568 34.347V61.1452C179.568 62.4949 180.104 63.7893 181.058 64.7437C182.013 65.6981 183.307 66.2343 184.657 66.2343C186.007 66.2343 187.301 65.6981 188.255 64.7437C189.21 63.7893 189.746 62.4949 189.746 61.1452V34.347C189.746 33.6766 189.614 33.0129 189.356 32.3939C189.099 31.7748 188.722 31.2127 188.247 30.7399C187.772 30.267 187.208 29.8926 186.588 29.6383C185.968 29.384 185.303 29.2547 184.633 29.2579Z",fill:"black"}),A.jsx("path",{d:"M197.38 49.2656C196.03 49.2656 194.735 49.8018 193.781 50.7562C192.827 51.7106 192.291 53.005 192.291 54.3547V61.1348C192.291 62.4845 192.827 63.7789 193.781 64.7333C194.735 65.6877 196.03 66.2239 197.38 66.2239C198.049 66.2249 198.711 66.0941 199.33 65.8388C199.948 65.5835 200.51 65.2088 200.983 64.7362C201.457 64.2635 201.832 63.7021 202.089 63.0842C202.345 62.4662 202.477 61.8038 202.477 61.1348V54.3547C202.477 53.6857 202.345 53.0233 202.089 52.4053C201.832 51.7874 201.457 51.226 200.983 50.7533C200.51 50.2807 199.948 49.906 199.33 49.6507C198.711 49.3954 198.049 49.2646 197.38 49.2656Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M197.38 49.2656C196.03 49.2656 194.735 49.8018 193.781 50.7562C192.827 51.7106 192.291 53.005 192.291 54.3547V61.1348C192.291 62.4845 192.827 63.7789 193.781 64.7333C194.735 65.6877 196.03 66.2239 197.38 66.2239C198.049 66.2249 198.711 66.0941 199.33 65.8388C199.948 65.5835 200.51 65.2088 200.983 64.7362C201.457 64.2635 201.832 63.7021 202.089 63.0842C202.345 62.4662 202.477 61.8038 202.477 61.1348V54.3547C202.477 53.6857 202.345 53.0233 202.089 52.4053C201.832 51.7874 201.457 51.226 200.983 50.7533C200.51 50.2807 199.948 49.906 199.33 49.6507C198.711 49.3954 198.049 49.2646 197.38 49.2656Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M304.87 164.366H325.444L290.32 127.938L304.87 164.366Z",fill:"currentColor"}),A.jsx("path",{d:"M304.87 164.366H325.444L290.32 127.938L304.87 164.366Z",fill:"black"}),A.jsx("g",{style:{mixBlendMode:"multiply"},children:A.jsx("path",{d:"M285.094 145.137L290.32 127.938L293.283 145.137H285.094Z",fill:"currentColor"})}),A.jsx("path",{d:"M290.32 127.938V178.909L293.959 175.277L304.87 164.366L290.32 127.938Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M290.32 127.938V178.909L293.959 175.277L304.87 164.366L290.32 127.938Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M326.7 18.6094H281.607C279.322 18.6178 277.132 19.5289 275.516 21.1442C273.899 22.7594 272.986 24.9481 272.975 27.2334V50.5208C272.986 52.8048 273.898 54.9922 275.513 56.6073C277.128 58.2223 279.315 59.1343 281.599 59.1449H314.686L314.445 67.2858L322.795 59.1449H326.684C328.97 59.1364 331.159 58.2254 332.776 56.6101C334.393 54.9948 335.306 52.8062 335.316 50.5208V27.2334C335.306 24.9508 334.395 22.7646 332.782 21.1498C331.168 19.535 328.983 18.6221 326.7 18.6094ZM280.593 28.5299C280.593 27.8892 280.847 27.2747 281.3 26.8217C281.753 26.3687 282.368 26.1142 283.008 26.1142H293.388C294.028 26.1142 294.643 26.3687 295.096 26.8217C295.549 27.2747 295.804 27.8892 295.804 28.5299C295.804 29.1706 295.549 29.785 295.096 30.238C294.643 30.6911 294.028 30.9456 293.388 30.9456H283C282.361 30.9434 281.749 30.688 281.297 30.2352C280.846 29.7824 280.593 29.1692 280.593 28.5299ZM324.14 51.0765H306.199C305.852 51.1373 305.496 51.1214 305.155 51.0299C304.815 50.9383 304.498 50.7734 304.228 50.5467C303.959 50.3199 303.742 50.0368 303.593 49.7173C303.444 49.3978 303.367 49.0495 303.367 48.697C303.367 48.3445 303.444 47.9962 303.593 47.6767C303.742 47.3571 303.959 47.0741 304.228 46.8473C304.498 46.6206 304.815 46.4556 305.155 46.3641C305.496 46.2726 305.852 46.2567 306.199 46.3175H324.14C324.487 46.2567 324.843 46.2726 325.184 46.3641C325.524 46.4556 325.84 46.6206 326.11 46.8473C326.38 47.0741 326.597 47.3571 326.746 47.6767C326.895 47.9962 326.972 48.3445 326.972 48.697C326.972 49.0495 326.895 49.3978 326.746 49.7173C326.597 50.0368 326.38 50.3199 326.11 50.5467C325.84 50.7734 325.524 50.9383 325.184 51.0299C324.843 51.1214 324.487 51.1373 324.14 51.0765ZM324.14 41.003H285.416C285.069 41.0638 284.712 41.0479 284.372 40.9564C284.032 40.8648 283.715 40.6999 283.445 40.4732C283.175 40.2464 282.958 39.9633 282.809 39.6438C282.661 39.3243 282.583 38.976 282.583 38.6235C282.583 38.271 282.661 37.9227 282.809 37.6032C282.958 37.2836 283.175 37.0006 283.445 36.7738C283.715 36.5471 284.032 36.3821 284.372 36.2906C284.712 36.1991 285.069 36.1832 285.416 36.244H324.14C324.487 36.1832 324.843 36.1991 325.184 36.2906C325.524 36.3821 325.84 36.5471 326.11 36.7738C326.38 37.0006 326.597 37.2836 326.746 37.6032C326.895 37.9227 326.972 38.271 326.972 38.6235C326.972 38.976 326.895 39.3243 326.746 39.6438C326.597 39.9633 326.38 40.2464 326.11 40.4732C325.84 40.6999 325.524 40.8648 325.184 40.9564C324.843 41.0479 324.487 41.0638 324.14 41.003ZM324.14 30.9295H301.215C300.574 30.9295 299.96 30.675 299.507 30.2219C299.053 29.7689 298.799 29.1545 298.799 28.5138C298.799 27.8731 299.053 27.2586 299.507 26.8056C299.96 26.3526 300.574 26.0981 301.215 26.0981H324.14C324.78 26.0981 325.395 26.3526 325.848 26.8056C326.301 27.2586 326.555 27.8731 326.555 28.5138C326.555 29.1545 326.301 29.7689 325.848 30.2219C325.395 30.675 324.78 30.9295 324.14 30.9295Z",fill:"currentColor"}),A.jsx("path",{d:"M256.178 92.4186C254.252 87.1283 251.311 82.2649 247.521 78.1016H183.497C179.707 82.2649 176.767 87.1283 174.841 92.4186L183.698 136.513C190.475 143.859 199.585 148.632 209.481 150.022C219.378 151.413 229.451 149.334 237.988 144.139C246.526 138.944 253.002 130.954 256.316 121.526C259.631 112.098 259.579 101.813 256.17 92.4186H256.178Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.1",d:"M256.178 92.4186C254.252 87.1283 251.311 82.2649 247.521 78.1016H183.497C179.707 82.2649 176.767 87.1283 174.841 92.4186L183.698 136.513C190.475 143.859 199.585 148.632 209.481 150.022C219.378 151.413 229.451 149.334 237.988 144.139C246.526 138.944 253.002 130.954 256.316 121.526C259.631 112.098 259.579 101.813 256.17 92.4186H256.178Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M258.73 109.195C258.273 119.362 254.234 129.04 247.328 136.517H183.714C178.344 130.681 174.678 123.484 173.116 115.708C171.554 107.933 172.156 99.8785 174.857 92.4219H256.185C258.139 97.7885 259.004 103.49 258.73 109.195Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.9",d:"M258.73 109.195C258.273 119.362 254.234 129.04 247.328 136.517H183.714C178.344 130.681 174.678 123.484 173.116 115.708C171.554 107.933 172.156 99.8785 174.857 92.4219H256.185C258.139 97.7885 259.004 103.49 258.73 109.195Z",fill:"#FAFAFA"}),A.jsx("path",{opacity:"0.3",d:"M258.73 109.187C258.229 119.886 253.769 130.018 246.215 137.612C238.662 145.206 228.555 149.721 217.858 150.279C207.161 150.837 196.639 147.398 188.336 140.632C180.034 133.865 174.543 124.253 172.931 113.664C171.32 103.074 173.703 92.2642 179.617 83.3338C185.531 74.4034 194.553 67.9905 204.932 65.3413C215.31 62.6921 226.303 63.9958 235.773 68.9991C245.244 74.0024 252.517 82.348 256.178 92.414C258.131 97.7808 258.998 103.482 258.73 109.187Z",fill:"white"}),A.jsx("path",{opacity:"0.4",d:"M239.896 71.4704L177.683 128.207C177.372 127.633 177.066 127.053 176.765 126.468C174.863 122.66 173.541 118.589 172.844 114.389L226.577 65.3828C231.332 66.6359 235.837 68.6949 239.896 71.4704Z",fill:"white"}),A.jsx("path",{opacity:"0.4",d:"M256.54 93.4584L198.088 146.797C192.025 144.122 186.658 140.089 182.402 135.009L246.273 76.7578C250.928 81.4662 254.44 87.1796 256.54 93.4584Z",fill:"white"}),A.jsx("path",{d:"M258.714 82.2486C253.779 73.6924 246.418 66.7922 237.561 62.421C228.704 58.0498 218.749 56.404 208.956 57.6919C199.163 58.9798 189.973 63.1436 182.547 69.6563C175.121 76.169 169.794 84.738 167.24 94.279C164.686 103.82 165.019 113.904 168.197 123.256C171.376 132.608 177.257 140.807 185.096 146.815C192.935 152.823 202.381 156.371 212.237 157.01C222.094 157.649 231.918 155.35 240.467 150.404C251.918 143.779 260.271 132.88 263.692 120.101C267.113 107.323 265.323 93.7083 258.714 82.2486ZM181.411 126.891C177.518 120.148 175.712 112.402 176.221 104.633C176.729 96.8633 179.531 89.4193 184.27 83.2419C189.01 77.0644 195.474 72.4312 202.847 69.9279C210.22 67.4245 218.169 67.1636 225.69 69.1782C233.211 71.1927 239.966 75.3921 245.1 81.2455C250.234 87.0989 253.518 94.3432 254.535 102.063C255.552 109.782 254.257 117.63 250.815 124.613C247.372 131.597 241.935 137.402 235.193 141.296C230.716 143.882 225.774 145.56 220.649 146.236C215.524 146.911 210.316 146.57 205.322 145.232C200.329 143.895 195.648 141.586 191.546 138.439C187.445 135.292 184.004 131.368 181.419 126.891H181.411Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.1",d:"M258.714 82.2486C253.779 73.6924 246.418 66.7922 237.561 62.421C228.704 58.0498 218.749 56.404 208.956 57.6919C199.163 58.9798 189.973 63.1436 182.547 69.6563C175.121 76.169 169.794 84.738 167.24 94.279C164.686 103.82 165.019 113.904 168.197 123.256C171.376 132.608 177.257 140.807 185.096 146.815C192.935 152.823 202.381 156.371 212.237 157.01C222.094 157.649 231.918 155.35 240.467 150.404C251.918 143.779 260.271 132.88 263.692 120.101C267.113 107.323 265.323 93.7083 258.714 82.2486ZM181.411 126.891C177.518 120.148 175.712 112.402 176.221 104.633C176.729 96.8633 179.531 89.4193 184.27 83.2419C189.01 77.0644 195.474 72.4312 202.847 69.9279C210.22 67.4245 218.169 67.1636 225.69 69.1782C233.211 71.1927 239.966 75.3921 245.1 81.2455C250.234 87.0989 253.518 94.3432 254.535 102.063C255.552 109.782 254.257 117.63 250.815 124.613C247.372 131.597 241.935 137.402 235.193 141.296C230.716 143.882 225.774 145.56 220.649 146.236C215.524 146.911 210.316 146.57 205.322 145.232C200.329 143.895 195.648 141.586 191.546 138.439C187.445 135.292 184.004 131.368 181.419 126.891H181.411Z",fill:"black"}),A.jsx("path",{d:"M100.702 158.539L106.87 159.972L101.757 163.789C101.757 163.789 98.0934 162.13 97.9243 159.529L100.702 158.539Z",fill:"#E4897B"}),A.jsx("path",{d:"M110.172 164.083L105.727 167.046L101.757 163.793L106.871 159.984L110.172 164.083Z",fill:"#E4897B"}),A.jsx("path",{d:"M179.945 133.488C173.391 138.319 166.667 142.909 159.911 147.394C153.155 151.879 146.311 156.252 139.434 160.544C132.557 164.836 125.616 169.039 118.651 173.121C115.172 175.199 111.662 177.212 108.183 179.257C106.455 180.357 104.571 181.191 102.595 181.729C101.54 182.009 100.462 182.19 99.3737 182.269C98.1656 182.367 96.9498 182.305 95.7581 182.084C94.9065 181.915 94.0965 181.58 93.3744 181.099C92.6523 180.617 92.0323 179.997 91.5499 179.275C91.0675 178.554 90.7321 177.744 90.563 176.892C90.3939 176.041 90.3944 175.164 90.5644 174.313C90.6195 174.04 90.6949 173.77 90.7898 173.508C91.1786 172.366 91.7203 171.283 92.4003 170.287C93.0069 169.392 93.6971 168.556 94.4617 167.791C95.918 166.349 97.5818 165.133 99.3978 164.183C102.917 162.178 106.411 160.157 109.954 158.168C117.008 154.182 124.127 150.301 131.261 146.468C138.395 142.635 145.618 138.923 152.882 135.299C160.145 131.676 167.464 128.149 174.937 124.896C176.065 124.397 177.337 124.333 178.509 124.715C179.681 125.097 180.671 125.899 181.288 126.967C181.905 128.034 182.106 129.292 181.852 130.498C181.599 131.705 180.908 132.775 179.913 133.504L179.945 133.488Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.1",d:"M179.945 133.488C173.391 138.319 166.667 142.909 159.911 147.394C153.155 151.879 146.311 156.252 139.434 160.544C132.557 164.836 125.616 169.039 118.651 173.121C115.172 175.199 111.662 177.212 108.183 179.257C106.455 180.357 104.571 181.191 102.595 181.729C101.54 182.009 100.462 182.19 99.3737 182.269C98.1656 182.367 96.9498 182.305 95.7581 182.084C94.9065 181.915 94.0965 181.58 93.3744 181.099C92.6523 180.617 92.0323 179.997 91.5499 179.275C91.0675 178.554 90.7321 177.744 90.563 176.892C90.3939 176.041 90.3944 175.164 90.5644 174.313C90.6195 174.04 90.6949 173.77 90.7898 173.508C91.1786 172.366 91.7203 171.283 92.4003 170.287C93.0069 169.392 93.6971 168.556 94.4617 167.791C95.918 166.349 97.5818 165.133 99.3978 164.183C102.917 162.178 106.411 160.157 109.954 158.168C117.008 154.182 124.127 150.301 131.261 146.468C138.395 142.635 145.618 138.923 152.882 135.299C160.145 131.676 167.464 128.149 174.937 124.896C176.065 124.397 177.337 124.333 178.509 124.715C179.681 125.097 180.671 125.899 181.288 126.967C181.905 128.034 182.106 129.292 181.852 130.498C181.599 131.705 180.908 132.775 179.913 133.504L179.945 133.488Z",fill:"black"}),A.jsx("path",{d:"M109.64 120.387C109.238 121.039 108.779 121.828 108.344 122.569C107.909 123.31 107.482 124.083 107.08 124.864C106.274 126.402 105.469 127.964 104.664 129.55C103.859 131.136 103.206 132.771 102.546 134.382C102.224 135.187 101.886 135.992 101.588 136.797L101.137 138.029C101.048 138.263 101.032 138.359 100.976 138.528C100.92 138.698 100.895 138.859 100.847 139.02C100.533 140.611 100.374 142.229 100.372 143.851C100.332 145.582 100.372 147.346 100.469 149.125C100.565 150.905 100.662 152.693 100.823 154.48C100.984 156.268 101.145 158.088 101.314 159.859L98.2059 160.495C97.6583 158.7 97.2315 156.912 96.8048 155.1C96.378 153.288 96.0559 151.469 95.7419 149.617C95.4278 147.765 95.2185 145.904 95.0816 143.98C94.9141 141.965 94.9654 139.937 95.2346 137.933C95.2829 137.651 95.3231 137.385 95.3956 137.127C95.4681 136.87 95.5406 136.507 95.605 136.322L95.9995 134.953C96.2572 134.043 96.5551 133.141 96.8611 132.248C97.4812 130.452 98.1576 128.689 98.9145 126.949C99.6714 125.21 100.477 123.511 101.33 121.836C101.773 121.031 102.24 120.169 102.715 119.34C103.19 118.51 103.665 117.729 104.261 116.852L109.64 120.387Z",fill:"#E4897B"}),A.jsx("path",{d:"M106.202 286.657C105.659 286.639 105.119 286.564 104.592 286.431C104.563 286.426 104.537 286.413 104.517 286.393C104.497 286.373 104.484 286.347 104.479 286.318C104.474 286.289 104.477 286.259 104.489 286.232C104.5 286.205 104.519 286.182 104.543 286.165C104.761 286.02 106.661 284.796 107.394 285.127C107.475 285.164 107.545 285.223 107.596 285.296C107.647 285.37 107.677 285.456 107.684 285.545C107.722 285.689 107.719 285.84 107.676 285.982C107.634 286.124 107.553 286.252 107.442 286.351C107.079 286.599 106.639 286.708 106.202 286.657ZM104.97 286.222C106.065 286.439 106.887 286.399 107.201 286.109C107.27 286.043 107.32 285.959 107.347 285.868C107.374 285.776 107.376 285.679 107.354 285.586C107.353 285.544 107.34 285.505 107.317 285.47C107.294 285.436 107.262 285.409 107.225 285.392C106.846 285.223 105.743 285.755 104.97 286.222Z",fill:"currentColor"}),A.jsx("path",{d:"M104.584 286.44C104.56 286.447 104.535 286.447 104.511 286.44C104.488 286.428 104.469 286.409 104.456 286.386C104.443 286.364 104.437 286.338 104.439 286.311C104.439 286.239 104.439 284.435 105.123 283.831C105.208 283.755 105.307 283.698 105.416 283.663C105.524 283.629 105.638 283.617 105.751 283.63C105.87 283.632 105.984 283.674 106.075 283.75C106.166 283.827 106.228 283.932 106.25 284.049C106.395 284.749 105.252 286.102 104.64 286.464C104.62 286.461 104.6 286.453 104.584 286.44ZM105.655 283.896C105.533 283.897 105.415 283.943 105.324 284.025C104.929 284.608 104.726 285.301 104.745 286.005C105.341 285.522 106.049 284.508 105.961 284.081C105.961 284.008 105.904 283.928 105.719 283.904L105.655 283.896Z",fill:"currentColor"}),A.jsx("path",{d:"M134.724 286.66C134.06 286.65 133.399 286.574 132.751 286.435C132.72 286.431 132.691 286.417 132.669 286.395C132.647 286.373 132.633 286.345 132.63 286.314C132.626 286.283 132.632 286.252 132.647 286.225C132.661 286.198 132.683 286.175 132.71 286.161C132.992 286.016 135.489 284.744 136.253 285.162C136.327 285.2 136.39 285.256 136.435 285.325C136.48 285.395 136.506 285.474 136.511 285.557C136.529 285.69 136.513 285.825 136.465 285.95C136.417 286.075 136.339 286.186 136.237 286.273C135.792 286.572 135.258 286.709 134.724 286.66ZM133.242 286.225C134.635 286.459 135.658 286.394 136.044 286.056C136.108 285.996 136.157 285.922 136.187 285.839C136.216 285.756 136.225 285.668 136.213 285.581C136.213 285.548 136.204 285.516 136.187 285.487C136.17 285.459 136.146 285.436 136.117 285.42C135.698 285.194 134.265 285.734 133.242 286.225Z",fill:"currentColor"}),A.jsx("path",{d:"M132.775 286.438C132.762 286.444 132.748 286.446 132.734 286.446C132.721 286.446 132.707 286.444 132.694 286.438C132.671 286.427 132.652 286.408 132.641 286.385C132.629 286.361 132.625 286.335 132.63 286.31C132.63 286.237 132.783 284.546 133.564 283.894C133.788 283.706 134.077 283.613 134.369 283.636C134.78 283.676 134.892 283.886 134.925 284.055C135.037 284.764 133.564 286.116 132.815 286.471L132.775 286.438ZM134.272 283.894C134.083 283.896 133.901 283.964 133.757 284.087C133.295 284.632 133.014 285.308 132.952 286.02C133.709 285.561 134.715 284.498 134.643 284.071C134.643 284.071 134.643 283.926 134.353 283.902L134.272 283.894Z",fill:"currentColor"}),A.jsx("path",{d:"M119.175 96.2109C119.666 99.9714 120.785 107.597 118.063 109.9C118.063 109.9 118.869 113.733 125.729 114.176C133.315 114.667 129.594 110.649 129.594 110.649C125.52 109.393 125.826 106.325 126.736 103.49L119.175 96.2109Z",fill:"#E4897B"}),A.jsx("path",{d:"M133.242 88.569C133.193 88.5679 133.146 88.554 133.105 88.5287C133.07 88.511 133.039 88.4863 133.013 88.4561C132.988 88.426 132.969 88.391 132.958 88.3533C132.947 88.3157 132.943 88.2761 132.948 88.237C132.952 88.198 132.965 88.1602 132.984 88.1261C133.193 87.7001 133.502 87.3312 133.885 87.0507C134.268 86.7702 134.713 86.5866 135.182 86.5156C135.254 86.5184 135.323 86.5472 135.375 86.5968C135.428 86.6463 135.461 86.7131 135.467 86.7849C135.474 86.8567 135.455 86.9285 135.413 86.9871C135.371 87.0457 135.309 87.087 135.239 87.1034C134.872 87.1676 134.524 87.3158 134.224 87.5365C133.924 87.7573 133.678 88.0445 133.507 88.3757C133.485 88.4288 133.448 88.4748 133.401 88.5088C133.354 88.5428 133.299 88.5636 133.242 88.569Z",fill:"#263238"}),A.jsx("path",{d:"M135.408 91.875C135.963 92.9809 136.667 94.0051 137.502 94.9188C137.263 95.1268 136.981 95.28 136.676 95.3676C136.372 95.4552 136.052 95.4752 135.738 95.4261L135.408 91.875Z",fill:"#DE5753"}),A.jsx("path",{d:"M134.877 91.0463C134.925 91.5536 135.231 91.9321 135.553 91.8999C135.875 91.8677 136.117 91.4409 136.068 90.9336C136.02 90.4263 135.714 90.0478 135.384 90.08C135.054 90.1122 134.828 90.5471 134.877 91.0463Z",fill:"#263238"}),A.jsx("path",{d:"M135.279 90.123L136.455 89.6641C136.455 89.6641 135.891 90.6625 135.279 90.123Z",fill:"#263238"}),A.jsx("path",{d:"M125.882 286.284H132.155L132.573 271.773H126.301L125.882 286.284Z",fill:"#E4897B"}),A.jsx("path",{d:"M97.4014 286.284H103.674L105.687 271.773H99.4225L97.4014 286.284Z",fill:"#E4897B"}),A.jsx("path",{d:"M104.06 285.563H97.0144C96.8937 285.561 96.7765 285.604 96.6847 285.682C96.5929 285.761 96.5327 285.87 96.5152 285.989L95.7099 291.562C95.6941 291.702 95.7081 291.845 95.751 291.979C95.7939 292.114 95.8648 292.239 95.9591 292.344C96.0533 292.45 96.1687 292.535 96.2979 292.592C96.427 292.65 96.5669 292.681 96.7084 292.681C99.1241 292.641 100.348 292.496 103.448 292.496C105.349 292.496 108.135 292.689 110.768 292.689C113.401 292.689 113.538 290.088 112.443 289.854C107.531 288.8 106.758 287.342 105.099 285.949C104.809 285.701 104.441 285.564 104.06 285.563Z",fill:"#263238"}),A.jsx("path",{d:"M132.364 285.563H125.326C125.205 285.56 125.087 285.602 124.995 285.68C124.903 285.759 124.843 285.869 124.827 285.989L124.022 291.562C124.007 291.703 124.022 291.845 124.066 291.98C124.11 292.115 124.182 292.239 124.277 292.345C124.372 292.45 124.488 292.535 124.617 292.593C124.747 292.65 124.887 292.681 125.029 292.681C127.444 292.641 128.668 292.496 131.76 292.496C133.669 292.496 137.606 292.689 140.239 292.689C142.873 292.689 143.009 290.088 141.914 289.855C137.002 288.8 135.07 287.342 133.411 285.949C133.119 285.7 132.748 285.563 132.364 285.563Z",fill:"#263238"}),A.jsx("path",{d:"M132.566 271.773L132.356 279.254H126.083L126.301 271.773H132.566Z",fill:"#CE6F64"}),A.jsx("path",{d:"M99.4142 271.773H105.687L104.648 279.254H98.3755L99.4142 271.773Z",fill:"#CE6F64"}),A.jsx("path",{d:"M112.314 121.355C111.124 123.215 109.745 124.948 108.199 126.525L107.483 126.05L99.543 120.776C99.543 120.776 103.875 111.113 107.136 110.622C110.253 110.122 112.523 113.343 113.578 116.79C113.981 118.038 113.312 119.729 112.314 121.355Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M112.314 121.355C111.124 123.215 109.745 124.948 108.199 126.525L107.483 126.05L99.543 120.776C99.543 120.776 103.875 111.113 107.136 110.622C110.253 110.122 112.523 113.343 113.578 116.79C113.981 118.038 113.312 119.729 112.314 121.355Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M112.314 121.356C111.124 123.216 109.745 124.948 108.2 126.526L107.483 126.051C107.837 123.152 108.965 120.277 110.253 119.367C111.042 119.448 111.743 120.285 112.314 121.356Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.4",d:"M112.314 121.356C111.124 123.216 109.745 124.948 108.2 126.526L107.483 126.051C107.837 123.152 108.965 120.277 110.253 119.367C111.042 119.448 111.743 120.285 112.314 121.356Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M139.475 126.189C139.097 128.605 138.605 131.447 137.945 134.821C137.14 139.137 136.012 144.315 134.587 150.507L109.182 148.897C110.277 138.581 110.704 132.204 107.137 110.664C110.743 110.16 114.382 109.921 118.024 109.947C121.88 109.922 125.734 110.172 129.554 110.696C134.483 111.501 140.023 112.983 140.023 112.983C140.023 112.983 141.44 113.539 139.475 126.189Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M139.475 126.189C139.097 128.605 138.605 131.447 137.945 134.821C137.14 139.137 136.012 144.315 134.587 150.507L109.182 148.897C110.277 138.581 110.704 132.204 107.137 110.664C110.743 110.16 114.382 109.921 118.024 109.947C121.88 109.922 125.734 110.172 129.554 110.696C134.483 111.501 140.023 112.983 140.023 112.983C140.023 112.983 141.44 113.539 139.475 126.189Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M139.475 126.189C139.096 128.605 138.605 131.447 137.945 134.821C136.547 131.849 135.387 128.772 134.474 125.617H139.193L139.475 126.189Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.4",d:"M139.475 126.189C139.096 128.605 138.605 131.447 137.945 134.821C136.547 131.849 135.387 128.772 134.474 125.617H139.193L139.475 126.189Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M117.79 90.9223C118.748 97.0663 119.03 99.6913 122.452 102.566C127.597 106.898 134.933 104.37 135.827 98.0567C136.632 92.3798 134.925 83.2806 128.636 81.3964C127.253 80.972 125.784 80.9086 124.369 81.2124C122.954 81.5161 121.641 82.1768 120.554 83.1316C119.467 84.0865 118.642 85.3036 118.158 86.6673C117.674 88.031 117.547 89.4958 117.79 90.9223Z",fill:"#E4897B"}),A.jsx("path",{d:"M127.871 150.068C127.871 150.068 127.468 161.253 126.502 175.361C125.697 187.198 124.481 201.08 122.782 212.144L122.734 212.45C119.682 232.033 106.162 277.803 106.162 277.803H97.6104C97.6104 277.803 104.656 233.595 106.202 214.189C110.124 165.175 100.3 159.627 109.182 148.82L127.871 150.068Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M127.871 150.068C127.871 150.068 127.468 161.253 126.502 175.361C125.697 187.198 124.481 201.08 122.782 212.144L122.734 212.45C119.682 232.033 106.162 277.803 106.162 277.803H97.6104C97.6104 277.803 104.656 233.595 106.202 214.189C110.124 165.175 100.3 159.627 109.182 148.82L127.871 150.068Z",fill:"black"}),A.jsx("path",{d:"M126.503 175.36C125.697 187.197 124.482 201.079 122.783 212.143C119.892 197.769 115.141 176.777 121.518 163.023C123.04 166.929 124.812 171.342 126.503 175.36Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.4",d:"M126.503 175.36C125.697 187.197 124.482 201.079 122.783 212.143C119.892 197.769 115.141 176.777 121.518 163.023C123.04 166.929 124.812 171.342 126.503 175.36Z",fill:"black"}),A.jsx("path",{d:"M134.587 150.513C134.587 150.513 141.834 193.464 141.399 212.58C140.973 232.47 133.685 277.804 133.685 277.804H125.214C125.214 277.804 126.551 233.621 125.802 214.094C124.997 192.804 115.978 149.297 115.978 149.297L134.587 150.513Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M134.587 150.513C134.587 150.513 141.834 193.464 141.399 212.58C140.973 232.47 133.685 277.804 133.685 277.804H125.214C125.214 277.804 126.551 233.621 125.802 214.094C124.997 192.804 115.978 149.297 115.978 149.297L134.587 150.513Z",fill:"black"}),A.jsx("path",{d:"M123.764 278.199H135.126L136.012 274.391L123.362 274.479L123.764 278.199Z",fill:"#263238"}),A.jsx("path",{d:"M96.3701 278.199H107.732L108.618 274.391L96.4506 274.479L96.3701 278.199Z",fill:"#263238"}),A.jsx("path",{d:"M108.892 147.349L107.603 149.555C107.499 149.725 107.7 149.918 107.99 149.934L134.635 151.665C134.86 151.665 135.062 151.585 135.086 151.44L135.464 149.177C135.464 149.024 135.295 148.879 135.046 148.863L109.278 147.188C109.206 147.185 109.134 147.197 109.067 147.225C109 147.253 108.94 147.295 108.892 147.349Z",fill:"#263238"}),A.jsx("path",{d:"M112.161 150.443L111.477 150.394C111.34 150.394 111.235 150.306 111.251 150.225L111.766 147.286C111.766 147.205 111.903 147.141 112.04 147.149L112.733 147.189C112.87 147.189 112.966 147.278 112.958 147.367L112.443 150.298C112.427 150.386 112.298 150.451 112.161 150.443Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M112.161 150.443L111.477 150.394C111.34 150.394 111.235 150.306 111.251 150.225L111.766 147.286C111.766 147.205 111.903 147.141 112.04 147.149L112.733 147.189C112.87 147.189 112.966 147.278 112.958 147.367L112.443 150.298C112.427 150.386 112.298 150.451 112.161 150.443Z",fill:"black"}),A.jsx("path",{d:"M128.837 151.52L128.153 151.48C128.016 151.48 127.911 151.392 127.927 151.303L128.443 148.372C128.443 148.283 128.58 148.227 128.725 148.235L129.409 148.275C129.546 148.275 129.651 148.364 129.635 148.453L129.119 151.384C129.127 151.472 128.998 151.529 128.837 151.52Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M128.837 151.52L128.153 151.48C128.016 151.48 127.911 151.392 127.927 151.303L128.443 148.372C128.443 148.283 128.58 148.227 128.725 148.235L129.409 148.275C129.546 148.275 129.651 148.364 129.635 148.453L129.119 151.384C129.127 151.472 128.998 151.529 128.837 151.52Z",fill:"black"}),A.jsx("path",{d:"M141.463 119.414C142.43 122.635 143.348 125.896 144.242 129.149L146.939 138.885L147.277 140.093L147.366 140.39L147.406 140.543V140.624C147.435 140.731 147.47 140.835 147.511 140.938C147.708 141.427 147.98 141.884 148.316 142.291C149.277 143.306 150.391 144.164 151.617 144.835C154.427 146.356 157.398 147.555 160.475 148.411L160.008 151.551C156.397 151.365 152.84 150.595 149.476 149.272C147.614 148.543 145.898 147.484 144.411 146.148C143.559 145.358 142.85 144.426 142.317 143.394C142.173 143.115 142.047 142.827 141.939 142.532L141.85 142.315L141.794 142.162L141.689 141.864L141.262 140.648C140.135 137.427 139.088 134.206 138.098 130.937C137.107 127.668 136.133 124.447 135.247 121.161L141.463 119.414Z",fill:"#E4897B"}),A.jsx("path",{d:"M140.022 112.946C143.243 114.001 146.625 124.533 146.625 124.533L134.997 129.542C134.997 129.542 130.166 117.721 132.308 115.048C134.45 112.374 136.326 111.738 140.022 112.946Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M140.022 112.946C143.243 114.001 146.625 124.533 146.625 124.533L134.997 129.542C134.997 129.542 130.166 117.721 132.308 115.048C134.45 112.374 136.326 111.738 140.022 112.946Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M133.806 81.0408C131.752 78.5043 115.889 76.6925 115.044 83.6014C109.407 87.5471 114.754 97.7414 115.559 100.334C111.67 101.413 99.1401 105.697 108.312 114.023C117.483 122.349 131.237 120.932 133.926 112.316C135.811 106.293 129.828 96.2114 129.956 92.6845C130.085 89.1575 137.324 85.3488 133.806 81.0408Z",fill:"#263238"}),A.jsx("path",{d:"M116.67 101.6C116.641 101.601 116.612 101.595 116.585 101.582C116.558 101.57 116.535 101.551 116.517 101.528C115.06 99.7562 109.987 90.4476 111.766 86.0189C112.042 85.3317 112.51 84.7386 113.114 84.3102C113.718 83.8818 114.433 83.6364 115.173 83.6031C115.199 83.5998 115.225 83.6018 115.25 83.609C115.275 83.6162 115.299 83.6284 115.319 83.645C115.34 83.6616 115.356 83.6821 115.369 83.7054C115.381 83.7286 115.388 83.7541 115.39 83.7803C115.397 83.8325 115.383 83.8854 115.351 83.9276C115.32 83.9697 115.273 83.9978 115.221 84.0058C114.556 84.0303 113.912 84.2452 113.365 84.6249C112.818 85.0045 112.392 85.533 112.137 86.1477C110.422 90.4315 115.398 99.5227 116.823 101.262C116.849 101.29 116.865 101.326 116.871 101.363C116.876 101.401 116.87 101.44 116.854 101.474C116.838 101.508 116.811 101.537 116.779 101.557C116.746 101.576 116.708 101.586 116.67 101.584V101.6Z",fill:"#263238"}),A.jsx("path",{d:"M128.701 92.3039C128.88 93.4799 129.447 94.5623 130.311 95.3799C131.454 96.475 132.533 95.7262 132.638 94.3331C132.735 93.085 132.252 91.0156 130.899 90.4358C129.546 89.856 128.531 90.9109 128.701 92.3039Z",fill:"#E4897B"}),A.jsx("path",{d:"M156.529 147.546L161.103 145.992L160.386 151.492C160.386 151.492 158.583 152.297 156.248 150.268L154.017 148.843L155.772 147.884C156.013 147.747 156.267 147.634 156.529 147.546Z",fill:"#E4897B"}),A.jsx("path",{d:"M164.3 145.977L162.899 150.784L160.387 151.484L161.103 145.993L164.3 145.977Z",fill:"#E4897B"})]})]}),_X=({icon:t,homePath:e="/home",backToHomeText:r="Back to Home",title:n="404",subtitle:a="PAGE NOT FOUND",description:i="Page doesn't exist or is unavailable",className:s,"data-testid":o})=>A.jsx("div",{className:`flex justify-center items-center h-full ${s||""}`,"data-testid":o,children:A.jsxs("div",{className:"flex flex-col items-center text-neutral-800",children:[A.jsx("div",{className:"mb-4",children:t||A.jsx(OX,{})}),A.jsxs("div",{className:"text-center",children:[A.jsx("h1",{className:"text-6xl font-bold font-inter dark:text-white",children:n}),A.jsx("h1",{className:"text-base font-bold font-inter dark:text-white",children:a}),A.jsx("div",{className:"py-2"}),A.jsx("p",{className:"font-inter text-sm font-medium text-neutral-400",children:i}),A.jsx("div",{className:"py-4"}),A.jsx(nb.Link,{to:e,children:A.jsx("span",{className:"font-inter text-sm text-center text-white font-bold bg-primary-600 px-4 py-2 rounded-lg",children:r})})]})]})}),NX=()=>A.jsx("svg",{className:"w-full h-full min-w-full min-h-full object-cover",viewBox:"0 0 1440 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid slice",children:A.jsxs("g",{opacity:"0.2",children:[A.jsx("path",{d:"M811.5 147C830.001 147 845 132.002 845 113.5C845 94.9985 830.001 80 811.5 80C792.998 80 778 94.9985 778 113.5C778 132.002 792.998 147 811.5 147Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M85.9999 187H30.9999V307H85.9999V187Z",fill:"#3392E9"}),A.jsx("path",{d:"M1343 496V465.687C1367.75 465.687 1387.89 445.411 1387.89 420.5C1387.89 395.589 1367.75 375.313 1343 375.313V345C1384.35 345 1418 378.87 1418 420.5C1418 462.13 1384.35 496 1343 496Z",fill:"#3392E9"}),A.jsx("path",{d:"M0.999878 29H201.311C235.361 29 263 56.5618 263 90.4952C263 124.438 235.351 152 201.311 152H0.999878V29Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M221 71C180.137 71 147 104.128 147 145C147 185.873 180.127 219 221 219V71Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M20.9999 1024C20.9999 914.1 110.535 825 221 825V1024H20.9999Z",fill:"#3392E9"}),A.jsx("path",{d:"M74.9999 544C74.9999 587.628 39.6334 623 -4.00013 623L-4.00012 544L74.9999 544Z",fill:"#3392E9"}),A.jsx("path",{d:"M337.425 883H144.574C139.294 883 135 878.529 135 873C135 867.485 139.281 863 144.574 863H337.425C342.706 863 347 867.471 347 873C347 878.515 342.719 883 337.425 883Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M1203.51 771C1244.62 771 1278 804.363 1278 845.45V1024H1129V845.45C1129 804.363 1162.38 771 1203.49 771H1203.51Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M1181.99 916C1181.99 887.283 1158.26 864 1128.99 864C1099.73 864 1076 887.283 1076 916H1182H1181.99Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M1477.99 664C1477.99 635.283 1454.26 612 1424.99 612C1395.73 612 1372 635.283 1372 664H1478H1477.99Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M37.9999 962C58.4344 962 74.9999 945.435 74.9999 925C74.9999 904.565 58.4344 888 37.9999 888C17.5653 888 0.999878 904.565 0.999878 925C0.999878 945.435 17.5653 962 37.9999 962Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M198.842 955.916H243.034V1000.1L198.842 955.916Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M243.035 955.916H287.24V1000.1L243.035 955.916Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M287.24 955.916H331.433V1000.1L287.24 955.916Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M198.842 911.73H243.034V955.916L198.842 911.73Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M243.035 911.73H287.24V955.916L243.035 911.73Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M287.24 911.73H331.433V955.916L287.24 911.73Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M1342.9 110.06L1372.04 80.9297L1401.17 110.06H1342.9Z",fill:"#3392E9"}),A.jsx("path",{d:"M1342.9 80.9314L1372.04 51.8008L1401.17 80.9314H1342.9Z",fill:"#3392E9"}),A.jsx("path",{d:"M1342.9 51.8025L1372.04 22.6719L1401.17 51.8025H1342.9Z",fill:"#3392E9"}),A.jsx("path",{d:"M85.9999 0H103.462C103.462 14.5232 115.142 26.3374 129.5 26.3374C143.858 26.3374 155.538 14.5232 155.538 0H173C173 24.2641 153.488 44 129.5 44C105.512 44 85.9999 24.2641 85.9999 0Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M788.885 920.476C788.885 981.413 739.294 1030.98 678.367 1030.98V986.601C714.843 986.601 744.521 956.927 744.521 920.457H788.904L788.885 920.476Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M1380 957H1217V993H1380V957Z",fill:"#3392E9"}),A.jsx("ellipse",{cx:"194.163",cy:"48.4738",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 48.4746H315.39",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"48.4738",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"194.163",cy:"63.9094",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 63.9121H315.39",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"63.9094",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"194.163",cy:"79.3566",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 79.3574H315.39",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"79.3566",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1179.41",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1179.41 735.332V824.074",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1179.41",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1158.88",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1158.88 735.332V824.074",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1158.88",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1138.33",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1138.33 735.332V824.074",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1138.33",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1117.78",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1117.79 735.332V824.074",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1117.78",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1437 471.777H1340.59C1300.92 471.777 1268.77 439.63 1268.77 399.968V234.196C1268.77 194.533 1300.92 162.387 1340.59 162.387H1437",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 452.629H1340.59C1311.55 452.629 1287.93 429.004 1287.93 399.969V234.197C1287.93 205.162 1311.55 181.537 1340.59 181.537H1437",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 433.479H1340.59C1322.11 433.479 1307.08 418.447 1307.08 399.968V234.197C1307.08 215.718 1322.11 200.686 1340.59 200.686H1437",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 414.331H1340.59C1332.67 414.331 1326.23 407.892 1326.23 399.969V234.198C1326.23 226.275 1332.67 219.836 1340.59 219.836H1437",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M785 12V21",stroke:"#5A5668",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M916.503 -13C929.178 5.73908 936.585 28.3253 936.585 52.5983C936.585 117.33 883.907 170.001 819.165 170.001V122.864C857.92 122.864 889.441 91.3358 889.441 52.5983C889.441 23.1958 871.289 -2.03613 845.614 -12.5032",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M780.26 16.3105H789.204",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M30.9999 14V21",stroke:"#5A5668",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M27.9999 18H34.9999",stroke:"#5A5668",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7071",cy:"941.062",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1749 941.061H140.333",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.555",cy:"941.062",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7071",cy:"961.511",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1752 961.512H140.334",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.555",cy:"961.511",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7071",cy:"981.96",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1752 981.961H140.334",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.555",cy:"981.96",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M6.82031 970.781V980.717",stroke:"#C6E1F9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1.85144 975.75H11.789",stroke:"#C6E1F9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M637.719 1085.64V866.624C637.719 844.187 655.909 826 678.349 826C700.79 826 718.98 844.187 718.98 866.624V1085.64",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M816.859 998.168V1012.99",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M809.449 1005.57H824.269",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1441.64 632.549L1222.62 632.549C1200.19 632.549 1182 614.359 1182 591.918C1182 569.478 1200.19 551.288 1222.62 551.288L1441.64 551.288",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M-15.9995 633L203.012 633C225.45 633 243.637 651.19 243.637 673.63C243.637 696.071 225.45 714.261 203.012 714.261L-15.9995 714.261",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1354.17 453.41L1368.99 453.41",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1361.57 460.82L1361.57 446",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1405.82 13.3242V22.5996",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1401.17 17.9668H1410.45",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"})]})}),IX=()=>A.jsx("svg",{className:"w-full h-full min-w-full min-h-full object-cover",width:"1440",height:"1024",viewBox:"0 0 1440 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:A.jsxs("g",{opacity:"0.2",children:[A.jsx("path",{d:"M811.5 147C830.002 147 845 132.002 845 113.5C845 94.9985 830.002 80 811.5 80C792.998 80 778 94.9985 778 113.5C778 132.002 792.998 147 811.5 147Z",fill:"#00417D"}),A.jsx("path",{d:"M86 187H31V307H86V187Z",fill:"#016DCF"}),A.jsx("path",{d:"M1343 496V465.687C1367.75 465.687 1387.89 445.411 1387.89 420.5C1387.89 395.589 1367.75 375.313 1343 375.313V345C1384.35 345 1418 378.87 1418 420.5C1418 462.13 1384.35 496 1343 496Z",fill:"#016DCF"}),A.jsx("path",{d:"M1 29H201.311C235.361 29 263 56.5618 263 90.4952C263 124.438 235.351 152 201.311 152H1V29Z",fill:"#00417D"}),A.jsx("path",{d:"M221 71C180.137 71 147 104.128 147 145C147 185.873 180.128 219 221 219V71Z",fill:"#0054A1"}),A.jsx("path",{d:"M21 1024C21 914.1 110.535 825 221 825V1024H21Z",fill:"#016DCF"}),A.jsx("path",{d:"M75 544C75 587.628 39.6335 623 -4.00001 623L-4 544L75 544Z",fill:"#016DCF"}),A.jsx("path",{d:"M337.425 883H144.575C139.294 883 135 878.529 135 873C135 867.485 139.281 863 144.575 863H337.425C342.706 863 347 867.471 347 873C347 878.515 342.719 883 337.425 883Z",fill:"#00325F"}),A.jsx("path",{d:"M1203.51 771C1244.62 771 1278 804.363 1278 845.45V1024H1129V845.45C1129 804.363 1162.38 771 1203.49 771H1203.51Z",fill:"#00417D"}),A.jsx("path",{d:"M1181.99 916C1181.99 887.283 1158.26 864 1128.99 864C1099.73 864 1076 887.283 1076 916H1182H1181.99Z",fill:"#0054A1"}),A.jsx("path",{d:"M1477.99 664C1477.99 635.283 1454.26 612 1424.99 612C1395.73 612 1372 635.283 1372 664H1478H1477.99Z",fill:"#0054A1"}),A.jsx("path",{d:"M38 962C58.4345 962 75 945.435 75 925C75 904.565 58.4345 888 38 888C17.5655 888 1 904.565 1 925C1 945.435 17.5655 962 38 962Z",fill:"#0054A1"}),A.jsx("path",{d:"M198.842 955.916H243.034V1000.1L198.842 955.916Z",fill:"#00417D"}),A.jsx("path",{d:"M243.035 955.916H287.24V1000.1L243.035 955.916Z",fill:"#00417D"}),A.jsx("path",{d:"M287.24 955.916H331.433V1000.1L287.24 955.916Z",fill:"#00417D"}),A.jsx("path",{d:"M198.842 911.73H243.034V955.916L198.842 911.73Z",fill:"#00417D"}),A.jsx("path",{d:"M243.035 911.73H287.24V955.916L243.035 911.73Z",fill:"#00417D"}),A.jsx("path",{d:"M287.24 911.73H331.433V955.916L287.24 911.73Z",fill:"#00417D"}),A.jsx("path",{d:"M1342.9 110.06L1372.04 80.9297L1401.17 110.06H1342.9Z",fill:"#016DCF"}),A.jsx("path",{d:"M1342.9 80.9314L1372.04 51.8008L1401.17 80.9314H1342.9Z",fill:"#016DCF"}),A.jsx("path",{d:"M1342.9 51.8025L1372.04 22.6719L1401.17 51.8025H1342.9Z",fill:"#016DCF"}),A.jsx("path",{d:"M86 0H103.462C103.462 14.5232 115.142 26.3374 129.5 26.3374C143.858 26.3374 155.538 14.5232 155.538 0H173C173 24.2641 153.488 44 129.5 44C105.512 44 86 24.2641 86 0Z",fill:"#00325F"}),A.jsx("path",{d:"M788.885 920.476C788.885 981.413 739.294 1030.98 678.367 1030.98V986.601C714.843 986.601 744.521 956.927 744.521 920.457H788.904L788.885 920.476Z",fill:"#0054A1"}),A.jsx("path",{d:"M1380 957H1217V993H1380V957Z",fill:"#016DCF"}),A.jsx("ellipse",{cx:"194.163",cy:"48.4738",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 48.4746H315.39",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"48.4738",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"194.163",cy:"63.9094",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 63.9121H315.39",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"63.9094",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"194.163",cy:"79.3566",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 79.3574H315.39",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"79.3566",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1179.41",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1179.41 735.332V824.074",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1179.41",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1158.88",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1158.88 735.332V824.074",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1158.88",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1138.33",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1138.33 735.332V824.074",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1138.33",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1117.78",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1117.79 735.332V824.074",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1117.78",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1437 471.777H1340.59C1300.92 471.777 1268.77 439.63 1268.77 399.968V234.196C1268.77 194.533 1300.92 162.387 1340.59 162.387H1437",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 452.629H1340.59C1311.55 452.629 1287.93 429.004 1287.93 399.969V234.197C1287.93 205.162 1311.55 181.537 1340.59 181.537H1437",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 433.479H1340.59C1322.11 433.479 1307.08 418.447 1307.08 399.968V234.197C1307.08 215.718 1322.11 200.686 1340.59 200.686H1437",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 414.331H1340.59C1332.67 414.331 1326.23 407.892 1326.23 399.969V234.198C1326.23 226.275 1332.67 219.836 1340.59 219.836H1437",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M785 12V21",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M916.503 -13C929.178 5.73908 936.585 28.3253 936.585 52.5983C936.585 117.33 883.907 170.001 819.165 170.001V122.864C857.92 122.864 889.442 91.3358 889.442 52.5983C889.442 23.1958 871.289 -2.03613 845.614 -12.5032",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M780.26 16.3105H789.204",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M31 14V21",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M28 18H35",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7072",cy:"941.062",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.175 941.061H140.334",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.556",cy:"941.062",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7072",cy:"961.511",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1753 961.512H140.334",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.556",cy:"961.511",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7072",cy:"981.96",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1753 981.961H140.334",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.556",cy:"981.96",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M6.82056 970.781V980.717",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1.85156 975.75H11.7891",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M637.719 1085.64V866.624C637.719 844.187 655.909 826 678.349 826C700.79 826 718.98 844.187 718.98 866.624V1085.64",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M816.859 998.168V1012.99",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M809.449 1005.57H824.269",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1441.64 632.549L1222.62 632.549C1200.19 632.549 1182 614.359 1182 591.918C1182 569.478 1200.19 551.288 1222.62 551.288L1441.64 551.288",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M-15.9995 632.998L203.012 632.998C225.45 632.998 243.637 651.188 243.637 673.628C243.637 696.069 225.45 714.259 203.012 714.259L-15.9995 714.259",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1354.17 453.408L1368.99 453.408",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1361.57 460.818L1361.57 445.998",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1405.82 13.3242V22.5996",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1401.17 17.9668H1410.45",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"})]})}),DX=()=>A.jsxs("svg",{width:"38",height:"31",viewBox:"0 0 38 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A.jsx("g",{clipPath:"url(#clip0_7056_325387)",children:A.jsx("path",{d:"M2.31781 0.693522C1.70082 0.207047 0.804997 0.319767 0.318522 0.936759C-0.167953 1.55375 -0.0552329 2.44958 0.561759 2.93605L35.6829 30.4634C36.2998 30.9499 37.1957 30.8371 37.6821 30.2202C38.1686 29.6032 38.0559 28.7073 37.4389 28.2209L29.0443 21.6416L34.4133 16.2726C37.7652 12.9206 37.7652 7.4923 34.4133 4.14037C31.447 1.17406 26.7721 0.788444 23.3608 3.22675L23.2659 3.29201C22.4116 3.90307 22.2158 5.08959 22.8269 5.93796C23.4379 6.78632 24.6245 6.98803 25.4728 6.37697L25.5677 6.31171C27.4721 4.95314 30.0765 5.16672 31.7258 6.82192C33.5946 8.69069 33.5946 11.7163 31.7258 13.5851L26.0305 19.2804L24.138 17.7973C25.5796 14.6055 24.9389 10.779 22.3819 8.22201C19.2851 5.11925 14.4026 4.88788 11.0328 7.5279L2.31781 0.693522ZM14.1949 10.0018C15.9806 9.11784 18.2113 9.41447 19.7004 10.9095C20.8869 12.096 21.3319 13.7749 20.9878 15.3293L14.1949 10.0018ZM24.138 25.0944L13.1211 16.409C12.9965 18.7702 13.8449 21.1611 15.6247 22.9349C17.9325 25.2427 21.2251 25.9605 24.1439 25.0884L24.138 25.0944ZM6.93339 11.5383L3.58739 14.8843C0.235465 18.2363 0.235465 23.6646 3.58739 27.0165C6.5537 29.9829 11.2286 30.3685 14.6399 27.9302L14.7348 27.8649C15.5891 27.2538 15.7849 26.0673 15.1738 25.219C14.5627 24.3706 13.3762 24.1689 12.5278 24.7799L12.4329 24.8452C10.5286 26.2038 7.92414 25.9902 6.27487 24.335C4.4061 22.4603 4.4061 19.4347 6.27487 17.5659L9.94123 13.8995L6.93932 11.5324L6.93339 11.5383Z",fill:"#0077E3"})}),A.jsx("defs",{children:A.jsx("clipPath",{id:"clip0_7056_325387",children:A.jsx("path",{d:"M0.015625 0.390625H37.9844V30.7656H0.015625V0.390625Z",fill:"white"})})})]}),RX=()=>A.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A.jsx("g",{clipPath:"url(#clip0_7056_325398)",children:A.jsx("path",{d:"M9 18C11.3869 18 13.6761 17.0518 15.364 15.364C17.0518 13.6761 18 11.3869 18 9C18 6.61305 17.0518 4.32387 15.364 2.63604C13.6761 0.948212 11.3869 0 9 0C6.61305 0 4.32387 0.948212 2.63604 2.63604C0.948212 4.32387 0 6.61305 0 9C0 11.3869 0.948212 13.6761 2.63604 15.364C4.32387 17.0518 6.61305 18 9 18ZM7.59375 11.8125H8.4375V9.5625H7.59375C7.12617 9.5625 6.75 9.18633 6.75 8.71875C6.75 8.25117 7.12617 7.875 7.59375 7.875H9.28125C9.74883 7.875 10.125 8.25117 10.125 8.71875V11.8125H10.4062C10.8738 11.8125 11.25 12.1887 11.25 12.6562C11.25 13.1238 10.8738 13.5 10.4062 13.5H7.59375C7.12617 13.5 6.75 13.1238 6.75 12.6562C6.75 12.1887 7.12617 11.8125 7.59375 11.8125ZM9 4.5C9.29837 4.5 9.58452 4.61853 9.7955 4.8295C10.0065 5.04048 10.125 5.32663 10.125 5.625C10.125 5.92337 10.0065 6.20952 9.7955 6.4205C9.58452 6.63147 9.29837 6.75 9 6.75C8.70163 6.75 8.41548 6.63147 8.2045 6.4205C7.99353 6.20952 7.875 5.92337 7.875 5.625C7.875 5.32663 7.99353 5.04048 8.2045 4.8295C8.41548 4.61853 8.70163 4.5 9 4.5Z",fill:"#DC6803"})}),A.jsx("defs",{children:A.jsx("clipPath",{id:"clip0_7056_325398",children:A.jsx("path",{d:"M0 0H18V18H0V0Z",fill:"white"})})})]}),PX=({className:t,title:e,description:r,warningTitle:n="What does this mean?",warningDescription:a="While your SSO provider authenticated you successfully, we need to connect your identity to a LambdaX user account before you can access the platform.",icon:i,warningIcon:s,"data-testid":o})=>A.jsxs("div",{className:`relative flex justify-center items-center min-h-screen w-full bg-[#F9FCFF] dark:bg-gradient-to-r dark:from-[#111827] dark:to-[#000000] overflow-hidden ${t||""}`,"data-testid":o,children:[A.jsx("div",{className:"block dark:hidden absolute inset-0 w-full h-full",children:A.jsx(NX,{})}),A.jsx("div",{className:"hidden dark:block absolute inset-0 w-full h-full",children:A.jsx(IX,{})}),A.jsxs("div",{className:"relative z-10 flex flex-col items-center max-w-[584px] mx-auto p-8 bg-white dark:bg-[#080C11] border border-neutral-200 dark:border-neutral-700 dark:border-none rounded-[20px] dark:shadow-[0px_0px_20px_0px_rgba(0,0,0,0.05)] overflow-hidden",children:[A.jsx("div",{className:"mb-6",children:A.jsx("div",{className:"w-44 h-44 rounded-full flex items-center justify-center",style:{border:"1px solid rgba(255, 255, 255, 0.05)"},children:A.jsx("div",{className:"w-44 h-44 rounded-full flex items-center justify-center border dark:border-primary-900 border-primary-900/20",children:A.jsx("div",{className:"w-36 h-36 rounded-full flex items-center justify-center border dark:border-primary-600 border-primary-600/20",children:A.jsx("div",{className:"w-24 h-24 bg-gradient-to-br from-[rgba(198,225,249,0.20)] to-[rgba(138,192,242,0.20)] dark:bg-gradient-to-br dark:from-[rgba(0,50,95,0.20)] dark:to-[rgba(0,65,125,0.14)] rounded-full flex items-center justify-center",children:A.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-[rgba(198,225,249,0.20)] to-[rgba(138,192,242,0.20)] dark:bg-gradient-to-br dark:from-[rgba(0,50,95,0.20)] dark:to-[rgba(0,65,125,0.14)] border border-primary-200 dark:border-primary-900 rounded-full flex items-center justify-center",children:i||A.jsx(DX,{})})})})})})}),A.jsxs("div",{className:"text-center",children:[A.jsx("h1",{className:"text-[32px] font-bold font-inter text-neutral-900 dark:text-white mb-4",children:e||A.jsxs(A.Fragment,{children:["Account Not"," ",A.jsx("span",{className:"bg-gradient-to-r from-[#3392E9] via-[#54A4EC] to-[#016DCF] dark:bg-gradient-to-r dark:from-[#00417D] dark:via-[#00325F] dark:to-[#3392E9] bg-clip-text text-transparent",children:"Linked"})]})}),A.jsx("p",{className:"font-inter text-[20px] font-normal text-neutral-600 dark:text-[#CBD5E1] leading-relaxed font-medium mb-6",children:r||"We couldn't find a LambdaX user account associated with your SSO login credentials. Your authentication was successful, but no account is currently linked."}),A.jsxs("div",{className:"bg-warning-50 dark:bg-warning-900/10 border border-warning-200 dark:border-[#2D1807] dark:bg-[#140C03] rounded-lg p-4 flex items-start gap-3",children:[A.jsx("div",{className:"flex-shrink-0 mt-0.5",children:s||A.jsx(RX,{})}),A.jsxs("div",{className:"text-left",children:[A.jsx("h3",{className:"font-medium text-warning-800 dark:text-white mb-2",children:n}),A.jsx("p",{className:"text-[14px] text-neutral-600 dark:text-[#CBD5E1]",children:a})]})]})]})]})]}),LX=({size:t=150}={})=>A.jsxs("svg",{width:t,height:t,viewBox:"0 0 152 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-white dark:text-neutral-800",children:[A.jsx("path",{d:"M60.6 120C93.737 120 120.6 93.1371 120.6 60C120.6 26.8629 93.737 0 60.6 0C27.463 0 0.600098 26.8629 0.600098 60C0.600098 93.1371 27.463 120 60.6 120Z",fill:"url(#paint0_linear_1711_24584)"}),A.jsx("g",{filter:"url(#filter0_d_1711_24584)",children:A.jsx("path",{d:"M33.4006 27.2H141.4C142.461 27.2 143.479 27.6214 144.229 28.3715C144.979 29.1217 145.4 30.1391 145.4 31.2V51.2C145.4 52.2608 144.979 53.2782 144.229 54.0284C143.479 54.7785 142.461 55.2 141.4 55.2H33.4006C32.3398 55.2 31.3223 54.7785 30.5722 54.0284C29.8221 53.2782 29.4006 52.2608 29.4006 51.2V31.2C29.4006 30.1391 29.8221 29.1217 30.5722 28.3715C31.3223 27.6214 32.3398 27.2 33.4006 27.2V27.2Z",fill:"currentColor"})}),A.jsx("path",{d:"M84.5999 33.6001H63.7999C62.4744 33.6001 61.3999 34.6746 61.3999 36.0001C61.3999 37.3256 62.4744 38.4001 63.7999 38.4001H84.5999C85.9253 38.4001 86.9999 37.3256 86.9999 36.0001C86.9999 34.6746 85.9253 33.6001 84.5999 33.6001Z",className:"fill-primary-200 dark:fill-primary-400"}),A.jsx("path",{d:"M98.9998 44.0005H63.7999C62.4744 44.0005 61.3999 45.075 61.3999 46.4005C61.3999 47.726 62.4744 48.8005 63.7999 48.8005H98.9998C100.325 48.8005 101.4 47.726 101.4 46.4005C101.4 45.075 100.325 44.0005 98.9998 44.0005Z",className:"fill-primary-100 dark:fill-primary-300"}),A.jsx("path",{d:"M54.9995 41.1999C54.9995 34.7933 49.806 29.5999 43.3995 29.5999C36.993 29.5999 31.7996 34.7933 31.7996 41.1999C31.7996 47.6064 36.993 52.7999 43.3995 52.7999C49.806 52.7999 54.9995 47.6064 54.9995 41.1999Z",className:"fill-primary-500 dark:fill-primary-600"}),A.jsx("path",{d:"M42.6804 44.9552C43.6735 44.9551 44.638 44.6228 45.4204 44.0112L47.8804 46.4712L48.6716 45.68L46.2108 43.2192C46.8291 42.4199 47.1583 41.4347 47.145 40.4242C47.1317 39.4138 46.7765 38.4376 46.1374 37.6548C45.4982 36.8721 44.6128 36.3289 43.6254 36.1137C42.6381 35.8986 41.6069 36.0242 40.7001 36.4702C39.7932 36.9161 39.0642 37.656 38.6317 38.5693C38.1992 39.4827 38.0888 40.5155 38.3185 41.4996C38.5481 42.4837 39.1044 43.361 39.8965 43.9886C40.6886 44.6161 41.6699 44.9568 42.6804 44.9552ZM42.6804 37.12C43.3449 37.12 43.9946 37.3171 44.5471 37.6863C45.0997 38.0555 45.5303 38.5803 45.7846 39.1942C46.0389 39.8082 46.1055 40.4838 45.9758 41.1355C45.8462 41.7873 45.5262 42.386 45.0563 42.8559C44.5864 43.3258 43.9877 43.6458 43.3359 43.7755C42.6841 43.9051 42.0085 43.8386 41.3946 43.5843C40.7806 43.33 40.2559 42.8993 39.8867 42.3467C39.5175 41.7942 39.3204 41.1446 39.3204 40.48C39.3204 39.5889 39.6744 38.7343 40.3045 38.1042C40.9346 37.474 41.7893 37.12 42.6804 37.12Z",className:"fill-white dark:fill-neutral-200"}),A.jsx("g",{filter:"url(#filter1_d_1711_24584)",children:A.jsx("path",{d:"M129.4 63.2H21.4006C19.1915 63.2 17.4006 64.9908 17.4006 67.2V87.2C17.4006 89.4091 19.1915 91.2 21.4006 91.2H129.4C131.61 91.2 133.4 89.4091 133.4 87.2V67.2C133.4 64.9908 131.61 63.2 129.4 63.2Z",fill:"currentColor"})}),A.jsx("path",{d:"M72.6001 69.6001H51.8001C50.4747 69.6001 49.4001 70.6746 49.4001 72.0001C49.4001 73.3256 50.4747 74.4001 51.8001 74.4001H72.6001C73.9256 74.4001 75.0001 73.3256 75.0001 72.0001C75.0001 70.6746 73.9256 69.6001 72.6001 69.6001Z",className:"fill-primary-200 dark:fill-primary-400"}),A.jsx("path",{d:"M87.0001 80.0005H51.8001C50.4747 80.0005 49.4001 81.075 49.4001 82.4005C49.4001 83.726 50.4747 84.8005 51.8001 84.8005H87.0001C88.3256 84.8005 89.4001 83.726 89.4001 82.4005C89.4001 81.075 88.3256 80.0005 87.0001 80.0005Z",className:"fill-primary-100 dark:fill-primary-300"}),A.jsx("path",{d:"M42.9995 77.1999C42.9995 70.7933 37.806 65.5999 31.3995 65.5999C24.993 65.5999 19.7996 70.7933 19.7996 77.1999C19.7996 83.6064 24.993 88.7999 31.3995 88.7999C37.806 88.7999 42.9995 83.6064 42.9995 77.1999Z",className:"fill-primary-500 dark:fill-primary-600"}),A.jsx("path",{d:"M30.6804 80.9552C31.6735 80.9551 32.638 80.6228 33.4204 80.0112L35.8804 82.4712L36.6716 81.68L34.2108 79.2192C34.8291 78.4199 35.1583 77.4347 35.145 76.4242C35.1317 75.4138 34.7765 74.4376 34.1374 73.6548C33.4982 72.8721 32.6128 72.3289 31.6254 72.1137C30.6381 71.8986 29.6069 72.0242 28.7001 72.4702C27.7932 72.9161 27.0642 73.656 26.6317 74.5693C26.1992 75.4827 26.0888 76.5155 26.3185 77.4996C26.5481 78.4837 27.1044 79.361 27.8965 79.9886C28.6886 80.6161 29.6699 80.9568 30.6804 80.9552ZM30.6804 73.12C31.3449 73.12 31.9946 73.3171 32.5471 73.6863C33.0997 74.0555 33.5303 74.5803 33.7846 75.1942C34.0389 75.8082 34.1055 76.4838 33.9758 77.1355C33.8462 77.7873 33.5262 78.386 33.0563 78.8559C32.5864 79.3258 31.9877 79.6458 31.3359 79.7755C30.6841 79.9051 30.0085 79.8386 29.3946 79.5843C28.7806 79.33 28.2559 78.8993 27.8867 78.3467C27.5175 77.7942 27.3204 77.1446 27.3204 76.48C27.3204 75.5889 27.6744 74.7343 28.3045 74.1042C28.9346 73.474 29.7893 73.12 30.6804 73.12Z",className:"fill-white dark:fill-neutral-200"}),A.jsxs("defs",{children:[A.jsxs("filter",{id:"filter0_d_1711_24584",x:"23.4006",y:"24.2",width:"128",height:"40",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[A.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),A.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),A.jsx("feOffset",{dy:"3"}),A.jsx("feGaussianBlur",{stdDeviation:"3"}),A.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.161 0"}),A.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1711_24584"}),A.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1711_24584",result:"shape"})]}),A.jsxs("filter",{id:"filter1_d_1711_24584",x:"11.4006",y:"60.2",width:"128",height:"40",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[A.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),A.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),A.jsx("feOffset",{dy:"3"}),A.jsx("feGaussianBlur",{stdDeviation:"3"}),A.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.161 0"}),A.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1711_24584"}),A.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1711_24584",result:"shape"})]}),A.jsxs("linearGradient",{id:"paint0_linear_1711_24584",x1:"60.6",y1:"0",x2:"60.6",y2:"120",gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{className:"[stop-color:var(--color-primary-50)] dark:[stop-color:var(--color-primary-800)]"}),A.jsx("stop",{offset:"1",className:"[stop-color:var(--color-primary-100)] dark:[stop-color:var(--color-primary-900)]"})]})]})]}),DC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"118",height:"120",viewBox:"0 0 118 120",fill:"none",children:[A.jsx("path",{d:"M116.367 120H10.0937C4.82826 120 0.59019 115.762 0.525977 110.496C0.269124 1.84773 0.525976 1.26981 0.590189 0.884529C0.847042 0.242397 1.55339 -0.142879 2.19552 0.0497605C2.77344 0.2424 3.15872 0.88453 3.03029 1.46245C2.83765 3.90255 2.90187 59.2543 3.03029 110.432C3.03029 114.285 6.17674 117.367 10.0295 117.367H116.302C117.009 117.367 117.587 117.945 117.587 118.652C117.587 119.358 117.073 120 116.367 120Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M40.9801 26.3788V103.692C40.9801 106.517 38.7327 108.764 35.9073 108.764H21.6519C18.8266 108.764 16.5791 106.453 16.5791 103.692V26.3788C16.5791 23.5535 18.8266 21.306 21.6519 21.306H35.9073C38.7327 21.2418 40.9801 23.5535 40.9801 26.3788Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M75.0778 60.2812V103.689C75.0778 106.515 72.8303 108.762 70.0049 108.762H55.7496C52.9242 108.762 50.6768 106.45 50.6768 103.689V60.2812C50.6768 57.4558 52.9242 55.2083 55.7496 55.2083H70.0049C72.8303 55.1441 75.0778 57.4558 75.0778 60.2812Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M109.174 38.5807V103.693C109.174 106.518 106.927 108.766 104.102 108.766H89.8463C87.0209 108.766 84.7734 106.454 84.7734 103.693V38.5807C84.7734 35.7553 87.0209 33.5078 89.8463 33.5078H104.102C106.927 33.5078 109.174 35.7553 109.174 38.5807Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M40.9816 13.0824C40.9816 13.4677 40.7889 13.8529 40.5321 14.1098C40.2752 14.3666 39.89 14.5593 39.5047 14.5593H17.929C17.0943 14.5593 16.4521 13.9171 16.4521 13.0824C16.4521 12.6971 16.6448 12.3118 16.9016 12.055C17.1585 11.7981 17.5438 11.6055 17.929 11.6055H39.5047C40.3394 11.6055 40.9816 12.2476 40.9816 13.0824Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M75.0773 46.9925C75.0773 47.3778 74.8846 47.7631 74.6278 48.0199C74.3709 48.2768 73.9857 48.4694 73.6004 48.4694H52.0248C51.19 48.4694 50.5479 47.8273 50.5479 46.9925C50.5479 46.6072 50.7405 46.222 50.9974 45.9651C51.2542 45.7083 51.6395 45.5156 52.0248 45.5156H73.6004C74.4352 45.5156 75.0773 46.1577 75.0773 46.9925Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M109.175 25.2816C109.175 25.6669 108.982 26.0521 108.725 26.309C108.469 26.5659 108.083 26.7585 107.698 26.7585H86.1224C85.2876 26.7585 84.6455 26.1164 84.6455 25.2816C84.6455 24.8963 84.8381 24.511 85.095 24.2542C85.3519 23.9973 85.7371 23.8047 86.1224 23.8047H107.762C108.533 23.8689 109.175 24.511 109.175 25.2816Z",className:"fill-neutral-200 dark:fill-neutral-700"})]}),RC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"180",height:"100",viewBox:"0 0 180 100",fill:"none",children:[A.jsx("path",{d:"M152.143 11.8824C152.412 25.3669 143.934 37.674 131.056 42.5053L119.267 46.9261C112.034 49.6378 106.617 55.9831 105.123 63.4857C102.445 76.9703 98.5765 83.8068 92.9513 84.9911C88.5912 85.9129 84.1772 83.2416 79.8238 77.0511C76.3854 72.1525 74.0304 66.5406 72.8327 60.3703C70.0201 45.8697 66.1713 41.8929 64.1258 40.8096C63.3319 40.3924 62.04 39.9416 59.9003 40.8634C56.4485 42.3438 54.3222 46.1119 54.7192 50.0214C56.0582 63.1695 54.9009 73.4444 51.2809 80.55C49.6324 83.7866 46.6448 86.1417 43.0921 87.0097C42.0963 87.252 41.0802 87.3731 40.0777 87.3731C37.4804 87.3731 34.9303 86.5723 32.7838 85.0449C25.8197 80.0857 22.738 71.3719 21.5268 62.833C21.4192 62.0996 21.547 61.346 21.8969 60.6865C21.9171 60.6529 21.9305 60.6193 21.9507 60.5923C23.5656 57.5913 28.0603 58.3786 28.5246 61.7497C29.507 68.9428 31.8889 75.7995 36.8479 79.3456C38.1667 80.2876 39.8287 80.5971 41.4234 80.2069C42.9979 79.8233 44.31 78.7871 45.0367 77.374C47.1024 73.33 49.2488 65.4169 47.7551 50.7413C47.0351 43.703 50.8099 37.1491 57.1415 34.4307C60.7211 32.8965 64.2671 32.9638 67.4161 34.6191C73.0951 37.6269 77.1188 45.614 79.7228 59.038C80.7321 64.2326 82.6969 68.9361 85.57 73.0272C88.645 77.4077 90.7511 78.3026 91.5114 78.1411C91.8882 78.0604 95.3198 76.9232 98.2602 62.1265C100.218 52.2621 107.33 43.925 116.811 40.3722L128.6 35.9514C138.699 32.1631 145.347 22.5476 145.139 12.0304C145.132 11.7478 145.125 11.4652 145.112 11.1691L152.11 10.8125C152.123 11.1759 152.136 11.5325 152.143 11.8824Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M156.904 15.5032H140.318C139.039 15.5032 138.279 14.0767 138.992 13.0135L147.289 0.706526C147.921 -0.235509 149.307 -0.235509 149.94 0.706526L158.236 13.0135C158.943 14.07 158.182 15.5032 156.904 15.5032Z",className:"fill-primary-600 dark:fill-primary-500"}),A.jsx("path",{d:"M90.0001 99.9979C139.562 99.9979 179.74 98.4585 179.74 96.5595C179.74 94.6605 139.562 93.1211 90.0001 93.1211C40.4382 93.1211 0.260254 94.6605 0.260254 96.5595C0.260254 98.4585 40.4382 99.9979 90.0001 99.9979Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M138.529 71.5442C138.549 71.4433 138.563 71.3356 138.563 71.228C138.643 69.4179 136.497 67.8501 133.765 67.7222C132.541 67.6684 131.417 67.9107 130.529 68.3615C129.459 67.4329 127.797 66.7937 125.913 66.7062C124.197 66.6322 122.623 67.0224 121.492 67.7222C121.23 67.8703 120.988 68.052 120.772 68.2606C120.12 68.8527 119.723 69.5794 119.689 70.3734C119.682 70.5013 119.689 70.6358 119.702 70.7637C119.696 71.0463 119.729 71.3222 119.79 71.5846C117.536 72.1229 115.934 73.4619 115.867 75.097C115.773 77.3377 118.592 79.2756 122.172 79.4371C123.477 79.4977 124.702 79.3093 125.738 78.9392C126.72 79.4977 127.985 79.8678 129.385 79.9283C131.982 80.0427 134.23 79.0738 135.03 77.6338C135.743 77.9568 136.578 78.1654 137.479 78.2058C140.184 78.3269 142.438 76.9138 142.519 75.0567C142.593 73.3812 140.857 71.9008 138.529 71.5442Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M142.519 75.0624C142.438 76.9263 140.184 78.3393 137.479 78.2115C136.578 78.1711 135.743 77.9625 135.03 77.6395C134.23 79.0795 131.982 80.0552 129.385 79.9341C127.985 79.8735 126.714 79.5034 125.738 78.9382C124.702 79.3083 123.477 79.4967 122.172 79.4361C118.592 79.2746 115.773 77.33 115.867 75.096C115.874 74.9817 115.887 74.8673 115.907 74.7529C116.257 76.7446 118.902 78.3864 122.172 78.5345C123.477 78.595 124.702 78.4066 125.738 78.0365C126.72 78.595 127.985 78.9651 129.385 79.0257C131.982 79.1401 134.23 78.1711 135.03 76.7311C135.743 77.0541 136.578 77.2627 137.479 77.3031C140.009 77.4175 142.149 76.1861 142.479 74.5039C142.512 74.6923 142.526 74.874 142.519 75.0624Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M97.6297 16.8372C97.6499 16.7363 97.6633 16.6286 97.6633 16.5209C97.7441 14.7109 95.5976 13.1431 92.8658 13.0152C91.6412 12.9614 90.5175 13.2036 89.6293 13.6545C88.5595 12.7259 86.8975 12.0866 85.0135 11.9992C83.2977 11.9251 81.7232 12.3154 80.5928 13.0152C80.3304 13.1632 80.0881 13.3449 79.8728 13.5535C79.2201 14.1457 78.8231 14.8724 78.7895 15.6664C78.7828 15.7942 78.7895 15.9288 78.803 16.0566C78.803 16.3393 78.8299 16.6151 78.8904 16.8776C76.6363 17.4159 75.0349 18.7549 74.9676 20.39C74.8734 22.6307 77.6927 24.5686 81.2724 24.7301C82.5777 24.7907 83.8023 24.6023 84.8385 24.2322C85.8209 24.7907 87.0859 25.1607 88.4855 25.2213C91.0827 25.3357 93.3301 24.3667 94.1308 22.9268C94.844 23.2498 95.6784 23.4584 96.58 23.4987C99.2849 23.6198 101.539 22.2068 101.62 20.3496C101.694 18.6742 99.9578 17.1938 97.6297 16.8372Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M101.62 20.3554C101.539 22.2193 99.2849 23.6323 96.58 23.5045C95.6784 23.4641 94.844 23.2555 94.1308 22.9325C93.3301 24.3725 91.0827 25.3482 88.4855 25.227C87.0859 25.1665 85.8142 24.7964 84.8385 24.2312C83.8023 24.6013 82.5777 24.7897 81.2724 24.7291C77.6927 24.5676 74.8734 22.623 74.9676 20.389C74.9744 20.2746 74.9878 20.1602 75.008 20.0458C75.3579 22.0376 78.0022 23.6794 81.2724 23.8274C82.5777 23.888 83.8023 23.6996 84.8385 23.3295C85.8209 23.888 87.0859 24.2581 88.4855 24.3186C91.0827 24.433 93.3301 23.4641 94.1308 22.0241C94.844 22.3471 95.6784 22.5557 96.58 22.5961C99.11 22.7105 101.25 21.4791 101.579 19.7969C101.613 19.9786 101.627 20.167 101.62 20.3554Z",className:"fill-primary-100 dark:fill-primary-200"})]}),PC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"188",height:"120",viewBox:"0 0 188 120",fill:"none",children:[A.jsx("path",{d:"M48.3801 42.6445H182.264C183.579 42.6445 184.841 43.167 185.771 44.0969C186.701 45.0268 187.223 46.2881 187.223 47.6032V72.3966C187.223 73.7117 186.701 74.973 185.771 75.9029C184.841 76.8328 183.579 77.3553 182.264 77.3553H48.3801C47.0649 77.3553 45.8037 76.8328 44.8737 75.9029C43.9438 74.973 43.4214 73.7117 43.4214 72.3966V47.6032C43.4214 46.2881 43.9438 45.0268 44.8737 44.0969C45.8037 43.167 47.0649 42.6445 48.3801 42.6445V42.6445Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M111.851 50.5781H86.066C84.4229 50.5781 83.0908 51.9102 83.0908 53.5533C83.0908 55.1965 84.4229 56.5285 86.066 56.5285H111.851C113.494 56.5285 114.826 55.1965 114.826 53.5533C114.826 51.9102 113.494 50.5781 111.851 50.5781Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M129.702 63.4727H86.066C84.4229 63.4727 83.0908 64.8047 83.0908 66.4479C83.0908 68.091 84.4229 69.4231 86.066 69.4231H129.702C131.346 69.4231 132.678 68.091 132.678 66.4479C132.678 64.8047 131.346 63.4727 129.702 63.4727Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M70.1981 45.6211H51.3552C48.6166 45.6211 46.3965 47.8412 46.3965 50.5798V69.4227C46.3965 72.1613 48.6166 74.3814 51.3552 74.3814H70.1981C72.9367 74.3814 75.1568 72.1613 75.1568 69.4227V50.5798C75.1568 47.8412 72.9367 45.6211 70.1981 45.6211Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M5.73553 85.2891H139.62C140.935 85.2891 142.196 85.8115 143.126 86.7414C144.056 87.6714 144.579 88.9326 144.579 90.2477V115.041C144.579 116.356 144.056 117.618 143.126 118.547C142.196 119.477 140.935 120 139.62 120H5.73553C4.42041 120 3.15915 119.477 2.22922 118.547C1.29929 117.618 0.776855 116.356 0.776855 115.041L0.776855 90.2477C0.776855 88.9326 1.29929 87.6714 2.22922 86.7414C3.15915 85.8115 4.42041 85.2891 5.73553 85.2891V85.2891Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M69.2066 93.2227H43.4215C41.7783 93.2227 40.4463 94.5547 40.4463 96.1979C40.4463 97.841 41.7783 99.1731 43.4215 99.1731H69.2066C70.8498 99.1731 72.1818 97.841 72.1818 96.1979C72.1818 94.5547 70.8498 93.2227 69.2066 93.2227Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M87.0579 106.117H43.4215C41.7783 106.117 40.4463 107.449 40.4463 109.092C40.4463 110.736 41.7783 112.068 43.4215 112.068H87.0579C88.701 112.068 90.0331 110.736 90.0331 109.092C90.0331 107.449 88.701 106.117 87.0579 106.117Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M27.5536 88.2656H8.71063C5.97203 88.2656 3.75195 90.4857 3.75195 93.2243V112.067C3.75195 114.806 5.97203 117.026 8.71063 117.026H27.5536C30.2922 117.026 32.5123 114.806 32.5123 112.067V93.2243C32.5123 90.4857 30.2922 88.2656 27.5536 88.2656Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M5.73553 0H139.62C140.935 0 142.196 0.522431 143.126 1.45236C144.056 2.3823 144.579 3.64355 144.579 4.95868V29.7521C144.579 31.0672 144.056 32.3284 143.126 33.2584C142.196 34.1883 140.935 34.7107 139.62 34.7107H5.73553C4.42041 34.7107 3.15915 34.1883 2.22922 33.2584C1.29929 32.3284 0.776855 31.0672 0.776855 29.7521L0.776855 4.95868C0.776855 3.64355 1.29929 2.3823 2.22922 1.45236C3.15915 0.522431 4.42041 0 5.73553 0V0Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M69.2066 7.93359H43.4215C41.7783 7.93359 40.4463 9.26564 40.4463 10.9088C40.4463 12.552 41.7783 13.884 43.4215 13.884H69.2066C70.8498 13.884 72.1818 12.552 72.1818 10.9088C72.1818 9.26564 70.8498 7.93359 69.2066 7.93359Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M87.0579 20.8281H43.4215C41.7783 20.8281 40.4463 22.1602 40.4463 23.8033C40.4463 25.4465 41.7783 26.7785 43.4215 26.7785H87.0579C88.701 26.7785 90.0331 25.4465 90.0331 23.8033C90.0331 22.1602 88.701 20.8281 87.0579 20.8281Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M27.5536 2.97656H8.71063C5.97203 2.97656 3.75195 5.19664 3.75195 7.93524V26.7782C3.75195 29.5168 5.97203 31.7369 8.71063 31.7369H27.5536C30.2922 31.7369 32.5123 29.5168 32.5123 26.7782V7.93524C32.5123 5.19664 30.2922 2.97656 27.5536 2.97656Z",className:"fill-primary-200 dark:fill-primary-300"})]}),LC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"122",height:"120",viewBox:"0 0 122 120",fill:"none",children:[A.jsx("path",{d:"M59.9524 64.1508L67.4659 9.82197C63.9259 9.09951 60.2414 8.73828 56.4846 8.73828C25.7802 8.73828 0.855469 33.6631 0.855469 64.3675C0.855469 95.072 25.7802 119.997 56.4846 119.997C87.189 119.997 112.114 95.072 112.114 64.3675C112.114 62.3447 111.969 60.3218 111.825 58.3712L59.9524 64.1508Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M121.145 48.5492C118.544 24.2746 100.41 4.69598 76.8583 0L69.2725 54.4011L121.145 48.5492Z",className:"fill-primary-600 dark:fill-primary-500"})]}),MC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"130",height:"120",viewBox:"0 0 130 120",fill:"none",children:[A.jsx("path",{d:"M77.6721 117.488C72.2076 119.127 66.4153 120.002 60.4262 120.002C50.7322 120.002 41.5847 117.707 33.4863 113.63L47.7923 85.1602C51.5847 87.0727 55.8798 88.1438 60.4262 88.1438C63.235 88.1438 65.9563 87.7285 68.5136 86.9634L77.6721 117.488Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M47.7914 85.1572L33.4854 113.627C18.4253 106.042 7.0045 92.3157 2.5127 75.7365L33.2668 67.3867C35.3651 75.1572 40.7313 81.6053 47.7914 85.1572Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M71.4968 1.0164L65.617 32.3279C63.934 32.011 62.1963 31.847 60.4258 31.847C44.8848 31.847 32.2837 44.4481 32.2837 60C32.2837 62.5574 32.6225 65.0274 33.2673 67.388L2.51322 75.7378C1.15803 70.7214 0.425781 65.4427 0.425781 60C0.425781 26.8634 27.2892 0 60.4258 0C64.2072 0 67.9012 0.349732 71.4968 1.0164Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M113.213 31.4536L85.1908 46.6121C81.2236 39.2787 74.0869 33.9126 65.6279 32.3388L71.5077 1.02734C89.5405 4.38254 104.743 15.8252 113.213 31.4536Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M129.574 59.9996C129.574 87.1472 111.552 110.076 86.8196 117.486L77.6611 86.9614C89.2568 83.486 97.7158 72.7318 97.7158 59.9996C97.7158 55.1581 96.4917 50.5897 94.3278 46.6116L122.35 31.4531C126.962 39.9449 129.574 49.6608 129.574 59.9996Z",className:"fill-primary-600 dark:fill-primary-500"})]}),HC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"154",height:"121",viewBox:"0 0 154 121",fill:"none",children:[A.jsx("path",{d:"M147.235 11.9961H6.76416C3.13305 11.9961 0.189453 14.9262 0.189453 18.5407V114.455C0.189453 118.069 3.13305 120.999 6.76416 120.999H147.235C150.866 120.999 153.81 118.069 153.81 114.455V18.5407C153.81 14.9262 150.866 11.9961 147.235 11.9961Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M133.097 40.9922H20.8837C18.2874 40.9922 16.1826 43.0873 16.1826 45.6717V106.625C16.1826 109.209 18.2874 111.304 20.8837 111.304H133.097C135.693 111.304 137.798 109.209 137.798 106.625V45.6717C137.798 43.0873 135.693 40.9922 133.097 40.9922Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M153.81 30.3633V18.6475C153.812 17.7866 153.643 16.9338 153.314 16.1378C152.985 15.3418 152.501 14.6183 151.89 14.0088C151.279 13.3993 150.554 12.9157 149.755 12.5857C148.956 12.2558 148.1 12.0859 147.235 12.0859H6.76419C5.89935 12.0859 5.04301 12.2558 4.24422 12.5857C3.44542 12.9157 2.71987 13.3993 2.10913 14.0088C1.49839 14.6183 1.01445 15.3418 0.685044 16.1378C0.355636 16.9338 0.187235 17.7866 0.189475 18.6475V30.5159L153.81 30.3633Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M46.3486 1V22.1089",className:"stroke-primary-700 dark:stroke-primary-600",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M107.667 1V22.1089",className:"stroke-primary-700 dark:stroke-primary-600",strokeLinecap:"round",strokeLinejoin:"round"})]}),Bg=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"99",viewBox:"0 0 100 99",fill:"none",className:"transition-colors",children:[A.jsx("path",{d:"M97.4888 26.1504L90.7939 24.3565L92.2998 18.7373C92.6248 17.5253 91.9053 16.2789 90.6932 15.9543L34.7821 0.972364C33.5728 0.648248 32.3296 1.366 32.0055 2.57533L10.9479 81.1624C10.6238 82.3718 11.3416 83.615 12.5509 83.9391L68.4634 98.9211C69.6745 99.2456 70.9195 98.527 71.2441 97.3158L82.1723 56.5301L88.8673 58.3241C90.4711 58.7538 92.1197 57.8018 92.5494 56.1979L99.614 29.8322C100.045 28.2287 99.0927 26.5802 97.4888 26.1504Z",className:"fill-primary-600 dark:fill-primary-500"}),A.jsx("path",{d:"M61.4719 87.828L6.85404 90.5767C5.60905 90.6395 4.54867 89.6806 4.48638 88.4361L0.619124 11.586C0.556378 10.341 1.51472 9.28111 2.75972 9.21836L12.3667 8.7349L57.378 6.46971C58.623 6.40696 59.6829 7.36576 59.7457 8.61076L63.5971 85.1466L63.6129 85.4604C63.6757 86.7054 62.7169 87.7657 61.4719 87.828Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{opacity:"0.5",d:"M63.5975 85.1466L33.8963 83.1708L9.78409 81.5669C8.54 81.4839 7.5988 80.4086 7.68186 79.165L12.3671 8.7349L57.3784 6.46971C58.6234 6.40696 59.6833 7.36576 59.746 8.61076L63.5975 85.1466Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M73.9906 8.45637L73.8145 11.1007L68.8833 85.2342C68.8007 86.4779 67.7254 87.4191 66.4818 87.3365L36.0272 85.3105L11.915 83.7066C10.6709 83.6236 9.72966 82.5483 9.81272 81.3047L14.92 4.52726C15.0026 3.28316 16.0779 2.34196 17.3215 2.42502L30.2166 3.28271L49.3985 4.5584L71.8883 6.05439C73.1324 6.13745 74.0736 7.21272 73.9906 8.45637Z",className:"fill-neutral-100 dark:fill-neutral-800"}),A.jsx("path",{opacity:"0.5",d:"M73.8148 11.0993L68.8835 85.2327C68.8009 86.4764 67.7257 87.4176 66.482 87.335L36.0274 85.309L12.1043 78.899C10.997 78.6019 10.3398 77.4639 10.6368 76.3566L30.2168 3.28125L49.3987 4.55694L73.8148 11.0993Z",className:"fill-neutral-100 dark:fill-neutral-800"}),A.jsx("path",{d:"M66.8301 96.0659L13.6564 81.8179C12.549 81.5213 11.8918 80.3829 12.1884 79.2756L32.1508 4.77509C32.4735 3.57117 33.7108 2.85659 34.9152 3.1789L87.9143 17.3799C89.0216 17.6765 89.6788 18.815 89.3823 19.9223L69.3729 94.5979C69.0759 95.7057 67.9379 96.3629 66.8301 96.0659Z",className:"fill-white dark:fill-neutral-900"})]}),jC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[A.jsx("path",{d:"M60 120C93.1371 120 120 93.1371 120 60C120 26.8629 93.1371 0 60 0C26.8629 0 0 26.8629 0 60C0 93.1371 26.8629 120 60 120Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M69.9807 23.067L42.3882 93.9844L50.1684 97.0115L77.7609 26.0942L69.9807 23.067Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M29.6704 84.196L11.4722 59.9918L29.6704 35.8477L36.337 40.8326L21.9226 59.9918L36.337 79.151L29.6704 84.196Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M90.3927 84.196L83.7261 79.151L98.1405 59.9918L83.7261 40.8326L90.3927 35.8477L108.591 59.9918L90.3927 84.196Z",className:"fill-primary-500 dark:fill-primary-400"})]}),MX=({widgetType:t,className:e,"data-testid":r})=>{const a=(()=>{let i,s;switch(t){case"BAR_CHART":i=A.jsx(DC,{}),s="No records found to display.";break;case"PIE_CHART":i=A.jsx(LC,{}),s="Oops! There is no data here.";break;case"DONUT_CHART":i=A.jsx(MC,{}),s="No data to visualize.";break;case"TABLE":i=A.jsx(Bg,{}),s="No entries available at the moment.";break;case"TEXT":i=A.jsx(RC,{}),s="No data available to display.";break;case"CONTENT":i=A.jsx(jC,{}),s="No entries available at the moment.";break;case"TIMELINE_CHART":i=A.jsx(HC,{}),s="No data to visualize.";break;case"CARD_LIST":i=A.jsx(PC,{}),s="No entries available at the moment.";break;default:i=A.jsx(Bg,{}),s="There is no data to display for this widget.";break}return{icon:i,additionaltext:s}})();return A.jsxs("div",{className:`flex flex-col justify-center items-center h-full ${t==="TEXT"?"py-5":""} ${e||""}`,"data-testid":r,children:[a?.icon,A.jsx(ee,{variant:"regular",size:"small",className:"text-center mt-2 dark:text-black-200",appearance:"custom",children:a?.additionaltext})]})},HX=({visible:t,xPos:e,yPos:r,children:n,className:a,containerId:i="full-screen-container","data-testid":s})=>{const l=(()=>{if(typeof document>"u")return null;const c=typeof parent<"u"&&parent!==window?parent.document.getElementById(i):null;if(c)return c;const u=document.getElementById(i);return u||document.body})();return l?yn.createPortal(A.jsx("div",{className:`fixed z-50 bg-white dark:bg-black-700 border shadow-md rounded ${t?"":"hidden"} ${a||""}`,style:{top:r,left:e},"data-testid":s,children:n}),l):null},jX=({hasPermission:t,children:e,title:r="You don't have the required permissions to view this content",subtitle:n="Please contact an administrator if you believe you need access",icon:a,className:i,"data-testid":s})=>t?A.jsx(A.Fragment,{children:e}):A.jsxs("div",{className:`flex flex-col justify-center items-center h-full px-2 py-14 ${i||""}`,"data-testid":s,children:[A.jsx("div",{className:"flex items-center gap-2 w-[70px] h-[70px] bg-neutral-50 dark:bg-black-800 rounded-full justify-center p-1",children:A.jsx("div",{className:"flex items-center gap-2 w-14 h-14 bg-neutral-200 dark:bg-black-700 rounded-full justify-center p-1",children:a||A.jsx(be.VpnKeyOffOutlined,{})})}),A.jsx(ee,{size:"large",variant:"semibold",className:"pt-2 text-center",children:r}),A.jsx(ee,{size:"small",variant:"regular",className:"pt-0.5 text-center",appearance:"subtitle",children:n})]});var Vs={exports:{}},av;function FX(){if(av)return Vs.exports;av=1;const t=(r,n,a)=>{const i=a<0?r.length+a:a,s=r.splice(n,1)[0];r.splice(i,0,s)},e=(r,n,a)=>(r=r.slice(),t(r,n,a),r);return Vs.exports=e,Vs.exports.default=e,Vs.exports.mutate=t,Vs.exports}var UX=FX();const zX=ib(UX),BX=t=>{const{value:e,onOptionChange:r,onSaveOption:n,onDeleteAll:a,required:i,errorMessage:s,hasChoices:o}=t,{t:l}=Kt.useTranslation(),[c,u]=x.useState(!1),f=()=>{a?.(),u(!1)};return A.jsxs(A.Fragment,{children:[A.jsxs("header",{className:"flex items-end w-full gap-3",children:[A.jsx("div",{className:"w-full",children:A.jsx(Ma,{id:"base-input-field-field-options-header",label:"Field Values",onChange:r,value:e,onKeyDown:({key:p})=>{p==="Enter"&&n()},required:i,placeholder:"Press Enter to add a value and use || to separate multiple values",errorMessage:s})}),A.jsx("div",{className:`flex gap-2 ${s?"mb-[20px]":""}`,children:a&&A.jsx(Tt,{id:"btn-field-options-header-delete-all",status:"error-secondary",onClick:()=>u(!0),className:"w-full sm:w-auto dark:bg-[#2A0D0A] dark:hover:bg-[#3E1510] border dark:border-[#912018]",disabled:!o,children:A.jsx(Qo,{emptyTag:!0,text:"Clear All",className:"font-inter font-medium text-sm"})})})]}),A.jsx(nC,{onOk:f,onCancel:()=>u(!1),title:l("Delete All Field Values"),content:l("Are you sure you want to delete all field values? This action cannot be undone."),footer:{okText:l("Delete All"),cancelText:l("Cancel"),okBtnType:"error"},isVisibleOutside:c})]})},qX=({size:t="w-3.5 h-3.5",className:e,...r})=>A.jsx("svg",{"aria-hidden":"true",className:B(t,"text-primary-300",e),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...r,children:A.jsx("path",{d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"})}),VX=t=>{const{value:e,index:r,onDeleteItem:n,userCanManage:a=!1}=t;return A.jsx(O1.SortableItem,{children:A.jsxs("div",{className:B("relative flex items-center px-1.5 py-0.5 text-sm text-primary-600 bg-primary-50 dark:bg-black-700 rounded font-medium text-[14px] font-inter border border-primary-100"),children:[a&&A.jsx(O1.SortableKnob,{children:A.jsx("button",{id:"btn-data-display-close-modal",className:"pr-2 cursor-move",children:A.jsx(qn.MdOutlineDragIndicator,{height:10,width:7})})}),e,a&&A.jsxs("span",{className:"flex items-center gap-2.5 p-0.5 rounded-xl bg-primary-100 ml-auto cursor-pointer","data-dismiss-target":"#badge-dismiss-default","aria-label":"Remove",onClick:()=>{n(r)},children:[A.jsx(qX,{size:"w-2.5 h-2.5"}),A.jsx("span",{className:"sr-only",children:"Remove badge"})]})]})})},WX=({rawIds:t,callback:e})=>(n,a)=>{const i=zX(t,n,a);e(i)},XX=t=>{const{value:e,choices:r,onOptionChange:n,onSaveOption:a,onDeleteItem:i,onChoicesUpdate:s,onDeleteAll:o,required:l=!1,errorMessage:c,userCanManage:u=!1}=t,f=WX({rawIds:r,callback:s});return A.jsxs("div",{className:"w-full col-span-2",children:[u&&A.jsx(BX,{value:e,onOptionChange:n,onSaveOption:a,onDeleteAll:o,required:l,errorMessage:c,hasChoices:r?.length>0}),A.jsx("div",{className:"py-2"}),A.jsx("div",{className:`${r?.length>0?"border border-neutral-200 rounded-lg p-2":""}`,children:A.jsx(O1,{className:"w-full grid grid-cols-2 gap-2",onSortEnd:f,children:r?.map((p,h)=>A.jsx(VX,{userCanManage:u,value:p,index:h,onDeleteItem:i},p+"-"+h))})})]})},QX=12,GX=3e3,YX="#0077E3",KX=({stopAt:t=100,max:e=100,height:r=QX,color:n=YX,fromColor:a,toColor:i,duration:s=GX,children:o,setAnimatedDisplayValue:l=null,className:c=""})=>{const[u,f]=x.useState(0),p=x.useRef();x.useEffect(()=>{f(0),l?.(0);const m=performance.now(),b=0,v=t,g=0,S=t/e*100,E=k=>{const w=k-m,T=Math.min(w/s,1),O=Math.round(b+(v-b)*T);l?.(O);const C=g+(S-g)*T;f(C),T<1&&(p.current=requestAnimationFrame(E))};return p.current=requestAnimationFrame(E),()=>{p.current&&cancelAnimationFrame(p.current)}},[t,e,s,l]);const h=()=>a&&i?{background:`linear-gradient(to right, ${a}, ${i})`}:{backgroundColor:n};return A.jsxs("div",{className:`relative w-full ${c}`,children:[A.jsx("div",{className:"w-full bg-neutral-200 dark:bg-neutral-700 rounded-full overflow-hidden",style:{height:r},children:A.jsx("div",{className:"h-full rounded-full",style:{width:`${u}%`,...h()}})}),o&&A.jsx("div",{className:"mt-2",children:o})]})},ZX=120,$X=12,JX=3e3,eQ="#0077E3",tQ=({value:t,max:e=100,size:r=ZX,strokeWidth:n=$X,color:a=eQ,duration:i=JX,children:s,setAnimatedDisplayValue:o=null})=>{const l=(r-n)/2,c=2*Math.PI*l,[u,f]=x.useState(0),p=x.useRef();x.useEffect(()=>{f(0),o?.(0);const b=setTimeout(()=>{f(t)},100);return()=>clearTimeout(b)},[t]),x.useEffect(()=>{const b=performance.now(),v=0,g=t,S=E=>{const k=E-b,w=Math.min(k/i,1),T=Math.round(v+(g-v)*w);o?.(T),w<1&&(p.current=requestAnimationFrame(S))};return p.current=requestAnimationFrame(S),()=>{p.current&&cancelAnimationFrame(p.current)}},[t]);const h=Math.min(Math.max(u,0),e)/e,m=c*(1-h);return A.jsxs("div",{className:"relative flex items-center justify-center",style:{width:r,height:r},children:[A.jsxs("svg",{width:r,height:r,className:"block",children:[A.jsx("circle",{className:"text-neutral-200 dark:text-neutral-700",strokeWidth:n,stroke:"currentColor",fill:"transparent",r:l,cx:r/2,cy:r/2}),A.jsx("circle",{strokeWidth:n,strokeLinecap:"round",stroke:"currentColor",fill:"transparent",r:l,cx:r/2,cy:r/2,strokeDasharray:c,strokeDashoffset:m,transform:`rotate(90 ${r/2} ${r/2})`,style:{transition:`stroke-dashoffset ${i}ms cubic-bezier(0.4, 0, 0.2, 1)`,stroke:a}})]}),s]})};var hi=(t=>(t[t.ONE=1]="ONE",t[t.TWO=2]="TWO",t[t.THREE=3]="THREE",t))(hi||{});const rQ=[{id:1,visible:!0,states:{selectedAgreement:null,headers:null,lineItem:null},version:void 0,additionalVersions:[],isLoading:!1},{id:2,visible:!1,states:{selectedAgreement:null,headers:null,lineItem:null},version:void 0,additionalVersions:[],isLoading:!1},{id:3,visible:!1,states:{selectedAgreement:null,headers:null,lineItem:null},version:void 0,additionalVersions:[],isLoading:!1}];var iv=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function nQ(t,e){return!!(t===e||iv(t)&&iv(e))}function aQ(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!nQ(t[r],e[r]))return!1;return!0}function xA(t,e){e===void 0&&(e=aQ);var r=null;function n(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(r&&r.lastThis===this&&e(a,r.lastArgs))return r.lastResult;var s=t.apply(this,a);return r={lastResult:s,lastArgs:a,lastThis:this},s}return n.clear=function(){r=null},n}const FC=xA(t=>{const e=t.filter(r=>r.visible);return{items:e,ids:e.filter(r=>r.states).map(r=>r.id)}}),UC=xA(t=>t.filter(e=>e.visible).length),iQ=xA((t,e)=>e?t.filter(r=>r.value!==e):t.filter(r=>!r.selected)),sQ=xA((t,e)=>[t.find(r=>r.value===e)]),oQ=xA(t=>{try{return JSON.parse(t)}catch{return[]}}),yA=x.createContext({layoutItems:[],setLayoutItems:()=>null,layout:1,setLayout:()=>null,hideLayoutItem:()=>null,layoutHeader:()=>null,layoutContent:()=>null,returnUrl:void 0}),zC=({children:t,headerTabConfig:e,title:r,layoutItems:n,setLayoutItems:a,layoutHeader:i,layoutContent:s,returnUrl:o,onReturn:l})=>{const c=UC(n),u=p=>{const h=structuredClone(n),m=h.filter(b=>b.visible);m.length!==p&&(m.length<p?a(h.map((b,v)=>{if(b.id<=p&&!b.visible){const g=v===0?1:0,S=structuredClone(h[g]);return{...b,visible:!0,states:S?.states,additionalVersions:S?.additionalVersions,version:S?.version}}return b})):a(h.map(b=>b.id>p?{...b,visible:!1}:b)))},f=x.useCallback(p=>{const h=structuredClone(n),m=h.find(b=>b.id===p);m&&(m.visible=!1,a(h))},[n,a]);return A.jsx(yA.Provider,{value:{hideLayoutItem:f,setLayout:u,layoutItems:n,headerTabConfig:e,layout:c,title:r,setLayoutItems:a,layoutHeader:i,layoutContent:s,returnUrl:o,onReturn:l},children:t})},BC=({fill:t,className:e})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e,children:A.jsx("g",{mask:"url(#mask0_23711_660310)",children:A.jsx("path",{d:"M4.22222 22C3.61111 22 3.08796 21.7824 2.65278 21.3472C2.21759 20.912 2 20.3889 2 19.7778V4.22222C2 3.61111 2.21759 3.08796 2.65278 2.65278C3.08796 2.21759 3.61111 2 4.22222 2H12V4.22222H4.22222V19.7778H12V22H4.22222ZM16.4444 17.5556L14.9167 15.9444L17.75 13.1111H8.66667V10.8889H17.75L14.9167 8.05556L16.4444 6.44444L22 12L16.4444 17.5556Z",fill:t})})}),qC=({fill:t="currentColor",className:e})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"16",viewBox:"0 0 10 16",fill:t,className:e,children:A.jsx("path",{d:"M2 14H0V2H2V14ZM2 14H8V2H2V14ZM2 16C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H8C8.55 0 9.02083 0.195833 9.4125 0.5875C9.80417 0.979167 10 1.45 10 2V14C10 14.55 9.80417 15.0208 9.4125 15.4125C9.02083 15.8042 8.55 16 8 16H2Z",fill:t})}),VC=({fill:t,className:e})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"16",viewBox:"0 0 18 16",fill:"none",className:e,children:A.jsx("path",{d:"M2 14H8V2H2V14ZM10 14H16V2H10V14ZM2 16C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H16C16.55 0 17.0208 0.195833 17.4125 0.5875C17.8042 0.979167 18 1.45 18 2V14C18 14.55 17.8042 15.0208 17.4125 15.4125C17.0208 15.8042 16.55 16 16 16H2Z",fill:t})}),WC=({fill:t,className:e})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",className:e,children:A.jsx("path",{d:"M2 14H6V2H2V14ZM8 14H12V2H8V14ZM14 14H18V2H14V14ZM2 16C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H18C18.55 0 19.0208 0.195833 19.4125 0.5875C19.8042 0.979167 20 1.45 20 2V14C20 14.55 19.8042 15.0208 19.4125 15.4125C19.0208 15.8042 18.55 16 18 16H2Z",fill:t})}),sv=({classValue:t,size:e=24,fill:r="currentColor",...n})=>A.jsx("svg",{className:B(t),width:e,height:e,viewBox:"0 0 20 20",fill:r,xmlns:"http://www.w3.org/2000/svg",...n,children:A.jsx("path",{d:"M10.0002 11.1666L5.91683 15.2499C5.76405 15.4027 5.56961 15.4791 5.3335 15.4791C5.09739 15.4791 4.90294 15.4027 4.75016 15.2499C4.59738 15.0971 4.521 14.9027 4.521 14.6666C4.521 14.4305 4.59738 14.236 4.75016 14.0833L8.8335 9.99992L4.75016 5.91659C4.59738 5.76381 4.521 5.56936 4.521 5.33325C4.521 5.09714 4.59738 4.9027 4.75016 4.74992C4.90294 4.59714 5.09739 4.52075 5.3335 4.52075C5.56961 4.52075 5.76405 4.59714 5.91683 4.74992L10.0002 8.83325L14.0835 4.74992C14.2363 4.59714 14.4307 4.52075 14.6668 4.52075C14.9029 4.52075 15.0974 4.59714 15.2502 4.74992C15.4029 4.9027 15.4793 5.09714 15.4793 5.33325C15.4793 5.56936 15.4029 5.76381 15.2502 5.91659L11.1668 9.99992L15.2502 14.0833C15.4029 14.236 15.4793 14.4305 15.4793 14.6666C15.4793 14.9027 15.4029 15.0971 15.2502 15.2499C15.0974 15.4027 14.9029 15.4791 14.6668 15.4791C14.4307 15.4791 14.2363 15.4027 14.0835 15.2499L10.0002 11.1666Z"})}),AQ=({width:t="15",height:e="15",fill:r="#98A2B3",className:n})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:e,viewBox:"0 0 20 20",fill:"none",className:n,children:A.jsx("path",{d:"M17.5 17.5L12.5001 12.5M14.1667 8.33333C14.1667 11.555 11.555 14.1667 8.33333 14.1667C5.11167 14.1667 2.5 11.555 2.5 8.33333C2.5 5.11167 5.11167 2.5 8.33333 2.5C11.555 2.5 14.1667 5.11167 14.1667 8.33333Z",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),XC=x.forwardRef(({listeners:t},e)=>A.jsx("div",{className:"flex items-center justify-center",children:A.jsx("button",{id:"btn-comparison-gird-item-outline-drag-indicator",ref:e,...t,className:"hover:transform hover:scale-125 transition-transform duration-200 ease-in-out cursor-grab",children:A.jsx(qn.MdOutlineDragIndicator,{size:24,color:"#98A2B3"})})}));XC.displayName="GridItemHandle";const lQ=x.memo(XC),QC=()=>{const{t}=Kt.useTranslation();return A.jsxs("div",{className:"flex flex-col items-center text-center",children:[A.jsx("span",{className:"text-[#98A2B3] bg-[#F2F4F7] h-[48px] w-[48px] flex items-center justify-center rounded-lg",children:A.jsx(AQ,{})}),A.jsx("p",{className:"font-semibold mt-2 text-neutral-900 dark:text-white",children:t("No additional versions available")}),A.jsx("p",{className:"text-sm text-[#98A2B3]",children:t("There are no additional versions available for comparison")})]})},cQ=({item:t})=>{const{hideLayoutItem:e,layout:r,layoutHeader:n,layoutContent:a}=x.useContext(yA),{t:i}=Kt.useTranslation(),{isDragging:s,attributes:o,listeners:l,setNodeRef:c,transform:u,transition:f,isOver:p,setActivatorNodeRef:h,over:m,active:b}=hn.useSortable({id:t.id}),v={transform:ab.CSS.Transform.toString(u),transition:f||void 0,opacity:s?"0.5":"1",cursor:s?"grabbing":"grab"},g=()=>!b||!m?!1:b.data.current?.type!==m.data.current?.type&&p;return A.jsx(A.Fragment,{children:A.jsx("div",{ref:c,style:v,...o,className:B("group relative rounded-lg !cursor-[initial] flex-1",g()?"shadow-dnd-drop":"","aria-[pressed=true]:z-40"),children:A.jsx("div",{className:"bg-white dark:bg-black-700 h-full border-r border-r-[#EAECF0]",children:t.states?A.jsxs("div",{className:"h-full flex flex-col @container",children:[A.jsxs("div",{className:"p-4 flex items-center justify-between border-b border-b-[#EAECF0] min-h-[78px] relative",children:[t.isLoading?A.jsx("div",{className:"absolute left-0 top-0 h-full w-full z-10 bg-[#ffffff82]"}):null,A.jsx("div",{className:"flex items-center gap-2",children:A.jsxs(A.Fragment,{children:[A.jsx(Me,{title:i("Drag column"),children:A.jsx("div",{children:A.jsx(lQ,{ref:h,listeners:l})})}),n(t.id)]})}),r!==hi.ONE?A.jsx("div",{children:A.jsx(sv,{fill:"#98A2B3",classValue:"cursor-pointer",onClick:()=>e(t.id)})}):null]}),a(t.id)]}):A.jsxs("div",{className:"h-full flex flex-col",children:[A.jsx("div",{className:"p-4 flex items-center justify-end h-[78px]",children:r!==hi.ONE?A.jsx(sv,{fill:"#98A2B3",classValue:"cursor-pointer",onClick:()=>e(t.id)}):null}),A.jsx("div",{className:"p-4 flex-1 flex items-center justify-center h-full",children:A.jsx(QC,{})})]})})})})},uQ=x.memo(cQ),dQ=()=>{const{layoutItems:t,setLayoutItems:e}=x.useContext(yA),{ids:r,items:n}=FC(t),a=at.useSensors(at.useSensor(at.PointerSensor),at.useSensor(at.KeyboardSensor,{coordinateGetter:hn.sortableKeyboardCoordinates})),i=()=>{},s=async o=>{const{active:l,over:c}=o;if(!c)return;e(f=>{const p=f.findIndex(m=>m.id===l.id),h=f.findIndex(m=>m.id===c.id);return p>-1&&h>-1?hn.arrayMove(f,p,h):f})};return A.jsx("div",{className:"bg-white dark:bg-black-700 flex-1",children:A.jsx(at.DndContext,{collisionDetection:at.pointerWithin,sensors:a,onDragEnd:s,onDragStart:i,children:A.jsx(hn.SortableContext,{items:r,children:A.jsx("div",{className:B("flex h-full flex-col md:flex-row"),children:n.map(o=>A.jsx(uQ,{item:o},o.id))})})})})},fQ=x.memo(dQ),pQ=[{icon:A.jsx(qC,{className:"text-black-900 dark:text-white"}),key:hi.ONE,tooltip:"One column"},{icon:A.jsx(VC,{className:"text-black-900 dark:text-white"}),key:hi.TWO,tooltip:"Two column"},{icon:A.jsx(WC,{className:"text-black-900 dark:text-white"}),key:hi.THREE,tooltip:"Three column"}],hQ=({onNavigateBack:t,tabsComponent:e})=>{const{setLayout:r,title:n,layout:a,returnUrl:i,onReturn:s,headerTabConfig:o}=x.useContext(yA),{t:l}=Kt.useTranslation(),c=()=>{s?s():i&&t&&t(i?.toString()||"/home")};return A.jsxs("div",{className:"flex flex-wrap items-center justify-between p-4 border-y border-y-[#EAECF0] bg-[#F9FAFB] dark:bg-black-800 gap-2 flex-col sm:flex-row",children:[A.jsx("p",{className:"text-lg font-inter font-bold text-neutral-900 dark:text-white",children:n}),e&&A.jsx("div",{className:"flex justify-center",children:A.jsx(e,{variant:"secondary",tabs:o?.tabs||[],...o?.tabState,tabKey:o?.tabKey||"",size:"md",draggable:!1,showAllItems:!0})}),A.jsxs("div",{className:"flex gap-5 items-center",children:[A.jsx("div",{className:"bg-neutral-100 dark:bg-black-700 rounded-lg p-1 flex items-center",children:pQ.map(({icon:u,key:f,tooltip:p})=>A.jsx(Me,{title:p?l(p):"",children:A.jsx("div",{className:B(a===f?"bg-white dark:bg-black-500":"","cursor-pointer rounded-lg flex items-center justify-center h-[32px] w-[42px]"),onClick:()=>r(f),children:x.cloneElement(u,{fill:"#98A2B3"})})},f))}),s||i?A.jsx(Me,{title:l("Exit"),children:A.jsx("div",{className:"border border-[#FECDCA] rounded-lg cursor-pointer h-[40px] w-[40px] flex items-center justify-center",onClick:c,children:A.jsx(BC,{fill:"#D92D20"})})}):null]})]})},mQ=x.memo(hQ),gQ=t=>{const{headerTabConfig:e,title:r,layoutItems:n,setLayoutItems:a,layoutHeader:i,layoutContent:s,returnUrl:o,onReturn:l,onNavigateBack:c,tabsComponent:u}=t;return A.jsx(zC,{headerTabConfig:e,title:r,layoutItems:n,setLayoutItems:a,layoutHeader:i,layoutContent:s,returnUrl:o,onReturn:l,children:A.jsxs("div",{className:"h-full flex flex-col",children:[A.jsx(mQ,{onNavigateBack:c,tabsComponent:u}),A.jsx(fQ,{})]})})},bQ=()=>document.documentElement.classList.contains("dark"),xQ=`
|
|
245
|
+
`,wV=({lineHeight:t="30px",gap:e=10})=>{const r=x.useMemo(()=>({direction:"row",repeatCount:1,withOpacity:!0,children:[{gridGap:e,skeletons:[{w:"100%",h:t,r:"2px",margin:[0,0,0]},{w:"70%",h:t,r:"2px",margin:[0,0,0]}]}]}),[]);return A.jsx(kV,{children:A.jsx(gr,{grid:r})})},TV=x.memo(wV),CV=()=>{const t=x.useMemo(()=>({direction:"row",repeatCount:3,withOpacity:!0,gridGap:2,children:[{h:"auto",skeletons:[{w:"100%",h:"100",direction:"row",margin:[0],children:[{skeletons:[{w:"10%",h:"20px",r:"6px"},{w:"70%",h:"15px",r:"6px"},{w:"70%",h:"15px",r:"6px"},{w:"70%",h:"15px",r:"6px"}]}]}]}]}),[]);return A.jsx(gr,{grid:t})},OV=x.memo(CV),_V=()=>{const t=x.useMemo(()=>({direction:"column",repeatCount:1,withOpacity:!0,gridGap:0,children:[{h:"auto",className:"bg-white rounded-lg",skeletons:[{w:"100%",h:"auto",className:"p-2",direction:"row",alignItems:"center",justifyContent:"space-between",children:[{w:"auto",direction:"row",alignItems:"center",children:[{skeletons:[{w:"20px",h:"20px",r:"4px"}]},{skeletons:[{w:"200px",h:"20px",r:"4px"}]}]},{w:"auto",direction:"row",alignItems:"center",children:[{skeletons:[{w:"80px",h:"36px",r:"6px"}]},{skeletons:[{w:"70px",h:"36px",r:"6px"}]},{skeletons:[{w:"70px",h:"36px",r:"6px"}]},{skeletons:[{w:"80px",h:"36px",r:"6px"}]}]}]},{w:"100%",h:"1px",className:"bg-neutral-200",skeletons:[]},{w:"100%",h:"calc(100vh - 200px)",direction:"row",children:[{w:"25%",h:"100%",className:"bg-neutral-50 p-2 border-r border-neutral-200",direction:"column",alignItems:"flex-start",justifyContent:"flex-start",children:[{skeletons:[{w:"80px",h:"14px",r:"4px"}]},{w:"100%",h:"auto",direction:"column",children:[{w:"100%",direction:"row",children:[{w:"50%",className:"bg-neutral-100 rounded-lg p-2",direction:"column",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{skeletons:[{w:"60px",h:"12px",r:"4px"}]}]},{w:"50%",className:"bg-neutral-100 rounded-lg p-2",direction:"column",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{skeletons:[{w:"70px",h:"12px",r:"4px"}]}]}]},{w:"100%",direction:"column",children:[{skeletons:[{w:"80px",h:"14px",r:"4px"}]},{skeletons:[{w:"100%",h:"40px",r:"4px"}]}]}]}]},{w:"75%",h:"auto",direction:"column",children:[{w:"100%",h:"auto",className:"p-2 border-b border-neutral-200",children:[{skeletons:[{w:"200px",h:"36px",r:"18px"}]}]},{w:"100%",h:"auto",className:"p-2",direction:"column",children:[{w:"100%",className:"border border-neutral-200 rounded-lg",direction:"column",children:[{w:"100%",h:"48px",className:"p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"16px",h:"16px",r:"50%"}]},{skeletons:[{w:"120px",h:"16px",r:"4px"}]}]},{w:"100%",h:"auto",className:"p-3 border-t border-neutral-200",direction:"column",children:[{w:"100%",h:"60px",className:"bg-neutral-50 rounded-lg p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{w:"calc(100% - 36px)",direction:"column",children:[{skeletons:[{w:"100px",h:"14px",r:"4px"}]},{skeletons:[{w:"150px",h:"12px",r:"4px"}]}]}]},{w:"100%",h:"60px",className:"bg-neutral-50 rounded-lg p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{w:"calc(100% - 36px)",direction:"column",children:[{skeletons:[{w:"120px",h:"14px",r:"4px"}]},{skeletons:[{w:"180px",h:"12px",r:"4px"}]}]}]},{w:"100%",h:"60px",className:"bg-neutral-50 rounded-lg p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"24px",h:"24px",r:"4px"}]},{w:"calc(100% - 36px)",direction:"column",children:[{skeletons:[{w:"120px",h:"14px",r:"4px"}]},{skeletons:[{w:"180px",h:"12px",r:"4px"}]}]}]}]}]},{w:"100%",className:"border border-neutral-200 rounded-lg",direction:"column",children:[{w:"100%",h:"48px",className:"p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"16px",h:"16px",r:"50%"}]},{skeletons:[{w:"140px",h:"16px",r:"4px"}]}]}]},{w:"100%",className:"border border-neutral-200 rounded-lg",direction:"column",children:[{w:"100%",h:"48px",className:"p-3",direction:"row",alignItems:"center",children:[{skeletons:[{w:"16px",h:"16px",r:"50%"}]},{skeletons:[{w:"140px",h:"16px",r:"4px"}]}]}]}]}]}]}]}]}),[]);return A.jsx(gr,{grid:t})},NV=()=>{const t=x.useMemo(()=>({direction:"column",repeatCount:5,withOpacity:!0,gridGap:8,children:[{h:"auto",className:"bg-white p-2 rounded-lg",skeletons:[{w:"100%",direction:"row",alignItems:"center",children:[{w:"24px",h:"24px",skeletons:[{w:"24px",h:"24px",r:"6px"}]},{w:"calc(100% - 24px)",direction:"column",children:[{skeletons:[{w:"100%",h:"20px",r:"4px"}]}]}]}]}]}),[]);return A.jsx(gr,{grid:t})},IV=({index:t=0})=>{const e={hidden:{opacity:0,y:50,scale:.95},visible:{opacity:1,y:0,scale:1,transition:{duration:.6,delay:t*.1,ease:[.6,-.05,.01,.99]}}};return A.jsxs(ze.motion.div,{className:"rounded-lg border border-[rgba(234,236,240,0.20)] bg-white/15 shadow-[0_8px_24px_0_rgba(16,24,40,0.04)] mt-5",variants:e,initial:"hidden",animate:"visible",children:[A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"flex items-start gap-3",children:[A.jsx("div",{className:"w-[40px] h-[40px] rounded-md border border-[#EAECF0] bg-white shadow-[0_4px_6px_0_rgba(0,0,0,0.10),0_10px_15px_0_rgba(0,0,0,0.10)] flex items-center justify-center",children:A.jsx("div",{className:"w-[20px] h-[20px] rounded-sm bg-neutral-200 animate-pulse"})}),A.jsxs("div",{children:[A.jsxs("div",{className:"flex items-center gap-1 mb-2",children:[A.jsx("div",{className:"w-20 h-4 bg-white/30 rounded-md animate-pulse"}),A.jsx("div",{className:"w-1 h-1 rounded-full bg-neutral-300"}),A.jsx("div",{className:"w-8 h-3 bg-white/20 rounded-md animate-pulse"})]}),A.jsx("div",{className:"w-16 h-[18px] bg-white/25 rounded-lg animate-pulse"})]})]})}),A.jsx("div",{className:"border-b border-[rgba(234,236,240,0.20)]"}),A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"rounded-lg border border-[#D0D5DD] bg-white shadow-[0_4px_6px_0_rgba(0,0,0,0.10),0_10px_15px_0_rgba(0,0,0,0.10)] px-3 py-1.5 flex items-center gap-2 justify-center",children:[A.jsx("div",{className:"w-4 h-4 bg-neutral-200 rounded-sm animate-pulse"}),A.jsx("div",{className:"w-12 h-4 bg-neutral-200 rounded-md animate-pulse"})]})})]})},DV=({index:t=0,isPagination:e=!1})=>{const r={hidden:{opacity:0,y:50,scale:.95},visible:{opacity:1,y:0,scale:1,transition:{duration:.5,delay:e?t*.05:t*.1,ease:[.6,-.05,.01,.99]}}};return A.jsxs(ze.motion.div,{className:"bg-white dark:bg-[#0A0710] rounded-lg border border-[#EAECF0] dark:border-[#14131B] shadow-[0_8px_24px_0_rgba(16,24,40,0.04)] overflow-hidden",variants:r,initial:"hidden",animate:"visible",children:[A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"flex items-start gap-3",children:[A.jsx("div",{className:"w-[40px] h-[40px] rounded-md border border-[#EAECF0] dark:border-[#14131B] bg-white dark:bg-[#0A0710] flex items-center justify-center",children:A.jsx("div",{className:"w-[30px] h-[30px] rounded-md bg-neutral-200 dark:bg-neutral-700 animate-pulse"})}),A.jsxs("div",{className:"flex items-center justify-between w-full",children:[A.jsxs("div",{className:"flex-1",children:[A.jsxs("div",{className:"flex items-center gap-1 mb-2",children:[A.jsx("div",{className:"w-20 h-4 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"}),A.jsx("div",{className:"w-1 h-1 rounded-full bg-neutral-300 dark:bg-neutral-600"}),A.jsx("div",{className:"w-8 h-3 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"})]}),A.jsx("div",{className:"w-16 h-[18px] bg-neutral-200 dark:bg-neutral-700 rounded-lg animate-pulse"})]}),A.jsx("div",{className:"w-4 h-4 bg-neutral-200 dark:bg-neutral-700 rounded-full animate-pulse"})]})]})}),A.jsx("div",{className:"border-b border-neutral-200 dark:border-[#14131B]"}),A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"space-y-2",children:[A.jsx("div",{className:"w-full h-3.5 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"}),A.jsx("div",{className:"w-4/5 h-3.5 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"}),A.jsx("div",{className:"w-3/5 h-3.5 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"})]})}),A.jsx("div",{className:"border-b border-neutral-200 dark:border-[#14131B]"}),A.jsx("div",{className:"p-3",children:A.jsxs("div",{className:"rounded-lg border border-[#D0D5DD] dark:border-[#24222F] px-3 py-1.5 flex items-center gap-2 justify-center bg-neutral-50 dark:bg-[#0A0710]",children:[A.jsx("div",{className:"w-4 h-4 bg-neutral-200 dark:bg-neutral-700 rounded-sm animate-pulse"}),A.jsx("div",{className:"w-12 h-4 bg-neutral-200 dark:bg-neutral-700 rounded-md animate-pulse"})]})})]})},RV=({rows:t=1})=>{const e=x.useMemo(()=>({direction:"column",repeatCount:t,withOpacity:!0,children:[{h:"auto",skeletons:[{w:"40%",h:"20px",r:"6px",margin:[0,0,12]},{w:"20%",h:"16px",r:"8px",margin:[0,0,12]},{w:"25%",h:"16px",r:"8px",margin:[0,0,20]}]},{h:"auto",direction:"column",children:[{w:"60%",h:"18px",r:"4px",margin:[0,0,10]},{w:"60%",h:"18px",r:"4px",margin:[0,0,10]},{w:"70%",h:"18px",r:"4px",margin:[0,0,10]}]}]}),[t]);return A.jsx(gr,{grid:e})},PV=x.memo(RV),Qo=({LText:t,RText:e,emptyTag:r,text:n="",LeftIcon:a,role:i="",children:s,RightIcon:o,tagName:l="p",className:c="",onClick:u=rb.noop})=>{const{t:f}=Kt.useTranslation(),p=l,h=A.jsxs(x.Fragment,{children:[t&&t,f(n),e&&e]});return p&&!r?A.jsxs(p,{onClick:u,className:B({[c]:c}),role:l==="button"&&"button"||i,children:[a&&A.jsx(a,{}),h,s,o&&A.jsx(o,{})]}):h};Qo.displayName="Text";const ZT=({text:t})=>{const[e,r]=x.useState([]),n=()=>{const a=t.split(/(<um>.*?<\/um>)/);r(a)};return x.useEffect(()=>{n()},[t]),A.jsx(A.Fragment,{children:e.map((a,i)=>a.includes("<um>")?A.jsx("span",{className:"bg-yellow-100 dark:bg-yellow-900 decoration-gray-600",children:a.replace(/<um>|<\/um>/g,"")},i):A.jsx("span",{children:a},i))})};ZT.displayName="TextWithStrike";const $T=({items:t,isDarkMode:e,getLabel:r,getColor:n,getId:a=u=>u?.id??"",moreTagColor:i="gray",useHashColor:s=!1,tooltipPlacement:o="topRight",className:l="w-full",containerWidth:c})=>{const u=x.useCallback(g=>g?g.length*8+20:0,[]),f=x.useCallback(()=>{if(!c||!t?.length)return 0;const g=c,S=u("+ XX more")+10;let E=0,k=0;for(let w=0;w<t.length;w++){const T=t[w],O=u(r(T)),C=8;if(w>0&&k+O+C+S>g)break;if(w===0||k+O+C<=g)k+=O+C,E++;else break}return Math.max(1,E)},[c,t,u,r]),p=x.useMemo(()=>c?f():0,[c,f]),h=x.useMemo(()=>t?.slice(0,p)||[],[t,p]),m=x.useMemo(()=>t?.length>p,[t?.length,p]),b=x.useMemo(()=>t?.length>0&&m?A.jsx("div",{className:"flex flex-col gap-2 p-2 max-h-[300px] overflow-y-auto dark:bg-black-800",children:t?.slice(p,t?.length).map((g,S)=>A.jsx("div",{className:"w-fit cursor-pointer",children:A.jsx(vr,{label:r(g),color:n(g),size:"sm",isHashColor:s},`tooltip-tag-${p+S}`)},`tooltip-${p+S}`))}):null,[t,m,p,r,n,s,e]),v=x.useCallback((g,S)=>g.map((E,k)=>A.jsx(vr,{label:r(E),color:n(E),size:"sm",isHashColor:s},`${S}-${a(E)||k}`)),[a,r,n,s,e]);return A.jsx("div",{className:l,children:m?A.jsx(Xe.Tooltip,{title:b,placement:o,classNames:{root:"dynamic-items-tooltip"},arrow:!1,styles:{root:{zIndex:1050}},color:e?"black":"white",children:A.jsxs("div",{className:"flex gap-2 items-center cursor-pointer",children:[v(h,"display"),A.jsx(vr,{label:`+${t.length-p} more`,color:i,size:"sm",isHashColor:s},"more-items-tag")]})}):A.jsx("div",{className:"flex gap-2 items-center",children:v(h,"no-tooltip")})})};$T.displayName="DynamicItemsCell";const LV=x.memo($T),MV=(t,e,r)=>{if(t==null||t==="")return"";const n=typeof t=="string"?parseFloat(t):t;if(isNaN(n))return String(t);const a=r!==void 0?n.toFixed(r):n;switch(e){case"comma":return Number(a).toLocaleString("en-US",{minimumFractionDigits:r,maximumFractionDigits:r});case"currency":return Number(a).toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:r??2,maximumFractionDigits:r??2});case"percent":return`${Number(a).toLocaleString("en-US",{minimumFractionDigits:r,maximumFractionDigits:r})}%`;default:return String(a)}},JT=({label:t,className:e,disabled:r,onChange:n,value:a,numberFormat:i,precision:s=void 0,id:o,style:l,...c})=>{const[u,f]=x.useState(!1),p=()=>{f(!0)},h=m=>{f(!1),n?.(m.target.value)};return A.jsxs("div",{className:"flex flex-col gap-1",children:[t&&A.jsx(ee,{size:"extra-small",variant:"regular",appearance:"subtitle",children:t}),A.jsx("input",{id:o,type:u?"number":"text",className:B("border border-neutral-200 dark:border-black-600 rounded-md block w-full px-3 py-1.5 h-[32px] font-medium text-sm text-neutral-900 dark:text-black-100","bg-white dark:bg-black-600 disabled:opacity-70 disabled:!bg-neutral-50 dark:disabled:!bg-black-800 dark:disabled:placeholder:!text-black-400","hover:border-primary-500 dark:hover:border-primary-400","focus:outline-none focus:ring-0 focus:border-primary-600 dark:focus:border-primary-400","focus:shadow-[0_0_0_1.5px_var(--color-primary-100)] dark:focus:shadow-[0_0_0_1.5px_var(--color-primary-950)]",e),disabled:r,onChange:({target:m})=>n&&n(m.value),onFocus:p,onBlur:h,value:!u&&i?MV(a,i,s):a,style:{fontStyle:"inherit",...l},autoComplete:"off",...c})]})};JT.displayName="NumberInputField";const eC=({children:t,title:e,toggle:r,isOpen:n,hoveringIndex:a,index:i,viewOnly:s,onTitleClick:o,isChecked:l,onSelect:c,subTitle:u,noSpace:f,isDraggable:p,sortableConfig:h,headerClass:m,icon:b,additionalHeader:v,mainClass:g,id:S,childrenClass:E,...k})=>A.jsxs("div",{id:S,className:`${!f&&"mb-4"} ${n?"pb-1":""} ${g||""}`,style:h?.style,...k,children:[A.jsxs("div",{className:B("flex items-center justify-between cursor-pointer border border-neutral-200 dark:border-none bg-neutral-100 dark:bg-black-600 px-3 py-1 rounded-lg",m),onClick:r,...k,children:[A.jsxs("div",{onClick:w=>o?o(w):null,className:`${p&&"flex"} w-full`,children:[p&&!s&&A.jsx("button",{id:"btn-accordion-outline-drag-indicator",className:"flex items-center justify-center w-icon h-icon hover:transform hover:scale-125 transition-all duration-200 ease-in-out",...h?.attributes,...h?.listeners,children:A.jsx(qn.MdOutlineDragIndicator,{height:"10px",width:"7px",color:"#98A2B3"})}),A.jsxs("div",{className:"flex items-center gap-1 w-full",children:[c&&A.jsx(gT,{isChecked:l,onSelect:w=>{w.stopPropagation(),c()},className:"h-4 w-4 accent-[#366FE3]"}),A.jsxs("div",{className:"flex gap-2 items-center",children:[b,A.jsx(ee,{size:"small",appearance:"body",variant:"medium",className:"whitespace-nowrap",children:e})]}),A.jsx(ee,{size:"extra-small",appearance:"title",variant:"medium",className:"ml-1",children:u}),v,A.jsx("span",{children:a===i&&!s&&A.jsx(ur,{variant:"ghost",children:A.jsx(qn.MdEdit,{size:16,className:"ml-[8px]"})})})]})]}),A.jsx(be.ChevronLeft,{sx:{fontSize:18},className:B("text-neutral-600 dark:text-neutral-400",n?"rotate-90":"-rotate-90")})]}),n?A.jsx(ze.motion.div,{className:` ${!f&&"p-4"} ${E}`,children:t}):null]});eC.displayName="Accordion";const tC=({steps:t,currentStep:e,appearance:r="linear",labelPosition:n="inline",onClick:a,className:i,showIndex:s=!0,disableOneMore:o=!1,isMainSideBarOpen:l=!1,isAuthoringOpen:c=!1})=>{const u=x.useRef(null),[f,p]=x.useState(0),[h,m]=x.useState(0),[b,v]=x.useState(0),[g,S]=x.useState(""),[E,k]=x.useState(""),w=()=>n==="top"||n==="top-right"?"flex-col":n==="bottom"||n==="bottom-right"?"flex-col-reverse":r==="linear"?"flex-row":"flex-col",T=()=>{setTimeout(()=>{p(0);const C=210,_=225;let I=0,N=0;for(let R=0;R<t.length&&(u?.current?.clientWidth&&u?.current?.clientWidth>I+_+C);R++)I+=_,N=R+1;p(N),u?.current?.clientWidth&&u?.current?.clientWidth<480&&p(t?.length)},300)};x.useEffect(()=>{T()},[l,t,e]),x.useEffect(()=>{setTimeout(()=>{T()},300)},[c]),x.useEffect(()=>{if(f>0)if(f>e){let C=t?.slice(f,t?.length)?.map(I=>I?.label)?.join(", "),_=f;o&&_===t.length-1&&(_=t.length,C=""),m(0),v(_),k(C)}else{const C=Math.floor((f+1)/2),_=e+C-t?.length;let I=e+C,N=e-Math.max(f-C,0)-(_>0?_:0),R=t?.slice(0,N)?.map(P=>P?.label)?.join(", "),D=t?.slice(I,t?.length)?.map(P=>P?.label)?.join(", ");o&&N===1&&(N=0,R=""),o&&I===t.length-1&&(I=t.length,D=""),m(N),v(I),S(R),k(D)}},[f,c,l,t,e]),gb("resize",T);const O=(C,_,I=!1)=>A.jsx("div",{onClick:()=>a?.(_),className:`flex ${_<t.length-1||r=="parallel"?"flex flex-grow":""} min-w-[200px] ${a?"cursor-pointer":""}`,children:A.jsxs("div",{className:"w-full flex flex-col",children:[A.jsxs("div",{className:`flex ${w()} ${n==="inline"&&r==="linear"?"items-center":""}`,children:[A.jsxs("div",{className:`${n==="inline"?"max-w-[70%]":"w-full"} flex flex-col`,children:[A.jsx("div",{className:`flex ${n==="top-right"||n==="bottom-right"?"justify-end":""}`,children:A.jsx(Me,{title:C?.tooltipText,children:A.jsxs(ee,{size:"small",variant:"medium",className:`truncate flex items-center ${_<=e?"text-primary-600 dark:text-primary-300":"text-neutral-400 dark:text-neutral-100"}`,appearance:"custom",children:[s?A.jsx("div",{className:`${r==="parallel"?"flex items-center":`w-6 min-w-[24px] h-6 ${_<=e?"bg-primary-600":"bg-neutral-400 dark:bg-black-400"} rounded-full flex items-center justify-center text-white`}`,children:C?.isLocked?A.jsx("div",{className:"flex items-center justify-center",children:A.jsx(be.Lock,{sx:{fontSize:16}})}):A.jsx(A.Fragment,{children:e>_&&r==="linear"?A.jsx(NN.AiOutlineCheck,{className:"w-4 h-4"}):A.jsx(ee,{size:`${r==="parallel"?"small":"extra-small"}`,variant:"medium",className:"text-neutral-100",appearance:"custom",children:_+1})})}):null,A.jsx("div",{className:`truncate ${n==="inline"?"mx-2":"ml-2"} ${_<=e?"":"dark:text-black-200"}`,children:C?.label})]})})}),n!=="inline"||r==="parallel"?A.jsx("div",{className:`flex ${n==="top-right"||n==="bottom-right"?"justify-end":r==="linear"?"ml-8":""}`,children:A.jsx(ee,{size:"extra-small",variant:"medium",className:`truncate ${_===e?"text-neutral-900 dark:text-white":"text-neutral-400 dark:text-neutral-600"}`,appearance:"custom",children:C?.description||""})}):null]}),_<t.length-(r==="linear"&&n==="inline"?1:0)&&!I?A.jsx("div",{className:`w-full flex-grow h-0.5 min-w-[70px] ${n!=="inline"||r==="parallel"?"my-2":""} ${_<=e-(r==="linear"&&n==="inline"?1:0)?"bg-primary-600":"bg-neutral-300"}`}):null]}),n==="inline"&&r==="linear"?A.jsx(ee,{size:"extra-small",variant:"medium",className:`ml-8 truncate ${_===e?"text-neutral-900 dark:text-white":"text-neutral-400 dark:text-neutral-600"}`,appearance:"custom",children:C?.description||""}):null]})},_);return A.jsxs("div",{className:`w-full flex ${i}`,ref:u,children:[h>0?A.jsxs("div",{className:`flex ${r==="parallel"?"flex-col":""}`,children:[a?A.jsx(Xe.Dropdown,{menu:{items:t.slice(0,h).map((C,_)=>({label:A.jsx("div",{className:"px-2 py-1",children:O(C,_,!0)}),key:_}))},trigger:["click"],children:A.jsx(ee,{size:"small",variant:"medium",className:`px-2 ${t.length-f>0?"cursor-pointer":"cursor-not-allowed"}`,appearance:"subtitle",children:A.jsx(Me,{title:g,children:A.jsxs("div",{className:"min-w-max",children:[h," More..."]})})})}):A.jsx(ee,{size:"small",variant:"medium",className:`px-2 ${t.length-f>0?"cursor-pointer":"cursor-not-allowed"}`,appearance:"subtitle",children:A.jsx(Me,{title:g,children:A.jsxs("div",{className:"min-w-max",children:[h," More..."]})})}),A.jsx("div",{className:`h-0.5 min-w-[40px] px-2 mr-2 bg-primary-600 ${r==="parallel"?"mt-2":"mt-[11px]"}`})]}):null,A.jsx("div",{className:"w-full flex flex-wrap gap-3 ",children:t?.map((C,_)=>h<=_&&_<b?O(C,_):null)}),t.length-b>0?A.jsxs("div",{className:"flex flex-col",children:[a?A.jsx(Xe.Dropdown,{menu:{items:t.slice(b,t?.length).map((C,_)=>({label:A.jsx("div",{className:"px-2 py-1",children:O(C,_+b,!0)}),key:_}))},trigger:["click"],children:A.jsx(ee,{size:"small",variant:"medium",className:`px-2 ${t.length-b>0?"cursor-pointer":"cursor-not-allowed"}`,appearance:"subtitle",children:A.jsx(Me,{title:E,children:A.jsxs("div",{className:"min-w-max",children:[t.length-b," More..."]})})})}):A.jsx(ee,{size:"small",variant:"medium",className:`px-2 ${t.length-b>0?"cursor-pointer":"cursor-not-allowed"}`,appearance:"subtitle",children:A.jsx(Me,{title:E,children:A.jsxs("div",{className:"min-w-max",children:[t.length-b," More..."]})})}),A.jsx("div",{className:`h-0.5 min-w-[40px] px-2 ml-2 bg-neutral-300 ${r==="parallel"?"mt-2":"hidden"}`})]}):null]})};tC.displayName="Stepper";const rC=({children:t,onCancel:e,onOk:r,async:n,title:a,content:i,footer:s,width:o=500,isVisibleOutside:l=!1,ableToConfirmByChildren:c=!0,parentContainer:u})=>{const[f,p]=x.useState(!1),[h,m]=x.useState(!1),b=({closeByIcon:g})=>{p(!1),e?.(g)},v=()=>{n?(m(!0),n(({error:g})=>{g?m(!1):(m(!1),r(),p(!1))})):(r(),p(!1))};return x.useEffect(()=>{t||p(l)},[l,t]),A.jsxs(A.Fragment,{children:[A.jsx(cn,{asForm:!0,width:o,title:A.jsx("h1",{children:a}),parentContainer:u,open:f,onCancel:()=>b({closeByIcon:!0}),footer:[A.jsxs("div",{className:B("flex gap-2",s?.justify||"justify-end"),children:[A.jsx(Tt,{id:"btn-confirm-popup-close",appearance:"outline",status:s?.cancelBtnType||"secondary-neutral",onClick:()=>b({closeByIcon:!1}),className:"mt-10",children:s?.cancelText||"Cancel"}),A.jsxs(Tt,{id:`btn-confirm-popup-${s?.okText||"Ok"}`,disabled:h,status:s?.okBtnType||"primary",onClick:v,className:"mt-10",type:"submit",children:[h?A.jsx(Da.CgSpinner,{className:"spinner inline mr-2 mb-0.5"}):null,s?.okText||"Ok"]})]},"")],children:A.jsx("div",{className:"mt-5 mb-8",children:A.jsx("h1",{className:"text-neutral-400 font-inter text-base",children:i})})}),t?c?x.cloneElement(t,{onClick:()=>c&&p(!0)}):t:null]})};rC.displayName="ConfirmPopUp";const nC=x.memo(rC),aC=({title:t,to:e,hasUserPermissions:r=!0,viewMoreText:n="View More",LinkComponent:a})=>{const i=()=>{window.scrollTo(0,0)},s=u=>{u.stopPropagation()},o=()=>{i()},l=u=>{u.stopPropagation()},c="text-primary-600 font-semibold font-inter text-sm cursor-pointer hover:text-primary-700";return A.jsxs("div",{className:"flex items-center justify-between mb-4",children:[A.jsx(ee,{variant:"semibold",size:"medium",appearance:"body",children:t}),r&&e?a?A.jsx(a,{to:e,className:c,onClick:o,onMouseDown:s,onTouchStart:l,children:A.jsx(Qo,{emptyTag:!0,text:n})}):A.jsx("a",{href:e,className:c,onClick:o,onMouseDown:s,onTouchStart:l,children:A.jsx(Qo,{emptyTag:!0,text:n})}):null]})};aC.displayName="CardHeaderView";const iC=({title:t,children:e,noPadding:r,className:n,noBanner:a,noScrollbar:i,mode:s,displayId:o})=>{const l=s===Pa.EDIT||s===Pa.FOCUS_EDIT?"edit":s===Pa.COMPARISON?"compare":null,c=x.useMemo(()=>l==="edit"&&o&&!a||l==="compare",[l,o,a]);return d2(),A.jsxs(A.Fragment,{children:[A.jsx(Ss,{title:t}),A.jsxs("div",{style:{marginLeft:"var(--sidebar-ml, 0px)"},className:B(" relative h-[calc(100vh-56px)] overflow-y-auto flex flex-col bg-primary-800 dark:bg-black-800",`ease-in-out duration-${f2}`,n),children:[l==="edit"&&o&&!a?A.jsx(To,{status:"warning",children:`You're currently editing ${o||""}`}):l==="compare"?A.jsx(To,{status:"success",children:"You are now in Comparison Mode"}):null,A.jsx("div",{className:B(`flex-1 overflow-y-auto overflow-x-hidden bg-gray-50 dark:bg-black-700 ${i?"hide-scrollbar":""}`,r?"p-0":"p-base",c?"rounded-tl-none":"!rounded-tl-xl"),id:"app-body-container",children:e})]})]})};iC.displayName="CardMain";const sC=({tabs:t,content:e,title:r,noPadding:n=!1,drawerConfig:a,noBorderTopContent:i=!1,noBorder:s,className:o})=>A.jsxs(A.Fragment,{children:[A.jsx(Ss,{title:r}),A.jsxs(xb,{className:`${!n&&"p-4"} relative ${o||""}`,children:[t&&A.jsxs(A.Fragment,{children:[A.jsx("div",{className:"mb-4",children:t}),!s&&A.jsx("div",{className:`${!i&&"mb-4"}`,children:A.jsx("hr",{className:"w-full bg-neutral-200 dark:bg-black-800"})})]}),A.jsx("div",{className:"flex flex-col flex-1",children:e}),a&&A.jsx("div",{id:"tab-content-drawer-parent",children:A.jsx(zc,{title:A.jsxs("div",{className:"flex items-center gap-2 justify-between",children:[a.header," ",A.jsx(be.Close,{sx:{fontSize:18},onClick:()=>a?.onClose(),className:"text-neutral-900 dark:text-neutral-100 cursor-pointer"})]}),width:400,getContainer:!1,open:a.open,onClose:()=>a?.onClose(),closable:!1,mask:!1,classNames:{content:"rounded-br-xl !p-0",body:"!p-0"},placement:"right",styles:{body:{padding:0,backgroundColor:"rgb(249 250 251)"}},parentContainer:"tab-content-drawer-parent",children:a.content})})]})]});sC.displayName="TabContent";const oC=({onDragEnd:t,onDragStart:e,onDragOver:r,children:n})=>{const a=at.useSensors(at.useSensor(at.MouseSensor,{activationConstraint:{distance:5}}),at.useSensor(at.TouchSensor,{activationConstraint:{delay:300,tolerance:5}}));return A.jsx(at.DndContext,{onDragEnd:t,sensors:a,collisionDetection:at.rectIntersection,onDragStart:e,onDragOver:r,children:n})};oC.displayName="DraggableContainer";const AC=({children:t,containerId:e="full-screen-container"})=>{const r={...at.defaultDropAnimation,duration:50},n=typeof document<"u"?document.getElementById(e)||document.body:null;return n?yn.createPortal(A.jsx(at.DragOverlay,{adjustScale:!1,dropAnimation:r,className:"relative flex flex-col w-full justify-center items-center",children:t}),n):null};AC.displayName="DragOverlay";const HV=56,jV=500,Xy=240,Qy=60,lC=({children:t,isFullScreen:e=!1,className:r="",defaultSize:n="25%",height:a,isMainSideBarOpen:i=!1})=>{const s=e?`calc(100% - ${i?Xy:Qy}px)`:n;return A.jsx("div",{className:B("bg-white dark:bg-black-800 flex-shrink-0 transition-all ease-in-out",`duration-${jV}`,r),style:{width:s,height:a||`calc(100vh - ${HV}px)`,left:e?`${i?Xy:Qy}px`:void 0},children:t})};lC.displayName="Sidebar";const FV=x.memo(lC);var jr="top",An="bottom",ln="right",Fr="left",y2="auto",gA=[jr,An,ln,Fr],ds="start",Go="end",UV="clippingParents",cC="viewport",qs="popper",zV="reference",Gy=gA.reduce(function(t,e){return t.concat([e+"-"+ds,e+"-"+Go])},[]),uC=[].concat(gA,[y2]).reduce(function(t,e){return t.concat([e,e+"-"+ds,e+"-"+Go])},[]),BV="beforeRead",qV="read",VV="afterRead",WV="beforeMain",XV="main",QV="afterMain",GV="beforeWrite",YV="write",KV="afterWrite",ZV=[BV,qV,VV,WV,XV,QV,GV,YV,KV];function Yn(t){return t?(t.nodeName||"").toLowerCase():null}function Yr(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Si(t){var e=Yr(t).Element;return t instanceof e||t instanceof Element}function sn(t){var e=Yr(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function v2(t){if(typeof ShadowRoot>"u")return!1;var e=Yr(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function $V(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var n=e.styles[r]||{},a=e.attributes[r]||{},i=e.elements[r];!sn(i)||!Yn(i)||(Object.assign(i.style,n),Object.keys(a).forEach(function(s){var o=a[s];o===!1?i.removeAttribute(s):i.setAttribute(s,o===!0?"":o)}))})}function JV(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(n){var a=e.elements[n],i=e.attributes[n]||{},s=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:r[n]),o=s.reduce(function(l,c){return l[c]="",l},{});!sn(a)||!Yn(a)||(Object.assign(a.style,o),Object.keys(i).forEach(function(l){a.removeAttribute(l)}))})}}const eW={name:"applyStyles",enabled:!0,phase:"write",fn:$V,effect:JV,requires:["computeStyles"]};function Wn(t){return t.split("-")[0]}var pi=Math.max,yc=Math.min,fs=Math.round;function jg(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function dC(){return!/^((?!chrome|android).)*safari/i.test(jg())}function ps(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var n=t.getBoundingClientRect(),a=1,i=1;e&&sn(t)&&(a=t.offsetWidth>0&&fs(n.width)/t.offsetWidth||1,i=t.offsetHeight>0&&fs(n.height)/t.offsetHeight||1);var s=Si(t)?Yr(t):window,o=s.visualViewport,l=!dC()&&r,c=(n.left+(l&&o?o.offsetLeft:0))/a,u=(n.top+(l&&o?o.offsetTop:0))/i,f=n.width/a,p=n.height/i;return{width:f,height:p,top:u,right:c+f,bottom:u+p,left:c,x:c,y:u}}function S2(t){var e=ps(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function fC(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&v2(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ba(t){return Yr(t).getComputedStyle(t)}function tW(t){return["table","td","th"].indexOf(Yn(t))>=0}function Ya(t){return((Si(t)?t.ownerDocument:t.document)||window.document).documentElement}function lu(t){return Yn(t)==="html"?t:t.assignedSlot||t.parentNode||(v2(t)?t.host:null)||Ya(t)}function Yy(t){return!sn(t)||ba(t).position==="fixed"?null:t.offsetParent}function rW(t){var e=/firefox/i.test(jg()),r=/Trident/i.test(jg());if(r&&sn(t)){var n=ba(t);if(n.position==="fixed")return null}var a=lu(t);for(v2(a)&&(a=a.host);sn(a)&&["html","body"].indexOf(Yn(a))<0;){var i=ba(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function bA(t){for(var e=Yr(t),r=Yy(t);r&&tW(r)&&ba(r).position==="static";)r=Yy(r);return r&&(Yn(r)==="html"||Yn(r)==="body"&&ba(r).position==="static")?e:r||rW(t)||e}function E2(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function uo(t,e,r){return pi(t,yc(e,r))}function nW(t,e,r){var n=uo(t,e,r);return n>r?r:n}function pC(){return{top:0,right:0,bottom:0,left:0}}function hC(t){return Object.assign({},pC(),t)}function mC(t,e){return e.reduce(function(r,n){return r[n]=t,r},{})}var aW=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,hC(typeof e!="number"?e:mC(e,gA))};function iW(t){var e,r=t.state,n=t.name,a=t.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,o=Wn(r.placement),l=E2(o),c=[Fr,ln].indexOf(o)>=0,u=c?"height":"width";if(!(!i||!s)){var f=aW(a.padding,r),p=S2(i),h=l==="y"?jr:Fr,m=l==="y"?An:ln,b=r.rects.reference[u]+r.rects.reference[l]-s[l]-r.rects.popper[u],v=s[l]-r.rects.reference[l],g=bA(i),S=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,E=b/2-v/2,k=f[h],w=S-p[u]-f[m],T=S/2-p[u]/2+E,O=uo(k,T,w),C=l;r.modifiersData[n]=(e={},e[C]=O,e.centerOffset=O-T,e)}}function sW(t){var e=t.state,r=t.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=e.elements.popper.querySelector(a),!a)||fC(e.elements.popper,a)&&(e.elements.arrow=a))}const oW={name:"arrow",enabled:!0,phase:"main",fn:iW,effect:sW,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hs(t){return t.split("-")[1]}var AW={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lW(t,e){var r=t.x,n=t.y,a=e.devicePixelRatio||1;return{x:fs(r*a)/a||0,y:fs(n*a)/a||0}}function Ky(t){var e,r=t.popper,n=t.popperRect,a=t.placement,i=t.variation,s=t.offsets,o=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,p=s.x,h=p===void 0?0:p,m=s.y,b=m===void 0?0:m,v=typeof u=="function"?u({x:h,y:b}):{x:h,y:b};h=v.x,b=v.y;var g=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),E=Fr,k=jr,w=window;if(c){var T=bA(r),O="clientHeight",C="clientWidth";if(T===Yr(r)&&(T=Ya(r),ba(T).position!=="static"&&o==="absolute"&&(O="scrollHeight",C="scrollWidth")),T=T,a===jr||(a===Fr||a===ln)&&i===Go){k=An;var _=f&&T===w&&w.visualViewport?w.visualViewport.height:T[O];b-=_-n.height,b*=l?1:-1}if(a===Fr||(a===jr||a===An)&&i===Go){E=ln;var I=f&&T===w&&w.visualViewport?w.visualViewport.width:T[C];h-=I-n.width,h*=l?1:-1}}var N=Object.assign({position:o},c&&AW),R=u===!0?lW({x:h,y:b},Yr(r)):{x:h,y:b};if(h=R.x,b=R.y,l){var D;return Object.assign({},N,(D={},D[k]=S?"0":"",D[E]=g?"0":"",D.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+b+"px)":"translate3d("+h+"px, "+b+"px, 0)",D))}return Object.assign({},N,(e={},e[k]=S?b+"px":"",e[E]=g?h+"px":"",e.transform="",e))}function cW(t){var e=t.state,r=t.options,n=r.gpuAcceleration,a=n===void 0?!0:n,i=r.adaptive,s=i===void 0?!0:i,o=r.roundOffsets,l=o===void 0?!0:o,c={placement:Wn(e.placement),variation:hs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Ky(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ky(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const uW={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cW,data:{}};var ul={passive:!0};function dW(t){var e=t.state,r=t.instance,n=t.options,a=n.scroll,i=a===void 0?!0:a,s=n.resize,o=s===void 0?!0:s,l=Yr(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",r.update,ul)}),o&&l.addEventListener("resize",r.update,ul),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",r.update,ul)}),o&&l.removeEventListener("resize",r.update,ul)}}const fW={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dW,data:{}};var pW={left:"right",right:"left",bottom:"top",top:"bottom"};function Hl(t){return t.replace(/left|right|bottom|top/g,function(e){return pW[e]})}var hW={start:"end",end:"start"};function Zy(t){return t.replace(/start|end/g,function(e){return hW[e]})}function k2(t){var e=Yr(t),r=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function w2(t){return ps(Ya(t)).left+k2(t).scrollLeft}function mW(t,e){var r=Yr(t),n=Ya(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,o=0,l=0;if(a){i=a.width,s=a.height;var c=dC();(c||!c&&e==="fixed")&&(o=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:o+w2(t),y:l}}function gW(t){var e,r=Ya(t),n=k2(t),a=(e=t.ownerDocument)==null?void 0:e.body,i=pi(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=pi(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+w2(t),l=-n.scrollTop;return ba(a||r).direction==="rtl"&&(o+=pi(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:o,y:l}}function T2(t){var e=ba(t),r=e.overflow,n=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function gC(t){return["html","body","#document"].indexOf(Yn(t))>=0?t.ownerDocument.body:sn(t)&&T2(t)?t:gC(lu(t))}function fo(t,e){var r;e===void 0&&(e=[]);var n=gC(t),a=n===((r=t.ownerDocument)==null?void 0:r.body),i=Yr(n),s=a?[i].concat(i.visualViewport||[],T2(n)?n:[]):n,o=e.concat(s);return a?o:o.concat(fo(lu(s)))}function Fg(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function bW(t,e){var r=ps(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function $y(t,e,r){return e===cC?Fg(mW(t,r)):Si(e)?bW(e,r):Fg(gW(Ya(t)))}function xW(t){var e=fo(lu(t)),r=["absolute","fixed"].indexOf(ba(t).position)>=0,n=r&&sn(t)?bA(t):t;return Si(n)?e.filter(function(a){return Si(a)&&fC(a,n)&&Yn(a)!=="body"}):[]}function yW(t,e,r,n){var a=e==="clippingParents"?xW(t):[].concat(e),i=[].concat(a,[r]),s=i[0],o=i.reduce(function(l,c){var u=$y(t,c,n);return l.top=pi(u.top,l.top),l.right=yc(u.right,l.right),l.bottom=yc(u.bottom,l.bottom),l.left=pi(u.left,l.left),l},$y(t,s,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function bC(t){var e=t.reference,r=t.element,n=t.placement,a=n?Wn(n):null,i=n?hs(n):null,s=e.x+e.width/2-r.width/2,o=e.y+e.height/2-r.height/2,l;switch(a){case jr:l={x:s,y:e.y-r.height};break;case An:l={x:s,y:e.y+e.height};break;case ln:l={x:e.x+e.width,y:o};break;case Fr:l={x:e.x-r.width,y:o};break;default:l={x:e.x,y:e.y}}var c=a?E2(a):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case ds:l[c]=l[c]-(e[u]/2-r[u]/2);break;case Go:l[c]=l[c]+(e[u]/2-r[u]/2);break}}return l}function Yo(t,e){e===void 0&&(e={});var r=e,n=r.placement,a=n===void 0?t.placement:n,i=r.strategy,s=i===void 0?t.strategy:i,o=r.boundary,l=o===void 0?UV:o,c=r.rootBoundary,u=c===void 0?cC:c,f=r.elementContext,p=f===void 0?qs:f,h=r.altBoundary,m=h===void 0?!1:h,b=r.padding,v=b===void 0?0:b,g=hC(typeof v!="number"?v:mC(v,gA)),S=p===qs?zV:qs,E=t.rects.popper,k=t.elements[m?S:p],w=yW(Si(k)?k:k.contextElement||Ya(t.elements.popper),l,u,s),T=ps(t.elements.reference),O=bC({reference:T,element:E,placement:a}),C=Fg(Object.assign({},E,O)),_=p===qs?C:T,I={top:w.top-_.top+g.top,bottom:_.bottom-w.bottom+g.bottom,left:w.left-_.left+g.left,right:_.right-w.right+g.right},N=t.modifiersData.offset;if(p===qs&&N){var R=N[a];Object.keys(I).forEach(function(D){var P=[ln,An].indexOf(D)>=0?1:-1,j=[jr,An].indexOf(D)>=0?"y":"x";I[D]+=R[j]*P})}return I}function vW(t,e){e===void 0&&(e={});var r=e,n=r.placement,a=r.boundary,i=r.rootBoundary,s=r.padding,o=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?uC:l,u=hs(n),f=u?o?Gy:Gy.filter(function(m){return hs(m)===u}):gA,p=f.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=f);var h=p.reduce(function(m,b){return m[b]=Yo(t,{placement:b,boundary:a,rootBoundary:i,padding:s})[Wn(b)],m},{});return Object.keys(h).sort(function(m,b){return h[m]-h[b]})}function SW(t){if(Wn(t)===y2)return[];var e=Hl(t);return[Zy(t),e,Zy(e)]}function EW(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,o=s===void 0?!0:s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,f=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,b=r.allowedAutoPlacements,v=e.options.placement,g=Wn(v),S=g===v,E=l||(S||!m?[Hl(v)]:SW(v)),k=[v].concat(E).reduce(function(G,Y){return G.concat(Wn(Y)===y2?vW(e,{placement:Y,boundary:u,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:b}):Y)},[]),w=e.rects.reference,T=e.rects.popper,O=new Map,C=!0,_=k[0],I=0;I<k.length;I++){var N=k[I],R=Wn(N),D=hs(N)===ds,P=[jr,An].indexOf(R)>=0,j=P?"width":"height",z=Yo(e,{placement:N,boundary:u,rootBoundary:f,altBoundary:p,padding:c}),M=P?D?ln:Fr:D?An:jr;w[j]>T[j]&&(M=Hl(M));var L=Hl(M),V=[];if(i&&V.push(z[R]<=0),o&&V.push(z[M]<=0,z[L]<=0),V.every(function(G){return G})){_=N,C=!1;break}O.set(N,V)}if(C)for(var U=m?3:1,q=function(Y){var oe=k.find(function(ie){var te=O.get(ie);if(te)return te.slice(0,Y).every(function(se){return se})});if(oe)return _=oe,"break"},Q=U;Q>0;Q--){var X=q(Q);if(X==="break")break}e.placement!==_&&(e.modifiersData[n]._skip=!0,e.placement=_,e.reset=!0)}}const kW={name:"flip",enabled:!0,phase:"main",fn:EW,requiresIfExists:["offset"],data:{_skip:!1}};function Jy(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function ev(t){return[jr,ln,An,Fr].some(function(e){return t[e]>=0})}function wW(t){var e=t.state,r=t.name,n=e.rects.reference,a=e.rects.popper,i=e.modifiersData.preventOverflow,s=Yo(e,{elementContext:"reference"}),o=Yo(e,{altBoundary:!0}),l=Jy(s,n),c=Jy(o,a,i),u=ev(l),f=ev(c);e.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const TW={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wW};function CW(t,e,r){var n=Wn(t),a=[Fr,jr].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,s=i[0],o=i[1];return s=s||0,o=(o||0)*a,[Fr,ln].indexOf(n)>=0?{x:o,y:s}:{x:s,y:o}}function OW(t){var e=t.state,r=t.options,n=t.name,a=r.offset,i=a===void 0?[0,0]:a,s=uC.reduce(function(u,f){return u[f]=CW(f,e.rects,i),u},{}),o=s[e.placement],l=o.x,c=o.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=s}const _W={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:OW};function NW(t){var e=t.state,r=t.name;e.modifiersData[r]=bC({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})}const IW={name:"popperOffsets",enabled:!0,phase:"read",fn:NW,data:{}};function DW(t){return t==="x"?"y":"x"}function RW(t){var e=t.state,r=t.options,n=t.name,a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,o=s===void 0?!1:s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,f=r.padding,p=r.tether,h=p===void 0?!0:p,m=r.tetherOffset,b=m===void 0?0:m,v=Yo(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),g=Wn(e.placement),S=hs(e.placement),E=!S,k=E2(g),w=DW(k),T=e.modifiersData.popperOffsets,O=e.rects.reference,C=e.rects.popper,_=typeof b=="function"?b(Object.assign({},e.rects,{placement:e.placement})):b,I=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),N=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,R={x:0,y:0};if(T){if(i){var D,P=k==="y"?jr:Fr,j=k==="y"?An:ln,z=k==="y"?"height":"width",M=T[k],L=M+v[P],V=M-v[j],U=h?-C[z]/2:0,q=S===ds?O[z]:C[z],Q=S===ds?-C[z]:-O[z],X=e.elements.arrow,G=h&&X?S2(X):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:pC(),oe=Y[P],ie=Y[j],te=uo(0,O[z],G[z]),se=E?O[z]/2-U-te-oe-I.mainAxis:q-te-oe-I.mainAxis,me=E?-O[z]/2+U+te+ie+I.mainAxis:Q+te+ie+I.mainAxis,fe=e.elements.arrow&&bA(e.elements.arrow),ce=fe?k==="y"?fe.clientTop||0:fe.clientLeft||0:0,ue=(D=N?.[k])!=null?D:0,K=M+se-ue-ce,re=M+me-ue,Ae=uo(h?yc(L,K):L,M,h?pi(V,re):V);T[k]=Ae,R[k]=Ae-M}if(o){var Ee,Ie=k==="x"?jr:Fr,Qe=k==="x"?An:ln,qe=T[w],rt=w==="y"?"height":"width",Be=qe+v[Ie],de=qe-v[Qe],ae=[jr,Fr].indexOf(g)!==-1,pe=(Ee=N?.[w])!=null?Ee:0,xe=ae?Be:qe-O[rt]-C[rt]-pe+I.altAxis,Ne=ae?qe+O[rt]+C[rt]-pe-I.altAxis:de,Ge=h&&ae?nW(xe,qe,Ne):uo(h?xe:Be,qe,h?Ne:de);T[w]=Ge,R[w]=Ge-qe}e.modifiersData[n]=R}}const PW={name:"preventOverflow",enabled:!0,phase:"main",fn:RW,requiresIfExists:["offset"]};function LW(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function MW(t){return t===Yr(t)||!sn(t)?k2(t):LW(t)}function HW(t){var e=t.getBoundingClientRect(),r=fs(e.width)/t.offsetWidth||1,n=fs(e.height)/t.offsetHeight||1;return r!==1||n!==1}function jW(t,e,r){r===void 0&&(r=!1);var n=sn(e),a=sn(e)&&HW(e),i=Ya(e),s=ps(t,a,r),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Yn(e)!=="body"||T2(i))&&(o=MW(e)),sn(e)?(l=ps(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=w2(i))),{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function FW(t){var e=new Map,r=new Set,n=[];t.forEach(function(i){e.set(i.name,i)});function a(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(o){if(!r.has(o)){var l=e.get(o);l&&a(l)}}),n.push(i)}return t.forEach(function(i){r.has(i.name)||a(i)}),n}function UW(t){var e=FW(t);return ZV.reduce(function(r,n){return r.concat(e.filter(function(a){return a.phase===n}))},[])}function zW(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function BW(t){var e=t.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(e).map(function(r){return e[r]})}var tv={placement:"bottom",modifiers:[],strategy:"absolute"};function rv(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function qW(t){t===void 0&&(t={});var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,a=e.defaultOptions,i=a===void 0?tv:a;return function(o,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},tv,i),modifiersData:{},elements:{reference:o,popper:l},attributes:{},styles:{}},f=[],p=!1,h={state:u,setOptions:function(g){var S=typeof g=="function"?g(u.options):g;b(),u.options=Object.assign({},i,u.options,S),u.scrollParents={reference:Si(o)?fo(o):o.contextElement?fo(o.contextElement):[],popper:fo(l)};var E=UW(BW([].concat(n,u.options.modifiers)));return u.orderedModifiers=E.filter(function(k){return k.enabled}),m(),h.update()},forceUpdate:function(){if(!p){var g=u.elements,S=g.reference,E=g.popper;if(rv(S,E)){u.rects={reference:jW(S,bA(E),u.options.strategy==="fixed"),popper:S2(E)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(I){return u.modifiersData[I.name]=Object.assign({},I.data)});for(var k=0;k<u.orderedModifiers.length;k++){if(u.reset===!0){u.reset=!1,k=-1;continue}var w=u.orderedModifiers[k],T=w.fn,O=w.options,C=O===void 0?{}:O,_=w.name;typeof T=="function"&&(u=T({state:u,options:C,name:_,instance:h})||u)}}}},update:zW(function(){return new Promise(function(v){h.forceUpdate(),v(u)})}),destroy:function(){b(),p=!0}};if(!rv(o,l))return h;h.setOptions(c).then(function(v){!p&&c.onFirstUpdate&&c.onFirstUpdate(v)});function m(){u.orderedModifiers.forEach(function(v){var g=v.name,S=v.options,E=S===void 0?{}:S,k=v.effect;if(typeof k=="function"){var w=k({state:u,name:g,instance:h,options:E}),T=function(){};f.push(w||T)}})}function b(){f.forEach(function(v){return v()}),f=[]}return h}}var VW=[fW,IW,uW,eW,_W,kW,PW,oW,TW],xC=qW({defaultModifiers:VW}),yC=function(){if(typeof Map<"u")return Map;function t(e,r){var n=-1;return e.some(function(a,i){return a[0]===r?(n=i,!0):!1}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(r){var n=t(this.__entries__,r),a=this.__entries__[n];return a&&a[1]},e.prototype.set=function(r,n){var a=t(this.__entries__,r);~a?this.__entries__[a][1]=n:this.__entries__.push([r,n])},e.prototype.delete=function(r){var n=this.__entries__,a=t(n,r);~a&&n.splice(a,1)},e.prototype.has=function(r){return!!~t(this.__entries__,r)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var a=0,i=this.__entries__;a<i.length;a++){var s=i[a];r.call(n,s[1],s[0])}},e}()}(),Ug=typeof window<"u"&&typeof document<"u"&&window.document===document,vc=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),WW=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(vc):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),XW=2;function QW(t,e){var r=!1,n=!1,a=0;function i(){r&&(r=!1,t()),n&&o()}function s(){WW(i)}function o(){var l=Date.now();if(r){if(l-a<XW)return;n=!0}else r=!0,n=!1,setTimeout(s,e);a=l}return o}var GW=20,YW=["top","right","bottom","left","width","height","size","weight"],KW=typeof MutationObserver<"u",ZW=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=QW(this.refresh.bind(this),GW)}return t.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},t.prototype.removeObserver=function(e){var r=this.observers_,n=r.indexOf(e);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},t.prototype.updateObservers_=function(){var e=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return e.forEach(function(r){return r.broadcastActive()}),e.length>0},t.prototype.connect_=function(){!Ug||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),KW?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!Ug||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var r=e.propertyName,n=r===void 0?"":r,a=YW.some(function(i){return!!~n.indexOf(i)});a&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),vC=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var a=n[r];Object.defineProperty(t,a,{value:e[a],enumerable:!1,writable:!1,configurable:!0})}return t},ms=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||vc},SC=cu(0,0,0,0);function Sc(t){return parseFloat(t)||0}function nv(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce(function(n,a){var i=t["border-"+a+"-width"];return n+Sc(i)},0)}function $W(t){for(var e=["top","right","bottom","left"],r={},n=0,a=e;n<a.length;n++){var i=a[n],s=t["padding-"+i];r[i]=Sc(s)}return r}function JW(t){var e=t.getBBox();return cu(0,0,e.width,e.height)}function eX(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return SC;var n=ms(t).getComputedStyle(t),a=$W(n),i=a.left+a.right,s=a.top+a.bottom,o=Sc(n.width),l=Sc(n.height);if(n.boxSizing==="border-box"&&(Math.round(o+i)!==e&&(o-=nv(n,"left","right")+i),Math.round(l+s)!==r&&(l-=nv(n,"top","bottom")+s)),!rX(t)){var c=Math.round(o+i)-e,u=Math.round(l+s)-r;Math.abs(c)!==1&&(o-=c),Math.abs(u)!==1&&(l-=u)}return cu(a.left,a.top,o,l)}var tX=function(){return typeof SVGGraphicsElement<"u"?function(t){return t instanceof ms(t).SVGGraphicsElement}:function(t){return t instanceof ms(t).SVGElement&&typeof t.getBBox=="function"}}();function rX(t){return t===ms(t).document.documentElement}function nX(t){return Ug?tX(t)?JW(t):eX(t):SC}function aX(t){var e=t.x,r=t.y,n=t.width,a=t.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,s=Object.create(i.prototype);return vC(s,{x:e,y:r,width:n,height:a,top:r,right:e+n,bottom:a+r,left:e}),s}function cu(t,e,r,n){return{x:t,y:e,width:r,height:n}}var iX=function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=cu(0,0,0,0),this.target=e}return t.prototype.isActive=function(){var e=nX(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t}(),sX=function(){function t(e,r){var n=aX(r);vC(this,{target:e,contentRect:n})}return t}(),oX=function(){function t(e,r,n){if(this.activeObservations_=[],this.observations_=new yC,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=r,this.callbackCtx_=n}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ms(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(e)||(r.set(e,new iX(e)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof ms(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(e)&&(r.delete(e),r.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&e.activeObservations_.push(r)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new sX(n.target,n.broadcastRect())});this.callback_.call(e,r,e),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),EC=typeof WeakMap<"u"?new WeakMap:new yC,kC=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=ZW.getInstance(),n=new oX(e,r,this);EC.set(this,n)}return t}();["observe","unobserve","disconnect"].forEach(function(t){kC.prototype[t]=function(){var e;return(e=EC.get(this))[t].apply(e,arguments)}});var AX=function(){return typeof vc.ResizeObserver<"u"?vc.ResizeObserver:kC}();const wC=({isOpen:t,onClose:e,anchorEl:r,placement:n="right-start",children:a,className:i})=>{const s=x.useRef(null),o=x.useRef(null);return x.useEffect(()=>{if(t&&r&&s.current){o.current=xC(r,s.current,{placement:n??"right",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"preventOverflow",options:{boundary:"viewport",padding:8}},{name:"flip",options:{fallbackPlacements:["left-start"]}}]});const l=async()=>{o.current&&(await o.current.update(),s.current&&(s.current.style.visibility="visible"))};s.current&&(s.current.style.visibility="hidden"),l()}return()=>{o.current&&(o.current.destroy(),o.current=null)}},[t,r,n]),x.useEffect(()=>{if(!t||!s.current||!o.current)return;const l=new AX(()=>{o.current&&o.current.update()});return l.observe(s.current),()=>{l.disconnect()}},[t,a]),t?yn.createPortal(A.jsx("div",{ref:s,className:"z-[9999]",onMouseEnter:l=>l.stopPropagation(),onMouseLeave:e,children:A.jsx(ze.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.15},className:i,children:a})}),document.body):null},lX=t=>{const e=new Date(t),n=new Date().getTime()-e.getTime(),a=Math.floor(n/1e3),i=Math.floor(a/60),s=Math.floor(i/60),o=Math.floor(s/24);return a<60?"just now":i<60?`${i}m ago`:s<24?`${s}h ago`:o<7?`${o}d ago`:e.toLocaleDateString()},TC=({isActive:t,lastViewedOn:e})=>{const r=x.useMemo(()=>e?lX(e):null,[e]),n=x.useMemo(()=>{if(!e)return!1;const i=new Date(e);return(new Date().getTime()-i.getTime())/(1e3*60*60)<24},[e]);if(!t&&!r)return null;const a=()=>{if(t)return A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsx("div",{className:"w-2 h-2 rounded-full bg-primary-600"}),A.jsx(ee,{size:"small",variant:"medium",className:"text-primary-600",children:"Online now"})]});if(r){const i=n?"text-primary-300":"text-neutral-400";return A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsx("div",{className:B("w-2 h-2 rounded-full",n?"bg-primary-300":"bg-neutral-400")}),A.jsx(ee,{size:"small",variant:"medium",className:i,children:r})]})}return null};return A.jsxs("div",{className:"flex justify-between items-center",children:[A.jsx(ee,{size:"small",variant:"medium",className:"mr-5",appearance:"body",children:"Status"}),a()]})},zg={xs:"w-4 h-4 text-[7px] font-bold",sm:"w-6 h-6 text-[10px] font-bold",md:"w-9 h-9 text-[14px] font-semibold",lg:"w-12 h-12 text-[18px] font-semibold",xl:"w-16 h-16 text-[24px] font-semibold"},Ec=t=>{if(!t)return"";const e=t?.split(" ");return e?.length===1?e[0]?.charAt(0)?.toUpperCase():e[0]?.charAt(0)?.toUpperCase()+e[e?.length-1]?.charAt(0)?.toUpperCase()},CC=({fill:t="#98A2B3",className:e=""})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:e,children:A.jsx("path",{d:"M8 8C6.9 8 5.95833 7.60833 5.175 6.825C4.39167 6.04167 4 5.1 4 4C4 2.9 4.39167 1.95833 5.175 1.175C5.95833 0.391667 6.9 0 8 0C9.1 0 10.0417 0.391667 10.825 1.175C11.6083 1.95833 12 2.9 12 4C12 5.1 11.6083 6.04167 10.825 6.825C10.0417 7.60833 9.1 8 8 8ZM2 16C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V13.2C0 12.6333 0.145833 12.1125 0.4375 11.6375C0.729167 11.1625 1.11667 10.8 1.6 10.55C2.63333 10.0333 3.68333 9.64583 4.75 9.3875C5.81667 9.12917 6.9 9 8 9C9.1 9 10.1833 9.12917 11.25 9.3875C12.3167 9.64583 13.3667 10.0333 14.4 10.55C14.8833 10.8 15.2708 11.1625 15.5625 11.6375C15.8542 12.1125 16 12.6333 16 13.2V14C16 14.55 15.8042 15.0208 15.4125 15.4125C15.0208 15.8042 14.55 16 14 16H2Z",fill:t})}),OC=()=>{const t=x.useRef(null),e=x.useRef(null),[r,n]=x.useState({vertical:"bottom",horizontal:"left"}),[a,i]=x.useState(!1),s=x.useCallback(()=>{if(!t.current||!e.current)return;const c=t.current.getBoundingClientRect(),u=e.current.getBoundingClientRect(),f=window.innerWidth,h=window.innerHeight-c.bottom,m=c.top,b=f-c.left,v=c.right,g=h>=u.height||h>=m?"bottom":"top",S=b>=u.width||b>=v?"left":"right";n({vertical:g,horizontal:S})},[]),o=x.useCallback(()=>{i(!0),setTimeout(()=>{s()},0)},[s]),l=x.useCallback(()=>{i(!1)},[]);return{triggerRef:t,dropdownRef:e,position:r,isVisible:a,show:o,hide:l}},dl=({label:t,content:e})=>A.jsxs("div",{className:"flex justify-between items-center",children:[A.jsx(ee,{size:"small",variant:"medium",className:"mr-5",appearance:"body",children:t}),e]}),_C=({firstName:t,lastName:e,email:r,profilePic:n,size:a="md",hoverSize:i="lg",containerClassName:s="",enablePopper:o=!0,className:l,userId:c,lastViewedOn:u,isActive:f,statusIndicator:p=!1,userDetails:h,isFetchingUserDetails:m=!1,authToken:b,onHover:v})=>{if(t==="All"&&e==="Users")return A.jsx("div",{className:"p-1 rounded-full bg-primary-100 dark:bg-black-600 flex items-center justify-center",children:A.jsx(be.GroupsOutlined,{sx:{fontSize:16},className:"text-primary-600 dark:text-primary-600"})});const[g,S]=x.useState(!1),[E,k]=x.useState(!1),w=zg[a],{triggerRef:T,dropdownRef:O,position:C,isVisible:_,show:I,hide:N}=OC(),R=x.useRef({}),D=x.useMemo(()=>{if(f||!u)return!1;const oe=new Date(u);return(new Date().getTime()-oe.getTime())/(1e3*60*60)<24},[f,u]),j=f?"bg-primary-600 dark:bg-primary-600":D?"bg-primary-300 dark:bg-primary-300":u?"bg-neutral-400 dark:bg-neutral-400":null,M=f?"border-primary-600 dark:border-primary-600":D?"border-primary-300 dark:border-primary-300":u?"border-neutral-400 dark:border-neutral-400":"border-primary-200 dark:border-neutral-800",L={xs:"w-2 h-2",sm:"w-2.5 h-2.5",md:"w-3 h-3",lg:"w-3.5 h-3.5",xl:"w-4 h-4"};x.useEffect(()=>{if(n)if(R.current[n])k(!0);else{k(!1);const oe=new Image,ie=b||(typeof localStorage<"u"?localStorage.getItem("token"):null);oe.src=n+(ie?"?token="+ie:""),oe.onload=()=>{R.current[n]=oe.src,k(!0)},oe.onerror=()=>{k(!1)}}else k(!1)},[n,b]),x.useEffect(()=>()=>{U.current&&clearTimeout(U.current)},[]);const V=n?R.current[n]:void 0,U=x.useRef(null),q=x.useRef(null),Q=()=>{v?.(),t&&e&&o&&(U.current&&clearTimeout(U.current),U.current=setTimeout(()=>{S(!0)},300))},X=oe=>{U.current&&clearTimeout(U.current),U.current=setTimeout(()=>{q.current&&!q.current.contains(oe.relatedTarget)&&S(!1)},200)},G=A.jsxs("div",{ref:q,className:"bg-white dark:bg-black-800 shadow rounded-lg border border-neutral-200 dark:border-black-700",onMouseEnter:()=>{U.current&&clearTimeout(U.current)},onMouseLeave:oe=>X(oe),children:[A.jsxs("div",{className:"flex flex-col gap-1 items-center p-5",children:[A.jsxs("div",{className:B("relative",zg[i]),children:[V&&E?A.jsx("img",{src:V,alt:"Profile",className:B("rounded-full border-2 object-cover w-full h-full",M),onError:()=>k(!1)}):A.jsx("div",{className:B("bg-primary-100 dark:bg-primary-950 text-primary-600 border-2 flex items-center justify-center rounded-full w-full h-full",M),children:Ec((t||"")+" "+(e||""))}),j&&A.jsx("div",{className:B("absolute bottom-0 right-0 rounded-full border-2 border-white dark:border-black-800",L[i],j)})]}),A.jsxs("div",{className:"flex flex-row gap-1 items-center justify-center",children:[A.jsxs(ee,{size:"medium",variant:"semibold",className:"w-full text-center",children:[t||""," ",e||""]}),h?.region&&A.jsx("span",{children:Z4(h?.region)})]}),A.jsx(ee,{size:"small",variant:"medium",appearance:"body",children:r||h?.email||""})]}),c&&(m?A.jsx("div",{className:"p-5",children:A.jsx(x2,{})}):c&&(h?.teams||h?.clearanceLevel||h?.group)?A.jsxs("div",{className:"flex flex-col gap-4 bg-neutral-50 border-t border-neutral-200 dark:bg-black-700 dark:border-none p-5 rounded-b-lg",children:[A.jsx(TC,{isActive:f,lastViewedOn:u}),h.username&&A.jsx(dl,{label:"Username",content:A.jsx("div",{className:"flex gap-2",children:A.jsx(ee,{size:"small",variant:"medium",appearance:"body",children:h.username})})}),h?.teams&&h?.teams?.length>0&&A.jsx(dl,{label:"Team",content:A.jsxs("div",{className:"flex gap-2",children:[h?.teams?.length>0&&A.jsx(vr,{label:h?.teams[0]?.name,color:h?.teams[0]?.color||"#e38715",size:"sm",isHashColor:!0},h?.teams[0]?.id),h?.teams?.length>=2&&A.jsxs("div",{ref:T,className:"relative cursor-pointer",onMouseEnter:I,onMouseLeave:N,onClick:oe=>oe.stopPropagation(),children:[A.jsx(vr,{label:`+ ${h?.teams?.length-1} More`,color:"#004f08",size:"sm",isHashColor:!0},1),_&&A.jsx("div",{ref:O,className:B("absolute w-max bg-white dark:text-black-200 dark:bg-black-800 shadow-md border border-neutral-200 dark:border-black-800 rounded-md px-2 z-10 overflow-y-auto max-h-60",{"top-full":C.vertical==="bottom","bottom-full":C.vertical==="top","left-0":C.horizontal==="left","right-0":C.horizontal==="right"}),onMouseEnter:I,onMouseLeave:N,children:h?.teams?.slice(1)?.map((oe,ie)=>A.jsx("div",{className:"my-2",children:A.jsx(vr,{label:oe?.name,color:oe?.color||"#4A5568",size:"sm",isHashColor:!0,className:"w-fit"},oe?.id)},oe?.id||ie))})]})]})}),h?.group&&A.jsx(dl,{label:"Role",content:A.jsx(vr,{label:h?.group,color:"#004094",size:"sm",isHashColor:!0},h?.group)}),h?.clearanceLevel&&A.jsx(dl,{label:"Clearance Level",content:A.jsx(vr,{label:`Level ${h?.clearanceLevel}`,color:"#b30000",size:"sm",isHashColor:!0},String(h?.clearanceLevel))})]}):A.jsx("div",{className:"flex items-center justify-center bg-neutral-50 dark:bg-black-700 border-t border-neutral-200 dark:border-black-700 p-5 rounded-b-lg",children:A.jsxs(ee,{className:"flex items-center justify-center gap-1",size:"extra-small",variant:"medium",appearance:"body",children:[A.jsx(DN,{sx:{height:"16px",width:"16px",color:"#F04438"}}),"No other information found!"]})}))]}),Y=x.useRef(null);return A.jsxs("div",{onMouseEnter:Q,onMouseLeave:X,className:B("inline-block relative cursor-pointer",l),ref:Y,children:[A.jsxs("div",{className:B("relative",s||w),children:[V&&E?A.jsx("img",{src:V,alt:"Profile",className:B("rounded-full border object-cover w-full h-full",M),onError:()=>k(!1)}):t&&e?A.jsx("div",{className:B("bg-primary-100 text-primary-600 flex items-center justify-center rounded-full border dark:bg-black-700 w-full h-full",M),children:Ec((t||"")+" "+(e||""))}):A.jsx("div",{className:B(M,"p-1 rounded-full bg-neutral-200 dark:bg-black-600 flex items-center justify-center border w-full h-full"),children:A.jsx(CC,{fill:"#98A2B3"})}),p&&j&&A.jsx("div",{className:B("absolute bottom-0 right-0 rounded-full border border-white dark:border-black-800 w-2 h-2",j)})]}),A.jsx(wC,{isOpen:g,onClose:()=>S(!1),anchorEl:Y.current,className:"bg-white dark:bg-black-700 shadow rounded-lg border border-neutral-200 dark:border-black-600",children:G})]})};_C.displayName="UserAvatar";const C2=({initials:t,rounded:e,className:r})=>A.jsx("div",{className:B("bg-[#016DCF] p-2.5 flex items-center justify-center",{"rounded-full":e},r),children:A.jsx("span",{className:"text-white font-inter",children:t})});C2.displayName="NameInitialLogo";const NC=({url:t,username:e,className:r=""})=>{const[n,a]=x.useState(!1);return A.jsx(A.Fragment,{children:t&&!n?A.jsx("img",{className:r,alt:"user profile",src:t,onError:()=>a(!0)}):A.jsx(C2,{className:r,initials:e?Ec(e):"",rounded:!0})})};NC.displayName="UserProfilePic";const cX=({fill:t="currentColor",size:e=20,...r})=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:"none",...r,children:[A.jsx("g",{clipPath:"url(#clip0_79_37568)",children:A.jsx("path",{d:"M5.00033 15.8333C5.00033 16.75 5.75033 17.5 6.66699 17.5H13.3337C14.2503 17.5 15.0003 16.75 15.0003 15.8333V7.5C15.0003 6.58333 14.2503 5.83333 13.3337 5.83333H6.66699C5.75033 5.83333 5.00033 6.58333 5.00033 7.5V15.8333ZM7.50033 7.5H12.5003C12.9587 7.5 13.3337 7.875 13.3337 8.33333V15C13.3337 15.4583 12.9587 15.8333 12.5003 15.8333H7.50033C7.04199 15.8333 6.66699 15.4583 6.66699 15V8.33333C6.66699 7.875 7.04199 7.5 7.50033 7.5ZM12.917 3.33333L12.3253 2.74167C12.1753 2.59167 11.9587 2.5 11.742 2.5H8.25866C8.04199 2.5 7.82533 2.59167 7.67533 2.74167L7.08366 3.33333H5.00033C4.54199 3.33333 4.16699 3.70833 4.16699 4.16667C4.16699 4.625 4.54199 5 5.00033 5H15.0003C15.4587 5 15.8337 4.625 15.8337 4.16667C15.8337 3.70833 15.4587 3.33333 15.0003 3.33333H12.917Z",fill:t})}),A.jsx("defs",{children:A.jsx("clipPath",{id:"clip0_79_37568",children:A.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),uX=({className:t,size:e=24,fill:r="currentColor"})=>A.jsx("svg",{width:e,className:t,height:e,viewBox:"0 0 24 24",fill:r,xmlns:"http://www.w3.org/2000/svg",children:A.jsx("g",{id:"download",children:A.jsx("g",{mask:"url(#mask0_12019_10777)",children:A.jsx("path",{id:"download_2",d:"M12 15.575C11.8667 15.575 11.7417 15.554 11.625 15.512C11.5083 15.4707 11.4 15.4 11.3 15.3L7.7 11.7C7.51667 11.5167 7.425 11.2833 7.425 11C7.425 10.7167 7.51667 10.4833 7.7 10.3C7.88333 10.1167 8.12067 10.0207 8.412 10.012C8.704 10.004 8.94167 10.0917 9.125 10.275L11 12.15V5C11 4.71667 11.096 4.479 11.288 4.287C11.4793 4.09567 11.7167 4 12 4C12.2833 4 12.521 4.09567 12.713 4.287C12.9043 4.479 13 4.71667 13 5V12.15L14.875 10.275C15.0583 10.0917 15.296 10.004 15.588 10.012C15.8793 10.0207 16.1167 10.1167 16.3 10.3C16.4833 10.4833 16.575 10.7167 16.575 11C16.575 11.2833 16.4833 11.5167 16.3 11.7L12.7 15.3C12.6 15.4 12.4917 15.4707 12.375 15.512C12.2583 15.554 12.1333 15.575 12 15.575ZM6 20C5.45 20 4.97933 19.8043 4.588 19.413C4.196 19.021 4 18.55 4 18V16C4 15.7167 4.09567 15.479 4.287 15.287C4.479 15.0957 4.71667 15 5 15C5.28333 15 5.521 15.0957 5.713 15.287C5.90433 15.479 6 15.7167 6 16V18H18V16C18 15.7167 18.096 15.479 18.288 15.287C18.4793 15.0957 18.7167 15 19 15C19.2833 15 19.5207 15.0957 19.712 15.287C19.904 15.479 20 15.7167 20 16V18C20 18.55 19.8043 19.021 19.413 19.413C19.021 19.8043 18.55 20 18 20H6Z",fill:r})})})}),dX=({fill:t="currentColor",size:e=20})=>A.jsxs("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A.jsx("path",{d:"M5 17.5C4.54167 17.5 4.14917 17.3367 3.8225 17.01C3.49583 16.6833 3.33333 16.2917 3.33333 15.8333V4.16667C3.33333 3.70833 3.49667 3.31583 3.82333 2.98917C4.15 2.6625 4.54167 2.5 5 2.5H11.6667L16.6667 7.5V15.8333C16.6667 16.2917 16.5033 16.6842 16.1767 17.0108C15.85 17.3375 15.4583 17.5 15 17.5H5ZM10.8333 8.33333V3.33333H5V15.8333H15V8.33333H10.8333Z",fill:t}),A.jsx("path",{d:"M6.66667 13.3333H8.33333V12.5H9.16667C9.39167 12.5 9.58333 12.4167 9.75 12.25C9.91667 12.0833 10 11.8917 10 11.6667V10.8333C10 10.6083 9.91667 10.4167 9.75 10.25C9.58333 10.0833 9.39167 10 9.16667 10H6.66667V13.3333ZM7.5 11.6667V10.8333H8.33333V11.6667H7.5Z",fill:t}),A.jsx("path",{d:"M10.8333 13.3333H12.5C12.7361 13.3333 12.9306 13.25 13.0833 13.0833C13.2361 12.9167 13.3194 12.7222 13.3333 12.5V10.8333C13.3333 10.6083 13.25 10.4167 13.0833 10.25C12.9167 10.0833 12.7222 10 12.5 10H10.8333V13.3333ZM11.6667 12.5V10.8333H12.5V12.5H11.6667Z",fill:t})]}),fX=({fill:t="currentColor",size:e=20})=>A.jsx("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:A.jsx("path",{d:"M5 17.5C4.54167 17.5 4.14917 17.3367 3.8225 17.01C3.49583 16.6833 3.33333 16.2917 3.33333 15.8333V4.16667C3.33333 3.70833 3.49667 3.31583 3.82333 2.98917C4.15 2.6625 4.54167 2.5 5 2.5H11.6667L16.6667 7.5V15.8333C16.6667 16.2917 16.5033 16.6842 16.1767 17.0108C15.85 17.3375 15.4583 17.5 15 17.5H5ZM10.8333 8.33333V3.33333H5V15.8333H15V8.33333H10.8333ZM6.66667 14.1667V12.5H13.3333V14.1667H6.66667ZM6.66667 11.6667V10H13.3333V11.6667H6.66667ZM6.66667 9.16667V7.5H9.16667V9.16667H6.66667Z",fill:t})}),pX=({className:t,size:e=40})=>A.jsx("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:A.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"12"})}),{Dragger:hX}=Xe.Upload,mX=200*1024*1024,gX=({getFile:t,id:e,label:r,description:n,required:a=!1,errorMessage:i=null,disabled:s=!1,defaultFile:o=null,acceptedFiles:l=null,isLoading:c=!1,asBase64:u=!1,toFileServer:f=!1,setFileUploading:p,fileUploading:h=!1,uploadToDocServer:m=!1,multiple:b=!1,getRealFileName:v=!1,onDelete:g,hideSelectedFile:S=!1,maxSize:E=mX,fileUploadService:k,clickToUploadText:w,dragAndDropText:T,setFileData:O,fileData:C})=>{const[_,I]=x.useState(null),[N,R]=x.useState([]),[D,P]=x.useState("#d9d9d9"),[j,z]=x.useState(!1),[M,L]=x.useState(null),{t:V}=Kt.useTranslation(),U=async()=>{if(!k||!Bi){console.warn("FileUploadDragger: File server upload requires fileUploadService, buildQueryParams, and getToken");return}Promise.all(N.map(Y=>{const oe=new FormData;oe.append("file",Y);const ie=Bi({file_upload_path:m?"document-server":null,token:localStorage.getItem("token")});return k.uploadFileToFileServer(oe,ie)})).then(Y=>{t(b?Y?.map(oe=>oe?.fileUrl):Y?.[0]?.fileUrl,v?_?.name:Y?.[0]?.fileName),O?.(b?Y?.map(oe=>oe):Y?.[0]),p?.(null),L(Y?.[0])})},q={accept:l||"*",multiple:b,showUploadList:!1,disabled:s,onRemove:()=>{R([])},beforeUpload:(Y,oe)=>{if(Y.size>E){const ie=Math.round(E/1048576),te=jt?.fileSizeLimit(String(ie),"MB")||`File size must be less than ${ie}MB`;return It.toast?.error(te,{toastId:te}),!1}if(S||I(Y),f)p?.(e||"field-file-upload"),R(oe);else{if(u){const ie=new FileReader;ie.onload=te=>{const se=te?.target?.result;t(se,Y?.name)},ie.readAsDataURL(Y)}else t(Y);S||I(Y)}return!1}},Q=async()=>{if(f&&M&&k&&Bi){const Y=Bi({token:localStorage.getItem("token")});k.deleteFileFromFileServer(M?.fileName,Y).then(()=>{L(null)})}I(null),R([]),t(""),g?.()};x.useEffect(()=>{o?.name&&I(o),C&&I?.(C)},[o,C]),x.useEffect(()=>{P(i?"#EF4444":"#d9d9d9")},[i]),x.useEffect(()=>{N.length&&U()},[N]);const X=Y=>Y.includes("?")?new URLSearchParams(Y.split("?")[1]).get("file_name"):null,G=Y=>{const te=f&&!h&&X(Y||C?.fileUrl)||Y;return te?te.length<=30?te:`${te.slice(0,23)}....${te.slice(-7)}`:""};return A.jsxs("div",{className:"flex flex-col gap-1",children:[r?A.jsx(Zt,{label:r,required:a}):null,A.jsx("div",{className:"h-32",onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1),children:A.jsx(hX,{...q,style:{borderColor:j&&!i?"var(--color-primary-500)":D},disabled:s||h,children:_&&!S?A.jsxs("div",{className:"flex items-center justify-between mx-5",title:_?.name||o?.name,children:[A.jsxs("div",{className:"flex items-center justify-center gap-4",children:[_?.type==="application/pdf"?A.jsx("div",{className:"p-3 bg-primary-50 rounded-lg",children:A.jsx(dX,{size:20,fill:"var(--color-primary-500)"})}):A.jsx("div",{className:"p-3 bg-primary-50 rounded-lg",children:A.jsx(fX,{size:20,fill:"var(--color-primary-500)"})}),A.jsxs("div",{className:"text-left",children:[A.jsx(ee,{size:"small",variant:"medium",className:"font-inter text-md text-neutral-900 font-medium text-base",children:G(_?.name||o?.name)}),h?A.jsx(ee,{size:"small",variant:"medium",appearance:"subtitle",children:V("Uploading...")}):_?.size>0?A.jsxs(ee,{size:"small",variant:"medium",appearance:"subtitle",children:[(_.size/1e3).toFixed(2)," ","KB"]}):null]})]}),c?A.jsx(pX,{size:40,className:"spinner text-primary-600"}):A.jsx("button",{id:"btn-file-upload",className:"ml-4",onClick:Y=>{Y.stopPropagation(),Q()},type:"button",disabled:s,children:A.jsx(cX,{size:20,fill:"#98A2B3"})})]}):A.jsx("div",{className:"flex items-center justify-center",children:A.jsxs("div",{className:"flex-col",children:[A.jsx("div",{className:"mb-4 flex justify-center",children:A.jsx(uX,{size:24,fill:"#98A2B3"})}),A.jsxs("div",{children:[A.jsxs("div",{className:"flex items-center justify-center",children:[A.jsx(ee,{size:"small",variant:"medium",className:"text-primary-600 dark:text-primary-300",appearance:"custom",children:w||V("Click to upload")}),A.jsx(ee,{size:"small",variant:"medium",className:"ml-1",appearance:"subtitle",children:T||V("or drag and drop")})]}),n?A.jsx(ee,{size:"small",variant:"medium",className:"text-neutral-400",children:n}):null]})]})})})}),i&&A.jsx(ee,{className:"text-error-500 mt-1",appearance:"custom",size:"extra-small",variant:"medium",children:i})]})},bX=({animationData:t,width:e=200,height:r=200,loop:n=!0,autoplay:a=!0,className:i,"data-testid":s})=>{const o=x.useRef(null);return x.useEffect(()=>{if(o.current){const l=wN.loadAnimation({container:o.current,renderer:"svg",loop:n,autoplay:a,animationData:t});return()=>{l.destroy()}}},[t,n,a]),A.jsx("div",{ref:o,className:i,style:{width:e,height:r},"data-testid":s})},Ce={BOOLEAN:"boolean",CHOICE:"choice",CURRENCY:"currency",DATE:"date",DATETIME:"datetime",DYNAMIC:"dynamic",EMAIL:"email",MASTER_DATA:"master data",NUMBER:"number",STRING:"string",TAG:"tag",TEXT:"text"},xX=[{label:"Boolean",value:Ce.BOOLEAN},{label:"Choice",value:Ce.CHOICE},{label:"Currency",value:Ce.CURRENCY},{label:"Date",value:Ce.DATE},{label:"Datetime",value:Ce.DATETIME},{label:"Dynamic",value:Ce.DYNAMIC},{label:"Email",value:Ce.EMAIL},{label:"Master Data",value:Ce.MASTER_DATA},{label:"Number",value:Ce.NUMBER},{label:"String",value:Ce.STRING},{label:"Tag",value:Ce.TAG},{label:"Text",value:Ce.TEXT}],yX={[Ce.BOOLEAN]:"#ECFDF3",[Ce.CHOICE]:"#FCEEF3",[Ce.DATE]:"#EAEBF6",[Ce.EMAIL]:"#E3F3FF",[Ce.CURRENCY]:"#FEF4E8",[Ce.DATETIME]:"#F2F7F2",[Ce.TEXT]:"#E4FFCD",[Ce.STRING]:"#E4FFCD",[Ce.TAG]:"#FFD4D8",[Ce.MASTER_DATA]:"#FFFCEA",[Ce.DYNAMIC]:"#FFEAFE",[Ce.NUMBER]:"#D8FBF8"},vX={[Ce.BOOLEAN]:"#D1FADF",[Ce.CHOICE]:"#F5CAD9",[Ce.DATE]:"#BEBFE2",[Ce.EMAIL]:"#B1DEFF",[Ce.CURRENCY]:"#FDDEB7",[Ce.DATETIME]:"#D5E5D5",[Ce.TEXT]:"#CBFF9D",[Ce.STRING]:"#CBFF9D",[Ce.TAG]:"#FFBAC1",[Ce.MASTER_DATA]:"#FFF3B2",[Ce.DYNAMIC]:"#FFC4FB",[Ce.NUMBER]:"#B2FBF5"},SX={[Ce.BOOLEAN]:"#063723",[Ce.CHOICE]:"#590724",[Ce.DATE]:"#040642",[Ce.EMAIL]:"#043056",[Ce.CURRENCY]:"#591F08",[Ce.DATETIME]:"#084605",[Ce.TEXT]:"#254B03",[Ce.STRING]:"#254B03",[Ce.TAG]:"#530F04",[Ce.MASTER_DATA]:"#564007",[Ce.DYNAMIC]:"#52084D",[Ce.NUMBER]:"#08504A"},EX={[Ce.BOOLEAN]:"#032D1C",[Ce.CHOICE]:"#41051A",[Ce.DATE]:"#010227",[Ce.EMAIL]:"#05233D",[Ce.CURRENCY]:"#391506",[Ce.DATETIME]:"#052E04",[Ce.TEXT]:"#172E03",[Ce.STRING]:"#172E03",[Ce.TAG]:"#3E0B04",[Ce.MASTER_DATA]:"#3D2D04",[Ce.DYNAMIC]:"#350332",[Ce.NUMBER]:"#03332F"},kX=({fill:t="#CCAE00",size:e=12})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 21 20",fill:"none",children:A.jsx("path",{d:"M10.666 17.5C8.56879 17.5 6.79449 17.1771 5.3431 16.5312C3.89171 15.8854 3.16602 15.0972 3.16602 14.1667V5.83333C3.16602 4.91667 3.89865 4.13194 5.36393 3.47917C6.82921 2.82639 8.59657 2.5 10.666 2.5C12.7355 2.5 14.5028 2.82639 15.9681 3.47917C17.4334 4.13194 18.166 4.91667 18.166 5.83333V14.1667C18.166 15.0972 17.4403 15.8854 15.9889 16.5312C14.5375 17.1771 12.7632 17.5 10.666 17.5Z",fill:t})}),wX=({fill:t="#DB00CD",size:e=12})=>A.jsx("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:A.jsx("path",{d:"M3.70019 8.625C3.35019 8.91667 2.98561 9.05 2.60644 9.025C2.22727 9 1.89602 8.87083 1.61269 8.6375C1.32935 8.40417 1.1356 8.09792 1.03144 7.71875C0.927272 7.33958 0.996022 6.95 1.23769 6.55L2.17519 5C1.96685 4.81667 1.80227 4.59583 1.68144 4.3375C1.5606 4.07917 1.50019 3.8 1.50019 3.5C1.50019 2.95 1.69602 2.47917 2.08769 2.0875C2.47936 1.69583 2.95019 1.5 3.50019 1.5C4.05019 1.5 4.52102 1.69583 4.91269 2.0875C5.30436 2.47917 5.50019 2.95 5.50019 3.5C5.50019 4.05 5.30436 4.52083 4.91269 4.9125C4.52102 5.30417 4.05019 5.5 3.50019 5.5C3.42519 5.5 3.35019 5.49583 3.27519 5.4875C3.20019 5.47917 3.12935 5.46667 3.06269 5.45L2.10019 7.075C2.00852 7.225 1.97936 7.37292 2.01269 7.51875C2.04602 7.66458 2.11686 7.78333 2.22519 7.875C2.33352 7.96667 2.46269 8.01875 2.61269 8.03125C2.76269 8.04375 2.90852 7.99167 3.05019 7.875L8.30019 3.3625C8.65019 3.07083 9.01686 2.93958 9.40019 2.96875C9.78352 2.99792 10.1169 3.12917 10.4002 3.3625C10.6835 3.59583 10.8752 3.90208 10.9752 4.28125C11.0752 4.66042 11.0044 5.05 10.7627 5.45L9.82519 7C10.0335 7.18333 10.1981 7.40417 10.3189 7.6625C10.4398 7.92083 10.5002 8.2 10.5002 8.5C10.5002 9.05 10.3044 9.52083 9.91269 9.9125C9.52102 10.3042 9.05019 10.5 8.50019 10.5C7.95019 10.5 7.47936 10.3042 7.08769 9.9125C6.69602 9.52083 6.50019 9.05 6.50019 8.5C6.50019 7.95 6.69602 7.47917 7.08769 7.0875C7.47936 6.69583 7.95019 6.5 8.50019 6.5C8.57519 6.5 8.64811 6.50417 8.71894 6.5125C8.78977 6.52083 8.85852 6.53333 8.92519 6.55L9.90019 4.925C9.99186 4.775 10.021 4.62708 9.98769 4.48125C9.95436 4.33542 9.88352 4.21667 9.77519 4.125C9.66686 4.03333 9.53769 3.98125 9.38769 3.96875C9.23769 3.95625 9.09186 4.00833 8.95019 4.125L3.70019 8.625Z",fill:t})}),IC=({dataType:t="text",tooltip:e})=>{const r=xX.find(s=>s.value===t),[n,a]=x.useState(!1),i=document.documentElement.classList.contains("dark");return A.jsx(Me,{title:e||r?.label,placement:"top",children:A.jsx("span",{className:B("flex items-center justify-center p-1 rounded-[4px]"),style:{backgroundColor:n?i?EX[t]:vX[t]:i?SX[t]:yX[t]},onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:(()=>{switch(t){case Ce.BOOLEAN:return A.jsx(be.Rule,{sx:{fontSize:12},className:"text-success-500"});case Ce.CHOICE:return A.jsx(be.FormatListBulleted,{sx:{fontSize:12},className:"text-peach-500"});case Ce.DATE:return A.jsx(be.CalendarMonth,{sx:{fontSize:12},className:"text-navy-600"});case Ce.EMAIL:return A.jsx(be.MailOutline,{sx:{fontSize:12},className:"text-[#139AFA]"});case Ce.CURRENCY:return A.jsx(be.AttachMoney,{sx:{fontSize:12},className:"text-orange-500"});case Ce.DATETIME:return A.jsx(be.Schedule,{sx:{fontSize:12},className:"text-green-600"});case Ce.TEXT:case Ce.STRING:return A.jsx(be.SubjectOutlined,{sx:{fontSize:12},className:"text-[#58B507]"});case Ce.TAG:return A.jsx(be.LocalOfferOutlined,{sx:{fontSize:12},className:"text-[#B31121]"});case Ce.MASTER_DATA:return A.jsx(kX,{size:12,fill:"#CCAE00"});case Ce.DYNAMIC:return A.jsx(wX,{fill:"#DB00CD",size:12});case Ce.NUMBER:return A.jsx(be.Numbers,{sx:{fontSize:12},className:"text-[#00E4D1]"});default:return null}})()})})},TX=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"233",height:"165",viewBox:"0 0 233 165",fill:"none",className:"",children:[A.jsxs("g",{clipPath:"url(#clip0_769_17883)",children:[A.jsx("ellipse",{cx:"116.5",cy:"154.701",rx:"116",ry:"36",fill:"url(#paint0_linear_769_17883)",className:"fill-[url(#paint0_linear_769_17883)] dark:fill-[url(#dark_gradient)]"}),A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M79.5469 130.193C79.6115 121.866 78.1765 109.853 75.8569 102.024C72.9573 92.2364 70.8235 91.8227 68.2651 91.6957C65.7067 91.5687 62.0234 93.4376 63.8575 105.675C64.2395 108.224 64.5821 110.738 64.9104 113.147C65.1807 115.131 65.4413 117.043 65.7063 118.846C64.1257 119.358 62.2552 119.198 62.0163 116.314C61.6185 111.514 61.1533 109.726 60.1554 109.164C59.1574 108.601 57.0831 108.642 57.3916 112.761C57.4366 113.362 57.4625 114.006 57.4891 114.667C57.6448 118.533 57.8248 123.006 62.0004 123.249C63.8519 123.356 65.2865 123.152 66.3409 122.843C67.1357 127.399 68.0533 130.821 69.4136 132.213C74.7164 133.182 78.3787 131.27 79.5469 130.193Z",className:"fill-primary-100 dark:fill-primary-600"}),A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M180.377 105.54C179.568 114.329 177.716 124.231 175.577 131.509C173.803 132.404 168.743 133.446 162.699 130.461C161.541 128.32 161.612 123.891 162.22 118.139C160.846 118.149 159.051 117.902 156.862 117.137C151.924 115.413 153.242 109.972 154.382 105.27L154.382 105.27C154.577 104.466 154.767 103.683 154.919 102.945C155.962 97.8859 158.47 98.5489 159.477 99.5678C160.484 100.587 160.43 102.896 159.261 108.805C158.558 112.353 160.753 113.188 162.829 113.115C163.129 110.857 163.472 108.468 163.828 105.99L163.828 105.989C164.26 102.98 164.711 99.839 165.126 96.6432C167.12 81.2987 172.191 80.3156 175.224 81.3464C178.256 82.3771 180.68 83.6069 180.808 96.3707C180.823 97.8677 180.784 99.4663 180.698 101.136C182.299 101.587 184.075 101.282 184.369 98.3709C184.892 93.202 185.424 91.2826 186.5 90.6933C187.576 90.1039 189.788 90.1833 189.375 94.6189C189.314 95.2667 189.273 95.96 189.232 96.6725C188.986 100.838 188.703 105.658 184.244 105.848C182.68 105.914 181.398 105.775 180.377 105.54Z",className:"fill-primary-50 dark:fill-primary-600"}),A.jsx("circle",{cx:"32.5",cy:"71",r:"12",className:"fill-primary-50 dark:fill-primary-600"}),A.jsx("circle",{cx:"168.501",cy:"22.7008",r:"17",transform:"rotate(25.7746 168.501 22.7008)",className:"fill-primary-200 dark:fill-primary-600"}),A.jsx("path",{d:"M190.28 32.4072C189.984 33.0994 189.242 33.7198 187.849 34.1242C186.464 34.526 184.584 34.6652 182.308 34.5043C177.765 34.1831 171.87 32.6835 165.725 30.0526C159.58 27.4217 154.427 24.1911 151.059 21.1252C149.371 19.589 148.174 18.1325 147.51 16.8533C146.84 15.5659 146.777 14.6009 147.074 13.9087C147.37 13.2165 148.112 12.5961 149.505 12.1917C150.89 11.79 152.77 11.6507 155.046 11.8117C159.589 12.1329 165.484 13.6324 171.629 16.2633C177.774 18.8942 182.927 22.1249 186.295 25.1907C187.983 26.727 189.18 28.1835 189.845 29.4627C190.514 30.7501 190.577 31.715 190.28 32.4072Z",stroke:"currentColor",strokeWidth:"2",className:"stroke-primary-100"}),A.jsx("path",{d:"M183.809 30.093C179.727 38.5478 176.086 28.5844 167.631 24.5019C159.176 20.4193 149.109 23.7634 153.192 15.3087C157.274 6.85394 167.438 3.30958 175.893 7.39215C184.347 11.4747 187.892 21.6382 183.809 30.093Z",className:"fill-primary-200 dark:fill-primary-600"}),A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M101.722 83.3089C101.501 98.71 102.886 116.238 105.251 129.263C108.165 131.143 116.754 133.888 127.794 129.825C130.199 126.324 130.895 118.623 130.903 108.53C133.286 108.801 136.446 108.704 140.387 107.782C149.275 105.702 147.992 96.0173 146.884 87.646L146.884 87.646C146.694 86.2144 146.51 84.8212 146.382 83.511C145.508 74.5396 141.033 75.2265 139.097 76.8085C137.161 78.3905 136.828 82.4078 137.765 92.8779C138.327 99.1663 134.365 100.209 130.775 99.6978C130.672 95.724 130.519 91.5146 130.359 87.1487L130.359 87.1485C130.166 81.8456 129.964 76.3118 129.834 70.6888C129.209 43.6914 120.592 41.0479 115.138 42.276C109.685 43.5041 105.251 45.1902 102.67 67.3168C102.367 69.9119 102.139 72.6932 101.98 75.6067C99.1176 76.0933 96.0924 75.2361 96.12 70.1295C96.169 61.0629 95.5993 57.6335 93.8411 56.4118C92.0829 55.1902 88.2302 54.9191 88.1273 62.693C88.1122 63.8283 88.0548 65.039 87.9959 66.2831C87.651 73.5579 87.252 81.974 94.9543 83.1274C97.6565 83.5321 99.9066 83.5278 101.722 83.3089Z",className:"fill-primary-200 dark:fill-primary-600"}),A.jsx("mask",{id:"mask0_769_17883",maskUnits:"userSpaceOnUse",x:"87",y:"42",width:"61",height:"90",children:A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M101.722 83.3089C101.501 98.71 102.886 116.238 105.251 129.263C108.165 131.143 116.754 133.888 127.794 129.825C130.199 126.324 130.895 118.623 130.903 108.53C133.286 108.801 136.446 108.704 140.387 107.782C149.275 105.702 147.992 96.0173 146.884 87.646L146.884 87.646C146.694 86.2144 146.51 84.8212 146.382 83.511C145.508 74.5396 141.033 75.2265 139.097 76.8085C137.161 78.3905 136.828 82.4078 137.765 92.8779C138.327 99.1663 134.365 100.209 130.775 99.6978C130.672 95.724 130.519 91.5146 130.359 87.1487L130.359 87.1485C130.166 81.8456 129.964 76.3118 129.834 70.6888C129.209 43.6914 120.592 41.0479 115.138 42.276C109.685 43.5041 105.251 45.1902 102.67 67.3168C102.367 69.9119 102.139 72.6932 101.98 75.6067C99.1176 76.0933 96.0924 75.2361 96.12 70.1295C96.169 61.0629 95.5993 57.6335 93.8411 56.4118C92.0829 55.1902 88.2302 54.9191 88.1273 62.693C88.1122 63.8283 88.0548 65.039 87.9959 66.2831C87.651 73.5579 87.252 81.974 94.9543 83.1274C97.6565 83.5321 99.9066 83.5278 101.722 83.3089Z",className:"fill-primary-200 dark:fill-primary-700"})}),A.jsx("g",{mask:"url(#mask0_769_17883)",children:A.jsx("path",{d:"M99 35.7002C101.52 34.9685 105.532 34.5699 109.491 35.7002H144.5L163 88.7002L152.5 127.2C139.5 136.7 114.8 152.6 120 140.2C126.5 124.7 125.5 60.2002 120 45.7002C117.746 39.759 113.648 36.887 109.491 35.7002H99Z",className:"fill-primary-500"})}),A.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.358 48.1862C106.216 47.9494 105.908 47.8726 105.672 48.0147C105.435 48.1568 105.358 48.4639 105.5 48.7007L107.986 52.8432C108.128 53.08 108.435 53.1568 108.672 53.0147C108.908 52.8726 108.985 52.5655 108.843 52.3287L106.358 48.1862ZM88.5 55.9936C88.6953 55.7983 89.0119 55.7983 89.2071 55.9936L91.5 58.2865C91.6953 58.4817 91.6953 58.7983 91.5 58.9936C91.3048 59.1888 90.9882 59.1888 90.7929 58.9936L88.5 56.7007C88.3048 56.5054 88.3048 56.1888 88.5 55.9936ZM92.7929 66.9936C92.5976 67.1888 92.5976 67.5054 92.7929 67.7007C92.9881 67.8959 93.3047 67.8959 93.5 67.7007L97.0355 64.1651C97.2308 63.9699 97.2308 63.6533 97.0355 63.458C96.8403 63.2628 96.5237 63.2628 96.3284 63.458L92.7929 66.9936ZM102.5 64.9936C102.695 64.7983 103.012 64.7983 103.207 64.9936L105.5 67.2865C105.695 67.4817 105.695 67.7983 105.5 67.9936C105.305 68.1888 104.988 68.1888 104.793 67.9936L102.5 65.7007C102.305 65.5054 102.305 65.1888 102.5 64.9936ZM115.8 72.8007C115.579 72.635 115.534 72.3216 115.7 72.1007L118.1 68.9007C118.266 68.6798 118.579 68.635 118.8 68.8007C119.021 68.9664 119.066 69.2798 118.9 69.5007L116.5 72.7007C116.334 72.9216 116.021 72.9664 115.8 72.8007ZM103.055 81.8686C102.825 81.7155 102.515 81.7775 102.361 82.0073C102.208 82.2371 102.27 82.5475 102.5 82.7007L104.668 84.146C104.898 84.2992 105.208 84.2371 105.361 84.0073C105.515 83.7775 105.452 83.4671 105.223 83.3139L103.055 81.8686ZM102.361 106.007C102.515 105.778 102.825 105.715 103.055 105.869L105.223 107.314C105.452 107.467 105.515 107.778 105.361 108.007C105.208 108.237 104.898 108.299 104.668 108.146L102.5 106.701C102.27 106.548 102.208 106.237 102.361 106.007ZM140.793 78.9936C140.598 79.1888 140.598 79.5054 140.793 79.7007C140.988 79.8959 141.305 79.8959 141.5 79.7007L144.793 76.4078C144.988 76.2125 144.988 75.8959 144.793 75.7007C144.598 75.5054 144.281 75.5054 144.086 75.7007L140.793 78.9936ZM117.793 98.7007C117.598 98.5054 117.598 98.1888 117.793 97.9936L121.086 94.7007C121.281 94.5054 121.598 94.5054 121.793 94.7007C121.988 94.8959 121.988 95.2125 121.793 95.4078L118.5 98.7007C118.305 98.8959 117.988 98.8959 117.793 98.7007ZM126.793 74.9936C126.598 75.1888 126.598 75.5054 126.793 75.7007C126.988 75.8959 127.305 75.8959 127.5 75.7007L130.793 72.4078C130.988 72.2125 130.988 71.8959 130.793 71.7007C130.598 71.5054 130.281 71.5054 130.086 71.7007L126.793 74.9936ZM126.793 60.7007C126.598 60.5054 126.598 60.1888 126.793 59.9936L130.086 56.7007C130.281 56.5054 130.598 56.5054 130.793 56.7007C130.988 56.8959 130.988 57.2125 130.793 57.4078L127.5 60.7007C127.305 60.8959 126.988 60.8959 126.793 60.7007ZM141.793 102.994C141.598 103.189 141.598 103.505 141.793 103.701C141.988 103.896 142.305 103.896 142.5 103.701L145.793 100.408C145.988 100.213 145.988 99.8959 145.793 99.7007C145.598 99.5054 145.281 99.5054 145.086 99.7007L141.793 102.994ZM126.85 111.979C126.594 111.877 126.469 111.586 126.572 111.329L128.2 107.258C128.303 107.001 128.594 106.877 128.85 106.979C129.107 107.082 129.231 107.373 129.129 107.629L127.5 111.701C127.398 111.957 127.107 112.082 126.85 111.979ZM120.207 115.408C120.402 115.213 120.402 114.896 120.207 114.701C120.012 114.505 119.695 114.505 119.5 114.701L117.207 116.994C117.012 117.189 117.012 117.505 117.207 117.701C117.402 117.896 117.719 117.896 117.914 117.701L120.207 115.408ZM100.436 94.9965C100.613 94.7843 100.928 94.7557 101.14 94.9325L106.372 99.2923C106.584 99.4691 106.613 99.7843 106.436 99.9965C106.259 100.209 105.944 100.237 105.732 100.061L100.5 95.7007C100.288 95.5239 100.259 95.2086 100.436 94.9965ZM88.3575 70.1862C88.2155 69.9494 87.9083 69.8726 87.6715 70.0147C87.4347 70.1568 87.358 70.4639 87.5 70.7007L89.9855 74.8432C90.1276 75.08 90.4347 75.1568 90.6715 75.0147C90.9083 74.8726 90.9851 74.5655 90.843 74.3287L88.3575 70.1862ZM132.2 84.8007C132.366 85.0216 132.321 85.335 132.1 85.5007L128.9 87.9007C128.679 88.0664 128.366 88.0216 128.2 87.8007C128.034 87.5798 128.079 87.2664 128.3 87.1007L131.5 84.7007C131.721 84.535 132.034 84.5798 132.2 84.8007ZM137.125 83.9198C136.909 83.7473 136.594 83.7823 136.422 83.9979C136.249 84.2135 136.284 84.5282 136.5 84.7007L140.719 88.076C140.935 88.2485 141.249 88.2135 141.422 87.9979C141.594 87.7823 141.559 87.4676 141.344 87.2951L137.125 83.9198ZM145.793 93.7007C145.598 93.5054 145.598 93.1888 145.793 92.9936L149.086 89.7007C149.281 89.5054 149.598 89.5054 149.793 89.7007C149.988 89.8959 149.988 90.2125 149.793 90.4078L146.5 93.7007C146.305 93.8959 145.988 93.8959 145.793 93.7007Z",className:"fill-primary-100"})]}),A.jsxs("defs",{children:[A.jsxs("linearGradient",{id:"paint0_linear_769_17883",x1:"116.5",y1:"118.701",x2:"116.5",y2:"154.701",gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#F2F4F7"}),A.jsx("stop",{offset:"1",stopColor:"#F2F4F7",stopOpacity:"0"})]}),A.jsxs("linearGradient",{id:"dark_gradient",x1:"0",y1:"199",x2:"0",y2:"100",gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{offset:"0",stopColor:"#000000"}),A.jsx("stop",{offset:"1",stopColor:"#000000",stopOpacity:"0"})]}),A.jsx("clipPath",{id:"clip0_769_17883",children:A.jsx("rect",{width:"232",height:"165",fill:"white",transform:"translate(0.5)"})})]})]}),CX=({text:t,additionaltext:e,children:r,icon:n,className:a,"data-testid":i})=>A.jsxs("div",{className:`flex flex-col justify-center items-center h-full ${a||""}`,"data-testid":i,children:[n||A.jsx(TX,{}),A.jsx(ee,{variant:"semibold",size:"display-small",className:"mt-5 dark:text-black-200",appearance:"custom",children:t}),A.jsx(ee,{variant:"regular",size:"small",className:"text-center mt-2 dark:text-black-200",appearance:"custom",children:e||""}),r]}),OX=()=>A.jsxs("svg",{width:"403",height:"300",viewBox:"0 0 403 300",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A.jsx("path",{d:"M402.618 263.633H0V263.834H402.618V263.633Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M316.602 269.75H303.026V269.951H316.602V269.75Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M361.197 269.656H325.315V269.858H361.197V269.656Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M258.263 271.008H213.597V271.209H258.263V271.008Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M208.959 271.008H192.274V271.209H208.959V271.008Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M122.042 269.453H114.714V269.654H122.042V269.453Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M138.621 269.453H126.511V269.654H138.621V269.453Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M107.459 273.086H53.8623V273.287H107.459V273.086Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M152.423 177.482H139.306C136.483 177.482 133.691 176.908 131.098 175.793C128.505 174.679 126.166 173.048 124.224 171H167.489C165.549 173.047 163.213 174.677 160.623 175.791C158.033 176.906 155.243 177.481 152.423 177.482Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M224.323 177.482H211.197C208.375 177.483 205.582 176.909 202.989 175.795C200.395 174.68 198.057 173.049 196.115 171H239.405C237.463 173.049 235.124 174.68 232.531 175.795C229.938 176.909 227.145 177.483 224.323 177.482Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M114.295 263.637H107.048V243.031H121.889L114.295 263.637Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M253.311 123.421V21.4297L63.2111 21.4297V123.421L253.311 123.421Z",fill:"#F5F5F5"}),A.jsx("path",{d:"M298.259 95.5859L295.135 104.097H298.259L317.367 95.5859H298.259Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M295.135 95.5859V104.097L314.251 95.5859H295.135Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M330.944 95.5859L327.819 104.097H330.944L350.052 95.5859H330.944Z",fill:"#F0F0F0"}),A.jsx("path",{d:"M281.116 95.9844H301.899V89.5022H281.116V95.9844Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M126.752 151.181C126.752 151.181 112.588 126.774 132.236 107.344C132.236 107.344 137.365 110.685 137.285 115.179C137.204 119.672 131.793 120.815 132.961 124.552C134.128 128.288 139.233 131.984 135.876 135.084C132.518 138.184 136.415 140.938 136.19 144.747C135.964 148.556 126.752 151.181 126.752 151.181Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M127.823 153.414C127.823 153.414 133.564 125.787 108.795 113.539C108.795 113.539 104.986 118.33 106.476 122.566C107.966 126.801 113.457 126.181 113.538 130.103C113.618 134.024 109.93 139.129 114.085 141.014C118.24 142.898 115.422 146.747 116.839 150.274C118.257 153.801 127.823 153.414 127.823 153.414Z",fill:"#E0E0E0"}),A.jsx("path",{d:"M106.13 147.289C106.13 147.289 106.597 165.503 124.65 165.503C142.704 165.503 143.171 147.289 143.171 147.289H106.13Z",fill:"#F0F0F0"}),A.jsxs("g",{className:"text-primary-100 dark:text-primary-600",children:[A.jsx("path",{d:"M200.206 47.7579C158.769 61.7449 67.3422 5.24152 53.4519 73.7348C42.0337 129.948 99.4953 186.355 174.237 205.544C227.294 219.168 299.282 195.768 311.562 129.683C319.244 88.3498 288.21 41.155 263.707 31.7498C233.084 20.0095 227.23 38.6507 200.206 47.7579Z",fill:"currentColor"}),A.jsx("path",{d:"M201.309 299.996C287.535 299.996 357.436 295.915 357.436 290.881C357.436 285.847 287.535 281.766 201.309 281.766C115.082 281.766 45.1816 285.847 45.1816 290.881C45.1816 295.915 115.082 299.996 201.309 299.996Z",fill:"#F5F5F5"})]}),A.jsxs("g",{className:"text-primary-500",children:[A.jsx("path",{d:"M150.217 59.008C150.22 57.5082 150.099 56.0107 149.855 54.5309C148.776 47.9903 145.425 42.0395 140.393 37.7244C135.361 33.4094 128.969 31.0063 122.34 30.9375H122.098C117.651 30.9402 113.269 32.0003 109.312 34.0305C105.355 36.0606 101.938 39.0025 99.3424 42.6134C98.9157 43.2012 98.5372 43.8052 98.1507 44.4091C98.1192 44.4489 98.0922 44.4922 98.0702 44.5379C95.4268 48.9098 94.0342 53.9233 94.044 59.0322V59.0885C94.0606 65.0262 95.9585 70.8059 99.4652 75.5975C102.972 80.3891 107.907 83.9461 113.562 85.7576C119.216 87.5692 125.3 87.542 130.938 85.6801C136.576 83.8181 141.479 80.2173 144.943 75.3945C145.362 74.8067 145.748 74.2108 146.127 73.5989C146.158 73.559 146.185 73.5158 146.207 73.47C148.847 69.1094 150.235 64.1056 150.217 59.008ZM95.2438 58.3719C95.3369 53.7742 96.6215 49.2795 98.972 45.3271H107.757C106.415 49.5468 105.712 53.9439 105.672 58.3719H95.2438ZM108.989 45.3271H121.519V58.3719H106.879C106.906 53.9408 107.618 49.5406 108.989 45.3271ZM122.726 44.1192V32.1051C124.468 32.263 126.136 32.8829 127.558 33.9008C130.545 35.9461 133.05 39.5374 134.805 44.1192H122.726ZM135.24 45.3271C136.236 48.3435 136.884 51.4639 137.172 54.6275C137.293 55.8837 137.35 57.1318 137.366 58.3719H122.726V45.3271H135.24ZM119.747 32.4433C120.325 32.279 120.919 32.1765 121.519 32.1373V44.1434H109.44C111.695 38.0719 115.351 33.6592 119.747 32.4191V32.4433ZM121.519 59.6039V72.6487H109.013C108.017 69.6248 107.374 66.4958 107.097 63.3241C106.984 62.0679 106.92 60.8198 106.904 59.5797L121.519 59.6039ZM121.519 73.8565V85.8706C119.777 85.7116 118.11 85.0918 116.687 84.075C113.708 82.0297 111.204 78.4383 109.44 73.8565H121.519ZM124.498 85.5566C123.92 85.7216 123.326 85.8242 122.726 85.8626V73.8324H134.805C132.55 79.8797 128.895 84.3004 124.498 85.5324V85.5566ZM122.726 72.6728V59.5878H137.366C137.343 64.0191 136.631 68.42 135.256 72.6326L122.726 72.6728ZM138.573 59.5878H149.042C148.944 64.1847 147.66 68.6784 145.313 72.6326H136.488C137.83 68.4128 138.533 64.0158 138.573 59.5878ZM149.042 58.3799H138.573C138.573 57.1076 138.493 55.8193 138.372 54.5228C138.097 51.4018 137.479 48.3205 136.528 45.3351H145.297C146.992 48.2123 148.136 51.3799 148.671 54.6758C148.863 55.8993 148.976 57.1339 149.009 58.3719L149.042 58.3799ZM137.873 37.1781C140.505 39.0739 142.774 41.4278 144.572 44.1273H136.085C134.282 39.1429 131.568 35.1972 128.242 32.9103L127.985 32.7412C131.536 33.5364 134.888 35.043 137.841 37.17L137.873 37.1781ZM116.236 32.7573C112.846 34.9878 110.06 39.0462 108.184 44.1273H99.729L100.317 43.2657C104.141 37.9275 109.796 34.1839 116.204 32.7493L116.236 32.7573ZM95.3002 59.5878H105.728C105.728 60.86 105.808 62.1484 105.929 63.4448C106.208 66.5654 106.826 69.6462 107.773 72.6326H98.9559C97.2579 69.757 96.1135 66.5888 95.582 63.2919C95.3815 62.0667 95.2685 60.8289 95.2438 59.5878H95.3002ZM99.7612 73.8404H108.184C109.988 78.8248 112.701 82.7705 116.027 85.0574L116.293 85.2265C109.527 83.6898 103.609 79.614 99.7612 73.8404ZM128.033 85.2023C131.415 82.9798 134.201 78.9134 136.085 73.8324H144.524C144.331 74.1223 144.138 74.4121 143.936 74.694C140.109 80.0346 134.447 83.7761 128.033 85.2023Z",fill:"currentColor"}),A.jsx("path",{d:"M333.601 72.3828H80.4351V133.726H333.601V72.3828Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M333.601 72.3828H80.4351V133.726H333.601V72.3828Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M327.892 78.0938H74.7261V139.437H327.892V78.0938Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M327.892 78.0938H74.7261V139.437H327.892V78.0938Z",fill:"black"}),A.jsx("path",{d:"M322.183 83.8125H69.0166V145.155H322.183V83.8125Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.1",d:"M322.183 83.8125H69.0166V145.155H322.183V83.8125Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M310.104 133.069V95.8828L81.0956 95.8828V133.069H310.104Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.9",d:"M310.104 133.069V95.8828L81.0956 95.8828V133.069H310.104Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M271.582 95.8846V133.07H272.927V95.8846H271.582Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M271.582 95.8846V133.07H272.927V95.8846H271.582Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M86.8047 101.01V127.938H88.1494V101.01H86.8047Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M86.8047 101.01V127.938H88.1494V101.01H86.8047Z",fill:"#FAFAFA"}),A.jsxs("g",{className:"text-primary-300 dark:text-primary-500",children:[A.jsx("path",{d:"M290.231 119.174C289.254 119.174 288.292 118.933 287.431 118.472C286.569 118.011 285.834 117.345 285.292 116.532C284.749 115.72 284.415 114.786 284.32 113.813C284.224 112.841 284.37 111.86 284.744 110.957C285.117 110.055 285.708 109.258 286.464 108.638C287.219 108.018 288.115 107.594 289.074 107.403C290.032 107.213 291.022 107.261 291.958 107.545C292.893 107.828 293.743 108.338 294.434 109.028C295.266 109.859 295.832 110.919 296.062 112.072C296.291 113.225 296.174 114.42 295.724 115.506C295.274 116.592 294.512 117.521 293.534 118.174C292.556 118.827 291.407 119.175 290.231 119.174ZM290.231 108.908C289.229 108.908 288.257 109.256 287.483 109.892C286.708 110.528 286.178 111.414 285.983 112.397C285.788 113.38 285.94 114.401 286.413 115.285C286.887 116.169 287.652 116.861 288.578 117.244C289.505 117.626 290.535 117.676 291.494 117.384C292.453 117.092 293.281 116.476 293.837 115.642C294.393 114.808 294.643 113.807 294.543 112.809C294.443 111.812 294.001 110.88 293.291 110.172C292.893 109.762 292.418 109.435 291.893 109.211C291.367 108.987 290.802 108.87 290.231 108.867V108.908Z",fill:"currentColor"}),A.jsx("path",{d:"M297.937 121.701C297.831 121.701 297.725 121.679 297.627 121.638C297.529 121.596 297.44 121.536 297.365 121.46L293.299 117.393C293.215 117.321 293.146 117.232 293.098 117.132C293.05 117.033 293.022 116.924 293.018 116.813C293.014 116.702 293.033 116.591 293.073 116.488C293.114 116.385 293.175 116.291 293.253 116.212C293.332 116.134 293.426 116.073 293.529 116.032C293.632 115.992 293.743 115.973 293.854 115.977C293.965 115.981 294.074 116.009 294.173 116.057C294.273 116.105 294.362 116.174 294.434 116.258L298.501 120.324C298.651 120.475 298.735 120.679 298.735 120.892C298.735 121.105 298.651 121.309 298.501 121.46C298.352 121.612 298.15 121.698 297.937 121.701Z",fill:"currentColor"})]}),A.jsx("path",{d:"M171.878 39.2656C170.528 39.2656 169.234 39.8018 168.279 40.7562C167.325 41.7106 166.789 43.005 166.789 44.3547V61.1439C166.789 62.4936 167.325 63.788 168.279 64.7424C169.234 65.6968 170.528 66.2329 171.878 66.2329C173.227 66.2329 174.522 65.6968 175.476 64.7424C176.431 63.788 176.967 62.4936 176.967 61.1439V44.3547C176.967 43.005 176.431 41.7106 175.476 40.7562C174.522 39.8018 173.227 39.2656 171.878 39.2656Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.2",d:"M171.878 39.2656C170.528 39.2656 169.234 39.8018 168.279 40.7562C167.325 41.7106 166.789 43.005 166.789 44.3547V61.1439C166.789 62.4936 167.325 63.788 168.279 64.7424C169.234 65.6968 170.528 66.2329 171.878 66.2329C173.227 66.2329 174.522 65.6968 175.476 64.7424C176.431 63.788 176.967 62.4936 176.967 61.1439V44.3547C176.967 43.005 176.431 41.7106 175.476 40.7562C174.522 39.8018 173.227 39.2656 171.878 39.2656Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M184.633 29.2579C183.287 29.2643 181.999 29.8032 181.05 30.7569C180.101 31.7106 179.568 33.0014 179.568 34.347V61.1452C179.568 62.4949 180.104 63.7893 181.058 64.7437C182.013 65.6981 183.307 66.2343 184.657 66.2343C186.007 66.2343 187.301 65.6981 188.255 64.7437C189.21 63.7893 189.746 62.4949 189.746 61.1452V34.347C189.746 33.6766 189.614 33.0129 189.356 32.3939C189.099 31.7748 188.722 31.2127 188.247 30.7399C187.772 30.267 187.208 29.8926 186.588 29.6383C185.968 29.384 185.303 29.2547 184.633 29.2579Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M184.633 29.2579C183.287 29.2643 181.999 29.8032 181.05 30.7569C180.101 31.7106 179.568 33.0014 179.568 34.347V61.1452C179.568 62.4949 180.104 63.7893 181.058 64.7437C182.013 65.6981 183.307 66.2343 184.657 66.2343C186.007 66.2343 187.301 65.6981 188.255 64.7437C189.21 63.7893 189.746 62.4949 189.746 61.1452V34.347C189.746 33.6766 189.614 33.0129 189.356 32.3939C189.099 31.7748 188.722 31.2127 188.247 30.7399C187.772 30.267 187.208 29.8926 186.588 29.6383C185.968 29.384 185.303 29.2547 184.633 29.2579Z",fill:"black"}),A.jsx("path",{d:"M197.38 49.2656C196.03 49.2656 194.735 49.8018 193.781 50.7562C192.827 51.7106 192.291 53.005 192.291 54.3547V61.1348C192.291 62.4845 192.827 63.7789 193.781 64.7333C194.735 65.6877 196.03 66.2239 197.38 66.2239C198.049 66.2249 198.711 66.0941 199.33 65.8388C199.948 65.5835 200.51 65.2088 200.983 64.7362C201.457 64.2635 201.832 63.7021 202.089 63.0842C202.345 62.4662 202.477 61.8038 202.477 61.1348V54.3547C202.477 53.6857 202.345 53.0233 202.089 52.4053C201.832 51.7874 201.457 51.226 200.983 50.7533C200.51 50.2807 199.948 49.906 199.33 49.6507C198.711 49.3954 198.049 49.2646 197.38 49.2656Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M197.38 49.2656C196.03 49.2656 194.735 49.8018 193.781 50.7562C192.827 51.7106 192.291 53.005 192.291 54.3547V61.1348C192.291 62.4845 192.827 63.7789 193.781 64.7333C194.735 65.6877 196.03 66.2239 197.38 66.2239C198.049 66.2249 198.711 66.0941 199.33 65.8388C199.948 65.5835 200.51 65.2088 200.983 64.7362C201.457 64.2635 201.832 63.7021 202.089 63.0842C202.345 62.4662 202.477 61.8038 202.477 61.1348V54.3547C202.477 53.6857 202.345 53.0233 202.089 52.4053C201.832 51.7874 201.457 51.226 200.983 50.7533C200.51 50.2807 199.948 49.906 199.33 49.6507C198.711 49.3954 198.049 49.2646 197.38 49.2656Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M304.87 164.366H325.444L290.32 127.938L304.87 164.366Z",fill:"currentColor"}),A.jsx("path",{d:"M304.87 164.366H325.444L290.32 127.938L304.87 164.366Z",fill:"black"}),A.jsx("g",{style:{mixBlendMode:"multiply"},children:A.jsx("path",{d:"M285.094 145.137L290.32 127.938L293.283 145.137H285.094Z",fill:"currentColor"})}),A.jsx("path",{d:"M290.32 127.938V178.909L293.959 175.277L304.87 164.366L290.32 127.938Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M290.32 127.938V178.909L293.959 175.277L304.87 164.366L290.32 127.938Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M326.7 18.6094H281.607C279.322 18.6178 277.132 19.5289 275.516 21.1442C273.899 22.7594 272.986 24.9481 272.975 27.2334V50.5208C272.986 52.8048 273.898 54.9922 275.513 56.6073C277.128 58.2223 279.315 59.1343 281.599 59.1449H314.686L314.445 67.2858L322.795 59.1449H326.684C328.97 59.1364 331.159 58.2254 332.776 56.6101C334.393 54.9948 335.306 52.8062 335.316 50.5208V27.2334C335.306 24.9508 334.395 22.7646 332.782 21.1498C331.168 19.535 328.983 18.6221 326.7 18.6094ZM280.593 28.5299C280.593 27.8892 280.847 27.2747 281.3 26.8217C281.753 26.3687 282.368 26.1142 283.008 26.1142H293.388C294.028 26.1142 294.643 26.3687 295.096 26.8217C295.549 27.2747 295.804 27.8892 295.804 28.5299C295.804 29.1706 295.549 29.785 295.096 30.238C294.643 30.6911 294.028 30.9456 293.388 30.9456H283C282.361 30.9434 281.749 30.688 281.297 30.2352C280.846 29.7824 280.593 29.1692 280.593 28.5299ZM324.14 51.0765H306.199C305.852 51.1373 305.496 51.1214 305.155 51.0299C304.815 50.9383 304.498 50.7734 304.228 50.5467C303.959 50.3199 303.742 50.0368 303.593 49.7173C303.444 49.3978 303.367 49.0495 303.367 48.697C303.367 48.3445 303.444 47.9962 303.593 47.6767C303.742 47.3571 303.959 47.0741 304.228 46.8473C304.498 46.6206 304.815 46.4556 305.155 46.3641C305.496 46.2726 305.852 46.2567 306.199 46.3175H324.14C324.487 46.2567 324.843 46.2726 325.184 46.3641C325.524 46.4556 325.84 46.6206 326.11 46.8473C326.38 47.0741 326.597 47.3571 326.746 47.6767C326.895 47.9962 326.972 48.3445 326.972 48.697C326.972 49.0495 326.895 49.3978 326.746 49.7173C326.597 50.0368 326.38 50.3199 326.11 50.5467C325.84 50.7734 325.524 50.9383 325.184 51.0299C324.843 51.1214 324.487 51.1373 324.14 51.0765ZM324.14 41.003H285.416C285.069 41.0638 284.712 41.0479 284.372 40.9564C284.032 40.8648 283.715 40.6999 283.445 40.4732C283.175 40.2464 282.958 39.9633 282.809 39.6438C282.661 39.3243 282.583 38.976 282.583 38.6235C282.583 38.271 282.661 37.9227 282.809 37.6032C282.958 37.2836 283.175 37.0006 283.445 36.7738C283.715 36.5471 284.032 36.3821 284.372 36.2906C284.712 36.1991 285.069 36.1832 285.416 36.244H324.14C324.487 36.1832 324.843 36.1991 325.184 36.2906C325.524 36.3821 325.84 36.5471 326.11 36.7738C326.38 37.0006 326.597 37.2836 326.746 37.6032C326.895 37.9227 326.972 38.271 326.972 38.6235C326.972 38.976 326.895 39.3243 326.746 39.6438C326.597 39.9633 326.38 40.2464 326.11 40.4732C325.84 40.6999 325.524 40.8648 325.184 40.9564C324.843 41.0479 324.487 41.0638 324.14 41.003ZM324.14 30.9295H301.215C300.574 30.9295 299.96 30.675 299.507 30.2219C299.053 29.7689 298.799 29.1545 298.799 28.5138C298.799 27.8731 299.053 27.2586 299.507 26.8056C299.96 26.3526 300.574 26.0981 301.215 26.0981H324.14C324.78 26.0981 325.395 26.3526 325.848 26.8056C326.301 27.2586 326.555 27.8731 326.555 28.5138C326.555 29.1545 326.301 29.7689 325.848 30.2219C325.395 30.675 324.78 30.9295 324.14 30.9295Z",fill:"currentColor"}),A.jsx("path",{d:"M256.178 92.4186C254.252 87.1283 251.311 82.2649 247.521 78.1016H183.497C179.707 82.2649 176.767 87.1283 174.841 92.4186L183.698 136.513C190.475 143.859 199.585 148.632 209.481 150.022C219.378 151.413 229.451 149.334 237.988 144.139C246.526 138.944 253.002 130.954 256.316 121.526C259.631 112.098 259.579 101.813 256.17 92.4186H256.178Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.1",d:"M256.178 92.4186C254.252 87.1283 251.311 82.2649 247.521 78.1016H183.497C179.707 82.2649 176.767 87.1283 174.841 92.4186L183.698 136.513C190.475 143.859 199.585 148.632 209.481 150.022C219.378 151.413 229.451 149.334 237.988 144.139C246.526 138.944 253.002 130.954 256.316 121.526C259.631 112.098 259.579 101.813 256.17 92.4186H256.178Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M258.73 109.195C258.273 119.362 254.234 129.04 247.328 136.517H183.714C178.344 130.681 174.678 123.484 173.116 115.708C171.554 107.933 172.156 99.8785 174.857 92.4219H256.185C258.139 97.7885 259.004 103.49 258.73 109.195Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.9",d:"M258.73 109.195C258.273 119.362 254.234 129.04 247.328 136.517H183.714C178.344 130.681 174.678 123.484 173.116 115.708C171.554 107.933 172.156 99.8785 174.857 92.4219H256.185C258.139 97.7885 259.004 103.49 258.73 109.195Z",fill:"#FAFAFA"}),A.jsx("path",{opacity:"0.3",d:"M258.73 109.187C258.229 119.886 253.769 130.018 246.215 137.612C238.662 145.206 228.555 149.721 217.858 150.279C207.161 150.837 196.639 147.398 188.336 140.632C180.034 133.865 174.543 124.253 172.931 113.664C171.32 103.074 173.703 92.2642 179.617 83.3338C185.531 74.4034 194.553 67.9905 204.932 65.3413C215.31 62.6921 226.303 63.9958 235.773 68.9991C245.244 74.0024 252.517 82.348 256.178 92.414C258.131 97.7808 258.998 103.482 258.73 109.187Z",fill:"white"}),A.jsx("path",{opacity:"0.4",d:"M239.896 71.4704L177.683 128.207C177.372 127.633 177.066 127.053 176.765 126.468C174.863 122.66 173.541 118.589 172.844 114.389L226.577 65.3828C231.332 66.6359 235.837 68.6949 239.896 71.4704Z",fill:"white"}),A.jsx("path",{opacity:"0.4",d:"M256.54 93.4584L198.088 146.797C192.025 144.122 186.658 140.089 182.402 135.009L246.273 76.7578C250.928 81.4662 254.44 87.1796 256.54 93.4584Z",fill:"white"}),A.jsx("path",{d:"M258.714 82.2486C253.779 73.6924 246.418 66.7922 237.561 62.421C228.704 58.0498 218.749 56.404 208.956 57.6919C199.163 58.9798 189.973 63.1436 182.547 69.6563C175.121 76.169 169.794 84.738 167.24 94.279C164.686 103.82 165.019 113.904 168.197 123.256C171.376 132.608 177.257 140.807 185.096 146.815C192.935 152.823 202.381 156.371 212.237 157.01C222.094 157.649 231.918 155.35 240.467 150.404C251.918 143.779 260.271 132.88 263.692 120.101C267.113 107.323 265.323 93.7083 258.714 82.2486ZM181.411 126.891C177.518 120.148 175.712 112.402 176.221 104.633C176.729 96.8633 179.531 89.4193 184.27 83.2419C189.01 77.0644 195.474 72.4312 202.847 69.9279C210.22 67.4245 218.169 67.1636 225.69 69.1782C233.211 71.1927 239.966 75.3921 245.1 81.2455C250.234 87.0989 253.518 94.3432 254.535 102.063C255.552 109.782 254.257 117.63 250.815 124.613C247.372 131.597 241.935 137.402 235.193 141.296C230.716 143.882 225.774 145.56 220.649 146.236C215.524 146.911 210.316 146.57 205.322 145.232C200.329 143.895 195.648 141.586 191.546 138.439C187.445 135.292 184.004 131.368 181.419 126.891H181.411Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.1",d:"M258.714 82.2486C253.779 73.6924 246.418 66.7922 237.561 62.421C228.704 58.0498 218.749 56.404 208.956 57.6919C199.163 58.9798 189.973 63.1436 182.547 69.6563C175.121 76.169 169.794 84.738 167.24 94.279C164.686 103.82 165.019 113.904 168.197 123.256C171.376 132.608 177.257 140.807 185.096 146.815C192.935 152.823 202.381 156.371 212.237 157.01C222.094 157.649 231.918 155.35 240.467 150.404C251.918 143.779 260.271 132.88 263.692 120.101C267.113 107.323 265.323 93.7083 258.714 82.2486ZM181.411 126.891C177.518 120.148 175.712 112.402 176.221 104.633C176.729 96.8633 179.531 89.4193 184.27 83.2419C189.01 77.0644 195.474 72.4312 202.847 69.9279C210.22 67.4245 218.169 67.1636 225.69 69.1782C233.211 71.1927 239.966 75.3921 245.1 81.2455C250.234 87.0989 253.518 94.3432 254.535 102.063C255.552 109.782 254.257 117.63 250.815 124.613C247.372 131.597 241.935 137.402 235.193 141.296C230.716 143.882 225.774 145.56 220.649 146.236C215.524 146.911 210.316 146.57 205.322 145.232C200.329 143.895 195.648 141.586 191.546 138.439C187.445 135.292 184.004 131.368 181.419 126.891H181.411Z",fill:"black"}),A.jsx("path",{d:"M100.702 158.539L106.87 159.972L101.757 163.789C101.757 163.789 98.0934 162.13 97.9243 159.529L100.702 158.539Z",fill:"#E4897B"}),A.jsx("path",{d:"M110.172 164.083L105.727 167.046L101.757 163.793L106.871 159.984L110.172 164.083Z",fill:"#E4897B"}),A.jsx("path",{d:"M179.945 133.488C173.391 138.319 166.667 142.909 159.911 147.394C153.155 151.879 146.311 156.252 139.434 160.544C132.557 164.836 125.616 169.039 118.651 173.121C115.172 175.199 111.662 177.212 108.183 179.257C106.455 180.357 104.571 181.191 102.595 181.729C101.54 182.009 100.462 182.19 99.3737 182.269C98.1656 182.367 96.9498 182.305 95.7581 182.084C94.9065 181.915 94.0965 181.58 93.3744 181.099C92.6523 180.617 92.0323 179.997 91.5499 179.275C91.0675 178.554 90.7321 177.744 90.563 176.892C90.3939 176.041 90.3944 175.164 90.5644 174.313C90.6195 174.04 90.6949 173.77 90.7898 173.508C91.1786 172.366 91.7203 171.283 92.4003 170.287C93.0069 169.392 93.6971 168.556 94.4617 167.791C95.918 166.349 97.5818 165.133 99.3978 164.183C102.917 162.178 106.411 160.157 109.954 158.168C117.008 154.182 124.127 150.301 131.261 146.468C138.395 142.635 145.618 138.923 152.882 135.299C160.145 131.676 167.464 128.149 174.937 124.896C176.065 124.397 177.337 124.333 178.509 124.715C179.681 125.097 180.671 125.899 181.288 126.967C181.905 128.034 182.106 129.292 181.852 130.498C181.599 131.705 180.908 132.775 179.913 133.504L179.945 133.488Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.1",d:"M179.945 133.488C173.391 138.319 166.667 142.909 159.911 147.394C153.155 151.879 146.311 156.252 139.434 160.544C132.557 164.836 125.616 169.039 118.651 173.121C115.172 175.199 111.662 177.212 108.183 179.257C106.455 180.357 104.571 181.191 102.595 181.729C101.54 182.009 100.462 182.19 99.3737 182.269C98.1656 182.367 96.9498 182.305 95.7581 182.084C94.9065 181.915 94.0965 181.58 93.3744 181.099C92.6523 180.617 92.0323 179.997 91.5499 179.275C91.0675 178.554 90.7321 177.744 90.563 176.892C90.3939 176.041 90.3944 175.164 90.5644 174.313C90.6195 174.04 90.6949 173.77 90.7898 173.508C91.1786 172.366 91.7203 171.283 92.4003 170.287C93.0069 169.392 93.6971 168.556 94.4617 167.791C95.918 166.349 97.5818 165.133 99.3978 164.183C102.917 162.178 106.411 160.157 109.954 158.168C117.008 154.182 124.127 150.301 131.261 146.468C138.395 142.635 145.618 138.923 152.882 135.299C160.145 131.676 167.464 128.149 174.937 124.896C176.065 124.397 177.337 124.333 178.509 124.715C179.681 125.097 180.671 125.899 181.288 126.967C181.905 128.034 182.106 129.292 181.852 130.498C181.599 131.705 180.908 132.775 179.913 133.504L179.945 133.488Z",fill:"black"}),A.jsx("path",{d:"M109.64 120.387C109.238 121.039 108.779 121.828 108.344 122.569C107.909 123.31 107.482 124.083 107.08 124.864C106.274 126.402 105.469 127.964 104.664 129.55C103.859 131.136 103.206 132.771 102.546 134.382C102.224 135.187 101.886 135.992 101.588 136.797L101.137 138.029C101.048 138.263 101.032 138.359 100.976 138.528C100.92 138.698 100.895 138.859 100.847 139.02C100.533 140.611 100.374 142.229 100.372 143.851C100.332 145.582 100.372 147.346 100.469 149.125C100.565 150.905 100.662 152.693 100.823 154.48C100.984 156.268 101.145 158.088 101.314 159.859L98.2059 160.495C97.6583 158.7 97.2315 156.912 96.8048 155.1C96.378 153.288 96.0559 151.469 95.7419 149.617C95.4278 147.765 95.2185 145.904 95.0816 143.98C94.9141 141.965 94.9654 139.937 95.2346 137.933C95.2829 137.651 95.3231 137.385 95.3956 137.127C95.4681 136.87 95.5406 136.507 95.605 136.322L95.9995 134.953C96.2572 134.043 96.5551 133.141 96.8611 132.248C97.4812 130.452 98.1576 128.689 98.9145 126.949C99.6714 125.21 100.477 123.511 101.33 121.836C101.773 121.031 102.24 120.169 102.715 119.34C103.19 118.51 103.665 117.729 104.261 116.852L109.64 120.387Z",fill:"#E4897B"}),A.jsx("path",{d:"M106.202 286.657C105.659 286.639 105.119 286.564 104.592 286.431C104.563 286.426 104.537 286.413 104.517 286.393C104.497 286.373 104.484 286.347 104.479 286.318C104.474 286.289 104.477 286.259 104.489 286.232C104.5 286.205 104.519 286.182 104.543 286.165C104.761 286.02 106.661 284.796 107.394 285.127C107.475 285.164 107.545 285.223 107.596 285.296C107.647 285.37 107.677 285.456 107.684 285.545C107.722 285.689 107.719 285.84 107.676 285.982C107.634 286.124 107.553 286.252 107.442 286.351C107.079 286.599 106.639 286.708 106.202 286.657ZM104.97 286.222C106.065 286.439 106.887 286.399 107.201 286.109C107.27 286.043 107.32 285.959 107.347 285.868C107.374 285.776 107.376 285.679 107.354 285.586C107.353 285.544 107.34 285.505 107.317 285.47C107.294 285.436 107.262 285.409 107.225 285.392C106.846 285.223 105.743 285.755 104.97 286.222Z",fill:"currentColor"}),A.jsx("path",{d:"M104.584 286.44C104.56 286.447 104.535 286.447 104.511 286.44C104.488 286.428 104.469 286.409 104.456 286.386C104.443 286.364 104.437 286.338 104.439 286.311C104.439 286.239 104.439 284.435 105.123 283.831C105.208 283.755 105.307 283.698 105.416 283.663C105.524 283.629 105.638 283.617 105.751 283.63C105.87 283.632 105.984 283.674 106.075 283.75C106.166 283.827 106.228 283.932 106.25 284.049C106.395 284.749 105.252 286.102 104.64 286.464C104.62 286.461 104.6 286.453 104.584 286.44ZM105.655 283.896C105.533 283.897 105.415 283.943 105.324 284.025C104.929 284.608 104.726 285.301 104.745 286.005C105.341 285.522 106.049 284.508 105.961 284.081C105.961 284.008 105.904 283.928 105.719 283.904L105.655 283.896Z",fill:"currentColor"}),A.jsx("path",{d:"M134.724 286.66C134.06 286.65 133.399 286.574 132.751 286.435C132.72 286.431 132.691 286.417 132.669 286.395C132.647 286.373 132.633 286.345 132.63 286.314C132.626 286.283 132.632 286.252 132.647 286.225C132.661 286.198 132.683 286.175 132.71 286.161C132.992 286.016 135.489 284.744 136.253 285.162C136.327 285.2 136.39 285.256 136.435 285.325C136.48 285.395 136.506 285.474 136.511 285.557C136.529 285.69 136.513 285.825 136.465 285.95C136.417 286.075 136.339 286.186 136.237 286.273C135.792 286.572 135.258 286.709 134.724 286.66ZM133.242 286.225C134.635 286.459 135.658 286.394 136.044 286.056C136.108 285.996 136.157 285.922 136.187 285.839C136.216 285.756 136.225 285.668 136.213 285.581C136.213 285.548 136.204 285.516 136.187 285.487C136.17 285.459 136.146 285.436 136.117 285.42C135.698 285.194 134.265 285.734 133.242 286.225Z",fill:"currentColor"}),A.jsx("path",{d:"M132.775 286.438C132.762 286.444 132.748 286.446 132.734 286.446C132.721 286.446 132.707 286.444 132.694 286.438C132.671 286.427 132.652 286.408 132.641 286.385C132.629 286.361 132.625 286.335 132.63 286.31C132.63 286.237 132.783 284.546 133.564 283.894C133.788 283.706 134.077 283.613 134.369 283.636C134.78 283.676 134.892 283.886 134.925 284.055C135.037 284.764 133.564 286.116 132.815 286.471L132.775 286.438ZM134.272 283.894C134.083 283.896 133.901 283.964 133.757 284.087C133.295 284.632 133.014 285.308 132.952 286.02C133.709 285.561 134.715 284.498 134.643 284.071C134.643 284.071 134.643 283.926 134.353 283.902L134.272 283.894Z",fill:"currentColor"}),A.jsx("path",{d:"M119.175 96.2109C119.666 99.9714 120.785 107.597 118.063 109.9C118.063 109.9 118.869 113.733 125.729 114.176C133.315 114.667 129.594 110.649 129.594 110.649C125.52 109.393 125.826 106.325 126.736 103.49L119.175 96.2109Z",fill:"#E4897B"}),A.jsx("path",{d:"M133.242 88.569C133.193 88.5679 133.146 88.554 133.105 88.5287C133.07 88.511 133.039 88.4863 133.013 88.4561C132.988 88.426 132.969 88.391 132.958 88.3533C132.947 88.3157 132.943 88.2761 132.948 88.237C132.952 88.198 132.965 88.1602 132.984 88.1261C133.193 87.7001 133.502 87.3312 133.885 87.0507C134.268 86.7702 134.713 86.5866 135.182 86.5156C135.254 86.5184 135.323 86.5472 135.375 86.5968C135.428 86.6463 135.461 86.7131 135.467 86.7849C135.474 86.8567 135.455 86.9285 135.413 86.9871C135.371 87.0457 135.309 87.087 135.239 87.1034C134.872 87.1676 134.524 87.3158 134.224 87.5365C133.924 87.7573 133.678 88.0445 133.507 88.3757C133.485 88.4288 133.448 88.4748 133.401 88.5088C133.354 88.5428 133.299 88.5636 133.242 88.569Z",fill:"#263238"}),A.jsx("path",{d:"M135.408 91.875C135.963 92.9809 136.667 94.0051 137.502 94.9188C137.263 95.1268 136.981 95.28 136.676 95.3676C136.372 95.4552 136.052 95.4752 135.738 95.4261L135.408 91.875Z",fill:"#DE5753"}),A.jsx("path",{d:"M134.877 91.0463C134.925 91.5536 135.231 91.9321 135.553 91.8999C135.875 91.8677 136.117 91.4409 136.068 90.9336C136.02 90.4263 135.714 90.0478 135.384 90.08C135.054 90.1122 134.828 90.5471 134.877 91.0463Z",fill:"#263238"}),A.jsx("path",{d:"M135.279 90.123L136.455 89.6641C136.455 89.6641 135.891 90.6625 135.279 90.123Z",fill:"#263238"}),A.jsx("path",{d:"M125.882 286.284H132.155L132.573 271.773H126.301L125.882 286.284Z",fill:"#E4897B"}),A.jsx("path",{d:"M97.4014 286.284H103.674L105.687 271.773H99.4225L97.4014 286.284Z",fill:"#E4897B"}),A.jsx("path",{d:"M104.06 285.563H97.0144C96.8937 285.561 96.7765 285.604 96.6847 285.682C96.5929 285.761 96.5327 285.87 96.5152 285.989L95.7099 291.562C95.6941 291.702 95.7081 291.845 95.751 291.979C95.7939 292.114 95.8648 292.239 95.9591 292.344C96.0533 292.45 96.1687 292.535 96.2979 292.592C96.427 292.65 96.5669 292.681 96.7084 292.681C99.1241 292.641 100.348 292.496 103.448 292.496C105.349 292.496 108.135 292.689 110.768 292.689C113.401 292.689 113.538 290.088 112.443 289.854C107.531 288.8 106.758 287.342 105.099 285.949C104.809 285.701 104.441 285.564 104.06 285.563Z",fill:"#263238"}),A.jsx("path",{d:"M132.364 285.563H125.326C125.205 285.56 125.087 285.602 124.995 285.68C124.903 285.759 124.843 285.869 124.827 285.989L124.022 291.562C124.007 291.703 124.022 291.845 124.066 291.98C124.11 292.115 124.182 292.239 124.277 292.345C124.372 292.45 124.488 292.535 124.617 292.593C124.747 292.65 124.887 292.681 125.029 292.681C127.444 292.641 128.668 292.496 131.76 292.496C133.669 292.496 137.606 292.689 140.239 292.689C142.873 292.689 143.009 290.088 141.914 289.855C137.002 288.8 135.07 287.342 133.411 285.949C133.119 285.7 132.748 285.563 132.364 285.563Z",fill:"#263238"}),A.jsx("path",{d:"M132.566 271.773L132.356 279.254H126.083L126.301 271.773H132.566Z",fill:"#CE6F64"}),A.jsx("path",{d:"M99.4142 271.773H105.687L104.648 279.254H98.3755L99.4142 271.773Z",fill:"#CE6F64"}),A.jsx("path",{d:"M112.314 121.355C111.124 123.215 109.745 124.948 108.199 126.525L107.483 126.05L99.543 120.776C99.543 120.776 103.875 111.113 107.136 110.622C110.253 110.122 112.523 113.343 113.578 116.79C113.981 118.038 113.312 119.729 112.314 121.355Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M112.314 121.355C111.124 123.215 109.745 124.948 108.199 126.525L107.483 126.05L99.543 120.776C99.543 120.776 103.875 111.113 107.136 110.622C110.253 110.122 112.523 113.343 113.578 116.79C113.981 118.038 113.312 119.729 112.314 121.355Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M112.314 121.356C111.124 123.216 109.745 124.948 108.2 126.526L107.483 126.051C107.837 123.152 108.965 120.277 110.253 119.367C111.042 119.448 111.743 120.285 112.314 121.356Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.4",d:"M112.314 121.356C111.124 123.216 109.745 124.948 108.2 126.526L107.483 126.051C107.837 123.152 108.965 120.277 110.253 119.367C111.042 119.448 111.743 120.285 112.314 121.356Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M139.475 126.189C139.097 128.605 138.605 131.447 137.945 134.821C137.14 139.137 136.012 144.315 134.587 150.507L109.182 148.897C110.277 138.581 110.704 132.204 107.137 110.664C110.743 110.16 114.382 109.921 118.024 109.947C121.88 109.922 125.734 110.172 129.554 110.696C134.483 111.501 140.023 112.983 140.023 112.983C140.023 112.983 141.44 113.539 139.475 126.189Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M139.475 126.189C139.097 128.605 138.605 131.447 137.945 134.821C137.14 139.137 136.012 144.315 134.587 150.507L109.182 148.897C110.277 138.581 110.704 132.204 107.137 110.664C110.743 110.16 114.382 109.921 118.024 109.947C121.88 109.922 125.734 110.172 129.554 110.696C134.483 111.501 140.023 112.983 140.023 112.983C140.023 112.983 141.44 113.539 139.475 126.189Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M139.475 126.189C139.096 128.605 138.605 131.447 137.945 134.821C136.547 131.849 135.387 128.772 134.474 125.617H139.193L139.475 126.189Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.4",d:"M139.475 126.189C139.096 128.605 138.605 131.447 137.945 134.821C136.547 131.849 135.387 128.772 134.474 125.617H139.193L139.475 126.189Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M117.79 90.9223C118.748 97.0663 119.03 99.6913 122.452 102.566C127.597 106.898 134.933 104.37 135.827 98.0567C136.632 92.3798 134.925 83.2806 128.636 81.3964C127.253 80.972 125.784 80.9086 124.369 81.2124C122.954 81.5161 121.641 82.1768 120.554 83.1316C119.467 84.0865 118.642 85.3036 118.158 86.6673C117.674 88.031 117.547 89.4958 117.79 90.9223Z",fill:"#E4897B"}),A.jsx("path",{d:"M127.871 150.068C127.871 150.068 127.468 161.253 126.502 175.361C125.697 187.198 124.481 201.08 122.782 212.144L122.734 212.45C119.682 232.033 106.162 277.803 106.162 277.803H97.6104C97.6104 277.803 104.656 233.595 106.202 214.189C110.124 165.175 100.3 159.627 109.182 148.82L127.871 150.068Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M127.871 150.068C127.871 150.068 127.468 161.253 126.502 175.361C125.697 187.198 124.481 201.08 122.782 212.144L122.734 212.45C119.682 232.033 106.162 277.803 106.162 277.803H97.6104C97.6104 277.803 104.656 233.595 106.202 214.189C110.124 165.175 100.3 159.627 109.182 148.82L127.871 150.068Z",fill:"black"}),A.jsx("path",{d:"M126.503 175.36C125.697 187.197 124.482 201.079 122.783 212.143C119.892 197.769 115.141 176.777 121.518 163.023C123.04 166.929 124.812 171.342 126.503 175.36Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.4",d:"M126.503 175.36C125.697 187.197 124.482 201.079 122.783 212.143C119.892 197.769 115.141 176.777 121.518 163.023C123.04 166.929 124.812 171.342 126.503 175.36Z",fill:"black"}),A.jsx("path",{d:"M134.587 150.513C134.587 150.513 141.834 193.464 141.399 212.58C140.973 232.47 133.685 277.804 133.685 277.804H125.214C125.214 277.804 126.551 233.621 125.802 214.094C124.997 192.804 115.978 149.297 115.978 149.297L134.587 150.513Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M134.587 150.513C134.587 150.513 141.834 193.464 141.399 212.58C140.973 232.47 133.685 277.804 133.685 277.804H125.214C125.214 277.804 126.551 233.621 125.802 214.094C124.997 192.804 115.978 149.297 115.978 149.297L134.587 150.513Z",fill:"black"}),A.jsx("path",{d:"M123.764 278.199H135.126L136.012 274.391L123.362 274.479L123.764 278.199Z",fill:"#263238"}),A.jsx("path",{d:"M96.3701 278.199H107.732L108.618 274.391L96.4506 274.479L96.3701 278.199Z",fill:"#263238"}),A.jsx("path",{d:"M108.892 147.349L107.603 149.555C107.499 149.725 107.7 149.918 107.99 149.934L134.635 151.665C134.86 151.665 135.062 151.585 135.086 151.44L135.464 149.177C135.464 149.024 135.295 148.879 135.046 148.863L109.278 147.188C109.206 147.185 109.134 147.197 109.067 147.225C109 147.253 108.94 147.295 108.892 147.349Z",fill:"#263238"}),A.jsx("path",{d:"M112.161 150.443L111.477 150.394C111.34 150.394 111.235 150.306 111.251 150.225L111.766 147.286C111.766 147.205 111.903 147.141 112.04 147.149L112.733 147.189C112.87 147.189 112.966 147.278 112.958 147.367L112.443 150.298C112.427 150.386 112.298 150.451 112.161 150.443Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M112.161 150.443L111.477 150.394C111.34 150.394 111.235 150.306 111.251 150.225L111.766 147.286C111.766 147.205 111.903 147.141 112.04 147.149L112.733 147.189C112.87 147.189 112.966 147.278 112.958 147.367L112.443 150.298C112.427 150.386 112.298 150.451 112.161 150.443Z",fill:"black"}),A.jsx("path",{d:"M128.837 151.52L128.153 151.48C128.016 151.48 127.911 151.392 127.927 151.303L128.443 148.372C128.443 148.283 128.58 148.227 128.725 148.235L129.409 148.275C129.546 148.275 129.651 148.364 129.635 148.453L129.119 151.384C129.127 151.472 128.998 151.529 128.837 151.52Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.3",d:"M128.837 151.52L128.153 151.48C128.016 151.48 127.911 151.392 127.927 151.303L128.443 148.372C128.443 148.283 128.58 148.227 128.725 148.235L129.409 148.275C129.546 148.275 129.651 148.364 129.635 148.453L129.119 151.384C129.127 151.472 128.998 151.529 128.837 151.52Z",fill:"black"}),A.jsx("path",{d:"M141.463 119.414C142.43 122.635 143.348 125.896 144.242 129.149L146.939 138.885L147.277 140.093L147.366 140.39L147.406 140.543V140.624C147.435 140.731 147.47 140.835 147.511 140.938C147.708 141.427 147.98 141.884 148.316 142.291C149.277 143.306 150.391 144.164 151.617 144.835C154.427 146.356 157.398 147.555 160.475 148.411L160.008 151.551C156.397 151.365 152.84 150.595 149.476 149.272C147.614 148.543 145.898 147.484 144.411 146.148C143.559 145.358 142.85 144.426 142.317 143.394C142.173 143.115 142.047 142.827 141.939 142.532L141.85 142.315L141.794 142.162L141.689 141.864L141.262 140.648C140.135 137.427 139.088 134.206 138.098 130.937C137.107 127.668 136.133 124.447 135.247 121.161L141.463 119.414Z",fill:"#E4897B"}),A.jsx("path",{d:"M140.022 112.946C143.243 114.001 146.625 124.533 146.625 124.533L134.997 129.542C134.997 129.542 130.166 117.721 132.308 115.048C134.45 112.374 136.326 111.738 140.022 112.946Z",fill:"currentColor"}),A.jsx("path",{opacity:"0.6",d:"M140.022 112.946C143.243 114.001 146.625 124.533 146.625 124.533L134.997 129.542C134.997 129.542 130.166 117.721 132.308 115.048C134.45 112.374 136.326 111.738 140.022 112.946Z",fill:"#FAFAFA"}),A.jsx("path",{d:"M133.806 81.0408C131.752 78.5043 115.889 76.6925 115.044 83.6014C109.407 87.5471 114.754 97.7414 115.559 100.334C111.67 101.413 99.1401 105.697 108.312 114.023C117.483 122.349 131.237 120.932 133.926 112.316C135.811 106.293 129.828 96.2114 129.956 92.6845C130.085 89.1575 137.324 85.3488 133.806 81.0408Z",fill:"#263238"}),A.jsx("path",{d:"M116.67 101.6C116.641 101.601 116.612 101.595 116.585 101.582C116.558 101.57 116.535 101.551 116.517 101.528C115.06 99.7562 109.987 90.4476 111.766 86.0189C112.042 85.3317 112.51 84.7386 113.114 84.3102C113.718 83.8818 114.433 83.6364 115.173 83.6031C115.199 83.5998 115.225 83.6018 115.25 83.609C115.275 83.6162 115.299 83.6284 115.319 83.645C115.34 83.6616 115.356 83.6821 115.369 83.7054C115.381 83.7286 115.388 83.7541 115.39 83.7803C115.397 83.8325 115.383 83.8854 115.351 83.9276C115.32 83.9697 115.273 83.9978 115.221 84.0058C114.556 84.0303 113.912 84.2452 113.365 84.6249C112.818 85.0045 112.392 85.533 112.137 86.1477C110.422 90.4315 115.398 99.5227 116.823 101.262C116.849 101.29 116.865 101.326 116.871 101.363C116.876 101.401 116.87 101.44 116.854 101.474C116.838 101.508 116.811 101.537 116.779 101.557C116.746 101.576 116.708 101.586 116.67 101.584V101.6Z",fill:"#263238"}),A.jsx("path",{d:"M128.701 92.3039C128.88 93.4799 129.447 94.5623 130.311 95.3799C131.454 96.475 132.533 95.7262 132.638 94.3331C132.735 93.085 132.252 91.0156 130.899 90.4358C129.546 89.856 128.531 90.9109 128.701 92.3039Z",fill:"#E4897B"}),A.jsx("path",{d:"M156.529 147.546L161.103 145.992L160.386 151.492C160.386 151.492 158.583 152.297 156.248 150.268L154.017 148.843L155.772 147.884C156.013 147.747 156.267 147.634 156.529 147.546Z",fill:"#E4897B"}),A.jsx("path",{d:"M164.3 145.977L162.899 150.784L160.387 151.484L161.103 145.993L164.3 145.977Z",fill:"#E4897B"})]})]}),_X=({icon:t,homePath:e="/home",backToHomeText:r="Back to Home",title:n="404",subtitle:a="PAGE NOT FOUND",description:i="Page doesn't exist or is unavailable",className:s,"data-testid":o})=>A.jsx("div",{className:`flex justify-center items-center h-full ${s||""}`,"data-testid":o,children:A.jsxs("div",{className:"flex flex-col items-center text-neutral-800",children:[A.jsx("div",{className:"mb-4",children:t||A.jsx(OX,{})}),A.jsxs("div",{className:"text-center",children:[A.jsx("h1",{className:"text-6xl font-bold font-inter dark:text-white",children:n}),A.jsx("h1",{className:"text-base font-bold font-inter dark:text-white",children:a}),A.jsx("div",{className:"py-2"}),A.jsx("p",{className:"font-inter text-sm font-medium text-neutral-400",children:i}),A.jsx("div",{className:"py-4"}),A.jsx(nb.Link,{to:e,children:A.jsx("span",{className:"font-inter text-sm text-center text-white font-bold bg-primary-600 px-4 py-2 rounded-lg",children:r})})]})]})}),NX=()=>A.jsx("svg",{className:"w-full h-full min-w-full min-h-full object-cover",viewBox:"0 0 1440 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid slice",children:A.jsxs("g",{opacity:"0.2",children:[A.jsx("path",{d:"M811.5 147C830.001 147 845 132.002 845 113.5C845 94.9985 830.001 80 811.5 80C792.998 80 778 94.9985 778 113.5C778 132.002 792.998 147 811.5 147Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M85.9999 187H30.9999V307H85.9999V187Z",fill:"#3392E9"}),A.jsx("path",{d:"M1343 496V465.687C1367.75 465.687 1387.89 445.411 1387.89 420.5C1387.89 395.589 1367.75 375.313 1343 375.313V345C1384.35 345 1418 378.87 1418 420.5C1418 462.13 1384.35 496 1343 496Z",fill:"#3392E9"}),A.jsx("path",{d:"M0.999878 29H201.311C235.361 29 263 56.5618 263 90.4952C263 124.438 235.351 152 201.311 152H0.999878V29Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M221 71C180.137 71 147 104.128 147 145C147 185.873 180.127 219 221 219V71Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M20.9999 1024C20.9999 914.1 110.535 825 221 825V1024H20.9999Z",fill:"#3392E9"}),A.jsx("path",{d:"M74.9999 544C74.9999 587.628 39.6334 623 -4.00013 623L-4.00012 544L74.9999 544Z",fill:"#3392E9"}),A.jsx("path",{d:"M337.425 883H144.574C139.294 883 135 878.529 135 873C135 867.485 139.281 863 144.574 863H337.425C342.706 863 347 867.471 347 873C347 878.515 342.719 883 337.425 883Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M1203.51 771C1244.62 771 1278 804.363 1278 845.45V1024H1129V845.45C1129 804.363 1162.38 771 1203.49 771H1203.51Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M1181.99 916C1181.99 887.283 1158.26 864 1128.99 864C1099.73 864 1076 887.283 1076 916H1182H1181.99Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M1477.99 664C1477.99 635.283 1454.26 612 1424.99 612C1395.73 612 1372 635.283 1372 664H1478H1477.99Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M37.9999 962C58.4344 962 74.9999 945.435 74.9999 925C74.9999 904.565 58.4344 888 37.9999 888C17.5653 888 0.999878 904.565 0.999878 925C0.999878 945.435 17.5653 962 37.9999 962Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M198.842 955.916H243.034V1000.1L198.842 955.916Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M243.035 955.916H287.24V1000.1L243.035 955.916Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M287.24 955.916H331.433V1000.1L287.24 955.916Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M198.842 911.73H243.034V955.916L198.842 911.73Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M243.035 911.73H287.24V955.916L243.035 911.73Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M287.24 911.73H331.433V955.916L287.24 911.73Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M1342.9 110.06L1372.04 80.9297L1401.17 110.06H1342.9Z",fill:"#3392E9"}),A.jsx("path",{d:"M1342.9 80.9314L1372.04 51.8008L1401.17 80.9314H1342.9Z",fill:"#3392E9"}),A.jsx("path",{d:"M1342.9 51.8025L1372.04 22.6719L1401.17 51.8025H1342.9Z",fill:"#3392E9"}),A.jsx("path",{d:"M85.9999 0H103.462C103.462 14.5232 115.142 26.3374 129.5 26.3374C143.858 26.3374 155.538 14.5232 155.538 0H173C173 24.2641 153.488 44 129.5 44C105.512 44 85.9999 24.2641 85.9999 0Z",fill:"#C6E1F9"}),A.jsx("path",{d:"M788.885 920.476C788.885 981.413 739.294 1030.98 678.367 1030.98V986.601C714.843 986.601 744.521 956.927 744.521 920.457H788.904L788.885 920.476Z",fill:"#8AC0F2"}),A.jsx("path",{d:"M1380 957H1217V993H1380V957Z",fill:"#3392E9"}),A.jsx("ellipse",{cx:"194.163",cy:"48.4738",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 48.4746H315.39",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"48.4738",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"194.163",cy:"63.9094",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 63.9121H315.39",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"63.9094",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"194.163",cy:"79.3566",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 79.3574H315.39",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"79.3566",rx:"1.21227",ry:"1.21209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1179.41",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1179.41 735.332V824.074",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1179.41",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1158.88",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1158.88 735.332V824.074",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1158.88",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1138.33",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1138.33 735.332V824.074",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1138.33",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1117.78",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1117.79 735.332V824.074",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1117.78",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1437 471.777H1340.59C1300.92 471.777 1268.77 439.63 1268.77 399.968V234.196C1268.77 194.533 1300.92 162.387 1340.59 162.387H1437",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 452.629H1340.59C1311.55 452.629 1287.93 429.004 1287.93 399.969V234.197C1287.93 205.162 1311.55 181.537 1340.59 181.537H1437",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 433.479H1340.59C1322.11 433.479 1307.08 418.447 1307.08 399.968V234.197C1307.08 215.718 1322.11 200.686 1340.59 200.686H1437",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 414.331H1340.59C1332.67 414.331 1326.23 407.892 1326.23 399.969V234.198C1326.23 226.275 1332.67 219.836 1340.59 219.836H1437",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M785 12V21",stroke:"#5A5668",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M916.503 -13C929.178 5.73908 936.585 28.3253 936.585 52.5983C936.585 117.33 883.907 170.001 819.165 170.001V122.864C857.92 122.864 889.441 91.3358 889.441 52.5983C889.441 23.1958 871.289 -2.03613 845.614 -12.5032",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M780.26 16.3105H789.204",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M30.9999 14V21",stroke:"#5A5668",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M27.9999 18H34.9999",stroke:"#5A5668",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7071",cy:"941.062",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1749 941.061H140.333",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.555",cy:"941.062",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7071",cy:"961.511",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1752 961.512H140.334",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.555",cy:"961.511",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7071",cy:"981.96",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1752 981.961H140.334",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.555",cy:"981.96",rx:"1.6049",ry:"1.60466",fill:"#C6E1F9",stroke:"#C6E1F9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M6.82031 970.781V980.717",stroke:"#C6E1F9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1.85144 975.75H11.789",stroke:"#C6E1F9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M637.719 1085.64V866.624C637.719 844.187 655.909 826 678.349 826C700.79 826 718.98 844.187 718.98 866.624V1085.64",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M816.859 998.168V1012.99",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M809.449 1005.57H824.269",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1441.64 632.549L1222.62 632.549C1200.19 632.549 1182 614.359 1182 591.918C1182 569.478 1200.19 551.288 1222.62 551.288L1441.64 551.288",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M-15.9995 633L203.012 633C225.45 633 243.637 651.19 243.637 673.63C243.637 696.071 225.45 714.261 203.012 714.261L-15.9995 714.261",stroke:"#3392E9",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1354.17 453.41L1368.99 453.41",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1361.57 460.82L1361.57 446",stroke:"#3392E9",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1405.82 13.3242V22.5996",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1401.17 17.9668H1410.45",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"})]})}),IX=()=>A.jsx("svg",{className:"w-full h-full min-w-full min-h-full object-cover",width:"1440",height:"1024",viewBox:"0 0 1440 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:A.jsxs("g",{opacity:"0.2",children:[A.jsx("path",{d:"M811.5 147C830.002 147 845 132.002 845 113.5C845 94.9985 830.002 80 811.5 80C792.998 80 778 94.9985 778 113.5C778 132.002 792.998 147 811.5 147Z",fill:"#00417D"}),A.jsx("path",{d:"M86 187H31V307H86V187Z",fill:"#016DCF"}),A.jsx("path",{d:"M1343 496V465.687C1367.75 465.687 1387.89 445.411 1387.89 420.5C1387.89 395.589 1367.75 375.313 1343 375.313V345C1384.35 345 1418 378.87 1418 420.5C1418 462.13 1384.35 496 1343 496Z",fill:"#016DCF"}),A.jsx("path",{d:"M1 29H201.311C235.361 29 263 56.5618 263 90.4952C263 124.438 235.351 152 201.311 152H1V29Z",fill:"#00417D"}),A.jsx("path",{d:"M221 71C180.137 71 147 104.128 147 145C147 185.873 180.128 219 221 219V71Z",fill:"#0054A1"}),A.jsx("path",{d:"M21 1024C21 914.1 110.535 825 221 825V1024H21Z",fill:"#016DCF"}),A.jsx("path",{d:"M75 544C75 587.628 39.6335 623 -4.00001 623L-4 544L75 544Z",fill:"#016DCF"}),A.jsx("path",{d:"M337.425 883H144.575C139.294 883 135 878.529 135 873C135 867.485 139.281 863 144.575 863H337.425C342.706 863 347 867.471 347 873C347 878.515 342.719 883 337.425 883Z",fill:"#00325F"}),A.jsx("path",{d:"M1203.51 771C1244.62 771 1278 804.363 1278 845.45V1024H1129V845.45C1129 804.363 1162.38 771 1203.49 771H1203.51Z",fill:"#00417D"}),A.jsx("path",{d:"M1181.99 916C1181.99 887.283 1158.26 864 1128.99 864C1099.73 864 1076 887.283 1076 916H1182H1181.99Z",fill:"#0054A1"}),A.jsx("path",{d:"M1477.99 664C1477.99 635.283 1454.26 612 1424.99 612C1395.73 612 1372 635.283 1372 664H1478H1477.99Z",fill:"#0054A1"}),A.jsx("path",{d:"M38 962C58.4345 962 75 945.435 75 925C75 904.565 58.4345 888 38 888C17.5655 888 1 904.565 1 925C1 945.435 17.5655 962 38 962Z",fill:"#0054A1"}),A.jsx("path",{d:"M198.842 955.916H243.034V1000.1L198.842 955.916Z",fill:"#00417D"}),A.jsx("path",{d:"M243.035 955.916H287.24V1000.1L243.035 955.916Z",fill:"#00417D"}),A.jsx("path",{d:"M287.24 955.916H331.433V1000.1L287.24 955.916Z",fill:"#00417D"}),A.jsx("path",{d:"M198.842 911.73H243.034V955.916L198.842 911.73Z",fill:"#00417D"}),A.jsx("path",{d:"M243.035 911.73H287.24V955.916L243.035 911.73Z",fill:"#00417D"}),A.jsx("path",{d:"M287.24 911.73H331.433V955.916L287.24 911.73Z",fill:"#00417D"}),A.jsx("path",{d:"M1342.9 110.06L1372.04 80.9297L1401.17 110.06H1342.9Z",fill:"#016DCF"}),A.jsx("path",{d:"M1342.9 80.9314L1372.04 51.8008L1401.17 80.9314H1342.9Z",fill:"#016DCF"}),A.jsx("path",{d:"M1342.9 51.8025L1372.04 22.6719L1401.17 51.8025H1342.9Z",fill:"#016DCF"}),A.jsx("path",{d:"M86 0H103.462C103.462 14.5232 115.142 26.3374 129.5 26.3374C143.858 26.3374 155.538 14.5232 155.538 0H173C173 24.2641 153.488 44 129.5 44C105.512 44 86 24.2641 86 0Z",fill:"#00325F"}),A.jsx("path",{d:"M788.885 920.476C788.885 981.413 739.294 1030.98 678.367 1030.98V986.601C714.843 986.601 744.521 956.927 744.521 920.457H788.904L788.885 920.476Z",fill:"#0054A1"}),A.jsx("path",{d:"M1380 957H1217V993H1380V957Z",fill:"#016DCF"}),A.jsx("ellipse",{cx:"194.163",cy:"48.4738",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 48.4746H315.39",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"48.4738",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"194.163",cy:"63.9094",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 63.9121H315.39",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"63.9094",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"194.163",cy:"79.3566",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M210.329 79.3574H315.39",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"323.468",cy:"79.3566",rx:"1.21227",ry:"1.21209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1179.41",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1179.41 735.332V824.074",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1179.41",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1158.88",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1158.88 735.332V824.074",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1158.88",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1138.33",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1138.33 735.332V824.074",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1138.33",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1117.78",cy:"715.612",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1117.79 735.332V824.074",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"1117.78",cy:"833.925",rx:"1.61233",ry:"1.61209",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1437 471.777H1340.59C1300.92 471.777 1268.77 439.63 1268.77 399.968V234.196C1268.77 194.533 1300.92 162.387 1340.59 162.387H1437",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 452.629H1340.59C1311.55 452.629 1287.93 429.004 1287.93 399.969V234.197C1287.93 205.162 1311.55 181.537 1340.59 181.537H1437",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 433.479H1340.59C1322.11 433.479 1307.08 418.447 1307.08 399.968V234.197C1307.08 215.718 1322.11 200.686 1340.59 200.686H1437",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1437 414.331H1340.59C1332.67 414.331 1326.23 407.892 1326.23 399.969V234.198C1326.23 226.275 1332.67 219.836 1340.59 219.836H1437",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M785 12V21",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M916.503 -13C929.178 5.73908 936.585 28.3253 936.585 52.5983C936.585 117.33 883.907 170.001 819.165 170.001V122.864C857.92 122.864 889.442 91.3358 889.442 52.5983C889.442 23.1958 871.289 -2.03613 845.614 -12.5032",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M780.26 16.3105H789.204",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M31 14V21",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M28 18H35",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7072",cy:"941.062",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.175 941.061H140.334",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.556",cy:"941.062",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7072",cy:"961.511",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1753 961.512H140.334",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.556",cy:"961.511",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"61.7072",cy:"981.96",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M84.1753 981.961H140.334",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("ellipse",{cx:"151.556",cy:"981.96",rx:"1.6049",ry:"1.60466",fill:"#00325F",stroke:"#00325F",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M6.82056 970.781V980.717",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1.85156 975.75H11.7891",stroke:"#00325F",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M637.719 1085.64V866.624C637.719 844.187 655.909 826 678.349 826C700.79 826 718.98 844.187 718.98 866.624V1085.64",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M816.859 998.168V1012.99",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M809.449 1005.57H824.269",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1441.64 632.549L1222.62 632.549C1200.19 632.549 1182 614.359 1182 591.918C1182 569.478 1200.19 551.288 1222.62 551.288L1441.64 551.288",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M-15.9995 632.998L203.012 632.998C225.45 632.998 243.637 651.188 243.637 673.628C243.637 696.069 225.45 714.259 203.012 714.259L-15.9995 714.259",stroke:"#016DCF",strokeMiterlimit:"10"}),A.jsx("path",{d:"M1354.17 453.408L1368.99 453.408",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1361.57 460.818L1361.57 445.998",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1405.82 13.3242V22.5996",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M1401.17 17.9668H1410.45",stroke:"#016DCF",strokeLinecap:"round",strokeLinejoin:"round"})]})}),DX=()=>A.jsxs("svg",{width:"38",height:"31",viewBox:"0 0 38 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A.jsx("g",{clipPath:"url(#clip0_7056_325387)",children:A.jsx("path",{d:"M2.31781 0.693522C1.70082 0.207047 0.804997 0.319767 0.318522 0.936759C-0.167953 1.55375 -0.0552329 2.44958 0.561759 2.93605L35.6829 30.4634C36.2998 30.9499 37.1957 30.8371 37.6821 30.2202C38.1686 29.6032 38.0559 28.7073 37.4389 28.2209L29.0443 21.6416L34.4133 16.2726C37.7652 12.9206 37.7652 7.4923 34.4133 4.14037C31.447 1.17406 26.7721 0.788444 23.3608 3.22675L23.2659 3.29201C22.4116 3.90307 22.2158 5.08959 22.8269 5.93796C23.4379 6.78632 24.6245 6.98803 25.4728 6.37697L25.5677 6.31171C27.4721 4.95314 30.0765 5.16672 31.7258 6.82192C33.5946 8.69069 33.5946 11.7163 31.7258 13.5851L26.0305 19.2804L24.138 17.7973C25.5796 14.6055 24.9389 10.779 22.3819 8.22201C19.2851 5.11925 14.4026 4.88788 11.0328 7.5279L2.31781 0.693522ZM14.1949 10.0018C15.9806 9.11784 18.2113 9.41447 19.7004 10.9095C20.8869 12.096 21.3319 13.7749 20.9878 15.3293L14.1949 10.0018ZM24.138 25.0944L13.1211 16.409C12.9965 18.7702 13.8449 21.1611 15.6247 22.9349C17.9325 25.2427 21.2251 25.9605 24.1439 25.0884L24.138 25.0944ZM6.93339 11.5383L3.58739 14.8843C0.235465 18.2363 0.235465 23.6646 3.58739 27.0165C6.5537 29.9829 11.2286 30.3685 14.6399 27.9302L14.7348 27.8649C15.5891 27.2538 15.7849 26.0673 15.1738 25.219C14.5627 24.3706 13.3762 24.1689 12.5278 24.7799L12.4329 24.8452C10.5286 26.2038 7.92414 25.9902 6.27487 24.335C4.4061 22.4603 4.4061 19.4347 6.27487 17.5659L9.94123 13.8995L6.93932 11.5324L6.93339 11.5383Z",fill:"#0077E3"})}),A.jsx("defs",{children:A.jsx("clipPath",{id:"clip0_7056_325387",children:A.jsx("path",{d:"M0.015625 0.390625H37.9844V30.7656H0.015625V0.390625Z",fill:"white"})})})]}),RX=()=>A.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A.jsx("g",{clipPath:"url(#clip0_7056_325398)",children:A.jsx("path",{d:"M9 18C11.3869 18 13.6761 17.0518 15.364 15.364C17.0518 13.6761 18 11.3869 18 9C18 6.61305 17.0518 4.32387 15.364 2.63604C13.6761 0.948212 11.3869 0 9 0C6.61305 0 4.32387 0.948212 2.63604 2.63604C0.948212 4.32387 0 6.61305 0 9C0 11.3869 0.948212 13.6761 2.63604 15.364C4.32387 17.0518 6.61305 18 9 18ZM7.59375 11.8125H8.4375V9.5625H7.59375C7.12617 9.5625 6.75 9.18633 6.75 8.71875C6.75 8.25117 7.12617 7.875 7.59375 7.875H9.28125C9.74883 7.875 10.125 8.25117 10.125 8.71875V11.8125H10.4062C10.8738 11.8125 11.25 12.1887 11.25 12.6562C11.25 13.1238 10.8738 13.5 10.4062 13.5H7.59375C7.12617 13.5 6.75 13.1238 6.75 12.6562C6.75 12.1887 7.12617 11.8125 7.59375 11.8125ZM9 4.5C9.29837 4.5 9.58452 4.61853 9.7955 4.8295C10.0065 5.04048 10.125 5.32663 10.125 5.625C10.125 5.92337 10.0065 6.20952 9.7955 6.4205C9.58452 6.63147 9.29837 6.75 9 6.75C8.70163 6.75 8.41548 6.63147 8.2045 6.4205C7.99353 6.20952 7.875 5.92337 7.875 5.625C7.875 5.32663 7.99353 5.04048 8.2045 4.8295C8.41548 4.61853 8.70163 4.5 9 4.5Z",fill:"#DC6803"})}),A.jsx("defs",{children:A.jsx("clipPath",{id:"clip0_7056_325398",children:A.jsx("path",{d:"M0 0H18V18H0V0Z",fill:"white"})})})]}),PX=({className:t,title:e,description:r,warningTitle:n="What does this mean?",warningDescription:a="While your SSO provider authenticated you successfully, we need to connect your identity to a LambdaX user account before you can access the platform.",icon:i,warningIcon:s,"data-testid":o})=>A.jsxs("div",{className:`relative flex justify-center items-center min-h-screen w-full bg-[#F9FCFF] dark:bg-gradient-to-r dark:from-[#111827] dark:to-[#000000] overflow-hidden ${t||""}`,"data-testid":o,children:[A.jsx("div",{className:"block dark:hidden absolute inset-0 w-full h-full",children:A.jsx(NX,{})}),A.jsx("div",{className:"hidden dark:block absolute inset-0 w-full h-full",children:A.jsx(IX,{})}),A.jsxs("div",{className:"relative z-10 flex flex-col items-center max-w-[584px] mx-auto p-8 bg-white dark:bg-[#080C11] border border-neutral-200 dark:border-neutral-700 dark:border-none rounded-[20px] dark:shadow-[0px_0px_20px_0px_rgba(0,0,0,0.05)] overflow-hidden",children:[A.jsx("div",{className:"mb-6",children:A.jsx("div",{className:"w-44 h-44 rounded-full flex items-center justify-center",style:{border:"1px solid rgba(255, 255, 255, 0.05)"},children:A.jsx("div",{className:"w-44 h-44 rounded-full flex items-center justify-center border dark:border-primary-900 border-primary-900/20",children:A.jsx("div",{className:"w-36 h-36 rounded-full flex items-center justify-center border dark:border-primary-600 border-primary-600/20",children:A.jsx("div",{className:"w-24 h-24 bg-gradient-to-br from-[rgba(198,225,249,0.20)] to-[rgba(138,192,242,0.20)] dark:bg-gradient-to-br dark:from-[rgba(0,50,95,0.20)] dark:to-[rgba(0,65,125,0.14)] rounded-full flex items-center justify-center",children:A.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-[rgba(198,225,249,0.20)] to-[rgba(138,192,242,0.20)] dark:bg-gradient-to-br dark:from-[rgba(0,50,95,0.20)] dark:to-[rgba(0,65,125,0.14)] border border-primary-200 dark:border-primary-900 rounded-full flex items-center justify-center",children:i||A.jsx(DX,{})})})})})})}),A.jsxs("div",{className:"text-center",children:[A.jsx("h1",{className:"text-[32px] font-bold font-inter text-neutral-900 dark:text-white mb-4",children:e||A.jsxs(A.Fragment,{children:["Account Not"," ",A.jsx("span",{className:"bg-gradient-to-r from-[#3392E9] via-[#54A4EC] to-[#016DCF] dark:bg-gradient-to-r dark:from-[#00417D] dark:via-[#00325F] dark:to-[#3392E9] bg-clip-text text-transparent",children:"Linked"})]})}),A.jsx("p",{className:"font-inter text-[20px] font-normal text-neutral-600 dark:text-[#CBD5E1] leading-relaxed font-medium mb-6",children:r||"We couldn't find a LambdaX user account associated with your SSO login credentials. Your authentication was successful, but no account is currently linked."}),A.jsxs("div",{className:"bg-warning-50 dark:bg-warning-900/10 border border-warning-200 dark:border-[#2D1807] dark:bg-[#140C03] rounded-lg p-4 flex items-start gap-3",children:[A.jsx("div",{className:"flex-shrink-0 mt-0.5",children:s||A.jsx(RX,{})}),A.jsxs("div",{className:"text-left",children:[A.jsx("h3",{className:"font-medium text-warning-800 dark:text-white mb-2",children:n}),A.jsx("p",{className:"text-[14px] text-neutral-600 dark:text-[#CBD5E1]",children:a})]})]})]})]})]}),LX=({size:t=150}={})=>A.jsxs("svg",{width:t,height:t,viewBox:"0 0 152 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-white dark:text-neutral-800",children:[A.jsx("path",{d:"M60.6 120C93.737 120 120.6 93.1371 120.6 60C120.6 26.8629 93.737 0 60.6 0C27.463 0 0.600098 26.8629 0.600098 60C0.600098 93.1371 27.463 120 60.6 120Z",fill:"url(#paint0_linear_1711_24584)"}),A.jsx("g",{filter:"url(#filter0_d_1711_24584)",children:A.jsx("path",{d:"M33.4006 27.2H141.4C142.461 27.2 143.479 27.6214 144.229 28.3715C144.979 29.1217 145.4 30.1391 145.4 31.2V51.2C145.4 52.2608 144.979 53.2782 144.229 54.0284C143.479 54.7785 142.461 55.2 141.4 55.2H33.4006C32.3398 55.2 31.3223 54.7785 30.5722 54.0284C29.8221 53.2782 29.4006 52.2608 29.4006 51.2V31.2C29.4006 30.1391 29.8221 29.1217 30.5722 28.3715C31.3223 27.6214 32.3398 27.2 33.4006 27.2V27.2Z",fill:"currentColor"})}),A.jsx("path",{d:"M84.5999 33.6001H63.7999C62.4744 33.6001 61.3999 34.6746 61.3999 36.0001C61.3999 37.3256 62.4744 38.4001 63.7999 38.4001H84.5999C85.9253 38.4001 86.9999 37.3256 86.9999 36.0001C86.9999 34.6746 85.9253 33.6001 84.5999 33.6001Z",className:"fill-primary-200 dark:fill-primary-400"}),A.jsx("path",{d:"M98.9998 44.0005H63.7999C62.4744 44.0005 61.3999 45.075 61.3999 46.4005C61.3999 47.726 62.4744 48.8005 63.7999 48.8005H98.9998C100.325 48.8005 101.4 47.726 101.4 46.4005C101.4 45.075 100.325 44.0005 98.9998 44.0005Z",className:"fill-primary-100 dark:fill-primary-300"}),A.jsx("path",{d:"M54.9995 41.1999C54.9995 34.7933 49.806 29.5999 43.3995 29.5999C36.993 29.5999 31.7996 34.7933 31.7996 41.1999C31.7996 47.6064 36.993 52.7999 43.3995 52.7999C49.806 52.7999 54.9995 47.6064 54.9995 41.1999Z",className:"fill-primary-500 dark:fill-primary-600"}),A.jsx("path",{d:"M42.6804 44.9552C43.6735 44.9551 44.638 44.6228 45.4204 44.0112L47.8804 46.4712L48.6716 45.68L46.2108 43.2192C46.8291 42.4199 47.1583 41.4347 47.145 40.4242C47.1317 39.4138 46.7765 38.4376 46.1374 37.6548C45.4982 36.8721 44.6128 36.3289 43.6254 36.1137C42.6381 35.8986 41.6069 36.0242 40.7001 36.4702C39.7932 36.9161 39.0642 37.656 38.6317 38.5693C38.1992 39.4827 38.0888 40.5155 38.3185 41.4996C38.5481 42.4837 39.1044 43.361 39.8965 43.9886C40.6886 44.6161 41.6699 44.9568 42.6804 44.9552ZM42.6804 37.12C43.3449 37.12 43.9946 37.3171 44.5471 37.6863C45.0997 38.0555 45.5303 38.5803 45.7846 39.1942C46.0389 39.8082 46.1055 40.4838 45.9758 41.1355C45.8462 41.7873 45.5262 42.386 45.0563 42.8559C44.5864 43.3258 43.9877 43.6458 43.3359 43.7755C42.6841 43.9051 42.0085 43.8386 41.3946 43.5843C40.7806 43.33 40.2559 42.8993 39.8867 42.3467C39.5175 41.7942 39.3204 41.1446 39.3204 40.48C39.3204 39.5889 39.6744 38.7343 40.3045 38.1042C40.9346 37.474 41.7893 37.12 42.6804 37.12Z",className:"fill-white dark:fill-neutral-200"}),A.jsx("g",{filter:"url(#filter1_d_1711_24584)",children:A.jsx("path",{d:"M129.4 63.2H21.4006C19.1915 63.2 17.4006 64.9908 17.4006 67.2V87.2C17.4006 89.4091 19.1915 91.2 21.4006 91.2H129.4C131.61 91.2 133.4 89.4091 133.4 87.2V67.2C133.4 64.9908 131.61 63.2 129.4 63.2Z",fill:"currentColor"})}),A.jsx("path",{d:"M72.6001 69.6001H51.8001C50.4747 69.6001 49.4001 70.6746 49.4001 72.0001C49.4001 73.3256 50.4747 74.4001 51.8001 74.4001H72.6001C73.9256 74.4001 75.0001 73.3256 75.0001 72.0001C75.0001 70.6746 73.9256 69.6001 72.6001 69.6001Z",className:"fill-primary-200 dark:fill-primary-400"}),A.jsx("path",{d:"M87.0001 80.0005H51.8001C50.4747 80.0005 49.4001 81.075 49.4001 82.4005C49.4001 83.726 50.4747 84.8005 51.8001 84.8005H87.0001C88.3256 84.8005 89.4001 83.726 89.4001 82.4005C89.4001 81.075 88.3256 80.0005 87.0001 80.0005Z",className:"fill-primary-100 dark:fill-primary-300"}),A.jsx("path",{d:"M42.9995 77.1999C42.9995 70.7933 37.806 65.5999 31.3995 65.5999C24.993 65.5999 19.7996 70.7933 19.7996 77.1999C19.7996 83.6064 24.993 88.7999 31.3995 88.7999C37.806 88.7999 42.9995 83.6064 42.9995 77.1999Z",className:"fill-primary-500 dark:fill-primary-600"}),A.jsx("path",{d:"M30.6804 80.9552C31.6735 80.9551 32.638 80.6228 33.4204 80.0112L35.8804 82.4712L36.6716 81.68L34.2108 79.2192C34.8291 78.4199 35.1583 77.4347 35.145 76.4242C35.1317 75.4138 34.7765 74.4376 34.1374 73.6548C33.4982 72.8721 32.6128 72.3289 31.6254 72.1137C30.6381 71.8986 29.6069 72.0242 28.7001 72.4702C27.7932 72.9161 27.0642 73.656 26.6317 74.5693C26.1992 75.4827 26.0888 76.5155 26.3185 77.4996C26.5481 78.4837 27.1044 79.361 27.8965 79.9886C28.6886 80.6161 29.6699 80.9568 30.6804 80.9552ZM30.6804 73.12C31.3449 73.12 31.9946 73.3171 32.5471 73.6863C33.0997 74.0555 33.5303 74.5803 33.7846 75.1942C34.0389 75.8082 34.1055 76.4838 33.9758 77.1355C33.8462 77.7873 33.5262 78.386 33.0563 78.8559C32.5864 79.3258 31.9877 79.6458 31.3359 79.7755C30.6841 79.9051 30.0085 79.8386 29.3946 79.5843C28.7806 79.33 28.2559 78.8993 27.8867 78.3467C27.5175 77.7942 27.3204 77.1446 27.3204 76.48C27.3204 75.5889 27.6744 74.7343 28.3045 74.1042C28.9346 73.474 29.7893 73.12 30.6804 73.12Z",className:"fill-white dark:fill-neutral-200"}),A.jsxs("defs",{children:[A.jsxs("filter",{id:"filter0_d_1711_24584",x:"23.4006",y:"24.2",width:"128",height:"40",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[A.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),A.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),A.jsx("feOffset",{dy:"3"}),A.jsx("feGaussianBlur",{stdDeviation:"3"}),A.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.161 0"}),A.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1711_24584"}),A.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1711_24584",result:"shape"})]}),A.jsxs("filter",{id:"filter1_d_1711_24584",x:"11.4006",y:"60.2",width:"128",height:"40",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[A.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),A.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),A.jsx("feOffset",{dy:"3"}),A.jsx("feGaussianBlur",{stdDeviation:"3"}),A.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.161 0"}),A.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1711_24584"}),A.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1711_24584",result:"shape"})]}),A.jsxs("linearGradient",{id:"paint0_linear_1711_24584",x1:"60.6",y1:"0",x2:"60.6",y2:"120",gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{className:"[stop-color:var(--color-primary-50)] dark:[stop-color:var(--color-primary-800)]"}),A.jsx("stop",{offset:"1",className:"[stop-color:var(--color-primary-100)] dark:[stop-color:var(--color-primary-900)]"})]})]})]}),DC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"118",height:"120",viewBox:"0 0 118 120",fill:"none",children:[A.jsx("path",{d:"M116.367 120H10.0937C4.82826 120 0.59019 115.762 0.525977 110.496C0.269124 1.84773 0.525976 1.26981 0.590189 0.884529C0.847042 0.242397 1.55339 -0.142879 2.19552 0.0497605C2.77344 0.2424 3.15872 0.88453 3.03029 1.46245C2.83765 3.90255 2.90187 59.2543 3.03029 110.432C3.03029 114.285 6.17674 117.367 10.0295 117.367H116.302C117.009 117.367 117.587 117.945 117.587 118.652C117.587 119.358 117.073 120 116.367 120Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M40.9801 26.3788V103.692C40.9801 106.517 38.7327 108.764 35.9073 108.764H21.6519C18.8266 108.764 16.5791 106.453 16.5791 103.692V26.3788C16.5791 23.5535 18.8266 21.306 21.6519 21.306H35.9073C38.7327 21.2418 40.9801 23.5535 40.9801 26.3788Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M75.0778 60.2812V103.689C75.0778 106.515 72.8303 108.762 70.0049 108.762H55.7496C52.9242 108.762 50.6768 106.45 50.6768 103.689V60.2812C50.6768 57.4558 52.9242 55.2083 55.7496 55.2083H70.0049C72.8303 55.1441 75.0778 57.4558 75.0778 60.2812Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M109.174 38.5807V103.693C109.174 106.518 106.927 108.766 104.102 108.766H89.8463C87.0209 108.766 84.7734 106.454 84.7734 103.693V38.5807C84.7734 35.7553 87.0209 33.5078 89.8463 33.5078H104.102C106.927 33.5078 109.174 35.7553 109.174 38.5807Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M40.9816 13.0824C40.9816 13.4677 40.7889 13.8529 40.5321 14.1098C40.2752 14.3666 39.89 14.5593 39.5047 14.5593H17.929C17.0943 14.5593 16.4521 13.9171 16.4521 13.0824C16.4521 12.6971 16.6448 12.3118 16.9016 12.055C17.1585 11.7981 17.5438 11.6055 17.929 11.6055H39.5047C40.3394 11.6055 40.9816 12.2476 40.9816 13.0824Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M75.0773 46.9925C75.0773 47.3778 74.8846 47.7631 74.6278 48.0199C74.3709 48.2768 73.9857 48.4694 73.6004 48.4694H52.0248C51.19 48.4694 50.5479 47.8273 50.5479 46.9925C50.5479 46.6072 50.7405 46.222 50.9974 45.9651C51.2542 45.7083 51.6395 45.5156 52.0248 45.5156H73.6004C74.4352 45.5156 75.0773 46.1577 75.0773 46.9925Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M109.175 25.2816C109.175 25.6669 108.982 26.0521 108.725 26.309C108.469 26.5659 108.083 26.7585 107.698 26.7585H86.1224C85.2876 26.7585 84.6455 26.1164 84.6455 25.2816C84.6455 24.8963 84.8381 24.511 85.095 24.2542C85.3519 23.9973 85.7371 23.8047 86.1224 23.8047H107.762C108.533 23.8689 109.175 24.511 109.175 25.2816Z",className:"fill-neutral-200 dark:fill-neutral-700"})]}),RC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"180",height:"100",viewBox:"0 0 180 100",fill:"none",children:[A.jsx("path",{d:"M152.143 11.8824C152.412 25.3669 143.934 37.674 131.056 42.5053L119.267 46.9261C112.034 49.6378 106.617 55.9831 105.123 63.4857C102.445 76.9703 98.5765 83.8068 92.9513 84.9911C88.5912 85.9129 84.1772 83.2416 79.8238 77.0511C76.3854 72.1525 74.0304 66.5406 72.8327 60.3703C70.0201 45.8697 66.1713 41.8929 64.1258 40.8096C63.3319 40.3924 62.04 39.9416 59.9003 40.8634C56.4485 42.3438 54.3222 46.1119 54.7192 50.0214C56.0582 63.1695 54.9009 73.4444 51.2809 80.55C49.6324 83.7866 46.6448 86.1417 43.0921 87.0097C42.0963 87.252 41.0802 87.3731 40.0777 87.3731C37.4804 87.3731 34.9303 86.5723 32.7838 85.0449C25.8197 80.0857 22.738 71.3719 21.5268 62.833C21.4192 62.0996 21.547 61.346 21.8969 60.6865C21.9171 60.6529 21.9305 60.6193 21.9507 60.5923C23.5656 57.5913 28.0603 58.3786 28.5246 61.7497C29.507 68.9428 31.8889 75.7995 36.8479 79.3456C38.1667 80.2876 39.8287 80.5971 41.4234 80.2069C42.9979 79.8233 44.31 78.7871 45.0367 77.374C47.1024 73.33 49.2488 65.4169 47.7551 50.7413C47.0351 43.703 50.8099 37.1491 57.1415 34.4307C60.7211 32.8965 64.2671 32.9638 67.4161 34.6191C73.0951 37.6269 77.1188 45.614 79.7228 59.038C80.7321 64.2326 82.6969 68.9361 85.57 73.0272C88.645 77.4077 90.7511 78.3026 91.5114 78.1411C91.8882 78.0604 95.3198 76.9232 98.2602 62.1265C100.218 52.2621 107.33 43.925 116.811 40.3722L128.6 35.9514C138.699 32.1631 145.347 22.5476 145.139 12.0304C145.132 11.7478 145.125 11.4652 145.112 11.1691L152.11 10.8125C152.123 11.1759 152.136 11.5325 152.143 11.8824Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M156.904 15.5032H140.318C139.039 15.5032 138.279 14.0767 138.992 13.0135L147.289 0.706526C147.921 -0.235509 149.307 -0.235509 149.94 0.706526L158.236 13.0135C158.943 14.07 158.182 15.5032 156.904 15.5032Z",className:"fill-primary-600 dark:fill-primary-500"}),A.jsx("path",{d:"M90.0001 99.9979C139.562 99.9979 179.74 98.4585 179.74 96.5595C179.74 94.6605 139.562 93.1211 90.0001 93.1211C40.4382 93.1211 0.260254 94.6605 0.260254 96.5595C0.260254 98.4585 40.4382 99.9979 90.0001 99.9979Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M138.529 71.5442C138.549 71.4433 138.563 71.3356 138.563 71.228C138.643 69.4179 136.497 67.8501 133.765 67.7222C132.541 67.6684 131.417 67.9107 130.529 68.3615C129.459 67.4329 127.797 66.7937 125.913 66.7062C124.197 66.6322 122.623 67.0224 121.492 67.7222C121.23 67.8703 120.988 68.052 120.772 68.2606C120.12 68.8527 119.723 69.5794 119.689 70.3734C119.682 70.5013 119.689 70.6358 119.702 70.7637C119.696 71.0463 119.729 71.3222 119.79 71.5846C117.536 72.1229 115.934 73.4619 115.867 75.097C115.773 77.3377 118.592 79.2756 122.172 79.4371C123.477 79.4977 124.702 79.3093 125.738 78.9392C126.72 79.4977 127.985 79.8678 129.385 79.9283C131.982 80.0427 134.23 79.0738 135.03 77.6338C135.743 77.9568 136.578 78.1654 137.479 78.2058C140.184 78.3269 142.438 76.9138 142.519 75.0567C142.593 73.3812 140.857 71.9008 138.529 71.5442Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M142.519 75.0624C142.438 76.9263 140.184 78.3393 137.479 78.2115C136.578 78.1711 135.743 77.9625 135.03 77.6395C134.23 79.0795 131.982 80.0552 129.385 79.9341C127.985 79.8735 126.714 79.5034 125.738 78.9382C124.702 79.3083 123.477 79.4967 122.172 79.4361C118.592 79.2746 115.773 77.33 115.867 75.096C115.874 74.9817 115.887 74.8673 115.907 74.7529C116.257 76.7446 118.902 78.3864 122.172 78.5345C123.477 78.595 124.702 78.4066 125.738 78.0365C126.72 78.595 127.985 78.9651 129.385 79.0257C131.982 79.1401 134.23 78.1711 135.03 76.7311C135.743 77.0541 136.578 77.2627 137.479 77.3031C140.009 77.4175 142.149 76.1861 142.479 74.5039C142.512 74.6923 142.526 74.874 142.519 75.0624Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M97.6297 16.8372C97.6499 16.7363 97.6633 16.6286 97.6633 16.5209C97.7441 14.7109 95.5976 13.1431 92.8658 13.0152C91.6412 12.9614 90.5175 13.2036 89.6293 13.6545C88.5595 12.7259 86.8975 12.0866 85.0135 11.9992C83.2977 11.9251 81.7232 12.3154 80.5928 13.0152C80.3304 13.1632 80.0881 13.3449 79.8728 13.5535C79.2201 14.1457 78.8231 14.8724 78.7895 15.6664C78.7828 15.7942 78.7895 15.9288 78.803 16.0566C78.803 16.3393 78.8299 16.6151 78.8904 16.8776C76.6363 17.4159 75.0349 18.7549 74.9676 20.39C74.8734 22.6307 77.6927 24.5686 81.2724 24.7301C82.5777 24.7907 83.8023 24.6023 84.8385 24.2322C85.8209 24.7907 87.0859 25.1607 88.4855 25.2213C91.0827 25.3357 93.3301 24.3667 94.1308 22.9268C94.844 23.2498 95.6784 23.4584 96.58 23.4987C99.2849 23.6198 101.539 22.2068 101.62 20.3496C101.694 18.6742 99.9578 17.1938 97.6297 16.8372Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M101.62 20.3554C101.539 22.2193 99.2849 23.6323 96.58 23.5045C95.6784 23.4641 94.844 23.2555 94.1308 22.9325C93.3301 24.3725 91.0827 25.3482 88.4855 25.227C87.0859 25.1665 85.8142 24.7964 84.8385 24.2312C83.8023 24.6013 82.5777 24.7897 81.2724 24.7291C77.6927 24.5676 74.8734 22.623 74.9676 20.389C74.9744 20.2746 74.9878 20.1602 75.008 20.0458C75.3579 22.0376 78.0022 23.6794 81.2724 23.8274C82.5777 23.888 83.8023 23.6996 84.8385 23.3295C85.8209 23.888 87.0859 24.2581 88.4855 24.3186C91.0827 24.433 93.3301 23.4641 94.1308 22.0241C94.844 22.3471 95.6784 22.5557 96.58 22.5961C99.11 22.7105 101.25 21.4791 101.579 19.7969C101.613 19.9786 101.627 20.167 101.62 20.3554Z",className:"fill-primary-100 dark:fill-primary-200"})]}),PC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"188",height:"120",viewBox:"0 0 188 120",fill:"none",children:[A.jsx("path",{d:"M48.3801 42.6445H182.264C183.579 42.6445 184.841 43.167 185.771 44.0969C186.701 45.0268 187.223 46.2881 187.223 47.6032V72.3966C187.223 73.7117 186.701 74.973 185.771 75.9029C184.841 76.8328 183.579 77.3553 182.264 77.3553H48.3801C47.0649 77.3553 45.8037 76.8328 44.8737 75.9029C43.9438 74.973 43.4214 73.7117 43.4214 72.3966V47.6032C43.4214 46.2881 43.9438 45.0268 44.8737 44.0969C45.8037 43.167 47.0649 42.6445 48.3801 42.6445V42.6445Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M111.851 50.5781H86.066C84.4229 50.5781 83.0908 51.9102 83.0908 53.5533C83.0908 55.1965 84.4229 56.5285 86.066 56.5285H111.851C113.494 56.5285 114.826 55.1965 114.826 53.5533C114.826 51.9102 113.494 50.5781 111.851 50.5781Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M129.702 63.4727H86.066C84.4229 63.4727 83.0908 64.8047 83.0908 66.4479C83.0908 68.091 84.4229 69.4231 86.066 69.4231H129.702C131.346 69.4231 132.678 68.091 132.678 66.4479C132.678 64.8047 131.346 63.4727 129.702 63.4727Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M70.1981 45.6211H51.3552C48.6166 45.6211 46.3965 47.8412 46.3965 50.5798V69.4227C46.3965 72.1613 48.6166 74.3814 51.3552 74.3814H70.1981C72.9367 74.3814 75.1568 72.1613 75.1568 69.4227V50.5798C75.1568 47.8412 72.9367 45.6211 70.1981 45.6211Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M5.73553 85.2891H139.62C140.935 85.2891 142.196 85.8115 143.126 86.7414C144.056 87.6714 144.579 88.9326 144.579 90.2477V115.041C144.579 116.356 144.056 117.618 143.126 118.547C142.196 119.477 140.935 120 139.62 120H5.73553C4.42041 120 3.15915 119.477 2.22922 118.547C1.29929 117.618 0.776855 116.356 0.776855 115.041L0.776855 90.2477C0.776855 88.9326 1.29929 87.6714 2.22922 86.7414C3.15915 85.8115 4.42041 85.2891 5.73553 85.2891V85.2891Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M69.2066 93.2227H43.4215C41.7783 93.2227 40.4463 94.5547 40.4463 96.1979C40.4463 97.841 41.7783 99.1731 43.4215 99.1731H69.2066C70.8498 99.1731 72.1818 97.841 72.1818 96.1979C72.1818 94.5547 70.8498 93.2227 69.2066 93.2227Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M87.0579 106.117H43.4215C41.7783 106.117 40.4463 107.449 40.4463 109.092C40.4463 110.736 41.7783 112.068 43.4215 112.068H87.0579C88.701 112.068 90.0331 110.736 90.0331 109.092C90.0331 107.449 88.701 106.117 87.0579 106.117Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M27.5536 88.2656H8.71063C5.97203 88.2656 3.75195 90.4857 3.75195 93.2243V112.067C3.75195 114.806 5.97203 117.026 8.71063 117.026H27.5536C30.2922 117.026 32.5123 114.806 32.5123 112.067V93.2243C32.5123 90.4857 30.2922 88.2656 27.5536 88.2656Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M5.73553 0H139.62C140.935 0 142.196 0.522431 143.126 1.45236C144.056 2.3823 144.579 3.64355 144.579 4.95868V29.7521C144.579 31.0672 144.056 32.3284 143.126 33.2584C142.196 34.1883 140.935 34.7107 139.62 34.7107H5.73553C4.42041 34.7107 3.15915 34.1883 2.22922 33.2584C1.29929 32.3284 0.776855 31.0672 0.776855 29.7521L0.776855 4.95868C0.776855 3.64355 1.29929 2.3823 2.22922 1.45236C3.15915 0.522431 4.42041 0 5.73553 0V0Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M69.2066 7.93359H43.4215C41.7783 7.93359 40.4463 9.26564 40.4463 10.9088C40.4463 12.552 41.7783 13.884 43.4215 13.884H69.2066C70.8498 13.884 72.1818 12.552 72.1818 10.9088C72.1818 9.26564 70.8498 7.93359 69.2066 7.93359Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M87.0579 20.8281H43.4215C41.7783 20.8281 40.4463 22.1602 40.4463 23.8033C40.4463 25.4465 41.7783 26.7785 43.4215 26.7785H87.0579C88.701 26.7785 90.0331 25.4465 90.0331 23.8033C90.0331 22.1602 88.701 20.8281 87.0579 20.8281Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M27.5536 2.97656H8.71063C5.97203 2.97656 3.75195 5.19664 3.75195 7.93524V26.7782C3.75195 29.5168 5.97203 31.7369 8.71063 31.7369H27.5536C30.2922 31.7369 32.5123 29.5168 32.5123 26.7782V7.93524C32.5123 5.19664 30.2922 2.97656 27.5536 2.97656Z",className:"fill-primary-200 dark:fill-primary-300"})]}),LC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"122",height:"120",viewBox:"0 0 122 120",fill:"none",children:[A.jsx("path",{d:"M59.9524 64.1508L67.4659 9.82197C63.9259 9.09951 60.2414 8.73828 56.4846 8.73828C25.7802 8.73828 0.855469 33.6631 0.855469 64.3675C0.855469 95.072 25.7802 119.997 56.4846 119.997C87.189 119.997 112.114 95.072 112.114 64.3675C112.114 62.3447 111.969 60.3218 111.825 58.3712L59.9524 64.1508Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M121.145 48.5492C118.544 24.2746 100.41 4.69598 76.8583 0L69.2725 54.4011L121.145 48.5492Z",className:"fill-primary-600 dark:fill-primary-500"})]}),MC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"130",height:"120",viewBox:"0 0 130 120",fill:"none",children:[A.jsx("path",{d:"M77.6721 117.488C72.2076 119.127 66.4153 120.002 60.4262 120.002C50.7322 120.002 41.5847 117.707 33.4863 113.63L47.7923 85.1602C51.5847 87.0727 55.8798 88.1438 60.4262 88.1438C63.235 88.1438 65.9563 87.7285 68.5136 86.9634L77.6721 117.488Z",className:"fill-primary-200 dark:fill-primary-300"}),A.jsx("path",{d:"M47.7914 85.1572L33.4854 113.627C18.4253 106.042 7.0045 92.3157 2.5127 75.7365L33.2668 67.3867C35.3651 75.1572 40.7313 81.6053 47.7914 85.1572Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M71.4968 1.0164L65.617 32.3279C63.934 32.011 62.1963 31.847 60.4258 31.847C44.8848 31.847 32.2837 44.4481 32.2837 60C32.2837 62.5574 32.6225 65.0274 33.2673 67.388L2.51322 75.7378C1.15803 70.7214 0.425781 65.4427 0.425781 60C0.425781 26.8634 27.2892 0 60.4258 0C64.2072 0 67.9012 0.349732 71.4968 1.0164Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M113.213 31.4536L85.1908 46.6121C81.2236 39.2787 74.0869 33.9126 65.6279 32.3388L71.5077 1.02734C89.5405 4.38254 104.743 15.8252 113.213 31.4536Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M129.574 59.9996C129.574 87.1472 111.552 110.076 86.8196 117.486L77.6611 86.9614C89.2568 83.486 97.7158 72.7318 97.7158 59.9996C97.7158 55.1581 96.4917 50.5897 94.3278 46.6116L122.35 31.4531C126.962 39.9449 129.574 49.6608 129.574 59.9996Z",className:"fill-primary-600 dark:fill-primary-500"})]}),HC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"154",height:"121",viewBox:"0 0 154 121",fill:"none",children:[A.jsx("path",{d:"M147.235 11.9961H6.76416C3.13305 11.9961 0.189453 14.9262 0.189453 18.5407V114.455C0.189453 118.069 3.13305 120.999 6.76416 120.999H147.235C150.866 120.999 153.81 118.069 153.81 114.455V18.5407C153.81 14.9262 150.866 11.9961 147.235 11.9961Z",className:"fill-primary-100 dark:fill-primary-200"}),A.jsx("path",{d:"M133.097 40.9922H20.8837C18.2874 40.9922 16.1826 43.0873 16.1826 45.6717V106.625C16.1826 109.209 18.2874 111.304 20.8837 111.304H133.097C135.693 111.304 137.798 109.209 137.798 106.625V45.6717C137.798 43.0873 135.693 40.9922 133.097 40.9922Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M153.81 30.3633V18.6475C153.812 17.7866 153.643 16.9338 153.314 16.1378C152.985 15.3418 152.501 14.6183 151.89 14.0088C151.279 13.3993 150.554 12.9157 149.755 12.5857C148.956 12.2558 148.1 12.0859 147.235 12.0859H6.76419C5.89935 12.0859 5.04301 12.2558 4.24422 12.5857C3.44542 12.9157 2.71987 13.3993 2.10913 14.0088C1.49839 14.6183 1.01445 15.3418 0.685044 16.1378C0.355636 16.9338 0.187235 17.7866 0.189475 18.6475V30.5159L153.81 30.3633Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M46.3486 1V22.1089",className:"stroke-primary-700 dark:stroke-primary-600",strokeLinecap:"round",strokeLinejoin:"round"}),A.jsx("path",{d:"M107.667 1V22.1089",className:"stroke-primary-700 dark:stroke-primary-600",strokeLinecap:"round",strokeLinejoin:"round"})]}),Bg=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"99",viewBox:"0 0 100 99",fill:"none",className:"transition-colors",children:[A.jsx("path",{d:"M97.4888 26.1504L90.7939 24.3565L92.2998 18.7373C92.6248 17.5253 91.9053 16.2789 90.6932 15.9543L34.7821 0.972364C33.5728 0.648248 32.3296 1.366 32.0055 2.57533L10.9479 81.1624C10.6238 82.3718 11.3416 83.615 12.5509 83.9391L68.4634 98.9211C69.6745 99.2456 70.9195 98.527 71.2441 97.3158L82.1723 56.5301L88.8673 58.3241C90.4711 58.7538 92.1197 57.8018 92.5494 56.1979L99.614 29.8322C100.045 28.2287 99.0927 26.5802 97.4888 26.1504Z",className:"fill-primary-600 dark:fill-primary-500"}),A.jsx("path",{d:"M61.4719 87.828L6.85404 90.5767C5.60905 90.6395 4.54867 89.6806 4.48638 88.4361L0.619124 11.586C0.556378 10.341 1.51472 9.28111 2.75972 9.21836L12.3667 8.7349L57.378 6.46971C58.623 6.40696 59.6829 7.36576 59.7457 8.61076L63.5971 85.1466L63.6129 85.4604C63.6757 86.7054 62.7169 87.7657 61.4719 87.828Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{opacity:"0.5",d:"M63.5975 85.1466L33.8963 83.1708L9.78409 81.5669C8.54 81.4839 7.5988 80.4086 7.68186 79.165L12.3671 8.7349L57.3784 6.46971C58.6234 6.40696 59.6833 7.36576 59.746 8.61076L63.5975 85.1466Z",className:"fill-neutral-200 dark:fill-neutral-700"}),A.jsx("path",{d:"M73.9906 8.45637L73.8145 11.1007L68.8833 85.2342C68.8007 86.4779 67.7254 87.4191 66.4818 87.3365L36.0272 85.3105L11.915 83.7066C10.6709 83.6236 9.72966 82.5483 9.81272 81.3047L14.92 4.52726C15.0026 3.28316 16.0779 2.34196 17.3215 2.42502L30.2166 3.28271L49.3985 4.5584L71.8883 6.05439C73.1324 6.13745 74.0736 7.21272 73.9906 8.45637Z",className:"fill-neutral-100 dark:fill-neutral-800"}),A.jsx("path",{opacity:"0.5",d:"M73.8148 11.0993L68.8835 85.2327C68.8009 86.4764 67.7257 87.4176 66.482 87.335L36.0274 85.309L12.1043 78.899C10.997 78.6019 10.3398 77.4639 10.6368 76.3566L30.2168 3.28125L49.3987 4.55694L73.8148 11.0993Z",className:"fill-neutral-100 dark:fill-neutral-800"}),A.jsx("path",{d:"M66.8301 96.0659L13.6564 81.8179C12.549 81.5213 11.8918 80.3829 12.1884 79.2756L32.1508 4.77509C32.4735 3.57117 33.7108 2.85659 34.9152 3.1789L87.9143 17.3799C89.0216 17.6765 89.6788 18.815 89.3823 19.9223L69.3729 94.5979C69.0759 95.7057 67.9379 96.3629 66.8301 96.0659Z",className:"fill-white dark:fill-neutral-900"})]}),jC=()=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",children:[A.jsx("path",{d:"M60 120C93.1371 120 120 93.1371 120 60C120 26.8629 93.1371 0 60 0C26.8629 0 0 26.8629 0 60C0 93.1371 26.8629 120 60 120Z",className:"fill-primary-50 dark:fill-primary-100"}),A.jsx("path",{d:"M69.9807 23.067L42.3882 93.9844L50.1684 97.0115L77.7609 26.0942L69.9807 23.067Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M29.6704 84.196L11.4722 59.9918L29.6704 35.8477L36.337 40.8326L21.9226 59.9918L36.337 79.151L29.6704 84.196Z",className:"fill-primary-500 dark:fill-primary-400"}),A.jsx("path",{d:"M90.3927 84.196L83.7261 79.151L98.1405 59.9918L83.7261 40.8326L90.3927 35.8477L108.591 59.9918L90.3927 84.196Z",className:"fill-primary-500 dark:fill-primary-400"})]}),MX=({widgetType:t,className:e,"data-testid":r})=>{const a=(()=>{let i,s;switch(t){case"BAR_CHART":i=A.jsx(DC,{}),s="No records found to display.";break;case"PIE_CHART":i=A.jsx(LC,{}),s="Oops! There is no data here.";break;case"DONUT_CHART":i=A.jsx(MC,{}),s="No data to visualize.";break;case"TABLE":i=A.jsx(Bg,{}),s="No entries available at the moment.";break;case"TEXT":i=A.jsx(RC,{}),s="No data available to display.";break;case"CONTENT":i=A.jsx(jC,{}),s="No entries available at the moment.";break;case"TIMELINE_CHART":i=A.jsx(HC,{}),s="No data to visualize.";break;case"CARD_LIST":i=A.jsx(PC,{}),s="No entries available at the moment.";break;default:i=A.jsx(Bg,{}),s="There is no data to display for this widget.";break}return{icon:i,additionaltext:s}})();return A.jsxs("div",{className:`flex flex-col justify-center items-center h-full ${t==="TEXT"?"py-5":""} ${e||""}`,"data-testid":r,children:[a?.icon,A.jsx(ee,{variant:"regular",size:"small",className:"text-center mt-2 dark:text-black-200",appearance:"custom",children:a?.additionaltext})]})},HX=({visible:t,xPos:e,yPos:r,children:n,className:a,containerId:i="full-screen-container","data-testid":s})=>{const l=(()=>{if(typeof document>"u")return null;const c=typeof parent<"u"&&parent!==window?parent.document.getElementById(i):null;if(c)return c;const u=document.getElementById(i);return u||document.body})();return l?yn.createPortal(A.jsx("div",{className:`fixed z-50 bg-white dark:bg-black-700 border shadow-md rounded ${t?"":"hidden"} ${a||""}`,style:{top:r,left:e},"data-testid":s,children:n}),l):null},jX=({hasPermission:t,children:e,title:r="You don't have the required permissions to view this content",subtitle:n="Please contact an administrator if you believe you need access",icon:a,className:i,"data-testid":s})=>t?A.jsx(A.Fragment,{children:e}):A.jsxs("div",{className:`flex flex-col justify-center items-center h-full px-2 py-14 ${i||""}`,"data-testid":s,children:[A.jsx("div",{className:"flex items-center gap-2 w-[70px] h-[70px] bg-neutral-50 dark:bg-black-800 rounded-full justify-center p-1",children:A.jsx("div",{className:"flex items-center gap-2 w-14 h-14 bg-neutral-200 dark:bg-black-700 rounded-full justify-center p-1",children:a||A.jsx(be.VpnKeyOffOutlined,{})})}),A.jsx(ee,{size:"large",variant:"semibold",className:"pt-2 text-center",children:r}),A.jsx(ee,{size:"small",variant:"regular",className:"pt-0.5 text-center",appearance:"subtitle",children:n})]});var Vs={exports:{}},av;function FX(){if(av)return Vs.exports;av=1;const t=(r,n,a)=>{const i=a<0?r.length+a:a,s=r.splice(n,1)[0];r.splice(i,0,s)},e=(r,n,a)=>(r=r.slice(),t(r,n,a),r);return Vs.exports=e,Vs.exports.default=e,Vs.exports.mutate=t,Vs.exports}var UX=FX();const zX=ib(UX),BX=t=>{const{value:e,onOptionChange:r,onSaveOption:n,onDeleteAll:a,required:i,errorMessage:s,hasChoices:o}=t,{t:l}=Kt.useTranslation(),[c,u]=x.useState(!1),f=()=>{a?.(),u(!1)};return A.jsxs(A.Fragment,{children:[A.jsxs("header",{className:"flex items-end w-full gap-3",children:[A.jsx("div",{className:"w-full",children:A.jsx(Ma,{id:"base-input-field-field-options-header",label:"Field Values",onChange:r,value:e,onKeyDown:({key:p})=>{p==="Enter"&&n()},required:i,placeholder:"Press Enter to add a value and use || to separate multiple values",errorMessage:s})}),A.jsx("div",{className:`flex gap-2 ${s?"mb-[20px]":""}`,children:a&&A.jsx(Tt,{id:"btn-field-options-header-delete-all",status:"error-secondary",onClick:()=>u(!0),className:"w-full sm:w-auto dark:bg-[#2A0D0A] dark:hover:bg-[#3E1510] border dark:border-[#912018]",disabled:!o,children:A.jsx(Qo,{emptyTag:!0,text:"Clear All",className:"font-inter font-medium text-sm"})})})]}),A.jsx(nC,{onOk:f,onCancel:()=>u(!1),title:l("Delete All Field Values"),content:l("Are you sure you want to delete all field values? This action cannot be undone."),footer:{okText:l("Delete All"),cancelText:l("Cancel"),okBtnType:"error"},isVisibleOutside:c})]})},qX=({size:t="w-3.5 h-3.5",className:e,...r})=>A.jsx("svg",{"aria-hidden":"true",className:B(t,"text-primary-300",e),fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...r,children:A.jsx("path",{d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"})}),VX=t=>{const{value:e,index:r,onDeleteItem:n,userCanManage:a=!1}=t;return A.jsx(O1.SortableItem,{children:A.jsxs("div",{className:B("relative flex items-center px-1.5 py-0.5 text-sm text-primary-600 bg-primary-50 dark:bg-black-700 rounded font-medium text-[14px] font-inter border border-primary-100"),children:[a&&A.jsx(O1.SortableKnob,{children:A.jsx("button",{id:"btn-data-display-close-modal",className:"pr-2 cursor-move",children:A.jsx(qn.MdOutlineDragIndicator,{height:10,width:7})})}),e,a&&A.jsxs("span",{className:"flex items-center gap-2.5 p-0.5 rounded-xl bg-primary-100 ml-auto cursor-pointer","data-dismiss-target":"#badge-dismiss-default","aria-label":"Remove",onClick:()=>{n(r)},children:[A.jsx(qX,{size:"w-2.5 h-2.5"}),A.jsx("span",{className:"sr-only",children:"Remove badge"})]})]})})},WX=({rawIds:t,callback:e})=>(n,a)=>{const i=zX(t,n,a);e(i)},XX=t=>{const{value:e,choices:r,onOptionChange:n,onSaveOption:a,onDeleteItem:i,onChoicesUpdate:s,onDeleteAll:o,required:l=!1,errorMessage:c,userCanManage:u=!1}=t,f=WX({rawIds:r,callback:s});return A.jsxs("div",{className:"w-full col-span-2",children:[u&&A.jsx(BX,{value:e,onOptionChange:n,onSaveOption:a,onDeleteAll:o,required:l,errorMessage:c,hasChoices:r?.length>0}),A.jsx("div",{className:"py-2"}),A.jsx("div",{className:`${r?.length>0?"border border-neutral-200 rounded-lg p-2":""}`,children:A.jsx(O1,{className:"w-full grid grid-cols-2 gap-2",onSortEnd:f,children:r?.map((p,h)=>A.jsx(VX,{userCanManage:u,value:p,index:h,onDeleteItem:i},p+"-"+h))})})]})},QX=12,GX=3e3,YX="#0077E3",KX=({stopAt:t=100,max:e=100,height:r=QX,color:n=YX,fromColor:a,toColor:i,duration:s=GX,children:o,setAnimatedDisplayValue:l=null,className:c=""})=>{const[u,f]=x.useState(0),p=x.useRef();x.useEffect(()=>{f(0),l?.(0);const m=performance.now(),b=0,v=t,g=0,S=t/e*100,E=k=>{const w=k-m,T=Math.min(w/s,1),O=Math.round(b+(v-b)*T);l?.(O);const C=g+(S-g)*T;f(C),T<1&&(p.current=requestAnimationFrame(E))};return p.current=requestAnimationFrame(E),()=>{p.current&&cancelAnimationFrame(p.current)}},[t,e,s,l]);const h=()=>a&&i?{background:`linear-gradient(to right, ${a}, ${i})`}:{backgroundColor:n};return A.jsxs("div",{className:`relative w-full ${c}`,children:[A.jsx("div",{className:"w-full bg-neutral-200 dark:bg-neutral-700 rounded-full overflow-hidden",style:{height:r},children:A.jsx("div",{className:"h-full rounded-full",style:{width:`${u}%`,...h()}})}),o&&A.jsx("div",{className:"mt-2",children:o})]})},ZX=120,$X=12,JX=3e3,eQ="#0077E3",tQ=({value:t,max:e=100,size:r=ZX,strokeWidth:n=$X,color:a=eQ,duration:i=JX,children:s,setAnimatedDisplayValue:o=null})=>{const l=(r-n)/2,c=2*Math.PI*l,[u,f]=x.useState(0),p=x.useRef();x.useEffect(()=>{f(0),o?.(0);const b=setTimeout(()=>{f(t)},100);return()=>clearTimeout(b)},[t]),x.useEffect(()=>{const b=performance.now(),v=0,g=t,S=E=>{const k=E-b,w=Math.min(k/i,1),T=Math.round(v+(g-v)*w);o?.(T),w<1&&(p.current=requestAnimationFrame(S))};return p.current=requestAnimationFrame(S),()=>{p.current&&cancelAnimationFrame(p.current)}},[t]);const h=Math.min(Math.max(u,0),e)/e,m=c*(1-h);return A.jsxs("div",{className:"relative flex items-center justify-center",style:{width:r,height:r},children:[A.jsxs("svg",{width:r,height:r,className:"block",children:[A.jsx("circle",{className:"text-neutral-200 dark:text-neutral-700",strokeWidth:n,stroke:"currentColor",fill:"transparent",r:l,cx:r/2,cy:r/2}),A.jsx("circle",{strokeWidth:n,strokeLinecap:"round",stroke:"currentColor",fill:"transparent",r:l,cx:r/2,cy:r/2,strokeDasharray:c,strokeDashoffset:m,transform:`rotate(90 ${r/2} ${r/2})`,style:{transition:`stroke-dashoffset ${i}ms cubic-bezier(0.4, 0, 0.2, 1)`,stroke:a}})]}),s]})};var hi=(t=>(t[t.ONE=1]="ONE",t[t.TWO=2]="TWO",t[t.THREE=3]="THREE",t))(hi||{});const rQ=[{id:1,visible:!0,states:{selectedAgreement:null,headers:null,lineItem:null},version:void 0,additionalVersions:[],isLoading:!1},{id:2,visible:!1,states:{selectedAgreement:null,headers:null,lineItem:null},version:void 0,additionalVersions:[],isLoading:!1},{id:3,visible:!1,states:{selectedAgreement:null,headers:null,lineItem:null},version:void 0,additionalVersions:[],isLoading:!1}];var iv=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function nQ(t,e){return!!(t===e||iv(t)&&iv(e))}function aQ(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!nQ(t[r],e[r]))return!1;return!0}function xA(t,e){e===void 0&&(e=aQ);var r=null;function n(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(r&&r.lastThis===this&&e(a,r.lastArgs))return r.lastResult;var s=t.apply(this,a);return r={lastResult:s,lastArgs:a,lastThis:this},s}return n.clear=function(){r=null},n}const FC=xA(t=>{const e=t.filter(r=>r.visible);return{items:e,ids:e.filter(r=>r.states).map(r=>r.id)}}),UC=xA(t=>t.filter(e=>e.visible).length),iQ=xA((t,e)=>e?t.filter(r=>r.value!==e):t.filter(r=>!r.selected)),sQ=xA((t,e)=>[t.find(r=>r.value===e)]),oQ=xA(t=>{try{return JSON.parse(t)}catch{return[]}}),yA=x.createContext({layoutItems:[],setLayoutItems:()=>null,layout:1,setLayout:()=>null,hideLayoutItem:()=>null,layoutHeader:()=>null,layoutContent:()=>null,returnUrl:void 0}),zC=({children:t,headerTabConfig:e,title:r,layoutItems:n,setLayoutItems:a,layoutHeader:i,layoutContent:s,returnUrl:o,onReturn:l})=>{const c=UC(n),u=p=>{const h=structuredClone(n),m=h.filter(b=>b.visible);m.length!==p&&(m.length<p?a(h.map((b,v)=>{if(b.id<=p&&!b.visible){const g=v===0?1:0,S=structuredClone(h[g]);return{...b,visible:!0,states:S?.states,additionalVersions:S?.additionalVersions,version:S?.version}}return b})):a(h.map(b=>b.id>p?{...b,visible:!1}:b)))},f=x.useCallback(p=>{const h=structuredClone(n),m=h.find(b=>b.id===p);m&&(m.visible=!1,a(h))},[n,a]);return A.jsx(yA.Provider,{value:{hideLayoutItem:f,setLayout:u,layoutItems:n,headerTabConfig:e,layout:c,title:r,setLayoutItems:a,layoutHeader:i,layoutContent:s,returnUrl:o,onReturn:l},children:t})},BC=({fill:t,className:e})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e,children:A.jsx("g",{mask:"url(#mask0_23711_660310)",children:A.jsx("path",{d:"M4.22222 22C3.61111 22 3.08796 21.7824 2.65278 21.3472C2.21759 20.912 2 20.3889 2 19.7778V4.22222C2 3.61111 2.21759 3.08796 2.65278 2.65278C3.08796 2.21759 3.61111 2 4.22222 2H12V4.22222H4.22222V19.7778H12V22H4.22222ZM16.4444 17.5556L14.9167 15.9444L17.75 13.1111H8.66667V10.8889H17.75L14.9167 8.05556L16.4444 6.44444L22 12L16.4444 17.5556Z",fill:t})})}),qC=({fill:t="currentColor",className:e})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"16",viewBox:"0 0 10 16",fill:t,className:e,children:A.jsx("path",{d:"M2 14H0V2H2V14ZM2 14H8V2H2V14ZM2 16C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H8C8.55 0 9.02083 0.195833 9.4125 0.5875C9.80417 0.979167 10 1.45 10 2V14C10 14.55 9.80417 15.0208 9.4125 15.4125C9.02083 15.8042 8.55 16 8 16H2Z",fill:t})}),VC=({fill:t,className:e})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"16",viewBox:"0 0 18 16",fill:"none",className:e,children:A.jsx("path",{d:"M2 14H8V2H2V14ZM10 14H16V2H10V14ZM2 16C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H16C16.55 0 17.0208 0.195833 17.4125 0.5875C17.8042 0.979167 18 1.45 18 2V14C18 14.55 17.8042 15.0208 17.4125 15.4125C17.0208 15.8042 16.55 16 16 16H2Z",fill:t})}),WC=({fill:t,className:e})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",className:e,children:A.jsx("path",{d:"M2 14H6V2H2V14ZM8 14H12V2H8V14ZM14 14H18V2H14V14ZM2 16C1.45 16 0.979167 15.8042 0.5875 15.4125C0.195833 15.0208 0 14.55 0 14V2C0 1.45 0.195833 0.979167 0.5875 0.5875C0.979167 0.195833 1.45 0 2 0H18C18.55 0 19.0208 0.195833 19.4125 0.5875C19.8042 0.979167 20 1.45 20 2V14C20 14.55 19.8042 15.0208 19.4125 15.4125C19.0208 15.8042 18.55 16 18 16H2Z",fill:t})}),sv=({classValue:t,size:e=24,fill:r="currentColor",...n})=>A.jsx("svg",{className:B(t),width:e,height:e,viewBox:"0 0 20 20",fill:r,xmlns:"http://www.w3.org/2000/svg",...n,children:A.jsx("path",{d:"M10.0002 11.1666L5.91683 15.2499C5.76405 15.4027 5.56961 15.4791 5.3335 15.4791C5.09739 15.4791 4.90294 15.4027 4.75016 15.2499C4.59738 15.0971 4.521 14.9027 4.521 14.6666C4.521 14.4305 4.59738 14.236 4.75016 14.0833L8.8335 9.99992L4.75016 5.91659C4.59738 5.76381 4.521 5.56936 4.521 5.33325C4.521 5.09714 4.59738 4.9027 4.75016 4.74992C4.90294 4.59714 5.09739 4.52075 5.3335 4.52075C5.56961 4.52075 5.76405 4.59714 5.91683 4.74992L10.0002 8.83325L14.0835 4.74992C14.2363 4.59714 14.4307 4.52075 14.6668 4.52075C14.9029 4.52075 15.0974 4.59714 15.2502 4.74992C15.4029 4.9027 15.4793 5.09714 15.4793 5.33325C15.4793 5.56936 15.4029 5.76381 15.2502 5.91659L11.1668 9.99992L15.2502 14.0833C15.4029 14.236 15.4793 14.4305 15.4793 14.6666C15.4793 14.9027 15.4029 15.0971 15.2502 15.2499C15.0974 15.4027 14.9029 15.4791 14.6668 15.4791C14.4307 15.4791 14.2363 15.4027 14.0835 15.2499L10.0002 11.1666Z"})}),AQ=({width:t="15",height:e="15",fill:r="#98A2B3",className:n})=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:e,viewBox:"0 0 20 20",fill:"none",className:n,children:A.jsx("path",{d:"M17.5 17.5L12.5001 12.5M14.1667 8.33333C14.1667 11.555 11.555 14.1667 8.33333 14.1667C5.11167 14.1667 2.5 11.555 2.5 8.33333C2.5 5.11167 5.11167 2.5 8.33333 2.5C11.555 2.5 14.1667 5.11167 14.1667 8.33333Z",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),XC=x.forwardRef(({listeners:t},e)=>A.jsx("div",{className:"flex items-center justify-center",children:A.jsx("button",{id:"btn-comparison-gird-item-outline-drag-indicator",ref:e,...t,className:"hover:transform hover:scale-125 transition-transform duration-200 ease-in-out cursor-grab",children:A.jsx(qn.MdOutlineDragIndicator,{size:24,color:"#98A2B3"})})}));XC.displayName="GridItemHandle";const lQ=x.memo(XC),QC=()=>{const{t}=Kt.useTranslation();return A.jsxs("div",{className:"flex flex-col items-center text-center",children:[A.jsx("span",{className:"text-[#98A2B3] bg-[#F2F4F7] h-[48px] w-[48px] flex items-center justify-center rounded-lg",children:A.jsx(AQ,{})}),A.jsx("p",{className:"font-semibold mt-2 text-neutral-900 dark:text-white",children:t("No additional versions available")}),A.jsx("p",{className:"text-sm text-[#98A2B3]",children:t("There are no additional versions available for comparison")})]})},cQ=({item:t})=>{const{hideLayoutItem:e,layout:r,layoutHeader:n,layoutContent:a}=x.useContext(yA),{t:i}=Kt.useTranslation(),{isDragging:s,attributes:o,listeners:l,setNodeRef:c,transform:u,transition:f,isOver:p,setActivatorNodeRef:h,over:m,active:b}=hn.useSortable({id:t.id}),v={transform:ab.CSS.Transform.toString(u),transition:f||void 0,opacity:s?"0.5":"1",cursor:s?"grabbing":"grab"},g=()=>!b||!m?!1:b.data.current?.type!==m.data.current?.type&&p;return A.jsx(A.Fragment,{children:A.jsx("div",{ref:c,style:v,...o,className:B("group relative rounded-lg !cursor-[initial] flex-1",g()?"shadow-dnd-drop":"","aria-[pressed=true]:z-40"),children:A.jsx("div",{className:"bg-white dark:bg-black-700 h-full border-r border-r-[#EAECF0]",children:t.states?A.jsxs("div",{className:"h-full flex flex-col @container",children:[A.jsxs("div",{className:"p-4 flex items-center justify-between border-b border-b-[#EAECF0] min-h-[78px] relative",children:[t.isLoading?A.jsx("div",{className:"absolute left-0 top-0 h-full w-full z-10 bg-[#ffffff82]"}):null,A.jsx("div",{className:"flex items-center gap-2",children:A.jsxs(A.Fragment,{children:[A.jsx(Me,{title:i("Drag column"),children:A.jsx("div",{children:A.jsx(lQ,{ref:h,listeners:l})})}),n(t.id)]})}),r!==hi.ONE?A.jsx("div",{children:A.jsx(sv,{fill:"#98A2B3",classValue:"cursor-pointer",onClick:()=>e(t.id)})}):null]}),a(t.id)]}):A.jsxs("div",{className:"h-full flex flex-col",children:[A.jsx("div",{className:"p-4 flex items-center justify-end h-[78px]",children:r!==hi.ONE?A.jsx(sv,{fill:"#98A2B3",classValue:"cursor-pointer",onClick:()=>e(t.id)}):null}),A.jsx("div",{className:"p-4 flex-1 flex items-center justify-center h-full",children:A.jsx(QC,{})})]})})})})},uQ=x.memo(cQ),dQ=()=>{const{layoutItems:t,setLayoutItems:e}=x.useContext(yA),{ids:r,items:n}=FC(t),a=at.useSensors(at.useSensor(at.PointerSensor),at.useSensor(at.KeyboardSensor,{coordinateGetter:hn.sortableKeyboardCoordinates})),i=()=>{},s=async o=>{const{active:l,over:c}=o;if(!c)return;e(f=>{const p=f.findIndex(m=>m.id===l.id),h=f.findIndex(m=>m.id===c.id);return p>-1&&h>-1?hn.arrayMove(f,p,h):f})};return A.jsx("div",{className:"bg-white dark:bg-black-700 flex-1",children:A.jsx(at.DndContext,{collisionDetection:at.pointerWithin,sensors:a,onDragEnd:s,onDragStart:i,children:A.jsx(hn.SortableContext,{items:r,children:A.jsx("div",{className:B("flex h-full flex-col md:flex-row"),children:n.map(o=>A.jsx(uQ,{item:o},o.id))})})})})},fQ=x.memo(dQ),pQ=[{icon:A.jsx(qC,{className:"text-black-900 dark:text-white"}),key:hi.ONE,tooltip:"One column"},{icon:A.jsx(VC,{className:"text-black-900 dark:text-white"}),key:hi.TWO,tooltip:"Two column"},{icon:A.jsx(WC,{className:"text-black-900 dark:text-white"}),key:hi.THREE,tooltip:"Three column"}],hQ=({onNavigateBack:t,tabsComponent:e})=>{const{setLayout:r,title:n,layout:a,returnUrl:i,onReturn:s,headerTabConfig:o}=x.useContext(yA),{t:l}=Kt.useTranslation(),c=()=>{s?s():i&&t&&t(i?.toString()||"/home")};return A.jsxs("div",{className:"flex flex-wrap items-center justify-between p-4 border-y border-y-[#EAECF0] bg-[#F9FAFB] dark:bg-black-800 gap-2 flex-col sm:flex-row",children:[A.jsx("p",{className:"text-lg font-inter font-bold text-neutral-900 dark:text-white",children:n}),e&&A.jsx("div",{className:"flex justify-center",children:A.jsx(e,{variant:"secondary",tabs:o?.tabs||[],...o?.tabState,tabKey:o?.tabKey||"",size:"md",draggable:!1,showAllItems:!0})}),A.jsxs("div",{className:"flex gap-5 items-center",children:[A.jsx("div",{className:"bg-neutral-100 dark:bg-black-700 rounded-lg p-1 flex items-center",children:pQ.map(({icon:u,key:f,tooltip:p})=>A.jsx(Me,{title:p?l(p):"",children:A.jsx("div",{className:B(a===f?"bg-white dark:bg-black-500":"","cursor-pointer rounded-lg flex items-center justify-center h-[32px] w-[42px]"),onClick:()=>r(f),children:x.cloneElement(u,{fill:"#98A2B3"})})},f))}),s||i?A.jsx(Me,{title:l("Exit"),children:A.jsx("div",{className:"border border-[#FECDCA] rounded-lg cursor-pointer h-[40px] w-[40px] flex items-center justify-center",onClick:c,children:A.jsx(BC,{fill:"#D92D20"})})}):null]})]})},mQ=x.memo(hQ),gQ=t=>{const{headerTabConfig:e,title:r,layoutItems:n,setLayoutItems:a,layoutHeader:i,layoutContent:s,returnUrl:o,onReturn:l,onNavigateBack:c,tabsComponent:u}=t;return A.jsx(zC,{headerTabConfig:e,title:r,layoutItems:n,setLayoutItems:a,layoutHeader:i,layoutContent:s,returnUrl:o,onReturn:l,children:A.jsxs("div",{className:"h-full flex flex-col",children:[A.jsx(mQ,{onNavigateBack:c,tabsComponent:u}),A.jsx(fQ,{})]})})},bQ=()=>document.documentElement.classList.contains("dark"),xQ=`
|
|
246
246
|
padding: 2px 8px;
|
|
247
247
|
border-radius: 6px;
|
|
248
248
|
border: 1px solid var(--color-primary-500);
|