@tap-payments/os-micro-frontend-shared 0.3.107 → 0.3.109
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-VVQTOGFV.js → chunk-2B2JDVPY.js} +1 -1
- package/build/_chunks/{chunk-4ZBTAIZH.js → chunk-2MKZDYL7.js} +2 -2
- package/build/_chunks/{chunk-U7GSDCDC.js → chunk-3TYZ6OP2.js} +1 -1
- package/build/_chunks/{chunk-DLMKONKP.js → chunk-3XLQ2HY5.js} +1 -1
- package/build/_chunks/{chunk-BM6CZOF4.js → chunk-43FLSBM5.js} +1 -1
- package/build/_chunks/{chunk-TDIUBX7Z.js → chunk-45IIIWUN.js} +1 -1
- package/build/_chunks/{chunk-KTTWX4DF.js → chunk-47QGYNMT.js} +1 -1
- package/build/_chunks/{chunk-GYLFNIDE.js → chunk-47WZUCXK.js} +1 -1
- package/build/_chunks/chunk-4CTI2BCM.js +2 -0
- package/build/_chunks/{chunk-IDOCXRAN.js → chunk-4HKXFQHG.js} +1 -1
- package/build/_chunks/{chunk-5HTJ2EF5.js → chunk-4NMJI57Z.js} +1 -1
- package/build/_chunks/{chunk-PQTCZFRP.js → chunk-4QMDSB3J.js} +1 -1
- package/build/_chunks/{chunk-24UKDWP6.js → chunk-4YVDBPU3.js} +1 -1
- package/build/_chunks/{chunk-UWT2LTRT.js → chunk-52AFPAG4.js} +1 -1
- package/build/_chunks/{chunk-ON6WNBSV.js → chunk-5HGRA3MR.js} +1 -1
- package/build/_chunks/{chunk-V25PWANP.js → chunk-5J6KHEXJ.js} +1 -1
- package/build/_chunks/{chunk-IPWVKXKT.js → chunk-66YPKRV4.js} +1 -1
- package/build/_chunks/{chunk-QOJFHHFI.js → chunk-6DQCLXCV.js} +1 -1
- package/build/_chunks/chunk-6L6X3PKY.js +1 -0
- package/build/_chunks/{chunk-TOZXLHUL.js → chunk-6MDBC25E.js} +1 -1
- package/build/_chunks/{chunk-ZOT3OAVG.js → chunk-6QZGHSLK.js} +1 -1
- package/build/_chunks/{chunk-E4MWP5C3.js → chunk-6YH4CIB3.js} +1 -1
- package/build/_chunks/{chunk-MWDULTQV.js → chunk-6Z3TUSO2.js} +1 -1
- package/build/_chunks/{chunk-XISXXFJF.js → chunk-72PTK6FI.js} +1 -1
- package/build/_chunks/{chunk-A3GALHIN.js → chunk-7FQTSJO4.js} +1 -1
- package/build/_chunks/{chunk-KECBKDID.js → chunk-A24QCZJD.js} +1 -1
- package/build/_chunks/chunk-A2MDAZEL.js +1 -0
- package/build/_chunks/{chunk-6BEMQUU2.js → chunk-A5M7J5ZV.js} +1 -1
- package/build/_chunks/chunk-A5ZPOUVA.js +1 -0
- package/build/_chunks/chunk-AD5SZQHV.js +1 -0
- package/build/_chunks/{chunk-7W7XQHQ3.js → chunk-ANNNLC2F.js} +1 -1
- package/build/_chunks/{chunk-ME6UTFJ7.js → chunk-AUTV3ALZ.js} +1 -1
- package/build/_chunks/{chunk-HCFFRE73.js → chunk-AWH5FSCW.js} +1 -1
- package/build/_chunks/{chunk-3SFNJ5ZH.js → chunk-B2DFJ4EN.js} +1 -1
- package/build/_chunks/{chunk-JGVCH7IX.js → chunk-BDYVEH7B.js} +1 -1
- package/build/_chunks/{chunk-3JYJEVAJ.js → chunk-CQA5ZLRB.js} +1 -1
- package/build/_chunks/{chunk-Q7IWHH4T.js → chunk-DFPBOVZU.js} +1 -1
- package/build/_chunks/{chunk-KX3SICWK.js → chunk-DQL3V5XC.js} +1 -1
- package/build/_chunks/{chunk-EPC45OR7.js → chunk-DSYVW3OV.js} +1 -1
- package/build/_chunks/{chunk-APQITSBN.js → chunk-DUHHYD3P.js} +1 -1
- package/build/_chunks/{chunk-HWOKW33H.js → chunk-DVSEEJWI.js} +1 -1
- package/build/_chunks/{chunk-TDZPTIUN.js → chunk-E57EIHTZ.js} +1 -1
- package/build/_chunks/{chunk-GQBSHUNH.js → chunk-EE4C4MBP.js} +1 -1
- package/build/_chunks/chunk-EGD2WOUQ.js +1 -0
- package/build/_chunks/{chunk-CMDTZEAR.js → chunk-EWBXU6CR.js} +1 -1
- package/build/_chunks/{chunk-MZC55VKA.js → chunk-FMOSTCQG.js} +1 -1
- package/build/_chunks/{chunk-JKCCQTSL.js → chunk-GFIG3UEJ.js} +1 -1
- package/build/_chunks/{chunk-VYKDF5LJ.js → chunk-GFLOUSOS.js} +1 -1
- package/build/_chunks/{chunk-UJCJJ5AF.js → chunk-H6MI6KPY.js} +1 -1
- package/build/_chunks/{chunk-QICYP3HI.js → chunk-HGLOCKHW.js} +1 -1
- package/build/_chunks/{chunk-HB6PLBGB.js → chunk-IQXVU3RM.js} +1 -1
- package/build/_chunks/{chunk-O5LA63YT.js → chunk-IT5UQE2Q.js} +1 -1
- package/build/_chunks/{chunk-X6V35ICL.js → chunk-IXOVAUKV.js} +1 -1
- package/build/_chunks/{chunk-HJM4PVKH.js → chunk-JAJMWLOB.js} +2 -2
- package/build/_chunks/{chunk-YU6WPYGE.js → chunk-JOII2AMA.js} +1 -1
- package/build/_chunks/{chunk-7SWJ6S4I.js → chunk-KGVF3T7I.js} +1 -1
- package/build/_chunks/{chunk-DGEOPYLN.js → chunk-KKJJ4BTE.js} +1 -1
- package/build/_chunks/{chunk-DDXRTENV.js → chunk-KQ7VDPGP.js} +1 -1
- package/build/_chunks/{chunk-I4K5C7BA.js → chunk-KVZ3QLWH.js} +1 -1
- package/build/_chunks/{chunk-UZNTMAXT.js → chunk-KXRTGZLL.js} +1 -1
- package/build/_chunks/{chunk-22NHUVWR.js → chunk-LC4BN4NL.js} +1 -1
- package/build/_chunks/{chunk-QWPC3D5E.js → chunk-M4ULOGQ6.js} +1 -1
- package/build/_chunks/{chunk-QLMXLB5M.js → chunk-M7GDV7BU.js} +1 -1
- package/build/_chunks/{chunk-YTVH2LIF.js → chunk-MGMKRM6L.js} +1 -1
- package/build/_chunks/{chunk-SFFYXAJO.js → chunk-MNLK7DEK.js} +1 -1
- package/build/_chunks/{chunk-3XPVTQOE.js → chunk-NHIKM3OU.js} +2 -2
- package/build/_chunks/{chunk-PFFMW4SQ.js → chunk-NI5IB4MB.js} +1 -1
- package/build/_chunks/{chunk-PF4QELVH.js → chunk-NOQJMN5G.js} +1 -1
- package/build/_chunks/{chunk-2S7T2TKQ.js → chunk-NRQEFK5K.js} +1 -1
- package/build/_chunks/{chunk-CE7DD3CT.js → chunk-OB7ZBUPO.js} +1 -1
- package/build/_chunks/{chunk-S6KO5UGV.js → chunk-OUPQPSVE.js} +1 -1
- package/build/_chunks/{chunk-PFXZLBIR.js → chunk-P43WK6MH.js} +1 -1
- package/build/_chunks/{chunk-WQQOF46P.js → chunk-PH2BNCKQ.js} +1 -1
- package/build/_chunks/{chunk-5M7XCBNB.js → chunk-QVEDBBLY.js} +1 -1
- package/build/_chunks/{chunk-3JIZVYUQ.js → chunk-R77M3KBL.js} +1 -1
- package/build/_chunks/{chunk-WQA4OJHE.js → chunk-RBLOUJ2D.js} +1 -1
- package/build/_chunks/{chunk-H7CJUZ3L.js → chunk-RD6LKSWB.js} +1 -1
- package/build/_chunks/{chunk-LHMYVXNA.js → chunk-REQMWHHG.js} +1 -1
- package/build/_chunks/{chunk-GPUQR54W.js → chunk-RI3LKGQE.js} +1 -1
- package/build/_chunks/{chunk-RNX3322N.js → chunk-RMOATEPF.js} +1 -1
- package/build/_chunks/{chunk-NIO7SLTK.js → chunk-RQ7SIXQE.js} +1 -1
- package/build/_chunks/{chunk-QJXWU7QS.js → chunk-S24RDKLW.js} +1 -1
- package/build/_chunks/{chunk-BT7ZCQ5W.js → chunk-SFA3IUJE.js} +1 -1
- package/build/_chunks/{chunk-XU755ICW.js → chunk-SHH52L6J.js} +1 -1
- package/build/_chunks/{chunk-VRCF7JRE.js → chunk-SHU7VEXX.js} +1 -1
- package/build/_chunks/{chunk-LSXQEKL6.js → chunk-SRUUIF2H.js} +1 -1
- package/build/_chunks/chunk-SZD4TIN5.js +1 -0
- package/build/_chunks/{chunk-G5R64IJZ.js → chunk-TT7GDPJB.js} +1 -1
- package/build/_chunks/{chunk-OZULYD7W.js → chunk-TUSDO22S.js} +1 -1
- package/build/_chunks/{chunk-2FEHXYYV.js → chunk-UCR54EGG.js} +1 -1
- package/build/_chunks/{chunk-XIJA22ZF.js → chunk-UMO3EYMS.js} +1 -1
- package/build/_chunks/{chunk-M2QXWHR4.js → chunk-UNK6RZWZ.js} +1 -1
- package/build/_chunks/{chunk-5VMO7Y3P.js → chunk-URQ6REQU.js} +1 -1
- package/build/_chunks/{chunk-267K7HC7.js → chunk-UVIC3GMG.js} +1 -1
- package/build/_chunks/{chunk-Z6B55IOO.js → chunk-UZ3SBCBN.js} +1 -1
- package/build/_chunks/{chunk-PSH5GSMY.js → chunk-VAQVA7LS.js} +1 -1
- package/build/_chunks/{chunk-JWFFEVIE.js → chunk-VCNZKGG2.js} +1 -1
- package/build/_chunks/{chunk-VEAFWDPV.js → chunk-VLXHY4RZ.js} +1 -1
- package/build/_chunks/{chunk-PWCRGP6W.js → chunk-VXULBSKE.js} +1 -1
- package/build/_chunks/{chunk-NKL4FJXQ.js → chunk-VZLBSEC2.js} +1 -1
- package/build/_chunks/{chunk-Y3ZKYCYK.js → chunk-WAKNCD2G.js} +1 -1
- package/build/_chunks/{chunk-SQ2NZRC4.js → chunk-WCATWAF3.js} +1 -1
- package/build/_chunks/chunk-XEH5CSH2.js +2 -0
- package/build/_chunks/{chunk-BNAUJXLF.js → chunk-XMAY3CXO.js} +1 -1
- package/build/_chunks/{chunk-DIKAJBYT.js → chunk-XUW5KJGA.js} +1 -1
- package/build/_chunks/{chunk-3MSCEP3Y.js → chunk-XWRRGBCT.js} +1 -1
- package/build/_chunks/chunk-Y3SROY2Q.js +1 -0
- package/build/_chunks/{chunk-5ILJVOJ3.js → chunk-Y5BWYXWM.js} +1 -1
- package/build/_chunks/{chunk-S4M5NQDS.js → chunk-YMN4AB4B.js} +1 -1
- package/build/_chunks/{chunk-DDG5PVQI.js → chunk-YMTNGEYZ.js} +1 -1
- package/build/_chunks/{chunk-JVF6ZYAB.js → chunk-ZVCO74GD.js} +1 -1
- package/build/components/Accordion/index.js +1 -1
- package/build/components/AccountDropdown/index.js +1 -1
- package/build/components/ActionMenu/index.js +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/ActivityAreaChart/index.js +1 -1
- package/build/components/Amount/index.js +1 -1
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountSlider/index.js +1 -1
- package/build/components/AmountStatusChip/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/AuthenticationTypeChip/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/BetaBanner/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Button/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/CardEmptyState/index.js +1 -1
- package/build/components/Checkbox/index.js +1 -1
- package/build/components/Chip/index.js +1 -1
- package/build/components/ChipStack/index.js +1 -1
- package/build/components/CircularProgressWithLabel/index.js +1 -1
- package/build/components/Collapse/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/CopyImage/index.js +1 -1
- package/build/components/CountBadge/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/CustomBackdrop/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/Dialog/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/DisplayAmount/index.js +1 -1
- package/build/components/Dropdown2/index.js +1 -1
- package/build/components/DropdownButton/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/Error/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FieldFeedback/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUpload/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/IOSSwitch/index.js +1 -1
- package/build/components/Icon/index.js +1 -1
- package/build/components/IconWithBadge/index.js +1 -1
- package/build/components/Input/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/InputNumber/index.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LanguageDropdown/index.js +1 -1
- package/build/components/LazyImage/index.js +1 -1
- package/build/components/LazyRemote/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/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/Menu/index.js +1 -1
- package/build/components/MenuItem/index.js +1 -1
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/MultiSelectDropdownButton/index.js +1 -1
- package/build/components/MultiSelectWithSearch/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NoInternet/index.js +1 -1
- package/build/components/OpenFileInNewTab/index.js +1 -1
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/ProgressBar/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RFH/index.js +1 -1
- package/build/components/RadioButton/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/RemoteFallback/index.js +1 -1
- package/build/components/ResizableHeightInput/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SalesChannelFilter/index.js +1 -1
- package/build/components/ScrollLoader/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchListInput/index.js +1 -1
- package/build/components/SelectDropdown/index.js +1 -1
- package/build/components/SelectWithSearch/index.js +1 -1
- package/build/components/Skeleton/index.js +1 -1
- package/build/components/Slider/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusChip/index.js +1 -1
- package/build/components/StatusChipWithCopy/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusGroupChips/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/Timepicker/index.js +1 -1
- package/build/components/Toaster/index.js +1 -1
- package/build/components/ToggleButtons/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TooltipChip/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VAT/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/Window/index.js +1 -1
- package/build/components/WindowAppIcon/index.js +1 -1
- package/build/components/WindowBackdrop/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/constants/apps.d.ts +6 -0
- package/build/constants/assets.d.ts +2 -0
- package/build/constants/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-2RALOOEZ.js +0 -2
- package/build/_chunks/chunk-5K7D5UDX.js +0 -1
- package/build/_chunks/chunk-6D4EXZHG.js +0 -1
- package/build/_chunks/chunk-7W6DMBRI.js +0 -1
- package/build/_chunks/chunk-EAQ6VE2H.js +0 -1
- package/build/_chunks/chunk-NOO37SWH.js +0 -1
- package/build/_chunks/chunk-OSJ5S522.js +0 -1
- package/build/_chunks/chunk-QIUWJIV6.js +0 -1
- package/build/_chunks/chunk-T37TUJCV.js +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {e as e$1,a as a$5,b as b$2,d,c as c$2}from'./chunk-LHMYVXNA.js';import {a as a$3,b as b$1,c as c$1}from'./chunk-I4K5C7BA.js';import {a as a$2}from'./chunk-TDIUBX7Z.js';import {a as a$8}from'./chunk-6D4EXZHG.js';import {a as a$7}from'./chunk-KTTWX4DF.js';import {a as a$9}from'./chunk-GNY2VGGW.js';import {a as a$6}from'./chunk-JVF6ZYAB.js';import {a as a$4}from'./chunk-ON6WNBSV.js';import {c,s}from'./chunk-YU6WPYGE.js';import {a as a$1,i,e,bb,dc,Ab,uc,vc,wc,ac,cc,bc,Fc,cb,jb,ya,p,xa}from'./chunk-GPUQR54W.js';import {u}from'./chunk-OSJ5S522.js';import {ai as ai$1,gi as gi$1,Rj,ii,Pa as Pa$1,Ba,Ca,Da,Fh,Ph,Oh,ji,A as A$1,F}from'./chunk-2RALOOEZ.js';import {a,b}from'./chunk-YRT7GXGY.js';import ze,{memo,createContext,useContext,useRef,useCallback,useEffect,useMemo,useState,createElement,Fragment as Fragment$1}from'react';import {styled,alpha,useTheme}from'@mui/material/styles';import jl from'memoize-one';import Gl from'react-virtualized-auto-sizer';import Kl from'react-window-infinite-loader';import Ce from'@mui/material/Box';import ia from'@mui/material/Popper';import Qi from'@mui/material/Collapse';import {useTranslation}from'react-i18next';import Gi from'@mui/material/Button';import {jsxs,Fragment,jsx}from'react/jsx-runtime';import {TableCell,Button,styled as styled$1,Box}from'@mui/material';import La from'@mui/material/TableRow';import {motion}from'framer-motion';import {VariableSizeList,areEqual}from'react-window';import Ha from'@mui/material/TableHead';import Ja from'@mui/material/Skeleton';import Qa from'@mui/material/TableCell';import {createPortal}from'react-dom';var Nr=a((Yd,Or)=>{var $i=a$1();function Ui(e,t){return $i(t,function(o){return e[o]})}Or.exports=Ui;});var Ur=a((Jd,$r)=>{var Xi=Nr(),qi=i();function ji(e){return e==null?[]:Xi(e,qi(e))}$r.exports=ji;});var Pt=a((fu,wn)=>{var ja=e(),Ga=0;function Ka(e){var t=++Ga;return ja(e)+t}wn.exports=Ka;});var en=b(Ur(),1);var Xr=e=>({backgroundColor:e.palette.common.white,borderRadius:"4px",filter:"drop-shadow(0px 8px 30px rgba(0, 0, 0, 0.16))",width:"188px",marginTop:"10px",boxShadow:e.shadows[3]}),qr=styled(Ce)(({theme:e})=>({color:e.palette.grey[700],fontSize:"11px",fontWeight:500,padding:"8px 16px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`})),jr=styled(a$2)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,".icon":{width:14}})),Gr=styled(Ce)(()=>({padding:"8px 16px","> div + div":{marginTop:"8px"}})),Kr=styled(Gi)(({theme:e})=>({color:e.palette.info.dark,fontSize:"11px",textTransform:"capitalize",padding:"4px 9px",minWidth:"auto","&:hover":{background:"transparent"}})),Yr=styled(Ce)(({theme:e})=>({padding:"0 16px 8px",textAlign:"left",borderBottom:`1px solid ${e.palette.divider}`}));function ta({onCloseDropdown:e,filter:{options:t=[],onConfirm:o,data:r,isOnlyOneFilter:n,onClearFilterFields:a,wrapperSx:l,sx:s$1}}){let[i,p]=useState({});useEffect(()=>{p((t||[]).reduce((S,{apiKey:g})=>({...S,[g]:r?.[g]??""}),{}));},[]);let{t:d$1}=useTranslation(),u=()=>{o?.(i);},c=s(u,e),T=S=>{u(),e(S);},m=S=>{e(S);},b=()=>{a?.(),p(t.reduce((S,{apiKey:g})=>({...S,[g]:""}),{}));},f=S=>i[S]!==void 0&&i[S].length>0,x=S=>i[S]!==void 0&&i[S].length?i[S]:"",h=S=>{f(S)&&p({...i,[S]:""});},y=useMemo(()=>(0, en.default)(i).some(S=>!!S),[i]),w=useCallback(S=>t.find(g=>g.apiKey===S),[t]),E=useCallback((S,g)=>{let R=i?.[S]!==void 0&&i?.[S]!==""&&i?.[S]!==null,k=Object.entries(i).some(([C,v])=>!!v&&(w(C)?.filterGroup!==g||!g));return n&&!R&&k},[t,i,n]);return jsxs(Ce,{component:"article","data-testid":"ColumnFilterInputs",sx:S=>({...Xr(S),...Object.assign({},...[s$1].flat().filter(g=>g&&typeof g=="object"))}),onKeyDown:c,children:[jsx(qr,{component:"header","data-testid":"ColumnFilterInputs_title",children:d$1("filterBy")}),jsx(Gr,{"data-testid":"ColumnFilterInputs_inputs",component:"main",sx:l,children:t.map(({placeholder:S,apiKey:g,isDisabled:R,filterGroup:k,render:C})=>jsx(Fragment$1,{children:C?C():jsx(jr,{className:"input","data-testid":"ColumnFilterInputs_InputStyled",name:g,placeholder:S,onChange:v=>{p({...i,[g]:v.target.value});},disabled:R||E(g,k),value:x(g),inputProps:{autoComplete:"off","data-testid":"ColumnFilterInputs_input"},endAdornment:jsx(Ce,{component:"img","data-testid":"ColumnFilterInputs_icon","data-icon":f(g)?"close":"search",src:f(g)?ji:A$1,alt:"search",className:"icon",sx:{cursor:f(g)?"pointer":"default"},onClick:()=>{h(g);}})})},g))}),jsx(Qi,{in:y,component:"section","data-testid":"ColumnFilterInputs_Collapse",sx:{borderTop:"0"},children:jsx(Yr,{"data-testid":"ColumnFilterInputs_ClearWrapper",children:jsx(Kr,{type:"button",onClick:b,"data-testid":"ColumnFilterInputs_ClearButton",children:d$1("clear")})})}),jsxs(b$2,{component:"footer","data-testid":"ColumnFilterInputs_footer",children:[jsx(d,{type:"button",onClick:m,"data-testid":"ColumnFilterInputs_CancelButton",children:d$1("cancel")}),jsx(c$2,{type:"button",onClick:T,"data-testid":"ColumnFilterInputs_OkayButton",children:d$1("okay")})]})]})}var tn=ta;var gt=tn;function aa(e){let{anchorEl:t,setAnchorEl:o,onClose:r,isFilterApplied:n,disabled:a}=e,l=u=>{u.stopPropagation(),o(null),r?.(u);},s=useRef(null),i=!!t;useEffect(()=>{i&&requestAnimationFrame(()=>s.current?.focus());},[i]);let p=useMemo(()=>e.type==="list"?[e.apiKey]:(e?.options||[])?.map(({apiKey:u})=>u),[e]),d=useMemo(()=>{if(e.type==="list")return jsx(e$1,{onCloseDropdown:l,filter:e});if(e.type==="inputs")return jsx(gt,{onCloseDropdown:l,filter:e});if(e.type==="custom"){let u={anchorEl:t,setAnchorEl:o,onCloseDropdown:l};return e.render(u)}return null},[i,e,l]);return jsxs(Fragment,{children:[n?jsxs(a$5,{children:[jsx(Ce,{component:"img","data-testid":"ColumnFilter_whiteFilterIcon",src:ii,alt:"filter-icon",sx:{marginInlineEnd:"2px",height:6}}),jsx(Ce,{component:"img","data-testid":"ColumnFilter_closeIcon",src:Pa$1,alt:"close-icon",onClick:u=>{u.stopPropagation(),o(null),e.onClear(p);}})]}):jsx(Ce,{component:"img","data-testid":"ColumnFilter_columnIcon",src:Ba,alt:"column-icon",sx:{marginTop:"2px",userSelect:"none",opacity:a?.5:1}}),i&&jsx(a$6,{onClick:l}),jsx(ia,{open:i,anchorEl:t,placement:"bottom-start",children:jsx("div",{ref:s,tabIndex:-1,style:{outline:"none"},children:d})})]})}var nn=memo(aa);var Ge=nn;var to=styled("img")(()=>({width:"13.3px",height:"13.3px"})),ln=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer"}));function pa({onColumnSort:e,columnsSorting:t,columnId:o,onClick:r}){let[n,a]=useState(null),l=!!n,s=d=>{d.stopPropagation(),a(d.currentTarget),r?.(d);},i=d=>{d.stopPropagation(),a(null),r?.(d);},p=(d,u,c)=>{d&&(e?.({[d]:u}),i(c));};return jsxs(Fragment,{children:[jsx(ln,{onClick:s,src:Ba,alt:"column-icon","data-id":o,sx:{userSelect:"none",marginTop:"2px"}}),l&&jsx(a$6,{onClick:i}),jsxs(a$7,{anchorEl:n,open:l,children:[jsxs(a$8,{isSelected:t?.[n?.dataset.id||""]==="asc",onClick:d=>{p(n?.dataset.id,"asc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="asc"&&{boxShadow:d.shadows[10]}}),children:[jsx(to,{src:Ca,alt:"sort-icon"}),jsx(a$9,{sx:{fontSize:"0.6875rem"},children:"Sort A-Z"})]}),jsxs(a$8,{isSelected:t?.[n?.dataset.id||""]==="desc",onClick:d=>{p(n?.dataset.id,"desc",d);},sx:d=>({...t?.[n?.dataset.id||""]==="desc"&&{boxShadow:d.shadows[10]}}),children:[jsx(to,{src:Da,alt:"sort-icon"}),jsx(a$9,{sx:{fontSize:"0.6875rem"},children:"Sort Z-A"})]})]})]})}var sn=memo(pa);var Ct=sn;var pn=ze.forwardRef(({children:e,...t},o)=>jsxs(Fragment,{children:[jsx(Ce,{"data-testid":"VirtualScrollInner",className:"VirtualScrollInner",style:{position:"sticky",top:0},children:e}),jsx("div",{ref:o,...t})]}));pn.displayName="VirtualScrollInner";var oo=pn;var St=createContext(null);var ro=({children:e,value:t})=>jsx(St.Provider,{value:t,children:e});var mn=ze.forwardRef(({onScroll:e,children:t,...o},r)=>{let n=useContext(St);return jsx("div",{className:"VirtualScrollOuter",onScroll:n,ref:r,...o,children:t})});mn.displayName="VirtualScrollOuter";var no=mn;function wa({setBackdropVisibility:e,clearBackdropVisibilityTimeout:t}){let o=useRef(void 0);return useEffect(()=>()=>{clearTimeout(o.current);},[]),{handleBackDropVisibility:()=>{e(true);},clearBackdropVisibility:()=>{o.current=setTimeout(()=>{e(false);},t||2e3);},clearTimer:()=>{clearTimeout(o.current);}}}var un=wa;var Pa=ze.forwardRef(({itemData:e,children:t,setBackdropVisibility:o,scrollToIndex:r,listRef:n,onScroll:a,clearBackdropVisibilityTimeout:l,...s},i)=>{let{handleBackDropVisibility:p,clearBackdropVisibility:d,clearTimer:u}=un({setBackdropVisibility:o,clearBackdropVisibilityTimeout:l}),c=useRef(0),T=useRef(void 0),m=useRef(false),b=useRef(null),f=i||n||b,x=useCallback(()=>(u(),T.current!==void 0&&f.current?(m.current=false,c.current=T.current,T.current=void 0,p(),f.current?.scrollTo?.(c.current),true):(d(),false)),[d,u,p,f]),h=ze.useCallback(E=>{T.current=E.currentTarget.scrollTop,m.current||(m.current=true,x());},[x]);useEffect(()=>{(r||0)>=0&&!Number.isNaN(r)&&r!==void 0&&f.current?.scrollTo&&f.current?.scrollToItem(r,"center");},[r,f]);let y=ze.useMemo(()=>({...e,renderedScrollTopRef:c}),[e]),w=ze.useCallback(E=>{a?.(E),m.current=x();},[x,a]);return jsx(ro,{value:h,children:jsx(VariableSizeList,{ref:f,"data-testid":"VirtualScrollList",itemData:y,outerElementType:no,innerElementType:oo,...s,onScroll:w,children:t})})}),io=Pa;var A=styled(Ce,{shouldForwardProp:e=>!["showNoDataView","compact","fixedHeight"].includes(e)})(({showNoDataView:e,compact:t,fixedHeight:o})=>({display:"flex",flexDirection:"column",height:o?`${o}px`:t?"auto":"100%",width:"100%",minWidth:e?"unset":"fit-content",overflow:"hidden",overflowX:e?"hidden":"auto",margin:"0px",...t&&{flex:"0 0 auto"}})),ce=styled(Ce,{shouldForwardProp:e=>e!=="hidePadding"})(({theme:e,hidePadding:t})=>({flex:"1 1 auto",backgroundColor:e.palette.grey[300],paddingBottom:t?0:a$3})),De=styled(Ce)(({theme:e})=>({backgroundColor:e.palette.background.default})),Se=styled(TableCell,{shouldForwardProp:e=>!["isLast","isFirst","isSheetView","isSelected"].includes(e)})(({theme:e,isLast:t,isFirst:o,isSheetView:r,$hasFilter:n,$isFilterDisabled:a})=>({paddingBlock:"0",paddingInline:"0.3875rem !important",paddingLeft:o?"0 !important":"0.3875rem !important",paddingRight:t?"0 !important":"0.3875rem !important",color:r?e.palette.text.primary:e.palette.grey[700],fontSize:r?e.typography.subtitle1.fontSize:e.typography.caption.fontSize,height:"100%",fontWeight:r?400:e.typography.fontWeightRegular,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",...n&&{cursor:"pointer"},...a&&{cursor:"not-allowed"},...r&&{borderRight:t?"1px solid transparent":`1px solid ${e.palette.divider}`,paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",position:"relative",borderTop:"1px solid transparent",borderLeft:"1px solid transparent",overflow:"hidden !important","&:before":{content:'""',borderRight:t?"none":"1px solid transparent",position:"absolute",top:0,right:0,left:0,bottom:0,pointerEvents:"none"}}})),wt=styled("button",{shouldForwardProp:e=>!["$hasFilter"].includes(e)})(({theme:e,$hasFilter:t,disabled:o})=>({zIndex:1,display:"flex",gap:e.spacing(.5),alignItems:"center",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",backgroundColor:"transparent",border:"none",...t&&{cursor:"pointer"},...o&&{cursor:"not-allowed"},padding:0,margin:0,color:"inherit",fontSize:"inherit",fontWeight:"inherit",boxSizing:"border-box",":disabled":{cursor:"not-allowed"}})),Fe=styled(io,{shouldForwardProp:e=>!["areTotalRowsNotFillingHeight","isSheetView"].includes(e)})(({theme:e,areTotalRowsNotFillingHeight:t,isSheetView:o})=>({backgroundColor:t?"transparent":"#F6F8FACC",...o&&{backgroundColor:e.palette.common.white}})),Rt=styled(La,{shouldForwardProp:e=>!["showShadowHighlight","showLoadedStyle","isSheetView","isSelected","isChecked","adjacentBelow","adjacentAbove"].includes(e)})(({theme:e,showShadowHighlight:t,showLoadedStyle:o,isSheetView:r,isChecked:n,adjacentBelow:a,adjacentAbove:l})=>({display:"flex",borderBottom:`1px solid ${e?.palette.divider}`,position:"relative",height:"100%",width:"100%",...!r&&{paddingInline:"32px",...a&&{borderBottom:"none",clipPath:"inset(-20px -20px 0px -20px)","&::before":{content:'""',position:"absolute",bottom:0,left:"32px",right:"32px",height:"1px",backgroundColor:e.palette.divider,zIndex:1}},...l&&{clipPath:"inset(0px -20px -20px -20px)"},...a&&l&&{clipPath:"inset(0px -20px 0px -20px)"},"&:hover":{boxShadow:e.shadows[12],zIndex:1,".MuiCheckbox-root":{visibility:"visible"},".payment-sources-container":{backgroundColor:e?.palette.common.white},".geography-box":{visibility:"visible"},".payout-status":{visibility:"visible !important"},"&:hover:after":{opacity:1}},"&::after":{content:"''",opacity:0,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0},...n&&{boxShadow:e.shadows[12],zIndex:1,"&:after":{opacity:1},".MuiCheckbox-root":{visibility:"visible"}},...o&&{backgroundColor:`${e.palette.info.dark}08 !important`},...t&&{boxShadow:e.shadows[12],zIndex:1,"&::after":{content:"''",opacity:1,minHeight:"100%",background:e.palette.info.dark,width:"3px",position:"absolute",left:0}}}})),te=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"&&e!=="scrollable"})(({theme:e,showNoDataView:t,scrollable:o})=>({position:"relative",backgroundColor:e.palette.background.default,height:"100%",overflowX:t?"hidden":"auto",display:"flex",flexDirection:"column","&:hover":{scrollbarWidth:o?"auto":"none"},"&::-webkit-scrollbar":{display:"block",height:"13px"},"&::-webkit-scrollbar-track":{background:"white",border:"1px solid #F2F2F2"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#DADCDF",borderRadius:"32px",border:"3px solid transparent",backgroundClip:"content-box",minHeight:"20px"}})),ao=styled(motion.img)(()=>({width:"24px",height:"24px",position:"relative",zIndex:2})),It=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%"})),fn=styled(Ce)(()=>({position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:"28px",borderRadius:"8px",marginBottom:"16px !important",overflowY:"hidden"})),bn=styled(Ce,{shouldForwardProp:e=>e!=="showNoDataView"})(({showNoDataView:e})=>({position:"relative",height:"100%",overflowX:e?"hidden":"auto",paddingBottom:0,display:"flex",flexDirection:"column"})),Et=styled(a$4,{shouldForwardProp:e=>!["isRow"].includes(e)})(({isRow:e})=>({position:"absolute",left:"12px",top:"50%",transform:"translateY(-50%)",padding:0,...e&&{visibility:"hidden"}}));var va=e=>{let{filter:t,totalCount:o,isFilterEnabled:r}=e,n=useMemo(()=>t?.options?.reduce((i,{apiKey:p})=>({...i,[p]:t?.data?.[p]}),{})||{},[t]),a=useMemo(()=>{let i=t,p=i?.data?.[i.apiKey];return Array.isArray(p)?p:[]},[t]),l=useMemo(()=>Object.values(n||{}).some(i=>typeof i=="string"||Array.isArray(i)?i.length>0:i!=null)||a.length>0,[n,a]);return {isFilterApplied:l,filterDisabled:!l&&o===0&&!r}},Ke=va;function hn({column:{header:e,id:t,align:o,headerStyle:r,sortable:n,filter:a,width:l,order:s},isFirst:i,isLast:p,isSheetView:d,onColumnSort:u,columnsSorting:c,totalCount:T,isFilterEnabled:m}){let[b,f]=useState(null),x=useRef(null),h=!!a,{isFilterApplied:y,filterDisabled:w}=Ke({filter:a,totalCount:T,isFilterEnabled:m});return jsx(Se,{"data-id":t,component:"div","data-testid":"VirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":l,"data-column-width-used":l,"data-column-align":o,"data-column-order":s,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!n,"data-column-filterable":h,isFirst:i,isLast:p,ref:x,$hasFilter:h,$isFilterDisabled:w&&h,sx:P=>({paddingInline:"0.6875rem",paddingLeft:i?"0":"0.6875rem",paddingRight:p?"0":"0.6875rem",display:"flex",gap:P.spacing(.5),alignItems:"center",justifyContent:wc[o??"left"],width:l,textAlign:o,overflow:"unset",fontWeight:600,...r}),isSheetView:d,children:jsxs(wt,{disabled:w,$hasFilter:h,onClick:()=>{f(x.current);},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"TableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx("span",{style:{textOverflow:"ellipsis",width:"80%",overflow:"hidden"},"data-testid":"VirtualTable_TableHeader_StyledCell_header_text",children:e})}),a&&jsx(Ge,{...a,anchorEl:b,setAnchorEl:f,isFilterApplied:y,disabled:w}),n&&jsx(Ct,{onColumnSort:u,columnsSorting:c,columnId:t})]})})}var so=hn;var xn=styled(Ha,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto",cursor:"auto"})),Cn=styled(La,{shouldForwardProp:e=>e!=="isSheetView"})(({theme:e,isSheetView:t})=>({display:"flex",justifyContent:"flex-start",width:"100%",minWidth:"fit-content",position:"relative",paddingInline:"32px",paddingBlock:"16px",...t&&{height:"28px",borderBottom:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.primary.light,paddingInline:0,paddingBlock:0}}));function Aa({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s,selection:i,selectableCount:p=0,getSelectableKeys:d}){let u=i&&i.ids.length>0,c=i&&p>0&&i.ids.length===p,T=useCallback(()=>{i&&i.setIds(c?[]:d?.()??[]);},[i,c,d]);return jsx(xn,{component:"nav","data-testid":"VirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsxs(Cn,{component:"section","data-testid":"VirtualTable_TableHeader_StyledMUITableRow",isSheetView:a,children:[u&&jsx(Et,{size:"small",checked:c,indeterminate:u&&!c,onChange:T,onClick:m=>m.stopPropagation()}),e.map((m,b)=>jsx(so,{column:m,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,onColumnSort:r,columnsSorting:n,isSheetView:a,totalCount:l,isFilterEnabled:s},`${m.id}-${b}`))]})})}var Sn=memo(Aa);var mo=Sn;var Xa=styled(Ce,{shouldForwardProp:e=>e!=="sandboxMode"&&e!=="height"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",flex:1,position:"sticky",left:0,background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",margin:0,minHeight:"55px"})),uo=styled("p")(({theme:e})=>({fontSize:"0.75rem",fontWeight:600,color:alpha(e.palette.common.black,.2)}));function qa({height:e,sandboxMode:t,...o}){let{t:r}=useTranslation();return jsx(Xa,{component:"section","data-testid":"TableLastItem",...o,height:e,sandboxMode:t,children:jsx(uo,{children:r("allRecordsHaveBeenSuccessfullyLoaded")})})}var co=qa;var In=b(Pt(),1);var ol=styled(Ja)(({theme:e})=>({backgroundColor:e.palette.grey[100],borderRadius:"64px",minWidth:"20px"}));function rl({columns:e,style:t,index:o,animationType:r}){return jsx(La,{sx:{...t,display:"flex",borderBottom:"1px solid #e3e8ee","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((n,a)=>jsx(Qa,{sx:{width:n.width||`${100/e.length}%`||"20%",paddingInline:"0.6875rem"},component:"div",children:jsx(ol,{variant:"rectangular",animation:r})},`${n.id}-${a}`))},o)}var bo=memo(rl,areEqual);var al=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ll({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n}){let a=n||bb(t,r);return a=a>0?a:5,jsx(al,{isLoaded:t,"data-testid":"TableLoading",children:[...Array(a)].map(()=>jsx(bo,{columns:e,animationType:o},`i-${(0, In.default)("TableLoadingRow_")}`))})}var ho=memo(ll);var Vn=styled(Ce,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),Ln=styled(Ce,{shouldForwardProp:e=>e!=="shouldMinimizeWidth"})(({shouldMinimizeWidth:e})=>({width:e?"9rem":"15rem",display:"flex",flexDirection:"column",alignItems:"center"})),kn=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1.125rem",color:e.palette.text?.primary,padding:0,margin:0})),vn=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,opacity:.5,padding:0,marginTop:3,textAlign:"center"})),Wn=styled("img")(()=>({width:"2rem",height:"2rem"})),Mn=styled(Button)(({theme:e})=>({padding:" 0.625rem 1rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.5rem",backgroundColor:alpha(e.palette.info.dark,.1),borderRadius:"0.25rem",color:e.palette.info.dark,"&:hover":{backgroundColor:alpha(e.palette.info.dark,.1),color:e.palette.info.dark},width:"6rem",height:"1.8rem",marginTop:"1.5rem"})),Dn=styled("p")(({theme:e})=>({color:e.palette.info.dark,fontSize:"0.8rem",fontWeight:600,textTransform:"none"}));function pl({triggerDataRefetch:e,heading:t,message:o,shouldMinimizeWidth:r,sandboxMode:n,hideIcon:a,hideTryAgain:l,...s}){let{t:i}=useTranslation();return jsx(Vn,{sandboxMode:n,...s,children:jsxs(Ln,{shouldMinimizeWidth:r,children:[!a&&jsx(Wn,{src:F,alt:"info icon"}),jsx(kn,{children:i(t)}),jsx(vn,{children:i(o)}),!l&&jsx(Mn,{variant:"contained",onClick:()=>{e();},children:jsx(Dn,{children:i("tryAgain")})})]})})}var oe=pl;var Vt=oe;var Fn=styled$1("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0})),Hn=styled$1("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,marginTop:3,opacity:.5})),Bn=styled$1(Ce,{shouldForwardProp:e=>e!=="sandboxMode"})(({theme:e,sandboxMode:t})=>({display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"center",alignItems:"center",textAlign:"center",background:t?e.palette.common.lightOrange:e.palette.grey[300],backdropFilter:"blur(32px)",gap:"0.5rem"})),go=styled$1("img")(()=>({width:"2rem",height:"2rem"}));function zn({sandboxMode:e,heading:t,message:o,...r}){let{t:n}=useTranslation();return jsxs(Bn,{component:"section","data-testid":"EmptyList",sandboxMode:e,...r,children:[jsx(go,{src:Fh,alt:"empty container"}),jsx(Fn,{children:n(t)}),jsx(Hn,{children:n(o)})]})}zn.displayName="EmptyList";var kt=memo(zn);var _n=kt;var gl=e=>{let{isTimeoutError:t,tableError:o,triggerDataRefetch:r,sandboxMode:n,tableEmpty:a,error:l}=e;if(t)return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:r,sandboxMode:n});let s=l;if(o){let{formatted:i,message:p,code:d}=dc({error:s,fallbackMessage:"connectionErrorMsg"}),u$1=Ab()&&d===u;return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u$1?p:i,triggerDataRefetch:r,sandboxMode:n,hideIcon:u$1,hideTryAgain:u$1})}if(a){let{formatted:i}=dc({error:s,fallbackMessage:"tryAdjustingTheDateOrFilters"});return jsx(_n,{sandboxMode:n,heading:"nothingFound",message:i})}return jsx(Vt,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:r,sandboxMode:n})},Co=memo(gl);function An({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){return n?jsx(De,{"data-testid":"VirtualTable_SolidBackground",children:jsx(ho,{"data-testid":"VirtualTable_TableLoading",columns:a,isLoading:true})}):jsx(Co,{isTimeoutError:o,tableEmpty:t,tableError:r,sandboxMode:s?.sandboxMode,error:e,triggerDataRefetch:l})}An.displayName="TableNoData";var Je=memo(An);function yo(){return jsx(motion.div,{initial:{width:0},animate:{width:"fit-content",transition:{duration:.5}},exit:{width:0},style:{paddingInline:"11px",paddingBlock:"5px",boxShadow:"0px 0px 1px 0px rgba(0, 0, 0, 0.10), 0px 1px 1px 0px rgba(0, 0, 0, 0.09), 0px 2px 1px 0px rgba(0, 0, 0, 0.05), 0px 4px 2px 0px rgba(0, 0, 0, 0.01), 0px 7px 2px 0px rgba(0, 0, 0, 0.00)",borderRadius:"24px",overflow:"hidden",display:"inline-block",whiteSpace:"nowrap"},children:jsxs(motion.span,{style:{color:"#8F9195",fontSize:"12px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:"10px"},children:[jsx(motion.span,{children:"!"}),jsx(motion.span,{children:"Error while loading"})]})})}function Rl({row:e,columns:t,index:o,rowProps:r,isSheetView:n,selectedCell:a=null,selectedColumn:l=null,selectedRow:s=null,selectedChip:i=null,onCellClick:p,isLastRow:d=false,onChipClick:u,selection:c,hasAdjacentCheckedAbove:T,hasAdjacentCheckedBelow:m}){let b=c?e[c.selector]:void 0,f=c&&c.ids.includes(b),x=c?.isDisabled?.(e),h=ze.useCallback(()=>{!c||x||c.setIds(f?c.ids.filter(g=>g!==b):[...c.ids,b]);},[c?.setIds,c?.ids,f,x,b]),y=ze.useCallback((g,R)=>(k,C)=>{u?.(o,g,k,C,R);},[u,o]),w=ze.useCallback((g,R,k)=>{let{render:C,format:v,selector:I}=g;if(!g?.id||!e)return null;let V=I?I({row:e,index:o,value:e[g?.id]}):e[g?.id],L=v?v({value:V,row:e,index:o}):V;return C?C({row:e,column:g,index:o,value:e[g?.id],selectionProps:{onClick:y(k,g.pinned),rowIndex:R,colIndex:k,selectedId:i}}):jsx(Fragment,{children:L})},[e,o,i,y]),E=a!==null||l!==null||s!==null,P=ze.useCallback((g,R)=>k=>{p?.(o,g,k,R);},[p,o]),S=useMemo(()=>{let g=t[0]?.id,R=t[t.length-1]?.id,k=s===o;return jsx(Fragment,{children:t.map((C,v)=>{if(!C?.id)return null;let I=`${C.pinned??"default"}-${o}-${v}`,V=`${C.pinned??"default"}-${v}`,L=E&&a===I,M=E&&l===V,F=uc({isSelected:E&&(L||M||k),isCellSelected:L,isColumnSelected:M,isRowSelected:k,isLastRow:d}),N=C.id===g,G=C.id===R,W=C.pinned?N:N&&C.pinned!=="start",_=C.pinned?G:G&&C.pinned!=="end",U=k&&E?vc({effectiveFirst:W,isPinnedStart:C.pinned==="start",isPinnedEnd:C.pinned==="end"}):{},B=C.pinned==="start"&&W;return jsx(Se,{component:"div","data-testid":"TableRow_TableCell","data-column-id":C.id,"data-column-width":C.width,"data-column-width-used":C.width,"data-column-align":C.align,"data-column-order":C.order,"data-column-header":typeof C.header=="string"?C.header:"component","data-column-sortable":!!C.sortable,"data-column-filterable":!!C.filter,isFirst:W,isLast:_,onClick:P(v,C.pinned),sx:{width:C.width,minWidth:C.width,textAlign:C.align,justifyContent:wc[B?"center":C.align??"left"],cursor:p?"pointer":"default",...F,...U,...C.cellStyle},isSheetView:n,isSelected:L,children:n?jsx(Box,{sx:{position:"relative",zIndex:1,width:"100%"},children:w(C,o,v)}):jsx(Fragment,{children:w(C,o,v)})},`${C.id}-${v}`)})})},[t,e,o,a,l,s,E,p,d,i,n,w,P]);return createElement(Rt,{"data-testid":"TableRow",onClick:r?.onRowClick,showShadowHighlight:r?.showShadowHighlight,showLoadedStyle:r?.showLoadedStyle,component:"article",...r,key:o,isSheetView:n,isChecked:f,adjacentAbove:T,adjacentBelow:m},c&&jsx(Et,{isRow:true,size:"small",checked:f,onChange:h,disabled:x}),S)}var Ro=memo(Rl,areEqual);var Ml=styled(Ja)(()=>({backgroundColor:"#F4F4F4",borderRadius:"64px",width:"100%",minWidth:"20px"}));function Dl({columns:e,style:t,index:o,animationType:r,rowIndex:n=0,useTableBackground:a=false}){let l=useTheme();return jsx(La,{sx:{...t,display:"flex",borderBottom:"1px solid #F2F2F2",minHeight:"28px",height:"28px",alignItems:"center",backgroundColor:a?l.palette.background.default:"transparent","&:hover":{backgroundColor:"transparent !important"}},component:"div",hover:true,children:e.map((s,i)=>{let p=i===e.length-1,d=i===0,u=s.pinned==="start",c=d&&u;return jsx(Qa,{sx:{width:s.width||`${100/e.length}%`||"20%",paddingBlock:"0",paddingInline:"8px !important",paddingLeft:"8px !important",paddingRight:"8px !important",borderRight:p?"none":"1px solid #F2F2F2",borderLeft:d?"1px solid #F2F2F2":"none",height:"100%",display:"flex",alignItems:"center",boxSizing:"border-box",whiteSpace:"nowrap",overflow:"hidden"},component:"div",children:c&&s.render?s.render({index:n,row:{},column:s,value:n+1}):jsx(Ml,{variant:"rectangular",animation:r,height:16})},`${s.id}-${i}`)})},o)}var Ze=memo(Dl,areEqual);var Bl=ze.memo(({isLoadingRow:e,isSheetView:t,columns:o,currentRowCount:r})=>{let{t:n}=useTranslation();return e?t&&o?.length?jsx(Fragment,{children:Array.from({length:3},(a,l)=>jsx(Ze,{columns:o,animationType:"wave",rowIndex:(r||0)+l,useTableBackground:true},`loading-row-${l}`))}):jsxs(Box,{"data-testid":"ListItemWrapper_lastRowContent_isLoadingRow",sx:{height:t?"100%":"24px",width:"24px",borderRadius:"50%",background:"transparent",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"},children:[jsx(ao,{sx:{position:"absolute"},src:ai$1}),jsx(ao,{sx:{position:"absolute",padding:"3px"},src:gi$1,alt:"tableLoadingSpinnerIcon",className:"spinner-loader",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}})]}):jsx(uo,{"data-testid":"ListItemWrapper_lastRowContent",children:n("allRecordsHaveBeenSuccessfullyLoaded")})}),zl=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},_l=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"&&e!=="isSheetView"})(({theme:e,isSheetView:t})=>({height:t?28:"100%",backgroundColor:e.palette.background.default}));function Al({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,columns:a,isLoading:l,scrollToIndex:s,newLoadedRowsEndIndex:i,isError:p,areAllRowsLoaded:d,isSheetView:u,isPinned:c=false,isLoadMoreLoading:T=false,...m}}){let b=r.length-1,{hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x}=ze.useMemo(()=>{let R=m.selection;if(!R)return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let k=r[e]?.[R.selector];if(!R.ids.includes(k))return {hasAdjacentCheckedAbove:false,hasAdjacentCheckedBelow:false};let v=e>0?r[e-1]?.[R.selector]:void 0,I=e<b?r[e+1]?.[R.selector]:void 0;return {hasAdjacentCheckedAbove:v!==void 0&&R.ids.includes(v),hasAdjacentCheckedBelow:I!==void 0&&R.ids.includes(I)}},[m.selection?.ids,m.selection?.selector,r,e,b]),h=r[e],y=l&&e===b+1,w=e<=i,E=ze.useCallback(()=>zl(h,n?.onRowClick),[h,n?.onRowClick]),P=ze.useMemo(()=>({showShadowHighlight:s===e,showLoadedStyle:w,...n,onClick:E}),[s,e,w,n,E]),S=ze.useCallback(R=>jsx(Box,{sx:{minHeight:28,height:"100%",width:"100%"},children:p?jsx(yo,{}):R}),[p]),g=ze.useMemo(()=>{let R=jsx(Bl,{isSheetView:u,isLoadingRow:y,columns:a,currentRowCount:r.length}),k=y||d&&e===b+1;return c&&k?u&&y&&a&&a.length>0?S(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},backgroundColor:"#F6F8FACC"}}):k?u&&y&&a&&a.length>0?S(R):jsx(Box,{sx:{...u?{minHeight:28,height:"100%"}:{height:57},display:"flex",justifyContent:"center",alignItems:"center"},children:jsx(Box,{sx:{backgroundColor:"#F6F8FACC",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},children:p?jsx(yo,{}):R})}):jsx(Ro,{index:e,row:h,columns:a,rowProps:P,isSheetView:u,isLastRow:e===r.length-1,isFirstRow:e===0,isLoading:l,isLoadMoreLoading:T,hasAdjacentCheckedAbove:f,hasAdjacentCheckedBelow:x,...m},`row-${e}`)},[m,e,h,a,P,u,y,p,d,b,c,r.length,S,T]);return jsx("div",{"data-testid":"ListItemWrapper",style:{...t,top:Number(t.top)-(o?.current??0),willChange:"top"},children:jsx(_l,{"data-testid":"ListItemWrapper_StyledItemWrapper",isSheetView:u,children:g})})}var Dt=Al;var Yl=jl((e,t,o,r,n,a,l,s,i,p,d)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,isSheetView:p,selection:d}));function Jl({columns:e,rows:t,threshold:o=200,showHeader:r,headerProps:n,rowProps:a,footerProps:l,isLoading:s,error:i,columnsSorting:p,onColumnSort:d,loadMoreItems:u,isFetchingNextPage:c$1,triggerDataRefetch:T,scrollToIndex:m,areAllRowsLoaded:b=false,tableBodyStyles:f,tableMode:x,tableTitle:h,onStartDrag:y,isSheetView:w=false,isMinimized:E,footerComponent:P,customNoDataComponent:S,defaultSkeleton:g=false,selection:R,isFilterEnabled:k}){let C=useTheme(),v=z=>{y?.(z);},I=c({value:c$1,delay:1e3}),[V,L]=useState(false),[M,D]=useState("INITIAL_KEY");useEffect(()=>{let z=`${l?.maximized}-${E}`,J=requestAnimationFrame(()=>D(z));return ()=>cancelAnimationFrame(J)},[l?.maximized,E]);let F=ac(i),N=s??true,G=!s&&t.length===0&&F&&!cc(i),W=!s&&t.length===0,_=bc(i),U=t.length-1,B=useMemo(()=>Fc(e,s??false,g),[e,s,g]),H=useMemo(()=>B.filter(z=>!z.hidden),[B]),ne=useMemo(()=>H.sort((z,J)=>(z?.order??1e6)-(J?.order??1e6)),[H]),Ne=useMemo(()=>R?R.isDisabled?t.filter(z=>!R.isDisabled(z)).length:t.length:0,[t,R?.isDisabled]),$t=useCallback(()=>R?(R.isDisabled?t.filter(J=>!R.isDisabled(J)):t).map(J=>J[R.selector]):[],[t,R?.isDisabled,R?.selector]),K=cb(t.length)&&!N,ie=I||b&&!K?t.length+1:t.length,$e=Yl(ne,I,t,a,m,U,l?.totalCount??0,F,b&&!K,w,R),ae=w?28:57,he=useRef(null);useEffect(()=>{he.current&&typeof he.current.resetAfterIndex=="function"&&he.current.resetAfterIndex(0,true);},[w,ae]);let Ut=useMemo(()=>{let z=ge=>{L(ge);};return jsx(Kl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:ge=>ge!==U,itemCount:ie,loadMoreItems:async()=>{b||await u?.();},threshold:o,children:({onItemsRendered:ge,ref:Xt})=>jsx(Gl,{ref:Xt,"data-testid":"VirtualTable_AutoSizer",children:({height:nt,width:it})=>jsx(Fe,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:$e,height:K?ie*ae:nt||0,width:it||0,itemCount:ie,itemSize:()=>ae,onItemsRendered:ge,setBackdropVisibility:z,areTotalRowsNotFillingHeight:K,scrollToIndex:m,overscanCount:5,isSheetView:w,listRef:he,style:{paddingBottom:"13px"},children:Dt})},M)})},[U,u,o,b,K,ie,ae,w,$e,m,M]),X=N||G||W||_;return jsxs(Fragment,{children:[jsx(It,{children:jsxs(te,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":h,"data-direction":C.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!c$1,"data-scroll-to-index":m,"data-is-loading":!!s,"data-is-error":!!F,"data-is-error-timeout":!!_,"data-table-mode":x,height:"100%",dir:C.direction,showNoDataView:X,scrollable:true,children:[jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:X,compact:!X&&K,sx:{...f},children:[r&&jsx(mo,{"data-testid":"VirtualTable_TableHeader",columnsSorting:p,onColumnSort:d,columns:ne,headerProps:n,showBackDrop:V,isSheetView:w,totalCount:l?.totalCount??0,selection:R,selectableCount:Ne,getSelectableKeys:$t,isFilterEnabled:k}),X?S||jsx(Je,{error:i,tableEmpty:W,isTimeoutError:_,tableError:G,tableLoading:N,orderedColumns:ne,triggerDataRefetch:T,footerProps:l}):jsx(A,{"data-testid":"VirtualTable_TableWrapper",fixedHeight:K?ie*ae:void 0,sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"VirtualTable_StyledBox",hidePadding:true,className:"list-wrapper",children:Ut})})]}),!X&&K&&!c$1&&jsx(co,{height:(ie+1)*ae,sandboxMode:l?.sandboxMode,"data-testid":"VirtualTable_TableLastItem"})]})}),l&&jsx(b$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:V,onPointerDown:v,selectedCount:R?.ids.length,...l}),P]})}var Zl=memo(Jl);var Xn=b(Pt(),1);function ns({style:e,index:t,cardLoadingComponent:o}){return jsx(La,{sx:{...e,display:"flex",padding:0,"&:hover":{backgroundColor:"transparent !important"}},component:"div",children:jsx(Qa,{sx:{padding:0,flex:1},component:"div",children:o})},t)}var Po=memo(ns,areEqual);var ls=styled("section")(({isLoaded:e=false})=>({overflow:"hidden",paddingInline:"32px",backgroundColor:e?"rgba(255, 255, 255, 0.60)":"none",filter:e?"blur(8px)":"none",marginTop:e?"1rem":"0.2rem"}));function ss({isLoaded:e=false,isLoading:t=false,rowsCount:o,cardLoadingComponent:r}){let n=o||bb(e,t);return n=n>0?n:5,jsx(ls,{isLoaded:e,"data-testid":"TableLoadingWithCard",children:[...Array(n)].map(()=>jsx(Po,{cardLoadingComponent:r},`i-${(0, Xn.default)("TableLoadingRow_")}`))})}var Vo=memo(ss);function qn({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,triggerDataRefetch:a,footerProps:l,cardLoadingComponent:s,noDataComponent:i}){let p;if(n)p=jsx(De,{"data-testid":"VirtualTable_SolidBackground",children:jsx(Vo,{"data-testid":"VirtualTable_TableLoading",isLoading:true,cardLoadingComponent:s})});else if(o)p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});else if(r){let d=e,{formatted:u}=dc({error:d,fallbackMessage:"connectionErrorMsg"});p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:u,triggerDataRefetch:a,sandboxMode:l?.sandboxMode});}else t?p=i:p=jsx(oe,{"data-testid":"VirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:a,sandboxMode:l?.sandboxMode});return p}qn.displayName="TableNoDataWithCard";var Lo=memo(qn);function us({row:e,index:t,rowProps:o,renderCardComponent:r}){return createElement(Rt,{"data-testid":"TableRow",onClick:o?.onRowClick,showShadowHighlight:o?.showShadowHighlight,showLoadedStyle:o?.showLoadedStyle,component:"article",...o,key:t},r&&jsx(r,{...e}))}var ko=memo(us,areEqual);var hs=(e,t)=>o=>{o?.stopPropagation?.(),t?.(e);},gs=styled("div",{shouldForwardProp:e=>e!=="showShadowHighlight"})(({theme:e})=>({backgroundColor:e.palette.background.default,height:"100%"}));function xs({index:e,style:t,data:{renderedScrollTopRef:o,rows:r,rowProps:n,isLoading:a,scrollToIndex:l,newLoadedRowsEndIndex:s,areAllRowsLoaded:i,renderCardComponent:p}}){let d=r.length-1,u=r[e],c=a&&e===d+1,T=e<=s,m=ze.useCallback(hs(u,n?.onRowClick),[u,n?.onRowClick]),b=ze.useMemo(()=>({showShadowHighlight:l===e,showLoadedStyle:T,...n,onClick:m}),[l,e,T,n,m,c,i,d]),f=ze.useMemo(()=>jsx(ko,{index:e,row:u,renderCardComponent:p,rowProps:b},`row-${e}`),[e,u,b]);return jsx("div",{"data-testid":"ListCardWrapper",style:{...t,top:Number(t.top)-o.current,willChange:"top"},children:jsx(gs,{"data-testid":"ListCardWrapper_StyledItemWrapper",children:f})})}var Mo=xs;var Ps=jl((e,t,o,r,n,a,l,s,i)=>({isLoading:e,rows:t,rowProps:o,scrollToIndex:r,totalCount:a,lastItemIndex:n,isError:l,areAllRowsLoaded:s,renderCardComponent:i}));function Vs({rows:e,threshold:t=200,rowProps:o,footerProps:r,rowHeight:n=57,isLoading:a,error:l,tableHeader:s,loadMoreItems:i,isFetchingNextPage:p,triggerDataRefetch:d,scrollToIndex:u,areAllRowsLoaded:c$2=false,tableBodyStyles:T,tableMode:m,tableTitle:b,renderCardComponent:f,cardLoadingComponent:x,tableHeight:h,tableHeaderHeight:y,noDataComponent:w,onStartDrag:E}){let P=useTheme(),S=_=>{E?.(_);},g=c({value:p,delay:1e3}),[R,k]=useState(false),C=ac(l),v=a??true,I=!a&&e.length===0&&C&&!cc(l),V=!a&&e.length===0,L=bc(l),M=e.length-1,D=cb(e.length)&&!v,F=g||c$2&&!D?e.length+1:e.length,N=Ps(g,e,o,u,M,r?.totalCount??0,C,c$2&&!D,f),G=useMemo(()=>{let _=B=>{k(B);};return jsx(Kl,{"data-testid":"VirtualTable_InfiniteLoader",isItemLoaded:B=>B!==M,itemCount:F,loadMoreItems:async()=>{c$2||await i?.();},threshold:t,children:({onItemsRendered:B,ref:H})=>jsx(Ce,{sx:{height:`${h-(y??0)}px`},id:"auto-sizer-wrapper",children:jsx(Gl,{ref:H,"data-testid":"VirtualTable_AutoSizer",children:({height:ne,width:Ne})=>jsx(Fe,{"data-testid":"VirtualTable_VirtualList",useIsScrolling:true,className:"list",itemData:N,height:ne||0,width:Ne||0,itemCount:F,itemSize:()=>n,onItemsRendered:B,setBackdropVisibility:_,areTotalRowsNotFillingHeight:D,scrollToIndex:u,overscanCount:5,children:Mo})})})})},[l,a,M,i,n,e,o,I,v,t,g,c$2,D,F]),W=v||I||V||L;return jsxs(Fragment,{children:[jsx(It,{children:jsx(bn,{as:"main",id:"table-box-container","aria-labelledby":"table-box-container","data-testid":"VirtualTable_StyledTableBox","data-title":b,"data-direction":P.direction,"data-are-all-rows-loaded":!!c$2,"data-is-fetching-next-page":!!p,"data-scroll-to-index":u,"data-is-loading":!!a,"data-is-error":!!C,"data-is-error-timeout":!!L,"data-table-mode":m,dir:P.direction,showNoDataView:W,sx:{height:`${h}px !important`},children:jsxs(A,{"data-testid":"VirtualTable_TableWrapper",showNoDataView:W,sx:{...T},children:[s,W?jsx(Lo,{error:l,tableEmpty:V,isTimeoutError:L,tableError:I,tableLoading:v,triggerDataRefetch:d,footerProps:r,cardLoadingComponent:x,noDataComponent:w}):G]})})}),jsx(c$1,{"data-testid":"VirtualTable_TableFooter",showSeparator:true,showBackDrop:R,onPointerDown:S,sx:{marginTop:"-37px"},...r})]})}var Ls=memo(Vs);var Bb=styled("img")(()=>({width:"13.3px",height:"13.3px"})),zb=styled("img")(()=>({width:"8px",height:"6.4px",cursor:"pointer",marginTop:"2px"})),Gn=styled("span")(({theme:e})=>({color:e.palette.text.primary,textOverflow:"ellipsis",width:"80%",overflow:"hidden",fontSize:"12px",fontWeight:600})),Kn=styled("div")(()=>({width:"16px",height:"auto",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"2px",padding:"2px",transition:"all 0.2s ease"})),Yn=styled(Ha,{shouldForwardProp:e=>e!=="showBackDrop"})(({showBackDrop:e,theme:t})=>({flex:"0 0 auto",boxShadow:e?t.shadows[23]:"none",backgroundColor:t.palette.background.default,zIndex:1,width:"100%",minWidth:"auto",overflowX:"auto"})),Jn=styled(La)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",width:"100%",minWidth:"fit-content",height:"28px",backgroundColor:e.palette.primary.light})),Do=styled("div")({display:"flex",width:"100%",height:"100%",overflow:"hidden",borderRadius:"12px"}),Zn=styled("div")(({theme:e})=>({width:"auto",zIndex:10,flex:"0 0 auto",minWidth:0,display:"flex",flexDirection:"column",position:"relative",backgroundColor:e.palette.primary.light,borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",overflow:"hidden"})),Qn=styled(Zn)({boxShadow:"4px 0px 24px 0px #00000014",borderLeft:"1px solid #F2F2F2",borderRight:"none",borderTopLeftRadius:"12px",borderBottomLeftRadius:"12px"}),ei=styled(Zn)({boxShadow:"-4px 0px 24px 0px #00000014",borderRight:"1px solid #F2F2F2",borderLeft:"none",borderTopRightRadius:"12px",borderBottomRightRadius:"12px"}),Ft=styled("div",{shouldForwardProp:e=>e!=="hasPinnedStart"&&e!=="hasPinnedEnd"})(({hasPinnedStart:e,hasPinnedEnd:t})=>({flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",borderTop:"1px solid #F2F2F2",borderBottom:"1px solid #F2F2F2",borderLeft:e?"none":"1px solid #F2F2F2",borderRight:t?"none":"1px solid #F2F2F2",position:"relative",scrollbarWidth:"auto",overflow:"hidden",borderTopLeftRadius:e?"0":"12px",borderBottomLeftRadius:e?"0":"12px",borderTopRightRadius:t?"0":"12px",borderBottomRightRadius:t?"0":"12px"})),_e=styled("div")({flexShrink:0,height:"auto",overflow:"auto"});var Fo=(e,t,o)=>{let[r,n]=useState(()=>{let m=t?e.filter(f=>f.pinned==="start").map(f=>f.id):[],b=e.filter(f=>f.isDefaultPinned&&f.pinned!=="end").map(f=>f.id);return Array.from(new Set([...b,...m]))}),[a,l]=useState(()=>{let m=e.filter(h=>h.isDefaultPinned&&h.pinned==="end").map(h=>h.id);if(!t)return m;let b=e.filter(h=>h.pinned==="end").map(h=>h.id),f=e.filter(h=>!h.hidden),x=f[f.length-1];return b.length===0&&x&&!x.pinned&&!x.isDefaultPinned?[x.id]:b}),s=useCallback((m,b="start")=>{if(!t)return;let f=[...r],x=[...a];b==="unpin"?(f=f.filter(y=>y!==m),x=x.filter(y=>y!==m)):b==="start"?(f=[...f.filter(y=>y!==m),m],x=x.filter(y=>y!==m)):b==="end"&&(x=[...x.filter(y=>y!==m),m],f=f.filter(y=>y!==m)),n(f),l(x);let h=f.includes(m)||x.includes(m);o?.(m,h);},[r,a,o,t]),i=useMemo(()=>e.filter(m=>!m.hidden),[e]),{pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u}=useMemo(()=>{let m=i.filter(w=>r.includes(w.id)),b=i.filter(w=>a.includes(w.id)),f=i.filter(w=>!r.includes(w.id)&&!a.includes(w.id)),x=m.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6)),h=b.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6)),y=f.sort((w,E)=>(w?.order??1e6)-(E?.order??1e6));return {pinnedStartColumnsData:x,pinnedEndColumnsData:h,unpinnedColumnsData:y}},[i,r,a]),c=useMemo(()=>[...p,...u,...d],[p,u,d]),T=useMemo(()=>{let m=c[c.length-1];return m?m.id:null},[c]);return {pinnedStartColumns:r,pinnedEndColumns:a,handleColumnPin:s,pinnedStartColumnsData:p,pinnedEndColumnsData:d,unpinnedColumnsData:u,orderedColumns:c,lastColumnId:T}};var Ho=()=>{let e=useRef(null),t=useRef(null),o=useRef(null),r=useRef(false),n=useCallback(({scrollOffset:a},l)=>{r.current||(r.current=true,l!=="start"&&e.current&&e.current.scrollTo(a),l!=="end"&&o.current&&o.current.scrollTo(a),l!=="scrollable"&&t.current&&t.current.scrollTo(a),requestAnimationFrame(()=>{r.current=false;}));},[]);return {pinnedStartVirtualListRef:e,scrollableVirtualListRef:t,pinnedEndVirtualListRef:o,handleScroll:n}};var Bo=()=>{let[e,t]=useState(null),[o,r]=useState(null),[n,a]=useState(null),[l,s]=useState(null),[i,p]=useState(false),d=useCallback((m,b,f,x,h)=>{f.stopPropagation();let y=`${h??"default"}-${m}-${b}-${x}`,w=`${h??"default"}-${m}-${b}`;if(n===y){a(null),t(null);return}a(y),t(w),s(null);},[n,a,t,s]),u=useCallback((m,b,f,x)=>{if(f.stopPropagation(),x==="start"&&b===0){s(y=>y===m?null:m),t(null),r(null),a(null);return}let h=`${x??"default"}-${m}-${b}`;t(y=>y===h?null:h),r(null),a(null),s(null);},[l]),c=useCallback((m,b,f)=>{b.stopPropagation();let x=`${f??"default"}-${m}`;r(h=>h===x?null:x),t(null),a(null),s(null);},[]),T=useCallback(()=>{t(null),r(null),a(null),s(null);},[]);return {selectedCell:e,selectedColumn:o,selectedRow:l,showBackDrop:i,selectedChip:n,setShowBackdrop:p,handleChipClick:d,handleCellClick:u,handleColumnClick:c,resetSelection:T}};var Fs=e=>e!==null&&"isAxiosError"in e&&e.isAxiosError===true,zo=({rows:e,isLoading:t,error:o,isFetchingNextPage:r,areAllRowsLoaded:n})=>{let a=c({value:r,delay:1e3}),l=useMemo(()=>{let i=ac(o||null),p=t??true,d=o&&Fs(o)?o:null,u=!t&&e.length===0&&i&&!cc(d),c=!t&&e.length===0,T=bc(d);return {isError:i,tableLoading:p,tableError:u,tableEmpty:c,hasTimeoutError:T,showNoDataView:p||u||c||T}},[e.length,t,o]),s=useMemo(()=>{let i=e.length-1,p=cb(e.length)&&!l.tableLoading,d=(a??false)||n?e.length+1:e.length;return {lastItemIndex:i,areTotalRowsNotFillingHeight:p,itemsCount:d}},[e.length,l.tableLoading,a,n]);return {...l,...s,isDelayedFetchingNextPage:a??false}};var Bs=jl((e,t,o,r,n,a,l,s,i,p,d,u,c,T,m,b,f,x)=>({columns:e,isLoading:t,rows:o,rowProps:r,scrollToIndex:n,totalCount:l,lastItemIndex:a,isError:s,areAllRowsLoaded:i,limit:l,newLoadedRowsEndIndex:a,isSheetView:true,isPinned:p,selectedCell:d,selectedColumn:u,selectedRow:c,selectedChip:T,onCellClick:m,onChipClick:b,containerHeight:f,rowHeight:x})),_o=({rowHeight:e,areAllRowsLoaded:t,rows:o,isDelayedFetchingNextPage:r,rowProps:n,scrollToIndex:a,footerProps:l,isError:s,selectedCell:i,selectedColumn:p,selectedRow:d,selectedChip:u,handleCellClick:c,handleChipClick:T})=>{let m=useCallback((h,y)=>{if(t&&h===o.length){let E=o.length*e,P=y-E,S=e*2;return Math.max(P,S)}return e},[t,o.length,e]),b=useMemo(()=>[r,o,n,a,o.length-1,l?.totalCount??0,s,t],[r,o,n,a,l?.totalCount,s,t]),f=useMemo(()=>[i,p,d,u,c,T],[i,p,d,u,c,T]),x=useCallback((h,y,w)=>Bs(h,...b,y,...f,w,e),[b,f,e]);return {getItemSize:m,getItemDataForContainer:x}};var zs=(e,t)=>{let o=useMemo(()=>e.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[e]),r=useMemo(()=>t.reduce((n,a)=>{let l=typeof a.width=="string"?parseInt(a.width):a.width||100;return n+l},.2),[t]);return {pinnedStartColumnsWidth:o,pinnedEndColumnsWidth:r}};var Ao=({tableContainerRef:e,showHeader:t,isResizing:o})=>{let[r,n]=useState({top:0,height:0});return useEffect(()=>{let a=()=>{if(e.current){let l=e.current.getBoundingClientRect(),s=t?28:0;n({top:l.top+s,height:l.height-s});}};if(a(),o){let l=()=>a();return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)}},[o,t,e]),r};var ai=styled("div",{shouldForwardProp:e=>e!=="isResizing"&&e!=="isLast"})(({isLast:e})=>({position:"absolute",top:0,right:e?-10:-11,width:20,height:"100%",backgroundColor:"transparent",zIndex:100001,display:"flex",alignItems:"center",justifyContent:"center"})),li=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="height"&&e!=="top"})(({isVisible:e,x:t,height:o,top:r})=>({position:"fixed",left:t,top:r,width:1,height:`calc(${o}px - 14px)`,backgroundColor:"#1F88D0",zIndex:9999,pointerEvents:"none",opacity:e?1:0,transition:"opacity 0.1s ease","&::before":{content:'""',position:"absolute",left:-1,top:0,width:1,height:"100%"}})),_t=styled("div",{shouldForwardProp:e=>e!=="isVisible"&&e!=="x"&&e!=="y"&&e!=="offsetX"})(({isVisible:e,x:t,y:o,offsetX:r=0})=>({position:"fixed",left:t+r-8,top:o,width:20,height:16,backgroundImage:`url(${Rj})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",zIndex:1e5,pointerEvents:"none",display:e?"block":"none",transform:"translate(-50%, -50%)"}));function Us({columnId:e,onStartResize:t,isResizing:o,isLast:r=false}){let[n,a]=useState(false),[l,s]=useState({x:0,y:0}),i=useRef(null),p=useCallback(()=>{let m=i.current?.getBoundingClientRect();m&&s({x:m.right,y:m.top+m.height/2});},[]),d=useCallback(()=>{o||(a(true),p());},[o,p]),u=useCallback(()=>{!o&&n&&p();},[o,n,p]),c=useCallback(()=>{a(false);},[]);return jsxs(Fragment,{children:[jsx(ai,{ref:i,isResizing:o,isLast:r,onMouseDown:m=>{m.stopPropagation(),m.preventDefault(),a(false),t(m,e);},onMouseEnter:d,onMouseMove:u,onMouseLeave:c,"data-testid":`column-resize-handle-${e}`}),createPortal(jsx(_t,{isVisible:n&&!o,x:l.x,y:l.y,offsetX:-2}),document.body)]})}var No=memo(Us);function Ks({isVisible:e,indicatorX:t,indicatorHeight:o,indicatorTop:r,iconX:n,iconY:a}){return e?createPortal(jsxs(Fragment,{children:[jsx(li,{isVisible:e,x:t,height:o,top:r,"data-testid":"column-resize-indicator"}),jsx(_t,{isVisible:e,x:n,y:a,offsetX:8,"data-testid":"floating-resize-icon"})]}),document.body):null}var $o=memo(Ks);var Zs=e=>{if(!e||typeof e!="object")return false;let t=e;return "width"in t&&p(t.width)},Qs=e=>!e||typeof e!="object"?false:Object.values(e).every(Zs),ed=e=>!e||typeof e!="object"?false:Object.values(e).every(Qs),mi=e=>!e||typeof e!="object"?false:Object.values(e).every(ed),ui=()=>{try{let e=ya();if(!e)return {};let t=e;return mi(t)?t:(console.warn("Invalid column settings in localStorage"),{})}catch(e){return console.warn("Failed to get sheetview columns:",e),{}}},td=e=>{if(!mi(e))return console.warn("Invalid data structure for sheetview columns"),false;try{return xa(e),!0}catch(t){return console.warn("Failed to save sheetview columns:",t),false}},ci=(e,t,o,r)=>{if(!jb(e)||!jb(t)||!jb(o))return r;try{return ui()[e]?.[t]?.[o]?.width??r}catch(n){return console.warn("Failed to get column width:",n),r}},fi=(e,t,o,r)=>{if(!jb(e)||!jb(t)||!jb(o)||!p(r))return console.warn("Invalid parameters for setColumnWidth"),false;try{let n=ui();return n[e]||(n[e]={}),n[e][t]||(n[e][t]={}),n[e][t][o]?n[e][t][o].width=r:n[e][t][o]={width:r},td(n)}catch(n){return console.warn("Failed to set column width:",n),false}};var ye={MIN_WIDTH:25,MAX_WIDTH:1500,DEFAULT_WIDTH:100};var bi=e=>{if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?ye.DEFAULT_WIDTH:t}return e||ye.DEFAULT_WIDTH},Uo=e=>Math.max(ye.MIN_WIDTH,Math.min(ye.MAX_WIDTH,e)),j=e=>{let t=String(e.id);return e.tableViewId?`${t}_${e.tableViewId}`:t},Xo=(e,t)=>e.map(o=>{let r=j(o);return {...o,width:t[r]||o.width}}),hi=(e,t)=>{e.current&&(document.removeEventListener("mousemove",e.current),e.current=void 0),t.current&&(document.removeEventListener("mouseup",t.current),t.current=void 0),document.body.style.cursor="",document.body.style.userSelect="";},od=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=i.current-o,u=Uo(t+d);l(c=>({...c,columnWidths:{...c.columnWidths,[e]:u},isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),r&&n&&(fi(r,n,String(e),u)||console.warn(`Failed to persist column width for ${e}`)),a?.(e,u),p.stopPropagation(),p.preventDefault(),s();}catch(d){console.error("Error in mouse up handler:",d),s();}},gi=(e,t,o,r,n,a,l,s,i)=>p=>{try{let d=p.clientX;if(r?.current){let c=r.current.getBoundingClientRect(),T=c.left,m=c.right;a==="start"&&n===1&&(m=m-38),d=Math.max(T,Math.min(m,p.clientX));}l&&(l.current=d);let u=d;if(s&&i){let c=s.current-i.current+ye.MIN_WIDTH;d<c&&(u=c);}e(c=>({...c,resizeIndicatorX:u})),t({x:u,y:o.current});}catch(d){console.error("Error in mouse move handler:",d);}},xi=(e,t)=>e[t]||ye.DEFAULT_WIDTH,Ci=(e,t,o,r,n,a,l)=>(s,i,p)=>d=>{od(s,i,p,e,t,o,r,n,l)(d),setTimeout(()=>{a.current=false;},0);};var qo=({columns:e,onColumnResize:t,handleColumnClick:o,windowId:r,serviceCode:n,tableContainerRef:a})=>{let l=useMemo(()=>e.reduce((I,V)=>{let L=j(V),M=bi(V.width),D=M;if(r&&n)try{D=ci(r,n,L,M)??M;}catch(F){console.warn(`Failed to load stored width for column ${L}:`,F),D=M;}return I[L]=Uo(D),I},{}),[r,n]),[{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d},u]=useState(()=>({columnWidths:l,isResizing:false,resizingColumn:null,startX:0,startWidth:0,resizeIndicatorX:0})),[c,T]=useState({x:0,y:0}),m=useRef(false),b=useRef(0),f=useRef(0),x=useRef(0),h=useRef(0),y=useRef(),w=useRef();useEffect(()=>{u(I=>{let V=new Set(Object.keys(I.columnWidths)),L=new Set(Object.keys(l));return V.size!==L.size?{...I,columnWidths:l}:Array.from(L).some(D=>!V.has(D)||I.columnWidths[D]!==l[D])?{...I,columnWidths:l}:I});},[]);let E=useCallback(I=>xi(s,I),[s]),P=useCallback(()=>{hi(y,w);},[]),S=useCallback((I,V,L)=>Ci(r,n,t,u,P,m,f)(I,V,L),[r,n,t,P]),g=useCallback((I,V)=>gi(u,T,b,a,I,V,f,x,h),[a]),R=useCallback((I,V)=>{I.preventDefault(),I.stopPropagation();try{let L=E(V),M=I.clientX,D=e.find(H=>j(H)===V),F=D?e.filter(H=>H.pinned===D.pinned).findIndex(H=>j(H)===V):void 0,N=D?.pinned,W=I.currentTarget.closest('[data-testid="SheetViewVirtualTable_TableHeader_StyledCell"]'),_=I.clientY;if(W){let H=W.getBoundingClientRect();_=H.top+H.height/2;}u(H=>({...H,isResizing:!0,resizingColumn:V,startX:M,startWidth:L,resizeIndicatorX:M,resizingColumnIndex:F,resizingColumnPinned:N})),b.current=_,f.current=M,x.current=M,h.current=L,T({x:M,y:_}),m.current=!0;let U=g(F,N),B=S(V,L,M);y.current=U,w.current=B,document.addEventListener("mousemove",U),document.addEventListener("mouseup",B),document.body.style.cursor="none",document.body.style.userSelect="none";}catch(L){console.error("Error starting resize:",L),P();}},[E,g,S,P,e]),k=useCallback(()=>{try{u(I=>({...I,isResizing:!1,resizingColumn:null,resizeIndicatorX:0})),m.current=!1,P();}catch(I){console.error("Error stopping resize:",I),P();}},[P]),C=useCallback(()=>m.current,[]),v=useCallback((I,V,L)=>{C()||o(I,V,L);},[o,C]);return useEffect(()=>P,[P]),{columnWidths:s,isResizing:i,resizingColumn:p,resizeIndicatorX:d,cursorPosition:c,getColumnWidth:E,startResize:R,stopResize:k,isCurrentlyResizing:C,handleColumnClick:v}};var jo=({pinnedStartColumnsData:e,pinnedEndColumnsData:t,columnWidths:o})=>{let r=useMemo(()=>e.reduce((s,i)=>{let p=j(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[e,o]),n=useMemo(()=>t.reduce((s,i)=>{let p=j(i),d=o[p]||parseInt(String(i.width))||150;return s+d},.2),[t,o]),a=useMemo(()=>e.map(s=>{let i=j(s);return {...s,width:o[i]||s.width}}),[e,o]),l=useMemo(()=>t.map(s=>{let i=j(s);return {...s,width:o[i]||s.width}}),[t,o]);return {pinnedStartColumnsWidth:r,pinnedEndColumnsWidth:n,pinnedStartColumnsDataWithWidths:a,pinnedEndColumnsDataWithWidths:l}};var wi=b(Pt(),1);var sd=styled("section")(({isLoaded:e=false,isPinned:t=false})=>({overflow:"hidden",paddingInline:e&&!t?"32px":"0px",backgroundColor:e&&!t?"rgba(255, 255, 255, 0.60)":"none",filter:e&&!t?"blur(8px)":"none",marginTop:e&&!t?"1rem":"0",height:"100%",maxHeight:"100%"}));function dd({columns:e,isLoaded:t=false,animationType:o,isLoading:r=false,rowsCount:n=13,isPinned:a=false}){let[l,s]=useState(()=>n||Math.min(bb(t,r),15));return useEffect(()=>{if(n){s(n);return}let i=()=>{let u=document.querySelector('[data-testid="SheetViewTableLoading"]');if(!u)return Math.min(bb(t,r),25);let c=u.parentElement?.clientHeight||0,T=28,b=c-40;if(b<=0)return Math.min(bb(t,r),25);let f=Math.floor(b/T);return Math.max(3,Math.min(f+2,25))},p=i();s(p);let d=()=>{let u=i();s(u);};return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[t,r,n]),jsx(sd,{isLoaded:t,isPinned:a,"data-testid":"SheetViewTableLoading",children:[...Array(l)].map((i,p)=>jsx(Ze,{columns:e,animationType:o,rowIndex:p,useTableBackground:!a},`i-${(0, wi.default)("SheetViewTableLoadingRow_")}`))})}var le=memo(dd);function Ri({error:e,tableEmpty:t,isTimeoutError:o,tableError:r,tableLoading:n,orderedColumns:a,triggerDataRefetch:l,footerProps:s}){let i;if(n)i=jsx(De,{"data-testid":"SheetViewVirtualTable_SolidBackground",children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:a,isLoading:true,isPinned:false})});else if(o)i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_timeoutError",shouldMinimizeWidth:true,heading:"timeOut",message:"yourRequestOutPleaseTryAgain",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});else if(r){let p=e,{formatted:d}=dc({error:p,fallbackMessage:"connectionErrorMsg"});i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:d,triggerDataRefetch:l,sandboxMode:s?.sandboxMode});}else if(t){let p=e,{formatted:d}=dc({error:p,fallbackMessage:"tryAdjustingTheDateOrFilters"});i=jsx(kt,{sandboxMode:s?.sandboxMode,heading:"nothingFound",message:d});}else i=jsx(oe,{"data-testid":"SheetViewVirtualTable_ErrorList_tableError",heading:"somethingWentWrong",message:"connectionErrorMsg",triggerDataRefetch:l,sandboxMode:s?.sandboxMode});return i}Ri.displayName="SheetViewTableNoData";var md=memo(Ri);function xd({column:{header:e,id:t,tableViewId:o,align:r,headerStyle:n,sortable:a,filter:l,pinnable:s,width:i,order:p,pinned:d},colIndex:u,isFirst:c,isLast:T,isSelected:m,isDefaultPinned:b,onColumnSort:f,columnsSorting:x,onColumnPin:h,isPinnable:y,lastColumnId:w,onColumnClick:E,pinnedColumns:P,onStartResize:S,isResizing:g=false,resizingColumn:R=null}){let k=j({id:t,tableViewId:o}),[C,v]=useState(null),I=useRef(null),{isFilterApplied:V}=Ke({filter:l}),L=useCallback(W=>P?.includes(W),[P]),M=useMemo(()=>L(t),[t,L]),D=W=>{L(W)?h?.(W,"unpin"):W===w?h?.(W,"end"):h?.(W,"start");},F=()=>{v(I.current);};return jsxs(Se,{"data-id":t,component:"div","data-testid":"SheetViewVirtualTable_TableHeader_StyledCell","data-column-id":t,"data-column-width":i,"data-column-width-used":i,"data-column-align":r,"data-column-order":p,"data-column-header":typeof e=="string"?e:"component","data-column-sortable":!!a,"data-column-filterable":!!l,"data-column-pinned":M,isFirst:c,isLast:T,isSheetView:true,ref:I,onClick:W=>{W.target===W.currentTarget&&E?.(u,W,d);},sx:W=>({display:"flex",gap:W.spacing(.5),alignItems:"center",justifyContent:r==="right"?"flex-end":"flex-start",width:i,textAlign:r,overflow:"visible !important",cursor:"pointer",boxSizing:"border-box",border:"0.5px solid transparent",borderColor:m?"#1F88D0":"#F2F2F2",borderBottom:m?"0.5px solid transparent":"0.5px solid #F2F2F2",backgroundColor:m?"#F2F2F2":"#FCFCFC",minHeight:"28px",position:"relative","&:before":{content:'""',borderBottom:"none",position:"absolute",top:0,right:0,left:0,bottom:0},...n}),children:[jsxs(wt,{onClick:W=>{W.stopPropagation(),F();},children:[typeof e=="function"?e():jsx(Ce,{"data-testid":"SheetViewTableHeader_columns_header",sx:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e&&jsx(Gn,{"data-testid":"SheetViewVirtualTable_TableHeader_StyledCell_header_text",children:e})}),l&&jsx(Ge,{...l,anchorEl:C,setAnchorEl:v,isFilterApplied:V}),a&&jsx(Ct,{columnId:t,onColumnSort:f,columnsSorting:x,onClick:W=>{E?.(u,W,d);}}),y&&s&&!b&&!T&&jsx(Kn,{onClick:W=>{W.stopPropagation(),D(t);},title:M?"Unpin column":"Pin column",children:jsx("img",{src:M?Ph:Oh,alt:"pin-icon"})})]}),S&&d!=="end"&&jsx(No,{columnId:k,onStartResize:S,isResizing:g,isLast:T})]})}var Ei=memo(xd);function Sd({columns:e,headerProps:t,showBackDrop:o,onColumnSort:r,columnsSorting:n,pinnedColumns:a=[],onColumnPin:l,isPinnable:s=false,lastColumnId:i,selectedColumn:p=null,onColumnClick:d,onStartResize:u,isResizing:c=false,resizingColumn:T=null}){return jsx(Yn,{component:"nav","data-testid":"SheetViewVirtualTable_TableHeader_StyledHeader",showBackDrop:o,...t,children:jsx(Jn,{component:"section","data-testid":"SheetViewVirtualTable_TableHeader_StyledMUITableRow",children:e.map((m,b)=>{let f=`${m.pinned??"default"}-${b}`;return jsx(Ei,{column:m,colIndex:b,isFirst:m.id===e[0].id,isLast:m.id===e[e.length-1].id,isDefaultPinned:!!m.isDefaultPinned,isSelected:p===f,onColumnSort:r,columnsSorting:n,pinnedColumns:a,onColumnPin:l,isPinnable:s,lastColumnId:i,onColumnClick:d,onStartResize:u,isResizing:c,resizingColumn:T},`${m.id}-${b}`)})})})}var se=memo(Sd);function Rd({columnsData:e,itemCount:t,lastItemIndex:o,areAllRowsLoaded:r,loadMoreItems:n,threshold:a,getItemSize:l,getItemData:s,isPinned:i,fixedWidth:p,scrollToIndex:d,areTotalRowsNotFillingHeight:u,clearBackdropVisibilityTimeout:c,onScroll:T,setBackdropVisibility:m,listRef:b,overscanCount:f=40}){return jsx(Kl,{isItemLoaded:h=>h!==o,itemCount:t,loadMoreItems:async()=>{r||await n?.();},threshold:a,children:({onItemsRendered:h,ref:y})=>jsx(Gl,{ref:y,children:({height:w,width:E})=>{let P=g=>l(g,w),S=s(e,i,w);return jsx(Fe,{listRef:b,height:w,width:p||E,itemCount:t,itemSize:P,itemData:S,onItemsRendered:h,overscanCount:f,setBackdropVisibility:m,scrollToIndex:d,areTotalRowsNotFillingHeight:u,useIsScrolling:true,onScroll:T,clearBackdropVisibilityTimeout:c,style:{overflowX:i?"hidden":"auto",paddingBottom:i?"25px":"13px",backgroundColor:i?"transparent":"#F6F8FACC"},children:Dt})}})})}var Yo=memo(Rd);function Pd({position:e,columnsData:t,columnsWidth:o,pinnedColumnsList:r,showHeader:n,columnsSorting:a,onColumnSort:l,headerProps:s,showBackDrop:i,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:c,onColumnClick:T,hasPinnedStart:m,hasPinnedEnd:b,tableTitle:f,areAllRowsLoaded:x,isFetchingNextPage:h,scrollToIndex:y,isLoading:w,isError:E,hasTimeoutError:P,tableMode:S,showNoDataView:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:I}){let V=useTheme();if(t.length===0)return null;let L=e==="start"?Qn:ei,M=e==="start"?"pinnedStart":"pinnedEnd";return jsx(L,{children:jsxs(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":f,"data-direction":V.direction,"data-are-all-rows-loaded":!!x,"data-is-fetching-next-page":!!h,"data-scroll-to-index":y,"data-is-loading":!!w,"data-is-error":!!E,"data-is-error-timeout":!!P,"data-table-mode":S,height:"100%",dir:V.direction,showNoDataView:g,children:[n&&jsx(se,{"data-testid":"SheetViewVirtualTable_PinnedTableHeader",columnsSorting:a,onColumnSort:l,columns:t,headerProps:s,showBackDrop:i,pinnedColumns:r,onColumnPin:p,isPinnable:d,lastColumnId:u,selectedColumn:c,onColumnClick:T,tablePosition:e==="start"?"pinnedStart":"pinnedEnd",hasPinnedStart:m,hasPinnedEnd:b,onStartResize:C,isResizing:v,resizingColumn:I}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content",overflowX:"hidden"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_PinnedStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:R?jsx(le,{"data-testid":`SheetViewVirtualTable_PinnedTableLoading_${e}`,columns:t,isLoading:true,isPinned:true}):k(t,M,true,o)})})]})})}var Oe=memo(Pd);function vd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:T,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:y,isError:w,hasTimeoutError:E,tableMode:P,showNoDataView:S,tableBodyStyles:g,tableLoading:R,createVirtualTableContainer:k,onStartResize:C,isResizing:v,resizingColumn:I}){let V=useTheme();return jsx(Ft,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":b,"data-direction":V.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!x,"data-scroll-to-index":h,"data-is-loading":!!y,"data-is-error":!!w,"data-is-error-timeout":!!E,"data-table-mode":P,height:"100%",dir:V.direction,showNoDataView:S,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:S,sx:{...g,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_UnpinnedTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:T,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t,onStartResize:C,isResizing:v,resizingColumn:I})}),jsx(A,{"data-testid":"VirtualTable_TableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_ScrollableStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",overflow:"hidden"},children:R?jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false}):k(o,"scrollable",false)})})]})})})}var Jo=memo(vd);function Fd({hasPinnedStart:e,hasPinnedEnd:t,unpinnedColumnsData:o,showHeader:r,columnsSorting:n,onColumnSort:a,headerProps:l,showBackDrop:s,pinnedStartColumns:i,pinnedEndColumns:p,onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:T,onColumnClick:m,tableTitle:b,areAllRowsLoaded:f,isFetchingNextPage:x,scrollToIndex:h,isLoading:y,isError:w,hasTimeoutError:E,tableMode:P,showNoDataView:S,tableBodyStyles:g}){let R=useTheme();return jsx(Ft,{hasPinnedStart:e,hasPinnedEnd:t,children:jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox_Loading","data-title":b,"data-direction":R.direction,"data-are-all-rows-loaded":!!f,"data-is-fetching-next-page":!!x,"data-scroll-to-index":h,"data-is-loading":!!y,"data-is-error":!!w,"data-is-error-timeout":!!E,"data-table-mode":P,height:"100%",dir:R.direction,showNoDataView:S,scrollable:true,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_LoadingTableWrapper",showNoDataView:S,sx:{...g,display:"flex",flexDirection:"column",height:"100%"},children:[r&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:n,onColumnSort:a,columns:o,headerProps:l,showBackDrop:s,pinnedColumns:[...i,...p],onColumnPin:d,isPinnable:u,lastColumnId:c,selectedColumn:T,onColumnClick:m,tablePosition:"scrollable",hasPinnedStart:e,hasPinnedEnd:t})}),jsx(A,{"data-testid":"VirtualTable_LoadingTableWrapper",sx:{width:"100%",minWidth:"fit-content"},children:jsx(ce,{"data-testid":"SheetViewVirtualTable_LoadingStyledBox",hidePadding:true,className:"list-wrapper",sx:{height:"100%",maxHeight:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},children:jsx(le,{"data-testid":"SheetViewVirtualTable_TableLoading",columns:o,isLoading:true,isPinned:false})})})]})})})}var Zo=memo(Fd);function _d({tableLoading:e,tableError:t,tableEmpty:o,hasTimeoutError:r,orderedColumns:n,showHeader:a,columnsSorting:l,onColumnSort:s,headerProps:i,showBackDrop:p,onColumnPin:d,lastColumnId:u,selectedColumn:c,onColumnClick:T,tableTitle:m,areAllRowsLoaded:b,isFetchingNextPage:f,scrollToIndex:x,isLoading:h,isError:y,tableMode:w,tableBodyStyles:E,error:P,triggerDataRefetch:S,footerProps:g,customNoDataComponent:R}){let k=useTheme(),C=e||t||o||r;return jsx(te,{as:"main",id:"sheet-table-box-container","aria-labelledby":"sheet-table-box-container","data-testid":"SheetViewVirtualTable_StyledTableBox","data-title":m,"data-direction":k.direction,"data-are-all-rows-loaded":!!b,"data-is-fetching-next-page":!!f,"data-scroll-to-index":x,"data-is-loading":!!h,"data-is-error":!!y,"data-is-error-timeout":!!r,"data-table-mode":w,height:"100%",dir:k.direction,showNoDataView:C,children:jsxs(A,{"data-testid":"SheetViewVirtualTable_TableWrapper",showNoDataView:C,sx:E,children:[a&&jsx(_e,{children:jsx(se,{"data-testid":"SheetViewVirtualTable_LoadingTableHeader",columnsSorting:l,onColumnSort:s,columns:n,headerProps:i,showBackDrop:p,pinnedColumns:[],onColumnPin:d,isPinnable:false,lastColumnId:u,selectedColumn:c,onColumnClick:T})}),R||jsx(Je,{error:P||null,tableEmpty:o,isTimeoutError:r,tableError:t,tableLoading:e,orderedColumns:n,triggerDataRefetch:S||(()=>Promise.resolve()),footerProps:g})]})})}var Qo=memo(_d);function Ud({columns:e,rows:t,threshold:o=20,showHeader:r,headerProps:n,rowProps:a,footerProps:l,rowHeight:s=28,isLoading:i,error:p,columnsSorting:d,onColumnSort:u,loadMoreItems:c,isFetchingNextPage:T,triggerDataRefetch:m,scrollToIndex:b,areAllRowsLoaded:f=false,tableBodyStyles:x,tableTitle:h,onStartDrag:y,onColumnPin:w,clearBackdropVisibilityTimeout:E=100,isPinnable:P=false,tableMode:S,overscanCount:g,windowId:R,serviceCode:k,customNoDataComponent:C,defaultSkeleton:v=true}){let I=useMemo(()=>Fc(e,i??false,v),[e,i,v]),{selectedCell:V,selectedColumn:L,selectedRow:M,showBackDrop:D,setShowBackdrop:F,handleCellClick:N,handleColumnClick:G,handleChipClick:W,selectedChip:_}=Bo(),U=useRef(null),B=useRef(null),{isError:H,tableLoading:ne,tableError:Ne,tableEmpty:$t,hasTimeoutError:K,showNoDataView:ie,lastItemIndex:$e,areTotalRowsNotFillingHeight:ae,itemsCount:he,isDelayedFetchingNextPage:Ut}=zo({rows:t,isLoading:i,error:p,isFetchingNextPage:T,areAllRowsLoaded:f}),{pinnedStartColumns:X,pinnedEndColumns:z,handleColumnPin:J,pinnedStartColumnsData:ge,pinnedEndColumnsData:Xt,unpinnedColumnsData:nt,orderedColumns:it,lastColumnId:Vi}=Fo(I,P,w),{pinnedStartVirtualListRef:at,scrollableVirtualListRef:lt,pinnedEndVirtualListRef:st,handleScroll:or}=Ho();useEffect(()=>{at.current?.resetAfterIndex(0),lt.current?.resetAfterIndex(0),st.current?.resetAfterIndex(0);},[t.length,at,lt,st]);let{columnWidths:Ue,isResizing:qt,resizingColumn:Li,resizeIndicatorX:ki,cursorPosition:rr,startResize:vi,handleColumnClick:Wi}=qo({columns:I,handleColumnClick:G,windowId:R,serviceCode:k,tableContainerRef:B}),nr=Ao({tableContainerRef:U,showHeader:r??false,isResizing:qt}),{pinnedStartColumnsWidth:ir,pinnedEndColumnsWidth:ar,pinnedStartColumnsDataWithWidths:Z,pinnedEndColumnsDataWithWidths:Q}=jo({pinnedStartColumnsData:ge,pinnedEndColumnsData:Xt,columnWidths:Ue}),lr=useMemo(()=>Xo(nt,Ue),[nt,Ue]),Mi=useMemo(()=>Xo(it,Ue),[it,Ue]),{getItemSize:sr,getItemDataForContainer:dr}=_o({rowHeight:s,areAllRowsLoaded:f,rows:t,isDelayedFetchingNextPage:Ut,rowProps:a,scrollToIndex:b,footerProps:l,isError:H,selectedCell:V,selectedColumn:L,selectedRow:M,selectedChip:_,handleCellClick:N,handleChipClick:W}),Di=jt=>{y?.(jt);},Xe=useCallback((jt,dt,Fi=false,Hi)=>jsx(Yo,{columnsData:jt,itemCount:he,lastItemIndex:$e,areAllRowsLoaded:f,loadMoreItems:c,threshold:o,getItemSize:sr,getItemData:dr,isPinned:Fi,fixedWidth:Hi,scrollToIndex:b,areTotalRowsNotFillingHeight:ae,clearBackdropVisibilityTimeout:E,onScroll:Bi=>{or(Bi,dt==="pinnedStart"?"start":dt==="pinnedEnd"?"end":"scrollable");},setBackdropVisibility:F,listRef:dt==="pinnedStart"?at:dt==="pinnedEnd"?st:lt,overscanCount:g}),[he,$e,f,c,o,sr,dr,b,ae,E,or,F,at,st,lt,g]),pr={showHeader:r,columnsSorting:d,onColumnSort:u,headerProps:n,showBackDrop:D,onColumnPin:J,isPinnable:P,lastColumnId:Vi,selectedColumn:L,onColumnClick:Wi,tableTitle:h,areAllRowsLoaded:f,isFetchingNextPage:T,scrollToIndex:b,isLoading:i,isError:H,tableMode:S,showNoDataView:ie,tableBodyStyles:x,onStartResize:vi,isResizing:qt,resizingColumn:Li},Pe={...pr,hasTimeoutError:K,tableLoading:ne};return jsxs(Fragment,{children:[jsx(fn,{ref:U,children:ie?ne?jsxs(Do,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:ir,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Zo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:lr,pinnedStartColumns:X,pinnedEndColumns:z,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:ar,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]}):jsx(Qo,{tableLoading:ne,tableError:Ne,tableEmpty:$t,hasTimeoutError:K,orderedColumns:Mi,error:p,triggerDataRefetch:m,footerProps:l,customNoDataComponent:C,...pr}):jsxs(Do,{ref:B,children:[Z.length>0&&jsx(Oe,{position:"start",columnsData:Z,columnsWidth:ir,pinnedColumnsList:X,hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe}),jsx(Jo,{hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,unpinnedColumnsData:lr,pinnedStartColumns:X,pinnedEndColumns:z,createVirtualTableContainer:Xe,...Pe}),Q.length>0&&jsx(Oe,{position:"end",columnsData:Q,columnsWidth:ar,pinnedColumnsList:[...X,...z],hasPinnedStart:Z.length>0,hasPinnedEnd:Q.length>0,createVirtualTableContainer:Xe,...Pe})]})}),jsx(b$1,{"data-testid":"SheetViewVirtualTable_TableFooter",showSeparator:true,showBackDrop:D,onPointerDown:Di,...l}),jsx($o,{isVisible:qt,indicatorX:ki,indicatorHeight:nr.height,indicatorTop:nr.top,iconX:rr.x,iconY:rr.y})]})}var Xd=memo(Ud);export{Xd as $,Mo as A,Ls as B,Bb as C,zb as D,Gn as E,Kn as F,Yn as G,Jn as H,Do as I,Qn as J,ei as K,Ft as L,_e as M,Fo as N,Ho as O,Bo as P,zo as Q,_o as R,zs as S,Ao as T,le as U,md as V,se as W,Oe as X,Jo as Y,Zo as Z,Qo as _,Ur as a,Xr as b,gt as c,Ge as d,oo as e,no as f,io as g,Se as h,Ke as i,mo as j,co as k,bo as l,ho as m,go as n,Co as o,Je as p,yo as q,Ro as r,Ze as s,Bl as t,_l as u,Zl as v,Po as w,Vo as x,Lo as y,ko as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-BNAUJXLF.js';var m=a;export{m as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {Mc}from'./chunk-GPUQR54W.js';import {Cj,j,m as m$1}from'./chunk-2RALOOEZ.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {jsx}from'react/jsx-runtime';function g({countryCode:o,currencyCode:t,...n}){let l=Mc(useId(),"country-flag");return jsx(d,{...n,id:l,"data-testid":"CountryFlag",component:"img",src:o&&j(o)||t&&m$1(t)||Cj,width:n.width||16,alt:o??t??"flag",loading:"lazy",onError:u=>{u.currentTarget.src=Cj;}})}g.displayName="CountryFlag";var m=memo(g);var h=m;export{h as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {Mc}from'./chunk-GPUQR54W.js';import {Kc}from'./chunk-2RALOOEZ.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var e=styled(d)(({theme:r})=>({fontSize:"10px",color:r.palette.error.light,padding:"8px",background:r.palette.background.gradient.error,borderRadius:"4px",display:"flex",gap:"4px",alignItems:"center",height:32}));function l({error:r,...i}){let n=Mc(useId(),"error");return jsxs(e,{...i,id:n,"data-testid":"Error",children:[jsx("img",{src:Kc,alt:"w"}),r]})}var p=memo(l);var k=p;export{k as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {c as c$2}from'./chunk-I4K5C7BA.js';import {a,c as c$1,d as d$1}from'./chunk-VVQTOGFV.js';import {c,d}from'./chunk-VRCF7JRE.js';import {b,a as a$1}from'./chunk-YU6WPYGE.js';import {Mc,Ia}from'./chunk-GPUQR54W.js';import'./chunk-OSJ5S522.js';import {ra,Sk,Tk,ji,wk,A,Rd,te,se as se$1,qa,oa,pa}from'./chunk-2RALOOEZ.js';import ho,{memo,createContext,useState,useRef,useId,useMemo,useEffect,useCallback,useContext}from'react';import {styled,Popover,Input,Typography,Box,Dialog}from'@mui/material';import R from'@uiw/react-json-view';import {motion,AnimatePresence}from'framer-motion';import {Resizable}from're-resizable';import jo from'react-draggable';import yo from'@mui/material/Box';import {useTranslation}from'react-i18next';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {styled as styled$1}from'@mui/material/styles';var I=37,Re="32px",J=545;styled(Popover)(({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:e.shadows[21],"& .MuiPaper-root":{borderRadius:"12px"}}));var go=44,Ie={"--w-rjv-color":"#9cdcfe","--w-rjv-key-string":"#357fb9","--w-rjv-background-color":"#ffffff","--w-rjv-line-color":"#ffffff","--w-rjv-arrow-color":"#116e6bed","--w-rjv-edit-color":"#9cdcfe","--w-rjv-info-color":"#9c9c9c7a","--w-rjv-update-color":"#FFE20B","--w-rjv-copied-color":"#9cdcfe","--w-rjv-copied-success-color":"#28a745","--w-rjv-curlybraces-color":"#000000","--w-rjv-colon-color":"#000000","--w-rjv-brackets-color":"#000000","--w-rjv-quotes-color":"#9cdcfe","--w-rjv-quotes-string-color":"#c27c46","--w-rjv-type-string-color":"#c27c46","--w-rjv-type-int-color":"#956ea5","--w-rjv-type-float-color":"#956ea5","--w-rjv-type-bigint-color":"#956ea5","--w-rjv-type-boolean-color":"#956ea5","--w-rjv-type-date-color":"#956ea5","--w-rjv-type-url-color":"#3b89cf","--w-rjv-type-null-color":"#956ea5","--w-rjv-type-nan-color":"#956ea5","--w-rjv-type-undefined-color":"#956ea5",padding:"1rem",height:`calc(100% - ${go+I}px`,overflow:"auto"},gt={...Ie,background:"transparent","--w-rjv-line-color":"transparent"},ht=styled("button")(({theme:e})=>({padding:"0rem",borderRadius:"0.25rem",backgroundColor:e.palette.background.paper,display:"flex",alignItems:"center",justifyContent:"center",gap:"0.25rem",color:e.palette.text.primary,fontSize:"0.625rem",fontWeight:e.typography.fontWeightBold,outline:"none",cursor:"pointer",border:`1px solid ${e.palette.grey[100]}`,"&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark};`},position:"relative",overflow:"hidden",transition:"all 0.2s ease-in-out",width:"24px",height:"24px",flexShrink:0})),Je=styled("button")(({theme:e})=>({outline:"none",cursor:"pointer",border:"1px solid transparent","&:hover":{boxShadow:e.shadows[8]},borderRadius:"0.25rem",position:"relative",backgroundColor:e.palette.background.transparent,display:"inline-flex",alignItems:"center",justifyContent:"center"}));styled(Input)(({theme:e})=>({border:`1px solid ${e.palette.grey[100]}`,borderRadius:"0.25rem",padding:"0.375rem",fontSize:"0.625rem",outline:"none",width:"100%",maxWidth:"150px",height:"1.5rem",backgroundColor:e.palette.background.paper,"&:focus":{border:`1px solid ${e.palette.info.dark}`}}));var ke=styled(Typography)(()=>({border:"1px solid rgba(242, 242, 242, 0.70);",display:"inline-flex",height:"24px",padding:"0px 8px",justifyContent:"center",alignItems:"center",borderRadius:"37.5px",backgroundColor:"#fff"})),Be=styled(Box,{shouldForwardProp:e=>!["isMaximized","isScrollingRequest","isRequestShown"].includes(e)})(({isScrollingRequest:e,isMaximized:t,isRequestShown:i,theme:o})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"4px",paddingBlock:"0px",paddingInlineStart:"12px",paddingInlineEnd:"12px",position:"sticky",left:0,right:0,top:0,background:"#fff",zIndex:5,...e&&{boxShadow:o.shadows[23]},...t&&{paddingTop:Re,transition:"padding 0.3s ease-in-out",...i&&{width:"50%"}}})),Te=styled(Box,{shouldForwardProp:e=>!["isMaximized","isRequestShown"].includes(e)})(({isMaximized:e,isRequestShown:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",gap:"8px",height:I,position:"fixed",bottom:0,right:0,left:e?"50vw":0,...!t&&{left:0}})),Pe=styled(Box)(()=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"8px",paddingInlineEnd:"0px"})),Ee=styled(Box)(()=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",paddingBlock:"10px",paddingInlineStart:"0px",paddingInlineEnd:"12px"})),xt=styled(motion.div,{shouldForwardProp:e=>!["isRequestShown","isMaximized"].includes(e)})(({isRequestShown:e,isMaximized:t})=>({width:"100%",height:"100%",overflowY:"auto",overflowX:"hidden",background:"#fff",zIndex:20,position:"relative",display:"flex",flexDirection:"column",borderBottomRightRadius:"12px",borderBottomLeftRadius:e?0:"12px",...t&&{borderBottomLeftRadius:0,borderBottomRightRadius:0,height:"100vh"}}));styled(motion.div,{shouldForwardProp:e=>!["isMaximized","currentRequestWidth"].includes(e)})(({isMaximized:e,currentRequestWidth:t})=>({backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:e?"100vh":"100%",overflowY:"auto",overflowX:"hidden",position:"absolute",width:e?"100vw":t,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"}));styled(Box,{shouldForwardProp:e=>!["isMaximized","currentHeight"].includes(e)})(({isMaximized:e,currentHeight:t})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:e?`calc(100vh - ${I}px)`:(t||J)-I+5,background:"transparent",position:"fixed",width:"100%"}));var yt=styled(Box)(()=>({position:"fixed",width:"100%",background:"transparent",height:"100%"})),wt=styled("span")(()=>({color:"#032F62"})),bt=styled("span")(()=>({color:"#357fb9"}));function bo({onClick:e,icon:t,label:i,disableAnimation:o,...n}){let[s,l]=ho.useState(false),{t:d}=useTranslation();return jsxs(ht,{...n,onClick:u=>{e?.(u),!o&&(l(true),setTimeout(()=>{l(false);},2e3));},children:[jsxs(yo,{sx:{width:"16px",display:"flex",overflow:"hidden",justifyContent:"center",alignItems:"center"},children:[jsx(AnimatePresence,{mode:"wait",children:s&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:ra,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{mode:"wait",children:!s&&jsx(motion.img,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0,transition:{duration:.1}},transition:{duration:.4},src:t,alt:"icon"},"id-icon")})]}),i&&jsxs(Fragment,{children:[jsx(AnimatePresence,{children:s&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute"},transition:{duration:.4},children:d("copied")})}),jsx(AnimatePresence,{children:!s&&jsx(motion.span,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,position:"absolute",width:"53px"},transition:{duration:.4},children:i})})]})]})}var St=memo(bo);var H=St;var vt=styled$1("div")(()=>({display:"flex",alignItems:"center",position:"relative",flexShrink:0,width:"24px",height:"24px"})),Ct=styled$1("button")(({theme:e,isActive:t})=>({width:"24px",height:"24px",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",border:`1px solid ${t?e.palette.info.dark:e.palette.grey[100]}`,backgroundColor:e.palette.background.paper,cursor:"pointer",outline:"none",padding:0,position:"relative",zIndex:11,transition:"all 0.2s ease-in-out","&:hover":{boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark}`}})),Rt=styled$1(motion.div)(()=>({position:"absolute",right:0,top:0,height:"24px",display:"flex",alignItems:"center",zIndex:20,background:"transparent"})),It=styled$1(motion.input)(({theme:e})=>({width:"177px",height:"24px",borderRadius:"4px",color:e.palette.text.primary,fontSize:"10px",outline:0,background:e.palette.background.paper,boxShadow:"0px 0px 8px 0px rgba(31, 136, 208, 0.30)",border:`1px solid ${e.palette.info.dark}`,paddingLeft:"8px",boxSizing:"border-box","::placeholder":{color:"#D5D5D5"}})),Oe={position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:2,userSelect:"none"},Jt={...Oe,background:"none",border:"none",padding:0,margin:0,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",outline:"none","&:disabled":{opacity:.3,cursor:"default"}},kt=styled$1("button")(()=>({...Jt,right:53})),Bt=styled$1("button")(()=>({...Jt,right:39})),Tt=styled$1(motion.img)(()=>({...Oe,right:24,width:10,height:10,cursor:"pointer"})),Pt=styled$1(motion.img)(()=>({...Oe,right:8,width:11,height:11,cursor:"default"})),Ve=styled$1("img")(()=>({width:10,height:10})),Et=styled$1("img")(()=>({width:12,height:12})),Ht=styled$1("span")(({theme:e})=>({position:"absolute",right:67,top:"50%",transform:"translateY(-50%)",fontSize:"9px",lineHeight:1,color:e.palette.text.secondary,whiteSpace:"nowrap",userSelect:"none",zIndex:2,pointerEvents:"none"}));function Jo({value:e,onChange:t,currentIndex:i,totalCount:o,onPrev:n,onNext:s,onOpen:l,placeholder:d="Search..."}){let[p,u]=useState(false),w=useRef(null),S=e.trim().length>0,k=o>0,a=S,N=()=>{l?.(),u(true),requestAnimationFrame(()=>w.current?.focus());},f=()=>{t(""),u(false);};return jsxs(vt,{children:[jsx(AnimatePresence,{children:p&&jsxs(Rt,{initial:{clipPath:"inset(0 0 0 100%)",opacity:0},animate:{clipPath:"inset(0 0 0 0%)",opacity:1},exit:{clipPath:"inset(0 0 0 100%)",opacity:0},transition:{duration:.22,ease:[.4,0,.2,1]},children:[jsx(It,{ref:w,initial:false,animate:{paddingRight:a?"98px":"24px"},transition:{duration:.15},placeholder:d,value:e,onChange:v=>t(v.target.value),onKeyDown:v=>{v.key==="Enter"&&(v.shiftKey?n():s()),v.key==="Escape"&&f();},onBlur:()=>{S||u(false);}}),a&&jsx(kt,{onClick:n,disabled:!k,title:"Previous match (Shift+Enter)",children:jsx(Ve,{src:Sk,alt:"prev"})}),a&&jsx(Bt,{onClick:s,disabled:!k,title:"Next match (Enter)",children:jsx(Ve,{src:Tk,alt:"next"})}),a&&jsx(Tt,{src:ji,alt:"clear",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:f}),jsx(Pt,{src:wk,alt:"search",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}),a&&jsx(Ht,{children:k?`${i+1}/${o}`:"0/0"})]},"input-area")}),jsx(AnimatePresence,{children:!p&&jsx(motion.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.15},children:jsx(Ct,{isActive:false,onClick:N,title:"Search",children:jsx(Et,{src:A,alt:"search"})})})})]})}var K=memo(Jo);function Mt(e,t){let i=[],o=t.length,n=0,s=e.indexOf(t,n);for(;s!==-1;){let l=s+o;i.push([s,l]),n=l,s=e.indexOf(t,n);}return i}var ko={padding:0,outline:"none"};function Wt({text:e,queryLength:t,ranges:i,idPrefix:o}){let n=[],s=0;return i.forEach(([l,d],p)=>{l>s&&n.push(e.slice(s,l)),n.push(jsx("mark",{style:ko,children:e.slice(l,l+t)},`${o}-${p}`)),s=d;}),s<e.length&&n.push(e.slice(s)),jsx(Fragment,{children:n})}function W({text:e,query:t}){let i=useId(),o=useMemo(()=>t.trim().toLowerCase(),[t]),n=useMemo(()=>{if(!o)return e;let s=e.toLowerCase(),l=Mt(s,o);return l.length===0?e:jsx(Wt,{text:e,queryLength:t.length,ranges:l,idPrefix:i})},[e,t.length,o,i]);return jsx(Fragment,{children:n})}function re(e,t){return e.toLowerCase().includes(t)}function ie(e){return e.trim().toLowerCase()}function se(e){let t=ie(e);return (i,{keyName:o})=>{if(!t||!o)return;let n=String(o);if(re(n,t))return jsx(bt,{children:jsx(W,{text:String(o),query:e})})}}function ae(e){let t=ie(e);return (i,{value:o})=>{if(!t)return;let n=String(o??"");if(re(n,t))return jsxs(wt,{children:['"',jsx(W,{text:String(o??""),query:e}),'"']})}}function Vo({title:e,onClose:t,onMaximize:i,maximized:o=false,id:n,onMouseHover:s,onMouseLeave:l,onRequestClick:d$2,isRequestExpanded:p=false,showRequestIcon:u=false,isHovered:w=false}){return jsx(c,{id:n,maximized:o||false,children:jsx(d,{isHovered:true,onMouseEnter:s,onMouseLeave:l,isMaximized:o,title:e,icon:Rd,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:t}),jsx(c$1,{isMaximized:o,onClick:i}),u&&jsx(d$1,{onClick:d$2,isExpanded:p,isHovered:w,children:"Request"})]})})})}var jt=memo(Vo);var Me=jt;var Ft="#FFE20B";function le(e,t){let[i,o]=useState(0),[n,s]=useState(0);useEffect(()=>{if(!t.trim()){s(0),o(0);return}let p=setTimeout(()=>{let u=e.current?.querySelectorAll("mark")??[];s(u.length),o(0);},50);return ()=>clearTimeout(p)},[t,e]),useEffect(()=>{if(!e.current||!t.trim())return;let p=Array.from(e.current.querySelectorAll("mark"));p.forEach((u,w)=>{let S=w===i;u.style.backgroundColor=S?Ft:"transparent",u.style.outline=S?`1px solid ${Ft}`:"none",u.style.borderRadius="2px";}),p[i]?.scrollIntoView({behavior:"smooth",block:"nearest"});},[i,n,t,e]);let l=useCallback(()=>{n!==0&&o(p=>(p+1)%n);},[n]),d=useCallback(()=>{n!==0&&o(p=>(p-1+n)%n);},[n]);return {currentIndex:i,totalCount:n,goNext:l,goPrev:d}}function Kt(e,t){return e==null?String(e).includes(t):typeof e=="string"?e.toLowerCase().includes(t):typeof e=="number"||typeof e=="boolean"?String(e).includes(t):false}function $t(e,t){if(Array.isArray(e)){let i=e.map(o=>$t(o,t)).filter(o=>o!=null);return i.length>0?i:null}return typeof e=="object"&&e!==null?Gt(e,t):Kt(e,t)?e:null}function Gt(e,t){let i={};for(let[o,n]of Object.entries(e))if(o.toLowerCase().includes(t))i[o]=n;else if(typeof n=="object"&&n!==null){let s=$t(n,t);s!==null&&(i[o]=s);}else Kt(n,t)&&(i[o]=n);return Object.keys(i).length>0?i:null}function ze(e,t){return t.trim()?Gt(e,t.toLowerCase()):e}var G=400,L=.5;function Y({index:e,json:t,requestJson:i={},isWindowMinimized:o,windowOrder:n,onClose:s,onJsonRequestOpen:l,onJsonSearch:d,onJsonCopy:p,onJsonIdCopy:u,onJsonNodesMinimize:w,onJsonNodesMaximize:S}){let k=Mc(useId(),"json-viewer"),[a,N]=useState(false),[f,O]=useState(false),[V,M]=useState(false),[v,qe]=useState(false),[je,eo]=useState({width:0,height:0}),[ue,z]=useState(true),[g,to]=useState(false),[fe,oo]=useState(true),[no,De]=useState(false),[Q,Le]=useState(G),[B,ro]=useState(""),[T,io]=useState(""),_e=useRef(null),Fe=useRef(null),U=le(_e,B),Z=le(Fe,T),me=useRef(),{onMouseEnter:so,onMouseLeave:ao,isHovered:lo}=b(),{height:ge,width:_}=a$1(),[Ke,po]=useState({x:_/2+G/4-e*20,y:ge/2-J/2+e*30}),ee=useRef(),co=useMemo(()=>Object.keys(t)?.length,[t]),$e=Ia(),P=Number(ee.current?.state?.width)||G,Ge=c=>{setTimeout(()=>{navigator.clipboard.writeText(c||"").then(()=>{});},10);},Ye=useMemo(()=>Object.keys(i)?.length,[i]),Xe=useMemo(()=>ze(t,B),[t,B]),Qe=useMemo(()=>ze(i,T),[i,T]);return useEffect(()=>{if(me.current&&clearTimeout(me.current),!g){me.current=setTimeout(()=>{Le(P);},L*1e3);return}Le(P);},[g,P]),jsx(jo,{disabled:a,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultPosition:{x:_/2-G/4,y:ge/2-J/2},position:{x:_-Ke.x,y:Ke.y},onStop:(c,m)=>{po({x:_-m.x,y:m.y});},bounds:{top:10},children:jsx(Dialog,{id:k,"data-testid":"JSONViewer",disableEnforceFocus:true,sx:{backgroundColor:"transparent",zIndex:(n||0)+3+(a?1:0),...o&&{display:"none"},transform:"translate(180px, 14px)",...!a&&{width:$e?je?.width||Q:"fit-content",height:$e?je?.height||J:"fit-content"},...a&&{transform:"none !important"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",width:f?"fit-content":Q,height:f?"fit-content":J,...a&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{N(false),z(true),setTimeout(()=>{z(false);},L*1e3);},open:true,hideBackdrop:true,fullScreen:a,"aria-labelledby":"draggable-dialog-title",children:jsx(Resizable,{enable:{left:false,right:true,bottomRight:true,bottom:true},maxHeight:ge-40,maxWidth:_,minWidth:a?"100vw":Q,minHeight:a?"100vh":"300px",ref:c=>{ee.current=c;},onResizeStart:()=>{z(true);},onResizeStop:()=>{z(false);},onResize:(c,m,A)=>{O(true),eo({width:A.offsetWidth,height:A.offsetHeight});},defaultSize:{width:Q,height:J},style:{background:"transparent",...a&&{height:"100% !important",width:"100% !important",flex:1},...a&&{position:"relative"}},children:jsxs(yt,{children:[jsx(motion.div,{style:{...a&&{height:Re,position:"fixed",zIndex:1e3}},animate:{width:g?P*2:P,...a&&{width:"100vw"},...!a&&{transform:`translateX(${g?-P:0}px)`}},transition:{duration:L,...ue&&{duration:0}},children:jsx(Me,{title:g?"JSON Request & Response":"JSON Response",onClose:()=>s(),onMaximize:()=>{N(c=>!c),z(true),setTimeout(()=>{z(false);},L*1e3);},isHovered:lo,onMouseHover:so,onMouseLeave:ao,maximized:a,id:"draggable-dialog-title",onRequestClick:()=>{to(c=>!c),z(false),g||(l?.(),ee.current?.updateSize({width:G,height:J}));},isRequestExpanded:g,showRequestIcon:!!Ye})}),jsxs(Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",height:a?`calc(100vh - ${I}px)`:(Number(ee.current?.state?.height)||J)-I+5,background:"transparent",position:"fixed",width:"100%"},children:[jsx(AnimatePresence,{children:g&&jsxs(motion.div,{initial:{left:a?"50vw":0,...a&&{position:"relative",left:"-50vw"}},animate:{left:a?"50vw":-P,...a&&{position:"relative",left:"0"},...!g&&{left:0}},exit:{left:a?"50vw":0,...a&&{position:"relative",left:"0"}},transition:{duration:L,...ue&&{duration:0}},ref:Fe,style:{flex:1,backgroundColor:"#E7E7E7B2",backdropFilter:"blur(12px)",height:a?"100vh":"100%",overflowY:"auto",position:"absolute",width:a?"100vw":P,zIndex:19,display:"flex",flexDirection:"column",borderBottomLeftRadius:"12px"},onScroll:()=>{De(true),setTimeout(()=>{De(false);},2e3);},children:[jsxs(Be,{isMaximized:a,isScrollingRequest:no,sx:{background:"#E7E7E7B2"},isRequestShown:g,children:[jsx(Ee,{children:jsx(ke,{variant:"subtitle1",children:"API Request"})}),jsxs(Pe,{children:[jsx(K,{value:T,onChange:io,onOpen:()=>d?.(),currentIndex:Z.currentIndex,totalCount:Z.totalCount,onPrev:Z.goPrev,onNext:Z.goNext}),jsx(H,{disableAnimation:true,onClick:()=>{fe?S?.():w?.(),oo(c=>!c);},icon:fe?te:se$1}),jsx(H,{onClick:()=>{p?.(),navigator.clipboard.writeText(JSON.stringify(t)).then(()=>{});},icon:qa}),jsx(H,{onClick:()=>{u?.(),navigator.clipboard.writeText(t?.id||"").then(()=>{});},icon:oa})]})]}),T.trim()&&Qe===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(R,{value:Qe??i,style:gt,displayDataTypes:false,collapsed:T.trim()?void 0:fe?1:void 0,onCopied:(c,m)=>{typeof m=="string"&&Ge(m);},enableClipboard:false,children:[jsx(R.String,{render:ae(T)}),jsx(R.KeyName,{render:se(T)}),jsx(R.CountInfo,{render:(c,{keyName:m})=>{if(!m)return jsx("span",{})}}),jsx(R.Copied,{render:({"data-copied":c,style:m,onClick:A},{keyName:he})=>he?jsxs(Je,{style:m,onClick:xe=>{A?.(xe);},children:[jsx(AnimatePresence,{children:c&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:ra,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!c&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:pa,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(AnimatePresence,{children:g&&jsx(Te,{sx:{flex:1,height:I,left:0},children:jsx(c$2,{sx:{paddingLeft:"12px",borderBottomRightRadius:"0",background:"#f8f9fb",flex:1},totalCount:Ye})})})]})}),jsxs(xt,{ref:_e,isMaximized:a,isRequestShown:g,style:{left:0,maxHeight:"100vw"},initial:{...a&&{width:"100vw",left:0}},animate:{...a&&{position:"absolute",left:g?"50vw":"0"}},transition:{duration:L,...ue&&{duration:0}},onScroll:()=>{qe(true),setTimeout(()=>{qe(false);},2e3);},children:[jsxs(Be,{isMaximized:a,isScrollingRequest:v,isRequestShown:g,children:[jsx(Ee,{children:jsx(ke,{variant:"subtitle1",children:"API Response"})}),jsxs(Pe,{children:[jsx(K,{value:B,onChange:ro,onOpen:()=>d?.(),currentIndex:U.currentIndex,totalCount:U.totalCount,onPrev:U.goPrev,onNext:U.goNext}),jsx(H,{disableAnimation:true,onClick:()=>{V?S?.():w?.(),M(c=>!c);},icon:V?te:se$1}),jsx(H,{onClick:()=>{p?.(),navigator.clipboard.writeText(JSON.stringify(t,null,2)).then(()=>{});},icon:qa}),jsx(H,{onClick:()=>{u?.(),navigator.clipboard.writeText(t?.id||"").then(()=>{});},icon:oa})]})]}),B.trim()&&Xe===null?jsx(Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flex:1,height:"100%"},children:jsx(Typography,{variant:"body2",sx:{fontSize:"0.75rem",color:"text.secondary"},children:"No Data Found"})}):jsxs(R,{value:Xe??t,style:Ie,displayDataTypes:false,collapsed:B.trim()?void 0:V?1:void 0,onCopied:(c,m)=>{typeof m=="string"&&Ge(m);},children:[jsx(R.String,{render:ae(B)}),jsx(R.KeyName,{render:se(B)}),jsx(R.CountInfo,{render:(c,{keyName:m})=>{if(!m)return jsx("span",{})}}),jsx(R.Copied,{render:({"data-copied":c,style:m,onClick:A},{keyName:he})=>he?jsxs(Je,{style:m,onClick:xe=>{A?.(xe);},children:[jsx(AnimatePresence,{children:c&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:ra,alt:"icon"},"id-icon")}),jsx(AnimatePresence,{children:!c&&jsx(motion.img,{style:{height:"14px",width:"14px"},initial:{opacity:0},animate:{opacity:1,position:"absolute"},exit:{opacity:0},transition:{duration:.4},src:pa,alt:"icon"},"id-icon")})]}):jsx("span",{})})]}),jsx(Te,{sx:{flex:1,height:I},children:jsx(c$2,{sx:{borderBottomLeftRadius:g?0:"12px",background:"#f8f9fb",flex:1},totalCount:co})})]})]})]})})})})}var ce=createContext({jsonViewerList:[],handleJsonViewerDialogOpen:()=>{},handleWindowMinimize:()=>{},handleWindowOrder:()=>{},registerJsonViewerEvents:()=>{}});var Qt=({list:e,events:t,onClose:i,isWindowMinimized:o,windowOrder:n})=>e?.length?jsx(Fragment,{children:e.map((s,l)=>jsx(Y,{index:l,...t,...s,onClose:()=>{i(l);},isWindowMinimized:o,windowOrder:n},s.json.id))}):null;var Fo=({children:e})=>{let[t,i]=useState([]),[o,n]=useState(false),[s,l]=useState(1),d=useRef({}),p=useCallback(f=>{if(t.length===7){alert("Maximum allowed active Json Viewer is 7 per table.");return}if(t.some(v=>v.json.id===f.json.id))return;let O=structuredClone(f.json),V=O.request_body,M={...f,json:O,requestJson:f.requestJson||V||void 0};delete M.json.request_body,i(v=>[...v,M]);},[t]),u=useCallback(f=>{i(O=>O.filter((V,M)=>f!==M));},[]),w=useCallback(f=>{n(f);},[]),S=useCallback(f=>{l(f);},[]),k=useCallback(f=>{d.current=f;},[]),a=useMemo(()=>({onJsonRequestOpen:()=>d.current.onJsonRequestOpen?.(),onJsonSearch:()=>d.current.onJsonSearch?.(),onJsonCopy:()=>d.current.onJsonCopy?.(),onJsonIdCopy:()=>d.current.onJsonIdCopy?.(),onJsonNodesMinimize:()=>d.current.onJsonNodesMinimize?.(),onJsonNodesMaximize:()=>d.current.onJsonNodesMaximize?.()}),[]),N=useMemo(()=>({jsonViewerList:t,handleJsonViewerDialogOpen:p,handleWindowMinimize:w,handleWindowOrder:S,registerJsonViewerEvents:k}),[t,p,w,S,k]);return jsxs(ce.Provider,{value:N,children:[e,jsx(Qt,{list:t,events:a,onClose:u,isWindowMinimized:o,windowOrder:s})]})};var Yo=({isWindowMinimized:e,windowOrder:t,...i})=>{let{handleJsonViewerDialogOpen:o,handleWindowMinimize:n,handleWindowOrder:s,registerJsonViewerEvents:l}=useContext(ce),d=useCallback(()=>{n(e);},[n,e]),p=useCallback(()=>{s(t);},[s,t]);return useEffect(()=>{p();},[p]),useEffect(()=>{d();},[d]),useEffect(()=>{l(i);},[l,i]),{handleJsonViewerDialogOpen:o}};var ti=Y;export{H as a,K as b,W as c,Me as d,le as e,ce as f,Qt as g,Fo as h,Yo as i,ti as j};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {Ea,Se,Te,a,yi,lc,ui,mc,si,pc,ti,Ac,wi,Bc,xi,Cc,Bi,zc,vi,Dc,Ai,Ec,Ci,Ze,Ge as Ge$1,He as He$1,Ie,Je as Je$1,zi,Fc,bf,af,$e as $e$1,_e,Ck,Bk,eg,dg,gg,fg,jg,ig,lg,kg,rg,qg,tg,sg,$c,_c,Yc,Xc,dd,ed,qd,bd,id,ld,hd,kd,nd,md,pd,od,jd,wd,vd,td,sd,Ad,Bd,Nd,yd,Fd,Id,Ed,Hd,Kd,Jd,Md,Ld,Gd}from'./chunk-2RALOOEZ.js';var ze=3,ve=88,He=24;var t={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},o={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateWallet:{code:"UPDATE_WALLET"},assign:{code:"ASSIGN"},updatePoc:{code:"UPDATE_POC"}},c={review:{code:"REVIEW"},verify:{code:"VERIFY"},reject:{code:"REJECT"},statusControl:{code:"STATUS_CONTROL"},viewOperator:{code:"VIEW_OPERATOR"},createOperator:{code:"CREATE_OPERATOR"}},e={tokens:{code:"TOKEN",services:{tokens:{code:"TOKENS",functions:{...t}}}},billing:{code:"BILLING",services:{invoices:{code:"INVOICES",functions:{...t,create:{code:"CREATE"},cancel:{code:"CANCEL"},reminder:{code:"REMINDER"},finalize:{code:"FINALIZE"},refund:{code:"REFUND"},createBulk:{code:"CREATE_BULK_INVOICES"},usersList:{code:"USER_LIST"}}}}},business:{code:"BUSINESS",services:{merchant:{code:"MERCHANT",functions:{...t,...o}},retailer:{code:"RETAILER",functions:{...t,...o}},businesses:{code:"BUSINESS",functions:{...t,update:{code:"UPDATE"}}}}},acceptance:{code:"ACCEPTANCE",services:{insights:{code:"INSIGHTS",functions:{...t,performanceOverview:{code:"PERFORMANCE_OVERVIEW"},performanceActivity:{code:"PERFORMANCE_ACTIVITY"},performanceHeatmap:{code:"PERFORMANCE_HEATMAP"},chargeStatus:{code:"CHARGE_STATUS"},chargeAcceptanceRate:{code:"CHARGE_ACCEPTANCE_RATE"}}},intents:{code:"INTENTS",functions:{...t,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"}}},authorization:{code:"AUTHORIZATIONS",functions:{...t,void:{code:"VOID"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}},charges:{code:"CHARGES",functions:{...t,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},refund:{code:"REFUND"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"},viewReceipt:{code:"RECEIPT"}}},destinations:{code:"DESTINATIONS",functions:{...t,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},topups:{code:"TOPUPS",functions:{...t,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},refunds:{code:"REFUNDS",functions:{...t,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},cancel:{code:"CANCEL"},viewReceipt:{code:"RECEIPT"},bulkRefund:{code:"BULK_REFUND"}}},chargeback:{code:"CHARGEBACKS"},settlements:{code:"SETTLEMENTS",functions:{...t}},disputes:{code:"DISPUTES"}}},wallet:{code:"WALLET",services:{businesses:{code:"BUSINESS_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailers:{code:"RETAILER_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},customers:{code:"CUSTOMER_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},merchants:{code:"MERCHANT_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentTechnology:{code:"PAYMENT_TECHNOLOGY_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},financialInstitution:{code:"FINANCIAL_INSTITUTION_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailCommerce:{code:"RETAIL_COMMERCE_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},app:{code:"APP_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},billing:{code:"BILLING_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},onlineCommerce:{code:"ONLINE_COMMERCE_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentFacilitator:{code:"PAYMENT_FACILITATOR_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},development:{code:"DEVELOPMENT_WALLET",functions:{...t,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}}}},payouts:{code:"PAYOUT",services:{payouts:{code:"PAYOUTS",functions:{...t,bulkReports:{code:"BULK_REPORTS"},flag:{code:"FLAG"}}},reversePayout:{code:"REVERSEPAYOUT"},retailerPayout:{code:"RETAILER_PAYOUTS"},merchantPayout:{code:"MERCHANT_PAYOUTS"}}},protect:{code:"PROTECT",services:{authorizationsFlags:{code:"AUTHORIZE",functions:{...t,releaseFlag:{code:"RELEASE FLAG"}}},chargesFlags:{code:"CHARGE",functions:{...t,releaseFlag:{code:"RELEASE FLAG"}}}}},authentication:{code:"AUTHENTICATION",services:{authentication:{code:"AUTHENTICATION",functions:{...t}},saveTokens:{code:"SAVE_TOKENS",functions:{...t}},charges:{code:"CHARGES",functions:{...t}},authorizations:{code:"AUTHORISATIONS",functions:{...t}}}},customers:{code:"CUSTOMER"},businesses:{code:"BUSINESS",services:{businesses:{code:"BUSINESSES"}}},reports:{code:"REPORTS",services:{reports:{code:"REPORTS"}}},upload:{code:"UPLOAD",services:{upload:{code:"UPLOAD"}}},paylink:{code:"PAYLINK",services:{links:{code:"LINKS",functions:{...t,create:{code:"CREATE"}}}}},account:{code:"ACCOUNT",services:{account:{code:"ACCOUNT"},users:{code:"USERS",functions:{list:{code:"LIST"},create:{code:"CREATE"},update:{code:"UPDATE"}}},operators:{code:"OPERATORS",functions:{list:{code:"LIST"},copy:{code:"COPY"}}},entity:{code:"ENTITY",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},brands:{code:"BRAND",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},walletSettings:{code:"WALLET_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},order:{code:"ORDER",services:{orders:{code:"ORDERS",functions:{...t,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}}}},leads:{code:"LEAD",services:{merchantLead:{code:"MERCHANT_LEAD",functions:{...t,convert:{code:"CONVERT"},close:{code:"CLOSE"},update:{code:"UPDATE"},connect:{code:"CONNECT"},create:{code:"CREATE"}}},retailerLead:{code:"RETAILER_LEAD",functions:{...t,update:{code:"UPDATE"},close:{code:"CLOSE"},convert:{code:"CONVERT"},create:{code:"CREATE"}}}}},terminals:{code:"TERMINALS",services:{create:{code:"CREATE"},view:{code:"VIEW"},update:{code:"UPDATE"},deactivate:{code:"DEACTIVATE"}}},slaProcess:{code:"SLA_PROCESS"},orchestration:{code:"ORCHESTRATION",services:{routing:{code:"ROUTING",functions:{...t,create:{code:"CREATE"},update:{code:"UPDATE"}}},gatewayTerminals:{code:"GATEWAY_TERMINALS",functions:{...t,create:{code:"CREATE"},update:{code:"UPDATE"}}},credentials:{code:"CREDENTIALS",functions:{...t,create:{code:"CREATE"},update:{code:"UPDATE"}}},orchestrationSettings:{code:"ORCHESTRATION_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},lending:{code:"LENDING"},deema:{code:"DEEMA"},osApp:{code:"OS_APP"},platform:{code:"PLATFORM",services:{platform:{code:"PLATFORM",functions:{...t,...o,...c}},onlineCommerce:{code:"ONLINE_COMMERCE",functions:{...t,...o,...c}},retailCommerce:{code:"RETAIL_COMMERCE",functions:{...t,...o,...c}},app:{code:"APP",functions:{...t,...o,...c}},billing:{code:"BILLING",functions:{...t,...o,...c}}}}},Je={general:{height:`calc(100vh - ${Number(88)+Number(24)}px)`,minWidth:780,maxWidth:1200,minHeight:"50vh",maxHeight:"100vh"},[e.reports.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[e.upload.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[e.billing.code]:{minWidth:856},[e.paylink.code]:{minWidth:856},[e.business.code]:{width:1400,maxWidth:1400}},qe=[{code:e.tokens.code,iconUrl:lc,toolbarIconUrl:yi},{code:e.billing.code,iconUrl:mc,toolbarIconUrl:ui},{code:e.acceptance.code,iconUrl:pc,toolbarIconUrl:si},{code:e.wallet.code,iconUrl:Ac,toolbarIconUrl:ti},{code:e.payouts.code,iconUrl:Bc,toolbarIconUrl:wi},{code:e.protect.code,iconUrl:Cc,toolbarIconUrl:xi},{code:e.authentication.code,iconUrl:zc,toolbarIconUrl:Bi},{code:e.customers.code,iconUrl:Dc,toolbarIconUrl:vi},{code:e.businesses.code,iconUrl:Ec,toolbarIconUrl:Ai},{code:e.reports.code,iconUrl:Ze,toolbarIconUrl:Ci},{code:e.upload.code,iconUrl:He$1,toolbarIconUrl:Ge$1},{code:e.paylink.code,iconUrl:Je$1,toolbarIconUrl:Ie},{code:e.account.code,iconUrl:Fc,toolbarIconUrl:zi},{code:e.order.code,iconUrl:af,toolbarIconUrl:bf},{code:e.leads.code,iconUrl:_e,toolbarIconUrl:$e$1},{code:e.terminals.code,iconUrl:Bk,toolbarIconUrl:Ck},{code:e.slaProcess.code,iconUrl:dg,toolbarIconUrl:eg},{code:e.orchestration.code,iconUrl:fg,toolbarIconUrl:gg},{code:e.lending.code,iconUrl:ig,toolbarIconUrl:jg},{code:e.deema.code,iconUrl:kg,toolbarIconUrl:lg},{code:e.platform.code,iconUrl:qg,toolbarIconUrl:rg},{code:e.osApp.code,iconUrl:sg,toolbarIconUrl:tg}],$e=["login"];var Ge=window.__GLOBAL_CONFIG__??{},We=Ge.MW_BASE_URL??import.meta.env.VITE_BASE_URL,je=`${We}/api`,et=import.meta.env.VITE_ENV,tt=import.meta.env.VITE_TEST_FIXED_SK,xt=Ge.HOST_APP_NAME??import.meta.env.VITE_HOST_APP_NAME,pt={TAPSTERS_FRONTEND:"tapsters-frontend",OS_FRONTEND:"os-frontend"};var ot=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var ct={intents:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},authorization:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},charges:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},destinations:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},topups:{color:"#8D8D94",background:"rgba(141, 141, 148, 0.10)"},refunds:{color:"#4E1FD0",background:"rgba(78, 31, 208, 0.10)"},chargebacks:{color:"#F00",background:"rgba(255, 0, 0, 0.10)"},settlements:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},disputes:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},payouts:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},statement:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},invoices:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"},links:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"}};var nt=50,rt={AuthorizationsList:{limit:50},ChargesList:{limit:50},DestinationsList:{limit:50,destinationsLimit:20},IntentsList:{limit:50},RefundsList:{limit:50},SettlementsList:{limit:50},TopupsList:{limit:50},AuthenticationsList:{limit:25},InvoicesList:{limit:50},LeadsList:{limit:50,page_no:1},OrdersList:{limit:50},PayoutsList:{limit:50},TokensList:{limit:50},WalletsList:{limit:50,page:1},brands:{limit:50},MerchantsList:{limit:50},TerminalDevices:{limit:50}};var ut="TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED";var Et={id:{default:"180px",text:"180px",sheet:"180px"},merchant:{default:"115px",text:"150px",sheet:"138px"},brand:{default:"125px",text:"116px",sheet:"116px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"90px",text:"250px",sheet:"250px"},provider:{default:"102px",text:"102px",sheet:"102px"},purpose:{default:"126px",text:"126px",sheet:"126px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"175px",text:"175px",sheet:"175px"},status:{default:"86px",text:"250px",sheet:"250px"},authentication_id:{default:"260px",text:"320px",sheet:"320px"},charge_id:{default:"245px",text:"290px",sheet:"290px"},actions:{default:"100px",text:"100px",sheet:"100px"},date:{default:"150px",text:"170px",sheet:"130px"},channel:{default:"100px",text:"100px",sheet:"100px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"}};var ft={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},auto:{default:"70px",text:"90px",sheet:"90px"},balance:{default:"60px",text:"60px",sheet:"150px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},reference:{default:"95px",text:"180px",sheet:"180px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"230px"},amount:{default:"130px",text:"195px",sheet:"150px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"100px",sheet:"300px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"150px"},metadata:{default:"185px",text:"185px",sheet:"250px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"80px",text:"100px",sheet:"100px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},transaction_id:{default:"120px",text:"120px",sheet:"315px"},device:{default:"60px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"140px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},card_number:{default:"120px",text:"120px",sheet:"155px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"}};var At={code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},id:{default:"205px",text:"225px",sheet:"250px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},source:{default:"70px",text:"125px",sheet:"1250px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"170px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"550px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"300px",sheet:"170px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},payout_status:{default:"70px",text:"70px",sheet:"130px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"165px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},device:{default:"70px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"200px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},brand:{default:"125px",text:"116px",sheet:"116px"}};var mt={id:{default:"205px",text:"225px",sheet:"250px"},reference_order:{default:"95px",text:"180px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},created:{default:"150px",text:"170px",sheet:"130px"},receipt:{default:"85px",text:"150px",sheet:"165px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},chargeId:{default:"225px",text:"225px",sheet:"225px"},chargeDate:{default:"150px",text:"150px",sheet:"130px"},device:{default:"70px",text:"250px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"130px",text:"195px",sheet:"150px"},status:{default:"70px",text:"100px",sheet:"170px"},chargeStatus:{default:"150px",text:"250px",sheet:"250px"},merchant:{default:"115px",text:"150px",sheet:"138px"},actions:{default:"100px",text:"100px",sheet:"85px"},destination:{default:"100px",text:"100px",sheet:"100px"},retailer:{default:"100px",text:"100px",sheet:"100px"},payout:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},card_number:{default:"120px",text:"120px",sheet:"155px"},card_no:{default:"120px",text:"120px",sheet:"200px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},product:{default:"85px",text:"85px",sheet:"85px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},payout_status:{default:"70px",text:"120px",sheet:"130px"},reference_transfer:{default:"205px",text:"225px",sheet:"250px"}};var St={created:{default:"170px",text:"170px",sheet:"170px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"195px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Nt={id:{default:"180px",text:"180px",sheet:"180px"},link:{default:"145px",text:"145px",sheet:"350px"},date:{default:"150px",text:"150px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"260px"},customer:{default:"180px",text:"180px",sheet:"180px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},merchant:{default:"180px",text:"180px",sheet:"92px"},amount:{default:"195px",text:"195px",sheet:"150px"},channel:{default:"90px",text:"90px",sheet:"156px"},due:{default:"92px",text:"340px",sheet:"108px"},status:{default:"90px",text:"170px",sheet:"170px"},actions:{default:"100px",text:"100px",sheet:"100px"},paymentMethod:{default:"110px",text:"130px",sheet:"122px"},cardNo:{default:"130px",text:"130px",sheet:"130px"},chargeId:{default:"225px",text:"225px",sheet:"230px"},receiptId:{default:"180px",text:"180px",sheet:"180px"},reference_no:{default:"225px",text:"225px",sheet:"225px"},invoice_number:{default:"160px",text:"160px",sheet:"160px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},metadata:{default:"180px",text:"180px",sheet:"180px"}};var Pt={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Lt={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},authenticate:{default:"150px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var yt={id:{default:"225px",text:"225px",sheet:"225px"},date:{default:"150px",text:"150px",sheet:"150px"},wallet:{default:"150px",text:"250px",sheet:"250px"},bankAccount:{default:"240px",text:"250px",sheet:"250px"},amount:{default:"210px",text:"210px",sheet:"210px"},status:{default:"51px",text:"250px",sheet:"250px"},report:{default:"56px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"100px"},referenceId:{default:"72px",text:"140px",sheet:"100px"},currency:{default:"80px",text:"80px",sheet:"80px"},beneficiary_name:{default:"180px",text:"180px",sheet:"180px"}};var Ut={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},auto:{default:"150px",text:"250px",sheet:"250px"},balance:{default:"50px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Dt={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Gt={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},product:{default:"85px",text:"85px",sheet:"85px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},device:{default:"100px",text:"200px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"200px",sheet:"200px"},payment_agreement:{default:"50px",text:"200px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"150px"},payouts:{default:"195px",text:"195px",sheet:"300px"},reason:{default:"170px",text:"240px",sheet:"160px"},destinations:{default:"70px",text:"240px",sheet:"340px"},balance:{default:"110px",text:"150px",sheet:"150px"},status:{default:"100px",text:"100px",sheet:"170px"},merchant:{default:"115px",text:"150px",sheet:"138px"},reference:{default:"95px",text:"180px",sheet:"250px"},fees:{default:"100px",text:"200px",sheet:"200px"},metadata:{default:"185px",text:"180px",sheet:"180px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},receipt_id:{default:"100px",text:"150px",sheet:"150px"},card_no:{default:"120px",text:"120px",sheet:"200px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},meta:{default:"52px",text:"52px",sheet:"52px"},charge_meta:{default:"100px",text:"100px",sheet:"250px"},brand:{default:"125px",text:"116px",sheet:"116px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"}};var Ht={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"100px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},purpose:{default:"150px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Yt={id:{default:"180px",text:"180px",sheet:"180px"},created:{default:"170px",text:"170px",sheet:"170px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var kt={id:{default:"180px",text:"180px",sheet:"180px"},type:{default:"150px",text:"250px",sheet:"250px"},wallet:{default:"150px",text:"250px",sheet:"250px"},source:{default:"92px",text:"125px",sheet:"125px"},amount:{default:"195px",text:"195px",sheet:"195px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Vt={id:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"220px",text:"220px",sheet:"220px"},actions:{default:"70px",text:"70px",sheet:"70px"},date:{default:"130px",text:"130px",sheet:"130px"},description:{default:"210px",text:"210px",sheet:"210px"},transactions:{default:"90px",text:"90px",sheet:"90px"}};var zt={id:{default:"225px",text:"225px",sheet:"225px"},postdate:{default:"170px",text:"170px",sheet:"170px"},date:{default:"110px",text:"110px",sheet:"110px"},description:{default:"210px",text:"210px",sheet:"210px"},receipt:{default:"80px",text:"150px",sheet:"150px"},authenticate:{default:"70px",text:"100px",sheet:"100px"},debit:{default:"400px",text:"400px",sheet:"400px"},source:{default:"75px",text:"125px",sheet:"125px"},actions:{default:"100px",text:"100px",sheet:"100px"},amount:{default:"195px",text:"195px",sheet:"195px"},reference:{default:"95px",text:"110px",sheet:"110px"},card:{default:"120px",text:"120px",sheet:"120px"}};var Zt={id:{default:"225px",text:"225px",sheet:"220px"},lead_id:{default:"180px",text:"180px",sheet:"220px"},merchant_id:{default:"180px",text:"180px",sheet:"220px"},brand_id:{default:"180px",text:"180px",sheet:"220px"},individual_email:{default:"180px",text:"180px",sheet:"250px"},personal_id_type:{default:"180px",text:"180px",sheet:"220px"},wallet_currency:{default:"120px",text:"180px",sheet:"140px"},tax_number:{default:"180px",text:"180px",sheet:"140px"},wallet_id:{default:"180px",text:"180px",sheet:"220px"},business_id:{default:"180px",text:"180px",sheet:"220px"},board_id:{default:"180px",text:"180px",sheet:"220px"},history:{default:"180px",text:"180px",sheet:"130px"},bank_account:{default:"120px",text:"180px",sheet:"110px"},individual_phone_number:{default:"180px",text:"180px",sheet:"190px"},entity_legal_name:{default:"180px",text:"180px",sheet:"250px"},entity_id:{default:"180px",text:"180px",sheet:"220px"},entity:{default:"146px",text:"180px",sheet:"250px"},created:{default:"172px",text:"172px",sheet:"172px"},brands:{default:"140px",text:"140px",sheet:"250px"},marketplace:{default:"110px",text:"110px",sheet:"104px"},individuals:{default:"128px",text:"185px",sheet:"203px"},identification_number:{default:"150px",text:"150px",sheet:"150px"},segments:{default:"70px",text:"180px",sheet:"180px"},psp:{default:"62px",text:"180px",sheet:"180px"},status:{default:"64px",text:"100px",sheet:"172px"},partners:{default:"77px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"70px"},avatar:{default:"40px",text:"40px",sheet:"40px"},user_name:{default:"150px",text:"180px",sheet:"180px"},channels:{default:"80px",text:"120px",sheet:"440px"},merchant:{default:"167px",text:"180px",sheet:"167px"},business_name:{default:"220px",text:"220px",sheet:"220px"},apps:{default:"120px",text:"120px",sheet:"120px"},assignee:{default:"96px",text:"100px",sheet:"172px"},team:{default:"88px",text:"100px",sheet:"172px"}};var qt={device:{default:"120px",text:"120px",sheet:"120px"},terminalId:{default:"100px",text:"100px",sheet:"100px"},merchantId:{default:"120px",text:"120px",sheet:"120px"},type:{default:"80px",text:"80px",sheet:"80px"},platform:{default:"100px",text:"100px",sheet:"100px"},branding:{default:"80px",text:"80px",sheet:"80px"},features:{default:"100px",text:"100px",sheet:"100px"},acceptance:{default:"80px",text:"80px",sheet:"80px"},brand:{default:"80px",text:"80px",sheet:"80px"},address:{default:"160px",text:"160px",sheet:"160px"},status:{default:"80px",text:"80px",sheet:"80px"},actions:{default:"80px",text:"80px",sheet:"80px"},charges:{default:"180px",text:"180px",sheet:"180px"},chargesTransactions:{default:"70px",text:"70px",sheet:"70px"}};var Xt={id:{default:"111px",text:"111px",sheet:"215px"},acquirer_id:{default:"197px",text:"197px",sheet:"197px"},provider_id:{default:"88px",text:"88px",sheet:"88px"},merchant_id:{default:"160px",text:"160px",sheet:"160px"},acquirer_merchant_id:{default:"180px",text:"180px",sheet:"180px"},acceptance_mode:{default:"132px",text:"132px",sheet:"132px"},transaction_source:{default:"136px",text:"136px",sheet:"132px"},transaction_mode:{default:"132px",text:"132px",sheet:"132px"},charge_currency:{default:"132px",text:"132px",sheet:"132px"},settle_currency:{default:"120px",text:"120px",sheet:"120px"},gateway_type:{default:"132px",text:"132px",sheet:"100px"},gateway:{default:"150px",text:"150px",sheet:"150px"},three_ds:{default:"120px",text:"120px",sheet:"150px"},status:{default:"149px",text:"149px",sheet:"100px"},live_mode:{default:"100px",text:"100px",sheet:"100px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var ex={id:{default:"112px",text:"112px",sheet:"215px"},name:{default:"225px",text:"225px",sheet:"180px"},terminal_id:{default:"118px",text:"118px",sheet:"160px"},rank:{default:"66px",text:"66px",sheet:"88px"},acceptance_rate:{default:"107px",text:"107px",sheet:"132px"},route_issuer_scheme:{default:"112px",text:"112px",sheet:"140px"},acceptance_mode:{default:"132px",text:"132px",sheet:"140px"},transaction_mode:{default:"128px",text:"128px",sheet:"140px"},active:{default:"87px",text:"87px",sheet:"120px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},live_mode:{default:"100px",text:"100px",sheet:"110px"},status:{default:"112px",text:"112px",sheet:"140px"},route_ref:{default:"140px",text:"140px",sheet:"160px"},filter_usage:{default:"110px",text:"110px",sheet:"120px"},route_issuer_id:{default:"140px",text:"140px",sheet:"160px"},route_issuer_bin:{default:"140px",text:"140px",sheet:"160px"},route_issuer_brand:{default:"140px",text:"140px",sheet:"160px"},route_issuer_category:{default:"150px",text:"150px",sheet:"170px"},route_issuer_country:{default:"150px",text:"150px",sheet:"170px"},route_issuer_type:{default:"140px",text:"140px",sheet:"160px"},route_merchant:{default:"150px",text:"150px",sheet:"170px"},route_merchant_bank:{default:"150px",text:"150px",sheet:"170px"},route_merchant_country:{default:"150px",text:"150px",sheet:"170px"},route_merchant_currency:{default:"150px",text:"150px",sheet:"170px"},route_merchant_mcc:{default:"140px",text:"140px",sheet:"160px"},route_merchant_sector:{default:"150px",text:"150px",sheet:"170px"},route_transaction_currency:{default:"160px",text:"160px",sheet:"180px"},route_keywords:{default:"160px",text:"160px",sheet:"180px"},keyword_usage:{default:"150px",text:"150px",sheet:"170px"},exclude_condition:{default:"140px",text:"140px",sheet:"140px"},exclude_issuer_scheme:{default:"156px",text:"156px",sheet:"160px"},exclude_issuer_bin:{default:"150px",text:"150px",sheet:"160px"},exclude_issuer_country:{default:"160px",text:"160px",sheet:"170px"},exclude_issuer_type:{default:"150px",text:"150px",sheet:"160px"},exclude_route_merchant:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_mcc:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_country:{default:"177px",text:"177px",sheet:"180px"},exclude_merchant_currency:{default:"183px",text:"183px",sheet:"180px"},exclude_merchant_bank:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_sector:{default:"170px",text:"170px",sheet:"180px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var Ye={AE:"UTC +04:00",SA:"UTC +03:00",KW:"UTC +03:00",OM:"UTC +04:00",YM:"UTC +03:00",EG:"UTC +03:00",BH:"UTC +03:00",JO:"UTC +03:00",LB:"UTC +03:00",QA:"UTC +03:00",GB:"UTC +01:00",IE:"UTC +01:00",FR:"UTC +02:00",NL:"UTC +02:00",DE:"UTC +02:00",ES:"UTC +02:00",IT:"UTC +02:00",PK:"UTC +05:00",IN:"UTC +05:00",SG:"UTC +08:00",US:"UTC -05:00",UTC:"UTC +00:00"},xx=Ye.UTC,px=[{countryCode:"SA",label:"(GMT:+0300) Saudi Arabia",timezone:"Asia/Riyadh",offset:3},{countryCode:"BH",label:"(GMT:+0300) Bahrain",timezone:"Asia/Bahrain",offset:3},{countryCode:"EG",label:"(GMT:+0300) Egypt",timezone:"Africa/Cairo",offset:3},{countryCode:"LB",label:"(GMT:+0200) Lebanon",timezone:"Asia/Beirut",offset:2},{countryCode:"JO",label:"(GMT:+0300) Jordan",timezone:"Asia/Amman",offset:3},{countryCode:"KW",label:"(GMT:+0300) Kuwait",timezone:"Asia/Kuwait",offset:3},{countryCode:"OM",label:"(GMT:+0400) Oman",timezone:"Asia/Muscat",offset:4},{countryCode:"QA",label:"(GMT:+0300) Qatar",timezone:"Asia/Qatar",offset:3},{countryCode:"AE",label:"(GMT:+0400) United Arab Emirates",timezone:"Asia/Dubai",offset:4},{countryCode:"GB",label:"(GMT:+0000) United Kingdom",timezone:"Europe/London",offset:0},{countryCode:"IE",label:"(GMT:+0000) Ireland",timezone:"Europe/Dublin",offset:0},{countryCode:"FR",label:"(GMT:+0100) France",timezone:" Europe/Paris",offset:1},{countryCode:"NL",label:"(GMT:+0100) Netherlands",timezone:"Europe/Amsterdam",offset:1},{countryCode:"DE",label:"(GMT:+0100) Germany",timezone:"Europe/Berlin",offset:1},{countryCode:"IT",label:"(GMT:+0100) Italy",timezone:"Europe/Rome",offset:1},{countryCode:"ES",label:"(GMT:+0100) Spain",timezone:"Europe/Madrid",offset:1},{countryCode:"PK",label:"(GMT:+0500) Pakistan",timezone:"Asia/Karachi",offset:5},{countryCode:"IN",label:"(GMT:-0500) India",timezone:"America/Indiana/Indianapolis",offset:-5},{countryCode:"SG",label:"(GMT:+0800) Singapore",timezone:"Asia/Singapore",offset:8},{countryCode:"US",label:"(GMT:-0500) Eastern Time (US & Canada)",timezone:"America/New_York",offset:-5}];var ox={SAR:{decimals:2,country:"SA"},BHD:{decimals:3,country:"BH"},EGP:{decimals:2,country:"EG"},JOD:{decimals:3,country:"JO"},KWD:{decimals:3,country:"KW"},LBP:{decimals:2,country:"LB"},OMR:{decimals:3,country:"OM"},AED:{decimals:2,country:"AE"},PKR:{decimals:2,country:"PK"},INR:{decimals:2,country:"IN"},SGD:{decimals:2,country:"SG"},USD:{decimals:2,country:"US"},GBP:{decimals:2,country:"GB"},EUR:{decimals:2,country:"GR"},QAR:{decimals:2,country:"QA"}},sx=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],cx={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var nx=52,rx=70,lx=57,ux=200,ix=5,Ex=40,hx=20,fx=28;var Ax={COUNT:"count",AMOUNT:"amount"},_x={count:"transaction",amount:"amount"};var s={DEVICE:`${a}/device.svg`,CARD:`${a}/payment-method/card.svg`,PASS_THRU_WALLET:`${a}/passThruWallet.svg`,EXPRESS_CHECKOUT:`${a}/express_checkout.svg`,STORED_VALUE_WALLET:`${a}/storedValueWallet.svg`,CASH_WALLET:`${a}/cash.svg`,BUY_NOW_PAY_LATER:`${a}/buyNowPayLater.svg`},Sx=[{name:"CARD",label:"Card",icon:s.CARD},{name:"EXPRESS",label:"Express Checkout",icon:s.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:s.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:s.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:s.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:s.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:s.CASH_WALLET}],Be="customer",ke="merchant",Rx=[{key:Be,value:"true",label:"Customer"},{key:ke,value:"false",label:"Merchant"}],Nx=[{key:"Regional",label:"Regional"},{key:"Global",label:"Global"},{key:"Local",label:"Local"}],Cx=[{key:"3DS",label:"3DS"},{key:"Device Biometric",label:"Biometric"},{key:"Non-3DS",label:"Non-3DS"},{key:"Attempted",label:"Attempted"},{key:"Undetermined",label:"Undetermined"}];var Lx={PAYMENT_GATEWAY_PROVIDER:jd,PAYMENT_TECHNOLOGY:od,PAYMENT_TERMINAL_PROVIDER:pd,PAYMENT_PROCESSOR:md,PAYMENT_SCHEME:nd,PAYMENT_ISSUER:kd,PAYMENT_ACQUIRER:hd,PAYMENT_METHOD:ld,PAYMENT_FACILITATOR:id,APP_PLATFORM:bd,RETAIL_PLATFORM:qd,COMMERCE_PLATFORM:ed,BILLING_PLATFORM:dd,BUSINESS:Xc,DEVELOPMENT_HOUSE:Yc,MASTER_ORCHESTRATOR:_c,PLATFORM:$c},Mx={PAYMENT_GATEWAY_PROVIDER:Gd,PAYMENT_TECHNOLOGY:Ld,PAYMENT_TERMINAL_PROVIDER:Md,PAYMENT_PROCESSOR:Jd,PAYMENT_SCHEME:Kd,PAYMENT_ISSUER:Hd,PAYMENT_ACQUIRER:Ed,PAYMENT_METHOD:Id,PAYMENT_FACILITATOR:Fd,APP_PLATFORM:yd,RETAIL_PLATFORM:Nd,COMMERCE_PLATFORM:Bd,BILLING_PLATFORM:Ad,BUSINESS:sd,DEVELOPMENT_HOUSE:td,MASTER_ORCHESTRATOR:vd,PLATFORM:wd},p={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},yx={PLATFORM:p.PLATFORM,RETAIL_PLATFORM:p.PLATFORM,BILLING_PLATFORM:p.PLATFORM,COMMERCE_PLATFORM:p.PLATFORM,APP_PLATFORM:p.PLATFORM,DEVELOPMENT_HOUSE:p.DEVELOPMENT_HOUSE,PAYMENT_TECHNOLOGY:p.PAYMENT_TECHNOLOGY,PAYMENT_ISSUER:p.PAYMENT_ISSUER,PAYMENT_ACQUIRER:p.PAYMENT_INSTITUTION,PAYMENT_FACILITATOR:p.PAYMENT_INSTITUTION},gx=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM"],Ux=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],bx=["PAYMENT_TECHNOLOGY"],Dx=["PAYMENT_ISSUER"],Fx=["DEVELOPMENT_HOUSE"];var vx={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var Wx={ZERO:0,FIVE:5,TEN:10,FIFTEEN:15};var x={CHARGE:"CHARGE",AUTHORIZE:"AUTHORIZE",REFUND:"REFUND",CHARGEBACKS:"CHARGEBACKS",DESTINATIONS:"DESTINATIONS",REVERSED_DESTINATIONS:"REVERSED_DESTINATIONS",STATEMENT:"STATEMENT",STATEMENT_SUMMARY:"STATEMENT_SUMMARY",INVOICE:"INVOICE",PAYOUT:"PAYOUT",MERCHANT_PAYOUT:"MERCHANT_PAYOUT",RETAILER_PAYOUT:"RETAILER_PAYOUT",AUTHENTICATION:"AUTHENTICATION"},wx={[e.acceptance.services.charges.code]:[x.CHARGE],[e.acceptance.services.authorization.code]:[x.AUTHORIZE],[e.acceptance.services.refunds.code]:[x.REFUND],[e.acceptance.services.chargeback.code]:[x.CHARGEBACKS],[e.acceptance.services.destinations.code]:[x.DESTINATIONS,x.REVERSED_DESTINATIONS],[e.acceptance.code]:[x.CHARGE,x.AUTHORIZE,x.REFUND,x.CHARGEBACKS,x.DESTINATIONS,x.REVERSED_DESTINATIONS],[e.wallet.services.merchants.functions.statement.code]:[x.STATEMENT],[e.wallet.services.merchants.functions.summary.code]:[x.STATEMENT_SUMMARY],[e.wallet.code]:[x.STATEMENT,x.STATEMENT_SUMMARY],[e.billing.services.invoices.code]:[x.INVOICE],[e.billing.code]:[x.INVOICE],[e.payouts.services.payouts.code]:[x.PAYOUT],[e.payouts.services.merchantPayout.code]:[x.MERCHANT_PAYOUT],[e.payouts.services.retailerPayout.code]:[x.RETAILER_PAYOUT],[e.payouts.code]:[x.PAYOUT,x.MERCHANT_PAYOUT,x.RETAILER_PAYOUT],[e.authentication.code]:[x.AUTHENTICATION]},Vx=[{code:e.billing.code,name:"Billing",icon:mc,services:[{name:"Invoices",code:e.billing.services.invoices.code}]},{code:e.acceptance.code,name:"Acceptance",icon:pc,services:[{name:"Authorisations",code:e.acceptance.services.authorization.code},{name:"Charges",code:e.acceptance.services.charges.code},{name:"Refunds",code:e.acceptance.services.refunds.code},{name:"Chargebacks",code:e.acceptance.services.chargeback.code},{name:"Destinations",code:e.acceptance.services.destinations.code}]},{code:e.wallet.code,name:"Wallet",icon:Ac,services:[{name:"Aggregated Statement",code:e.wallet.services.merchants.functions.summary.code},{name:"Detailed Statement",code:e.wallet.services.merchants.functions.statement.code}]},{code:e.payouts.code,name:"Payouts",icon:Bc,services:[{name:"Payouts",code:e.payouts.services.payouts.code},{name:"Merchant Payouts",code:e.payouts.services.merchantPayout.code},{name:"Retailer Payouts",code:e.payouts.services.retailerPayout.code}]},{code:e.authentication.code,name:"Authentication",icon:zc,services:[{name:"Authentication",code:e.authentication.services.authentication.code}]}];var zx={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var we=["AUTHENTICATED"],Ve=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","EXEMPTED","INITIATED"],Zx=[...we,...Ve],Ke=(E=>(E.Challenge="C",E.Frictionless="F",E))(Ke||{}),Jx={C:"Challenge",F:"Frictionless"};var $x=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var ep={csv:Te,xls:Se,xlsx:Se,zip:Ea};var xp={acceptance:{app:"app"},account:{app:"app",accountWidget:"accountWidget"},authentication:{app:"app"},billing:{app:"app"},business:{app:"app"},lead:{app:"app"},lending:{app:"app"},deema:{app:"app"},orchestration:{app:"app"},order:{app:"app"},payout:{app:"app"},platform:{app:"app"},protect:{app:"app"},report:{app:"app"},sallaProcess:{app:"app"},terminal:{app:"app"},token:{app:"app"},upload:{app:"app"},wallet:{app:"app"}};export{Ex as $,Nt as A,Ve as Aa,Pt as B,Zx as Ba,Lt as C,Ke as Ca,yt as D,Jx as Da,Ut as E,$x as Ea,Dt as F,ep as Fa,Gt as G,xp as Ga,Ht as H,Yt as I,kt as J,Vt as K,zt as L,Zt as M,qt as N,Xt as O,ex as P,Ye as Q,xx as R,px as S,ox as T,sx as U,cx as V,nx as W,rx as X,lx as Y,ux as Z,ix as _,ze as a,hx as aa,ve as b,fx as ba,He as c,Ax as ca,t as d,_x as da,o as e,s as ea,c as f,Sx as fa,e as g,Be as ga,Je as h,ke as ha,qe as i,Rx as ia,$e as j,Nx as ja,We as k,Cx as ka,je as l,Lx as la,et as m,Mx as ma,tt as n,p as na,xt as o,yx as oa,pt as p,gx as pa,ot as q,Ux as qa,ct as r,bx as ra,nt as s,Dx as sa,rt as t,Fx as ta,ut as u,vx as ua,Et as v,Wx as va,ft as w,x as wa,At as x,wx as xa,mt as y,Vx as ya,St as z,zx as za};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {ok,mk,kk,hk,Zj,$j,pk,Yj,Xj,nk,Ah,qb,ak,ob,bk,dk,ek,jk,ik,ck}from'./chunk-2RALOOEZ.js';var b={ABANDONED:Ah,IN_PROGRESS:pk,VOID:nk,CANCELLED:Xj,CAPTURED:Yj,INITIATED:pk,FAILED:$j,DECLINED:Zj,RESTRICTED:hk,TIMEDOUT:kk,UNKNOWN:mk,AUTHORIZED:ok},C={UNKNOWN:{gatewayIcon:ak,acquirerIcon:qb,color:"#FF7A00",background:"#FF7A001A"},TIMEDOUT:{gatewayIcon:ak,acquirerIcon:qb,color:"#FF7A00",background:"#FFF3E5"},FAILED:{gatewayIcon:ak,acquirerIcon:qb,color:"#FF7A00",background:"#FFF3E5"},DECLINED:{gatewayIcon:bk,acquirerIcon:ob,color:"#FF3D00",background:"#FFEAE5"},RESTRICTED:{gatewayIcon:bk,acquirerIcon:ob,color:"#FF3D00",background:"#FFEAE5"},ABANDONED:{gatewayIcon:ak,acquirerIcon:qb,color:"#FFD600",background:"#FFFBE5"},CANCELLED:{gatewayIcon:ak,acquirerIcon:qb,color:"#FFD600",background:"#FFFBE5"},INITIATED:{color:"#8D8D94",background:"transparent",gatewayIcon:ak,acquirerIcon:qb}},R={PENDING:ek,REFUNDED:dk},S={PENDING:{color:"#FF7A00",backgroundColor:"#FF7A000D"},REFUNDED:{color:"#4E1FD0",backgroundColor:"#4E1FD00D"}},O={PAID_OUT:ck,SETTLED:ik,PENDING:jk},k={AUTHORIZED:ok},w={CAPTURED:{color:"#1F88D0",background:"#1F88D00D"}};export{b as a,C as b,R as c,S as d,O as e,k as f,w as g};
|