@tap-payments/os-micro-frontend-shared 0.3.180 → 0.3.181
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-GIKFSFIF.js → chunk-2H5QADJQ.js} +1 -1
- package/build/_chunks/{chunk-Y7BWIJMJ.js → chunk-2OCEVAZN.js} +1 -1
- package/build/_chunks/{chunk-QTVMR6JW.js → chunk-2QAA6Y7C.js} +1 -1
- package/build/_chunks/{chunk-JCU5G6KH.js → chunk-2RTUHSFA.js} +1 -1
- package/build/_chunks/{chunk-HI62DX6A.js → chunk-2SKLD6QR.js} +1 -1
- package/build/_chunks/{chunk-5OBCKGDU.js → chunk-2WICG2S7.js} +1 -1
- package/build/_chunks/{chunk-JZPHDD62.js → chunk-2YK5VZJK.js} +1 -1
- package/build/_chunks/{chunk-FAXG3TJN.js → chunk-372J3FHY.js} +1 -1
- package/build/_chunks/{chunk-4IIRXM7I.js → chunk-442NHQ4K.js} +1 -1
- package/build/_chunks/{chunk-DS572UO2.js → chunk-4RSJXR6H.js} +1 -1
- package/build/_chunks/{chunk-YLGDVJQ3.js → chunk-4X43KBH2.js} +1 -1
- package/build/_chunks/{chunk-HURSHAI2.js → chunk-5L525COT.js} +1 -1
- package/build/_chunks/{chunk-LTHPGGJG.js → chunk-5MD62KUX.js} +1 -1
- package/build/_chunks/{chunk-PGESO5B5.js → chunk-6BEAYUAI.js} +1 -1
- package/build/_chunks/{chunk-H7JFUJ4X.js → chunk-6BWCSYU4.js} +1 -1
- package/build/_chunks/{chunk-K2TI7E45.js → chunk-6S3EAYGY.js} +1 -1
- package/build/_chunks/{chunk-CMGL5QJL.js → chunk-6X2PNNXJ.js} +1 -1
- package/build/_chunks/{chunk-KMGLK7QS.js → chunk-7GHEIXXM.js} +1 -1
- package/build/_chunks/{chunk-4YPPY6JG.js → chunk-7TTCD67C.js} +1 -1
- package/build/_chunks/{chunk-DEBCPU4I.js → chunk-7YCU5C6W.js} +1 -1
- package/build/_chunks/{chunk-ABM4L5HJ.js → chunk-AGEZKSTQ.js} +1 -1
- package/build/_chunks/{chunk-G7GLG2QX.js → chunk-AK52H7UI.js} +1 -1
- package/build/_chunks/{chunk-SRLNPPTU.js → chunk-BCZZ3EML.js} +1 -1
- package/build/_chunks/{chunk-LUZVA4XD.js → chunk-BQGQQ2MC.js} +1 -1
- package/build/_chunks/{chunk-554F7U5K.js → chunk-BYLC2QEP.js} +1 -1
- package/build/_chunks/{chunk-J2ATWDK7.js → chunk-CGK5VR6O.js} +1 -1
- package/build/_chunks/{chunk-VVD6MREE.js → chunk-CLI4IM4O.js} +1 -1
- package/build/_chunks/{chunk-CPIYI3EB.js → chunk-CPWWR7WF.js} +1 -1
- package/build/_chunks/{chunk-P7LDHRRH.js → chunk-DB6PVSEF.js} +1 -1
- package/build/_chunks/{chunk-G7V3EFIZ.js → chunk-DCA43S25.js} +1 -1
- package/build/_chunks/{chunk-M4UDAAYC.js → chunk-DGGLXAOB.js} +1 -1
- package/build/_chunks/{chunk-3II5V2WW.js → chunk-DOP2R3ZL.js} +1 -1
- package/build/_chunks/{chunk-N4D5XB7N.js → chunk-DOWO4F4U.js} +1 -1
- package/build/_chunks/{chunk-IJXYJXDT.js → chunk-E5Z3MBUM.js} +1 -1
- package/build/_chunks/{chunk-GDIAZJOM.js → chunk-EBYBWBBN.js} +1 -1
- package/build/_chunks/{chunk-RDGZQA7I.js → chunk-EDZWCPS2.js} +1 -1
- package/build/_chunks/{chunk-MSM5GYDZ.js → chunk-EHCXGWYZ.js} +1 -1
- package/build/_chunks/{chunk-B44VARBK.js → chunk-F7GGG3HH.js} +1 -1
- package/build/_chunks/{chunk-RESLAI62.js → chunk-FH3OCBAM.js} +1 -1
- package/build/_chunks/{chunk-5YTCQRPU.js → chunk-FUFUWTTH.js} +1 -1
- package/build/_chunks/{chunk-L7QSGX42.js → chunk-H23XSADS.js} +1 -1
- package/build/_chunks/{chunk-FVG3MVTC.js → chunk-H7DRBFKL.js} +1 -1
- package/build/_chunks/{chunk-DBZGGOIM.js → chunk-HFGTR77B.js} +1 -1
- package/build/_chunks/{chunk-C4OUGB3C.js → chunk-HHUVMRYO.js} +1 -1
- package/build/_chunks/{chunk-EKFJKZQC.js → chunk-HIZQXBV6.js} +1 -1
- package/build/_chunks/{chunk-2KYFCVDE.js → chunk-JIP7JAQ6.js} +1 -1
- package/build/_chunks/{chunk-WP6HAML2.js → chunk-KCDAETD2.js} +1 -1
- package/build/_chunks/{chunk-4T227AXE.js → chunk-KQ4NYBTL.js} +1 -1
- package/build/_chunks/{chunk-7LSCP4O7.js → chunk-L34XAINA.js} +1 -1
- package/build/_chunks/{chunk-BVKQBVP4.js → chunk-LOQ3FEOU.js} +1 -1
- package/build/_chunks/{chunk-6NZFTC7S.js → chunk-LQGSVODY.js} +1 -1
- package/build/_chunks/{chunk-L5RR3FXI.js → chunk-MQFXJL5S.js} +1 -1
- package/build/_chunks/{chunk-E4SEWCBG.js → chunk-MQIV5PTC.js} +1 -1
- package/build/_chunks/{chunk-MMRNR4WN.js → chunk-MQQKXSFN.js} +1 -1
- package/build/_chunks/{chunk-76P5CX7O.js → chunk-MT6ZEU3R.js} +1 -1
- package/build/_chunks/{chunk-AUSL24CJ.js → chunk-MVUZCNEQ.js} +1 -1
- package/build/_chunks/{chunk-P7QE7OJA.js → chunk-MW4BDIC5.js} +1 -1
- package/build/_chunks/{chunk-MA6HPOAJ.js → chunk-MZIUYYHT.js} +1 -1
- package/build/_chunks/{chunk-TK6BOFKW.js → chunk-N76FMC7D.js} +1 -1
- package/build/_chunks/{chunk-DBRZBG7Q.js → chunk-OK75VWGZ.js} +2 -2
- package/build/_chunks/{chunk-X72D5XMJ.js → chunk-OOATIL7Y.js} +1 -1
- package/build/_chunks/{chunk-7ZHMVUIK.js → chunk-OREEHN2Q.js} +1 -1
- package/build/_chunks/{chunk-KGSYWWZG.js → chunk-OUV6WSMS.js} +1 -1
- package/build/_chunks/{chunk-UVCGT2KS.js → chunk-OXCLLQO3.js} +1 -1
- package/build/_chunks/{chunk-V4QAWEIW.js → chunk-P2ALP6B4.js} +1 -1
- package/build/_chunks/{chunk-CYWPV3SB.js → chunk-P2VRYOKF.js} +1 -1
- package/build/_chunks/{chunk-VOJUU6ZS.js → chunk-PLNIGX7R.js} +1 -1
- package/build/_chunks/{chunk-2SVYHE3E.js → chunk-Q6VWUXRR.js} +1 -1
- package/build/_chunks/{chunk-LPBEVBBB.js → chunk-QFPTPINM.js} +1 -1
- package/build/_chunks/{chunk-KEKICE4P.js → chunk-QFRK7YWD.js} +1 -1
- package/build/_chunks/{chunk-XTTNZLS6.js → chunk-QTP262IU.js} +1 -1
- package/build/_chunks/{chunk-ZCJZ53RQ.js → chunk-R556WRAH.js} +1 -1
- package/build/_chunks/{chunk-L3WSHSZI.js → chunk-R7DPYPUE.js} +1 -1
- package/build/_chunks/{chunk-B2PPWKLO.js → chunk-RIJFII4O.js} +1 -1
- package/build/_chunks/{chunk-BPOEPKOQ.js → chunk-ROMOOJU7.js} +1 -1
- package/build/_chunks/{chunk-NC2S4CMY.js → chunk-SKEB3SZE.js} +1 -1
- package/build/_chunks/{chunk-NGTHV6BD.js → chunk-SLPI5KKB.js} +1 -1
- package/build/_chunks/{chunk-KEZM3YLS.js → chunk-SPAG3A5E.js} +1 -1
- package/build/_chunks/{chunk-K6MY3ZZO.js → chunk-SRM45374.js} +1 -1
- package/build/_chunks/{chunk-MH5USFCO.js → chunk-SSBDL6XS.js} +1 -1
- package/build/_chunks/{chunk-GPUMCCOR.js → chunk-T3TIMOP3.js} +1 -1
- package/build/_chunks/{chunk-6HFD7OXM.js → chunk-TC3O3UDP.js} +1 -1
- package/build/_chunks/{chunk-UXAWC53Q.js → chunk-TRZQJS7S.js} +1 -1
- package/build/_chunks/{chunk-RLHJCE6Z.js → chunk-U7NPENUM.js} +1 -1
- package/build/_chunks/{chunk-HGYEDB6U.js → chunk-VILJCT25.js} +1 -1
- package/build/_chunks/{chunk-X75AHXZO.js → chunk-W2KPPTZL.js} +1 -1
- package/build/_chunks/{chunk-KVMPEPHL.js → chunk-W34T76SE.js} +1 -1
- package/build/_chunks/{chunk-MIO2HBFQ.js → chunk-WSRPEYVP.js} +1 -1
- package/build/_chunks/{chunk-MSDEH7BW.js → chunk-XHZB7V3X.js} +1 -1
- package/build/_chunks/{chunk-2JH4ZLWH.js → chunk-XL5DGXY6.js} +1 -1
- package/build/_chunks/chunk-XRAOBPBM.js +2 -0
- package/build/_chunks/{chunk-ANLLJXTL.js → chunk-XUG42UYI.js} +1 -1
- package/build/_chunks/{chunk-F3VFXFCJ.js → chunk-XXSOB6UR.js} +1 -1
- package/build/_chunks/{chunk-P5J6IR6G.js → chunk-YCUQR7YB.js} +1 -1
- package/build/_chunks/{chunk-DRBB7YJX.js → chunk-ZBVDZ2YZ.js} +1 -1
- package/build/_chunks/{chunk-PFV2BANZ.js → chunk-ZEF2G4DA.js} +1 -1
- package/build/_chunks/{chunk-Q5JSB7QT.js → chunk-ZGUXRX3X.js} +1 -1
- package/build/_chunks/chunk-ZLYXFRNJ.js +1 -0
- 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/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/Chip/index.js +1 -1
- package/build/components/ChipStack/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/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/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/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/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/ProgressRing/index.js +1 -1
- package/build/components/RFH/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/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/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/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/CustomCells/ProviderCell/constants.d.ts +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/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/WindowSideBar/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/assets.d.ts +1 -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-KMD4EPPF.js +0 -1
- package/build/_chunks/chunk-ZVHH7LCN.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var n="https://cdn.tap.company/tap-assets",o=`${n}/icons/dashboard/light`,t=`${o}/other`,i=`${o}/function`,s=`${n}/videos`,r=`${n}/files`,a=`${r}/templates`,p=e=>`${o}/${e}.svg`,g=e=>`${o}/payment-method/v2/${e}.svg`,v=e=>`${o}/payment-issuer/${e}.svg`,I=e=>`${o}/country/v3/${e}.svg`,d=e=>`${o}/function/${e}.svg`,l=e=>`${o}/statusIcons/${e}.svg`,x=e=>`${n}/currency/v3/light/${e}.svg`,$=e=>{let c=e.replace(/\s/g,"");return `${n}/icons/dashboard/light/authority/v2/${c}.svg`},u=e=>`${o}/browsers/${e}.svg`,h=e=>`${o}/payment-initiator/${e}.svg`,m=e=>`${o}/payment-gateways/${e}.svg`,w=e=>`${o}/aging/${e}.svg`,y=`${o}/currency/sar.svg`,b=`${o}/currency/dirham.svg`,S=`${o}/abandoned.svg`,k=`${o}/abandonedYellow.svg`,A=`${o}/chevron-down.svg`,B=`${o}/removeIcon.svg`,C=`${o}/reversed.svg`,f=`${o}/destinationSolid.svg`,P=`${o}/search.svg`,D=`${o}/unauthorized.svg`,W=`${o}/view.svg`,T=`${o}/reports.svg`,N=`${o}/flag.svg`,G=`${o}/dispute.svg`,L=`${o}/timezone.svg`,F=`${o}/greyTimezone.svg`,O=`${o}/subscription.svg`,R=`${o}/savedCard.svg`,_=`${o}/egypt.svg`,E=`${o}/saudiArabia.svg`,z=`${o}/jordan.svg`,M=`${o}/lebanon.svg`,U=`${o}/kuwait.svg`,V=`${o}/unitedArabEmirates.svg`,q=`${o}/europe.svg`,H=`${o}/bahrain.svg`,Y=`${o}/america.svg`,j=`${o}/payment-method/v2/card.svg`,Z=`${o}/payment-method/v2/UnionPay.svg`,Q=`${o}/payment-method/v2/JAYWAN.svg`,X=`${o}/device.svg`,J=`${o}/expressCheckout.svg`,K=`${o}/applePay.svg`,oo=`${o}/cash.svg`,to=`${o}/passThruWallet.svg`,eo=`${o}/storedValueWallet.svg`,no=`${o}/buyNowPayLater.svg`,co=`${o}/openBanking.svg`,so=`${o}/FrictionlessIcon.svg`,ro=`${o}/ChallengeIcon.svg`,ao=`${o}/visa.svg`,io=`${o}/redArrowDownIcon.svg`,po=`${o}/completed.svg`,go=`${o}/chargebackRequested.svg`,vo=`${o}/chargeback.svg`,Io=`${t}/captureDropdown.svg`,lo=`${o}/disputeResolved.svg`,xo=`${o}/reversePayout.svg`,$o=`${o}/ellipsisHorizontal.svg`,uo=`${o}/3ds.svg`,ho=`${o}/invoiceIdIcon3.svg`,mo=`${o}/idIcon3.svg`,wo=`${o}/id.svg`,yo=`${t}/copyIcon.svg`,bo=`${t}/codeIcon.svg`,So=`${t}/GreenCheckMark2.svg`,ko=`${o}/closedDispute.svg`,Ao=`${o}/openDispute.svg`,Bo=`${o}/desktop.svg`,Co=`${o}/mobile.svg`,fo=`${o}/tablet.svg`,Po=`${o}/invoice.svg`,Do=`${o}/cancelledInvoiceIcon.svg`,Wo=`${o}/expiredInvoiceIcon.svg`,To=`${o}/invoiceNumberIcon.svg`,No=`${o}/column.svg`,Go=`${o}/sortAz.svg`,Lo=`${o}/sortZa.svg`,Fo=`${o}/zipFile.svg`,Oo=`${o}/successWhiteBg.svg`,Ro=`${o}/failedWhiteBgIcon.svg`,_o=`${o}/exclamationGreyIcon.svg`,Eo=`${o}/exclamationDarkGreyIcon.svg`,zo=`${o}/percentage0.svg`,Mo=`${o}/percentage50.svg`,Uo=`${o}/percentage75.svg`,Vo=`${o}/percentage100.svg`,qo=`${o}/maximize.svg`,Ho=`${o}/minimize.svg`,Yo=`${o}/close.svg`,jo=`${o}/dashedCheckIcon.svg`,Zo=`${o}/outstandingIcon.svg`,Qo=`${o}/cancelledStatusIcon.svg`,Xo=`${o}/expiredStatusIcon.svg`,Jo=`${o}/paidStatusIcon.svg`,Ko=`${o}/refundedStatusIcon.svg`,ot=`${o}/deactivatedIcon.svg`,tt=`${o}/topup.svg`,et=`${o}/AIOverviewIcon.svg`,nt=`${t}/demaximize.svg`,ct=`${o}/pendingFlag.svg`,st=`${o}/ibanIcon.svg`,rt=`${o}/payoutIcon.svg`,at=`${o}/releasedFlag.svg`,it=`${o}/acceptedFlag.svg`,pt=`${o}/clearIcon.svg`,gt=`${o}/status/unCaptured.svg`,vt=`${t}/newWindow.svg`,It=`${t}/viewAll.svg`,dt=`${t}/allApps.svg`,lt=`${t}/hide.svg`,xt=`${t}/close.svg`,$t=`${t}/star.svg`,ut=`${t}/closeCircle.svg`,ht=`${t}/acquirer.svg`,mt=`${o}/GenericIconNew.svg`,wt=`${t}/acquirerRed.svg`,yt=`${t}/gateway.svg`,bt=`${t}/acquirerOrange.svg`,St=`${o}/status/capturedAuthorize.svg`,kt=`${t}/merchantInitiated.svg`,At=`${t}/rightArow.svg`,Bt=`${o}/blackRightArrow.svg`,Ct=`${t}/orangeFlag.svg`,ft=`${t}/openFlag.svg`,Pt=`${t}/closedFlag.svg`,Dt=`${t}/redFlag.svg`,Wt=`${t}/grayFlag.svg`,Tt=`${t}/downArrow.svg`,Nt=`${t}/check.svg`,Gt=`${t}/closeX.svg`,Lt=`${t}/drag.svg`,Ft=`${t}/checkboxIcon.svg`,Ot=`${o}/plusWhite.svg`,Rt=`${t}/checkboxIcon.svg`,_t=`${o}/Uniso.svg`,Et=`${o}/addidas.svg`,zt=`${o}/radioButtonChecked.svg`,Mt=`${o}/radioButtonUnchecked.svg`,Ut=`${o}/Mac.svg`,Vt=`${o}/blueCheckIconZigzag.svg`,qt=`${o}/greenCheckIconZigzag.svg`,Ht=`${o}/dimmedCheckIconZigzag.svg`,Yt=`${o}/marketPlaceBlue.svg`,jt=`${o}/marketplaceBlackIcon.svg`,Zt=`${o}/marketPlaceDimmed.svg`,Qt=`${o}/moneyOut.svg`,Xt=`${o}/moneyOutDimmed.svg`,Jt=`${o}/moneyIn.svg`,Kt=`${o}/moneyInDimmed.svg`,oe=`${o}/message.svg`,te=`${o}/pending.svg`,ee=`${o}/payStream.svg`,ne=`${o}/clearCoin.svg`,ce=`${t}/walletSmall.svg`,se=`${t}/bank.svg`,re=`${t}/hijri.svg`,ae=`${t}/darkLeftArrow.svg`,ie=`${t}/darkRightArrow.svg`,pe=`${t}/spinnerLoading.svg`,ge=`${t}/spinnerLoadingAnimated.svg`,ve=`${t}/actionFail.svg`,Ie=`${t}/actionSuccess.svg`,de=`${t}/checkMark.svg`,le=`${t}/logout.svg`,xe=`${t}/preferences.svg`,$e=`${t}/transform.svg`,ue=`${t}/token.svg`,he=`${t}/billing.svg`,me=`${t}/receiptBill.svg`,we=`${o}/newReceiptIcon.svg`,ye=`${t}/acceptance.svg`,be=`${o}/acceptanceEnabled.svg`,Se=`${o}/acceptanceBlue.svg`,ke=`${o}/payoutsGreen.svg`,Ae=`${t}/acceptanceAppIconDisabled.svg`,Be=`${t}/payoutsAppIconDisabled.svg`,Ce=`${o}/payoutEnabled.svg`,fe=`${o}/payoutAppGreenIcon.svg`,Pe=`${o}/payoutDisabledRounded.svg`,De=`${o}/acceptanceDisabledRounded.svg`,We=`${t}/AuthenticationApp.svg`,Te=`${t}/walletApp.svg`,Ne=`${t}/payouts.svg`,Ge=`${t}/protect.svg`,Le=`${t}/customers.svg`,Fe=`${t}/business.svg`,Oe=`${t}/account.svg`,Re=`${t}/disableCheck.svg`,_e=`${t}/wifiOff.svg`,Ee=`${t}/SandboxHovered.svg`,ze=`${t}/Sandbox.svg`,Me=`${t}/ExclamationError.svg`,Ue=`${t}/greyCheck.svg`,Ve=`${t}/greyCross.svg`,qe=`${t}/blueCheck.svg`,He=`${t}/disabledCheck.svg`,Ye=`${t}/darkCheck.svg`,je=`${t}/collapseArrow.svg`,Ze=`${t}/world.svg`,Qe=`${t}/grayUpArrow.svg`,Xe=`${t}/blackHeadingDownArrowIcon.svg`,Je=`${t}/blueHeadingDropdownArrow.svg`,Ke=`${t}/dropdownArrow.svg`,on=`${t}/greyDropdownIcon.svg`,tn=`${t}/business2.svg`,en=`${t}/development.svg`,nn=`${t}/financial.svg`,cn=`${t}/light_master_orchestrator.svg`,sn=`${t}/platform.svg`,rn=`${t}/provider.svg`,an=`${t}/appPlatform.svg`,pn=`${t}/authenticationGateway.svg`,gn=`${t}/billingPlatform.svg`,vn=`${t}/commercePlatform.svg`,In=`${t}/commercialRegulator.svg`,dn=`${t}/merchantServiceProvider.svg`,ln=`${t}/paymentAcquirer.svg`,xn=`${t}/paymentFacilitator.svg`,$n=`${t}/paymentGatewayProvider.svg`,un=`${t}/paymentIssuer.svg`,hn=`${t}/paymentMethod.svg`,mn=`${t}/paymentProcessor.svg`,wn=`${t}/paymentScheme.svg`,yn=`${t}/paymentTechnologyV2.svg`,bn=`${t}/paymentTerminalProvider.svg`,Sn=`${t}/retailPlatform.svg`,kn=`${t}/retailer.svg`,An=`${t}/light_business.svg`,Bn=`${t}/light_development.svg`,Cn=`${t}/financial.svg`,fn=`${t}/light_master_orchestrator.svg`,Pn=`${t}/light_platform.svg`,Dn=`${t}/provider.svg`,Wn=`${t}/light_app_platform.svg`,Tn=`${t}/light_authentication_gateway.svg`,Nn=`${t}/light_billing_platform.svg`,Gn=`${t}/light_commerce_platform.svg`,Ln=`${t}/light_commercial_regulator.svg`,Fn=`${t}/light_merchant_service_provider.svg`,On=`${t}/light_payment_acquirer.svg`,Rn=`${t}/light_payment_facilitator.svg`,_n=`${t}/light_payment_gateway_provider.svg`,En=`${t}/light_payment_issuer.svg`,zn=`${t}/light_payment_method.svg`,Mn=`${t}/light_payment_processor.svg`,Un=`${t}/light_payment_scheme.svg`,Vn=`${t}/light_payment_technology_v2.svg`,qn=`${t}/light_payment_terminal_provider.svg`,Hn=`${t}/light_retail_platform.svg`,Yn=`${t}/light_retailer.svg`,jn=`${t}/brandGray.svg`,Zn=`${o}/grayCircleIcon.svg`,Qn=`${t}/json.svg`,Xn=`${t}/jsonBlackIcon.svg`,Jn=`${t}/sort1.svg`,Kn=`${t}/SandboxHoveredLight.svg`,oc=`${t}/emailColoured.svg`,tc=`${o}/OrderIcon.svg`,ec=`${o}/TransactionIcon.svg`,nc=`${o}/GenericIcon.svg`,cc=`${t}/smsColoured.svg`,sc=`${t}/whatsAppColored.svg`,rc=`${t}/dueDateBlue.svg`,ac=`${t}/dueDateOrange.svg`,ic=`${t}/dueDateYellow.svg`,pc=`${t}/dueDateRed.svg`,gc=`${t}/dueDateBlack.svg`,vc=`${t}/dueDateGray.svg`,Ic=`${t}/timerBlue.svg`,dc=`${t}/expiredIcon.svg`,lc=`${t}/remindedRed.svg`,xc=`${t}/chevronWhite.svg`,$c=`${t}/chevronGray.svg`,uc=`${t}/notVerified.svg`,hc=`${t}/verified.svg`,mc=`${t}/verifyReview.svg`,wc=`${o}/window/attention.svg`,yc=`${o}/window/initalAcceptance.svg`,bc=`${o}/window/completedAcceptance.svg`,Sc=`${o}/window/initalPayouts.svg`,kc=`${o}/window/completedPayouts.svg`,Ac=`${t}/collapseArrowsIcon.svg`,Bc=`${t}/expandArrowsIcon.svg`,Cc=`${t}/greenArrowRight.svg`,fc=`${t}/greenArrowLeft1.svg`,Pc=`${t}/greenIconWithArrowUp.svg`,Dc=`${t}/whiteArrowRight.svg`,Wc=`${t}/whiteArrowLeft.svg`,Tc=`${o}/HSBCBank.svg`,Nc=`${o}/shopifyIcon.svg`,Gc=`${o}/verifiedGreenBadge.svg`,Lc=`${o}/backButtonLeft.svg`,Fc=`${o}/eyeHideIcon.svg`,Oc=`${o}/eyeShowIcon.svg`,Rc=`${t}/uploadIcon.svg`,_c=`${o}/window/uploadGreyIcon.svg`,Ec=`${o}/uploadAppIcon.svg`,zc=`${o}/window/paylinkGreyIcon.svg`,Mc=`${o}/paylinkAppIcon.svg`,Uc=`${o}/inprogressIcon.svg`,Vc=`${o}/redCloseCircleIcon.svg`,qc=`${t}/uploadBlueIcon.svg`,Hc=`${t}/SandboxHovered.svg`,Yc=`${t}/sandboxDefaultIcon.svg`,jc=`${t}/SandboxIcon.svg`,Zc=`${t}/clock.svg`,Qc=`${t}/RedClose.svg`,Xc=`${t}/xls.svg`,Jc=`${t}/csv.svg`,Kc=`${t}/pdf.svg`,os=`${t}/Download.svg`,ts=`${t}/reportsIconOutlined.svg`,es=`${t}/Done.svg`,ns=`${t}/reportApps.svg`,cs=`${o}/window/ReportsApp.svg`,ss=`${o}/window/leadApp.svg`,rs=`${o}/window/leadTitleIcon.svg`,as=`${t}/OrderApp.svg`,is=`${t}/OrderTitleIcon.svg`,ps=`${o}/dottedLine.svg`,gs=`${o}/passwordDots.svg`,vs=`${o}/dollarSign.svg`,Is=`${o}/reload.svg`,ds=`${t}/deletedStatus1.svg`,ls=`${t}/draftedStatus1.svg`,xs=`${t}/createdStatus1.svg`,$s=`${t}/cancelledStatus1.svg`,us=`${t}/expiredStatus1.svg`,hs=`${t}/paidStatus1.svg`,ms=`${t}/deliveredStatus1.svg`,ws=`${t}/viewedStatus1.svg`,ys=`${t}/savedStatus1.svg`,bs=`${t}/scheduledStatus1.svg`,Ss=`${t}/invoicePendingStatus2.svg`,ks=`${t}/invoiceRefundedStatus2.svg`,As=`${o}/activeLeadStatus.svg`,Bs=`${o}/completedLeadStatus.svg`,Cs=`${o}/closedLeadStatus.svg`,fs=`${o}/expiredLeadStatus.svg`,Ps=`${o}/readyLeadStatus.svg`,Ds=`${o}/fileIcon.svg`,Ws=`${o}/clipboardFileGrayIcon.svg`,Ts=`${o}/newFileIcon.svg`,Ns=`${o}/downloadFileIcon.svg`,Gs=`${o}/progressFileIcon.svg`,Ls=`${o}/successFileIcon.svg`,Fs=`${o}/whiteArrowDownIcon.svg`,Os=`${o}/teamWindowIcon.svg`,Rs=`${o}/blueAppsIcon.svg`,_s=`${o}/disabledCardIcon.svg`,Es=`${o}/disabledCodeIcon.svg`,zs=`${o}/layersIcon.svg`,Ms=`${o}/status/pendingOnTapIcon.svg`,Us=`${o}/leadWhiteIcon.svg`,Vs=`${t}/chatDisabledIcon.svg`,qs=`${o}/exclamationDarkIcon.svg`,Hs=`${t}/exclamationWarning.svg`,Ys=`${o}/exclamationError.svg`,js=`${o}/exclamationOrangeIcon.svg`,Zs=`${t}/greenCheckV2.svg`,Qs=`${o}/iosIcon1.svg`,Xs=`${o}/androidIcon.svg`,Js=`${o}/websiteIcon.svg`,Ks=`${t}/greyApple.svg`,or=`${t}/greyLocationIcon.svg`,tr=`${t}/greyDesktopIcon.svg`,er=`${t}/greyTimezone.svg`,nr=`${t}/safariBrowser.svg`,cr=`${t}/chromeBrowser.svg`,sr=`${t}/firefoxBrowser.svg`,rr=`${t}/microsoftBrowser.svg`,ar=`${t}/operaBrowser.svg`,ir=`${t}/braveBrowser.svg`,pr=`${t}/arcBrowser.svg`,gr=`${t}/chromiumBrowser.svg`,vr=`${t}/userIcon.svg`,Ir=`${t}/slaProcess.svg`,dr=`${o}/window/slaProcess.svg`,lr=`${o}/orchestrationApp.svg`,xr=`${o}/window/orchestration.svg`,$r=`${o}/window/orchestrationWindowBg.svg`,ur=`${o}/lendingApp.svg`,hr=`${o}/window/lending.svg`,mr=`${o}/lendingProviderApp.svg`,wr=`${o}/deemaApp.svg`,yr=`${o}/window/deema.svg`,br=`${o}/fast.svg`,Sr=`${o}/bankBlue.svg`,kr=`${o}/mosque.svg`,Ar=`${o}/mosqueBlack.svg`,Br=`${o}/moonStar.svg`,Cr=`${o}/car.svg`,fr=`${o}/handCoinsWhite.svg`,Pr=`${o}/list.svg`,Dr=`${o}/corporateLoan.svg`,Wr=`${o}/corporateLoanBlack.svg`,Tr=`${o}/platformApp.svg`,Nr=`${o}/window/platform.svg`,Gr=`${o}/osApp.svg`,Lr=`${o}/window/osApp.svg`,Fr=`${o}/riskApp.svg`,Or=`${o}/window/riskApp.svg`,Rr=`${o}/status/table/abandoned.svg`,_r=`${o}/status/table/cancelled.svg`,Er=`${o}/status/table/captured.svg`,zr=`${o}/status/table/chargeBack.svg`,Mr=`${o}/status/table/chargeBackRequested.svg`,Ur=`${o}/status/table/completed.svg`,Vr=`${o}/status/table/declined.svg`,qr=`${o}/status/table/destinationReversed.svg`,Hr=`${t}/DestinationWithoutBackground.svg`,Yr=`${o}/status/table/disputeResolved.svg`,jr=`${o}/status/table/failed.svg`,Zr=`${o}/status/table/failedNoBG.svg`,Qr=`${o}/status/table/declinedNoBg.svg`,Xr=`${t}/destinationSuccess.svg`,Jr=`${o}/status/authenticationFailed.svg`,Kr=`${o}/status/table/authenticated.svg`,oa=`${o}/paidOutFilterIcon.svg`,ta=`${o}/completedBlackIcon.svg`,ea=`${o}/scheduledFilterIcon.svg`,na=`${o}/saveTokenIcon.svg`,ca=`${o}/status/unauthenticated.svg`,sa=`${o}/status/authenticationAttempted.svg`,ra=`${o}/status/authenticationNoAuth.svg`,aa=`${o}/status/authenticationDeclined.svg`,ia=`${o}/status/authenticationExemptedWithoutTransaction1.svg`,pa=`${o}/status/authenticationExemptedWithTransaction2.svg`,ga=`${o}/status/authenticationFailed1.svg`,va=`${o}/status/authenticationInitiated.svg`,Ia=`${o}/status/authenticationUnavailable.svg`,da=`${o}/status/authenticationUndetermined.svg`,la=`${o}/status/AuthenticationWithoutTransaction1.svg`,xa=`${o}/status/authenticationWithTransaction1 2.svg`,$a=`${o}/status/AuthenticationAuthenticated.svg`,ua=`${o}/status/authenticationPending2.svg`,ha=`${o}/authenticationFailedNoBg.svg`,ma=`${o}/authenticationPendingNoBg.svg`,wa=`${o}/authenticationNoAuthNoBg.svg`,ya=`${o}/authenticationAttemptedNoBg.svg`,ba=`${o}/authenticationExemptedWithTransactionNoBg.svg`,Sa=`${o}/authenticationExemptedWithoutTransactionNoBg.svg`,ka=`${o}/authenticationDeclinedNoBg.svg`,Aa=`${o}/authenticationUnavailableNoBg.svg`,Ba=`${o}/authenticationUndeterminedNoBg.svg`,Ca=`${o}/authenticatedSuccessNoBg.svg`,fa=`${o}/authenticationWithTransactionNoBg.svg`,Pa=`${o}/authenticationWithoutTransactionNoBg.svg`,Da=`${o}/greyPlusIcon.svg`,Wa=`${o}/greyMinusIcon.svg`,Ta=`${o}/noPreviewIcon.svg`,Na=`${o}/other/editIcon.svg`,Ga=`${t}/viewInvoice.svg`,La=`${t}/checkoutStatus.svg`,Fa=`${t}/checkStatusOutBlue.svg`,Oa=`${t}/checkoutWithMarkStatus.svg`,Ra=`${t}/intentExpiredStatus.svg`,_a=`${t}/intentInitiatedStatus.svg`,Ea=`${t}/intentCancelledStatus.svg`,za=`${t}/intentTransactedStatus.svg`,Ma=`${o}/SheetViewUnionIcon.svg`,Ua=`${o}/sheetView.svg`,Va=`${o}/abandonedNoBG.svg`,qa=`${o}/status/table/paidOut.svg`,Ha=`${o}/status/table/reversePayout.svg`,Ya=`${o}/status/pendingPayout.svg`,ja=`${t}/whiteCloseIcon.svg`,Za=`${o}/window/empty.svg`,Qa=`${o}/loaderWhiteIcon.svg`,Xa=`${t}/reverseActionIcon.svg`,Ja=`${o}/status/authenticationWallet.svg`,Ka=`${o}/status/authenticationApp.svg`,oi=`${o}/status/authenticationBiometric.svg`,ti=`${o}/status/authenticationDevice.svg`,ei=`${o}/status/authenticationIssuer.svg`,ni=`${o}/status/authenticationScheme.svg`,ci=`${o}/pin.svg`,si=`${o}/unpin.svg`,ri=`${t}/switcher.svg`,ai=`${o}/closedStatusIcon.svg`,ii=`${o}/verticalLine.svg`,pi=`${o}/previewModeIcon.svg`,gi=`${o}/status/table/tokensSaved.svg`,vi=`${o}/status/table/tokensTransacted.svg`,Ii=`${o}/status/table/tokensExpired.svg`,di=`${o}/status/table/tokensPending.svg`,li=`${o}/status/table/tokenCardIcon.svg`,xi=`${t}/TableloadingSpinner.svg`,$i=`${t}/loadingSpinnerWhite.svg`,ui=`${o}/spinnerLoadingBlue.svg`,hi=`${o}/backgroundLoader.svg`,mi=`${t}/arrowUpBlue1.svg`,wi=`${t}/BlueCheckMarkShadowed1.svg`,yi=`${t}/cardViewButton.svg`,bi=`${t}/listViewButton1.svg`,Si=`${o}/BlueArrowUpIcon.svg`,ki=`${o}/BlueCircleLoaderIcon.svg`,Ai=`${o}/appsGridIcon2.svg`,Bi=`${o}/whiteFilter.svg`,Ci=`${o}/grayCloseIcon.svg`,fi=`${o}/status/OrderAgreementIcon.svg`,Pi=`${o}/status/InstallmentAgreementIcon.svg`,Di=`${o}/status/CardAgreementIcon.svg`,Wi=`${o}/status/SubscriptionAgreementIcon.svg`,Ti=`${o}/brandPlaceholder.svg`,Ni=`${o}/users-icons.svg`,Gi=`${o}/Board-Icons.svg`,Li=`${t}/No Agreement.svg`,Fi=`${o}/window/acceptance.svg`,Oi=`${o}/window/wallet.svg`,Ri=`${o}/window/billing.svg`,_i=`${o}/window/customers.svg`,Ei=`${o}/window/payout.svg`,zi=`${o}/window/protect.svg`,Mi=`${o}/window/tokens.svg`,Ui=`${o}/window/account.svg`,Vi=`${o}/window/businesses.svg`,qi=`${o}/window/authentication.svg`,Hi=`${t}/reportsIcon.svg`,Yi=`${o}/window/tokensReports.svg`,ji=`${o}/window/brand.svg`,Zi=`${o}/window/entity.svg`,Qi=`${o}/window/bank.svg`,Xi=`${o}/window/individual.svg`,Ji=`${o}/window/password.svg`,Ki=`${o}/actionsIcon.svg`,op=`${o}/addItem.svg`,tp=`${o}/attachIcon.svg`,ep=`${o}/CollapseArrows.svg`,np=`${o}/customerIcon.svg`,cp=`${o}/discountIcon.svg`,sp=`${o}/emailIcon.svg`,rp=`${o}/emailBlackIcon.svg`,ap=`${o}/linkTiltedIcon.svg`,ip=`${o}/ExpandArrows.svg`,pp=`${o}/feeIcon.svg`,gp=`${o}/minusIcon.svg`,vp=`${o}/noteIcon.svg`,Ip=`${o}/pdfGrayIcon.svg`,dp=`${o}/productLabel.svg`,lp=`${o}/quantityIcon.svg`,xp=`${o}/removeItem.svg`,$p=`${t}/removeItem2.svg`,up=`${o}/smsIcon.svg`,hp=`${o}/taxIcon.svg`,mp=`${o}/totalAmountIcon.svg`,wp=`${o}/unfocusRemoveItem.svg`,yp=`${o}/whatsappIcon1.svg`,bp=`${o}/whiteArrow2.svg`,Sp=`${o}/newInvoice.svg`,kp=`${o}/activeActionIcon.svg`,Ap=`${o}/grayProductLabel.svg`,Bp=`${o}/plusQty.svg`,Cp=`${t}/downArrow3.svg`,fp=`${o}/customer.svg`,Pp=`${t}/note.svg`,Dp=`${o}/blueNoteIcon.svg`,Wp=`${t}/attach.svg`,Tp=`${o}/lateFee.svg`,Np=`${o}/addItemIcon.svg`,Gp=`${o}/blueCheckIcon.svg`,Lp=`${t}/trash-bin.svg`,Fp=`${o}/redTrashBin.svg`,Op=`${o}/blueVerifyIcon.svg`,Rp=`${o}/verificationDarkBlue.svg`,_p=`${o}/grayVerifyIcon.svg`,Ep=`${o}/greenVerifyIcon.svg`,zp=`${o}/redVerifyIcon.svg`,Mp=`${o}/closedVerifyIcon.svg`,Up=`${o}/archivedVerifyIcon.svg`,Vp=`${o}/penIcon.svg`,qp=`${t}/listShadow.svg`,Hp=`${o}/defaultCountryIcon.svg`,Yp=`${o}/defaultDeviceIcon.svg`,jp=`${o}/biometric.svg`,Zp=`${o}/3dsBlue.svg`,Qp=`${t}/createCharge.svg`,Xp=`${t}/successCheck.svg`,Jp=`${t}/receipt.svg`,Kp=`${t}/browserTimezone.svg`,og=`${t}/entityTimezone.svg`,tg=`${t}/historyTimezone.svg`,eg=`${t}/smallBlueCheck.svg`,ng=`${t}/fileDownloadBlue.svg`,cg=`${t}/fileDownloadGrey.svg`,sg=`${o}/meta.svg`,rg=`${o}/darkFilterIcon.svg`,ag=`${o}/resize-icon.svg`,ig=`${o}/home.svg`,pg=`${o}/lockIcon.svg`,gg=`${o}/Calendar.svg`,vg=`${o}/status-v2/autoCapturedNoBG.svg`,Ig=`${o}/status-v2/autoVoidNoBG.svg`,dg=`${o}/status-v2/cancelledNoBG.svg`,lg=`${o}/status-v2/capturedNoBG.svg`,xg=`${o}/status-v2/declinedNoBG.svg`,$g=`${o}/status-v2/destinationsNoBG.svg`,ug=`${o}/status-v2/failedNoBG.svg`,hg=`${o}/status-v2/gatewayOrange.svg`,mg=`${o}/status-v2/gatewayRedNoBG.svg`,wg=`${o}/status-v2/paidoutNoBG.svg`,yg=`${o}/status-v2/refundedIconNoBG2.svg`,bg=`${o}/status-v2/refundInitiatedNoBG.svg`,Sg=`${o}/status-v2/refundSettledNoBG.svg`,kg=`${o}/status-v2/refundNotSettledNoBG.svg`,Ag=`${o}/status-v2/restrictedNoBG.svg`,Bg=`${o}/status-v2/settledNoBG.svg`,Cg=`${o}/status-v2/settlementInitiatedNoBG.svg`,fg=`${o}/status-v2/timeoutNoBG.svg`,Pg=`${o}/status-v2/unavailableNoBG.svg`,Dg=`${o}/status-v2/unknownNoBG.svg`,Wg=`${o}/status-v2/void.svg`,Tg=`${o}/status-v2/authorizeNoBG.svg`,Ng=`${o}/status-v2/initiatedNoBG.svg`,Gg=`${o}/websiteBlueIcon.svg`,Lg=`${o}/androidAppIcon.svg`,Fg=`${o}/iOSAppIcon.svg`,Og=`${o}/physicalLocationIcon.svg`,Rg=`${o}/socialLinksIcon.svg`,_g=`${o}/smallLeftArrow.svg`,Eg=`${o}/searchBlueIcon.svg`,zg=`${t}/rightLightArrow.svg`,Mg=`${t}/segmentInstitution.svg`,Ug=`${t}/segmentTechnology.svg`,Vg=`${t}/segmentDevelopmentHouse.svg`,qg=`${t}/terminal.svg`,Hg=`${o}/window/terminal.svg`,Yg=`${o}/terminalCardPhone.svg`,jg=`${o}/ToastPOS.svg`,Zg=`${o}/terminalTypeIcon.svg`,Qg=`${o}/terminalBrush.svg`,Xg=`${o}/terminalBrushMuted.svg`,Jg=`${o}/navigationIcon.svg`,Kg=`${o}/babyBlueCheckIcon.svg`,ov=`${o}/digitalReceiptIcon.svg`,tv=`${o}/bankNoteIcon.svg`,ev=`${o}/terminalDeviceFrame.svg`,nv=`${o}/blackBrushIcon.svg`,cv=`${o}/mutedOutlinedCheckIcon.svg`,sv=`${o}/outlinedPlatformIcon.svg`,rv=`${o}/navigationPointerBlack.svg`,av=`${o}/addIconWhite.svg`,iv=`${o}/greyUpArrow.svg`,pv=`${o}/greyDownArrow.svg`,gv=`${o}/services/brandService.svg`,vv=`${o}/services/authorizationService.svg`,Iv=`${o}/services/chargebacksService.svg`,dv=`${o}/services/chargesService.svg`,lv=`${o}/services/destinationsService.svg`,xv=`${o}/services/entityService.svg`,$v=`${o}/services/invoiceService.svg`,uv=`${o}/services/payoutService.svg`,hv=`${o}/services/refundsService.svg`,mv=`${o}/services/usersService.svg`,wv=`${o}/services/walletService.svg`,yv=`${o}/services/intentsService.svg`,bv=`${o}/services/insightsService.svg`,Sv=`${o}/services/retailersService.svg`,kv=`${o}/services/terminalService.svg`,Av=`${o}/services/createLead.svg`,Bv=`${o}/services/viewLead.svg`,Cv=`${o}/archievedOutlined.svg`,fv=`${o}/closeOutlinedCircle.svg`,Pv=`${o}/dashedOutlinedCircle.svg`,Dv=`${o}/deactivatedCircle.svg`,Wv=`${o}/deactivatedOutlinedCircleV2.svg`,Tv=`${o}/exclamationOutlinedCircle.svg`,Nv=`${o}/questionOutlinedCircle.svg`,Gv=`${o}/outlinedCircle.svg`,Lv=`${o}/greenCheck2ACE00.svg`,Fv=`${o}/blueCopyIcon.svg`,Ov=`${o}/blackLinkIcon.svg`,Rv=`${o}/blackSettingsIcon.svg`,_v=`${o}/blackWallet.svg`,Ev=`${o}/blueGradientBrushIcon.svg`,zv=`${o}/gadientLink.svg`,Mv=`${o}/blackDeviceIcon.svg`,Uv=`${o}/gradientDeviceIcon.svg`,Vv=`${o}/gradientSettings.svg`,qv=`${o}/gradientWallet.svg`,Hv=`${o}/codeIcon.svg`,Yv=`${o}/manyCurrencyCoin.svg`,jv=`${o}/manyCurrencyCoinGradient.svg`,Zv=`${o}/blackMobileBatteryIcon.svg`,Qv=`${o}/blackMobileSignalIcon.svg`,Xv=`${o}/emptyMobileWifiIcon.svg`,Jv=`${o}/deemaWithLabel.svg`,Kv=`${o}/chargeBackWhiteIcon.svg`,oI=`${o}/blackUnLinkIcon.svg`,tI=`${o}/sortDescArrowIcon.svg`,eI=`${o}/sortAscArrowIcon.svg`,nI=`${o}/closedOutlinedYellowCircle.svg`,cI=`${o}/deactivatedOrangeCircle.svg`,sI=`${o}/deactivatedCircleV2.svg`,rI=`${o}/exclamationOutlinedOrangeCircle.svg`,aI=`${o}/activeGreenIcon.svg`,iI=`${o}/activeBlue.svg`,pI=`${o}/inActiveGreyIcon.svg`,gI=`${s}/terminal_link.mp4`,vI=`${o}/bluePlusIcon.svg`,II=`${o}/blackSettingsVariant2Icon.svg`,dI=`${o}/exclamationWhite.svg`,lI=`${t}/blueCircleWithWhiteCheck.svg`,xI=`${o}/externalLink.svg`,$I=`${o}/settingsIcon.svg`,uI=`${o}/flipIcon.svg`,hI=`${o}/shoppingCart.svg`,mI=`${o}/verifyAvatar.svg`,wI=`${o}/helpCircle.svg`,yI=`${o}/provider/CYBERSOURCE.svg`,bI=`${o}/provider/MPGS.svg`,SI=`${o}/provider/NETCETERA.svg`,kI=`${o}/provider/TAP3DS.svg`,AI=`${o}/provider/BENEFIT_PAY.svg`,BI=`${o}/provider/BENEFIT.svg`,CI=`${o}/provider/CAREEM_PAY.svg`,fI=`${o}/provider/DEEMA.svg`,PI=`${o}/provider/FAWRY.svg`,DI=`${o}/provider/FSS.svg`,WI=`${o}/provider/KNET.svg`,TI=`${o}/provider/MEEZA.svg`,NI=`${o}/provider/NGENIUS.svg`,GI=`${o}/provider/NPG.svg`,LI=`${o}/provider/OMAN_NET.svg`,FI=`${o}/provider/PAYPAL.svg`,OI=`${o}/provider/POSTPAY.svg`,RI=`${o}/provider/QPAY.svg`,_I=`${o}/provider/SPG.svg`,EI=`${o}/provider/STC_PAY.svg`,zI=`${o}/provider/TABBY.svg`,MI=`${o}/provider/TAMARA.svg`,UI=`${o}/provider/TPAY.svg`,VI=`${o}/provider/TPG.svg`,qI=`${o}/downloadBlue.svg`,HI=`${o}/eyeBlue.svg`,YI=`${o}/fastBlack.svg`,jI=`${o}/repeat.svg`,ZI=`${o}/shield.svg`,QI=`${o}/fileMinus.svg`,XI=`${o}/percent.svg`,JI=`${o}/cardUpload.svg`,KI=`${o}/startConnector.svg`,od=`${o}/endConnector.svg`,td=`${o}/filledConnector.svg`,ed=`${o}/dottedConnector.svg`,nd=`${o}/play.svg`,cd=`${o}/merchantAttributes.svg`,sd=`${o}/issuerAttributes.svg`,rd=`${o}/refresh.svg`,ad=`${o}/riskAttributes.svg`,id=`${o}/exclude.svg`,pd=`${o}/earlySettlements.svg`,gd=`${o}/financedBy.svg`,vd=`${o}/financeFeatures.svg`,Id=`${o}/loanAmount.svg`,dd=`${o}/murabhaFinance.svg`,ld=`${o}/testimonial.svg`,xd=`${a}/bulk-refund-template.xlsx`,$d=`${o}/emptyCopyIcon.svg`,ud=`${o}/deactiveIcon.svg`,hd=`${o}/disableIcon.svg`,md=`${o}/extendIcon.svg`,wd=`${o}/payers.svg`,yd=`${o}/gatewayIcon.svg`;
|
|
2
|
-
export{eo as $,nt as $a,ne as $b,nn as $c,cc as $d,cs as $e,cr as $f,ca as $g,ci as $h,cp as $i,cg as $j,cv as $k,cI as $l,cd as $m,P as A,Do as Aa,Dt as Ab,De as Ac,Wn as Ad,Wc as Ae,Ws as Af,Wr as Ag,Wa as Ah,Wi as Ai,Wp as Aj,Wg as Ak,Wv as Al,WI as Am,D as B,Wo as Ba,Wt as Bb,We as Bc,Tn as Bd,Tc as Be,Ts as Bf,Tr as Bg,Ta as Bh,Ti as Bi,Tp as Bj,Tg as Bk,Tv as Bl,TI as Bm,W as C,To as Ca,Tt as Cb,Te as Cc,Nn as Cd,Nc as Ce,Ns as Cf,Nr as Cg,Na as Ch,Ni as Ci,Np as Cj,Ng as Ck,Nv as Cl,NI as Cm,T as D,No as Da,Nt as Db,Ne as Dc,Gn as Dd,Gc as De,Gs as Df,Gr as Dg,Ga as Dh,Gi as Di,Gp as Dj,Gg as Dk,Gv as Dl,GI as Dm,N as E,Go as Ea,Gt as Eb,Ge as Ec,Ln as Ed,Lc as Ee,Ls as Ef,Lr as Eg,La as Eh,Li as Ei,Lp as Ej,Lg as Ek,Lv as El,LI as Em,G as F,Lo as Fa,Lt as Fb,Le as Fc,Fn as Fd,Fc as Fe,Fs as Ff,Fr as Fg,Fa as Fh,Fi,Fp as Fj,Fg as Fk,Fv as Fl,FI as Fm,L as G,Fo as Ga,Ft as Gb,Fe as Gc,On as Gd,Oc as Ge,Os as Gf,Or as Gg,Oa as Gh,Oi as Gi,Op as Gj,Og as Gk,Ov as Gl,OI as Gm,F as H,Oo as Ha,Ot as Hb,Oe as Hc,Rn as Hd,Rc as He,Rs as Hf,Rr as Hg,Ra as Hh,Ri as Hi,Rp as Hj,Rg as Hk,Rv as Hl,RI as Hm,O as I,Ro as Ia,Rt as Ib,Re as Ic,
|
|
1
|
+
var n="https://cdn.tap.company/tap-assets",o=`${n}/icons/dashboard/light`,t=`${o}/other`,i=`${o}/function`,s=`${n}/videos`,r=`${n}/files`,a=`${r}/templates`,p=e=>`${o}/${e}.svg`,g=e=>`${o}/payment-method/v2/${e}.svg`,v=e=>`${o}/payment-issuer/${e}.svg`,I=e=>`${o}/country/v3/${e}.svg`,d=e=>`${o}/function/${e}.svg`,l=e=>`${o}/statusIcons/${e}.svg`,x=e=>`${n}/currency/v3/light/${e}.svg`,$=e=>{let c=e.replace(/\s/g,"");return `${n}/icons/dashboard/light/authority/v2/${c}.svg`},u=e=>`${o}/browsers/${e}.svg`,h=e=>`${o}/payment-initiator/${e}.svg`,m=e=>`${o}/payment-gateways/${e}.svg`,w=e=>`${o}/aging/${e}.svg`,y=`${o}/currency/sar.svg`,b=`${o}/currency/dirham.svg`,S=`${o}/abandoned.svg`,k=`${o}/abandonedYellow.svg`,A=`${o}/chevron-down.svg`,B=`${o}/removeIcon.svg`,C=`${o}/reversed.svg`,f=`${o}/destinationSolid.svg`,P=`${o}/search.svg`,D=`${o}/unauthorized.svg`,W=`${o}/view.svg`,T=`${o}/reports.svg`,N=`${o}/flag.svg`,G=`${o}/dispute.svg`,L=`${o}/timezone.svg`,F=`${o}/greyTimezone.svg`,O=`${o}/subscription.svg`,R=`${o}/savedCard.svg`,E=`${o}/egypt.svg`,_=`${o}/saudiArabia.svg`,z=`${o}/jordan.svg`,M=`${o}/lebanon.svg`,U=`${o}/kuwait.svg`,V=`${o}/unitedArabEmirates.svg`,q=`${o}/europe.svg`,H=`${o}/bahrain.svg`,Y=`${o}/america.svg`,j=`${o}/payment-method/v2/card.svg`,Z=`${o}/payment-method/v2/UnionPay.svg`,Q=`${o}/payment-method/v2/JAYWAN.svg`,X=`${o}/device.svg`,J=`${o}/expressCheckout.svg`,K=`${o}/applePay.svg`,oo=`${o}/cash.svg`,to=`${o}/passThruWallet.svg`,eo=`${o}/storedValueWallet.svg`,no=`${o}/buyNowPayLater.svg`,co=`${o}/openBanking.svg`,so=`${o}/FrictionlessIcon.svg`,ro=`${o}/ChallengeIcon.svg`,ao=`${o}/visa.svg`,io=`${o}/redArrowDownIcon.svg`,po=`${o}/completed.svg`,go=`${o}/chargebackRequested.svg`,vo=`${o}/chargeback.svg`,Io=`${t}/captureDropdown.svg`,lo=`${o}/disputeResolved.svg`,xo=`${o}/reversePayout.svg`,$o=`${o}/ellipsisHorizontal.svg`,uo=`${o}/3ds.svg`,ho=`${o}/invoiceIdIcon3.svg`,mo=`${o}/idIcon3.svg`,wo=`${o}/id.svg`,yo=`${t}/copyIcon.svg`,bo=`${t}/codeIcon.svg`,So=`${t}/GreenCheckMark2.svg`,ko=`${o}/closedDispute.svg`,Ao=`${o}/openDispute.svg`,Bo=`${o}/desktop.svg`,Co=`${o}/mobile.svg`,fo=`${o}/tablet.svg`,Po=`${o}/invoice.svg`,Do=`${o}/cancelledInvoiceIcon.svg`,Wo=`${o}/expiredInvoiceIcon.svg`,To=`${o}/invoiceNumberIcon.svg`,No=`${o}/column.svg`,Go=`${o}/sortAz.svg`,Lo=`${o}/sortZa.svg`,Fo=`${o}/zipFile.svg`,Oo=`${o}/successWhiteBg.svg`,Ro=`${o}/failedWhiteBgIcon.svg`,Eo=`${o}/exclamationGreyIcon.svg`,_o=`${o}/exclamationDarkGreyIcon.svg`,zo=`${o}/percentage0.svg`,Mo=`${o}/percentage50.svg`,Uo=`${o}/percentage75.svg`,Vo=`${o}/percentage100.svg`,qo=`${o}/maximize.svg`,Ho=`${o}/minimize.svg`,Yo=`${o}/close.svg`,jo=`${o}/dashedCheckIcon.svg`,Zo=`${o}/outstandingIcon.svg`,Qo=`${o}/cancelledStatusIcon.svg`,Xo=`${o}/expiredStatusIcon.svg`,Jo=`${o}/paidStatusIcon.svg`,Ko=`${o}/refundedStatusIcon.svg`,ot=`${o}/deactivatedIcon.svg`,tt=`${o}/topup.svg`,et=`${o}/AIOverviewIcon.svg`,nt=`${t}/demaximize.svg`,ct=`${o}/pendingFlag.svg`,st=`${o}/ibanIcon.svg`,rt=`${o}/payoutIcon.svg`,at=`${o}/releasedFlag.svg`,it=`${o}/acceptedFlag.svg`,pt=`${o}/clearIcon.svg`,gt=`${o}/status/unCaptured.svg`,vt=`${t}/newWindow.svg`,It=`${t}/viewAll.svg`,dt=`${t}/allApps.svg`,lt=`${t}/hide.svg`,xt=`${t}/close.svg`,$t=`${t}/star.svg`,ut=`${t}/closeCircle.svg`,ht=`${t}/acquirer.svg`,mt=`${o}/GenericIconNew.svg`,wt=`${t}/acquirerRed.svg`,yt=`${t}/gateway.svg`,bt=`${t}/acquirerOrange.svg`,St=`${o}/status/capturedAuthorize.svg`,kt=`${t}/merchantInitiated.svg`,At=`${t}/rightArow.svg`,Bt=`${o}/blackRightArrow.svg`,Ct=`${t}/orangeFlag.svg`,ft=`${t}/openFlag.svg`,Pt=`${t}/closedFlag.svg`,Dt=`${t}/redFlag.svg`,Wt=`${t}/grayFlag.svg`,Tt=`${t}/downArrow.svg`,Nt=`${t}/check.svg`,Gt=`${t}/closeX.svg`,Lt=`${t}/drag.svg`,Ft=`${t}/checkboxIcon.svg`,Ot=`${o}/plusWhite.svg`,Rt=`${t}/checkboxIcon.svg`,Et=`${o}/Uniso.svg`,_t=`${o}/addidas.svg`,zt=`${o}/radioButtonChecked.svg`,Mt=`${o}/radioButtonUnchecked.svg`,Ut=`${o}/Mac.svg`,Vt=`${o}/blueCheckIconZigzag.svg`,qt=`${o}/greenCheckIconZigzag.svg`,Ht=`${o}/dimmedCheckIconZigzag.svg`,Yt=`${o}/marketPlaceBlue.svg`,jt=`${o}/marketplaceBlackIcon.svg`,Zt=`${o}/marketPlaceDimmed.svg`,Qt=`${o}/moneyOut.svg`,Xt=`${o}/moneyOutDimmed.svg`,Jt=`${o}/moneyIn.svg`,Kt=`${o}/moneyInDimmed.svg`,oe=`${o}/message.svg`,te=`${o}/pending.svg`,ee=`${o}/payStream.svg`,ne=`${o}/clearCoin.svg`,ce=`${t}/walletSmall.svg`,se=`${t}/bank.svg`,re=`${t}/hijri.svg`,ae=`${t}/darkLeftArrow.svg`,ie=`${t}/darkRightArrow.svg`,pe=`${t}/spinnerLoading.svg`,ge=`${t}/spinnerLoadingAnimated.svg`,ve=`${t}/actionFail.svg`,Ie=`${t}/actionSuccess.svg`,de=`${t}/checkMark.svg`,le=`${t}/logout.svg`,xe=`${t}/preferences.svg`,$e=`${t}/transform.svg`,ue=`${t}/token.svg`,he=`${t}/billing.svg`,me=`${t}/receiptBill.svg`,we=`${o}/newReceiptIcon.svg`,ye=`${t}/acceptance.svg`,be=`${o}/acceptanceEnabled.svg`,Se=`${o}/acceptanceBlue.svg`,ke=`${o}/payoutsGreen.svg`,Ae=`${t}/acceptanceAppIconDisabled.svg`,Be=`${t}/payoutsAppIconDisabled.svg`,Ce=`${o}/payoutEnabled.svg`,fe=`${o}/payoutAppGreenIcon.svg`,Pe=`${o}/payoutDisabledRounded.svg`,De=`${o}/acceptanceDisabledRounded.svg`,We=`${t}/AuthenticationApp.svg`,Te=`${t}/walletApp.svg`,Ne=`${t}/payouts.svg`,Ge=`${t}/protect.svg`,Le=`${t}/customers.svg`,Fe=`${t}/business.svg`,Oe=`${t}/account.svg`,Re=`${t}/disableCheck.svg`,Ee=`${t}/wifiOff.svg`,_e=`${t}/SandboxHovered.svg`,ze=`${t}/Sandbox.svg`,Me=`${t}/ExclamationError.svg`,Ue=`${t}/greyCheck.svg`,Ve=`${t}/greyCross.svg`,qe=`${t}/blueCheck.svg`,He=`${t}/disabledCheck.svg`,Ye=`${t}/darkCheck.svg`,je=`${t}/collapseArrow.svg`,Ze=`${t}/world.svg`,Qe=`${t}/grayUpArrow.svg`,Xe=`${t}/blackHeadingDownArrowIcon.svg`,Je=`${t}/blueHeadingDropdownArrow.svg`,Ke=`${t}/dropdownArrow.svg`,on=`${t}/greyDropdownIcon.svg`,tn=`${t}/business2.svg`,en=`${t}/development.svg`,nn=`${t}/financial.svg`,cn=`${t}/light_master_orchestrator.svg`,sn=`${t}/platform.svg`,rn=`${t}/provider.svg`,an=`${t}/appPlatform.svg`,pn=`${t}/authenticationGateway.svg`,gn=`${t}/billingPlatform.svg`,vn=`${t}/commercePlatform.svg`,In=`${t}/commercialRegulator.svg`,dn=`${t}/merchantServiceProvider.svg`,ln=`${t}/paymentAcquirer.svg`,xn=`${t}/paymentFacilitator.svg`,$n=`${t}/paymentGatewayProvider.svg`,un=`${t}/paymentIssuer.svg`,hn=`${t}/paymentMethod.svg`,mn=`${t}/paymentProcessor.svg`,wn=`${t}/paymentScheme.svg`,yn=`${t}/paymentTechnologyV2.svg`,bn=`${t}/paymentTerminalProvider.svg`,Sn=`${t}/retailPlatform.svg`,kn=`${t}/retailer.svg`,An=`${t}/light_business.svg`,Bn=`${t}/light_development.svg`,Cn=`${t}/financial.svg`,fn=`${t}/light_master_orchestrator.svg`,Pn=`${t}/light_platform.svg`,Dn=`${t}/provider.svg`,Wn=`${t}/light_app_platform.svg`,Tn=`${t}/light_authentication_gateway.svg`,Nn=`${t}/light_billing_platform.svg`,Gn=`${t}/light_commerce_platform.svg`,Ln=`${t}/light_commercial_regulator.svg`,Fn=`${t}/light_merchant_service_provider.svg`,On=`${t}/light_payment_acquirer.svg`,Rn=`${t}/light_payment_facilitator.svg`,En=`${t}/light_payment_gateway_provider.svg`,_n=`${t}/light_payment_issuer.svg`,zn=`${t}/light_payment_method.svg`,Mn=`${t}/light_payment_processor.svg`,Un=`${t}/light_payment_scheme.svg`,Vn=`${t}/light_payment_technology_v2.svg`,qn=`${t}/light_payment_terminal_provider.svg`,Hn=`${t}/light_retail_platform.svg`,Yn=`${t}/light_retailer.svg`,jn=`${t}/brandGray.svg`,Zn=`${o}/grayCircleIcon.svg`,Qn=`${t}/json.svg`,Xn=`${t}/jsonBlackIcon.svg`,Jn=`${t}/sort1.svg`,Kn=`${t}/SandboxHoveredLight.svg`,oc=`${t}/emailColoured.svg`,tc=`${o}/OrderIcon.svg`,ec=`${o}/TransactionIcon.svg`,nc=`${o}/GenericIcon.svg`,cc=`${t}/smsColoured.svg`,sc=`${t}/whatsAppColored.svg`,rc=`${t}/dueDateBlue.svg`,ac=`${t}/dueDateOrange.svg`,ic=`${t}/dueDateYellow.svg`,pc=`${t}/dueDateRed.svg`,gc=`${t}/dueDateBlack.svg`,vc=`${t}/dueDateGray.svg`,Ic=`${t}/timerBlue.svg`,dc=`${t}/expiredIcon.svg`,lc=`${t}/remindedRed.svg`,xc=`${t}/chevronWhite.svg`,$c=`${t}/chevronGray.svg`,uc=`${t}/notVerified.svg`,hc=`${t}/verified.svg`,mc=`${t}/verifyReview.svg`,wc=`${o}/window/attention.svg`,yc=`${o}/window/initalAcceptance.svg`,bc=`${o}/window/completedAcceptance.svg`,Sc=`${o}/window/initalPayouts.svg`,kc=`${o}/window/completedPayouts.svg`,Ac=`${t}/collapseArrowsIcon.svg`,Bc=`${t}/expandArrowsIcon.svg`,Cc=`${t}/greenArrowRight.svg`,fc=`${t}/greenArrowLeft1.svg`,Pc=`${t}/greenIconWithArrowUp.svg`,Dc=`${t}/whiteArrowRight.svg`,Wc=`${t}/whiteArrowLeft.svg`,Tc=`${o}/HSBCBank.svg`,Nc=`${o}/shopifyIcon.svg`,Gc=`${o}/verifiedGreenBadge.svg`,Lc=`${o}/backButtonLeft.svg`,Fc=`${o}/eyeHideIcon.svg`,Oc=`${o}/eyeShowIcon.svg`,Rc=`${t}/uploadIcon.svg`,Ec=`${o}/window/uploadGreyIcon.svg`,_c=`${o}/uploadAppIcon.svg`,zc=`${o}/window/paylinkGreyIcon.svg`,Mc=`${o}/paylinkAppIcon.svg`,Uc=`${o}/inprogressIcon.svg`,Vc=`${o}/redCloseCircleIcon.svg`,qc=`${t}/uploadBlueIcon.svg`,Hc=`${t}/SandboxHovered.svg`,Yc=`${t}/sandboxDefaultIcon.svg`,jc=`${t}/SandboxIcon.svg`,Zc=`${t}/clock.svg`,Qc=`${t}/RedClose.svg`,Xc=`${t}/xls.svg`,Jc=`${t}/csv.svg`,Kc=`${t}/pdf.svg`,os=`${t}/Download.svg`,ts=`${t}/reportsIconOutlined.svg`,es=`${t}/Done.svg`,ns=`${t}/reportApps.svg`,cs=`${o}/window/ReportsApp.svg`,ss=`${o}/window/leadApp.svg`,rs=`${o}/window/leadTitleIcon.svg`,as=`${t}/OrderApp.svg`,is=`${t}/OrderTitleIcon.svg`,ps=`${o}/dottedLine.svg`,gs=`${o}/passwordDots.svg`,vs=`${o}/dollarSign.svg`,Is=`${o}/reload.svg`,ds=`${t}/deletedStatus1.svg`,ls=`${t}/draftedStatus1.svg`,xs=`${t}/createdStatus1.svg`,$s=`${t}/cancelledStatus1.svg`,us=`${t}/expiredStatus1.svg`,hs=`${t}/paidStatus1.svg`,ms=`${t}/deliveredStatus1.svg`,ws=`${t}/viewedStatus1.svg`,ys=`${t}/savedStatus1.svg`,bs=`${t}/scheduledStatus1.svg`,Ss=`${t}/invoicePendingStatus2.svg`,ks=`${t}/invoiceRefundedStatus2.svg`,As=`${o}/activeLeadStatus.svg`,Bs=`${o}/completedLeadStatus.svg`,Cs=`${o}/closedLeadStatus.svg`,fs=`${o}/expiredLeadStatus.svg`,Ps=`${o}/readyLeadStatus.svg`,Ds=`${o}/fileIcon.svg`,Ws=`${o}/clipboardFileGrayIcon.svg`,Ts=`${o}/newFileIcon.svg`,Ns=`${o}/downloadFileIcon.svg`,Gs=`${o}/progressFileIcon.svg`,Ls=`${o}/successFileIcon.svg`,Fs=`${o}/whiteArrowDownIcon.svg`,Os=`${o}/teamWindowIcon.svg`,Rs=`${o}/blueAppsIcon.svg`,Es=`${o}/disabledCardIcon.svg`,_s=`${o}/disabledCodeIcon.svg`,zs=`${o}/layersIcon.svg`,Ms=`${o}/status/pendingOnTapIcon.svg`,Us=`${o}/leadWhiteIcon.svg`,Vs=`${t}/chatDisabledIcon.svg`,qs=`${o}/exclamationDarkIcon.svg`,Hs=`${t}/exclamationWarning.svg`,Ys=`${o}/exclamationError.svg`,js=`${o}/exclamationOrangeIcon.svg`,Zs=`${t}/greenCheckV2.svg`,Qs=`${o}/iosIcon1.svg`,Xs=`${o}/androidIcon.svg`,Js=`${o}/websiteIcon.svg`,Ks=`${t}/greyApple.svg`,or=`${t}/greyLocationIcon.svg`,tr=`${t}/greyDesktopIcon.svg`,er=`${t}/greyTimezone.svg`,nr=`${t}/safariBrowser.svg`,cr=`${t}/chromeBrowser.svg`,sr=`${t}/firefoxBrowser.svg`,rr=`${t}/microsoftBrowser.svg`,ar=`${t}/operaBrowser.svg`,ir=`${t}/braveBrowser.svg`,pr=`${t}/arcBrowser.svg`,gr=`${t}/chromiumBrowser.svg`,vr=`${t}/userIcon.svg`,Ir=`${t}/slaProcess.svg`,dr=`${o}/window/slaProcess.svg`,lr=`${o}/orchestrationApp.svg`,xr=`${o}/window/orchestration.svg`,$r=`${o}/window/orchestrationWindowBg.svg`,ur=`${o}/lendingApp.svg`,hr=`${o}/window/lending.svg`,mr=`${o}/lendingProviderApp.svg`,wr=`${o}/deemaApp.svg`,yr=`${o}/window/deema.svg`,br=`${o}/fast.svg`,Sr=`${o}/bankBlue.svg`,kr=`${o}/mosque.svg`,Ar=`${o}/mosqueBlack.svg`,Br=`${o}/moonStar.svg`,Cr=`${o}/car.svg`,fr=`${o}/handCoinsWhite.svg`,Pr=`${o}/list.svg`,Dr=`${o}/corporateLoan.svg`,Wr=`${o}/corporateLoanBlack.svg`,Tr=`${o}/platformApp.svg`,Nr=`${o}/window/platform.svg`,Gr=`${o}/osApp.svg`,Lr=`${o}/window/osApp.svg`,Fr=`${o}/riskApp.svg`,Or=`${o}/window/riskApp.svg`,Rr=`${o}/status/table/abandoned.svg`,Er=`${o}/status/table/cancelled.svg`,_r=`${o}/status/table/captured.svg`,zr=`${o}/status/table/chargeBack.svg`,Mr=`${o}/status/table/chargeBackRequested.svg`,Ur=`${o}/status/table/completed.svg`,Vr=`${o}/status/table/declined.svg`,qr=`${o}/status/table/destinationReversed.svg`,Hr=`${t}/DestinationWithoutBackground.svg`,Yr=`${o}/status/table/disputeResolved.svg`,jr=`${o}/status/table/failed.svg`,Zr=`${o}/status/table/failedNoBG.svg`,Qr=`${o}/status/table/declinedNoBg.svg`,Xr=`${t}/destinationSuccess.svg`,Jr=`${o}/status/authenticationFailed.svg`,Kr=`${o}/status/table/authenticated.svg`,oa=`${o}/paidOutFilterIcon.svg`,ta=`${o}/completedBlackIcon.svg`,ea=`${o}/scheduledFilterIcon.svg`,na=`${o}/saveTokenIcon.svg`,ca=`${o}/status/unauthenticated.svg`,sa=`${o}/status/authenticationAttempted.svg`,ra=`${o}/status/authenticationNoAuth.svg`,aa=`${o}/status/authenticationDeclined.svg`,ia=`${o}/status/authenticationExemptedWithoutTransaction1.svg`,pa=`${o}/status/authenticationExemptedWithTransaction2.svg`,ga=`${o}/status/authenticationFailed1.svg`,va=`${o}/status/authenticationInitiated.svg`,Ia=`${o}/status/authenticationUnavailable.svg`,da=`${o}/status/authenticationUndetermined.svg`,la=`${o}/status/AuthenticationWithoutTransaction1.svg`,xa=`${o}/status/authenticationWithTransaction1 2.svg`,$a=`${o}/status/AuthenticationAuthenticated.svg`,ua=`${o}/status/authenticationPending2.svg`,ha=`${o}/authenticationFailedNoBg.svg`,ma=`${o}/authenticationPendingNoBg.svg`,wa=`${o}/authenticationNoAuthNoBg.svg`,ya=`${o}/authenticationAttemptedNoBg.svg`,ba=`${o}/authenticationExemptedWithTransactionNoBg.svg`,Sa=`${o}/authenticationExemptedWithoutTransactionNoBg.svg`,ka=`${o}/authenticationDeclinedNoBg.svg`,Aa=`${o}/authenticationUnavailableNoBg.svg`,Ba=`${o}/authenticationUndeterminedNoBg.svg`,Ca=`${o}/authenticatedSuccessNoBg.svg`,fa=`${o}/authenticationWithTransactionNoBg.svg`,Pa=`${o}/authenticationWithoutTransactionNoBg.svg`,Da=`${o}/greyPlusIcon.svg`,Wa=`${o}/greyMinusIcon.svg`,Ta=`${o}/noPreviewIcon.svg`,Na=`${o}/other/editIcon.svg`,Ga=`${t}/viewInvoice.svg`,La=`${t}/checkoutStatus.svg`,Fa=`${t}/checkStatusOutBlue.svg`,Oa=`${t}/checkoutWithMarkStatus.svg`,Ra=`${t}/intentExpiredStatus.svg`,Ea=`${t}/intentInitiatedStatus.svg`,_a=`${t}/intentCancelledStatus.svg`,za=`${t}/intentTransactedStatus.svg`,Ma=`${o}/SheetViewUnionIcon.svg`,Ua=`${o}/sheetView.svg`,Va=`${o}/abandonedNoBG.svg`,qa=`${o}/status/table/paidOut.svg`,Ha=`${o}/status/table/reversePayout.svg`,Ya=`${o}/status/pendingPayout.svg`,ja=`${t}/whiteCloseIcon.svg`,Za=`${o}/window/empty.svg`,Qa=`${o}/loaderWhiteIcon.svg`,Xa=`${t}/reverseActionIcon.svg`,Ja=`${o}/status/authenticationWallet.svg`,Ka=`${o}/status/authenticationApp.svg`,oi=`${o}/status/authenticationBiometric.svg`,ti=`${o}/status/authenticationDevice.svg`,ei=`${o}/status/authenticationIssuer.svg`,ni=`${o}/status/authenticationScheme.svg`,ci=`${o}/pin.svg`,si=`${o}/unpin.svg`,ri=`${t}/switcher.svg`,ai=`${o}/closedStatusIcon.svg`,ii=`${o}/verticalLine.svg`,pi=`${o}/previewModeIcon.svg`,gi=`${o}/status/table/tokensSaved.svg`,vi=`${o}/status/table/tokensTransacted.svg`,Ii=`${o}/status/table/tokensExpired.svg`,di=`${o}/status/table/tokensPending.svg`,li=`${o}/status/table/tokenCardIcon.svg`,xi=`${t}/TableloadingSpinner.svg`,$i=`${t}/loadingSpinnerWhite.svg`,ui=`${o}/spinnerLoadingBlue.svg`,hi=`${o}/backgroundLoader.svg`,mi=`${t}/arrowUpBlue1.svg`,wi=`${t}/BlueCheckMarkShadowed1.svg`,yi=`${t}/cardViewButton.svg`,bi=`${t}/listViewButton1.svg`,Si=`${o}/BlueArrowUpIcon.svg`,ki=`${o}/BlueCircleLoaderIcon.svg`,Ai=`${o}/appsGridIcon2.svg`,Bi=`${o}/whiteFilter.svg`,Ci=`${o}/grayCloseIcon.svg`,fi=`${o}/status/OrderAgreementIcon.svg`,Pi=`${o}/status/InstallmentAgreementIcon.svg`,Di=`${o}/status/CardAgreementIcon.svg`,Wi=`${o}/status/SubscriptionAgreementIcon.svg`,Ti=`${o}/brandPlaceholder.svg`,Ni=`${o}/users-icons.svg`,Gi=`${o}/Board-Icons.svg`,Li=`${t}/No Agreement.svg`,Fi=`${o}/window/acceptance.svg`,Oi=`${o}/window/wallet.svg`,Ri=`${o}/window/billing.svg`,Ei=`${o}/window/customers.svg`,_i=`${o}/window/payout.svg`,zi=`${o}/window/protect.svg`,Mi=`${o}/window/tokens.svg`,Ui=`${o}/window/account.svg`,Vi=`${o}/window/businesses.svg`,qi=`${o}/window/authentication.svg`,Hi=`${t}/reportsIcon.svg`,Yi=`${o}/window/tokensReports.svg`,ji=`${o}/window/brand.svg`,Zi=`${o}/window/entity.svg`,Qi=`${o}/window/bank.svg`,Xi=`${o}/window/individual.svg`,Ji=`${o}/window/password.svg`,Ki=`${o}/actionsIcon.svg`,op=`${o}/addItem.svg`,tp=`${o}/attachIcon.svg`,ep=`${o}/CollapseArrows.svg`,np=`${o}/customerIcon.svg`,cp=`${o}/discountIcon.svg`,sp=`${o}/emailIcon.svg`,rp=`${o}/emailBlackIcon.svg`,ap=`${o}/linkTiltedIcon.svg`,ip=`${o}/ExpandArrows.svg`,pp=`${o}/feeIcon.svg`,gp=`${o}/minusIcon.svg`,vp=`${o}/noteIcon.svg`,Ip=`${o}/pdfGrayIcon.svg`,dp=`${o}/productLabel.svg`,lp=`${o}/quantityIcon.svg`,xp=`${o}/removeItem.svg`,$p=`${t}/removeItem2.svg`,up=`${o}/smsIcon.svg`,hp=`${o}/taxIcon.svg`,mp=`${o}/totalAmountIcon.svg`,wp=`${o}/unfocusRemoveItem.svg`,yp=`${o}/whatsappIcon1.svg`,bp=`${o}/whiteArrow2.svg`,Sp=`${o}/newInvoice.svg`,kp=`${o}/activeActionIcon.svg`,Ap=`${o}/grayProductLabel.svg`,Bp=`${o}/plusQty.svg`,Cp=`${t}/downArrow3.svg`,fp=`${o}/customer.svg`,Pp=`${t}/note.svg`,Dp=`${o}/blueNoteIcon.svg`,Wp=`${t}/attach.svg`,Tp=`${o}/lateFee.svg`,Np=`${o}/addItemIcon.svg`,Gp=`${o}/blueCheckIcon.svg`,Lp=`${t}/trash-bin.svg`,Fp=`${o}/redTrashBin.svg`,Op=`${o}/blueVerifyIcon.svg`,Rp=`${o}/verificationDarkBlue.svg`,Ep=`${o}/grayVerifyIcon.svg`,_p=`${o}/greenVerifyIcon.svg`,zp=`${o}/redVerifyIcon.svg`,Mp=`${o}/closedVerifyIcon.svg`,Up=`${o}/archivedVerifyIcon.svg`,Vp=`${o}/penIcon.svg`,qp=`${t}/listShadow.svg`,Hp=`${o}/defaultCountryIcon.svg`,Yp=`${o}/defaultDeviceIcon.svg`,jp=`${o}/biometric.svg`,Zp=`${o}/3dsBlue.svg`,Qp=`${t}/createCharge.svg`,Xp=`${t}/successCheck.svg`,Jp=`${t}/receipt.svg`,Kp=`${t}/browserTimezone.svg`,og=`${t}/entityTimezone.svg`,tg=`${t}/historyTimezone.svg`,eg=`${t}/smallBlueCheck.svg`,ng=`${t}/fileDownloadBlue.svg`,cg=`${t}/fileDownloadGrey.svg`,sg=`${o}/meta.svg`,rg=`${o}/darkFilterIcon.svg`,ag=`${o}/resize-icon.svg`,ig=`${o}/home.svg`,pg=`${o}/lockIcon.svg`,gg=`${o}/Calendar.svg`,vg=`${o}/status-v2/autoCapturedNoBG.svg`,Ig=`${o}/status-v2/autoVoidNoBG.svg`,dg=`${o}/status-v2/cancelledNoBG.svg`,lg=`${o}/status-v2/capturedNoBG.svg`,xg=`${o}/status-v2/declinedNoBG.svg`,$g=`${o}/status-v2/destinationsNoBG.svg`,ug=`${o}/status-v2/failedNoBG.svg`,hg=`${o}/status-v2/gatewayOrange.svg`,mg=`${o}/status-v2/gatewayRedNoBG.svg`,wg=`${o}/status-v2/paidoutNoBG.svg`,yg=`${o}/status-v2/refundedIconNoBG2.svg`,bg=`${o}/status-v2/refundInitiatedNoBG.svg`,Sg=`${o}/status-v2/refundSettledNoBG.svg`,kg=`${o}/status-v2/refundNotSettledNoBG.svg`,Ag=`${o}/status-v2/restrictedNoBG.svg`,Bg=`${o}/status-v2/settledNoBG.svg`,Cg=`${o}/status-v2/settlementInitiatedNoBG.svg`,fg=`${o}/status-v2/timeoutNoBG.svg`,Pg=`${o}/status-v2/unavailableNoBG.svg`,Dg=`${o}/status-v2/unknownNoBG.svg`,Wg=`${o}/status-v2/void.svg`,Tg=`${o}/status-v2/authorizeNoBG.svg`,Ng=`${o}/status-v2/initiatedNoBG.svg`,Gg=`${o}/websiteBlueIcon.svg`,Lg=`${o}/androidAppIcon.svg`,Fg=`${o}/iOSAppIcon.svg`,Og=`${o}/physicalLocationIcon.svg`,Rg=`${o}/socialLinksIcon.svg`,Eg=`${o}/smallLeftArrow.svg`,_g=`${o}/searchBlueIcon.svg`,zg=`${t}/rightLightArrow.svg`,Mg=`${t}/segmentInstitution.svg`,Ug=`${t}/segmentTechnology.svg`,Vg=`${t}/segmentDevelopmentHouse.svg`,qg=`${t}/terminal.svg`,Hg=`${o}/window/terminal.svg`,Yg=`${o}/terminalCardPhone.svg`,jg=`${o}/ToastPOS.svg`,Zg=`${o}/terminalTypeIcon.svg`,Qg=`${o}/terminalBrush.svg`,Xg=`${o}/terminalBrushMuted.svg`,Jg=`${o}/navigationIcon.svg`,Kg=`${o}/babyBlueCheckIcon.svg`,ov=`${o}/digitalReceiptIcon.svg`,tv=`${o}/bankNoteIcon.svg`,ev=`${o}/terminalDeviceFrame.svg`,nv=`${o}/blackBrushIcon.svg`,cv=`${o}/mutedOutlinedCheckIcon.svg`,sv=`${o}/outlinedPlatformIcon.svg`,rv=`${o}/navigationPointerBlack.svg`,av=`${o}/addIconWhite.svg`,iv=`${o}/greyUpArrow.svg`,pv=`${o}/greyDownArrow.svg`,gv=`${o}/services/brandService.svg`,vv=`${o}/services/authorizationService.svg`,Iv=`${o}/services/chargebacksService.svg`,dv=`${o}/services/chargesService.svg`,lv=`${o}/services/destinationsService.svg`,xv=`${o}/services/entityService.svg`,$v=`${o}/services/invoiceService.svg`,uv=`${o}/services/payoutService.svg`,hv=`${o}/services/refundsService.svg`,mv=`${o}/services/usersService.svg`,wv=`${o}/services/walletService.svg`,yv=`${o}/services/intentsService.svg`,bv=`${o}/services/insightsService.svg`,Sv=`${o}/services/retailersService.svg`,kv=`${o}/services/terminalService.svg`,Av=`${o}/services/createLead.svg`,Bv=`${o}/services/viewLead.svg`,Cv=`${o}/archievedOutlined.svg`,fv=`${o}/closeOutlinedCircle.svg`,Pv=`${o}/dashedOutlinedCircle.svg`,Dv=`${o}/deactivatedCircle.svg`,Wv=`${o}/deactivatedOutlinedCircleV2.svg`,Tv=`${o}/exclamationOutlinedCircle.svg`,Nv=`${o}/questionOutlinedCircle.svg`,Gv=`${o}/outlinedCircle.svg`,Lv=`${o}/greenCheck2ACE00.svg`,Fv=`${o}/blueCopyIcon.svg`,Ov=`${o}/blackLinkIcon.svg`,Rv=`${o}/blackSettingsIcon.svg`,Ev=`${o}/blackWallet.svg`,_v=`${o}/blueGradientBrushIcon.svg`,zv=`${o}/gadientLink.svg`,Mv=`${o}/blackDeviceIcon.svg`,Uv=`${o}/gradientDeviceIcon.svg`,Vv=`${o}/gradientSettings.svg`,qv=`${o}/gradientWallet.svg`,Hv=`${o}/codeIcon.svg`,Yv=`${o}/manyCurrencyCoin.svg`,jv=`${o}/manyCurrencyCoinGradient.svg`,Zv=`${o}/blackMobileBatteryIcon.svg`,Qv=`${o}/blackMobileSignalIcon.svg`,Xv=`${o}/emptyMobileWifiIcon.svg`,Jv=`${o}/deemaWithLabel.svg`,Kv=`${o}/chargeBackWhiteIcon.svg`,oI=`${o}/blackUnLinkIcon.svg`,tI=`${o}/sortDescArrowIcon.svg`,eI=`${o}/sortAscArrowIcon.svg`,nI=`${o}/closedOutlinedYellowCircle.svg`,cI=`${o}/deactivatedOrangeCircle.svg`,sI=`${o}/deactivatedCircleV2.svg`,rI=`${o}/exclamationOutlinedOrangeCircle.svg`,aI=`${o}/activeGreenIcon.svg`,iI=`${o}/activeBlue.svg`,pI=`${o}/inActiveGreyIcon.svg`,gI=`${s}/terminal_link.mp4`,vI=`${o}/bluePlusIcon.svg`,II=`${o}/blackSettingsVariant2Icon.svg`,dI=`${o}/exclamationWhite.svg`,lI=`${t}/blueCircleWithWhiteCheck.svg`,xI=`${o}/externalLink.svg`,$I=`${o}/settingsIcon.svg`,uI=`${o}/flipIcon.svg`,hI=`${o}/shoppingCart.svg`,mI=`${o}/verifyAvatar.svg`,wI=`${o}/helpCircle.svg`,yI=`${o}/provider/CYBERSOURCE.svg`,bI=`${o}/provider/MPGS.svg`,SI=`${o}/provider/NETCETERA.svg`,kI=`${o}/provider/APPLEPAY.svg`,AI=`${o}/provider/TAP3DS.svg`,BI=`${o}/provider/BENEFIT_PAY.svg`,CI=`${o}/provider/BENEFIT.svg`,fI=`${o}/provider/CAREEM_PAY.svg`,PI=`${o}/provider/DEEMA.svg`,DI=`${o}/provider/FAWRY.svg`,WI=`${o}/provider/FSS.svg`,TI=`${o}/provider/KNET.svg`,NI=`${o}/provider/MEEZA.svg`,GI=`${o}/provider/NGENIUS.svg`,LI=`${o}/provider/NPG.svg`,FI=`${o}/provider/OMAN_NET.svg`,OI=`${o}/provider/PAYPAL.svg`,RI=`${o}/provider/POSTPAY.svg`,EI=`${o}/provider/QPAY.svg`,_I=`${o}/provider/SPG.svg`,zI=`${o}/provider/STC_PAY.svg`,MI=`${o}/provider/TABBY.svg`,UI=`${o}/provider/TAMARA.svg`,VI=`${o}/provider/TPAY.svg`,qI=`${o}/provider/TPG.svg`,HI=`${o}/downloadBlue.svg`,YI=`${o}/eyeBlue.svg`,jI=`${o}/fastBlack.svg`,ZI=`${o}/repeat.svg`,QI=`${o}/shield.svg`,XI=`${o}/fileMinus.svg`,JI=`${o}/percent.svg`,KI=`${o}/cardUpload.svg`,od=`${o}/startConnector.svg`,td=`${o}/endConnector.svg`,ed=`${o}/filledConnector.svg`,nd=`${o}/dottedConnector.svg`,cd=`${o}/play.svg`,sd=`${o}/merchantAttributes.svg`,rd=`${o}/issuerAttributes.svg`,ad=`${o}/refresh.svg`,id=`${o}/riskAttributes.svg`,pd=`${o}/exclude.svg`,gd=`${o}/earlySettlements.svg`,vd=`${o}/financedBy.svg`,Id=`${o}/financeFeatures.svg`,dd=`${o}/loanAmount.svg`,ld=`${o}/murabhaFinance.svg`,xd=`${o}/testimonial.svg`,$d=`${a}/bulk-refund-template.xlsx`,ud=`${o}/emptyCopyIcon.svg`,hd=`${o}/deactiveIcon.svg`,md=`${o}/disableIcon.svg`,wd=`${o}/extendIcon.svg`,yd=`${o}/payers.svg`,bd=`${o}/gatewayIcon.svg`;
|
|
2
|
+
export{eo as $,nt as $a,ne as $b,nn as $c,cc as $d,cs as $e,cr as $f,ca as $g,ci as $h,cp as $i,cg as $j,cv as $k,cI as $l,cd as $m,P as A,Do as Aa,Dt as Ab,De as Ac,Wn as Ad,Wc as Ae,Ws as Af,Wr as Ag,Wa as Ah,Wi as Ai,Wp as Aj,Wg as Ak,Wv as Al,WI as Am,D as B,Wo as Ba,Wt as Bb,We as Bc,Tn as Bd,Tc as Be,Ts as Bf,Tr as Bg,Ta as Bh,Ti as Bi,Tp as Bj,Tg as Bk,Tv as Bl,TI as Bm,W as C,To as Ca,Tt as Cb,Te as Cc,Nn as Cd,Nc as Ce,Ns as Cf,Nr as Cg,Na as Ch,Ni as Ci,Np as Cj,Ng as Ck,Nv as Cl,NI as Cm,T as D,No as Da,Nt as Db,Ne as Dc,Gn as Dd,Gc as De,Gs as Df,Gr as Dg,Ga as Dh,Gi as Di,Gp as Dj,Gg as Dk,Gv as Dl,GI as Dm,N as E,Go as Ea,Gt as Eb,Ge as Ec,Ln as Ed,Lc as Ee,Ls as Ef,Lr as Eg,La as Eh,Li as Ei,Lp as Ej,Lg as Ek,Lv as El,LI as Em,G as F,Lo as Fa,Lt as Fb,Le as Fc,Fn as Fd,Fc as Fe,Fs as Ff,Fr as Fg,Fa as Fh,Fi,Fp as Fj,Fg as Fk,Fv as Fl,FI as Fm,L as G,Fo as Ga,Ft as Gb,Fe as Gc,On as Gd,Oc as Ge,Os as Gf,Or as Gg,Oa as Gh,Oi as Gi,Op as Gj,Og as Gk,Ov as Gl,OI as Gm,F as H,Oo as Ha,Ot as Hb,Oe as Hc,Rn as Hd,Rc as He,Rs as Hf,Rr as Hg,Ra as Hh,Ri as Hi,Rp as Hj,Rg as Hk,Rv as Hl,RI as Hm,O as I,Ro as Ia,Rt as Ib,Re as Ic,En as Id,Ec as Ie,Es as If,Er as Ig,Ea as Ih,Ei as Ii,Ep as Ij,Eg as Ik,Ev as Il,EI as Im,R as J,Eo as Ja,Et as Jb,Ee as Jc,_n as Jd,_c as Je,_s as Jf,_r as Jg,_a as Jh,_i as Ji,_p as Jj,_g as Jk,_v as Jl,_I as Jm,E as K,_o as Ka,_t as Kb,_e as Kc,zn as Kd,zc as Ke,zs as Kf,zr as Kg,za as Kh,zi as Ki,zp as Kj,zg as Kk,zv as Kl,zI as Km,_ as L,zo as La,zt as Lb,ze as Lc,Mn as Ld,Mc as Le,Ms as Lf,Mr as Lg,Ma as Lh,Mi as Li,Mp as Lj,Mg as Lk,Mv as Ll,MI as Lm,z as M,Mo as Ma,Mt as Mb,Me as Mc,Un as Md,Uc as Me,Us as Mf,Ur as Mg,Ua as Mh,Ui as Mi,Up as Mj,Ug as Mk,Uv as Ml,UI as Mm,M as N,Uo as Na,Ut as Nb,Ue as Nc,Vn as Nd,Vc as Ne,Vs as Nf,Vr as Ng,Va as Nh,Vi as Ni,Vp as Nj,Vg as Nk,Vv as Nl,VI as Nm,U as O,Vo as Oa,Vt as Ob,Ve as Oc,qn as Od,qc as Oe,qs as Of,qr as Og,qa as Oh,qi as Oi,qp as Oj,qg as Ok,qv as Ol,qI as Om,V as P,qo as Pa,qt as Pb,qe as Pc,Hn as Pd,Hc as Pe,Hs as Pf,Hr as Pg,Ha as Ph,Hi as Pi,Hp as Pj,Hg as Pk,Hv as Pl,HI as Pm,q as Q,Ho as Qa,Ht as Qb,He as Qc,Yn as Qd,Yc as Qe,Ys as Qf,Yr as Qg,Ya as Qh,Yi as Qi,Yp as Qj,Yg as Qk,Yv as Ql,YI as Qm,H as R,Yo as Ra,Yt as Rb,Ye as Rc,jn as Rd,jc as Re,js as Rf,jr as Rg,ja as Rh,ji as Ri,jp as Rj,jg as Rk,jv as Rl,jI as Rm,Y as S,jo as Sa,jt as Sb,je as Sc,Zn as Sd,Zc as Se,Zs as Sf,Zr as Sg,Za as Sh,Zi as Si,Zp as Sj,Zg as Sk,Zv as Sl,ZI as Sm,j as T,Zo as Ta,Zt as Tb,Ze as Tc,Qn as Td,Qc as Te,Qs as Tf,Qr as Tg,Qa as Th,Qi as Ti,Qp as Tj,Qg as Tk,Qv as Tl,QI as Tm,Z as U,Qo as Ua,Qt as Ub,Qe as Uc,Xn as Ud,Xc as Ue,Xs as Uf,Xr as Ug,Xa as Uh,Xi as Ui,Xp as Uj,Xg as Uk,Xv as Ul,XI as Um,Q as V,Xo as Va,Xt as Vb,Xe as Vc,Jn as Vd,Jc as Ve,Js as Vf,Jr as Vg,Ja as Vh,Ji as Vi,Jp as Vj,Jg as Vk,Jv as Vl,JI as Vm,X as W,Jo as Wa,Jt as Wb,Je as Wc,Kn as Wd,Kc as We,Ks as Wf,Kr as Wg,Ka as Wh,Ki as Wi,Kp as Wj,Kg as Wk,Kv as Wl,KI as Wm,J as X,Ko as Xa,Kt as Xb,Ke as Xc,oc as Xd,os as Xe,or as Xf,oa as Xg,oi as Xh,op as Xi,og as Xj,ov as Xk,oI as Xl,od as Xm,K as Y,ot as Ya,oe as Yb,on as Yc,tc as Yd,ts as Ye,tr as Yf,ta as Yg,ti as Yh,tp as Yi,tg as Yj,tv as Yk,tI as Yl,td as Ym,oo as Z,tt as Za,te as Zb,tn as Zc,ec as Zd,es as Ze,er as Zf,ea as Zg,ei as Zh,ep as Zi,eg as Zj,ev as Zk,eI as Zl,ed as Zm,to as _,et as _a,ee as _b,en as _c,nc as _d,ns as _e,nr as _f,na as _g,ni as _h,np as _i,ng as _j,nv as _k,nI as _l,nd as _m,o as a,no as aa,ct as ab,ce as ac,cn as ad,sc as ae,ss as af,sr as ag,sa as ah,si as ai,sp as aj,sg as ak,sv as al,sI as am,sd as an,t as b,co as ba,st as bb,se as bc,sn as bd,rc as be,rs as bf,rr as bg,ra as bh,ri as bi,rp as bj,rg as bk,rv as bl,rI as bm,rd as bn,i as c,so as ca,rt as cb,re as cc,rn as cd,ac as ce,as as cf,ar as cg,aa as ch,ai as ci,ap as cj,ag as ck,av as cl,aI as cm,ad as cn,s as d,ro as da,at as db,ae as dc,an as dd,ic as de,is as df,ir as dg,ia as dh,ii as di,ip as dj,ig as dk,iv as dl,iI as dm,id as dn,r as e,ao as ea,it as eb,ie as ec,pn as ed,pc as ee,ps as ef,pr as eg,pa as eh,pi as ei,pp as ej,pg as ek,pv as el,pI as em,pd as en,a as f,io as fa,pt as fb,pe as fc,gn as fd,gc as fe,gs as ff,gr as fg,ga as fh,gi as fi,gp as fj,gg as fk,gv as fl,gI as fm,gd as fn,p as g,po as ga,gt as gb,ge as gc,vn as gd,vc as ge,vs as gf,vr as gg,va as gh,vi as gi,vp as gj,vg as gk,vv as gl,vI as gm,vd as gn,g as h,go as ha,vt as hb,ve as hc,In as hd,Ic as he,Is as hf,Ir as hg,Ia as hh,Ii as hi,Ip as hj,Ig as hk,Iv as hl,II as hm,Id as hn,v as i,vo as ia,It as ib,Ie as ic,dn as id,dc as ie,ds as if,dr as ig,da as ih,di as ii,dp as ij,dg as ik,dv as il,dI as im,dd as in,I as j,Io as ja,dt as jb,de as jc,ln as jd,lc as je,ls as jf,lr as jg,la as jh,li as ji,lp as jj,lg as jk,lv as jl,lI as jm,ld as jn,d as k,lo as ka,lt as kb,le as kc,xn as kd,xc as ke,xs as kf,xr as kg,xa as kh,xi as ki,xp as kj,xg as kk,xv as kl,xI as km,xd as kn,l,xo as la,xt as lb,xe as lc,$n as ld,$c as le,$s as lf,$r as lg,$a as lh,$i as li,$p as lj,$g as lk,$v as ll,$I as lm,$d as ln,x as m,$o as ma,$t as mb,$e as mc,un as md,uc as me,us as mf,ur as mg,ua as mh,ui as mi,up as mj,ug as mk,uv as ml,uI as mm,ud as mn,$ as n,uo as na,ut as nb,ue as nc,hn as nd,hc as ne,hs as nf,hr as ng,ha as nh,hi as ni,hp as nj,hg as nk,hv as nl,hI as nm,hd as nn,u as o,ho as oa,ht as ob,he as oc,mn as od,mc as oe,ms as of,mr as og,ma as oh,mi as oi,mp as oj,mg as ok,mv as ol,mI as om,md as on,h as p,mo as pa,mt as pb,me as pc,wn as pd,wc as pe,ws as pf,wr as pg,wa as ph,wi as pi,wp as pj,wg as pk,wv as pl,wI as pm,wd as pn,m as q,wo as qa,wt as qb,we as qc,yn as qd,yc as qe,ys as qf,yr as qg,ya as qh,yi as qi,yp as qj,yg as qk,yv as ql,yI as qm,yd as qn,w as r,yo as ra,yt as rb,ye as rc,bn as rd,bc as re,bs as rf,br as rg,ba as rh,bi as ri,bp as rj,bg as rk,bv as rl,bI as rm,bd as rn,y as s,bo as sa,bt as sb,be as sc,Sn as sd,Sc as se,Ss as sf,Sr as sg,Sa as sh,Si as si,Sp as sj,Sg as sk,Sv as sl,SI as sm,b as t,So as ta,St as tb,Se as tc,kn as td,kc as te,ks as tf,kr as tg,ka as th,ki as ti,kp as tj,kg as tk,kv as tl,kI as tm,S as u,ko as ua,kt as ub,ke as uc,An as ud,Ac as ue,As as uf,Ar as ug,Aa as uh,Ai as ui,Ap as uj,Ag as uk,Av as ul,AI as um,k as v,Ao as va,At as vb,Ae as vc,Bn as vd,Bc as ve,Bs as vf,Br as vg,Ba as vh,Bi as vi,Bp as vj,Bg as vk,Bv as vl,BI as vm,A as w,Bo as wa,Bt as wb,Be as wc,Cn as wd,Cc as we,Cs as wf,Cr as wg,Ca as wh,Ci as wi,Cp as wj,Cg as wk,Cv as wl,CI as wm,B as x,Co as xa,Ct as xb,Ce as xc,fn as xd,fc as xe,fs as xf,fr as xg,fa as xh,fi as xi,fp as xj,fg as xk,fv as xl,fI as xm,C as y,fo as ya,ft as yb,fe as yc,Pn as yd,Pc as ye,Ps as yf,Pr as yg,Pa as yh,Pi as yi,Pp as yj,Pg as yk,Pv as yl,PI as ym,f as z,Po as za,Pt as zb,Pe as zc,Dn as zd,Dc as ze,Ds as zf,Dr as zg,Da as zh,Di as zi,Dp as zj,Dg as zk,Dv as zl,DI as zm};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {c}from'./chunk-
|
|
1
|
+
import {c}from'./chunk-2QAA6Y7C.js';import {s}from'./chunk-EDZWCPS2.js';import {memo,useState,useRef,useEffect}from'react';import {useTranslation}from'react-i18next';import F from'@mui/material/Box';import K from'@mui/material/Button';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var Q=styled(F)(({theme:n})=>({background:n.palette.grey[700],width:27,height:14,display:"inline-flex",alignItems:"center",marginInlineStart:"4px",borderRadius:"10px",padding:"2px 6px",img:{cursor:"pointer"}})),E=styled(F)(()=>({padding:"8px 16px",display:"flex",gap:"8px",justifyContent:"center"})),b=styled(K)(({theme:n})=>({textTransform:"capitalize",minWidth:"auto",width:"100%",borderRadius:"4px",border:`1px solid ${n.palette.info.dark}`,backgroundColor:n.palette.info.dark,fontWeight:700,fontSize:"11px",color:n.palette.common.white,"&:hover":{backgroundColor:n.palette.info.dark}})),O=styled(K)(({theme:n})=>({textTransform:"capitalize",minWidth:"auto",width:"100%",borderRadius:"4px",border:`1px solid ${n.palette.divider}`,backgroundColor:n.palette.common.white,fontWeight:500,fontSize:"11px",color:n.palette.text.primary,"&:hover":{background:"transparent"}}));var v="188px";function $({onCloseDropdown:n,filter:o,styles:g,header:R,searchable:c$1}){let[T,W]=useState([]),{t:f}=useTranslation(),p=useRef([]),B=o?.options?.map(e=>e.value).join(",")??"";useEffect(()=>{let e=i=>{let r=o?.data?.[o.apiKey]??[];if(Array.isArray(r)&&r.length)return new Set(r).has(i)},s=i=>i.map(({placeholder:r,value:t,isSelected:a,icon:l,options:d})=>{let x;if(c$1){let m=p.current.find(y=>y.apiKey===t);x=m!==void 0?m.isSelected??false:(a||e(t)||d?.every(({value:y})=>e(y)))??false;}else x=(a||e(t)||d?.every(({value:m})=>e(m)))??false;return {...r&&{label:r},name:t,selected:x,...l&&{icon:l},...d?.length&&{menuItems:s(d)}}});o.options&&W(s(o.options));},[o?.data,B,c$1]);let h=()=>{p.current=[];},P=e=>{h(),n(e);},I=()=>{if(c$1){let e=new Set(o?.data?.[o.apiKey]??[]);p.current.forEach(({apiKey:s,options:i,isSelected:r})=>{i?i.forEach(({apiKey:t,isSelected:a})=>{a?e.add(t):e.delete(t);}):r?e.add(s):e.delete(s);}),o?.onConfirm?.({[o.apiKey]:[...e]});}else {let e=p.current.reduce((s,{options:i,apiKey:r,isSelected:t})=>{if(i){let a=i.filter(({isSelected:l})=>l);a.length&&s.push(...a.map(({apiKey:l})=>l));}else t&&s.push(r);return s},[]);p.current.length&&o?.onConfirm?.({[o.apiKey]:[...new Set(e)]});}h();},V=s(I,n),A=e=>{I(),n(e);},N=e=>{let s=r=>r.map(({name:t,selected:a,menuItems:l,label:d})=>({...d&&{placeholder:d},apiKey:t,isSelected:a,...l?.length&&{options:s(l)}})),i=s(e);if(c$1){let r=new Set(i.map(t=>t.apiKey));p.current=[...p.current.filter(t=>!r.has(t.apiKey)),...i];}else p.current=i;},w=g?.maxWidth??v,k={maxWidth:w,width:`min(${w}, max-content)`};return jsx(c,{"data-testid":"ColumnFilter_List",title:f("filterBy")||"Filter by",menuItems:T,style:g,menuSx:k,sx:[e=>({...k,marginTop:"10px",textAlign:"left",boxShadow:e.shadows[3],overflow:"hidden",".nested-menu-item":{height:41,zIndex:9999}}),...(Array.isArray(o.sx)?o.sx:[o.sx]).filter(Boolean)],updatedList:N,header:R,onKeyDown:V,footer:jsxs(E,{sx:{position:"sticky",bottom:0,zIndex:99999},children:[jsx(O,{onClick:P,children:f("cancel")},"nested-dropdown-cancel"),jsx(b,{onClick:A,children:f("okay")},"nested-dropdown-ok")]})})}var M=memo($);var ce=M;export{v as a,Q as b,E as c,b as d,O as e,ce as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$3}from'./chunk-LUZVA4XD.js';import {j,a as a$4}from'./chunk-MSM5GYDZ.js';import {a}from'./chunk-CYWPV3SB.js';import {a as a$2}from'./chunk-B2PPWKLO.js';import {x,h}from'./chunk-M4UDAAYC.js';import {a as a$1}from'./chunk-L5RR3FXI.js';import {lc,yc,o}from'./chunk-HI62DX6A.js';import {U}from'./chunk-RESLAI62.js';import {Uc,Vc,Wj,Xj,Yj,dc,ec,Zj,cc}from'./chunk-DBRZBG7Q.js';import {memo,forwardRef,useState,useMemo,useRef,useId,useEffect,useCallback}from'react';import S from'@mui/material/Box';import bt from'@mui/material/Popper';import Pt from'dayjs';import {useTranslation}from'react-i18next';import {Calendar,DateObject}from'react-multi-date-picker';import Ko from'@mui/material/ClickAwayListener';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import he from'@mui/material/Button';import q from'react-date-object';import ot from'react-date-object/calendars/arabic';import tt from'react-date-object/calendars/gregorian';import rt from'react-date-object/locales/arabic_ar';import nt from'react-date-object/locales/arabic_en';import it from'react-date-object/locales/gregorian_ar';import at from'react-date-object/locales/gregorian_en';var Ne=styled(S)(({theme:e})=>({color:e.palette.grey[700],fontSize:"9px",fontWeight:500,marginBottom:"6px"})),Ke=styled(S,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,height:32,padding:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",...o&&{border:`1px solid ${e.palette.info.dark}`,background:e.palette.common.white,boxShadow:e.shadows[7]}})),_e=styled(S)(({theme:e})=>({borderRadius:"8px",background:e.palette.common.white,boxShadow:"0px 8px 36px 0px rgba(0, 0, 0, 0.15)",textAlign:"center",color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px",padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",flexDirection:"column"})),qe=styled(S)(({theme:e})=>({width:71,padding:"4px 0",cursor:"pointer","&:hover, &.active":{borderRadius:"100px",background:e.palette.info.light}}));var Je={day:"Day",month:"Month",quarter:"Quarter",year:"Year"};function qo({sx:e,groupBy:o,isCalenderOpen:a$1,onUpdate:t}){let[n,p]=useState(null),l=!!n&&a$1,{t:m}=useTranslation(),c=()=>{p(null);},u=d=>{p(d.currentTarget);},s=d=>{t?.(d),c();};return jsx(Ko,{onClickAway:c,children:jsxs(S,{sx:e,children:[jsx(Ne,{children:m("groupedBy")}),jsxs(Ke,{onClick:u,open:l,children:[jsx("span",{children:Je[o]}),jsx(S,{component:"img",src:Vc,alt:"arrow",sx:{...l&&{transform:"rotate(180deg)"}}})]}),jsx(a,{open:l,anchorEl:n,children:jsx(_e,{sx:{width:n?.clientWidth},children:Object.entries(Je).map(([d,i])=>jsx(qe,{onClick:()=>{s(d);},className:o===d?"active":"",children:i},`${d}-groupedBy`))})})]})})}var Ve=memo(qo);var eo=Ve;var oo=styled(S)(({theme:e})=>({border:"1px solid",borderColor:e.palette.divider,borderRadius:"50px",paddingInline:"6px 12px",color:e.palette.text.primary,fontSize:"11px",display:"flex",gap:"8px",alignItems:"center",justifyContent:"space-between",height:32,marginTop:"8px",img:{width:16,height:16},"& > div":{display:"flex",alignItems:"center",gap:"2px"}}));function le({isHijri:e,onCalendarModeSwitch:o}){let{t:a}=useTranslation(),t=()=>{o?.(e?"gregorian":"hijri");};return jsx(S,{children:jsxs(oo,{children:[jsxs(S,{children:[jsx("img",{src:cc,alt:"hijri"}),jsx("span",{children:a("hijri")})]}),jsx(h,{checked:e,onChange:t})]})})}var no=le;var ao=styled(he)(({theme:e})=>({cursor:"pointer",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,color:e.palette.text.primary,fontSize:"11px",fontWeight:e.typography.fontWeightRegular,paddingInline:"12px",height:32,width:"max-content",textTransform:"unset","&:hover":{boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark}})),po=styled(S)(()=>({display:"flex",flexDirection:"column",gap:"8px"}));var Z=({isHijri:e,isAr:o=false})=>e?o?rt:nt:o?it:at,J=e=>e?ot:tt,M=e=>e.setHour(0).setMinute(0).setSecond(0).setMillisecond(0),B=e=>e.setHour(23).setMinute(59).setSecond(59).setMillisecond(999),X=e=>{if(!(e?.[0]instanceof Date)||!(e?.[1]instanceof Date)){let[o$1,a]=o();return [new q(o$1),new q(a)]}return [new q(e?.[0]),new q(e?.[1])]};function ce({onChange:e,isHijri:o,isAr:a=false}){let t={locale:Z({isHijri:o,isAr:a}),calendar:J(o)},n=useMemo(()=>[{id:"today",value:[new DateObject(t),new DateObject(t)]},{id:"lastWeek",value:[new DateObject(t).subtract(6,"day"),new DateObject(t)]},{id:"lastMonth",value:[new DateObject(t).subtract(30,"day"),new DateObject(t)]},{id:new DateObject(t).subtract(1,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(1,"month").toFirstOfMonth(),new DateObject(t).subtract(1,"month").toLastOfMonth()]},{id:new DateObject(t).subtract(2,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(2,"month").toFirstOfMonth(),new DateObject(t).subtract(2,"month").toLastOfMonth()]},{id:new DateObject(t).subtract(3,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(3,"month").toFirstOfMonth(),new DateObject(t).subtract(3,"month").toLastOfMonth()]}],[o,a]),{t:p}=useTranslation();return jsx(S,{"data-testid":"RangeCalender_QuickFilters",children:jsx(po,{children:n.map(l=>jsx(ao,{onClick:m=>{m.preventDefault(),e(l.value);},children:p(l.id)},l.id))})})}var so=ce;var lo=styled(he)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}}));var ft=["Su","Mo","Tu","We","Th","Fr","Sa"];function gt({isAr:e=false,isHijri:o,values:a,onChange:t,numberOfMonths:n=2,...p},l){let m=c=>c==="right"?e?dc:ec:e?ec:dc;return jsx(Calendar,{ref:l,numberOfMonths:n,value:a,onChange:t,calendar:J(o),locale:Z({isHijri:o,isAr:e}),range:true,format:"MMM DD",monthYearSeparator:" ",renderButton:(c,u)=>jsx(lo,{onClick:u,children:jsx("img",{src:m(c),alt:"arrow"})}),weekDays:e?void 0:ft,maxDate:new Date,...p})}var mo=forwardRef(gt);var co=mo;var uo=styled(S)(()=>({'[class$="-IndicatorsContainer2"]':{display:"none"},"#react-select-2-listbox":{width:300}})),V=styled(S)(({theme:e})=>({borderRadius:e.spacing(.5),border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,boxShadow:e.shadows[10],minWidth:200,width:"max-content",overflow:"auto"})),fo=styled(S,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({width:156,fontSize:"11px",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,minHeight:32,borderRadius:"4px",padding:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer",display:"flex",alignItems:"center",gap:e.spacing(1),fontWeight:500,...o&&{borderRadius:"4px",boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark,background:e.palette.common.white},span:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}})),L=styled(S)(({theme:e})=>({padding:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",gap:e.spacing(1),height:33,cursor:"pointer","&:hover":{boxShadow:"0px 0px 16px 0px #00000021"},"&+&":{borderTop:"1px solid",borderColor:e.palette.divider},"&.active span":{fontWeight:500},span:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),A=styled(S)(()=>({width:12,height:12})),W=styled(S)(({theme:e})=>({fontSize:"11px",color:e.palette.text.secondary,lineHeight:"15.03px","&.selected":{color:e.palette.info.dark}}));function ge({selectedTimezone:e,onChange:o,timezoneCountriesCodes:a,defaultCountryTimezone:t}){let[n,p]=useState(null),l=i=>{n||p(i.currentTarget);},m=()=>{n&&p(null);},c=(i,D)=>{i.stopPropagation(),o(D);},u=useMemo(()=>a?.map(i=>lc(i)),[a]),s=useMemo(()=>u?.some(i=>e?.timezone===i?.timezone),[u,e]),d=useMemo(()=>e&&s?e:t,[e,t,s]);return jsxs(L,{onMouseEnter:l,onMouseLeave:m,onClick:()=>{e&&o(d);},children:[s?jsx("img",{src:Zj,alt:"icon"}):jsx(A,{}),jsx("img",{src:Xj,alt:"entity-timezone"}),jsx(a$1,{countryCode:d?.countryCode}),jsx(W,{className:s?"selected":"",children:s?e?.label:t?.label}),jsx(bt,{open:!!n,anchorEl:n,placement:"right-start",sx:{zIndex:3},disablePortal:true,children:jsx(V,{sx:{maxHeight:300},children:u?.map((i,D)=>{let j=i?.timezone===e?.timezone;return jsxs(L,{onClick:te=>{c(te,i);},sx:{gap:"4px"},children:[j?jsx("img",{src:Zj,alt:"icon"}):jsx(A,{}),jsx(a$1,{countryCode:i?.countryCode}),jsx(W,{className:j?"selected":"",children:i?.label})]},`timezone-item-${D}`)})})})]})}function xe({onChange:e,selectedTimezone:o,browserTimezone:a}){let t=useMemo(()=>U.find(({timezone:l})=>l===a),[a]),n=()=>{t&&e(t);},p=t?.timezone===o?.timezone;return jsxs(L,{onClick:n,children:[p?jsx("img",{src:Zj,alt:"icon"}):jsx(A,{}),jsx("img",{src:Wj,alt:"user-timezone"}),jsx(a$1,{countryCode:t?.countryCode}),jsx(W,{className:p?"selected":"",children:t?.label})]})}function St({onChange:e,selectedTimezone:o,browserTimezone:a,defaultCountryTimezone:t,timezoneCountriesCodes:n}){let[p,l]=useState(null),m=!!p,c=()=>{l(null);},u=i=>{e(i),c();},s=i=>{l(i.currentTarget);},d=useMemo(()=>a===o?.timezone?Wj:o?.timezone===t.timezone?Xj:Yj,[a,t.timezone,o?.timezone]);return jsx(Ko,{onClickAway:c,children:jsxs(uo,{"data-testid":"CustomTimezone",children:[jsxs(fo,{open:m,onClick:s,children:[jsx("img",{src:d,alt:"timezone-icon"}),jsx(a$1,{countryCode:o?.countryCode}),jsx("span",{children:o?.label})]}),jsx(bt,{open:m,anchorEl:p,placement:"top-start",sx:{zIndex:1400},children:jsxs(V,{"data-testid":"CustomTimezone_dropdown",children:[jsx(ge,{onChange:u,selectedTimezone:o,defaultCountryTimezone:t,timezoneCountriesCodes:n}),jsx(xe,{onChange:u,selectedTimezone:o,browserTimezone:a})]})})]})})}var xo=memo(St);var bo=xo;var ho=styled(S)(({theme:e})=>({display:"flex",marginTop:"8px",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"},".rmdp-day.rmdp-disabled":{color:"#ccc",cursor:"not-allowed"}})),yo=styled(he)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:e.palette.text.primary}})),wo=styled(he)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:e.palette.info.dark,"&:hover":{background:e.palette.info.dark}})),Co=styled(S)(()=>({display:"flex",gap:8})),To=styled(he,{shouldForwardProp:e=>e!=="open"})(({open:e,theme:o})=>({color:o.palette.text.primary,fontSize:"11px",fontWeight:500,padding:o.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:o.palette.divider,background:o.palette.common.white,textTransform:"none",height:32,...e&&{border:"1px solid",borderColor:o.palette.info.dark,boxShadow:o.shadows[7]}})),ko=styled(S)(({theme:e})=>({background:e.palette.common.white,display:"flex",justifyContent:"space-between",alignItems:"center",gap:10,padding:"16px",borderTop:"1px solid",borderColor:e.palette.divider,borderBottomRightRadius:"8px"})),zo=styled(S)(({theme:e})=>({padding:16,paddingInlineEnd:"23px",borderRight:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,width:"max-content",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",display:"flex",flexDirection:"column",gap:10,justifyContent:"space-between"})),So=styled(S)(()=>({display:"flex",alignItems:"center",gap:"10px"})),vo=styled(S)(()=>({position:"relative"})),Do=styled(S)(()=>({display:"flex",flexDirection:"column",gap:"24px"}));var Mo=styled(S,{shouldForwardProp:e=>e!=="isAllDay"})(({theme:e,isAllDay:o})=>({display:"flex",alignItems:"center",gap:e.spacing(1),position:"relative",paddingInline:"5px",".label":{width:"max-content"},...!o&&{paddingRight:e.spacing(1),"&:after":{content:'""',position:"absolute",width:"1px",background:e.palette.divider,right:0,height:17}}})),Bo=styled(S)(()=>({width:235})),Eo=styled(S)(({theme:e})=>({display:"flex",gap:"4px",".rmdp-input":{width:"64px",borderRadius:"19px",border:"1px solid",borderColor:e.palette.divider,color:e.palette.text.primary,fontSize:"11px",fontWeight:500,background:"transparent",cursor:"pointer"},".rmdp-input:focus":{boxShadow:e.shadows[7],border:`1px solid ${e.palette.info.dark}`,borderRadius:"19px"},".rmdp-time-picker":{boxShadow:e.shadows[5],borderRadius:e.spacing(1),padding:e.spacing(2),minWidth:"auto !important",div:{marginTop:0,display:"block"},"> div":{width:32,height:64},".rmdp-arrow":{borderColor:`${e.palette.background.transparent[1]} !important`},".rmdp-arrow-container":{justifyContent:"center","&:hover":{backgroundColor:"transparent",boxShadow:"unset"}},input:{borderRadius:"4px",border:`1px solid ${e.palette.divider}`,padding:0,width:32,height:32,fontSize:"11px",color:e.palette.text.primary,fontWeight:500,"&:focus, &:focus-visible":{border:`1px solid ${e.palette.info.dark}`,outline:"unset"}},".dvdr":{margin:"7px 4px 0"},".rmdp-am, .rmdp-pm":{margin:0,width:32,height:32,flex:"auto",justifyContent:"center",fontSize:"11px",color:e.palette.text.primary,fontWeight:500,display:"flex",cursor:"default"},"> div:last-child":{marginInlineStart:"4px",display:"block !important"},".rmdp-down, .rmdp-up":{position:"relative",i:{display:"none"},"&:before":{content:'""',position:"absolute",top:"5px",width:"10px",height:"10px",backgroundImage:`url(${Uc})`}},".rmdp-down:before":{transform:"rotate(180deg)"}},".rmdp-container":{position:"relative","> div":{top:"unset !important",bottom:"28px",transform:"unset !important"}}})),Oo=styled(S)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,paddingInline:"5px",width:"fit-content",height:32}));function Mt({values:e,setValues:o}){let{t:a}=useTranslation(),t=new DateObject(e[0]),n=new DateObject(e[1]),[p,l]=useState(t.dayOfYear===n.dayOfYear&&t.hour===0&&t.minute===0&&n.hour===23&&n.minute===59),m=({period:s,hour:d})=>s==="PM"&&d!==12?d+12:s==="AM"&&d===12?0:d,c=({hour:s,minute:d,period:i})=>{o([t.setHour(m({hour:s,period:i})).setMinute(d).setSecond(0),n]);},u=({hour:s,minute:d,period:i})=>{o([t,n.setHour(m({hour:s,period:i})).setMinute(d).setSecond(59)]);};return jsx(Bo,{children:jsxs(Oo,{children:[jsxs(Mo,{isAllDay:p,children:[jsx("span",{className:"label",children:a("allDay")}),jsx(h,{checked:p,onChange:s=>{l(!p),s.target.checked?o([M(e[0]),B(e[1])]):o(e);}})]}),!p&&jsxs(Eo,{children:[jsx(j,{defaultTime:{hour:a$4(t.hour),minute:t.minute,period:t.hour>=12?"PM":"AM"},size:"small",onChange:c,enableRealTimeChange:true},`${e[0]?.toString()}-start`),jsx(j,{defaultTime:{hour:a$4(n.hour),minute:n.minute,period:n.hour>=12?"PM":"AM"},size:"small",onChange:u,enableRealTimeChange:true},`${e[1]?.toString()}-end`)]})]})})}var Io=Mt;var Po=Io;function At({defaultDate:e,onDateChange:o,mode:a="gregorian",onCalendarModeSwitch:t,numberOfMonths:n,noTimezone:p,noQuickFilter:l,maxDateRange:m,onCalendarGroupChange:c,groupBy:u,timezone:s,onChangeTimezone:d,browserTimezone:i,renderCalendarButton:D,mainSx:j,popperProps:te,rangeDatePickerProps:Wo,defaultCountryTimezone:Ce,timezoneCountriesCodes:Te}){let[w,ke]=useState(X(e)),[x$1,C]=useState(w),[ze,Se]=useState(s??null),[ve,Fo]=useState(u||"day"),[De,Me]=useState(null),y=!!De,[Be,Ee]=useState(false),{t:re}=useTranslation(),I=useRef(null),Ho=yc(useId(),"range-calender"),ne=a==="hijri",Y=()=>{Me(null);},Oe=r=>{Me(r.currentTarget);};useEffect(()=>{if(!y){if(n===1)return;C(X(e));}},[y]),useEffect(()=>{if(e){let r=X(e);ke(r),C(r),I.current&&I.current.set("date",r[0]);}},[e]),useEffect(()=>{Se(s??null);},[s,y]);let Re=()=>{ke(x$1),Y();let r;x$1[0].dayOfYear===x$1[1].dayOfYear?r=[x$1[0],x$1[1]]:r=[M(x$1[0]),B(x$1[1])],o([r[0].toDate(),r[1].toDate()]),c?.(ve||"day"),d?.(ze);},jo=useCallback(()=>{let r=w[0].format("MMM D"),G=w[1]?w[1].format("MMM D"):w[0].format("MMM D");return r===G&&!p?r:`${r} - ${G}`},[w,p]),Yo=r=>{if(r.length<2||!m){C(r);return}let G=M(r[0]).toDate(),Qo=B(r[1]).toDate(),Ie=Pt(Qo).diff(G,"day");if(Ie<=m){C(r);return}Ee(true),C([r[0],r[1].subtract(Ie-m,"d")]),setTimeout(()=>{Ee(false);},3e3);},Go=r=>{C([M(r[0]),B(r[1])]),I.current&&I.current.set("date",r[0]);},$o=r=>{r.key==="Enter"&&x$1[1]&&!Be?(r.stopPropagation(),Re()):r.key==="Escape"&&(r.stopPropagation(),Y());};return jsxs(vo,{id:Ho,"data-testid":"RangeCalender",sx:j,children:[D?D(y,Oe):jsx(To,{onClick:Oe,open:y,children:(w[0]||w[1])&&jo()}),y&&jsx(a$2,{onClick:r=>{r.stopPropagation(),Y();}}),jsx(bt,{open:y,anchorEl:De,placement:"bottom-end",...te,children:jsxs(ho,{onKeyDown:$o,children:[!l&&jsxs(zo,{children:[jsx(so,{onChange:Go,isHijri:ne}),jsxs(Do,{children:[u&&jsx(eo,{groupBy:ve,isCalenderOpen:y,onUpdate:r=>{Fo(r);}}),jsx(no,{isHijri:ne,onCalendarModeSwitch:t})]})]}),jsxs(S,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[jsx(co,{values:x$1,onChange:Yo,isHijri:ne,ref:I,numberOfMonths:n,...Wo}),jsx(x,{in:Be&&!!m,children:jsx(a$3,{error:re("dateRangeError",{number:m}),sx:{marginInline:"16px",marginBottom:"16px"}})}),jsxs(ko,{sx:{borderBottomLeftRadius:"8px"},children:[!p&&Ce&&i&&Te?jsx(So,{children:jsx(bo,{onChange:Se,selectedTimezone:ze,browserTimezone:i,defaultCountryTimezone:Ce,timezoneCountriesCodes:Te},String(y))}):jsx("div",{}),new DateObject(x$1[0]).dayOfYear===new DateObject(x$1[1]).dayOfYear&&jsx(Po,{values:x$1,setValues:C}),jsxs(Co,{children:[jsx(yo,{variant:"contained",onClick:Y,children:re("cancel")}),jsx(wo,{variant:"contained",onClick:Re,disabled:!x$1[1],children:re("okay")})]})]})]})]})})]})}var Ao=At;var xi=Ao;export{xi as a};
|
|
1
|
+
import {a as a$3}from'./chunk-BQGQQ2MC.js';import {j,a as a$4}from'./chunk-EHCXGWYZ.js';import {a}from'./chunk-P2VRYOKF.js';import {a as a$2}from'./chunk-RIJFII4O.js';import {x,h}from'./chunk-DGGLXAOB.js';import {a as a$1}from'./chunk-MQFXJL5S.js';import {lc,yc,o}from'./chunk-2SKLD6QR.js';import {U}from'./chunk-FH3OCBAM.js';import {Uc,Vc,Wj,Xj,Yj,dc,ec,Zj,cc}from'./chunk-OK75VWGZ.js';import {memo,forwardRef,useState,useMemo,useRef,useId,useEffect,useCallback}from'react';import S from'@mui/material/Box';import bt from'@mui/material/Popper';import Pt from'dayjs';import {useTranslation}from'react-i18next';import {Calendar,DateObject}from'react-multi-date-picker';import Ko from'@mui/material/ClickAwayListener';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import he from'@mui/material/Button';import q from'react-date-object';import ot from'react-date-object/calendars/arabic';import tt from'react-date-object/calendars/gregorian';import rt from'react-date-object/locales/arabic_ar';import nt from'react-date-object/locales/arabic_en';import it from'react-date-object/locales/gregorian_ar';import at from'react-date-object/locales/gregorian_en';var Ne=styled(S)(({theme:e})=>({color:e.palette.grey[700],fontSize:"9px",fontWeight:500,marginBottom:"6px"})),Ke=styled(S,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,height:32,padding:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",...o&&{border:`1px solid ${e.palette.info.dark}`,background:e.palette.common.white,boxShadow:e.shadows[7]}})),_e=styled(S)(({theme:e})=>({borderRadius:"8px",background:e.palette.common.white,boxShadow:"0px 8px 36px 0px rgba(0, 0, 0, 0.15)",textAlign:"center",color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px",padding:"16px",display:"flex",alignItems:"center",justifyContent:"center",gap:"12px",flexDirection:"column"})),qe=styled(S)(({theme:e})=>({width:71,padding:"4px 0",cursor:"pointer","&:hover, &.active":{borderRadius:"100px",background:e.palette.info.light}}));var Je={day:"Day",month:"Month",quarter:"Quarter",year:"Year"};function qo({sx:e,groupBy:o,isCalenderOpen:a$1,onUpdate:t}){let[n,p]=useState(null),l=!!n&&a$1,{t:m}=useTranslation(),c=()=>{p(null);},u=d=>{p(d.currentTarget);},s=d=>{t?.(d),c();};return jsx(Ko,{onClickAway:c,children:jsxs(S,{sx:e,children:[jsx(Ne,{children:m("groupedBy")}),jsxs(Ke,{onClick:u,open:l,children:[jsx("span",{children:Je[o]}),jsx(S,{component:"img",src:Vc,alt:"arrow",sx:{...l&&{transform:"rotate(180deg)"}}})]}),jsx(a,{open:l,anchorEl:n,children:jsx(_e,{sx:{width:n?.clientWidth},children:Object.entries(Je).map(([d,i])=>jsx(qe,{onClick:()=>{s(d);},className:o===d?"active":"",children:i},`${d}-groupedBy`))})})]})})}var Ve=memo(qo);var eo=Ve;var oo=styled(S)(({theme:e})=>({border:"1px solid",borderColor:e.palette.divider,borderRadius:"50px",paddingInline:"6px 12px",color:e.palette.text.primary,fontSize:"11px",display:"flex",gap:"8px",alignItems:"center",justifyContent:"space-between",height:32,marginTop:"8px",img:{width:16,height:16},"& > div":{display:"flex",alignItems:"center",gap:"2px"}}));function le({isHijri:e,onCalendarModeSwitch:o}){let{t:a}=useTranslation(),t=()=>{o?.(e?"gregorian":"hijri");};return jsx(S,{children:jsxs(oo,{children:[jsxs(S,{children:[jsx("img",{src:cc,alt:"hijri"}),jsx("span",{children:a("hijri")})]}),jsx(h,{checked:e,onChange:t})]})})}var no=le;var ao=styled(he)(({theme:e})=>({cursor:"pointer",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,color:e.palette.text.primary,fontSize:"11px",fontWeight:e.typography.fontWeightRegular,paddingInline:"12px",height:32,width:"max-content",textTransform:"unset","&:hover":{boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark}})),po=styled(S)(()=>({display:"flex",flexDirection:"column",gap:"8px"}));var Z=({isHijri:e,isAr:o=false})=>e?o?rt:nt:o?it:at,J=e=>e?ot:tt,M=e=>e.setHour(0).setMinute(0).setSecond(0).setMillisecond(0),B=e=>e.setHour(23).setMinute(59).setSecond(59).setMillisecond(999),X=e=>{if(!(e?.[0]instanceof Date)||!(e?.[1]instanceof Date)){let[o$1,a]=o();return [new q(o$1),new q(a)]}return [new q(e?.[0]),new q(e?.[1])]};function ce({onChange:e,isHijri:o,isAr:a=false}){let t={locale:Z({isHijri:o,isAr:a}),calendar:J(o)},n=useMemo(()=>[{id:"today",value:[new DateObject(t),new DateObject(t)]},{id:"lastWeek",value:[new DateObject(t).subtract(6,"day"),new DateObject(t)]},{id:"lastMonth",value:[new DateObject(t).subtract(30,"day"),new DateObject(t)]},{id:new DateObject(t).subtract(1,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(1,"month").toFirstOfMonth(),new DateObject(t).subtract(1,"month").toLastOfMonth()]},{id:new DateObject(t).subtract(2,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(2,"month").toFirstOfMonth(),new DateObject(t).subtract(2,"month").toLastOfMonth()]},{id:new DateObject(t).subtract(3,"month").toFirstOfMonth().format("MMMM YYYY"),value:[new DateObject(t).subtract(3,"month").toFirstOfMonth(),new DateObject(t).subtract(3,"month").toLastOfMonth()]}],[o,a]),{t:p}=useTranslation();return jsx(S,{"data-testid":"RangeCalender_QuickFilters",children:jsx(po,{children:n.map(l=>jsx(ao,{onClick:m=>{m.preventDefault(),e(l.value);},children:p(l.id)},l.id))})})}var so=ce;var lo=styled(he)(()=>({minWidth:"auto",padding:0,"& > img":{cursor:"pointer"}}));var ft=["Su","Mo","Tu","We","Th","Fr","Sa"];function gt({isAr:e=false,isHijri:o,values:a,onChange:t,numberOfMonths:n=2,...p},l){let m=c=>c==="right"?e?dc:ec:e?ec:dc;return jsx(Calendar,{ref:l,numberOfMonths:n,value:a,onChange:t,calendar:J(o),locale:Z({isHijri:o,isAr:e}),range:true,format:"MMM DD",monthYearSeparator:" ",renderButton:(c,u)=>jsx(lo,{onClick:u,children:jsx("img",{src:m(c),alt:"arrow"})}),weekDays:e?void 0:ft,maxDate:new Date,...p})}var mo=forwardRef(gt);var co=mo;var uo=styled(S)(()=>({'[class$="-IndicatorsContainer2"]':{display:"none"},"#react-select-2-listbox":{width:300}})),V=styled(S)(({theme:e})=>({borderRadius:e.spacing(.5),border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,boxShadow:e.shadows[10],minWidth:200,width:"max-content",overflow:"auto"})),fo=styled(S,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:o})=>({width:156,fontSize:"11px",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,minHeight:32,borderRadius:"4px",padding:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",cursor:"pointer",display:"flex",alignItems:"center",gap:e.spacing(1),fontWeight:500,...o&&{borderRadius:"4px",boxShadow:e.shadows[7],border:"1px solid",borderColor:e.palette.info.dark,background:e.palette.common.white},span:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}})),L=styled(S)(({theme:e})=>({padding:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",gap:e.spacing(1),height:33,cursor:"pointer","&:hover":{boxShadow:"0px 0px 16px 0px #00000021"},"&+&":{borderTop:"1px solid",borderColor:e.palette.divider},"&.active span":{fontWeight:500},span:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),A=styled(S)(()=>({width:12,height:12})),W=styled(S)(({theme:e})=>({fontSize:"11px",color:e.palette.text.secondary,lineHeight:"15.03px","&.selected":{color:e.palette.info.dark}}));function ge({selectedTimezone:e,onChange:o,timezoneCountriesCodes:a,defaultCountryTimezone:t}){let[n,p]=useState(null),l=i=>{n||p(i.currentTarget);},m=()=>{n&&p(null);},c=(i,D)=>{i.stopPropagation(),o(D);},u=useMemo(()=>a?.map(i=>lc(i)),[a]),s=useMemo(()=>u?.some(i=>e?.timezone===i?.timezone),[u,e]),d=useMemo(()=>e&&s?e:t,[e,t,s]);return jsxs(L,{onMouseEnter:l,onMouseLeave:m,onClick:()=>{e&&o(d);},children:[s?jsx("img",{src:Zj,alt:"icon"}):jsx(A,{}),jsx("img",{src:Xj,alt:"entity-timezone"}),jsx(a$1,{countryCode:d?.countryCode}),jsx(W,{className:s?"selected":"",children:s?e?.label:t?.label}),jsx(bt,{open:!!n,anchorEl:n,placement:"right-start",sx:{zIndex:3},disablePortal:true,children:jsx(V,{sx:{maxHeight:300},children:u?.map((i,D)=>{let j=i?.timezone===e?.timezone;return jsxs(L,{onClick:te=>{c(te,i);},sx:{gap:"4px"},children:[j?jsx("img",{src:Zj,alt:"icon"}):jsx(A,{}),jsx(a$1,{countryCode:i?.countryCode}),jsx(W,{className:j?"selected":"",children:i?.label})]},`timezone-item-${D}`)})})})]})}function xe({onChange:e,selectedTimezone:o,browserTimezone:a}){let t=useMemo(()=>U.find(({timezone:l})=>l===a),[a]),n=()=>{t&&e(t);},p=t?.timezone===o?.timezone;return jsxs(L,{onClick:n,children:[p?jsx("img",{src:Zj,alt:"icon"}):jsx(A,{}),jsx("img",{src:Wj,alt:"user-timezone"}),jsx(a$1,{countryCode:t?.countryCode}),jsx(W,{className:p?"selected":"",children:t?.label})]})}function St({onChange:e,selectedTimezone:o,browserTimezone:a,defaultCountryTimezone:t,timezoneCountriesCodes:n}){let[p,l]=useState(null),m=!!p,c=()=>{l(null);},u=i=>{e(i),c();},s=i=>{l(i.currentTarget);},d=useMemo(()=>a===o?.timezone?Wj:o?.timezone===t.timezone?Xj:Yj,[a,t.timezone,o?.timezone]);return jsx(Ko,{onClickAway:c,children:jsxs(uo,{"data-testid":"CustomTimezone",children:[jsxs(fo,{open:m,onClick:s,children:[jsx("img",{src:d,alt:"timezone-icon"}),jsx(a$1,{countryCode:o?.countryCode}),jsx("span",{children:o?.label})]}),jsx(bt,{open:m,anchorEl:p,placement:"top-start",sx:{zIndex:1400},children:jsxs(V,{"data-testid":"CustomTimezone_dropdown",children:[jsx(ge,{onChange:u,selectedTimezone:o,defaultCountryTimezone:t,timezoneCountriesCodes:n}),jsx(xe,{onChange:u,selectedTimezone:o,browserTimezone:a})]})})]})})}var xo=memo(St);var bo=xo;var ho=styled(S)(({theme:e})=>({display:"flex",marginTop:"8px",background:e.palette.common.white,boxShadow:e.shadows[9],borderRadius:e.spacing(1),color:e.palette.text.primary,fontSize:"11px",".rmdp-calendar":{padding:"8px 16px 16px"},".rmdp-rtl *":{fontFamily:"Tajawal"},".rmdp-rtl .sd":{paddingTop:"4px"},".rmdp-wrapper":{position:"relative",borderRadius:"8px",boxShadow:"none"},".rmdp-day span":{fontSize:"11px",fontWeight:500},".rmdp-day, .rmdp-week-day":{width:40,height:40,marginBottom:"2px",padding:"4px",fontSize:"11px",color:e.palette.grey[900]},".rmdp-day-picker":{padding:0},".rmdp-day.rmdp-today span":{backgroundColor:"transparent !important",color:e.palette.info.dark},".rmdp-day.rmdp-today.end span, .rmdp-day.rmdp-today.end span":{color:e.palette.common.white},".rmdp-range, .rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover":{background:e.palette.info.light,boxShadow:"none",color:e.palette.grey[900]},".rmdp-range-hover.start, .rmdp-range.start, .rmdp-range-hover.end, .rmdp-range.end, .rmdp-rtl .rmdp-range-hover.start, .rmdp-rtl .rmdp-range.start, .rmdp-rtl .rmdp-range-hover.end, .rmdp-rtl .rmdp-range.end":{borderRadius:"50%",background:e.palette.background.gradient.darkShadedBlue,color:e.palette.common.white},".rmdp-range.start:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",right:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.start:after":{right:"unset",left:0},".rmdp-range.end:after":{content:'""',position:"absolute",background:e.palette.info.light,height:"100%",width:"50%",left:0,top:0,zIndex:-1},".rmdp-rtl .rmdp-range.end:after":{left:"unset",right:0},".rmdp-week-day":{color:e.palette.grey[700],marginBottom:"4px",fontSize:"11px",padding:"4px"},".rmdp-header-values":{color:e.palette.grey[900],fontSize:"12px",fontWeight:500,lineHeight:"20px",letterSpacing:"0.1px"},".rmdp-header-values span:nth-of-type(2)":{display:"none"},".rmdp-header":{padding:"4px 0",margin:0,fontSize:"12px"},".rmdp-top-class":{display:"block !important"},".rmdp-day.rmdp-selected span:not(.highlight)":{background:e.palette.info.dark},".rmdp-day.start.end":{overflow:"hidden"},".rmdp-day.rmdp-disabled":{color:"#ccc",cursor:"not-allowed"}})),yo=styled(he)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",background:"transparent",color:e.palette.text.primary,border:"1px solid",borderColor:e.palette.divider,fontWeight:500,borderRadius:"4px","&:hover":{background:"transparent",color:e.palette.text.primary}})),wo=styled(he)(({theme:e})=>({textTransform:"capitalize",padding:"8px 24px",width:75,height:32,fontSize:"11px",borderRadius:"4px",fontWeight:700,background:e.palette.info.dark,"&:hover":{background:e.palette.info.dark}})),Co=styled(S)(()=>({display:"flex",gap:8})),To=styled(he,{shouldForwardProp:e=>e!=="open"})(({open:e,theme:o})=>({color:o.palette.text.primary,fontSize:"11px",fontWeight:500,padding:o.spacing(1),borderRadius:"4px",border:"1px solid",borderColor:o.palette.divider,background:o.palette.common.white,textTransform:"none",height:32,...e&&{border:"1px solid",borderColor:o.palette.info.dark,boxShadow:o.shadows[7]}})),ko=styled(S)(({theme:e})=>({background:e.palette.common.white,display:"flex",justifyContent:"space-between",alignItems:"center",gap:10,padding:"16px",borderTop:"1px solid",borderColor:e.palette.divider,borderBottomRightRadius:"8px"})),zo=styled(S)(({theme:e})=>({padding:16,paddingInlineEnd:"23px",borderRight:"1px solid",borderColor:e.palette.divider,background:e.palette.common.white,width:"max-content",borderTopLeftRadius:"8px",borderBottomLeftRadius:"8px",display:"flex",flexDirection:"column",gap:10,justifyContent:"space-between"})),So=styled(S)(()=>({display:"flex",alignItems:"center",gap:"10px"})),vo=styled(S)(()=>({position:"relative"})),Do=styled(S)(()=>({display:"flex",flexDirection:"column",gap:"24px"}));var Mo=styled(S,{shouldForwardProp:e=>e!=="isAllDay"})(({theme:e,isAllDay:o})=>({display:"flex",alignItems:"center",gap:e.spacing(1),position:"relative",paddingInline:"5px",".label":{width:"max-content"},...!o&&{paddingRight:e.spacing(1),"&:after":{content:'""',position:"absolute",width:"1px",background:e.palette.divider,right:0,height:17}}})),Bo=styled(S)(()=>({width:235})),Eo=styled(S)(({theme:e})=>({display:"flex",gap:"4px",".rmdp-input":{width:"64px",borderRadius:"19px",border:"1px solid",borderColor:e.palette.divider,color:e.palette.text.primary,fontSize:"11px",fontWeight:500,background:"transparent",cursor:"pointer"},".rmdp-input:focus":{boxShadow:e.shadows[7],border:`1px solid ${e.palette.info.dark}`,borderRadius:"19px"},".rmdp-time-picker":{boxShadow:e.shadows[5],borderRadius:e.spacing(1),padding:e.spacing(2),minWidth:"auto !important",div:{marginTop:0,display:"block"},"> div":{width:32,height:64},".rmdp-arrow":{borderColor:`${e.palette.background.transparent[1]} !important`},".rmdp-arrow-container":{justifyContent:"center","&:hover":{backgroundColor:"transparent",boxShadow:"unset"}},input:{borderRadius:"4px",border:`1px solid ${e.palette.divider}`,padding:0,width:32,height:32,fontSize:"11px",color:e.palette.text.primary,fontWeight:500,"&:focus, &:focus-visible":{border:`1px solid ${e.palette.info.dark}`,outline:"unset"}},".dvdr":{margin:"7px 4px 0"},".rmdp-am, .rmdp-pm":{margin:0,width:32,height:32,flex:"auto",justifyContent:"center",fontSize:"11px",color:e.palette.text.primary,fontWeight:500,display:"flex",cursor:"default"},"> div:last-child":{marginInlineStart:"4px",display:"block !important"},".rmdp-down, .rmdp-up":{position:"relative",i:{display:"none"},"&:before":{content:'""',position:"absolute",top:"5px",width:"10px",height:"10px",backgroundImage:`url(${Uc})`}},".rmdp-down:before":{transform:"rotate(180deg)"}},".rmdp-container":{position:"relative","> div":{top:"unset !important",bottom:"28px",transform:"unset !important"}}})),Oo=styled(S)(({theme:e})=>({display:"flex",gap:"8px",alignItems:"center",borderRadius:"50px",border:"1px solid",borderColor:e.palette.divider,paddingInline:"5px",width:"fit-content",height:32}));function Mt({values:e,setValues:o}){let{t:a}=useTranslation(),t=new DateObject(e[0]),n=new DateObject(e[1]),[p,l]=useState(t.dayOfYear===n.dayOfYear&&t.hour===0&&t.minute===0&&n.hour===23&&n.minute===59),m=({period:s,hour:d})=>s==="PM"&&d!==12?d+12:s==="AM"&&d===12?0:d,c=({hour:s,minute:d,period:i})=>{o([t.setHour(m({hour:s,period:i})).setMinute(d).setSecond(0),n]);},u=({hour:s,minute:d,period:i})=>{o([t,n.setHour(m({hour:s,period:i})).setMinute(d).setSecond(59)]);};return jsx(Bo,{children:jsxs(Oo,{children:[jsxs(Mo,{isAllDay:p,children:[jsx("span",{className:"label",children:a("allDay")}),jsx(h,{checked:p,onChange:s=>{l(!p),s.target.checked?o([M(e[0]),B(e[1])]):o(e);}})]}),!p&&jsxs(Eo,{children:[jsx(j,{defaultTime:{hour:a$4(t.hour),minute:t.minute,period:t.hour>=12?"PM":"AM"},size:"small",onChange:c,enableRealTimeChange:true},`${e[0]?.toString()}-start`),jsx(j,{defaultTime:{hour:a$4(n.hour),minute:n.minute,period:n.hour>=12?"PM":"AM"},size:"small",onChange:u,enableRealTimeChange:true},`${e[1]?.toString()}-end`)]})]})})}var Io=Mt;var Po=Io;function At({defaultDate:e,onDateChange:o,mode:a="gregorian",onCalendarModeSwitch:t,numberOfMonths:n,noTimezone:p,noQuickFilter:l,maxDateRange:m,onCalendarGroupChange:c,groupBy:u,timezone:s,onChangeTimezone:d,browserTimezone:i,renderCalendarButton:D,mainSx:j,popperProps:te,rangeDatePickerProps:Wo,defaultCountryTimezone:Ce,timezoneCountriesCodes:Te}){let[w,ke]=useState(X(e)),[x$1,C]=useState(w),[ze,Se]=useState(s??null),[ve,Fo]=useState(u||"day"),[De,Me]=useState(null),y=!!De,[Be,Ee]=useState(false),{t:re}=useTranslation(),I=useRef(null),Ho=yc(useId(),"range-calender"),ne=a==="hijri",Y=()=>{Me(null);},Oe=r=>{Me(r.currentTarget);};useEffect(()=>{if(!y){if(n===1)return;C(X(e));}},[y]),useEffect(()=>{if(e){let r=X(e);ke(r),C(r),I.current&&I.current.set("date",r[0]);}},[e]),useEffect(()=>{Se(s??null);},[s,y]);let Re=()=>{ke(x$1),Y();let r;x$1[0].dayOfYear===x$1[1].dayOfYear?r=[x$1[0],x$1[1]]:r=[M(x$1[0]),B(x$1[1])],o([r[0].toDate(),r[1].toDate()]),c?.(ve||"day"),d?.(ze);},jo=useCallback(()=>{let r=w[0].format("MMM D"),G=w[1]?w[1].format("MMM D"):w[0].format("MMM D");return r===G&&!p?r:`${r} - ${G}`},[w,p]),Yo=r=>{if(r.length<2||!m){C(r);return}let G=M(r[0]).toDate(),Qo=B(r[1]).toDate(),Ie=Pt(Qo).diff(G,"day");if(Ie<=m){C(r);return}Ee(true),C([r[0],r[1].subtract(Ie-m,"d")]),setTimeout(()=>{Ee(false);},3e3);},Go=r=>{C([M(r[0]),B(r[1])]),I.current&&I.current.set("date",r[0]);},$o=r=>{r.key==="Enter"&&x$1[1]&&!Be?(r.stopPropagation(),Re()):r.key==="Escape"&&(r.stopPropagation(),Y());};return jsxs(vo,{id:Ho,"data-testid":"RangeCalender",sx:j,children:[D?D(y,Oe):jsx(To,{onClick:Oe,open:y,children:(w[0]||w[1])&&jo()}),y&&jsx(a$2,{onClick:r=>{r.stopPropagation(),Y();}}),jsx(bt,{open:y,anchorEl:De,placement:"bottom-end",...te,children:jsxs(ho,{onKeyDown:$o,children:[!l&&jsxs(zo,{children:[jsx(so,{onChange:Go,isHijri:ne}),jsxs(Do,{children:[u&&jsx(eo,{groupBy:ve,isCalenderOpen:y,onUpdate:r=>{Fo(r);}}),jsx(no,{isHijri:ne,onCalendarModeSwitch:t})]})]}),jsxs(S,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[jsx(co,{values:x$1,onChange:Yo,isHijri:ne,ref:I,numberOfMonths:n,...Wo}),jsx(x,{in:Be&&!!m,children:jsx(a$3,{error:re("dateRangeError",{number:m}),sx:{marginInline:"16px",marginBottom:"16px"}})}),jsxs(ko,{sx:{borderBottomLeftRadius:"8px"},children:[!p&&Ce&&i&&Te?jsx(So,{children:jsx(bo,{onChange:Se,selectedTimezone:ze,browserTimezone:i,defaultCountryTimezone:Ce,timezoneCountriesCodes:Te},String(y))}):jsx("div",{}),new DateObject(x$1[0]).dayOfYear===new DateObject(x$1[1]).dayOfYear&&jsx(Po,{values:x$1,setValues:C}),jsxs(Co,{children:[jsx(yo,{variant:"contained",onClick:Y,children:re("cancel")}),jsx(wo,{variant:"contained",onClick:Re,disabled:!x$1[1],children:re("okay")})]})]})]})]})})]})}var Ao=At;var xi=Ao;export{xi as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-4X43KBH2.js';import {yc}from'./chunk-2SKLD6QR.js';import {wa}from'./chunk-FH3OCBAM.js';import {memo,useId}from'react';import {jsx}from'react/jsx-runtime';var n={"3DS":{text:"3DS"},"Non-3DS":{text:"Non 3DS",styles:{...wa}},"Device Biometric":{text:"Biometric"}};function u({title:t,ref:r,...s}){let c=yc(useId(),"authentication-type-chip"),i=n[t];return jsx(b,{id:c,"data-testid":"AuthenticationTypeChip",chipStyles:i?.styles,ref:r,...s,children:i?.text||t})}var h=memo(u);var W=h;export{W as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-MQFXJL5S.js';import {ec,yc,x,Ia}from'./chunk-2SKLD6QR.js';import {ea}from'./chunk-FH3OCBAM.js';import {useId,useState,useMemo}from'react';import {ResponsiveContainer,AreaChart,Area,Tooltip}from'recharts';import {useTheme}from'@mui/material/styles';import {useTranslation}from'react-i18next';import L from'dayjs';import V from'@mui/material/Box';import {styled,Box,Typography}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var M=styled(Box)(()=>({width:"auto",display:"inline-block",whiteSpace:"nowrap",backgroundColor:"white",padding:"6px",border:"1.5px solid #E6E6E6",borderRadius:"7.5px",backdropFilter:"blur(23.280000686645508px)",boxShadow:"0px 0px 15.52px 0px #4B484729"})),w=styled(Typography)({width:"auto",marginBottom:"4px",fontWeight:500,color:"#4B4847ED",fontSize:"9px",whiteSpace:"nowrap",overflow:"visible"}),K=styled(Typography)({display:"flex",alignItems:"center",gap:"5px",fontWeight:600,color:"#4B4847",fontSize:11,whiteSpace:"nowrap",overflow:"visible",width:"auto"}),B=styled(Box)({display:"flex",alignItems:"center",height:"100%",gap:"2.6px",maxHeight:"19px"}),S=styled(Typography)({fontWeight:500,fontSize:11,lineHeight:"130%",color:"#4B4847",letterSpacing:"-0.14px"});var W=(t,i,r)=>t?.value===void 0||t?.value===null?"":t?.dataKey===ea.AMOUNT?`${Ia(t.value,r).fullAmount}`.trim():`${t.value.toLocaleString()} ${i}`.trim(),$=(t,i,r=0)=>{let a=L(t).add(r,"hour").format(),n=new Date,e=L(a).isSame(n,"year");return x(a,i?void 0:{sameDay:`[Today] ${e?"":"YYYY"}`,nextDay:`[Tomorrow] ${e?"":"YYYY"}`,lastDay:`[Yesterday] ${e?"":"YYYY"}`,sameElse:`MMM DD ${e?"":", YYYY"}`,lastWeek:`MMM DD ${e?"":", YYYY"}`,nextWeek:`MMM DD ${e?"":", YYYY"}`},void 0,void 0,r!==void 0)};var G=({active:t,payload:i,dateRange:r,selectedCurrency:a$1})=>{let{t:n}=useTranslation(),e=L(r?.[0]),l=L(r?.[1]),y=e?.isSame(l,"day");if(t&&i?.length){let o=i[0],m=ec(o?.dataKey,o?.value),f=o?.payload?.date&&$(o?.payload?.date,y,o?.payload?.hour);return jsxs(M,{className:"chart-tooltip",children:[jsx(w,{children:f??o?.payload?.date}),jsxs(K,{children:[o?.dataKey===ea.AMOUNT&&jsxs(B,{children:[jsx(a,{currencyCode:a$1,width:12}),jsx(S,{children:a$1})]}),jsx(V,{children:`${W(o,n(m),a$1)}`})]})]})}return null},C=G;var _=[{dataKey:30},{dataKey:32.9941},{dataKey:39.0471},{dataKey:56.3412},{dataKey:69.3118},{dataKey:87.4706},{dataKey:94.3882},{dataKey:110.406}],q=()=>jsx(ResponsiveContainer,{children:jsxs(AreaChart,{margin:{top:40},data:_,children:[jsx("defs",{children:jsxs("linearGradient",{id:"loadingGradient",x1:"0",y1:"0",x2:"0",y2:"1",gradientUnits:"objectBoundingBox",children:[jsx("stop",{offset:"0.54",stopColor:"rgba(67, 67, 67, 0.035)"}),jsx("stop",{offset:"1",stopColor:"rgba(255, 255, 255, 0)"})]})}),jsx(Area,{dataKey:"dataKey",type:"linear",fill:"url(#loadingGradient)",fillOpacity:1,stroke:"#C2C2C2",strokeWidth:1,strokeLinecap:"round",strokeDasharray:"4 4",activeDot:false})]})}),T=q;var rt=({data:t,dataKey:i,isLoading:r,dateRange:a,selectedCurrency:n})=>{let e=yc(useId(),"activity-area-chart"),l=useTheme(),[y,o]=useState(false),[m,f]=useState({x:0,y:0}),I=t?.length===0,O=h=>{h.activeCoordinate&&h.isTooltipActive&&f(h.activeCoordinate);},R=useMemo(()=>jsx(C,{position:m,dateRange:a,selectedCurrency:n}),[m,a,n]);return r||I?jsx(T,{}):jsx(ResponsiveContainer,{id:e,"data-testid":"ActivityAreaChart",children:jsxs(AreaChart,{margin:{top:20},data:t,onMouseMove:O,children:[t.length>0&&jsx(Tooltip,{content:R,cursor:{fill:"#A5A8A3",stroke:"#A5A8A3",strokeWidth:1,strokeOpacity:1,stopOpacity:.3,strokeDasharray:"5 5",strokeLinecap:"round",strokeLinejoin:"round"}}),jsx(Area,{dataKey:i,type:"monotone",fill:"#76BB4012",stroke:l.palette.success.dark,activeDot:{r:5,fill:l.palette.success.dark,strokeWidth:2,stroke:"white",cursor:y?"pointer":"default",onMouseOver:()=>o(true),onMouseLeave:()=>o(false)}})]})})},F=rt;var zt=F;export{C as a,T as b,zt as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {f,v}from'./chunk-
|
|
1
|
+
import {f,v}from'./chunk-DGGLXAOB.js';import {yc}from'./chunk-2SKLD6QR.js';import {useId}from'react';import {styled,MenuItem,Menu,ListItemIcon,ListItemText,Select,useTheme,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var g=styled(MenuItem,{shouldForwardProp:t=>t!=="alwaysShowRightAction"})(({theme:t,alwaysShowRightAction:n})=>({backgroundColor:n?t.palette.common.lightOrange:"","&:hover":{backgroundColor:n?t.palette.common.lightOrange:"",boxShadow:t.shadows[10],":hover":{"& .sandbox-Icon":{left:"-16px !important",transition:"all 0.3s ease-in-out"},"& .close-Icon":{display:"block !important"}}}})),h=styled(Menu,{shouldForwardProp:t=>t!=="minWidth"})(({theme:t,minWidth:n})=>({".MuiMenu-paper":{borderRadius:4,minWidth:n},".MuiMenuItem-root":{display:"flex",gap:"4px",minHeight:"36px",alignItems:"center",paddingInline:8,transition:t.transitions.create(["visibility"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.complex}),".menu-right-action":{visibility:"hidden"},"&:hover":{".menu-right-action":{visibility:"visible"}}},"&.tap-dropdown":{zIndex:2e3,".MuiList-root":{padding:0}}})),x=styled(ListItemIcon)(()=>({minWidth:"16px !important"})),S=styled(ListItemText)(()=>({".MuiTypography-root":{fontSize:"0.6875rem"}})),D=styled(Select)(({theme:t})=>({padding:"0.25rem 0.34rem 0.25rem 0.5rem",display:"flex",justifyContent:"center",alignItems:"center",gap:"0.19rem",width:"auto",flexShrink:0,borderRadius:"0.5rem",boxShadow:t.shadows[5],cursor:"pointer",outline:t.palette.background.default,border:"none",backgroundColor:t.palette.background.default,"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"& .MuiMenuList-root":{padding:"0px !important",margin:0},"& .MuiSelect-outlined":{padding:"0px !important"}})),z=styled(MenuItem)(({theme:t})=>({display:"flex",height:"2.5rem",width:"10.43rem",alignItems:"center",gap:"0.5",alignSelf:"stretch",transition:"boxShadow 0.2s ease-in-out",backgroundColor:"inherit !important",margin:0,padding:0,paddingTop:"0px !important",paddingBottom:"0px !important","&:hover":{boxSizing:"border-box",boxShadow:`${t.shadows[3]}`}})),A=styled("p")(({theme:t})=>({color:t.palette.text.primary,fontSize:"0.68rem",fontWeight:600,textAlign:"center",padding:"0 !important",margin:"0 !important",textTransform:"capitalize",".MuiOutlinedInput-input":{paddingRight:0},"MuiInputBase-input":{paddingRight:0},".MuiSelect-select":{paddingRight:0}})),W=styled("p")(({theme:t})=>({fontSize:"0.75rem",fontWeight:500,color:t.palette.text.primary,paddingLeft:"1rem !important",transition:"boxShadow 0.2s ease-in-out"})),B=styled("img")(()=>({width:"0.75rem",height:"auto",padding:0,paddingBottom:.5,margin:0,verticalAlign:"middle",boxSizing:"border-box"})),y=styled(f)(()=>({padding:0,paddingRight:"4px",width:"14px !important",".MuiSvgIcon-root":{width:"12px !important",height:"12px !important"}}));function N({open:t,menuItems:n,anchorEl:a,onClose:d,footer:f,selected:w,multiple:M,allowShadows:p=true,...C}){let k=yc(useId(),"dropdown-menu"),l=useTheme();return jsxs(h,{id:k,"data-testid":"DropdownMenu",open:t,anchorEl:a,onClose:d,onContextMenu:o=>{o.preventDefault(),d();},...C,className:"tap-dropdown",minWidth:a?.clientWidth||"auto",children:[n.map((o,r)=>o.name==="divider"?jsx(v,{sx:{margin:"0 !important"}},`${o.label}-${r}`):jsx("div",{children:o.label&&jsxs(g,{alwaysShowRightAction:o.alwaysShowRightAction,onClick:v=>{o.onClick&&o.onClick(v);},onContextMenu:o.onRightClick,selected:o.selected,sx:{"&:hover":{backgroundColor:"transparent",boxShadow:p?l.shadows[10]:"none","& .sandbox-Icon":{display:"none"},"& .close-Icon":{display:"block !important"}},...r===w&&{backgroundColor:"transparent",boxShadow:p?l.shadows[10]:"none"},...o.sx},children:[M&&jsx(y,{size:"small",checked:o.selected}),o.icon&&jsx(x,{children:o.icon}),jsx(S,{children:o.label}),jsx(Box,{className:o.alwaysShowRightAction?"":"menu-right-action",children:o.rightAction&&o.rightAction})]})},`${o.label}-${r}`)),f]})}var I=N;var Y=I;export{D as a,z as b,A as c,W as d,B as e,Y as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {t}from'./chunk-
|
|
1
|
+
import {t}from'./chunk-EDZWCPS2.js';import {yc}from'./chunk-2SKLD6QR.js';import {forwardRef,useId,useMemo,Children,useCallback,memo}from'react';import C from'@mui/material/Popper';import y from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var a=styled(y,{shouldForwardProp:o=>o!=="showShadow"})(({theme:o,showShadow:e})=>({borderRadius:o.spacing(.5),background:o.palette.background.default,width:"max-content",cursor:"pointer",boxShadow:o.shadows[11],display:"flex",flexDirection:"column",overflowY:"scroll",maxHeight:"432px","&:focus":{outline:"none"},".menu-item + .menu-item":{borderTop:`1px solid ${o.palette.divider}`},"&::after":{content:'""',width:"100%",height:"34px",position:"fixed",bottom:0,pointerEvents:"none",zIndex:999999,background:"linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%)",transition:o.transitions.create("opacity",{duration:250}),...e?{opacity:1}:{opacity:0}}}));var R=forwardRef(({open:o,anchorEl:e,children:r,sx:c,placement:m,popperSx:u,dropdownProps:w,...f},h)=>{let x=yc(useId(),"menu"),{onScrollHandler:t$1,showShadow:S}=t(),{onScroll:n,...P}=w||{},b=useMemo(()=>Children.count(r),[r])>12&&S,g=useCallback(p=>{t$1(p),n?.(p);},[t$1,n]);return jsx(C,{ref:h,id:x,"data-testid":"Menu",open:o,anchorEl:e,placement:m||"bottom-start",sx:u,...f,children:jsx(a,{showShadow:b,onScroll:g,className:"MuiPopper-dropdown",sx:c,...P,children:r})},"menu")}),l=memo(R);var K=l;export{K as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {f as f$1}from'./chunk-
|
|
1
|
+
import {f as f$1}from'./chunk-P2ALP6B4.js';import {styled,Button,Box,alpha}from'@mui/material';var l=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),n=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...l(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),u={active:n,inActive:n};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));var m=styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"})),h=styled(f$1)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),y=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),b=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),f=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),S=styled("img")(({theme:t,variant:e,icon:a})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(a??"")&&e==="inActive")&&a!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),v=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));export{u as a,m as b,h as c,y as d,b as e,f,S as g,v as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-AK52H7UI.js';import {memo}from'react';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var d=styled(r)(({theme:o})=>({display:"flex",gap:o.spacing(1),insetInlineStart:o.spacing(1.25),zIndex:1}));styled(r)(({theme:o})=>({width:12,height:12,borderRadius:"50%",cursor:"pointer",backgroundColor:`${o.palette.grey[200]}14`,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-in-out",img:{opacity:"0",transition:"all 0.2s ease-in-out"},"&:active":{backgroundColor:`${o.palette.grey[200]} !important`}}));var l=styled(r)(({theme:o})=>({display:"flex",height:"2rem",justifyContent:"space-between",alignItems:"center",width:"100%",paddingLeft:o.spacing(1.25),paddingRight:o.spacing(1.25),"& > *":{flex:"1 1 0px;"}})),p=styled("div",{shouldForwardProp:o=>o!=="sandboxMode"&&o!=="maximized"&&o!=="isDragging"})(({maximized:o,isDragging:t})=>({...!o&&{borderTopRightRadius:12,borderTopLeftRadius:12},...t&&{cursor:"move"},margin:0})),H=styled(r,{shouldForwardProp:o=>o!=="maximized"&&o!=="isDragging"})(({isDragging:o})=>({...o&&{cursor:"move"},position:"relative",zIndex:1,margin:0})),s=styled(r,{shouldForwardProp:o=>o!=="maximized"&&o!=="isHovered"})(({theme:o,maximized:t})=>({height:32,position:"relative",display:"flex",width:"100%",justifyContent:"center",transition:"all 0.5s ease-in-out",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",...t&&{display:"block !important",position:"fixed",right:0,left:0,zIndex:999,background:"transparent",".toolbar-wrapper":{display:"flex",justifyContent:"space-between",gap:10,alignItems:"center",position:"absolute",right:0,left:0,height:"2rem",".action-box":{visibility:"hidden"}},"&:hover":{".toolbar-wrapper":{top:0},".action-box":{visibility:"visible"}}},":hover":{".header-icon":{backgroundColor:`${o.palette.grey[200]}40`},".header-icon img":{opacity:1}}})),f=styled(p)(()=>({position:"sticky",top:0,left:0,right:0,zIndex:1e3,background:"#eaeaea",backdropFilter:"blur(32px)"}));function v({onMouseEnter:o,onMouseLeave:t,isMaximized:g,isHovered:x,children:w,rightActions:m,leftActions:a$1,title:b,icon:y,...u}){return jsx(s,{onMouseEnter:o,onMouseLeave:t,maximized:g,id:"toolbar","data-testid":"Toolbar",isHovered:x,...u,children:jsxs(l,{className:"toolbar-wrapper",children:[a$1?jsx(d,{className:"action-box",children:a$1}):jsx("div",{}),jsx(a,{title:b,icon:y}),m||jsx("div",{})]})})}var c=memo(v);var D=c;export{p as a,H as b,f as c,D as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {t}from'./chunk-
|
|
1
|
+
import {t}from'./chunk-DGGLXAOB.js';import {yc,dc}from'./chunk-2SKLD6QR.js';import {forwardRef,useId,memo}from'react';import {styled}from'@mui/material/styles';import c from'@mui/material/TableCell';import {jsx}from'react/jsx-runtime';import {styled as styled$1}from'@mui/material';import {motion}from'framer-motion';var a=styled(c,{shouldForwardProp:e=>e!=="rowId"})(({theme:e})=>({fontSize:e.typography.body2.fontSize,fontWeight:e.typography.fontWeightRegular,color:e.palette.text.primary,padding:e.spacing(0),verticalAlign:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",width:"100%",border:"none",textAlign:e?.direction==="ltr"?"left":"right"}));var b=forwardRef(({children:e,...o},r)=>{let s=yc(useId(),"table-cell");return jsx(a,{id:s,component:"div","data-testid":"TableCell",...o,ref:r,children:e})}),l=memo(b);var A=styled$1("span",{shouldForwardProp:e=>e!=="variant"})(({theme:e,variant:o})=>({display:"flex",width:"17px",height:"12px",backgroundColor:o?dc(e.palette)[o]:"transparent",borderRadius:"2px",flexShrink:0,overflow:"hidden",visibility:"hidden","& > img":{width:"100%",height:"100%",objectFit:"cover"}})),F=styled$1("button")({background:"transparent",border:"none",padding:0,cursor:"pointer",outline:"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),$=styled$1(motion.div)(({theme:e})=>({borderRadius:"12px",backgroundColor:e.palette.background.paper,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",gap:e.spacing(.5)})),z=styled$1("img")(()=>({width:"12px",height:"12px"})),G=styled$1("span",{shouldForwardProp:e=>e!=="isShown"})(({theme:e,isShown:o})=>({...o&&{border:`1px solid ${e.palette.divider}`},borderRadius:"12px",backgroundColor:o?e.palette.background.paper:"transparent",width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,overflow:"hidden",visibility:"hidden"})),L=styled$1("span")(({theme:e})=>({color:e.palette.common.white,borderRadius:e.spacing(.5),padding:"1.285px 2.569px",height:"12px",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"9.782px",fontWeight:600})),O=styled$1("div")(()=>({display:"flex",width:"24px",height:"24px",alignItems:"center",justifyContent:"center",borderRadius:"64px;",border:"1px solid #F2F2F2;"})),V=styled$1(t)(({theme:e})=>({width:24,height:24,fontSize:"8.5px",fontWeight:500,color:e.palette.background.default,border:`1px solid ${e.palette.divider}`})),d=styled$1("div")(({theme:e})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${e.palette.divider}`})),E=styled$1(d)(({theme:e})=>({color:e.palette.info.dark,backgroundColor:e.palette.info.light,borderColor:e.palette.divider,minWidth:"88px",height:"24px"})),H=styled$1(d)(({theme:e})=>({color:e.palette.grey.A700,backgroundColor:`${e.palette.grey.A700}1A`,minWidth:"88px",height:"24px"})),M=styled$1(l)(()=>({fontSize:"11px",textAlign:"left",display:"flex",justifyContent:"flex-start",alignItems:"center",overflow:"hidden",gap:"4px",textOverflow:"ellipsis",whiteSpace:"nowrap"})),Z=styled$1("span")(({theme:e})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:e.spacing(1)})),q=styled$1("span")(()=>({width:"24px",height:"24px",borderRadius:"50%",backgroundColor:"transparent",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0})),D=styled$1("img")(()=>({width:"36px",height:"24px"})),J=styled$1("div")(({percentage:e,isCapture:o,theme:r})=>({background:`conic-gradient(${o?r.palette.info.dark:"#656565"} ${e}%, transparent 0.00%)`,borderRadius:"50%",width:"8.333px",height:"8.333px",border:`0.6px solid ${o?r.palette.info.dark:"#656565"}`}));export{l as a,A as b,F as c,$ as d,z as e,G as f,L as g,O as h,V as i,d as j,E as k,H as l,M as m,Z as n,q as o,D as p,J as q};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {yc}from'./chunk-
|
|
1
|
+
import {yc}from'./chunk-2SKLD6QR.js';import {qi,ri}from'./chunk-OK75VWGZ.js';import {styled,Box}from'@mui/material';import I,{useId,useMemo}from'react';import {jsx,jsxs}from'react/jsx-runtime';var c=styled(Box)(({theme:e})=>({height:"32px",borderRadius:"4px",backgroundColor:e.palette.action.hover,padding:"2px",display:"flex",alignItems:"center",position:"relative",cursor:"pointer",zIndex:1})),u=styled(Box,{shouldForwardProp:e=>e!=="isActive"})(({isActive:e})=>({flex:1,display:"flex",justifyContent:"center",alignItems:"center",position:"relative",zIndex:2,opacity:e?1:.5})),x=styled(Box,{shouldForwardProp:e=>e!=="activeIndex"})(({theme:e,activeIndex:o})=>({position:"absolute",top:2,left:o*30+2,transition:"all 0.25s ease-in-out",width:"28px",height:"28px",backgroundColor:e.palette.common.white,borderRadius:"2px",boxShadow:"0px 0px 4px 0px rgba(0, 0, 0, 0.20)"}));var m=(t=>(t.LIST="LIST",t.CARDS="CARDS",t.MAP="MAP",t))(m||{});var y=e=>{let o=I.Children.count(e.children)-1;return jsx(c,{...e,sx:{width:o*30+2}})},w=y;var T=[{icon:jsx("img",{src:qi,alt:"card"}),value:"CARDS"},{icon:jsx("img",{src:ri,alt:"LIST"}),value:"LIST"}],S=e=>{let{currentView:o,onToggleClick:s,getOverrideViews:t}=e,v=yc(useId(),"toggle-view"),l=useMemo(()=>t?t(T):T,[t]),h=useMemo(()=>l.findIndex(r=>r.value===o),[l,o]);return s?jsxs(w,{id:v,"data-testid":"ToggleView",children:[l.map(r=>jsx(u,{onClick:()=>s(r.value),sx:{height:"11.6px",width:"11.6px"},isActive:o===r.value,children:r.icon},r.value)),jsx(x,{activeIndex:h})]}):null},f=S;var $=f;export{m as a,$ as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-LOQ3FEOU.js';import {d}from'./chunk-Q6VWUXRR.js';import {yc}from'./chunk-2SKLD6QR.js';import {memo,useState,useId}from'react';import l from'@mui/material/Box';import {styled}from'@mui/material/styles';import {motion}from'framer-motion';import {jsx}from'react/jsx-runtime';var c=styled(motion.div)(({theme:o})=>({borderRadius:"8px",position:"fixed",display:"flex",flexDirection:"column",maxHeight:"calc(100vh - 46px)",width:416,margin:"auto",background:o.palette.grey[400],boxShadow:o.shadows[3]})),C=styled(l)(({theme:o})=>({background:o.palette.common.white,flex:1,paddingTop:"31px",paddingBottom:"31px",display:"flex",justifyContent:"flex-start",alignItems:"center",flexDirection:"column",position:"relative",overflow:"auto"})),b=styled(l)(({theme:o})=>({minHeight:95,background:o.palette.grey[400],paddingInline:"24px",paddingTop:"23px",paddingBottom:"23px",gap:"15px",position:"relative",zIndex:2})),h=styled(l)(({theme:o})=>({display:"flex",flexDirection:"column",padding:"18px 24px",boxShadow:o.shadows[15],position:"relative",gap:8,minHeight:68,backgroundColor:o.palette.common.white,borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"}));function p({children:o,index:e,dialogRef:a,height:t,onClick:r,order:s,dragControls:d,style:m}){let n=yc(useId(),"dialog");return jsx(c,{id:n,"data-testid":"Dialog",drag:true,dragListener:false,dragMomentum:false,dragControls:d,initial:{top:"50%",left:`calc(50% + ${e*10}px - ${416/2}px)`},transition:{duration:.1},animate:{...t&&{top:`calc(50% + ${e*10}px - ${t/2}px)`},zIndex:2+s},onClick:r,ref:a,style:m,children:o})}function L({title:o,onCloseDialog:e,...a$1}){let[t,r]=useState(false);return jsx(d,{onMouseEnter:()=>{r(true);},onMouseLeave:()=>{r(false);},isHovered:t,title:o,leftActions:jsx(a,{onClick:n=>{n.stopPropagation(),e();}}),...a$1})}var M=memo(L);var K=p;export{C as a,b,h as c,M as d,K as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {i}from'./chunk-LPBEVBBB.js';import {p}from'./chunk-M4UDAAYC.js';import {Aa}from'./chunk-HI62DX6A.js';import ee,{memo,useMemo,Children,useState,useRef,useEffect,useCallback,useLayoutEffect,isValidElement}from'react';import {motion}from'framer-motion';import P from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var h=24;var D=.22;var nt=styled(P)(()=>({display:"flex",gap:"8px",overflow:"visible"})),Ut=["trackWidth","minTrackWidth","slotSize","hoverZIndex"],it=styled("div",{shouldForwardProp:t=>!Ut.includes(t)})(({trackWidth:t,minTrackWidth:e,slotSize:r,hoverZIndex:o})=>({position:"relative",overflow:"visible",width:t,minWidth:e,height:r,transition:`width ${.22}s ease-out`,...o!==void 0?{zIndex:o}:{}})),$=styled(P)(()=>({display:"flex",alignItems:"center",paddingRight:"8px","& .chip-stack-overlap-slot":{marginRight:"-8px",position:"relative",zIndex:1},"& .chip-stack-overlap-slot:hover":{zIndex:2}}));function at(t){return {display:"flex",alignItems:"center",justifyContent:"center",width:`var(--chip-stack-slot-size, ${24}px)`,height:`var(--chip-stack-slot-size, ${24}px)`,borderRadius:"50%",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.common.white,flexShrink:0}}var ct=styled(({title:t,className:e,...r})=>t!=null&&t!==""?jsx(p,{title:t,wrapperProps:{className:"chip-stack-overlap-slot"},children:jsx(P,{className:e,...r})}):jsx(P,{className:["chip-stack-overlap-slot",e].filter(Boolean).join(" "),...r}))(({theme:t})=>({...at(t),overflow:"hidden",lineHeight:0,boxSizing:"border-box",padding:0,"& > *":{width:"100%",height:"100%",minWidth:0,minHeight:0},"& img":{display:"block",width:"100%",height:"100%",objectFit:"contain"}})),K=styled(({title:t,...e})=>jsx(p,{title:t??"",wrapperProps:{className:"chip-stack-overlap-slot"},children:jsx(P,{...e})}))(({theme:t})=>({...at(t),fontSize:`max(${8}px, calc(var(--chip-stack-slot-size, ${24}px) * ${8.5} / ${24}))`,fontWeight:500,color:t.palette.text.disabled}));function st({overflowItems:t,size:e}){let r=`${Math.max(8,8.5*e/24)}px`;return jsxs(P,{sx:{width:e,height:e,borderRadius:"50%",border:o=>`1px solid ${o.palette.divider}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:r,fontWeight:600,bgcolor:"action.hover",flexShrink:0},children:["+",t.length]})}var Gt=["faceSize","avatarFill"],pt=styled(i,{shouldForwardProp:t=>!Gt.includes(t)})(({theme:t,faceSize:e,avatarFill:r})=>{let o=`${e}px`,i=`${Math.max(7,8.5*e/24)}px`;return {width:o,height:o,fontSize:i,fontWeight:500,lineHeight:"100%",letterSpacing:"0%",textAlign:"center",color:t.palette.common.white,background:r,backgroundSize:"cover","&.MuiAvatar-colorDefault":{background:r,color:t.palette.common.white},"& .MuiAvatar-img":{objectFit:"cover"}}});function lt(t){return t==="fanout-left"?"left":t==="fanout-center"?"center":"right"}function mt(t,e,r){return t==="static"?e?"static-children":r?"static-items":null:e?"animated-children":r?"animated-items":null}function dt({size:t,stackStep:e,gap:r,minTrackWidth:o}){let i=t??24,n=e??Math.round(i/2),s=r??Math.max(1,Math.round(i*3/24)),a=o??Math.max(60,Math.round(i*60/24));return {size:i,stackStep:n,gap:s,minTrackWidth:a}}function ut(t,e){if(t<=0)return 0;switch(e){case "right":return 0;case "left":return t-1;default:return Math.floor((t-1)/2)}}function ht(t,e){return e!==void 0&&t>e}function M(t,e){return e===void 0||e<1||t.length<e?{visibleItems:t,hiddenItems:[]}:{visibleItems:t.slice(0,e-1),hiddenItems:t.slice(e-1)}}function Yt(t,e){return isValidElement(t)&&t.key!=null&&t.key!==""?String(t.key):`chip-stack-child-${e}`}function B({items:t,maxItems:e,getItemKey:r,renderItem:o,renderOverflow:i,slotSize:n}){let s={slotSize:n};if(t.length===0)return [];let{visibleItems:a,hiddenItems:c}=M(t,e),p=a.map((m,l)=>({key:r(m,l),render:()=>o(m,l,s)}));return c.length>0&&p.push({key:`chip-stack-overflow-${c.length}-${a.length}`,render:()=>i({items:t,overflowItems:c,size:n})}),p}function ft({children:t,maxItems:e,slotSize:r,renderOverflow:o}){let i=Children.toArray(t);return B({items:i,maxItems:e,getItemKey:Yt,renderItem:n=>n,renderOverflow:o,slotSize:r})}function St(t,e){return t.length===e.length&&t.every((r,o)=>r===e[o])}function X(t,e,r){return t[e]??r}function kt(t,e,r,o,i,n){if(t===0)return [];let s=e*i,a=new Array(t);a[e]=s;for(let c=e-1;c>=0;c-=1)a[c]=a[c+1]-X(r,c,n)-o;for(let c=e+1;c<t;c+=1)a[c]=a[c-1]+X(r,c-1,n)+o;return a}function Ct(t,e,r){return t<=0?0:(t-1)*e+r}function xt(t,e,r,o){return Array.from({length:t},(i,n)=>t<=1||!e?0:r[n]-n*o)}function At(t,e,r,o,i){if(t<=0)return 0;let n=e.map((c,p)=>c+X(r,p,i)),s=Math.min(...e),a=Math.max(...n);return Math.max(o,a-s)}function gt(t,e,r){return Array.from({length:t},(o,i)=>{let n=e.current[i];return n?n.offsetWidth:r})}function Z(t,e){return t.id??`${t.first}-${t.last}-${e}`}function yt(t){return [t.first,t.last].map(e=>e?.[0]).filter(e=>e!=null&&e!=="").join("")}function Tt(t){if(t.tooltip!==void 0)return t.tooltip===null?null:t.tooltip;let e=`${t.first||""} ${t.last||""}`.trim();return e!==""?e:null}function Rt({slotCount:t,anchorIndex:e,size:r,stackStep:o,gap:i,fanOutEnabled:n,compact:s}){let[a,c]=useState(false),[p,m]=useState(()=>Array.from({length:t},()=>r)),l=useRef(null),f=useRef([]),C=useRef(null),x=useCallback(()=>{let v=gt(t,f,r);m(g=>St(g,v)?g:v);},[t,r]),d=useCallback(()=>{C.current&&cancelAnimationFrame(C.current),C.current=requestAnimationFrame(x);},[x]),A=useMemo(()=>kt(t,e,p,i,o,r),[t,e,p,i,o,r]),y=useMemo(()=>xt(t,n&&a,A,o),[t,n,a,A,o]),S=useMemo(()=>Ct(t,o,r),[t,o,r]),O=useMemo(()=>At(t,A,p,S,r),[t,A,p,S,r]),k=useCallback(()=>{n&&(l.current&&clearTimeout(l.current),c(true));},[n]),u=useCallback(()=>{n&&(l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(false),120));},[n]);useEffect(()=>()=>{l.current&&clearTimeout(l.current);},[]),useEffect(()=>{n||c(false);},[n]),useLayoutEffect(()=>{m(Array.from({length:t},()=>r));},[t,r]),useLayoutEffect(()=>{x();},[t,r,x]),useEffect(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d),C.current&&cancelAnimationFrame(C.current);}),[d]);let T=n&&a?O:s?r:S,b=n&&a,F=useMemo(()=>s?Array.from({length:t},(v,g)=>g===e||a?1:0):Array.from({length:t},()=>1),[s,t,e,a]);return {isHovering:a,handleMouseEnter:k,handleMouseLeave:u,slotRefs:f,translateX:y,slotOpacity:F,collapsedStackWidthPx:S,fannedRowWidthPx:O,trackWidth:T,hoverZIndexActive:b}}function H({items:t,children:e,maxItems:r,getItemKey:o,renderItem:i,renderOverflow:n,fanOutDirection:s,compact:a=false,"data-testid":c,sx:p,className:m,slotProps:l}){let f=Children.count(e)>0,{zIndex:C=1e3,size:x,stackStep:d,gap:A,minTrackWidth:y}=l?.layout??{},S=useMemo(()=>f?Children.toArray(e??null).length:t?.length??0,[f,e,t]),k=!(!a&&ht(S,r)),{size:u,stackStep:w,gap:T,minTrackWidth:b}=useMemo(()=>dt({size:x,stackStep:d,gap:A,minTrackWidth:y}),[x,d,A,y]),F=n??st,v=useMemo(()=>f?ft({children:e??null,maxItems:r,slotSize:u,renderOverflow:F}):!t?.length||!o||!i?[]:B({items:t,maxItems:r,getItemKey:o,renderItem:i,slotSize:u,renderOverflow:F}),[f,e,t,r,o,i,F,u]),g=v.length,Nt=useMemo(()=>ut(g,s),[g,s]),{handleMouseEnter:Et,handleMouseLeave:Mt,slotRefs:Wt,translateX:Lt,slotOpacity:tt,collapsedStackWidthPx:Kt,trackWidth:Vt,hoverZIndexActive:zt}=Rt({slotCount:g,anchorIndex:Nt,size:u,stackStep:w,gap:T,fanOutEnabled:k,compact:a});if(g===0)return null;let{sx:L,...Ht}=l?.shell??{},{style:Dt,...$t}=l?.track??{};return jsx(nt,{className:m,...Ht,sx:[{justifyContent:"flex-start",...k||a?{width:"100%"}:{}},...Array.isArray(p)?p:p!=null?[p]:[],...Array.isArray(L)?L:L!=null?[L]:[]],children:jsx(it,{"data-testid":c,...$t,style:Dt,onMouseEnter:k?Et:void 0,onMouseLeave:k?Mt:void 0,trackWidth:Vt,minTrackWidth:a?u:Math.max(b,Kt),slotSize:u,hoverZIndex:zt?C:void 0,children:v.map((et,R)=>jsx(motion.div,{ref:Xt=>{Wt.current[R]=Xt;},initial:false,animate:{x:Lt[R]??0,opacity:tt[R]??1},transition:{duration:.22,ease:"easeOut"},style:{position:"absolute",top:0,left:R*w,zIndex:R,width:u,height:u,pointerEvents:tt[R]===0?"none":"auto"},children:et.render()},et.key))})})}function oe({children:t,maxItems:e,renderOverflow:r,slotSize:o=24,sx:i,...n}){let s=useMemo(()=>ee.Children.toArray(t),[t]),{visibleItems:a,hiddenItems:c}=useMemo(()=>M(s,e),[s,e]),p=c.length>0,m=useMemo(()=>[{"--chip-stack-slot-size":`${o}px`},...Array.isArray(i)?i:i!=null?[i]:[]],[o,i]);if(!p)return jsx($,{"data-testid":"ChipStack",...n,sx:m,children:t});let l=r?.({items:s,overflowItems:c,size:o});return jsxs($,{"data-testid":"ChipStack",...n,sx:m,children:[a,l??jsx(K,{title:`${c.length} more`,children:jsxs("span",{children:["+",c.length]})})]})}var J=memo(oe);function ie(t){return jsx(ct,{"data-testid":"OverlapChip",...t})}var Q=memo(ie);var ce=["static","fanout-right","fanout-left","fanout-center"],Y="static";function pe(t){let{variant:e=Y,maxItems:r,renderOverflow:o,children:i,items:n,getItemKey:s,renderItem:a,compact:c=false,"data-testid":p,slotProps:m,sx:l,className:f}=t,C=Children.count(i??null)>0,x=!C&&(n?.length??0)>0&&s!=null&&a!=null,d=mt(e,C,x);if(d===null)return null;if(d==="static-children"||d==="static-items"){let S=m?.layout?.size??24;if(d==="static-items"&&n&&s&&a){let{visibleItems:O,hiddenItems:k}=M(n,r),u=k.length>0?o?.({items:n,overflowItems:k,size:S})??jsx(K,{title:`${k.length} more`,children:jsxs("span",{children:["+",k.length]})}):null,w=jsxs(Fragment,{children:[O.map((T,b)=>jsx(Q,{children:a(T,b,{slotSize:S})},s(T,b))),u]});return jsx(J,{"data-testid":p,slotSize:S,sx:l,className:f,children:w})}return jsx(J,{"data-testid":p,maxItems:r,renderOverflow:o,slotSize:S,sx:l,className:f,children:i})}let A=lt(e),y={maxItems:r,renderOverflow:o,fanOutDirection:A,compact:c,"data-testid":p??"ChipStack",slotProps:m,sx:l,className:f};return d==="animated-children"?jsx(H,{...y,children:i}):jsx(H,{...y,items:n,getItemKey:s,renderItem:a})}var wt=pe;function he({item:t,sourceIndex:e,slotSize:r}){let[o,i]=useState(false),n=useRef(null);useEffect(()=>{i(false);},[t.logo]);let s=!t.logo||o,a=Z(t,e),c="transparent";s&&(n.current?.key!==a&&(n.current={key:a,fill:Aa()}),c=n.current.fill);let p$1=jsx(pt,{faceSize:r,avatarFill:c,src:s?void 0:t.logo,slotProps:s?void 0:{img:{onError:()=>i(true)}},children:yt(t)}),m=Tt(t);return m!=null&&m!==""?jsx(p,{title:m,children:p$1}):p$1}var fe=he;var dr=wt;export{h as a,D as b,Z as c,Q as d,ce as e,Y as f,wt as g,fe as h,dr as i};
|
|
1
|
+
import {i}from'./chunk-QFPTPINM.js';import {p}from'./chunk-DGGLXAOB.js';import {Aa}from'./chunk-2SKLD6QR.js';import ee,{memo,useMemo,Children,useState,useRef,useEffect,useCallback,useLayoutEffect,isValidElement}from'react';import {motion}from'framer-motion';import P from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var h=24;var D=.22;var nt=styled(P)(()=>({display:"flex",gap:"8px",overflow:"visible"})),Ut=["trackWidth","minTrackWidth","slotSize","hoverZIndex"],it=styled("div",{shouldForwardProp:t=>!Ut.includes(t)})(({trackWidth:t,minTrackWidth:e,slotSize:r,hoverZIndex:o})=>({position:"relative",overflow:"visible",width:t,minWidth:e,height:r,transition:`width ${.22}s ease-out`,...o!==void 0?{zIndex:o}:{}})),$=styled(P)(()=>({display:"flex",alignItems:"center",paddingRight:"8px","& .chip-stack-overlap-slot":{marginRight:"-8px",position:"relative",zIndex:1},"& .chip-stack-overlap-slot:hover":{zIndex:2}}));function at(t){return {display:"flex",alignItems:"center",justifyContent:"center",width:`var(--chip-stack-slot-size, ${24}px)`,height:`var(--chip-stack-slot-size, ${24}px)`,borderRadius:"50%",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.common.white,flexShrink:0}}var ct=styled(({title:t,className:e,...r})=>t!=null&&t!==""?jsx(p,{title:t,wrapperProps:{className:"chip-stack-overlap-slot"},children:jsx(P,{className:e,...r})}):jsx(P,{className:["chip-stack-overlap-slot",e].filter(Boolean).join(" "),...r}))(({theme:t})=>({...at(t),overflow:"hidden",lineHeight:0,boxSizing:"border-box",padding:0,"& > *":{width:"100%",height:"100%",minWidth:0,minHeight:0},"& img":{display:"block",width:"100%",height:"100%",objectFit:"contain"}})),K=styled(({title:t,...e})=>jsx(p,{title:t??"",wrapperProps:{className:"chip-stack-overlap-slot"},children:jsx(P,{...e})}))(({theme:t})=>({...at(t),fontSize:`max(${8}px, calc(var(--chip-stack-slot-size, ${24}px) * ${8.5} / ${24}))`,fontWeight:500,color:t.palette.text.disabled}));function st({overflowItems:t,size:e}){let r=`${Math.max(8,8.5*e/24)}px`;return jsxs(P,{sx:{width:e,height:e,borderRadius:"50%",border:o=>`1px solid ${o.palette.divider}`,display:"flex",alignItems:"center",justifyContent:"center",fontSize:r,fontWeight:600,bgcolor:"action.hover",flexShrink:0},children:["+",t.length]})}var Gt=["faceSize","avatarFill"],pt=styled(i,{shouldForwardProp:t=>!Gt.includes(t)})(({theme:t,faceSize:e,avatarFill:r})=>{let o=`${e}px`,i=`${Math.max(7,8.5*e/24)}px`;return {width:o,height:o,fontSize:i,fontWeight:500,lineHeight:"100%",letterSpacing:"0%",textAlign:"center",color:t.palette.common.white,background:r,backgroundSize:"cover","&.MuiAvatar-colorDefault":{background:r,color:t.palette.common.white},"& .MuiAvatar-img":{objectFit:"cover"}}});function lt(t){return t==="fanout-left"?"left":t==="fanout-center"?"center":"right"}function mt(t,e,r){return t==="static"?e?"static-children":r?"static-items":null:e?"animated-children":r?"animated-items":null}function dt({size:t,stackStep:e,gap:r,minTrackWidth:o}){let i=t??24,n=e??Math.round(i/2),s=r??Math.max(1,Math.round(i*3/24)),a=o??Math.max(60,Math.round(i*60/24));return {size:i,stackStep:n,gap:s,minTrackWidth:a}}function ut(t,e){if(t<=0)return 0;switch(e){case "right":return 0;case "left":return t-1;default:return Math.floor((t-1)/2)}}function ht(t,e){return e!==void 0&&t>e}function M(t,e){return e===void 0||e<1||t.length<e?{visibleItems:t,hiddenItems:[]}:{visibleItems:t.slice(0,e-1),hiddenItems:t.slice(e-1)}}function Yt(t,e){return isValidElement(t)&&t.key!=null&&t.key!==""?String(t.key):`chip-stack-child-${e}`}function B({items:t,maxItems:e,getItemKey:r,renderItem:o,renderOverflow:i,slotSize:n}){let s={slotSize:n};if(t.length===0)return [];let{visibleItems:a,hiddenItems:c}=M(t,e),p=a.map((m,l)=>({key:r(m,l),render:()=>o(m,l,s)}));return c.length>0&&p.push({key:`chip-stack-overflow-${c.length}-${a.length}`,render:()=>i({items:t,overflowItems:c,size:n})}),p}function ft({children:t,maxItems:e,slotSize:r,renderOverflow:o}){let i=Children.toArray(t);return B({items:i,maxItems:e,getItemKey:Yt,renderItem:n=>n,renderOverflow:o,slotSize:r})}function St(t,e){return t.length===e.length&&t.every((r,o)=>r===e[o])}function X(t,e,r){return t[e]??r}function kt(t,e,r,o,i,n){if(t===0)return [];let s=e*i,a=new Array(t);a[e]=s;for(let c=e-1;c>=0;c-=1)a[c]=a[c+1]-X(r,c,n)-o;for(let c=e+1;c<t;c+=1)a[c]=a[c-1]+X(r,c-1,n)+o;return a}function Ct(t,e,r){return t<=0?0:(t-1)*e+r}function xt(t,e,r,o){return Array.from({length:t},(i,n)=>t<=1||!e?0:r[n]-n*o)}function At(t,e,r,o,i){if(t<=0)return 0;let n=e.map((c,p)=>c+X(r,p,i)),s=Math.min(...e),a=Math.max(...n);return Math.max(o,a-s)}function gt(t,e,r){return Array.from({length:t},(o,i)=>{let n=e.current[i];return n?n.offsetWidth:r})}function Z(t,e){return t.id??`${t.first}-${t.last}-${e}`}function yt(t){return [t.first,t.last].map(e=>e?.[0]).filter(e=>e!=null&&e!=="").join("")}function Tt(t){if(t.tooltip!==void 0)return t.tooltip===null?null:t.tooltip;let e=`${t.first||""} ${t.last||""}`.trim();return e!==""?e:null}function Rt({slotCount:t,anchorIndex:e,size:r,stackStep:o,gap:i,fanOutEnabled:n,compact:s}){let[a,c]=useState(false),[p,m]=useState(()=>Array.from({length:t},()=>r)),l=useRef(null),f=useRef([]),C=useRef(null),x=useCallback(()=>{let v=gt(t,f,r);m(g=>St(g,v)?g:v);},[t,r]),d=useCallback(()=>{C.current&&cancelAnimationFrame(C.current),C.current=requestAnimationFrame(x);},[x]),A=useMemo(()=>kt(t,e,p,i,o,r),[t,e,p,i,o,r]),y=useMemo(()=>xt(t,n&&a,A,o),[t,n,a,A,o]),S=useMemo(()=>Ct(t,o,r),[t,o,r]),O=useMemo(()=>At(t,A,p,S,r),[t,A,p,S,r]),k=useCallback(()=>{n&&(l.current&&clearTimeout(l.current),c(true));},[n]),u=useCallback(()=>{n&&(l.current&&clearTimeout(l.current),l.current=setTimeout(()=>c(false),120));},[n]);useEffect(()=>()=>{l.current&&clearTimeout(l.current);},[]),useEffect(()=>{n||c(false);},[n]),useLayoutEffect(()=>{m(Array.from({length:t},()=>r));},[t,r]),useLayoutEffect(()=>{x();},[t,r,x]),useEffect(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d),C.current&&cancelAnimationFrame(C.current);}),[d]);let T=n&&a?O:s?r:S,b=n&&a,F=useMemo(()=>s?Array.from({length:t},(v,g)=>g===e||a?1:0):Array.from({length:t},()=>1),[s,t,e,a]);return {isHovering:a,handleMouseEnter:k,handleMouseLeave:u,slotRefs:f,translateX:y,slotOpacity:F,collapsedStackWidthPx:S,fannedRowWidthPx:O,trackWidth:T,hoverZIndexActive:b}}function H({items:t,children:e,maxItems:r,getItemKey:o,renderItem:i,renderOverflow:n,fanOutDirection:s,compact:a=false,"data-testid":c,sx:p,className:m,slotProps:l}){let f=Children.count(e)>0,{zIndex:C=1e3,size:x,stackStep:d,gap:A,minTrackWidth:y}=l?.layout??{},S=useMemo(()=>f?Children.toArray(e??null).length:t?.length??0,[f,e,t]),k=!(!a&&ht(S,r)),{size:u,stackStep:w,gap:T,minTrackWidth:b}=useMemo(()=>dt({size:x,stackStep:d,gap:A,minTrackWidth:y}),[x,d,A,y]),F=n??st,v=useMemo(()=>f?ft({children:e??null,maxItems:r,slotSize:u,renderOverflow:F}):!t?.length||!o||!i?[]:B({items:t,maxItems:r,getItemKey:o,renderItem:i,slotSize:u,renderOverflow:F}),[f,e,t,r,o,i,F,u]),g=v.length,Nt=useMemo(()=>ut(g,s),[g,s]),{handleMouseEnter:Et,handleMouseLeave:Mt,slotRefs:Wt,translateX:Lt,slotOpacity:tt,collapsedStackWidthPx:Kt,trackWidth:Vt,hoverZIndexActive:zt}=Rt({slotCount:g,anchorIndex:Nt,size:u,stackStep:w,gap:T,fanOutEnabled:k,compact:a});if(g===0)return null;let{sx:L,...Ht}=l?.shell??{},{style:Dt,...$t}=l?.track??{};return jsx(nt,{className:m,...Ht,sx:[{justifyContent:"flex-start",...k||a?{width:"100%"}:{}},...Array.isArray(p)?p:p!=null?[p]:[],...Array.isArray(L)?L:L!=null?[L]:[]],children:jsx(it,{"data-testid":c,...$t,style:Dt,onMouseEnter:k?Et:void 0,onMouseLeave:k?Mt:void 0,trackWidth:Vt,minTrackWidth:a?u:Math.max(b,Kt),slotSize:u,hoverZIndex:zt?C:void 0,children:v.map((et,R)=>jsx(motion.div,{ref:Xt=>{Wt.current[R]=Xt;},initial:false,animate:{x:Lt[R]??0,opacity:tt[R]??1},transition:{duration:.22,ease:"easeOut"},style:{position:"absolute",top:0,left:R*w,zIndex:R,width:u,height:u,pointerEvents:tt[R]===0?"none":"auto"},children:et.render()},et.key))})})}function oe({children:t,maxItems:e,renderOverflow:r,slotSize:o=24,sx:i,...n}){let s=useMemo(()=>ee.Children.toArray(t),[t]),{visibleItems:a,hiddenItems:c}=useMemo(()=>M(s,e),[s,e]),p=c.length>0,m=useMemo(()=>[{"--chip-stack-slot-size":`${o}px`},...Array.isArray(i)?i:i!=null?[i]:[]],[o,i]);if(!p)return jsx($,{"data-testid":"ChipStack",...n,sx:m,children:t});let l=r?.({items:s,overflowItems:c,size:o});return jsxs($,{"data-testid":"ChipStack",...n,sx:m,children:[a,l??jsx(K,{title:`${c.length} more`,children:jsxs("span",{children:["+",c.length]})})]})}var J=memo(oe);function ie(t){return jsx(ct,{"data-testid":"OverlapChip",...t})}var Q=memo(ie);var ce=["static","fanout-right","fanout-left","fanout-center"],Y="static";function pe(t){let{variant:e=Y,maxItems:r,renderOverflow:o,children:i,items:n,getItemKey:s,renderItem:a,compact:c=false,"data-testid":p,slotProps:m,sx:l,className:f}=t,C=Children.count(i??null)>0,x=!C&&(n?.length??0)>0&&s!=null&&a!=null,d=mt(e,C,x);if(d===null)return null;if(d==="static-children"||d==="static-items"){let S=m?.layout?.size??24;if(d==="static-items"&&n&&s&&a){let{visibleItems:O,hiddenItems:k}=M(n,r),u=k.length>0?o?.({items:n,overflowItems:k,size:S})??jsx(K,{title:`${k.length} more`,children:jsxs("span",{children:["+",k.length]})}):null,w=jsxs(Fragment,{children:[O.map((T,b)=>jsx(Q,{children:a(T,b,{slotSize:S})},s(T,b))),u]});return jsx(J,{"data-testid":p,slotSize:S,sx:l,className:f,children:w})}return jsx(J,{"data-testid":p,maxItems:r,renderOverflow:o,slotSize:S,sx:l,className:f,children:i})}let A=lt(e),y={maxItems:r,renderOverflow:o,fanOutDirection:A,compact:c,"data-testid":p??"ChipStack",slotProps:m,sx:l,className:f};return d==="animated-children"?jsx(H,{...y,children:i}):jsx(H,{...y,items:n,getItemKey:s,renderItem:a})}var wt=pe;function he({item:t,sourceIndex:e,slotSize:r}){let[o,i]=useState(false),n=useRef(null);useEffect(()=>{i(false);},[t.logo]);let s=!t.logo||o,a=Z(t,e),c="transparent";s&&(n.current?.key!==a&&(n.current={key:a,fill:Aa()}),c=n.current.fill);let p$1=jsx(pt,{faceSize:r,avatarFill:c,src:s?void 0:t.logo,slotProps:s?void 0:{img:{onError:()=>i(true)}},children:yt(t)}),m=Tt(t);return m!=null&&m!==""?jsx(p,{title:m,children:p$1}):p$1}var fe=he;var dr=wt;export{h as a,D as b,Z as c,Q as d,ce as e,Y as f,wt as g,fe as h,dr as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a as a$2}from'./chunk-
|
|
1
|
+
import {a as a$2}from'./chunk-SSBDL6XS.js';import {a as a$1}from'./chunk-DOWO4F4U.js';import {n}from'./chunk-DGGLXAOB.js';import {a}from'./chunk-GNY2VGGW.js';import {Vb,yc}from'./chunk-2SKLD6QR.js';import {Dj,Ej,Kj,Oe}from'./chunk-OK75VWGZ.js';import {forwardRef,useState,useImperativeHandle,useEffect,useMemo,memo,useId}from'react';import {Button}from'@mui/material';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {useTranslation}from'react-i18next';import {useDropzone}from'react-dropzone';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var G=styled(p)(()=>({textAlign:"center",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"32px"})),u=styled(p)(()=>({paddingInline:"40px"})),d=styled(a,{shouldForwardProp:e=>e!=="isError"})(({theme:e,isError:i})=>({color:i?"#FF2000":e.palette.text.primary,fontSize:"18px",fontWeight:600,lineHeight:"20px",marginBottom:"8px"})),J=styled(p)(({theme:e})=>({color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"20px",padding:"4px 12px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,background:e.palette.common.white,cursor:"pointer"})),g=styled(a)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),F=styled(p,{shouldForwardProp:e=>e!=="width"})(({theme:e,width:i})=>({width:i||431,minHeight:176,border:`1px dashed ${e.palette.secondary.light}`,borderRadius:"8px",padding:"24px 0",display:"flex",alignItems:"center",justifyContent:"center"})),h=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"24px",color:e.palette.text.primary,fontSize:"14px",lineHeight:"20px",cursor:"default"})),K=styled("span")(()=>({fontWeight:600,textDecorationLine:"underline",cursor:"pointer"})),b=styled(p)(({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"8px",color:e.palette.text.primary})),z=styled(p)(({theme:e})=>({color:alpha(e.palette.text.primary,.7),fontSize:"12px",fontWeight:500,lineHeight:"20px"})),O=styled(Button)(({theme:e,disabled:i})=>({borderRadius:"4px",minWidth:"105px",background:i?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"4px 8px",fontSize:"9px",fontWeight:600,height:"32px",display:"flex",alignItems:"center",justifyContent:"center",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),Q=styled(p)(()=>({display:"flex",gap:"8px",justifyContent:"center",alignItems:"center",padding:"6px",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px"}));var Y=forwardRef(({accept:e,footer:i,options:x,isCreateLoading:U,progress:te,error:R,errorHint:oe,subtitleComponent:S,isSuccess:P,onConfirm:re,isSendDisabled:ie,errorActionComponent:le,title:l,width:B,successFooter:pe,progressVariant:ne},ae)=>{let{t:n$1}=useTranslation(),[a,H]=useState([]),{getRootProps:de,getInputProps:se,open:f,acceptedFiles:j,isDragReject:M,fileRejections:s}=useDropzone(x);useImperativeHandle(ae,()=>({open:f}),[f]),useEffect(()=>{H(j);},[j]);let C=Vb(x?.maxSize||0,0).toUpperCase(),m=useMemo(()=>{let me=s.length&&s[0].errors.some(k=>k.code==="file-invalid-type"),ce=s.length&&s[0].errors.some(k=>k.code==="file-too-large");return M||me?n$1("invalidFileType"):ce?`File is larger than ${C}`:R},[M,R,s,C,n$1]),W=useMemo(()=>a.length?jsxs(b,{sx:{fontWeight:600},children:[jsx(p,{children:a[0].name}),jsx(z,{children:Vb(a[0].size)})]}):null,[a]);return P&&a.length&&!U?jsxs(Fragment,{children:[jsxs(u,{children:[typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:"File uploaded"}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[P&&jsx(p,{component:"img",src:Dj,width:56,height:56}),W]})}),pe??jsxs(Q,{children:[jsx(a$1,{onClick:()=>{H([]);},children:jsx(a$2,{src:Ej,alt:"delete",sx:{width:14,height:14}})}),jsx(O,{disabled:ie,onClick:()=>{re?.(a);},children:"Bulk Send"})]})]}):U&&a.length?jsxs(Fragment,{children:[jsxs(u,{children:[l&&typeof l!="string"?l:jsxs(Fragment,{children:[jsx(d,{children:l??n$1("uploading")}),jsx(g,{children:n$1("wait")})]}),S]}),jsx(F,{width:B,children:jsxs(h,{children:[U&&jsx(n,{size:56,value:te,variant:ne??"determinate"}),W]})}),i]}):jsxs(Fragment,{children:[jsxs(u,{children:[m?jsx(d,{isError:true,children:m}):typeof l=="string"?jsx(d,{children:l}):l??jsx(d,{children:n$1("uploadBulkFile")}),S||!!m&&jsx(g,{children:"Supported formats: xls, xlxs"})]}),jsxs(F,{width:B,...de(),children:[jsx("input",{...se()}),jsxs(h,{"data-slot":"content",children:[jsx(p,{component:"img",src:m?Kj:Oe,width:56,height:56}),oe,W,m?jsx(Fragment,{children:le||jsx(J,{onClick:f,children:n$1("uploadAgain")})}):jsxs(b,{children:[jsxs(p,{children:[jsx(K,{onClick:f,children:"Click to upload"})," or drag and drop"]}),jsxs(z,{children:["Maximum file size ",C]}),e&&jsx(g,{children:n$1("supportedFormats",{accept:e})})]})]})]}),i]})});Y.displayName="FileUploadBase";var Z=memo(Y);var L=forwardRef((e,i)=>{let x=yc(useId(),"file-upload");return jsx(G,{id:x,"data-testid":"FileUpload","data-slot":"file-upload-wrapper",children:jsx(Z,{...e,ref:i})})});L.displayName="FileUpload";var ee=memo(L);var Xe=ee;export{Xe as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {yc}from'./chunk-
|
|
1
|
+
import {yc}from'./chunk-2SKLD6QR.js';import {memo,useId}from'react';import s from'react-dom';import {styled,Box}from'@mui/material';import {jsx}from'react/jsx-runtime';var t=styled(Box)(()=>({position:"fixed",top:0,bottom:0,right:0,left:0,zIndex:999}));function a(m){let p=yc(useId(),"custom-backdrop");return s.createPortal(jsx(t,{...m,id:p,"data-testid":"CustomBackdrop"}),document.body)}var r=memo(a);var b=r;export{b as a};
|