@tap-payments/os-micro-frontend-shared 0.3.248 → 0.3.250
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-H4TK4QZS.js → chunk-2UKFRII4.js} +1 -1
- package/build/_chunks/{chunk-NYJGWFJT.js → chunk-365ELBRX.js} +1 -1
- package/build/_chunks/{chunk-7BC26ES3.js → chunk-3SHK7LE5.js} +1 -1
- package/build/_chunks/{chunk-WP2PBXEG.js → chunk-3TMU7URM.js} +1 -1
- package/build/_chunks/{chunk-UOSPFZFL.js → chunk-4O2NNPPJ.js} +1 -1
- package/build/_chunks/{chunk-BGLVDXUY.js → chunk-4SP6Q3EY.js} +1 -1
- package/build/_chunks/{chunk-LXNWEXDA.js → chunk-4WABGY2R.js} +1 -1
- package/build/_chunks/{chunk-B2YAQVYT.js → chunk-5GICLCXP.js} +1 -1
- package/build/_chunks/{chunk-XMBYYJDJ.js → chunk-5HWKHF3E.js} +1 -1
- package/build/_chunks/{chunk-ECTKELII.js → chunk-5NLHGOQM.js} +1 -1
- package/build/_chunks/{chunk-N2NRDIX7.js → chunk-6PBMGBFD.js} +1 -1
- package/build/_chunks/{chunk-O3S6R2ZW.js → chunk-72CWL2S7.js} +1 -1
- package/build/_chunks/{chunk-6XFK3FBM.js → chunk-76GYXT6V.js} +1 -1
- package/build/_chunks/{chunk-HROFC3Z7.js → chunk-7NZ2ECHV.js} +1 -1
- package/build/_chunks/{chunk-OUR46KNI.js → chunk-AGEPU6KI.js} +1 -1
- package/build/_chunks/{chunk-JO5WFWAJ.js → chunk-B2Y3FJ3F.js} +1 -1
- package/build/_chunks/{chunk-J2BWFYQR.js → chunk-BZJYOLJX.js} +1 -1
- package/build/_chunks/chunk-CZLLJ6SR.js +2 -0
- package/build/_chunks/{chunk-6BJANCV7.js → chunk-DQGA7KCO.js} +1 -1
- package/build/_chunks/{chunk-LFUN2LDH.js → chunk-DXJQKSYR.js} +1 -1
- package/build/_chunks/{chunk-N4FY6YQH.js → chunk-DY3GC5DB.js} +1 -1
- package/build/_chunks/{chunk-N4JQPHMV.js → chunk-EWMTPSAT.js} +1 -1
- package/build/_chunks/{chunk-RWVFAVMU.js → chunk-EYUPIADW.js} +1 -1
- package/build/_chunks/{chunk-2TEDNP2G.js → chunk-FCIYZFCI.js} +1 -1
- package/build/_chunks/{chunk-4S23GCB4.js → chunk-HRVZB6DH.js} +1 -1
- package/build/_chunks/{chunk-AIGHGP5B.js → chunk-HUDWUAD5.js} +1 -1
- package/build/_chunks/{chunk-MSWKK36W.js → chunk-IJWEQ72W.js} +1 -1
- package/build/_chunks/{chunk-3MBZ55DP.js → chunk-IRJWGXJJ.js} +1 -1
- package/build/_chunks/chunk-IXCCTAHR.js +1 -0
- package/build/_chunks/{chunk-DZFU4QPT.js → chunk-JGJQASLQ.js} +1 -1
- package/build/_chunks/{chunk-RMVM33KN.js → chunk-JY337SQD.js} +1 -1
- package/build/_chunks/{chunk-RLD5CRLM.js → chunk-LQEFOWM7.js} +1 -1
- package/build/_chunks/{chunk-J7QYO7VF.js → chunk-MBNU6SUO.js} +1 -1
- package/build/_chunks/{chunk-UF2EN2FL.js → chunk-MFMOVQ5M.js} +1 -1
- package/build/_chunks/{chunk-KZEFSEPK.js → chunk-MWBCSFTX.js} +1 -1
- package/build/_chunks/chunk-N76O4JDU.js +2 -0
- package/build/_chunks/{chunk-U6FITGCU.js → chunk-NCBWDLV3.js} +1 -1
- package/build/_chunks/{chunk-6IIAQUUK.js → chunk-NIVBAGVE.js} +1 -1
- package/build/_chunks/{chunk-RCDGEYAF.js → chunk-NND2ZEYZ.js} +1 -1
- package/build/_chunks/{chunk-Z6KCOMOK.js → chunk-NSUJX7C7.js} +1 -1
- package/build/_chunks/chunk-NTNU6XF2.js +1 -0
- package/build/_chunks/{chunk-UKTF67RR.js → chunk-O2C4QF4L.js} +1 -1
- package/build/_chunks/{chunk-2LEYPKDY.js → chunk-O7YCNPVY.js} +1 -1
- package/build/_chunks/{chunk-74T2P2DI.js → chunk-ON2WVW4D.js} +1 -1
- package/build/_chunks/{chunk-OJNERB3L.js → chunk-PDI7HVTD.js} +1 -1
- package/build/_chunks/{chunk-LIL6WT4C.js → chunk-PFDLGYL7.js} +1 -1
- package/build/_chunks/{chunk-K5ICBD7X.js → chunk-PMBEZ6OR.js} +1 -1
- package/build/_chunks/{chunk-FOPADEWF.js → chunk-POTSD7PO.js} +1 -1
- package/build/_chunks/{chunk-DCBLRIF5.js → chunk-QFCGWCIC.js} +1 -1
- package/build/_chunks/{chunk-7HGWMTG5.js → chunk-QQGPNDCP.js} +1 -1
- package/build/_chunks/{chunk-OFJUINIE.js → chunk-R23AMJCY.js} +1 -1
- package/build/_chunks/{chunk-RELMZYBK.js → chunk-R7DN4AIN.js} +1 -1
- package/build/_chunks/{chunk-7Y5OFXS3.js → chunk-RCJQ4Y5F.js} +1 -1
- package/build/_chunks/{chunk-26JDD265.js → chunk-RCTLL5VU.js} +1 -1
- package/build/_chunks/{chunk-TSYTKL7B.js → chunk-SPXAF7BU.js} +1 -1
- package/build/_chunks/{chunk-VXWMLX6J.js → chunk-SQ575ZJ2.js} +1 -1
- package/build/_chunks/{chunk-HYQHLNHN.js → chunk-SYMF32J5.js} +1 -1
- package/build/_chunks/{chunk-6TC3HE2J.js → chunk-TAUOSNEX.js} +1 -1
- package/build/_chunks/{chunk-5QXPAJWO.js → chunk-TEC76BRB.js} +1 -1
- package/build/_chunks/{chunk-WUP4TVDI.js → chunk-TI5WSFQU.js} +1 -1
- package/build/_chunks/{chunk-ALCLM4Q4.js → chunk-TKU2TNIN.js} +1 -1
- package/build/_chunks/chunk-V7XTFGZX.js +2 -0
- package/build/_chunks/{chunk-JR2SE6NE.js → chunk-VCDTSTQU.js} +1 -1
- package/build/_chunks/{chunk-WSJJHYS2.js → chunk-VFR37ZIO.js} +1 -1
- package/build/_chunks/{chunk-BT3UVL7P.js → chunk-VWIVGP4W.js} +1 -1
- package/build/_chunks/{chunk-V6DYLCV6.js → chunk-W67UP7VI.js} +1 -1
- package/build/_chunks/{chunk-BHSKFHRE.js → chunk-WFIGJMBF.js} +1 -1
- package/build/_chunks/{chunk-Z4W7NSLP.js → chunk-WMGELW2U.js} +1 -1
- package/build/_chunks/{chunk-7UXWUUSC.js → chunk-WWYUHMAI.js} +1 -1
- package/build/_chunks/{chunk-AFZXDM2P.js → chunk-XRLART6Z.js} +1 -1
- package/build/_chunks/{chunk-FIYP3ZOV.js → chunk-YPUHUMOP.js} +1 -1
- package/build/_chunks/{chunk-L3YJCK4S.js → chunk-YRXXFAEV.js} +1 -1
- package/build/_chunks/{chunk-Z7FUZSNV.js → chunk-YU4P4WBT.js} +1 -1
- package/build/_chunks/{chunk-BOLP7MMA.js → chunk-ZDE3HHHG.js} +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/AvatarStack/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/Card/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrenciesMenu/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyAmountInput/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/FileDropbox/index.js +1 -1
- package/build/components/FilePreview/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/FormSelect/index.js +1 -1
- package/build/components/GroupedSelect/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/IconWithBadge/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/Logo/index.js +1 -1
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/MultiSelect/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NestedMultiSelect/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/Sidebar/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TextInput/index.js +1 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/index.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/datetime/components/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-4FJ26UVI.js +0 -2
- package/build/_chunks/chunk-BYJ7JVY3.js +0 -1
- package/build/_chunks/chunk-LTKS5H2X.js +0 -2
- package/build/_chunks/chunk-TEX4F257.js +0 -1
- package/build/_chunks/chunk-TNT6LPG6.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var i="https://cdn.tap.company/tap-assets",e=`${i}/icons/dashboard/light`,t=`${e}/other`,ot=`${e}/function`,Ye=`${i}/videos`,Ve=`${i}/files`,f=`${Ve}/templates`,nt=c=>`${e}/${c}.svg`,st=c=>`${e}/payment-method/v2/${c}.svg`,ct=c=>`${e}/payment-issuer/${c}.svg`,pt=c=>`${e}/country/v3/${c}.svg`,at=c=>`${e}/function/${c}.svg`,rt=c=>`${e}/statusIcons/${c}.svg`,xt=c=>`${i}/currency/v3/light/${c}.svg`,it=c=>{let He=c.replace(/\s/g,"");return `${i}/icons/dashboard/light/authority/v2/${He}.svg`},dt=c=>`${e}/browsers/${c}.svg`,lt=c=>`${e}/payment-initiator/${c}.svg`,ut=c=>`${e}/payment-gateways/${c}.svg`,gt=c=>`${e}/aging/${c}.svg`,It=`${e}/currency/sar.svg`,vt=`${e}/currency/dirham.svg`,ht=`${e}/abandoned.svg`,mt=`${e}/abandonedYellow.svg`,At=`${e}/chevron-down.svg`,ft=`${e}/removeIcon.svg`,Et=`${e}/reversed.svg`,$t=`${e}/destinationSolid.svg`,Tt=`${e}/search.svg`,St=`${e}/unauthorized.svg`,_t=`${e}/view.svg`,yt=`${e}/reports.svg`,Pt=`${e}/flag.svg`,bt=`${e}/dispute.svg`,Ct=`${e}/timezone.svg`,Rt=`${e}/greyTimezone.svg`,Nt=`${e}/subscription.svg`,wt=`${e}/savedCard.svg`,Ot=`${e}/egypt.svg`,Lt=`${e}/saudiArabia.svg`,kt=`${e}/jordan.svg`,Bt=`${e}/lebanon.svg`,Mt=`${e}/kuwait.svg`,Ut=`${e}/unitedArabEmirates.svg`,Dt=`${e}/europe.svg`,Wt=`${e}/bahrain.svg`,Ft=`${e}/america.svg`,Gt=`${e}/payment-method/v2/card.svg`,Ht=`${e}/payment-method/v2/UnionPay.svg`,Yt=`${e}/payment-method/v2/JAYWAN.svg`,Vt=`${e}/device.svg`,zt=`${e}/expressCheckout.svg`,Kt=`${e}/applePay.svg`,qt=`${e}/cash.svg`,Zt=`${e}/passThruWallet.svg`,Qt=`${e}/storedValueWallet.svg`,jt=`${e}/buyNowPayLater.svg`,Jt=`${e}/openBanking.svg`,Xt=`${e}/FrictionlessIcon.svg`,eo=`${e}/ChallengeIcon.svg`,to=`${e}/visa.svg`,oo=`${e}/redArrowDownIcon.svg`,no=`${e}/completed.svg`,so=`${e}/chargebackRequested.svg`,co=`${e}/chargeback.svg`,po=`${t}/captureDropdown.svg`,ao=`${e}/disputeResolved.svg`,ro=`${e}/reversePayout.svg`,xo=`${e}/ellipsisHorizontal.svg`,io=`${e}/3ds.svg`,lo=`${e}/invoiceIdIcon3.svg`,uo=`${e}/idIcon3.svg`,go=`${e}/id.svg`,Io=`${t}/copyIcon.svg`,vo=`${t}/codeIcon.svg`,ho=`${t}/GreenCheckMark2.svg`,mo=`${e}/closedDispute.svg`,Ao=`${e}/openDispute.svg`,fo=`${e}/desktop.svg`,Eo=`${e}/mobile.svg`,$o=`${e}/tablet.svg`,To=`${e}/invoice.svg`,So=`${e}/cancelledInvoiceIcon.svg`,_o=`${e}/expiredInvoiceIcon.svg`,yo=`${e}/invoiceNumberIcon.svg`,Po=`${e}/column.svg`,bo=`${e}/sortAz.svg`,Co=`${e}/sortZa.svg`,E=`${e}/zipFile.svg`,Ro=`${e}/successWhiteBg.svg`,No=`${e}/failedWhiteBgIcon.svg`,wo=`${e}/exclamationGreyIcon.svg`,Oo=`${e}/exclamationDarkGreyIcon.svg`,Lo=`${e}/percentage0.svg`,ko=`${e}/percentage50.svg`,Bo=`${e}/percentage75.svg`,Mo=`${e}/percentage100.svg`,Uo=`${e}/halfCircle.svg`,Do=`${e}/maximize.svg`,Wo=`${e}/minimize.svg`,Fo=`${e}/close.svg`,Go=`${e}/dashedCheckIcon.svg`,Ho=`${e}/outstandingIcon.svg`,Yo=`${e}/cancelledStatusIcon.svg`,Vo=`${e}/expiredStatusIcon.svg`,zo=`${e}/paidStatusIcon.svg`,Ko=`${e}/refundedStatusIcon.svg`,qo=`${e}/deactivatedIcon.svg`,Zo=`${e}/topup.svg`,Qo=`${e}/AIOverviewIcon.svg`,jo=`${t}/demaximize.svg`,Jo=`${e}/pendingFlag.svg`,Xo=`${e}/ibanIcon.svg`,en=`${e}/payoutIcon.svg`,tn=`${e}/releasedFlag.svg`,on=`${e}/acceptedFlag.svg`,nn=`${e}/clearIcon.svg`,sn=`${e}/status/unCaptured.svg`,cn=`${t}/newWindow.svg`,pn=`${t}/viewAll.svg`,an=`${t}/allApps.svg`,rn=`${t}/hide.svg`,xn=`${t}/close.svg`,dn=`${t}/star.svg`,ln=`${t}/closeCircle.svg`,un=`${t}/acquirer.svg`,gn=`${e}/GenericIconNew.svg`,In=`${t}/acquirerRed.svg`,vn=`${t}/gateway.svg`,hn=`${t}/acquirerOrange.svg`,mn=`${e}/status/capturedAuthorize.svg`,An=`${t}/merchantInitiated.svg`,fn=`${t}/rightArow.svg`,En=`${e}/blackRightArrow.svg`,$n=`${t}/orangeFlag.svg`,Tn=`${t}/openFlag.svg`,Sn=`${t}/closedFlag.svg`,_n=`${t}/redFlag.svg`,yn=`${t}/grayFlag.svg`,Pn=`${t}/downArrow.svg`,bn=`${t}/check.svg`,Cn=`${t}/closeX.svg`,Rn=`${t}/drag.svg`,Nn=`${t}/checkboxIcon.svg`,wn=`${e}/plusWhite.svg`,On=`${t}/checkboxIcon.svg`,Ln=`${e}/Uniso.svg`,kn=`${e}/addidas.svg`,Bn=`${e}/radioButtonChecked.svg`,Mn=`${e}/radioButtonUnchecked.svg`,Un=`${e}/Mac.svg`,Dn=`${e}/blueCheckIconZigzag.svg`,Wn=`${e}/greenCheckIconZigzag.svg`,Fn=`${e}/dimmedCheckIconZigzag.svg`,Gn=`${e}/marketPlaceBlue.svg`,Hn=`${e}/marketplaceBlackIcon.svg`,Yn=`${e}/marketPlaceDimmed.svg`,Vn=`${e}/moneyOut.svg`,zn=`${e}/moneyOutDimmed.svg`,Kn=`${e}/moneyIn.svg`,qn=`${e}/moneyInDimmed.svg`,Zn=`${e}/message.svg`,Qn=`${e}/pending.svg`,jn=`${e}/payStream.svg`,Jn=`${e}/clearCoin.svg`,Xn=`${t}/walletSmall.svg`,es=`${t}/bank.svg`,ts=`${t}/hijri.svg`,os=`${t}/darkLeftArrow.svg`,ns=`${t}/darkRightArrow.svg`,ss=`${t}/spinnerLoading.svg`,cs=`${t}/spinnerLoadingAnimated.svg`,ps=`${t}/actionFail.svg`,as=`${t}/actionSuccess.svg`,rs=`${t}/checkMark.svg`,xs=`${t}/logout.svg`,is=`${t}/preferences.svg`,ds=`${t}/transform.svg`,$=`${t}/token.svg`,l=`${t}/billing.svg`,ls=`${t}/receiptBill.svg`,us=`${e}/newReceiptIcon.svg`,u=`${t}/acceptance.svg`,gs=`${e}/acceptanceEnabled.svg`,Is=`${e}/acceptanceBlue.svg`,vs=`${e}/payoutsGreen.svg`,hs=`${t}/acceptanceAppIconDisabled.svg`,ms=`${t}/payoutsAppIconDisabled.svg`,As=`${e}/payoutEnabled.svg`,fs=`${e}/payoutAppGreenIcon.svg`,Es=`${e}/payoutDisabledRounded.svg`,$s=`${e}/acceptanceDisabledRounded.svg`,g=`${t}/AuthenticationApp.svg`,I=`${t}/walletApp.svg`,v=`${t}/payouts.svg`,T=`${t}/protect.svg`,S=`${t}/customers.svg`,_=`${t}/business.svg`,y=`${t}/account.svg`,Ts=`${t}/disableCheck.svg`,Ss=`${t}/wifiOff.svg`,_s=`${t}/SandboxHovered.svg`,ys=`${t}/Sandbox.svg`,Ps=`${t}/ExclamationError.svg`,bs=`${t}/greyCheck.svg`,Cs=`${t}/greyCross.svg`,Rs=`${t}/blueCheck.svg`,Ns=`${t}/disabledCheck.svg`,ws=`${t}/darkCheck.svg`,Os=`${t}/collapseArrow.svg`,Ls=`${t}/world.svg`,ks=`${t}/grayUpArrow.svg`,Bs=`${t}/blackHeadingDownArrowIcon.svg`,Ms=`${t}/blueHeadingDropdownArrow.svg`,Us=`${t}/dropdownArrow.svg`,Ds=`${t}/greyDropdownIcon.svg`,P=`${t}/business2.svg`,b=`${t}/development.svg`,Ws=`${t}/financial.svg`,C=`${t}/light_master_orchestrator.svg`,R=`${t}/platform.svg`,Fs=`${t}/provider.svg`,N=`${t}/appPlatform.svg`,Gs=`${t}/authenticationGateway.svg`,w=`${t}/billingPlatform.svg`,O=`${t}/commercePlatform.svg`,Hs=`${t}/commercialRegulator.svg`,Ys=`${t}/merchantServiceProvider.svg`,L=`${t}/paymentAcquirer.svg`,k=`${t}/paymentFacilitator.svg`,B=`${t}/paymentGatewayProvider.svg`,M=`${t}/paymentIssuer.svg`,U=`${t}/paymentMethod.svg`,D=`${t}/paymentProcessor.svg`,W=`${t}/paymentScheme.svg`,F=`${t}/paymentTechnologyV2.svg`,G=`${t}/paymentTerminalProvider.svg`,H=`${t}/retailPlatform.svg`,Vs=`${t}/retailer.svg`,Y=`${t}/light_business.svg`,V=`${t}/light_development.svg`,zs=`${t}/financial.svg`,z=`${t}/light_master_orchestrator.svg`,K=`${t}/light_platform.svg`,Ks=`${t}/provider.svg`,q=`${t}/light_app_platform.svg`,qs=`${t}/light_authentication_gateway.svg`,Z=`${t}/light_billing_platform.svg`,Q=`${t}/light_commerce_platform.svg`,Zs=`${t}/light_commercial_regulator.svg`,Qs=`${t}/light_merchant_service_provider.svg`,j=`${t}/light_payment_acquirer.svg`,J=`${t}/light_payment_facilitator.svg`,X=`${t}/light_payment_gateway_provider.svg`,ee=`${t}/light_payment_issuer.svg`,te=`${t}/light_payment_method.svg`,oe=`${t}/light_payment_processor.svg`,ne=`${t}/light_payment_scheme.svg`,se=`${t}/light_payment_technology_v2.svg`,ce=`${t}/light_payment_terminal_provider.svg`,pe=`${t}/light_retail_platform.svg`,js=`${t}/light_retailer.svg`,Js=`${t}/brandGray.svg`,Xs=`${e}/grayCircleIcon.svg`,ec=`${t}/json.svg`,tc=`${t}/jsonBlackIcon.svg`,oc=`${t}/sort1.svg`,nc=`${t}/SandboxHoveredLight.svg`,sc=`${t}/emailColoured.svg`,cc=`${e}/OrderIcon.svg`,pc=`${e}/TransactionIcon.svg`,ac=`${e}/GenericIcon.svg`,rc=`${t}/smsColoured.svg`,xc=`${t}/whatsAppColored.svg`,ic=`${t}/dueDateBlue.svg`,dc=`${t}/dueDateOrange.svg`,lc=`${t}/dueDateYellow.svg`,uc=`${t}/dueDateRed.svg`,gc=`${t}/dueDateBlack.svg`,Ic=`${t}/dueDateGray.svg`,vc=`${t}/timerBlue.svg`,hc=`${t}/expiredIcon.svg`,mc=`${t}/remindedRed.svg`,Ac=`${t}/chevronWhite.svg`,fc=`${t}/chevronGray.svg`,Ec=`${t}/notVerified.svg`,$c=`${t}/verified.svg`,Tc=`${t}/verifyReview.svg`,Sc=`${e}/window/attention.svg`,_c=`${e}/window/initalAcceptance.svg`,yc=`${e}/window/completedAcceptance.svg`,Pc=`${e}/window/initalPayouts.svg`,bc=`${e}/window/completedPayouts.svg`,Cc=`${t}/collapseArrowsIcon.svg`,Rc=`${t}/expandArrowsIcon.svg`,Nc=`${t}/greenArrowRight.svg`,wc=`${t}/greenArrowLeft1.svg`,Oc=`${t}/greenIconWithArrowUp.svg`,Lc=`${t}/whiteArrowRight.svg`,kc=`${t}/whiteArrowLeft.svg`,Bc=`${e}/HSBCBank.svg`,Mc=`${e}/shopifyIcon.svg`,Uc=`${e}/verifiedGreenBadge.svg`,Dc=`${e}/backButtonLeft.svg`,Wc=`${e}/eyeHideIcon.svg`,Fc=`${e}/eyeShowIcon.svg`,Gc=`${t}/uploadIcon.svg`,ae=`${e}/window/uploadGreyIcon.svg`,re=`${e}/uploadAppIcon.svg`,xe=`${e}/window/paylinkGreyIcon.svg`,ie=`${e}/paylinkAppIcon.svg`,Hc=`${e}/inprogressIcon.svg`,Yc=`${e}/redCloseCircleIcon.svg`,Vc=`${t}/uploadBlueIcon.svg`,zc=`${t}/SandboxHovered.svg`,Kc=`${t}/sandboxDefaultIcon.svg`,qc=`${t}/SandboxIcon.svg`,Zc=`${t}/clock.svg`,Qc=`${t}/RedClose.svg`,h=`${t}/xls.svg`,de=`${t}/csv.svg`,jc=`${t}/pdf.svg`,Jc=`${t}/Download.svg`,Xc=`${t}/reportsIconOutlined.svg`,ep=`${t}/Done.svg`,tp=`${t}/reportApps.svg`,le=`${e}/window/ReportsApp.svg`,ue=`${e}/window/leadApp.svg`,ge=`${e}/window/leadTitleIcon.svg`,Ie=`${t}/OrderApp.svg`,ve=`${t}/OrderTitleIcon.svg`,op=`${e}/dottedLine.svg`,np=`${e}/passwordDots.svg`,sp=`${e}/dollarSign.svg`,cp=`${e}/reload.svg`,pp=`${t}/deletedStatus1.svg`,ap=`${t}/draftedStatus1.svg`,rp=`${t}/createdStatus1.svg`,xp=`${t}/cancelledStatus1.svg`,ip=`${t}/expiredStatus1.svg`,dp=`${t}/paidStatus1.svg`,lp=`${t}/deliveredStatus1.svg`,up=`${t}/viewedStatus1.svg`,gp=`${t}/savedStatus1.svg`,Ip=`${t}/scheduledStatus1.svg`,vp=`${t}/invoicePendingStatus2.svg`,hp=`${t}/invoiceRefundedStatus2.svg`,mp=`${e}/activeLeadStatus.svg`,Ap=`${e}/completedLeadStatus.svg`,fp=`${e}/closedLeadStatus.svg`,Ep=`${e}/expiredLeadStatus.svg`,$p=`${e}/readyLeadStatus.svg`,Tp=`${e}/fileIcon.svg`,Sp=`${e}/clipboardFileGrayIcon.svg`,_p=`${e}/newFileIcon.svg`,yp=`${e}/downloadFileIcon.svg`,Pp=`${e}/progressFileIcon.svg`,bp=`${e}/successFileIcon.svg`,Cp=`${e}/whiteArrowDownIcon.svg`,Rp=`${e}/teamWindowIcon.svg`,Np=`${e}/blueAppsIcon.svg`,wp=`${e}/disabledCardIcon.svg`,Op=`${e}/disabledCodeIcon.svg`,Lp=`${e}/layersIcon.svg`,kp=`${e}/status/pendingOnTapIcon.svg`,Bp=`${e}/leadWhiteIcon.svg`,Mp=`${t}/chatDisabledIcon.svg`,Up=`${e}/exclamationDarkIcon.svg`,Dp=`${t}/exclamationWarning.svg`,Wp=`${e}/exclamationError.svg`,Fp=`${e}/exclamationOrangeIcon.svg`,Gp=`${t}/greenCheckV2.svg`,Hp=`${e}/iosIcon1.svg`,Yp=`${e}/androidIcon.svg`,Vp=`${e}/websiteIcon.svg`,zp=`${t}/greyApple.svg`,Kp=`${t}/greyLocationIcon.svg`,qp=`${t}/greyDesktopIcon.svg`,Zp=`${t}/greyTimezone.svg`,Qp=`${t}/safariBrowser.svg`,jp=`${t}/chromeBrowser.svg`,Jp=`${t}/firefoxBrowser.svg`,Xp=`${t}/microsoftBrowser.svg`,ea=`${t}/operaBrowser.svg`,ta=`${t}/braveBrowser.svg`,oa=`${t}/arcBrowser.svg`,na=`${t}/chromiumBrowser.svg`,sa=`${t}/userIcon.svg`,he=`${t}/slaProcess.svg`,me=`${e}/window/slaProcess.svg`,Ae=`${e}/orchestrationApp.svg`,fe=`${e}/window/orchestration.svg`,ca=`${e}/window/orchestrationWindowBg.svg`,Ee=`${e}/lendingApp.svg`,m=`${e}/window/lending.svg`,$e=`${e}/lendingProviderApp.svg`,Te=`${e}/deemaApp.svg`,Se=`${e}/window/deema.svg`,pa=`${e}/fast.svg`,aa=`${e}/bankBlue.svg`,ra=`${e}/mosque.svg`,xa=`${e}/mosqueBlack.svg`,ia=`${e}/moonStar.svg`,da=`${e}/car.svg`,la=`${e}/handCoinsWhite.svg`,ua=`${e}/list.svg`,ga=`${e}/corporateLoan.svg`,Ia=`${e}/corporateLoanBlack.svg`,_e=`${e}/platformApp.svg`,ye=`${e}/window/platform.svg`,Pe=`${e}/osApp.svg`,be=`${e}/window/osApp.svg`,va=`${e}/status/table/abandoned.svg`,ha=`${e}/status/table/cancelled.svg`,ma=`${e}/status/table/captured.svg`,Aa=`${e}/status/table/chargeBack.svg`,fa=`${e}/status/table/chargeBackRequested.svg`,Ea=`${e}/status/table/completed.svg`,$a=`${e}/status/table/declined.svg`,Ta=`${e}/status/table/destinationReversed.svg`,Sa=`${t}/DestinationWithoutBackground.svg`,_a=`${e}/status/table/disputeResolved.svg`,ya=`${e}/status/table/failed.svg`,Pa=`${e}/status/table/failedNoBG.svg`,ba=`${e}/status/table/declinedNoBg.svg`,Ca=`${t}/destinationSuccess.svg`,Ra=`${e}/status/authenticationFailed.svg`,Na=`${e}/status/table/authenticated.svg`,wa=`${e}/paidOutFilterIcon.svg`,Oa=`${e}/completedBlackIcon.svg`,La=`${e}/scheduledFilterIcon.svg`,ka=`${e}/saveTokenIcon.svg`,Ba=`${e}/status/unauthenticated.svg`,Ma=`${e}/status/authenticationAttempted.svg`,Ua=`${e}/status/authenticationNoAuth.svg`,Da=`${e}/status/authenticationDeclined.svg`,Wa=`${e}/status/authenticationExemptedWithoutTransaction1.svg`,Fa=`${e}/status/authenticationExemptedWithTransaction2.svg`,Ga=`${e}/status/authenticationFailed1.svg`,Ha=`${e}/status/authenticationInitiated.svg`,Ya=`${e}/status/authenticationUnavailable.svg`,Va=`${e}/status/authenticationUndetermined.svg`,za=`${e}/status/AuthenticationWithoutTransaction1.svg`,Ka=`${e}/status/authenticationWithTransaction1 2.svg`,qa=`${e}/status/AuthenticationAuthenticated.svg`,Za=`${e}/status/authenticationPending2.svg`,Qa=`${e}/authenticationFailedNoBg.svg`,ja=`${e}/authenticationPendingNoBg.svg`,Ja=`${e}/authenticationNoAuthNoBg.svg`,Xa=`${e}/authenticationAttemptedNoBg.svg`,er=`${e}/authenticationExemptedWithTransactionNoBg.svg`,tr=`${e}/authenticationExemptedWithoutTransactionNoBg.svg`,or=`${e}/authenticationDeclinedNoBg.svg`,nr=`${e}/authenticationUnavailableNoBg.svg`,sr=`${e}/authenticationUndeterminedNoBg.svg`,cr=`${e}/authenticatedSuccessNoBg.svg`,pr=`${e}/authenticationWithTransactionNoBg.svg`,ar=`${e}/authenticationWithoutTransactionNoBg.svg`,rr=`${e}/greyPlusIcon.svg`,xr=`${e}/greyMinusIcon.svg`,ir=`${e}/noPreviewIcon.svg`,dr=`${e}/other/editIcon.svg`,lr=`${t}/viewInvoice.svg`,ur=`${t}/checkoutStatus.svg`,gr=`${t}/checkStatusOutBlue.svg`,Ir=`${t}/checkoutWithMarkStatus.svg`,vr=`${t}/intentExpiredStatus.svg`,hr=`${t}/intentInitiatedStatus.svg`,mr=`${t}/intentCancelledStatus.svg`,Ar=`${t}/intentTransactedStatus.svg`,fr=`${e}/SheetViewUnionIcon.svg`,Er=`${e}/sheetView.svg`,$r=`${e}/abandonedNoBG.svg`,Tr=`${e}/status/table/paidOut.svg`,Sr=`${e}/status/table/reversePayout.svg`,_r=`${e}/status/pendingPayout.svg`,yr=`${t}/whiteCloseIcon.svg`,Pr=`${e}/window/empty.svg`,br=`${e}/loaderWhiteIcon.svg`,Cr=`${t}/reverseActionIcon.svg`,Rr=`${e}/status/authenticationWallet.svg`,Nr=`${e}/status/authenticationApp.svg`,wr=`${e}/status/authenticationBiometric.svg`,Or=`${e}/status/authenticationDevice.svg`,Lr=`${e}/status/authenticationIssuer.svg`,kr=`${e}/status/authenticationScheme.svg`,Br=`${e}/pin.svg`,Mr=`${e}/unpin.svg`,Ur=`${t}/switcher.svg`,Dr=`${e}/closedStatusIcon.svg`,Wr=`${e}/verticalLine.svg`,Fr=`${e}/previewModeIcon.svg`,Gr=`${e}/status/table/tokensSaved.svg`,Hr=`${e}/status/table/tokensTransacted.svg`,Yr=`${e}/status/table/tokensExpired.svg`,Vr=`${e}/status/table/tokensPending.svg`,zr=`${e}/status/table/tokenCardIcon.svg`,Kr=`${t}/TableloadingSpinner.svg`,qr=`${t}/loadingSpinnerWhite.svg`,Zr=`${e}/spinnerLoadingBlue.svg`,Qr=`${e}/backgroundLoader.svg`,jr=`${t}/arrowUpBlue1.svg`,Jr=`${t}/BlueCheckMarkShadowed1.svg`,Xr=`${t}/cardViewButton.svg`,ex=`${t}/listViewButton1.svg`,tx=`${e}/BlueArrowUpIcon.svg`,ox=`${e}/BlueCircleLoaderIcon.svg`,nx=`${e}/appsGridIcon2.svg`,sx=`${e}/whiteFilter.svg`,cx=`${e}/grayCloseIcon.svg`,px=`${e}/status/OrderAgreementIcon.svg`,ax=`${e}/status/InstallmentAgreementIcon.svg`,rx=`${e}/status/CardAgreementIcon.svg`,xx=`${e}/status/SubscriptionAgreementIcon.svg`,ix=`${e}/brandPlaceholder.svg`,dx=`${e}/users-icons.svg`,lx=`${e}/Board-Icons.svg`,ux=`${t}/No Agreement.svg`,Ce=`${e}/window/acceptance.svg`,Re=`${e}/window/wallet.svg`,Ne=`${e}/window/billing.svg`,we=`${e}/window/customers.svg`,Oe=`${e}/window/payout.svg`,Le=`${e}/window/protect.svg`,ke=`${e}/window/tokens.svg`,Be=`${e}/window/account.svg`,Me=`${e}/window/businesses.svg`,Ue=`${e}/window/authentication.svg`,De=`${t}/reportsIcon.svg`,gx=`${e}/window/tokensReports.svg`,Ix=`${e}/window/brand.svg`,vx=`${e}/window/entity.svg`,hx=`${e}/window/bank.svg`,mx=`${e}/window/individual.svg`,Ax=`${e}/window/password.svg`,fx=`${e}/actionsIcon.svg`,Ex=`${e}/addItem.svg`,$x=`${e}/attachIcon.svg`,Tx=`${e}/CollapseArrows.svg`,Sx=`${e}/customerIcon.svg`,_x=`${e}/discountIcon.svg`,yx=`${e}/emailIcon.svg`,Px=`${e}/emailBlackIcon.svg`,bx=`${e}/linkTiltedIcon.svg`,Cx=`${e}/ExpandArrows.svg`,Rx=`${e}/feeIcon.svg`,Nx=`${e}/minusIcon.svg`,wx=`${e}/noteIcon.svg`,Ox=`${e}/pdfGrayIcon.svg`,Lx=`${e}/productLabel.svg`,kx=`${e}/quantityIcon.svg`,Bx=`${e}/removeItem.svg`,Mx=`${t}/removeItem2.svg`,Ux=`${e}/smsIcon.svg`,Dx=`${e}/taxIcon.svg`,Wx=`${e}/totalAmountIcon.svg`,Fx=`${e}/unfocusRemoveItem.svg`,Gx=`${e}/whatsappIcon1.svg`,Hx=`${e}/whiteArrow2.svg`,Yx=`${e}/newInvoice.svg`,Vx=`${e}/activeActionIcon.svg`,zx=`${e}/grayProductLabel.svg`,Kx=`${e}/plusQty.svg`,qx=`${t}/downArrow3.svg`,Zx=`${e}/customer.svg`,Qx=`${t}/note.svg`,jx=`${e}/blueNoteIcon.svg`,Jx=`${t}/attach.svg`,Xx=`${e}/lateFee.svg`,ei=`${e}/addItemIcon.svg`,ti=`${e}/blueCheckIcon.svg`,oi=`${t}/trash-bin.svg`,ni=`${e}/redTrashBin.svg`,si=`${e}/blueVerifyIcon.svg`,ci=`${e}/verificationDarkBlue.svg`,pi=`${e}/grayVerifyIcon.svg`,ai=`${e}/greenVerifyIcon.svg`,ri=`${e}/redVerifyIcon.svg`,xi=`${e}/closedVerifyIcon.svg`,ii=`${e}/archivedVerifyIcon.svg`,di=`${e}/penIcon.svg`,li=`${t}/listShadow.svg`,ui=`${e}/defaultCountryIcon.svg`,gi=`${e}/defaultDeviceIcon.svg`,Ii=`${e}/biometric.svg`,vi=`${e}/3dsBlue.svg`,hi=`${t}/createCharge.svg`,mi=`${t}/successCheck.svg`,Ai=`${t}/receipt.svg`,fi=`${t}/browserTimezone.svg`,Ei=`${t}/entityTimezone.svg`,$i=`${t}/historyTimezone.svg`,Ti=`${t}/smallBlueCheck.svg`,Si=`${t}/fileDownloadBlue.svg`,_i=`${t}/fileDownloadGrey.svg`,yi=`${e}/meta.svg`,Pi=`${e}/darkFilterIcon.svg`,bi=`${e}/resize-icon.svg`,Ci=`${e}/home.svg`,Ri=`${e}/lockIcon.svg`,Ni=`${e}/Calendar.svg`,wi=`${e}/status-v2/autoCapturedNoBG.svg`,Oi=`${e}/status-v2/autoVoidNoBG.svg`,Li=`${e}/status-v2/cancelledNoBG.svg`,ki=`${e}/status-v2/capturedNoBG.svg`,Bi=`${e}/status-v2/declinedNoBG.svg`,Mi=`${e}/status-v2/destinationsNoBG.svg`,Ui=`${e}/status-v2/failedNoBG.svg`,Di=`${e}/status-v2/gatewayOrange.svg`,Wi=`${e}/status-v2/gatewayRedNoBG.svg`,Fi=`${e}/status-v2/paidoutNoBG.svg`,Gi=`${e}/status-v2/refundedIconNoBG2.svg`,Hi=`${e}/status-v2/refundInitiatedNoBG.svg`,Yi=`${e}/status-v2/refundSettledNoBG.svg`,Vi=`${e}/status-v2/refundNotSettledNoBG.svg`,zi=`${e}/status-v2/restrictedNoBG.svg`,Ki=`${e}/status-v2/settledNoBG.svg`,qi=`${e}/status-v2/settlementInitiatedNoBG.svg`,Zi=`${e}/status-v2/timeoutNoBG.svg`,Qi=`${e}/status-v2/unavailableNoBG.svg`,ji=`${e}/status-v2/unknownNoBG.svg`,Ji=`${e}/status-v2/void.svg`,Xi=`${e}/status-v2/authorizeNoBG.svg`,ed=`${e}/status-v2/initiatedNoBG.svg`,td=`${e}/websiteBlueIcon.svg`,od=`${e}/androidAppIcon.svg`,nd=`${e}/iOSAppIcon.svg`,sd=`${e}/physicalLocationIcon.svg`,cd=`${e}/socialLinksIcon.svg`,pd=`${e}/smallLeftArrow.svg`,ad=`${e}/searchBlueIcon.svg`,rd=`${t}/rightLightArrow.svg`,xd=`${t}/segmentInstitution.svg`,id=`${t}/segmentTechnology.svg`,dd=`${t}/segmentDevelopmentHouse.svg`,ld=`${e}/locationIcon.svg`,We=`${t}/terminal.svg`,Fe=`${e}/window/terminal.svg`,ud=`${e}/terminalCardPhone.svg`,gd=`${e}/ToastPOS.svg`,Id=`${e}/terminalTypeIcon.svg`,vd=`${e}/terminalBrush.svg`,hd=`${e}/terminalBrushMuted.svg`,md=`${e}/navigationIcon.svg`,Ad=`${e}/babyBlueCheckIcon.svg`,fd=`${e}/digitalReceiptIcon.svg`,Ed=`${e}/bankNoteIcon.svg`,$d=`${e}/terminalDeviceFrame.svg`,Td=`${e}/blackBrushIcon.svg`,Sd=`${e}/mutedOutlinedCheckIcon.svg`,_d=`${e}/outlinedPlatformIcon.svg`,yd=`${e}/navigationPointerBlack.svg`,Pd=`${e}/addIconWhite.svg`,bd=`${e}/greyUpArrow.svg`,Cd=`${e}/greyDownArrow.svg`,Rd=`${e}/services/brandService.svg`,Nd=`${e}/services/authorizationService.svg`,wd=`${e}/services/chargebacksService.svg`,Od=`${e}/services/chargesService.svg`,Ld=`${e}/services/destinationsService.svg`,kd=`${e}/services/entityService.svg`,Bd=`${e}/services/invoiceService.svg`,Md=`${e}/services/payoutService.svg`,Ud=`${e}/services/refundsService.svg`,Dd=`${e}/services/usersService.svg`,Wd=`${e}/services/walletService.svg`,Fd=`${e}/services/intentsService.svg`,Gd=`${e}/services/insightsService.svg`,Hd=`${e}/services/retailersService.svg`,Yd=`${e}/services/terminalService.svg`,Vd=`${e}/services/createLead.svg`,zd=`${e}/services/viewLead.svg`,Kd=`${e}/archievedOutlined.svg`,qd=`${e}/closeOutlinedCircle.svg`,Zd=`${e}/dashedOutlinedCircle.svg`,Qd=`${e}/deactivatedCircle.svg`,jd=`${e}/deactivatedOutlinedCircleV2.svg`,Jd=`${e}/exclamationOutlinedCircle.svg`,Xd=`${e}/questionOutlinedCircle.svg`,el=`${e}/outlinedCircle.svg`,tl=`${e}/greenCheck2ACE00.svg`,ol=`${e}/blueCopyIcon.svg`,nl=`${e}/blackLinkIcon.svg`,sl=`${e}/blackSettingsIcon.svg`,cl=`${e}/blackWallet.svg`,pl=`${e}/blueGradientBrushIcon.svg`,al=`${e}/gadientLink.svg`,rl=`${e}/blackDeviceIcon.svg`,xl=`${e}/gradientDeviceIcon.svg`,il=`${e}/gradientSettings.svg`,dl=`${e}/gradientWallet.svg`,ll=`${e}/codeIcon.svg`,ul=`${e}/manyCurrencyCoin.svg`,gl=`${e}/manyCurrencyCoinGradient.svg`,Il=`${e}/blackMobileBatteryIcon.svg`,vl=`${e}/blackMobileSignalIcon.svg`,hl=`${e}/emptyMobileWifiIcon.svg`,ml=`${e}/deemaWithLabel.svg`,Al=`${e}/chargeBackWhiteIcon.svg`,fl=`${e}/blackUnLinkIcon.svg`,El=`${e}/sortDescArrowIcon.svg`,$l=`${e}/sortAscArrowIcon.svg`,Tl=`${e}/closedOutlinedYellowCircle.svg`,Sl=`${e}/deactivatedOrangeCircle.svg`,_l=`${e}/deactivatedCircleV2.svg`,yl=`${e}/exclamationOutlinedOrangeCircle.svg`,Pl=`${e}/activeGreenIcon.svg`,bl=`${e}/activeBlue.svg`,Cl=`${e}/inActiveGreyIcon.svg`,Rl=`${Ye}/terminal_link.mp4`,Nl=`${e}/bluePlusIcon.svg`,wl=`${e}/blackSettingsVariant2Icon.svg`,Ol=`${e}/exclamationWhite.svg`,Ll=`${t}/blueCircleWithWhiteCheck.svg`,kl=`${e}/externalLink.svg`,Bl=`${e}/settingsIcon.svg`,Ml=`${e}/flipIcon.svg`,Ul=`${e}/shoppingCart.svg`,Dl=`${e}/verifyAvatar.svg`,Wl=`${e}/helpCircle.svg`,Fl=`${e}/provider/CYBERSOURCE.svg`,Gl=`${e}/provider/MPGS.svg`,Hl=`${e}/provider/NETCETERA.svg`,Yl=`${e}/provider/APPLEPAY.svg`,Vl=`${e}/provider/TAP3DS.svg`,zl=`${e}/provider/BENEFIT_PAY.svg`,Kl=`${e}/provider/BENEFIT.svg`,ql=`${e}/provider/CAREEM_PAY.svg`,Zl=`${e}/provider/DEEMA.svg`,Ql=`${e}/provider/FAWRY.svg`,jl=`${e}/provider/FSS.svg`,Jl=`${e}/provider/KNET.svg`,Xl=`${e}/provider/MEEZA.svg`,eu=`${e}/provider/NGENIUS.svg`,tu=`${e}/provider/NPG.svg`,ou=`${e}/provider/OMAN_NET.svg`,nu=`${e}/provider/PAYPAL.svg`,su=`${e}/provider/POSTPAY.svg`,cu=`${e}/provider/QPAY.svg`,pu=`${e}/provider/SPG.svg`,au=`${e}/provider/STC_PAY.svg`,ru=`${e}/provider/TABBY.svg`,xu=`${e}/provider/TAMARA.svg`,iu=`${e}/provider/TPAY.svg`,du=`${e}/provider/TPG.svg`,lu=`${e}/downloadBlue.svg`,uu=`${e}/eyeBlue.svg`,gu=`${e}/fastBlack.svg`,Iu=`${e}/repeat.svg`,vu=`${e}/shield.svg`,hu=`${e}/fileMinus.svg`,mu=`${e}/percent.svg`,Au=`${e}/cardUpload.svg`,fu=`${e}/startConnector.svg`,Eu=`${e}/endConnector.svg`,$u=`${e}/spark.svg`,Tu=`${e}/filledConnector.svg`,Su=`${e}/dottedConnector.svg`,_u=`${e}/play.svg`,yu=`${e}/merchantAttributes.svg`,Pu=`${e}/issuerAttributes.svg`,bu=`${e}/refresh.svg`,Cu=`${e}/riskAttributes.svg`,Ru=`${e}/exclude.svg`,Nu=`${e}/earlySettlements.svg`,wu=`${e}/financedBy.svg`,Ou=`${e}/financeFeatures.svg`,Lu=`${e}/loanAmount.svg`,ku=`${e}/murabhaFinance.svg`,Bu=`${e}/testimonial.svg`,Mu=`${f}/bulk-refund-template.xlsx`,Uu=`${f}/bulk-invoice-template.xlsx`,Du=`${e}/emptyCopyIcon.svg`,Wu=`${e}/deactiveIcon.svg`,Fu=`${e}/disableIcon.svg`,Gu=`${e}/extendIcon.svg`,Hu=`${e}/payers.svg`,Yu=`${e}/gatewayIcon.svg`;var zu=3,ze=88,Ke=24,Ku="32px";var n={view:{code:"VIEW"},sandbox:{code:"SANDBOX"},jsonApi:{code:"JSON API"},reports:{code:"REPORTS"}},qe={updateMerchant:{code:"UPDATE_MERCHANT"},activateMarketplace:{code:"ACTIVATE_MARKETPLACE"},updateWallet:{code:"UPDATE_WALLET"},updateRisk:{code:"UPDATE_RISK"}},a={updateEntity:{code:"UPDATE ENTITY"},updateBrand:{code:"UPDATE BRAND"},updateUsers:{code:"UPDATE USERS"},createUsers:{code:"CREATE USERS"},updateShareholder:{code:"UPDATE_SHAREHOLDER"},assign:{code:"ASSIGN"},updatePoc:{code:"UPDATE_POC"},...qe},r={review:{code:"REVIEW"},verify:{code:"VERIFY"},reject:{code:"REJECT"},statusControl:{code:"STATUS_CONTROL"}},d={viewOperator:{code:"VIEW_OPERATOR"},createOperator:{code:"CREATE_OPERATOR"}},o={tokens:{code:"TOKEN",services:{tokens:{code:"TOKENS",functions:{...n}}}},billing:{code:"BILLING",services:{insights:{code:"INSIGHTS"},invoices:{code:"INVOICES",functions:{...n,create:{code:"CREATE"},cancel:{code:"CANCEL"},reminder:{code:"REMINDER"},finalize:{code:"FINALIZE"},refund:{code:"REFUND"},createBulk:{code:"CREATE_BULK_INVOICES"},usersList:{code:"USER_LIST"}}}}},business:{code:"BUSINESS",services:{merchant:{code:"MERCHANT",functions:{...n,...a,...r,businessProfile:{code:"BUSINESS_PROFILE"}}},retailer:{code:"RETAILER",functions:{...n,...a,...r}},businesses:{code:"BUSINESS",functions:{...n,update:{code:"UPDATE"}}}}},acceptance:{code:"ACCEPTANCE",services:{insights:{code:"INSIGHTS",functions:{...n,performanceOverview:{code:"PERFORMANCE_OVERVIEW"},performanceActivity:{code:"PERFORMANCE_ACTIVITY"},performanceHeatmap:{code:"PERFORMANCE_HEATMAP"},chargeStatus:{code:"CHARGE_STATUS"},chargeAcceptanceRate:{code:"CHARGE_ACCEPTANCE_RATE"}}},intents:{code:"INTENTS",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"}}},authorization:{code:"AUTHORIZATIONS",functions:{...n,void:{code:"VOID"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}},charges:{code:"CHARGES",functions:{...n,flagBalance:{code:"FLAG BALANCE"},releaseBalance:{code:"RELEASE BALANCE"},refund:{code:"REFUND"},charge:{code:"CHARGE"},flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},createCharge:{code:"CREATE_CHARGE"},viewReceipt:{code:"RECEIPT"}}},destinations:{code:"DESTINATIONS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},topups:{code:"TOPUPS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},releaseBalance:{code:"RELEASE BALANCE"},flagBalance:{code:"FLAG BALANCE"}}},refunds:{code:"REFUNDS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"},cancel:{code:"CANCEL"},viewReceipt:{code:"RECEIPT"},bulkRefund:{code:"BULK_REFUND"}}},chargeback:{code:"CHARGEBACKS"},settlements:{code:"SETTLEMENTS",functions:{...n}},disputes:{code:"DISPUTES"}}},wallet:{code:"WALLET",services:{insights:{code:"INSIGHTS"},businesses:{code:"BUSINESS_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailers:{code:"RETAILER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},customers:{code:"CUSTOMER_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},merchants:{code:"MERCHANT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentTechnology:{code:"PAYMENT_TECHNOLOGY_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},financialInstitution:{code:"FINANCIAL_INSTITUTION_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},retailCommerce:{code:"RETAIL_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},app:{code:"APP_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},billing:{code:"BILLING_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},onlineCommerce:{code:"ONLINE_COMMERCE_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},paymentFacilitator:{code:"PAYMENT_FACILITATOR_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}},development:{code:"DEVELOPMENT_WALLET",functions:{...n,statement:{code:"STATEMENT"},summary:{code:"SUMMARY"}}}}},payouts:{code:"PAYOUT",services:{payouts:{code:"PAYOUTS",functions:{...n,bulkReports:{code:"BULK_REPORTS"},flag:{code:"FLAG"}}},reversePayout:{code:"REVERSEPAYOUT"},retailerPayout:{code:"RETAILER_PAYOUTS"},merchantPayout:{code:"MERCHANT_PAYOUTS"}}},protect:{code:"PROTECT",services:{authorizationsFlags:{code:"AUTHORIZE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}},chargesFlags:{code:"CHARGE",functions:{...n,releaseFlag:{code:"RELEASE FLAG"}}}}},authentication:{code:"AUTHENTICATION",services:{insights:{code:"INSIGHTS"},authentication:{code:"AUTHENTICATION",functions:{...n}},saveTokens:{code:"SAVE_TOKENS",functions:{...n}},charges:{code:"CHARGES",functions:{...n}},authorizations:{code:"AUTHORISATIONS",functions:{...n}}}},customers:{code:"CUSTOMER"},businesses:{code:"BUSINESS",services:{businesses:{code:"BUSINESSES"}}},reports:{code:"REPORTS",services:{reports:{code:"REPORTS"}}},upload:{code:"UPLOAD",services:{upload:{code:"UPLOAD"}}},paylink:{code:"PAYLINK",services:{links:{code:"LINKS",functions:{...n,create:{code:"CREATE"}}}}},account:{code:"ACCOUNT",services:{account:{code:"ACCOUNT"},users:{code:"USERS",functions:{list:{code:"LIST"},create:{code:"CREATE"},update:{code:"UPDATE"}}},operators:{code:"OPERATORS",functions:{list:{code:"LIST"},copy:{code:"COPY"}}},entity:{code:"ENTITY",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},brands:{code:"BRAND",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}},shareholders:{code:"SHAREHOLDERS",functions:{view:{code:"VIEW"},create:{code:"CREATE"},update:{code:"UPDATE"}}},walletSettings:{code:"WALLET_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},order:{code:"ORDER",services:{orders:{code:"ORDERS",functions:{...n,flag:{code:"FLAG"},releaseFlag:{code:"RELEASE FLAG"}}}}},leads:{code:"LEAD",services:{merchantLead:{code:"MERCHANT_LEAD",functions:{...n,convert:{code:"CONVERT"},close:{code:"CLOSE"},update:{code:"UPDATE"},connect:{code:"CONNECT"},create:{code:"CREATE"}}},retailerLead:{code:"RETAILER_LEAD",functions:{...n,update:{code:"UPDATE"},close:{code:"CLOSE"},convert:{code:"CONVERT"},create:{code:"CREATE"}}}}},terminals:{code:"TERMINALS",services:{create:{code:"CREATE"},view:{code:"VIEW"},update:{code:"UPDATE"},deactivate:{code:"DEACTIVATE"}}},slaProcess:{code:"SLA_PROCESS"},orchestration:{code:"ORCHESTRATION",services:{routing:{code:"ROUTING",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},gatewayTerminals:{code:"GATEWAY_TERMINALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},credentials:{code:"CREDENTIALS",functions:{...n,create:{code:"CREATE"},update:{code:"UPDATE"}}},orchestrationSettings:{code:"ORCHESTRATION_SETTINGS",functions:{view:{code:"VIEW"},update:{code:"UPDATE"}}}}},lending:{code:"LENDING"},lendingProvider:{code:"LENDING_PROVIDER"},deema:{code:"DEEMA"},osApp:{code:"OS_APP"},platform:{code:"PLATFORM",services:{platform:{code:"PLATFORM",functions:{...n,...a,...r,...d}},onlineCommerce:{code:"ONLINE_COMMERCE",functions:{...n,...a,...r,...d}},retailCommerce:{code:"RETAIL_COMMERCE",functions:{...n,...a,...r,...d}},app:{code:"APP",functions:{...n,...a,...r,...d}},billing:{code:"BILLING",functions:{...n,...a,...r,...d}}}}},Qu={general:{height:`calc(100vh - ${Number(88)+Number(24)}px)`,minWidth:780,maxWidth:1200,minHeight:"50vh",maxHeight:"100vh"},[o.reports.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.upload.code]:{width:700,minWidth:700,maxWidth:"unset",maxHeight:"unset",height:652},[o.billing.code]:{minWidth:856},[o.paylink.code]:{minWidth:856},[o.business.code]:{width:1400,maxWidth:1400}},ju=[{code:o.tokens.code,iconUrl:$,toolbarIconUrl:ke},{code:o.billing.code,iconUrl:l,toolbarIconUrl:Ne},{code:o.acceptance.code,iconUrl:u,toolbarIconUrl:Ce},{code:o.wallet.code,iconUrl:I,toolbarIconUrl:Re},{code:o.payouts.code,iconUrl:v,toolbarIconUrl:Oe},{code:o.protect.code,iconUrl:T,toolbarIconUrl:Le},{code:o.authentication.code,iconUrl:g,toolbarIconUrl:Ue},{code:o.customers.code,iconUrl:S,toolbarIconUrl:we},{code:o.businesses.code,iconUrl:_,toolbarIconUrl:Me},{code:o.reports.code,iconUrl:le,toolbarIconUrl:De},{code:o.upload.code,iconUrl:re,toolbarIconUrl:ae},{code:o.paylink.code,iconUrl:ie,toolbarIconUrl:xe},{code:o.account.code,iconUrl:y,toolbarIconUrl:Be},{code:o.order.code,iconUrl:Ie,toolbarIconUrl:ve},{code:o.leads.code,iconUrl:ue,toolbarIconUrl:ge},{code:o.terminals.code,iconUrl:We,toolbarIconUrl:Fe},{code:o.slaProcess.code,iconUrl:he,toolbarIconUrl:me},{code:o.orchestration.code,iconUrl:Ae,toolbarIconUrl:fe},{code:o.lending.code,iconUrl:Ee,toolbarIconUrl:m},{code:o.lendingProvider.code,iconUrl:$e,toolbarIconUrl:m},{code:o.deema.code,iconUrl:Te,toolbarIconUrl:Se},{code:o.platform.code,iconUrl:_e,toolbarIconUrl:ye},{code:o.osApp.code,iconUrl:Pe,toolbarIconUrl:be}],Ju=["login"];var Ge=window.__GLOBAL_CONFIG__??{},Ze=Ge.MW_BASE_URL??import.meta.env.VITE_BASE_URL,eg=`${Ze}/api`,tg=import.meta.env.VITE_ENV,og=import.meta.env.VITE_TEST_FIXED_SK,ng=Ge.HOST_APP_NAME??import.meta.env.VITE_HOST_APP_NAME,sg={TAPSTERS_FRONTEND:"tapsters-frontend",OS_FRONTEND:"os-frontend"};var pg=["FAILED","DECLINED","RESTRICTED","TIMEDOUT","UNKNOWN","INITIATED","CANCELLED","ABANDONED"];var rg={intents:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},authorization:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},charges:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},destinations:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},topups:{color:"#8D8D94",background:"rgba(141, 141, 148, 0.10)"},refunds:{color:"#4E1FD0",background:"rgba(78, 31, 208, 0.10)"},chargebacks:{color:"#F00",background:"rgba(255, 0, 0, 0.10)"},settlements:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},disputes:{color:"#1F88D0",border:"0.75px solid #E9F3FA",background:"#FFF"},payouts:{color:"#1F88D0",background:"rgba(31, 136, 208, 0.10)"},statement:{color:"#2ACE00",background:"rgba(42, 206, 0, 0.10)"},invoices:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"},links:{color:"#FF4D00",background:"rgba(255, 77, 0, 0.10)"}};var ig=50,dg={AuthorizationsList:{limit:50},ChargesList:{limit:50},DestinationsList:{limit:50,destinationsLimit:20},IntentsList:{limit:50},RefundsList:{limit:50},SettlementsList:{limit:50},TopupsList:{limit:50},AuthenticationsList:{limit:25},InvoicesList:{limit:50},LeadsList:{limit:50,page_no:1},OrdersList:{limit:50},PayoutsList:{limit:50},TokensList:{limit:50},WalletsList:{limit:50,page:1},brands:{limit:50},MerchantsList:{limit:50},TerminalDevices:{limit:50}};var ug="TAPOS_MW_MERCHANT_OR_RETAILER_REQUIRED";var Ig={id:{default:"180px",text:"180px",sheet:"180px"},merchant:{default:"115px",text:"150px",sheet:"138px"},brand:{default:"125px",text:"116px",sheet:"116px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"90px",text:"250px",sheet:"250px"},provider:{default:"102px",text:"102px",sheet:"102px"},purpose:{default:"126px",text:"126px",sheet:"126px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"175px",text:"175px",sheet:"175px"},status:{default:"86px",text:"250px",sheet:"250px"},authentication_id:{default:"260px",text:"320px",sheet:"320px"},charge_id:{default:"245px",text:"290px",sheet:"290px"},actions:{default:"100px",text:"100px",sheet:"100px"},date:{default:"150px",text:"170px",sheet:"130px"},channel:{default:"100px",text:"100px",sheet:"100px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"}};var hg={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},auto:{default:"70px",text:"90px",sheet:"90px"},balance:{default:"60px",text:"60px",sheet:"150px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},reference:{default:"95px",text:"180px",sheet:"180px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"230px"},amount:{default:"130px",text:"195px",sheet:"150px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"100px",sheet:"300px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"150px"},metadata:{default:"185px",text:"185px",sheet:"250px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"80px",text:"100px",sheet:"100px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},transaction_id:{default:"120px",text:"120px",sheet:"315px"},device:{default:"60px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"140px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},card_number:{default:"120px",text:"120px",sheet:"155px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"}};var Ag={code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},id:{default:"205px",text:"225px",sheet:"250px"},product:{default:"85px",text:"85px",sheet:"85px"},date:{default:"150px",text:"170px",sheet:"130px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},source:{default:"70px",text:"125px",sheet:"1250px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"150px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"170px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"550px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"70px",text:"300px",sheet:"170px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},payout_status:{default:"70px",text:"70px",sheet:"130px"},merchant:{default:"115px",text:"150px",sheet:"138px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},receipt:{default:"85px",text:"150px",sheet:"165px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},device:{default:"70px",text:"190px",sheet:"235px"},card_no:{default:"120px",text:"120px",sheet:"200px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},brand:{default:"125px",text:"116px",sheet:"116px"}};var Eg={id:{default:"205px",text:"225px",sheet:"250px"},reference_order:{default:"95px",text:"180px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},created:{default:"150px",text:"170px",sheet:"130px"},receipt:{default:"85px",text:"150px",sheet:"165px"},reference:{default:"95px",text:"180px",sheet:"250px"},auth_code_reference:{default:"155px",text:"180px",sheet:"250px"},order:{default:"80px",text:"80px",sheet:"80px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},chargeId:{default:"225px",text:"225px",sheet:"225px"},chargeDate:{default:"150px",text:"150px",sheet:"130px"},device:{default:"70px",text:"250px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"55px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"165px"},amount:{default:"130px",text:"195px",sheet:"150px"},status:{default:"70px",text:"100px",sheet:"170px"},chargeStatus:{default:"150px",text:"250px",sheet:"250px"},merchant:{default:"115px",text:"150px",sheet:"138px"},actions:{default:"100px",text:"100px",sheet:"85px"},destination:{default:"100px",text:"100px",sheet:"100px"},retailer:{default:"100px",text:"100px",sheet:"100px"},payout:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"125px",text:"116px",sheet:"116px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},card_number:{default:"120px",text:"120px",sheet:"155px"},card_no:{default:"120px",text:"120px",sheet:"200px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},code:{default:"90px",text:"90px",sheet:"90px"},message:{default:"160px",text:"160px",sheet:"160px"},product:{default:"85px",text:"85px",sheet:"85px"},destinations:{default:"90px",text:"240px",sheet:"340px"},topup:{default:"20px",text:"95px",sheet:"95px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"},charge:{default:"150px",text:"150px",sheet:"150px"},track:{default:"220px",text:"220px",sheet:"220px"},payment:{default:"150px",text:"150px",sheet:"150px"},fees:{default:"150px",text:"150px",sheet:"170px"},invoice_reference:{default:"185px",text:"180px",sheet:"275px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"130px",text:"130px",sheet:"130px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"100px"},rrn:{default:"100px",text:"100px",sheet:"105px"},meta:{default:"80px",text:"52px",sheet:"275px"},action_icon:{default:"30px",text:"30px",sheet:"30px"},consolidated_amount:{default:"180px",text:"180px",sheet:"150px"},customer_amount:{default:"150px",text:"150px",sheet:"150px"},charge_amount:{default:"150px",text:"150px",sheet:"150px"},settlement_amount:{default:"150px",text:"150px",sheet:"150px"},acquirer_ref:{default:"125px",text:"125px",sheet:"145px"},order_ref:{default:"200px",text:"200px",sheet:"220px"},payment_ref:{default:"150px",text:"150px",sheet:"170px"},generic_ref:{default:"125px",text:"125px",sheet:"145px"},payout_status:{default:"70px",text:"120px",sheet:"130px"},reference_transfer:{default:"205px",text:"225px",sheet:"250px"}};var Tg={created:{default:"170px",text:"170px",sheet:"170px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"195px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var _g={id:{default:"180px",text:"180px",sheet:"180px"},link:{default:"145px",text:"145px",sheet:"350px"},date:{default:"150px",text:"150px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"260px"},customer:{default:"180px",text:"180px",sheet:"180px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},merchant:{default:"180px",text:"180px",sheet:"92px"},amount:{default:"195px",text:"195px",sheet:"150px"},channel:{default:"90px",text:"90px",sheet:"156px"},due:{default:"92px",text:"340px",sheet:"108px"},status:{default:"90px",text:"170px",sheet:"170px"},actions:{default:"100px",text:"100px",sheet:"100px"},paymentMethod:{default:"110px",text:"130px",sheet:"122px"},cardNo:{default:"130px",text:"130px",sheet:"130px"},chargeId:{default:"225px",text:"225px",sheet:"230px"},receiptId:{default:"180px",text:"180px",sheet:"180px"},reference_no:{default:"225px",text:"225px",sheet:"225px"},invoice_number:{default:"160px",text:"160px",sheet:"160px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},metadata:{default:"180px",text:"180px",sheet:"180px"}};var Pg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},brand:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Cg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},authenticate:{default:"150px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Ng={id:{default:"225px",text:"225px",sheet:"225px"},date:{default:"150px",text:"150px",sheet:"150px"},wallet:{default:"150px",text:"250px",sheet:"250px"},bankAccount:{default:"240px",text:"250px",sheet:"250px"},amount:{default:"210px",text:"210px",sheet:"210px"},status:{default:"51px",text:"250px",sheet:"250px"},report:{default:"56px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"100px"},referenceId:{default:"72px",text:"140px",sheet:"100px"},currency:{default:"80px",text:"80px",sheet:"80px"},beneficiary_name:{default:"180px",text:"180px",sheet:"180px"}};var Og={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},auto:{default:"150px",text:"250px",sheet:"250px"},balance:{default:"50px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var kg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},destinations:{default:"70px",text:"240px",sheet:"240px"},topup:{default:"20px",text:"95px",sheet:"95px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Mg={charge_id:{default:"240px",text:"240px",sheet:"240px"},id:{default:"205px",text:"225px",sheet:"250px"},date:{default:"150px",text:"170px",sheet:"130px"},order:{default:"80px",text:"80px",sheet:"80px"},product:{default:"85px",text:"85px",sheet:"85px"},customer:{default:"140px",text:"180px",sheet:"600px"},customer_id:{default:"180px",text:"180px",sheet:"270px"},customer_name:{default:"180px",text:"180px",sheet:"155px"},customer_email:{default:"180px",text:"180px",sheet:"200px"},customer_phone:{default:"180px",text:"180px",sheet:"150px"},device:{default:"100px",text:"200px",sheet:"235px"},source:{default:"70px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"200px",sheet:"200px"},payment_agreement:{default:"50px",text:"200px",sheet:"165px"},payment_initiated:{default:"150px",text:"150px",sheet:"150px"},payment_issuers:{default:"150px",text:"150px",sheet:"430px"},payment_method:{default:"150px",text:"150px",sheet:"145px"},payment_type:{default:"150px",text:"150px",sheet:"120px"},payment_scheme:{default:"150px",text:"150px",sheet:"145px"},auth_status:{default:"150px",text:"150px",sheet:"165px"},auth_type:{default:"150px",text:"150px",sheet:"155px"},eci:{default:"150px",text:"150px",sheet:"72px"},amount:{default:"130px",text:"195px",sheet:"150px"},payouts:{default:"195px",text:"195px",sheet:"300px"},reason:{default:"170px",text:"240px",sheet:"160px"},destinations:{default:"70px",text:"240px",sheet:"340px"},balance:{default:"110px",text:"150px",sheet:"150px"},status:{default:"100px",text:"100px",sheet:"170px"},merchant:{default:"115px",text:"150px",sheet:"138px"},reference:{default:"95px",text:"180px",sheet:"250px"},fees:{default:"100px",text:"200px",sheet:"200px"},metadata:{default:"185px",text:"180px",sheet:"180px"},settlement:{default:"200px",text:"200px",sheet:"200px"},gateway:{default:"180px",text:"180px",sheet:"180px"},actions:{default:"100px",text:"100px",sheet:"85px"},payment_id:{default:"150px",text:"150px",sheet:"150px"},auth_code:{default:"80px",text:"80px",sheet:"80px"},rrn:{default:"100px",text:"100px",sheet:"100px"},receipt_id:{default:"100px",text:"150px",sheet:"150px"},card_no:{default:"120px",text:"120px",sheet:"200px"},card_number:{default:"120px",text:"120px",sheet:"155px"},name_on_card:{default:"120px",text:"120px",sheet:"270px"},meta:{default:"52px",text:"52px",sheet:"52px"},charge_meta:{default:"100px",text:"100px",sheet:"250px"},brand:{default:"125px",text:"116px",sheet:"116px"},issuer_response:{default:"70px",text:"70px",sheet:"270px"},acquirer_response:{default:"70px",text:"70px",sheet:"253px"}};var Dg={id:{default:"180px",text:"180px",sheet:"180px"},payouts:{default:"150px",text:"250px",sheet:"250px"},reference:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"100px"},device:{default:"150px",text:"250px",sheet:"250px"},source:{default:"70px",text:"125px",sheet:"125px"},purpose:{default:"150px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Fg={id:{default:"180px",text:"180px",sheet:"180px"},created:{default:"170px",text:"170px",sheet:"170px"},charge_order:{default:"150px",text:"250px",sheet:"250px"},customer:{default:"180px",text:"180px",sheet:"180px"},device:{default:"150px",text:"250px",sheet:"250px"},amount:{default:"195px",text:"195px",sheet:"195px"},source:{default:"94px",text:"125px",sheet:"125px"},authenticate:{default:"18px",text:"250px",sheet:"250px"},payment_agreement:{default:"50px",text:"250px",sheet:"250px"},status:{default:"150px",text:"250px",sheet:"250px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Hg={id:{default:"180px",text:"180px",sheet:"180px"},type:{default:"150px",text:"250px",sheet:"250px"},wallet:{default:"150px",text:"250px",sheet:"250px"},source:{default:"92px",text:"125px",sheet:"125px"},amount:{default:"195px",text:"195px",sheet:"195px"},actions:{default:"100px",text:"100px",sheet:"100px"}};var Vg={id:{default:"180px",text:"180px",sheet:"180px"},amount:{default:"220px",text:"220px",sheet:"220px"},actions:{default:"70px",text:"70px",sheet:"70px"},date:{default:"130px",text:"130px",sheet:"130px"},description:{default:"210px",text:"210px",sheet:"210px"},transactions:{default:"90px",text:"90px",sheet:"90px"}};var Kg={id:{default:"225px",text:"225px",sheet:"225px"},postdate:{default:"170px",text:"170px",sheet:"170px"},date:{default:"110px",text:"110px",sheet:"110px"},description:{default:"210px",text:"210px",sheet:"210px"},receipt:{default:"80px",text:"150px",sheet:"150px"},authenticate:{default:"70px",text:"100px",sheet:"100px"},debit:{default:"400px",text:"400px",sheet:"400px"},source:{default:"75px",text:"125px",sheet:"125px"},actions:{default:"100px",text:"100px",sheet:"100px"},amount:{default:"195px",text:"195px",sheet:"195px"},reference:{default:"95px",text:"110px",sheet:"110px"},card:{default:"120px",text:"120px",sheet:"120px"}};var Zg={id:{default:"225px",text:"225px",sheet:"220px"},lead_id:{default:"180px",text:"180px",sheet:"220px"},merchant_id:{default:"180px",text:"180px",sheet:"220px"},brand_id:{default:"180px",text:"180px",sheet:"220px"},individual_email:{default:"180px",text:"180px",sheet:"250px"},personal_id_type:{default:"180px",text:"180px",sheet:"220px"},wallet_currency:{default:"120px",text:"180px",sheet:"140px"},tax_number:{default:"180px",text:"180px",sheet:"140px"},wallet_id:{default:"180px",text:"180px",sheet:"220px"},business_id:{default:"180px",text:"180px",sheet:"220px"},board_id:{default:"180px",text:"180px",sheet:"220px"},history:{default:"180px",text:"180px",sheet:"130px"},bank_account:{default:"120px",text:"180px",sheet:"110px"},individual_phone_number:{default:"180px",text:"180px",sheet:"190px"},entity_legal_name:{default:"180px",text:"180px",sheet:"250px"},entity_id:{default:"180px",text:"180px",sheet:"220px"},entity:{default:"146px",text:"180px",sheet:"250px"},created:{default:"172px",text:"172px",sheet:"172px"},brands:{default:"140px",text:"140px",sheet:"250px"},marketplace:{default:"110px",text:"110px",sheet:"104px"},individuals:{default:"128px",text:"185px",sheet:"203px"},identification_number:{default:"150px",text:"150px",sheet:"150px"},segments:{default:"70px",text:"180px",sheet:"180px"},psp:{default:"62px",text:"180px",sheet:"180px"},status:{default:"64px",text:"100px",sheet:"172px"},partners:{default:"77px",text:"100px",sheet:"100px"},actions:{default:"100px",text:"100px",sheet:"70px"},avatar:{default:"40px",text:"40px",sheet:"40px"},user_name:{default:"150px",text:"180px",sheet:"180px"},channels:{default:"80px",text:"120px",sheet:"440px"},merchant:{default:"167px",text:"180px",sheet:"167px"},business_name:{default:"220px",text:"220px",sheet:"220px"},apps:{default:"120px",text:"120px",sheet:"120px"},assignee:{default:"96px",text:"100px",sheet:"172px"},team:{default:"88px",text:"100px",sheet:"172px"}};var jg={device:{default:"120px",text:"120px",sheet:"120px"},terminalId:{default:"100px",text:"100px",sheet:"100px"},merchantId:{default:"120px",text:"120px",sheet:"120px"},type:{default:"80px",text:"80px",sheet:"80px"},platform:{default:"100px",text:"100px",sheet:"100px"},branding:{default:"80px",text:"80px",sheet:"80px"},features:{default:"100px",text:"100px",sheet:"100px"},acceptance:{default:"80px",text:"80px",sheet:"80px"},brand:{default:"80px",text:"80px",sheet:"80px"},address:{default:"160px",text:"160px",sheet:"160px"},status:{default:"80px",text:"80px",sheet:"80px"},actions:{default:"80px",text:"80px",sheet:"80px"},charges:{default:"180px",text:"180px",sheet:"180px"},chargesTransactions:{default:"70px",text:"70px",sheet:"70px"}};var Xg={id:{default:"111px",text:"111px",sheet:"215px"},acquirer_id:{default:"197px",text:"197px",sheet:"197px"},provider_id:{default:"88px",text:"88px",sheet:"88px"},merchant_id:{default:"160px",text:"160px",sheet:"160px"},acquirer_merchant_id:{default:"180px",text:"180px",sheet:"180px"},acceptance_mode:{default:"132px",text:"132px",sheet:"132px"},transaction_source:{default:"136px",text:"136px",sheet:"132px"},transaction_mode:{default:"132px",text:"132px",sheet:"132px"},charge_currency:{default:"132px",text:"132px",sheet:"132px"},settle_currency:{default:"120px",text:"120px",sheet:"120px"},gateway_type:{default:"132px",text:"132px",sheet:"100px"},gateway:{default:"150px",text:"150px",sheet:"150px"},three_ds:{default:"120px",text:"120px",sheet:"150px"},status:{default:"149px",text:"149px",sheet:"100px"},live_mode:{default:"100px",text:"100px",sheet:"100px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var t0={id:{default:"112px",text:"112px",sheet:"215px"},name:{default:"225px",text:"225px",sheet:"180px"},terminal_id:{default:"118px",text:"118px",sheet:"160px"},rank:{default:"66px",text:"66px",sheet:"88px"},acceptance_rate:{default:"107px",text:"107px",sheet:"132px"},route_issuer_scheme:{default:"112px",text:"112px",sheet:"140px"},acceptance_mode:{default:"132px",text:"132px",sheet:"140px"},transaction_mode:{default:"128px",text:"128px",sheet:"140px"},active:{default:"87px",text:"87px",sheet:"120px"},add_time:{default:"160px",text:"160px",sheet:"160px"},mod_time:{default:"160px",text:"160px",sheet:"160px"},live_mode:{default:"100px",text:"100px",sheet:"110px"},status:{default:"112px",text:"112px",sheet:"140px"},route_ref:{default:"140px",text:"140px",sheet:"160px"},filter_usage:{default:"110px",text:"110px",sheet:"120px"},route_issuer_id:{default:"140px",text:"140px",sheet:"160px"},route_issuer_bin:{default:"140px",text:"140px",sheet:"160px"},route_issuer_brand:{default:"140px",text:"140px",sheet:"160px"},route_issuer_category:{default:"150px",text:"150px",sheet:"170px"},route_issuer_country:{default:"150px",text:"150px",sheet:"170px"},route_issuer_type:{default:"140px",text:"140px",sheet:"160px"},route_merchant:{default:"150px",text:"150px",sheet:"170px"},route_merchant_bank:{default:"150px",text:"150px",sheet:"170px"},route_merchant_country:{default:"150px",text:"150px",sheet:"170px"},route_merchant_currency:{default:"150px",text:"150px",sheet:"170px"},route_merchant_mcc:{default:"140px",text:"140px",sheet:"160px"},route_merchant_sector:{default:"150px",text:"150px",sheet:"170px"},route_transaction_currency:{default:"160px",text:"160px",sheet:"180px"},route_keywords:{default:"160px",text:"160px",sheet:"180px"},keyword_usage:{default:"150px",text:"150px",sheet:"170px"},exclude_condition:{default:"140px",text:"140px",sheet:"140px"},exclude_issuer_scheme:{default:"156px",text:"156px",sheet:"160px"},exclude_issuer_bin:{default:"150px",text:"150px",sheet:"160px"},exclude_issuer_country:{default:"160px",text:"160px",sheet:"170px"},exclude_issuer_type:{default:"150px",text:"150px",sheet:"160px"},exclude_route_merchant:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_mcc:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_country:{default:"177px",text:"177px",sheet:"180px"},exclude_merchant_currency:{default:"183px",text:"183px",sheet:"180px"},exclude_merchant_bank:{default:"160px",text:"160px",sheet:"170px"},exclude_merchant_sector:{default:"170px",text:"170px",sheet:"180px"},actions:{default:"60px",text:"60px",sheet:"60px"}};var Qe={AE:"UTC +04:00",SA:"UTC +03:00",KW:"UTC +03:00",OM:"UTC +04:00",YM:"UTC +03:00",EG:"UTC +03:00",BH:"UTC +03:00",JO:"UTC +03:00",LB:"UTC +03:00",QA:"UTC +03:00",GB:"UTC +01:00",IE:"UTC +01:00",FR:"UTC +02:00",NL:"UTC +02:00",DE:"UTC +02:00",ES:"UTC +02:00",IT:"UTC +02:00",PK:"UTC +05:00",IN:"UTC +05:00",SG:"UTC +08:00",US:"UTC -05:00",UTC:"UTC +00:00"},n0=Qe.UTC,s0="SA",c0="Asia/Riyadh",p0="Saudi Arabia",a0=60;var x0=.5,i0=183,d0=287,l0=840,u0=545;var I0={SAR:{decimals:2,country:"SA"},BHD:{decimals:3,country:"BH"},EGP:{decimals:2,country:"EG"},JOD:{decimals:3,country:"JO"},KWD:{decimals:3,country:"KW"},LBP:{decimals:2,country:"LB"},OMR:{decimals:3,country:"OM"},AED:{decimals:2,country:"AE"},PKR:{decimals:2,country:"PK"},INR:{decimals:2,country:"IN"},SGD:{decimals:2,country:"SG"},USD:{decimals:2,country:"US"},GBP:{decimals:2,country:"GB"},EUR:{decimals:2,country:"GR"},QAR:{decimals:2,country:"QA"}},v0=["SAR","KWD","OMR","EGP","BHD","USD","AED","QAR","PKR","JOD","EUR","INR","GBP"],h0={regional:["SAR","KWD","OMR","EGP","BHD","AED","QAR","JOD"],global:["USD","GBP","EUR","PKR","INR"]};var A0=52,f0=70,E0=57,$0=200,T0=5,S0=40,_0=20,y0=28;var b0={COUNT:"count",AMOUNT:"amount"},C0={count:"transaction",amount:"amount"};var x={DEVICE:`${e}/device.svg`,CARD:`${e}/payment-method/card.svg`,PASS_THRU_WALLET:`${e}/passThruWallet.svg`,EXPRESS_CHECKOUT:`${e}/express_checkout.svg`,STORED_VALUE_WALLET:`${e}/storedValueWallet.svg`,CASH_WALLET:`${e}/cash.svg`,BUY_NOW_PAY_LATER:`${e}/buyNowPayLater.svg`},w0=[{name:"CARD",label:"Card",icon:x.CARD},{name:"EXPRESS",label:"Express Checkout",icon:x.EXPRESS_CHECKOUT},{name:"DEVICE",label:"Device",icon:x.DEVICE},{name:"PT_WALLET",label:"Pass-Thru Wallet",icon:x.PASS_THRU_WALLET},{name:"SV_WALLET",label:"Stored Value Wallet",icon:x.STORED_VALUE_WALLET},{name:"BNPL",label:"Buy Now Pay Later",icon:x.BUY_NOW_PAY_LATER},{name:"CASH",label:"Cash Wallet",icon:x.CASH_WALLET}],je="customer",Je="merchant",O0=[{key:je,value:"true",label:"Customer"},{key:Je,value:"false",label:"Merchant"}],L0=[{key:"Regional",label:"Regional"},{key:"Global",label:"Global"},{key:"Local",label:"Local"}],k0=[{key:"3DS",label:"3DS"},{key:"Device Biometric",label:"Biometric"},{key:"Non-3DS",label:"Non-3DS"},{key:"Attempted",label:"Attempted"},{key:"Undetermined",label:"Undetermined"}];var U0={PAYMENT_GATEWAY_PROVIDER:B,PAYMENT_TECHNOLOGY:F,PAYMENT_TERMINAL_PROVIDER:G,PAYMENT_PROCESSOR:D,PAYMENT_SCHEME:W,PAYMENT_ISSUER:M,PAYMENT_ACQUIRER:L,PAYMENT_METHOD:U,PAYMENT_FACILITATOR:k,APP_PLATFORM:N,RETAIL_PLATFORM:H,COMMERCE_PLATFORM:O,BILLING_PLATFORM:w,BUSINESS:P,DEVELOPMENT_HOUSE:b,MASTER_ORCHESTRATOR:C,PLATFORM:R},D0={PAYMENT_GATEWAY_PROVIDER:X,PAYMENT_TECHNOLOGY:se,PAYMENT_TERMINAL_PROVIDER:ce,PAYMENT_PROCESSOR:oe,PAYMENT_SCHEME:ne,PAYMENT_ISSUER:ee,PAYMENT_ACQUIRER:j,PAYMENT_METHOD:te,PAYMENT_FACILITATOR:J,APP_PLATFORM:q,RETAIL_PLATFORM:pe,COMMERCE_PLATFORM:Q,BILLING_PLATFORM:Z,BUSINESS:Y,DEVELOPMENT_HOUSE:V,MASTER_ORCHESTRATOR:z,PLATFORM:K},p={PLATFORM:"platformId",DEVELOPMENT_HOUSE:"developmentHouseId",PAYMENT_TECHNOLOGY:"paymentTechnology",PAYMENT_ISSUER:"paymentIssuerId",PAYMENT_INSTITUTION:"paymentInstitution"},W0={PLATFORM:p.PLATFORM,RETAIL_PLATFORM:p.PLATFORM,BILLING_PLATFORM:p.PLATFORM,COMMERCE_PLATFORM:p.PLATFORM,APP_PLATFORM:p.PLATFORM,DEVELOPMENT_HOUSE:p.DEVELOPMENT_HOUSE,PAYMENT_TECHNOLOGY:p.PAYMENT_TECHNOLOGY,PAYMENT_ISSUER:p.PAYMENT_ISSUER,PAYMENT_ACQUIRER:p.PAYMENT_INSTITUTION,PAYMENT_FACILITATOR:p.PAYMENT_INSTITUTION},F0=["RETAIL_PLATFORM","COMMERCE_PLATFORM","BILLING_PLATFORM","APP_PLATFORM"],G0=["PAYMENT_FACILITATOR","PAYMENT_ACQUIRER"],H0=["PAYMENT_TECHNOLOGY"],Y0=["PAYMENT_ISSUER"],V0=["DEVELOPMENT_HOUSE"];var K0={bgColor:"white",borderColor:"#F2F2F2",textColor:"#20232B33"};var s={CHARGE:"CHARGE",AUTHORIZE:"AUTHORIZE",REFUND:"REFUND",CHARGEBACKS:"CHARGEBACKS",DESTINATIONS:"DESTINATIONS",REVERSED_DESTINATIONS:"REVERSED_DESTINATIONS",STATEMENT:"STATEMENT",STATEMENT_SUMMARY:"STATEMENT_SUMMARY",INVOICE:"INVOICE",PAYOUT:"PAYOUT",MERCHANT_PAYOUT:"MERCHANT_PAYOUT",RETAILER_PAYOUT:"RETAILER_PAYOUT",AUTHENTICATION:"AUTHENTICATION"},j0={[o.acceptance.services.charges.code]:[s.CHARGE],[o.acceptance.services.authorization.code]:[s.AUTHORIZE],[o.acceptance.services.refunds.code]:[s.REFUND],[o.acceptance.services.chargeback.code]:[s.CHARGEBACKS],[o.acceptance.services.destinations.code]:[s.DESTINATIONS,s.REVERSED_DESTINATIONS],[o.acceptance.code]:[s.CHARGE,s.AUTHORIZE,s.REFUND,s.CHARGEBACKS,s.DESTINATIONS,s.REVERSED_DESTINATIONS],[o.wallet.services.merchants.functions.statement.code]:[s.STATEMENT],[o.wallet.services.merchants.functions.summary.code]:[s.STATEMENT_SUMMARY],[o.wallet.code]:[s.STATEMENT,s.STATEMENT_SUMMARY],[o.billing.services.invoices.code]:[s.INVOICE],[o.billing.code]:[s.INVOICE],[o.payouts.services.payouts.code]:[s.PAYOUT],[o.payouts.services.merchantPayout.code]:[s.MERCHANT_PAYOUT],[o.payouts.services.retailerPayout.code]:[s.RETAILER_PAYOUT],[o.payouts.code]:[s.PAYOUT,s.MERCHANT_PAYOUT,s.RETAILER_PAYOUT],[o.authentication.code]:[s.AUTHENTICATION]},J0=[{code:o.billing.code,name:"Billing",icon:l,services:[{name:"Invoices",code:o.billing.services.invoices.code}]},{code:o.acceptance.code,name:"Acceptance",icon:u,services:[{name:"Authorisations",code:o.acceptance.services.authorization.code},{name:"Charges",code:o.acceptance.services.charges.code},{name:"Refunds",code:o.acceptance.services.refunds.code},{name:"Chargebacks",code:o.acceptance.services.chargeback.code},{name:"Destinations",code:o.acceptance.services.destinations.code}]},{code:o.wallet.code,name:"Wallet",icon:I,services:[{name:"Aggregated Statement",code:o.wallet.services.merchants.functions.summary.code},{name:"Detailed Statement",code:o.wallet.services.merchants.functions.statement.code}]},{code:o.payouts.code,name:"Payouts",icon:v,services:[{name:"Payouts",code:o.payouts.services.payouts.code},{name:"Merchant Payouts",code:o.payouts.services.merchantPayout.code},{name:"Retailer Payouts",code:o.payouts.services.retailerPayout.code}]},{code:o.authentication.code,name:"Authentication",icon:g,services:[{name:"Authentication",code:o.authentication.services.authentication.code}]}];var eI={COMMERCIAL_REGISTRATION:"commercial_registration",FREELANCER:"freelancer",ARTICLE_OF_ASSOCIATION:"article_of_association"};var Xe=["AUTHENTICATED"],et=["PENDING","ATTEMPTED","FAILED","REJECTED","UNAVAILABLE","AUTHENTICATION_NOT_SUPPORTED_BY_SCHEME","AUTHENTICATED_AUTHORIZE_FAILED","EXEMPTED","INITIATED"],oI=[...Xe,...et],tt=(A=>(A.Challenge="C",A.Frictionless="F",A))(tt||{}),nI={C:"Challenge",F:"Frictionless"};var cI=["SA","KW","AE","BH","QA","OM","EG","JO","LB"];var rI={csv:de,xls:h,xlsx:h,zip:E};
|
|
2
|
+
export{Qt as $,Qo as $a,jn as $b,b as $c,ac as $d,tp as $e,Qp as $f,Ma as $g,Mr as $h,yx as $i,yi as $j,Sd as $k,Sl as $l,Su as $m,Og as $n,j0 as $o,Tt as A,So as Aa,Sn as Ab,Es as Ac,Ks as Ad,Lc as Ae,Tp as Af,ga as Ag,ir as Ah,ix as Ai,Xx as Aj,Xi as Ak,jd as Al,jl as Am,a as An,f0 as Ao,St as B,_o as Ba,_n as Bb,$s as Bc,q as Bd,kc as Be,Sp as Bf,Ia as Bg,dr as Bh,dx as Bi,ei as Bj,ed as Bk,Jd as Bl,Jl as Bm,r as Bn,E0 as Bo,_t as C,yo as Ca,yn as Cb,g as Cc,qs as Cd,Bc as Ce,_p as Cf,_e as Cg,lr as Ch,lx as Ci,ti as Cj,td as Ck,Xd as Cl,Xl as Cm,d as Cn,$0 as Co,yt as D,Po as Da,Pn as Db,I as Dc,Z as Dd,Mc as De,yp as Df,ye as Dg,ur as Dh,ux as Di,oi as Dj,od as Dk,el as Dl,eu as Dm,o as Dn,T0 as Do,Pt as E,bo as Ea,bn as Eb,v as Ec,Q as Ed,Uc as Ee,Pp as Ef,Pe as Eg,gr as Eh,Ce as Ei,ni as Ej,nd as Ek,tl as El,tu as Em,Qu as En,S0 as Eo,bt as F,Co as Fa,Cn as Fb,T as Fc,Zs as Fd,Dc as Fe,bp as Ff,be as Fg,Ir as Fh,Re as Fi,si as Fj,sd as Fk,ol as Fl,ou as Fm,ju as Fn,_0 as Fo,Ct as G,E as Ga,Rn as Gb,S as Gc,Qs as Gd,Wc as Ge,Cp as Gf,va as Gg,vr as Gh,Ne as Gi,ci as Gj,cd as Gk,nl as Gl,nu as Gm,Ju as Gn,y0 as Go,Rt as H,Ro as Ha,Nn as Hb,_ as Hc,j as Hd,Fc as He,Rp as Hf,ha as Hg,hr as Hh,we as Hi,pi as Hj,pd as Hk,sl as Hl,su as Hm,Ze as Hn,b0 as Ho,Nt as I,No as Ia,wn as Ib,y as Ic,J as Id,Gc as Ie,Np as If,ma as Ig,mr as Ih,Oe as Ii,ai as Ij,ad as Ik,cl as Il,cu as Im,eg as In,C0 as Io,wt as J,wo as Ja,On as Jb,Ts as Jc,X as Jd,ae as Je,wp as Jf,Aa as Jg,Ar as Jh,Le as Ji,ri as Jj,rd as Jk,pl as Jl,pu as Jm,tg as Jn,x as Jo,Ot as K,Oo as Ka,Ln as Kb,Ss as Kc,ee as Kd,re as Ke,Op as Kf,fa as Kg,fr as Kh,ke as Ki,xi as Kj,xd as Kk,al as Kl,au as Km,og as Kn,w0 as Ko,Lt as L,Lo as La,kn as Lb,_s as Lc,te as Ld,xe as Le,Lp as Lf,Ea as Lg,Er as Lh,Be as Li,ii as Lj,id as Lk,rl as Ll,ru as Lm,ng as Ln,je as Lo,kt as M,ko as Ma,Bn as Mb,ys as Mc,oe as Md,ie as Me,kp as Mf,$a as Mg,$r as Mh,Me as Mi,di as Mj,dd as Mk,xl as Ml,xu as Mm,sg as Mn,Je as Mo,Bt as N,Bo as Na,Mn as Nb,Ps as Nc,ne as Nd,Hc as Ne,Bp as Nf,Ta as Ng,Tr as Nh,Ue as Ni,li as Nj,ld as Nk,il as Nl,iu as Nm,pg as Nn,O0 as No,Mt as O,Mo as Oa,Un as Ob,bs as Oc,se as Od,Yc as Oe,Mp as Of,Sa as Og,Sr as Oh,De as Oi,ui as Oj,We as Ok,dl as Ol,du as Om,rg as On,L0 as Oo,Ut as P,Uo as Pa,Dn as Pb,Cs as Pc,ce as Pd,Vc as Pe,Up as Pf,_a as Pg,_r as Ph,gx as Pi,gi as Pj,Fe as Pk,ll as Pl,lu as Pm,ig as Pn,k0 as Po,Dt as Q,Do as Qa,Wn as Qb,Rs as Qc,pe as Qd,zc as Qe,Dp as Qf,ya as Qg,yr as Qh,Ix as Qi,Ii as Qj,ud as Qk,ul as Ql,uu as Qm,dg as Qn,U0 as Qo,Wt as R,Wo as Ra,Fn as Rb,Ns as Rc,js as Rd,Kc as Re,Wp as Rf,Pa as Rg,Pr as Rh,vx as Ri,vi as Rj,gd as Rk,gl as Rl,gu as Rm,ug as Rn,D0 as Ro,Ft as S,Fo as Sa,Gn as Sb,ws as Sc,Js as Sd,qc as Se,Fp as Sf,ba as Sg,br as Sh,hx as Si,hi as Sj,Id as Sk,Il as Sl,Iu as Sm,Ig as Sn,p as So,Gt as T,Go as Ta,Hn as Tb,Os as Tc,Xs as Td,Zc as Te,Gp as Tf,Ca as Tg,Cr as Th,mx as Ti,mi as Tj,vd as Tk,vl as Tl,vu as Tm,hg as Tn,W0 as To,Ht as U,Ho as Ua,Yn as Ub,Ls as Uc,ec as Ud,Qc as Ue,Hp as Uf,Ra as Ug,Rr as Uh,Ax as Ui,Ai as Uj,hd as Uk,hl as Ul,hu as Um,Ag as Un,F0 as Uo,Yt as V,Yo as Va,Vn as Vb,ks as Vc,tc as Vd,h as Ve,Yp as Vf,Na as Vg,Nr as Vh,fx as Vi,fi as Vj,md as Vk,ml as Vl,mu as Vm,Eg as Vn,G0 as Vo,Vt as W,Vo as Wa,zn as Wb,Bs as Wc,oc as Wd,de as We,Vp as Wf,wa as Wg,wr as Wh,Ex as Wi,Ei as Wj,Ad as Wk,Al as Wl,Au as Wm,Tg as Wn,H0 as Wo,zt as X,zo as Xa,Kn as Xb,Ms as Xc,nc as Xd,jc as Xe,zp as Xf,Oa as Xg,Or as Xh,$x as Xi,$i as Xj,fd as Xk,fl as Xl,fu as Xm,_g as Xn,Y0 as Xo,Kt as Y,Ko as Ya,qn as Yb,Us as Yc,sc as Yd,Jc as Ye,Kp as Yf,La as Yg,Lr as Yh,Tx as Yi,Ti as Yj,Ed as Yk,El as Yl,Eu as Ym,Pg as Yn,V0 as Yo,qt as Z,qo as Za,Zn as Zb,Ds as Zc,cc as Zd,Xc as Ze,qp as Zf,ka as Zg,kr as Zh,Sx as Zi,Si as Zj,$d as Zk,$l as Zl,$u as Zm,Cg as Zn,K0 as Zo,Zt as _,Zo as _a,Qn as _b,P as _c,pc as _d,ep as _e,Zp as _f,Ba as _g,Br as _h,_x as _i,_i as _j,Td as _k,Tl as _l,Tu as _m,Ng as _n,s as _o,e as a,jt as aa,jo as ab,Jn as ac,Ws as ad,rc as ae,le as af,jp as ag,Ua as ah,Ur as ai,Px as aj,Pi as ak,_d as al,_l as am,_u as an,kg as ao,J0 as ap,t as b,Jt as ba,Jo as bb,Xn as bc,C as bd,xc as be,ue as bf,Jp as bg,Da as bh,Dr as bi,bx as bj,bi as bk,yd as bl,yl as bm,yu as bn,Mg as bo,eI as bp,ot as c,Xt as ca,Xo as cb,es as cc,R as cd,ic as ce,ge as cf,Xp as cg,Wa as ch,Wr as ci,Cx as cj,Ci as ck,Pd as cl,Pl as cm,Pu as cn,Dg as co,et as cp,Ye as d,eo as da,en as db,ts as dc,Fs as dd,dc as de,Ie as df,ea as dg,Fa as dh,Fr as di,Rx as dj,Ri as dk,bd as dl,bl as dm,bu as dn,Fg as do,oI as dp,Ve as e,to as ea,tn as eb,os as ec,N as ed,lc as ee,ve as ef,ta as eg,Ga as eh,Gr as ei,Nx as ej,Ni as ek,Cd as el,Cl as em,Cu as en,Hg as eo,tt as ep,f,oo as fa,on as fb,ns as fc,Gs as fd,uc as fe,op as ff,oa as fg,Ha as fh,Hr as fi,wx as fj,wi as fk,Rd as fl,Rl as fm,Ru as fn,Vg as fo,nI as fp,nt as g,no as ga,nn as gb,ss as gc,w as gd,gc as ge,np as gf,na as gg,Ya as gh,Yr as gi,Ox as gj,Oi as gk,Nd as gl,Nl as gm,Nu as gn,Kg as go,cI as gp,st as h,so as ha,sn as hb,cs as hc,O as hd,Ic as he,sp as hf,sa as hg,Va as hh,Vr as hi,Lx as hj,Li as hk,wd as hl,wl as hm,wu as hn,Zg as ho,rI as hp,ct as i,co as ia,cn as ib,ps as ic,Hs as id,vc as ie,cp as if,he as ig,za as ih,zr as ii,kx as ij,ki as ik,Od as il,Ol as im,Ou as in,jg as io,pt as j,po as ja,pn as jb,as as jc,Ys as jd,hc as je,pp as jf,me as jg,Ka as jh,Kr as ji,Bx as jj,Bi as jk,Ld as jl,Ll as jm,Lu as jn,Xg as jo,at as k,ao as ka,an as kb,rs as kc,L as kd,mc as ke,ap as kf,Ae as kg,qa as kh,qr as ki,Mx as kj,Mi as kk,kd as kl,kl as km,ku as kn,t0 as ko,rt as l,ro as la,rn as lb,xs as lc,k as ld,Ac as le,rp as lf,fe as lg,Za as lh,Zr as li,Ux as lj,Ui as lk,Bd as ll,Bl as lm,Bu as ln,Qe as lo,xt as m,xo as ma,xn as mb,is as mc,B as md,fc as me,xp as mf,ca as mg,Qa as mh,Qr as mi,Dx as mj,Di as mk,Md as ml,Ml as mm,Mu as mn,n0 as mo,it as n,io as na,dn as nb,ds as nc,M as nd,Ec as ne,ip as nf,Ee as ng,ja as nh,jr as ni,Wx as nj,Wi as nk,Ud as nl,Ul as nm,Uu as nn,s0 as no,dt as o,lo as oa,ln as ob,$ as oc,U as od,$c as oe,dp as of,m as og,Ja as oh,Jr as oi,Fx as oj,Fi as ok,Dd as ol,Dl as om,Du as on,c0 as oo,lt as p,uo as pa,un as pb,l as pc,D as pd,Tc as pe,lp as pf,$e as pg,Xa as ph,Xr as pi,Gx as pj,Gi as pk,Wd as pl,Wl as pm,Wu as pn,p0 as po,ut as q,go as qa,gn as qb,ls as qc,W as qd,Sc as qe,up as qf,Te as qg,er as qh,ex as qi,Hx as qj,Hi as qk,Fd as ql,Fl as qm,Fu as qn,a0 as qo,gt as r,Io as ra,In as rb,us as rc,F as rd,_c as re,gp as rf,Se as rg,tr as rh,tx as ri,Yx as rj,Yi as rk,Gd as rl,Gl as rm,Gu as rn,x0 as ro,It as s,vo as sa,vn as sb,u as sc,G as sd,yc as se,Ip as sf,pa as sg,or as sh,ox as si,Vx as sj,Vi as sk,Hd as sl,Hl as sm,Hu as sn,i0 as so,vt as t,ho as ta,hn as tb,gs as tc,H as td,Pc as te,vp as tf,aa as tg,nr as th,nx as ti,zx as tj,zi as tk,Yd as tl,Yl as tm,Yu as tn,d0 as to,ht as u,mo as ua,mn as ub,Is as uc,Vs as ud,bc as ue,hp as uf,ra as ug,sr as uh,sx as ui,Kx as uj,Ki as uk,Vd as ul,Vl as um,zu as un,l0 as uo,mt as v,Ao as va,An as vb,vs as vc,Y as vd,Cc as ve,mp as vf,xa as vg,cr as vh,cx as vi,qx as vj,qi as vk,zd as vl,zl as vm,ze as vn,u0 as vo,At as w,fo as wa,fn as wb,hs as wc,V as wd,Rc as we,Ap as wf,ia as wg,pr as wh,px as wi,Zx as wj,Zi as wk,Kd as wl,Kl as wm,Ke as wn,I0 as wo,ft as x,Eo as xa,En as xb,ms as xc,zs as xd,Nc as xe,fp as xf,da as xg,ar as xh,ax as xi,Qx as xj,Qi as xk,qd as xl,ql as xm,Ku as xn,v0 as xo,Et as y,$o as ya,$n as yb,As as yc,z as yd,wc as ye,Ep as yf,la as yg,rr as yh,rx as yi,jx as yj,ji as yk,Zd as yl,Zl as ym,n as yn,h0 as yo,$t as z,To as za,Tn as zb,fs as zc,K as zd,Oc as ze,$p as zf,ua as zg,xr as zh,xx as zi,Jx as zj,Ji as zk,Qd as zl,Ql as zm,qe as zn,A0 as zo};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {$,Fb,A,wc,xc}from'./chunk-
|
|
1
|
+
import {$,Fb,A,wc,xc}from'./chunk-NTNU6XF2.js';import {useState,useEffect,useCallback,useLayoutEffect,useRef,useMemo}from'react';import {useLocation}from'react-router';import {useTheme}from'@mui/material/styles';function H(){let{innerWidth:e,innerHeight:n}=window;return {width:e,height:n}}function ge(){let[e,n]=useState(H);return useEffect(()=>{let t;function o(){cancelAnimationFrame(t),t=requestAnimationFrame(()=>{n(H());});}return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o),cancelAnimationFrame(t);}},[]),e}var Te=()=>{let[e,n]=useState(false),[t,o]=useState(false),r=useCallback(()=>{n(true);},[]),s=useCallback(()=>{n(false);},[]),i=useCallback(()=>{o(true);},[]),a=useCallback(()=>{o(false);},[]);return {onMouseContentEnter:i,onMouseContentLeave:a,isHovered:e,isContentHovered:t,onMouseEnter:r,onMouseLeave:s}};function be({value:e,delay:n}){let[t,o]=useState(e);return useEffect(()=>{let r;return e?o(e):r=setTimeout(()=>{o(e);},n),()=>{clearTimeout(r);}},[e]),t}function Me(e,n){let[t,o]=useState({});return useEffect(()=>{e&&o(s=>({...s,[e]:n||0}));},[n,e]),{getBadgeCount:useCallback(s=>s?t[s]:"",[t])}}var ke=()=>{let{pathname:e}=useLocation();useLayoutEffect(()=>{$()||(window.location.href="/login");},[e]);};function He(e){return {isParameterSelected:(o,r)=>r?.map(s=>Fb(e,o,s)),getColumnOrder:o=>{let r=e.findIndex(s=>s.name?.toLowerCase()===o?.toLowerCase());return r===-1?100:r}}}var De=e=>{let[n,t]=useState(false);return useEffect(()=>{let o=e?.current;if(!o)return;let r=new IntersectionObserver(([s])=>{t(!s.isIntersecting);});return r.observe(o),()=>r.disconnect()},[e]),{showShadow:n}};var Pe=()=>{let e=useTheme(),n=e.palette.mode==="dark",t=e.palette.mode==="light";return {isDark:n,isLight:t}};function ze(){let[e,n]=useState(0),t=useRef(null),o=A(e),r=()=>{t.current&&(clearInterval(t.current),t.current=null);},s=()=>{r(),n(0);},i=a=>{a<=0||(t.current&&r(),n(a),t.current=setInterval(()=>{n(c=>{let u=c-1;return u<=0&&r(),u});},1e3));};return useEffect(()=>()=>{r();},[]),{timer:e,formattedTime:o,startTimer:i,stopTimer:r,resetTimer:s}}var Ne=e=>{let n=useMemo(()=>new Map(e.map(i=>[i.code.toLowerCase(),i])),[e]),t=useCallback(i=>n.get(i.toLowerCase()),[n]),o=useCallback(({appCode:i,serviceCode:a})=>t(i)?.app_services.find(({code:c})=>c.toLowerCase()===a.toLowerCase()),[t]),r=useCallback(({appCode:i,serviceCode:a})=>o({appCode:i,serviceCode:a})?.functions??[],[o]),s=useCallback(({appCode:i,serviceCode:a,functionCode:c})=>r({appCode:i,serviceCode:a}).find(({code:u})=>u?.toLowerCase()===c.toLowerCase()),[r]);return {getAppInfo:t,getServiceInfo:o,getServiceFunctions:r,getFunctionInfo:s}};function F(e){return useCallback((...n)=>{let t=new CustomEvent(e,{detail:n});window.dispatchEvent(t);},[e])}function Xe(e,n){let t=useRef(n);t.current=n,useEffect(()=>{let o=r=>{let s=r;t.current(...s.detail||[]);};return window.addEventListener(e,o),()=>{window.removeEventListener(e,o);}},[e]);}var et=(e,n)=>{let{selectedEntity:t,selectedMerchant:o,displayName:r}=useMemo(()=>{let s=n?.entities.find(c=>c.id===e?.entityId),i=s?.merchants?.find(c=>c.id===e?.merchantId),a=i?.display_name??i?.legacy_id??"Select";return {selectedEntity:s,selectedMerchant:i,displayName:a}},[n,e?.entityId,e?.merchantId]);return {selectedBrand:n,selectedEntity:t,selectedMerchant:o,displayName:r}};var se=()=>crypto.randomUUID();function rt(){let e=F("on-toast"),n=useCallback(t=>(o,r)=>{let s=r?.id??se();return e({action:"show",variant:t,message:o,options:{...r,id:s}}),s},[e]);return useMemo(()=>{let t=n("default");return t.success=n("success"),t.error=n("error"),t.loading=n("loading"),t.custom=n("custom"),t.dismiss=o=>{e({action:"dismiss",variant:"dismiss",toastId:o});},t.remove=o=>{e({action:"remove",variant:"remove",toastId:o});},t},[n,e])}var ae=10;function at({threshold:e=ae,containerRef:n}={}){let[t,o]=useState(true),[r,s]=useState(false),[i,a]=useState(false),c=useCallback(l=>{let{scrollTop:m,scrollHeight:p,clientHeight:f}=l;a(p>f+e),o(m<=e),s(p-(m+f)<=e);},[e]),u=useCallback(l=>{if(l){if("currentTarget"in l){c(l.currentTarget);return}c(l);}},[c]);return useEffect(()=>{if(!n?.current)return;let l=n.current;u(l);let m=new ResizeObserver(()=>{u(l);});return m.observe(l),()=>{m.disconnect();}},[n,u]),{handleScroll:u,scrolledToTop:t,scrolledToBottom:r,scrollable:i}}var lt=(e={})=>{let{checkUrl:n="/status",checkIntervalMs:t=3e4,debounceMs:o=800,timeoutMs:r=5e3}=e,s=typeof window<"u"&&typeof navigator<"u",[i,a]=useState(s?navigator.onLine:true),[c,u]=useState(false),[l,m]=useState(null),p=useRef(null),f=useRef(null),g=useCallback(d=>{p.current!==null&&window.clearTimeout(p.current),p.current=window.setTimeout(()=>{a(d),p.current=null;},o);},[o]);return useEffect(()=>{if(!s)return;let d=null,w=()=>{f.current!==null&&(window.clearInterval(f.current),f.current=null);},v=async()=>{u(true),m(null),d?.abort(),d=new AbortController;try{let M=window.setTimeout(()=>{d?.abort();},r),y=await fetch(n,{method:"GET",cache:"no-store",signal:d.signal});window.clearTimeout(M);let x=y.ok;g(x),x?w():m(`Health check failed with status ${y.status}`);}catch{g(false),m("Unable to reach network");}finally{u(false);}},S=()=>{w(),g(true);},C=()=>{g(false),w(),v(),f.current=window.setInterval(v,t);};return window.addEventListener("online",S),window.addEventListener("offline",C),navigator.onLine||(v(),f.current=window.setInterval(v,t)),()=>{window.removeEventListener("online",S),window.removeEventListener("offline",C),p.current!==null&&window.clearTimeout(p.current),w(),d?.abort();}},[s,n,t,o,r,g]),s?{isOnline:i,isChecking:c,error:l}:{isOnline:false,isChecking:false,error:"Online status is only available in a browser environment."}};var dt=(e={},n,t)=>{let o=wc(e,t.requiredFilterKeys);return {columns:useMemo(()=>xc(n,o,t),[n,o])}};function ht(e,n){return useCallback(t=>{t.key==="Enter"?(t.preventDefault(),e(),n(t)):t.key==="Escape"&&n(t);},[e,n])}function Ct(){let[e,n]=useState(true);return {onScrollHandler:useCallback(o=>{let{scrollTop:r,scrollHeight:s,clientHeight:i}=o.currentTarget,a=r===0||i<s-r-1;n(c=>c===a?c:a);},[]),showShadow:e}}export{ge as a,Te as b,be as c,Me as d,ke as e,He as f,De as g,Pe as h,ze as i,Ne as j,F as k,Xe as l,et as m,rt as n,at as o,lt as p,dt as q,ht as r,Ct as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j,f,p}from'./chunk-
|
|
1
|
+
import {j,f,p}from'./chunk-N76O4JDU.js';import {Bc}from'./chunk-NTNU6XF2.js';import {wb}from'./chunk-CZLLJ6SR.js';import {memo,useRef,useState,useEffect,useMemo,useId}from'react';import se from'@mui/material/Popper';import {styled,Box}from'@mui/material';import {jsx,jsxs}from'react/jsx-runtime';var k=styled(j)(({theme:e})=>({fontWeight:e.v2.typography.fontWeightMedium,fontSize:"0.6875rem",color:e.v2.palette.grey[500],paddingInlineStart:e.v2.spacing(16),paddingTop:e.v2.spacing(8),paddingBottom:e.v2.spacing(8),paddingInlineEnd:e.v2.spacing(8)})),R=styled(Box,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:n})=>({fontWeight:e.typography.fontWeightMedium,padding:e.spacing(1),position:"relative",display:"flex",alignItems:"center",textTransform:"capitalize",cursor:n?"not-allowed":"pointer",flex:1,zIndex:99999,".MuiButtonBase-root":{width:"16px",marginInlineEnd:"4px"}})),z=styled(Box)(({theme:e})=>({borderRadius:e.spacing(.5),background:e.palette.background.default,width:"max-content",cursor:"pointer",zIndex:99999,boxShadow:e.shadows[11],display:"flex",flexDirection:"column",".nested-menu-item + .nested-menu-item":{borderTop:`1px solid ${e.palette.divider}`,zIndex:99999},".nested-menu-item:hover":{transition:e.transitions.create(["boxShadow","border"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex}),boxShadow:e.shadows[6],border:"none",position:"relative"}})),B=styled(Box)(({theme:e})=>({...e.typography.subtitle1,color:e.palette.text.primary})),H=styled(f)(()=>({padding:0,paddingRight:"4px",".MuiSvgIcon-root":{width:12,height:12}})),$=styled(Box)(()=>({display:"flex",gap:"4px",alignItems:"center",flexGrow:1,minWidth:0,overflow:"hidden"})),A=styled(Box)(()=>({display:"flex",gap:"12px",justifyContent:"space-between",flexGrow:1,alignItems:"center",minWidth:0,overflow:"hidden"})),O=styled(Box)(({theme:e})=>({borderRadius:"50%",background:e.palette.divider,width:13,height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px"})),G=styled(Box)(()=>({display:"flex",alignItems:"center",gap:"8px",flexShrink:0,position:"relative",left:4})),F=styled(Box)(()=>({flex:"1 0 auto"})),_=styled(Box)(()=>({position:"relative",zIndex:999999}));function q(e){return e.scrollWidth-e.clientWidth>1}function oe({children:e}){let n=useRef(null),[r,t]=useState(false);return jsx(p,{arrow:true,placement:"top",title:e,open:r,onOpen:()=>{let u=n.current;u&&q(u)&&t(true);},onClose:()=>t(false),componentsProps:{tooltip:{sx:{maxWidth:280,whiteSpace:"normal",wordBreak:"break-word"}}},wrapperProps:{sx:{flex:1,minWidth:0,display:"block",overflow:"hidden"}},children:jsx(B,{ref:n,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e})})}var K=memo(oe);function ie({label:e,icon:n,name:r,menuItems:t,setSelected:u,onSelect:C,selected:s,displayChildrenCount:I,disabled:i,placement:h="right",sx:g,menuSx:P}){let[f,S]=useState(null),l=useRef(null),[a,p]=useState(false),w=o=>{!i&&s!==void 0&&(u({name:o,selected:!s}),s||p(false));};return useEffect(()=>{p(!!(t?.some(o=>o.selected)&&!t?.every(o=>o.selected)));},[]),jsxs(R,{"data-testid":"NestedDropdown_MenuItem",ref:l,className:`nested-menu-item ${f?"active":""} ${i?"disabled":""}`,onMouseEnter:o=>{!f&&t?.length&&S(o.currentTarget);},onMouseLeave:()=>{f&&S(null);},onClick:o=>{i||(o.stopPropagation(),w(r));},sx:{...t?.length&&{cursor:i?"not-allowed":"pointer"},zIndex:99999,...g},disabled:i,children:[s!==void 0&&jsx(H,{size:"small",indeterminate:a,checked:s,disabled:i}),jsxs($,{children:[n&&n,jsxs(A,{children:[e&&jsx(K,{children:e}),!!t?.length&&jsxs(G,{children:[I&&jsx(O,{children:t.length}),jsx("img",{src:wb,className:"arrow-icon",alt:"arrow",style:{height:12}})]})]})]}),t?.length&&jsx(se,{open:!!(f&&t?.length),anchorEl:f,placement:h==="left"?"left-start":"right-start",sx:{zIndex:99999,...P},children:jsx(b,{className:"child-dropdown",menuItems:t,placement:h,sx:P,onChildrenChange:o=>{let y=o.every(d=>d.selected);s!==void 0&&!i&&(y&&u({name:r,selected:true}),o.every(d=>!d.selected)&&u({name:r,selected:false}),p(o?.some(d=>d.selected)&&!o.every(d=>!d.selected)&&!y));},onSelect:o=>{C(o,r);}})})]})}var M=memo(ie);function ae({title:e,menuItems:n,onChildrenChange:r,onSelect:t,className:u,updatedList:C,footer:s,header:I,placement:i="right",...h}){let[g,P]=useState({name:"",selected:false}),[f,S]=useState();return useEffect(()=>{S(n);},[n]),useEffect(()=>{if(g.name){let{name:l,selected:a}=g,p=[],w=d=>d?.map(m=>(p.push({name:m.name,selected:a}),{...m,selected:a,...m.menuItems?.length&&{menuItems:w(m.menuItems)}})),y=(d=>d.map(m=>m.name===l?(p.push({name:m.name,selected:a}),{...m,selected:a,...m.menuItems?.length&&{menuItems:w(m.menuItems)}}):m))(f);S(y),C&&C(y),r&&r(y),t&&t(p);}},[g]),jsxs(z,{component:"article",className:`tap-dropdown ${u||""}`,...h,children:[jsx(_,{children:e&&jsx(k,{component:"p",children:e})}),I,jsx(F,{children:f?.map((l,a)=>jsx(M,{setSelected:({name:p,selected:w})=>{P({name:p,selected:w});},onSelect:p=>{t&&t(p);},placement:i,...l},`${l.name}-${a}`))}),s&&s]})}var b=memo(ae);var Y=(e,{menuItemSx:n,menuSx:r})=>(e.forEach(t=>{t.sx={...n,...t.sx},t.menuSx={...r,...t.menuSx},t.menuItems?.length&&Y(t.menuItems,{menuItemSx:n,menuSx:r});}),e);function he({title:e,menuItems:n,onSelect:r,updatedList:t,header:u,placement:C="right",menuItemSx:s={},menuSx:I={},...i}){let h=useMemo(()=>Y(n,{menuItemSx:s,menuSx:I}),[n,s,I]),[g,P]=useState(h),f=Bc(useId(),"nested-dropdown");useEffect(()=>{P(h);},[h]);let S=l=>{let a=w=>w.map(o=>({...o,selected:l.find(y=>o.name===y.name)?.selected??o.selected,...o.menuItems?.length&&{menuItems:a(o.menuItems)}})),p=a(g);P(p),t&&t(p);};return jsx(b,{id:f,"data-testid":"NestedDropdown",placement:C,menuItems:g,title:e,header:u,onSelect:l=>{r&&r(l),S(l);},...i})}var Z=memo(he);var Qe=Z;export{M as a,b,Qe as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {p}from'./chunk-
|
|
1
|
+
import {p}from'./chunk-N76O4JDU.js';import {Wa,Bc,cb}from'./chunk-NTNU6XF2.js';import {Sk,ya,xa,wa,Pj}from'./chunk-CZLLJ6SR.js';import {memo,useId}from'react';import C from'@mui/material/Box';import O from'lodash/capitalize';import {useTranslation}from'react-i18next';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var D=styled(C,{shouldForwardProp:o=>o!=="tableMode"})(({theme:o,tableMode:t})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,height:Wa(t)?"18px":"24px"}));var e={DESKTOP:wa,PHONE:xa,TABLET:ya,TERMINAL:Sk};var i=o=>!!e[o];function S({type:o,isTextShown:t,tableMode:T,...E}){let p$1=Bc(useId(),"device-icon"),{t:v}=useTranslation(),m=i(o)?e[o]:null;return jsx(p,{title:m?`Device - ${cb((o??"").toLowerCase())}`:v("unKnown"),children:t?jsx(D,{id:p$1,"data-testid":"DeviceIcon",tableMode:T,children:o?O(o):"Unknown"}):jsx(C,{...E,id:p$1,"data-testid":"DeviceIcon",component:"img",src:o?m||Pj:Pj,alt:o})})}var b=memo(S);var X=b;export{e as a,i as b,X as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Bc}from'./chunk-
|
|
1
|
+
import {Bc}from'./chunk-NTNU6XF2.js';import {pi,qi}from'./chunk-CZLLJ6SR.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:pi,alt:"card"}),value:"CARDS"},{icon:jsx("img",{src:qi,alt:"LIST"}),value:"LIST"}],S=e=>{let{currentView:o,onToggleClick:s,getOverrideViews:t}=e,v=Bc(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 {j}from'./chunk-
|
|
1
|
+
import {j}from'./chunk-N76O4JDU.js';import {g as g$1}from'./chunk-NTNU6XF2.js';import F from'react';import {useTranslation}from'react-i18next';import a from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var T="37px",f=styled(a,{shouldForwardProp:o=>o!=="showBackDrop"&&o!=="areTotalRowsNotFillingHeight"&&o!=="sandboxMode"&&o!=="maximized"})(({theme:o,showBackDrop:i,areTotalRowsNotFillingHeight:r,sandboxMode:p,maximized:n})=>({minHeight:T,...!n&&{borderBottomLeftRadius:o.spacing(1.5),borderBottomRightRadius:o.spacing(1.5)},display:"flex",alignItems:"center",border:"none",justifyContent:"space-between",padding:"6px 32px",background:p?o.palette.common.lightOrange:o.palette.grey[300],backdropFilter:"blur(32px)",boxShadow:i?o.shadows[24]:"none",borderTop:r?`1px outset ${o.palette.grey[800]}`:"none",width:"100%",marginTop:"auto",flexShrink:0,cursor:"move"})),u=styled("div")(({theme:o})=>({position:"absolute",top:0,left:0,right:0,height:"1.5px",backgroundColor:o.palette.grey[300],boxShadow:`inset 0 1px 0 0 ${o.palette.grey[300]}`})),d=styled(a)(({theme:o})=>({borderRadius:"37.5px",border:"0.75px solid rgba(242, 242, 242, 0.70)",backgroundColor:o.palette.common.white,opacity:1,paddingInline:o.spacing(1),display:"flex",alignItems:"center",height:24,gap:"7px",maxWidth:"max-content"})),x=styled(j)(()=>({fontSize:"9px",fontWeight:400,lineHeight:"10.8px"})),g=styled(j)(()=>({fontSize:"10.5px",fontWeight:700,lineHeight:"12.6px"}));styled(a)(()=>({display:"flex",gap:"3px",alignItems:"center"}));styled(a)(()=>({display:"flex",gap:"6px"}));styled("span")(()=>({fontWeight:400}));function R({totalCount:o,showBackDrop:i=false,showSeparator:r,sandboxMode:p,maximized:n,selectedCount:m,...y}){let{t:b}=useTranslation();return jsxs(f,{component:"footer","data-testid":"TableFooter",maximized:n??false,sandboxMode:p,showBackDrop:i,areTotalRowsNotFillingHeight:!!r,...y,children:[r&&jsx(u,{}),m?jsxs(d,{sx:{gap:"6px",cursor:"text"},children:[jsx(x,{children:b("selected")}),jsx(g,{children:g$1(m)})]}):null,o||o===0?jsxs(d,{sx:{gap:"6px",cursor:"text"},children:[jsx(x,{children:b("count")}),jsx(g,{children:g$1(o||0)})]}):null]})}var h=F.memo(R);var M=h;export{T as a,h as b,M as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {f as f$1}from'./chunk-
|
|
1
|
+
import {f as f$1}from'./chunk-MWBCSFTX.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 {Bc}from'./chunk-
|
|
1
|
+
import {Bc}from'./chunk-NTNU6XF2.js';import {useId,useState,useRef,useMemo,useCallback,useEffect}from'react';import re from'@mui/material/Box';import {motion,AnimatePresence}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var v=3,h=24,B=styled("div")(()=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center"})),G=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center"})),O=styled("div")(()=>({position:"relative",display:"inline-block",width:0,height:24,pointerEvents:"none"})),j=styled(motion.div)(({theme:i})=>({border:`1px solid ${i.palette.divider}`,borderRadius:12,height:24,display:"flex",alignItems:"center",justifyContent:"center",background:i.palette.background.paper,fontSize:12,position:"absolute",top:0,left:0,boxSizing:"border-box",whiteSpace:"nowrap",lineHeight:1,transition:"width 180ms ease-out, padding 180ms ease-out"})),F=styled(motion.div)(({theme:i})=>({border:`1px solid ${i.palette.divider}`,borderRadius:12,height:24,minWidth:24,display:"inline-flex",alignItems:"center",justifyContent:"center",background:i.palette.background.paper,overflow:"hidden",position:"relative",boxSizing:"border-box",whiteSpace:"nowrap",fontSize:12,lineHeight:1})),U={position:"relative",overflow:"visible",zIndex:1,display:"flex",alignItems:"center",justifyContent:"center"};function q({icons:i}){let[s,I]=useState(false),[l,R]=useState([]),P=useRef(null),S=useRef(null),y=useRef([]),e=useRef(null),u=i??[],b=Math.max(0,(u.length??1)-1),T=u[b],o=u.slice(0,b),{peekItems:w,mainShiftX:m,guardLeft:A,guardWidth:H}=useMemo(()=>{let t=o.length,D=l.length===t&&l.every(n=>n>0),g=-6*t,p=D?l.reduce((n,a)=>n+a,0):t*h,x=Math.max(0,t-1)*v,d=Math.round(s?g+p+v*t:0),E=t-1,C=-6*(E+1),z=[];for(let n=0;n<t;n++){let a=t-1-n,Z=-6*(n+1),ee=D?l.slice(0,a).reduce((_,ne)=>_+ne,0)+v*a:(h+v)*a,te=Math.round(n===E?C:C+ee);z.push({key:`peek-${n}`,rIdx:n,origIdx:a,offX:Z,hoverX:te,zIndex:t-n,refCb:_=>{y.current[a]=_;},content:o[a]});}let V=C,Y=p+x;return {peekItems:z,mainShiftX:d,guardLeft:V,guardWidth:Y}},[o,l,s]),r=useCallback(()=>{e.current&&(clearTimeout(e.current),e.current=null);},[]),f=useCallback(()=>{let g=o.map((p,x)=>{let d=y.current[x];if(!d)return h;let E=d.scrollWidth||h,C=Math.max(h,E+12+2);return Math.ceil(C)});R(p=>p.length===g.length&&p.every((x,d)=>x===g[d])?p:g);},[o.length]),K=useCallback(()=>{r(),I(true);},[r]),Q=useCallback(()=>{r(),e.current=setTimeout(()=>I(false),120);},[r]);return useEffect(()=>()=>r(),[r]),useEffect(()=>{f();},[o.length]),useEffect(()=>{if(!s)return;let t=window.requestAnimationFrame(()=>{f();});return ()=>window.cancelAnimationFrame(t)},[s,f]),{isHovering:s,handleMouseEnter:K,handleRootMouseLeave:Q,rootRef:P,mainChipRef:S,peekItems:w,mainShiftX:m,mainIcon:T,guardLeft:A,guardWidth:H}}function J({icons:i=[],expandedZIndex:s=1e3,sx:I}){let l=Bc(useId(),"left-peek-right-expanding-chip"),{handleMouseEnter:R,handleRootMouseLeave:P,rootRef:S,mainChipRef:y,isHovering:e,peekItems:u,mainShiftX:b,mainIcon:T}=q({icons:i});return jsx(re,{id:l,sx:{...U,...I},"data-testid":"LeftPeekRightExpandingChipBox",children:jsx(B,{ref:S,onMouseLeave:P,onMouseEnter:R,children:jsxs(G,{"data-testid":"Container",initial:false,children:[jsx(O,{"data-testid":"PeekStack",onMouseEnter:R,onMouseLeave:P,style:{pointerEvents:e?"auto":"none"},children:jsx(AnimatePresence,{initial:false,children:u.map(({key:o,rIdx:w,offX:m,hoverX:A,zIndex:H,refCb:r,content:f})=>jsx(j,{"data-testid":`LeftPeekChip-${w}`,ref:r,initial:{opacity:0,scale:.95,x:m,y:0},animate:{opacity:1,scale:1,x:e?A:m,y:0},exit:{opacity:0,scale:.95,x:m,y:0},transition:{duration:.18,ease:"easeOut"},style:{zIndex:H,width:e?"auto":24,minWidth:24,padding:e?"0 6px":0,whiteSpace:"nowrap",overflow:e?"visible":"hidden",pointerEvents:e?"auto":"none"},children:e&&jsx(Fragment,{children:f})},o))})}),jsx(F,{"data-testid":"MainChip",ref:y,style:{zIndex:s+10,padding:"0 6px"},initial:false,animate:{x:e?b:0},transition:{duration:.18,ease:"easeOut"},children:T})]})})})}export{J as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j}from'./chunk-
|
|
1
|
+
import {j}from'./chunk-N76O4JDU.js';import {Ia,nc}from'./chunk-NTNU6XF2.js';import {forwardRef,memo}from'react';import {styled}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var r="os-shared-CurrencyAmount",e={root:`${r}-root`,integer:`${r}-integer`,separator:`${r}-separator`,decimal:`${r}-decimal`};var l=styled(j)(({theme:t})=>{let{fontSize:n,fontWeight:o}=t.v2.typography.textVariants.body.small.bold;return {fontSize:n,fontWeight:o,fontFamily:"inherit",lineHeight:"inherit",letterSpacing:"inherit",color:"inherit",display:"inline-flex",alignItems:"center",whiteSpace:"nowrap",overflow:"auto"}}),u=styled("span")(({theme:t})=>({fontWeight:t.v2.typography.fontWeightRegular}));var f=forwardRef(({amount:t,currency:n,id:o,className:C,sx:A,...d},g)=>{let{integerAmount:h,decimalAmount:s}=Ia(t,n??"");return jsxs(l,{ref:g,component:"span",id:o,"data-testid":o??"CurrencyAmount",className:nc(e.root,C),sx:A,...d,children:[jsx("span",{className:e.integer,children:h}),s?jsxs(Fragment,{children:[jsx("span",{className:e.separator,children:"."}),jsx(u,{className:e.decimal,children:s})]}):null]})});f.displayName="CurrencyAmount";var S=memo(f);export{e as a,S as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Bc}from'./chunk-
|
|
1
|
+
import {Bc}from'./chunk-NTNU6XF2.js';import {Dn}from'./chunk-CZLLJ6SR.js';import {useId}from'react';import f from'@mui/material/Stack';import a from'@mui/material/Box';import d from'@mui/material/Skeleton';import {jsx,jsxs}from'react/jsx-runtime';function h(){let o=Bc(useId(),"default-mf-widget-loader");return jsxs(f,{id:o,"data-testid":"DefaultMFWidgetLoader",height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",children:[jsxs(f,{direction:"row",spacing:1,height:"4.1875rem",sx:{pb:"1.2rem",paddingInline:"32px",pt:"10px",background:g=>g.palette.background.transparent[0]},children:[jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31})]}),jsx(a,{flex:1,bgcolor:"#fff"})]})}var W=4;function x(){let o=Bc(useId(),"reports-mf-widget-loader");return jsx(f,{id:o,"data-testid":"ReportsMFWidgetLoader",height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",sx:{padding:"8px 32px"},children:Array.from({length:W}).map((g,u)=>jsx(a,{children:jsxs(f,{direction:"row",spacing:1,sx:{py:1,height:56,borderTop:"1px solid rgb(242, 242, 242)"},children:[jsx(d,{variant:"rounded",width:32,height:32}),jsxs(a,{sx:{display:"flex",flexDirection:"column",gap:"4px"},children:[jsx(d,{width:80,height:12.29}),jsxs(a,{sx:{display:"flex",gap:"4px"},children:[jsx(d,{width:50,height:12.29}),jsx(d,{width:125,height:12.29})]})]})]})},u))})}var F=({appCode:o})=>o===Dn.reports.code||o===Dn.upload.code?jsx(x,{}):jsx(h,{}),c=F;var G=c;export{G as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Bc}from'./chunk-
|
|
1
|
+
import {Bc}from'./chunk-NTNU6XF2.js';import {gc}from'./chunk-CZLLJ6SR.js';import {useId}from'react';import {motion}from'framer-motion';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var e=styled(motion.img,{shouldForwardProp:n=>n!=="width"&&n!=="height"})(({width:n,height:i})=>({width:n||"16px",height:i||"16px"}));var h=({width:n,height:i,sx:p}={})=>{let m=Bc(useId(),"animated-spinner-icon");return jsx(e,{id:m,"data-testid":"AnimatedSpinnerIcon",src:gc,alt:"Loading",className:"spinner-loader",width:n,height:i,sx:p,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}})},r=h;var u=r;export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {d,r as r$1}from'./chunk-N76O4JDU.js';import {mc,nc}from'./chunk-NTNU6XF2.js';import {Sd,Xe}from'./chunk-CZLLJ6SR.js';import {forwardRef,useMemo,memo}from'react';import {styled}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var N="os-shared-Logo",r={root:`${N}-root`,skeleton:`${N}-skeleton`},C="logo";var I=styled(d)(({theme:n})=>({borderRadius:"50%",backgroundColor:n.palette.common.white}));var R=forwardRef(({className:n,sx:f,id:s,src:o,width:g=24,height:l=24,isError:e,isLoading:S,fallback:t,alt:P=C},U)=>{let m=useMemo(()=>typeof o!="string"&&!!o?.type?.includes("application/pdf"),[o]),d=useMemo(()=>o?typeof o=="string"?o:(window.URL?URL:webkitURL).createObjectURL(o):"",[o]),w=useMemo(()=>e||!o?typeof t=="string"&&t?t:Sd:m?Xe:d,[o,t,e,m,d]);return S?jsx(r$1,{variant:"circular",className:r.skeleton,sx:mc({width:g,height:l,flexShrink:0},f),"data-testid":s??"Logo"}):(e||!o)&&t!==void 0&&typeof t!="string"?jsx(Fragment,{children:t}):jsx(I,{ref:U,id:s,"data-testid":s??"Logo",alt:P,src:w,className:nc(r.root,n),sx:mc({width:g,height:l,objectFit:m&&o&&!e?"none":"contain"},f)})});R.displayName="Logo";var D=memo(R);export{r as a,D as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {nc}from'./chunk-
|
|
1
|
+
import {nc}from'./chunk-NTNU6XF2.js';import {Rh}from'./chunk-CZLLJ6SR.js';import {forwardRef,memo}from'react';import h from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var o="os-shared-EmptyState",t={root:`${o}-root`,icon:`${o}-icon`,title:`${o}-title`,description:`${o}-description`},l="Empty state",n="No data found",y="There is nothing to show here yet.";var c=styled(h)(()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.5rem"})),S=styled("img")(()=>({width:"2rem",height:"2rem"})),d=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0,textAlign:"center"})),f=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,margin:0,opacity:.5,textAlign:"center"}));var T=jsx(S,{src:Rh,alt:l,className:t.icon}),x=forwardRef(({className:e,sx:E,icon:g=T,title:m=n,description:r=y,children:N,...u},D)=>jsxs(c,{ref:D,className:nc(t.root,e),sx:E,"data-testid":"EmptyState",...u,children:[g,m?jsx(d,{className:t.title,children:m}):null,r?jsx(f,{className:t.description,children:r}):null,N]}));x.displayName="EmptyState";var A=memo(x);export{t as a,A as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j}from'./chunk-
|
|
1
|
+
import {j}from'./chunk-N76O4JDU.js';import {nc}from'./chunk-NTNU6XF2.js';import {if as _if}from'./chunk-CZLLJ6SR.js';import {forwardRef,memo}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a="os-shared-ErrorToast",t={root:`${a}-root`,message:`${a}-message`,icon:`${a}-icon`};var i=styled(Box,{shouldForwardProp:o=>o!=="toastPosition"})(({theme:o,toastPosition:r})=>({width:160,position:"absolute",bottom:12,zIndex:1e3,display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:o.v2.palette.background.primary,height:31,gap:o.v2.spacing(8),borderRadius:o.v2.radius(8),borderWidth:1,padding:o.v2.spacing(8),border:`1px solid ${o.v2.palette.border.default}`,boxShadow:"0px 0px 16px 0px #00000014",animation:"slideIn 0.5s ease-out",...r==="bottom-center"&&{left:"50%",transform:"translateX(-50%)"},...r==="bottom-right"&&{right:12,transform:"none"},...r==="bottom-left"&&{left:12,transform:"none"},"@keyframes slideIn":{"0%":{opacity:0,transform:r==="bottom-center"?"translate(-50%, 100%)":r==="bottom-right"?"translateX(100%)":"translateX(-100%)"},"100%":{opacity:1,transform:r==="bottom-center"?"translate(-50%, 0)":"translateX(0)"}}})),l=styled("img")({cursor:"pointer"});var c=forwardRef(({message:o="Something went wrong",onRetry:r,position:f="bottom-center",id:e,className:T,sx:y,...g},x)=>jsxs(i,{ref:x,...g,className:nc(t.root,T),sx:y,id:e,"data-testid":e??"ErrorToast",toastPosition:f,children:[jsx(j,{component:"p",textVariant:"body.small.medium",noWrap:true,className:t.message,children:o}),jsx(l,{className:t.icon,onClick:b=>r?.(b),src:_if,alt:"toast-icon"})]}));c.displayName="ErrorToast";var N=memo(c);export{t as a,N as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {p,B,d,r}from'./chunk-
|
|
1
|
+
import {p,B,d,r}from'./chunk-N76O4JDU.js';import {n}from'./chunk-DQGA7KCO.js';import {_b,Bc,Mb}from'./chunk-NTNU6XF2.js';import {We,im,_e,Jj,Ye,Ze}from'./chunk-CZLLJ6SR.js';import {memo,useCallback,useState,useId,useReducer,useEffect}from'react';import {useTranslation}from'react-i18next';import {motion,AnimatePresence}from'framer-motion';import Vo from'@mui/material/CircularProgress';import U from'@mui/material/LinearProgress';import Qo from'@mui/material/Popper';import $ from'dayjs';import {styled,Box,alpha,CircularProgress}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';import {styled as styled$1}from'@mui/material/styles';var no=styled(motion.div,{shouldForwardProp:o=>!["notificationState","open","loading","ready","failed"].includes(o)})(({theme:o,notificationState:n,open:a,loading:r,ready:p,failed:t})=>({position:"relative",border:`1px solid ${o.palette.divider}`,padding:"0 8px",height:32,borderRadius:"4px",display:"flex",alignItems:"center",overflow:"hidden",fontSize:"11px",fontWeight:500,color:o.palette.text.primary,transition:"width 2s ease-in-out",cursor:"pointer",...(n?.success||n?.failed)&&!r&&!p&&!t&&{"&:after":{content:'""',width:7,height:7,backgroundColor:n?.failed?o.palette.common.red:o.palette.success.dark,borderRadius:"50%",position:"absolute",top:5,border:`1px solid ${o.palette.common.white}`,right:6}},...a&&{border:`1px solid ${o.palette.info.dark}`,boxShadow:o.shadows[7]}})),io=styled(Box)(()=>({position:"relative"})),ao=styled(Box)(({theme:o})=>({background:o.palette.common.white,boxShadow:o.shadows[9],borderRadius:"4px",marginTop:"8px"})),po=styled(Box)(({theme:o})=>({background:o.palette.background.transparent[2],backdropFilter:"blur(2px)",color:o.palette.text.primary,fontSize:"11px",fontWeight:500,height:31,textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",overflow:"hidden",borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"})),so=styled(Box)(({theme:o})=>({display:"flex",alignItems:"center",gap:"8px",padding:"5.5px 8px",minHeight:48,height:"auto",borderBottom:`1px solid ${o.palette.divider}`,cursor:"pointer","&:hover":{boxShadow:o.shadows[3]}})),lo=styled("img")(()=>({width:16,height:16,objectFit:"contain",flexShrink:0,display:"block"})),co=styled(Box)(()=>({display:"flex",flexDirection:"column",gap:"2px"})),mo=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"space-between",flex:1})),uo=styled(Box)(({theme:o})=>({fontSize:"11px",color:o.palette.text.primary,fontWeight:500,wordBreak:"break-all",paddingInlineEnd:"8px"})),fo=styled(Box)(({theme:o})=>({fontSize:"9px",color:o.palette.text.textSecondary,fontWeight:600})),go=styled(Box)(({theme:o})=>({display:"flex",alignItems:"center",gap:"8px",height:32,padding:"4px 8px",borderBottom:`1px solid ${o.palette.divider}`,cursor:"pointer","&:hover":{boxShadow:o.shadows[3]}})),xo=styled(Box)(({theme:o})=>({fontSize:"11px",color:o.palette.text.primary,fontWeight:400,textTransform:"uppercase"})),T=styled(Box)(({theme:o})=>({borderTop:`2px solid ${o.palette.divider}`})),M=styled(Box)(({theme:o})=>({position:"absolute",bottom:0,right:0,left:0,".MuiLinearProgress-root":{backgroundColor:o.palette.divider,height:2},".MuiLinearProgress-bar":{background:o.palette.background.gradient.shadedBlue},"&.done .MuiLinearProgress-bar":{background:o.palette.success.dark},"&.failed .MuiLinearProgress-bar":{background:o.palette.common.red}})),u=styled(Box)(({theme:o})=>({display:"flex",alignItems:"center",gap:"8px",".MuiCircularProgress-root":{width:"14px !important",height:"14px !important",display:"flex"},".MuiCircularProgress-circle":{strokeWidth:"1.017px",stroke:alpha(o.palette.common.black,.62)}})),I=styled(Box)(()=>({position:"relative"})),P=styled(Box)(({theme:o})=>({position:"absolute",color:o.palette.common.black,fontSize:"7.875px",fontWeight:700,width:14,height:14,display:"flex",alignItems:"center",justifyContent:"center"})),k=styled("img")(()=>({width:14,height:14})),Do=styled(Box)(()=>({display:"flex",flexDirection:"row",alignItems:"center",gap:"8px",padding:"8px"}));var yo=o=>{let n=new Date,a=$(o).isSame(n,"year"),r={sameDay:"DD MMM, YYYY",nextDay:"DD MMM, YYYY",lastDay:"DD MMM, YYYY",sameElse:"DD MMM, YYYY",lastWeek:"DD MMM, YYYY",nextWeek:"DD MMM, YYYY"};return a&&(r={sameDay:"DD MMM",nextDay:"DD MMM",lastDay:"DD MMM",sameElse:"DD MMM",lastWeek:"DD MMM",nextWeek:"DD MMM"}),$(o).calendar(null,r)},Ro=(o,n)=>{let a=new Date().toISOString().split("T")[0],r=n??`file_${a}`,t=/\.(xlx|xlsx|csv|txt|doc|docx|pdf|jpg|png|gif|zip|rar)$/i.exec(o),c=t?t[0]:".csv";return `${r}${c}`};var A={loading:false,success:false,error:null},Wo=(o=A,n)=>{switch(n.type){case "RESET":return A;case "LOADING":return {...o,loading:true};case "SUCCESS":return {...o,success:true};case "ERROR":return {...o,error:n.error};default:return o}},C=({onDownload:o})=>{let n$1=n(),[{loading:a,error:r,success:p},t]=useReducer(Wo,A),c=useCallback(()=>t({type:"LOADING"}),[]),m=useCallback(()=>t({type:"SUCCESS"}),[]),D=useCallback(l=>t({type:"ERROR",error:l}),[]),h=useCallback(()=>t({type:"RESET"}),[]);useEffect(()=>{(p||r)&&setTimeout(()=>{h();},3e3);},[p,r,h]);let L=useCallback(()=>{o&&(c(),o().then(l=>{m(),Mb(l.url,Ro(l.result_file,l.id));}).catch(l=>{D(l),n$1.error(l?.response?.data?.error?.message||l?.message||"Failed to download report");}));},[o,c,m,D]);return {loading:a,error:r,success:p,handleDownloadReport:L}};function No({onDownload:o}){let{loading:n,error:a,success:r,handleDownloadReport:p}=C({onDownload:o});return n?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsx(u,{children:jsxs(I,{children:[jsx(P,{children:"1"}),jsx(CircularProgress,{})]})})}):r?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsx(u,{children:jsx(k,{src:_e,alt:"done"})})}):a?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsx(u,{children:jsx(k,{src:Jj,alt:"failed"})})}):jsx(k,{onClick:p,src:Ye,alt:"reports"})}var Y=No;function O(){return jsxs(Do,{children:[jsx(r,{width:"16px",height:"16px",variant:"rectangular"}),jsx(r,{width:"100%",variant:"text"}),jsx(r,{width:"12px",height:"12px",variant:"circular"})]})}function Uo({reports:o,isLoading:n=false,onDownloadReport:a}){let r=useCallback(t=>a?a(t):Promise.reject(new Error("No download report function provided")),[a]),p=o.map(t=>{let c=$(t.created_at).isBefore($().subtract(1,"day")),m=_b(t.result_file);return jsxs(so,{children:[jsx(lo,{src:m,alt:"download"}),jsxs(mo,{children:[jsxs(co,{children:[jsx(uo,{children:t.result_file}),jsx(fo,{children:c?yo(new Date(t.created_at)):$(new Date(t.created_at)).fromNow()})]}),jsx(Y,{onDownload:()=>r(t.id)})]})]},t.id)});return n?jsxs(T,{children:[jsx(O,{}),jsx(O,{})]}):jsx(T,{children:p})}var ho=memo(Uo);function Jo(o){let{progress:n,reportsQueryResult:a,isStatusReady:r,isStatusFailed:p$1,isLoading:t,notificationState:c,onOpenDropdown:m,onRequestReportFile:D,onOpenReportsApp:h,hideOpenReportsApp:L=false,onDownloadReport:l,customContent:Mo}=o,[H,G]=useState(null),{t:w}=useTranslation(),E=!!H,{data:Io,isLoading:Po}=a,ko=useCallback(F=>{t||r||(m?.(),G(F.currentTarget));},[t,r,m]),y=useCallback(()=>{G(null);},[]),Co=useCallback(()=>{t||(y(),D?.());},[t,y,D]),Bo=F=>{F.stopPropagation(),h?.(),y();},Lo=()=>t?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsxs(u,{children:[jsxs(I,{children:[jsx(P,{children:"1"}),jsx(Vo,{})]}),jsx("span",{children:w("preparing")}),jsx(M,{children:jsx(U,{variant:"determinate",value:n})})]})}):r?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsxs(u,{children:[jsx("img",{src:_e,alt:"done"}),jsx("span",{children:w("ready")}),jsx(M,{className:"done",children:jsx(U,{variant:"determinate",value:100})})]})}):p$1?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsxs(u,{children:[jsx("img",{src:Jj,alt:"failed"}),jsx("span",{children:w("failed")}),jsx(M,{className:"failed",children:jsx(U,{variant:"determinate",value:100})})]})}):jsx("img",{src:Ze,alt:"reports"});return jsxs(io,{"data-testid":"TableReports_ReportsWrapper",children:[jsx(AnimatePresence,{children:jsx(p,{title:w("reports"),children:jsx(no,{"data-testid":"TableReports_ExportButton",onClick:ko,notificationState:c,open:E,loading:t,ready:r,failed:p$1,sx:{...(t||r||p$1)&&{borderBottom:"none"}},initial:{width:"auto"},transition:{duration:.25},children:Lo()})})}),E&&jsx(B,{onClick:y}),jsx(Qo,{open:E,anchorEl:H,placement:"bottom-end",children:jsxs(ao,{sx:{width:208},children:[Mo?.({closeDropdown:y})??jsxs(go,{onClick:Co,children:[jsx("img",{src:We,alt:"download"}),jsx(xo,{children:"csv"})]}),jsx(ho,{reports:Io?.reports??[],isLoading:Po,onDownloadReport:l}),!L&&jsx(po,{onClick:Bo,children:w("openReportsApp")})]})})]})}var bo=memo(Jo);var vo=styled$1(motion.div)(({theme:o})=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",width:54,height:18,backgroundColor:"#1F88D0",borderRadius:"2px",fontSize:"8px",fontWeight:600,color:o.palette.common.white}));function nt({onDownload:o}){let n=Bc(useId(),"download-button"),{loading:a,error:r,success:p,handleDownloadReport:t}=C({onDownload:o}),{t:c}=useTranslation(),m=!a&&!r&&!p;return jsx(vo,{id:n,"data-testid":"DownloadButton",onClick:t,children:jsxs(AnimatePresence,{mode:"wait",initial:false,children:[a&&jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},style:{display:"flex",alignItems:"center"},children:jsx(Vo,{size:"10px",sx:{color:"rgba(255, 255, 255, 0.62)"}})},"loading"),!!r&&jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsx(d,{src:im,sx:{width:"auto",height:"auto"},alt:"error"})},"error"),m&&jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:c("download")},"text")]})})}var So=memo(nt);var at=So;var fe=bo;export{C as a,Y as b,at as c,fe as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-BOLP7MMA.js';import {V as V$1,f,l,R,v}from'./chunk-TNT6LPG6.js';import {o}from'./chunk-6BJANCV7.js';import {xb}from'./chunk-4FJ26UVI.js';import {createContext,forwardRef,useMemo,useState,useRef,useCallback,useEffect,useImperativeHandle,useContext}from'react';import Re from'@mui/material/Stack';import ne from'@mui/material/Typography';import ie from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import {Stack}from'@mui/material';import it from'lodash/debounce';import j from'memoize-one';var Ue=(r=>(r.CHECKED="CHECKED",r.UNCHECKED="UNCHECKED",r.INDETERMINATE="INDETERMINATE",r))(Ue||{});styled("img",{shouldForwardProp:e=>e!=="expanded"})(({theme:e,expanded:t})=>({transform:t?"rotate(180deg)":"rotate(0deg)",marginLeft:"auto",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})}));styled(ie)(()=>({display:"flex",justifyContent:"center",alignItems:"center",paddingBlock:"4px",borderTop:"1px solid #F2F2F2"}));var F=styled(V$1)({minWidth:120,minHeight:36,maxHeight:36,paddingTop:0,paddingBottom:0,backgroundColor:"#fff","--menuitem-border-rad":"4px","&:hover":{boxShadow:"0px 0px 16px rgba(0, 0, 0, 0.13)",zIndex:1}}),V=styled(e=>jsx(F,{startAdornment:null,...e}))(({theme:e})=>({fontSize:11,fontWeight:500,color:e.palette.grey[700],minHeight:36,maxHeight:"auto",cursor:"auto",":hover":{boxShadow:"none",zIndex:1}}));var _=createContext({treeMapper:{},handleSelect:()=>{},multiple:false}),Ve=({children:e,treeMapper:t,handleSelect:o,multiple:r,IconComponent:n})=>{let i=useMemo(()=>({treeMapper:t,handleSelect:o,multiple:r,IconComponent:n}),[t,o,r,n]);return jsx(_.Provider,{value:i,children:e})},re=Ve;var Ge=()=>{let e=useContext(_);if(!e)throw new Error("'useTreeDropdown' must be used within an 'TreeDropdownProvider'");return e},B=Ge;var ae=styled(f)({padding:0,paddingRight:"4px",width:"14px !important",".MuiSvgIcon-root":{width:"12px !important",height:"12px !important"}}),se=styled(l)({padding:0}),le=styled(ie)(()=>({display:"flex",gap:"8px",justifyContent:"space-between",flexGrow:1,width:"100%",alignItems:"center",minWidth:0})),pe=styled(e=>jsx(ne,{noWrap:true,component:"span",...e}))(({theme:e})=>({flex:1,fontSize:"inherit",width:"100%",display:"inline-block",color:e.palette.text.primary})),de=styled(e=>jsx(ne,{noWrap:true,...e}))(({theme:e})=>({color:alpha(e.palette.text.primary,.5),fontSize:8})),ce=styled(ie,{shouldForwardProp:e=>e!=="isOneDigit"})(({theme:e,isOneDigit:t=true})=>({borderRadius:t?"50%":"4px",background:e.palette.divider,width:t?13:"auto",height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px",...!t&&{padding:"0 3px"}})),ue=styled("img")(()=>({height:12}));var Je=e=>{let{checked:t,indeterminate:o,onSelect:r}=e,{multiple:n}=B(),i=useCallback(a=>{a.stopPropagation(),r(a);},[r]);return n?jsx(ae,{size:"small",checked:t,indeterminate:o,onChange:i}):jsx(se,{checked:t,onChange:i})},he=Je;var Ze=e=>{let{renderItem:t,header:o,footer:r,...n}=e,{treeMapper:i,handleSelect:a,multiple:c,IconComponent:p}=B(),{label:s,icon:d,iconComponent:l,levelIndex:h=0,children:f,nestedMenuSx:I,hintText:y,disableHovering:m,itemProps:T,searchProps:u,subLevelKey:E}=n,[x,N]=useState(null),w=!!f,H=f?.length,L=useCallback(R=>{m||N(R.currentTarget);},[m]),S=useCallback(()=>{m||N(null);},[m]);useEffect(()=>{m&&N(null);},[m]);let M=useMemo(()=>l||(d&&p?jsx(p,{fileId:d.fileId,width:d.width??20,height:d.height??20}):null),[l,d,p]),g=i[n.id]?.status==="CHECKED",k=c?i[n.id]?.status==="INDETERMINATE":false,O=c||!w,v=useCallback(R=>{R.stopPropagation(),a(R.target.checked,n);},[a,n]);return jsxs(F,{startAdornment:null,onMouseEnter:L,onMouseLeave:S,"data-testid":n.id,onClick:()=>{a(!g,n);},...T,children:[t?t({nodeProps:n,checked:g,indeterminate:k,onSelect:v}):jsxs(le,{width:"100%","data-testid":"Content",children:[O&&jsx(he,{checked:g,indeterminate:k,onSelect:v}),M,jsxs(Stack,{flex:1,width:"100%",minWidth:0,children:[jsx(pe,{title:typeof s=="string"?s:void 0,children:s}),y&&jsx(de,{title:typeof y=="string"?y:void 0,children:y})]}),jsxs(Stack,{direction:"row",alignItems:"center",spacing:.5,children:[H&&jsx(ce,{isOneDigit:Math.floor(H/10)===0,children:H}),w&&jsx(ue,{src:xb,alt:"Expand"})]})]}),!!f&&jsx(U,{anchorEl:x,menuItems:f,levelIndex:h+1,sx:I,header:o,levelKey:E,footer:r,searchProps:u})]})},ge=Ze;var xe=ge;var Ce=styled(R)({maxHeight:"100%"}),ye=styled("div")({position:"relative","&:before, &:after":{display:"none"},"&.scrollable":{position:"relative","&::before, &::after":{display:"block",content:'""',position:"absolute",left:0,width:"100%",height:"20px",opacity:1,pointerEvents:"none",zIndex:2,transition:"opacity 0.3s ease-out"},"&::before":{top:0,background:"linear-gradient(to top, transparent, rgba(255, 255, 255, 1))"},"&::after":{bottom:0,background:"linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1))"}},"&.scrolled-to-top":{"&::before":{opacity:0}},"&.scrolled-to-bottom":{"&::after":{opacity:0}}}),be=styled("ul")({listStyle:"none",padding:0,margin:0,maxHeight:300,overflow:"auto"});var rt=({children:e,onScroll:t})=>{let o$1=useRef(null),{scrolledToBottom:r,scrolledToTop:n,scrollable:i,handleScroll:a}=o({containerRef:o$1}),c=useMemo(()=>[r&&"scrolled-to-bottom",n&&"scrolled-to-top",i&&"scrollable"].filter(Boolean).join(" "),[r,n,i]),p=useCallback(s=>{t(s),a(s);},[t,a]);return jsx(ye,{sx:{position:"relative"},className:c,children:jsx(be,{ref:o$1,onScroll:p,children:e})})},Ne=rt;var at=e=>{let{initialValue:t="",getValues:o,filterItem:r,onChange:n,items:i,enabled:a=false,debounceMs:c=300}=e,[p,s]=useState(t),[d,l]=useState(t),h=useMemo(()=>it(m=>{l(m);},c),[c]);useEffect(()=>(h(p),()=>h.cancel()),[h,p]);let f=useCallback(m=>{let T=m.target.value;s(T),h(T),n?.(m);},[n,h]),I=useCallback(()=>{s(""),l(""),h.cancel(),n?.({target:{value:""}});},[n,h]),y=useMemo(()=>{if(!a||!d.trim())return i;let m=d.toLowerCase();return r?i.reduce((T,u)=>{let E=r(u,m);return E&&T.push(E),T},[]):o?i.filter(T=>o(T).some(u=>u.toLowerCase().includes(m))):(console.error("`searchProps.getValues` is required for searching, provide it on the tree node level or the global search props"),i)},[i,d,o,r,a]);return {searchText:p,filteredItems:y,handleSearch:f,handleReset:I}},ve=at;var ft=e=>{let{anchorEl:t,sx:o,levelIndex:r=0,placement:n,menuItems:i,header:a,footer:c,levelKey:p,searchProps:s}=e,[d,l]=useState(false),h=!!t,f=!!s,{searchText:I,filteredItems:y,handleSearch:m,handleReset:T}=ve({...s,enabled:f,items:i}),u=useRef(),E=useCallback(()=>{l(true),clearTimeout(u.current),u.current=setTimeout(()=>{l(false);},100);},[]);return useEffect(()=>()=>clearTimeout(u.current),[]),jsx(Ce,{open:h,anchorEl:t,placement:r>0?"right-start":n,"data-level":r,"data-level-key":p,onClick:x=>x.stopPropagation(),sx:{...o,"&.MuiPopper-dropdown":{"&:after":{display:"none"}}},children:jsxs(Re,{divider:jsx(v,{flexItem:true}),children:[a&&jsx(V,{children:a}),f&&jsxs(Re,{divider:jsx(v,{flexItem:true,sx:{my:1}}),children:[jsx(ie,{sx:{p:1},children:jsx(b,{id:`tree-search-input-${r}`,...s?.inputProps,placeholder:s?.inputProps?.placeholder??"Search...",onChange:m,value:I,inputProps:{autoComplete:"off"},onClear:T})}),y.length===0&&s?.noResultsText&&jsx(ne,{component:"div",fontSize:10,color:x=>alpha(x.palette.text.primary,.4),textAlign:"center",minHeight:36,fontWeight:500,display:"flex",alignItems:"center",justifyContent:"center",children:jsx("span",{children:"No results found"})})]}),jsx(Ne,{onScroll:E,children:y.map((x,N)=>jsx(xe,{disableHovering:d,...x,levelIndex:r,subLevelKey:x.levelKey,nestedMenuSx:o},`${r}-${x.id}-${N}`))}),c&&jsx(V,{children:c})]})})},U=ft;function ht(e){function t(o){let r=o.children?o.children.map(t):void 0;if(r?.length===1&&r[0].children?.length&&!r[0].disablePromotion){let n=r[0];r=n.children,o={...o,header:n.header??o.header,footer:n.footer??o.footer,searchProps:n.searchProps??o.searchProps};}return {...o,children:r}}return e.map(t)}function we(e,t,o=[]){for(let r of e)r.status==="CHECKED"&&o.push(r.id),r.children&&we(r.children,t,o);return o}function He(e,t=[],o={},r=false){for(let n of e){let i=r?"CHECKED":n.status??"UNCHECKED";o[n.id]={status:i,...t.length?{_parents:t}:{}},n.children&&He(n.children,[...t,n.id],o,i==="CHECKED");}return o}function Le(e,t){let o=He(e),r=we(e,t),n=o;for(let i of r)n=q(n,i,true);return n}function ke(e,t){return e.map(o=>({...o,status:t[o.id]?.status??"UNCHECKED",children:o.children?ke(o.children,t):void 0}))}function Tt(e){let t={};for(let o of Object.keys(e)){let r=e[o]._parents;if(!r?.length)continue;let n=r[r.length-1];t[n]??(t[n]=[]),t[n].push(o);}return t}function q(e,t,o){let r=structuredClone(e),n=Tt(e),i=o?"CHECKED":"UNCHECKED";function a(p){r[p].status=i;for(let s of n[p]??[])a(s);}function c(p){let s=r[p]._parents;if(!s?.length)return;let d=s[s.length-1],h=(n[d]??[]).map(f=>r[f].status);h.every(f=>f==="CHECKED")?r[d].status="CHECKED":h.every(f=>f==="UNCHECKED")?r[d].status="UNCHECKED":r[d].status="INDETERMINATE",c(d);}return a(t),c(t),r}function gt(e){function t(o){let r=o.children?.map(t).filter(Boolean);return o.status==="CHECKED"||o.status==="INDETERMINATE"||r&&r.length>0?{...o,children:r}:null}return e.map(t).filter(Boolean)}function De(e){let t={};for(let o in e)t[o]={status:"UNCHECKED",...e[o]._parents?{_parents:e[o]._parents}:{}};return t}function Ke(e,t,o,r){if(r)return q(e,t,o);if(!o)return De(e);let n=De(e);return q(n,t,true)}function xt(e,t){let o=[];function r(n){n.levelKey===t&&o.push(n),n.children?.forEach(i=>r(i));}return e.forEach(r),o}var C={denormalizeTree:j((e,t)=>ke(e,t)),extractSelectedBranches:j(e=>gt(e)),filterNodesByLevelKey:j((e,t)=>xt(e,t))};function J(e){let t=ht(e.children??[]);if(t.length===1&&t[0].children?.length&&!t[0].disablePromotion){let[o]=t;return J({levelKey:o.levelKey,children:o.children,header:o.header??e.header,footer:o.footer??e.footer,searchProps:o.searchProps??e.searchProps})}return {...e,children:t}}var It=forwardRef((e,t)=>{let{anchorEl:o,placement:r="bottom-start",treeDefinition:n,sx:i,onChange:a,multiple:c=true,exposeOnlySelectedTree:p=false,IconComponent:s,onMounted:d}=e,{children:l=[]}=n,h=useMemo(()=>J(n),[n]),{header:f,footer:I,children:y=[],searchProps:m,levelKey:T}=h,[u,E]=useState({}),x=useRef(d);x.current=d;let N=useCallback(()=>C.denormalizeTree(l,u),[l,u]),w=useCallback(()=>C.extractSelectedBranches(N()),[N]),H=useCallback((S,M)=>{let g=Ke(u,M.id,S,c);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[a,l,u,c,p]),L=useCallback(S=>{let g=((k,O)=>{let v={...k};return Object.keys(v).forEach(R=>{v[R]={...v[R],status:O?"CHECKED":"UNCHECKED"};}),v})(u,S);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[u,a,l,p]);return useEffect(()=>{let S=Le(l||[],c);E(S);let M=C.denormalizeTree(l,S),g=C.extractSelectedBranches(M);x.current?.({state:S,tree:M,selectedTree:g});},[l,c]),useImperativeHandle(t,()=>({treeMapper:u,getFullTree:N,getSelectedTree:w,toggleAll:L}),[u,N,w,L]),jsx(re,{treeMapper:u,IconComponent:s,handleSelect:H,multiple:c,children:jsx(U,{anchorEl:o,sx:i,header:f,footer:I,menuItems:y,levelKey:T,searchProps:m,placement:r})})}),ze=It;var Xo=ze;export{Ue as a,C as b,Xo as c};
|
|
1
|
+
import {b}from'./chunk-ZDE3HHHG.js';import {V as V$1,f,l,R,v}from'./chunk-N76O4JDU.js';import {o}from'./chunk-DQGA7KCO.js';import {xb}from'./chunk-CZLLJ6SR.js';import {createContext,forwardRef,useMemo,useState,useRef,useCallback,useEffect,useImperativeHandle,useContext}from'react';import Re from'@mui/material/Stack';import ne from'@mui/material/Typography';import ie from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import {Stack}from'@mui/material';import it from'lodash/debounce';import j from'memoize-one';var Ue=(r=>(r.CHECKED="CHECKED",r.UNCHECKED="UNCHECKED",r.INDETERMINATE="INDETERMINATE",r))(Ue||{});styled("img",{shouldForwardProp:e=>e!=="expanded"})(({theme:e,expanded:t})=>({transform:t?"rotate(180deg)":"rotate(0deg)",marginLeft:"auto",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})}));styled(ie)(()=>({display:"flex",justifyContent:"center",alignItems:"center",paddingBlock:"4px",borderTop:"1px solid #F2F2F2"}));var F=styled(V$1)({minWidth:120,minHeight:36,maxHeight:36,paddingTop:0,paddingBottom:0,backgroundColor:"#fff","--menuitem-border-rad":"4px","&:hover":{boxShadow:"0px 0px 16px rgba(0, 0, 0, 0.13)",zIndex:1}}),V=styled(e=>jsx(F,{startAdornment:null,...e}))(({theme:e})=>({fontSize:11,fontWeight:500,color:e.palette.grey[700],minHeight:36,maxHeight:"auto",cursor:"auto",":hover":{boxShadow:"none",zIndex:1}}));var _=createContext({treeMapper:{},handleSelect:()=>{},multiple:false}),Ve=({children:e,treeMapper:t,handleSelect:o,multiple:r,IconComponent:n})=>{let i=useMemo(()=>({treeMapper:t,handleSelect:o,multiple:r,IconComponent:n}),[t,o,r,n]);return jsx(_.Provider,{value:i,children:e})},re=Ve;var Ge=()=>{let e=useContext(_);if(!e)throw new Error("'useTreeDropdown' must be used within an 'TreeDropdownProvider'");return e},B=Ge;var ae=styled(f)({padding:0,paddingRight:"4px",width:"14px !important",".MuiSvgIcon-root":{width:"12px !important",height:"12px !important"}}),se=styled(l)({padding:0}),le=styled(ie)(()=>({display:"flex",gap:"8px",justifyContent:"space-between",flexGrow:1,width:"100%",alignItems:"center",minWidth:0})),pe=styled(e=>jsx(ne,{noWrap:true,component:"span",...e}))(({theme:e})=>({flex:1,fontSize:"inherit",width:"100%",display:"inline-block",color:e.palette.text.primary})),de=styled(e=>jsx(ne,{noWrap:true,...e}))(({theme:e})=>({color:alpha(e.palette.text.primary,.5),fontSize:8})),ce=styled(ie,{shouldForwardProp:e=>e!=="isOneDigit"})(({theme:e,isOneDigit:t=true})=>({borderRadius:t?"50%":"4px",background:e.palette.divider,width:t?13:"auto",height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px",...!t&&{padding:"0 3px"}})),ue=styled("img")(()=>({height:12}));var Je=e=>{let{checked:t,indeterminate:o,onSelect:r}=e,{multiple:n}=B(),i=useCallback(a=>{a.stopPropagation(),r(a);},[r]);return n?jsx(ae,{size:"small",checked:t,indeterminate:o,onChange:i}):jsx(se,{checked:t,onChange:i})},he=Je;var Ze=e=>{let{renderItem:t,header:o,footer:r,...n}=e,{treeMapper:i,handleSelect:a,multiple:c,IconComponent:p}=B(),{label:s,icon:d,iconComponent:l,levelIndex:h=0,children:f,nestedMenuSx:I,hintText:y,disableHovering:m,itemProps:T,searchProps:u,subLevelKey:E}=n,[x,N]=useState(null),w=!!f,H=f?.length,L=useCallback(R=>{m||N(R.currentTarget);},[m]),S=useCallback(()=>{m||N(null);},[m]);useEffect(()=>{m&&N(null);},[m]);let M=useMemo(()=>l||(d&&p?jsx(p,{fileId:d.fileId,width:d.width??20,height:d.height??20}):null),[l,d,p]),g=i[n.id]?.status==="CHECKED",k=c?i[n.id]?.status==="INDETERMINATE":false,O=c||!w,v=useCallback(R=>{R.stopPropagation(),a(R.target.checked,n);},[a,n]);return jsxs(F,{startAdornment:null,onMouseEnter:L,onMouseLeave:S,"data-testid":n.id,onClick:()=>{a(!g,n);},...T,children:[t?t({nodeProps:n,checked:g,indeterminate:k,onSelect:v}):jsxs(le,{width:"100%","data-testid":"Content",children:[O&&jsx(he,{checked:g,indeterminate:k,onSelect:v}),M,jsxs(Stack,{flex:1,width:"100%",minWidth:0,children:[jsx(pe,{title:typeof s=="string"?s:void 0,children:s}),y&&jsx(de,{title:typeof y=="string"?y:void 0,children:y})]}),jsxs(Stack,{direction:"row",alignItems:"center",spacing:.5,children:[H&&jsx(ce,{isOneDigit:Math.floor(H/10)===0,children:H}),w&&jsx(ue,{src:xb,alt:"Expand"})]})]}),!!f&&jsx(U,{anchorEl:x,menuItems:f,levelIndex:h+1,sx:I,header:o,levelKey:E,footer:r,searchProps:u})]})},ge=Ze;var xe=ge;var Ce=styled(R)({maxHeight:"100%"}),ye=styled("div")({position:"relative","&:before, &:after":{display:"none"},"&.scrollable":{position:"relative","&::before, &::after":{display:"block",content:'""',position:"absolute",left:0,width:"100%",height:"20px",opacity:1,pointerEvents:"none",zIndex:2,transition:"opacity 0.3s ease-out"},"&::before":{top:0,background:"linear-gradient(to top, transparent, rgba(255, 255, 255, 1))"},"&::after":{bottom:0,background:"linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1))"}},"&.scrolled-to-top":{"&::before":{opacity:0}},"&.scrolled-to-bottom":{"&::after":{opacity:0}}}),be=styled("ul")({listStyle:"none",padding:0,margin:0,maxHeight:300,overflow:"auto"});var rt=({children:e,onScroll:t})=>{let o$1=useRef(null),{scrolledToBottom:r,scrolledToTop:n,scrollable:i,handleScroll:a}=o({containerRef:o$1}),c=useMemo(()=>[r&&"scrolled-to-bottom",n&&"scrolled-to-top",i&&"scrollable"].filter(Boolean).join(" "),[r,n,i]),p=useCallback(s=>{t(s),a(s);},[t,a]);return jsx(ye,{sx:{position:"relative"},className:c,children:jsx(be,{ref:o$1,onScroll:p,children:e})})},Ne=rt;var at=e=>{let{initialValue:t="",getValues:o,filterItem:r,onChange:n,items:i,enabled:a=false,debounceMs:c=300}=e,[p,s]=useState(t),[d,l]=useState(t),h=useMemo(()=>it(m=>{l(m);},c),[c]);useEffect(()=>(h(p),()=>h.cancel()),[h,p]);let f=useCallback(m=>{let T=m.target.value;s(T),h(T),n?.(m);},[n,h]),I=useCallback(()=>{s(""),l(""),h.cancel(),n?.({target:{value:""}});},[n,h]),y=useMemo(()=>{if(!a||!d.trim())return i;let m=d.toLowerCase();return r?i.reduce((T,u)=>{let E=r(u,m);return E&&T.push(E),T},[]):o?i.filter(T=>o(T).some(u=>u.toLowerCase().includes(m))):(console.error("`searchProps.getValues` is required for searching, provide it on the tree node level or the global search props"),i)},[i,d,o,r,a]);return {searchText:p,filteredItems:y,handleSearch:f,handleReset:I}},ve=at;var ft=e=>{let{anchorEl:t,sx:o,levelIndex:r=0,placement:n,menuItems:i,header:a,footer:c,levelKey:p,searchProps:s}=e,[d,l]=useState(false),h=!!t,f=!!s,{searchText:I,filteredItems:y,handleSearch:m,handleReset:T}=ve({...s,enabled:f,items:i}),u=useRef(),E=useCallback(()=>{l(true),clearTimeout(u.current),u.current=setTimeout(()=>{l(false);},100);},[]);return useEffect(()=>()=>clearTimeout(u.current),[]),jsx(Ce,{open:h,anchorEl:t,placement:r>0?"right-start":n,"data-level":r,"data-level-key":p,onClick:x=>x.stopPropagation(),sx:{...o,"&.MuiPopper-dropdown":{"&:after":{display:"none"}}},children:jsxs(Re,{divider:jsx(v,{flexItem:true}),children:[a&&jsx(V,{children:a}),f&&jsxs(Re,{divider:jsx(v,{flexItem:true,sx:{my:1}}),children:[jsx(ie,{sx:{p:1},children:jsx(b,{id:`tree-search-input-${r}`,...s?.inputProps,placeholder:s?.inputProps?.placeholder??"Search...",onChange:m,value:I,inputProps:{autoComplete:"off"},onClear:T})}),y.length===0&&s?.noResultsText&&jsx(ne,{component:"div",fontSize:10,color:x=>alpha(x.palette.text.primary,.4),textAlign:"center",minHeight:36,fontWeight:500,display:"flex",alignItems:"center",justifyContent:"center",children:jsx("span",{children:"No results found"})})]}),jsx(Ne,{onScroll:E,children:y.map((x,N)=>jsx(xe,{disableHovering:d,...x,levelIndex:r,subLevelKey:x.levelKey,nestedMenuSx:o},`${r}-${x.id}-${N}`))}),c&&jsx(V,{children:c})]})})},U=ft;function ht(e){function t(o){let r=o.children?o.children.map(t):void 0;if(r?.length===1&&r[0].children?.length&&!r[0].disablePromotion){let n=r[0];r=n.children,o={...o,header:n.header??o.header,footer:n.footer??o.footer,searchProps:n.searchProps??o.searchProps};}return {...o,children:r}}return e.map(t)}function we(e,t,o=[]){for(let r of e)r.status==="CHECKED"&&o.push(r.id),r.children&&we(r.children,t,o);return o}function He(e,t=[],o={},r=false){for(let n of e){let i=r?"CHECKED":n.status??"UNCHECKED";o[n.id]={status:i,...t.length?{_parents:t}:{}},n.children&&He(n.children,[...t,n.id],o,i==="CHECKED");}return o}function Le(e,t){let o=He(e),r=we(e,t),n=o;for(let i of r)n=q(n,i,true);return n}function ke(e,t){return e.map(o=>({...o,status:t[o.id]?.status??"UNCHECKED",children:o.children?ke(o.children,t):void 0}))}function Tt(e){let t={};for(let o of Object.keys(e)){let r=e[o]._parents;if(!r?.length)continue;let n=r[r.length-1];t[n]??(t[n]=[]),t[n].push(o);}return t}function q(e,t,o){let r=structuredClone(e),n=Tt(e),i=o?"CHECKED":"UNCHECKED";function a(p){r[p].status=i;for(let s of n[p]??[])a(s);}function c(p){let s=r[p]._parents;if(!s?.length)return;let d=s[s.length-1],h=(n[d]??[]).map(f=>r[f].status);h.every(f=>f==="CHECKED")?r[d].status="CHECKED":h.every(f=>f==="UNCHECKED")?r[d].status="UNCHECKED":r[d].status="INDETERMINATE",c(d);}return a(t),c(t),r}function gt(e){function t(o){let r=o.children?.map(t).filter(Boolean);return o.status==="CHECKED"||o.status==="INDETERMINATE"||r&&r.length>0?{...o,children:r}:null}return e.map(t).filter(Boolean)}function De(e){let t={};for(let o in e)t[o]={status:"UNCHECKED",...e[o]._parents?{_parents:e[o]._parents}:{}};return t}function Ke(e,t,o,r){if(r)return q(e,t,o);if(!o)return De(e);let n=De(e);return q(n,t,true)}function xt(e,t){let o=[];function r(n){n.levelKey===t&&o.push(n),n.children?.forEach(i=>r(i));}return e.forEach(r),o}var C={denormalizeTree:j((e,t)=>ke(e,t)),extractSelectedBranches:j(e=>gt(e)),filterNodesByLevelKey:j((e,t)=>xt(e,t))};function J(e){let t=ht(e.children??[]);if(t.length===1&&t[0].children?.length&&!t[0].disablePromotion){let[o]=t;return J({levelKey:o.levelKey,children:o.children,header:o.header??e.header,footer:o.footer??e.footer,searchProps:o.searchProps??e.searchProps})}return {...e,children:t}}var It=forwardRef((e,t)=>{let{anchorEl:o,placement:r="bottom-start",treeDefinition:n,sx:i,onChange:a,multiple:c=true,exposeOnlySelectedTree:p=false,IconComponent:s,onMounted:d}=e,{children:l=[]}=n,h=useMemo(()=>J(n),[n]),{header:f,footer:I,children:y=[],searchProps:m,levelKey:T}=h,[u,E]=useState({}),x=useRef(d);x.current=d;let N=useCallback(()=>C.denormalizeTree(l,u),[l,u]),w=useCallback(()=>C.extractSelectedBranches(N()),[N]),H=useCallback((S,M)=>{let g=Ke(u,M.id,S,c);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[a,l,u,c,p]),L=useCallback(S=>{let g=((k,O)=>{let v={...k};return Object.keys(v).forEach(R=>{v[R]={...v[R],status:O?"CHECKED":"UNCHECKED"};}),v})(u,S);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[u,a,l,p]);return useEffect(()=>{let S=Le(l||[],c);E(S);let M=C.denormalizeTree(l,S),g=C.extractSelectedBranches(M);x.current?.({state:S,tree:M,selectedTree:g});},[l,c]),useImperativeHandle(t,()=>({treeMapper:u,getFullTree:N,getSelectedTree:w,toggleAll:L}),[u,N,w,L]),jsx(re,{treeMapper:u,IconComponent:s,handleSelect:H,multiple:c,children:jsx(U,{anchorEl:o,sx:i,header:f,footer:I,menuItems:y,levelKey:T,searchProps:m,placement:r})})}),ze=It;var Xo=ze;export{Ue as a,C as b,Xo as c};
|