@zeniai/web-cockpit-ui 1.15.41-qa → 1.15.42-dev

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.
Files changed (315) hide show
  1. package/dist/assets/ACHDetailsPage-DF16gWgj-Hpn_gqDU.js +21 -0
  2. package/dist/assets/{AIPerformancePage-PNdYt7zU-CCfuxILG.js → AIPerformancePage-C4vz8N43-CRGg0PbR.js} +41 -41
  3. package/dist/assets/AccountInfoPage-BEfWt7FF-DKS41VFv.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-ByDC4GDX-Dqc4SPDG.js → AccountInfoPageContent-ChU5cJoQ-D9IyZyne.js} +20 -20
  5. package/dist/assets/AccountLockedInfoModal-nR2S2Zp3-D-cVlgUn.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C3eByWLq-C6RBkRVB.js → AccountReconDetailsDrawerPage-CX_r0vhF-C1q9rEkK.js} +49 -49
  7. package/dist/assets/{AccountRow-H8lG1wjG-BENCFocK.js → AccountRow-sz0SNySJ-PMcRks2g.js} +20 -20
  8. package/dist/assets/{AccountsPromoCardStack-DACW0OlS-D7dbT3SC.js → AccountsPromoCardStack-B7XZ57f9-CVIKbG9H.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-BJ-fZGjY-BgqrlNw3.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CXsdXmY4-DqUKB32H.js → AddToWalletPage-DGRSRVWe-CKFgsCEX.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-G-3_Pd0O-DSzSGoMU.js → AgingReportsPage-DMExghvs-CycrXnxr.js} +4 -4
  12. package/dist/assets/{AllUserItems-C87o610O-C4ngO1W2.js → AllUserItems-DryGxINS-Dfji-7g8.js} +9 -9
  13. package/dist/assets/ApAgingDetailPage-DGx58n1N-BTsjh3-_.js +46 -0
  14. package/dist/assets/{AppBasePage-CVtUuOcc-D8Jp442P.js → AppBasePage-CNTgjZKQ-wPJItjxh.js} +7 -7
  15. package/dist/assets/{AppDrawerContent-f9CovWwx-CRmwucEK.js → AppDrawerContent-BWPrhBXi-xs-4ykwH.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-MV9MWn1n-B_Gy9F2m.js → ApprovalRulesSettingsPage-d_j1Of5B-Drv5uoVo.js} +3 -3
  17. package/dist/assets/{ArAgingChart-Bn1ne5TY-gOLToFjY.js → ArAgingChart-OG8ATXHG-BPTtTowJ.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-LrJ7ab5--DpGQFGj1.js → ArAgingDetailPage-BPgtjmm2-3KI_6Cxg.js} +1 -1
  19. package/dist/assets/{AttachmentView-40S92NKz-O72HtTZp.js → AttachmentView-DTHxVIEf-OlbTumHp.js} +8 -8
  20. package/dist/assets/{BankAccountSection-BqHvCCIV-cPbSA8Xj.js → BankAccountSection-CJlVvGHg-BpmPk2BK.js} +3 -3
  21. package/dist/assets/{BankAccountWarningSection-BhYGVsUP-Bgxn65RB.js → BankAccountWarningSection-DVVX_lU2-YGd3zWAN.js} +4 -4
  22. package/dist/assets/{BankConnectionsSettingsPage-DXdPI9zA-DT9EhfPP.js → BankConnectionsSettingsPage-tN8-HD1P-CjUFfCmd.js} +25 -25
  23. package/dist/assets/BillDetailPage-Bm_TJJ2g-zy6sbh4h.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CfqhwDf0-DCyv7vx2.js → BillPayApprovalRuleDetailPage-DtdRRgcR-CI7_XiGE.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-BYFmAM12-pZa4t15e.js → BillPayApprovalRulesPage-D7pP_-16-BPbHVQJF.js} +13 -13
  26. package/dist/assets/BillPayPromoPage-BEUu8_p_-CdxN39Ja.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-DWl8Zqs1-uZakaQ8Q.js → BillPaySetUpPage-BhUjqdEO-D4O_Ti0B.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-BPRhivDv-C05om7fp.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-CKS2cRrv-BkJLG09t.js +1 -0
  30. package/dist/assets/{BoxItem-Ce8JhxRe-M9xWkSbH.js → BoxItem-BeIteKFb-Ib8SQzK0.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DBUiYheW-CjRSQJ04.js → BusinessVerificationPage-Djw-kSvA-C_VqSsA_.js} +6 -6
  32. package/dist/assets/{CardNumberSubText-1VICaGZC-D3RqCdk-.js → CardNumberSubText-D7w7pNlf-px0UUmwV.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D9MFQhkK-DId8X-0z.js → CashbackDetailPage-DiEz5YX_-8CUn3oj8.js} +18 -18
  34. package/dist/assets/{ChargeCardDetailPage-DPLktTU0-D-hVAQ2P.js → ChargeCardDetailPage-46d4rGgi-C8VEOYGw.js} +53 -53
  35. package/dist/assets/{ChargeCardListPage-PJbJVy9B-C7swXn1_.js → ChargeCardListPage-DQgEFDxx-CRF2CXoG.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-B7Jltqnn-lu4L-KiX.js → ChargeCardListTable-CAdFvZrg-ZDs6pP1D.js} +30 -30
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CY9nng7V-DMOUwpBt.js → ChargeCardPaymentHistoryPage-BVFfqwea-BY1rljaa.js} +36 -36
  38. package/dist/assets/{ChargeCardPromoPage-CQJ-q6d9-CAZVMp3A.js → ChargeCardPromoPage-N1x7DoZ4-C2G2NFcL.js} +25 -25
  39. package/dist/assets/{ChargeCardSetupPage-BjYXhI41-1PD6oZTx.js → ChargeCardSetupPage-DjoSNPoV-B95V0M5O.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-BJhMyv01-C4iLvalo.js → ChargeCardStatementsPage-CKWgdycu-Bzkf2xU2.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-BDUc5zew-CPIt8X_J.js → CheckDepositDrawerPage-C6eutpsP-BJgM-nd0.js} +8 -8
  42. package/dist/assets/{CollapsableReportTable-CRZijlLw-DrP1MH6t.js → CollapsableReportTable-DQitA-HH-D-ytul6z.js} +86 -86
  43. package/dist/assets/{CompanyOfficerDetailsSection-DBN5fsfV-BQ3P2-gb.js → CompanyOfficerDetailsSection-BusB8QML-ByGBO89M.js} +15 -15
  44. package/dist/assets/{CompanyPassportCard-DY-UpT4X-C4b0dPrE.js → CompanyPassportCard-Dwq6U23E-Dff0N9f5.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-B0lEp15Z-1i_bghIC.js → CompanyPassportPage-a7p7-Yf7-BH2Ltdk_.js} +23 -23
  46. package/dist/assets/{CompleteProfile-DkXUTjrQ-Db_nzBJO.js → CompleteProfile-Be83xc7S-DF09SnKJ.js} +1 -1
  47. package/dist/assets/ConfettiBurst-BGpaNgtO-BA4--k5u.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CfTvgjDM.js → ConstrainedInnerElement-BeIpAPjB-B_QUqBfd.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-hAG6iJks-lkeljyMv.js → CreateOrEditVendorPage-CNOoNMGf-xbewlduj.js} +19 -19
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CLche8ye-C_34ZvNa.js → CreditCardPaymentDrawerPage-BJFiaA8N-y9d5BoI2.js} +14 -14
  51. package/dist/assets/{CurrencySelectField-Cps-E4RZ-d5qF8fSQ.js → CurrencySelectField-QL-EZiuT-_bjNCxiF.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-B8EI1b3X-Dj6Y4Uh4.js → CustomerOnboardingActivationPage-ChFLc-Bh-CMWmLAhY.js} +6 -6
  53. package/dist/assets/CustomerOnboardingContainerPage-CiWilmvy-BSdTk0pn.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cjdz022F-BQzlWrkT.js → CustomerOnboardingDetailPageSkeleton-ByAYHyM5-BTUKD21M.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BM3Ty0A--DIbMLpTU.js → CustomerOnboardingNoStepsPage-CJlf2BxW-CHRKjivu.js} +4 -4
  56. package/dist/assets/{CustomerOnboardingPage-D4cNTYTi-C42KbQXa.js → CustomerOnboardingPage-CZpYM2Um-DmldBx57.js} +14 -14
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BRg-6X__-DdNSpQ-6.js → CustomerOnboardingProductSuitePage-Bua-efZZ-DTLtNPox.js} +3 -3
  58. package/dist/assets/{Dashboard-hAvH2Ujo-B6IP_j2j.js → Dashboard-Bo3YLWim-DCvqfujn.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-BnsfrJs5-BPhqM0F_.js → DashboardReportPage-DxLBSScH-DzuVjp6S.js} +10 -10
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CD-912fm-Dh1jPxOd.js → DashboardSidebarBackgroundAnimation-D9jy0E3J-CnJYb7sN.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BSjRIT76-BTmXhvMG.js → DepositAccTransactionItem-BUSuSCOR-65UinRer.js} +4 -4
  62. package/dist/assets/{DepositAccTransactionListPage-CMHZmCaF-BFddyBE8.js → DepositAccTransactionListPage-CIDmP_Ig-B_Y_F7VT.js} +9 -9
  63. package/dist/assets/{DomesticWireDetailsPage-B7IcmJ5S-CtbOrFFy.js → DomesticWireDetailsPage-1JafGpxq-uSG1nT_5.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-DLdu2VQ3-KjQqw4XR.js → DownloadOverlay-DUYftI-h-D71rp7yz.js} +11 -11
  65. package/dist/assets/{DrawerPage-CVKJUV0d-1VrLf85V.js → DrawerPage-Br7Spm_D-pQ8sZx88.js} +7 -7
  66. package/dist/assets/EditPeoplePage-CGYR3lrg-DoWF8etD.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage--Sw7PT5v-ByroxrFy.js → EditReimbursementDetailPage-DMMdfkh8-Bucax6Ut.js} +156 -156
  68. package/dist/assets/EntityDetailPage-DYtL_p8R-GD_XakVz.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BwfqmMJf-Ck--pC9e.js → EntitySummarySection-BqbaP86G-DpA6l5fM.js} +30 -30
  70. package/dist/assets/{ExpenseAutomationOverviewPage-EuWSUhAA-S_zuNRXY.js → ExpenseAutomationOverviewPage-CrXiwOR2-YbYbnS7Q.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-CNl1S9Aa-mhJaMF4M.js → ExpenseAutomationPage-Nf_8Kyie-CTvPgCHn.js} +47 -47
  72. package/dist/assets/{ExpressPayPage-CbWuzpCW-DS_V3c-F.js → ExpressPayPage-UQwsM48P-D7O-_G73.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-HWLnhB9a-DXJxcpnb.js → FeaturePreviewPage-BRPcuukW-BStEym9y.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-CVX6zX9Q-0JaUuRFv.js → FollowStepsSection-zLVY0Bxj-CS04bdSf.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-HEPGnrBi-D4pu4wAE.js → GlobalReviewListPage-Dm_qc_Yw-DaZA8sHm.js} +13 -13
  76. package/dist/assets/{InformationCardStack-BC-wYnqn-CDHpu8rR.js → InformationCardStack-C7jQmHes-CWd2nkLz.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-Buh7Rj7W-B-XFnTbj.js → InsightsCardStack-CBrXK6na-CLYhX1B-.js} +9 -9
  78. package/dist/assets/{InsightsSection-uT4QX3iw-B1Mb62vw.js → InsightsSection-D_hTz1-h-EcLzFnt2.js} +4 -4
  79. package/dist/assets/{IntegrationsSettingsPage-np4iMqIF-BOXlm3x-.js → IntegrationsSettingsPage-B3BcOzu1-DFtNOGVa.js} +10 -10
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-CRFIo4Oj-CKmgCCwr.js → InternationalWireSwiftDetailsPage-CMrSLhcq-xqjqhVUP.js} +17 -17
  81. package/dist/assets/InternationalWireVerificationPage-D8lqdsVG-CS33qqLD.js +65 -0
  82. package/dist/assets/{InviteFormPage-CVVm61Xb-DTfuiXCS.js → InviteFormPage-Cb6yA36Y-j5-QPPFw.js} +30 -30
  83. package/dist/assets/{InvitePageListView-Bhv5fpSY-BrVz8pRa.js → InvitePageListView-CvAYZn3w-BGjtLryq.js} +52 -52
  84. package/dist/assets/InvitePeoplePage-B3HP9bgz-C0119Ywd.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-DBvyatKK-CJBMM0Za.js → InvoiceUploadSection-BV69g_45-C0jQPqw-.js} +10 -10
  86. package/dist/assets/{IssueChargeCardPage-DzAyBn8c-mXHywZLA.js → IssueChargeCardPage-DC8gfsh9-C09x3l5G.js} +32 -32
  87. package/dist/assets/{LabeledAddressValue-BHuN9hmS-xGzDkCtS.js → LabeledAddressValue-DcHYCO3r-yN6DyHDi.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-COLiEu2C-u-zbSv3w.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-CRR6Iscv-DujcJdM4.js → LabeledControlledCheckBoxField-B258oHta-DFq5Q_Wk.js} +2 -2
  90. package/dist/assets/{LabeledCountryMultiSelectField-BWfPhvMM-pDpHMyTS.js → LabeledCountryMultiSelectField-CDN3Cboj-DwWKggpi.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CbmnDlQX-Bud0UcHP.js → LabeledCreatableSingleSelectField-5NsKlfNx-BEfEdG1_.js} +4 -4
  92. package/dist/assets/LabeledDocumentField-DNh366no-DrAn5iL2.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CLHaeBmo-Dbz-uAbc.js → LabeledDropDownFormattedTextField-BEox9eFP-Cs6wSzGo.js} +7 -7
  94. package/dist/assets/LabeledText-BNEHh2ZI-BfrNdALD.js +42 -0
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DYAtBZjB-BW2S_3jE.js → LabeledUserSingleSelectWithSubtitlesField-BoYac4nN-CnfvrnWB.js} +18 -18
  96. package/dist/assets/{LabeledZeniRolesDropDownField-B7Z3Kefm-D8ICt4Pk.js → LabeledZeniRolesDropDownField-BL1wek8m-DLuVqXVU.js} +20 -20
  97. package/dist/assets/LinkJETransactionPage-KkB2mCGz-DD79uSY5.js +98 -0
  98. package/dist/assets/{LockCardPage-DG1icW3l-BrBrLoqr.js → LockCardPage-BBPoahE6-DjuGLIgr.js} +219 -219
  99. package/dist/assets/LowBalancePopup-BFU-BVK9-DWsdSBOg.js +34 -0
  100. package/dist/assets/MagicLinkACHDetailsPage-voSZCbPS-Bu01L_aV.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-evB-Fia6-Ddjk2plz.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-ChjLt6BQ-C6H3R4f0.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-DH2RMNDM-2yEu43__.js → MagicLinkSuccessPage-BL0Twa3Z-yp-cCoVI.js} +6 -6
  104. package/dist/assets/{MagicLinkTitleSection-B_lsWLaB-6l0Q2ZDr.js → MagicLinkTitleSection-C8EEgV19-CiX4xfZT.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-DT2vh6CT-CCScgjq2.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D4QR9tUf-AE5_I3cP.js → MyBankConnectionsSettingsPage-BvZhVteo-C2c-74lS.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-D2EL0Jp--BWDRXrvv.js +6 -0
  108. package/dist/assets/{MyProfileSettingsPage-CSaNSpuq-H-vs8ioV.js → MyProfileSettingsPage-3QGlUKp1-z7Bwqz5C.js} +7 -7
  109. package/dist/assets/{NavBarWithPicker-Zs67Xuo1-Bwvf2TqD.js → NavBarWithPicker-BXubFmkR-D51S0MSd.js} +3 -3
  110. package/dist/assets/{NavigationArrow-gJivTrEy-CJYJcp3Q.js → NavigationArrow-DvI-yhxJ-DlVsGta8.js} +1 -1
  111. package/dist/assets/{NavigationDots-DTQZxPoW-LNb-u25P.js → NavigationDots-CPlwYOx--BPMPlnpv.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BI5z7cVi-Drg8AloH.js → NewGlobalMerchantPage-CXC3nRf0-Bx5yZmxN.js} +12 -12
  113. package/dist/assets/{NoDataChart-CKYUeTCs-DvkQx1V0.js → NoDataChart-DTVuSEdu-BkUYV-TV.js} +1 -1
  114. package/dist/assets/{NoDataTable-CwJmhtK3-CCNoQlOZ.js → NoDataTable-Bgt6dZEF-B3972AwQ.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Bxs-YzV4-CpCxTN11.js → NotFoundPage-B2B4aoo2-BW-s5AV5.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-DMYs6gdm-BlfmU3ul.js → NotificationSettingsPage-B5kEZN6p-CIJZlZ4H.js} +33 -33
  117. package/dist/assets/{NotificationsListConfig-BHt9OVz6-BKDTXb1o.js → NotificationsListConfig-lOoxcslt-BhnQjQWG.js} +1 -1
  118. package/dist/assets/NotificationsPage-CTHg82VM-CwBM4vUS.js +685 -0
  119. package/dist/assets/{OpExByVendorPage-D-0--y-d-DMlLcW9P.js → OpExByVendorPage-CXmqL8sH-BK8_o8ls.js} +5 -5
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-E92SHML4.js → OverlayContainerPage-D4QU0p4o-CSiWE48U.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BgBplnz_-ChEt9BF6.js → PandLWithForecastPage-DbZpKElK-Dy4zdedl.js} +11 -11
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6JM3mQz-CgsGFkzx.js → PaymentAccountSetupBillingAddressSection-CJRhGAtG-D2ukn4NZ.js} +6 -6
  123. package/dist/assets/{PeoplePage-1Aa0j1Br-D63RAfrN.js → PeoplePage-CJri4xlX-CEfPFRxE.js} +15 -15
  124. package/dist/assets/{Preview-CfPlLM4U.js → Preview-0sAWcABs.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BR9igDN--4qcjyVm7.js → ProductsCarousel-DtmKoNz3-BSbpVJVt.js} +2 -2
  126. package/dist/assets/{PromoBaseCards-B-dCLfsi-omMrAFa4.js → PromoBaseCards-g6j_z80f-C2Bai70y.js} +3 -3
  127. package/dist/assets/{QBOConnectionDialog-Dc2r7Qhk-9XcCUrWN.js → QBOConnectionDialog-BwKmOICb-D3Jo-Vlf.js} +4 -4
  128. package/dist/assets/{QBOSetupSection-Bhvg13n4-BS4MZWmI.js → QBOSetupSection-BN8o3dwu-DHQTxOlT.js} +12 -12
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-C5s_8IJ8-CPJIVNh1.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BtaFR_-R-DT_IS0Mc.js → ReimbursementApprovalRulesPage-BvvOob8U-DEiVU8X7.js} +2 -2
  131. package/dist/assets/ReimbursementDetailPage-BVFGrEhN-B7_bgdSj.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-dsgbajZ6-CWCF7N7b.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-CesV38Tv-CAsx1rGC.js → ReimbursementSetUpPage-0AMBarqS-CiwiIoY4.js} +9 -9
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BuK15ipi-jsvxMTC-.js → ReimbursementsBulkReviewDrawerPage-L0YmO2qY-DQjnniUJ.js} +1 -1
  135. package/dist/assets/{ReloadCard-DCA58Z6d-lxJyT6Aq.js → ReloadCard-Dketoj2r-tAJXPFMi.js} +2 -2
  136. package/dist/assets/{ReportTableViewSelector-Bcxl71KP-GS5y6Ng3.js → ReportTableViewSelector-DmDzw4yW-D1HeX13c.js} +5 -5
  137. package/dist/assets/{ReportsPage-DrxIUX8S-BX-Ugn1O.js → ReportsPage-DPrhnmvb-D0g4apvT.js} +6 -6
  138. package/dist/assets/{RevenueChart-BIWVGs6F-HTYxOFNe.js → RevenueChart-CDrGsGOU-CIlC5CYF.js} +8 -8
  139. package/dist/assets/{ReviewDetailsPage-C3dqUSg--Cpk2HBlF.js → ReviewDetailsPage-DjbAwLAN-B0q2mTzL.js} +18 -18
  140. package/dist/assets/{ReviewOverlay-Cag-4B4Y-D1ezdBpL.js → ReviewOverlay-Ws6-5o0Z-DJX77Zrm.js} +9 -9
  141. package/dist/assets/RoleWithToolTip-vxNCa6FT-LxVETf1F.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-ikCFA0w0-2eZV-mSh.js → ScheduleDetailsFixedAssetsPage-B2Y0ri0_-D9zabCxc.js} +4 -4
  143. package/dist/assets/{ScheduleDetailsPage-DzYUkz8B-BASiQOiG.js → ScheduleDetailsPage-D4fdm16B-KuG3aRA0.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-Cg5WKyIj-CgT_tp3-.js → ScheduleSequenceTable-BuOwBQPa-idhR1Z_Q.js} +16 -16
  145. package/dist/assets/{ScreenRoutes-BA3Mh7pl.js → ScreenRoutes-BIVA2nRG.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-CczJQz98-BSMGTELr.js → SetUpAccountSection-DJz8iGRu-BIE7oU3u.js} +9 -9
  147. package/dist/assets/{SignIn-IIuCvpoR-11uX7W5f.js → SignIn-BltllFmN-lRCl2w8R.js} +15 -15
  148. package/dist/assets/{SignInScreen-2miLFysH.js → SignInScreen-CvDooCt5.js} +1 -1
  149. package/dist/assets/SpendManagementListViewPage-BQwyNWPt-CFFiSy1U.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-D3DxhXvr-B6sZ7QiP.js → SpendManagementPerTabPage-CkH_5fl0-DiDtAytK.js} +39 -39
  151. package/dist/assets/{SpendManagementSection-DSN3bvLE-BkMacKAC.js → SpendManagementSection-BhbK0q1x-DEzibqGa.js} +15 -15
  152. package/dist/assets/StatementItem-D8E_FAe4-BYv882Fo.js +31 -0
  153. package/dist/assets/StatementsPage-Wiw8T04d-DTKPWrtc.js +58 -0
  154. package/dist/assets/{StatusSwitcher-C35eTt_u-VQn5S24k.js → StatusSwitcher-DPs1Vq5X-D6dENE_K.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-B8hXbnSB-cmYgrs9Q.js → SubTabSwitcher-BvqpLoBx-n7blk4-b.js} +2 -2
  156. package/dist/assets/{SummaryCard-dhNbqi0b-YwOnQ2xO.js → SummaryCard-CYZZ0q6A-Bue0ya2z.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-QHzSJ5AM-Dhc53xoT.js → TaskManagementPage-lc9Mw2Sm-CSBSTCNw.js} +34 -34
  158. package/dist/assets/{TimeRangeSwitcher-By1NizbD-D56RmIGq.js → TimeRangeSwitcher-Dm0lFXOD-CN2hUUX6.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CnIziozQ-1cQ19qL3.js → TimeframeSwitcher-CFrCNOFC-CCLnJVYT.js} +6 -6
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BxwsH8cn-DW9lfWz3.js → TimeframeSwitcherWithToggle-Cu0mWh8Z-Dnw607ZH.js} +1 -1
  161. package/dist/assets/{TopExCard-BXYnSJ_3-BrLh6FBV.js → TopExCard-IMbcUkNt-D4ymrCrP.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-C9pGvGMt-BM8au-2T.js → TopExDetailPage-IEJSc_e7-BtOs5ZNd.js} +8 -8
  163. package/dist/assets/TransactionActivityLogPage-CztxkZSm-8f7Qpuaa.js +195 -0
  164. package/dist/assets/{TransactionDetailPage-CZQnRzsm-DgcUcv00.js → TransactionDetailPage-C5khWZWO-BeDT0w8u.js} +20 -20
  165. package/dist/assets/{TransactionList-Bdf5Bgsu-BJckNy4D.js → TransactionList-BH11aGhG-4R_e7lBY.js} +15 -15
  166. package/dist/assets/{TransactionListBig-DcbkwmaY-lPbTtFsv.js → TransactionListBig-CdJV8TeD-DMYaee9L.js} +11 -11
  167. package/dist/assets/TransactionListPage-CjzTPYr7-BDdk1Iba.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-B-FwW8my-CWEbgotx.js → TransactionVendorDetailPage-Dv7hRa0N-BwsLBxd1.js} +4 -4
  169. package/dist/assets/{TransferDrawerPage-DqxZzNHb-JyC0LuW4.js → TransferDrawerPage-r48o2lxO-CN66Pp8k.js} +40 -40
  170. package/dist/assets/{TreasuryOverviewPage-BFDU5aeU-CkjRA3dQ.js → TreasuryOverviewPage-DKCxYrPQ-HyhZNbuE.js} +32 -32
  171. package/dist/assets/{TreasuryPromoPage-HD1G38a1-ZbC8VXaw.js → TreasuryPromoPage-CNpZ_SIL-DNBqegZ8.js} +21 -21
  172. package/dist/assets/TreasuryStatementsPage-DKRIOtY3-DpdYXRvQ.js +58 -0
  173. package/dist/assets/TreasuryTaxLetterPage-Bwg7y3DU-CPkWwrCH.js +58 -0
  174. package/dist/assets/{TrendChart-DVlTUYry-BQhZ0XSE.js → TrendChart-C1hhS0ef-CM_jfK9c.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-DXYNZfvE-CEOC8UFU.js → TrendWithTransactions-CbJdyyGK-8bD7HA0C.js} +4 -4
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BgQsB5_3-COI438r2.js → UncategorizedAccountsMappingPage-BTAJNCzF-IB-Tcf9I.js} +30 -30
  177. package/dist/assets/{UnitIntegrationPage-Dm62VB7y-B0M_A7fc.js → UnitIntegrationPage-B7xYyx0u-Dfb-qM03.js} +10 -10
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-DG7NwQOq-PHFjEw3H.js → UploadAdditionalDocumentOverlay-BxSUijP--B8mSbR2d.js} +1 -1
  179. package/dist/assets/Vendor2FAPopup-Ctn_yjc8-D0FF2AtH.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-Bvj35jGs-H5j6K7x_.js +1 -0
  181. package/dist/assets/{VendorDetailPage-B8qtHlez-CDeCcma-.js → VendorDetailPage-CTbWD0xL-DOodc43o.js} +87 -87
  182. package/dist/assets/VendorDomesticWireDetailsPage-YMt9zC7E-4y578jYA.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-B5GzsaIt-CrkaSKWH.js → VendorFiling1099EditablePage-CC17aZpp-CUEXtxxF.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-B1c74yx7-XWeMR4A4.js → VendorFirstReviewPage-C2Rj4ujS-D3XLk6SM.js} +30 -30
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DPucgS6n-BUwm5cf5.js → VendorInternationalWireDetailsPage-CXgBfF0b-AFVguI8X.js} +7 -7
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CPdA16m4-BUiNKc-B.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BBnG4jo9-CE1HsZr7.js → VendorsAccountsSection-CKKsK4iR-Brg3gtnO.js} +4 -4
  188. package/dist/assets/{VerifyDevice-CFPLWsQ9-CqtmGFWn.js → VerifyDevice-Ds1Nxr5P-Blm9OKwi.js} +1 -1
  189. package/dist/assets/{VideoPlayer-C0Oxc4vz-Eo76fnas.js → VideoPlayer-Ba8AW1R7-i9G7JJm5.js} +2 -2
  190. package/dist/assets/VideoPopup-CXIa9PAJ-BZihnaAR.js +31 -0
  191. package/dist/assets/{WarningsDrawerPage-D1_kAgnS-wVv9eNUW.js → WarningsDrawerPage-h7qsrtcB-CE6gyvKk.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-CvuREnNX-Daaz-pOC.js → ZeniAccountDetailPage-aNllmjZp-DFLxBj0c.js} +32 -32
  193. package/dist/assets/{ZeniAccountListViewPage-Cl0LGnEs-BnEYM2Fk.js → ZeniAccountListViewPage-DrKQ2DXb-CJJJ25qT.js} +8 -8
  194. package/dist/assets/ZeniAccountNavBarPieces-BTP0V662-nTGXbCtY.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-CfqyTao--CSmJBLGG.js → ZeniAccountPromoPage-CPL4y-FS-Bjur8xmF.js} +13 -13
  196. package/dist/assets/{ZeniAccountSetupPage-DjhaRuBW-C5pmnKvn.js → ZeniAccountSetupPage-DvlPktUp-B-E9YzwR.js} +2 -2
  197. package/dist/assets/ZeniCopyright-D37-X5FF-Ak7n7OYz.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-DFm-2Ivu-CQbjc7rM.js → ZeniTransferAmountSlider-CeTiIm-1-DS6r50pT.js} +4 -4
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-BuLXwUxS.js → add-to-wallet-DgdBD8_G-D62DvooK.js} +1 -1
  200. package/dist/assets/{analytics-EOspDoDF.js → analytics-BFqwqBQR.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CkgaDWOW-BtJI0iQX.js → analyticsHelper-Cp5G9I3a-BIC4toJ-.js} +1 -1
  202. package/dist/assets/analyticsHelper-H7OiEB4T.js +1 -0
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-7wUMcNgq.js → arrow-south-east-round-PEovUgvH-eGvQIcmx.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-B7tSfwo7.js → auto-transfer-rule-mbafm5D3-CeHKVWmh.js} +1 -1
  205. package/dist/assets/{chartTypes-nF8PeaWk-DylRW2Nq.js → chartTypes-_pdOsLu--D8_z5gfz.js} +1 -1
  206. package/dist/assets/{commonDimensions-bWLlVfVq-DDxX-akL.js → commonDimensions-IxmmCJgv-CC5c3dON.js} +1 -1
  207. package/dist/assets/{commonTypes-BKD3o785-ClwG0TM4.js → commonTypes-uWTOHqLG-CINOYJ5U.js} +1 -1
  208. package/dist/assets/{constants-3kjNigIZ.js → constants-DMGg36fI.js} +1 -1
  209. package/dist/assets/{core-CslRcwFE.js → core-BFf3IFj6.js} +1 -1
  210. package/dist/assets/{dash.all.min-Dkp1U18T.js → dash.all.min-BxMd-9-a.js} +1 -1
  211. package/dist/assets/{detailCommon-l7_k1kQ_-CFeAwn6Q.js → detailCommon-1sO_byJf-CD-uyZzV.js} +4 -4
  212. package/dist/assets/downloadPdf-CjXuMwyY-Bk0Q_jtO.js +1 -0
  213. package/dist/assets/{empty-Du-vmzTn.js → empty-CTFehcxZ.js} +1 -1
  214. package/dist/assets/{empty-BhaTlh_E.js → empty-DQRlSI-P.js} +1 -1
  215. package/dist/assets/{epic-CZdj8-B-.js → epic-DvQ68MZ-.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-Dv3d3rOw.js → gift-box-Cmt9OgIZ-CjL00gTh.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CLHrfBy6.js → graphic-no-data-l-DU4J8fDt-CeLdXVsI.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CMlLtriY.js → graphic-no-data-net-burn-l-CzmycA0m-CxW_HqWH.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-COd6iQaS.js → handshake-BPg58FML-DLoQUg7m.js} +1 -1
  220. package/dist/assets/{helper-qck89ZgJ-CZUGaHU3.js → helper-4lObJrt8-BUT-pULe.js} +3 -3
  221. package/dist/assets/{index-CwPcEaIJ.js → index-BuGq2Xwa.js} +1 -1
  222. package/dist/assets/{index-Dc5vYs7y.js → index-Cx7SEn1j.js} +1 -1
  223. package/dist/assets/{index-B7eWgQzZ.js → index-DGGt5RDJ.js} +4300 -4300
  224. package/dist/assets/{index-Cn_IOdHd.js → index-DdP-wJle.js} +1 -1
  225. package/dist/assets/{index-3P-FToEr.js → index-Dl4R1vcE.js} +1 -1
  226. package/dist/assets/{index-Dk4hNwSR.js → index-IoURZoOk.js} +1 -1
  227. package/dist/assets/{index-Dde-TLpy.js → index-NMwrUQfi.js} +1 -1
  228. package/dist/assets/{lexical-DEAOqFKR.js → lexical-BeXs36Y0.js} +1 -1
  229. package/dist/assets/{liveblocks-DyVXfa5b.js → liveblocks-Dda0tF-O.js} +1 -1
  230. package/dist/assets/{lottie-DR7Z1uj_.js → lottie-mwve--vc.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-hU4SXSz1-Celvdjmv.js → mapLoadingInProgressToTreeNode-CwSavpEU-Cl_FZFwU.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Mybge2KM-DnyF2DOT.js → mapSectionWithAcOnlyToTreeNode-DfN5c3SA-D4hGCNmF.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-D8gbhEl5-D4qIggfl.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DSlFj-Ph-Btw1CFJ1.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-Dj4jp8jG-B4t0Wux0.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DpTpTHX9-DdHAM1Kp.js +1 -0
  237. package/dist/assets/{mui-Ba0_ROTv.js → mui-BXc79n0P.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-DcKx2ySJ.js → page-detail-CWX5S47F-j_J3TTSv.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-Cg3Z-QbC.js → panelSelectedMixin-Cddsb26L-D4G_zfkD.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CGqLZKGc.js → radio-default-CiSgisfh-BDH4uibz.js} +1 -1
  241. package/dist/assets/{react-CBKzjJ-k.js → react--w8eXOQH.js} +1 -1
  242. package/dist/assets/{react-Doh-xpgh.js → react-0aRrmHfg.js} +2 -2
  243. package/dist/assets/{react-BQMyjhDt.js → react-BkfBvvdQ.js} +1 -1
  244. package/dist/assets/{react-XEytoW-G.js → react-CQhG37C_.js} +1 -1
  245. package/dist/assets/{react-2aHb0_lL.js → react-CQvtbK9z.js} +1 -1
  246. package/dist/assets/{react-DqjXj4cD.js → react-CpogsNWB.js} +1 -1
  247. package/dist/assets/{react-DuH1J8DT.js → react-DNVJuix6.js} +1 -1
  248. package/dist/assets/{react-biMmKurS.js → react-x9AsEyp-.js} +1 -1
  249. package/dist/assets/{recharts-Dpk71F6G.js → recharts-vbuE4Jum.js} +1 -1
  250. package/dist/assets/{sentry-BUYEiWD8.js → sentry-C7LQiKF9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-C7zSLUUK.js → shield-DOlUxcFf-B-RZDoQM.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DuwOfE1o-DwSLIzEK.js +1 -0
  253. package/dist/assets/{toChartData-CMvkvks2-CeV5Sw8J.js → toChartData-Cqj00uWV-Bpiruaq9.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BCgskbSS.js → upload-reimbursement-receipt-O2N8vcO7-C4eeJM6-.js} +1 -1
  255. package/dist/assets/{uploadAttachment-XRvvKLjd-8kORPRMD.js → uploadAttachment-CpuXaDZF-Bu3r96Oj.js} +25 -25
  256. package/dist/assets/{uploadReceipts-Dge0cNF1-B4zZrtGY.js → uploadReceipts-Dge0cNF1-BighYweo.js} +1 -1
  257. package/dist/assets/{url-4GiLad5k.js → url-CvO2wIrp.js} +1 -1
  258. package/dist/assets/{url-_mFxzRvZ.js → url-SWb9fmsI.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ--IIT5mp7.js → useLongPress-GCK2COYQ-BHUpmaFu.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-wx2xXzy4.js → usp-line-BBd1wKwW-BBQ-QruK.js} +1 -1
  261. package/dist/assets/{utils-van4hLXd.js → utils-CW6UW7VZ.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-DsDV18R1.js → zeni-epic-state-Cvu6NpVe.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/ACHDetailsPage-C0EF1bfJ-CF4B57fP.js +0 -21
  266. package/dist/assets/AccountInfoPage-1bkRMUmz-Cuxh0N0w.js +0 -18
  267. package/dist/assets/AccountLockedInfoModal-iHHAglx1-Db8qIiY0.js +0 -59
  268. package/dist/assets/AddAddressForCardDrawer-DQButqpE-4KIKQO78.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-DFMl8Pg4-C_Is_Pfz.js +0 -46
  270. package/dist/assets/BillDetailPage-Cv84AWBP-D-5X1cLh.js +0 -266
  271. package/dist/assets/BillPayPromoPage-BJNiSeAB-dddJyTrd.js +0 -84
  272. package/dist/assets/BillingSettingsPage-B5p8_TqZ-D-ll1i0A.js +0 -44
  273. package/dist/assets/BillsBulkReviewDrawerPage-CLUs3-Ci-DFJkbhvF.js +0 -1
  274. package/dist/assets/ConfettiBurst-BfLV2hbY-D9OCgSrI.js +0 -1
  275. package/dist/assets/CustomerOnboardingContainerPage-BR0RXw9o-YOK_yGHP.js +0 -1
  276. package/dist/assets/EditPeoplePage-CZUXKv1r-BxGbjp33.js +0 -55
  277. package/dist/assets/EntityDetailPage-ZAt7wUEc-CU2oKDLU.js +0 -18
  278. package/dist/assets/InternationalWireVerificationPage-BLvplUfw-KKAbBfix.js +0 -65
  279. package/dist/assets/InvitePeoplePage-Chxh0Lmw-BWF47a5q.js +0 -12
  280. package/dist/assets/LabeledAddressValueField-C5tlrpM8-CZs-qPnX.js +0 -45
  281. package/dist/assets/LabeledDocumentField-BowgfWLJ-Dfvs4pho.js +0 -41
  282. package/dist/assets/LabeledText-DglukuaI-CmIe9nSK.js +0 -42
  283. package/dist/assets/LinkJETransactionPage-Cnu97MMF-4_5-q4C9.js +0 -98
  284. package/dist/assets/LowBalancePopup-Drqtx1Yk-9ef3MPri.js +0 -34
  285. package/dist/assets/MagicLinkACHDetailsPage-B-H4pN-W-BJk44VGL.js +0 -1
  286. package/dist/assets/MagicLinkDomesticWireDetailsPage-DBhFe2sn-ByO14CoO.js +0 -1
  287. package/dist/assets/MagicLinkInternationalWireDetailsPage-De3w5uAd-DWgjVULc.js +0 -1
  288. package/dist/assets/MailingDetailsSection-CU0Ur-9k-CV18nP7Y.js +0 -21
  289. package/dist/assets/MyPendingActivationChargeCardListPage-8fIM-AgM-DG0F21hf.js +0 -6
  290. package/dist/assets/NotificationsPage-BL6QkhxJ-Bq__lIXi.js +0 -685
  291. package/dist/assets/ReimbursementApprovalRuleDetailPage-DeGZp7he-DwflEFkV.js +0 -32
  292. package/dist/assets/ReimbursementDetailPage-ChDG7NAL-BwV9bPZE.js +0 -314
  293. package/dist/assets/ReimbursementPromoPage-Dgx0IYTF-BfINKSQz.js +0 -84
  294. package/dist/assets/RoleWithToolTip-C8aesF3T-apurffxZ.js +0 -22
  295. package/dist/assets/SpendManagementListViewPage-DQ9FW-pv-8sW-YX2v.js +0 -134
  296. package/dist/assets/StatementItem-CfLQ3EiB-BhKoq1Lu.js +0 -31
  297. package/dist/assets/StatementsPage-DdVszHkC-UTOiPZ-s.js +0 -58
  298. package/dist/assets/TransactionActivityLogPage-C4Zf-YKV-CyrgE9Vm.js +0 -195
  299. package/dist/assets/TransactionListPage-CS_TY41O-BS7_HocG.js +0 -35
  300. package/dist/assets/TreasuryStatementsPage-DVN2bxrt-Csr4Fp1P.js +0 -58
  301. package/dist/assets/TreasuryTaxLetterPage-O5HN57r7-Crb8QwQ9.js +0 -58
  302. package/dist/assets/Vendor2FAPopup-CxJFovCF-BTqgr2_z.js +0 -1
  303. package/dist/assets/VendorACHDetailsPage-IvgUMfd9-Dm3RoaNk.js +0 -1
  304. package/dist/assets/VendorDomesticWireDetailsPage-BbLz5_FD--3MjmjN3.js +0 -1
  305. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CmeSQAri-TKMDFSzF.js +0 -1
  306. package/dist/assets/VideoPopup-BmdpW83j-DczpaZjD.js +0 -31
  307. package/dist/assets/ZeniAccountNavBarPieces-MEaXWOb7-DLC0tAjr.js +0 -14
  308. package/dist/assets/ZeniCopyright-nggh1t2z-BlAlTJNf.js +0 -1
  309. package/dist/assets/analyticsHelper-BQyqY8AC.js +0 -1
  310. package/dist/assets/downloadPdf-DaZCmoYn-D7YxsQSi.js +0 -1
  311. package/dist/assets/mapSpacerToTreeNode-DlewsTfs-Uz_UzZbZ.js +0 -1
  312. package/dist/assets/mapTimeframeBalancesToTreeNode-9dkd_G4A-xyFi9Xru.js +0 -1
  313. package/dist/assets/mapTimeframeBalancesToTreeNode-DE8rPH2X-BbYTtpG2.js +0 -1
  314. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BLkTfnct-DgmTQXuW.js +0 -1
  315. package/dist/assets/toCOABalancesWithID-BfQTo56G-BvXiHVaB.js +0 -1
@@ -1,4 +1,4 @@
1
- import{y as Be,J as G,F as q,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,l0 as lt,l1 as ot,l2 as rt,cQ as ze,cN as dt,f5 as st,fJ as ct,fK as pt,cP as Ae,gh as mt,l3 as ut,cU as ht,cV as yt,fc as Re,fd as Oe,fm as ke,w as ge,u,fo as gt,bc as ft,b9 as be,p as Ee,ao as xt,at as We}from"./index-B7eWgQzZ.js";import{a as J}from"./sentry-BUYEiWD8.js";import{n as d}from"./mui-Ba0_ROTv.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-DsDV18R1.js";import{Y as vt}from"./LabeledDocumentField-BowgfWLJ-Dfvs4pho.js";import{S as te}from"./LabeledText-DglukuaI-CmIe9nSK.js";import"./liveblocks-DyVXfa5b.js";import"./core-CslRcwFE.js";import"./recharts-Dpk71F6G.js";import"./lottie-DR7Z1uj_.js";import"./analytics-EOspDoDF.js";import"./lexical-DEAOqFKR.js";import"./utils-van4hLXd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e61fd10d-ef4d-4c79-b2c7-ec9f95165381",e._sentryDebugIdIdentifier="sentry-dbid-e61fd10d-ef4d-4c79-b2c7-ec9f95165381")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Be(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{y as Be,J as X,b as _,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,l3 as lt,l4 as ot,l5 as rt,cQ as Re,cN as dt,f5 as st,fJ as ct,fK as pt,cP as Ae,gh as mt,l6 as ut,cU as ht,cV as yt,fc as ze,fd as Oe,fm as ke,w as ge,u,fo as gt,bc as ft,b9 as xe,p as Ee,ao as bt,at as We}from"./index-DGGt5RDJ.js";import{a as J}from"./sentry-C7LQiKF9.js";import{n as d}from"./mui-BXc79n0P.js";import{bL as _e,bh as le,bZ as qe,bH as xt,bo as wt}from"./zeni-epic-state-Cvu6NpVe.js";import{Y as vt}from"./LabeledDocumentField-DNh366no-DrAn5iL2.js";import{S as te}from"./LabeledText-BNEHh2ZI-BfrNdALD.js";import"./liveblocks-Dda0tF-O.js";import"./core-BFf3IFj6.js";import"./recharts-vbuE4Jum.js";import"./lottie-mwve--vc.js";import"./analytics-BFqwqBQR.js";import"./lexical-BeXs36Y0.js";import"./utils-CW6UW7VZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="8e8ddfbd-4e4c-42b0-bb75-448e3b1f85a5",e._sentryDebugIdIdentifier="sentry-dbid-8e8ddfbd-4e4c-42b0-bb75-448e3b1f85a5")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=X(),a=Be(),s=_.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -38,7 +38,7 @@ import{y as Be,J as G,F as q,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at
38
38
  position: relative;
39
39
  height: ${e=>`${e.perSectionHeight}%`};
40
40
  color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
41
- `,T={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},z=(e,i)=>`${e}.${i}`,Ft=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:P,deleteFileStatusById:I,updateFileStatusById:x,onClickAddAccount:w})=>{const o=G(),{spendManagement:F,dateFormat:y,common:C}=q.getLocalizedStrings(),$=F.billPay.billDetails,K=y.visual.defaultInput,re=F.zeniAccounts.expressPay,de=C.documents,H=T.largeLabelWidth.value(o),[g,Z]=J.useState(!1),U=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),A=r=>s.find(m=>m.id===r),L=r=>Re(A(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=A(r),j=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(Y=>t.jsxs(W,{children:[t.jsxs(R,{children:[Y.name,j.paymentDetails.colon]}),t.jsx(E,{children:Y.value})]},Y.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(R,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(At,{children:$.paymentDetailsTitle}),t.jsxs(Ot,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:H,style:{marginLeft:T.labelMarginLeftPicker.valuePx(o),marginTop:T.labelMarginTopPicker.valuePx(o),marginRight:T.labelMarginRightPicker.valuePx(o),width:T.largeLabelPickerWidth.value(o)}},style:{paddingTop:T.labeledFieldPaddingTop.valuePx(o),paddingBottom:T.labeledFieldPaddingBottom.valuePx(o),paddingLeft:T.labeledFieldPaddingLeft.valuePx(o),paddingRight:T.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:T.infoLabelPaddingRight.valuePx(o),marginTop:T.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:z(e,"withdrawFrom"),placeholder:Ae($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(_,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:H},formattedTextField:{type:"number",name:z(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Ae($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(_,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:T.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:z(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:U,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(_,{}),t.jsx(ht,{label:{label:$.paymentDate,width:T.labelWidth.value(o)},style:{paddingBottom:T.paddingBottom.valuePx(o),width:"auto"},dateField:{name:z(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:K,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(_,{}),t.jsx(ze,{label:{label:$.paymentTo,width:H},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:z(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(_,{}),t.jsx(vt,{name:z(e,"receipt"),sizeLimit:yt,deleteFileStatusById:I,updateFileStatusById:x,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:H},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:P,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>Z(r),isOptional:!0,style:P!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},z(e,"receipt")),P==null?t.jsx(kt,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(_,{})]})]})},At=d(be)`
41
+ `,T={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},R=(e,i)=>`${e}.${i}`,Ft=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:P,deleteFileStatusById:I,updateFileStatusById:b,onClickAddAccount:w})=>{const o=X(),{spendManagement:F,dateFormat:y,common:C}=_.getLocalizedStrings(),$=F.billPay.billDetails,Q=y.visual.defaultInput,re=F.zeniAccounts.expressPay,de=C.documents,q=T.largeLabelWidth.value(o),[g,Z]=J.useState(!1),H=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(xt)===!1),A=r=>s.find(m=>m.id===r),L=r=>ze(A(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=A(r),j=_.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(U=>t.jsxs(W,{children:[t.jsxs(z,{children:[U.name,j.paymentDetails.colon]}),t.jsx(E,{children:U.value})]},U.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(At,{children:$.paymentDetailsTitle}),t.jsxs(Ot,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:q,style:{marginLeft:T.labelMarginLeftPicker.valuePx(o),marginTop:T.labelMarginTopPicker.valuePx(o),marginRight:T.labelMarginRightPicker.valuePx(o),width:T.largeLabelPickerWidth.value(o)}},style:{paddingTop:T.labeledFieldPaddingTop.valuePx(o),paddingBottom:T.labeledFieldPaddingBottom.valuePx(o),paddingLeft:T.labeledFieldPaddingLeft.valuePx(o),paddingRight:T.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:T.infoLabelPaddingRight.valuePx(o),marginTop:T.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:R(e,"withdrawFrom"),placeholder:Ae($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(Y,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:q},formattedTextField:{type:"number",name:R(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Ae($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(Y,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:T.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:R(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:H,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(Y,{}),t.jsx(ht,{label:{label:$.paymentDate,width:T.labelWidth.value(o)},style:{paddingBottom:T.paddingBottom.valuePx(o),width:"auto"},dateField:{name:R(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:Q,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(Y,{}),t.jsx(Re,{label:{label:$.paymentTo,width:q},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:R(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(Y,{}),t.jsx(vt,{name:R(e,"receipt"),sizeLimit:yt,deleteFileStatusById:I,updateFileStatusById:b,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:q},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:P,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>Z(r),isOptional:!0,style:P!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},R(e,"receipt")),P==null?t.jsx(kt,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(Y,{})]})]})},At=d(xe)`
42
42
  color: ${e=>e.theme.colors.primary};
43
43
  margin-bottom: ${n.sp3};
44
44
  `,Ot=d.div`
@@ -49,13 +49,13 @@ import{y as Be,J as G,F as q,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at
49
49
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
50
50
  border-radius: ${n.sp2};
51
51
  width: ${e=>T.containerWidth.valuePx(e.windowSize)};
52
- `,_=d.div`
52
+ `,Y=d.div`
53
53
  display: flex;
54
54
  flex: 1;
55
55
  background-color: ${e=>e.theme.colors.grey3};
56
56
  min-height: 1px;
57
57
  max-height: 1px;
58
- `,R=d.div`
58
+ `,z=d.div`
59
59
  box-sizing: border-box;
60
60
  text-align: left;
61
61
  flex: 1 0 50%;
@@ -73,19 +73,19 @@ import{y as Be,J as G,F as q,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at
73
73
  display: flex;
74
74
  justify-content: space-between;
75
75
  width: 100%;
76
- `,kt=d(xt)`
76
+ `,kt=d(bt)`
77
77
  padding: ${n.sp1} ${n.sp4};
78
78
  background: ${e=>e.theme.colors.grey4};
79
79
  border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
80
80
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
81
81
  color: ${e=>e.isError?Ee.important:e.theme.colors.grey1};
82
- `,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,P=Lt.largeLabelWidth.value(p),I=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&I.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const x={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),I.current=C}},w=x?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:Ue(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},F={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Vt,{children:l.recipientSectionTitle}),t.jsx(Bt,{children:t.jsxs(zt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:P},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:x?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(ze,{label:{label:l.recipientType,width:P},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:P},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},Ue=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Vt=d(be)`
82
+ `,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=X(),l=_.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,P=Lt.largeLabelWidth.value(p),I=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&I.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const b={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),I.current=C}},w=b?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(b?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||b?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:He(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},F={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Vt,{children:l.recipientSectionTitle}),t.jsx(Bt,{children:t.jsxs(Rt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:P},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:b?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Re,{label:{label:l.recipientType,width:P},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:P},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},He=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Vt=d(xe)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${n.sp3};
85
85
  `,Bt=d.div`
86
86
  display: flex;
87
87
  flex-direction: column;
88
- `,zt=d.div`
88
+ `,Rt=d.div`
89
89
  display: flex;
90
90
  flex-direction: column;
91
91
  background-color: ${e=>e.theme.colors.grey5};
@@ -98,11 +98,11 @@ import{y as Be,J as G,F as q,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at
98
98
  background-color: ${e=>e.theme.colors.grey3};
99
99
  min-height: 1px;
100
100
  max-height: 1px;
101
- `,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},Rt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:P,common:I}=q.getLocalizedStrings(),x=l.billDetails,w=i?.paymentType,o=P.visual.MMMDCommaYYYYformat,F={amount:i?.amount?.amount??0,currencyCode:I.currency.currencyCode,currencySymbol:I.currency.currencySymbol},y=Re(a.find(K=>K.id===i?.paymentToAccountId)),C=i?.paymentDate,$=Oe(w?.method??"");return t.jsx(Yt,{children:t.jsxs(_t,{windowSize:h,style:s,children:[t.jsxs(Kt,{children:[t.jsx(ae,{children:x.pay}),t.jsx(ae,{children:t.jsx(ke,{amount:F,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:x.to}),t.jsx(ae,{children:e})]}),t.jsxs(Jt,{windowSize:h,children:[t.jsx(te,{label:{label:x.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):I.strings.empty}),t.jsx(xe,{}),t.jsx(te,{label:{label:x.paymentMethod,width:p},style:{width:"auto"},value:Oe(w?.method??"")}),t.jsx(xe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:x.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${x.estimatedArrival}${qe(He(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${x.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${x.deliveryTimeUnits})`}),t.jsx(xe,{})]}):null,t.jsx(te,{label:{label:x.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(qt,{windowSize:h,children:[t.jsx(Ht,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(Ut,{children:t.jsx(ke,{amount:wt(F.amount,F.currencyCode,F.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
101
+ `,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=X(),p=oe.largeLabelWidth.value(h),{billPay:l}=_.getLocalizedStrings().spendManagement,{dateFormat:P,common:I}=_.getLocalizedStrings(),b=l.billDetails,w=i?.paymentType,o=P.visual.MMMDCommaYYYYformat,F={amount:i?.amount?.amount??0,currencyCode:I.currency.currencyCode,currencySymbol:I.currency.currencySymbol},y=ze(a.find(Q=>Q.id===i?.paymentToAccountId)),C=i?.paymentDate,$=Oe(w?.method??"");return t.jsx(Ut,{children:t.jsxs(Yt,{windowSize:h,style:s,children:[t.jsxs(Qt,{children:[t.jsx(ae,{children:b.pay}),t.jsx(ae,{children:t.jsx(ke,{amount:F,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:b.to}),t.jsx(ae,{children:e})]}),t.jsxs(Jt,{windowSize:h,children:[t.jsx(te,{label:{label:b.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):I.strings.empty}),t.jsx(be,{}),t.jsx(te,{label:{label:b.paymentMethod,width:p},style:{width:"auto"},value:Oe(w?.method??"")}),t.jsx(be,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:b.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${b.estimatedArrival}${_e(qe(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${b.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${b.deliveryTimeUnits})`}),t.jsx(be,{})]}):null,t.jsx(te,{label:{label:b.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(_t,{windowSize:h,children:[t.jsx(qt,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(Ht,{children:t.jsx(ke,{amount:wt(F.amount,F.currencyCode,F.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
102
102
  display: flex;
103
103
  width: 100%;
104
104
  box-sizing: border-box;
105
- `,qt=d.div`
105
+ `,_t=d.div`
106
106
  width: 100%;
107
107
  padding: ${n.sp3};
108
108
  display: flex;
@@ -113,23 +113,23 @@ import{y as Be,J as G,F as q,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at
113
113
  border-radius: ${n.sp2};
114
114
  color: ${e=>e.theme.colors.hero};
115
115
  margin-bottom: ${n.sp2};
116
- `,Ht=d(We)`
116
+ `,qt=d(We)`
117
117
  gap: ${n.sp1};
118
118
  display: flex;
119
119
  width: 100%;
120
120
  color: ${e=>e.theme.colors.primary};
121
121
  align-items: center;
122
- `,Ut=d(We)`
122
+ `,Ht=d(We)`
123
123
  display: flex;
124
124
  width: calc(100% - 176px);
125
125
  justify-content: flex-end;
126
126
  color: ${e=>e.theme.colors.primary};
127
- `,Yt=d.div`
127
+ `,Ut=d.div`
128
128
  display: flex;
129
129
  flex-direction: column;
130
130
  width: 100%;
131
131
  height: 100%;
132
- `,_t=d.div`
132
+ `,Yt=d.div`
133
133
  display: flex;
134
134
  flex-grow: 1;
135
135
  flex-direction: column;
@@ -145,19 +145,19 @@ import{y as Be,J as G,F as q,aa as et,aS as Fe,cI as tt,V as t,bE as it,ae as at
145
145
  margin-bottom: ${n.sp3};
146
146
  margin-top: ${n.sp3};
147
147
  width: ${e=>oe.containerWidth.valuePx(e.windowSize)};
148
- `,xe=d.div`
148
+ `,be=d.div`
149
149
  display: flex;
150
150
  flex: 1;
151
151
  background-color: ${e=>e.theme.colors.grey3};
152
152
  min-height: 1px;
153
153
  max-height: 1px;
154
- `,Kt=d.div`
154
+ `,Qt=d.div`
155
155
  display: flex;
156
- `,ae=d(be)`
156
+ `,ae=d(xe)`
157
157
  display: flex;
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  margin-right: ${n.sp1};
160
- `,Me="expressPayPage",Zt=e=>`${e}_form`,k="recipientDetails",D="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:P,onBackClick:I,saveVendorDetailLocalData:x,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:F,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:K,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:H,expressPayLocalData:g,vendorTypeList:Z,allPaymentMethods:U,paymentToOptions:A,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:Y}=e,[v,Q]=J.useState(0),Ye=Be(),X=G(),{common:we,spendManagement:_e}=q.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=_e.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=H,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Je=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Ve(Z,L,A,$e,U,N,g,j,C?.entityAutoCompleteView),values:Ve(Z,L,A,$e,U,N,g,j,C?.entityAutoCompleteView)}),Ie=Fe(Ce.saveStatus?.fetchState),Te=Fe(m);J.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Ke(b,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Ie==="In-Progress"&&Y==="Completed"&&(v===0?(Q(1),o?.(g?.vendorId)):v===1&&Q(2)),Te==="In-Progress"&&m==="Completed"&&I(g?.vendorId)},[Ie,Y,v,o,g?.vendorId,Te,m,I]);const Ke=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[k].recipient.selectedOption,O=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Ze(S),y(),N?.vendorId!==b&&O!=null&&(l?.(b),he(S,!1,A,b))}else if(c.includes("recipient"))ue(S);else{const b=S[D].paymentMethod?.method,O=g?.paymentType?.method,M=b!=null&&O!=null&&(b.toLowerCase().includes("ach")&&O.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&O.toLowerCase().includes("ach"));he(S,M,A,g?.vendorId)}},Ze=c=>{const S=c[k].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(O=>O.id===S)!=null;if(S!=null&&b===!0){P?.(S),he(c,!1,A,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,O=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Xt(c,O===!0?b:void 0,N,S);x?.(M,b)},he=(c,S,b,O)=>{const M=(()=>{let V=[];return c[D].paymentMethod?.method.includes("wire")===!0?V=b.filter(B=>!!B.bankRoutingNumberWireTransfer).map(B=>B.id):V=b.filter(B=>!!B.bankRoutingNumberAch).map(B=>B.id),V})(),ye=b.find(V=>V.id===c[D]?.paymentTo?.selectedOption),Qe={vendorId:O,amount:{amount:c[D].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[D].paymentDate?qe(c[D].paymentDate.toString()):le(),paymentType:c[D]?.paymentMethod!=null?c[D]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(V=>V.id===c[D]?.withdrawFrom?.selectedOption),receiptFileId:c[D].receipt?.fileId};w?.(Qe)},Pe=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),F()}),Xe=()=>{v===2?Q(1):I(g?.vendorId)},Ge=()=>{v===0?I(g?.vendorId):Q(v===1?0:1)},De={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?A.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??U?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Ge,backgroundColor:Ye.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Gt,{windowSize:X,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Pe,children:v===0?t.jsx(Nt,{sectionId:k,vendorTypeList:Z,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Ft,{sectionId:D,paymentDetails:De,paymentToOptions:A,allPaymentMethods:U,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:K,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=De?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(Rt,{reviewDetails:g,paymentToOptions:A,vendorName:Je}):null})})]}),t.jsx(nt,{formId:Zt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(X):ne.buttonWidth.value(X),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Pe()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(X):ne.buttonWidth.value(X),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Xe}})]})},Ve=(e,i,a,s,h,p,l,P,I)=>{const x=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[k]:{recipient:{defaultOptions:Ue(p?.vendorId,p?.vendorName,I),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[D]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??He(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?x:[],selectedOption:l?.paymentToAccountId??x[0]},receipt:P}}};function Xt(e,i,a,s){const h=e[k].recipient.defaultOptions.find(p=>p.value===e[k].recipient.selectedOption);return{vendorType:s===!0?void 0:e[k].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[k].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Gt=d.div`
160
+ `,Me="expressPayPage",Zt=e=>`${e}_form`,k="recipientDetails",D="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:P,onBackClick:I,saveVendorDetailLocalData:b,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:F,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:Q,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:q,expressPayLocalData:g,vendorTypeList:Z,allPaymentMethods:H,paymentToOptions:A,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:U}=e,[v,G]=J.useState(0),Ue=Be(),K=X(),{common:we,spendManagement:Ye}=_.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Ye.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=q,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Je=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Ve(Z,L,A,$e,H,N,g,j,C?.entityAutoCompleteView),values:Ve(Z,L,A,$e,H,N,g,j,C?.entityAutoCompleteView)}),Ie=Fe(Ce.saveStatus?.fetchState),Te=Fe(m);J.useEffect(()=>{const c=ee.watch((S,{name:x})=>{x!=null&&S!=null&&tt(()=>Qe(x,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Ie==="In-Progress"&&U==="Completed"&&(v===0?(G(1),o?.(g?.vendorId)):v===1&&G(2)),Te==="In-Progress"&&m==="Completed"&&I(g?.vendorId)},[Ie,U,v,o,g?.vendorId,Te,m,I]);const Qe=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const x=S[k].recipient.selectedOption,O=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===x);Ze(S),y(),N?.vendorId!==x&&O!=null&&(l?.(x),he(S,!1,A,x))}else if(c.includes("recipient"))ue(S);else{const x=S[D].paymentMethod?.method,O=g?.paymentType?.method,M=x!=null&&O!=null&&(x.toLowerCase().includes("ach")&&O.toLowerCase().includes("wire")||x.toLowerCase().includes("wire")&&O.toLowerCase().includes("ach"));he(S,M,A,g?.vendorId)}},Ze=c=>{const S=c[k].recipient.selectedOption,x=C?.entityAutoCompleteView.vendor.find(O=>O.id===S)!=null;if(S!=null&&x===!0){P?.(S),he(c,!1,A,S);return}ue(c,!0)},ue=(c,S)=>{const x=N?.vendorId,O=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===x)!=null,M=Kt(c,O===!0?x:void 0,N,S);b?.(M,x)},he=(c,S,x,O)=>{const M=(()=>{let V=[];return c[D].paymentMethod?.method.includes("wire")===!0?V=x.filter(B=>!!B.bankRoutingNumberWireTransfer).map(B=>B.id):V=x.filter(B=>!!B.bankRoutingNumberAch).map(B=>B.id),V})(),ye=x.find(V=>V.id===c[D]?.paymentTo?.selectedOption),Ge={vendorId:O,amount:{amount:c[D].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[D].paymentDate?_e(c[D].paymentDate.toString()):le(),paymentType:c[D]?.paymentMethod!=null?c[D]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(V=>V.id===c[D]?.withdrawFrom?.selectedOption),receiptFileId:c[D].receipt?.fileId};w?.(Ge)},Pe=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),F()}),Ke=()=>{v===2?G(1):I(g?.vendorId)},Xe=()=>{v===0?I(g?.vendorId):G(v===1?0:1)},De={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?A.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??H?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Xe,backgroundColor:Ue.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Xt,{windowSize:K,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Pe,children:v===0?t.jsx(Nt,{sectionId:k,vendorTypeList:Z,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Ft,{sectionId:D,paymentDetails:De,paymentToOptions:A,allPaymentMethods:H,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:Q,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=De?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:A,vendorName:Je}):null})})]}),t.jsx(nt,{formId:Zt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Pe()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Ke}})]})},Ve=(e,i,a,s,h,p,l,P,I)=>{const b=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[k]:{recipient:{defaultOptions:He(p?.vendorId,p?.vendorName,I),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[D]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??qe(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?b:[],selectedOption:l?.paymentToAccountId??b[0]},receipt:P}}};function Kt(e,i,a,s){const h=e[k].recipient.defaultOptions.find(p=>p.value===e[k].recipient.selectedOption);return{vendorType:s===!0?void 0:e[k].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[k].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Xt=d.div`
161
161
  display: flex;
162
162
  flex-wrap: wrap;
163
163
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as _,J as w,F as y,aX as n,p as r,V as i,cs as v,x as p,ct as k,cu as x,u as g}from"./index-B7eWgQzZ.js";import{n as d}from"./mui-Ba0_ROTv.js";import"./sentry-BUYEiWD8.js";import"./liveblocks-DyVXfa5b.js";import"./core-CslRcwFE.js";import"./recharts-Dpk71F6G.js";import"./zeni-epic-state-DsDV18R1.js";import"./lottie-DR7Z1uj_.js";import"./analytics-EOspDoDF.js";import"./lexical-DEAOqFKR.js";import"./utils-van4hLXd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="d8f2f45d-8e02-4d68-b516-21ed3e77cbaa",e._sentryDebugIdIdentifier="sentry-dbid-d8f2f45d-8e02-4d68-b516-21ed3e77cbaa")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
1
+ import{y as _,J as w,b as y,aX as n,p as r,V as i,cs as v,x as p,ct as k,cu as x,u as g}from"./index-DGGt5RDJ.js";import{n as d}from"./mui-BXc79n0P.js";import"./sentry-C7LQiKF9.js";import"./liveblocks-Dda0tF-O.js";import"./core-BFf3IFj6.js";import"./recharts-vbuE4Jum.js";import"./zeni-epic-state-Cvu6NpVe.js";import"./lottie-mwve--vc.js";import"./analytics-BFqwqBQR.js";import"./lexical-BeXs36Y0.js";import"./utils-CW6UW7VZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="13ff9029-549d-46f9-9094-4c3826388984",e._sentryDebugIdIdentifier="sentry-dbid-13ff9029-549d-46f9-9094-4c3826388984")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -8,4 +8,4 @@ import{y as _,J as w,F as y,aX as n,p as r,V as i,cs as v,x as p,ct as k,cu as x
8
8
  `,C=d.img`
9
9
  width: 100%;
10
10
  height: 100%;
11
- `,W={mobile:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""},normal:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""}};function V({menuItem:e,onDemoClick:a,onGoBack:m}){const s=_(),o=w(),u=`${W[o==="small"?"mobile":"normal"][e]}-${s.mode}.png`,{featurePreview:c}=y.getLocalizedStrings(),l=c.popups[e],b=s.mode==="light"?new n(r.backgroundGradient1Light):new n(r.backgroundGradient1Dark),h=s.mode==="light"?new n(r.backgroundGradient2Light):new n(r.backgroundGradient2Dark),f={onOkClick:()=>{a()},onCancelClick:()=>{m()}};return i.jsxs(z,{children:[i.jsx(C,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(v,{titleComponent:i.jsx(x,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:t.buttonWidth.value(o),secondaryButtonWidth:t.buttonWidth.value(o),style:{background:`radial-gradient(50% 50% at 50% 50%, ${b} 0%, ${h} 100%)`,backdropFilter:"blur(2px)",width:t.popupContainerWidth.valuePercentage(o),left:t.popupContainerLeft.value(o)},containerStyle:{border:`1px solid ${s.colors.grey1}`,minWidth:t.popupWidth.valuePx(o)}})]})}export{V as default};
11
+ `,W={mobile:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""},normal:{home:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",users_and_roles:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_settings:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_cfo:"",command_center:"",task_checklist:"",transaction_categorization:"",je_schedules:"",missing_receipts:"",flux_analysis:"",reconciliation:""}};function O({menuItem:e,onDemoClick:s,onGoBack:m}){const a=_(),o=w(),u=`${W[o==="small"?"mobile":"normal"][e]}-${a.mode}.png`,{featurePreview:c}=y.getLocalizedStrings(),l=c.popups[e],h=a.mode==="light"?new n(r.backgroundGradient1Light):new n(r.backgroundGradient1Dark),b=a.mode==="light"?new n(r.backgroundGradient2Light):new n(r.backgroundGradient2Dark),f={onOkClick:()=>{s()},onCancelClick:()=>{m()}};return i.jsxs(z,{children:[i.jsx(C,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(v,{titleComponent:i.jsx(x,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:t.buttonWidth.value(o),secondaryButtonWidth:t.buttonWidth.value(o),style:{background:`radial-gradient(50% 50% at 50% 50%, ${h} 0%, ${b} 100%)`,backdropFilter:"blur(2px)",width:t.popupContainerWidth.valuePercentage(o),left:t.popupContainerLeft.value(o)},containerStyle:{border:`1px solid ${a.colors.grey1}`,minWidth:t.popupWidth.valuePx(o)}})]})}export{O as default};
@@ -1,4 +1,4 @@
1
- import{J as H,V as l,F as Y,cM as q,ey as G,y as ee,cR as K,x as L,gl as Z,o as i,ac as M,eq as ce,aG as le,gd as pe,ge as ue,r as he,p as u,u as g,gJ as ge,d1 as be,eH as ye,aq as ve,bJ as we,w as W,dp as $e,bK as fe,bI as ke}from"./index-B7eWgQzZ.js";import{n as d}from"./mui-Ba0_ROTv.js";import{a as V}from"./sentry-BUYEiWD8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="9688f1b8-0afb-4b17-b0fc-9715c5ccffd7",e._sentryDebugIdIdentifier="sentry-dbid-9688f1b8-0afb-4b17-b0fc-9715c5ccffd7")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(K,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{J as H,V as l,b as Y,cM as q,ey as G,y as ee,cR as K,x as L,gl as Z,o as i,ac as M,eq as ce,aG as le,gd as pe,ge as ue,a as he,p as u,u as g,gK as ge,d1 as be,eH as ye,aq as ve,bJ as we,w as W,dp as $e,bK as fe,bI as ke}from"./index-DGGt5RDJ.js";import{n as d}from"./mui-BXc79n0P.js";import{a as V}from"./sentry-C7LQiKF9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="867be09c-f19f-455b-b74a-fd2f4d1783ac",e._sentryDebugIdIdentifier="sentry-dbid-867be09c-f19f-455b-b74a-fd2f4d1783ac")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(K,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{y as Ke,J as Q,aa as _e,aA as Ee,cI as Qe,V as t,ac as V,bE as Ye,ae as Je,cq as Ie,o,r as ye,F as ue,bQ as Xe,co as Ze,b5 as et,dr as tt,cw as lt,ab as ot,T as at,d2 as nt,bH as De,aV as it,x as L,bR as se,u as $,cp as Ce,ak as we,cC as rt,cF as st,cM as dt,dm as je,d4 as me,bV as _,eC as ke,aq as ct,ip as ht,an as mt,bj as gt,il as pt,iq as Oe,ck as ut,bv as wt,p as We,ir as bt}from"./index-B7eWgQzZ.js";import{a as j}from"./sentry-BUYEiWD8.js";import{n as r,c as Se}from"./mui-Ba0_ROTv.js";import{c4 as xt,GQ as vt}from"./zeni-epic-state-DsDV18R1.js";import"./liveblocks-DyVXfa5b.js";import"./core-CslRcwFE.js";import"./recharts-Dpk71F6G.js";import"./lottie-DR7Z1uj_.js";import"./analytics-EOspDoDF.js";import"./lexical-DEAOqFKR.js";import"./utils-van4hLXd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="5101eb79-c9fc-4004-8a72-c5c842457130",e._sentryDebugIdIdentifier="sentry-dbid-5101eb79-c9fc-4004-8a72-c5c842457130")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=Q(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
1
+ import{y as Ke,J,aa as Ee,aA as _e,cI as Je,V as t,ac as V,bE as Qe,ae as Ye,cq as Ie,o,a as ye,b as ue,bQ as Xe,co as Ze,b5 as et,dr as tt,cw as lt,ab as ot,L as at,d2 as nt,bH as De,aV as it,x as z,bR as se,u as $,cp as Ce,ak as we,cC as rt,cF as st,cM as dt,dm as je,d4 as me,bV as E,eC as ke,aq as ct,ir as ht,an as mt,bj as gt,io as pt,is as Oe,ck as ut,bv as wt,p as We,it as bt}from"./index-DGGt5RDJ.js";import{a as j}from"./sentry-C7LQiKF9.js";import{n as r,c as Se}from"./mui-BXc79n0P.js";import{c4 as xt,GQ as vt}from"./zeni-epic-state-Cvu6NpVe.js";import"./liveblocks-Dda0tF-O.js";import"./core-BFf3IFj6.js";import"./recharts-vbuE4Jum.js";import"./lottie-mwve--vc.js";import"./analytics-BFqwqBQR.js";import"./lexical-BeXs36Y0.js";import"./utils-CW6UW7VZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a1d548b3-6bf4-47af-8aa7-b2e0ac87f66f",e._sentryDebugIdIdentifier="sentry-dbid-a1d548b3-6bf4-47af-8aa7-b2e0ac87f66f")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=J(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -20,7 +20,7 @@ import{y as Ke,J as Q,aa as _e,aA as Ee,cI as Qe,V as t,ac as V,bE as Ye,ae as J
20
20
  color: ${e=>e.theme.colors.brandColorJade};
21
21
  width: ${o.sp3};
22
22
  height: ${o.sp3};
23
- `,{headers:be,strings:It}=ue.getLocalizedStrings().common,Ct={key:"tenants",value:be.tenants,sortOrder:"ascending",width:new L(15,15)},kt={key:"requestedVendor",value:be.requestedVendor,sortOrder:"ascending",width:new L(28,28)},Rt={key:"originalVendor",value:be.originalVendor,sortOrder:"ascending",width:new L(15,15)},Nt={key:"recommended",value:be.recommended,sortOrder:"ascending",width:new L(30,30),icon:t.jsx($t,{children:t.jsx(Mt,{})})},Vt={key:"action",value:It.empty,sortOrder:"ascending",width:new L(12,12)},A=[Ct,Rt,Nt,kt,Vt],fe={sortKey:"tenants",sortOrder:"ascending"},Gt=88,Fe=53,zt=1,Lt=["action"],Ve=e=>xt(e,Lt),He=({sortConfig:e,isDisabled:l,onColumnSortConfigChanged:n})=>{const a=Q(),[u,g]=j.useState(A);j.useEffect(()=>{const d=[...u];for(const h of d)h.key===e.sortKey?h.sortOrder=e.sortOrder:h.sortOrder="ascending";g(d)},[e.sortKey,e.sortOrder]);const b=(d,h)=>{let x=h;e.sortKey===d&&(x=h==="ascending"?"descending":"ascending"),n?.(d,x)},f=d=>{Ve(d.key)==null&&b(vt(d.key),d.sortOrder)};return t.jsx(At,{windowSize:a,children:u.map(d=>{const h=l!=null||Ve(d.key)!=null;return t.jsxs(Tt,{"data-testid":V("global-review-list-column-header",d.key),sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isSortDisabled:h,windowSize:a,children:[t.jsxs(Ft,{onClick:()=>h?null:f(d),isSortDisabled:h,"data-testid":V("global-review-list-header-name-wrapper",d.value),children:[d.icon,t.jsx(Ht,{children:d.value}),h?null:t.jsx(Dt,{sortConfig:e,headerdata:d,children:t.jsx(Wt,{})})]}),h?null:t.jsx(Ot,{isSortDisabled:h,sortDataValue:e.sortKey,isVisible:e.sortKey===d.key&&e.sortKey!==fe.sortKey,children:t.jsx(Pt,{onClick:()=>{h||b(fe.sortKey,fe.sortOrder)},"data-testid":V("global-review-list-header-close-icon",d.value)})})]},d.key)})})},At=r.div`
23
+ `,{headers:be,strings:It}=ue.getLocalizedStrings().common,Ct={key:"tenants",value:be.tenants,sortOrder:"ascending",width:new z(15,15)},kt={key:"requestedVendor",value:be.requestedVendor,sortOrder:"ascending",width:new z(28,28)},Rt={key:"originalVendor",value:be.originalVendor,sortOrder:"ascending",width:new z(15,15)},Nt={key:"recommended",value:be.recommended,sortOrder:"ascending",width:new z(30,30),icon:t.jsx($t,{children:t.jsx(Mt,{})})},Vt={key:"action",value:It.empty,sortOrder:"ascending",width:new z(12,12)},A=[Ct,Rt,Nt,kt,Vt],fe={sortKey:"tenants",sortOrder:"ascending"},Gt=88,Fe=53,Lt=1,zt=["action"],Ve=e=>xt(e,zt),He=({sortConfig:e,isDisabled:l,onColumnSortConfigChanged:n})=>{const a=J(),[u,g]=j.useState(A);j.useEffect(()=>{const d=[...u];for(const h of d)h.key===e.sortKey?h.sortOrder=e.sortOrder:h.sortOrder="ascending";g(d)},[e.sortKey,e.sortOrder]);const b=(d,h)=>{let x=h;e.sortKey===d&&(x=h==="ascending"?"descending":"ascending"),n?.(d,x)},f=d=>{Ve(d.key)==null&&b(vt(d.key),d.sortOrder)};return t.jsx(At,{windowSize:a,children:u.map(d=>{const h=l!=null||Ve(d.key)!=null;return t.jsxs(Tt,{"data-testid":V("global-review-list-column-header",d.key),sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isSortDisabled:h,windowSize:a,children:[t.jsxs(Ft,{onClick:()=>h?null:f(d),isSortDisabled:h,"data-testid":V("global-review-list-header-name-wrapper",d.value),children:[d.icon,t.jsx(Ht,{children:d.value}),h?null:t.jsx(Dt,{sortConfig:e,headerdata:d,children:t.jsx(Wt,{})})]}),h?null:t.jsx(Ot,{isSortDisabled:h,sortDataValue:e.sortKey,isVisible:e.sortKey===d.key&&e.sortKey!==fe.sortKey,children:t.jsx(Pt,{onClick:()=>{h||b(fe.sortKey,fe.sortOrder)},"data-testid":V("global-review-list-header-close-icon",d.value)})})]},d.key)})})},At=r.div`
24
24
  top: ${o.sp0};
25
25
  left: ${o.sp0};
26
26
  height: ${Fe}px;
@@ -75,7 +75,7 @@ import{y as Ke,J as Q,aa as _e,aA as Ee,cI as Qe,V as t,ac as V,bE as Ye,ae as J
75
75
  }
76
76
  `,Ht=r(we)`
77
77
  display: flex;
78
- `,{common:v,vendorReview:{globalReview:{globalMerchantList:Ut}}}=ue.getLocalizedStrings(),c={containerPaddingLeftRight:new L($[3],$[4]),containerPaddingTopBottom:new L($[2],$[3]),logoHeightAndWidth:new L($[3],$[4]),vendorNameLogoHeightAndWidth:new L($[4],$[6]),logoToValueGap:new L($[2],$[2]),smallLogoToValueGap:new L($[1],$[1])},qt=({vendorGlobalReviewData:e,allGlobalMerchants:l,globalMerchantAutoCompleteView:n,sectionId:a,isDisabled:u,analytics:g,onLoadGlobalMerchants:b,onCreateGlobalMerchant:f,onApproveGlobalReview:d,onRejectGlobalReview:h,onClearGlobalMerchantAutoCompleteResults:x})=>{const s=Q(),{resetField:G,formState:q}=dt(),[T,k]=j.useState(!1),[P,H]=a.split("."),O=parseInt(H),z=String(O),I=i=>V(i,z),B=q.dirtyFields[P]?.[O]?.originalVendor===!0&&e.selectedMerchantId!==e.merchant.tenantMerchantId,K=e.currentSelection!=null,{merchant:w,recommendations:te}=e,{fetchState:y}=n,S=i=>{let m=i.websiteUrl?.toString();if(m){if(m=Oe(m)??m,e.selectedMerchantId!=null){const p=i.globalMerchantName??null;g.trackVendorReviewWebsiteOpened({reviewSource:"global_review",vendorName:e.merchant.tenantMerchantName,wasRecommendationAvailable:!!p,recommendedVendorName:p,recommendedVendorReason:i.reason??null,vendorWebsite:m})}window.open(m,"_blank")}},W=[];te.forEach((i,m)=>{const p=`recommended${pt(m)}`;W.push({label:{label:t.jsx(t.Fragment,{children:i.logo!=null?t.jsxs(Le,{children:[t.jsx(je,{photoUrl:i.logo.toString(),styles:{width:c.logoHeightAndWidth.valuePx(s),height:c.logoHeightAndWidth.valuePx(s)},placeholder:{width:c.logoHeightAndWidth.value(s),height:c.logoHeightAndWidth.value(s)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:i.globalMerchantName,size:c.logoHeightAndWidth.valuePx(s)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(J,{children:i.globalMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(J,{children:i.globalMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(a,U,p),checkBoxValue:ce(a,U,p),defaultChecked:e.currentSelection===p},tooltipProps:{text:t.jsx(Jt,{onRedirectionToRecommendedMerchantWebsiteUrl:()=>S(i),recommendation:i,recommendationIndex:m,rowSuffix:z}),maxWidth:"360px"},fieldName:p})});const C=w!=null?{label:{label:t.jsx(t.Fragment,{children:w.logo!=null?t.jsxs(Le,{children:[t.jsx(je,{photoUrl:w.logo.toString(),styles:{width:c.logoHeightAndWidth.valuePx(s),height:c.logoHeightAndWidth.valuePx(s)},placeholder:{width:c.logoHeightAndWidth.value(s),height:c.logoHeightAndWidth.value(s)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:w.tenantMerchantName,size:c.logoHeightAndWidth.valuePx(s)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(J,{children:w.tenantMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(J,{children:w.tenantMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(a,U,ge),checkBoxValue:ce(a,U,ge),defaultChecked:e.currentSelection==="requested"},tooltipProps:{text:t.jsx(Xt,{merchant:w,rowSuffix:z}),maxWidth:"360px"}}:void 0;let ne=w.oldMerchantName;e.currentSelection==="originalVendor"&&e.selectedMerchantId!=null&&(ne=e.selectedMerchantId);const le=j.useMemo(()=>Be(ne,e.merchant,l),[e,l]),ie=()=>{k(!1),x()},xe=()=>{G(a)};return t.jsx(Ue,{"data-testid":I("global-review-list-row"),windowSize:s,isActiveField:B,children:A.map((i,m)=>{switch(i.key){case"originalVendor":return t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),windowSize:s,wrapperWidth:i.width,children:T===!0?t.jsx(ct,{onClickAway:ie,children:t.jsx(Et,{children:t.jsx(ht,{name:de(a,"originalVendor"),defaultValue:le,isOptionsLoading:y==="In-Progress",addIconInCreateLabel:!0,autoFocus:!0,isDisabled:u,style:{marginRight:o.sp4},menuIsOpen:T,loadOptions:b,customStyleConfig:{valueContainer:(p,R)=>({justifyContent:"flex-start",margin:`${o.sp0} ${R.selectProps.menuIsOpen===!1?o.sp0:o.sp3}`}),menu:()=>({width:"150%"}),singleValue:()=>({display:"flex",alignItems:"center",color:"inherit"})},onCreateOptionClick:p=>{f(w.tenantMerchantId,p,w.websiteUrl)},onMenuClose:ie})})}):le.selectedOption!=null?Yt(le.selectedOption,w,l,s,m,B,k,xe,z):t.jsxs(M,{className:"global-review-row-item",windowSize:s,isLastItem:m===A.length-1,children:[Ut.selectPlaceholder,t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{onClick:()=>k(!0),"data-testid":I("global-review-list-row-edit-icon")})})]})},de(a,"originalVendor"));case"recommended":return t.jsx(j.Fragment,{children:t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),gap:c.logoToValueGap,windowSize:s,wrapperWidth:i.width,children:W.map((p,R)=>t.jsxs(j.Fragment,{children:[t.jsx(M,{className:"vendor-global-review-row-item","data-testid":V("global-review-list-row-recommendation-option",`${z}-${R}`),isLastItem:!1,windowSize:s,children:t.jsx(ke,{isHighlighted:!0,label:p.label,checkBoxField:p.checkBoxField,tooltipProps:p.tooltipProps,defaultChecked:e.currentSelection===p.fieldName})}),R<W.length-1?t.jsxs(Kt,{children:[" ",v.texts.or]}):null]},R))})},`${a}-recommended`);case"action":return t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),gap:c.smallLogoToValueGap,windowSize:s,wrapperWidth:i.width,children:t.jsxs(M,{className:"global-review-row-button",windowSize:s,isLastItem:m===A.length-1,children:[t.jsx(ye,{dataTestId:I("global-review-list-row-reject"),label:v.footer.reject,loading:e.rejectStatus.fetchState==="In-Progress",onClick:()=>h(w.tenantMerchantId),size:"small",style:{height:"100%"},variant:"light_transparent"}),t.jsx(Qt,{space:o.sp0,style:{display:"flex",alignItems:"center",height:o.sp4,width:o.sp3}}),t.jsx(ye,{dataTestId:I("global-review-list-row-approve"),disabled:!K,label:v.footer.approve,loading:e.approveStatus.fetchState==="In-Progress",onClick:()=>d(w.tenantMerchantId),size:"small",variant:"primary"})]})},`${a}.${i.key}`);case"requestedVendor":return t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),gap:c.smallLogoToValueGap,windowSize:s,wrapperWidth:i.width,children:w.tenantMerchantName&&C!=null?t.jsx(M,{windowSize:s,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(ke,{isHighlighted:!0,label:C.label,checkBoxField:C.checkBoxField,tooltipProps:C.tooltipProps,defaultChecked:e.currentSelection==="requested"})}):t.jsx(M,{className:"vendor-global-review-row-item",windowSize:s,isLastItem:!1,children:v.strings.hyphen})},de(a,"merchantId"));case"tenants":default:return t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),windowSize:s,wrapperWidth:i.width,children:t.jsx(_t,{className:"global-review-row-item",windowSize:s,isLastItem:m===A.length-1,children:t.jsx(_,{display:"block",placement:"bottom-start",title:t.jsx(E,{children:w.tenantName}),children:t.jsx(J,{children:w.tenantName})})})},de(a,"tenantId"))}})})},Bt=()=>{const e=Q();return t.jsx(Ue,{windowSize:e,isActiveField:!1,children:A.map((l,n)=>{switch(l.key){case"originalVendor":case"recommended":return t.jsxs(F,{windowSize:e,wrapperWidth:l.width,gap:c.smallLogoToValueGap,children:[t.jsx(Ce,{width:c.logoHeightAndWidth.value(e),height:c.logoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:n===A.length-1,children:t.jsx(se,{width:120,height:c.logoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"requestedVendor":return t.jsxs(F,{windowSize:e,wrapperWidth:l.width,gap:c.logoToValueGap,children:[t.jsx(Ce,{width:c.vendorNameLogoHeightAndWidth.value(e),height:c.vendorNameLogoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:n===A.length-1,children:t.jsx(se,{width:120,height:c.vendorNameLogoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"tenants":return t.jsx(F,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:n===A.length-1,children:t.jsx(se,{width:100,height:$[4],style:{display:"flex",alignItems:"center"}})})},l.key);case"action":default:return t.jsx(F,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:n===A.length-1,children:t.jsx(se,{width:$[11],height:$[5],style:{display:"flex",alignItems:"center"}})})},l.key)}})})},Ue=r.div`
78
+ `,{common:v,vendorReview:{globalReview:{globalMerchantList:Ut}}}=ue.getLocalizedStrings(),c={containerPaddingLeftRight:new z($[3],$[4]),containerPaddingTopBottom:new z($[2],$[3]),logoHeightAndWidth:new z($[3],$[4]),vendorNameLogoHeightAndWidth:new z($[4],$[6]),logoToValueGap:new z($[2],$[2]),smallLogoToValueGap:new z($[1],$[1])},qt=({vendorGlobalReviewData:e,allGlobalMerchants:l,globalMerchantAutoCompleteView:n,sectionId:a,isDisabled:u,analytics:g,onLoadGlobalMerchants:b,onCreateGlobalMerchant:f,onApproveGlobalReview:d,onRejectGlobalReview:h,onClearGlobalMerchantAutoCompleteResults:x})=>{const s=J(),{resetField:G,formState:q}=dt(),[T,k]=j.useState(!1),[P,H]=a.split("."),O=parseInt(H),L=String(O),I=i=>V(i,L),B=q.dirtyFields[P]?.[O]?.originalVendor===!0&&e.selectedMerchantId!==e.merchant.tenantMerchantId,K=e.currentSelection!=null,{merchant:w,recommendations:te}=e,{fetchState:y}=n,S=i=>{let m=i.websiteUrl?.toString();if(m){if(m=Oe(m)??m,e.selectedMerchantId!=null){const p=i.globalMerchantName??null;g.trackVendorReviewWebsiteOpened({reviewSource:"global_review",vendorName:e.merchant.tenantMerchantName,wasRecommendationAvailable:!!p,recommendedVendorName:p,recommendedVendorReason:i.reason??null,vendorWebsite:m})}window.open(m,"_blank")}},W=[];te.forEach((i,m)=>{const p=`recommended${pt(m)}`;W.push({label:{label:t.jsx(t.Fragment,{children:i.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:i.logo.toString(),styles:{width:c.logoHeightAndWidth.valuePx(s),height:c.logoHeightAndWidth.valuePx(s)},placeholder:{width:c.logoHeightAndWidth.value(s),height:c.logoHeightAndWidth.value(s)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:i.globalMerchantName,size:c.logoHeightAndWidth.valuePx(s)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(Y,{children:i.globalMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(Y,{children:i.globalMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(a,U,p),checkBoxValue:ce(a,U,p),defaultChecked:e.currentSelection===p},tooltipProps:{text:t.jsx(Yt,{onRedirectionToRecommendedMerchantWebsiteUrl:()=>S(i),recommendation:i,recommendationIndex:m,rowSuffix:L}),maxWidth:"360px"},fieldName:p})});const C=w!=null?{label:{label:t.jsx(t.Fragment,{children:w.logo!=null?t.jsxs(ze,{children:[t.jsx(je,{photoUrl:w.logo.toString(),styles:{width:c.logoHeightAndWidth.valuePx(s),height:c.logoHeightAndWidth.valuePx(s)},placeholder:{width:c.logoHeightAndWidth.value(s),height:c.logoHeightAndWidth.value(s)},fallbackAvatar:t.jsx(pe,{children:t.jsx(me,{name:w.tenantMerchantName,size:c.logoHeightAndWidth.valuePx(s)})})}),t.jsx(M,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(Y,{children:w.tenantMerchantName})})]}):t.jsx(M,{className:"global-review-row-item",windowSize:s,isLastItem:!1,children:t.jsx(Y,{children:w.tenantMerchantName})})}),style:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},checkBoxField:{name:ce(a,U,ge),checkBoxValue:ce(a,U,ge),defaultChecked:e.currentSelection==="requested"},tooltipProps:{text:t.jsx(Xt,{merchant:w,rowSuffix:L}),maxWidth:"360px"}}:void 0;let ne=w.oldMerchantName;e.currentSelection==="originalVendor"&&e.selectedMerchantId!=null&&(ne=e.selectedMerchantId);const le=j.useMemo(()=>Be(ne,e.merchant,l),[e,l]),ie=()=>{k(!1),x()},xe=()=>{G(a)};return t.jsx(Ue,{"data-testid":I("global-review-list-row"),windowSize:s,isActiveField:B,children:A.map((i,m)=>{switch(i.key){case"originalVendor":return t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),windowSize:s,wrapperWidth:i.width,children:T===!0?t.jsx(ct,{onClickAway:ie,children:t.jsx(_t,{children:t.jsx(ht,{name:de(a,"originalVendor"),defaultValue:le,isOptionsLoading:y==="In-Progress",addIconInCreateLabel:!0,autoFocus:!0,isDisabled:u,style:{marginRight:o.sp4},menuIsOpen:T,loadOptions:b,customStyleConfig:{valueContainer:(p,R)=>({justifyContent:"flex-start",margin:`${o.sp0} ${R.selectProps.menuIsOpen===!1?o.sp0:o.sp3}`}),menu:()=>({width:"150%"}),singleValue:()=>({display:"flex",alignItems:"center",color:"inherit"})},onCreateOptionClick:p=>{f(w.tenantMerchantId,p,w.websiteUrl)},onMenuClose:ie})})}):le.selectedOption!=null?Qt(le.selectedOption,w,l,s,m,B,k,xe,L):t.jsxs(M,{className:"global-review-row-item",windowSize:s,isLastItem:m===A.length-1,children:[Ut.selectPlaceholder,t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{onClick:()=>k(!0),"data-testid":I("global-review-list-row-edit-icon")})})]})},de(a,"originalVendor"));case"recommended":return t.jsx(j.Fragment,{children:t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),gap:c.logoToValueGap,windowSize:s,wrapperWidth:i.width,children:W.map((p,R)=>t.jsxs(j.Fragment,{children:[t.jsx(M,{className:"vendor-global-review-row-item","data-testid":V("global-review-list-row-recommendation-option",`${L}-${R}`),isLastItem:!1,windowSize:s,children:t.jsx(ke,{isHighlighted:!0,label:p.label,checkBoxField:p.checkBoxField,tooltipProps:p.tooltipProps,defaultChecked:e.currentSelection===p.fieldName})}),R<W.length-1?t.jsxs(Kt,{children:[" ",v.texts.or]}):null]},R))})},`${a}-recommended`);case"action":return t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),gap:c.smallLogoToValueGap,windowSize:s,wrapperWidth:i.width,children:t.jsxs(M,{className:"global-review-row-button",windowSize:s,isLastItem:m===A.length-1,children:[t.jsx(ye,{dataTestId:I("global-review-list-row-reject"),label:v.footer.reject,loading:e.rejectStatus.fetchState==="In-Progress",onClick:()=>h(w.tenantMerchantId),size:"small",style:{height:"100%"},variant:"light_transparent"}),t.jsx(Jt,{space:o.sp0,style:{display:"flex",alignItems:"center",height:o.sp4,width:o.sp3}}),t.jsx(ye,{dataTestId:I("global-review-list-row-approve"),disabled:!K,label:v.footer.approve,loading:e.approveStatus.fetchState==="In-Progress",onClick:()=>d(w.tenantMerchantId),size:"small",variant:"primary"})]})},`${a}.${i.key}`);case"requestedVendor":return t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),gap:c.smallLogoToValueGap,windowSize:s,wrapperWidth:i.width,children:w.tenantMerchantName&&C!=null?t.jsx(M,{windowSize:s,className:"vendor-global-review-row-item",isLastItem:!1,children:t.jsx(ke,{isHighlighted:!0,label:C.label,checkBoxField:C.checkBoxField,tooltipProps:C.tooltipProps,defaultChecked:e.currentSelection==="requested"})}):t.jsx(M,{className:"vendor-global-review-row-item",windowSize:s,isLastItem:!1,children:v.strings.hyphen})},de(a,"merchantId"));case"tenants":default:return t.jsx(F,{"data-testid":I(`global-review-list-row-column-${i.key}`),windowSize:s,wrapperWidth:i.width,children:t.jsx(Et,{className:"global-review-row-item",windowSize:s,isLastItem:m===A.length-1,children:t.jsx(E,{display:"block",placement:"bottom-start",title:t.jsx(_,{children:w.tenantName}),children:t.jsx(Y,{children:w.tenantName})})})},de(a,"tenantId"))}})})},Bt=()=>{const e=J();return t.jsx(Ue,{windowSize:e,isActiveField:!1,children:A.map((l,n)=>{switch(l.key){case"originalVendor":case"recommended":return t.jsxs(F,{windowSize:e,wrapperWidth:l.width,gap:c.smallLogoToValueGap,children:[t.jsx(Ce,{width:c.logoHeightAndWidth.value(e),height:c.logoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:n===A.length-1,children:t.jsx(se,{width:120,height:c.logoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"requestedVendor":return t.jsxs(F,{windowSize:e,wrapperWidth:l.width,gap:c.logoToValueGap,children:[t.jsx(Ce,{width:c.vendorNameLogoHeightAndWidth.value(e),height:c.vendorNameLogoHeightAndWidth.value(e)}),t.jsx(M,{windowSize:e,isLastItem:n===A.length-1,children:t.jsx(se,{width:120,height:c.vendorNameLogoHeightAndWidth.value(e),style:{display:"flex",alignItems:"center"}})})]},l.key);case"tenants":return t.jsx(F,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:n===A.length-1,children:t.jsx(se,{width:100,height:$[4],style:{display:"flex",alignItems:"center"}})})},l.key);case"action":default:return t.jsx(F,{windowSize:e,wrapperWidth:l.width,children:t.jsx(M,{windowSize:e,isLastItem:n===A.length-1,children:t.jsx(se,{width:$[11],height:$[5],style:{display:"flex",alignItems:"center"}})})},l.key)}})})},Ue=r.div`
79
79
  display: flex;
80
80
  margin-bottom: ${o.sp3};
81
81
  background-color: ${e=>e.theme.colors.grey5};
@@ -143,17 +143,17 @@ import{y as Ke,J as Q,aa as _e,aA as Ee,cI as Qe,V as t,ac as V,bE as Ye,ae as J
143
143
  -webkit-box-orient: vertical;
144
144
  overflow: hidden;
145
145
  text-overflow: ellipsis;
146
- `,Kt=r.div``,J=r.div`
146
+ `,Kt=r.div``,Y=r.div`
147
147
  ${Me};
148
148
  `,M=r(mt)`
149
149
  ${Me};
150
150
  justify-content: ${e=>e.isLastItem?"flex-end":"unset"};
151
151
  display: ${e=>e.isLastItem?"flex":"inline-block"};
152
- `,_t=r(ut)`
152
+ `,Et=r(ut)`
153
153
  ${Me};
154
154
  justify-content: ${e=>e.isLastItem?"flex-end":"unset"};
155
155
  display: ${e=>e.isLastItem?"flex":"inline-block"};
156
- `,E=r(we)`
156
+ `,_=r(we)`
157
157
  padding: 2px ${o.sp2};
158
158
  color: ${e=>e.theme.colors.hero};
159
159
  background: ${e=>e.theme.colors.overlayColor};
@@ -179,12 +179,12 @@ import{y as Ke,J as Q,aa as _e,aA as Ee,cI as Qe,V as t,ac as V,bE as Ye,ae as J
179
179
  display: flex;
180
180
  align-items: center;
181
181
  cursor: pointer;
182
- `,ze=r.div`
182
+ `,Le=r.div`
183
183
  display: flex;
184
184
  text-align: center;
185
185
  align-items: center;
186
186
  overflow: hidden;
187
- `,Et=r.div`
187
+ `,_t=r.div`
188
188
  display: flex;
189
189
  width: 100%;
190
190
  `,qe=r.div`
@@ -210,12 +210,12 @@ import{y as Ke,J as Q,aa as _e,aA as Ee,cI as Qe,V as t,ac as V,bE as Ye,ae as J
210
210
  `,ee=r(we)`
211
211
  color: ${We.heroDark};
212
212
  white-space: nowrap;
213
- `,Qt=r.div`
213
+ `,Jt=r.div`
214
214
  margin-right: ${e=>e.space};
215
- `,Le=r.div`
215
+ `,ze=r.div`
216
216
  display: flex;
217
217
  gap: ${o.sp2};
218
- `,Be=(e,l,n)=>{const a=n.find(g=>g.globalMerchantId===e),u=l.tenantMerchantId===e?{label:l.tenantMerchantName,value:l.tenantMerchantId}:a!=null?{label:a.globalMerchantName,value:a.globalMerchantId}:void 0;return u!=null?{defaultOptions:[u],selectedOption:e}:{defaultOptions:[],selectedOption:e}},Yt=(e,l,n,a,u,g,b,f,d)=>{const h=G=>V(G,d),x=n.find(G=>G.globalMerchantId===e),s=l.tenantMerchantId===e?{logo:l.logo,name:l.tenantMerchantName}:x!=null?{logo:x.logo,name:x.globalMerchantName}:e.length>0?{logo:void 0,name:e}:void 0;return s==null?t.jsxs(t.Fragment,{children:[t.jsx(M,{className:"vendor-global-review-row-item",windowSize:a,isLastItem:!1,children:v.strings.hyphen}),t.jsxs(ze,{children:[t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon","data-testid":h("global-review-list-row-edit-icon"),onClick:()=>b(!0)})}),g?t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.reset}),enterDelay:600,children:t.jsx(Ge,{className:"reset-icon","data-testid":h("global-review-list-row-undo-icon"),onClick:f})}):null]})]}):t.jsxs(t.Fragment,{children:[s.logo!=null?t.jsx(je,{photoUrl:s.logo.toString(),styles:{width:c.vendorNameLogoHeightAndWidth.valuePx(a),height:c.vendorNameLogoHeightAndWidth.valuePx(a),marginRight:c.logoToValueGap.valuePx(a)},placeholder:{width:c.vendorNameLogoHeightAndWidth.value(a),height:c.vendorNameLogoHeightAndWidth.value(a),style:{marginRight:c.logoToValueGap.valuePx(a)}},fallbackAvatar:t.jsx(pe,{style:{marginRight:c.logoToValueGap.valuePx(a)},children:t.jsx(me,{name:s.name,size:c.vendorNameLogoHeightAndWidth.valuePx(a)})})}):t.jsx(pe,{style:{marginRight:c.logoToValueGap.valuePx(a)},children:t.jsx(me,{name:s.name,size:c.vendorNameLogoHeightAndWidth.valuePx(a)})}),t.jsxs(ze,{children:[t.jsx(M,{className:"global-review-row-item",windowSize:a,isLastItem:u===A.length-1,children:t.jsx(_,{display:"block",placement:"bottom-start",title:t.jsx(E,{children:s.name}),children:t.jsx(J,{children:s.name})})}),t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon","data-testid":h("global-review-list-row-edit-icon"),onClick:()=>b(!0)})}),g?t.jsx(_,{display:"block",placement:"bottom",title:t.jsx(E,{children:v.tooltips.reset}),enterDelay:600,children:t.jsx(Ge,{className:"reset-icon","data-testid":h("global-review-list-row-undo-icon"),onClick:f})}):null]})]})},Jt=({onRedirectionToRecommendedMerchantWebsiteUrl:e,recommendation:l,recommendationIndex:n,rowSuffix:a})=>t.jsxs(qe,{setMaxHeight:!0,children:[t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.vendor}),t.jsx(Z,{children:l.globalMerchantName})]}),l.websiteUrl?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.websiteURL}),t.jsx(Z,{className:"websiteUrlTooltipText","data-testid":V("global-review-list-row-recommended-website-url",`${a}-${String(n)}`),onClick:()=>e(l),children:l.websiteUrl?.toString()})]}):null]}),Xt=({merchant:e,rowSuffix:l})=>{let n=e.websiteUrl?.toString()??v.strings.empty;return t.jsxs(qe,{children:[t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.name}),t.jsx(Z,{children:e.tenantMerchantName})]}),e.accountName.length?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.category}),t.jsx(Z,{children:e.accountName})]}):null,e.accountName.length?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.class}),t.jsx(Z,{children:e.className})]}):null,n?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.websiteURL}),t.jsx(Z,{className:"websiteUrlTooltipText","data-testid":V("global-review-list-row-requested-vendor-website-url",l),onClick:()=>{n&&(n=Oe(n)??n,window.open(n,"_blank"))},children:n})]}):null]})},Zt=({sortConfig:e,fetchState:l,isDisabled:n,onColumnSortConfigChanged:a})=>{const u=Q();return t.jsxs(el,{windowSize:u,children:[t.jsx(He,{sortConfig:e,isDisabled:l==="In-Progress"?"readonly":n,onColumnSortConfigChanged:a}),t.jsx(tl,{windowSize:u,children:[...Array(7)].map((g,b)=>t.jsx(Bt,{},b))})]})},el=r.div`
218
+ `,Be=(e,l,n)=>{const a=n.find(g=>g.globalMerchantId===e),u=l.tenantMerchantId===e?{label:l.tenantMerchantName,value:l.tenantMerchantId}:a!=null?{label:a.globalMerchantName,value:a.globalMerchantId}:void 0;return u!=null?{defaultOptions:[u],selectedOption:e}:{defaultOptions:[],selectedOption:e}},Qt=(e,l,n,a,u,g,b,f,d)=>{const h=G=>V(G,d),x=n.find(G=>G.globalMerchantId===e),s=l.tenantMerchantId===e?{logo:l.logo,name:l.tenantMerchantName}:x!=null?{logo:x.logo,name:x.globalMerchantName}:e.length>0?{logo:void 0,name:e}:void 0;return s==null?t.jsxs(t.Fragment,{children:[t.jsx(M,{className:"vendor-global-review-row-item",windowSize:a,isLastItem:!1,children:v.strings.hyphen}),t.jsxs(Le,{children:[t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon","data-testid":h("global-review-list-row-edit-icon"),onClick:()=>b(!0)})}),g?t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:v.tooltips.reset}),enterDelay:600,children:t.jsx(Ge,{className:"reset-icon","data-testid":h("global-review-list-row-undo-icon"),onClick:f})}):null]})]}):t.jsxs(t.Fragment,{children:[s.logo!=null?t.jsx(je,{photoUrl:s.logo.toString(),styles:{width:c.vendorNameLogoHeightAndWidth.valuePx(a),height:c.vendorNameLogoHeightAndWidth.valuePx(a),marginRight:c.logoToValueGap.valuePx(a)},placeholder:{width:c.vendorNameLogoHeightAndWidth.value(a),height:c.vendorNameLogoHeightAndWidth.value(a),style:{marginRight:c.logoToValueGap.valuePx(a)}},fallbackAvatar:t.jsx(pe,{style:{marginRight:c.logoToValueGap.valuePx(a)},children:t.jsx(me,{name:s.name,size:c.vendorNameLogoHeightAndWidth.valuePx(a)})})}):t.jsx(pe,{style:{marginRight:c.logoToValueGap.valuePx(a)},children:t.jsx(me,{name:s.name,size:c.vendorNameLogoHeightAndWidth.valuePx(a)})}),t.jsxs(Le,{children:[t.jsx(M,{className:"global-review-row-item",windowSize:a,isLastItem:u===A.length-1,children:t.jsx(E,{display:"block",placement:"bottom-start",title:t.jsx(_,{children:s.name}),children:t.jsx(Y,{children:s.name})})}),t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:v.tooltips.editName}),enterDelay:600,children:t.jsx($e,{className:"edit-icon","data-testid":h("global-review-list-row-edit-icon"),onClick:()=>b(!0)})}),g?t.jsx(E,{display:"block",placement:"bottom",title:t.jsx(_,{children:v.tooltips.reset}),enterDelay:600,children:t.jsx(Ge,{className:"reset-icon","data-testid":h("global-review-list-row-undo-icon"),onClick:f})}):null]})]})},Yt=({onRedirectionToRecommendedMerchantWebsiteUrl:e,recommendation:l,recommendationIndex:n,rowSuffix:a})=>t.jsxs(qe,{setMaxHeight:!0,children:[t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.vendor}),t.jsx(Z,{children:l.globalMerchantName})]}),l.websiteUrl?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.websiteURL}),t.jsx(Z,{className:"websiteUrlTooltipText","data-testid":V("global-review-list-row-recommended-website-url",`${a}-${String(n)}`),onClick:()=>e(l),children:l.websiteUrl?.toString()})]}):null]}),Xt=({merchant:e,rowSuffix:l})=>{let n=e.websiteUrl?.toString()??v.strings.empty;return t.jsxs(qe,{children:[t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.name}),t.jsx(Z,{children:e.tenantMerchantName})]}),e.accountName.length?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.category}),t.jsx(Z,{children:e.accountName})]}):null,e.accountName.length?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.class}),t.jsx(Z,{children:e.className})]}):null,n?t.jsxs(X,{children:[t.jsx(ee,{children:v.labels.websiteURL}),t.jsx(Z,{className:"websiteUrlTooltipText","data-testid":V("global-review-list-row-requested-vendor-website-url",l),onClick:()=>{n&&(n=Oe(n)??n,window.open(n,"_blank"))},children:n})]}):null]})},Zt=({sortConfig:e,fetchState:l,isDisabled:n,onColumnSortConfigChanged:a})=>{const u=J();return t.jsxs(el,{windowSize:u,children:[t.jsx(He,{sortConfig:e,isDisabled:l==="In-Progress"?"readonly":n,onColumnSortConfigChanged:a}),t.jsx(tl,{windowSize:u,children:[...Array(7)].map((g,b)=>t.jsx(Bt,{},b))})]})},el=r.div`
219
219
  display: block;
220
220
  min-height: 100%;
221
221
  flex-direction: column;
@@ -224,7 +224,7 @@ import{y as Ke,J as Q,aa as _e,aA as Ee,cI as Qe,V as t,ac as V,bE as Ye,ae as J
224
224
  display: flex;
225
225
  min-height: 100%;
226
226
  flex-direction: column;
227
- `,{common:ll,vendorReview:{globalReview:{globalMerchantList:Ae}}}=ue.getLocalizedStrings(),ol=({vendorGlobalReviewList:e,allGlobalMerchants:l,sectionId:n,listFetchState:a,globalMerchantAutoCompleteView:u,uiState:g,isDisabled:b,analytics:f,onLoadGlobalMerchants:d,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onCreateGlobalMerchant:s,onApproveGlobalMerchantReview:G,onRejectGlobalMerchantReview:q,onClearGlobalMerchantAutoCompleteResults:T})=>{const k=Q(),P=j.useRef(null),[H,O]=j.useState(!1);j.useEffect(()=>{P.current?.resetAfterIndex(0)},[k,P]),j.useEffect(()=>{a==="Completed"&&O(!1)},[a]);const z=y=>Gt,I=(y,S)=>{h({sortOrder:S,sortKey:y}),x(g.searchText,!1,null)},B=()=>{O(!0),x(g.searchText,!0,g.pageToken)},K=y=>y<e.length,w=()=>{g.pageToken!=null&&a==="Completed"&&B()},te=y=>{const S=e.find(C=>C.merchant.tenantMerchantId===y),W=l.find(C=>C.globalMerchantId===S?.selectedMerchantId);S?.currentSelection!="requested"||W!=null&&S?.currentSelection=="requested"?G(y):S!=null&&s(y,S.merchant.tenantMerchantName,S.merchant.websiteUrl)};return t.jsxs(il,{windowSize:k,children:[t.jsx(rl,{windowSize:k,children:a==="Error"?t.jsxs(dl,{windowSize:k,children:[t.jsx(cl,{"data-testid":V("global-review-list-table-reload-icon"),onClick:()=>x("",!1,null),children:t.jsx(Xe,{})}),t.jsx(hl,{children:ll.reloadPage.label})]}):a==="Completed"&&e.length===0?t.jsx(Ze,{message:g.searchText?Ae.noMatchedDataText:Ae.noDataText,style:{padding:o.sp0}}):a==="Not-Started"||a==="In-Progress"&&e.length===0?t.jsx(Zt,{sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder},isDisabled:b,fetchState:a,onColumnSortConfigChanged:I}):t.jsx(sl,{windowSize:k,children:t.jsx(et,{children:({height:y,width:S})=>t.jsx(tt,{isItemLoaded:K,itemCount:e.length+1,loadMoreItems:w,children:({onItemsRendered:W})=>t.jsxs(gl,{style:{height:y,width:S},children:[t.jsx(nl,{children:t.jsx(He,{sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder},isDisabled:a==="In-Progress"?"readonly":b,onColumnSortConfigChanged:I})}),t.jsx(lt,{ref:P,height:y-Fe,itemCount:e.length,itemData:{analytics:f,vendorGlobalReviewList:e,sectionId:n,allGlobalMerchants:l,globalMerchantAutoCompleteView:u,isDisabled:b,onLoadGlobalMerchants:d,onApproveGlobalReview:te,onRejectGlobalMerchantReview:q,onCreateGlobalMerchant:s,onClearGlobalMerchantAutoCompleteResults:T},onItemsRendered:W,itemSize:z,width:S,style:{willChange:"auto"},overscanCount:zt,onScroll:({scrollOffset:C})=>{h({scrollYOffset:C})},initialScrollOffset:g.scrollYOffset,children:al})]})})})})}),t.jsx(ot,{controller:H===!0,children:t.jsx(pl,{children:t.jsx(at,{size:"Small",start:!0})})})]})},al=({index:e,style:l,data:n})=>{const{analytics:a,vendorGlobalReviewList:u,allGlobalMerchants:g,globalMerchantAutoCompleteView:b,sectionId:f,isDisabled:d,onLoadGlobalMerchants:h,onCreateGlobalMerchant:x,onApproveGlobalReview:s,onRejectGlobalMerchantReview:G,onClearGlobalMerchantAutoCompleteResults:q}=n,T=u[e];return t.jsx(ml,{className:"global-review-list-item","data-testid":V("global-review-list-list-item",String(e)),style:{...l,width:"100%"},children:t.jsx(qt,{sectionId:`${f}.${e}`,isDisabled:T.approveStatus.fetchState==="In-Progress"?"readonly":d,globalMerchantAutoCompleteView:b,vendorGlobalReviewData:T,allGlobalMerchants:g,onLoadGlobalMerchants:h,onCreateGlobalMerchant:x,onApproveGlobalReview:s,onRejectGlobalReview:G,onClearGlobalMerchantAutoCompleteResults:q,analytics:a},T.merchant.tenantMerchantId)})},nl=r.div`
227
+ `,{common:ll,vendorReview:{globalReview:{globalMerchantList:Ae}}}=ue.getLocalizedStrings(),ol=({vendorGlobalReviewList:e,allGlobalMerchants:l,sectionId:n,listFetchState:a,globalMerchantAutoCompleteView:u,uiState:g,isDisabled:b,analytics:f,onLoadGlobalMerchants:d,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onCreateGlobalMerchant:s,onApproveGlobalMerchantReview:G,onRejectGlobalMerchantReview:q,onClearGlobalMerchantAutoCompleteResults:T})=>{const k=J(),P=j.useRef(null),[H,O]=j.useState(!1);j.useEffect(()=>{P.current?.resetAfterIndex(0)},[k,P]),j.useEffect(()=>{a==="Completed"&&O(!1)},[a]);const L=y=>Gt,I=(y,S)=>{h({sortOrder:S,sortKey:y}),x(g.searchText,!1,null)},B=()=>{O(!0),x(g.searchText,!0,g.pageToken)},K=y=>y<e.length,w=()=>{g.pageToken!=null&&a==="Completed"&&B()},te=y=>{const S=e.find(C=>C.merchant.tenantMerchantId===y),W=l.find(C=>C.globalMerchantId===S?.selectedMerchantId);S?.currentSelection!="requested"||W!=null&&S?.currentSelection=="requested"?G(y):S!=null&&s(y,S.merchant.tenantMerchantName,S.merchant.websiteUrl)};return t.jsxs(il,{windowSize:k,children:[t.jsx(rl,{windowSize:k,children:a==="Error"?t.jsxs(dl,{windowSize:k,children:[t.jsx(cl,{"data-testid":V("global-review-list-table-reload-icon"),onClick:()=>x("",!1,null),children:t.jsx(Xe,{})}),t.jsx(hl,{children:ll.reloadPage.label})]}):a==="Completed"&&e.length===0?t.jsx(Ze,{message:g.searchText?Ae.noMatchedDataText:Ae.noDataText,style:{padding:o.sp0}}):a==="Not-Started"||a==="In-Progress"&&e.length===0?t.jsx(Zt,{sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder},isDisabled:b,fetchState:a,onColumnSortConfigChanged:I}):t.jsx(sl,{windowSize:k,children:t.jsx(et,{children:({height:y,width:S})=>t.jsx(tt,{isItemLoaded:K,itemCount:e.length+1,loadMoreItems:w,children:({onItemsRendered:W})=>t.jsxs(gl,{style:{height:y,width:S},children:[t.jsx(nl,{children:t.jsx(He,{sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder},isDisabled:a==="In-Progress"?"readonly":b,onColumnSortConfigChanged:I})}),t.jsx(lt,{ref:P,height:y-Fe,itemCount:e.length,itemData:{analytics:f,vendorGlobalReviewList:e,sectionId:n,allGlobalMerchants:l,globalMerchantAutoCompleteView:u,isDisabled:b,onLoadGlobalMerchants:d,onApproveGlobalReview:te,onRejectGlobalMerchantReview:q,onCreateGlobalMerchant:s,onClearGlobalMerchantAutoCompleteResults:T},onItemsRendered:W,itemSize:L,width:S,style:{willChange:"auto"},overscanCount:Lt,onScroll:({scrollOffset:C})=>{h({scrollYOffset:C})},initialScrollOffset:g.scrollYOffset,children:al})]})})})})}),t.jsx(ot,{controller:H===!0,children:t.jsx(pl,{children:t.jsx(at,{size:"Small",start:!0})})})]})},al=({index:e,style:l,data:n})=>{const{analytics:a,vendorGlobalReviewList:u,allGlobalMerchants:g,globalMerchantAutoCompleteView:b,sectionId:f,isDisabled:d,onLoadGlobalMerchants:h,onCreateGlobalMerchant:x,onApproveGlobalReview:s,onRejectGlobalMerchantReview:G,onClearGlobalMerchantAutoCompleteResults:q}=n,T=u[e];return t.jsx(ml,{className:"global-review-list-item","data-testid":V("global-review-list-list-item",String(e)),style:{...l,width:"100%"},children:t.jsx(qt,{sectionId:`${f}.${e}`,isDisabled:T.approveStatus.fetchState==="In-Progress"?"readonly":d,globalMerchantAutoCompleteView:b,vendorGlobalReviewData:T,allGlobalMerchants:g,onLoadGlobalMerchants:h,onCreateGlobalMerchant:x,onApproveGlobalReview:s,onRejectGlobalReview:G,onClearGlobalMerchantAutoCompleteResults:q,analytics:a},T.merchant.tenantMerchantId)})},nl=r.div`
228
228
  width: auto;
229
229
  `,il=r.div`
230
230
  display: block;
@@ -280,7 +280,7 @@ import{y as Ke,J as Q,aa as _e,aA as Ee,cI as Qe,V as t,ac as V,bE as Ye,ae as J
280
280
  align-items: center;
281
281
  margin-top: ${o.sp3};
282
282
  margin-bottom: ${o.sp3};
283
- `,{common:{sectionTitles:ul},vendorReview:{globalReview:{globalMerchantList:Te}}}=ue.getLocalizedStrings(),wl="globalReviewListPage",he="globalReviewListTable",Gl=({vendorGlobalReviewView:e,globalMerchantAutoCompleteView:l,analytics:n,isDisabled:a,onUpdateSelectedGlobalMerchant:u,onApproveGlobalReview:g,onRejectGlobalReview:b,onCreateGlobalMerchant:f,onFetchGlobalMerchantAutoCompleteResults:d,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onClearGlobalMerchantAutoCompleteResults:s,onBackClick:G,onClickMenuIcon:q})=>{const T=Ke(),k=Q(),{vendorGlobalReviewData:P,allGlobalMerchants:H,uiState:O,fetchState:z}=e,{globalMerchants:I,fetchState:B}=l,K=_e({mode:"all",reValidateMode:"onChange",defaultValues:Pe(P,H),values:Pe(P,H),resetOptions:{keepDirtyValues:!0}}),[w,te]=j.useState(O.searchText),y=j.useRef(),S=i=>{x(i,!1,null)},W=i=>{const m=P.find(p=>p.merchant.tenantMerchantId===i);if(m!=null){const p=H.find(Y=>Y.globalMerchantId===m.selectedMerchantId),R=m.recommendations,{tenantName:re,oldMerchantName:oe,tenantMerchantName:ae}=m.merchant,N=p?.globalMerchantName??ae,D=R[0];n.trackVendorReviewApproveRequested({reviewSource:"global_review",tenantName:re,requestedVendorName:ae,originalVendorName:oe,approveVendorName:N,isGlobalVendorRequested:p!=null,isNewCreatedVendorRequested:!1,isVendorNameRecommendationSelected:m.currentSelection==="recommendedFirst"||m.currentSelection==="recommendedSecond",isVendorNameChangedAndSelected:N!==ae,wasRecommendationAvailable:!!D?.globalMerchantName,approveVendorReason:p?.reason??null,approveVendorNameSelectionSource:N===D?.globalMerchantName?"recommendation":"text_edit",recommendedVendorName:D?.globalMerchantName??null,recommendedVendorReason:D?.reason??null})}g(i)},C=j.useRef(Ee(i=>S(i),500,{trailing:!0})).current;j.useEffect(()=>{z==="Completed"&&n.trackVendorReviewPage("global_review",O.totalCount)},[z]),j.useEffect(()=>{B==="Completed"&&y.current?.(fl(I))},[B]);const ne=(i,m)=>{d(i),y.current=m},le=()=>{},ie=async(i,m,p)=>{const{globalReviewListTable:R}=m,re=parseInt(i.split(".")[1]),oe=R[re].merchantId;if(p==null){u(oe,{recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:!1},oe);return}if(i.includes(he)){const ae=parseInt(i.split(".")[1]),N={...m[he][ae]};let D=N[U],Y;N.merchantId!=null&&(i.includes(Re)?(D={recommendedFirst:N[U].recommendedFirst,recommendedSecond:!1,originalVendor:!1,requested:!1},Y=N[Re]?.globalMerchantId):i.includes(Ne)?(D={recommendedFirst:!1,recommendedSecond:N[U].recommendedSecond,originalVendor:!1,requested:!1},Y=N[Ne]?.globalMerchantId):i.includes(ge)?(D={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:N[U].requested},Y=N[ge]):i.includes(ve)&&(D={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!0,requested:!1})),u(oe,D,i.includes(ve)?R[re][ve].selectedOption:Y)}};j.useEffect(()=>{const i=K.watch((m,{name:p,type:R})=>{p!=null&&m!=null&&Qe(()=>ie(p,m,R))});return()=>{i.unsubscribe()}});const xe=t.jsx(ft,{button:{label:ul.newVendor,onClick:()=>f()},search:{searchText:w,hide:!1,isOpen:w.length>0,placeHolder:Te.searchPlaceholder,onTextChange:i=>{te(i),i.trim().length>=2?C(i):i.trim().length==0&&C("")}},newVendorButtonDataTestId:V("global-review-list-new-vendor-button"),searchBarDataTestId:V("global-review-list-search-bar")});return t.jsxs(bl,{children:[t.jsx(Ye,{title:Te.navBarTitle,backgroundColor:T.colors.grey4,onBackClick:G,rightSideComponent:xe,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:q,source:"GlobalReviewListPage"}),t.jsx(xl,{children:t.jsx(Je,{...K,children:t.jsx("form",{id:vl(wl),onSubmit:K.handleSubmit(le),style:{width:"100%"},children:t.jsx(ol,{vendorGlobalReviewList:P,allGlobalMerchants:H,globalMerchantAutoCompleteView:l,uiState:{...O,searchText:w},isDisabled:a,listFetchState:z,sectionId:he,onLoadGlobalMerchants:ne,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onCreateGlobalMerchant:f,onApproveGlobalMerchantReview:W,onRejectGlobalMerchantReview:b,onClearGlobalMerchantAutoCompleteResults:s,analytics:n})})})})]})},bl=r.div`
283
+ `,{common:{sectionTitles:ul},vendorReview:{globalReview:{globalMerchantList:Te}}}=ue.getLocalizedStrings(),wl="globalReviewListPage",he="globalReviewListTable",Gl=({vendorGlobalReviewView:e,globalMerchantAutoCompleteView:l,analytics:n,isDisabled:a,onUpdateSelectedGlobalMerchant:u,onApproveGlobalReview:g,onRejectGlobalReview:b,onCreateGlobalMerchant:f,onFetchGlobalMerchantAutoCompleteResults:d,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onClearGlobalMerchantAutoCompleteResults:s,onBackClick:G,onClickMenuIcon:q})=>{const T=Ke(),k=J(),{vendorGlobalReviewData:P,allGlobalMerchants:H,uiState:O,fetchState:L}=e,{globalMerchants:I,fetchState:B}=l,K=Ee({mode:"all",reValidateMode:"onChange",defaultValues:Pe(P,H),values:Pe(P,H),resetOptions:{keepDirtyValues:!0}}),[w,te]=j.useState(O.searchText),y=j.useRef(),S=i=>{x(i,!1,null)},W=i=>{const m=P.find(p=>p.merchant.tenantMerchantId===i);if(m!=null){const p=H.find(Q=>Q.globalMerchantId===m.selectedMerchantId),R=m.recommendations,{tenantName:re,oldMerchantName:oe,tenantMerchantName:ae}=m.merchant,N=p?.globalMerchantName??ae,D=R[0];n.trackVendorReviewApproveRequested({reviewSource:"global_review",tenantName:re,requestedVendorName:ae,originalVendorName:oe,approveVendorName:N,isGlobalVendorRequested:p!=null,isNewCreatedVendorRequested:!1,isVendorNameRecommendationSelected:m.currentSelection==="recommendedFirst"||m.currentSelection==="recommendedSecond",isVendorNameChangedAndSelected:N!==ae,wasRecommendationAvailable:!!D?.globalMerchantName,approveVendorReason:p?.reason??null,approveVendorNameSelectionSource:N===D?.globalMerchantName?"recommendation":"text_edit",recommendedVendorName:D?.globalMerchantName??null,recommendedVendorReason:D?.reason??null})}g(i)},C=j.useRef(_e(i=>S(i),500,{trailing:!0})).current;j.useEffect(()=>{L==="Completed"&&n.trackVendorReviewPage("global_review",O.totalCount)},[L]),j.useEffect(()=>{B==="Completed"&&y.current?.(fl(I))},[B]);const ne=(i,m)=>{d(i),y.current=m},le=()=>{},ie=async(i,m,p)=>{const{globalReviewListTable:R}=m,re=parseInt(i.split(".")[1]),oe=R[re].merchantId;if(p==null){u(oe,{recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:!1},oe);return}if(i.includes(he)){const ae=parseInt(i.split(".")[1]),N={...m[he][ae]};let D=N[U],Q;N.merchantId!=null&&(i.includes(Re)?(D={recommendedFirst:N[U].recommendedFirst,recommendedSecond:!1,originalVendor:!1,requested:!1},Q=N[Re]?.globalMerchantId):i.includes(Ne)?(D={recommendedFirst:!1,recommendedSecond:N[U].recommendedSecond,originalVendor:!1,requested:!1},Q=N[Ne]?.globalMerchantId):i.includes(ge)?(D={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!1,requested:N[U].requested},Q=N[ge]):i.includes(ve)&&(D={recommendedFirst:!1,recommendedSecond:!1,originalVendor:!0,requested:!1})),u(oe,D,i.includes(ve)?R[re][ve].selectedOption:Q)}};j.useEffect(()=>{const i=K.watch((m,{name:p,type:R})=>{p!=null&&m!=null&&Je(()=>ie(p,m,R))});return()=>{i.unsubscribe()}});const xe=t.jsx(ft,{button:{label:ul.newVendor,onClick:()=>f()},search:{searchText:w,hide:!1,isOpen:w.length>0,placeHolder:Te.searchPlaceholder,onTextChange:i=>{te(i),i.trim().length>=2?C(i):i.trim().length==0&&C("")}},newVendorButtonDataTestId:V("global-review-list-new-vendor-button"),searchBarDataTestId:V("global-review-list-search-bar")});return t.jsxs(bl,{children:[t.jsx(Qe,{title:Te.navBarTitle,backgroundColor:T.colors.grey4,onBackClick:G,rightSideComponent:xe,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:q,source:"GlobalReviewListPage"}),t.jsx(xl,{children:t.jsx(Ye,{...K,children:t.jsx("form",{id:vl(wl),onSubmit:K.handleSubmit(le),style:{width:"100%"},children:t.jsx(ol,{vendorGlobalReviewList:P,allGlobalMerchants:H,globalMerchantAutoCompleteView:l,uiState:{...O,searchText:w},isDisabled:a,listFetchState:L,sectionId:he,onLoadGlobalMerchants:ne,onUpdateGlobalReviewUIState:h,onFetchGlobalReviewList:x,onCreateGlobalMerchant:f,onApproveGlobalMerchantReview:W,onRejectGlobalMerchantReview:b,onClearGlobalMerchantAutoCompleteResults:s,analytics:n})})})})]})},bl=r.div`
284
284
  display: flex;
285
285
  min-height: 100%;
286
286
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as r,aO as D,F as c,ac as E,aZ as b,C as I,aP as Z,aU as j,o as H,ak as x}from"./index-B7eWgQzZ.js";import{P as m,a as t}from"./sentry-BUYEiWD8.js";import{c as V}from"./SummaryCard-dhNbqi0b-YwOnQ2xO.js";import{n as d}from"./mui-Ba0_ROTv.js";import{N as y}from"./NavigationArrow-gJivTrEy-CJYJcp3Q.js";import{k as T}from"./NavigationDots-DTQZxPoW-LNb-u25P.js";import"./liveblocks-DyVXfa5b.js";import"./core-CslRcwFE.js";import"./recharts-Dpk71F6G.js";import"./zeni-epic-state-DsDV18R1.js";import"./lottie-DR7Z1uj_.js";import"./analytics-EOspDoDF.js";import"./lexical-DEAOqFKR.js";import"./utils-van4hLXd.js";import"./ReloadCard-DCA58Z6d-lxJyT6Aq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="313bce5d-96d3-4daf-9ecb-a9e262254b92",e._sentryDebugIdIdentifier="sentry-dbid-313bce5d-96d3-4daf-9ecb-a9e262254b92")}catch{}})();const S=d.div`
1
+ import{V as r,aO as D,b as c,ac as E,aZ as b,D as I,aP as Z,aU as j,o as H,ak as x}from"./index-DGGt5RDJ.js";import{P as m,a as t}from"./sentry-C7LQiKF9.js";import{c as V}from"./SummaryCard-CYZZ0q6A-Bue0ya2z.js";import{n as d}from"./mui-BXc79n0P.js";import{N as y}from"./NavigationArrow-DvI-yhxJ-DlVsGta8.js";import{k as T}from"./NavigationDots-CPlwYOx--BPMPlnpv.js";import"./liveblocks-Dda0tF-O.js";import"./core-BFf3IFj6.js";import"./recharts-vbuE4Jum.js";import"./zeni-epic-state-Cvu6NpVe.js";import"./lottie-mwve--vc.js";import"./analytics-BFqwqBQR.js";import"./lexical-BeXs36Y0.js";import"./utils-CW6UW7VZ.js";import"./ReloadCard-Dketoj2r-tAJXPFMi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d6d5b0d8-4267-48e7-9b13-9f1ba77d8d72",e._sentryDebugIdIdentifier="sentry-dbid-d6d5b0d8-4267-48e7-9b13-9f1ba77d8d72")}catch{}})();const S=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;
@@ -10,7 +10,7 @@ import{V as r,aO as D,F as c,ac as E,aZ as b,C as I,aP as Z,aU as j,o as H,ak as
10
10
  text-align: center;
11
11
  `,g=d.div`
12
12
  margin-bottom: ${H.sp3};
13
- `;function $({informationCardContent:e}){const{title:s,summary:a,Icon:n}=e;return r.jsxs(S,{children:[r.jsx(g,{children:r.jsx(A,{children:s})}),r.jsx(g,{children:r.jsx(n,{height:90,width:90})}),r.jsx(g,{children:r.jsx(_,{children:a})})]})}const z=d(Z)`
13
+ `;function O({informationCardContent:e}){const{title:s,summary:a,Icon:n}=e;return r.jsxs(S,{children:[r.jsx(g,{children:r.jsx(A,{children:s})}),r.jsx(g,{children:r.jsx(n,{height:90,width:90})}),r.jsx(g,{children:r.jsx(_,{children:a})})]})}const $=d(Z)`
14
14
  flex-wrap: wrap;
15
15
  & .styledNav {
16
16
  visibility: hidden;
@@ -22,10 +22,10 @@ import{V as r,aO as D,F as c,ac as E,aZ as b,C as I,aP as Z,aU as j,o as H,ak as
22
22
  }
23
23
  }
24
24
  }
25
- `,N=d(j)`
25
+ `,z=d(j)`
26
26
  flex-direction: row;
27
27
  justify-content: space-between;
28
28
  `,u=d.div`
29
29
  display: flex;
30
30
  flex-direction: column;
31
- `;function O({card:e,data:s,handleCardNavigation:a,activeCardIndex:n}){const[h,C]=m.useState(0),[o,k]=m.useState(0),[w,p]=m.useState("left"),f=(i,l)=>{i.stopPropagation(),p(l);const L=l=="left"?n+1:n-1;a(M(L),l)};function v(i){C(i.targetTouches[0].clientX)}function B(i){k(i.targetTouches[0].clientX)}function M(i){return i<0?s.length+i:i%s.length}function W(){h-o>50&&o!==0?(a(M(n+1),"left"),p("left"),C(0),k(0)):h-o<-50&&o!==0&&(a(M(n-1),"right"),p("right"),C(0),k(0))}return r.jsx(z,{style:{cursor:"default"},dimension:e.dimension,onTouchStart:i=>v(i),onTouchMove:i=>B(i),onTouchEnd:()=>W(),"data-testid":E("dashboard",e.cardType),children:r.jsxs(N,{children:[r.jsx(u,{children:r.jsx(y,{navType:"left",handleClick:f,"data-testid":E("dashboard-navigation-arrow-left",e.cardType)})}),r.jsxs(u,{style:{height:"100%",position:"relative",alignItems:"center"},children:[s.map((i,l)=>r.jsx(b,{activeCardIndex:n,currentIndex:l,which:w,children:r.jsx($,{informationCardContent:i})},l)),r.jsx(T,{numberOfDots:s.length,activeIndex:n,style:{position:"absolute",bottom:0,cursor:"default"}})]}),r.jsx(u,{children:r.jsx(y,{navType:"right",handleClick:f,"data-testid":E("dashboard-navigation-arrow-right",e.cardType)})})]})})}const P=e=>t.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M47.8333 69.0834C59.8661 69.0834 69.6207 59.3288 69.6207 47.296C69.6207 35.2632 59.8661 25.5087 47.8333 25.5087C35.8005 25.5087 26.046 35.2632 26.046 47.296C26.046 59.3288 35.8005 69.0834 47.8333 69.0834Z",fill:"#97C3B9"}),t.createElement("path",{d:"M45 66.7874C57.0328 66.7874 66.7874 57.0328 66.7874 45C66.7874 32.9672 57.0328 23.2126 45 23.2126C32.9672 23.2126 23.2126 32.9672 23.2126 45C23.2126 57.0328 32.9672 66.7874 45 66.7874Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M45 66.7874V80.7586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M45 9.24146V23.2127",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M23.2127 45H9.24139",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M80.7586 45H66.7874",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M29.6121 60.3879L21.2586 68.7414",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M68.7414 21.2587L60.3879 29.6121",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M29.6121 29.6121L21.2586 21.2587",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M68.7414 68.7415L60.2414 60.2415",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M45 9.24138C46.8615 9.24138 48.3706 7.73227 48.3706 5.87069C48.3706 4.00911 46.8615 2.5 45 2.5C43.1384 2.5 41.6293 4.00911 41.6293 5.87069C41.6293 7.73227 43.1384 9.24138 45 9.24138Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M45 87.4999C46.8615 87.4999 48.3706 85.9908 48.3706 84.1292C48.3706 82.2677 46.8615 80.7585 45 80.7585C43.1384 80.7585 41.6293 82.2677 41.6293 84.1292C41.6293 85.9908 43.1384 87.4999 45 87.4999Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M84.1293 48.3706C85.9909 48.3706 87.5 46.8615 87.5 45C87.5 43.1384 85.9909 41.6293 84.1293 41.6293C82.2677 41.6293 80.7586 43.1384 80.7586 45C80.7586 46.8615 82.2677 48.3706 84.1293 48.3706Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M5.87069 48.3706C7.73227 48.3706 9.24138 46.8615 9.24138 45C9.24138 43.1384 7.73227 41.6293 5.87069 41.6293C4.00911 41.6293 2.5 43.1384 2.5 45C2.5 46.8615 4.00911 48.3706 5.87069 48.3706Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M70.9885 22.1868C72.7422 22.1868 74.1638 20.7651 74.1638 19.0115C74.1638 17.2578 72.7422 15.8362 70.9885 15.8362C69.2349 15.8362 67.8132 17.2578 67.8132 19.0115C67.8132 20.7651 69.2349 22.1868 70.9885 22.1868Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M19.0115 74.1638C20.7651 74.1638 22.1868 72.7422 22.1868 70.9885C22.1868 69.2349 20.7651 67.8132 19.0115 67.8132C17.2578 67.8132 15.8362 69.2349 15.8362 70.9885C15.8362 72.7422 17.2578 74.1638 19.0115 74.1638Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M70.9885 74.1638C72.7422 74.1638 74.1638 72.7422 74.1638 70.9885C74.1638 69.2349 72.7422 67.8132 70.9885 67.8132C69.2349 67.8132 67.8132 69.2349 67.8132 70.9885C67.8132 72.7422 69.2349 74.1638 70.9885 74.1638Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M19.0115 22.1868C20.7651 22.1868 22.1868 20.7651 22.1868 19.0115C22.1868 17.2578 20.7651 15.8362 19.0115 15.8362C17.2578 15.8362 15.8362 17.2578 15.8362 19.0115C15.8362 20.7651 17.2578 22.1868 19.0115 22.1868Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M30.1494 55.1609C45.2931 56.5287 48.7126 37.7701 58.385 32.885",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M34.3017 59.6552C48.1264 59.3621 51.5459 41.2874 61.2184 37.0374",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M42.7529 62.9281C51.546 58.6781 55.3075 46.2212 62.8305 42.1666",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),K=e=>t.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M85.5584 16.6396H7.12354C6.00894 16.6396 5.14203 17.5478 5.14203 18.6212V73.6081C5.14203 74.7227 6.05022 75.5897 7.12354 75.5897H85.5172C86.6318 75.5897 87.4987 74.6815 87.4987 73.6081V18.6212C87.5399 17.5478 86.6318 16.6396 85.5584 16.6396Z",fill:"#97C3B9"}),t.createElement("path",{d:"M82.9164 72.7H4.48151C3.36691 72.7 2.5 71.7918 2.5 70.7185V15.7315C2.5 14.6169 3.40819 13.75 4.48151 13.75H82.8751C83.9897 13.75 84.8566 14.6582 84.8566 15.7315V70.7185C84.8979 71.7918 83.9897 72.7 82.9164 72.7Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M37.0939 60.5633H13.6047C12.4901 60.5633 11.6232 59.6551 11.6232 58.5818V38.8079C11.6232 37.6933 12.5314 36.8264 13.6047 36.8264H37.0939C38.2085 36.8264 39.0754 37.7346 39.0754 38.8079V58.5818C39.0754 59.6964 38.2085 60.5633 37.0939 60.5633Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M11.6232 25.8455H39.0754",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M50.015 25.8455H73.5042C74.6188 25.8455 75.4857 26.7537 75.4857 27.827V47.6008C75.4857 48.7154 74.5775 49.5823 73.5042 49.5823H50.015C48.9004 49.5823 48.0335 48.6741 48.0335 47.6008V27.827C48.0335 26.7537 48.9004 25.8455 50.015 25.8455Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M75.4857 60.5632H48.0335",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M82.9164 72.7H4.48151C3.36691 72.7 2.5 71.7918 2.5 70.7185V15.7315C2.5 14.6169 3.40819 13.75 4.48151 13.75H82.8751C83.9897 13.75 84.8566 14.6582 84.8566 15.7315V70.7185C84.8979 71.7918 83.9897 72.7 82.9164 72.7Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M37.0939 60.5633H13.6047C12.4901 60.5633 11.6232 59.6551 11.6232 58.5818V38.8079C11.6232 37.6933 12.5314 36.8264 13.6047 36.8264H37.0939C38.2085 36.8264 39.0754 37.7346 39.0754 38.8079V58.5818C39.0754 59.6964 38.2085 60.5633 37.0939 60.5633Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M11.6232 25.8455H39.0754",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M50.015 25.8455H73.5042C74.6188 25.8455 75.4857 26.7537 75.4857 27.827V47.6008C75.4857 48.7154 74.5775 49.5823 73.5042 49.5823H50.015C48.9004 49.5823 48.0335 48.6741 48.0335 47.6008V27.827C48.0335 26.7537 48.9004 25.8455 50.015 25.8455Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M75.4857 60.5632H48.0335",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),X=e=>t.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M43.7288 79.3644L30.9322 70.0847C30.2966 69.6186 24.7034 65.5508 18.9407 60C11.8644 53.2627 2.5 42.7119 2.5 29.2797C2.5 17.2458 12.2881 7.5 24.322 7.5C32.7542 7.5 40.0847 12.2881 43.7288 19.322C47.3305 12.2881 54.661 7.5 63.1356 7.5C75.1695 7.5 84.9153 17.2458 84.9153 29.2797C84.9153 42.6695 75.5508 53.178 68.5169 59.9576C62.7542 65.4661 57.161 69.5763 56.5678 70.0424L43.7288 79.3644Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{opacity:.2,d:"M46.3135 81.9491L33.5169 72.6695C32.8813 72.2034 27.2881 68.1356 21.5254 62.5847C14.4915 55.8474 5.12708 45.2966 5.12708 31.9067C5.12708 19.8728 14.8728 10.1271 26.9067 10.1271C35.3389 10.1271 42.6695 14.9152 46.3135 21.9491C49.9152 14.9152 57.2457 10.1271 65.7203 10.1271C77.7542 10.1271 87.5 19.8728 87.5 31.9067C87.5 45.2966 78.1356 55.805 71.1017 62.5847C65.339 68.0932 59.7457 72.2034 59.1525 72.6695L46.3135 81.9491Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.7288 79.3644L30.9322 70.0847C30.2966 69.6186 24.7034 65.5508 18.9407 60C11.8644 53.2627 2.5 42.7119 2.5 29.2797C2.5 17.2458 12.2881 7.5 24.322 7.5C32.7542 7.5 40.0847 12.2881 43.7288 19.322C47.3305 12.2881 54.661 7.5 63.1356 7.5C75.1695 7.5 84.9153 17.2458 84.9153 29.2797C84.9153 42.6695 75.5508 53.178 68.5169 59.9576C62.7542 65.4661 57.161 69.5763 56.5678 70.0424L43.7288 79.3644Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M63.0932 11.822C72.7118 11.822 80.5508 19.661 80.5508 29.2796C80.5508 41.0169 71.9491 50.5932 65.5084 56.822C59.9576 62.161 54.5762 66.1017 53.983 66.5254L43.7288 73.983",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M61.8433 15.2118C69.5975 15.2118 75.9535 21.5254 75.9535 29.322C75.9535 39.7457 67.945 48.644 61.928 54.4491C56.5043 59.6186 51.3348 63.4321 50.784 63.8559L42.4789 69.8304",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M22.839 35.6356L20.5933 33.983C20.4661 33.8983 19.4916 33.1779 18.4746 32.2034C17.2458 31.0169 15.5933 29.1525 15.5933 26.7796C15.5933 24.661 17.3305 22.9237 19.4492 22.9237C20.9322 22.9237 22.2458 23.7712 22.8814 25C23.517 23.7712 24.7882 22.9237 26.3136 22.9237C28.4322 22.9237 30.1695 24.661 30.1695 26.7796C30.1695 29.1525 28.517 30.9746 27.2882 32.161C26.2712 33.1356 25.2967 33.8559 25.1695 33.9407L22.839 35.6356Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),F=[{key:"how_it_works_customer_summary",title:c.getLocalizedStrings().informationCard.howItWorks,summary:c.getLocalizedStrings().informationCard.howItWorksSummary,Icon:K},{key:"how_it_works_customer_insights",title:c.getLocalizedStrings().informationCard.howItWorks,summary:c.getLocalizedStrings().informationCard.howItWorksInsight,Icon:P},{key:"thank_you",title:c.getLocalizedStrings().informationCard.thankYou,summary:c.getLocalizedStrings().informationCard.youAreAwesome,Icon:X}];function q({card:e,analytics:s,dndProps:a}){const[n,h]=t.useState(0),C=o=>{h(o),s?.trackPageLoaded(I.Event.howItWorks)};return r.jsx(D,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:o=>a?.onDragStart(e.cardType,o),onDragOver:o=>a?.onDragOver(o,e.cardType),onDragLeave:o=>a?.onDragLeave(o),onDrop:o=>a?.onDrop(o,e.cardType),dimension:e.dimension,children:r.jsx(V,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:r.jsx(O,{card:e,data:F,handleCardNavigation:C,activeCardIndex:n})})},e.cardIndex)}const l5=m.memo(q);export{l5 as MemoInformationCardStack,q as default,F as informationCardData};
31
+ `;function N({card:e,data:s,handleCardNavigation:a,activeCardIndex:n}){const[h,C]=m.useState(0),[o,k]=m.useState(0),[w,p]=m.useState("left"),f=(i,l)=>{i.stopPropagation(),p(l);const L=l=="left"?n+1:n-1;a(M(L),l)};function v(i){C(i.targetTouches[0].clientX)}function B(i){k(i.targetTouches[0].clientX)}function M(i){return i<0?s.length+i:i%s.length}function W(){h-o>50&&o!==0?(a(M(n+1),"left"),p("left"),C(0),k(0)):h-o<-50&&o!==0&&(a(M(n-1),"right"),p("right"),C(0),k(0))}return r.jsx($,{style:{cursor:"default"},dimension:e.dimension,onTouchStart:i=>v(i),onTouchMove:i=>B(i),onTouchEnd:()=>W(),"data-testid":E("dashboard",e.cardType),children:r.jsxs(z,{children:[r.jsx(u,{children:r.jsx(y,{navType:"left",handleClick:f,"data-testid":E("dashboard-navigation-arrow-left",e.cardType)})}),r.jsxs(u,{style:{height:"100%",position:"relative",alignItems:"center"},children:[s.map((i,l)=>r.jsx(b,{activeCardIndex:n,currentIndex:l,which:w,children:r.jsx(O,{informationCardContent:i})},l)),r.jsx(T,{numberOfDots:s.length,activeIndex:n,style:{position:"absolute",bottom:0,cursor:"default"}})]}),r.jsx(u,{children:r.jsx(y,{navType:"right",handleClick:f,"data-testid":E("dashboard-navigation-arrow-right",e.cardType)})})]})})}const X=e=>t.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M47.8333 69.0834C59.8661 69.0834 69.6207 59.3288 69.6207 47.296C69.6207 35.2632 59.8661 25.5087 47.8333 25.5087C35.8005 25.5087 26.046 35.2632 26.046 47.296C26.046 59.3288 35.8005 69.0834 47.8333 69.0834Z",fill:"#97C3B9"}),t.createElement("path",{d:"M45 66.7874C57.0328 66.7874 66.7874 57.0328 66.7874 45C66.7874 32.9672 57.0328 23.2126 45 23.2126C32.9672 23.2126 23.2126 32.9672 23.2126 45C23.2126 57.0328 32.9672 66.7874 45 66.7874Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M45 66.7874V80.7586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M45 9.24146V23.2127",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M23.2127 45H9.24139",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M80.7586 45H66.7874",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M29.6121 60.3879L21.2586 68.7414",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M68.7414 21.2587L60.3879 29.6121",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M29.6121 29.6121L21.2586 21.2587",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M68.7414 68.7415L60.2414 60.2415",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M45 9.24138C46.8615 9.24138 48.3706 7.73227 48.3706 5.87069C48.3706 4.00911 46.8615 2.5 45 2.5C43.1384 2.5 41.6293 4.00911 41.6293 5.87069C41.6293 7.73227 43.1384 9.24138 45 9.24138Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M45 87.4999C46.8615 87.4999 48.3706 85.9908 48.3706 84.1292C48.3706 82.2677 46.8615 80.7585 45 80.7585C43.1384 80.7585 41.6293 82.2677 41.6293 84.1292C41.6293 85.9908 43.1384 87.4999 45 87.4999Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M84.1293 48.3706C85.9909 48.3706 87.5 46.8615 87.5 45C87.5 43.1384 85.9909 41.6293 84.1293 41.6293C82.2677 41.6293 80.7586 43.1384 80.7586 45C80.7586 46.8615 82.2677 48.3706 84.1293 48.3706Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M5.87069 48.3706C7.73227 48.3706 9.24138 46.8615 9.24138 45C9.24138 43.1384 7.73227 41.6293 5.87069 41.6293C4.00911 41.6293 2.5 43.1384 2.5 45C2.5 46.8615 4.00911 48.3706 5.87069 48.3706Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M70.9885 22.1868C72.7422 22.1868 74.1638 20.7651 74.1638 19.0115C74.1638 17.2578 72.7422 15.8362 70.9885 15.8362C69.2349 15.8362 67.8132 17.2578 67.8132 19.0115C67.8132 20.7651 69.2349 22.1868 70.9885 22.1868Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M19.0115 74.1638C20.7651 74.1638 22.1868 72.7422 22.1868 70.9885C22.1868 69.2349 20.7651 67.8132 19.0115 67.8132C17.2578 67.8132 15.8362 69.2349 15.8362 70.9885C15.8362 72.7422 17.2578 74.1638 19.0115 74.1638Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M70.9885 74.1638C72.7422 74.1638 74.1638 72.7422 74.1638 70.9885C74.1638 69.2349 72.7422 67.8132 70.9885 67.8132C69.2349 67.8132 67.8132 69.2349 67.8132 70.9885C67.8132 72.7422 69.2349 74.1638 70.9885 74.1638Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M19.0115 22.1868C20.7651 22.1868 22.1868 20.7651 22.1868 19.0115C22.1868 17.2578 20.7651 15.8362 19.0115 15.8362C17.2578 15.8362 15.8362 17.2578 15.8362 19.0115C15.8362 20.7651 17.2578 22.1868 19.0115 22.1868Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M30.1494 55.1609C45.2931 56.5287 48.7126 37.7701 58.385 32.885",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M34.3017 59.6552C48.1264 59.3621 51.5459 41.2874 61.2184 37.0374",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M42.7529 62.9281C51.546 58.6781 55.3075 46.2212 62.8305 42.1666",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),P=e=>t.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M85.5584 16.6396H7.12354C6.00894 16.6396 5.14203 17.5478 5.14203 18.6212V73.6081C5.14203 74.7227 6.05022 75.5897 7.12354 75.5897H85.5172C86.6318 75.5897 87.4987 74.6815 87.4987 73.6081V18.6212C87.5399 17.5478 86.6318 16.6396 85.5584 16.6396Z",fill:"#97C3B9"}),t.createElement("path",{d:"M82.9164 72.7H4.48151C3.36691 72.7 2.5 71.7918 2.5 70.7185V15.7315C2.5 14.6169 3.40819 13.75 4.48151 13.75H82.8751C83.9897 13.75 84.8566 14.6582 84.8566 15.7315V70.7185C84.8979 71.7918 83.9897 72.7 82.9164 72.7Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M37.0939 60.5633H13.6047C12.4901 60.5633 11.6232 59.6551 11.6232 58.5818V38.8079C11.6232 37.6933 12.5314 36.8264 13.6047 36.8264H37.0939C38.2085 36.8264 39.0754 37.7346 39.0754 38.8079V58.5818C39.0754 59.6964 38.2085 60.5633 37.0939 60.5633Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M11.6232 25.8455H39.0754",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M50.015 25.8455H73.5042C74.6188 25.8455 75.4857 26.7537 75.4857 27.827V47.6008C75.4857 48.7154 74.5775 49.5823 73.5042 49.5823H50.015C48.9004 49.5823 48.0335 48.6741 48.0335 47.6008V27.827C48.0335 26.7537 48.9004 25.8455 50.015 25.8455Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M75.4857 60.5632H48.0335",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M82.9164 72.7H4.48151C3.36691 72.7 2.5 71.7918 2.5 70.7185V15.7315C2.5 14.6169 3.40819 13.75 4.48151 13.75H82.8751C83.9897 13.75 84.8566 14.6582 84.8566 15.7315V70.7185C84.8979 71.7918 83.9897 72.7 82.9164 72.7Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M37.0939 60.5633H13.6047C12.4901 60.5633 11.6232 59.6551 11.6232 58.5818V38.8079C11.6232 37.6933 12.5314 36.8264 13.6047 36.8264H37.0939C38.2085 36.8264 39.0754 37.7346 39.0754 38.8079V58.5818C39.0754 59.6964 38.2085 60.5633 37.0939 60.5633Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M11.6232 25.8455H39.0754",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M50.015 25.8455H73.5042C74.6188 25.8455 75.4857 26.7537 75.4857 27.827V47.6008C75.4857 48.7154 74.5775 49.5823 73.5042 49.5823H50.015C48.9004 49.5823 48.0335 48.6741 48.0335 47.6008V27.827C48.0335 26.7537 48.9004 25.8455 50.015 25.8455Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M75.4857 60.5632H48.0335",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),R=e=>t.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M43.7288 79.3644L30.9322 70.0847C30.2966 69.6186 24.7034 65.5508 18.9407 60C11.8644 53.2627 2.5 42.7119 2.5 29.2797C2.5 17.2458 12.2881 7.5 24.322 7.5C32.7542 7.5 40.0847 12.2881 43.7288 19.322C47.3305 12.2881 54.661 7.5 63.1356 7.5C75.1695 7.5 84.9153 17.2458 84.9153 29.2797C84.9153 42.6695 75.5508 53.178 68.5169 59.9576C62.7542 65.4661 57.161 69.5763 56.5678 70.0424L43.7288 79.3644Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{opacity:.2,d:"M46.3135 81.9491L33.5169 72.6695C32.8813 72.2034 27.2881 68.1356 21.5254 62.5847C14.4915 55.8474 5.12708 45.2966 5.12708 31.9067C5.12708 19.8728 14.8728 10.1271 26.9067 10.1271C35.3389 10.1271 42.6695 14.9152 46.3135 21.9491C49.9152 14.9152 57.2457 10.1271 65.7203 10.1271C77.7542 10.1271 87.5 19.8728 87.5 31.9067C87.5 45.2966 78.1356 55.805 71.1017 62.5847C65.339 68.0932 59.7457 72.2034 59.1525 72.6695L46.3135 81.9491Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.7288 79.3644L30.9322 70.0847C30.2966 69.6186 24.7034 65.5508 18.9407 60C11.8644 53.2627 2.5 42.7119 2.5 29.2797C2.5 17.2458 12.2881 7.5 24.322 7.5C32.7542 7.5 40.0847 12.2881 43.7288 19.322C47.3305 12.2881 54.661 7.5 63.1356 7.5C75.1695 7.5 84.9153 17.2458 84.9153 29.2797C84.9153 42.6695 75.5508 53.178 68.5169 59.9576C62.7542 65.4661 57.161 69.5763 56.5678 70.0424L43.7288 79.3644Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M63.0932 11.822C72.7118 11.822 80.5508 19.661 80.5508 29.2796C80.5508 41.0169 71.9491 50.5932 65.5084 56.822C59.9576 62.161 54.5762 66.1017 53.983 66.5254L43.7288 73.983",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M61.8433 15.2118C69.5975 15.2118 75.9535 21.5254 75.9535 29.322C75.9535 39.7457 67.945 48.644 61.928 54.4491C56.5043 59.6186 51.3348 63.4321 50.784 63.8559L42.4789 69.8304",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M22.839 35.6356L20.5933 33.983C20.4661 33.8983 19.4916 33.1779 18.4746 32.2034C17.2458 31.0169 15.5933 29.1525 15.5933 26.7796C15.5933 24.661 17.3305 22.9237 19.4492 22.9237C20.9322 22.9237 22.2458 23.7712 22.8814 25C23.517 23.7712 24.7882 22.9237 26.3136 22.9237C28.4322 22.9237 30.1695 24.661 30.1695 26.7796C30.1695 29.1525 28.517 30.9746 27.2882 32.161C26.2712 33.1356 25.2967 33.8559 25.1695 33.9407L22.839 35.6356Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),Y=[{key:"how_it_works_customer_summary",title:c.getLocalizedStrings().informationCard.howItWorks,summary:c.getLocalizedStrings().informationCard.howItWorksSummary,Icon:P},{key:"how_it_works_customer_insights",title:c.getLocalizedStrings().informationCard.howItWorks,summary:c.getLocalizedStrings().informationCard.howItWorksInsight,Icon:X},{key:"thank_you",title:c.getLocalizedStrings().informationCard.thankYou,summary:c.getLocalizedStrings().informationCard.youAreAwesome,Icon:R}];function q({card:e,analytics:s,dndProps:a}){const[n,h]=t.useState(0),C=o=>{h(o),s?.trackPageLoaded(I.Event.howItWorks)};return r.jsx(D,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:o=>a?.onDragStart(e.cardType,o),onDragOver:o=>a?.onDragOver(o,e.cardType),onDragLeave:o=>a?.onDragLeave(o),onDrop:o=>a?.onDrop(o,e.cardType),dimension:e.dimension,children:r.jsx(V,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:r.jsx(N,{card:e,data:Y,handleCardNavigation:C,activeCardIndex:n})})},e.cardIndex)}const l5=m.memo(q);export{l5 as MemoInformationCardStack,q as default,Y as informationCardData};