@tap-payments/os-micro-frontend-shared 0.3.235 → 0.3.237-test.2
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-3T7G4PAY.js +1 -0
- package/build/_chunks/{chunk-BHWA2DLO.js → chunk-52SSIU72.js} +1 -1
- package/build/_chunks/{chunk-BL4G7JLV.js → chunk-5H7MD7LO.js} +1 -1
- package/build/_chunks/{chunk-HTGQGXGP.js → chunk-5WL77ZBM.js} +2 -2
- package/build/_chunks/{chunk-6FIFHADT.js → chunk-6ASQZ2RI.js} +1 -1
- package/build/_chunks/{chunk-IK7SEBKG.js → chunk-6E2SGPTJ.js} +1 -1
- package/build/_chunks/{chunk-GWRYOFFH.js → chunk-6FTMXMBZ.js} +1 -1
- package/build/_chunks/{chunk-5SFRPT5L.js → chunk-6JLKJPL3.js} +1 -1
- package/build/_chunks/{chunk-RSMUKCU7.js → chunk-6RTZSBSD.js} +1 -1
- package/build/_chunks/{chunk-KNZ7WDVM.js → chunk-6USHHZAA.js} +1 -1
- package/build/_chunks/{chunk-BKNQSCBV.js → chunk-7DMSRKG7.js} +1 -1
- package/build/_chunks/{chunk-XAEPLBLE.js → chunk-7FWE55BT.js} +1 -1
- package/build/_chunks/{chunk-AIZCIUGN.js → chunk-7PLZT2KW.js} +1 -1
- package/build/_chunks/{chunk-OOCQKRLE.js → chunk-7R6GKSYQ.js} +1 -1
- package/build/_chunks/{chunk-UQAAPVOP.js → chunk-7THWDMHL.js} +1 -1
- package/build/_chunks/{chunk-MS6Y34N5.js → chunk-7VEC4DRF.js} +1 -1
- package/build/_chunks/chunk-AVTZV3J7.js +1 -0
- package/build/_chunks/{chunk-2G7ZSBO4.js → chunk-B5TZKBR5.js} +1 -1
- package/build/_chunks/{chunk-5V5JLLTM.js → chunk-BA5OFEBT.js} +1 -1
- package/build/_chunks/{chunk-L6COP35A.js → chunk-BMSJV3FH.js} +1 -1
- package/build/_chunks/{chunk-OTVBJARD.js → chunk-BQWD3KO4.js} +1 -1
- package/build/_chunks/{chunk-3EFRQRQL.js → chunk-BUPWQI3W.js} +2 -2
- package/build/_chunks/{chunk-GXDZKA56.js → chunk-CWNHOUN5.js} +1 -1
- package/build/_chunks/{chunk-CXEGE4O2.js → chunk-D23EYDCG.js} +1 -1
- package/build/_chunks/{chunk-ASVSVGU7.js → chunk-ECBP7JZ6.js} +1 -1
- package/build/_chunks/{chunk-B4MLPOHF.js → chunk-EGFHFXWK.js} +1 -1
- package/build/_chunks/{chunk-AL2ZSXZ6.js → chunk-EGR5Q5OK.js} +1 -1
- package/build/_chunks/{chunk-K7QBMMBJ.js → chunk-EJ2GRPAY.js} +1 -1
- package/build/_chunks/{chunk-Z5G7GROD.js → chunk-FWPVRT34.js} +1 -1
- package/build/_chunks/{chunk-Y6XCG6I3.js → chunk-G3QKYZM2.js} +1 -1
- package/build/_chunks/{chunk-QY7A3NAZ.js → chunk-GEJI7SEX.js} +1 -1
- package/build/_chunks/{chunk-J3IQ3LK6.js → chunk-GLTYG62E.js} +1 -1
- package/build/_chunks/{chunk-SVB4LDND.js → chunk-GP7PBSOF.js} +1 -1
- package/build/_chunks/{chunk-TKK3WRVP.js → chunk-GRKRA3TP.js} +1 -1
- package/build/_chunks/chunk-GUXJEFPL.js +2 -0
- package/build/_chunks/{chunk-RT5VIOLH.js → chunk-HWDODLOQ.js} +2 -2
- package/build/_chunks/{chunk-HX4ZQZMG.js → chunk-I6RRJ7ME.js} +1 -1
- package/build/_chunks/{chunk-BPNPETQW.js → chunk-I7KBFAH7.js} +1 -1
- package/build/_chunks/chunk-J7R6JFXM.js +1 -0
- package/build/_chunks/{chunk-JO5SBXD2.js → chunk-JCFOE4DQ.js} +1 -1
- package/build/_chunks/{chunk-ZBOMFKID.js → chunk-JG5OM35T.js} +1 -1
- package/build/_chunks/{chunk-P32P6WI6.js → chunk-JGQ3OM4B.js} +1 -1
- package/build/_chunks/{chunk-66CFHR7D.js → chunk-JI5U3KGK.js} +1 -1
- package/build/_chunks/{chunk-KFPNUXMC.js → chunk-KVC3QSDQ.js} +1 -1
- package/build/_chunks/chunk-L7L22FDR.js +1 -0
- package/build/_chunks/chunk-LFBTKZ3V.js +1 -0
- package/build/_chunks/chunk-LOFKIY7J.js +1 -0
- package/build/_chunks/{chunk-4IDLOUJ7.js → chunk-LXD5Y42H.js} +1 -1
- package/build/_chunks/{chunk-7YAANFKA.js → chunk-MFZ3F3JQ.js} +1 -1
- package/build/_chunks/{chunk-X6ONAMFY.js → chunk-NPCTL2R7.js} +1 -1
- package/build/_chunks/{chunk-ZN6XHB3Y.js → chunk-NZLNQKU2.js} +1 -1
- package/build/_chunks/{chunk-M5YZJU34.js → chunk-OBK62FOF.js} +1 -1
- package/build/_chunks/{chunk-V6UM44EE.js → chunk-OMISGJLX.js} +1 -1
- package/build/_chunks/{chunk-NLBIEL5G.js → chunk-QDW7GZN6.js} +1 -1
- package/build/_chunks/{chunk-5KGTZKEN.js → chunk-QHK62NO3.js} +1 -1
- package/build/_chunks/{chunk-YM6QK2DF.js → chunk-QLF4C46U.js} +1 -1
- package/build/_chunks/{chunk-HQZAZXS5.js → chunk-QLXQSDL7.js} +1 -1
- package/build/_chunks/{chunk-UWMNSF7E.js → chunk-QWWU4QAA.js} +1 -1
- package/build/_chunks/{chunk-PT6E5ELZ.js → chunk-R272ON3P.js} +1 -1
- package/build/_chunks/chunk-R6Y42OPH.js +1 -0
- package/build/_chunks/{chunk-CFSDYUG2.js → chunk-S4ZHXBPB.js} +1 -1
- package/build/_chunks/{chunk-DOBRREPI.js → chunk-SR3UFTU3.js} +1 -1
- package/build/_chunks/{chunk-7X7LW27Y.js → chunk-SYEHTDS6.js} +1 -1
- package/build/_chunks/{chunk-3JH2VK4V.js → chunk-TDFNWFK7.js} +1 -1
- package/build/_chunks/chunk-U2PXB4YH.js +1 -0
- package/build/_chunks/{chunk-YRTPK5WI.js → chunk-UCEEVW7S.js} +1 -1
- package/build/_chunks/{chunk-IIJQTMKH.js → chunk-V4YG7AP4.js} +1 -1
- package/build/_chunks/{chunk-IWULB6PE.js → chunk-VV5IC3DP.js} +1 -1
- package/build/_chunks/{chunk-XY72MNWO.js → chunk-WVCNMQRG.js} +1 -1
- package/build/_chunks/{chunk-JW2LQWTK.js → chunk-WZQR2LCT.js} +1 -1
- package/build/_chunks/{chunk-BFJBUXOL.js → chunk-X5HJKL6O.js} +1 -1
- package/build/_chunks/chunk-XIJANCZT.js +2 -0
- package/build/_chunks/{chunk-I3QG6QAH.js → chunk-YNOCNDOA.js} +1 -1
- package/build/_chunks/{chunk-QCKVQDTV.js → chunk-ZEQDF7FG.js} +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/index.js +1 -1
- 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/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/AvatarStack/index.js +1 -1
- package/build/components/Calender/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/CountryFlag/index.js +1 -1
- package/build/components/CurrenciesMenu/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyAmountInput/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/FileDropbox/FileDropbox.d.ts +4 -0
- package/build/components/FileDropbox/constants.d.ts +13 -0
- package/build/components/FileDropbox/index.d.ts +3 -0
- package/build/components/FileDropbox/index.js +1 -0
- package/build/components/FileDropbox/style.d.ts +19 -0
- package/build/components/FileDropbox/type.d.ts +65 -0
- package/build/components/FilePreview/FilePreview.d.ts +3 -3
- package/build/components/FilePreview/constants.d.ts +10 -0
- package/build/components/FilePreview/index.d.ts +3 -3
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FilePreview/style.d.ts +8 -21
- package/build/components/FilePreview/type.d.ts +19 -6
- package/build/components/FileUploader/FileUploader.d.ts +3 -3
- package/build/components/FileUploader/constants.d.ts +11 -0
- package/build/components/FileUploader/index.d.ts +3 -3
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FileUploader/style.d.ts +7 -22
- package/build/components/FileUploader/type.d.ts +31 -10
- package/build/components/FileUploader/utils.d.ts +2 -0
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/FormSelect/index.js +1 -1
- package/build/components/GroupedSelect/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.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/Logo/Logo.d.ts +4 -0
- package/build/components/Logo/constants.d.ts +7 -0
- package/build/components/Logo/index.d.ts +3 -0
- package/build/components/Logo/index.js +1 -0
- package/build/components/Logo/style.d.ts +4 -0
- package/build/components/Logo/type.d.ts +26 -0
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/MultiSelect/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NestedMultiSelect/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RHFGroupedSelect/index.js +1 -1
- package/build/components/RHFInput/index.js +1 -1
- package/build/components/RHFPhoneInput/index.js +1 -1
- package/build/components/RHFSwitch/index.js +1 -1
- 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/ReferenceTypeFilter/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/Sidebar/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/index.js +1 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/index.d.ts +4 -8
- package/build/components/index.js +1 -1
- package/build/components/primitives/Backdrop/style.d.ts +1 -0
- package/build/components/primitives/Backdrop/type.d.ts +15 -1
- package/build/components/primitives/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/file.d.ts +2 -0
- package/build/utils/index.js +1 -1
- package/package.json +2 -2
- package/build/_chunks/chunk-24GWCDZ5.js +0 -1
- package/build/_chunks/chunk-3VDOQJJJ.js +0 -1
- package/build/_chunks/chunk-IW2UIFYO.js +0 -1
- package/build/_chunks/chunk-JECOERWM.js +0 -1
- package/build/_chunks/chunk-JLL3T5G6.js +0 -1
- package/build/_chunks/chunk-KBD5ZHSX.js +0 -1
- package/build/_chunks/chunk-MZMXF4IE.js +0 -1
- package/build/_chunks/chunk-NWLLDTBY.js +0 -1
- package/build/_chunks/chunk-PF7WICFS.js +0 -2
- package/build/_chunks/chunk-SAYH35C3.js +0 -1
- package/build/_chunks/chunk-YFFUFJLA.js +0 -2
- package/build/components/BrandLogo/BrandLogo.d.ts +0 -13
- package/build/components/BrandLogo/Loading.d.ts +0 -7
- package/build/components/BrandLogo/index.d.ts +0 -1
- package/build/components/BrandLogo/index.js +0 -1
- package/build/components/CustomBackdrop/CustomBackdrop.d.ts +0 -5
- package/build/components/CustomBackdrop/index.d.ts +0 -2
- package/build/components/CustomBackdrop/index.js +0 -1
- package/build/components/CustomBackdrop/style.d.ts +0 -4
- package/build/components/FileInputPreview/FileInputPreview.d.ts +0 -5
- package/build/components/FileInputPreview/index.d.ts +0 -1
- package/build/components/FileInputPreview/index.js +0 -1
- package/build/components/FileInputPreview/style.d.ts +0 -9
- package/build/components/FileInputPreview/type.d.ts +0 -21
- package/build/components/FileInputPreview/utils.d.ts +0 -3
- package/build/components/FileUpload/FileUpload.d.ts +0 -4
- package/build/components/FileUpload/FileUploadBase.d.ts +0 -4
- package/build/components/FileUpload/index.d.ts +0 -3
- package/build/components/FileUpload/index.js +0 -1
- package/build/components/FileUpload/style.d.ts +0 -39
- package/build/components/FileUpload/type.d.ts +0 -24
- package/build/components/MerchantLogo/MerchantLogo.d.ts +0 -11
- package/build/components/MerchantLogo/index.d.ts +0 -1
- package/build/components/MerchantLogo/index.js +0 -1
- package/build/components/MerchantLogo/style.d.ts +0 -5
- package/build/components/OpenFileInNewTab/OpenFileInNewTab.d.ts +0 -8
- package/build/components/OpenFileInNewTab/index.d.ts +0 -1
- package/build/components/OpenFileInNewTab/index.js +0 -1
- package/build/components/OpenFileInNewTab/style.d.ts +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {j,b,d as d$1,n}from'./chunk-YFFUFJLA.js';import {Wb,zc}from'./chunk-MZMXF4IE.js';import {Bj,Cj,Ij,Oe as Oe$1}from'./chunk-GCJPCGH3.js';import {forwardRef,useState,useImperativeHandle,useEffect,useMemo,memo,useId}from'react';import {Button}from'@mui/material';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {useDropzone}from'react-dropzone';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var G=styled(p)(()=>({textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"32px"})),u=styled(p)(()=>({paddingInline:"40px"})),d=styled(j,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.v2.palette.base.black,fontSize:"18px",fontWeight:600,lineHeight:"20px",marginBottom:"8px"})),J=styled(p)(({theme:e})=>({color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"20px",padding:"4px 12px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,cursor:"pointer"})),g=styled(j)(({theme:e})=>({color:alpha(e.v2.palette.base.black,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),F=styled(p,{shouldForwardProp:e=>e!=="width"})(({theme:e,width:i})=>({width:i||431,minHeight:176,border:`1px dashed ${e.palette.secondary.light}`,borderRadius:"8px",padding:"24px 0",display:"flex",alignItems:"center",justifyContent:"center"})),h=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"24px",color:e.palette.text.primary,fontSize:"14px",lineHeight:"20px",cursor:"default"})),K=styled("span")(()=>({fontWeight:600,textDecorationLine:"underline",cursor:"pointer"})),w=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:e.palette.text.primary})),z=styled(p)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),O=styled(Button)(({theme:e,disabled:i})=>({borderRadius:"4px",minWidth:"105px",background:i?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"4px 8px",fontSize:"9px",fontWeight:600,height:"32px",display:"flex",alignItems:"center",justifyContent:"center",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),Q=styled(p)(()=>({display:"flex",gap:"8px",justifyContent:"center",alignItems:"center",padding:"6px",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px"}));var Y=forwardRef(({accept:e,footer:i,options:x,isCreateLoading:U,progress:oe,error:R,errorHint:te,subtitleComponent:S,isSuccess:P,onConfirm:re,isSendDisabled:ie,errorActionComponent:le,title:l,width:b$1,successFooter:pe,progressVariant:ae},ne)=>{let{t:a}=useTranslation(),[n$1,H]=useState([]),{getRootProps:de,getInputProps:se,open:f,acceptedFiles:v,isDragReject:j,fileRejections:s}=useDropzone(x);useImperativeHandle(ne,()=>({open:f}),[f]),useEffect(()=>{H(v);},[v]);let B=Wb(x?.maxSize||0,0).toUpperCase(),c=useMemo(()=>{let ce=s.length&&s[0].errors.some(k=>k.code==="file-invalid-type"),me=s.length&&s[0].errors.some(k=>k.code==="file-too-large");return j||ce?a("invalidFileType"):me?`File is larger than ${B}`:R},[j,R,s,B,a]),C=useMemo(()=>n$1.length?jsxs(w,{sx:{fontWeight:600},children:[jsx(p,{children:n$1[0].name}),jsx(z,{children:Wb(n$1[0].size)})]}):null,[n$1]);return P&&n$1.length&&!U?jsxs(Fragment,{children:[jsxs(u,{children:[typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:"File uploaded"}),S]}),jsx(F,{width:b$1,children:jsxs(h,{children:[P&&jsx(p,{component:"img",src:Bj,width:56,height:56}),C]})}),pe??jsxs(Q,{children:[jsx(b,{variant:"secondary",size:"md",icon:jsx(d$1,{src:Cj,alt:"delete"}),onClick:()=>{H([]);},"aria-label":"delete"}),jsx(O,{disabled:ie,onClick:()=>{re?.(n$1);},children:"Bulk Send"})]})]}):U&&n$1.length?jsxs(Fragment,{children:[jsxs(u,{children:[l&&typeof l!="string"?l:jsxs(Fragment,{children:[jsx(d,{children:l??a("uploading")}),jsx(g,{children:a("wait")})]}),S]}),jsx(F,{width:b$1,children:jsxs(h,{children:[U&&jsx(n,{size:56,value:oe,variant:ae??"determinate"}),C]})}),i]}):jsxs(Fragment,{children:[jsxs(u,{children:[c?jsx(d,{isError:true,children:c}):typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:a("uploadBulkFile")}),S||!!c&&jsx(g,{children:"Supported formats: xls, xlxs"})]}),jsxs(F,{width:b$1,...de(),children:[jsx("input",{...se()}),jsxs(h,{"data-slot":"content",children:[jsx(p,{component:"img",src:c?Ij:Oe$1,width:56,height:56}),te,C,c?jsx(Fragment,{children:le||jsx(J,{onClick:f,children:a("uploadAgain")})}):jsxs(w,{children:[jsxs(p,{children:[jsx(K,{onClick:f,children:"Click to upload"})," or drag and drop"]}),jsxs(z,{children:["Maximum file size ",B]}),e&&jsx(g,{children:a("supportedFormats",{accept:e})})]})]})]}),i]})});Y.displayName="FileUploadBase";var Z=memo(Y);var L=forwardRef((e,i)=>{let x=zc(useId(),"file-upload");return jsx(G,{id:x,"data-testid":"FileUpload","data-slot":"file-upload-wrapper",children:jsx(Z,{...e,ref:i})})});L.displayName="FileUpload";var ee=memo(L);var Oe=ee;export{Oe as a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {lc,zc,bb,_b,kc,Ac,xa as xa$1}from'./chunk-MZMXF4IE.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 gs 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},y)=>{let f=i!=null;return jsxs(zo,{ref:y,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 ys="os-shared-Switch",Se={root:`${ys}-root`};var _o=styled(gs)(({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 yt=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 gt=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(gt,{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 yn(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:yn(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[y,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":y?"copied":"copy","data-testid":"ChipCopyButton",$copied:y,onClick:x,children:[jsx(lo,{$visible:!y,children:jsx(lr,{})}),jsx(lo,{$visible:y,children:jsx(pr,{})})]}):null,[m,y,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 yr=memo(ur);var co="os-shared-Slider",L={root:`${co}-root`,thumb:`${co}-thumb`,thumbIcon:`${co}-thumbIcon`};var gr=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(gr,{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((y,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",g={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(.${g.sizeSm})`]:{height:T.sm},[`&:where(.${g.sizeMd})`]:{height:T.md},[`&:where(.${g.hasTrailingIcon})`]:{paddingRight:e.v2.spacing(28)},[`&:where(.${g.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(.${g.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(.${g.disableFocusRing})), &:where(.Mui-focused):where(:not(.${g.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(.${g.sizeSm})`]:{height:T.sm},[`&:where(.${g.sizeMd})`]:{height:T.md},[`&:where(.${g.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:y,type:f,id:m="Input",className:h,sx:x,value:N,defaultValue:z,onChange:R,endAdornment:w,onKeyDown:ge,onWheel:xe,...qe},D)=>{let $=!!e,Je=f==="number",ae=$&&d&&!a,wo=c&&!d&&!a,ko=ae||wo,he=t==="sm"?g.sizeSm:g.sizeMd,Ka=useCallback(C=>{typeof D=="function"?D(C):D&&(D.current=C);},[D]),Ua=useMemo(()=>lc(g.root,o&&"Mui-error",r&&"Mui-warning",a&&"Mui-disabled",$&&g.hasLabel,he,u&&g.disableFocusRing,y&&inputClasses.focused,h),[o,r,a,$,he,u,y,h]),Ya=useMemo(()=>lc(g.input,$&&g.hasLabel,he,n&&g.hideArrows,ko&&g.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(),ge?.(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:y||void 0,children:[$&&jsx(wr,{className:g.label,htmlFor:m??void 0,required:p,shrink:y||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:ge,onWheel:Je?Xa:xe,...qe}),ae&&jsx(kr,{className:g.loadingIcon,id:m?`${m}-loading-icon`:void 0,size:14.7,thickness:5}),wo&&jsx(Ir,{className:g.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},y)=>{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:y,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,...y},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:ge,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},"label-start-adornment"),jsx(jr,{component:"span",className:B.labelContent,...n.labelContent,sx:n.labelContent?.sx,children:r},"label-content"),i!=null&&jsx(pt,{component:"span",className:B.labelEndAdornment,...n.labelEndAdornment,sx:kc({flexShrink:0,marginLeft:"auto"},n.labelEndAdornment?.sx),children:i},"label-end-adornment")]});return jsxs(Hr,{ref:f,"data-testid":"Accordion",disabled:p,expanded:N,onChange:z,className:lc(B.root,c,ge),sx:kc(u??{},xe),...qe,...y,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 ga=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}}),yo=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(yo,{className:j.indicator,"aria-hidden":true,children:e});let r=il(t,o),a=ll[r];return jsx(yo,{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(ga,{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,...y}=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),...y,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 yl="os-shared-LazyImage",Ue={root:`${yl}-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:y,...f}=t??{},m=Ge(e)||!!s||y!=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",...y}}: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),y=useRef(e),f=useRef(null);y.current=e;let m=useCallback(()=>{t&&!r&&y.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,yr as H,L as I,Cr as J,g 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,yt 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};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BoxProps } from '@mui/material/Box';
|
|
3
|
-
export interface BrandLogoProps extends BoxProps {
|
|
4
|
-
data?: Blob;
|
|
5
|
-
width?: number | string;
|
|
6
|
-
height?: number | string;
|
|
7
|
-
isError?: boolean;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
fallbackIconUrl?: string;
|
|
10
|
-
}
|
|
11
|
-
declare function BrandLogo({ data, isError, isLoading, width, height, fallbackIconUrl, ...props }: Readonly<BrandLogoProps>): import("react").JSX.Element;
|
|
12
|
-
declare const _default: import("react").MemoExoticComponent<typeof BrandLogo>;
|
|
13
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BrandLogo, type BrandLogoProps } from './BrandLogo';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{zc as BrandLogo}from'../../_chunks/chunk-PF7WICFS.js';import'../../_chunks/chunk-JLL3T5G6.js';import'../../_chunks/chunk-IWULB6PE.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-QCKVQDTV.js';import'../../_chunks/chunk-GXDZKA56.js';import'../../_chunks/chunk-NLBIEL5G.js';import'../../_chunks/chunk-ASVSVGU7.js';import'../../_chunks/chunk-IW2UIFYO.js';import'../../_chunks/chunk-YM6QK2DF.js';import'../../_chunks/chunk-3JH2VK4V.js';import'../../_chunks/chunk-BPNPETQW.js';import'../../_chunks/chunk-IK7SEBKG.js';import'../../_chunks/chunk-BL4G7JLV.js';import'../../_chunks/chunk-CXEGE4O2.js';import'../../_chunks/chunk-5KGTZKEN.js';import'../../_chunks/chunk-6FIFHADT.js';import'../../_chunks/chunk-XY72MNWO.js';import'../../_chunks/chunk-PT6E5ELZ.js';import'../../_chunks/chunk-P32P6WI6.js';import'../../_chunks/chunk-NWLLDTBY.js';import'../../_chunks/chunk-OTVBJARD.js';import'../../_chunks/chunk-AL2ZSXZ6.js';import'../../_chunks/chunk-L6COP35A.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-V6UM44EE.js';import'../../_chunks/chunk-J3IQ3LK6.js';import'../../_chunks/chunk-X6ONAMFY.js';import'../../_chunks/chunk-GWRYOFFH.js';import'../../_chunks/chunk-3VDOQJJJ.js';import'../../_chunks/chunk-BFJBUXOL.js';import'../../_chunks/chunk-MS6Y34N5.js';import'../../_chunks/chunk-JO5SBXD2.js';import'../../_chunks/chunk-B4MLPOHF.js';import'../../_chunks/chunk-QY7A3NAZ.js';import'../../_chunks/chunk-4IDLOUJ7.js';import'../../_chunks/chunk-JW2LQWTK.js';import'../../_chunks/chunk-XAEPLBLE.js';import'../../_chunks/chunk-RT5VIOLH.js';import'../../_chunks/chunk-2G7ZSBO4.js';import'../../_chunks/chunk-HQZAZXS5.js';import'../../_chunks/chunk-OOCQKRLE.js';import'../../_chunks/chunk-3EFRQRQL.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-K7QBMMBJ.js';import'../../_chunks/chunk-AIZCIUGN.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-66CFHR7D.js';import'../../_chunks/chunk-BKNQSCBV.js';import'../../_chunks/chunk-JECOERWM.js';import'../../_chunks/chunk-SAYH35C3.js';import'../../_chunks/chunk-24GWCDZ5.js';import'../../_chunks/chunk-SVB4LDND.js';import'../../_chunks/chunk-M5YZJU34.js';import'../../_chunks/chunk-DOBRREPI.js';import'../../_chunks/chunk-7X7LW27Y.js';import'../../_chunks/chunk-BHWA2DLO.js';import'../../_chunks/chunk-I3QG6QAH.js';import'../../_chunks/chunk-5SFRPT5L.js';import'../../_chunks/chunk-Y6XCG6I3.js';import'../../_chunks/chunk-HX4ZQZMG.js';import'../../_chunks/chunk-CFSDYUG2.js';import'../../_chunks/chunk-YRTPK5WI.js';import'../../_chunks/chunk-ZBOMFKID.js';import'../../_chunks/chunk-7YAANFKA.js';import'../../_chunks/chunk-KNZ7WDVM.js';import'../../_chunks/chunk-RSMUKCU7.js';import'../../_chunks/chunk-UQAAPVOP.js';import'../../_chunks/chunk-IIJQTMKH.js';import'../../_chunks/chunk-TKK3WRVP.js';import'../../_chunks/chunk-ZN6XHB3Y.js';import'../../_chunks/chunk-5V5JLLTM.js';import'../../_chunks/chunk-CTGKNHG3.js';import'../../_chunks/chunk-YFFUFJLA.js';import'../../_chunks/chunk-KFPNUXMC.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-HTGQGXGP.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-UWMNSF7E.js';import'../../_chunks/chunk-Z5G7GROD.js';import'../../_chunks/chunk-KBD5ZHSX.js';import'../../_chunks/chunk-MZMXF4IE.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-KBD5ZHSX.js';import'../../_chunks/chunk-MZMXF4IE.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const CustomBackdropStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FileInputPreviewProps } from './type';
|
|
3
|
-
declare function FileInputPreview({ options, error, files, label, disabled, hideUpload, preventDuplicates, onChangeFiles, onRemoveFile, renderBrandLogo, renderOpenFileInNewTab, }: Readonly<FileInputPreviewProps>): import("react").JSX.Element;
|
|
4
|
-
declare const _default: import("react").MemoExoticComponent<typeof FileInputPreview>;
|
|
5
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as FileInputPreview } from './FileInputPreview';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{Rc as FileInputPreview}from'../../_chunks/chunk-PF7WICFS.js';import'../../_chunks/chunk-JLL3T5G6.js';import'../../_chunks/chunk-IWULB6PE.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-QCKVQDTV.js';import'../../_chunks/chunk-GXDZKA56.js';import'../../_chunks/chunk-NLBIEL5G.js';import'../../_chunks/chunk-ASVSVGU7.js';import'../../_chunks/chunk-IW2UIFYO.js';import'../../_chunks/chunk-YM6QK2DF.js';import'../../_chunks/chunk-3JH2VK4V.js';import'../../_chunks/chunk-BPNPETQW.js';import'../../_chunks/chunk-IK7SEBKG.js';import'../../_chunks/chunk-BL4G7JLV.js';import'../../_chunks/chunk-CXEGE4O2.js';import'../../_chunks/chunk-5KGTZKEN.js';import'../../_chunks/chunk-6FIFHADT.js';import'../../_chunks/chunk-XY72MNWO.js';import'../../_chunks/chunk-PT6E5ELZ.js';import'../../_chunks/chunk-P32P6WI6.js';import'../../_chunks/chunk-NWLLDTBY.js';import'../../_chunks/chunk-OTVBJARD.js';import'../../_chunks/chunk-AL2ZSXZ6.js';import'../../_chunks/chunk-L6COP35A.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-V6UM44EE.js';import'../../_chunks/chunk-J3IQ3LK6.js';import'../../_chunks/chunk-X6ONAMFY.js';import'../../_chunks/chunk-GWRYOFFH.js';import'../../_chunks/chunk-3VDOQJJJ.js';import'../../_chunks/chunk-BFJBUXOL.js';import'../../_chunks/chunk-MS6Y34N5.js';import'../../_chunks/chunk-JO5SBXD2.js';import'../../_chunks/chunk-B4MLPOHF.js';import'../../_chunks/chunk-QY7A3NAZ.js';import'../../_chunks/chunk-4IDLOUJ7.js';import'../../_chunks/chunk-JW2LQWTK.js';import'../../_chunks/chunk-XAEPLBLE.js';import'../../_chunks/chunk-RT5VIOLH.js';import'../../_chunks/chunk-2G7ZSBO4.js';import'../../_chunks/chunk-HQZAZXS5.js';import'../../_chunks/chunk-OOCQKRLE.js';import'../../_chunks/chunk-3EFRQRQL.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-K7QBMMBJ.js';import'../../_chunks/chunk-AIZCIUGN.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-66CFHR7D.js';import'../../_chunks/chunk-BKNQSCBV.js';import'../../_chunks/chunk-JECOERWM.js';import'../../_chunks/chunk-SAYH35C3.js';import'../../_chunks/chunk-24GWCDZ5.js';import'../../_chunks/chunk-SVB4LDND.js';import'../../_chunks/chunk-M5YZJU34.js';import'../../_chunks/chunk-DOBRREPI.js';import'../../_chunks/chunk-7X7LW27Y.js';import'../../_chunks/chunk-BHWA2DLO.js';import'../../_chunks/chunk-I3QG6QAH.js';import'../../_chunks/chunk-5SFRPT5L.js';import'../../_chunks/chunk-Y6XCG6I3.js';import'../../_chunks/chunk-HX4ZQZMG.js';import'../../_chunks/chunk-CFSDYUG2.js';import'../../_chunks/chunk-YRTPK5WI.js';import'../../_chunks/chunk-ZBOMFKID.js';import'../../_chunks/chunk-7YAANFKA.js';import'../../_chunks/chunk-KNZ7WDVM.js';import'../../_chunks/chunk-RSMUKCU7.js';import'../../_chunks/chunk-UQAAPVOP.js';import'../../_chunks/chunk-IIJQTMKH.js';import'../../_chunks/chunk-TKK3WRVP.js';import'../../_chunks/chunk-ZN6XHB3Y.js';import'../../_chunks/chunk-5V5JLLTM.js';import'../../_chunks/chunk-CTGKNHG3.js';import'../../_chunks/chunk-YFFUFJLA.js';import'../../_chunks/chunk-KFPNUXMC.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-HTGQGXGP.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-UWMNSF7E.js';import'../../_chunks/chunk-Z5G7GROD.js';import'../../_chunks/chunk-KBD5ZHSX.js';import'../../_chunks/chunk-MZMXF4IE.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
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
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
}, {}, {}>;
|
|
7
|
-
export declare const Title: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
8
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
9
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DropzoneProps } from 'react-dropzone';
|
|
3
|
-
import { FileType } from '../../types/index.js';
|
|
4
|
-
import { SxProps } from '@mui/material/styles';
|
|
5
|
-
export interface FileInputPreviewProps {
|
|
6
|
-
accept?: string;
|
|
7
|
-
options?: DropzoneProps;
|
|
8
|
-
error?: string;
|
|
9
|
-
files: FileType[];
|
|
10
|
-
label?: string | null;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
hideUpload?: boolean;
|
|
13
|
-
preventDuplicates?: boolean;
|
|
14
|
-
sx?: SxProps;
|
|
15
|
-
hideTitle?: boolean;
|
|
16
|
-
hidePreview?: boolean;
|
|
17
|
-
onChangeFiles: (files: FileType[]) => void;
|
|
18
|
-
onRemoveFile?: (file: FileType) => void;
|
|
19
|
-
renderBrandLogo: (fileId: string) => React.ReactNode;
|
|
20
|
-
renderOpenFileInNewTab: (fileId: string) => React.ReactNode;
|
|
21
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FileUploadProps, FileUploadRef } from './type';
|
|
3
|
-
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<FileUploadProps & import("react").RefAttributes<FileUploadRef>>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FileUploadProps, FileUploadRef } from './type';
|
|
3
|
-
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<FileUploadProps & import("react").RefAttributes<FileUploadRef>>>;
|
|
4
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-SAYH35C3.js';import'../../_chunks/chunk-YFFUFJLA.js';import'../../_chunks/chunk-MZMXF4IE.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
-
export declare const StyledFileUploadHeader: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
|
-
export declare const Title: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
9
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
10
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
11
|
-
isError?: boolean | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
13
|
-
export declare const UploadAgain: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
16
|
-
export declare const Format: import("@emotion/styled").StyledComponent<Omit<Omit<import("../primitives").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
17
|
-
ref?: import("react").RefObject<HTMLElement> | ((instance: HTMLElement | null) => void) | null | undefined;
|
|
18
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
19
|
-
export declare const FileUploader: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
21
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
22
|
-
width?: string | number | undefined;
|
|
23
|
-
}, {}, {}>;
|
|
24
|
-
export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
26
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
27
|
-
export declare const Upload: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
28
|
-
export declare const TextWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
30
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
31
|
-
export declare const Maximum: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
32
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
33
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
34
|
-
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
35
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
36
|
-
}, "color" | "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "variant" | "size" | "startIcon" | "endIcon" | "fullWidth" | "href" | "disableFocusRipple" | "disableElevation"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
37
|
-
export declare const SendBulkContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
38
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
39
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DropzoneProps } from 'react-dropzone';
|
|
3
|
-
import { CircularProgressProps } from '@mui/material/CircularProgress';
|
|
4
|
-
export interface FileUploadProps {
|
|
5
|
-
accept?: string;
|
|
6
|
-
options?: DropzoneProps;
|
|
7
|
-
footer?: React.ReactNode;
|
|
8
|
-
isCreateLoading?: boolean;
|
|
9
|
-
progress?: number;
|
|
10
|
-
progressVariant?: CircularProgressProps['variant'];
|
|
11
|
-
error?: string;
|
|
12
|
-
errorHint?: React.ReactNode;
|
|
13
|
-
subtitleComponent?: React.ReactNode;
|
|
14
|
-
isSuccess?: boolean;
|
|
15
|
-
errorActionComponent?: React.ReactNode;
|
|
16
|
-
onConfirm?: (acceptedFiles: File[]) => void;
|
|
17
|
-
isSendDisabled?: boolean;
|
|
18
|
-
title?: React.ReactNode;
|
|
19
|
-
width?: number | string;
|
|
20
|
-
successFooter?: React.ReactNode;
|
|
21
|
-
}
|
|
22
|
-
export interface FileUploadRef {
|
|
23
|
-
open: () => void;
|
|
24
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
|
-
export type MerchantLogoProps = {
|
|
4
|
-
data?: Blob;
|
|
5
|
-
width?: number | string;
|
|
6
|
-
height?: number | string;
|
|
7
|
-
isError?: boolean;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
sx?: SxProps;
|
|
10
|
-
};
|
|
11
|
-
export default function MerchantLogo({ data, width, height, ...props }: Readonly<MerchantLogoProps>): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as MerchantLogo, type MerchantLogoProps } from './MerchantLogo';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{Ac as MerchantLogo}from'../../_chunks/chunk-PF7WICFS.js';import'../../_chunks/chunk-JLL3T5G6.js';import'../../_chunks/chunk-IWULB6PE.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-QCKVQDTV.js';import'../../_chunks/chunk-GXDZKA56.js';import'../../_chunks/chunk-NLBIEL5G.js';import'../../_chunks/chunk-ASVSVGU7.js';import'../../_chunks/chunk-IW2UIFYO.js';import'../../_chunks/chunk-YM6QK2DF.js';import'../../_chunks/chunk-3JH2VK4V.js';import'../../_chunks/chunk-BPNPETQW.js';import'../../_chunks/chunk-IK7SEBKG.js';import'../../_chunks/chunk-BL4G7JLV.js';import'../../_chunks/chunk-CXEGE4O2.js';import'../../_chunks/chunk-5KGTZKEN.js';import'../../_chunks/chunk-6FIFHADT.js';import'../../_chunks/chunk-XY72MNWO.js';import'../../_chunks/chunk-PT6E5ELZ.js';import'../../_chunks/chunk-P32P6WI6.js';import'../../_chunks/chunk-NWLLDTBY.js';import'../../_chunks/chunk-OTVBJARD.js';import'../../_chunks/chunk-AL2ZSXZ6.js';import'../../_chunks/chunk-L6COP35A.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-V6UM44EE.js';import'../../_chunks/chunk-J3IQ3LK6.js';import'../../_chunks/chunk-X6ONAMFY.js';import'../../_chunks/chunk-GWRYOFFH.js';import'../../_chunks/chunk-3VDOQJJJ.js';import'../../_chunks/chunk-BFJBUXOL.js';import'../../_chunks/chunk-MS6Y34N5.js';import'../../_chunks/chunk-JO5SBXD2.js';import'../../_chunks/chunk-B4MLPOHF.js';import'../../_chunks/chunk-QY7A3NAZ.js';import'../../_chunks/chunk-4IDLOUJ7.js';import'../../_chunks/chunk-JW2LQWTK.js';import'../../_chunks/chunk-XAEPLBLE.js';import'../../_chunks/chunk-RT5VIOLH.js';import'../../_chunks/chunk-2G7ZSBO4.js';import'../../_chunks/chunk-HQZAZXS5.js';import'../../_chunks/chunk-OOCQKRLE.js';import'../../_chunks/chunk-3EFRQRQL.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-K7QBMMBJ.js';import'../../_chunks/chunk-AIZCIUGN.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-66CFHR7D.js';import'../../_chunks/chunk-BKNQSCBV.js';import'../../_chunks/chunk-JECOERWM.js';import'../../_chunks/chunk-SAYH35C3.js';import'../../_chunks/chunk-24GWCDZ5.js';import'../../_chunks/chunk-SVB4LDND.js';import'../../_chunks/chunk-M5YZJU34.js';import'../../_chunks/chunk-DOBRREPI.js';import'../../_chunks/chunk-7X7LW27Y.js';import'../../_chunks/chunk-BHWA2DLO.js';import'../../_chunks/chunk-I3QG6QAH.js';import'../../_chunks/chunk-5SFRPT5L.js';import'../../_chunks/chunk-Y6XCG6I3.js';import'../../_chunks/chunk-HX4ZQZMG.js';import'../../_chunks/chunk-CFSDYUG2.js';import'../../_chunks/chunk-YRTPK5WI.js';import'../../_chunks/chunk-ZBOMFKID.js';import'../../_chunks/chunk-7YAANFKA.js';import'../../_chunks/chunk-KNZ7WDVM.js';import'../../_chunks/chunk-RSMUKCU7.js';import'../../_chunks/chunk-UQAAPVOP.js';import'../../_chunks/chunk-IIJQTMKH.js';import'../../_chunks/chunk-TKK3WRVP.js';import'../../_chunks/chunk-ZN6XHB3Y.js';import'../../_chunks/chunk-5V5JLLTM.js';import'../../_chunks/chunk-CTGKNHG3.js';import'../../_chunks/chunk-YFFUFJLA.js';import'../../_chunks/chunk-KFPNUXMC.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-HTGQGXGP.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-UWMNSF7E.js';import'../../_chunks/chunk-Z5G7GROD.js';import'../../_chunks/chunk-KBD5ZHSX.js';import'../../_chunks/chunk-MZMXF4IE.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const BrandLogoStyled: import("@emotion/styled").StyledComponent<Readonly<import("../BrandLogo").BrandLogoProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
3
|
-
export declare const LogoWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export type OpenFileInNewTabProps = {
|
|
3
|
-
data?: Blob;
|
|
4
|
-
isLoading?: boolean;
|
|
5
|
-
isError?: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare const OpenFileInNewTab: ({ data, isLoading, isError }: Readonly<OpenFileInNewTabProps>) => import("react").JSX.Element | null;
|
|
8
|
-
export default OpenFileInNewTab;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as OpenFileInNewTab, type OpenFileInNewTabProps } from './OpenFileInNewTab';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as OpenFileInNewTab}from'../../_chunks/chunk-3VDOQJJJ.js';import'../../_chunks/chunk-MZMXF4IE.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const ViewFile: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|