@zeniai/web-cockpit-ui 1.15.16-dev → 1.15.17-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 (290) hide show
  1. package/dist/assets/{ACHDetailsPage-BOZmOJHO-CwAQrPpG.js → ACHDetailsPage-cAgIhKJs-bGTsqigs.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-ZVCJizP9-BEYLvxG6.js → AIPerformancePage-BPwI4kZG-BTP4khzH.js} +12 -12
  3. package/dist/assets/AccountInfoPage-jlXCF7Gn-p294yilG.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D0wuuzMd-fpNJ2YsG.js → AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Cfx-lPAZ-BkStU3hi.js → AccountLockedInfoModal-b0SYt4cr-DyDb_wyO.js} +2 -2
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-DTTeCxce.js → AccountReconDetailsDrawerPage-CEjWEa01-aoYQi4ku.js} +5 -5
  7. package/dist/assets/{AccountRow-Bk_25FCy-BSk-hvqy.js → AccountRow-C9lnDVNf-86hTjbuw.js} +8 -8
  8. package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-BvuQll0f.js → AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js} +1 -1
  9. package/dist/assets/AddAddressForCardDrawer-BIjROWAw-BSYp9XYN.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CzziHgi7-BQwLxI1X.js → AddToWalletPage-CgCHdO6c-CiVYqd0C.js} +5 -5
  11. package/dist/assets/{AgingReportsPage-Bdi3krKK-CTkT1Zm8.js → AgingReportsPage-B0NKfFq5-Bk4x7HpE.js} +4 -4
  12. package/dist/assets/{AllUserItems-XWDuiug6-DLAl8Xcx.js → AllUserItems-D6uMCcjF-CS_wO3mh.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DPf2WuMd.js → ApAgingDetailPage-CxS9o2Dj-B1fPZ2rF.js} +2 -2
  14. package/dist/assets/{AppBasePage-B7_L4R6d-BHqVR5DP.js → AppBasePage-BnfCjFJA-CQeMBbMI.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DSX1364T-pcNTv-EE.js → AppDrawerContent-CwBFjBnr-CKjzuecx.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-C5ILQVYd.js → ApprovalRulesSettingsPage-91Tg_EpH-BzKB_HwN.js} +2 -2
  17. package/dist/assets/{ArAgingChart-M7KUNA4G-DBWSBarK.js → ArAgingChart-6qcRcKoz-MYhKnyKG.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-7lby5mXn-G9J2gxqo.js → ArAgingDetailPage-DmUWtQsX-KXzejd7L.js} +2 -2
  19. package/dist/assets/{AttachmentView-Bsa0u92o-CQtMxB6c.js → AttachmentView-B0oZITps-CNLEqH0L.js} +2 -2
  20. package/dist/assets/{BankAccountSection-BkOlwayA-gKroDONq.js → BankAccountSection-C8G2PrLh-OgTv2VaB.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-uMOXLH0B-Dmm_2ZeO.js → BankAccountWarningSection--DkXEMWU-jfcY3ZKV.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-BLDqC2se.js → BankConnectionsSettingsPage-DmzolLyN-BNSTT_VR.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DvU5_Rsp-QONja72z.js → BillDetailPage-BuCOe4eB-DBZDvMBw.js} +4 -4
  24. package/dist/assets/BillPayApprovalRuleDetailPage-y3qBdiwE-CP9uLqPK.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-DhCNQwaz.js → BillPayApprovalRulesPage-DpN3O_Q1-ILVegrck.js} +9 -9
  26. package/dist/assets/{BillPayPromoPage-DsXPWKAf-CH-kAnh9.js → BillPayPromoPage-Dcly8epm-DNaDxuq-.js} +3 -3
  27. package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BAILYdpq.js → BillPaySetUpPage-zxd0WLUm-CL6S_QEz.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-BygJjDSp-ZMuXzR1y.js → BillingSettingsPage-Djx3EUQO-2EyCLMZp.js} +11 -11
  29. package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-Cq3ZfsO5.js → BillsBulkReviewDrawerPage-gK7xRoiE-B9WwX7Kq.js} +1 -1
  30. package/dist/assets/{BoxItem-C0M4PSXY-Dz-uzrl9.js → BoxItem-ClRdlCWM-B_aqSV-L.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-C63pUk4d-CY7SQzHf.js → BusinessVerificationPage-Dzp7gFwH-iwUmX4wV.js} +2 -2
  32. package/dist/assets/{CardNumberSubText-B4dAoYDE-S0p2Dvhi.js → CardNumberSubText-CHr49_cJ-9Ya6XjXp.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-B6xvn-y3-C2QB22yP.js → CashbackDetailPage-BNHzTYwa-BdAtNCNi.js} +16 -16
  34. package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-Cbmrl3gL.js → ChargeCardDetailPage-DWyRrPSy-BvyyNVxe.js} +34 -34
  35. package/dist/assets/{ChargeCardListPage-BYI2HIjA-DQe2h7t9.js → ChargeCardListPage-D3nBV6Fu-DfN7aWAo.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DAVYmKCK-CXpYrtrT.js → ChargeCardListTable-DBYEXr_N-7b006WJ7.js} +28 -28
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-CtFjNufh.js → ChargeCardPaymentHistoryPage-BEvuS2te-BxwCFTIZ.js} +18 -18
  38. package/dist/assets/ChargeCardPromoPage-DxNPvbeh-CTzLEbbH.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-DW3nMBQs.js → ChargeCardSetupPage-BgBF1U8E-DnPnCE_j.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-CvtZtuVC-D3csdiBJ.js → ChargeCardStatementsPage-UttZjyIb-CinG3Yr4.js} +6 -6
  41. package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-B_co6EhK.js → CheckDepositDrawerPage-sXY6MJoX-BBStJHqh.js} +9 -9
  42. package/dist/assets/{CollapsableReportTable-UADp1m_8-CTcsoqje.js → CollapsableReportTable-3luMEAJg-BroWF-FL.js} +60 -60
  43. package/dist/assets/{CompanyOfficerDetailsSection-CaAR0Wvk-CBJ-_ogf.js → CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BJN2GEVm-gEElvrvK.js → CompanyPassportCard-FgYHweiL-B5gr1lJ_.js} +6 -6
  45. package/dist/assets/{CompanyPassportPage-D2ALJDF_-B6f-pO9X.js → CompanyPassportPage-B8LoE1o9-B6zE-V-E.js} +1 -1
  46. package/dist/assets/{CompleteProfile-C8X8Z3C2-1FrtaPxU.js → CompleteProfile-6pDQ6JjU-C7odNMQ5.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-DxHzdDPp-Be75-rA7.js → ConfettiBurst-BAIozwVU-BMA4g7cW.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DePlTE9o.js → ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-Cw0_CLuv.js → CreateOrEditVendorPage-DMWtQ3qU-Bg7OoiTt.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CprMPTAM.js → CreditCardPaymentDrawerPage-OzD38_F8-B8JNfyMQ.js} +5 -5
  51. package/dist/assets/{CurrencySelectField-Dn-hE2az-XRHzVtOt.js → CurrencySelectField-DL4q5vKR-DqpW0Wz5.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-CzGOfqlu.js → CustomerOnboardingActivationPage-C8mciX-r-B9Cshw5r.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-Btl2A6Cw-CdJnPywR.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-BsLS_Cn1.js → CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BHk7rDAg-C5ajOfPI.js → CustomerOnboardingNoStepsPage-CQN8EEU--ChBu6uTX.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-1LvpVpHC-BrVAkLSK.js → CustomerOnboardingPage-B77cjZbE-Do4tQjfo.js} +7 -7
  57. package/dist/assets/CustomerOnboardingProductSuitePage-BYC_Sp__-B35TL-cQ.js +202 -0
  58. package/dist/assets/{Dashboard-CCV0_aCP-BXhr1WNF.js → Dashboard-DAP7UzjW-DBsJoK5k.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CmoH9Vrc-DJMMkkGF.js → DashboardReportPage-iAA_QiN2-BfmuWrMe.js} +10 -10
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-BAKkeTFg.js → DashboardSidebarBackgroundAnimation-CIKwGufL-B4WWY8cX.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-cYRUSlBG.js → DepositAccTransactionItem-D3x1jhKt-DssCTMB7.js} +2 -2
  62. package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-C_3AVCeF.js → DepositAccTransactionListPage-W9xt6kxv-BUhaUskS.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-uEIGVaj9.js → DomesticWireDetailsPage-DHUzdqCs-CeJMtDxo.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Dt9yt4Fz-BLty8T-n.js → DownloadOverlay-C8byijvE-DCI_09Q4.js} +1 -1
  65. package/dist/assets/{DrawerPage-Clki97FA-BA9PorYC.js → DrawerPage-DMQ5MoIw-BlXGV-xV.js} +12 -12
  66. package/dist/assets/{EditPeoplePage-CKS_aEZm-D119ukKN.js → EditPeoplePage-D7TQFFBG-Djz1uJLh.js} +3 -3
  67. package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-DpLpJWez.js → EditReimbursementDetailPage-STVvYnku-Dyx2Oikb.js} +1 -1
  68. package/dist/assets/EntityDetailPage-20BKV_TK-B5sqJOYK.js +18 -0
  69. package/dist/assets/{EntitySummarySection-D_YLsP_P-t3_MJbgk.js → EntitySummarySection-6JSSyIPA-K01fPehF.js} +24 -24
  70. package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-CJviw0EF.js → ExpenseAutomationOverviewPage-DpoYnwJh-DSAhakn4.js} +8 -8
  71. package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-DDA_nGZx.js → ExpenseAutomationPage--kONBcsX-DlY4RThk.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-CTBD4y1v-BPs_d41G.js → ExpressPayPage-a31-5Bgz-B-4aw0li.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CYuTQWpP-BflQGHBv.js → FeaturePreviewPage-z8BJQeL--ChibcOOA.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BrpI2HyW-CiBKuMZv.js → FollowStepsSection-Bl933px0-DXKlKasr.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BcvxLqIL-2_WHm0aW.js → GlobalReviewListPage-BLPF3T4t-0m0mv8R4.js} +7 -7
  76. package/dist/assets/{InformationCardStack-CU4Moqky--vtJfmXM.js → InformationCardStack-BTWe4X6t-DdN7cWvp.js} +2 -2
  77. package/dist/assets/{InsightsCardStack-D8UQiuXZ--_fLkoGW.js → InsightsCardStack-CoSz_FKI-xRb_a3yi.js} +8 -8
  78. package/dist/assets/{InsightsSection-C3X6ZNEt-NjJemZo-.js → InsightsSection-DEnkGYD8-BV7sZQsr.js} +4 -4
  79. package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-BeC7UsBa.js → IntegrationsSettingsPage-CEaBjt99-Do0dnq5V.js} +3 -3
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-C4XmzhP5.js → InternationalWireSwiftDetailsPage-C1i-ujyZ-DIPsBga8.js} +6 -6
  81. package/dist/assets/{InternationalWireVerificationPage-CvysJNBQ-Ca744cyt.js → InternationalWireVerificationPage-CWBpTNA9-9aWL0J3i.js} +2 -2
  82. package/dist/assets/{InviteFormPage-B3KmRWXd-C2ITeVTl.js → InviteFormPage-B2Rl23Qb-D49rnAc4.js} +17 -17
  83. package/dist/assets/{InvitePageListView-DfpJBZru-tcIB_WKy.js → InvitePageListView-E_2j_tF7-BsS6FATD.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-C5Qgk24s-WY8vJMhk.js → InvitePeoplePage-CljSsdaM-DHNLTMCH.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-BO1i-e_D-BEHL-1J7.js → InvoiceUploadSection-drGgAU5w-CP2A3IhR.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-mPsxt52d-x--Yc1yG.js → IssueChargeCardPage-Cj6pmQbt-DDVdjZ4v.js} +17 -17
  87. package/dist/assets/{LabeledAddressValue-C4fnQSyi-C-QRaLS5.js → LabeledAddressValue-BjCojNni-CsHQb5xA.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-D6dEaI69-Chc-QlAF.js → LabeledAddressValueField-DyHTdGlm-CErilABA.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-IUa4evUP.js → LabeledControlledCheckBoxField-B5Csu2og-C5h8CQSb.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-XeBih_-f-DKxnjH2w.js → LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-ZlY5YONf.js → LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js} +5 -5
  92. package/dist/assets/LabeledDocumentField-b5xujqjK-HTjOeiZT.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-B17ex07S.js → LabeledDropDownFormattedTextField-DHx90GON-Rl0wOSQX.js} +2 -2
  94. package/dist/assets/{LabeledMultiSelectField-Di9Wnifv-ByxiVL3j.js → LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js} +1 -1
  95. package/dist/assets/{LabeledText-38fqkkE--Cee_T29J.js → LabeledText-CRJr2zA8-DRZ423PA.js} +2 -2
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-BHp0iG9D.js → LabeledUserSingleSelectWithSubtitlesField-CM0HeG1R-pTmkakCa.js} +7 -7
  97. package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-Dic3e3FJ.js → LabeledZeniRolesDropDownField-CR8M-X5s-DPGEl74a.js} +7 -7
  98. package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Bsoo2mEs.js → LinkJETransactionPage-DfY5sKBg-BKNhXIRx.js} +1 -1
  99. package/dist/assets/{LockCardPage-BCqN4K17-Cjzeji2k.js → LockCardPage-CgCv-EKl-CipF6lcu.js} +9 -9
  100. package/dist/assets/{LowBalancePopup-BPk1-eAb-DFTxz9st.js → LowBalancePopup-OUWtUPdo-DRkjFCjE.js} +1 -1
  101. package/dist/assets/MagicLinkACHDetailsPage-DJEu5rMd-BJeKMJK9.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage--0yYTzva-BnphHyQr.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-B9u7g87s-YokU7IH5.js +1 -0
  104. package/dist/assets/MagicLinkSuccessPage-BwN3dPJM-CQeiTIkx.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-77rxhjLm-BjRMFjlF.js → MagicLinkTitleSection-C_Xng7ad-D4iutPsA.js} +1 -1
  106. package/dist/assets/MailingDetailsSection-Dmq45H_s-CjyySHTi.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-CfQVHlUR.js → MyBankConnectionsSettingsPage-CNUaVzw3-CZkaA3pm.js} +5 -5
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-CT3LLyZc.js → MyPendingActivationChargeCardListPage-Dz1U6l9--DwLxZlPN.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-8yBXAre6-DacQsI6-.js → MyProfileSettingsPage-DdlCBRiN-BYlOj9no.js} +4 -4
  110. package/dist/assets/{NavBarWithPicker-C3LVyiC9-etzEx9wd.js → NavBarWithPicker-Cx9v8jpk-DJ52ZXJM.js} +4 -4
  111. package/dist/assets/{NavigationArrow-NuJEpE7O-D8kY8llG.js → NavigationArrow-CNO4O4XS-DUm9WGAp.js} +1 -1
  112. package/dist/assets/{NavigationDots-C7Na64B9-CVWaz9qo.js → NavigationDots-BX9DbCj7-RHGokei7.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-FAQYGhqe.js → NewGlobalMerchantPage-Bo_ZeDQH-CgpotWIt.js} +29 -29
  114. package/dist/assets/NoDataChart-JfED3unL-jJumSwoX.js +26 -0
  115. package/dist/assets/NoDataTable-BFpO3ZtS-ubjUd8M_.js +8 -0
  116. package/dist/assets/{NotFoundPage-RjXioqc8-DtIGcQuh.js → NotFoundPage-D_HhIdYv-DyNtigHQ.js} +6 -6
  117. package/dist/assets/{NotificationSettingsPage-DrDW_LU_-CrTfhQjB.js → NotificationSettingsPage-B2d-vPIZ-WS4EaJDB.js} +4 -4
  118. package/dist/assets/{NotificationsListConfig-C6_ap0JT-D8w6YoUC.js → NotificationsListConfig-C4LF_8h1-ojY4Mfu-.js} +1 -1
  119. package/dist/assets/{NotificationsPage-DOM-Gf5P-DnumyiFl.js → NotificationsPage-7HqRmokr-0AvCCTrK.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-CTuBB827-C0LLpOUj.js → OpExByVendorPage-CwD1U9q_-idpf-eH0.js} +1 -1
  121. package/dist/assets/OverlayContainerPage-D4QU0p4o-D2c2jURk.js +11 -0
  122. package/dist/assets/{PandLWithForecastPage-BXaENYdR-D65iSrrB.js → PandLWithForecastPage-CRkDr0QK-D1powlVT.js} +4 -4
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DSnQX90O-DFq5LHyH.js → PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js} +6 -6
  124. package/dist/assets/{PeoplePage-BlyVVthI-D_1cj1g5.js → PeoplePage-D5eQETB2-DZx25X-Y.js} +1 -1
  125. package/dist/assets/{Preview-DYusR3hO.js → Preview-Bfns_dDG.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CAcPH--E-Bb_qjCmp.js → ProductsCarousel-BXPXaIWg-Av-oVPlG.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-BVwZMVeE-B84_P5r4.js → PromoBaseCards-C-S0ckZq-DcP7gArA.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-C3OYyhYO-CMjuhlXs.js → QBOConnectionDialog-qqbamtpL-BeJJQ440.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-DQjol-D0-eqxvZA5D.js → QBOSetupSection-CZu_mtMP-CZBINdYC.js} +4 -4
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-BE-QC1b0-CvaYArLZ.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-CYC590wb.js → ReimbursementApprovalRulesPage-CXbYB3Y5-Cbew60RV.js} +4 -4
  132. package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-wwjwvRb9.js → ReimbursementDetailPage-DXMDyCop-DlZGIADX.js} +4 -4
  133. package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-LLEMYe4d.js → ReimbursementPromoPage-DGXHkiBN-DLifue2f.js} +7 -7
  134. package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-DDKfdVM2.js → ReimbursementSetUpPage-Dd1iGv5X-C_E7fz-A.js} +4 -4
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CF6p2IJ7.js → ReimbursementsBulkReviewDrawerPage-D46qP31Q-DT9YskKf.js} +1 -1
  136. package/dist/assets/{ReloadCard-V_tv6YLR-B4Af3G_4.js → ReloadCard-BJke_yPt-D_L8D7X-.js} +6 -6
  137. package/dist/assets/{ReportTableViewSelector-CWEvGn8L-Dlv8mUdn.js → ReportTableViewSelector-DiYnlME4-BJ1-sTjo.js} +3 -3
  138. package/dist/assets/{ReportsPage-BJOH1wgv-CO7zRrKg.js → ReportsPage-bmKftmYF-NgXuxPpu.js} +1 -1
  139. package/dist/assets/{RevenueChart-C_tSBw_N-BD0DJwPU.js → RevenueChart-DjTdsbym-CUUEbo6t.js} +14 -14
  140. package/dist/assets/{ReviewDetailsPage-CScPf4w3-ByB3b1ie.js → ReviewDetailsPage-NFOdusAU-CVH2L4to.js} +6 -6
  141. package/dist/assets/{ReviewOverlay-BQVwPzKa-ddzk5bgf.js → ReviewOverlay-Q8tlLMbm-BLu76gBy.js} +20 -20
  142. package/dist/assets/{RoleWithToolTip-GCV_l8Ly-C2pYTZmo.js → RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js} +3 -3
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-O0hb5LF0.js → ScheduleDetailsFixedAssetsPage-CpjdnINH-Dzwzq8FX.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-D1EJbzxN-DOCtWqTf.js → ScheduleDetailsPage-DVnetdnH-DhMiGzx8.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-zvxwe9e1.js → ScheduleSequenceTable-rJ0jC94w-DDWgbE_4.js} +14 -14
  146. package/dist/assets/{ScreenRoutes-YzeouUfS.js → ScreenRoutes-0NyWgCAY.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-AVL_16HQ-j-o6nNSY.js → SetUpAccountSection-BCoHzvyG-CzNKWW7X.js} +1 -1
  148. package/dist/assets/{SignIn-BLUwTp1l-BTGTjmO9.js → SignIn-k3DDmpFU-BAnREigf.js} +14 -14
  149. package/dist/assets/SignInScreen-BOrZAIYm.js +1 -0
  150. package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-QKyzE-ot.js → SpendManagementListViewPage-DCfMKXfi-BWeN8ijV.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-CND_3E3i.js → SpendManagementPerTabPage-Hv3QMqv0-CTD5vH6J.js} +16 -16
  152. package/dist/assets/{SpendManagementSection-DZaP5ai6-C9tEMxFA.js → SpendManagementSection-BRp2eDfv-DVKGvM7g.js} +8 -8
  153. package/dist/assets/{StatementItem-D2Fx65LN-CJdCyRP1.js → StatementItem-9DHoMBjx-DlzvIjc2.js} +2 -2
  154. package/dist/assets/StatementsPage-CdOlg2R0-CFHx0zSi.js +58 -0
  155. package/dist/assets/{StatusSwitcher-C5ZrzI8Y-Dj5TyEni.js → StatusSwitcher-B5nSXHv6-DTMRsMtw.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-BXZxKeq9-B2Zwj5g3.js → SubTabSwitcher-BPSCR7GS-CQQ30d6t.js} +3 -3
  157. package/dist/assets/{SummaryCard-194UToy6-UI_LM1oG.js → SummaryCard-DdYMAiws-C4w7QxN_.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-zcxDUo0t-Do3_cxqD.js → TaskManagementPage-9OEooDk9-BnhlYqUu.js} +21 -21
  159. package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-uGCucrEy.js → TimeRangeSwitcher-BG9h3Mws-BXPl7KzE.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dby2t82a.js → TimeframeSwitcher-BlkN2ln5-CbPVM8iC.js} +6 -6
  161. package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-Ba9NENkn.js → TimeframeSwitcherWithToggle-r8YzbhCn-DALUFB9M.js} +2 -2
  162. package/dist/assets/{TopExCard-CBua66Cj-iZDx6oGD.js → TopExCard-CDAkgH2B-DQW-zWxw.js} +4 -4
  163. package/dist/assets/{TopExDetailPage-DtMA-XMp-BkiYCTbM.js → TopExDetailPage-BN9IdTkO-DE8PmHT3.js} +11 -11
  164. package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-B6EDUUtr.js → TransactionActivityLogPage-CTl6Lo3h-Dr0PqgiK.js} +5 -5
  165. package/dist/assets/{TransactionDetailPage-CeKaduBe-w8WXAz1Q.js → TransactionDetailPage-DSR3itvE-B47s770o.js} +1 -1
  166. package/dist/assets/{TransactionList-CSx8ZCZ--fRx-iJTn.js → TransactionList-wLBz-A1j-R5pqCBUj.js} +7 -7
  167. package/dist/assets/{TransactionListBig-B4cNQY2d-jRs-SXs3.js → TransactionListBig-BA00B8Vn-B52eXfHk.js} +4 -4
  168. package/dist/assets/{TransactionListPage-DHr64V-b-Bgsdc044.js → TransactionListPage-Dyi4SMpD-Bm97EAJv.js} +2 -2
  169. package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-fUCL3Z3e.js → TransactionVendorDetailPage-6HbXn17w-COo-5ffY.js} +3 -3
  170. package/dist/assets/{TransferDrawerPage-C91TQwZi-CLRJKfIG.js → TransferDrawerPage-GnqDJJ7x-u45NHhBy.js} +1 -1
  171. package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-BBlPDTVn.js → TreasuryOverviewPage-7s3XhxYc-CoT8RYIQ.js} +14 -14
  172. package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DJZXY5PM.js → TreasuryPromoPage-DFnHMTJ--CP3RuQCD.js} +9 -9
  173. package/dist/assets/{TreasuryStatementsPage-taTRE54D-BRQPl-FH.js → TreasuryStatementsPage-BdUYirAC-Duwk2wsH.js} +1 -1
  174. package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-BVmTKq55.js → TreasuryTaxLetterPage-fX08Nflm-B-GslDLQ.js} +2 -2
  175. package/dist/assets/{TrendChart-DATgAEKG-D5uXuHxg.js → TrendChart-mamZxFEf-DPlJCKYL.js} +2 -2
  176. package/dist/assets/{TrendWithTransactions-DqPFuOvC-4qpshT4h.js → TrendWithTransactions-fGuXIDf7-HyuIbA66.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-B0137uG5.js → UncategorizedAccountsMappingPage-FPf4YpN2-Cp3ASbXZ.js} +5 -5
  178. package/dist/assets/{UnitIntegrationPage-BiRGRtpI-Da_V8y5a.js → UnitIntegrationPage-BcIYQ6E_-B6tBJIS1.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-DXBSIbWE.js → UploadAdditionalDocumentOverlay-CFiPe--u-DrxhGkyT.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-BpkAiYTA-52BaGnWz.js → Vendor2FAPopup-BreN6fS3-FjXbhU9D.js} +1 -1
  181. package/dist/assets/VendorACHDetailsPage-CP2mHGE7-CG1YPLHx.js +1 -0
  182. package/dist/assets/{VendorDetailPage-DY4iaLtz-BtWSn42W.js → VendorDetailPage-DXKn3qSR-Di8ThCGh.js} +1 -1
  183. package/dist/assets/{VendorDomesticWireDetailsPage-B5Nym5J9-BePP9h_p.js → VendorDomesticWireDetailsPage-7m-21BIT-BVTn5C6b.js} +1 -1
  184. package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-BwVZUQk9.js → VendorFiling1099EditablePage-D5jPoLoj-DhLrefqh.js} +32 -32
  185. package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-Bbp8yC5s.js → VendorFirstReviewPage-Bxj_Far6-DOA9lu2j.js} +21 -21
  186. package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-CRCBgtxB.js → VendorInternationalWireDetailsPage-DCdiiuBR-D9OAEuuJ.js} +4 -4
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-JzRuqiHJ-DYQH4bJe.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-D65ewlO6-C249PD4b.js → VendorsAccountsSection-BYkKSsB8-BmGLfX_G.js} +3 -3
  189. package/dist/assets/{VerifyDevice-B1_jgwgY-CLr_hT2k.js → VerifyDevice-DxoL8hYf-Cowpahhc.js} +1 -1
  190. package/dist/assets/{VideoPlayer-vWSXteQ6-fekEOFO-.js → VideoPlayer-ByXKIag5-BZsoWnFe.js} +2 -2
  191. package/dist/assets/{VideoPopup-CdsmU6H4-BPO5jUC8.js → VideoPopup-DybLGmZL-CNsVI5bc.js} +3 -3
  192. package/dist/assets/{WarningsDrawerPage-CjgOsD00-De28p6M4.js → WarningsDrawerPage-Ddp3wpvG-CdbbY6NF.js} +3 -3
  193. package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-COe08RHM.js → ZeniAccountDetailPage-C-B9h3wI-CKYwhajY.js} +17 -17
  194. package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-Ds9pwvuL.js → ZeniAccountListViewPage-CWvKejM--BPGukJA_.js} +1 -1
  195. package/dist/assets/{ZeniAccountNavBarPieces-CHStBvRa-BqDqY_na.js → ZeniAccountNavBarPieces-xyI5r3gJ-CbIslzwK.js} +1 -1
  196. package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BhWQ-XmY.js → ZeniAccountPromoPage-ClU5aJ3_-4ixwSQil.js} +5 -5
  197. package/dist/assets/{ZeniAccountSetupPage-B20DHYex-D-hB-cgI.js → ZeniAccountSetupPage-BF6_J9le-DCR58vNJ.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-BROHmszx-BFJ7fRMA.js → ZeniCopyright-CyBZnbZa-D5SmAZYL.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-Cq4B23lv.js → ZeniTransferAmountSlider-QODQj6J3-nB7ivh3S.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-AfkxTSja.js → add-to-wallet-DgdBD8_G-l6e6C-pa.js} +1 -1
  201. package/dist/assets/{analytics-Dz3HJTKp.js → analytics-DGcxWyl6.js} +1 -1
  202. package/dist/assets/analyticsHelper-BcBQi1qY.js +1 -0
  203. package/dist/assets/{analyticsHelper-FJ-cS8qS-D_9plNYH.js → analyticsHelper-HEUQhbuJ-Cq2Mtjgc.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-DDEpjXQ7.js → arrow-south-east-round-PEovUgvH-C0A9x354.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-CB2yKaeg.js → auto-transfer-rule-mbafm5D3-CC0rbz99.js} +1 -1
  206. package/dist/assets/chartTypes-CnipzTeX-DGSU_TZ0.js +1 -0
  207. package/dist/assets/{commonDimensions-BpYNnQtf-GFURsh40.js → commonDimensions-DmFc7WqO-CxyyXmLy.js} +1 -1
  208. package/dist/assets/{commonTypes-BVbA7QjV-C2OAdMb3.js → commonTypes-CU0qY6Px-ZdnVolMx.js} +1 -1
  209. package/dist/assets/{constants-D8qNj5Es.js → constants-jbgzJYdx.js} +1 -1
  210. package/dist/assets/{core-xud19niX.js → core-BMaLzXUJ.js} +1 -1
  211. package/dist/assets/{dash.all.min-Dmsiq7DL.js → dash.all.min-DmpFQIVa.js} +1 -1
  212. package/dist/assets/{detailCommon-BRja9H93-CS4qaApq.js → detailCommon-x-UFksNz-DKaz3zHe.js} +1 -1
  213. package/dist/assets/{downloadPdf-WDHjFv79-CGfEvBvA.js → downloadPdf-D1grj9oX-Bei5Wpqc.js} +1 -1
  214. package/dist/assets/{empty-BU3-uTyA.js → empty-CxyNypVD.js} +1 -1
  215. package/dist/assets/{empty-ClP26WFk.js → empty-DJguQx7A.js} +1 -1
  216. package/dist/assets/{epic-ff9tSPeN.js → epic-DJmh-RNR.js} +2 -2
  217. package/dist/assets/{gift-box-Cmt9OgIZ-Ba1CSAo6.js → gift-box-Cmt9OgIZ-ZuOwWA2g.js} +1 -1
  218. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CATaPbQ1.js → graphic-no-data-l-DU4J8fDt-CR5EZc8Z.js} +1 -1
  219. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B_yV26zM.js → graphic-no-data-net-burn-l-CzmycA0m-BhBXhGOx.js} +1 -1
  220. package/dist/assets/{handshake-BPg58FML-CxOrxIUO.js → handshake-BPg58FML-DiPOUMao.js} +1 -1
  221. package/dist/assets/{index-CT3iqTha.js → index-C3zM8gb6.js} +1 -1
  222. package/dist/assets/{index-2wNtQNIE.js → index-CQmr12-Z.js} +1 -1
  223. package/dist/assets/{index-_dimXoCh.js → index-DKka6liW.js} +1 -1
  224. package/dist/assets/{index-DJjwW14X.js → index-DPwk4vO3.js} +1 -1
  225. package/dist/assets/{index-D6iLD7c3.js → index-Dw_2FdYw.js} +1 -1
  226. package/dist/assets/{index-6sX8sCRU.js → index-rJQoaAfw.js} +669 -669
  227. package/dist/assets/{index-ovnKg3OB.js → index-tuFs6sMC.js} +1 -1
  228. package/dist/assets/{lexical-CFjIG720.js → lexical-CyZM9SwL.js} +1 -1
  229. package/dist/assets/{liveblocks-BAOmiMpj.js → liveblocks-CohL7dW6.js} +1 -1
  230. package/dist/assets/{lottie-cQKxXDSP.js → lottie-XKgYVRq1.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-C_5Bb47i-DD_ATbZD.js → mapLoadingInProgressToTreeNode-gyu3qs1Z-SebMrCb0.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-hwelD0Z1.js → mapSectionWithAcOnlyToTreeNode-SPabSQrM-Cf3ilJGA.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-BsRKsR7W.js → mapSpacerToTreeNode-D_rRYkys-BvhCp_uR.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-8JwIYBnd-DXtmYfY7.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-BwS2KbWd-CAuCdcVv.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CCAWuSrJ-B5KhCzdx.js +1 -0
  237. package/dist/assets/{mui-BKJrVh4W.js → mui-KNfEk2A1.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D1XFg97i.js → page-detail-CWX5S47F-BLbwsJjf.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-BLfsH1I8.js → panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CU3HgAhI.js → radio-default-CiSgisfh-_DAtDxCX.js} +1 -1
  241. package/dist/assets/{react-CN5Npsqf.js → react-CPz-xjGo.js} +2 -2
  242. package/dist/assets/{react-CrEDpago.js → react-CX71OnYA.js} +1 -1
  243. package/dist/assets/{react-DsYqgnFz.js → react-Cbh1mkS2.js} +1 -1
  244. package/dist/assets/{react-B_dpn2x_.js → react-CfuDRhRn.js} +1 -1
  245. package/dist/assets/{react-CPPpMWlr.js → react-DOhUJ6O2.js} +1 -1
  246. package/dist/assets/{react-CLJLIrqx.js → react-H0CMmi2N.js} +1 -1
  247. package/dist/assets/{react-B_IkKKOF.js → react-KKmCM6TX.js} +1 -1
  248. package/dist/assets/{react-4VjXw9yg.js → react-wx6Np1L0.js} +1 -1
  249. package/dist/assets/{recharts-07URl5uF.js → recharts-D8Mh9GJw.js} +1 -1
  250. package/dist/assets/{sentry-BsWDfhY_.js → sentry-CGE1ab0x.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DW8TK-Jl.js → shield-DOlUxcFf-BeHXxYmi.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BcVCEfwr-D-kim1rY.js +1 -0
  253. package/dist/assets/{toChartData-B3ouXKAd-DqPDcbms.js → toChartData-VTidOIL7-CTZNeqK0.js} +1 -1
  254. package/dist/assets/{uploadAttachment-DNNG-CMy-C0-pn6r-.js → uploadAttachment-CwSRD9la-Dwn2_OC8.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-DDO6BRYH.js → uploadReceipts-Dge0cNF1-COPT6pnG.js} +1 -1
  256. package/dist/assets/{url-B-qq-bwJ.js → url-CxS4k21H.js} +1 -1
  257. package/dist/assets/{url-CPnr4zl0.js → url-D3fzoRiq.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-DDMxNeC6.js → useLongPress-GCK2COYQ-YmFx62lI.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-CIbBacHX.js → usp-line-BBd1wKwW-lvUUHuIi.js} +1 -1
  260. package/dist/assets/{utils-lvnYc7Lx.js → utils-Co3Y654K.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-DEUUJaZy.js → zeni-epic-state-CiJSQQSe.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +3 -3
  264. package/dist/assets/AccountInfoPage-DF6IU0EG-CpTk1WUV.js +0 -18
  265. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-Bf67FiSu.js +0 -6
  266. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-dC_CchwE.js +0 -27
  267. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-C5KRheHX.js +0 -222
  268. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-BoA9sGdB.js +0 -1
  269. package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-BO7BCZyk.js +0 -202
  270. package/dist/assets/EntityDetailPage-B3TQ5hCP-uPk3J70w.js +0 -18
  271. package/dist/assets/LabeledDocumentField-Bjg8sNsg-Da4_7xZ7.js +0 -41
  272. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-8dRO9py4.js +0 -1
  273. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-86-Eks-y.js +0 -1
  274. package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-B8JXsL7N.js +0 -1
  275. package/dist/assets/MagicLinkSuccessPage-CphaJa4k-D3EkcDWm.js +0 -31
  276. package/dist/assets/MailingDetailsSection-BJfZvT0b-Dh4yo_Lj.js +0 -21
  277. package/dist/assets/NoDataChart-B3s_7m2n-CAPJcqJ5.js +0 -26
  278. package/dist/assets/NoDataTable-CMpypnTw-DT8ESeaQ.js +0 -8
  279. package/dist/assets/OverlayContainerPage-D4QU0p4o-bJWKRuRf.js +0 -11
  280. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DU98N3RU.js +0 -32
  281. package/dist/assets/SignInScreen-DEP1cN19.js +0 -1
  282. package/dist/assets/StatementsPage-BCh51lDW-CdawgjO3.js +0 -58
  283. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BytxtWo8.js +0 -1
  284. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-CGwU72CX.js +0 -1
  285. package/dist/assets/analyticsHelper-C5JtTAtK.js +0 -1
  286. package/dist/assets/chartTypes-DJdbX13L-CYrZAg19.js +0 -1
  287. package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-DT4qEBfo.js +0 -1
  288. package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Btx7Wg6i.js +0 -1
  289. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-KZ9-cjv6.js +0 -1
  290. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C9YUCLvJ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as be,J as we,a9 as Ce,cF as Pe,aV as k,F as xe,V as t,y as P,bC as Ie,T as Ae,ac as ve,bw as je,cG as ke,aR as $e,o as a,hO as Te,e$ as Ve,f0 as De,u as x,al as Oe,gX as Be,p as Ee,O as ze}from"./index-6sX8sCRU.js";import{a as R}from"./sentry-BsWDfhY_.js";import{n as r}from"./mui-BKJrVh4W.js";import{M as Le,o as W,t as Me}from"./PaymentAccountSetupBillingAddressSection-DSnQX90O-DFq5LHyH.js";import{F as _e}from"./SetUpAccountSection-AVL_16HQ-j-o6nNSY.js";import"./liveblocks-BAOmiMpj.js";import"./core-xud19niX.js";import"./recharts-07URl5uF.js";import"./zeni-epic-state-DEUUJaZy.js";import"./lottie-cQKxXDSP.js";import"./analytics-Dz3HJTKp.js";import"./lexical-CFjIG720.js";import"./utils-lvnYc7Lx.js";import"./commonTypes-BVbA7QjV-C2OAdMb3.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]="50bd2efb-2935-4e65-95b9-fd233f099c12",e._sentryDebugIdIdentifier="sentry-dbid-50bd2efb-2935-4e65-95b9-fd233f099c12")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},Re={title:new ze("standardSemiBold","largeSemiBold")},F="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:J,stripeKey:K,googleAPIKey:N,companyId:G,onUpdateAccountClick:q,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:se,onBillingAddressSave:ae,onAddressEditHandler:re})=>{const w=be(),o=we(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(i),values:H(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{ae(G)}),D=i.subscriptionBillingAddressSaveStatus,me=async(c,s)=>{const g=s[I];if(c.includes(n)&&s[n]!=null){const v=f.getValues(`${n}`).country;let u=s[n];if(c.includes(`${n}.street`)&&s[n].street!=null){const{addressValue:b}=s[n].street,j=Ve(b?.country);u={street:s[n].street??l.strings.empty,city:b?.locality??l.strings.empty,state:b?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:b?.countryCode??l.strings.empty,postalCode:b?.postalCode??l.strings.empty,secondaryInfo:s[n].secondaryInfo,suite:s[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:De(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&q(g.account.selectedOption,y.paymentAccountId)};R.useEffect(()=>{const c=f.watch((s,{name:g})=>{g!=null&&s!=null&&Pe(()=>me(g,s))});return()=>{c.unsubscribe()}});const O=w.mode==="light"?new k(w.colors.brandColorJadeLight):new k(w.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:B}=xe.getLocalizedStrings(),ge=B.section.subTitle,{text:ye,subText:fe}=he,E=h.cardsList.length>0,z=h?.cardsList[0]?.brand??"other",L=h?.addCardPaymentSourceStatus.fetchState,C=Le(S.header,S.titleText,S.protectedCardNo,h);let M;E&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:E===!0,icon:{element:t.jsx("img",{src:W(z).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:W(z).name}),color:new k(O)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=R.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:B.section.title,backgroundColor:w.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(We,{windowSize:o,children:[t.jsx(He,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(qe,{children:t.jsx("form",{id:U(F),onSubmit:pe,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:O},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:U(F),style:{width:o==="small"?"auto":"100%",paddingTop:a.sp2,paddingBottom:a.sp2,height:a.sp8},primaryBtn:{label:l.footer.save,isLoading:D?.fetchState==="In-Progress",isDisabled:D?.fetchState==="In-Progress",style:{height:a.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:se,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},H=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},We=r.div`
1
+ import{e as we,J as be,a9 as Ce,cF as Pe,aV as k,F as xe,V as t,y as P,bC as Ie,T as Ae,ac as ve,bw as je,cG as ke,aR as $e,o as s,hO as Te,e$ as Ve,f0 as De,u as x,al as Be,gX as Ee,p as ze,a as Oe}from"./index-rJQoaAfw.js";import{a as F}from"./sentry-CGE1ab0x.js";import{n as r}from"./mui-KNfEk2A1.js";import{M as Le,o as R,t as Me}from"./PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js";import{F as _e}from"./SetUpAccountSection-BCoHzvyG-CzNKWW7X.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./commonTypes-CU0qY6Px-ZdnVolMx.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]="1410c3b8-b1c8-4473-8197-f0f1834c9fa7",e._sentryDebugIdIdentifier="sentry-dbid-1410c3b8-b1c8-4473-8197-f0f1834c9fa7")}catch{}})();const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,x[5],x[5]),iconWidthHeight:new P(20,x[4]),subTitlePaddingTop:new P(12,x[3])},Fe={title:new Oe("standardSemiBold","largeSemiBold")},W="billingSetupPage",I="payAccountSectionId",n="subscriptionBillingAddressSectionId",ct=({analytics:e,billingSetupView:i,connectedAccountProvider:m,isDisabled:d,onClickMenuIcon:A,uiState:J,stripeKey:K,googleAPIKey:N,companyId:G,onUpdateAccountClick:q,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const b=we(),o=be(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:T},cardPaymentView:h}=i,ce=i.subscriptionBillingAddress,V=y?.providerVerificationStatus,ue=T.fetchState==="In-Progress"||T.fetchState==="Not-Started",f=Ce({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(i),values:H(i),resetOptions:{keepDirtyValues:!0}}),pe=f.handleSubmit(c=>{se(G)}),D=i.subscriptionBillingAddressSaveStatus,me=async(c,a)=>{const g=a[I];if(c.includes(n)&&a[n]!=null){const v=f.getValues(`${n}`).country;let u=a[n];if(c.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:w}=a[n].street,j=Ve(w?.country);u={street:a[n].street??l.strings.empty,city:w?.locality??l.strings.empty,state:w?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:w?.countryCode??l.strings.empty,postalCode:w?.postalCode??l.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:De(v.selectedOption)});u!=null&&re(u)}else c.includes(I)&&g.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==g.account.selectedOption&&q(g.account.selectedOption,y.paymentAccountId)};F.useEffect(()=>{const c=f.watch((a,{name:g})=>{g!=null&&a!=null&&Pe(()=>me(g,a))});return()=>{c.unsubscribe()}});const B=b.mode==="light"?new k(b.colors.brandColorJadeLight):new k(b.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:S}},common:l,billingSetupPage:E}=xe.getLocalizedStrings(),ge=E.section.subTitle,{text:ye,subText:fe}=he,z=h.cardsList.length>0,O=h?.cardsList[0]?.brand??"other",L=h?.addCardPaymentSourceStatus.fetchState,C=Le(S.header,S.titleText,S.protectedCardNo,h);let M;z&&(M={header:C.header,title:C.title,subtitle:C.subtitle,status:C.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:R(O).iconURL,width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o),alt:R(O).name}),color:new k(B)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[_,Se]=F.useState(!1);return t.jsxs(We,{children:[t.jsx(Ie,{source:"BillingSettingsPage",title:E.section.title,backgroundColor:b.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:A}),t.jsxs(Re,{windowSize:o,children:[t.jsx(He,{windowSize:o,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ae,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...f,children:t.jsx(qe,{children:t.jsx("form",{id:U(W),onSubmit:pe,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(_e,{connectedAccountProvider:m,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:S.header,sectionTitle:S.header,defaultSectionTitle:ye,defaultSectionSubTitle:fe,sectionId:I,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:V?.code==="require_info"||V?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(o),height:p.iconWidthHeight.valuePx(o)}),color:B},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:h,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:_}),Ke(o,l.headers.billingAddress,ce,N,d)]})})})}),ke(f.formState.dirtyFields)?t.jsx($e,{formId:U(W),style:{width:o==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:D?.fetchState==="In-Progress",isDisabled:D?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:h,isCardPaymentOpen:J.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:K,cardSetupInProgress:_,setCardSetupInProgress:Se})]})},H=e=>{const{paymentAccount:i,allBankAccounts:m}=e.setupView;return{[I]:{account:{selectedOption:i?.zeniAccountId,allOptions:m.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Te(n,e.subscriptionBillingAddress)[n]}},Re=r.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  height: 100%;
@@ -6,19 +6,19 @@ import{d as be,J as we,a9 as Ce,cF as Pe,aV as k,F as xe,V as t,y as P,bC as Ie,
6
6
  flex-direction: column;
7
7
  align-items: center;
8
8
  row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,Fe=r.div`
9
+ `,We=r.div`
10
10
  display: flex;
11
11
  min-height: 100%;
12
12
  flex-direction: column;
13
13
  width: 100%;
14
14
  background-color: ${e=>e.theme.colors.grey4};
15
- `,He=r(Oe)`
15
+ `,He=r(Be)`
16
16
  color: ${e=>e.theme.colors.hero};
17
17
  display: flex;
18
18
  justify-content: center;
19
19
  width: ${e=>p.titleWidth.valuePx(e.windowSize)};
20
20
  padding-top: ${e=>p.subTitlePaddingTop.valuePx(e.windowSize)};
21
- padding-bottom: ${a.sp3};
21
+ padding-bottom: ${s.sp3};
22
22
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
23
23
  `,Ue=r.div`
24
24
  display: flex;
@@ -31,14 +31,14 @@ import{d as be,J as we,a9 as Ce,cF as Pe,aV as k,F as xe,V as t,y as P,bC as Ie,
31
31
  `,Je=r.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
- `,Ke=(e,i,m,d,A)=>t.jsxs(Ne,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Be,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
35
- margin-top: ${a.sp3};
36
- margin-bottom: ${a.sp4};
34
+ `,Ke=(e,i,m,d,A)=>t.jsxs(Ne,{children:[t.jsx(Ge,{windowSize:e,isDisabled:A==="disabled",children:i}),t.jsx(Ee,{googleAPIKey:d??"",addressToEdit:m,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Ne=r.div`
35
+ margin-top: ${s.sp3};
36
+ margin-bottom: ${s.sp4};
37
37
  `,Ge=r.div`
38
- ${e=>`${Re.title.style(e.windowSize)}`};
39
- margin-bottom: ${a.sp3};
40
- margin-top: ${a.sp4};
41
- color: ${e=>e.isError===!0?Ee.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
38
+ ${e=>`${Fe.title.style(e.windowSize)}`};
39
+ margin-bottom: ${s.sp3};
40
+ margin-top: ${s.sp4};
41
+ color: ${e=>e.isError===!0?ze.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
42
  `,qe=r.div`
43
43
  flex: 1;
44
44
  `,U=e=>`${e}_form`;export{ct as default,U as uniqueName};
@@ -1 +1 @@
1
- import{V as b,cp as V,cq as q,cr as M,kb as W,aY as Y,F as z}from"./index-6sX8sCRU.js";import{a as f}from"./sentry-BsWDfhY_.js";import{Gh as G}from"./zeni-epic-state-DEUUJaZy.js";import{u as K}from"./ReviewOverlay-BQVwPzKa-ddzk5bgf.js";import"./liveblocks-BAOmiMpj.js";import"./core-xud19niX.js";import"./recharts-07URl5uF.js";import"./mui-BKJrVh4W.js";import"./lottie-cQKxXDSP.js";import"./analytics-Dz3HJTKp.js";import"./lexical-CFjIG720.js";import"./utils-lvnYc7Lx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="131dec7a-34ea-4ef8-a4e0-cb0d0538195c",e._sentryDebugIdIdentifier="sentry-dbid-131dec7a-34ea-4ef8-a4e0-cb0d0538195c")}catch{}})();const{common:s,spendManagement:{billPay:I}}=z.getLocalizedStrings(),o=I.bulkActions;let x;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:_}=e,u=i==="review",[C,w]=f.useState(!1),[n,v]=f.useState(T(e,u)),[p,k]=f.useState(u),[B,E]=f.useState(0),[h,j]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(x)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(x)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,y=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=Z(y);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,g,_),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=H(m,y,R,p),P=e.fetchState==="Completed"&&y===0,$=()=>{r.trackBillPayBulkSubmit(i,g,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:D,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:h.title}),descriptionComponent:b.jsx(q,{children:h.description}),primaryButtonText:h.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:h.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(K,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&y===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:I.billDetails.newBillTitle,subTitle:`${I.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:Y("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&G(t.reviewErrors[0].reviewErrorCode),subTitle:J(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=W([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?I.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?g:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},J=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,X as getBillsUniqueType};
1
+ import{V as b,cp as V,cq as q,cr as M,kb as W,aY as Y,F as z}from"./index-rJQoaAfw.js";import{a as g}from"./sentry-CGE1ab0x.js";import{Gh as G}from"./zeni-epic-state-CiJSQQSe.js";import{u as K}from"./ReviewOverlay-Q8tlLMbm-BLu76gBy.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./mui-KNfEk2A1.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="728236c6-c121-4e36-90dd-b3cde3d0401e",e._sentryDebugIdIdentifier="sentry-dbid-728236c6-c121-4e36-90dd-b3cde3d0401e")}catch{}})();const{common:s,spendManagement:{billPay:I}}=z.getLocalizedStrings(),o=I.bulkActions;let x;const de=({billsReviewView:e,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:t,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:f,currentSubTab:_}=e,u=i==="review",[C,w]=g.useState(!1),[n,v]=g.useState(T(e,u)),[p,k]=g.useState(u),[B,E]=g.useState(0),[h,j]=g.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});g.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),B===n.length&&p&&(k(!1),clearInterval(x)),!u&&e.fetchState==="Completed"&&v(T(e,!1)),()=>{clearInterval(x)}),[n.length,B,p,e.fetchState,u,e]);const R=n.length,y=n.filter(d=>d.reviewStatus.code!=="error").length,D=()=>{const{title:d,description:S}=Z(y);j({type:"reject",title:d,description:S,primaryButtonText:s.texts.confirm,secondaryButtonText:s.texts.close}),r.trackBillPayBulkSubmit(i,f,_),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,f,_,X(e)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:A}=H(m,y,R,p),P=e.fetchState==="Completed"&&y===0,$=()=>{r.trackBillPayBulkSubmit(i,f,_),l(i)},U={label:P?s.texts.close:i==="send_for_approval"?s.footer.submit:s.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:P?c:$,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?s.texts.goBack:s.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:D,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[C?b.jsx(V,{titleComponent:b.jsx(M,{children:h.title}),descriptionComponent:b.jsx(q,{children:h.description}),primaryButtonText:h.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:h.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(K,{title:N,description:{content:A,isError:e.fetchState==="Completed"&&y===0},reviewItems:n,onCloseReviewItem:t,onCloseOverlay:c,showFooter:e.fetchState==="Completed"&&!p,footerProps:{primaryButton:U,cancelButton:L,hideCancel:P}})]})},T=(e,r)=>{const l=e.fetchState==="In-Progress";return e.billsForReview.map(t=>({id:t.transactionId,leftSideText:{title:t.vendorName?t.vendorName:I.billDetails.newBillTitle,subTitle:`${I.billDetails.invoiceNo} ${t.invoiceNumber?t.invoiceNumber:s.strings.hyphen}`},rightSideText:{title:Y("0,0.[00]",t.amount?.amount,t.amount?.currencySymbol),showThunderIcon:t.reviewErrors?.length===1&&G(t.reviewErrors[0].reviewErrorCode),subTitle:J(t.reviewStatus==="warning",t.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:t.reviewErrors!=null&&t.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:t.reviewErrors?.length===1&&t.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":t.reviewStatus??""}}))},X=e=>{const r=e.billsForReview;let l=[];return r.forEach(t=>{l=W([...l,t.isRecurring?"recurring":"one-time"])}),l},Z=e=>{const{this_:r,these:l,bill:t,bills:c,payment:m,payments:a}=s.texts;return e>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",t)}},H=(e,r,l,t)=>{const{has:c,have:m,bill:a,bills:i,are:f,is:_,do_:u,does:C}=s.texts,w=r>1,n=l>1;let v="",p="";return e==="Completed"&&!t?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",n?I.bulkActions.bills:o.bill).replace("<_has_>",n?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",n?i:a).replace("<_do_>",n?u:C):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",w?f:_)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",n?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",n?i:a)),{title:v,description:p}},J=(e,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${s.strings.dividerDot} `);if(r.length===1)return e?r[0]+`${s.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{de as default,X as getBillsUniqueType};
@@ -1,4 +1,4 @@
1
- import{J as l,V as s,aP as b,o as e}from"./index-6sX8sCRU.js";import{n as a}from"./mui-BKJrVh4W.js";import{o as p}from"./commonDimensions-BpYNnQtf-GFURsh40.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="854d6bf5-b36f-4547-bc59-6ed6dca2aba2",o._sentryDebugIdIdentifier="sentry-dbid-854d6bf5-b36f-4547-bc59-6ed6dca2aba2")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
1
+ import{J as l,V as s,aP as b,o as e}from"./index-rJQoaAfw.js";import{n as a}from"./mui-KNfEk2A1.js";import{o as p}from"./commonDimensions-DmFc7WqO-CxyyXmLy.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="d3259280-e253-4a05-a0a6-c58034678407",o._sentryDebugIdIdentifier="sentry-dbid-d3259280-e253-4a05-a0a6-c58034678407")}catch{}})();const m=(o,r)=>r===1?"roundedBox":o===0?"topRoundedBox":o===r-1?"bottomRoundedBox":"box";function g({content:o,boxType:r,isDisabled:d=!1,isNotClickable:t=!1}){const i=l();switch(r??"roundedBox"){case"topRoundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",r),children:o});case"bottomRoundedBox":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",r),children:o});case"box":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",r),children:o});case"roundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",r),children:o})}}const n=a.div`
2
2
  box-sizing: border-box;
3
3
  cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
4
4
  min-height: ${o=>p.transactionItemHeightResponsive.valuePx(o.windowSize)};
@@ -1,11 +1,11 @@
1
- import{d as ct,J as dt,aQ as Oe,V as i,ae as W,a9 as pt,cV as ut,ay as mt,cF as ft,aY as Te,aO as ve,gc as yt,r as ht,bC as gt,aP as xt,cG as St,cp as wt,cq as bt,cr as Ct,T as Dt,ac as Ot,aR as Tt,o as r,y as V,am as je,F as Fe,gd as vt,fA as Ie,e$ as It,R as kt,x as Nt,al as Ae,O as $t,a as Pt,u as k}from"./index-6sX8sCRU.js";import{a as j}from"./sentry-BsWDfhY_.js";import{n as d}from"./mui-BKJrVh4W.js";import{ER as Vt,bi as G}from"./zeni-epic-state-DEUUJaZy.js";import{n as jt,z as Ft}from"./CompanyOfficerDetailsSection-CaAR0Wvk-CBJ-_ogf.js";import"./liveblocks-BAOmiMpj.js";import"./core-xud19niX.js";import"./recharts-07URl5uF.js";import"./lottie-cQKxXDSP.js";import"./analytics-Dz3HJTKp.js";import"./lexical-CFjIG720.js";import"./utils-lvnYc7Lx.js";import"./LabeledAddressValueField-D6dEaI69-Chc-QlAF.js";import"./LabeledCountryMultiSelectField-XeBih_-f-DKxnjH2w.js";import"./LabeledCreatableSingleSelectField-BPX2Nrlf-ZlY5YONf.js";import"./LabeledDocumentField-Bjg8sNsg-Da4_7xZ7.js";import"./LabeledMultiSelectField-Di9Wnifv-ByxiVL3j.js";import"./commonTypes-BVbA7QjV-C2OAdMb3.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]="7c5d2a11-6983-4b4f-ac40-38bfdc8aea6c",e._sentryDebugIdIdentifier="sentry-dbid-7c5d2a11-6983-4b4f-ac40-38bfdc8aea6c")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,k[3]),subTitlePaddingBottom:new V(k[3],k[3]),verificationDetailsRowGap:new V(12,k[5],k[5]),termsPaddingLeftRight:new V(k[0],k[3])},At={stepTitle:new $t("h6Regular","h5Regular")},ke="businessVerificationPage",D="companyDetails",O="companyOfficerDetails",{commonSetUp:{businessVerification:a},common:{settings:Lt,currency:Ne,footer:$e,strings:{empty:_t}}}=Fe.getLocalizedStrings(),ba=({businessVerificationDetails:e,allNationalityCountries:S,verficationDetailsFetchState:N,isRefreshingViewInBackground:_,filesEndPoint:s,authParams:B,productType:y,allIndustries:F,companyTitles:z,maxInsuredAmount:u,isDisabled:$,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:q=!1,transferDetails:E,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:_e,onBackClick:A,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Je})=>{const Ke=ct(),p=dt(),{updateStatus:R,companyView:L,companyDetailsLocalData:l,companyOfficerLocalData:b}=e,Qe=Oe(R.fetchState),U=L?.company.company.featuresActivationInfo.connectedAccountProvider,Xe=U==="unit"?i.jsxs(qt,{children:[a.terms.term1,i.jsx(W,{href:a.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.consent}),a.terms.term2,i.jsx(W,{href:a.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.depositTerms}),a.terms.term3,i.jsx(W,{href:a.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.privacy}),a.terms.term4,i.jsx(W,{href:a.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:a.terms.tos}),a.terms.term5]}):a.terms.termsForStripe,[Ye,J]=j.useState(!1),[M,re]=j.useState("save"),[K,Ze]=j.useState(!1),m=pt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,F,z,S)}),{isValid:He}=m.formState,Q=L?.company.company.companyBillPayInfo,X=L?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?X?.companyVerificationStatus:Q?.companyVerificationStatus,T=Object.values(b).findIndex(t=>t?.isSelectedForVerification===!0),v=`Officer_${T<0?1:T+1}`,et=()=>{const t=b[v],n=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,C=t?.firstName,I=t?.lastName,pe=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,me=t?.phone,fe=t?.addressStatus?.addressToCreate,ye=fe!=null?G(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,xe=l?.phone,Se=l?.website,we=l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,be=ee?.firstName,Ce=ee?.lastName,De=ee?.email;n!=null&&f!=null&&C!=null&&I!=null&&c!=null&&pe!=null&&me!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&xe!=null&&Se!=null&&ge!=null&&H!=null&&we!=null&&be!=null&&Ce!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:pe,phone:me,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:be,lastName:Ce,email:De},y,o?"Settings":void 0)},tt=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,C=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&m.trigger(`${O}.${T<0?0:T}.name`,{shouldFocus:!0}),!1):C&&!I?((!n?.firstName||!n?.lastName)&&m.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&m.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(t?.firstName||t?.lastName||t?.birthday||t?.nationalityCountryCode||t?.ownershipInCompany||t?.phone||t?.ssn||t?.titleAtCompany||t?.addressStatus?.addressToCreate||t?.fileIds!=null&&t?.fileIds.length>0||Y!=null&&Y?.length>0)return m.trigger(`${O}.${T<0?0:T}.email`,{shouldFocus:!0}),!1;return!0},it=m.handleSubmit(()=>{if(M!=="verification"&&re("verification"),U==="unit"&&b[v]?.isPhoneVerified!==!0){m.setError(`${O}.${T}.phone`,{type:"custom"});return}const t=ut(Object.values(b).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Vt(t.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(v),q===!0&&Je?.())}),st=async(t,n)=>{t.includes(D)?Ue?.(n[D]):t.includes(O)&&We?.(n[O])},nt=j.useCallback(mt((t,n)=>{st(t,n)},300),[]);j.useEffect(()=>{const t=m.watch((n,{name:c})=>{c!=null&&n!=null&&ft(()=>nt(c,n))});return()=>{t.unsubscribe()}});const le=Oe(e.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),m.setValue(`${D}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,oe,m]);const ce=L?.companyOfficers.slice(0,10).sort((t,n)=>t.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Y=ce?.map(t=>t.user),ot=ce?.map(t=>t.role),rt={onOkClick:()=>{J(!1),A();const t=[],n=L?.company.company.incInfo.fileIds??[];m.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||t.push(c)}),ot?.forEach((c,f)=>{const C=c?.fileIds??[];m.getValues(`${O}.${f}.fileIds`).forEach(I=>{C.includes(I)||t.push(I)})}),t.length!==0&&Me?.(t)},onCancelClick:()=>{J(!1)}},lt=Te(ve(u),u,Ne.currencySymbol).toUpperCase(),Z=P?.code==="pending_review"||P?.code==="verified",de=(E?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&P?.code==="pending_review"&&Qe==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Ht,{children:[i.jsxs(ea,{children:[i.jsx(yt,{}),i.jsx(ta,{windowSize:p,children:q===!0?a.submittedTitleWithTransfer:a.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:q===!0?a.submittedDescriptionWithTransfer.replace("__amount__",Te(ve(E?.treasuryTransferMoneyLocalData?.amount?.amount??0),E?.treasuryTransferMoneyLocalData?.amount?.amount??0,Ne.currencySymbol)).replace("__account__",E?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):a.submittedDescription})]}),i.jsx(ht,{label:a.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]}):i.jsxs(zt,{isSettings:o,children:[i.jsx(gt,{title:h&&w===!0?_t:a.header,backgroundColor:Ke.colors.grey5,style:{zIndex:K?1:4},onBackClick:()=>{St(m.formState.dirtyFields)?J(!0):A()},showBackButton:!o&&!h,showMenuIcon:o?p==="medium-compact"||p==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?i.jsx(aa,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?i.jsx(wt,{titleComponent:i.jsx(Ct,{children:a.discardTitle}),descriptionComponent:i.jsx(bt,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:rt}):null,i.jsxs(Ut,{windowSize:p,children:[(!h||w===!1)&&i.jsx(Rt,{windowSize:p,children:o?Lt.infoText.businessVerification:a.title}),N==="In-Progress"||N==="Not-Started"?i.jsx(Mt,{children:i.jsx(Dt,{size:"ExtraLarge",start:!0})}):i.jsx(Ot,{...m,children:i.jsxs("form",{id:Pe(ke),onSubmit:it,children:[h&&w===!0&&i.jsxs(Et,{children:[i.jsxs(Jt,{windowSize:p,children:[i.jsx(Kt,{windowSize:p,children:Z?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!Z&&i.jsx(Qt,{children:i.jsxs(Xt,{children:[i.jsx(Ve,{}),de&&i.jsx(Ve,{}),i.jsx(Yt,{})]})})]}),i.jsx(Le,{isReadonly:Z,children:a.verifyBusinessDetailsDescription})]}),i.jsxs(Wt,{children:[i.jsx(jt,{companyOfficerData:b,allNationalityCountries:S,allOfficers:Y??[],sectionId:O,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:$,filesEndPoint:s,authParams:B,isPopupOpen:K,openPopup:Ze,onGetOtp:Be,onVerifyOtp:ze,onResendOtp:Ee,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Ft,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":$,fileProps:{authParams:B,filesEndPoint:s,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:U,allIndustries:F,allNationalityCountries:S})]}),y==="zeni_accounts"?i.jsx(Gt,{windowSize:p,children:a.threadText.replace("__amount__",lt)}):null]})})]}),N==="Completed"&&(y==="zeni_treasury"?X?.companyVerificationStatus?.code!=="pending_review"&&X?.companyVerificationStatus?.code!=="verified":Q?.businessVerificationStatus?.code!=="pending_review"&&Q?.businessVerificationStatus?.code!=="verified")?i.jsx(Tt,{formId:Pe(ke),primaryBtn:{label:w?$e.submit:a.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:$!=null},containerStyle:{width:p==="small"?x.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?x.width.valuePx(p):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(p),paddingRight:x.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?$e.back:a.saveDetailsButton,style:{width:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const t=b[v],n=l?.primaryContactLocalData;M!=="save"&&re("save");const c=t?.email??"",f=tt(),C=at();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:t?.birthday?.toString(),companyOwnership:t?.ownershipInCompany,firstName:t?.firstName,lastName:t?.lastName,companyRole:t?.titleAtCompany,phone:t?.phone,formattedAddress:t?.addressStatus?.addressToCreate!=null?G(t?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:t?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(v))}}},helperText:Xe,style:{padding:`12px ${r.sp3}`,zIndex:K?0:4}}):null]})},Bt=(e,S,N,_)=>{const{companyDetailsLocalData:s,companyOfficerLocalData:B,companyView:y}=e,F=Fe.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:s?.companyDescription??"",ein:s?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:s?.companyId??"",syncToken:s?.syncToken,companyLegalName:s?.companyLegalName??"",companyWebsite:s?.website?.toString()??"",companyAddress:s?.addressStatus?.addressToCreate,registeredAddress:s?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:s?.companyIndustry,allOptions:S?.map(u=>u.code)},companyPhone:s?.phone??"",companyTaxId:s?.taxIdOrEIN??"",primaryContactName:{firstName:s?.primaryContactLocalData?.firstName??"",lastName:s?.primaryContactLocalData?.lastName??""},primaryContactEmail:s?.primaryContactLocalData?.email??"",primaryContactUserId:s?.primaryContactLocalData?.userId,primaryContactSyncToken:s?.primaryContactLocalData?.syncToken,fileIds:s?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:s?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:s?.incDate?.toDate(),typeOfIncorporation:{selectedOption:s?.typeOfIncorporation,allOptions:F.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:s?.stateOfIncorporation,allOptions:F.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(a.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:s?.companySourceOfFunds??"",allOptions:Object.keys(a.companySourceOfFundOptions??{})},companySourceOfFundsDescription:s?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:s?.transactionVolume,allOptions:Object.keys(a.transactionVolumeOptions??{})},transactionVolumeDescription:s?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:s?.purposeOfAccount,allOptions:Object.keys(a.purposeOfAccountOptions??{})},purposeOfAccountDescription:s?.purposeOfAccountDescription??"",usNexus:s?.usNexus??"",usNexusTypes:{selectedOptions:(s?.usNexusTypes??[]).map(u=>a.usNexusOptions?.[u]??u),allOptions:Object.values(a.usNexusOptions??{})},regulatedStatus:s?.regulatedStatus??"",regulatedStatusDescription:s?.regulatedStatusDescription??""},[O]:Object.values(B).map((u,$)=>{const o=u,h=vt(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${$+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:It(o?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:N?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&$===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=e=>`${e}_form`,zt=d.div`
1
+ import{e as ct,J as dt,aQ as Te,V as i,ae as W,a9 as pt,cV as ut,ay as mt,cF as ft,aY as Oe,aO as ve,gc as yt,r as ht,bC as gt,aP as xt,cG as St,cp as wt,cq as bt,cr as Ct,T as Dt,ac as Tt,aR as Ot,o as r,y as V,am as je,F as Fe,gd as vt,fA as Ie,e$ as It,R as kt,x as Nt,al as Ae,a as $t,c as Pt,u as k}from"./index-rJQoaAfw.js";import{a as j}from"./sentry-CGE1ab0x.js";import{n as d}from"./mui-KNfEk2A1.js";import{ER as Vt,bi as G}from"./zeni-epic-state-CiJSQQSe.js";import{n as jt,z as Ft}from"./CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./LabeledAddressValueField-DyHTdGlm-CErilABA.js";import"./LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js";import"./LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js";import"./LabeledDocumentField-b5xujqjK-HTjOeiZT.js";import"./LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js";import"./commonTypes-CU0qY6Px-ZdnVolMx.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]="381a32f4-56dd-4a93-8c67-2b068fa33adc",e._sentryDebugIdIdentifier="sentry-dbid-381a32f4-56dd-4a93-8c67-2b068fa33adc")}catch{}})();const x={width:new V(343,580,726),titleWidth:new V(343,580,726,826),subTitlePaddingTop:new V(12,k[3]),subTitlePaddingBottom:new V(k[3],k[3]),verificationDetailsRowGap:new V(12,k[5],k[5]),termsPaddingLeftRight:new V(k[0],k[3])},At={stepTitle:new $t("h6Regular","h5Regular")},ke="businessVerificationPage",D="companyDetails",T="companyOfficerDetails",{commonSetUp:{businessVerification:a},common:{settings:Lt,currency:Ne,footer:$e,strings:{empty:_t}}}=Fe.getLocalizedStrings(),ba=({businessVerificationDetails:e,allNationalityCountries:S,verficationDetailsFetchState:N,isRefreshingViewInBackground:_,filesEndPoint:s,authParams:B,productType:y,allIndustries:F,companyTitles:E,maxInsuredAmount:u,isDisabled:$,isSettings:o=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,isTreasuryTransferInitiated:q=!1,transferDetails:z,onOverlayClose:te,onAddressClick:ae,onRegisteredAddressClick:_e,onBackClick:A,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,onSendForVerificationClick:Re,onEditFileName:ie,onCompanyDetailsChanged:Ue,updateFilesEntity:se,onDeleteFile:ne,onDeleteFileList:Me,onCompanyOfficerUpdated:We,saveNewAddressInLocalStore:oe,onSaveDetailsClick:Ge,onClickMenuIcon:qe,onExecuteTreasuryTransfer:Je})=>{const Ke=ct(),p=dt(),{updateStatus:R,companyView:L,companyDetailsLocalData:l,companyOfficerLocalData:b}=e,Qe=Te(R.fetchState),U=L?.company.company.featuresActivationInfo.connectedAccountProvider,Xe=U==="unit"?i.jsxs(qt,{children:[a.terms.term1,i.jsx(W,{href:a.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.consent}),a.terms.term2,i.jsx(W,{href:a.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.depositTerms}),a.terms.term3,i.jsx(W,{href:a.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:a.terms.privacy}),a.terms.term4,i.jsx(W,{href:a.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:a.terms.tos}),a.terms.term5]}):a.terms.termsForStripe,[Ye,J]=j.useState(!1),[M,re]=j.useState("save"),[K,Ze]=j.useState(!1),m=pt({mode:"all",reValidateMode:"onChange",defaultValues:Bt(e,F,E,S)}),{isValid:He}=m.formState,Q=L?.company.company.companyBillPayInfo,X=L?.company.company.companyTreasuryInfo,P=y==="zeni_treasury"?X?.companyVerificationStatus:Q?.companyVerificationStatus,O=Object.values(b).findIndex(t=>t?.isSelectedForVerification===!0),v=`Officer_${O<0?1:O+1}`,et=()=>{const t=b[v],n=t?.email,c=t?.birthday?.toString(),f=t?.ownershipInCompany,C=t?.firstName,I=t?.lastName,pe=t?.titleAtCompany,ue=t?.documentTypeSelectedForVerification,me=t?.phone,fe=t?.addressStatus?.addressToCreate,ye=fe!=null?G(fe):void 0,he=l?.companyDescription,H=l?.companyLegalName,ge=l?.companyIndustry,xe=l?.phone,Se=l?.website,we=l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0,ee=l?.primaryContactLocalData,be=ee?.firstName,Ce=ee?.lastName,De=ee?.email;n!=null&&f!=null&&C!=null&&I!=null&&c!=null&&pe!=null&&me!=null&&ye!=null&&ue!=null&&he!=null&&H!=null&&xe!=null&&Se!=null&&ge!=null&&H!=null&&we!=null&&be!=null&&Ce!=null&&De!=null&&g?.trackBusinessVerificationSend({email:n,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:I,companyRole:pe,phone:me,formattedAddress:ye,documentTypeForVerification:ue},{companyDescription:he,legalName:H,phone:xe,website:Se.toString(),industry:ge,formattedAddress:we},{firstName:be,lastName:Ce,email:De},y,o?"Settings":void 0)},tt=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email??"",f=!!t?.firstName&&!!t?.lastName,C=n?.email??"",I=!!n?.firstName&&!!n?.lastName;return c&&!f?((!t?.firstName||!t?.lastName)&&m.trigger(`${T}.${O<0?0:O}.name`,{shouldFocus:!0}),!1):C&&!I?((!n?.firstName||!n?.lastName)&&m.trigger(`${D}.primaryContactName`,{shouldFocus:!0}),!1):!0},at=()=>{const t=b[v],n=l?.primaryContactLocalData,c=t?.email,f=n?.email;if(c){if(!f)return(n?.firstName||n?.lastName)&&m.trigger(`${D}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(t?.firstName||t?.lastName||t?.birthday||t?.nationalityCountryCode||t?.ownershipInCompany||t?.phone||t?.ssn||t?.titleAtCompany||t?.addressStatus?.addressToCreate||t?.fileIds!=null&&t?.fileIds.length>0||Y!=null&&Y?.length>0)return m.trigger(`${T}.${O<0?0:O}.email`,{shouldFocus:!0}),!1;return!0},it=m.handleSubmit(()=>{if(M!=="verification"&&re("verification"),U==="unit"&&b[v]?.isPhoneVerified!==!0){m.setError(`${T}.${O}.phone`,{type:"custom"});return}const t=ut(Object.values(b).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),n=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);Vt(t.concat(n)).fetchState!=="In-Progress"&&He&&(et(),Re?.(v),q===!0&&Je?.())}),st=async(t,n)=>{t.includes(D)?Ue?.(n[D]):t.includes(T)&&We?.(n[T])},nt=j.useCallback(mt((t,n)=>{st(t,n)},300),[]);j.useEffect(()=>{const t=m.watch((n,{name:c})=>{c!=null&&n!=null&&ft(()=>nt(c,n))});return()=>{t.unsubscribe()}});const le=Te(e.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{e.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&e.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&le==null&&(oe?.("company_registered_address",e.companyDetailsLocalData?.addressStatus?.addressToCreate),m.setValue(`${D}.registeredAddress`,e.companyDetailsLocalData?.addressStatus?.addressToCreate))},[e.companyDetailsLocalData?.addressStatus,e.companyDetailsLocalData?.registeredAddressStatus,le,oe,m]);const ce=L?.companyOfficers.slice(0,10).sort((t,n)=>t.user.createTime?.isAfter(n.user.createTime)===!0?1:-1),Y=ce?.map(t=>t.user),ot=ce?.map(t=>t.role),rt={onOkClick:()=>{J(!1),A();const t=[],n=L?.company.company.incInfo.fileIds??[];m.getValues(`${D}.fileIds`).forEach(c=>{n.includes(c)||t.push(c)}),ot?.forEach((c,f)=>{const C=c?.fileIds??[];m.getValues(`${T}.${f}.fileIds`).forEach(I=>{C.includes(I)||t.push(I)})}),t.length!==0&&Me?.(t)},onCancelClick:()=>{J(!1)}},lt=Oe(ve(u),u,Ne.currencySymbol).toUpperCase(),Z=P?.code==="pending_review"||P?.code==="verified",de=(z?.treasuryTransferMoneyLocalData?.amount?.amount??0)>0;return y==="zeni_treasury"&&P?.code==="pending_review"&&Qe==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Ht,{children:[i.jsxs(ea,{children:[i.jsx(yt,{}),i.jsx(ta,{windowSize:p,children:q===!0?a.submittedTitleWithTransfer:a.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:q===!0?a.submittedDescriptionWithTransfer.replace("__amount__",Oe(ve(z?.treasuryTransferMoneyLocalData?.amount?.amount??0),z?.treasuryTransferMoneyLocalData?.amount?.amount??0,Ne.currencySymbol)).replace("__account__",z?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):a.submittedDescription})]}),i.jsx(ht,{label:a.submittedButton,onClick:()=>{A(),te?.()},variant:"primary"})]}):i.jsxs(Et,{isSettings:o,children:[i.jsx(gt,{title:h&&w===!0?_t:a.header,backgroundColor:Ke.colors.grey5,style:{zIndex:K?1:4},onBackClick:()=>{St(m.formState.dirtyFields)?J(!0):A()},showBackButton:!o&&!h,showMenuIcon:o?p==="medium-compact"||p==="small":!1,onClickMenuIcon:qe,rightSideComponent:h?i.jsx(aa,{"data-testid":xt("nav-bar-close-business-verification-overlay"),onClick:()=>{A(),te?.()}}):null,source:"BusinessVerificationPage"}),Ye===!0?i.jsx(wt,{titleComponent:i.jsx(Ct,{children:a.discardTitle}),descriptionComponent:i.jsx(bt,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:rt}):null,i.jsxs(Ut,{windowSize:p,children:[(!h||w===!1)&&i.jsx(Rt,{windowSize:p,children:o?Lt.infoText.businessVerification:a.title}),N==="In-Progress"||N==="Not-Started"?i.jsx(Mt,{children:i.jsx(Dt,{size:"ExtraLarge",start:!0})}):i.jsx(Tt,{...m,children:i.jsxs("form",{id:Pe(ke),onSubmit:it,children:[h&&w===!0&&i.jsxs(zt,{children:[i.jsxs(Jt,{windowSize:p,children:[i.jsx(Kt,{windowSize:p,children:Z?a.businessVerificationDetails:de?a.verifyBusinessDetails:a.verifyBusinessDetailsWithoutTransfer}),!Z&&i.jsx(Qt,{children:i.jsxs(Xt,{children:[i.jsx(Ve,{}),de&&i.jsx(Ve,{}),i.jsx(Yt,{})]})})]}),i.jsx(Le,{isReadonly:Z,children:a.verifyBusinessDetailsDescription})]}),i.jsxs(Wt,{children:[i.jsx(jt,{companyOfficerData:b,allNationalityCountries:S,allOfficers:Y??[],sectionId:T,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:se,onEditFileName:ie,onOfficerAddressClick:ae,onDeleteFile:ne,isDisabled:$,filesEndPoint:s,authParams:B,isPopupOpen:K,openPopup:Ze,onGetOtp:Be,onVerifyOtp:Ee,onResendOtp:ze,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Ft,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:P,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:D,isDisabled:P?.code==="pending_review"||P?.code==="verified"?"readonly":$,fileProps:{authParams:B,filesEndPoint:s,onEditFileName:ie,onDeleteFile:ne,updateFilesEntity:se},onCompanyAddressClick:ae,onRegisteredAddressClick:_e,connectedAccountProvider:U,allIndustries:F,allNationalityCountries:S})]}),y==="zeni_accounts"?i.jsx(Gt,{windowSize:p,children:a.threadText.replace("__amount__",lt)}):null]})})]}),N==="Completed"&&(y==="zeni_treasury"?X?.companyVerificationStatus?.code!=="pending_review"&&X?.companyVerificationStatus?.code!=="verified":Q?.businessVerificationStatus?.code!=="pending_review"&&Q?.businessVerificationStatus?.code!=="verified")?i.jsx(Ot,{formId:Pe(ke),primaryBtn:{label:w?$e.submit:a.sendForVerificationButton,style:{width:"auto",minWidth:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:$!=null},containerStyle:{width:p==="small"?x.width.valuePx(p):"auto",justifyContent:p==="small"?"space-between":"center"},helperStyle:{width:p==="small"?x.width.valuePx(p):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(p),paddingRight:x.termsPaddingLeftRight.valuePx(p),textAlign:p==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?$e.back:a.saveDetailsButton,style:{width:p==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)A();else{const t=b[v],n=l?.primaryContactLocalData;M!=="save"&&re("save");const c=t?.email??"",f=tt(),C=at();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:t?.birthday?.toString(),companyOwnership:t?.ownershipInCompany,firstName:t?.firstName,lastName:t?.lastName,companyRole:t?.titleAtCompany,phone:t?.phone,formattedAddress:t?.addressStatus?.addressToCreate!=null?G(t?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:t?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?G(l?.addressStatus?.addressToCreate):void 0},{firstName:n?.firstName,lastName:n?.lastName,email:n?.email},y,o?"Settings":void 0),Ge?.(v))}}},helperText:Xe,style:{padding:`12px ${r.sp3}`,zIndex:K?0:4}}):null]})},Bt=(e,S,N,_)=>{const{companyDetailsLocalData:s,companyOfficerLocalData:B,companyView:y}=e,F=Fe.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[D]:{companyDescription:s?.companyDescription??"",ein:s?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:s?.companyId??"",syncToken:s?.syncToken,companyLegalName:s?.companyLegalName??"",companyWebsite:s?.website?.toString()??"",companyAddress:s?.addressStatus?.addressToCreate,registeredAddress:s?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:s?.companyIndustry,allOptions:S?.map(u=>u.code)},companyPhone:s?.phone??"",companyTaxId:s?.taxIdOrEIN??"",primaryContactName:{firstName:s?.primaryContactLocalData?.firstName??"",lastName:s?.primaryContactLocalData?.lastName??""},primaryContactEmail:s?.primaryContactLocalData?.email??"",primaryContactUserId:s?.primaryContactLocalData?.userId,primaryContactSyncToken:s?.primaryContactLocalData?.syncToken,fileIds:s?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:s?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:s?.incDate?.toDate(),typeOfIncorporation:{selectedOption:s?.typeOfIncorporation,allOptions:F.companyIncInfo.allTypesOfIncorporation},stateOfIncorporation:{selectedOption:s?.stateOfIncorporation,allOptions:F.companyIncInfo.allStatesOfIncorporation},sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(a.sourceOfFundOptions)},companySourceOfFunds:{selectedOption:s?.companySourceOfFunds??"",allOptions:Object.keys(a.companySourceOfFundOptions??{})},companySourceOfFundsDescription:s?.companySourceOfFundsDescription??"",transactionVolume:{selectedOption:s?.transactionVolume,allOptions:Object.keys(a.transactionVolumeOptions??{})},transactionVolumeDescription:s?.transactionVolumeDescription??"",purposeOfAccount:{selectedOption:s?.purposeOfAccount,allOptions:Object.keys(a.purposeOfAccountOptions??{})},purposeOfAccountDescription:s?.purposeOfAccountDescription??"",usNexus:s?.usNexus??"",usNexusTypes:{selectedOptions:(s?.usNexusTypes??[]).map(u=>a.usNexusOptions?.[u]??u),allOptions:Object.values(a.usNexusOptions??{})},regulatedStatus:s?.regulatedStatus??"",regulatedStatusDescription:s?.regulatedStatusDescription??""},[T]:Object.values(B).map((u,$)=>{const o=u,h=vt(o?.documentTypeSelectedForVerification);return{userId:o?.userId,officerType:o?.officerType??`Officer_${$+1}`,name:{firstName:o?.firstName,lastName:o?.lastName},email:o?.email,fileIds:o?.fileIds??[],dob:o?.birthday?.toDate(),nationalityCountryCode:It(o?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:o?.ssn,role:{selectedOption:o?.titleAtCompany,allOptions:N?.map(g=>g.code)},phone:o?.phone??"",ownership:o?.ownershipInCompany,officerAddress:o?.addressStatus?.addressToCreate,selectDocument:{front:Ie(!0,o?.userFiles??[],h),back:Ie(!1,o?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&$===0?!0:o?.isSelectedForVerification??!1,userVerificationStatus:o?.userVerificationStatus,treasuryUserVerificationStatus:o?.treasuryUserVerificationStatus,syncToken:o?.syncToken,isPhoneVerified:o?.isPhoneVerified,otpChallenge:o?.otpChallenge}})}},Pe=e=>`${e}_form`,Et=d.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
5
5
  width: 100%;
6
6
  row-gap: ${r.sp3};
7
7
  background-color: ${e=>e.isSettings?"unset":e.theme.colors.grey5};
8
- `,Et=d.div`
8
+ `,zt=d.div`
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  align-items: flex-start;
@@ -1,5 +1,5 @@
1
- import{J as f,V as r,F as m,b as y,o as a,O as w,a as x}from"./index-6sX8sCRU.js";import{n as o}from"./mui-BKJrVh4W.js";import{a as c}from"./sentry-BsWDfhY_.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]="dea98b09-cbef-489a-992b-afd5b7b4e633",e._sentryDebugIdIdentifier="sentry-dbid-dea98b09-cbef-489a-992b-afd5b7b4e633")}catch{}})();const $=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=m.getLocalizedStrings(),C={subText:new w("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=f(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,b=e.status.code==="request_on_hold"||!s?d:i,n=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${b}`,children:[h,r.jsx(H,{}),d,n&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,n&&s?r.jsx(u,{}):null]})},v=o(x)`
2
- ${e=>e.forDetailPage?{...y.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
1
+ import{J as f,V as r,F as y,b as w,o as a,a as b,c as x}from"./index-rJQoaAfw.js";import{n as o}from"./mui-KNfEk2A1.js";import{a as n}from"./sentry-CGE1ab0x.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]="c15503bd-18c2-482c-838a-a770e793a391",e._sentryDebugIdIdentifier="sentry-dbid-c15503bd-18c2-482c-838a-a770e793a391")}catch{}})();const $=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:p,spendManagement:{chargeCard:t}}=y.getLocalizedStrings(),C={subText:new b("extraSmallRegular","standardRegular")},j=({cardDetail:e,forDetailPage:s,styles:l})=>{const g=f(),h=e.type.code.includes("credit")?t.chargeCardsPromo.credit:t.chargeCardsPromo.debit;let d=e.type.code.includes("physical")?t.cardList.physicalCard:t.cardList.virtualCard;const i=p.strings.space+t.cardDetails.expiryHideOut+p.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!s?d:i,c=e.type.code.includes("physical");return r.jsxs(v,{style:l,windowSize:g,forDetailPage:s,className:"cardName",title:`${m}`,children:[h,r.jsx(H,{}),d,c&&!s?r.jsx(u,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!s?null:i,c&&s?r.jsx(u,{}):null]})},v=o(x)`
2
+ ${e=>e.forDetailPage?{...w.extraSmallRegular.cssObject}:`${C.subText.style(e.windowSize)}`};
3
3
  color: ${e=>e.theme.colors.hero};
4
4
  max-width: 100%;
5
5
  overflow: hidden;
@@ -1,4 +1,4 @@
1
- import{d as k,J as f,V as t,bC as te,fj as z,b as u,b3 as N,b$ as ie,o as i,F as w,p as B,y as h,al as v,dh as oe,u as l,aY as re,aN as T,bR as ae,ai as $,aP as L,jl as q,jm as Q,j1 as se,cz as ne,cC as de,am as O,j2 as le,j3 as ce}from"./index-6sX8sCRU.js";import{n as o}from"./mui-BKJrVh4W.js";import{G8 as b,bh as he}from"./zeni-epic-state-DEUUJaZy.js";import{P as R,a as V}from"./sentry-BsWDfhY_.js";import{F as pe}from"./InsightsSection-C3X6ZNEt-NjJemZo-.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as fe}from"./recharts-07URl5uF.js";import"./liveblocks-BAOmiMpj.js";import"./core-xud19niX.js";import"./lottie-cQKxXDSP.js";import"./analytics-Dz3HJTKp.js";import"./lexical-CFjIG720.js";import"./utils-lvnYc7Lx.js";import"./NavigationDots-C7Na64B9-CVWaz9qo.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]="472a5ebc-f511-4b7a-a421-6cb205f69c4b",e._sentryDebugIdIdentifier="sentry-dbid-472a5ebc-f511-4b7a-a421-6cb205f69c4b")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(X,{children:W.month})," ",t.jsx(G,{children:b(n).format($e)})]}),t.jsxs(E,{children:[t.jsx(X,{children:W.cashback}),t.jsx(G,{children:T("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
1
+ import{e as k,J as f,V as t,bC as te,fj as L,b as u,b3 as X,b$ as ie,o as i,F as w,p as B,y as h,al as v,dh as oe,u as l,aY as re,aN as O,bR as ae,ai as $,aP as z,jl as q,jm as Q,j1 as se,cz as ne,cC as de,am as T,j2 as le,j3 as ce}from"./index-rJQoaAfw.js";import{n as o}from"./mui-KNfEk2A1.js";import{G8 as b,bh as he}from"./zeni-epic-state-CiJSQQSe.js";import{P as R,a as V}from"./sentry-CGE1ab0x.js";import{F as pe}from"./InsightsSection-DEnkGYD8-BV7sZQsr.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as fe}from"./recharts-D8Mh9GJw.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./NavigationDots-BX9DbCj7-RHGokei7.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]="f52b4ddd-6bff-4f2e-8412-1e487703661b",e._sentryDebugIdIdentifier="sentry-dbid-f52b4ddd-6bff-4f2e-8412-1e487703661b")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(_,{children:W.month})," ",t.jsx(G,{children:b(n).format($e)})]}),t.jsxs(E,{children:[t.jsx(_,{children:W.cashback}),t.jsx(G,{children:O("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
2
2
  display: flex;
3
3
  gap: ${i.sp1};
4
4
  `,je=o.div`
@@ -17,14 +17,14 @@ import{d as k,J as f,V as t,bC as te,fj as z,b as u,b3 as N,b$ as ie,o as i,F as
17
17
  min-width: ${i.sp8};
18
18
  display: flex;
19
19
  justify-content: flex-end;
20
- `,X=o($)`
20
+ `,_=o($)`
21
21
  color: ${e=>e.theme.colors.hero};
22
22
  min-width: 107px;
23
- `,Se=R.memo(ve),{dateFormat:{visual:{MMMYYFormat:Ce,YYYYDashMMFormat:U}},common:{currency:M}}=w.getLocalizedStrings(),ze=({chartData:e,customToolTipContent:a,width:n,height:s})=>{const r=k();return t.jsx(Me,{width:n,height:s,children:t.jsx(N,{children:({height:c,width:p})=>t.jsxs(ge,{width:p,height:c,data:e,barCategoryGap:"25%",margin:{top:5,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(me,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(xe,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>b(g).format(Ce)}),t.jsx(we,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>re("0,0.[00]a",g,e?.[0].currencySymbol??M.currencySymbol)}),t.jsx(ue,{cursor:t.jsx(be,{}),content:a}),t.jsx(ye,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function Le({cashbackByPeriod:e,width:a,height:n}){const s=oe(e,c=>b(c.period),"asc"),r=Ie(s);return t.jsx(ze,{chartData:r,customToolTipContent:({active:c,payload:p,label:g})=>t.jsx(Se,{active:c,payload:p,label:g}),width:a,height:n})}const Pe=e=>e.format(U),Ie=e=>{const a=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let s=n?.period??he().subtract(1,"M").format(U);for(;a.length<12;){const r={amount:0,period:Pe(b(s).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??M.currencyCode,currencySymbol:n?.currencySymbol??M.currencySymbol};a.push(r),s=r.period}return a},Me=o.div`
23
+ `,Se=R.memo(ve),{dateFormat:{visual:{MMMYYFormat:Ce,YYYYDashMMFormat:U}},common:{currency:M}}=w.getLocalizedStrings(),Le=({chartData:e,customToolTipContent:a,width:n,height:s})=>{const r=k();return t.jsx(Me,{width:n,height:s,children:t.jsx(X,{children:({height:c,width:p})=>t.jsxs(ge,{width:p,height:c,data:e,barCategoryGap:"25%",margin:{top:5,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(me,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(xe,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>b(g).format(Ce)}),t.jsx(we,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:g=>re("0,0.[00]a",g,e?.[0].currencySymbol??M.currencySymbol)}),t.jsx(ue,{cursor:t.jsx(be,{}),content:a}),t.jsx(ye,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function ze({cashbackByPeriod:e,width:a,height:n}){const s=oe(e,c=>b(c.period),"asc"),r=Ie(s);return t.jsx(Le,{chartData:r,customToolTipContent:({active:c,payload:p,label:g})=>t.jsx(Se,{active:c,payload:p,label:g}),width:a,height:n})}const Pe=e=>e.format(U),Ie=e=>{const a=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let s=n?.period??he().subtract(1,"M").format(U);for(;a.length<12;){const r={amount:0,period:Pe(b(s).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??M.currencyCode,currencySymbol:n?.currencySymbol??M.currencySymbol};a.push(r),s=r.period}return a},Me=o.div`
24
24
  width: ${e=>e.width}px;
25
25
  height: ${e=>e.height}px;
26
26
  background: ${e=>e.theme.colors.grey5};
27
- `,Z=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,Fe={key:"month",value:Z.month,sortOrder:"ascending",width:new h(50,50)},De={key:"cashback",value:Z.cashback,sortOrder:"ascending",width:new h(50,50)},ee=()=>[Fe,De],y={headerLastColumnTopPadding:new h(l[0],l[4]),headerLastColumnRightPadding:new h(l[3],l[11]),headerLastColumnBottomPadding:new h(l[0],l[4]),headerLastColumnLeftPadding:new h(l[3],l[11]),headerHeight:new h(le,ce)};function Be({sortConfig:e,onColumnSortConfigChanged:a}){const n=k(),s=f(),[r,c]=V.useState(ee());V.useEffect(()=>{const d=[...r];for(const m of d)m.key===e.sortKey?m.sortOrder=e.sortOrder:m.sortOrder="ascending";c(d)},[e.sortKey,e.sortOrder]);const p=(d,m)=>{let K=m;e.sortKey===d&&(K=m==="ascending"?"descending":"ascending"),a(d,K)},g=r.find(d=>d.key===e.sortKey)??r[0],S=d=>r.find(m=>m.key===d)?.value??"",C=r.map(d=>d.key),Y=w.getLocalizedStrings().spendManagement.chargeCard.cardList;return s==="small"?t.jsxs(_,{windowSize:s,children:[t.jsxs(Ye,{children:[t.jsx(Ve,{children:t.jsx(Ke,{})}),t.jsx(ae,{title:Y.sortBy,placeholder:Y.sortBy,pickerValues:C,valueToLabel:S,selectedValue:e.sortKey,onPickerSelectionChanged:d=>{p(d,"ascending")},optionTextStyle:u.smallRegular,titleTextStyle:u.smallRegular,titleColor:n.colors.primary,selectedOptionColor:n.colors.hero,optionBackgroundColor:n.colors.grey5,downChevronVisible:!1,backgroundColor:n.colors.grey4})]}),t.jsxs(Ge,{onClick:()=>p(g.key,g.sortOrder),"data-testid":L("cashback-list-header-mobile",g.value),children:[t.jsx($,{children:g.value}),t.jsx(A,{sortDataValue:e.sortKey,headerdata:g,children:t.jsx(H,{})})]})]}):t.jsx(_,{windowSize:s,children:r.map((d,m)=>t.jsxs(Oe,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:m===r.length-1,windowSize:s,children:[t.jsxs(Ee,{onClick:()=>p(d.key,d.sortOrder),"data-testid":L("cashback-list-header",d.value),children:[t.jsx($,{children:d.value}),t.jsx(A,{sortDataValue:e.sortKey,headerdata:d,children:t.jsx(H,{})})]}),t.jsx(We,{sortDataValue:e.sortKey,windowSize:s,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Re,{onClick:()=>p("month","ascending"),"data-testid":L("cashback-list-close-sort",d.key)})})]},d.key))})}const Te=R.memo(Be),_=o($)`
27
+ `,Z=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,Fe={key:"month",value:Z.month,sortOrder:"ascending",width:new h(50,50)},De={key:"cashback",value:Z.cashback,sortOrder:"ascending",width:new h(50,50)},ee=()=>[Fe,De],y={headerLastColumnTopPadding:new h(l[0],l[4]),headerLastColumnRightPadding:new h(l[3],l[11]),headerLastColumnBottomPadding:new h(l[0],l[4]),headerLastColumnLeftPadding:new h(l[3],l[11]),headerHeight:new h(le,ce)};function Be({sortConfig:e,onColumnSortConfigChanged:a}){const n=k(),s=f(),[r,c]=V.useState(ee());V.useEffect(()=>{const d=[...r];for(const m of d)m.key===e.sortKey?m.sortOrder=e.sortOrder:m.sortOrder="ascending";c(d)},[e.sortKey,e.sortOrder]);const p=(d,m)=>{let K=m;e.sortKey===d&&(K=m==="ascending"?"descending":"ascending"),a(d,K)},g=r.find(d=>d.key===e.sortKey)??r[0],S=d=>r.find(m=>m.key===d)?.value??"",C=r.map(d=>d.key),Y=w.getLocalizedStrings().spendManagement.chargeCard.cardList;return s==="small"?t.jsxs(A,{windowSize:s,children:[t.jsxs(Ye,{children:[t.jsx(Ve,{children:t.jsx(Ke,{})}),t.jsx(ae,{title:Y.sortBy,placeholder:Y.sortBy,pickerValues:C,valueToLabel:S,selectedValue:e.sortKey,onPickerSelectionChanged:d=>{p(d,"ascending")},optionTextStyle:u.smallRegular,titleTextStyle:u.smallRegular,titleColor:n.colors.primary,selectedOptionColor:n.colors.hero,optionBackgroundColor:n.colors.grey5,downChevronVisible:!1,backgroundColor:n.colors.grey4})]}),t.jsxs(Ge,{onClick:()=>p(g.key,g.sortOrder),"data-testid":z("cashback-list-header-mobile",g.value),children:[t.jsx($,{children:g.value}),t.jsx(H,{sortDataValue:e.sortKey,headerdata:g,children:t.jsx(J,{})})]})]}):t.jsx(A,{windowSize:s,children:r.map((d,m)=>t.jsxs(Te,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:m===r.length-1,windowSize:s,children:[t.jsxs(Ee,{onClick:()=>p(d.key,d.sortOrder),"data-testid":z("cashback-list-header",d.value),children:[t.jsx($,{children:d.value}),t.jsx(H,{sortDataValue:e.sortKey,headerdata:d,children:t.jsx(J,{})})]}),t.jsx(We,{sortDataValue:e.sortKey,windowSize:s,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Re,{onClick:()=>p("month","ascending"),"data-testid":z("cashback-list-close-sort",d.key)})})]},d.key))})}const Oe=R.memo(Be),A=o($)`
28
28
  top: ${i.sp0};
29
29
  left: ${i.sp0};
30
30
  min-height: ${e=>y.headerHeight.valuePx(e.windowSize)};
@@ -38,7 +38,7 @@ import{d as k,J as f,V as t,bC as te,fj as z,b as u,b3 as N,b$ as ie,o as i,F as
38
38
  background-color: ${e=>e.theme.colors.grey4};
39
39
  justify-content: space-between;
40
40
  position: sticky;
41
- `,Oe=o.div`
41
+ `,Te=o.div`
42
42
  color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
43
43
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
44
44
  max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
@@ -55,12 +55,12 @@ import{d as k,J as f,V as t,bC as te,fj as z,b as u,b3 as N,b$ as ie,o as i,F as
55
55
  height: 12px;
56
56
  cursor: pointer;
57
57
  color: ${e=>e.theme.colors.hero};
58
- `,A=o.div`
58
+ `,H=o.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
62
62
  ${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
63
- `,H=o(ne)`
63
+ `,J=o(ne)`
64
64
  width: 12px;
65
65
  height: 12px;
66
66
  cursor: pointer;
@@ -94,12 +94,12 @@ import{d as k,J as f,V as t,bC as te,fj as z,b as u,b3 as N,b$ as ie,o as i,F as
94
94
  &:hover {
95
95
  color: ${e=>e.theme.colors.primary};
96
96
  }
97
- `,x={containerPaddingLeft:new h(l[3],l[4]),containerPaddingRight:new h(l[3],l[4]),containerPaddingTop:new h(l[2],16),containerPaddingBottom:new h(l[2],16),containerMarginLeft:new h(l[4],l[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:Xe}},dateFormat:{visual:_e}}=w.getLocalizedStrings(),Ae=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=ee(),c=q(e.period),p=Q(c);return t.jsx(qe,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(Qe,{children:t.jsxs(Ue,{children:[t.jsx(Ze,{windowSize:s,responsiveWidth:r[0].width,children:t.jsxs(et,{windowSize:s,children:[b(e.period).format(_e.MMMMYYYYFormat),p?t.jsxs(Je,{children:[t.jsx(Ne,{}),t.jsx(He,{children:Xe.tillDate})]}):null]})}),t.jsx(tt,{windowSize:s,responsiveWidth:r[1].width,children:t.jsx(it,{windowSize:s,children:T("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},He=o(O)`
97
+ `,x={containerPaddingLeft:new h(l[3],l[4]),containerPaddingRight:new h(l[3],l[4]),containerPaddingTop:new h(l[2],16),containerPaddingBottom:new h(l[2],16),containerMarginLeft:new h(l[4],l[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:_e}},dateFormat:{visual:Ae}}=w.getLocalizedStrings(),He=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=ee(),c=q(e.period),p=Q(c);return t.jsx(qe,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(Qe,{children:t.jsxs(Ue,{children:[t.jsx(Ze,{windowSize:s,responsiveWidth:r[0].width,children:t.jsxs(et,{windowSize:s,children:[b(e.period).format(Ae.MMMMYYYYFormat),p?t.jsxs(Ne,{children:[t.jsx(Xe,{}),t.jsx(Je,{children:_e.tillDate})]}):null]})}),t.jsx(tt,{windowSize:s,responsiveWidth:r[1].width,children:t.jsx(it,{windowSize:s,children:O("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},Je=o(T)`
98
98
  color: ${e=>e.theme.colors.grey1};
99
- `,Je=o.div`
99
+ `,Ne=o.div`
100
100
  display: flex;
101
101
  align-items: center;
102
- `,Ne=o.div`
102
+ `,Xe=o.div`
103
103
  height: ${i.sp1};
104
104
  width: ${i.sp1};
105
105
  margin-right: ${i.sp2};
@@ -175,7 +175,7 @@ import{d as k,J as f,V as t,bC as te,fj as z,b as u,b3 as N,b$ as ie,o as i,F as
175
175
  width: 100%;
176
176
  display: flex;
177
177
  justify-content: end;
178
- `,F={containerMarginLeft:new h(l[3],l[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:ot}},dateFormat:{visual:rt}}=w.getLocalizedStrings(),at=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=q(e.period),c=Q(r);return t.jsx(lt,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(ct,{children:t.jsxs(ht,{children:[t.jsx(gt,{children:t.jsxs(pt,{windowSize:s,children:[b(e.period).format(rt.MMMMYYYYFormat),c?t.jsxs(nt,{children:[t.jsx(dt,{}),t.jsx(st,{children:ot.tillDate})]}):null]})}),t.jsx(mt,{children:t.jsx(xt,{children:T("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},st=o(O)`
178
+ `,F={containerMarginLeft:new h(l[3],l[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:ot}},dateFormat:{visual:rt}}=w.getLocalizedStrings(),at=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f(),r=q(e.period),c=Q(r);return t.jsx(lt,{windowSize:s,isFirstItem:a,isLastItem:n,children:t.jsx(ct,{children:t.jsxs(ht,{children:[t.jsx(gt,{children:t.jsxs(pt,{windowSize:s,children:[b(e.period).format(rt.MMMMYYYYFormat),c?t.jsxs(nt,{children:[t.jsx(dt,{}),t.jsx(st,{children:ot.tillDate})]}):null]})}),t.jsx(mt,{children:t.jsx(xt,{children:O("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},st=o(T)`
179
179
  color: ${e=>e.theme.colors.grey1};
180
180
  `,nt=o.div`
181
181
  display: flex;
@@ -230,9 +230,9 @@ import{d as k,J as f,V as t,bC as te,fj as z,b as u,b3 as N,b$ as ie,o as i,F as
230
230
  `,mt=o.div`
231
231
  display: flex;
232
232
  flex-direction: column;
233
- `,xt=o(O)`
233
+ `,xt=o(T)`
234
234
  color: ${e=>e.theme.colors.hero};
235
- `,J={separatorMarginLeftRight:new h(l[3],l[8])},wt=({cashbackByPeriod:e,uiState:a,onColumnSortConfigChanged:n})=>{const s=f();return t.jsxs(ft,{children:[t.jsx(Te,{onColumnSortConfigChanged:n,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),t.jsx(yt,{children:e.map((r,c)=>t.jsxs(R.Fragment,{children:[t.jsx(ut,{cashbackPeriod:r,isFirstItem:c===0,isLastItem:c===e.length-1}),c===e.length-1?null:t.jsx(bt,{windowSize:s})]},r.period))})]})},ut=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f()==="small"?at:Ae;return t.jsx(s,{cashbackPeriod:e,isFirstItem:a,isLastItem:n})},yt=o.div``,ft=o.div`
235
+ `,N={separatorMarginLeftRight:new h(l[3],l[8])},wt=({cashbackByPeriod:e,uiState:a,onColumnSortConfigChanged:n})=>{const s=f();return t.jsxs(ft,{children:[t.jsx(Oe,{onColumnSortConfigChanged:n,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),t.jsx(yt,{children:e.map((r,c)=>t.jsxs(R.Fragment,{children:[t.jsx(ut,{cashbackPeriod:r,isFirstItem:c===0,isLastItem:c===e.length-1}),c===e.length-1?null:t.jsx(bt,{windowSize:s})]},r.period))})]})},ut=({cashbackPeriod:e,isFirstItem:a,isLastItem:n})=>{const s=f()==="small"?at:He;return t.jsx(s,{cashbackPeriod:e,isFirstItem:a,isLastItem:n})},yt=o.div``,ft=o.div`
236
236
  display: block;
237
237
  height: 100%;
238
238
  `,bt=o.div`
@@ -241,9 +241,9 @@ import{d as k,J as f,V as t,bC as te,fj as z,b as u,b3 as N,b$ as ie,o as i,F as
241
241
  background-color: ${e=>e.theme.colors.grey3};
242
242
  min-height: 1px;
243
243
  max-height: 1px;
244
- margin-left: ${e=>J.separatorMarginLeftRight.valuePx(e.windowSize)};
245
- margin-right: ${e=>J.separatorMarginLeftRight.valuePx(e.windowSize)};
246
- `,D={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Vt=({insightsData:e,cashbackByPeriod:a,uiState:n,cashbackSummary:s,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),g=f();return t.jsxs(Ct,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs($t,{windowSize:g,children:[t.jsxs(vt,{windowSize:g,children:[t.jsxs(P,{children:[t.jsx(I,{children:j.totalEarned}),t.jsx(z,{amount:s.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(P,{children:[t.jsx(I,{children:j.redeemed}),t.jsx(z,{amount:s.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(P,{children:[t.jsx(I,{children:j.available}),t.jsx(z,{amount:s.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(jt,{children:t.jsx(N,{children:({height:S,width:C})=>t.jsx(Le,{cashbackByPeriod:a,width:C,height:S})})}),t.jsx(kt,{children:t.jsx(pe,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(St,{children:t.jsx(wt,{cashbackByPeriod:a,uiState:n,onColumnSortConfigChanged:c})})]})},$t=o.div`
244
+ margin-left: ${e=>N.separatorMarginLeftRight.valuePx(e.windowSize)};
245
+ margin-right: ${e=>N.separatorMarginLeftRight.valuePx(e.windowSize)};
246
+ `,D={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Vt=({insightsData:e,cashbackByPeriod:a,uiState:n,cashbackSummary:s,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),g=f();return t.jsxs(Ct,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs($t,{windowSize:g,children:[t.jsxs(vt,{windowSize:g,children:[t.jsxs(P,{children:[t.jsx(I,{children:j.totalEarned}),t.jsx(L,{amount:s.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(P,{children:[t.jsx(I,{children:j.redeemed}),t.jsx(L,{amount:s.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(P,{children:[t.jsx(I,{children:j.available}),t.jsx(L,{amount:s.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(jt,{children:t.jsx(X,{children:({height:S,width:C})=>t.jsx(ze,{cashbackByPeriod:a,width:C,height:S})})}),t.jsx(kt,{children:t.jsx(pe,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(St,{children:t.jsx(wt,{cashbackByPeriod:a,uiState:n,onColumnSortConfigChanged:c})})]})},$t=o.div`
247
247
  position: relative;
248
248
  box-shadow: ${B.dropShadowNormalLight} 2px 2px ${i.sp1};
249
249
  background-color: ${e=>e.theme.colors.grey5};