@tap-payments/os-micro-frontend-shared 0.3.139-test.1 → 0.3.140
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/build/_chunks/chunk-2CEKJ5CQ.js +15 -0
- package/build/_chunks/{chunk-JGRS4AS6.js → chunk-3G2C5Y2A.js} +1 -1
- package/build/_chunks/chunk-45CYP6PH.js +1 -0
- package/build/_chunks/{chunk-D4OHT2RI.js → chunk-62LNYFD7.js} +1 -1
- package/build/_chunks/chunk-7XW6UI6M.js +1 -0
- package/build/_chunks/{chunk-Q26ID44C.js → chunk-A2XBZDNA.js} +1 -1
- package/build/_chunks/chunk-BMTPSQUO.js +1 -0
- package/build/_chunks/{chunk-JOGVBZZH.js → chunk-C63DP3JW.js} +1 -1
- package/build/_chunks/{chunk-SDJ427XQ.js → chunk-CJCMW3WE.js} +1 -1
- package/build/_chunks/{chunk-Z6VFTTFL.js → chunk-CVNAIZE7.js} +1 -1
- package/build/_chunks/chunk-F7QNJNVP.js +2 -0
- package/build/_chunks/chunk-FOVILX35.js +1 -0
- package/build/_chunks/chunk-JWG5IWOL.js +2 -0
- package/build/_chunks/chunk-KCMHA4GC.js +2 -0
- package/build/_chunks/{chunk-MGSOABIW.js → chunk-KGRLMTLG.js} +1 -1
- package/build/_chunks/{chunk-Z36O36WJ.js → chunk-LVBP2HUK.js} +1 -1
- package/build/_chunks/chunk-MS6YCJBR.js +1 -0
- package/build/_chunks/{chunk-KMTD6C76.js → chunk-OP3KS45Z.js} +1 -1
- package/build/_chunks/{chunk-LRD6TTRH.js → chunk-TWNWCQ5K.js} +1 -1
- package/build/_chunks/chunk-U2G5UBPN.js +1 -0
- package/build/_chunks/{chunk-BVOUB3G4.js → chunk-X76LM2CC.js} +1 -1
- package/build/_chunks/{chunk-FGHO25EA.js → chunk-XDF5N4MY.js} +1 -1
- package/build/_chunks/chunk-YXQ6636I.js +1 -0
- package/build/_chunks/{chunk-63XVOEAD.js → chunk-Z33JRY6D.js} +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/Amount/index.js +1 -1
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountSlider/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Checkbox/Checkbox.d.ts +8 -0
- package/build/components/Checkbox/icons.d.ts +10 -0
- package/build/components/Checkbox/index.d.ts +2 -0
- package/build/components/Checkbox/index.js +1 -0
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/CopyImage/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/Dropdown2/index.js +1 -1
- package/build/components/DropdownButton/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/DropdownMenu/styles.d.ts +1 -3
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FileUpload/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/LanguageDropdown/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/MenuItem/index.js +1 -1
- package/build/components/MenuItem/style.d.ts +1 -3
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MultiSelectDropdownButton/index.js +1 -1
- package/build/components/MultiSelectWithSearch/index.js +1 -1
- package/build/components/MultiSelectWithSearch/style.d.ts +1 -3
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NestedDropdown/styles.d.ts +1 -3
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/RFH/Inputs/MultiSelect/style.d.ts +2 -6
- package/build/components/RFH/index.js +1 -1
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SelectWithSearch/index.js +1 -1
- package/build/components/SelectWithSearch/style.d.ts +1 -3
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TreeDropdown/TreeNodeItem/style.d.ts +1 -3
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VAT/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/components/style.d.ts +1 -3
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.d.ts +1 -1
- package/build/components/index.js +1 -1
- package/build/components/primitives/Checkbox/icons.d.ts +3 -16
- package/build/components/primitives/index.js +1 -1
- package/build/index.js +1 -1
- package/package.json +2 -2
- package/build/_chunks/chunk-5F3EKTBK.js +0 -1
- package/build/_chunks/chunk-6URX2GD3.js +0 -1
- package/build/_chunks/chunk-7H7WLSR7.js +0 -1
- package/build/_chunks/chunk-AFDZGR4O.js +0 -1
- package/build/_chunks/chunk-D6GECZKP.js +0 -1
- package/build/_chunks/chunk-HSJXTLPV.js +0 -1
- package/build/_chunks/chunk-IJMGGGKZ.js +0 -15
- package/build/_chunks/chunk-OM7VLM7T.js +0 -1
- package/build/_chunks/chunk-PYFNY6AX.js +0 -2
- package/build/_chunks/chunk-WJXUDION.js +0 -2
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {kc,Zb,xa as xa$1,jc,ab}from'./chunk-PBMQM3P4.js';import {forwardRef,memo,createElement,useState,useCallback,useMemo,Children,useEffect,useRef}from'react';import J from'@mui/material/Box';import $a,{circularProgressClasses}from'@mui/material/CircularProgress';import va from'@mui/material/ButtonBase';import {styled,useTheme,alpha}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import Me from'@mui/material/SvgIcon';import Da from'@mui/material/Checkbox';import Ea from'@mui/material/FormControlLabel';import Oa from'@mui/material/Switch';import _a from'@mui/material/Typography';import os from'@mui/material/Radio';import ys,{tooltipClasses}from'@mui/material/Tooltip';import hs from'@mui/material/Skeleton';import Is from'@mui/material/Avatar';import $s from'@mui/material/Divider';import Ds from'@mui/material/Collapse';import {createPortal}from'react-dom';import kn,{SliderThumb}from'@mui/material/Slider';import $n from'@mui/material/FormControl';import Ln from'@mui/material/InputLabel';import Fn from'@mui/material/Input';import Wn from'@mui/material/InputBase';import Kn from'@mui/material/Accordion';import jn from'@mui/material/AccordionDetails';import Un from'@mui/material/AccordionSummary';import Jn from'@mui/material/Popper';import mi from'@mui/material/DialogActions';import di from'@mui/material/DialogTitle';import si from'@mui/material/Dialog';import ni from'@mui/material/DialogContent';import {LazyLoadImage}from'react-lazy-load-image-component';import Hi from'@mui/material/Stack';var E="os-shared-Button",w={root:`${E}-root`,content:`${E}-content`,startIcon:`${E}-startIcon`,endIcon:`${E}-endIcon`,loading:`${E}-loading`,loadingSpinner:`${E}-loadingSpinner`},ro={sm:{height:24,padding:"8px 16px",fontSize:"10px"},md:{height:32,minWidth:75,padding:"8px 18px",fontSize:"11px"},lg:{height:40,padding:"8px 32px",fontSize:"12px"}},ao={sm:12,md:12,lg:14};var so=styled(va,{shouldForwardProp:e=>e!=="$variant"&&e!=="$size"&&e!=="$fullWidth"&&e!=="$isLoading"&&e!=="$hasIcon"})(({theme:e,$variant:o="primary",$size:t="md",$fullWidth:r,$isLoading:a,$hasIcon:s})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"8px",borderRadius:"4px",lineHeight:"100%",textTransform:"capitalize",whiteSpace:"nowrap",position:"relative",cursor:a?"not-allowed":"pointer",transition:"background-color 0.15s ease, opacity 0.15s ease",...ro[t],fontWeight:t==="sm"?e.typography.fontWeightBold:e.typography.fontWeightBolder??700,...r&&{width:"100%"},...s&&!r&&{width:"auto",minWidth:0},...o==="primary"&&{background:e.palette.info.dark,color:e.palette.common.white,"&:hover:not(:disabled)":{backgroundColor:"#1a78bb"}},...o==="secondary"&&{backgroundColor:e.palette.common.white,color:e.palette.grey[700],border:`1px solid ${e.palette.divider}`,"&:hover:not(:disabled)":{backgroundColor:e.palette.grey[100]}},...o==="ghost"&&{backgroundColor:"transparent",color:e.palette.info.dark,"&:hover:not(:disabled)":{backgroundColor:e.palette.info.light}},...o==="danger"&&{backgroundColor:e.palette.error.main,color:e.palette.common.white,"&:hover:not(:disabled)":{backgroundColor:e.palette.error.light}},"&.Mui-disabled":{opacity:.5}}));var io=forwardRef(({children:e,variant:o="primary",size:t="md",isLoading:r=false,startIcon:a,endIcon:s,fullWidth:p=false,disabled:i,className:l,sx:m,...d},c)=>jsxs(so,{ref:c,className:kc(w.root,l),$variant:o,$size:t,$fullWidth:p,$isLoading:r,$hasIcon:!!a||!!s||r,disabled:i||r,"data-testid":"Button",sx:m,...d,children:[jsxs(J,{component:"span",className:w.content,sx:{display:"inline-flex",alignItems:"center",gap:"inherit",visibility:r?"hidden":"visible"},children:[a&&jsx(J,{component:"span",className:w.startIcon,sx:{display:"inline-flex",alignItems:"center"},children:a}),e,s&&jsx(J,{component:"span",className:w.endIcon,sx:{display:"inline-flex",alignItems:"center"},children:s})]}),r&&jsx(J,{component:"span",className:w.loading,sx:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center"},children:jsx($a,{className:w.loadingSpinner,size:ao[t],color:"inherit"})})]}));io.displayName="Button";var po=memo(io);var La="os-shared-Icon",ee={root:`${La}-root`};var lo=styled("img")(({theme:e})=>({width:e.spacing(2),height:e.spacing(2),verticalAlign:"middle",flexShrink:0}));var mo=forwardRef(({className:e,sx:o,...t},r)=>jsx(lo,{className:kc(ee.root,e),sx:o,"data-testid":"Icon",...t,ref:r}));mo.displayName="Icon";var co=memo(mo);var Te="os-shared-Checkbox",$={root:`${Te}-root`,control:`${Te}-control`,label:`${Te}-label`};var fo=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsx(Me,{sx:{width:11,height:11},...o,children:jsxs("svg",{width:"11",height:"11",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e?jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}):jsx("rect",{width:"12",height:"12",rx:"2.4",fill:t.info.dark}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74206C9.04243 3.9443 9.05652 4.28711 8.86537 4.50775L5.64586 8.22387C5.55146 8.33284 5.41909 8.39627 5.27942 8.39948C5.13975 8.40269 5.0049 8.3454 4.90612 8.24088L3.15002 6.38282C2.94999 6.17118 2.94999 5.82804 3.15002 5.61641C3.35004 5.40477 3.67435 5.40477 3.87437 5.61641L5.2522 7.07424L8.11024 3.77535C8.30138 3.55472 8.62538 3.53981 8.83391 3.74206Z",fill:e?"#D2D5D8":t.common.white})]})})},yo=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsx(Me,{sx:{width:11,height:11},...o,children:jsx("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("rect",{x:"0.6",y:"0.6",width:"9.6",height:"9.6",rx:"1.8",fill:e?"#FAFBFB":t.common.white,stroke:e?"#D2D5D8":t.grey[500],strokeWidth:"1.2"})})})},uo=({disabled:e,...o})=>{let{palette:t}=useTheme();return jsx(Me,{sx:{width:11,height:11},...o,children:jsxs("svg",{width:"11",height:"11",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e?jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"}):jsx("rect",{width:"12",height:"12",rx:"2.4",fill:t.info.dark}),jsx("rect",{x:"3",y:"5.4",width:"6",height:"1.2",rx:"0.5",fill:e?"#D2D5D8":"#FAFBFB"})]})})};var Co=styled(Da)(({theme:e})=>({padding:e.spacing(.5),"&:hover":{backgroundColor:"transparent"}})),ho=styled(Ea)(({theme:e})=>({marginLeft:0,gap:e.spacing(.5),"& .MuiFormControlLabel-label":{fontSize:"11px",color:e.palette.text.primary},"& .MuiFormControlLabel-label.Mui-disabled":{color:e.palette.grey[700]}}));var bo=forwardRef(({label:e,labelPlacement:o="end",disabled:t,sx:r,className:a,...s},p)=>{let i=jsx(Co,{ref:p,disableRipple:true,disabled:t,checkedIcon:jsx(fo,{disabled:t}),icon:jsx(yo,{disabled:t}),indeterminateIcon:jsx(uo,{disabled:t}),"data-testid":"Checkbox",className:kc(e?$.control:$.root,e?void 0:a),sx:e?void 0:r,...s});return e?jsx(ho,{className:kc($.root,a),sx:r,control:i,label:e,labelPlacement:o,disabled:t,componentsProps:{typography:{className:$.label}}}):i});bo.displayName="Checkbox";var So=memo(bo);var Va="os-shared-Switch",oe={root:`${Va}-root`};var No=styled(Oa)(({theme:e})=>({width:32.903,height:20,borderRadius:"13px",padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(13px)",color:e.palette.common.white,"& + .MuiSwitch-track":{backgroundColor:e.palette.mode==="dark"?"#2ECA45":"#34C759",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid",borderColor:e.palette.common.white},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:e.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:16,height:16,filter:"drop-shadow(0px 1.9354851245880127px 0.6451616883277893px rgba(0, 0, 0, 0.06)) drop-shadow(0px 1.9354851245880127px 5.1612935066223145px rgba(0, 0, 0, 0.15))"},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:e.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}}));var ko=forwardRef(({className:e,sx:o,...t},r)=>jsx(No,{ref:r,className:kc(oe.root,e),sx:o,"data-testid":"Switch",focusVisibleClassName:".Mui-focusVisible",disableRipple:true,...t}));ko.displayName="Switch";var wo=memo(ko);var Ga="os-shared-Typography",te={root:`${Ga}-root`};var Io=styled(_a)(({theme:e})=>({color:e.palette.text.primary}));var Bo=forwardRef(({variant:e="body1",weight:o,isTruncated:t=false,isUppercase:r=false,className:a,sx:s,...p},i)=>{let l=useTheme(),m={regular:l.typography.fontWeightRegular,medium:l.typography.fontWeightMedium,semibold:l.typography.fontWeightBold,bold:l.typography.fontWeightBolder??700},d=o!==void 0?typeof o=="number"?o:m[o]:void 0,c=Array.isArray(s)?s:[s];return jsx(Io,{ref:i,className:kc(te.root,a),variant:e,sx:[d!==void 0&&{fontWeight:d},t&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r&&{textTransform:"uppercase"},...c],"data-testid":"Typography",...p})});Bo.displayName="Typography";var vo=memo(Bo);var es="os-shared-RadioButton",re={root:`${es}-root`},Po={sm:{iconSize:15,maxWidth:"24px",muiSize:"small"},md:{iconSize:18,maxWidth:"28px",muiSize:"medium"},lg:{iconSize:20,maxWidth:"32px",muiSize:"medium"}};var ts=styled("span")(()=>({borderRadius:"50%",width:"12px",height:"12px",boxSizing:"border-box",boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)"})),To=styled(ts)(({theme:e})=>({backgroundColor:e.palette.info.dark,"&::before":{display:"block",width:"12px",height:"12px",backgroundColor:e.palette.info.dark,borderRadius:"50%",backgroundImage:`radial-gradient(${e.palette.common.white},${e.palette.common.white} 28%,transparent 32%)`,content:'""'}})),Mo=styled(os,{shouldForwardProp:e=>e!=="$iconSize"&&e!=="$checkedColor"&&e!=="$disabledColor"&&e!=="$hoverColor"&&e!=="$maxWidth"})(({theme:e,$iconSize:o,$checkedColor:t,$disabledColor:r,$hoverColor:a,$maxWidth:s})=>({"& .MuiSvgIcon-root":{fontSize:o},maxWidth:s,cursor:"pointer",color:e.palette.grey[500],"&.Mui-checked":{color:t??e.palette.info.dark},...a&&{"&:hover":{backgroundColor:"transparent",color:a}},"&.Mui-disabled":{color:r??"#C7C7CC"}}));function $o(e="sm"){return Po[e]}var Fo=forwardRef(({size:e="sm",checkedIcon:o,checkedColor:t,disabledColor:r,hoverColor:a,iconSize:s,className:p,sx:i,disableRipple:l=true,...m},d)=>{let c=$o(e);return jsx(Mo,{ref:d,className:kc(re.root,p),"data-testid":"RadioButton",size:c.muiSize,disableRipple:l,checkedIcon:o??jsx(To,{}),$iconSize:s??c.iconSize,$checkedColor:t,$disabledColor:r,$hoverColor:a,$maxWidth:c.maxWidth,sx:i,...m})});Fo.displayName="RadioButton";var zo=memo(Fo);var ae="os-shared-CircularProgress",L={root:`${ae}-root`,progress:`${ae}-progress`,labelOverlay:`${ae}-labelOverlay`,labelText:`${ae}-labelText`};var Ao=styled($a)(({theme:e})=>({color:e.palette.common.blue??"#147DC5",background:alpha(e.palette.info.dark,.05),borderRadius:"50%",[`& .${circularProgressClasses.circle}`]:{strokeLinecap:"round"}})),Do=styled(J)(()=>({position:"relative",display:"inline-flex"})),Eo=styled(J)(()=>({top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"})),Wo=styled(_a)(({theme:e})=>({fontSize:e.typography.fontSize,fontWeight:e.typography.fontWeightBolder??700,color:"#3B4152"}));var Ho=forwardRef(({variant:e="indeterminate",hasLabel:o=true,value:t,className:r,sx:a,...s},p)=>{let i=e==="determinate"&&o;return jsxs(Do,{className:kc(L.root,r),sx:a,"data-testid":"CircularProgress",children:[jsx(Ao,{ref:p,variant:e,value:t,className:L.progress,...s}),i&&jsx(Eo,{className:L.labelOverlay,children:jsx(Wo,{className:L.labelText,variant:"caption",color:"text.secondary",children:`${Math.round(t??0)}%`})})]})});Ho.displayName="CircularProgress";var Vo=memo(Ho);var cs="os-shared-Tooltip",ne={wrapper:`${cs}-wrapper`};var Ko=styled(({className:e,...o})=>createElement(ys,{...o,classes:{popper:e}}))(({theme:e})=>({zIndex:999999,[`& .${tooltipClasses.arrow}`]:{"&:before":{border:`0.97px solid ${alpha(e.palette.text.primary,.13)}`},color:e.palette.common.white},[`& .${tooltipClasses.tooltip}`]:{backgroundColor:e.palette.common.white,color:e.palette.text.secondary,boxShadow:e.shadows[1],fontSize:12,border:`0.97px solid ${alpha(e.palette.text.primary,.13)}`,marginBottom:"7px !important"}}));function Uo({className:e,title:o,placement:t="top",children:r,wrapperProps:a,sx:s,...p}){return jsx(Ko,{className:e,title:o,placement:t,arrow:true,sx:s,...p,children:jsx(J,{display:"flex",alignItems:"center",className:ne.wrapper,...a,children:r})})}Uo.displayName="Tooltip";var Go=memo(Uo);var Cs="os-shared-Skeleton",ie={root:`${Cs}-root`},_o="rounded",Xo=16;var Yo=styled(hs)(()=>({}));var qo=forwardRef(({className:e,sx:o,variant:t=_o,height:r=Xo,...a},s)=>jsx(Yo,{ref:s,className:kc(ie.root,e),sx:o,"data-testid":"Skeleton",variant:t,height:r,...a}));qo.displayName="Skeleton";var Jo=memo(qo);var ws="os-shared-Avatar",pe={root:`${ws}-root`},Qo={xs:{dimension:20,fontSize:"9px"},sm:{dimension:28,fontSize:"11px"},md:{dimension:36,fontSize:"14px"},lg:{dimension:48,fontSize:"18px"},xl:{dimension:64,fontSize:"24px"}};var et=styled(Is,{shouldForwardProp:e=>e!=="$size"})(({theme:e,$size:o="md"})=>{let{dimension:t,fontSize:r}=Qo[o];return {width:t,height:t,fontSize:r,fontWeight:e.typography.fontWeightBold,backgroundColor:e.palette.info.dark,color:e.palette.common.white}});var ot=forwardRef(({className:e,sx:o,size:t="md",shape:r="circular",...a},s)=>jsx(et,{ref:s,className:kc(pe.root,e),sx:o,"data-testid":"Avatar",$size:t,variant:r,...a}));ot.displayName="Avatar";var tt=memo(ot);var Ms="os-shared-Divider",le={root:`${Ms}-root`};var rt=styled($s)(()=>({}));var at=forwardRef(({className:e,sx:o,orientation:t="horizontal",...r},a)=>jsx(rt,{ref:a,className:kc(le.root,e),sx:o,"data-testid":"Divider",orientation:t,...r}));at.displayName="Divider";var st=memo(at);var As="os-shared-Collapse",me={root:`${As}-root`},nt=true,it=300;var pt=styled(Ds)(()=>({}));var lt=forwardRef(({className:e,sx:o,children:t,unmountOnExit:r=nt,timeout:a=it,...s},p)=>jsx(pt,{ref:p,className:kc(me.root,e),sx:o,"data-testid":"Collapse",unmountOnExit:r,timeout:a,...s,children:t}));lt.displayName="Collapse";var mt=memo(lt);var Os="os-shared-Badge",de={root:`${Os}-root`},dt={primary:"#1976d2",secondary:"#f50057",neutral:"#656565",gray:"#CFCFCF",orange:"#FFD503"},ct=["primary","secondary","neutral","dark"];var js={default:e=>e.palette.info.main,inactive:e=>e.palette.grey[100],active:e=>alpha(e.palette.text.primary,.1),dark:e=>e.palette.info.dark,red:e=>e.palette.error.light},Us={default:e=>e.palette.common.white,inactive:e=>e.palette.text.primary,active:e=>e.palette.common.white,dark:e=>e.palette.common.white};function Gs(e,o){let t=dt[e];return t||(js[e]?.(o)??o.palette.common.white)}function _s(e,o){return ct.includes(e)?o.palette.common.white:Us[e]?.(o)??o.palette.common.white}var ft=styled("span",{shouldForwardProp:e=>!["$color","$compact","$round","$pointer"].includes(e)})(({theme:e,$color:o="default",$compact:t,$round:r,$pointer:a})=>({paddingLeft:t?"0.16056rem":r?"0.275rem":"8px",paddingRight:t?"0.16056rem":r?"0.275rem":"8px",borderRadius:t?e.spacing(.5):e.spacing(2),backgroundColor:Gs(o,e),color:_s(o,e),fontSize:"0.6rem",fontWeight:e.typography.fontWeightBold,overflow:"hidden",height:t?"12px":"16px",display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:a?"pointer":"auto"}));var yt=forwardRef(({className:e,sx:o,color:t="default",compact:r,round:a,pointer:s,children:p,...i},l)=>jsx(ft,{ref:l,className:kc(de.root,e),sx:o,"data-testid":"Badge",$color:t,$compact:r,$round:a,$pointer:s,...i,children:p}));yt.displayName="Badge";var ut=memo(yt);var Js="os-shared-Backdrop",ce={root:`${Js}-root`};var xt=styled(J)(({theme:e})=>({position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:999,backgroundColor:alpha(e.palette.common.black,.3)}));var gt=forwardRef(({className:e,sx:o,open:t=true,onClose:r,onClick:a,...s},p)=>{if(!t)return null;let i=l=>{r?.(),a?.(l);};return createPortal(jsx(xt,{ref:p,className:kc(ce.root,e),sx:o,"data-testid":"Backdrop",onClick:i,...s}),document.body)});gt.displayName="Backdrop";var Ct=memo(gt);var fe="os-shared-CopyButton",B={root:`${fe}-root`,icon:`${fe}-icon`,copyIcon:`${fe}-copyIcon`,copiedIcon:`${fe}-copiedIcon`},ht=2e3,bt=200;var kt=e=>{let{palette:o}=useTheme();return jsx(Me,{sx:{height:12.6,width:13},...e,children:jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"13",viewBox:"2.67 1.67 10.66 12.66",fill:"none",children:jsx("path",{d:"M11.3333 13.6978L11.3332 13.6979C11.1002 14.0479 10.7072 14.2582 10.2863 14.2582H5.83317C4.12559 14.2582 2.7415 12.8741 2.7415 11.1665V4.71338C2.7415 4.29279 2.95172 3.89983 3.30186 3.66641L3.5915 3.47331V11.1665C3.5915 12.4046 4.59508 13.4082 5.83317 13.4082H11.5264L11.3333 13.6978ZM4.40817 3.49984C4.40817 2.53467 5.20133 1.7415 6.1665 1.7415H11.4998C12.465 1.7415 13.2582 2.53467 13.2582 3.49984V10.8332C13.2582 11.7983 12.465 12.5915 11.4998 12.5915H6.1665C5.20133 12.5915 4.40817 11.7983 4.40817 10.8332V3.49984ZM11.4998 2.5915H6.1665C5.65901 2.5915 5.25817 2.99234 5.25817 3.49984V10.8332C5.25817 11.3407 5.65901 11.7415 6.1665 11.7415H11.4998C12.0073 11.7415 12.4082 11.3407 12.4082 10.8332V3.49984C12.4082 2.99234 12.0073 2.5915 11.4998 2.5915Z",fill:o.text.primary,stroke:o.common.white,strokeWidth:"0.15"})})})},wt=e=>{let{palette:o}=useTheme();return jsx(Me,{sx:{height:12.6,width:13},...e,children:jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"2 2 12.33 12.33",fill:"none",children:[jsx("path",{d:"M8.16646 2.00146C11.5718 2.00146 14.3315 4.76114 14.3315 8.16646C14.3315 11.5718 11.5718 14.3315 8.16646 14.3315C4.76114 14.3315 2.00146 11.5718 2.00146 8.16646C2.00146 4.76114 4.76114 2.00146 8.16646 2.00146Z",fill:o.success.main}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.984 5.89153C11.2107 6.10097 11.2247 6.45454 11.0152 6.68124L7.57351 10.4067C7.46772 10.5212 7.31891 10.5863 7.16302 10.5863C7.00713 10.5863 6.85832 10.5212 6.75253 10.4067L5.03167 8.54397C4.82222 8.31726 4.83622 7.9637 5.06293 7.75425C5.28963 7.54481 5.6432 7.55881 5.85264 7.78552L7.16302 9.20392L10.1943 5.92279C10.4037 5.69608 10.7573 5.68209 10.984 5.89153Z",fill:o.common.white})]})})};var Bt=styled("span")({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,flexShrink:0,cursor:"pointer",verticalAlign:"middle"}),ze=styled("span",{shouldForwardProp:e=>e!=="$visible"})(({$visible:e})=>({position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",opacity:e?1:0,transition:`opacity ${bt}ms ease`}));var vt=forwardRef(({className:e,sx:o,text:t,feedbackMs:r=ht,onClick:a,...s},p)=>{let[i,l]=useState(false),m=d=>{d.stopPropagation(),ab(t),l(true),setTimeout(()=>l(false),r),a?.(d);};return jsxs(Bt,{ref:p,className:kc(B.root,e),sx:o,role:"button",tabIndex:0,"data-testid":"CopyButton",onClick:m,...s,children:[jsx(ze,{className:kc(B.icon,B.copyIcon),$visible:!i,children:jsx(kt,{})}),jsx(ze,{className:kc(B.icon,B.copiedIcon),$visible:i,children:jsx(wt,{})})]})});vt.displayName="CopyButton";var Pt=memo(vt);var Re="os-shared-ProgressBar",H={root:`${Re}-root`,fill:`${Re}-fill`,text:`${Re}-text`};var Mt=styled(J,{shouldForwardProp:e=>!["$value","$isDecimal"].includes(e)})(({theme:e,$value:o,$isDecimal:t})=>({width:`${o}%`,minWidth:o>=10?"28px":"24px",height:"18px",borderRadius:"50px",background:e.palette.background.gradient?.darkShadedBlue??"linear-gradient(256deg, #147DC5 0%, #3DA6E1 100%)",display:"flex",alignItems:"center",justifyContent:o>10?"flex-end":"center",paddingInlineEnd:o>10?"2px":"0px",...o===0&&{background:alpha(e.palette.text.primary,26/255)},...t&&{minWidth:o>=10?"40px":"36px"}})),$t=styled(J,{shouldForwardProp:e=>e!=="$value"})(({theme:e,$value:o})=>({height:"14px",maxWidth:"36px",minWidth:"20px",background:alpha(e.palette.text.primary,26/255),borderRadius:"50px",display:"flex",alignItems:"center",justifyContent:"center",padding:0,...o===0&&{background:alpha(e.palette.text.primary,0)}})),Lt=styled(_a,{shouldForwardProp:e=>e!=="$value"})(({theme:e,$value:o})=>({fontSize:"8px",fontWeight:e.typography.fontWeightBolder??700,color:e.palette.common.white,padding:"2px 4px",...o===0&&{color:alpha(e.palette.grey.A100,.5)}}));var zt=forwardRef(({className:e,sx:o,value:t},r)=>{let a=!Number.isInteger(t);return jsx(Mt,{ref:r,className:kc(H.root,e),sx:o,"data-testid":"ProgressBar",$value:t,$isDecimal:a,children:jsx($t,{className:H.fill,$value:t,children:jsxs(Lt,{className:H.text,$value:t,variant:"caption",children:[Number(t.toFixed(2)),"%"]})})})});zt.displayName="ProgressBar";var Rt=memo(zt);var xe="os-shared-Chip",v={root:`${xe}-root`,text:`${xe}-text`,copyButton:`${xe}-copyButton`,icon:`${xe}-icon`},At=2e3,De=150;var Wt=e=>{let{palette:o}=useTheme();return jsx(Me,{sx:{height:"10px"},...e,children:jsx("svg",{width:"11",height:"13",viewBox:"0 0 11 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.924805 9.5C0.924805 10.7381 1.9289 11.7412 3.16699 11.7412H8.86035L8.66699 12.0312C8.43398 12.3812 8.04094 12.5917 7.62012 12.5918H3.16699C1.45941 12.5918 0.0751953 11.2076 0.0751953 9.5V3.04688C0.0751953 2.62628 0.28561 2.23342 0.635742 2L0.924805 1.80664V9.5ZM3.5 0.0751953H8.83301C9.79807 0.0751953 10.5916 0.867985 10.5918 1.83301V9.16699C10.5916 10.132 9.79807 10.9248 8.83301 10.9248H3.5C2.53494 10.9248 1.74139 10.132 1.74121 9.16699V1.83301C1.74139 0.867985 2.53494 0.0751953 3.5 0.0751953ZM3.5 0.924805C2.99261 0.924805 2.59197 1.32567 2.5918 1.83301V9.16699C2.59197 9.67433 2.99261 10.0752 3.5 10.0752H8.83301C9.3404 10.0752 9.74104 9.67433 9.74121 9.16699V1.83301C9.74104 1.32567 9.3404 0.924805 8.83301 0.924805H3.5Z",fill:o.text.primary,stroke:o.common.white,strokeWidth:"0.15"})})})},Ht=e=>{let{palette:o}=useTheme();return jsx(Me,{sx:{height:"10px"},...e,children:jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"2 2 12.33 12.33",fill:"none",children:[jsx("path",{d:"M8.16646 2.00146C11.5718 2.00146 14.3315 4.76114 14.3315 8.16646C14.3315 11.5718 11.5718 14.3315 8.16646 14.3315C4.76114 14.3315 2.00146 11.5718 2.00146 8.16646C2.00146 4.76114 4.76114 2.00146 8.16646 2.00146Z",fill:o.success.main}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.984 5.89153C11.2107 6.10097 11.2247 6.45454 11.0152 6.68124L7.57351 10.4067C7.46772 10.5212 7.31891 10.5863 7.16302 10.5863C7.00713 10.5863 6.85832 10.5212 6.75253 10.4067L5.03167 8.54397C4.82222 8.31726 4.83622 7.9637 5.06293 7.75425C5.28963 7.54481 5.6432 7.55881 5.85264 7.78552L7.16302 9.20392L10.1943 5.92279C10.4037 5.69608 10.7573 5.68209 10.984 5.89153Z",fill:o.common.white})]})})};var Ce=styled(J,{shouldForwardProp:e=>!["$variant","$hasIcon","$isSelected","$disableAnimation"].includes(e)})(({theme:e,$variant:o="text",$hasIcon:t,$isSelected:r,$disableAnimation:a})=>({display:"inline-flex",alignItems:"center",justifyContent:t?"flex-start":"center",gap:t?e.spacing(1):void 0,lineHeight:"normal",borderRadius:"30px",whiteSpace:"nowrap",boxSizing:"border-box",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.background.paper,...o==="text"&&{padding:`${e.spacing(.75)} ${e.spacing(1)}`,minHeight:"30px"},...o==="circular"&&{minHeight:24,minWidth:24,padding:e.spacing(.5),aspectRatio:"1 / 1"},...o==="pill-icon"&&{minHeight:24,minWidth:36,padding:`${e.spacing(.25)} ${e.spacing(.75)}`},...r&&{boxShadow:`${e.palette.common.white} 7px 0px 8px 2px`},...a&&{transition:"none !important",animation:"none !important",transform:"none !important","& *":{transition:"none !important",animation:"none !important",transform:"none !important"}}})),Ee=styled(J)({textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:"1 1 auto"}),Ot=styled("span",{shouldForwardProp:e=>e!=="$copied"})(({$copied:e})=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:12,height:12,flexShrink:0,cursor:"pointer",opacity:e?1:.6,transition:`opacity ${De}ms ease`,"&:hover":{opacity:1}})),We=styled("span",{shouldForwardProp:e=>e!=="$visible"})(({$visible:e})=>({position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",opacity:e?1:0,transition:`opacity ${De}ms ease`}));var Zt=forwardRef(({className:e,sx:o,children:t,icon:r,variant:a="text",disabled:s=false,isSelected:p=false,copyText:i,unknownText:l="Unknown",disableAnimation:m=false,...d},c)=>{let[y,u]=useState(false),g=x=>{x.stopPropagation(),i&&(ab(i),u(true),setTimeout(()=>u(false),At));},C={$variant:a,$hasIcon:r!=null,$isSelected:p,$disableAnimation:m},f=kc(v.root,e,`CustomVariant_${a}`),k=[s?{cursor:"not-allowed",opacity:.5}:{},...Array.isArray(o)?o:o?[o]:[]];return t?i?jsxs(Ce,{ref:c,className:f,sx:[{gap:"4px"},...k],"data-testid":"Chip",...C,...d,children:[jsx(Ee,{className:v.text,"data-is-arabic":typeof t=="string"&&Zb(t),children:t}),jsxs(Ot,{className:v.copyButton,role:"button",tabIndex:0,"aria-label":y?"copied":"copy","data-testid":"ChipCopyButton",$copied:y,onClick:g,children:[jsx(We,{$visible:!y,children:jsx(Wt,{})}),jsx(We,{$visible:y,children:jsx(Ht,{})})]})]}):jsxs(Ce,{ref:c,className:f,sx:k,"data-testid":"Chip",...C,...d,children:[r!=null&&jsx("span",{className:v.icon,children:r}),jsx(Ee,{className:v.text,children:t})]}):jsx(Ce,{className:f,sx:k,"data-testid":"Chip",...C,...d,children:l})});Zt.displayName="Chip";var Kt=memo(Zt);var Ve="os-shared-Slider",T={root:`${Ve}-root`,thumb:`${Ve}-thumb`,thumbIcon:`${Ve}-thumbIcon`},Oe=["0px 0px 1.25px 0px rgba(0, 0, 0, 0.1)","0px 1.25px 1.25px 0px rgba(0, 0, 0, 0.09)","0px 3.75px 2.5px 0px rgba(0, 0, 0, 0.05)","0px 7.5px 2.5px 0px rgba(0, 0, 0, 0.01)","0px 11.25px 3.75px 0px rgba(0, 0, 0, 0)"].join(", ");var jt=e=>{let{palette:o}=useTheme();return jsx(Me,{sx:{width:"5px",height:"8px",pointerEvents:"none"},...e,children:jsxs("svg",{width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("path",{d:"M0.459961 0.460449L0.459961 6.59897",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"}),jsx("path",{d:"M2.44531 0.460388L2.44531 6.59891",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"}),jsx("path",{d:"M4.4375 0.460388L4.4375 6.59891",stroke:o.grey[700],strokeWidth:"0.920779",strokeLinecap:"round"})]})})};var Ut=styled(kn)(({theme:e})=>({color:e.palette.info.dark,height:8,padding:0,"& .MuiSlider-rail":{backgroundColor:"#CFCFCF",opacity:1,left:0},"& .MuiSlider-thumb":{height:20,width:20,backgroundColor:e.palette.common.white,border:"none",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:Oe,"&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:Oe}},[`& .${T.thumbIcon}`]:{width:"5px",height:"8px",pointerEvents:"none"}}));function Tn({children:e,className:o,...t}){return jsxs(SliderThumb,{className:kc(T.thumb,o),...t,children:[e,jsx(jt,{className:T.thumbIcon})]})}var Gt=forwardRef(({className:e,sx:o,value:t,min:r,max:a,step:s,disabled:p,onChange:i,slots:l,...m},d)=>{let c=useCallback((y,u)=>{i(u);},[i]);return jsx(Ut,{ref:d,className:kc(T.root,e),sx:o,"data-testid":"Slider",value:t,min:r,max:a,step:s,disabled:p,onChange:c,...m,slots:{thumb:Tn,...l}})});Gt.displayName="Slider";var _t=memo(Gt);var Ze="os-shared-Input",O={root:`${Ze}-root`,label:`${Ze}-label`,input:`${Ze}-input`},Yt={sm:28,md:32,labelled:40},qt=["e","E","+","-"],Jt=/^[0-9.]$/,Qt=xa$1();var er=(e,o)=>Yt[e?"labelled":o],or=styled(Fn,{shouldForwardProp:e=>!["$hasLabel","$hideArrows","$size"].includes(e)})(({theme:e,$hasLabel:o=false,$hideArrows:t=false,$size:r="md"})=>({height:er(o,r),padding:o?"8px":"0 8px",border:"none",borderRadius:"inherit",fontSize:"11px",fontWeight:e.typography.fontWeightMedium,color:e.palette.text.primary,backgroundColor:"transparent",display:"flex",alignItems:o?"stretch":"center","&.Mui-disabled":{color:e.palette.grey[700]},"& input":{paddingTop:"4px",paddingBottom:"4px"},"& input::placeholder":{color:e.palette.grey[700],fontWeight:e.typography.fontWeightRegular,opacity:o?0:1,...o&&{transition:"opacity 0.2s ease"}},"& input:-webkit-autofill, & input:-webkit-autofill:hover, & input:-webkit-autofill:focus":{WebkitTextFillColor:e.palette.text.primary,caretColor:e.palette.text.primary,transition:"background-color 5000s ease-in-out 0s"},"&::before, &::after":{display:"none"},...o&&{marginTop:0,"& input":{margin:"0px !important",padding:"0px !important",paddingTop:"10px !important",lineHeight:"130%"},"& input:focus::placeholder":{opacity:"1 !important"}},...t&&{"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0}}})),tr=styled(Ln)(({theme:e})=>({fontSize:"11px",color:`${e.palette.grey[700]} !important`})),rr=styled($n,{shouldForwardProp:e=>!["$hasLabel","$size"].includes(e)})(({theme:e,disabled:o,error:t,fullWidth:r,$hasLabel:a=false,$size:s="md"})=>({position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",height:er(a,s),margin:0,border:`1px solid ${t?e.palette.error.main:e.palette.divider}`,borderRadius:"4px",backgroundColor:o?e.palette.grey[100]:e.palette.common.white,transition:"border-color 0.15s ease","&:focus-within":{borderColor:t?e.palette.error.main:e.palette.grey[400]},"& .MuiFormLabel-asterisk":{color:e.palette.error.light},"& .MuiInputLabel-root":{position:"absolute",left:0,top:0,zIndex:1,pointerEvents:"none",padding:"8px",fontSize:"10px",fontWeight:e.typography.fontWeightMedium,lineHeight:"100%",transform:"translate(0, 6px) scale(1) !important",transformOrigin:"top left"},"& .MuiInputLabel-root.MuiInputLabel-shrink, & .MuiInputLabel-root.MuiFormLabel-filled, & .MuiInputLabel-root.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75) !important",color:`${e.palette.grey[700]} !important`},"& .MuiInput-root":{flex:1,marginTop:"0 !important"}}));var sr=forwardRef(({label:e,size:o="md",error:t=false,disabled:r=false,fullWidth:a=false,placeholder:s,hideArrows:p=false,type:i,id:l,className:m,sx:d,onKeyDown:c,onWheel:y,...u},g)=>{let C=!!e,f=i==="number",N=x=>{let D=x.metaKey||x.ctrlKey||x.altKey,Pe=x.key.length===1;(qt.includes(x.key)||Qt&&Pe&&!D&&!Jt.test(x.key))&&x.preventDefault(),c?.(x);},k=x=>{x.target instanceof HTMLElement&&x.target.blur(),y?.(x);};return jsxs(rr,{className:kc(O.root,m),sx:d,error:t,disabled:r,fullWidth:a,"data-testid":"Input",$hasLabel:C,$size:o,children:[C&&jsx(tr,{className:O.label,htmlFor:l,children:e}),jsx(or,{id:l,inputRef:g,className:O.input,type:i,error:t,disabled:r,placeholder:s??void 0,"aria-invalid":t||void 0,disableUnderline:true,fullWidth:true,$hasLabel:C,$hideArrows:p,$size:o,onKeyDown:f?N:c,onWheel:f?k:y,...u})]})});sr.displayName="Input";var nr=memo(sr);var je="os-shared-Textarea",Z={root:`${je}-root`,label:`${je}-label`,textarea:`${je}-textarea`},Ue=20;var ir=styled(Wn,{shouldForwardProp:e=>!["$error","$hasLabel","$minRows"].includes(e)})(({theme:e,$hasLabel:o=false,$minRows:t=3})=>({border:"none",borderRadius:"inherit",padding:o?"8px":"8px 12px",fontSize:"11px",fontWeight:e.typography.fontWeightMedium,lineHeight:1.5,color:e.palette.text.primary,backgroundColor:"transparent",alignItems:"flex-start",width:"100%","&.Mui-disabled":{color:e.palette.grey[700]},"& textarea":{resize:"vertical",minHeight:`${Math.max(t*Ue,60)}px`,padding:0},"& textarea::placeholder":{color:e.palette.grey[700],fontWeight:e.typography.fontWeightRegular,opacity:o?0:1,...o&&{transition:"opacity 0.2s ease"}},"& textarea:-webkit-autofill, & textarea:-webkit-autofill:hover, & textarea:-webkit-autofill:focus":{WebkitTextFillColor:e.palette.text.primary,caretColor:e.palette.text.primary,transition:"background-color 5000s ease-in-out 0s"},"&::before, &::after":{display:"none"},...o&&{marginTop:0,"& textarea":{margin:"0px !important",padding:"0px !important",paddingTop:"10px !important",lineHeight:"130%"},"& textarea:focus::placeholder":{opacity:"1 !important"}}})),pr=styled(Ln)(({theme:e})=>({fontSize:"11px",color:`${e.palette.grey[700]} !important`})),lr=styled($n,{shouldForwardProp:e=>!["$hasLabel","$minRows"].includes(e)})(({theme:e,disabled:o,error:t,fullWidth:r,$hasLabel:a=false,$minRows:s=3})=>({position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",minHeight:a?40+s*Ue:void 0,margin:0,border:`1px solid ${t?e.palette.error.main:e.palette.divider}`,borderRadius:"4px",backgroundColor:o?e.palette.grey[100]:e.palette.common.white,transition:"border-color 0.15s ease","&:focus-within":{borderColor:t?e.palette.error.main:e.palette.grey[400]},"& .MuiFormLabel-asterisk":{color:e.palette.error.light},"& .MuiInputLabel-root":{position:"absolute",left:0,top:0,zIndex:1,pointerEvents:"none",padding:"8px",fontSize:"10px",fontWeight:e.typography.fontWeightMedium,lineHeight:"100%",transform:"translate(0, 6px) scale(1) !important",transformOrigin:"top left"},"& .MuiInputLabel-root.MuiInputLabel-shrink, & .MuiInputLabel-root.MuiFormLabel-filled, & .MuiInputLabel-root.Mui-focused":{transform:"translate(0, -1.5px) scale(0.75) !important",color:`${e.palette.grey[700]} !important`},"& .MuiInputBase-root":{flex:1,marginTop:"0 !important"}}));var dr=forwardRef(({label:e,error:o=false,disabled:t=false,fullWidth:r=false,placeholder:a,minRows:s=3,maxRows:p,id:i,className:l,sx:m,...d},c)=>{let y=!!e;return jsxs(lr,{className:kc(Z.root,l),sx:m,error:o,disabled:t,fullWidth:r,"data-testid":"Textarea",$hasLabel:y,$minRows:s,children:[y&&jsx(pr,{className:Z.label,htmlFor:i,children:e}),jsx(ir,{id:i,inputRef:c,className:Z.textarea,multiline:true,minRows:s,maxRows:p,disabled:t,placeholder:a??void 0,"aria-invalid":o||void 0,fullWidth:true,$error:o,$hasLabel:y,$minRows:s,...d})]})});dr.displayName="Textarea";var cr=memo(dr);var F="os-shared-Accordion",S={root:`${F}-root`,summary:`${F}-summary`,content:`${F}-content`,labelStartAdornment:`${F}-labelStartAdornment`,labelContent:`${F}-labelContent`,labelEndAdornment:`${F}-labelEndAdornment`,expandIcon:`${F}-expandIcon`};var yr=()=>{let{palette:e}=useTheme();return jsx("svg",{width:"9",height:"5",viewBox:"0 0 9 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M0.0501709 0.427246C0.0493864 0.478467 0.0592757 0.529176 0.0784912 0.57666C0.0976579 0.623937 0.125505 0.667471 0.161499 0.703613L3.82556 4.47803C3.86116 4.51465 3.90353 4.54403 3.95056 4.56396C3.99773 4.58391 4.04876 4.59422 4.09998 4.59424C4.15123 4.59424 4.20218 4.58392 4.24939 4.56396C4.29655 4.54401 4.33969 4.51476 4.37537 4.47803L8.03845 0.703613C8.07407 0.667816 8.10232 0.625348 8.12146 0.578613C8.14069 0.531638 8.15017 0.480932 8.14978 0.430176C8.14935 0.379519 8.13942 0.329298 8.11951 0.282715C8.09956 0.236042 8.06999 0.19405 8.03357 0.158691C7.99716 0.123349 7.95384 0.0952198 7.90662 0.0766602C7.8595 0.0582058 7.80878 0.0491929 7.75818 0.050293C7.70763 0.0514427 7.65792 0.0629948 7.61169 0.0834961C7.56537 0.104067 7.52346 0.13358 7.48865 0.17041L4.09998 3.65967L0.711304 0.17041C0.65912 0.115154 0.592066 0.0759001 0.517944 0.059082C0.443585 0.0422622 0.365385 0.0481013 0.294312 0.0756836C0.22324 0.103266 0.162075 0.15178 0.11853 0.214355C0.0750125 0.276905 0.05135 0.351058 0.0501709 0.427246Z",fill:e.text.primary,stroke:e.text.primary,strokeWidth:"0.1"})})};var xr=styled(Kn)(({theme:e,square:o})=>({overflow:"hidden",border:`1px solid ${e.palette.divider}`,...!o&&{borderRadius:e.shape.borderRadius},margin:0,background:e.palette.background.paper,"&:before":{content:"unset"},"&.Mui-expanded":{margin:0},"&.Mui-disabled":{opacity:.5,pointerEvents:"none"}})),gr=styled(Un)(({theme:e})=>({background:e.palette.grey.A50??"#fbfbfb",minHeight:"40px",height:"40px",padding:"10px","&.Mui-expanded":{minHeight:"40px",height:"40px"},"& .MuiAccordionSummary-content":{margin:0,display:"flex",flexDirection:"row",alignItems:"center",flexGrow:1,minWidth:0,gap:10},"& .MuiAccordionSummary-expandIconWrapper":{marginLeft:8}})),Cr=styled(jn)(({theme:e})=>({padding:0,borderTop:`1px solid ${e.palette.divider}`})),hr=styled(J)({display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:"rotate(0deg)"}),br=styled(J)({minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"});var kr=forwardRef(({expanded:e,defaultExpanded:o=false,onChange:t,label:r,content:a,labelStartAdornment:s,labelEndAdornment:p,slotProps:i={},disabled:l=false,expandIcon:m,className:d,sx:c,...y},u)=>{let g=e!==void 0,[C,f]=useState(o),N=g?e:C,k=(Ui,eo)=>{g||f(eo),t?.(eo);},{showArrow:x=true,...D}=i.label??{},{className:Pe,sx:ka,...wa}=i.root??{},Ia=m??(x?jsx(hr,{component:"span",className:S.expandIcon,children:jsx(yr,{})}):null),Ba=jsxs(Fragment,{children:[s!=null&&jsx(J,{component:"span",className:S.labelStartAdornment,...i.labelStartAdornment,sx:jc({flexShrink:0},i.labelStartAdornment?.sx),children:s}),jsx(br,{component:"span",className:S.labelContent,...i.labelContent,sx:i.labelContent?.sx,children:r}),p!=null&&jsx(J,{component:"span",className:S.labelEndAdornment,...i.labelEndAdornment,sx:jc({flexShrink:0,marginLeft:"auto"},i.labelEndAdornment?.sx),children:p})]});return jsxs(xr,{ref:u,"data-testid":"Accordion",disabled:l,expanded:N,onChange:k,className:kc(S.root,d,Pe),sx:jc(c??{},ka),...wa,...y,children:[jsx(gr,{className:S.summary,expandIcon:Ia,"aria-expanded":N,...D,children:Ba}),jsx(Cr,{className:S.content,...i.content,children:a})]})});kr.displayName="Accordion";var wr=memo(kr);var Ir="os-shared-Menu",_={popper:`${Ir}-popper`,panel:`${Ir}-panel`},Br=12;var Pr=styled(Jn)({}),Tr=styled(J,{shouldForwardProp:e=>e!=="$showShadow"})(({theme:e,$showShadow:o})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",boxShadow:e.shadows[11],display:"flex",flexDirection:"column",overflowY:"auto",maxHeight:"432px","&:focus":{outline:"none"},".menu-item + .menu-item":{borderTop:`1px solid ${e.palette.divider}`},"&::after":{content:o?'""':"none",width:"100%",height:"34px",position:"sticky",bottom:0,pointerEvents:"none",background:`linear-gradient(180deg, rgba(255,255,255,0) 0%, ${e.palette.common.white} 100%)`}}));var $r=forwardRef(({open:e,anchorEl:o,children:t,placement:r,popperSx:a,panelProps:s,className:p,sx:i,...l},m)=>{let[d,c]=useState(false),u=useMemo(()=>Children.count(t),[t])>Br&&d,{onScroll:g,className:C,sx:f,...N}=s??{},k=useCallback(D=>{c((D.currentTarget.scrollTop??0)>0),g?.(D);},[g]),x=kc(_.panel,C,"MuiPopper-dropdown");return jsx(Pr,{ref:m,className:kc(_.popper,p),"data-testid":"Menu",open:e,anchorEl:o,placement:r??"bottom-start",sx:a,...l,children:jsx(Tr,{$showShadow:u,onScroll:k,className:x,sx:jc(i??{},f),...N,children:t})})});$r.displayName="Menu";var Lr=memo($r);var be="os-shared-Dialog",R={root:`${be}-root`,title:`${be}-title`,content:`${be}-content`,actions:`${be}-actions`};var zr=styled(si)(({theme:e})=>({"& .MuiDialog-paper":{boxShadow:e.shadows[13],borderRadius:e.spacing(1)},"& .MuiModal-backdrop":{background:alpha(e.palette.common.black,.2)}})),Rr=styled(ni)(({theme:e})=>({padding:e.spacing(2)}));var Ar=forwardRef(({heading:e,actions:o,children:t,onClose:r,open:a,className:s,sx:p,...i},l)=>jsxs(zr,{ref:l,"data-testid":"Dialog",open:a,onClose:r,className:kc(R.root,s),sx:p,...i,children:[e&&jsx(di,{className:R.title,children:e}),jsx(Rr,{className:R.content,children:t}),o&&jsx(mi,{className:R.actions,children:o})]}));Ar.displayName="Dialog";var Dr=memo(Ar);var Se="os-shared-MenuItem",M={root:`${Se}-root`,indicator:`${Se}-indicator`,content:`${Se}-content`,disabled:`${Se}-disabled`},A={unchecked:"unchecked",checked:"checked",indeterminate:"indeterminate"};var Wr=()=>{let{palette:e}=useTheme();return jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"2.4",fill:e.info.dark}),jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.83391 3.74245C9.04243 3.94469 9.05652 4.2875 8.86537 4.50814L5.64586 8.22426C5.55146 8.33322 5.41909 8.39666 5.27942 8.39987C5.13975 8.40308 5.0049 8.34579 4.90612 8.24127L3.15002 6.38321C2.94999 6.17157 2.94999 5.82843 3.15002 5.61679C3.35004 5.40516 3.67435 5.40516 3.87437 5.61679L5.2522 7.07463L8.11024 3.77574C8.30138 3.55511 8.62538 3.5402 8.83391 3.74245Z",fill:e.common.white})]})},Hr=()=>jsx("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("rect",{x:"1.19998",y:"1.19998",width:"9.6",height:"9.6",rx:"1.8",fill:"#FAFBFB",stroke:"#D2D5D8",strokeWidth:"1.2"})}),Vr=()=>{let{palette:e}=useTheme();return jsxs("svg",{width:"14",height:"14",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("rect",{x:"1.2",y:"1.2",width:"9.6",height:"9.6",rx:"2.4",fill:e.info.dark,stroke:e.info.dark,strokeWidth:"1.2"}),jsx("rect",{x:"3",y:"5.4",width:"6",height:"1.2",rx:"0.5",fill:"#FAFBFB"})]})};var Kr=styled(J,{shouldForwardProp:e=>e!=="$isDisabled"})(({theme:e,$isDisabled:o=false})=>({padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",gap:"8px",textTransform:"capitalize",cursor:o?"not-allowed":"pointer",flex:1,fontSize:e.typography.subtitle1.fontSize,opacity:o?.5:1,color:e.palette.text.primary})),Xe=styled("span")({width:14,height:14,flexShrink:0,pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center","& svg":{display:"block"}});function xi(e,o){return o?A.indeterminate:e?A.checked:A.unchecked}var gi={[A.unchecked]:Hr,[A.checked]:Wr,[A.indeterminate]:Vr};function Ci(e,o,t){if(e===null)return null;if(e!==void 0)return jsx(Xe,{className:M.indicator,"aria-hidden":true,children:e});let r=xi(o,t),a=gi[r];return jsx(Xe,{className:M.indicator,"aria-hidden":true,children:jsx(a,{})})}var jr=forwardRef(({isSelected:e=false,isDisabled:o=false,isIndeterminate:t=false,startAdornment:r,onClick:a,children:s,className:p,sx:i,...l},m)=>{let d=kc(M.root,"menu-item",o&&M.disabled,p);return jsxs(Kr,{ref:m,"data-testid":"MenuItem",className:d,sx:i,onClick:o?void 0:a,$isDisabled:o,...l,children:[Ci(r,e,t),jsx("span",{className:M.content,children:s})]})});jr.displayName="MenuItem";var Ur=memo(jr);var Gr="os-shared-ToggleButtons",X={root:`${Gr}-root`,button:`${Gr}-button`};var Yr=styled(J)(({theme:e})=>({backgroundColor:e.palette.action.hover,display:"flex",alignItems:"center",gap:"0.5px",padding:"1.5px",borderRadius:"3px"})),Si=e=>({backgroundColor:e.palette.common.white,boxShadow:`0px 0px 3px 0px ${alpha(e.palette.common.black,.2)}`}),qr=styled(J,{shouldForwardProp:e=>e!=="$isActive"})(({theme:e,$isActive:o=false})=>({fontSize:8,fontWeight:e.typography.fontWeightMedium,width:21,height:21,borderRadius:"1.5px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background-color 0.2s ease, box-shadow 0.2s ease",...o?Si(e):{backgroundColor:"transparent",boxShadow:"none"}}));function Qr({options:e,activeKey:o,onChange:t,containerProps:r,buttonProps:a,id:s,className:p,sx:i},l){let{className:m,sx:d,...c}=r??{},y=kc(X.root,p,m);return jsx(Yr,{ref:l,id:s,"data-testid":"ToggleButtons",className:y,sx:jc(i??{},d),...c,children:e.map(u=>jsx(qr,{className:X.button,$isActive:o===u.key,onClick:()=>t(u.key),...a,children:u.content},u.key))})}var wi=forwardRef(Qr);Qr.displayName="ToggleButtons";var ea=memo(wi);var Ii="os-shared-LazyImage",ke={root:`${Ii}-root`},oa={display:"flex",justifyContent:"center",alignItems:"center"},we={opacity:()=>import('react-lazy-load-image-component/src/effects/opacity.css'),blur:()=>import('react-lazy-load-image-component/src/effects/blur.css'),"black-and-white":()=>import('react-lazy-load-image-component/src/effects/black-and-white.css')};var ta=styled(J)({display:"inline-flex",justifyContent:"center",alignItems:"center"});function Ie(e){return e!=null&&e in we}var Fi=LazyLoadImage,aa=forwardRef(({effect:e,wrapperProps:o,id:t,className:r,sx:a,placeholderSrc:s,...p},i)=>{let[l,m]=useState(Ie(e));if(useEffect(()=>{if(!Ie(e)){m(false);return}m(true),we[e]().finally(()=>{m(false);});},[e]),l)return null;let{className:d,sx:c,style:y,...u}=o??{},g=Ie(e)||!!s||y!=null;return jsx(ta,{component:"span",...u,className:kc(ke.root,d??r),sx:c!=null?jc(a??{},c):a,children:jsx(Fi,{...p,ref:i,effect:e,placeholderSrc:s,id:t,"data-testid":"LazyImage",wrapperProps:g?{style:{...oa,...y}}:void 0})})});aa.displayName="LazyImage";var sa=memo(aa);var Ye="os-shared-FieldFeedback",j={root:`${Ye}-root`,icon:`${Ye}-icon`,message:`${Ye}-message`};var ia=({severity:e="error",...o})=>{let{palette:t}=useTheme(),r=e==="warning"?t.custom?.[500]??"#FF7A00":t.error.light;return jsx(Me,{sx:{width:12,height:12},...o,children:jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M6 12C9.30838 12 12 9.30838 12 6C12 2.69162 9.30838 -2.35309e-07 6 -5.24537e-07C2.69162 -8.13764e-07 8.13764e-07 2.69162 5.24537e-07 6C2.35309e-07 9.30838 2.69162 12 6 12ZM6 11.1C3.17801 11.1 0.9 8.82198 0.9 6C0.9 3.17802 3.17802 0.899999 6 0.899999C8.82199 0.899999 11.1 3.17802 11.1 6C11.1 8.82198 8.82198 11.1 6 11.1ZM6 9C6.15913 9 6.31174 8.93679 6.42426 8.82426C6.53679 8.71174 6.6 8.55913 6.6 8.4C6.6 8.24087 6.53679 8.08826 6.42426 7.97574C6.31174 7.86321 6.15913 7.8 6 7.8C5.84087 7.8 5.68826 7.86321 5.57574 7.97574C5.46321 8.08826 5.4 8.24087 5.4 8.4C5.4 8.55913 5.46321 8.71174 5.57574 8.82426C5.68826 8.93679 5.84087 9 6 9ZM6.00703 6.90644C6.12628 6.90458 6.23991 6.85546 6.32296 6.76988C6.40602 6.6843 6.45171 6.56925 6.45 6.45L6.45 3.15C6.45084 3.09037 6.43983 3.03116 6.41759 2.97583C6.39535 2.92049 6.36234 2.87013 6.32047 2.82766C6.2786 2.7852 6.22871 2.75148 6.17369 2.72846C6.11868 2.70544 6.05964 2.69359 6 2.69359C5.94036 2.69359 5.88132 2.70544 5.82631 2.72846C5.77129 2.75148 5.7214 2.7852 5.67953 2.82766C5.63766 2.87013 5.60465 2.92049 5.58241 2.97583C5.56017 3.03116 5.54916 3.09037 5.55 3.15L5.55 6.45C5.54914 6.51023 5.56037 6.57002 5.58304 6.62583C5.60571 6.68163 5.63935 6.73232 5.68197 6.77489C5.72459 6.81745 5.77533 6.85103 5.83116 6.87363C5.887 6.89623 5.9468 6.90739 6.00703 6.90644Z",fill:r})})})},pa=e=>jsx(Me,{sx:{width:12,height:12},...e,children:jsx("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M9.63285 0.429835C9.54018 0.432536 9.45219 0.471196 9.38752 0.537631L3.21672 6.70844L0.614302 4.10602C0.581421 4.07177 0.542037 4.04443 0.498457 4.0256C0.454877 4.00676 0.407977 3.99681 0.360503 3.99633C0.313029 3.99585 0.265937 4.00484 0.221983 4.02279C0.178029 4.04073 0.138097 4.06727 0.104526 4.10084C0.0709555 4.13441 0.0444206 4.17434 0.0264755 4.21829C0.00853037 4.26225 -0.000464234 4.30934 1.8446e-05 4.35681C0.000501126 4.40429 0.0104514 4.45119 0.0292865 4.49477C0.0481216 4.53835 0.0754629 4.57773 0.109709 4.61061L2.96442 7.46533C3.03134 7.53222 3.12209 7.5698 3.21672 7.5698C3.31134 7.5698 3.40209 7.53222 3.46901 7.46533L9.89212 1.04222C9.9436 0.992086 9.97874 0.927576 9.99295 0.857134C10.0072 0.786693 9.99978 0.713603 9.97176 0.647428C9.94374 0.581254 9.8964 0.525079 9.83593 0.486255C9.77546 0.447431 9.70468 0.427767 9.63285 0.429835Z",fill:"#39953E"})})}),la=e=>{let{palette:o}=useTheme();return jsx(Me,{sx:{width:12,height:12},...e,children:jsx("svg",{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsx("path",{d:"M6 7.5V5.5M6 3.5H6.005M11 5.5C11 8.26142 8.76142 10.5 6 10.5C3.23858 10.5 1 8.26142 1 5.5C1 2.73858 3.23858 0.5 6 0.5C8.76142 0.5 11 2.73858 11 5.5Z",stroke:o.text.primary,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})})})};function ma(e,o){let t=e.palette.custom?.[500]??"#FF7A00";return {warning:{backgroundColor:alpha(t,.15),textColor:t},success:{backgroundColor:alpha(e.palette.success.dark,.15),textColor:e.palette.success.dark},info:{backgroundColor:alpha(e.palette.info.dark,.12),textColor:e.palette.info.dark},error:{backgroundColor:alpha(e.palette.error.main,.15),textColor:e.palette.error.main}}[o]}var da=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:o})=>{let{backgroundColor:t}=ma(e,o);return {display:"flex",alignItems:"flex-start",gap:"4px",minHeight:"32px",padding:"8px 12px",background:t,borderRadius:"0 0 4px 4px"}}),ca=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:o})=>{let{textColor:t}=ma(e,o);return {fontSize:"10px",lineHeight:"16px",display:"block",color:t,wordBreak:"break-word"}}),fa=styled("span")({width:12,height:12,flexShrink:0,marginTop:"2px",display:"inline-flex",alignItems:"center",justifyContent:"center","& svg":{width:12,height:12,display:"block"}});function Ai(e){return e!=null&&e!==""}function Di(e){switch(e){case "success":return jsx(pa,{});case "info":return jsx(la,{});case "error":case "warning":return jsx(ia,{severity:e})}}var ya=forwardRef(({type:e="error",message:o,icon:t,className:r,sx:a},s)=>{if(!Ai(o))return null;let p=e;return jsxs(da,{ref:s,"data-testid":"FieldFeedback",className:kc(j.root,r),sx:a,$feedbackType:p,children:[t??jsx(fa,{className:j.icon,children:Di(p)}),jsx(ca,{className:j.message,$feedbackType:p,children:o})]})});ya.displayName="FieldFeedback";var ua=memo(ya);var Wi="os-shared-ScrollLoader",ve={root:`${Wi}-root`},xa=50;var ga=styled(Hi)({overflow:"auto",height:"100%",maxHeight:"100%"});function Qe(e,o=xa){return e.scrollHeight-(e.scrollTop+e.clientHeight)<=o}var Sa=forwardRef(({loadMoreItems:e,hasMore:o,isLoading:t=false,isFetchingNextPage:r,children:a,className:s,sx:p,id:i,...l},m)=>{let[d,c]=useState(false),y=useRef(e),u=useRef(null);y.current=e;let g=useCallback(()=>{o&&!r&&y.current();},[o,r]),C=useCallback(()=>{let f=u.current;f&&Qe(f)&&g();},[g]);return useEffect(()=>{let f=u.current;if(f)return f.addEventListener("scroll",C),()=>f.removeEventListener("scroll",C)},[C]),useEffect(()=>{let f=u.current;if(!f||t||d)return;let N=window.setTimeout(()=>{c(true),Qe(f)&&g();},1e3);return ()=>window.clearTimeout(N)},[t,g,d]),jsx(ga,{ref:f=>{u.current=f,typeof m=="function"?m(f):m&&(m.current=f);},id:i,"data-testid":"ScrollLoader",className:kc(ve.root,s),sx:p,...l,children:a})});Sa.displayName="ScrollLoader";var Na=memo(Sa);
|
|
2
|
-
export{ua as $,ce as A,Ct as B,B as C,Pt as D,H as E,Rt as F,v as G,Kt as H,T as I,_t as J,O as K,nr as L,Z as M,cr as N,S as O,wr as P,_ as Q,Lr as R,R as S,Dr as T,M as U,Ur as V,X as W,ea as X,ke as Y,sa as Z,j as _,w as a,ve as aa,po as b,Na as ba,ee as c,co as d,$ as e,So as f,oe as g,wo as h,te as i,vo as j,re as k,zo as l,L as m,Vo as n,ne as o,Go as p,ie as q,Jo as r,pe as s,tt as t,le as u,st as v,me as w,mt as x,de as y,ut as z};
|