@tap-payments/os-micro-frontend-shared 0.3.206-test.2 → 0.3.207-test.1
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-7UR4RFOF.js → chunk-2C5LPDZP.js} +1 -1
- package/build/_chunks/{chunk-6KQKDDLC.js → chunk-37V3DO6N.js} +1 -1
- package/build/_chunks/{chunk-FINICJL3.js → chunk-3FL6JKDE.js} +1 -1
- package/build/_chunks/chunk-3TO7YUM5.js +1 -0
- package/build/_chunks/{chunk-CWX3YQHY.js → chunk-4B2QTPTE.js} +1 -1
- package/build/_chunks/{chunk-JQV74CFY.js → chunk-57COBHS2.js} +1 -1
- package/build/_chunks/{chunk-K7BX77NR.js → chunk-5B5BHQMS.js} +1 -1
- package/build/_chunks/{chunk-7HRMITJB.js → chunk-5CQG3WDG.js} +1 -1
- package/build/_chunks/{chunk-42BRQZI3.js → chunk-5K5Q4DZF.js} +1 -1
- package/build/_chunks/{chunk-PIVDC3CV.js → chunk-6QA5UWFS.js} +1 -1
- package/build/_chunks/{chunk-QCWTNVJS.js → chunk-BFNXERA5.js} +1 -1
- package/build/_chunks/chunk-CBQF2JOF.js +1 -0
- package/build/_chunks/{chunk-HXIYFSTZ.js → chunk-CC3OHCAU.js} +1 -1
- package/build/_chunks/{chunk-3JDO4H7Q.js → chunk-CWNJS74Z.js} +1 -1
- package/build/_chunks/chunk-DN2ZZCDD.js +2 -0
- package/build/_chunks/{chunk-Z3B4EDSN.js → chunk-EOPHF3KG.js} +1 -1
- package/build/_chunks/{chunk-UDDOFJHJ.js → chunk-ERL2AD3X.js} +1 -1
- package/build/_chunks/chunk-GKSTVWG7.js +1 -0
- package/build/_chunks/{chunk-IRTMCMMM.js → chunk-I4MFMAUT.js} +1 -1
- package/build/_chunks/chunk-I4NOKNW7.js +15 -0
- package/build/_chunks/{chunk-WF2OFWBH.js → chunk-JDD6SWME.js} +1 -1
- package/build/_chunks/{chunk-GJCU6ZVE.js → chunk-LEGFRHUY.js} +1 -1
- package/build/_chunks/chunk-LMQIQCKU.js +1 -0
- package/build/_chunks/{chunk-4W4V45ZR.js → chunk-LNXP6W5X.js} +1 -1
- package/build/_chunks/{chunk-MWDLX22N.js → chunk-MXC3TARS.js} +1 -1
- package/build/_chunks/chunk-NLUIDNSG.js +1 -0
- package/build/_chunks/{chunk-2RBU3WZ4.js → chunk-O7MIU67I.js} +1 -1
- package/build/_chunks/{chunk-T7VGACSG.js → chunk-OQM5HYDJ.js} +1 -1
- package/build/_chunks/chunk-P3UNUMRE.js +1 -0
- package/build/_chunks/{chunk-A4SRSOLM.js → chunk-QOP4FI7N.js} +1 -1
- package/build/_chunks/chunk-RLUMXH63.js +1 -0
- package/build/_chunks/{chunk-U4TG6SH2.js → chunk-RRNCLEPN.js} +1 -1
- package/build/_chunks/chunk-TATV6PD5.js +1 -0
- package/build/_chunks/{chunk-D5DOI2CG.js → chunk-TBK5B4PF.js} +1 -1
- package/build/_chunks/{chunk-WA2NAHKX.js → chunk-TRCRPJLO.js} +1 -1
- package/build/_chunks/{chunk-AFMJ46QZ.js → chunk-TZJUIC5Q.js} +1 -1
- package/build/_chunks/chunk-U5S2TDEO.js +2 -0
- package/build/_chunks/chunk-UL4GWIQX.js +1 -0
- package/build/_chunks/{chunk-4QFJRJGW.js → chunk-UQVXIIIV.js} +1 -1
- package/build/_chunks/{chunk-OGFZTWW2.js → chunk-VR7ZRZKQ.js} +1 -1
- package/build/_chunks/chunk-VRGWLZGG.js +1 -0
- package/build/_chunks/chunk-W6OPWYPX.js +1 -0
- package/build/_chunks/{chunk-RCTRSOJN.js → chunk-WNMD6CG3.js} +1 -1
- package/build/_chunks/{chunk-YSMDH3WQ.js → chunk-XKJHIGUB.js} +1 -1
- package/build/_chunks/{chunk-6NTTIIW2.js → chunk-XWCBQTXR.js} +1 -1
- package/build/_chunks/{chunk-2VS35WT4.js → chunk-YXAJ6BSN.js} +1 -1
- package/build/_chunks/chunk-ZIL2SD2V.js +1 -0
- package/build/_chunks/chunk-ZQ52HZBG.js +1 -0
- package/build/_chunks/{chunk-JKOG6QAB.js → chunk-ZZJGMJCQ.js} +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/AmountInput/AmountInput.d.ts +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountInput/style.d.ts +3 -4
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/ChipStack/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/Customer/CustomerForms/style.d.ts +6 -7
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/Dropdown2/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- 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/FileUploader/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/IconWithBadge/index.js +1 -1
- package/build/components/InputBase/index.d.ts +0 -3
- package/build/components/InputBase/index.js +1 -1
- package/build/components/Inputs/CountriesDropDown/style.d.ts +6 -8
- package/build/components/Inputs/index.d.ts +0 -3
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- 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/NestedDropdown/index.js +1 -1
- package/build/components/NestedMultiSelect/index.js +1 -1
- 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/{InputBase/PhoneInputBase → PhoneInput}/CountriesList/CountriesList.d.ts +1 -1
- package/build/components/{InputBase/PhoneInputBase → PhoneInput}/CountriesList/style.d.ts +3 -4
- package/build/components/{InputBase/PhoneInputBase/PhoneInputBase.d.ts → PhoneInput/PhoneInput.d.ts} +9 -5
- package/build/components/PhoneInput/index.d.ts +3 -0
- package/build/components/PhoneInput/index.js +1 -0
- package/build/components/{InputBase/PhoneInputBase → PhoneInput}/style.d.ts +4 -5
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RFH/Inputs/index.d.ts +0 -3
- package/build/components/RFH/index.js +1 -1
- package/build/components/RHFInput/RHFInput.d.ts +8 -0
- package/build/components/RHFInput/index.d.ts +3 -0
- package/build/components/RHFInput/index.js +1 -0
- package/build/components/RHFPhoneInput/RHFPhoneInput.d.ts +11 -0
- package/build/components/RHFPhoneInput/index.d.ts +3 -0
- package/build/components/RHFPhoneInput/index.js +1 -0
- package/build/components/RHFSwitch/RHFSwitch.d.ts +11 -0
- package/build/components/RHFSwitch/index.d.ts +3 -0
- package/build/components/RHFSwitch/index.js +1 -0
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/ReceiptsViewer/ReceiptViewer.d.ts +3 -0
- package/build/components/ReceiptsViewer/ReceiptsViewer.d.ts +12 -0
- package/build/components/ReceiptsViewer/index.d.ts +1 -0
- package/build/components/ReceiptsViewer/index.js +1 -0
- package/build/components/ReceiptsViewer/style.d.ts +4 -0
- package/build/components/ReceiptsViewer/type.d.ts +11 -0
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/ReferenceTypeFilter/style.d.ts +3 -3
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchInput/SearchInput.d.ts +4 -0
- package/build/components/SearchInput/constants.d.ts +10 -0
- package/build/components/SearchInput/icons.d.ts +4 -0
- package/build/components/SearchInput/index.d.ts +4 -0
- package/build/components/SearchInput/index.js +1 -0
- package/build/components/SearchInput/style.d.ts +10 -0
- package/build/components/SearchInput/type.d.ts +10 -0
- package/build/components/SelectDropdown/index.js +1 -1
- 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/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TextInput/TextInput.d.ts +4 -0
- package/build/components/TextInput/constants.d.ts +9 -0
- package/build/components/TextInput/index.d.ts +4 -0
- package/build/components/TextInput/index.js +1 -0
- package/build/components/TextInput/style.d.ts +16 -0
- package/build/components/TextInput/type.d.ts +37 -0
- package/build/components/TextInput/utils.d.ts +5 -0
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/Timepicker/style.d.ts +3 -4
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/TreeDropdown/TreeNodeList/style.d.ts +1 -4
- 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/ColumnFilter/Inputs/style.d.ts +3 -3
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/WindowAppIcon/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.d.ts +11 -33
- package/build/components/index.js +1 -1
- package/build/components/primitives/Input/constants.d.ts +6 -1
- package/build/components/primitives/Input/style.d.ts +2 -15
- package/build/components/primitives/Input/type.d.ts +13 -2
- package/build/components/primitives/index.js +1 -1
- package/build/hooks/index.d.ts +0 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/number.d.ts +1 -1
- package/package.json +2 -2
- package/build/_chunks/chunk-3352EIHQ.js +0 -1
- package/build/_chunks/chunk-34DUFFV5.js +0 -1
- package/build/_chunks/chunk-4YYASHPB.js +0 -1
- package/build/_chunks/chunk-6LUO6OBJ.js +0 -1
- package/build/_chunks/chunk-6TZC6ADP.js +0 -1
- package/build/_chunks/chunk-A2KZC66L.js +0 -15
- package/build/_chunks/chunk-AARAZJSO.js +0 -2
- package/build/_chunks/chunk-ES5ERGO6.js +0 -1
- package/build/_chunks/chunk-F3BU4KEC.js +0 -1
- package/build/_chunks/chunk-FIYSYENR.js +0 -1
- package/build/_chunks/chunk-FPR4MUXK.js +0 -1
- package/build/_chunks/chunk-JCOA42LB.js +0 -1
- package/build/_chunks/chunk-R3H5ZLCU.js +0 -1
- package/build/_chunks/chunk-RUSK5W42.js +0 -1
- package/build/_chunks/chunk-UZJJQWCT.js +0 -1
- package/build/_chunks/chunk-VAXOBYQH.js +0 -1
- package/build/_chunks/chunk-XB6KSBAO.js +0 -2
- package/build/components/ActionMenu/ActionMenu.d.ts +0 -5
- package/build/components/ActionMenu/ActionMenuDropDown.d.ts +0 -17
- package/build/components/ActionMenu/ActionMenuItem.d.ts +0 -16
- package/build/components/ActionMenu/index.d.ts +0 -5
- package/build/components/ActionMenu/index.js +0 -1
- package/build/components/ActionMenu/style.d.ts +0 -79
- package/build/components/ActionMenu/type.d.ts +0 -15
- package/build/components/AmountConversionFilter/AmountConversionFilter.d.ts +0 -20
- package/build/components/AmountConversionFilter/MultiSelectCurrencyFilter.d.ts +0 -10
- package/build/components/AmountConversionFilter/index.d.ts +0 -1
- package/build/components/AmountConversionFilter/index.js +0 -1
- package/build/components/AmountConversionFilter/style.d.ts +0 -19
- package/build/components/AmountSlider/AmountSlider.d.ts +0 -18
- package/build/components/AmountSlider/index.d.ts +0 -2
- package/build/components/AmountSlider/index.js +0 -1
- package/build/components/AmountSlider/style.d.ts +0 -25
- package/build/components/CurrencyFilter/CurrencyFilter.d.ts +0 -11
- package/build/components/CurrencyFilter/index.d.ts +0 -1
- package/build/components/CurrencyFilter/index.js +0 -1
- package/build/components/Input/Input.d.ts +0 -11
- package/build/components/Input/index.d.ts +0 -2
- package/build/components/Input/index.js +0 -1
- package/build/components/Input/style.d.ts +0 -3
- package/build/components/InputBase/AmountInputBase/AmountInputBase.d.ts +0 -19
- package/build/components/InputBase/AmountInputBase/CurrencyList/CurrencyList.d.ts +0 -15
- package/build/components/InputBase/AmountInputBase/CurrencyList/index.d.ts +0 -2
- package/build/components/InputBase/AmountInputBase/CurrencyList/style.d.ts +0 -8
- package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.d.ts +0 -4
- package/build/components/InputBase/AmountInputBase/InputNumber/index.d.ts +0 -3
- package/build/components/InputBase/AmountInputBase/InputNumber/style.d.ts +0 -8
- package/build/components/InputBase/AmountInputBase/InputNumber/type.d.ts +0 -5
- package/build/components/InputBase/AmountInputBase/index.d.ts +0 -5
- package/build/components/InputBase/AmountInputBase/style.d.ts +0 -14
- package/build/components/InputBase/InputBase/InputBase.d.ts +0 -11
- package/build/components/InputBase/InputBase/index.d.ts +0 -3
- package/build/components/InputBase/InputBase/style.d.ts +0 -15
- package/build/components/InputBase/PhoneInputBase/index.d.ts +0 -3
- package/build/components/InputNumber/InputNumber.d.ts +0 -8
- package/build/components/InputNumber/index.d.ts +0 -2
- package/build/components/InputNumber/index.js +0 -1
- package/build/components/InputNumber/style.d.ts +0 -4
- package/build/components/Inputs/FileInput/FileInput.d.ts +0 -3
- package/build/components/Inputs/FileInput/index.d.ts +0 -2
- package/build/components/Inputs/FileInput/style.d.ts +0 -13
- package/build/components/Inputs/FileInput/type.d.ts +0 -3
- package/build/components/Inputs/Input/Input.d.ts +0 -3
- package/build/components/Inputs/Input/index.d.ts +0 -3
- package/build/components/Inputs/Input/style.d.ts +0 -14
- package/build/components/Inputs/Input/type.d.ts +0 -9
- package/build/components/Inputs/SearchInput/SearchInput.d.ts +0 -7
- package/build/components/Inputs/SearchInput/index.d.ts +0 -2
- package/build/components/Inputs/SearchInput/styles.d.ts +0 -3
- package/build/components/LanguageDropdown/LanguageDropdown.d.ts +0 -7
- package/build/components/LanguageDropdown/index.d.ts +0 -2
- package/build/components/LanguageDropdown/index.js +0 -1
- package/build/components/LanguageDropdown/style.d.ts +0 -6
- package/build/components/RFH/Inputs/AmountInput/AmountInput.d.ts +0 -7
- package/build/components/RFH/Inputs/AmountInput/index.d.ts +0 -3
- package/build/components/RFH/Inputs/AmountInput/type.d.ts +0 -5
- package/build/components/RFH/Inputs/AmountInput/utils.d.ts +0 -1
- package/build/components/RFH/Inputs/FormInput/FormInput.d.ts +0 -8
- package/build/components/RFH/Inputs/FormInput/index.d.ts +0 -3
- package/build/components/RFH/Inputs/PhoneInput/PhoneInput.d.ts +0 -11
- package/build/components/RFH/Inputs/PhoneInput/index.d.ts +0 -2
- package/build/components/ResizableHeightInput/ResizableHeightInput.d.ts +0 -11
- package/build/components/ResizableHeightInput/index.d.ts +0 -2
- package/build/components/ResizableHeightInput/index.js +0 -1
- package/build/components/ResizableHeightInput/style.d.ts +0 -7
- package/build/components/SearchListInput/SearchListInput.d.ts +0 -11
- package/build/components/SearchListInput/index.d.ts +0 -2
- package/build/components/SearchListInput/index.js +0 -1
- package/build/components/SearchListInput/style.d.ts +0 -7
- package/build/hooks/useActionMenu.d.ts +0 -20
- /package/build/components/{InputBase/PhoneInputBase → PhoneInput}/CountriesList/index.d.ts +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {lc,zc,bb,_b,kc,Ac,xa as xa$1}from'./chunk-ZHEAWCTY.js';import {forwardRef,memo,useId,createElement,useState,useCallback,useMemo,Children,useEffect,useRef}from'react';import pt from'@mui/material/Box';import rs,{circularProgressClasses}from'@mui/material/CircularProgress';import Ja from'@mui/material/ButtonBase';import {styled,alpha,useTheme}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import eo from'@mui/material/SvgIcon';import ds from'@mui/material/Checkbox';import cs from'@mui/material/FormControlLabel';import ys from'@mui/material/Switch';import vs from'@mui/material/Typography';import Ls from'@mui/material/Radio';import js from'@mui/material/Tooltip';import Qs from'@mui/material/Skeleton';import sn from'@mui/material/Avatar';import fn from'@mui/material/Divider';import bn from'@mui/material/Collapse';import {createPortal}from'react-dom';import zn from'@mui/material/Backdrop';import si,{SliderThumb}from'@mui/material/Slider';import Ci,{inputClasses}from'@mui/material/Input';import xi from'@mui/material/FormControl';import hi from'@mui/material/InputLabel';import $i from'@mui/material/InputBase';import Ri from'@mui/material/Accordion';import Di from'@mui/material/AccordionDetails';import Ai from'@mui/material/AccordionSummary';import Zi from'@mui/material/Popper';import _i from'@mui/material/Dialog';import qi from'@mui/material/DialogActions';import Ji from'@mui/material/DialogContent';import Qi from'@mui/material/DialogTitle';import {LazyLoadImage}from'react-lazy-load-image-component';import Pl from'@mui/material/Stack';var A="os-shared-Button",k={root:`${A}-root`,content:`${A}-content`,startIcon:`${A}-startIcon`,endIcon:`${A}-endIcon`,icon:`${A}-icon`,loading:`${A}-loading`,loadingSpinner:`${A}-loadingSpinner`},$o={sm:{height:24,paddingY:8,paddingX:16,fontSize:"10px"},md:{height:32,minWidth:79,paddingY:8,paddingX:24,fontSize:"13px",lineHeight:"16px"},lg:{height:40,paddingY:8,paddingX:32,fontSize:"12px"}},Mo={sm:{width:24,minWidth:24,height:24,padding:0},md:{width:32,minWidth:32,height:32,padding:0},lg:{width:38,minWidth:38,height:38,padding:0}},Lo={sm:12,md:12,lg:14};var zo=styled(Ja,{shouldForwardProp:e=>e!=="$variant"&&e!=="$size"&&e!=="$fullWidth"&&e!=="$isLoading"&&e!=="$hasIcon"&&e!=="$isIconOnly"})(({theme:e,$variant:t="primary",$size:o="md",$fullWidth:r,$isLoading:a,$hasIcon:s,$isIconOnly:i})=>{let n=e.v2.palette,{paddingX:p,paddingY:d,...c}=$o[o],u=Mo[o];return {display:"inline-flex",alignItems:"center",justifyContent:"center",gap:e.v2.spacing(6),borderRadius:e.v2.radius(4),lineHeight:"100%",whiteSpace:"nowrap",position:"relative",cursor:a?"not-allowed":"pointer",transition:"background-color 0.15s ease, opacity 0.15s ease",...c,padding:`${e.v2.spacing(d)} ${e.v2.spacing(p)}`,fontWeight:e.typography.fontWeightMedium,...r&&!i&&{width:"100%"},...s&&!r&&!i&&{width:"auto",minWidth:0},...t==="primary"&&{background:n.brand[500],color:n.base.white,"&.Mui-disabled":{opacity:1,background:n.interactive.primary.disabled,color:n.base.white}},...t==="secondary"&&{backgroundColor:n.base.white,color:n.grey[900],border:`1px solid ${n.grey[100]}`,"&.Mui-disabled":{opacity:1,color:n.foreground.disabled}},...t==="ghost"&&{padding:0,minWidth:0,backgroundColor:"transparent",color:n.foreground.brand,"&.Mui-disabled":{opacity:.5}},...t==="danger"&&{backgroundColor:n.status.danger.default,color:n.base.white,"&.Mui-disabled":{opacity:1,backgroundColor:alpha(n.status.danger.default,.14),color:n.base.white}},...i&&{boxSizing:"border-box",...u}}}),se=styled("span")(({theme:e})=>{let t=e.v2.spacing(16);return {display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,width:t,height:t}});var Do=forwardRef(({children:e,variant:t="primary",size:o="md",isLoading:r=false,startIcon:a,endIcon:s,icon:i,fullWidth:n=false,disabled:p,className:d,sx:c,...u},g)=>{let f=i!=null;return jsxs(zo,{ref:g,className:lc(k.root,d),$variant:t,$size:o,$fullWidth:n,$isLoading:r,$hasIcon:f||!!a||!!s||r,$isIconOnly:f,disabled:p||r,disableRipple:true,"data-testid":"Button",sx:c,...u,children:[jsx(pt,{component:"span",className:k.content,sx:{display:"inline-flex",alignItems:"center",gap:"inherit",visibility:r?"hidden":"visible"},children:f?jsx(se,{className:k.icon,children:i}):jsxs(Fragment,{children:[a&&jsx(se,{className:k.startIcon,children:a}),e,s&&jsx(se,{className:k.endIcon,children:s})]})}),r&&jsx(se,{className:k.loading,sx:{position:"absolute"},children:jsx(rs,{className:k.loadingSpinner,size:Lo[o],color:"inherit"})})]})});Do.displayName="Button";var Ao=memo(Do);var ss="os-shared-Icon",be={root:`${ss}-root`};var Eo=styled("img")(({theme:e})=>({width:e.v2.spacing(16),height:e.v2.spacing(16),verticalAlign:"middle",flexShrink:0}));var Wo=forwardRef(({className:e,sx:t,...o},r)=>jsx(Eo,{className:lc(be.root,e),sx:t,"data-testid":"Icon",...o,ref:r}));Wo.displayName="Icon";var Ho=memo(Wo);var Qe="os-shared-Checkbox",E={root:`${Qe}-root`,control:`${Qe}-control`,label:`${Qe}-label`};var Vo=({disabled:e,...t})=>{let{v2:o}=useTheme(),{brand:r,base:a,foreground:s}=o.palette;return jsxs(eo,{viewBox:"0 0 12 12",sx:{width:12,height:12},...t,children:[jsx("rect",{width:"12",height:"12",rx:"2.4",fill:e?s.disabled:r[500]}),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:a.white})]})},Oo=({disabled:e,...t})=>{let{v2:o}=useTheme(),{base:r,grey:a}=o.palette;return jsx(eo,{viewBox:"0 0 12 12",sx:{width:12,height:12},...t,children:jsx("rect",{x:"0.6",y:"0.6",width:"10.8",height:"10.8",rx:"1.8",fill:e?a[50]:r.white,stroke:e?a[200]:a[500],strokeWidth:"1.2"})})},Zo=({disabled:e,...t})=>{let{v2:o}=useTheme(),{brand:r,base:a,foreground:s}=o.palette;return jsxs(eo,{viewBox:"0 0 12 12",sx:{width:12,height:12},...t,children:[jsx("rect",{width:"12",height:"12",rx:"2.4",fill:e?s.disabled:r[500]}),jsx("rect",{x:"3",y:"5.4",width:"6",height:"1.2",rx:"0.5",fill:a.white})]})};var Uo=styled(ds)(({theme:e})=>({padding:e.v2.spacing(2),"&:hover":{backgroundColor:"transparent"}})),Yo=styled(cs)(({theme:e})=>{let{base:t,grey:o}=e.v2.palette;return {marginLeft:0,gap:e.v2.spacing(4),"& .MuiFormControlLabel-label":{fontSize:"11px",color:t.black},"& .MuiFormControlLabel-label.Mui-disabled":{color:o[500]}}});var Go=forwardRef(({label:e,labelPlacement:t="end",disabled:o,sx:r,className:a,...s},i)=>{let n=zc(useId(),"checkbox"),p=jsx(Uo,{id:n,ref:i,disableRipple:true,disabled:o,checkedIcon:jsx(Vo,{disabled:o}),icon:jsx(Oo,{disabled:o}),indeterminateIcon:jsx(Zo,{disabled:o}),"data-testid":"Checkbox",className:lc(e?E.control:E.root,e?void 0:a),sx:e?void 0:r,...s});return e?jsx(Yo,{className:lc(E.root,a),sx:r,control:p,label:e,labelPlacement:t,disabled:o,componentsProps:{typography:{className:E.label}}}):p});Go.displayName="Checkbox";var Xo=memo(Go);var gs="os-shared-Switch",Se={root:`${gs}-root`};var _o=styled(ys)(({theme:e,disabled:t})=>{let{base:o,grey:r,success:a}=e.v2.palette;return {width:28,height:16,padding:0,borderRadius:e.v2.radius(8),opacity:t?.5:1,overflow:"visible","& .MuiSwitch-switchBase":{padding:0,margin:e.v2.spacing(1),color:o.white,transitionDuration:"300ms","&:hover":{backgroundColor:"transparent"},"&.Mui-focusVisible":{outline:`2px solid ${r[400]}`,outlineOffset:2},"&.Mui-checked":{transform:"translateX(12px)",color:o.white,"& + .MuiSwitch-track":{backgroundColor:a[500],opacity:1,border:0}},"&.Mui-disabled":{color:o.white,"& + .MuiSwitch-track":{opacity:1},"& .MuiSwitch-thumb":{filter:"none"}},"&.Mui-checked.Mui-disabled":{color:o.white}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:14,height:14,color:o.white,backgroundColor:o.white,boxShadow:"none",filter:t?"none":"drop-shadow(0px 3px 0.5px rgba(0, 0, 0, 0.04)) drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.12))"},"& .MuiSwitch-track":{borderRadius:e.v2.radius(8),backgroundColor:"#D9D9D9",opacity:1,transition:e.transitions.create(["background-color"],{duration:300})}}});var qo=forwardRef(({className:e,sx:t,...o},r)=>jsx(_o,{ref:r,className:lc(Se.root,e),sx:t,"data-testid":"Switch",disableRipple:true,...o}));qo.displayName="Switch";var Jo=memo(qo);var Ss="os-shared-Typography",ve={root:`${Ss}-root`},Ne="body.default.regular";var ws=e=>e!=null&&typeof e=="object"&&"fontFamily"in e&&"fontSize"in e&&"fontWeight"in e;function ks(e,t){try{let o=t.split(".").reduce((r,a)=>{if(r==null||typeof r!="object")throw new TypeError(`Invalid typography textVariant: ${t}`);return r[a]},e);if(!ws(o))throw new TypeError(`Invalid typography textVariant: ${t}`);return o}catch(o){return console.warn(o),e.body.default.regular}}function Is(e,t,o){return t===void 0?o:typeof t=="number"?t:{light:e.fontWeightLight,regular:e.fontWeightRegular,medium:e.fontWeightMedium,semibold:e.fontWeightBold,bold:e.fontWeightBolder}[t]??o}var Qo=styled(vs,{shouldForwardProp:e=>e!=="$textVariant"&&e!=="$weight"})(({theme:e,$textVariant:t=Ne,$weight:o})=>{let{base:r}=e.v2.palette,a=ks(e.v2.typography.textVariants,t);return {color:r.black,...a,fontWeight:Is(e.v2.typography,o,a.fontWeight)}});var et=forwardRef(({textVariant:e=Ne,variant:t="subtitle2",weight:o,className:r,sx:a,...s},i)=>jsx(Qo,{ref:i,className:lc(ve.root,r),sx:a,"data-testid":"Typography",...s,variant:t,$textVariant:e,$weight:o}));et.displayName="Typography";var ot=memo(et);var $s="os-shared-RadioButton";var we={root:`${$s}-root`};var at=({disabled:e,...t})=>{let{v2:o}=useTheme(),{brand:r,base:a}=o.palette,s=e?"#BDC1CC":r[500];return jsxs(eo,{viewBox:"0 0 12 12",sx:{width:12,height:12,fill:"none"},...t,children:[jsx("rect",{x:"1.2",y:"1.2",width:"9.6",height:"9.6",rx:"4.8",fill:s,stroke:s,strokeWidth:"1.2",style:{fill:s,stroke:s}}),jsx("circle",{cx:"6",cy:"6",r:"2.25",fill:a.white,style:{fill:a.white}})]})},st=({disabled:e,...t})=>{let{v2:o}=useTheme(),{base:r,grey:a}=o.palette,s=e?a[50]:r.white,i=e?a[200]:a[500];return jsx(eo,{viewBox:"0 0 12 12",sx:{width:12,height:12,fill:"none"},...t,children:jsx("rect",{x:"1.2",y:"1.2",width:"9.6",height:"9.6",rx:"4.8",fill:s,stroke:i,strokeWidth:"1.2",style:{fill:s,stroke:i}})})};var nt=styled(Ls)(({theme:e})=>({padding:e.v2.spacing(2),"&:hover":{backgroundColor:"transparent"},"& .MuiSvgIcon-root":{fontSize:12,width:12,height:12}}));var it=forwardRef(({disabled:e,sx:t,className:o,...r},a)=>jsx(nt,{ref:a,disableRipple:true,disabled:e,checkedIcon:jsx(at,{disabled:e}),icon:jsx(st,{disabled:e}),"data-testid":"RadioButton",className:lc(we.root,o),sx:t,...r}));it.displayName="RadioButton";var lt=memo(it);var Ie="os-shared-CircularProgress",W={root:`${Ie}-root`,progress:`${Ie}-progress`,labelOverlay:`${Ie}-labelOverlay`,labelText:`${Ie}-labelText`};var dt=styled(rs)(({theme:e})=>{let{brand:t}=e.v2.palette;return {color:"#147DC5",background:alpha(t[500],.05),borderRadius:"50%",[`& .${circularProgressClasses.circle}`]:{strokeLinecap:"round"}}}),ct=styled(pt)(()=>({position:"relative",display:"inline-flex"})),mt=styled(pt)(()=>({top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"})),ft=styled(vs)(({theme:e})=>({fontSize:e.typography.fontSize,fontWeight:e.typography.fontWeightBolder??700,color:"#3B4152"}));var ut=forwardRef(({variant:e="indeterminate",hasLabel:t=true,value:o,className:r,sx:a,...s},i)=>{let n=e==="determinate"&&t;return jsxs(ct,{className:lc(W.root,r),sx:a,"data-testid":"CircularProgress",children:[jsx(dt,{ref:i,variant:e,value:o,className:W.progress,...s}),n&&jsx(mt,{className:W.labelOverlay,children:jsx(ft,{className:W.labelText,variant:"caption",color:"text.secondary",children:`${Math.round(o??0)}%`})})]})});ut.displayName="CircularProgress";var gt=memo(ut);var H="os-shared-Tooltip",b={popper:`${H}-popper`,tooltip:`${H}-tooltip`,arrow:`${H}-arrow`,content:`${H}-content`,title:`${H}-title`,supportingText:`${H}-supportingText`,wrapper:`${H}-wrapper`};var yt=styled(({className:e,...t})=>createElement(js,{...t,classes:{popper:lc(b.popper,e),tooltip:b.tooltip,arrow:b.arrow}}))(({theme:e})=>{let{base:t,grey:o}=e.v2.palette,r=t.white,a="var(--tooltip-border-width) solid var(--tooltip-border-color)";return {"--tooltip-border-color":"#3C373721","--tooltip-border-width":"1px",zIndex:999999,[`& .${b.arrow}`]:{color:r,"&:before":{backgroundColor:r,boxSizing:"border-box",border:a}},[`& .${b.tooltip}`]:{backgroundColor:r,color:o[700],boxShadow:e.v2.elevation[200],fontSize:12,fontWeight:400,lineHeight:1.2,padding:e.v2.spacing(6),borderRadius:e.v2.radius(8),border:a,maxWidth:320,wordBreak:"break-word"}}}),xt=styled("div")(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",gap:e.v2.spacing(6),maxWidth:296,width:"100%"})),ht=styled("div",{shouldForwardProp:e=>e!=="$hasSupportingText"})(({theme:e,$hasSupportingText:t})=>{let{grey:o}=e.v2.palette;return {margin:0,fontSize:12,fontWeight:t?600:400,lineHeight:t?1:1.2,color:t?o[700]:alpha(o[700],.77),width:t?"100%":void 0}}),Ct=styled("div")(({theme:e})=>{let{grey:t}=e.v2.palette;return {margin:0,fontSize:11,fontWeight:400,lineHeight:"normal",color:t[500],width:"100%",whiteSpace:"pre-wrap"}});function Gs(e){return e!=null&&e!==false&&e!==""}function Xs(e){return !!e||e===0}function _s(e,t){let o=Gs(t);if(!Xs(e)&&!o)return null;let r=jsx(ht,{className:b.title,$hasSupportingText:o,children:e});return o?jsxs(xt,{className:b.content,children:[r,jsx(Ct,{className:b.supportingText,children:t})]}):r}function bt({className:e,title:t,supportingText:o,placement:r="top",children:a,wrapperProps:s,sx:i,...n}){let{className:p,...d}=s??{};return jsx(yt,{className:e,title:_s(t,o),placement:r,arrow:true,sx:i,...n,children:jsx(pt,{display:"flex",alignItems:"center","data-testid":"Tooltip",className:lc(b.wrapper,p),...d,children:a})})}bt.displayName="Tooltip";var St=memo(bt);var Js="os-shared-Skeleton",$e={root:`${Js}-root`};var vt=styled(Qs)(()=>({}));var Nt=forwardRef(({className:e,sx:t,variant:o="rounded",height:r=16,...a},s)=>jsx(vt,{ref:s,className:lc($e.root,e),sx:t,"data-testid":"Skeleton",variant:o,height:r,...a}));Nt.displayName="Skeleton";var wt=memo(Nt);var an="os-shared-Avatar",Me={root:`${an}-root`},Le="xs",Fe="teal",kt={teal:{from:"#31D5C8",to:"#1186C5"},green:{from:"#A2E9BD",to:"#44BB74"},cyan:{from:"#6BF6EB",to:"#32D6C9"},steel:{from:"#61AFC9",to:"#7FBFD4"},sage:{from:"#9DB7A4",to:"#7FBFD4"},gold:{from:"#D7B38C",to:"#FFE09F"},lime:{from:"#ADD6A2",to:"#FFDDB2"}},It={xs:{dimension:24,fontSize:"9px"},sm:{dimension:32,fontSize:"12px"},md:{dimension:40,fontSize:"15px"},lg:{dimension:48,fontSize:"17px"},xl:{dimension:56,fontSize:"20px"}};function ln(e){let{from:t,to:o}=kt[e];return `linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%), linear-gradient(135deg, ${t} 0%, ${o} 100%)`}var Bt=styled(sn,{shouldForwardProp:e=>!["$size","$color"].includes(e)})(({theme:e,$size:t=Le,$color:o=Fe})=>{let{dimension:r,fontSize:a}=It[t],{base:s}=e.v2.palette,i=ln(o);return {width:r,height:r,flexShrink:0,fontSize:a,fontWeight:e.typography.fontWeightMedium,lineHeight:"normal",color:s.white,background:i,backgroundColor:"transparent","&.MuiAvatar-colorDefault":{color:s.white,background:i,backgroundColor:"transparent"}}});var Tt=forwardRef(({className:e,sx:t,size:o=Le,color:r=Fe,...a},s)=>jsx(Bt,{ref:s,className:lc(Me.root,e),sx:t,"data-testid":"Avatar",...a,$size:o,$color:r,variant:"circular"}));Tt.displayName="Avatar";var Pt=memo(Tt);var mn="os-shared-Divider",ze={root:`${mn}-root`};function gn(e,t){let{grey:o,border:r}=t.v2.palette;return e==="subtle"?r.subtle:o[100]}var $t=styled(fn,{shouldForwardProp:e=>e!=="$type"})(({theme:e,$type:t="default",orientation:o="horizontal"})=>({borderColor:gn(t,e),...o==="vertical"?{borderBottomWidth:0,borderRightWidth:1}:{borderBottomWidth:1}}));var Mt=forwardRef(({className:e,sx:t,orientation:o="horizontal",type:r="default",...a},s)=>jsx($t,{ref:s,className:lc(ze.root,e),sx:t,"data-testid":"Divider",orientation:o,$type:r,...a}));Mt.displayName="Divider";var Lt=memo(Mt);var Cn="os-shared-Collapse",Re={root:`${Cn}-root`};var Ft=styled(bn)(()=>({}));var zt=forwardRef(({className:e,sx:t,children:o,unmountOnExit:r=true,timeout:a=300,...s},i)=>jsx(Ft,{ref:i,className:lc(Re.root,e),sx:t,"data-testid":"Collapse",unmountOnExit:r,timeout:a,...s,children:o}));zt.displayName="Collapse";var Rt=memo(zt);var kn="os-shared-Badge",De={root:`${kn}-root`},Ae="default",Dt={default:"#29b6f6",primary:"#1976d2",secondary:"#f50057",neutral:"#656565",gray:"#CFCFCF",orange:"#FFD503"};function Tn(e,t){let{base:o,grey:r,brand:a,success:s,warning:i,error:n,gradient:p}=t.v2.palette;if(e==="highlight")return p.brand;let d=Dt[e];return d||({inactive:r[100],active:alpha(o.black,.1),dark:a[500],red:n[500],success:s[500],warning:i[500],error:n[500]}[e]??o.white)}function Pn(e,t){let{base:o}=t.v2.palette;return e==="inactive"?o.black:(o.white)}var Et=styled("span",{shouldForwardProp:e=>!["$color","$compact","$round","$pointer"].includes(e)})(({theme:e,$color:t=Ae,$compact:o,$round:r,$pointer:a})=>{let s=Tn(t,e);return {paddingBlock:e.v2.spacing(2),paddingInline:o?"0.16056rem":r?"0.275rem":e.v2.spacing(4),borderRadius:o?e.v2.radius(4):r?e.v2.radius(16):e.v2.radius(48),background:s,color:Pn(t,e),fontSize:"8px",fontWeight:700,lineHeight:"10px",letterSpacing:0,overflow:"hidden",height:o?"12px":r?"16px":void 0,display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",cursor:a?"pointer":"auto"}});var Wt=forwardRef(({className:e,sx:t,color:o,state:r,compact:a,round:s,pointer:i,children:n,...p},d)=>{let c=o??r??Ae;return jsx(Et,{ref:d,className:lc(De.root,e),sx:t,"data-testid":"Badge",...p,$color:c,$compact:a,$round:s,$pointer:i,children:n})});Wt.displayName="Badge";var Ht=memo(Wt);var Fn="os-shared-Backdrop",Ee={root:`${Fn}-root`};var Vt=styled(zn,{shouldForwardProp:e=>e!=="$hasBlur"})(({theme:e,$hasBlur:t=false})=>{let o=t?e.v2.blur[6]:"none";return {zIndex:1,backgroundColor:alpha("#000",.3),backdropFilter:o,WebkitBackdropFilter:o}});var Ot=forwardRef(({className:e,sx:t,open:o=true,hasBlur:r=false,onClose:a,onClick:s,...i},n)=>{if(!o)return null;let p=d=>{a?.(),s?.(d);};return createPortal(jsx(Vt,{open:o,$hasBlur:r,ref:n,className:lc(Ee.root,e),sx:t,"data-testid":"Backdrop",onClick:p,...i}),document.body)});Ot.displayName="Backdrop";var Zt=memo(Ot);var We="os-shared-CopyButton",M={root:`${We}-root`,icon:`${We}-icon`,copyIcon:`${We}-copyIcon`,copiedIcon:`${We}-copiedIcon`};var Ut=e=>{let{v2:t}=useTheme(),{base:o}=t.palette;return jsx(eo,{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.black,stroke:o.white,strokeWidth:"0.15"})})})},Yt=e=>{let{v2:t}=useTheme(),{success:o,base:r}=t.palette;return jsx(eo,{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[500]}),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:r.white})]})})};var Xt=styled("span")({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:16,height:16,flexShrink:0,cursor:"pointer",verticalAlign:"middle"}),ao=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 200ms ease"}));var _t=forwardRef(({className:e,sx:t,text:o,feedbackMs:r=2e3,icon:a=jsx(Ut,{}),onClick:s,...i},n)=>{let[p,d]=useState(false),c=u=>{u.stopPropagation(),bb(o),d(true),setTimeout(()=>d(false),r),s?.(u);};return jsxs(Xt,{ref:n,className:lc(M.root,e),sx:t,role:"button",tabIndex:0,"data-testid":"CopyButton",onClick:c,...i,children:[jsx(ao,{className:lc(M.icon,M.copyIcon),$visible:!p,children:a}),jsx(ao,{className:lc(M.icon,M.copiedIcon),$visible:p,children:jsx(Yt,{})})]})});_t.displayName="CopyButton";var qt=memo(_t);var so="os-shared-ProgressBar",_={root:`${so}-root`,fill:`${so}-fill`,text:`${so}-text`};var Qt=styled(pt,{shouldForwardProp:e=>!["$value","$isDecimal"].includes(e)})(({theme:e,$value:t,$isDecimal:o})=>{let{base:r}=e.v2.palette;return {width:`${t}%`,minWidth:t>=10?"28px":"24px",height:"18px",borderRadius:e.v2.radius(50),background:"linear-gradient(256deg, #147DC5 0%, #3DA6E1 100%)",display:"flex",alignItems:"center",justifyContent:t>10?"flex-end":"center",paddingInlineEnd:t>10?e.v2.spacing(2):e.v2.spacing(0),...t===0&&{background:alpha(r.black,26/255)},...o&&{minWidth:t>=10?"40px":"36px"}}}),er=styled(pt,{shouldForwardProp:e=>e!=="$value"})(({theme:e,$value:t})=>{let{base:o}=e.v2.palette;return {height:"14px",maxWidth:"36px",minWidth:"20px",background:alpha(o.black,26/255),borderRadius:e.v2.radius(50),display:"flex",alignItems:"center",justifyContent:"center",padding:0,...t===0&&{background:alpha(o.black,0)}}}),or=styled(vs,{shouldForwardProp:e=>e!=="$value"})(({theme:e,$value:t})=>{let{base:o,grey:r}=e.v2.palette;return {fontSize:"8px",fontWeight:e.typography.fontWeightBolder??700,color:o.white,padding:`${e.v2.spacing(2)} ${e.v2.spacing(4)}`,...t===0&&{color:alpha(r[500],.5)}}});var rr=forwardRef(({className:e,sx:t,value:o},r)=>{let a=!Number.isInteger(o);return jsx(Qt,{ref:r,className:lc(_.root,e),sx:t,"data-testid":"ProgressBar",$value:o,$isDecimal:a,children:jsx(er,{className:_.fill,$value:o,children:jsxs(or,{className:_.text,$value:o,variant:"caption",children:[Number(o.toFixed(2)),"%"]})})})});rr.displayName="ProgressBar";var ar=memo(rr);var Oe="os-shared-Chip",I={root:`${Oe}-root`,text:`${Oe}-text`,copyButton:`${Oe}-copyButton`,icon:`${Oe}-icon`},sr={text:{height:24,paddingBlock:4,paddingInline:8,borderRadius:48},circular:{height:24,width:24,padding:4,borderRadius:12},"pill-icon":{height:24,width:36,paddingBlock:4,paddingInline:6,borderRadius:12}};var lr=e=>{let{v2:t}=useTheme(),{base:o}=t.palette;return jsx(eo,{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.black,stroke:o.white,strokeWidth:"0.15"})})})},pr=e=>{let{v2:t}=useTheme(),{success:o,base:r}=t.palette;return jsx(eo,{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[500]}),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:r.white})]})})};function qn(e,t){let o=sr[e];return {height:o.height,..."width"in o&&{width:o.width,minWidth:o.width},..."padding"in o&&{padding:t.v2.spacing(o.padding)},..."paddingBlock"in o&&{paddingBlock:t.v2.spacing(o.paddingBlock)},..."paddingInline"in o&&{paddingInline:t.v2.spacing(o.paddingInline)},borderRadius:t.v2.radius(o.borderRadius)}}var cr=styled(pt,{shouldForwardProp:e=>!["$variant","$hasIcon","$hasCopy","$isSelected","$disableAnimation"].includes(e)})(({theme:e,$variant:t="text",$hasIcon:o,$hasCopy:r,$isSelected:a,$disableAnimation:s})=>{let{grey:i,base:n}=e.v2.palette;return {display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,boxSizing:"border-box",lineHeight:1,letterSpacing:0,whiteSpace:"nowrap",fontSize:11,fontWeight:e.typography.fontWeightRegular,color:n.black,border:`1px solid ${i[100]}`,backgroundColor:n.white,...qn(t,e),...t==="text"&&o&&{gap:e.v2.spacing(6),paddingInlineStart:e.v2.spacing(5),paddingInlineEnd:e.v2.spacing(8)},...r&&{gap:e.v2.spacing(4)},[`& .${I.icon}`]:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:14,height:14,overflow:"hidden","& img, & svg":{width:14,height:14,display:"block"}},...a&&{boxShadow:`${n.white} 7px 0px 8px 2px`},...s&&{transition:"none !important",animation:"none !important",transform:"none !important","& *":{transition:"none !important",animation:"none !important",transform:"none !important"}}}}),io=styled(pt)({textAlign:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:"0 1 auto"}),mr=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 150ms ease","&:hover":{opacity:1}})),lo=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 150ms ease"}));var ur=forwardRef(({className:e,sx:t,children:o,icon:r,variant:a="text",disabled:s=false,isSelected:i=false,copyText:n,unknownText:p="Unknown",disableAnimation:d=false,...c},u)=>{let[g,f]=useState(false),m=!!(o&&n),h=r!=null&&!m,x=useCallback(w=>{w.stopPropagation(),n&&(bb(n),f(true),setTimeout(()=>f(false),2e3));},[n]),N=useMemo(()=>h?jsx("span",{className:I.icon,children:r}):null,[h,r]),z=useMemo(()=>{if(o){let w=m&&typeof o=="string"?_b(o):void 0;return jsx(io,{className:I.text,"data-is-arabic":w,children:o})}return h?null:jsx(io,{className:I.text,children:p})},[o,m,h,p]),R=useMemo(()=>m?jsxs(mr,{className:I.copyButton,role:"button",tabIndex:0,"aria-label":g?"copied":"copy","data-testid":"ChipCopyButton",$copied:g,onClick:x,children:[jsx(lo,{$visible:!g,children:jsx(lr,{})}),jsx(lo,{$visible:g,children:jsx(pr,{})})]}):null,[m,g,x]);return jsxs(cr,{ref:u,"data-testid":"Chip",className:lc(I.root,e,`CustomVariant_${a}`),sx:kc(s?{cursor:"not-allowed",opacity:.5}:{},t),$variant:a,$hasIcon:h,$hasCopy:m,$isSelected:i,$disableAnimation:d,...c,children:[N,z,R]})});ur.displayName="Chip";var gr=memo(ur);var co="os-shared-Slider",L={root:`${co}-root`,thumb:`${co}-thumb`,thumbIcon:`${co}-thumbIcon`};var yr=e=>{let{v2:t}=useTheme(),{grey:o}=t.palette;return jsx(eo,{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[500],strokeWidth:"0.920779",strokeLinecap:"round"}),jsx("path",{d:"M2.44531 0.460388L2.44531 6.59891",stroke:o[500],strokeWidth:"0.920779",strokeLinecap:"round"}),jsx("path",{d:"M4.4375 0.460388L4.4375 6.59891",stroke:o[500],strokeWidth:"0.920779",strokeLinecap:"round"})]})})};var xr=styled(si)(({theme:e})=>{let{brand:t,base:o}=e.v2.palette,r=["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(", ");return {color:t[500],height:8,padding:0,"& .MuiSlider-rail":{backgroundColor:"#CFCFCF",opacity:1,left:0},"& .MuiSlider-thumb":{height:20,width:20,backgroundColor:o.white,border:"none",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:r,"&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:r}},[`& .${L.thumbIcon}`]:{width:"5px",height:"8px",pointerEvents:"none"}}});function ci({children:e,className:t,...o}){return jsxs(SliderThumb,{className:lc(L.thumb,t),...o,children:[e,jsx(yr,{className:L.thumbIcon})]})}var hr=forwardRef(({className:e,sx:t,value:o,min:r,max:a,step:s,disabled:i,onChange:n,slots:p,...d},c)=>{let u=useCallback((g,f)=>{n(f);},[n]);return jsx(xr,{ref:c,className:lc(L.root,e),sx:t,"data-testid":"Slider",value:o,min:r,max:a,step:s,disabled:i,onChange:u,...d,slots:{thumb:ci,...p}})});hr.displayName="Slider";var Cr=memo(hr);var v="os-shared-Input",y={root:`${v}-root`,label:`${v}-label`,input:`${v}-input`,loadingIcon:`${v}-loadingIcon`,validatedIcon:`${v}-validatedIcon`,hasLabel:`${v}-hasLabel`,sizeSm:`${v}-sizeSm`,sizeMd:`${v}-sizeMd`,disableFocusRing:`${v}-disableFocusRing`,hideArrows:`${v}-hideArrows`,hasTrailingIcon:`${v}-hasTrailingIcon`},T={sm:28,md:32,labelled:40};var vr=e=>{let{v2:t}=useTheme(),{success:o}=t.palette;return jsx(eo,{viewBox:"0 0 10 8",sx:{width:10,height:8},...e,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:o[700]})})};var Nr=styled(Ci)(({theme:e,endAdornment:t})=>{let{base:o,grey:r}=e.v2.palette,a=!!t;return {height:T.md,padding:`0 ${e.v2.spacing(6)}`,paddingLeft:e.v2.spacing(8),...!a&&{paddingRight:e.v2.spacing(12)},border:"none",borderRadius:"inherit",fontSize:"11px",lineHeight:"1.3em",fontWeight:e.v2.typography.fontWeightMedium,color:o.black,backgroundColor:"transparent",display:"flex",alignItems:"center",minWidth:0,"&.Mui-disabled":{color:alpha(o.black,.6)},"& input":{padding:0,minWidth:0,width:"100%",display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& input::placeholder":{color:r[500],fontWeight:e.v2.typography.fontWeightRegular,opacity:1},"& input:-webkit-autofill, & input:-webkit-autofill:hover, & input:-webkit-autofill:focus":{WebkitTextFillColor:o.black,caretColor:o.black,transition:"background-color 5000s ease-in-out 0s"},"&::before, &::after":{display:"none"},[`&:where(.${y.sizeSm})`]:{height:T.sm},[`&:where(.${y.sizeMd})`]:{height:T.md},[`&:where(.${y.hasTrailingIcon})`]:{paddingRight:e.v2.spacing(28)},[`&:where(.${y.hasLabel})`]:{height:T.labelled,padding:e.v2.spacing(6),paddingLeft:e.v2.spacing(8),paddingTop:e.v2.spacing(18),alignItems:"stretch",marginTop:0,"& input":{margin:"0px !important",padding:"0px !important",lineHeight:"130%"},"& input:focus::placeholder":{opacity:"1 !important"}},[`&:where(.${y.hideArrows})`]:{"& 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}}}}),wr=styled(hi)(({theme:e})=>{let{grey:t}=e.v2.palette;return {fontSize:"10px",lineHeight:"1em",color:`${t[500]} !important`,"&.Mui-disabled":{opacity:.7}}}),kr=styled(rs)(({theme:e})=>({position:"absolute",top:"30%",right:e.v2.spacing(8),color:e.v2.palette.grey[500]})),Ir=styled(pt)(({theme:e})=>({position:"absolute",top:"50%",right:e.v2.spacing(8),transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center"})),bi=`&:focus-within:where(:not(.${y.disableFocusRing})), &:where(.Mui-focused):where(:not(.${y.disableFocusRing}))`,Si="&:where(.Mui-warning):focus-within, &:where(.Mui-warning):where(.Mui-focused)",vi="&:where(.Mui-error):focus-within, &:where(.Mui-error):where(.Mui-focused)",Br=styled(xi)(({theme:e,disabled:t,fullWidth:o})=>{let{grey:r,base:a,brand:s,error:i,warning:n}=e.v2.palette;return {position:"relative",display:"flex",flexDirection:"column",width:o?"100%":"auto",height:T.md,margin:0,border:`1px solid ${t?"#FAFBFB":r[100]}`,borderRadius:e.v2.radius(4),...t&&{backgroundColor:"#FAFBFB"},transition:"border-color 0.15s ease, box-shadow 0.15s ease",[`&:where(.${y.sizeSm})`]:{height:T.sm},[`&:where(.${y.sizeMd})`]:{height:T.md},[`&:where(.${y.hasLabel})`]:{height:T.labelled},"&:where(.Mui-warning)":{borderColor:alpha(n[500],.15)},"&:where(.Mui-error)":{borderColor:alpha(i[500],.15)},"&:where(.Mui-disabled)":{borderColor:"#FAFBFB"},[bi]:{borderColor:s[500],boxShadow:`0px 0px 4px 0px ${alpha(s[500],.5)}`},[Si]:{borderColor:alpha(n[500],.15),boxShadow:"none"},[vi]:{borderColor:alpha(i[500],.15),boxShadow:"none"},"& .MuiFormLabel-asterisk":{color:i[500],fontSize:"10px",lineHeight:"1em",marginLeft:2},"& .MuiInputLabel-root":{position:"absolute",left:0,top:0,zIndex:1,pointerEvents:"none",padding:e.v2.spacing(8),fontSize:"10px",fontWeight:e.v2.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, -2px) scale(0.95) !important",color:`${r[500]} !important`},"& .MuiInput-root":{flex:1,marginTop:"0 !important"}}});var Pr=forwardRef(({label:e,size:t="md",error:o=false,warning:r=false,disabled:a=false,fullWidth:s=false,placeholder:i,hideArrows:n=false,required:p,loading:d=false,validated:c=false,disableFocusRing:u=false,focused:g,type:f,id:m="Input",className:h,sx:x,value:N,defaultValue:z,onChange:R,endAdornment:w,onKeyDown:ye,onWheel:xe,...qe},D)=>{let $=!!e,Je=f==="number",ae=$&&d&&!a,wo=c&&!d&&!a,ko=ae||wo,he=t==="sm"?y.sizeSm:y.sizeMd,Ka=useCallback(C=>{typeof D=="function"?D(C):D&&(D.current=C);},[D]),Ua=useMemo(()=>lc(y.root,o&&"Mui-error",r&&"Mui-warning",a&&"Mui-disabled",$&&y.hasLabel,he,u&&y.disableFocusRing,g&&inputClasses.focused,h),[o,r,a,$,he,u,g,h]),Ya=useMemo(()=>lc(y.input,$&&y.hasLabel,he,n&&y.hideArrows,ko&&y.hasTrailingIcon),[$,he,n,ko]),Ga=C=>{let _a=C.metaKey||C.ctrlKey||C.altKey,qa=C.key.length===1;(["e","E","+","-"].includes(C.key)||xa$1()&&qa&&!_a&&!/^[0-9.]$/.test(C.key))&&C.preventDefault(),ye?.(C);},Xa=C=>{C.target instanceof HTMLElement&&C.target.blur(),xe?.(C);};return jsxs(Br,{className:Ua,sx:x,error:o,disabled:a,fullWidth:s,required:p,"data-testid":"Input",focused:g||void 0,children:[$&&jsx(wr,{className:y.label,htmlFor:m??void 0,required:p,shrink:g||void 0,children:e}),jsx(Nr,{id:m??void 0,inputRef:Ka,className:Ya,type:f,error:o,disabled:a,required:p,placeholder:i??void 0,"aria-invalid":o||void 0,disableUnderline:true,fullWidth:true,value:N,defaultValue:z,onChange:R,endAdornment:w,onKeyDown:Je?Ga:ye,onWheel:Je?Xa:xe,...qe}),ae&&jsx(kr,{className:y.loadingIcon,id:m?`${m}-loading-icon`:void 0,size:14.7,thickness:5}),wo&&jsx(Ir,{className:y.validatedIcon,id:m?`${m}-validated-icon`:void 0,children:jsx(vr,{})})]})});Pr.displayName="Input";var $r=memo(Pr);var mo="os-shared-Textarea",Q={root:`${mo}-root`,label:`${mo}-label`,textarea:`${mo}-textarea`},ee=3;var Mr=styled($i,{shouldForwardProp:e=>!["$error","$hasLabel","$minRows"].includes(e)})(({theme:e,$hasLabel:t=false,$minRows:o=ee})=>{let{base:r,grey:a}=e.v2.palette;return {border:"none",borderRadius:"inherit",padding:t?`${e.v2.spacing(32)} ${e.v2.spacing(8)} ${e.v2.spacing(8)}`:`${e.v2.spacing(8)} ${e.v2.spacing(12)}`,fontSize:"11px",fontWeight:e.typography.fontWeightMedium,lineHeight:"normal",color:r.black,backgroundColor:"transparent",alignItems:"flex-start",width:"100%",...t&&{marginTop:0},"&.Mui-disabled":{color:a[500]},"& textarea":{resize:"vertical",minHeight:t?void 0:`${Math.max(o*20,60)}px`,padding:0,margin:0},"& textarea::placeholder":{color:a[500],fontWeight:e.typography.fontWeightMedium,opacity:1},"& textarea:-webkit-autofill, & textarea:-webkit-autofill:hover, & textarea:-webkit-autofill:focus":{WebkitTextFillColor:r.black,caretColor:r.black,transition:"background-color 5000s ease-in-out 0s"},"&::before, &::after":{display:"none"}}}),Lr=styled(hi)(({theme:e})=>{let{grey:t}=e.v2.palette;return {fontSize:"10px",fontWeight:e.typography.fontWeightMedium,color:`${t[500]} !important`}}),Fr=styled(xi,{shouldForwardProp:e=>!["$hasLabel","$minRows"].includes(e)})(({theme:e,disabled:t,error:o,fullWidth:r,$hasLabel:a=false,$minRows:s=ee})=>{let{grey:i,base:n,error:p}=e.v2.palette,d=o?p[500]:i[100];return {position:"relative",display:"flex",flexDirection:"column",width:r?"100%":"auto",minHeight:a?96+(s-ee)*20:void 0,margin:0,border:`1px solid ${d}`,borderRadius:e.v2.radius(4),backgroundColor:t?i[100]:n.white,transition:"border-color 0.15s ease","&:focus-within":{borderColor:o?p[500]:i[50]},"& .MuiFormLabel-asterisk":{color:p[500]},"& .MuiInputLabel-root":{position:"absolute",left:0,top:0,zIndex:1,pointerEvents:"none",display:"flex",alignItems:"flex-start",gap:e.v2.spacing(2),padding:e.v2.spacing(8),fontSize:"10px",fontWeight:e.typography.fontWeightMedium,lineHeight:"100%",transform:"none !important",transformOrigin:"top left",color:`${i[500]} !important`},"& .MuiInputBase-root":{flex:1,marginTop:"0 !important"}}});var Rr=forwardRef(({label:e,error:t=false,disabled:o=false,fullWidth:r=false,placeholder:a,minRows:s=ee,maxRows:i,id:n,className:p,sx:d,required:c,...u},g)=>{let f=!!e;return jsxs(Fr,{className:lc(Q.root,p),sx:d,error:t,disabled:o,fullWidth:r,required:c,variant:"standard","data-testid":"Textarea",$hasLabel:f,$minRows:s,children:[f&&jsx(Lr,{className:Q.label,htmlFor:n,shrink:true,disableAnimation:true,required:c,children:e}),jsx(Mr,{id:n,inputRef:g,className:Q.textarea,multiline:true,minRows:s,maxRows:i,disabled:o,required:c,placeholder:a??void 0,"aria-invalid":t||void 0,fullWidth:true,$error:t,$hasLabel:f,$minRows:s,...u})]})});Rr.displayName="Textarea";var Dr=memo(Rr);var O="os-shared-Accordion",B={root:`${O}-root`,summary:`${O}-summary`,content:`${O}-content`,labelStartAdornment:`${O}-labelStartAdornment`,labelContent:`${O}-labelContent`,labelEndAdornment:`${O}-labelEndAdornment`,expandIcon:`${O}-expandIcon`};var Er=()=>{let{v2:e}=useTheme(),{base:t}=e.palette;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:t.black,stroke:t.black,strokeWidth:"0.1"})})};var Hr=styled(Ri)(({theme:e,square:t})=>{let{grey:o,base:r}=e.v2.palette;return {overflow:"hidden",border:`1px solid ${o[100]}`,...!t&&{borderRadius:e.v2.radius(8)},margin:0,background:r.white,"&:before":{content:"unset"},"&.Mui-expanded":{margin:0},"&.Mui-disabled":{opacity:.5,pointerEvents:"none"}}}),Vr=styled(Ai)(({theme:e})=>({background:"#fbfbfb",minHeight:"40px",height:"40px",padding:e.v2.spacing(10),"&.Mui-expanded":{minHeight:"40px",height:"40px"},"& .MuiAccordionSummary-content":{margin:0,display:"flex",flexDirection:"row",alignItems:"center",flexGrow:1,minWidth:0,gap:e.v2.spacing(10)},"& .MuiAccordionSummary-expandIconWrapper":{marginLeft:e.v2.spacing(8)}})),Or=styled(Di)(({theme:e})=>{let{grey:t}=e.v2.palette;return {padding:0,borderTop:`1px solid ${t[100]}`}}),Zr=styled(pt)({display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"transform 0.2s ease",transform:"rotate(0deg)"}),jr=styled(pt)({minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"});var Yr=forwardRef(({expanded:e,defaultExpanded:t=false,onChange:o,label:r,content:a,labelStartAdornment:s,labelEndAdornment:i,slotProps:n={},disabled:p=false,expandIcon:d,className:c,sx:u,...g},f)=>{let m=e!==void 0,[h,x]=useState(t),N=m?e:h,z=(Je,ae)=>{m||x(ae),o?.(ae);},{showArrow:R=true,...w}=n.label??{},{className:ye,sx:xe,...qe}=n.root??{},D=d??(R?jsx(Zr,{component:"span",className:B.expandIcon,children:jsx(Er,{})}):null),$=jsxs(Fragment,{children:[s!=null&&jsx(pt,{component:"span",className:B.labelStartAdornment,...n.labelStartAdornment,sx:kc({flexShrink:0},n.labelStartAdornment?.sx),children:s}),jsx(jr,{component:"span",className:B.labelContent,...n.labelContent,sx:n.labelContent?.sx,children:r}),i!=null&&jsx(pt,{component:"span",className:B.labelEndAdornment,...n.labelEndAdornment,sx:kc({flexShrink:0,marginLeft:"auto"},n.labelEndAdornment?.sx),children:i})]});return jsxs(Hr,{ref:f,"data-testid":"Accordion",disabled:p,expanded:N,onChange:z,className:lc(B.root,c,ye),sx:kc(u??{},xe),...qe,...g,children:[jsx(Vr,{className:B.summary,expandIcon:D,"aria-expanded":N,...w,children:$}),jsx(Or,{className:B.content,...n.content,children:a})]})});Yr.displayName="Accordion";var Gr=memo(Yr);var Xr="os-shared-Menu",de={popper:`${Xr}-popper`,panel:`${Xr}-panel`};var qr=styled(Zi)({}),Jr=styled(pt,{shouldForwardProp:e=>e!=="$showShadow"})(({theme:e,$showShadow:t})=>{let{grey:o,base:r}=e.v2.palette;return {borderRadius:e.v2.radius(4),background:r.white,width:"max-content",cursor:"pointer",boxShadow:e.v2.elevation[200],display:"flex",flexDirection:"column",overflowY:"auto",maxHeight:"432px","&:focus":{outline:"none"},".menu-item + .menu-item":{borderTop:`1px solid ${o[100]}`},"&::after":{content:t?'""':"none",width:"100%",height:"34px",position:"sticky",bottom:0,pointerEvents:"none",background:`linear-gradient(180deg, rgba(255,255,255,0) 0%, ${r.white} 100%)`}}});var ea=forwardRef(({open:e,anchorEl:t,children:o,placement:r,popperSx:a,panelProps:s,className:i,sx:n,...p},d)=>{let[c,u]=useState(false),f=useMemo(()=>Children.count(o),[o])>12&&c,{onScroll:m,className:h,sx:x,...N}=s??{},z=useCallback(w=>{u((w.currentTarget.scrollTop??0)>0),m?.(w);},[m]),R=lc(de.panel,h,"MuiPopper-dropdown");return jsx(qr,{ref:d,className:lc(de.popper,i),"data-testid":"Menu",open:e,anchorEl:t,placement:r??"bottom-start",sx:a,...p,children:jsx(Jr,{$showShadow:f,onScroll:z,className:R,sx:kc(n??{},x),...N,children:o})})});ea.displayName="Menu";var oa=memo(ea);var ce="os-shared-Dialog",F={root:`${ce}-root`,title:`${ce}-title`,divider:`${ce}-divider`,content:`${ce}-content`,actions:`${ce}-actions`};var ta=styled(_i,{shouldForwardProp:e=>e!=="$hasBlurBackdrop"})(({theme:e,$hasBlurBackdrop:t})=>{let{base:o}=e.v2.palette,r=t?e.v2.blur[6]:"none";return {"& .MuiDialog-paper":{backgroundColor:o.white,boxShadow:"0px 0px 16px 0px rgba(0, 0, 0, 0.11)",borderRadius:e.v2.radius(8)},"& .MuiModal-backdrop":{background:alpha("#000",.2),...t&&{backdropFilter:r,WebkitBackdropFilter:r}}}}),ra=styled(Qi)(({theme:e})=>{let{base:t}=e.v2.palette;return {padding:`${e.v2.spacing(16)} ${e.v2.spacing(16)} ${e.v2.spacing(12)}`,fontSize:"13px",fontWeight:e.typography.fontWeightBolder,lineHeight:"normal",color:t.black,whiteSpace:"nowrap"}}),aa=styled("hr")(({theme:e})=>{let{grey:t}=e.v2.palette;return {display:"block",border:"none",borderTop:`1px solid ${t[100]}`,margin:0,width:"100%",flexShrink:0}}),sa=styled(Ji,{shouldForwardProp:e=>e!=="$hasHeading"})(({theme:e,$hasHeading:t})=>{let{grey:o}=e.v2.palette;return {padding:`${t?e.v2.spacing(12):e.v2.spacing(16)} ${e.v2.spacing(16)} ${e.v2.spacing(16)}`,fontSize:"12px",fontWeight:e.typography.fontWeightMedium,lineHeight:"normal",color:o[500]}}),na=styled(qi)(({theme:e})=>({padding:`0 ${e.v2.spacing(16)} ${e.v2.spacing(16)}`,gap:e.v2.spacing(8),justifyContent:"flex-end","& > :not(style) ~ :not(style)":{marginLeft:0}}));var la=forwardRef(({heading:e,actions:t,children:o,onClose:r,open:a,hasBlurBackdrop:s,className:i,sx:n,...p},d)=>jsxs(ta,{ref:d,"data-testid":"Dialog",open:a,onClose:r,$hasBlurBackdrop:s,className:lc(F.root,i),sx:n,...p,children:[e?jsxs(Fragment,{children:[jsx(ra,{className:F.title,children:e}),jsx(aa,{"aria-hidden":true,className:F.divider})]}):null,o!=null?jsx(sa,{className:F.content,$hasHeading:!!e,children:o}):null,t?jsx(na,{className:F.actions,children:t}):null]}));la.displayName="Dialog";var pa=memo(la);var uo="os-shared-MenuItem",j={root:`${uo}-root`,indicator:`${uo}-indicator`,disabled:`${uo}-disabled`},K={unchecked:"unchecked",checked:"checked",indeterminate:"indeterminate"};var ca=()=>{let{v2:e}=useTheme(),{brand:t,base:o}=e.palette;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:t[500]}),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:o.white})]})},ma=()=>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"})}),fa=()=>{let{v2:e}=useTheme(),{brand:t}=e.palette;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:t[500],stroke:t[500],strokeWidth:"1.2"}),jsx("rect",{x:"3",y:"5.4",width:"6",height:"1.2",rx:"0.5",fill:"#FAFBFB"})]})};var ya=styled(pt,{shouldForwardProp:e=>e!=="$isDisabled"})(({theme:e,$isDisabled:t=false})=>{let{base:o}=e.v2.palette;return {padding:e.v2.spacing(8),position:"relative",display:"flex",alignItems:"center",gap:e.v2.spacing(8),textTransform:"capitalize",cursor:t?"not-allowed":"pointer",flex:1,fontSize:e.typography.subtitle1.fontSize,opacity:t?.5:1,color:o.black}}),go=styled("span")({width:14,height:14,flexShrink:0,pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center","& svg":{display:"block"}});function il(e,t){return t?K.indeterminate:e?K.checked:K.unchecked}var ll={[K.unchecked]:ma,[K.checked]:ca,[K.indeterminate]:fa};function pl(e,t,o){if(e===null)return null;if(e!==void 0)return jsx(go,{className:j.indicator,"aria-hidden":true,children:e});let r=il(t,o),a=ll[r];return jsx(go,{className:j.indicator,"aria-hidden":true,children:jsx(a,{})})}var xa=forwardRef(({isSelected:e=false,isDisabled:t=false,isIndeterminate:o=false,startAdornment:r,onClick:a,children:s,className:i,sx:n,...p},d)=>{let c=lc(j.root,"menu-item",t&&j.disabled,i);return jsxs(ya,{ref:d,"data-testid":"MenuItem",className:c,sx:n,onClick:t?void 0:a,$isDisabled:t,...p,children:[pl(r,e,o),s]})});xa.displayName="MenuItem";var ha=memo(xa);var Ca="os-shared-ToggleButtons",fe={root:`${Ca}-root`,button:`${Ca}-button`},xo={sm:"sm",md:"md"},ue=xo.sm,ho={sm:{buttonHeight:20,minWidth:20,fontSize:8,containerRadius:3,iconSlot:11},md:{buttonHeight:28,minWidth:28,fontSize:11,containerRadius:4,iconSlot:14}};function cl(e,t){let{palette:o,elevation:r}=e.v2;return t?{backgroundColor:o.background.primary,boxShadow:r[100],color:o.foreground.primary}:{backgroundColor:"transparent",boxShadow:"none",color:o.foreground.secondary}}var va=styled(pt,{shouldForwardProp:e=>e!=="$size"})(({theme:e,$size:t=ue})=>{let o=ho[t];return {backgroundColor:e.v2.palette.background.secondary,display:"inline-flex",alignItems:"center",padding:e.v2.spacing(2),borderRadius:e.v2.radius(o.containerRadius)}}),Na=styled(pt,{shouldForwardProp:e=>e!=="$isActive"&&e!=="$size"})(({theme:e,$isActive:t=false,$size:o=ue})=>{let r=ho[o];return {boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,height:r.buttonHeight,width:"auto",minWidth:r.minWidth,borderRadius:e.v2.radius(2),fontSize:r.fontSize,fontWeight:e.typography.fontWeightMedium,lineHeight:1,letterSpacing:0,whiteSpace:"nowrap",cursor:"pointer",transition:"background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease",...cl(e,t),"& img, & svg":{width:r.iconSlot,height:r.iconSlot,display:"block"}}});function ka({options:e,activeKey:t,onChange:o,size:r=ue,containerProps:a,buttonProps:s,id:i,className:n,sx:p},d){let{className:c,sx:u,...g}=a??{},f=lc(fe.root,n,c);return jsx(va,{ref:d,id:i,"data-testid":"ToggleButtons",className:f,$size:r,sx:kc(p??{},u),...g,children:e.map(m=>jsx(Na,{className:fe.button,$isActive:t===m.key,$size:r,onClick:()=>o(m.key),...s,children:m.content},m.key))})}var ul=forwardRef(ka);ka.displayName="ToggleButtons";var Ia=memo(ul);var gl="os-shared-LazyImage",Ue={root:`${gl}-root`},Ye={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 Ba=styled(pt)({display:"inline-flex",justifyContent:"center",alignItems:"center"});function Ge(e){return e!=null&&e in Ye}var Nl=LazyLoadImage,Pa=forwardRef(({effect:e,wrapperProps:t,id:o,className:r,sx:a,placeholderSrc:s,...i},n)=>{let[p,d]=useState(Ge(e));if(useEffect(()=>{if(!Ge(e)){d(false);return}d(true),Ye[e]().finally(()=>{d(false);});},[e]),p)return null;let{className:c,sx:u,style:g,...f}=t??{},m=Ge(e)||!!s||g!=null;return jsx(Ba,{component:"span",...f,className:lc(Ue.root,c??r),sx:u!=null?kc(a??{},u):a,children:jsx(Nl,{...i,ref:n,effect:e,placeholderSrc:s,id:o,"data-testid":"LazyImage",wrapperProps:m?{style:{display:"flex",justifyContent:"center",alignItems:"center",...g}}:void 0})})});Pa.displayName="LazyImage";var $a=memo(Pa);var Co="os-shared-FieldFeedback",te={root:`${Co}-root`,icon:`${Co}-icon`,message:`${Co}-message`};var Ma=({severity:e="error",...t})=>{let o=useTheme(),{warning:r,error:a}=o.v2.palette,s=e==="warning"?r[500]:a[500];return jsx(eo,{sx:{width:12,height:12},...t,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:s})})})},La=e=>{let{v2:t}=useTheme(),{success:o}=t.palette;return jsx(eo,{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:o[700]})})})},Fa=e=>{let{v2:t}=useTheme(),{base:o}=t.palette;return jsx(eo,{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.black,strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})})})};function Xe(e,t){let o=t??"error",{brand:r,success:a,error:s,status:i}=e.v2.palette;switch(o){case "warning":return {borderColor:i.warning.subtle,backgroundColor:i.warning.subtle,textColor:i.warning.default};case "success":return {borderColor:alpha(a[700],.15),backgroundColor:alpha(a[700],.15),textColor:a[700]};case "info":return {borderColor:alpha(r[500],.12),backgroundColor:alpha(r[500],.12),textColor:r[500]};case "error":return {borderColor:alpha(s[500],.15),backgroundColor:alpha(s[500],.15),textColor:s[500]};default:return o}}var za=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:t})=>{let{backgroundColor:o,textColor:r}=Xe(e,t);return {display:"flex",alignItems:"flex-start",gap:e.v2.spacing(4),minHeight:"32px",padding:`${e.v2.spacing(8)} ${e.v2.spacing(12)}`,background:o,color:r,borderRadius:`0 0 ${e.v2.radius(4)} ${e.v2.radius(4)}`}}),Ra=styled("div",{shouldForwardProp:e=>e!=="$feedbackType"})(({theme:e,$feedbackType:t})=>{let{textColor:o}=Xe(e,t);return {fontSize:"10px",lineHeight:"16px",display:"block",color:o,wordBreak:"break-word"}}),Da=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 Il(e){switch(e){case "success":return jsx(La,{});case "info":return jsx(Fa,{});case "error":case "warning":return jsx(Ma,{severity:e})}}var Aa=forwardRef(({type:e="error",message:t,icon:o,className:r,sx:a},s)=>{if(!Ac(t))return null;let i=e;return jsxs(za,{ref:s,"data-testid":"FieldFeedback",className:lc(te.root,r),sx:a,$feedbackType:i,children:[o??jsx(Da,{className:te.icon,children:Il(i)}),jsx(Ra,{className:te.message,$feedbackType:i,children:t})]})});Aa.displayName="FieldFeedback";var Ea=memo(Aa);var Tl="os-shared-ScrollLoader",_e={root:`${Tl}-root`};var Wa=styled(Pl)({overflow:"auto",height:"100%",maxHeight:"100%"});function No(e,t=50){return e.scrollHeight-(e.scrollTop+e.clientHeight)<=t}var Za=forwardRef(({loadMoreItems:e,hasMore:t,isLoading:o=false,isFetchingNextPage:r,children:a,className:s,sx:i,id:n,...p},d)=>{let[c,u]=useState(false),g=useRef(e),f=useRef(null);g.current=e;let m=useCallback(()=>{t&&!r&&g.current();},[t,r]),h=useCallback(()=>{let x=f.current;x&&No(x)&&m();},[m]);return useEffect(()=>{let x=f.current;if(x)return x.addEventListener("scroll",h),()=>x.removeEventListener("scroll",h)},[h]),useEffect(()=>{let x=f.current;if(!x||o||c)return;let N=window.setTimeout(()=>{u(true),No(x)&&m();},1e3);return ()=>window.clearTimeout(N)},[o,m,c]),jsx(Wa,{ref:x=>{f.current=x,typeof d=="function"?d(x):d&&(d.current=x);},id:n,"data-testid":"ScrollLoader",className:lc(_e.root,s),sx:i,...p,children:a})});Za.displayName="ScrollLoader";var ja=memo(Za);
|
|
2
|
+
export{te as $,Ee as A,Zt as B,M as C,qt as D,_ as E,ar as F,I as G,gr as H,L as I,Cr as J,y as K,$r as L,Q as M,Dr as N,B as O,Gr as P,de as Q,oa as R,F as S,pa as T,j as U,ha as V,fe as W,xo as X,Ia as Y,Ue as Z,$a as _,k as a,Xe as aa,Ao as b,Ea as ba,be as c,_e as ca,Ho as d,ja as da,E as e,Xo as f,Se as g,Jo as h,ve as i,ot as j,we as k,lt as l,W as m,gt as n,b as o,St as p,$e as q,wt as r,Me as s,Pt as t,ze as u,Lt as v,Re as w,Rt as x,De as y,Ht as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {h}from'./chunk-U5S2TDEO.js';import*as e from'react';import {useFormContext,Controller}from'react-hook-form';import {jsx}from'react/jsx-runtime';function r({name:m,disabled:n,...c}){let{control:p}=useFormContext();return jsx(Controller,{name:m,control:p,render:({field:{name:a,onBlur:s,onChange:h$1,value:l,disabled:d}})=>jsx(h,{...c,onChange:h$1,onBlur:s,name:a,disabled:d||n,checked:l??false})})}r.displayName="RHFSwitch";var i=e.memo(r);var x=i;export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j as j$1}from'./chunk-
|
|
1
|
+
import {j as j$1}from'./chunk-U5S2TDEO.js';import {zc}from'./chunk-ZHEAWCTY.js';import {memo,useId,useRef,useMemo}from'react';import v from'@mui/material/Box';import ro from'@mui/material/Popover';import {styled}from'@mui/material/styles';import L from'@mui/material/SvgIcon';import {jsx,jsxs}from'react/jsx-runtime';var P=styled(v,{shouldForwardProp:o=>o!=="open"&&o!=="disabled"})(({theme:o,open:r,disabled:e})=>({display:"flex",alignItems:"center",justifyContent:"space-between",borderRadius:"4px",background:"#ffffff",cursor:"pointer",position:"relative",maxWidth:"100%",...r&&{borderColor:o.palette.info.dark,background:o.palette.common.white},"& .SelectDropdown_trailing-icon":{color:o.palette.text.primary},"&.SelectDropdown-open":{"& .SelectDropdown_trailing-arrow":{color:o.palette.info.dark}},"&.SelectDropdown-disabled":{"& .SelectDropdown_trailing-icon":{color:o.palette.text.disabled}},...e&&{cursor:"not-allowed"}})),I=styled(v)(({theme:o})=>({padding:"4px",borderRadius:"4px",boxShadow:"-26px 156px 44px 0px rgba(0, 0, 0, 0.00), -17px 100px 41px 0px rgba(0, 0, 0, 0.01), -9px 56px 34px 0px rgba(0, 0, 0, 0.05), -4px 25px 25px 0px rgba(0, 0, 0, 0.09), -1px 6px 14px 0px rgba(0, 0, 0, 0.10), 0px 0px 0px 0px rgba(0, 0, 0, 0.10)",backgroundColor:o.palette.common.white,maxHeight:400,marginTop:"4px",width:"auto",overflow:"auto"}));styled(j$1)(({selected:o})=>({display:"flex",gap:"8px",alignItems:"center",fontSize:"10px",fontWeight:500,color:"#000",cursor:"pointer",padding:8,justifyContent:"space-between",...o&&{backgroundColor:"#F8F8F8"}}));var D=jsx("path",{d:"M7.30267 0.117188C7.38054 0.115307 7.45644 0.138248 7.52045 0.182617C7.58449 0.227088 7.63367 0.290458 7.66205 0.363281C7.6904 0.436073 7.69755 0.516047 7.68256 0.592773C7.66771 0.668745 7.63063 0.738375 7.57709 0.793945L4.17279 4.43164C4.10249 4.50662 4.00517 4.55078 3.90228 4.55078C3.79958 4.55064 3.70294 4.5065 3.63275 4.43164L0.227478 0.794922L0.228455 0.793945C0.175738 0.738766 0.139787 0.669812 0.124939 0.594727C0.110049 0.519097 0.116214 0.440194 0.143494 0.368164C0.170896 0.296002 0.218691 0.232474 0.281189 0.1875C0.343697 0.14262 0.418101 0.11821 0.495056 0.118164C0.54684 0.118166 0.598245 0.12907 0.645447 0.150391C0.691771 0.171346 0.733033 0.201824 0.767517 0.239258L3.90228 3.58691L7.03705 0.239258C7.10541 0.164191 7.20102 0.119752 7.30267 0.117188Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.233333"}),y={down:0,up:180,left:90,right:-90},Z=["down","up"],j="cubic-bezier(0.4, 0, 0.2, 1)";function q({direction:o="down",size:r=8,transitionEffect:e="rotation",transitionDurationMs:t=200,sx:n,className:p,...d}){let i=typeof r=="number"?r*5/8:"auto",m=e==="none"?"none":`opacity ${t}ms ease-in-out`,g=e==="none"?"none":`transform ${t}ms ${j}`,a=`${p??""} MUISvgIcon__trailing-arrow-icon`;return e==="fade"?jsx(L,{viewBox:"0 0 8 5",inheritViewBox:true,sx:{width:r,height:i,color:"inherit",position:"relative",overflow:"visible",...n},className:a,...d,children:Z.map(s=>jsx("g",{transform:`rotate(${y[s]} 4 2.5)`,style:{opacity:o===s?1:0,transition:m,pointerEvents:"none"},children:D},s))}):jsx(L,{viewBox:"0 0 8 5",inheritViewBox:true,sx:{width:r,height:i,color:"text.primary",transform:`rotate(${y[o]}deg)`,transformOrigin:"50% 50%",transition:g,...n},className:a,...d,children:D})}var T=q;var K="M0.110352 0.700684C0.107667 0.584484 0.13977 0.470009 0.203125 0.372559C0.266534 0.275041 0.358424 0.199466 0.46582 0.154785C0.573201 0.110137 0.691824 0.0987907 0.805664 0.122559C0.919306 0.146383 1.02308 0.203847 1.10352 0.287598L1.10547 0.289551L3.59766 2.78076L3.6748 2.85889L3.75293 2.78076L6.24512 0.289551L6.24609 0.287598C6.29924 0.23225 6.36317 0.188178 6.43359 0.157715C6.50408 0.12725 6.58044 0.110644 6.65723 0.109863C6.73385 0.109132 6.80991 0.123886 6.88086 0.152832C6.95193 0.18185 7.017 0.22453 7.07129 0.278809C7.12559 0.333107 7.16824 0.398144 7.19727 0.469238C7.22623 0.540187 7.24095 0.616243 7.24023 0.692871C7.23945 0.769659 7.22285 0.846017 7.19238 0.916504C7.1771 0.951852 7.1586 0.985627 7.13672 1.01709L7.0625 1.104L7.06055 1.10498L4.56934 3.59717L4.49121 3.67529L7.0625 6.24658C7.11787 6.29976 7.16193 6.36362 7.19238 6.43408C7.22278 6.50446 7.23942 6.58008 7.24023 6.65674C7.24101 6.73353 7.22629 6.81025 7.19727 6.88135C7.16829 6.95222 7.12539 7.01662 7.07129 7.0708C7.01702 7.12507 6.95191 7.16775 6.88086 7.19678C6.80988 7.22576 6.73389 7.24048 6.65723 7.23975C6.58044 7.23897 6.50408 7.22334 6.43359 7.19287C6.36315 7.16242 6.29925 7.11834 6.24609 7.06299L6.24512 7.06104L3.75293 4.56885L3.6748 4.4917L1.10449 7.06201L1.04004 7.11865C0.972059 7.17051 0.89296 7.20736 0.808594 7.2251C0.696438 7.24861 0.579855 7.23782 0.473633 7.19482C0.367223 7.15166 0.275113 7.07813 0.210938 6.98291C0.146759 6.88765 0.113309 6.77453 0.113281 6.65967C0.113345 6.5826 0.128185 6.50605 0.158203 6.43506C0.188279 6.36398 0.232716 6.29937 0.288086 6.24561L0.289063 6.24463L2.78125 3.75342L2.85938 3.67529L0.289063 1.10498L0.287109 1.104C0.17719 0.998435 0.11395 0.853049 0.110352 0.700684Z";function Q({size:o=8,strokeColor:r="white",strokeWidthSvg:e=.22006,sx:t,className:n,...p}){return jsx(L,{viewBox:"0 0 8 8",inheritViewBox:true,sx:{width:o,height:o,color:"inherit",...t},className:`${n??""} MUISvgIcon__trailing-close-icon`,...p,children:jsx("path",{d:K,fill:"currentColor",stroke:r,strokeWidth:e})})}var N=Q;function to(o){let{onClose:r,open:e,anchorEl:t,trigger:n,onOpen:p,children:d,disabled:i,listWrapperSx:m,hideArrow:g,onClear:a,hasValue:s,className:u,slotProps:A,...R}=o,E=zc(useId(),"select-dropdown"),f=a&&s,w=useRef(void 0);e&&t&&t.clientWidth>0&&(w.current=t.clientWidth);let M=w.current,{listWrapper:O,popover:H}=A??{},{slotProps:$,...V}=H??{},{paper:F,...z}=$??{},l=F,G={...l,sx:[{width:M??t?.clientWidth,maxWidth:"unset",boxSizing:"border-box"},...l?.sx?Array.isArray(l.sx)?l.sx:[l.sx]:[]]},U=useMemo(()=>["SelectDropdown",e&&"SelectDropdown-open",i&&"SelectDropdown-disabled",u].filter(Boolean).join(" "),[u,e,i]);return jsxs(P,{id:E,open:e,onClick:p,"data-testid":"SelectDropdown",disabled:i,className:U,...R,children:[jsx(v,{className:"SelectDropdown_trigger",sx:{flex:1,cursor:"pointer"},children:n}),jsxs(v,{width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",right:8,className:"SelectDropdown_trailing-icon",role:"button",...f&&{sx:{cursor:"pointer"},onClick:h=>{h.stopPropagation(),h.preventDefault(),a();}},children:[!g&&!f&&jsx(T,{className:"SelectDropdown_trailing-arrow",direction:e?"up":"down",transitionEffect:"fade"}),f&&jsx(N,{className:"SelectDropdown_trailing-close"})]}),jsx(ro,{open:e,anchorEl:t,onClose:r,anchorOrigin:{vertical:"bottom",horizontal:"left"},...V,slotProps:{...z,paper:G},children:jsx(I,{className:"SelectDropdown_list-wrapper",sx:m,...O,children:d})})]})}var _=memo(to);var _o=_;export{_o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j}from'./chunk-
|
|
1
|
+
import {j}from'./chunk-U5S2TDEO.js';import {g as g$1}from'./chunk-ZHEAWCTY.js';import F from'react';import {useTranslation}from'react-i18next';import a from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var T="37px",f=styled(a,{shouldForwardProp:o=>o!=="showBackDrop"&&o!=="areTotalRowsNotFillingHeight"&&o!=="sandboxMode"&&o!=="maximized"})(({theme:o,showBackDrop:i,areTotalRowsNotFillingHeight:r,sandboxMode:p,maximized:n})=>({minHeight:T,...!n&&{borderBottomLeftRadius:o.spacing(1.5),borderBottomRightRadius:o.spacing(1.5)},display:"flex",alignItems:"center",border:"none",justifyContent:"space-between",padding:"6px 32px",background:p?o.palette.common.lightOrange:o.palette.grey[300],backdropFilter:"blur(32px)",boxShadow:i?o.shadows[24]:"none",borderTop:r?`1px outset ${o.palette.grey[800]}`:"none",width:"100%",marginTop:"auto",flexShrink:0,cursor:"move"})),u=styled("div")(({theme:o})=>({position:"absolute",top:0,left:0,right:0,height:"1.5px",backgroundColor:o.palette.grey[300],boxShadow:`inset 0 1px 0 0 ${o.palette.grey[300]}`})),d=styled(a)(({theme:o})=>({borderRadius:"37.5px",border:"0.75px solid rgba(242, 242, 242, 0.70)",backgroundColor:o.palette.common.white,opacity:1,paddingInline:o.spacing(1),display:"flex",alignItems:"center",height:24,gap:"7px",maxWidth:"max-content"})),x=styled(j)(()=>({fontSize:"9px",fontWeight:400,lineHeight:"10.8px"})),g=styled(j)(()=>({fontSize:"10.5px",fontWeight:700,lineHeight:"12.6px"}));styled(a)(()=>({display:"flex",gap:"3px",alignItems:"center"}));styled(a)(()=>({display:"flex",gap:"6px"}));styled("span")(()=>({fontWeight:400}));function R({totalCount:o,showBackDrop:i=false,showSeparator:r,sandboxMode:p,maximized:n,selectedCount:m,...y}){let{t:b}=useTranslation();return jsxs(f,{component:"footer","data-testid":"TableFooter",maximized:n??false,sandboxMode:p,showBackDrop:i,areTotalRowsNotFillingHeight:!!r,...y,children:[r&&jsx(u,{}),m?jsxs(d,{sx:{gap:"6px",cursor:"text"},children:[jsx(x,{children:b("selected")}),jsx(g,{children:g$1(m)})]}):null,o||o===0?jsxs(d,{sx:{gap:"6px",cursor:"text"},children:[jsx(x,{children:b("count")}),jsx(g,{children:g$1(o||0)})]}):null]})}var h=F.memo(R);var M=h;export{T as a,h as b,M as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {j}from'./chunk-U5S2TDEO.js';import {s as s$1}from'./chunk-P3UNUMRE.js';import {zc}from'./chunk-ZHEAWCTY.js';import {Mj}from'./chunk-M5HS3EYQ.js';import {memo,useId}from'react';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var s=styled(r)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,background:"#FBFBFB",borderRadius:"8px",fontSize:"11px",display:"flex",flexDirection:"column",height:"233px",transform:"scale(1)"})),l=styled(r)(({theme:e})=>({padding:"8px 12px",borderBottom:`1px solid ${e.palette.divider}`,display:"flex",justifyContent:"space-between",alignItems:"center",height:39,flexShrink:0,overflow:"visible"})),c=styled(r)(({theme:e})=>({color:e.palette.text.primary,fontSize:"11px",fontWeight:600,textTransform:"capitalize"})),x=styled(r)(({theme:e})=>({display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",paddingInlineStart:"12px",paddingInlineEnd:"8px",borderBottom:`1px solid ${e.palette.divider}`,height:40})),f=styled(j)(({theme:e})=>({color:e.v2.palette.base.black,fontSize:"11px",fontWeight:500,lineHeight:"13.2px"})),g=styled(r)(()=>({display:"flex",alignItems:"center",gap:"8px"})),I=styled(r)(()=>({display:"flex",alignItems:"center",gap:"4px"})),y=styled(r)(()=>({borderRadius:"8px",overflow:"auto",flexGrow:1,height:"100%",listStyle:"none",margin:0,padding:0,".list-item:last-of-type":{borderBottom:"none"}}));styled(r)(()=>({margin:"12px "}));function b({children:e,...t}){let i=zc(useId(),"widget");return jsx(s,{id:i,component:"article","data-testid":"Widget",...t,children:e})}var S=memo(b);function P({children:e,action:t,...i}){let d=zc(useId(),"widget-header");return jsxs(l,{id:d,"data-testid":"Widget_WidgetHeader",component:"header",...i,children:[jsx(c,{children:e}),t&&t]})}var T=memo(P);function k({allowShadow:e=true,children:t,...i}){let d=zc(useId(),"widget-list"),{onScrollHandler:u,showShadow:L}=s$1();return jsxs(y,{id:d,component:"ul","data-testid":"Widget_List",onScroll:u,...i,children:[t,L&&e&&jsx(r,{component:"img",src:Mj,sx:{width:"100%",position:"fixed",bottom:0,pointerEvents:"none",right:0,left:0}})]})}var A=memo(k);function G({children:e,icon:t,actions:i,...d}){return jsxs(x,{component:"li","data-testid":"Widget_ListItem",className:`list-item ${d.className}`,...d,children:[jsxs(g,{component:"aside",children:[t&&t,jsx(f,{noWrap:true,className:"content",children:e})]}),i&&jsx(I,{component:"aside",children:i})]})}var J=memo(G);var ue=S;export{T as a,A as b,J as c,ue as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {b as b$1}from'./chunk-GKSTVWG7.js';import*as r from'react';import {useFormContext,Controller}from'react-hook-form';import {jsx}from'react/jsx-runtime';var u=r.forwardRef(({name:s,helperText:l,hideArrows:f,feedback:I,error:R,...t},d)=>{let{control:i}=useFormContext();return jsx(Controller,{name:s,control:i,defaultValue:t.defaultValue,render:({field:o,fieldState:n})=>jsx(b$1,{id:"RHFInput",...t,...o,ref:d,error:!!n.error||!!R,helperText:l??n.error?.message,feedback:I,hideArrows:f,onChange:e=>{o.onChange(e),t.onChange?.(e);},onWheel:e=>{e.target instanceof HTMLElement&&e.target.blur();}})})});u.displayName="RHFInput";var m=r.memo(u);var b=m;export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import'./chunk-
|
|
1
|
+
import'./chunk-YXAJ6BSN.js';import {P,O as O$1}from'./chunk-U5S2TDEO.js';import {zc}from'./chunk-ZHEAWCTY.js';import {memo,useId,useState,useEffect}from'react';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var f="32px";var g=styled(p,{shouldForwardProp:e=>e!=="isMaximized"})(({theme:e,isMaximized:i})=>({background:alpha(e.palette.common.white,.7),backdropFilter:"blur(8px)",width:183,position:"sticky",padding:"16px 8px",paddingTop:i?f:"16px",height:"100%",overflow:"auto"})),b=styled(p)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),S=styled(p,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:i})=>({background:i?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:i?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600})),h=styled(p,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:i})=>({background:i?"#FFFFFF":"transparent",borderRadius:"4px",padding:"4px 8px",color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer",fontWeight:600})),B=styled(P)(({theme:e})=>({background:"transparent",border:"none !important",borderRadius:"4px !important",[`& .${O$1.summary}`]:{padding:0,paddingRight:e.spacing(1),minHeight:"40px",height:"40px","&.Mui-expanded":{minHeight:"40px",height:"40px"},marginBottom:4,borderRadius:"4px !important"},[`& .${O$1.content}`]:{borderTop:"none",padding:0}}));function w({sections:e,isMaximized:i,onClick:m,activeSection:A,activeSubSection:k}){let I=zc(useId(),"expandable-side-bar"),r=A||e?.[0]?.id,F=k||e?.[0]?.subSections?.[0]?.id,[C,c]=useState({});return useEffect(()=>{e?.length&&c(t=>{let o=false,d={...t};for(let x of e)x.id in d||(d[x.id]=r===x.id,o=true);return o?d:t});},[e,r]),useEffect(()=>{r&&c(t=>({...t,[r]:true}));},[r]),jsx(g,{isMaximized:i,id:I,"data-testid":"ExpandableSideBar",children:jsx(b,{children:e?.map(t=>jsx(B,{expanded:C[t.id]??false,onChange:o=>c(d=>({...d,[t.id]:o})),slotProps:{root:{component:"section"}},label:jsx(h,{onClick:()=>{m?.(t.id,t.subSections?.[0]?.id);},isActive:r===t.id,children:t.title}),content:jsx(Fragment,{children:t.subSections?.map(o=>jsx(S,{onClick:()=>{m?.(t.id,o.id);},isActive:F===o.id,children:o.title},`${t.id}-${o.id}`))})},`${t.id}`))})})}var E=memo(w);var O=E;export{O as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {V}from'./chunk-
|
|
1
|
+
import {V}from'./chunk-U5S2TDEO.js';import {zc}from'./chunk-ZHEAWCTY.js';import {Eb,A as A$1}from'./chunk-M5HS3EYQ.js';import {useId,useMemo,useState}from'react';import h from'@mui/material/Box';import R from'@mui/material/Input';import D from'@mui/material/Skeleton';import {styled}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var F=styled(h)(({theme:e})=>({display:"flex",flexDirection:"column",borderRadius:"8px",border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.common.white,maxHeight:"232px",overflow:"auto"})),b=styled(h)(()=>({display:"flex",flexDirection:"column",gap:"8px"})),k=styled(h,{shouldForwardProp:e=>e!=="$active"})(({$active:e})=>({display:"flex",alignItems:"center",justifyContent:"center",width:"13px",height:"13px",borderRadius:"50%",...e&&{backgroundColor:"#F2F2F2"}})),v=styled("img",{shouldForwardProp:e=>e!=="$isClear"})(({$isClear:e})=>({...e&&{backgroundColor:"#F2F2F2",borderRadius:"4px",width:"8px",height:"8px"}})),W=styled(R,{shouldForwardProp:e=>e!=="$hasSearchValue"})(({theme:e,$hasSearchValue:s})=>({width:"100%",height:32,padding:"11px 12px",borderRadius:"5px",cursor:s?"pointer":"default",fontSize:"11px",border:"1px solid #F2F2F2",backgroundColor:"#fff","&.Mui-focused":{borderColor:e.palette.info.dark},"&.Mui-disabled":{backgroundColor:"#F8F8F8"}})),w=styled(V)(({theme:e})=>({backgroundColor:"#F8F8F8",fontSize:"11px",fontWeight:600,padding:"4px 8px",color:e.palette.info.dark,gap:"4px"})),y=styled(V)(()=>({fontSize:"11px",padding:"4px 8px",gap:"4px",fontWeight:400})),A=styled(D)(()=>({width:"100%",height:24}));function M({onSalesChannelChange:e,onSearchChange:s,filteredOptions:a,isLoading:$,initialSalesChannels:u,initialSalesChannelsSearch:P}){let V=zc(useId(),"sales-channel-filter"),o=useMemo(()=>u||[],[u]),[l,m]=useState(P||""),S=t=>o.some(i=>i.id===t),p=useMemo(()=>o?.length===a.length&&a?.length>0,[o,a]),g=useMemo(()=>o?.some(t=>t.id==="blank")&&o?.length===1,[o]),x=useMemo(()=>o?.length===0||g,[g,o?.length]);return jsxs(b,{id:V,"data-testid":"SalesChannelFilter",children:[jsx(W,{$hasSearchValue:!!l,placeholder:"Search",endAdornment:!x&&jsx(k,{$active:!!l,children:jsx(v,{src:l?Eb:A$1,alt:"search",$isClear:!!l,onClick:()=>{m(""),s("");}})}),disabled:x,onChange:t=>{m(t.target.value),s(t.target.value);},value:l,disableUnderline:true}),jsx(F,{children:$?Array.from({length:9}).map((t,i)=>jsx(A,{variant:"rectangular"},i)):jsxs(Fragment,{children:[jsx(w,{isSelected:p,isIndeterminate:!p&&(o?.length||0)>0,onClick:t=>{t.stopPropagation(),e(p?[]:a);},children:p?"Deselect All":"Select All"}),a.map(t=>jsx(y,{isSelected:S(t.id),onClick:i=>{i.stopPropagation();let B=S(t.id)?o?.filter(O=>O.id!==t.id):[...o??[],t];e(B);},children:t?.name?.en},t.id))]})})]})}export{M as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {p}from'./chunk-
|
|
1
|
+
import {p}from'./chunk-U5S2TDEO.js';import {Wa,zc,cb}from'./chunk-ZHEAWCTY.js';import {Rk,ya,xa,wa,Oj}from'./chunk-M5HS3EYQ.js';import {memo,useId}from'react';import C from'@mui/material/Box';import O from'lodash/capitalize';import {useTranslation}from'react-i18next';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var D=styled(C,{shouldForwardProp:o=>o!=="tableMode"})(({theme:o,tableMode:t})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,height:Wa(t)?"18px":"24px"}));var e={DESKTOP:wa,PHONE:xa,TABLET:ya,TERMINAL:Rk};var i=o=>!!e[o];function S({type:o,isTextShown:t,tableMode:T,...E}){let p$1=zc(useId(),"device-icon"),{t:v}=useTranslation(),m=i(o)?e[o]:null;return jsx(p,{title:m?`Device - ${cb((o??"").toLowerCase())}`:v("unKnown"),children:t?jsx(D,{id:p$1,"data-testid":"DeviceIcon",tableMode:T,children:o?O(o):"Unknown"}):jsx(C,{...E,id:p$1,"data-testid":"DeviceIcon",component:"img",src:o?m||Oj:Oj,alt:o})})}var b=memo(S);var X=b;export{e as a,i as b,X as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {c,d}from'./chunk-PIVDC3CV.js';import {a,c as c$1,d as d$1}from'./chunk-V4IMVJZP.js';import {b,a as a$1}from'./chunk-F3BU4KEC.js';import {zc,xa}from'./chunk-ZHEAWCTY.js';import {Gf}from'./chunk-M5HS3EYQ.js';import {createContext,memo,useRef,useId,useContext,useMemo,useState,useLayoutEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {createPortal}from'react-dom';import {styled,Box,Button,alpha,Dialog}from'@mui/material';import pt from'@mui/material/Box';import {Resizable}from're-resizable';import lt from'react-draggable';import {motion}from'framer-motion';var Z=createContext({viewerDefaultWidth:555,viewerDefaultHeight:545,position:{x:0,y:0},setPosition:()=>{},dimensions:{width:0,height:0},windowZIndex:1e4,isOpen:true,setIsMaximized:()=>{},setIsSidebarExpanded:()=>{},setIsToolbarAnimationDisabled:()=>{},setIsResized:()=>{},setNewDimensions:()=>{},isMaximized:false,isToolbarAnimationDisabled:true,isSidebarExpanded:false,isResized:false,onClose:()=>{},fullWindowWidth:0,fullWindowHeight:0,viewportWidth:0,viewportHeight:0,resizableRef:{current:null},updateRefSize:()=>{},updateSize:()=>{},containerRef:{current:null}});var he=(e,t)=>t.toLowerCase().includes(e);function we(e,t,i){let n=he("top",t),r=he("left",t);return !n&&!r?null:{x:r?e.x+i.width:e.x,y:n?e.y-i.height:e.y}}var be=e=>{let{viewportWidth:t,viewportHeight:i,viewerDefaultWidth:n,viewerDefaultHeight:r,initialPosition:d,isMaximized:l,containerRef:a}=e,s=!l&&a?.current&&a.current!==document.body?a.current:null,p=s?.getBoundingClientRect(),u=p?.left??0,f=p?.top??0,m=s?.clientWidth||t,c=d?.x??t/2-n/2,o=d?.y??i/2-r/2;return {x:m-(c-u),y:o-f}};var Ue=555,je=545;function te({children:e,isOpen:t,onClose:i,defaultWindowHeight:n,defaultWindowWidth:r,initialPosition:d,minWidth:l,maxWidth:a,minHeight:s,maxHeight:p,containerRef:u,windowZIndex:f=1}){let {height:m,width:c}=a$1(),[o,M]=useState(false),B=o?null:u?.current,A=B?.clientWidth||c,b=B?.clientHeight||m,I=r||Ue,g=n||je;useRef(false);let [k,H]=useState(()=>be({viewportWidth:c,viewportHeight:m,viewerDefaultWidth:I,viewerDefaultHeight:g,initialPosition:d,isMaximized:o,containerRef:u})),[L,_]=useState(false),[F,S]=useState(false),[E,P]=useState(true),x=useRef(),[G,z]=useState({width:r??0,height:n??0}),O=useCallback(W=>{x?.current?.updateSize(W);},[]),V=useCallback(W=>{x.current?.updateSize(W),z(D=>({width:W.width??D.width,height:W.height??D.height}));},[]),ee=useMemo(()=>({position:k,setPosition:H,resizableRef:x,windowZIndex:f,isOpen:t,setIsMaximized:M,setIsSidebarExpanded:P,setIsToolbarAnimationDisabled:S,setIsResized:_,isMaximized:o,isToolbarAnimationDisabled:F,isSidebarExpanded:E,isResized:L,dimensions:G,setNewDimensions:z,viewerDefaultWidth:I,viewerDefaultHeight:g,onClose:i,fullWindowWidth:A,fullWindowHeight:b,viewportWidth:c,viewportHeight:m,updateRefSize:O,updateSize:V,minWidth:l,maxWidth:a,minHeight:s,maxHeight:p,containerRef:u}),[k,H,x,t,M,P,S,_,o,F,E,L,G,z,A,b,c,m,I,g,O,V,i,l,a,s,p,u,f]);return jsx(Z.Provider,{value:ee,children:e})}var R=.5,He=183,ve=287,ye=840,Re=545,oe=35;function Ke({title:e,onClose:t,onMaximize:i,maximized:n=false,id:r,onRequestClick:d$2,isSidebarExpanded:l=false,isHovered:a$1=false,onMouseHover:s,onMouseLeave:p,showSectionsButton:u,rightActions:f,icon:m}){return jsx(c,{id:r,"data-testid":"UserTitleBar",maximized:n||false,children:jsx(d,{onMouseEnter:s,onMouseLeave:p,isMaximized:n,isHovered:a$1,title:e,icon:m||Gf,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:t}),jsx(c$1,{isMaximized:n,onClick:i}),u&&jsx(d$1,{onClick:d$2,isExpanded:!l,isHovered:a$1,children:"Sidebar"})]}),rightActions:f})})}var Ae=memo(Ke);var ie=Ae;function Qe({isMaximized:e,setIsToolbarAnimationDisabled:t,setIsMaximized:i,onClose:n,isSidebarExpanded:r,setIsSidebarExpanded:d,isToolbarAnimationDisabled:l,title:a,showSectionsButton:s,rightActions:p,icon:u}){let{isHovered:f,onMouseEnter:m,onMouseLeave:c}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...l&&{duration:0}},children:jsx(ie,{title:a||"Users",showSectionsButton:s,onClose:n,onMaximize:()=>{i?.(o=>!o),t?.(true),setTimeout(()=>{t?.(false);},.5*1e3);},maximized:e,id:"draggable-dialog-title",onRequestClick:()=>{t?.(false),d(!r);},isSidebarExpanded:r,isHovered:f,onMouseHover:m,onMouseLeave:c,rightActions:p,icon:u})})}var Se=memo(Qe);var Ee=Se;function ut({children:e,titleBar:t,titleBarText:i,mainAppOrder:n,mainAppIsMinimized:r,showSectionsButton:d=true,rightActions:l,titleBarIcon:a,overflow:s="hidden"}){let p=useRef(null),u=zc(useId(),"app-window"),{dimensions:f,position:m,resizableRef:c,isMaximized:o,isOpen:M,onClose:B,viewerDefaultWidth:A,viewerDefaultHeight:b,windowZIndex:I,setPosition:g,setNewDimensions:Q,isToolbarAnimationDisabled:k,fullWindowWidth:H,fullWindowHeight:L,viewportWidth:_,viewportHeight:F,setIsMaximized:S,setIsResized:E,isResized:P,setIsToolbarAnimationDisabled:x,setIsSidebarExpanded:G,isSidebarExpanded:z,minWidth:O,maxWidth:V,minHeight:ee,maxHeight:W,containerRef:D}=useContext(Z),h=useMemo(()=>document.createElement("div"),[]),[Le,_e]=useState(null);useLayoutEffect(()=>{_e(D?.current??document.body);},[D]);let w=o?document.body:Le;useLayoutEffect(()=>{if(!w)return;let v=w===document.body;return h.style.position=v?"":"absolute",h.style.inset=v?"":"0",h.style.pointerEvents="none",h.style.overflow="visible",w.appendChild(h),()=>{h.parentNode===w&&w.removeChild(h);}},[w,h]);let se=useRef({x:0,y:0}),pe=xa(),Fe=useCallback((v,U,de,Oe)=>{E(true),Q({width:de.offsetWidth,height:de.offsetHeight});let le=we(se.current,U,Oe);le&&g(le);},[Q,E,g]),N=f.width||A;if(!w)return null;let Ge=jsx(lt,{nodeRef:p,disabled:o,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:H/2-N/2,y:L/2-b/2},position:{x:H-m.x,y:m.y},onStop:(v,U)=>{g({x:H-U.x,y:U.y});},...w===document.body&&{bounds:{top:10}},children:jsx(Dialog,{ref:p,sx:{backgroundColor:"transparent",pointerEvents:"none",zIndex:Number(n||0)+I+(o?1:0),...r&&{display:"none"},...w===document.body?!o&&{transform:"translate(180px, 14px)"}:!o&&{position:"absolute"},...!o&&{width:pe?N:"fit-content",height:pe?b:"fit-content"},...o&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)",overflow:"visible","& .MuiDialog-container":{overflow:"visible"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",pointerEvents:"auto",overflow:s,width:P?"fit-content":N,height:P?"fit-content":"100%",...o&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{S(false),x(true),setTimeout(()=>{x(false);},.5*1e3);},open:M,hideBackdrop:true,disableEnforceFocus:true,disableScrollLock:true,container:h,fullScreen:o,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{topLeft:true,topRight:true,bottomLeft:true,bottomRight:true,left:true,right:true,bottom:true,top:true},handleStyles:{bottom:{zIndex:2},bottomLeft:{zIndex:2},bottomRight:{zIndex:2}},size:{width:f.width,height:f.height},maxHeight:W??F-40,maxWidth:V??_,minWidth:o?"100vw":O??A,minHeight:o?"100vh":ee??b,ref:v=>{c.current=v;},onResizeStart:()=>{se.current=m,x(true);},onResizeStop:()=>{x(false);},onResize:Fe,defaultSize:{width:N,height:b},style:{background:"transparent",height:f.height,overflow:s,...o&&{height:"100% !important",width:"100% !important",flex:1},...o&&{position:"relative"}},children:jsxs(pt,{sx:{height:"100%"},id:u,"data-testid":"AppWindow",children:[t??jsx(Ee,{setIsToolbarAnimationDisabled:x,onClose:B,setIsMaximized:S,isToolbarAnimationDisabled:k,setIsSidebarExpanded:G,isSidebarExpanded:z,title:i,isMaximized:o,showSectionsButton:d,rightActions:l,icon:a}),e]})})})});return createPortal(Ge,h)}var De=memo(ut);var ct=styled(Box,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:t})=>({background:t?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:t?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer"})),xt=styled(Button)(({theme:e,disabled:t})=>({background:t?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"0px 8px",fontSize:"9px",fontWeight:600,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),ht=styled(Box)(({theme:e})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"8px",backgroundColor:e.palette.background.paper,padding:"6px",transform:"translateY(calc(-50% - 6px))",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px",height:"36px",transition:e.transitions.create(["width"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex})})),wt=styled(Box)(()=>({position:"fixed",height:35,bottom:0,left:0,right:0,padding:"6px 16px",zIndex:1,backgroundColor:"#eaeaea",backdropFilter:"blur(12px)",display:"flex",justifyContent:"flex-end",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"})),bt=styled(Button)(()=>({padding:"4px 8px",boxShadow:"0px 0px 4px 0px rgba(0, 0, 0, 0.08)",display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",color:"rgba(32, 35, 43, 0.80)",fontWeight:600,fontSize:"9px",textTransform:"none"}));var re=De;function gt({children:e,windowProps:t,...i}){return i.isOpen?jsx(te,{...i,children:jsx(re,{...t,children:e})}):null}var Me=gt;function Ht({title:e,maximized:t=false,id:i,isHovered:n=false,onMouseHover:r,onMouseLeave:d$1,leftActions:l,titleIconSrc:a,sx:s,...p}){return jsx(c,{className:"header-wrapper",id:i,maximized:t||false,sx:s,...p,children:jsx(d,{onMouseEnter:r,onMouseLeave:d$1,isMaximized:t,isHovered:n,title:e||"",icon:a,leftActions:l})})}var ae=memo(Ht);function Rt({isMaximized:e,id:t,isToolbarAnimationDisabled:i,title:n,leftActions:r,onClose:d,onMaximize:l,sx:a$1}){let{isHovered:s,onMouseEnter:p,onMouseLeave:u}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...i&&{duration:0}},children:jsx(ae,{title:n,maximized:e,id:t||"draggable-dialog-title",isHovered:s,onMouseHover:p,onMouseLeave:u,leftActions:r||jsxs(Fragment,{children:[jsx(a,{onClick:d}),jsx(c$1,{isMaximized:e,onClick:()=>l?.(!e)})]}),sx:a$1})})}var ke=memo(Rt);var St=ke;var qo=Me;export{Z as a,te as b,R as c,He as d,ve as e,ye as f,Re as g,oe as h,ie as i,ct as j,xt as k,ht as l,wt as m,bt as n,re as o,ae as p,St as q,qo as r};
|
|
1
|
+
import {c,d}from'./chunk-6QA5UWFS.js';import {a,c as c$1,d as d$1}from'./chunk-V4IMVJZP.js';import {b,a as a$1}from'./chunk-P3UNUMRE.js';import {zc,xa}from'./chunk-ZHEAWCTY.js';import {Gf}from'./chunk-M5HS3EYQ.js';import {createContext,memo,useRef,useId,useContext,useMemo,useState,useLayoutEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {createPortal}from'react-dom';import {styled,Box,Button,alpha,Dialog}from'@mui/material';import pt from'@mui/material/Box';import {Resizable}from're-resizable';import lt from'react-draggable';import {motion}from'framer-motion';var Z=createContext({viewerDefaultWidth:555,viewerDefaultHeight:545,position:{x:0,y:0},setPosition:()=>{},dimensions:{width:0,height:0},windowZIndex:1e4,isOpen:true,setIsMaximized:()=>{},setIsSidebarExpanded:()=>{},setIsToolbarAnimationDisabled:()=>{},setIsResized:()=>{},setNewDimensions:()=>{},isMaximized:false,isToolbarAnimationDisabled:true,isSidebarExpanded:false,isResized:false,onClose:()=>{},fullWindowWidth:0,fullWindowHeight:0,viewportWidth:0,viewportHeight:0,resizableRef:{current:null},updateRefSize:()=>{},updateSize:()=>{},containerRef:{current:null}});var he=(e,t)=>t.toLowerCase().includes(e);function we(e,t,i){let n=he("top",t),r=he("left",t);return !n&&!r?null:{x:r?e.x+i.width:e.x,y:n?e.y-i.height:e.y}}var be=e=>{let{viewportWidth:t,viewportHeight:i,viewerDefaultWidth:n,viewerDefaultHeight:r,initialPosition:d,isMaximized:l,containerRef:a}=e,s=!l&&a?.current&&a.current!==document.body?a.current:null,p=s?.getBoundingClientRect(),u=p?.left??0,f=p?.top??0,m=s?.clientWidth||t,c=d?.x??t/2-n/2,o=d?.y??i/2-r/2;return {x:m-(c-u),y:o-f}};var Ue=555,je=545;function te({children:e,isOpen:t,onClose:i,defaultWindowHeight:n,defaultWindowWidth:r,initialPosition:d,minWidth:l,maxWidth:a,minHeight:s,maxHeight:p,containerRef:u,windowZIndex:f=1}){let {height:m,width:c}=a$1(),[o,M]=useState(false),B=o?null:u?.current,A=B?.clientWidth||c,b=B?.clientHeight||m,I=r||Ue,g=n||je;useRef(false);let [k,H]=useState(()=>be({viewportWidth:c,viewportHeight:m,viewerDefaultWidth:I,viewerDefaultHeight:g,initialPosition:d,isMaximized:o,containerRef:u})),[L,_]=useState(false),[F,S]=useState(false),[E,P]=useState(true),x=useRef(),[G,z]=useState({width:r??0,height:n??0}),O=useCallback(W=>{x?.current?.updateSize(W);},[]),V=useCallback(W=>{x.current?.updateSize(W),z(D=>({width:W.width??D.width,height:W.height??D.height}));},[]),ee=useMemo(()=>({position:k,setPosition:H,resizableRef:x,windowZIndex:f,isOpen:t,setIsMaximized:M,setIsSidebarExpanded:P,setIsToolbarAnimationDisabled:S,setIsResized:_,isMaximized:o,isToolbarAnimationDisabled:F,isSidebarExpanded:E,isResized:L,dimensions:G,setNewDimensions:z,viewerDefaultWidth:I,viewerDefaultHeight:g,onClose:i,fullWindowWidth:A,fullWindowHeight:b,viewportWidth:c,viewportHeight:m,updateRefSize:O,updateSize:V,minWidth:l,maxWidth:a,minHeight:s,maxHeight:p,containerRef:u}),[k,H,x,t,M,P,S,_,o,F,E,L,G,z,A,b,c,m,I,g,O,V,i,l,a,s,p,u,f]);return jsx(Z.Provider,{value:ee,children:e})}var R=.5,He=183,ve=287,ye=840,Re=545,oe=35;function Ke({title:e,onClose:t,onMaximize:i,maximized:n=false,id:r,onRequestClick:d$2,isSidebarExpanded:l=false,isHovered:a$1=false,onMouseHover:s,onMouseLeave:p,showSectionsButton:u,rightActions:f,icon:m}){return jsx(c,{id:r,"data-testid":"UserTitleBar",maximized:n||false,children:jsx(d,{onMouseEnter:s,onMouseLeave:p,isMaximized:n,isHovered:a$1,title:e,icon:m||Gf,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:t}),jsx(c$1,{isMaximized:n,onClick:i}),u&&jsx(d$1,{onClick:d$2,isExpanded:!l,isHovered:a$1,children:"Sidebar"})]}),rightActions:f})})}var Ae=memo(Ke);var ie=Ae;function Qe({isMaximized:e,setIsToolbarAnimationDisabled:t,setIsMaximized:i,onClose:n,isSidebarExpanded:r,setIsSidebarExpanded:d,isToolbarAnimationDisabled:l,title:a,showSectionsButton:s,rightActions:p,icon:u}){let{isHovered:f,onMouseEnter:m,onMouseLeave:c}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...l&&{duration:0}},children:jsx(ie,{title:a||"Users",showSectionsButton:s,onClose:n,onMaximize:()=>{i?.(o=>!o),t?.(true),setTimeout(()=>{t?.(false);},.5*1e3);},maximized:e,id:"draggable-dialog-title",onRequestClick:()=>{t?.(false),d(!r);},isSidebarExpanded:r,isHovered:f,onMouseHover:m,onMouseLeave:c,rightActions:p,icon:u})})}var Se=memo(Qe);var Ee=Se;function ut({children:e,titleBar:t,titleBarText:i,mainAppOrder:n,mainAppIsMinimized:r,showSectionsButton:d=true,rightActions:l,titleBarIcon:a,overflow:s="hidden"}){let p=useRef(null),u=zc(useId(),"app-window"),{dimensions:f,position:m,resizableRef:c,isMaximized:o,isOpen:M,onClose:B,viewerDefaultWidth:A,viewerDefaultHeight:b,windowZIndex:I,setPosition:g,setNewDimensions:Q,isToolbarAnimationDisabled:k,fullWindowWidth:H,fullWindowHeight:L,viewportWidth:_,viewportHeight:F,setIsMaximized:S,setIsResized:E,isResized:P,setIsToolbarAnimationDisabled:x,setIsSidebarExpanded:G,isSidebarExpanded:z,minWidth:O,maxWidth:V,minHeight:ee,maxHeight:W,containerRef:D}=useContext(Z),h=useMemo(()=>document.createElement("div"),[]),[Le,_e]=useState(null);useLayoutEffect(()=>{_e(D?.current??document.body);},[D]);let w=o?document.body:Le;useLayoutEffect(()=>{if(!w)return;let v=w===document.body;return h.style.position=v?"":"absolute",h.style.inset=v?"":"0",h.style.pointerEvents="none",h.style.overflow="visible",w.appendChild(h),()=>{h.parentNode===w&&w.removeChild(h);}},[w,h]);let se=useRef({x:0,y:0}),pe=xa(),Fe=useCallback((v,U,de,Oe)=>{E(true),Q({width:de.offsetWidth,height:de.offsetHeight});let le=we(se.current,U,Oe);le&&g(le);},[Q,E,g]),N=f.width||A;if(!w)return null;let Ge=jsx(lt,{nodeRef:p,disabled:o,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:H/2-N/2,y:L/2-b/2},position:{x:H-m.x,y:m.y},onStop:(v,U)=>{g({x:H-U.x,y:U.y});},...w===document.body&&{bounds:{top:10}},children:jsx(Dialog,{ref:p,sx:{backgroundColor:"transparent",pointerEvents:"none",zIndex:Number(n||0)+I+(o?1:0),...r&&{display:"none"},...w===document.body?!o&&{transform:"translate(180px, 14px)"}:!o&&{position:"absolute"},...!o&&{width:pe?N:"fit-content",height:pe?b:"fit-content"},...o&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)",overflow:"visible","& .MuiDialog-container":{overflow:"visible"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",pointerEvents:"auto",overflow:s,width:P?"fit-content":N,height:P?"fit-content":"100%",...o&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{S(false),x(true),setTimeout(()=>{x(false);},.5*1e3);},open:M,hideBackdrop:true,disableEnforceFocus:true,disableScrollLock:true,container:h,fullScreen:o,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{topLeft:true,topRight:true,bottomLeft:true,bottomRight:true,left:true,right:true,bottom:true,top:true},handleStyles:{bottom:{zIndex:2},bottomLeft:{zIndex:2},bottomRight:{zIndex:2}},size:{width:f.width,height:f.height},maxHeight:W??F-40,maxWidth:V??_,minWidth:o?"100vw":O??A,minHeight:o?"100vh":ee??b,ref:v=>{c.current=v;},onResizeStart:()=>{se.current=m,x(true);},onResizeStop:()=>{x(false);},onResize:Fe,defaultSize:{width:N,height:b},style:{background:"transparent",height:f.height,overflow:s,...o&&{height:"100% !important",width:"100% !important",flex:1},...o&&{position:"relative"}},children:jsxs(pt,{sx:{height:"100%"},id:u,"data-testid":"AppWindow",children:[t??jsx(Ee,{setIsToolbarAnimationDisabled:x,onClose:B,setIsMaximized:S,isToolbarAnimationDisabled:k,setIsSidebarExpanded:G,isSidebarExpanded:z,title:i,isMaximized:o,showSectionsButton:d,rightActions:l,icon:a}),e]})})})});return createPortal(Ge,h)}var De=memo(ut);var ct=styled(Box,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:t})=>({background:t?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:t?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer"})),xt=styled(Button)(({theme:e,disabled:t})=>({background:t?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"0px 8px",fontSize:"9px",fontWeight:600,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),ht=styled(Box)(({theme:e})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"8px",backgroundColor:e.palette.background.paper,padding:"6px",transform:"translateY(calc(-50% - 6px))",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px",height:"36px",transition:e.transitions.create(["width"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex})})),wt=styled(Box)(()=>({position:"fixed",height:35,bottom:0,left:0,right:0,padding:"6px 16px",zIndex:1,backgroundColor:"#eaeaea",backdropFilter:"blur(12px)",display:"flex",justifyContent:"flex-end",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"})),bt=styled(Button)(()=>({padding:"4px 8px",boxShadow:"0px 0px 4px 0px rgba(0, 0, 0, 0.08)",display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",color:"rgba(32, 35, 43, 0.80)",fontWeight:600,fontSize:"9px",textTransform:"none"}));var re=De;function gt({children:e,windowProps:t,...i}){return i.isOpen?jsx(te,{...i,children:jsx(re,{...t,children:e})}):null}var Me=gt;function Ht({title:e,maximized:t=false,id:i,isHovered:n=false,onMouseHover:r,onMouseLeave:d$1,leftActions:l,titleIconSrc:a,sx:s,...p}){return jsx(c,{className:"header-wrapper",id:i,maximized:t||false,sx:s,...p,children:jsx(d,{onMouseEnter:r,onMouseLeave:d$1,isMaximized:t,isHovered:n,title:e||"",icon:a,leftActions:l})})}var ae=memo(Ht);function Rt({isMaximized:e,id:t,isToolbarAnimationDisabled:i,title:n,leftActions:r,onClose:d,onMaximize:l,sx:a$1}){let{isHovered:s,onMouseEnter:p,onMouseLeave:u}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...i&&{duration:0}},children:jsx(ae,{title:n,maximized:e,id:t||"draggable-dialog-title",isHovered:s,onMouseHover:p,onMouseLeave:u,leftActions:r||jsxs(Fragment,{children:[jsx(a,{onClick:d}),jsx(c$1,{isMaximized:e,onClick:()=>l?.(!e)})]}),sx:a$1})})}var ke=memo(Rt);var St=ke;var qo=Me;export{Z as a,te as b,R as c,He as d,ve as e,ye as f,Re as g,oe as h,ie as i,ct as j,xt as k,ht as l,wt as m,bt as n,re as o,ae as p,St as q,qo as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-HDCNWBW5.js';import {aa,ba}from'./chunk-U5S2TDEO.js';import {zc,Bc,Cc}from'./chunk-ZHEAWCTY.js';import {Pc}from'./chunk-M5HS3EYQ.js';import Ae,{forwardRef,useId,useState,useCallback,useMemo}from'react';import ye from'@mui/material/Box';import ze from'@mui/material/InputLabel';import $e from'@mui/material/MenuItem';import Pe from'@mui/material/SvgIcon';import {jsx,jsxs}from'react/jsx-runtime';import Le from'@mui/material/IconButton';import we from'@mui/material/CircularProgress';import Re from'@mui/material/FormControl';import xe from'@mui/material/Select';import {styled}from'@mui/material/styles';var he=forwardRef((e,l)=>jsx(Pe,{ref:l,viewBox:"0 0 8 8",fontSize:"small",...e,children:jsx("path",{d:"M6.63965 0.102539C6.75727 0.0997602 6.87304 0.133137 6.97168 0.197266C7.07023 0.261345 7.14718 0.353407 7.19238 0.461914C7.23757 0.570522 7.24961 0.690513 7.22559 0.805664C7.20154 0.920834 7.1425 1.02595 7.05762 1.10742L7.05664 1.10938L4.56738 3.59766L4.49512 3.66992L7.05762 6.23242C7.11359 6.28617 7.15865 6.35066 7.18945 6.42188C7.22023 6.49308 7.23648 6.5699 7.2373 6.64746C7.23809 6.72499 7.22359 6.80223 7.19434 6.87402C7.16499 6.9459 7.1213 7.0115 7.06641 7.06641C7.01149 7.12132 6.94592 7.16498 6.87402 7.19434C6.8022 7.22362 6.72502 7.23809 6.64746 7.2373C6.56987 7.23649 6.4931 7.22024 6.42188 7.18945C6.35064 7.15865 6.28618 7.1136 6.23242 7.05762L6.23145 7.05664L3.74219 4.56836L3.66992 4.49512L3.59766 4.56836L1.1084 7.05664L1.10742 7.05762C1.05365 7.11362 0.989227 7.15864 0.917969 7.18945C0.846721 7.22025 0.769997 7.2365 0.692383 7.2373C0.614798 7.23809 0.537661 7.22364 0.46582 7.19434C0.393921 7.16498 0.328351 7.12132 0.273438 7.06641C0.218559 7.01151 0.174849 6.94589 0.145508 6.87402C0.116258 6.80223 0.101751 6.72498 0.102539 6.64746C0.103364 6.5699 0.119618 6.49308 0.150391 6.42188C0.181198 6.35065 0.226245 6.28617 0.282227 6.23242L2.84473 3.66992L2.77246 3.59766L0.283203 1.10938L0.282227 1.1084L0.224609 1.04297C0.172384 0.974382 0.136093 0.894624 0.118164 0.80957C0.0942576 0.695891 0.104774 0.577375 0.148438 0.469727C0.192107 0.362124 0.266971 0.269962 0.363281 0.205078C0.459591 0.140238 0.573348 0.105497 0.689453 0.105469C0.767281 0.105527 0.844313 0.121103 0.916016 0.151367C0.987801 0.181723 1.05308 0.226359 1.10742 0.282227L3.66992 2.84473L6.23242 0.282227C6.33914 0.171037 6.48558 0.106239 6.63965 0.102539Z",fill:"#20232B",stroke:"white",strokeWidth:.20511})}));he.displayName="DefaultClearIcon";var I=he;function se({size:e=20,color:l="grey.A400",...a}){return jsx(we,{size:e,sx:{backgroundColor:"transparent",color:l},...a})}function R({endAdornmentProp:e,isLoading:l,showClear:a$1,showMenuArrow:i,menuOpen:f,IconComponent:p,ClearIconComponent:b=I,onClear:d,onClearDefault:r}){return !(e||a$1||l||i)?null:jsxs(ye,{className:"SelectBase-endAdornmentRoot",component:"span",children:[e,l?jsx(se,{}):null,!l&&a$1?jsx(Le,{className:"SelectBase-clearIconButton",type:"button",tabIndex:0,size:"small","aria-label":"Clear selection",onMouseDown:n=>{n.preventDefault(),n.stopPropagation();},onClick:n=>{n.preventDefault(),n.stopPropagation(),d?d():r();},sx:n=>({p:"1px",flexShrink:0,cursor:"pointer",color:"inherit",backgroundColor:"transparent",...p?{mr:2}:{},"&:hover":{backgroundColor:n.palette.action.hover},"&:focus-visible":{outline:`2px solid ${n.palette.primary.main}`,outlineOffset:1}}),children:jsx(b,{sx:{fontSize:8,width:8,height:8}})}):null,!l&&i&&!p&&jsx(ye,{component:"span",className:`SelectBase-menuTriggerIcon${f?" SelectBase-menuTriggerIcon-open":""}`,"aria-hidden":true,children:jsx(a,{})})]})}function J(e,l){if(e==null)return false;if(Array.isArray(e))return e.length>0;if(typeof e=="object"){if(l){let i=l(e);return i!=null&&i!==""}let a=e.id;return a!=null&&a!==""}return String(e)!==""}var Q=styled(Re)(({theme:e})=>({minWidth:52,height:"40px !important",maxHeight:"40px !important",backgroundColor:"transparent",width:"100%",cursor:"pointer","& .MuiInputBase-root":{cursor:"pointer"},"& .MuiInputBase-root.Mui-disabled":{cursor:"default"},"& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)",color:`${e.palette.grey[700]} !important`,height:"100%",pointerEvents:"none"},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}}));styled(xe)(({theme:e})=>({fontSize:"11px",lineHeight:"11px",color:e.palette.common.black,borderRadius:"4px",boxShadow:e.shadows[17],border:"none",outline:"none","&:focus":{border:"1px solid #1F88D0"},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:"rgba(0, 0, 0, 0.23)"},"&.Mui-focused fieldset":{border:"2px solid red"}},minWidth:52,height:"40px !important",maxHeight:"40px !important",width:"100%","& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)"},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}}));var X=styled("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"})),Y=styled(xe,{shouldForwardProp:e=>!["feedbackType","hasFeedback"].includes(e)})(({theme:e,error:l,feedbackType:a,hasFeedback:i})=>{let{borderColor:f}=aa(e,a),p=i?"4px 4px 0 0":"4px";return {width:"100%",height:"40px !important",maxHeight:"40px !important",borderRadius:p,overflow:"hidden",backgroundColor:e.palette.grey[400],"&.Mui-disabled":{backgroundColor:e.palette.grey[400]},".MuiSelect-select":{padding:"0 8px !important",height:"40px !important",maxHeight:"40px !important",display:"flex",alignItems:"flex-end !important",backgroundColor:`${e.palette.grey[400]} !important`,borderRadius:p,fontSize:"11px",cursor:"pointer","&:focus":{backgroundColor:`${e.palette.grey[400]} !important`}},"&.Mui-disabled .MuiSelect-select":{cursor:"default"},".MuiSelect-filled":{padding:"0 8px !important"},"&.MuiInputBase-adornedEnd":{display:"inline-flex",alignItems:"center",backgroundColor:e.palette.grey[400],gap:0},"&&.MuiInputBase-adornedEnd .MuiInputBase-input":{flex:"1 1 0%",minWidth:0,width:"auto",maxWidth:"100%"},"& .SelectBase-endAdornmentRoot":{display:"flex",alignItems:"center",flexShrink:0,gap:"8px",position:"relative",zIndex:1},"& .SelectBase-menuTriggerIcon":{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"inherit",lineHeight:0,"& svg, & .MuiSvgIcon-root":{transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter})}},"& .SelectBase-menuTriggerIcon-open svg, & .SelectBase-menuTriggerIcon-open .MuiSvgIcon-root":{transform:"rotate(180deg)"},"&.Mui-disabled .MuiSelect-icon":{color:"rgba(0, 0, 0, 0.38)"},"&.Mui-disabled .SelectBase-menuTriggerIcon":{cursor:"default",color:"rgba(0, 0, 0, 0.38)","& svg path":{fill:"rgba(0, 0, 0, 0.38)",stroke:"rgba(0, 0, 0, 0.38)"}},...a&&{border:`1px solid ${f}`},...i&&{borderBottom:"none"},...l&&{border:`1px solid ${e.palette.error.main}`}}}),j=styled(ye)(()=>({display:"flex",alignItems:"stretch",height:"100%",flexDirection:"column",flex:1,cursor:"pointer","&:has(.MuiInputBase-root.Mui-disabled)":{cursor:"default"}}));function Oe(e,l){let{menuSearchable:a,menuSearchPlaceholder:i,...f}=e,{required:p,hasError:b,label:d,value:r,helperText:k,feedback:n,onChange:y,options:ee,isOptionEqualToValue:v,renderOption:g,getOptionValue:u,isLoading:P,children:te,getOptionLabel:H,IconComponent:D,showClearIcon:x=false,ClearIconComponent:W=I,onClear:z,endAdornment:$,inputProps:oe,open:w,onOpen:O,onClose:N,menuHasSelectedCheckMark:ne=false,...F}=f,re=zc(useId(),"select-base"),[le,ae]=useState(false),L=w??le,M=useCallback((t,q)=>{q?O?.(t):N?.(t),w===void 0&&ae(q);},[O,N,w]),ie=t=>{y?.(t);},de=()=>r==null?"":g?g(r):H?H(r):r?.label??"",U="";r!=null&&(U=(u?u(r):r?.id)??"");let E=!!(F.disabled||P),V=x&&J(r,u)&&!E,o=jsx(R,{endAdornmentProp:$,isLoading:!!P,showClear:V,showMenuArrow:!P,menuOpen:L,IconComponent:D,ClearIconComponent:W,onClear:z,onClearDefault:()=>y?.(null)}),{isProvided:s,isVisible:m,type:c}=Bc(n),S=t=>{t.button===0&&(t.target.closest('.MuiSelect-select[role="combobox"]')||t.target.closest(".SelectBase-clearIconButton")||E||(t.preventDefault(),t.stopPropagation(),M(t,!L)));},C=t=>{t.target.closest('.MuiSelect-select[role="combobox"]')||t.target.closest(".SelectBase-clearIconButton")||(t.preventDefault(),t.stopPropagation());},_=Cc("select-base-item");return jsxs(j,{onMouseDown:S,onClick:C,children:[jsxs(Q,{id:re,variant:"filled","data-testid":"SelectBase",required:p,children:[jsx(ze,{id:`select-label-${d.trim()}`,"data-testid":"SelectBase_InputLabel",children:d}),jsx(Y,{"data-testid":"SelectBase_Select",ref:l,value:U,error:b&&!m,feedbackType:c,hasFeedback:m,disableUnderline:true,required:p,labelId:`select-label-${d.trim()}`,id:`select-label-${d.trim()}`,renderValue:de,...F,open:L,onOpen:t=>M(t,true),onClose:t=>M(t,false),inputProps:oe,disabled:E,IconComponent:D??(()=>null),endAdornment:o,children:te||ee?.map((t,q)=>{let ue=v?v(t,r):t?.id===r?.id;return jsxs($e,{disabled:!!t.disabled,value:(u?u(t):t?.id)??"",onClick:()=>{ie(t);},sx:{fontSize:"12px",display:"flex",justifyContent:"space-between",alignItems:"center",gap:1,backgroundColor:me=>ue?me.palette.action.hover:me.palette.common.white},children:[jsx(ye,{component:"span",sx:{flex:1,minWidth:0},children:g?g(t):t.label}),ne&&ue?jsx(ye,{component:"img",src:Pc,alt:"",sx:{width:10,height:7.5,flexShrink:0}}):null]},_((u?u(t):t?.id)??t?.label,q))})})]}),s?jsx(ba,{...n}):jsx(X,{children:k})]})}var Ie=Ae.forwardRef(Oe);function Ze({required:e,hasError:l,label:a,value:i,helperText:f,feedback:p,onChange:b,options:d,isOptionEqualToValue:r,renderOption:k,getOptionValue:n,isLoading:y,children:ee,getOptionLabel:v,IconComponent:g,showClearIcon:u=false,ClearIconComponent:P=I,onClear:te,endAdornment:H,inputProps:D,open:x,onOpen:W,onClose:z,...$},oe){let[w,O]=useState(false),N=zc(useId(),"select-base-multiple"),ne=x??w,F=useCallback((o,s)=>{s?W?.(o):z?.(o),x===void 0&&O(s);},[W,z,x]),re=o=>{b?.(o);},le=()=>{let o=i?.filter(s=>s!=null)??[];return n?o.map(n):o.map(s=>s?.id)},ae=useMemo(()=>d?.filter(o=>i?.some(s=>{if(s==null)return false;if(r)return r(o,s);if(n){let S=n(o),C=n(s);return S===C||String(S)===String(C)}let m=o?.id,c=s?.id;return m===c||String(m)===String(c)})),[d,i,r,n]),L=()=>ae?.map(o=>v?v(o):o.label)?.join(", "),M=!!($.disabled||y),ie=u&&J(i,n)&&!M,U=jsx(R,{endAdornmentProp:H,isLoading:!!y,showClear:ie,showMenuArrow:!y,menuOpen:ne,IconComponent:g,ClearIconComponent:P,onClear:te,onClearDefault:()=>b?.([])}),{isProvided:E,isVisible:V,type:pe}=Bc(p);return jsxs(j,{children:[jsxs(Q,{id:N,variant:"filled","data-testid":"SelectBase",required:e,children:[jsx(ze,{id:`select-label-${a.trim()}`,"data-testid":"SelectBase_InputLabel",children:a}),jsx(Y,{multiple:true,"data-testid":"SelectBase_Select",ref:oe,value:le()??"",error:l&&!V,feedbackType:pe,hasFeedback:V,disableUnderline:true,required:e,labelId:`select-label-${a.trim()}`,id:`select-label-${a.trim()}`,renderValue:L,...$,open:x,onOpen:o=>F(o,true),onClose:o=>F(o,false),inputProps:D,disabled:M,IconComponent:g??(()=>null),endAdornment:U,onChange:o=>{let m=o.target.value?.map(c=>d?.find(S=>{if(n){let _=n(S);return _===c||String(_)===String(c)}let C=S?.id;return C===c||String(C)===String(c)}));b?.(m?.filter(c=>c!=null)??[]);},children:ee||d?.map((o,s)=>{let m=r?r(o,i):o?.id===i?.id;return jsx($e,{value:(n?n(o):o?.id)??"",onClick:()=>{re(o);},sx:{fontSize:"12px",backgroundColor:c=>m?c.palette.action.hover:c.palette.common.white},children:k?k(o):o.label},`select-base-multiple-item-${s}`)})})]}),E?jsx(ba,{...p}):jsx(X,{children:f})]})}var ke=Ae.forwardRef(Ze);var Je=Ie;export{I as a,X as b,j as c,ke as d,Je as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {b}from'./chunk-TATV6PD5.js';import {V as V$1,f,l,R,v}from'./chunk-U5S2TDEO.js';import {o}from'./chunk-P3UNUMRE.js';import {wb}from'./chunk-M5HS3EYQ.js';import {createContext,forwardRef,useMemo,useState,useRef,useCallback,useEffect,useImperativeHandle,useContext}from'react';import Re from'@mui/material/Stack';import ne from'@mui/material/Typography';import ie from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import {Stack}from'@mui/material';import it from'lodash/debounce';import j from'memoize-one';var Ue=(r=>(r.CHECKED="CHECKED",r.UNCHECKED="UNCHECKED",r.INDETERMINATE="INDETERMINATE",r))(Ue||{});styled("img",{shouldForwardProp:e=>e!=="expanded"})(({theme:e,expanded:t})=>({transform:t?"rotate(180deg)":"rotate(0deg)",marginLeft:"auto",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})}));styled(ie)(()=>({display:"flex",justifyContent:"center",alignItems:"center",paddingBlock:"4px",borderTop:"1px solid #F2F2F2"}));var F=styled(V$1)({minWidth:120,minHeight:36,maxHeight:36,paddingTop:0,paddingBottom:0,backgroundColor:"#fff","--menuitem-border-rad":"4px","&:hover":{boxShadow:"0px 0px 16px rgba(0, 0, 0, 0.13)",zIndex:1}}),V=styled(e=>jsx(F,{startAdornment:null,...e}))(({theme:e})=>({fontSize:11,fontWeight:500,color:e.palette.grey[700],minHeight:36,maxHeight:"auto",cursor:"auto",":hover":{boxShadow:"none",zIndex:1}}));var _=createContext({treeMapper:{},handleSelect:()=>{},multiple:false}),Ve=({children:e,treeMapper:t,handleSelect:o,multiple:r,IconComponent:n})=>{let i=useMemo(()=>({treeMapper:t,handleSelect:o,multiple:r,IconComponent:n}),[t,o,r,n]);return jsx(_.Provider,{value:i,children:e})},re=Ve;var Ge=()=>{let e=useContext(_);if(!e)throw new Error("'useTreeDropdown' must be used within an 'TreeDropdownProvider'");return e},B=Ge;var ae=styled(f)({padding:0,paddingRight:"4px",width:"14px !important",".MuiSvgIcon-root":{width:"12px !important",height:"12px !important"}}),se=styled(l)({padding:0}),le=styled(ie)(()=>({display:"flex",gap:"8px",justifyContent:"space-between",flexGrow:1,width:"100%",alignItems:"center",minWidth:0})),pe=styled(e=>jsx(ne,{noWrap:true,component:"span",...e}))(({theme:e})=>({flex:1,fontSize:"inherit",width:"100%",display:"inline-block",color:e.palette.text.primary})),de=styled(e=>jsx(ne,{noWrap:true,...e}))(({theme:e})=>({color:alpha(e.palette.text.primary,.5),fontSize:8})),ce=styled(ie,{shouldForwardProp:e=>e!=="isOneDigit"})(({theme:e,isOneDigit:t=true})=>({borderRadius:t?"50%":"4px",background:e.palette.divider,width:t?13:"auto",height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px",...!t&&{padding:"0 3px"}})),ue=styled("img")(()=>({height:12}));var Je=e=>{let{checked:t,indeterminate:o,onSelect:r}=e,{multiple:n}=B(),i=useCallback(a=>{a.stopPropagation(),r(a);},[r]);return n?jsx(ae,{size:"small",checked:t,indeterminate:o,onChange:i}):jsx(se,{checked:t,onChange:i})},he=Je;var Ze=e=>{let{renderItem:t,header:o,footer:r,...n}=e,{treeMapper:i,handleSelect:a,multiple:c,IconComponent:p}=B(),{label:s,icon:d,iconComponent:l,levelIndex:h=0,children:f,nestedMenuSx:I,hintText:y,disableHovering:m,itemProps:T,searchProps:u,subLevelKey:E}=n,[x,N]=useState(null),w=!!f,H=f?.length,L=useCallback(R=>{m||N(R.currentTarget);},[m]),S=useCallback(()=>{m||N(null);},[m]);useEffect(()=>{m&&N(null);},[m]);let M=useMemo(()=>l||(d&&p?jsx(p,{fileId:d.fileId,width:d.width??20,height:d.height??20}):null),[l,d,p]),g=i[n.id]?.status==="CHECKED",k=c?i[n.id]?.status==="INDETERMINATE":false,O=c||!w,v=useCallback(R=>{R.stopPropagation(),a(R.target.checked,n);},[a,n]);return jsxs(F,{startAdornment:null,onMouseEnter:L,onMouseLeave:S,"data-testid":n.id,onClick:()=>{a(!g,n);},...T,children:[t?t({nodeProps:n,checked:g,indeterminate:k,onSelect:v}):jsxs(le,{width:"100%","data-testid":"Content",children:[O&&jsx(he,{checked:g,indeterminate:k,onSelect:v}),M,jsxs(Stack,{flex:1,width:"100%",minWidth:0,children:[jsx(pe,{title:typeof s=="string"?s:void 0,children:s}),y&&jsx(de,{title:typeof y=="string"?y:void 0,children:y})]}),jsxs(Stack,{direction:"row",alignItems:"center",spacing:.5,children:[H&&jsx(ce,{isOneDigit:Math.floor(H/10)===0,children:H}),w&&jsx(ue,{src:wb,alt:"Expand"})]})]}),!!f&&jsx(U,{anchorEl:x,menuItems:f,levelIndex:h+1,sx:I,header:o,levelKey:E,footer:r,searchProps:u})]})},ge=Ze;var xe=ge;var Ce=styled(R)({maxHeight:"100%"}),ye=styled("div")({position:"relative","&:before, &:after":{display:"none"},"&.scrollable":{position:"relative","&::before, &::after":{display:"block",content:'""',position:"absolute",left:0,width:"100%",height:"20px",opacity:1,pointerEvents:"none",zIndex:2,transition:"opacity 0.3s ease-out"},"&::before":{top:0,background:"linear-gradient(to top, transparent, rgba(255, 255, 255, 1))"},"&::after":{bottom:0,background:"linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1))"}},"&.scrolled-to-top":{"&::before":{opacity:0}},"&.scrolled-to-bottom":{"&::after":{opacity:0}}}),be=styled("ul")({listStyle:"none",padding:0,margin:0,maxHeight:300,overflow:"auto"});var rt=({children:e,onScroll:t})=>{let o$1=useRef(null),{scrolledToBottom:r,scrolledToTop:n,scrollable:i,handleScroll:a}=o({containerRef:o$1}),c=useMemo(()=>[r&&"scrolled-to-bottom",n&&"scrolled-to-top",i&&"scrollable"].filter(Boolean).join(" "),[r,n,i]),p=useCallback(s=>{t(s),a(s);},[t,a]);return jsx(ye,{sx:{position:"relative"},className:c,children:jsx(be,{ref:o$1,onScroll:p,children:e})})},Ne=rt;var at=e=>{let{initialValue:t="",getValues:o,filterItem:r,onChange:n,items:i,enabled:a=false,debounceMs:c=300}=e,[p,s]=useState(t),[d,l]=useState(t),h=useMemo(()=>it(m=>{l(m);},c),[c]);useEffect(()=>(h(p),()=>h.cancel()),[h,p]);let f=useCallback(m=>{let T=m.target.value;s(T),h(T),n?.(m);},[n,h]),I=useCallback(()=>{s(""),l(""),h.cancel(),n?.({target:{value:""}});},[n,h]),y=useMemo(()=>{if(!a||!d.trim())return i;let m=d.toLowerCase();return r?i.reduce((T,u)=>{let E=r(u,m);return E&&T.push(E),T},[]):o?i.filter(T=>o(T).some(u=>u.toLowerCase().includes(m))):(console.error("`searchProps.getValues` is required for searching, provide it on the tree node level or the global search props"),i)},[i,d,o,r,a]);return {searchText:p,filteredItems:y,handleSearch:f,handleReset:I}},ve=at;var ft=e=>{let{anchorEl:t,sx:o,levelIndex:r=0,placement:n,menuItems:i,header:a,footer:c,levelKey:p,searchProps:s}=e,[d,l]=useState(false),h=!!t,f=!!s,{searchText:I,filteredItems:y,handleSearch:m,handleReset:T}=ve({...s,enabled:f,items:i}),u=useRef(),E=useCallback(()=>{l(true),clearTimeout(u.current),u.current=setTimeout(()=>{l(false);},100);},[]);return useEffect(()=>()=>clearTimeout(u.current),[]),jsx(Ce,{open:h,anchorEl:t,placement:r>0?"right-start":n,"data-level":r,"data-level-key":p,onClick:x=>x.stopPropagation(),sx:{...o,"&.MuiPopper-dropdown":{"&:after":{display:"none"}}},children:jsxs(Re,{divider:jsx(v,{flexItem:true}),children:[a&&jsx(V,{children:a}),f&&jsxs(Re,{divider:jsx(v,{flexItem:true,sx:{my:1}}),children:[jsx(ie,{sx:{p:1},children:jsx(b,{id:`tree-search-input-${r}`,...s?.inputProps,placeholder:s?.inputProps?.placeholder??"Search...",onChange:m,value:I,inputProps:{autoComplete:"off"},onClear:T})}),y.length===0&&s?.noResultsText&&jsx(ne,{component:"div",fontSize:10,color:x=>alpha(x.palette.text.primary,.4),textAlign:"center",minHeight:36,fontWeight:500,display:"flex",alignItems:"center",justifyContent:"center",children:jsx("span",{children:"No results found"})})]}),jsx(Ne,{onScroll:E,children:y.map((x,N)=>jsx(xe,{disableHovering:d,...x,levelIndex:r,subLevelKey:x.levelKey,nestedMenuSx:o},`${r}-${x.id}-${N}`))}),c&&jsx(V,{children:c})]})})},U=ft;function ht(e){function t(o){let r=o.children?o.children.map(t):void 0;if(r?.length===1&&r[0].children?.length&&!r[0].disablePromotion){let n=r[0];r=n.children,o={...o,header:n.header??o.header,footer:n.footer??o.footer,searchProps:n.searchProps??o.searchProps};}return {...o,children:r}}return e.map(t)}function we(e,t,o=[]){for(let r of e)r.status==="CHECKED"&&o.push(r.id),r.children&&we(r.children,t,o);return o}function He(e,t=[],o={},r=false){for(let n of e){let i=r?"CHECKED":n.status??"UNCHECKED";o[n.id]={status:i,...t.length?{_parents:t}:{}},n.children&&He(n.children,[...t,n.id],o,i==="CHECKED");}return o}function Le(e,t){let o=He(e),r=we(e,t),n=o;for(let i of r)n=q(n,i,true);return n}function ke(e,t){return e.map(o=>({...o,status:t[o.id]?.status??"UNCHECKED",children:o.children?ke(o.children,t):void 0}))}function Tt(e){let t={};for(let o of Object.keys(e)){let r=e[o]._parents;if(!r?.length)continue;let n=r[r.length-1];t[n]??(t[n]=[]),t[n].push(o);}return t}function q(e,t,o){let r=structuredClone(e),n=Tt(e),i=o?"CHECKED":"UNCHECKED";function a(p){r[p].status=i;for(let s of n[p]??[])a(s);}function c(p){let s=r[p]._parents;if(!s?.length)return;let d=s[s.length-1],h=(n[d]??[]).map(f=>r[f].status);h.every(f=>f==="CHECKED")?r[d].status="CHECKED":h.every(f=>f==="UNCHECKED")?r[d].status="UNCHECKED":r[d].status="INDETERMINATE",c(d);}return a(t),c(t),r}function gt(e){function t(o){let r=o.children?.map(t).filter(Boolean);return o.status==="CHECKED"||o.status==="INDETERMINATE"||r&&r.length>0?{...o,children:r}:null}return e.map(t).filter(Boolean)}function De(e){let t={};for(let o in e)t[o]={status:"UNCHECKED",...e[o]._parents?{_parents:e[o]._parents}:{}};return t}function Ke(e,t,o,r){if(r)return q(e,t,o);if(!o)return De(e);let n=De(e);return q(n,t,true)}function xt(e,t){let o=[];function r(n){n.levelKey===t&&o.push(n),n.children?.forEach(i=>r(i));}return e.forEach(r),o}var C={denormalizeTree:j((e,t)=>ke(e,t)),extractSelectedBranches:j(e=>gt(e)),filterNodesByLevelKey:j((e,t)=>xt(e,t))};function J(e){let t=ht(e.children??[]);if(t.length===1&&t[0].children?.length&&!t[0].disablePromotion){let[o]=t;return J({levelKey:o.levelKey,children:o.children,header:o.header??e.header,footer:o.footer??e.footer,searchProps:o.searchProps??e.searchProps})}return {...e,children:t}}var It=forwardRef((e,t)=>{let{anchorEl:o,placement:r="bottom-start",treeDefinition:n,sx:i,onChange:a,multiple:c=true,exposeOnlySelectedTree:p=false,IconComponent:s,onMounted:d}=e,{children:l=[]}=n,h=useMemo(()=>J(n),[n]),{header:f,footer:I,children:y=[],searchProps:m,levelKey:T}=h,[u,E]=useState({}),x=useRef(d);x.current=d;let N=useCallback(()=>C.denormalizeTree(l,u),[l,u]),w=useCallback(()=>C.extractSelectedBranches(N()),[N]),H=useCallback((S,M)=>{let g=Ke(u,M.id,S,c);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[a,l,u,c,p]),L=useCallback(S=>{let g=((k,O)=>{let v={...k};return Object.keys(v).forEach(R=>{v[R]={...v[R],status:O?"CHECKED":"UNCHECKED"};}),v})(u,S);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[u,a,l,p]);return useEffect(()=>{let S=Le(l||[],c);E(S);let M=C.denormalizeTree(l,S),g=C.extractSelectedBranches(M);x.current?.({state:S,tree:M,selectedTree:g});},[l,c]),useImperativeHandle(t,()=>({treeMapper:u,getFullTree:N,getSelectedTree:w,toggleAll:L}),[u,N,w,L]),jsx(re,{treeMapper:u,IconComponent:s,handleSelect:H,multiple:c,children:jsx(U,{anchorEl:o,sx:i,header:f,footer:I,menuItems:y,levelKey:T,searchProps:m,placement:r})})}),ze=It;var Xo=ze;export{Ue as a,C as b,Xo as c};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {h,g,a,f,e,d,c}from'./chunk-
|
|
1
|
+
import {h,g,a,f,e,d,c}from'./chunk-CWNJS74Z.js';import {z}from'./chunk-U5S2TDEO.js';import {zc,Ka,g as g$1}from'./chunk-ZHEAWCTY.js';import {yl,ja,Ta,Ng,il,Ya,Sa,Wg,Vg,Xg,Ug,Zg,zb,yb,zk,hk,gb,uk,B,w,A,D,Sh,gk,u,Ak}from'./chunk-M5HS3EYQ.js';import {memo,useId,useState,useRef,useEffect,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function L({isActive:p,disableHover:n}){let[c,C]=useState(false),s=useTheme(),e=()=>{n||C(true);},i=()=>{C(false);},h=p?s.palette.common.white:s.palette.grey[700],u=c?s.palette.common.black:"transparent";return jsx("svg",{width:"27",height:"30",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 140343",children:[jsx("path",{id:"Active",d:"M0 0H11C19.8366 0 27 7.16344 27 16C27 24.8366 19.8366 32 11 32H0V0Z",fill:u,fillOpacity:"0.1",onMouseEnter:e,onMouseLeave:i}),jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.6941 15.0078C15.6494 15.0193 15.6083 15.043 15.5758 15.0769L12.5026 18.1501L12.5025 18.1501L15.5756 15.0769C15.6082 15.043 15.6493 15.0193 15.6941 15.0078ZM12.5619 18.7465C12.5426 18.7512 12.5227 18.7536 12.5026 18.7536C12.4363 18.7536 12.3727 18.7273 12.3258 18.6804L9.07581 15.4304C9.04012 15.3957 9.01559 15.3512 9.00535 15.3025C8.99511 15.2538 8.99963 15.2032 9.01833 15.1571C9.03703 15.111 9.06907 15.0715 9.11033 15.0437C9.13446 15.0275 9.16112 15.0156 9.18904 15.0086C9.16105 15.0156 9.13433 15.0275 9.11013 15.0438C9.06887 15.0716 9.03684 15.111 9.01814 15.1571C8.99944 15.2032 8.99492 15.2539 9.00516 15.3026C9.0154 15.3513 9.03993 15.3958 9.07562 15.4305L12.3256 18.6805C12.3725 18.7273 12.4361 18.7537 12.5024 18.7537C12.5226 18.7537 12.5426 18.7512 12.5619 18.7465ZM16.1965 15.342C16.1781 15.4301 16.1338 15.5105 16.0693 15.5731L12.8205 18.8219C12.7361 18.9063 12.6217 18.9537 12.5024 18.9537C12.3831 18.9537 12.2686 18.9062 12.1842 18.8219L8.93507 15.5728C8.87148 15.5105 8.82775 15.4308 8.80944 15.3437C8.79101 15.2561 8.79914 15.165 8.8328 15.082C8.86646 14.999 8.92412 14.9279 8.99839 14.8779C9.07266 14.8279 9.16022 14.8011 9.24978 14.8011C9.30998 14.8011 9.36958 14.8132 9.42503 14.8366C9.47997 14.8599 9.52973 14.8938 9.57144 14.9364L12.5024 17.8673L15.433 14.9368C15.5151 14.852 15.6273 14.803 15.7454 14.8002C15.836 14.798 15.9252 14.8233 16.0013 14.8728C16.0773 14.9222 16.1367 14.9935 16.1715 15.0772C16.2063 15.1609 16.2151 15.2533 16.1965 15.342Z",fill:h})]})})}var vt={inProgress:Ak,initiated:Ak,abandoned:u,cancelled:gk,reversed:Sh,reports:D,search:A,chevronDown:w,unAuthorized:B,unSettled:uk,unCaptured:gb,captured:hk,authorized:zk,openFlag:yb,closedFlag:zb,unauthenticated:Zg,authenticated:Ug,paidOut:Xg,scheduled:Vg,checked:Wg,dashedChecked:Sa,deactivated:Ya,destination:il,destinationReversed:Ng,outstanding:Ta,active:ja,inactive:yl};var Nt=memo(p=>{let{variant:n="inActive",badgeCount:c$1,icon:C,label:s,dropdownOptions:e$1,selectedStatus:i,onButtonBodyClick:h$1,iconMapper:u=vt,buttonSx:Bt,...bt}=p,St=zc(useId(),"status-button"),[Lt,M]=useState(0),{t:y}=useTranslation(),E=useRef(null),[x,f$1]=useState(null),[o,H]=useState(i??e$1?.[0]?.status);useEffect(()=>{i!==void 0&&H(i);},[i]);let d$1=useMemo(()=>!!e$1?.length,[e$1]),I=!!x&&Lt>1,l=n==="active",P=useMemo(()=>l?"active":"inactive",[l]),m=useMemo(()=>o?e$1?.find(t=>t.status===o):null,[o,e$1]),kt=useMemo(()=>{if(m?.icon)return jsx(h,{variant:n,children:m.icon});let t=o&&u[o]?o:C;if(t&&u[t])return jsx(g,{icon:t,variant:n,src:u[t],alt:`${t}-icon`})},[m,o,u,C,n]),wt=useMemo(()=>!c$1||Number.isNaN(Ka(c$1))?null:jsx(z,{color:P,children:g$1(Number(c$1))}),[c$1,P]),T=useMemo(()=>d$1?jsx(L,{isActive:l}):null,[d$1,l]);useEffect(()=>{l||(M(0),f$1(null));},[l]);let g$2=useCallback(()=>{f$1(null);},[]),A=useCallback(()=>{d$1&&f$1(I?null:E.current);},[d$1,I]),Mt=useCallback(t=>{t.stopPropagation(),p?.onClick?.(t),h$1?.(o||e$1?.[0]?.status||"all"),A(),M(B=>B+1);},[p,h$1,o,e$1,A]),D=useCallback(t=>B=>{t?.onClick?.(B),H(t.status),g$2();},[g$2]),yt=useMemo(()=>e$1?.map(t=>({...t,onClick:D(t)}))||[],[e$1,D]),Et=a[n],xt=useMemo(()=>m?.label||(o?y(o):s),[m,o,y,s]);return jsxs(Fragment,{children:[jsx(Et,{id:St,"data-testid":"StatusButton",...bt,ref:E,onClick:Mt,statusVariant:n,sx:{...d$1&&{paddingInlineEnd:"27px"},...Bt},children:jsxs(f,{children:[jsxs(e,{variant:n,children:[kt,xt,wt]}),T&&jsx(d,{children:T})]})}),I&&d$1&&jsx(c,{open:I,onClose:g$2,anchorEl:x,menuItems:yt})]})}),gt=Nt;var oo=gt;
|
|
2
2
|
export{L as a,oo as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-LNXP6W5X.js';import'../../_chunks/chunk-CWNJS74Z.js';import'../../_chunks/chunk-EOPHF3KG.js';import'../../_chunks/chunk-U5S2TDEO.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -9,6 +9,6 @@ interface AmountInputI extends BoxProps {
|
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
selectedCurrency: Currency;
|
|
11
11
|
}
|
|
12
|
-
declare function AmountInput({ amount, setAmount, maxAmount, isError, selectedCurrency, ...props }: AmountInputI): import("react").JSX.Element;
|
|
12
|
+
declare function AmountInput({ amount, setAmount, maxAmount, isError, selectedCurrency, id, ...props }: AmountInputI): import("react").JSX.Element;
|
|
13
13
|
declare const _default: import("react").MemoExoticComponent<typeof AmountInput>;
|
|
14
14
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{mc as default}from'../../_chunks/chunk-
|
|
1
|
+
export{mc as default}from'../../_chunks/chunk-DN2ZZCDD.js';import'../../_chunks/chunk-ZQ52HZBG.js';import'../../_chunks/chunk-VRGWLZGG.js';import'../../_chunks/chunk-3TO7YUM5.js';import'../../_chunks/chunk-2KZCGQ2J.js';import'../../_chunks/chunk-CB7QJIZT.js';import'../../_chunks/chunk-7PRJUDGP.js';import'../../_chunks/chunk-TCP65H54.js';import'../../_chunks/chunk-O7MIU67I.js';import'../../_chunks/chunk-MXC3TARS.js';import'../../_chunks/chunk-ZZJGMJCQ.js';import'../../_chunks/chunk-TZJUIC5Q.js';import'../../_chunks/chunk-ERL2AD3X.js';import'../../_chunks/chunk-4WHJ7C3Y.js';import'../../_chunks/chunk-XKJHIGUB.js';import'../../_chunks/chunk-TATV6PD5.js';import'../../_chunks/chunk-VS4GPQTT.js';import'../../_chunks/chunk-I4NOKNW7.js';import'../../_chunks/chunk-UQVXIIIV.js';import'../../_chunks/chunk-5CQG3WDG.js';import'../../_chunks/chunk-UL4GWIQX.js';import'../../_chunks/chunk-LEGFRHUY.js';import'../../_chunks/chunk-LMQIQCKU.js';import'../../_chunks/chunk-CBQF2JOF.js';import'../../_chunks/chunk-W6OPWYPX.js';import'../../_chunks/chunk-GKSTVWG7.js';import'../../_chunks/chunk-37V3DO6N.js';import'../../_chunks/chunk-JDD6SWME.js';import'../../_chunks/chunk-57COBHS2.js';import'../../_chunks/chunk-MVPNFQCV.js';import'../../_chunks/chunk-SLOXJ5HL.js';import'../../_chunks/chunk-DILHFFYM.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-PDRNFDWB.js';import'../../_chunks/chunk-CJBK6DV4.js';import'../../_chunks/chunk-VKHUWB7W.js';import'../../_chunks/chunk-OQM5HYDJ.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-ZIL2SD2V.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-RLUMXH63.js';import'../../_chunks/chunk-YOFP6Q2H.js';import'../../_chunks/chunk-5B5BHQMS.js';import'../../_chunks/chunk-VR7ZRZKQ.js';import'../../_chunks/chunk-WNMD6CG3.js';import'../../_chunks/chunk-RRNCLEPN.js';import'../../_chunks/chunk-4B2QTPTE.js';import'../../_chunks/chunk-KGJKMOL6.js';import'../../_chunks/chunk-CC3OHCAU.js';import'../../_chunks/chunk-TBK5B4PF.js';import'../../_chunks/chunk-2C5LPDZP.js';import'../../_chunks/chunk-N7IZEJPM.js';import'../../_chunks/chunk-VSI64YFN.js';import'../../_chunks/chunk-2K7FRRCP.js';import'../../_chunks/chunk-RQRTDUVJ.js';import'../../_chunks/chunk-RJGHAJAS.js';import'../../_chunks/chunk-OQXHFUUW.js';import'../../_chunks/chunk-PYBAY4RD.js';import'../../_chunks/chunk-XWCBQTXR.js';import'../../_chunks/chunk-MW3S7RYL.js';import'../../_chunks/chunk-BFNXERA5.js';import'../../_chunks/chunk-I4MFMAUT.js';import'../../_chunks/chunk-67EIV5FM.js';import'../../_chunks/chunk-3FL6JKDE.js';import'../../_chunks/chunk-TRCRPJLO.js';import'../../_chunks/chunk-LNXP6W5X.js';import'../../_chunks/chunk-CWNJS74Z.js';import'../../_chunks/chunk-EOPHF3KG.js';import'../../_chunks/chunk-LGIGA7B2.js';import'../../_chunks/chunk-TYUXEDNW.js';import'../../_chunks/chunk-YXAJ6BSN.js';import'../../_chunks/chunk-6QA5UWFS.js';import'../../_chunks/chunk-QOP4FI7N.js';import'../../_chunks/chunk-V4IMVJZP.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-3XNXNKGA.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-5K5Q4DZF.js';import'../../_chunks/chunk-NLUIDNSG.js';import'../../_chunks/chunk-U5S2TDEO.js';import'../../_chunks/chunk-P3UNUMRE.js';import'../../_chunks/chunk-3ZQC3MDU.js';import'../../_chunks/chunk-K3VCY2Z7.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
4
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
-
export declare const InputStyled: import("@emotion/styled").StyledComponent<Omit<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}>, "ref"> & import("react").RefAttributes<HTMLInputElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
+
export declare const InputStyled: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").InputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
7
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{lc as default}from'../../_chunks/chunk-
|
|
1
|
+
export{lc as default}from'../../_chunks/chunk-DN2ZZCDD.js';import'../../_chunks/chunk-ZQ52HZBG.js';import'../../_chunks/chunk-VRGWLZGG.js';import'../../_chunks/chunk-3TO7YUM5.js';import'../../_chunks/chunk-2KZCGQ2J.js';import'../../_chunks/chunk-CB7QJIZT.js';import'../../_chunks/chunk-7PRJUDGP.js';import'../../_chunks/chunk-TCP65H54.js';import'../../_chunks/chunk-O7MIU67I.js';import'../../_chunks/chunk-MXC3TARS.js';import'../../_chunks/chunk-ZZJGMJCQ.js';import'../../_chunks/chunk-TZJUIC5Q.js';import'../../_chunks/chunk-ERL2AD3X.js';import'../../_chunks/chunk-4WHJ7C3Y.js';import'../../_chunks/chunk-XKJHIGUB.js';import'../../_chunks/chunk-TATV6PD5.js';import'../../_chunks/chunk-VS4GPQTT.js';import'../../_chunks/chunk-I4NOKNW7.js';import'../../_chunks/chunk-UQVXIIIV.js';import'../../_chunks/chunk-5CQG3WDG.js';import'../../_chunks/chunk-UL4GWIQX.js';import'../../_chunks/chunk-LEGFRHUY.js';import'../../_chunks/chunk-LMQIQCKU.js';import'../../_chunks/chunk-CBQF2JOF.js';import'../../_chunks/chunk-W6OPWYPX.js';import'../../_chunks/chunk-GKSTVWG7.js';import'../../_chunks/chunk-37V3DO6N.js';import'../../_chunks/chunk-JDD6SWME.js';import'../../_chunks/chunk-57COBHS2.js';import'../../_chunks/chunk-MVPNFQCV.js';import'../../_chunks/chunk-SLOXJ5HL.js';import'../../_chunks/chunk-DILHFFYM.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-PDRNFDWB.js';import'../../_chunks/chunk-CJBK6DV4.js';import'../../_chunks/chunk-VKHUWB7W.js';import'../../_chunks/chunk-OQM5HYDJ.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-ZIL2SD2V.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-RLUMXH63.js';import'../../_chunks/chunk-YOFP6Q2H.js';import'../../_chunks/chunk-5B5BHQMS.js';import'../../_chunks/chunk-VR7ZRZKQ.js';import'../../_chunks/chunk-WNMD6CG3.js';import'../../_chunks/chunk-RRNCLEPN.js';import'../../_chunks/chunk-4B2QTPTE.js';import'../../_chunks/chunk-KGJKMOL6.js';import'../../_chunks/chunk-CC3OHCAU.js';import'../../_chunks/chunk-TBK5B4PF.js';import'../../_chunks/chunk-2C5LPDZP.js';import'../../_chunks/chunk-N7IZEJPM.js';import'../../_chunks/chunk-VSI64YFN.js';import'../../_chunks/chunk-2K7FRRCP.js';import'../../_chunks/chunk-RQRTDUVJ.js';import'../../_chunks/chunk-RJGHAJAS.js';import'../../_chunks/chunk-OQXHFUUW.js';import'../../_chunks/chunk-PYBAY4RD.js';import'../../_chunks/chunk-XWCBQTXR.js';import'../../_chunks/chunk-MW3S7RYL.js';import'../../_chunks/chunk-BFNXERA5.js';import'../../_chunks/chunk-I4MFMAUT.js';import'../../_chunks/chunk-67EIV5FM.js';import'../../_chunks/chunk-3FL6JKDE.js';import'../../_chunks/chunk-TRCRPJLO.js';import'../../_chunks/chunk-LNXP6W5X.js';import'../../_chunks/chunk-CWNJS74Z.js';import'../../_chunks/chunk-EOPHF3KG.js';import'../../_chunks/chunk-LGIGA7B2.js';import'../../_chunks/chunk-TYUXEDNW.js';import'../../_chunks/chunk-YXAJ6BSN.js';import'../../_chunks/chunk-6QA5UWFS.js';import'../../_chunks/chunk-QOP4FI7N.js';import'../../_chunks/chunk-V4IMVJZP.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-3XNXNKGA.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-5K5Q4DZF.js';import'../../_chunks/chunk-NLUIDNSG.js';import'../../_chunks/chunk-U5S2TDEO.js';import'../../_chunks/chunk-P3UNUMRE.js';import'../../_chunks/chunk-3ZQC3MDU.js';import'../../_chunks/chunk-K3VCY2Z7.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{nc as default}from'../../_chunks/chunk-
|
|
1
|
+
export{nc as default}from'../../_chunks/chunk-DN2ZZCDD.js';import'../../_chunks/chunk-ZQ52HZBG.js';import'../../_chunks/chunk-VRGWLZGG.js';import'../../_chunks/chunk-3TO7YUM5.js';import'../../_chunks/chunk-2KZCGQ2J.js';import'../../_chunks/chunk-CB7QJIZT.js';import'../../_chunks/chunk-7PRJUDGP.js';import'../../_chunks/chunk-TCP65H54.js';import'../../_chunks/chunk-O7MIU67I.js';import'../../_chunks/chunk-MXC3TARS.js';import'../../_chunks/chunk-ZZJGMJCQ.js';import'../../_chunks/chunk-TZJUIC5Q.js';import'../../_chunks/chunk-ERL2AD3X.js';import'../../_chunks/chunk-4WHJ7C3Y.js';import'../../_chunks/chunk-XKJHIGUB.js';import'../../_chunks/chunk-TATV6PD5.js';import'../../_chunks/chunk-VS4GPQTT.js';import'../../_chunks/chunk-I4NOKNW7.js';import'../../_chunks/chunk-UQVXIIIV.js';import'../../_chunks/chunk-5CQG3WDG.js';import'../../_chunks/chunk-UL4GWIQX.js';import'../../_chunks/chunk-LEGFRHUY.js';import'../../_chunks/chunk-LMQIQCKU.js';import'../../_chunks/chunk-CBQF2JOF.js';import'../../_chunks/chunk-W6OPWYPX.js';import'../../_chunks/chunk-GKSTVWG7.js';import'../../_chunks/chunk-37V3DO6N.js';import'../../_chunks/chunk-JDD6SWME.js';import'../../_chunks/chunk-57COBHS2.js';import'../../_chunks/chunk-MVPNFQCV.js';import'../../_chunks/chunk-SLOXJ5HL.js';import'../../_chunks/chunk-DILHFFYM.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-PDRNFDWB.js';import'../../_chunks/chunk-CJBK6DV4.js';import'../../_chunks/chunk-VKHUWB7W.js';import'../../_chunks/chunk-OQM5HYDJ.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-ZIL2SD2V.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-RLUMXH63.js';import'../../_chunks/chunk-YOFP6Q2H.js';import'../../_chunks/chunk-5B5BHQMS.js';import'../../_chunks/chunk-VR7ZRZKQ.js';import'../../_chunks/chunk-WNMD6CG3.js';import'../../_chunks/chunk-RRNCLEPN.js';import'../../_chunks/chunk-4B2QTPTE.js';import'../../_chunks/chunk-KGJKMOL6.js';import'../../_chunks/chunk-CC3OHCAU.js';import'../../_chunks/chunk-TBK5B4PF.js';import'../../_chunks/chunk-2C5LPDZP.js';import'../../_chunks/chunk-N7IZEJPM.js';import'../../_chunks/chunk-VSI64YFN.js';import'../../_chunks/chunk-2K7FRRCP.js';import'../../_chunks/chunk-RQRTDUVJ.js';import'../../_chunks/chunk-RJGHAJAS.js';import'../../_chunks/chunk-OQXHFUUW.js';import'../../_chunks/chunk-PYBAY4RD.js';import'../../_chunks/chunk-XWCBQTXR.js';import'../../_chunks/chunk-MW3S7RYL.js';import'../../_chunks/chunk-BFNXERA5.js';import'../../_chunks/chunk-I4MFMAUT.js';import'../../_chunks/chunk-67EIV5FM.js';import'../../_chunks/chunk-3FL6JKDE.js';import'../../_chunks/chunk-TRCRPJLO.js';import'../../_chunks/chunk-LNXP6W5X.js';import'../../_chunks/chunk-CWNJS74Z.js';import'../../_chunks/chunk-EOPHF3KG.js';import'../../_chunks/chunk-LGIGA7B2.js';import'../../_chunks/chunk-TYUXEDNW.js';import'../../_chunks/chunk-YXAJ6BSN.js';import'../../_chunks/chunk-6QA5UWFS.js';import'../../_chunks/chunk-QOP4FI7N.js';import'../../_chunks/chunk-V4IMVJZP.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-3XNXNKGA.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-5K5Q4DZF.js';import'../../_chunks/chunk-NLUIDNSG.js';import'../../_chunks/chunk-U5S2TDEO.js';import'../../_chunks/chunk-P3UNUMRE.js';import'../../_chunks/chunk-3ZQC3MDU.js';import'../../_chunks/chunk-K3VCY2Z7.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{i as AccountHeaderTitle,o as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,q as AppWindowHeader,p as AppWindowHeaderBase,h as FOOTER_HEIGHT,d as LEFT_SIDEBAR,e as RIGHT_SIDEBAR,m as StyledFooter,n as StyledHideButton,j as StyledMenuLink,k as StyledSubmitButton,l as SubmitButtonWrapper,g as VIEWER_HEIGHT,f as VIEWER_WIDTH,c as animationDuration,r as default}from'../../_chunks/chunk-
|
|
1
|
+
export{i as AccountHeaderTitle,o as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,q as AppWindowHeader,p as AppWindowHeaderBase,h as FOOTER_HEIGHT,d as LEFT_SIDEBAR,e as RIGHT_SIDEBAR,m as StyledFooter,n as StyledHideButton,j as StyledMenuLink,k as StyledSubmitButton,l as SubmitButtonWrapper,g as VIEWER_HEIGHT,f as VIEWER_WIDTH,c as animationDuration,r as default}from'../../_chunks/chunk-YXAJ6BSN.js';import'../../_chunks/chunk-6QA5UWFS.js';import'../../_chunks/chunk-QOP4FI7N.js';import'../../_chunks/chunk-V4IMVJZP.js';import'../../_chunks/chunk-U5S2TDEO.js';import'../../_chunks/chunk-P3UNUMRE.js';import'../../_chunks/chunk-ZHEAWCTY.js';import'../../_chunks/chunk-M5HS3EYQ.js';import'../../_chunks/chunk-ZDBICST5.js';
|