@zeniai/web-cockpit-ui 1.13.91-qa → 1.13.92-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 (250) hide show
  1. package/dist/assets/{ACHDetailsPage---jqahtW-3ChA06hG.js → ACHDetailsPage-DSxVnTLA-DXaPhpBb.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CqtdCyg8-RpmSDjyt.js → AIPerformancePage-DpJmdFIS-DdYjoAnf.js} +36 -36
  3. package/dist/assets/{AccountInfoPage-Bj1CYa-r-Bf6OcXSe.js → AccountInfoPage-UxE6vaxM-CTCDVeHj.js} +2 -2
  4. package/dist/assets/AccountInfoPageContent-B8luWP8D-BvO-xoVa.js +149 -0
  5. package/dist/assets/{AccountReconDetailsDrawerPage-B4UwcNN9-BdC_DNXN.js → AccountReconDetailsDrawerPage-CRuSLa04-C6RSAAh5.js} +18 -18
  6. package/dist/assets/AccountRow-DVnBiB7_-BUb357r1.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-DJRAw09x-jCY6ZTFZ.js → AccountsPromoCardStack-oPvi6hmo-Cb1NCYmc.js} +26 -26
  8. package/dist/assets/{AddAddressForCardDrawer-C16ksTIf-DroppcyJ.js → AddAddressForCardDrawer-Bl8FShie-B0Exe6lR.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-CDP1oPrv-DF_xHuRT.js → AddToWalletPage-BykgUTfa-Cb4sl07y.js} +22 -22
  10. package/dist/assets/{AgingReportsPage-BE4plS7V-KR8f9X9w.js → AgingReportsPage-CtpuS77Y-CRkQ2tHo.js} +7 -7
  11. package/dist/assets/{AllUserItems-hoI2_gnV-BRUaQKD-.js → AllUserItems-zqRosy03-ampV7sMY.js} +8 -8
  12. package/dist/assets/{ApAgingDetailPage-Lxprtz8c-C3QhiLas.js → ApAgingDetailPage-B4dHhJE1-DX7CQmyB.js} +2 -2
  13. package/dist/assets/{AppBasePage-DNOkJf4q-GkfK51Rp.js → AppBasePage-ntAldChd-Da_5AGnO.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-DG2Jr298-D_tKdJ-G.js → AppDrawerContent-LRG0OW3a-BgVe2pK0.js} +11 -11
  15. package/dist/assets/{ApprovalRulesSettingsPage-DnKXln0A-BsRvHEn-.js → ApprovalRulesSettingsPage-CFCbNOcB-CE0uOkBi.js} +1 -1
  16. package/dist/assets/ArAgingChart-BmfMCB8_-Bg3m3QlY.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-Djsocm6M-B3yMvCJ-.js → ArAgingDetailPage-C2lhYsGV-BhHfiwwM.js} +3 -3
  18. package/dist/assets/{AttachmentView-C3AzH7cN-ChG7fA-Q.js → AttachmentView-CQlsMYN3-DG4dPEyp.js} +8 -8
  19. package/dist/assets/{BankAccountSection-6zosSfPV-CXSmri0o.js → BankAccountSection-D1tQzNSO-piXQT6-V.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-CWeN3me0-D_hO0nk_.js → BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js} +8 -8
  21. package/dist/assets/{BankConnectionsSettingsPage-C6e0pgD4-BnnprEFS.js → BankConnectionsSettingsPage-UQAJXShM-C8thl88u.js} +22 -22
  22. package/dist/assets/{BillDetailPage-DyIokQbf-Bquph9Bo.js → BillDetailPage-BOy1MkMT-CTieBS_0.js} +8 -8
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BOhQfwEj-ChYSixEI.js → BillPayApprovalRuleDetailPage-C7c04fyW-D_3vBsw2.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-CSua3b4v-Bkyuhwb2.js → BillPayApprovalRulesPage-D7vn36vA-CcaFc_r3.js} +7 -7
  25. package/dist/assets/{BillPayPromoPage-CtenNypw-C_9psZOE.js → BillPayPromoPage-VCQ0v0Ko-_chCPS2P.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-CAnvQ_-Q-ZA-_YZf8.js → BillPaySetUpPage-MD1PbTMB-DAVLcuLh.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CjSAhEFl-Rl0hR0Ca.js → BillingSettingsPage-B0U9RKLC-CSDiDt5p.js} +4 -4
  28. package/dist/assets/{BillsBulkReviewDrawerPage-B62rj2kN-FqD3XoAg.js → BillsBulkReviewDrawerPage-CStmvhgL-CRjbCjmC.js} +1 -1
  29. package/dist/assets/{BoxItem-Cqmd_7h4-CfyEKAO2.js → BoxItem-D3v5T6bP-DCh7smhZ.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-BIba2-zs-BbKHm-00.js +140 -0
  31. package/dist/assets/{CardNumberSubText-DszoXtgg-DKJDSfnY.js → CardNumberSubText-DoWj5vAy-CUdY7eYA.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DAwARNZD-CV9kThkz.js → CashbackDetailPage-CPz0J2HA-mlCo9BqT.js} +9 -9
  33. package/dist/assets/{ChargeCardDetailPage-BzbR-Z63-C7jHWQlr.js → ChargeCardDetailPage-DxE5h1S5-_Ar3evhS.js} +29 -29
  34. package/dist/assets/{ChargeCardListPage-DSOp7sFg-B8XxYsoa.js → ChargeCardListPage-fXayrykw-DfSXe2y4.js} +10 -10
  35. package/dist/assets/{ChargeCardListTable-BE4it4le-DwwBt-Xo.js → ChargeCardListTable-C-WxFg6W-ZTAQI24j.js} +103 -103
  36. package/dist/assets/ChargeCardPromoPage-CiwWzvym-CQS1Kn9Z.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-Dm_N5oDM-6aNXYRf_.js → ChargeCardSetupPage-ByLkUH5I-CAqoYnxa.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-Dhqs5CF4-cL5q3hW_.js → ChargeCardStatementsPage-Dsv5AXrZ-DLsXp3ds.js} +2 -2
  39. package/dist/assets/{ChargeCardUtils-oF0M6Gmc-Ct7KyDRh.js → ChargeCardUtils-CVC43_6w-DTPKdzGf.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DPgGIuyV-ByssAih3.js → ChaseOverlay-CHWBgNa9-BGn2Q_2a.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-DySu5_BH-zAFSAP0i.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-DMr2UDgH-DvDLHOqv.js → CollapsableReportTable-ZObwzBbY-BfOvomCm.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-B_cIues7-BSlTpP3h.js → CompanyOfficerDetailsSection-DVG0lvX--Dfy9v0Wy.js} +19 -19
  44. package/dist/assets/{CompanyPassportCard-CHF83hfN-CNSf7SFP.js → CompanyPassportCard-DBZRV0g0-BA5CzU7Q.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-C5W3KcDY-DnIzBLtQ.js → CompanyPassportPage-BoaNol0L-DnxxOJfB.js} +17 -17
  46. package/dist/assets/CompleteProfile-nkRKLJTF-D06O2tPg.js +36 -0
  47. package/dist/assets/{ConfettiBurst-DVT9EpwF-DYg9k9jR.js → ConfettiBurst-BYoGZ66F-DY-7GLNq.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DVbYQaWM-BaA_UFlu.js → CreateOrEditVendorPage-C1Yx8t4M-BzNtZfYl.js} +10 -10
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D2qT7vsE-Y_YoHZps.js → CreditCardPaymentDrawerPage-DlnR16jr-Cp09nlhb.js} +10 -10
  50. package/dist/assets/{CreditCardPaymentPlgSection-7cmMRTQm-CU7sMyU4.js → CreditCardPaymentPlgSection-CZ2vyMiF-CAkrDs6q.js} +9 -9
  51. package/dist/assets/{CurrencySelectField-ClhIJFVw-CLhsAy_e.js → CurrencySelectField-vH1oB0K8-B5AHvAUJ.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-D-Ihd-H0-B396iW9k.js → CustomerOnboardingActivationPage-rpZmgNZo-CwICpwxp.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-a_kK-7zZ.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CUxNOK4z-CwH5vMj5.js → CustomerOnboardingDetailPageSkeleton-CFIeHxxw-SHM_Ui8B.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-B9ts3Tla-BXpcGaV-.js → CustomerOnboardingNoStepsPage-BueMiyFl-46-BK9fl.js} +7 -7
  56. package/dist/assets/CustomerOnboardingPage-CmHXtB9v-BJU0moTi.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-iSJtAhvu-Cw-odrmh.js → CustomerOnboardingProductSuitePage-I9pftf_j-DOK-Bf5L.js} +5 -5
  58. package/dist/assets/{Dashboard-SKeHZ5QY-B2GVjrgN.js → Dashboard-DcfkiicK-D3UJUCYb.js} +38 -38
  59. package/dist/assets/DashboardReportPage-B7J8yZR6-B09J8zzA.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem-DJNio75H-CDFyveYc.js → DepositAccTransactionItem-CP_2AL3M-BdaPu6PV.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DTIjlF2l-BZTuE-wM.js → DepositAccTransactionListPage-C4o1y1mJ-KyIyoawm.js} +4 -4
  62. package/dist/assets/{DocumentSecurityBanner-CVNWDvAg-CiXmlvlx.js → DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-t0Ebo518-CZtrAoDV.js +21 -0
  64. package/dist/assets/{DownloadOverlay-BLj0xso_-DXtmQxsj.js → DownloadOverlay-CPW9ebxu-B84vZ8Vf.js} +1 -1
  65. package/dist/assets/{DrawerPage-CEetzMMx-CcNtwUX_.js → DrawerPage-Xc2rQipJ-CbzWMzby.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-DDUuO0Nh-9VJbE7yG.js → EditPeoplePage-CF5UleI0-DHfURipS.js} +8 -8
  67. package/dist/assets/{EditReimbursementDetailPage-CT8mqYr5-B_Jf7KJi.js → EditReimbursementDetailPage-DGCkOykv-BxliJYVA.js} +24 -24
  68. package/dist/assets/{EntityDetailPage-DMh6o0bo-Tf00xv72.js → EntityDetailPage-BykQZo8S-TLciQOdt.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-tK_X4uAf-BVPVgLOE.js → EntitySummarySection-Dw4PBcg_-D8XPKjkN.js} +5 -5
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CLUiYjKg-CU0IEYOH.js → ExpenseAutomationOverviewPage-BwAaZVq3-DULdspcH.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-C9biTgak-D_ShaLsh.js → ExpenseAutomationPage-Cqiyk-AY-Cbn2hM3p.js} +82 -82
  72. package/dist/assets/{ExpressPayPage-DpAixmcQ-cSQN8DUb.js → ExpressPayPage-D0lCczvw-DeekuCPU.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-BohUqOFz-GZLm2aVP.js → FeaturePreviewPage-CxZIUB8l-xGc8umN-.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BAUXUzTr-Cl4ucwG7.js → FollowStepsSection-CILr1_vc-DOHzLCEi.js} +10 -10
  75. package/dist/assets/{GlobalReviewListPage-BxYHNkut-Dw88vaJy.js → GlobalReviewListPage-DL6H7PZG-CcFAQ4Jd.js} +8 -8
  76. package/dist/assets/{HelpButton-8AQIbLQM-Bs9xtUX-.js → HelpButton-CkSfhBfN-BCuT-w0J.js} +2 -2
  77. package/dist/assets/{InformationCardStack-76GlZ-Bq-Dj5kHoKj.js → InformationCardStack-i76c5dym-B_ZpROXq.js} +2 -2
  78. package/dist/assets/{InsightsCardStack-CvOFi2Uu-GoCB56W7.js → InsightsCardStack-wcWhovKK-DSw729j8.js} +9 -9
  79. package/dist/assets/{InsightsSection-DyF8JZIR-B8z3WtkK.js → InsightsSection-CCzgI0uK-wk2msd_s.js} +2 -2
  80. package/dist/assets/{IntegrationsSettingsPage-mys0-i40-mThzqlxs.js → IntegrationsSettingsPage-B2CDE2Xd-D7F50RmA.js} +4 -4
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-km4qEcXH-DzXUyrBc.js → InternationalWireSwiftDetailsPage-DNT75nXv-Ugsofr3W.js} +7 -7
  82. package/dist/assets/{InternationalWireVerificationPage-DauhGM3c-PML0mcEK.js → InternationalWireVerificationPage-BDxujQK--CFeRgIkU.js} +5 -5
  83. package/dist/assets/{InviteFormPage-FSL8fEXT-XOAQmZ0f.js → InviteFormPage-BnLBPR7X-QQpB8eQo.js} +16 -16
  84. package/dist/assets/{InvitePageListView-zaQ1xEHJ-DXp4zJVf.js → InvitePageListView-7mhz_Fyy-D6doua_f.js} +32 -32
  85. package/dist/assets/{InvitePeoplePage-BNB36i8Y-9uiKACEE.js → InvitePeoplePage-B8gb9N_8-DX1GZlvh.js} +2 -2
  86. package/dist/assets/{InvoiceUploadSection-FXrB92T6-BRuwVoDg.js → InvoiceUploadSection-Bes1nCJn-Be4DogKt.js} +6 -6
  87. package/dist/assets/{IssueChargeCardPage-D3cUp2DE-C_i671Vx.js → IssueChargeCardPage-DC3yIsQd-D0BAohGU.js} +21 -21
  88. package/dist/assets/{LabeledAddressValue-BF6r800B-CkTOFry_.js → LabeledAddressValue-Dtw8vM0g-D81z6ltq.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-DYelJL4d-BdG9VHrT.js → LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-B2ATKJBH-_otf63xJ.js → LabeledControlledCheckBoxField-BFaru2xf-AfZiR_o0.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-B9zUAA6L-D3nwZduF.js → LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-aYYBY16j-D9fngETw.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-Co7u6hHL-Cpugeu34.js +59 -0
  94. package/dist/assets/{LabeledText-C34I_iEo-BsDSAdqR.js → LabeledText-BrOLGzO5-CQVuQAJd.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-D9g8GE2z.js → LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8_Gy80w.js} +5 -5
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Caj0_1zM-DwR_QE_h.js → LabeledZeniRolesDropDownField-WXH8xLJq-Bz0_UVs1.js} +12 -12
  97. package/dist/assets/{LinkJETransactionPage-DLmZGscZ-DZDMtlRu.js → LinkJETransactionPage-NFV4Vo3i-Dh75sd9Q.js} +12 -12
  98. package/dist/assets/{LowBalancePopup-ll1SesgY-D5DfcA4S.js → LowBalancePopup-Bxkd2pBR-DnLeMaGm.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DXzjYrdU-CMRlhl3b.js → MagicLinkACHDetailsPage-BJFlUq7i-CR2iAlWE.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CUwp46Wf-B5l_TN4a.js → MagicLinkDomesticWireDetailsPage-CTuaNol6-CwHBeiVQ.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-B_h0EHoZ-B0W1vrwK.js → MagicLinkInternationalWireDetailsPage-L2dPsfWM-jS2Sj2EL.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-BX4E-l5M-yzYkClOj.js → MagicLinkSuccessPage-DutanrSJ-BcHGJ4_T.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-DHe9TfVe-BQMUL_lY.js → MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.js} +2 -2
  104. package/dist/assets/MailingDetailsSection-DwWeiSC0-CYpVyPYc.js +21 -0
  105. package/dist/assets/{MeetingCalenderPopup-D4tz-H5i-BwkhIyJ3.js → MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js} +3 -3
  106. package/dist/assets/{Menu-C9u3eDJk-yLJSeW2r.js → Menu-CrSQ1yNo-Cx3bEBb1.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-DVp3h4c0-DQZFL0jq.js → MyBankConnectionsSettingsPage-CJjW9ymP-BqJ36Kdj.js} +8 -8
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BTk8mY7B-Bve-Rskd.js → MyPendingActivationChargeCardListPage-CvxqOjc7-DSUp87U3.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BdcDAwKZ-C12kcuIJ.js → MyProfileSettingsPage-BX5dXulH-rLCsz38p.js} +9 -9
  110. package/dist/assets/{NavBarWithPicker-DbSWvh0o-NuI9g1n_.js → NavBarWithPicker-CuVAj7o5-QRyCYrfU.js} +4 -4
  111. package/dist/assets/{NavigationArrow-BP8cU19I-ycJIkMac.js → NavigationArrow-BPQ9vRqR-CA2ua3KM.js} +1 -1
  112. package/dist/assets/{NavigationDots-nvOimTil-G0PfP6Yi.js → NavigationDots-Toh5TKEv-D4TuvGNx.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-D-imjD0M-DzspWfsO.js → NewGlobalMerchantPage-B4r1haCm-V82_isUI.js} +6 -6
  114. package/dist/assets/NoDataChart-CVM-QPHf-C-oyhVAy.js +26 -0
  115. package/dist/assets/{NoDataTable-d0_62BR0-6d_cpGKF.js → NoDataTable-CM-tApqo-CD71WwmK.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BydQGX11-9vbareo0.js → NotFoundPage-I-EBmx2b-H5l_OBUP.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-BIzaZFzy-DhKXX3i_.js → NotificationSettingsPage-CtZ7hdMN-D-_tIuJn.js} +6 -6
  118. package/dist/assets/NotificationsListConfig-BAKipCDG-DNDbmhPU.js +1 -0
  119. package/dist/assets/{NotificationsPage-BdI4E6uL-DFMKLOUo.js → NotificationsPage-xyLmK3l7-D0WoPK5r.js} +21 -21
  120. package/dist/assets/{OpExByVendorPage-Dm90CRYi-B68ZMMjY.js → OpExByVendorPage-B63DEuJM-BARCJc78.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-nhe7xtoR-BOZ7SsR9.js → OverlayContainerPage-C0rUb6-5-BDWmQRwQ.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DhbFHH25-D0XOsg4W.js → PandLWithForecastPage-uY-ajYp4-Lez30LQU.js} +6 -6
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Debi_lWf-CETxD32S.js → PaymentAccountSetupBillingAddressSection-DM9NYbmX-C_WC5GD-.js} +6 -6
  124. package/dist/assets/{PeoplePage-BACu55RO-BFQQAI9y.js → PeoplePage-DPZj6XeQ-87NclcP_.js} +24 -24
  125. package/dist/assets/{PortfolioAllocationFormPage-Cjz_E3BK-B5eupbQJ.js → PortfolioAllocationFormPage-De56plDa-D_5OdoiP.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-CS2st-Mx-CPXNb_Sr.js → PortfolioDetails-DiITguNZ-C9ff3dxU.js} +9 -9
  127. package/dist/assets/{ProductsCarousel-TB4uKZbg-OXb4ZerZ.js → ProductsCarousel-BojgZxY7-C7ixhh1B.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-BMPp9RNQ-C3lOWNQ-.js → PromoBaseCards-DPAkjdDp-BSbN47iG.js} +5 -5
  129. package/dist/assets/{QBOConnectionDialog-B1b1wGeq-B4g-RMHZ.js → QBOConnectionDialog-CzuH4c1o-CmxBeQPY.js} +9 -9
  130. package/dist/assets/{QBOSetupSection-Bj_y0Lo2-BwyEXg6_.js → QBOSetupSection-DJBfLeXn-CaDVg5Hs.js} +9 -9
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cz4RtqYb-CP2Ebcdr.js → ReimbursementApprovalRuleDetailPage-CAcLCt68-CHZOZjbd.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-DJlNT4Ov-DI0wrt_m.js → ReimbursementApprovalRulesPage-edz_6MDX-C6mJ2DuI.js} +43 -43
  133. package/dist/assets/ReimbursementDetailPage-DD_GbfiV-DO_TXxDc.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-ppaPJby5-z4lw_k8N.js → ReimbursementPromoPage-B_HZWdXi-ujWpRxU3.js} +6 -6
  135. package/dist/assets/{ReimbursementSetUpPage-B6mZrzQB-BUejN3hX.js → ReimbursementSetUpPage-C0SNbg5D-CMixW-_k.js} +5 -5
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DS55QesG-k-3pCZr8.js → ReimbursementsBulkReviewDrawerPage-NOK5jPjr-DI2xKDYj.js} +1 -1
  137. package/dist/assets/{ReloadCard-DDDYlCsI-DD3JbZID.js → ReloadCard-CqyGWGqs-B2pPTz9i.js} +3 -3
  138. package/dist/assets/ReportTableViewSelector-B8ZW0kxU-_1sW9OpN.js +150 -0
  139. package/dist/assets/ReportsPage-DdqQgvJt-pEgVGJHX.js +120 -0
  140. package/dist/assets/{RevenueChart-DPkxzWaE-DFty4EIw.js → RevenueChart-QoBLII7z-Brgj42T7.js} +15 -15
  141. package/dist/assets/{ReviewDetailsPage-CyF2YP3t-McxyEgxk.js → ReviewDetailsPage-BVoI7xF7--oTVBYBc.js} +14 -14
  142. package/dist/assets/{ReviewOverlay-AoSgYufX-DMqIEz4n.js → ReviewOverlay-CbpylyCx-CRT_fGNL.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-aoWU03so-BRxPOl9b.js → RoleWithToolTip-TxLTa63q-S46u0htc.js} +4 -4
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bfj3vclV-Z49xaidT.js → ScheduleDetailsFixedAssetsPage-CuwxZJjj-CbljEJHF.js} +4 -4
  145. package/dist/assets/{ScheduleDetailsPage-B30aUjKr-CSfTpjBV.js → ScheduleDetailsPage-u0VNz7hA-DBA6XeYX.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CStdRSyQ-Bomw4D-y.js → ScheduleSequenceTable-usJjTfAn-CsILXb5x.js} +19 -19
  147. package/dist/assets/{ScreenRoutes-DQcIhmGF.js → ScreenRoutes-DfucM-A_.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-nul4pyeP-G_79pEQX.js → SetUpAccountSection-DDe06VBR--XDyyAq7.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-ByW3h9zl-DnxR2In6.js → SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js} +8 -8
  150. package/dist/assets/{SignIn-R1Rsh38G-YZGk51BO.js → SignIn-BdhV8PbY-BEcS89H3.js} +16 -16
  151. package/dist/assets/{SignInScreen-G2hlzZlg.js → SignInScreen-CQe6jUnb.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-BqOQ7NY_-CkJIT9m9.js → SpendManagementListViewPage-DNgC__pX-CtNBT1Yc.js} +4 -4
  153. package/dist/assets/{SpendManagementPerTabPage--2EC1Oz4-D99_X1lJ.js → SpendManagementPerTabPage-BkiWOMch-DNxdfM54.js} +36 -36
  154. package/dist/assets/{SpendManagementSection-COMVry1E-D4cDssze.js → SpendManagementSection-DuR3sx7V-wtusVJD4.js} +9 -9
  155. package/dist/assets/{SpendMgmtSetupAccountSection-fV4qxxEy-HhTe0Pjv.js → SpendMgmtSetupAccountSection-DoUKX4Sf-BWt9unUe.js} +8 -8
  156. package/dist/assets/{StatementItem-BksIBztP-BBpKIB--.js → StatementItem-VYK0Vtgt-CDJF9Bdy.js} +8 -8
  157. package/dist/assets/{StatementsPage-DnAoeqze-CZH9X3mG.js → StatementsPage-CLxned7l-kbRne1uO.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-b1A9RnRP-fNT0MOEy.js → StatusSwitcher-Jqpvk1VX-KiHu5pz2.js} +2 -2
  159. package/dist/assets/{SubTabSwitcher-CgJW4ZXd-BZ8cVekD.js → SubTabSwitcher-C7_JB54g-TfIjK1e4.js} +1 -1
  160. package/dist/assets/{SummaryCard-sEKhcIH5-BeL-P1SQ.js → SummaryCard-oqK_zyxl-DP8NWbIJ.js} +1 -1
  161. package/dist/assets/TaskManagementPage-BDOhB7Ny-0hkaxI_I.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-DQ-u6pKk-Cm9xtxxu.js → TimeRangeSwitcher-AWKZ7PNb-CoqhGH2B.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-B0yxn0SJ-CAbPR_S6.js → TimeframeSwitcher-BlL5woGb-Cmk__EzQ.js} +1 -1
  164. package/dist/assets/TimeframeSwitcherWithToggle-CRnWI6xW-CcO9Smot.js +31 -0
  165. package/dist/assets/{TopExCard-CTjfWfCk-Cuukn5tt.js → TopExCard-B4T3kqhZ-Boo9L6AS.js} +4 -4
  166. package/dist/assets/{TopExDetailPage-CdpvcVME-BND4tloE.js → TopExDetailPage-Cx9T3i9O-Dego-R-_.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-DdF9FS4b-COOtrH4t.js → TransactionDetailPage-CAGxHcQ9-D2MX0HZx.js} +46 -46
  168. package/dist/assets/{TransactionList-CHq3WONc-EficICZZ.js → TransactionList-CVrK_-YB-DNCdrvzR.js} +5 -5
  169. package/dist/assets/{TransactionListBig-D-Gxd5n0-puwWq3m4.js → TransactionListBig-BnI6EofP-_rQrLZ8Q.js} +12 -12
  170. package/dist/assets/{TransactionListPage-DK9-YK_1-CSQJMF7y.js → TransactionListPage-vK6DdhrP-BFxBj0Xu.js} +5 -5
  171. package/dist/assets/{TransactionVendorDetailPage-Cc9pTpTw-D_hIEj2V.js → TransactionVendorDetailPage-IyAfkyMv-DMgJng31.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-DoDTECI8-GuFK3KE9.js → TransferDrawerPage-Bp0TG8fm-BrYG-dvh.js} +28 -28
  173. package/dist/assets/{TreasuryOverviewPage-wlfReqPJ-Dxtb_d6C.js → TreasuryOverviewPage-Cr1liTpc-DUvbI9m6.js} +12 -12
  174. package/dist/assets/{TreasuryPromoPage-C9WNRb2_-DDmPU80g.js → TreasuryPromoPage-Da7l7gv8-BI2e-RBa.js} +7 -7
  175. package/dist/assets/{TreasurySetupPage-CjV0cOq9-duFmGtlv.js → TreasurySetupPage-DLNsPnS8-CsV7YDNa.js} +2 -2
  176. package/dist/assets/TreasuryStatementsPage-CNXxykvB-Xo9bsOcj.js +58 -0
  177. package/dist/assets/{TreasuryTaxLetterPage-BWGHcQ-i-Dw9jA2ZK.js → TreasuryTaxLetterPage-DUbt8ItG-Bx6VQjMk.js} +2 -2
  178. package/dist/assets/{TreasuryTransferOrReviewPage-CgL8K7N9-50BacHbJ.js → TreasuryTransferOrReviewPage-qxabbCrK-Cn6E59-e.js} +19 -19
  179. package/dist/assets/TrendChart-SOAxSpv2-C2I66UL7.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-B_fJTS4m-D__ieuPf.js → TrendWithTransactions-BSQ2TJvu-CXRyOB__.js} +2 -2
  181. package/dist/assets/{UncategorizedAccountsMappingPage-DpY1kK_K-BtWn0eYq.js → UncategorizedAccountsMappingPage-Caf242zp-C8p8QWva.js} +13 -13
  182. package/dist/assets/{UnitIntegrationPage-BTJI7fx3-BlvX7_TV.js → UnitIntegrationPage-Bvc4wx_r-CxpS2DzG.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BH3bRKoG-C8iHVUy3.js → UploadAdditionalDocumentOverlay-BTEhwmVL-Bv1cJYiQ.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-4-XtZDNS-syEs46rR.js → Vendor2FAPopup-DimcegQ_-DbqY7M5C.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-B2knDl4H-mYkCnpAU.js → VendorACHDetailsPage-BOIRRgCy-3ls1AaMO.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-w-tghGpI-BMFF0Ll6.js → VendorDetailPage-CWcqMMpT-CUN694wM.js} +17 -17
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BXCCdTjh-B1_Bs5Sj.js → VendorDomesticWireDetailsPage-9C2CIkhB-CIWMgQrd.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DGQO9Qqj-Kjzr1ZpC.js → VendorFiling1099EditablePage-Crz_WLRG-C1B5bpoY.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-Lblb6X1V-CJ-eOwE0.js → VendorFirstReviewPage-hQ0U61KD-DXRFO6yh.js} +44 -44
  190. package/dist/assets/{VendorInternationalWireDetailsPage-Bi5RBKxI-1jqnP2-c.js → VendorInternationalWireDetailsPage-mm1qIXTf-CIqQKpow.js} +7 -7
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CBZmsXnL-DuBE4Jr3.js → VendorInternationalWireSwiftDetailsPage-BaOsJGNO-DJWhQcKK.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-JI0e3gKo--9DY7Bce.js → VendorsAccountsSection-CGbDIAMd-CpNcTh0l.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-BQzUQ5-l-CoMEqU3O.js → WarningsDrawerPage-7DzlUfv7-BkCPq2fE.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-DPJ4mWoO-D8mOvxpk.js → ZeniAccountDetailPage-B_U4d2iv-CeotXzaF.js} +32 -32
  195. package/dist/assets/{ZeniAccountListViewPage-iHMJ7FU7-BphNG4f4.js → ZeniAccountListViewPage-C2Yej3tG-5nEB_ziW.js} +23 -23
  196. package/dist/assets/ZeniAccountNavBarPieces-DsWyZL7N-DfzfZF8w.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-OxQ03DtJ-0GWIMuQQ.js → ZeniAccountPromoPage-D6S3o6xA-Bi4N8dmb.js} +11 -11
  198. package/dist/assets/{ZeniAccountSetupPage-BahzDcmm-eIP17ZcJ.js → ZeniAccountSetupPage-YpW9LEB1-BJ2MLgxE.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-Dpqdxu7f-DCRSWt9K.js → ZeniCopyright-Buv4_0jF-CqCj0NE5.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DwC6pXnb-KNf6khCP.js → ZeniTransferAmountSlider-CvuOgkEg-CuXG6PC2.js} +1 -1
  201. package/dist/assets/analytics-DThoELaW.js +7 -0
  202. package/dist/assets/{analyticsHelper-CZ8c8du5-B_iOa665.js → analyticsHelper-B3QVnfWf-Ii66sXHH.js} +1 -1
  203. package/dist/assets/{analyticsHelper-BN9o1RUu.js → analyticsHelper-ej1xHeXQ.js} +1 -1
  204. package/dist/assets/{chartTypes-CWLOazD0-MzxL2DAm.js → chartTypes-DYAHlgKd-DnqAO3Rp.js} +1 -1
  205. package/dist/assets/{commonDimensions-Cg7EWgSP-B_3asR-F.js → commonDimensions-Pkc8qIrn-B-bjjlb8.js} +1 -1
  206. package/dist/assets/{detailCommon-Cp4eknjq-DEs531l9.js → detailCommon-CsukAL3T-lIItUxyr.js} +7 -7
  207. package/dist/assets/{downloadPdf-f3F0OqWf-Bi6rDwAD.js → downloadPdf-DlKRXI5W-DoYYMEWD.js} +1 -1
  208. package/dist/assets/{index-BRPl2wF0.js → index-DEtloYMb.js} +3142 -3141
  209. package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-DCLD3rcY-CxA3ULNd.js → mapLoadingInProgressToTreeNode-KYsp1YPe-CdYtsyMK.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C-VOXE5I-lNBPXLSA.js → mapSectionWithAcOnlyToTreeNode-t5fK12Uc-CbMkSgtE.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-DlDwFA_F-9wnoX6Mp.js → mapSpacerToTreeNode-1YBqnFwa-K_d13sRq.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-EEyJwCnX-CUiCA57A.js → mapTimeframeBalancesToTreeNode-DD1v-gTG-9n0fkm_w.js} +1 -1
  214. package/dist/assets/mui-C5LQ0bMa.js +25 -0
  215. package/dist/assets/{play-icon-CFa9Uibr-CGZfRDja.js → play-icon-19dLaWkG-CvLTbZAK.js} +3 -3
  216. package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
  217. package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-DT8-C5u1-BADUIIp0.js → toCOABalancesWithID-B8NxsLlK-741DYvDg.js} +1 -1
  219. package/dist/assets/{toChartData-63e3B91H-Dq_DEVZ5.js → toChartData-CxZEcdj_-B9fAXWHm.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-BGGfolJy-DUmksYn-.js → treasuryColorHelper-BqwCUN2u-C54KKUXs.js} +1 -1
  221. package/dist/assets/{uploadAttachment-YcPIDoZ--DR8XRMXB.js → uploadAttachment-CHFo3qZI-fjIbqTID.js} +21 -21
  222. package/dist/assets/{uploadReceipts-BH9fi3Vt-DLlk-piQ.js → uploadReceipts-Buvz7DfG-BUbqoJXB.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountInfoPageContent-qqbfRfuR-D8M6BkXR.js +0 -149
  226. package/dist/assets/AccountRow-CPX-627p-BrATMEsz.js +0 -298
  227. package/dist/assets/ArAgingChart-BRcy3--o-BcsJheHd.js +0 -24
  228. package/dist/assets/BusinessVerificationPage-DT24fycp-DtCstN1y.js +0 -140
  229. package/dist/assets/ChargeCardPromoPage-DOibcN9n--NMnqRjc.js +0 -175
  230. package/dist/assets/CheckDepositDrawerPage-DaaWfNin-CEwL3HYg.js +0 -206
  231. package/dist/assets/CompleteProfile-MP9AF8Iu-BgJbmmeH.js +0 -36
  232. package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-C1WNy7my.js +0 -1
  233. package/dist/assets/CustomerOnboardingPage-DJbFeXms-DptIXAkb.js +0 -107
  234. package/dist/assets/DashboardReportPage-3X6wpJL2-DsT-6ILj.js +0 -349
  235. package/dist/assets/DomesticWireDetailsPage-D-qwPVDs-Cfr0Z28W.js +0 -21
  236. package/dist/assets/LabeledDocumentField-DORRl3DI-DVaAArO2.js +0 -41
  237. package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX--fjxS8NM.js +0 -59
  238. package/dist/assets/MailingDetailsSection-D8CZart4-Ddt0BRQX.js +0 -21
  239. package/dist/assets/NoDataChart-VE4W-RUu-nzQap9EA.js +0 -26
  240. package/dist/assets/NotificationsListConfig-DVBOQJZq-v-fw7jBu.js +0 -1
  241. package/dist/assets/ReimbursementDetailPage-BQiu7Gts-BoA7LScg.js +0 -314
  242. package/dist/assets/ReportTableViewSelector-Bss4AtF1-CCsisQXu.js +0 -133
  243. package/dist/assets/ReportsPage-C-g9588h-BV7tfG6L.js +0 -120
  244. package/dist/assets/TaskManagementPage-z5uvcy81-BWPZt4KY.js +0 -508
  245. package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-DyDTd8B-.js +0 -31
  246. package/dist/assets/TreasuryStatementsPage-DqOWNGB_-DsiDcoF9.js +0 -58
  247. package/dist/assets/TrendChart-76tuu9Dr-C_LjcFnl.js +0 -16
  248. package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-Dc0OuIhw.js +0 -14
  249. package/dist/assets/analytics-BSSiLa6f.js +0 -7
  250. package/dist/assets/mui-BgvZYSo0.js +0 -22
@@ -1,4 +1,4 @@
1
- import{X as I,M as y,j as t,aW as D,d as H,Y as b,C as r,s as B,_ as j,bN as E,bP as q,bQ as U,o as i,cq as G,p as l,as as Q,Q as z,ar as V,g as S,cn as X,aN as Y,q as _}from"./index-BRPl2wF0.js";import{n as o,b as F}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},L={stepper:new z("smallRegular","standardRegular"),amount:new z("standardRegular","largeMedium")},O=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:c,onEditRuleClick:v,onDeleteRuleClick:$})=>{const[m,x]=F.useState(!1),n=I(),{range:h}=c.criteria[0],{steps:u,approvalRuleId:w}=c,a=y.getLocalizedStrings().commonSetUp.approval,W=()=>{x(!0)},A={onOkClick:()=>{x(!1),$?.(w)},onCancelClick:()=>{x(!1)}};return t.jsxs(J,{windowSize:n,isLastSection:f,children:[t.jsxs(K,{windowSize:n,children:[t.jsxs(se,{children:[t.jsxs(R,{windowSize:n,children:[a.from," ",j("0,0",h.min)]}),t.jsxs(Z,{children:[t.jsx(P,{}),t.jsx(ee,{}),t.jsx(P,{})]}),h.max==null?t.jsx(de,{}):t.jsx(R,{windowSize:n,children:j("0,0",{...h.min,amount:h.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e&&t.jsx(ne,{onClick:W,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)}),t.jsx(pe,{onClick:()=>{v(w)},"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(te,{windowSize:n,children:t.jsx(oe,{isSingleStep:u.length===1,windowSize:n,children:u.map((d,N)=>t.jsxs(ie,{isSingleStep:u.length===1,className:"stepperItem",windowSize:n,children:[d.action==="require_approval"?t.jsx(re,{children:a.requireText}):t.jsx(le,{children:a.notifyText}),d.nonUserActors!=null&&d.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>t.jsxs(C,{children:[t.jsx(k,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),d.operator!="is"?t.jsx(T,{className:"operator",children:d.operator}):null]},`${p.subType}_${M}`)),d.actors.map(p=>t.jsxs(C,{children:[t.jsxs(k,{children:[p.firstName," ",p.lastName]}),d.operator!="is"?t.jsx(T,{className:"operator",children:d.operator}):null]},p.userId))]},N))})}),m?t.jsx(E,{titleComponent:t.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:A}):null]})},J=o.div`
1
+ import{X as I,M as y,j as t,aW as D,e as H,Y as b,C as r,t as B,_ as j,bO as E,bQ as q,bR as U,o as i,cq as G,q as l,as as O,Q as z,ar as Q,g as S,cn as V,aN as X,r as Y}from"./index-DEtloYMb.js";import{n as o,b as _}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(-1,-4)},L={stepper:new z("smallRegular","standardRegular"),amount:new z("standardRegular","largeMedium")},F=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:c,onEditRuleClick:v,onDeleteRuleClick:$})=>{const[m,x]=_.useState(!1),n=I(),{range:h}=c.criteria[0],{steps:u,approvalRuleId:w}=c,a=y.getLocalizedStrings().commonSetUp.approval,W=()=>{x(!0)},A={onOkClick:()=>{x(!1),$?.(w)},onCancelClick:()=>{x(!1)}};return t.jsxs(J,{windowSize:n,isLastSection:f,children:[t.jsxs(K,{windowSize:n,children:[t.jsxs(se,{children:[t.jsxs(R,{windowSize:n,children:[a.from," ",j("0,0",h.min)]}),t.jsxs(Z,{children:[t.jsx(P,{}),t.jsx(ee,{}),t.jsx(P,{})]}),h.max==null?t.jsx(de,{}):t.jsx(R,{windowSize:n,children:j("0,0",{...h.min,amount:h.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e&&t.jsx(ne,{onClick:W,"data-testid":b("delete-approval-rule-bill-pay",c.approvalRuleId)}),t.jsx(pe,{onClick:()=>{v(w)},"data-testid":b("edit-approval-rule-bill-pay",c.approvalRuleId)})]})]}),t.jsx(te,{windowSize:n,children:t.jsx(oe,{isSingleStep:u.length===1,windowSize:n,children:u.map((d,M)=>t.jsxs(ie,{isSingleStep:u.length===1,className:"stepperItem",windowSize:n,children:[d.action==="require_approval"?t.jsx(re,{children:a.requireText}):t.jsx(le,{children:a.notifyText}),d.nonUserActors!=null&&d.nonUserActors.filter(p=>p.subType!=null).map((p,N)=>t.jsxs(C,{children:[t.jsx(k,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),d.operator!="is"?t.jsx(T,{className:"operator",children:d.operator}):null]},`${p.subType}_${N}`)),d.actors.map(p=>t.jsxs(C,{children:[t.jsxs(k,{children:[p.firstName," ",p.lastName]}),d.operator!="is"?t.jsx(T,{className:"operator",children:d.operator}):null]},p.userId))]},M))})}),m?t.jsx(E,{titleComponent:t.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:A}):null]})},J=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -14,7 +14,7 @@ import{X as I,M as y,j as t,aW as D,d as H,Y as b,C as r,s as B,_ as j,bN as E,b
14
14
  border-color: ${e=>e.theme.colors.primary};
15
15
  }
16
16
  }
17
- `,K=o(Q)`
17
+ `,K=o(O)`
18
18
  display: flex;
19
19
  position: relative;
20
20
  align-items: center;
@@ -117,7 +117,7 @@ import{X as I,M as y,j as t,aW as D,d as H,Y as b,C as r,s as B,_ as j,bN as E,b
117
117
  height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
118
118
  top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
119
119
  left: -${i.sp6};
120
- ${_.standardMedium.css};
120
+ ${Y.standardMedium.css};
121
121
  text-align: center;
122
122
  color: ${e=>e.theme.colors.grey1};
123
123
  border: 2px solid ${e=>e.theme.colors.grey1};
@@ -141,7 +141,7 @@ import{X as I,M as y,j as t,aW as D,d as H,Y as b,C as r,s as B,_ as j,bN as E,b
141
141
  `,ae=o.div`
142
142
  display: flex;
143
143
  gap: ${i.sp5};
144
- `,ne=o(X)`
144
+ `,ne=o(V)`
145
145
  width: ${i.sp3};
146
146
  height: ${i.sp3};
147
147
  cursor: pointer;
@@ -149,7 +149,7 @@ import{X as I,M as y,j as t,aW as D,d as H,Y as b,C as r,s as B,_ as j,bN as E,b
149
149
  &:hover {
150
150
  color: ${S.important};
151
151
  }
152
- `,pe=o(Y)`
152
+ `,pe=o(X)`
153
153
  width: ${i.sp3};
154
154
  height: ${i.sp3};
155
155
  cursor: pointer;
@@ -157,7 +157,7 @@ import{X as I,M as y,j as t,aW as D,d as H,Y as b,C as r,s as B,_ as j,bN as E,b
157
157
  &:hover {
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  }
160
- `,de=o(V)`
160
+ `,de=o(Q)`
161
161
  width: ${i.sp4};
162
162
  height: ${i.sp4};
163
163
  color: ${e=>e.theme.colors.hero};
@@ -170,7 +170,7 @@ import{X as I,M as y,j as t,aW as D,d as H,Y as b,C as r,s as B,_ as j,bN as E,b
170
170
  ${e=>`${L.amount.style(e.windowSize)}`};
171
171
  color: ${e=>e.theme.colors.primary};
172
172
  word-break: break-word;
173
- `,g={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},ke=({approvalView:e,onBackClick:f,onEditRuleClick:c,onDeleteRuleClick:v})=>{const $=I(),{fetchState:m,deleteStatus:x}=e,n=y.getLocalizedStrings().commonSetUp.approval,h=y.getLocalizedStrings().spendManagement.billPay.billPayApproval,u=x.fetchState;return t.jsxs(ce,{children:[t.jsx(D,{title:n.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{f()},source:"BillPayApprovalRulesPage"}),t.jsxs(he,{children:[t.jsx(xe,{windowSize:$,children:h.approvalPageSubTitle}),m==="In-Progress"||m==="Not-Started"||u==="In-Progress"?t.jsx(me,{children:t.jsx(H,{size:"ExtraLarge",start:!0})}):m==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((w,a)=>t.jsx(O,{showDeleteBtn:a!==0,approvalRule:w,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:c,onDeleteRuleClick:v},w.approvalRuleId)),t.jsxs(ue,{windowSize:$,onClick:()=>{c()},"data-testid":b("add-approval-rule-bill-pay"),children:[t.jsx(we,{}),t.jsx(ge,{children:n.addApprovalText})]})]}):null]})]})},ce=o.div`
173
+ `,g={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},ke=({approvalView:e,onBackClick:f,onEditRuleClick:c,onDeleteRuleClick:v})=>{const $=I(),{fetchState:m,deleteStatus:x}=e,n=y.getLocalizedStrings().commonSetUp.approval,h=y.getLocalizedStrings().spendManagement.billPay.billPayApproval,u=x.fetchState;return t.jsxs(ce,{children:[t.jsx(D,{title:n.approvalPageHeader,style:{zIndex:4},onBackClick:()=>{f()},source:"BillPayApprovalRulesPage"}),t.jsxs(he,{children:[t.jsx(xe,{windowSize:$,children:h.approvalPageSubTitle}),m==="In-Progress"||m==="Not-Started"||u==="In-Progress"?t.jsx(me,{children:t.jsx(H,{size:"ExtraLarge",start:!0})}):m==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((w,a)=>t.jsx(F,{showDeleteBtn:a!==0,approvalRule:w,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:c,onDeleteRuleClick:v},w.approvalRuleId)),t.jsxs(ue,{windowSize:$,onClick:()=>{c()},"data-testid":b("add-approval-rule-bill-pay"),children:[t.jsx(we,{}),t.jsx(ge,{children:n.addApprovalText})]})]}):null]})]})},ce=o.div`
174
174
  display: flex;
175
175
  min-height: 100%;
176
176
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{w as se,X as b,a5 as le,l as j,M as L,j as e,aW as oe,K as U,Y as h,i as x,o as s,Z as te,c0 as re,u as A,a9 as D,f as ae,C as ne,g as u,c2 as ce,aa as de,av as me,p as pe}from"./index-BRPl2wF0.js";import{b as y,n as l,k as xe}from"./vendor-CnQcJ2Lu.js";import{x as he}from"./MeetingCalenderPopup-D4tz-H5i-BwkhIyJ3.js";import{f as ge,C as E}from"./play-icon-CFa9Uibr-CGZfRDja.js";import{M as z}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",R="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",ue={midContainerMarginBottom:new ne(pe[5],44)},we=l.div`
1
+ import{y as se,X as b,a5 as le,l as j,M as L,j as e,aW as oe,K as U,Y as h,i as x,o as s,Z as te,c0 as re,u as A,a9 as D,m as ae,C as ne,g as u,c2 as ce,aa as de,av as me,q as pe}from"./index-DEtloYMb.js";import{b as y,n as l,k as xe}from"./vendor-CnQcJ2Lu.js";import{x as he}from"./MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js";import{f as ge,C as E}from"./play-icon-19dLaWkG-CvLTbZAK.js";import{M as z}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",R="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Dark.png",ue={midContainerMarginBottom:new ne(pe[5],44)},we=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -109,4 +109,4 @@ import{w as se,X as b,a5 as le,l as j,M as L,j as e,aW as oe,K as U,Y as h,i as
109
109
  color: ${u.backgroundThemeLight};
110
110
  cursor: pointer;
111
111
  animation: ${ze} 1s ease infinite;
112
- `,o=L.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=L.getLocalizedStrings().commonSetUp.businessVerification.terms,Ve=({billPaySetupView:i,analytics:a,meetingUrl:t,videoUrl:H,onButtonClick:Q,onBackClick:Y,onSetupBillPaySuccess:v,onClickMenuIcon:_})=>{const w=se(),n=b(),{billPayTermsDetails:p}=i,[q,C]=y.useState(!1),[J,P]=y.useState(!1),B=le(p?.fetchStatus.fetchState);y.useEffect(()=>{B==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&v?.()},[B,v,p?.fetchStatus]);const T=()=>{a?.trackBillPayPromoVideo(),C(!0)},ee=()=>{a?.trackBillPayPromoScheduleDemo(),P(!0)},ie=j.hasBillPayAdminLevelAccess(w.loggedInUserRoleMap),M=j.hasBillPayAccess(w.loggedInUserRoleMap)&&!ie,I=M?o.setupNonAccessableUsersPromoText:o.promoText;return e.jsxs(we,{children:[q===!0?e.jsx(ge,{onCancelClick:()=>{C(!1)},videoUrl:H}):null,J===!0?e.jsx(he,{onCancelClick:()=>{P(!1)},meetingUrl:t}):null,e.jsx(oe,{title:o.title,onBackClick:Y,showBackButton:!j.hasOnlyBillPayAccess(w.loggedInUserRoleMap),showMenuIcon:n==="small"||n==="medium-compact",onClickMenuIcon:_,source:"BillPayPromoPage"}),e.jsxs(je,{windowSize:n,children:[n==="small"?e.jsx(fe,{children:I}):e.jsx(ye,{children:I}),n==="small"?e.jsx(ve,{onImageClick:T}):e.jsx(Ce,{onImageClick:T}),M===!1?e.jsxs($e,{children:[e.jsxs(Se,{windowSize:n,children:[e.jsx(U,{variant:"secondary",label:o.scheduleDemoButton,onClick:ee,"data-testid":h("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:n,children:o.orText}),e.jsx(U,{variant:"primary",label:o.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":h("billpay-setup-button")})]}),e.jsxs(ke,{children:[o.terms.terms1,e.jsx(x,{href:r.consentUrl,linkText:r.consent}),r.term2,e.jsx(x,{href:r.depositUrl,linkText:r.depositTerms}),r.term3,e.jsx(x,{href:r.privacyPolicyUrl,onZeniLinkClick:()=>(a?.trackBillPayPrivacyPolicy(),!0),linkText:r.privacy}),r.term4,e.jsx(x,{href:r.tosUrl,onZeniLinkClick:()=>(a?.trackBillPayAgreement(),!0),linkText:r.tos}),r.term5,o.terms.terms3]})]}):null]})]})},ve=({onImageClick:i})=>{const a=A(),t=b();return e.jsxs(V,{windowSize:t,children:[e.jsxs(O,{windowSize:t,children:[e.jsx(X,{onClick:i,"data-testid":h("play-button-mobile"),children:e.jsx(E,{})}),e.jsx(F,{windowSize:t,children:a.mode==="dark"?e.jsx(g,{src:R,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})]}),e.jsxs(K,{windowSize:t,children:[e.jsxs(c,{windowSize:t,children:[e.jsx(d,{children:e.jsx(W,{})}),e.jsxs(m,{children:[e.jsx(S,{children:o.fullyManagedText.bold}),e.jsx(k,{children:o.fullyManagedText.regular})]})]}),e.jsxs(c,{windowSize:t,children:[e.jsx(d,{children:e.jsx(N,{})}),e.jsxs(m,{children:[e.jsx(S,{children:o.multiLevelApprovalText.bold}),e.jsx(k,{children:o.multiLevelApprovalText.regular})]})]}),e.jsxs(c,{windowSize:t,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(m,{children:[e.jsx(S,{children:o.aiPoweredText.bold}),e.jsx(k,{children:o.aiPoweredText.regular})]})]})]})]})},Ce=({onImageClick:i})=>{const a=A(),t=b();return e.jsxs(V,{windowSize:t,children:[e.jsxs(K,{windowSize:t,children:[e.jsxs(c,{windowSize:t,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(W,{})}),e.jsxs(m,{children:[e.jsx($,{children:o.fullyManagedText.bold}),e.jsx(f,{children:o.fullyManagedText.regular})]})]}),e.jsxs(c,{windowSize:t,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(N,{})}),e.jsxs(m,{children:[e.jsx($,{children:o.multiLevelApprovalText.bold}),e.jsx(f,{children:o.multiLevelApprovalText.regular})]})]}),e.jsxs(c,{windowSize:t,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(m,{children:[e.jsx($,{children:o.aiPoweredText.bold}),e.jsx(f,{children:o.aiPoweredText.regular})]})]})]}),e.jsxs(O,{windowSize:t,children:[e.jsx(X,{onClick:i,"data-testid":h("play-button-web"),children:e.jsx(E,{})}),e.jsx(F,{windowSize:t,children:a.mode==="dark"?e.jsx(g,{src:R,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})]})]})};export{Ve as default};
112
+ `,o=L.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=L.getLocalizedStrings().commonSetUp.businessVerification.terms,Ve=({billPaySetupView:i,analytics:a,meetingUrl:t,videoUrl:q,onButtonClick:H,onBackClick:Q,onSetupBillPaySuccess:v,onClickMenuIcon:Y})=>{const w=se(),n=b(),{billPayTermsDetails:p}=i,[_,C]=y.useState(!1),[J,P]=y.useState(!1),B=le(p?.fetchStatus.fetchState);y.useEffect(()=>{B==="In-Progress"&&p?.fetchStatus.fetchState==="Completed"&&v?.()},[B,v,p?.fetchStatus]);const T=()=>{a?.trackBillPayPromoVideo(),C(!0)},ee=()=>{a?.trackBillPayPromoScheduleDemo(),P(!0)},ie=j.hasBillPayAdminLevelAccess(w.loggedInUserRoleMap),M=j.hasBillPayAccess(w.loggedInUserRoleMap)&&!ie,I=M?o.setupNonAccessableUsersPromoText:o.promoText;return e.jsxs(we,{children:[_===!0?e.jsx(ge,{onCancelClick:()=>{C(!1)},videoUrl:q}):null,J===!0?e.jsx(he,{onCancelClick:()=>{P(!1)},meetingUrl:t}):null,e.jsx(oe,{title:o.title,onBackClick:Q,showBackButton:!j.hasOnlyBillPayAccess(w.loggedInUserRoleMap),showMenuIcon:n==="small"||n==="medium-compact",onClickMenuIcon:Y,source:"BillPayPromoPage"}),e.jsxs(je,{windowSize:n,children:[n==="small"?e.jsx(fe,{children:I}):e.jsx(ye,{children:I}),n==="small"?e.jsx(ve,{onImageClick:T}):e.jsx(Ce,{onImageClick:T}),M===!1?e.jsxs($e,{children:[e.jsxs(Se,{windowSize:n,children:[e.jsx(U,{variant:"secondary",label:o.scheduleDemoButton,onClick:ee,"data-testid":h("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:n,children:o.orText}),e.jsx(U,{variant:"primary",label:o.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:H,"data-testid":h("billpay-setup-button")})]}),e.jsxs(ke,{children:[o.terms.terms1,e.jsx(x,{href:r.consentUrl,linkText:r.consent}),r.term2,e.jsx(x,{href:r.depositUrl,linkText:r.depositTerms}),r.term3,e.jsx(x,{href:r.privacyPolicyUrl,onZeniLinkClick:()=>(a?.trackBillPayPrivacyPolicy(),!0),linkText:r.privacy}),r.term4,e.jsx(x,{href:r.tosUrl,onZeniLinkClick:()=>(a?.trackBillPayAgreement(),!0),linkText:r.tos}),r.term5,o.terms.terms3]})]}):null]})]})},ve=({onImageClick:i})=>{const a=A(),t=b();return e.jsxs(V,{windowSize:t,children:[e.jsxs(O,{windowSize:t,children:[e.jsx(X,{onClick:i,"data-testid":h("play-button-mobile"),children:e.jsx(E,{})}),e.jsx(F,{windowSize:t,children:a.mode==="dark"?e.jsx(g,{src:R,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})]}),e.jsxs(K,{windowSize:t,children:[e.jsxs(c,{windowSize:t,children:[e.jsx(d,{children:e.jsx(W,{})}),e.jsxs(m,{children:[e.jsx(S,{children:o.fullyManagedText.bold}),e.jsx(k,{children:o.fullyManagedText.regular})]})]}),e.jsxs(c,{windowSize:t,children:[e.jsx(d,{children:e.jsx(N,{})}),e.jsxs(m,{children:[e.jsx(S,{children:o.multiLevelApprovalText.bold}),e.jsx(k,{children:o.multiLevelApprovalText.regular})]})]}),e.jsxs(c,{windowSize:t,children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(m,{children:[e.jsx(S,{children:o.aiPoweredText.bold}),e.jsx(k,{children:o.aiPoweredText.regular})]})]})]})]})},Ce=({onImageClick:i})=>{const a=A(),t=b();return e.jsxs(V,{windowSize:t,children:[e.jsxs(K,{windowSize:t,children:[e.jsxs(c,{windowSize:t,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(W,{})}),e.jsxs(m,{children:[e.jsx($,{children:o.fullyManagedText.bold}),e.jsx(f,{children:o.fullyManagedText.regular})]})]}),e.jsxs(c,{windowSize:t,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(N,{})}),e.jsxs(m,{children:[e.jsx($,{children:o.multiLevelApprovalText.bold}),e.jsx(f,{children:o.multiLevelApprovalText.regular})]})]}),e.jsxs(c,{windowSize:t,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(G,{})}),e.jsxs(m,{children:[e.jsx($,{children:o.aiPoweredText.bold}),e.jsx(f,{children:o.aiPoweredText.regular})]})]})]}),e.jsxs(O,{windowSize:t,children:[e.jsx(X,{onClick:i,"data-testid":h("play-button-web"),children:e.jsx(E,{})}),e.jsx(F,{windowSize:t,children:a.mode==="dark"?e.jsx(g,{src:R,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:Z,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})]})]})};export{Ve as default};
@@ -1,4 +1,4 @@
1
- import{u as $e,X as Oe,a5 as B,a as De,c3 as Re,M as Ue,ab as Q,j as t,cI as He,Y as ze,g as Le,C as u,aW as Me,d as Ne,F as qe,c$ as Ge,aQ as Je,d0 as Ye,bu as Ke,d1 as Qe,a7 as Xe,o as L,p as a,s as Ze,b6 as et}from"./index-BRPl2wF0.js";import{b as m,n as g}from"./vendor-CnQcJ2Lu.js";import{F as tt}from"./HelpButton-8AQIbLQM-Bs9xtUX-.js";import"./SetUpAccountSection-nul4pyeP-G_79pEQX.js";import{J as H}from"./SetUpDefaultSection-ByW3h9zl-DnxR2In6.js";import{p as it}from"./SpendMgmtSetupAccountSection-fV4qxxEy-HhTe0Pjv.js";import{g as nt}from"./UploadAdditionalDocumentOverlay-BH3bRKoG-C8iHVUy3.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-D4tz-H5i-BwkhIyJ3.js";import"./ChaseOverlay-DPgGIuyV-ByssAih3.js";import"./ChargeCardUtils-oF0M6Gmc-Ct7KyDRh.js";import"./CreditCardPaymentPlgSection-7cmMRTQm-CU7sMyU4.js";const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},X="billPaySetUpPage",E="billPayAccount",Ft=({billPaySetupView:e,isDisabled:w,billpayApprovalView:W,meetingUrl:v,showIntlWiseWidget:r,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:he,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEnableBillPayClick:ge,onEnableBillPaySuccess:M,onClickMenuIcon:ye,onInternationPaymentSetUpClick:Se,onEditFileName:be,onDeleteFile:xe,updateFilesEntity:Pe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const C=$e(),i=Oe(),[k,S]=m.useState(!1),N=m.useRef(null),{fetchState:p,updateStatus:b,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:A,isRefreshingViewInBackground:Te,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:q}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:j,approvalRulesStatus:je}=W,$=_.link_account.updateStatus,O=_.update_account.updateStatus,F=B(p),J=B(b.fetchState),Y=B($.fetchState),K=B(O.fetchState),x=De({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!k&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&S(!0),k&&F==="In-Progress"&&p==="Completed"&&S(!1)},[s,p,F]),m.useEffect(()=>{(F==="In-Progress"&&p==="Completed"||Y==="In-Progress"&&$.fetchState==="Completed"||K==="In-Progress"&&O.fetchState==="Completed")&&x.reset(z(e))},[F,p,x,e,Y,$.fetchState,K,O.fetchState]);const Fe=x.handleSubmit(P=>{y.trackEnableBillPay(),ge()}),Ie=async(P,V)=>{const o=V[E];if(P.includes(E)){if(P.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&l?.id!=o.fundingAccount.selectedOption){const f=q.find(U=>U.id===o.fundingAccount.selectedOption);f!=null&&pe(o.fundingAccount.selectedOption,f.accType)}}else if(o.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=o.account.selectedOption){const f=o.account.allOptions.find(U=>U.value===o.account.selectedOption);f!=null&&typeof f.label=="string"&&y.trackConnectBankLink(f.value,f.label,"bill_pay"),he(o.account.selectedOption,l.id,l.accType)}}};m.useEffect(()=>{const P=x.watch((V,{name:o})=>{o!=null&&V!=null&&Re(()=>Ie(o,V))});return()=>{P.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&b.fetchState==="Completed"&&M()},[M,J,b.fetchState]);const{commonSetUp:Ve,spendManagement:Be}=Ue.getLocalizedStrings(),{setUp:d}=Ve,{billPaySetup:c}=Be.billPay,D=A?.isBusinessVerified===!0&&(l?.accType==="depositAccount"||l?.providerVerificationStatus?.code==="verified"||l?.providerVerificationStatus?.code==="manually_verified"||l?.providerVerificationStatus?.code==="automatically_verified"||l?.providerVerificationStatus?.code==="database_matched"),R=A?.isBillPayEnabled===!0,Ee=D?d.setupVerifiedSubTitle:c.setupSubTitle,We=p==="In-Progress"||p==="Not-Started"||G==="In-Progress"||G==="Not-Started",I=C.mode==="light"?new Q(C.colors.brandColorJadeLight):new Q(C.colors.brandColorJadeDark),_e=()=>{!k&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(at,{ref:N,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,"data-testid":ze("bill-pay-setup-drawer"),children:t.jsx(nt,{authParams:oe,filesEndPoint:ne,updateStatus:b,onEditFileName:be,onDeleteFile:xe,updateFilesEntity:Pe,companyOfficer:s,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(Me,{title:c.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ye,scrollableContent:N,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(st,{windowSize:i,children:[t.jsx(ct,{windowSize:i,children:Ee}),We?t.jsx(rt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsxs(ot,{children:[t.jsx(qe,{...x,children:t.jsx("form",{id:Z(X),onSubmit:Fe,children:t.jsxs(dt,{windowSize:i,children:[t.jsx(H,{onClick:_e,title:d.businessVerificationTitle,subTitle:d.businessVerificationSubTitle,header:d.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:I},status:A?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(it,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:q,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:E,isDisabled:w,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:I},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:j.length>0?d.approvalTitle:d.createApprovalTitle,subTitle:c.approvalSubTitle,header:j.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:I},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?je:void 0})]})})}),r===!0?t.jsx(H,{title:T?c.enableInternationalWireTitle:c.internationWireTitle,subTitle:c.internationalWireSubTitle2,header:c.internationalWireHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:I},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{T&&y.trackEnableIntlWire(ie),Se?.()},status:T?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?c.tooltipTexts.pendingInternationalVerificationText:c.tooltipTexts.internationalVerificationFailed,children:t.jsx(lt,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),D&&!R&&j.length>0?t.jsx(Xe,{formId:Z(X),primaryBtn:{label:c.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:b.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:w!=null},showCancel:!1,helperText:c.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(tt,{isFooterRendered:D&&!R,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},ot=g.div``,at=g.div`
1
+ import{u as _e,X as Oe,a5 as B,a as De,c3 as Re,M as Ue,ab as Q,j as t,cI as He,Y as ze,g as Le,C as u,aW as qe,e as Me,F as Ne,c$ as Ge,aQ as Je,d0 as Xe,bt as Ke,d1 as Qe,a7 as Ye,o as L,q as a,t as Ze,b5 as et}from"./index-DEtloYMb.js";import{b as m,n as g}from"./vendor-CnQcJ2Lu.js";import{F as tt}from"./HelpButton-CkSfhBfN-BCuT-w0J.js";import"./SetUpAccountSection-DDe06VBR--XDyyAq7.js";import{J as H}from"./SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js";import{p as it}from"./SpendMgmtSetupAccountSection-DoUKX4Sf-BWt9unUe.js";import{g as nt}from"./UploadAdditionalDocumentOverlay-BTEhwmVL-Bv1cJYiQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js";import"./ChaseOverlay-CHWBgNa9-BGn2Q_2a.js";import"./ChargeCardUtils-CVC43_6w-DTPKdzGf.js";import"./CreditCardPaymentPlgSection-CZ2vyMiF-CAkrDs6q.js";const n={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,a[5],a[5]),sectionRowGap:new u(a[5],a[9],a[9]),lastSectionPaddingBottom:new u(a[7],a[10],a[10]),iconWidthHeight:new u(20,a[4]),subTitlePaddingTop:new u(12,a[3]),subTitlePaddingBottom:new u(a[3],a[3]),overlayWidth:new u(100,100,59)},Y="billPaySetUpPage",E="billPayAccount",Ft=({billPaySetupView:e,isDisabled:w,billpayApprovalView:W,meetingUrl:v,showIntlWiseWidget:r,connectedAccountProvider:ee,isAccountsEnabled:te,isLocalCurrencyEnabled:ie,analytics:y,filesEndPoint:ne,authParams:oe,accountsPromoConfig:ae,onBackClick:le,onBusinessVerificationSectionClick:ce,onSetupApprovalRulesSectionClick:se,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onEstablishConnectionSuccess:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAccountClick:he,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEnableBillPayClick:ge,onEnableBillPaySuccess:q,onClickMenuIcon:ye,onInternationPaymentSetUpClick:Se,onEditFileName:be,onDeleteFile:xe,updateFilesEntity:Pe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const C=_e(),i=Oe(),[k,S]=m.useState(!1),M=m.useRef(null),{fetchState:p,updateStatus:b,accountUpdateStatus:ke,plaidConnectionDetails:$,allBankAccounts:Ae,companyBillPayInfo:A,isRefreshingViewInBackground:Te,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:N}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:j,approvalRulesStatus:je}=W,_=$.link_account.updateStatus,O=$.update_account.updateStatus,F=B(p),J=B(b.fetchState),X=B(_.fetchState),K=B(O.fetchState),x=De({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!k&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&S(!0),k&&F==="In-Progress"&&p==="Completed"&&S(!1)},[s,p,F]),m.useEffect(()=>{(F==="In-Progress"&&p==="Completed"||X==="In-Progress"&&_.fetchState==="Completed"||K==="In-Progress"&&O.fetchState==="Completed")&&x.reset(z(e))},[F,p,x,e,X,_.fetchState,K,O.fetchState]);const Fe=x.handleSubmit(P=>{y.trackEnableBillPay(),ge()}),Ie=async(P,V)=>{const o=V[E];if(P.includes(E)){if(P.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&l?.id!=o.fundingAccount.selectedOption){const f=N.find(U=>U.id===o.fundingAccount.selectedOption);f!=null&&pe(o.fundingAccount.selectedOption,f.accType)}}else if(o.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=o.account.selectedOption){const f=o.account.allOptions.find(U=>U.value===o.account.selectedOption);f!=null&&typeof f.label=="string"&&y.trackConnectBankLink(f.value,f.label,"bill_pay"),he(o.account.selectedOption,l.id,l.accType)}}};m.useEffect(()=>{const P=x.watch((V,{name:o})=>{o!=null&&V!=null&&Re(()=>Ie(o,V))});return()=>{P.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&b.fetchState==="Completed"&&q()},[q,J,b.fetchState]);const{commonSetUp:Ve,spendManagement:Be}=Ue.getLocalizedStrings(),{setUp:d}=Ve,{billPaySetup:c}=Be.billPay,D=A?.isBusinessVerified===!0&&(l?.accType==="depositAccount"||l?.providerVerificationStatus?.code==="verified"||l?.providerVerificationStatus?.code==="manually_verified"||l?.providerVerificationStatus?.code==="automatically_verified"||l?.providerVerificationStatus?.code==="database_matched"),R=A?.isBillPayEnabled===!0,Ee=D?d.setupVerifiedSubTitle:c.setupSubTitle,We=p==="In-Progress"||p==="Not-Started"||G==="In-Progress"||G==="Not-Started",I=C.mode==="light"?new Q(C.colors.brandColorJadeLight):new Q(C.colors.brandColorJadeDark),$e=()=>{!k&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(at,{ref:M,children:[t.jsx(He,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,"data-testid":ze("bill-pay-setup-drawer"),children:t.jsx(nt,{authParams:oe,filesEndPoint:ne,updateStatus:b,onEditFileName:be,onDeleteFile:xe,updateFilesEntity:Pe,companyOfficer:s,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:c.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ye,scrollableContent:M,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(st,{windowSize:i,children:[t.jsx(ct,{windowSize:i,children:Ee}),We?t.jsx(rt,{children:t.jsx(Me,{size:"ExtraLarge",start:!0})}):t.jsxs(ot,{children:[t.jsx(Ne,{...x,children:t.jsx("form",{id:Z(Y),onSubmit:Fe,children:t.jsxs(dt,{windowSize:i,children:[t.jsx(H,{onClick:$e,title:d.businessVerificationTitle,subTitle:d.businessVerificationSubTitle,header:d.businessVerificationHeader,icon:{element:t.jsx(Ge,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:I},status:A?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(it,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:N,plaidConnectionDetails:$,allBankAccounts:Ae,sectionId:E,isDisabled:w,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:I},analytics:y,productType:"bill_pay",isAccountsEnabled:te,onSignUpClick:Ce,pageName:"Bill Pay Setup",accountsPromoConfig:ae}),t.jsx(H,{title:j.length>0?d.approvalTitle:d.createApprovalTitle,subTitle:c.approvalSubTitle,header:j.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Xe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:I},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?je:void 0})]})})}),r===!0?t.jsx(H,{title:T?c.enableInternationalWireTitle:c.internationWireTitle,subTitle:c.internationalWireSubTitle2,header:c.internationalWireHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:I},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},isClickable:!0,onClick:()=>{T&&y.trackEnableIntlWire(ie),Se?.()},status:T?void 0:{name:h.name,code:h.code},statusInfoIcon:h?.code==="verification_pending"||h?.code==="verification_failed"?t.jsx(Ke,{title:h.code==="verification_pending"?c.tooltipTexts.pendingInternationalVerificationText:c.tooltipTexts.internationalVerificationFailed,children:t.jsx(lt,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),D&&!R&&j.length>0?t.jsx(Ye,{formId:Z(Y),primaryBtn:{label:c.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:b.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:w!=null},showCancel:!1,helperText:c.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(tt,{isFooterRendered:D&&!R,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},ot=g.div``,at=g.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{u as fe,X as Ce,a as xe,c3 as Pe,ab as $,M as be,j as t,C as P,aW as Ae,d as Ie,F as ve,aQ as je,c4 as $e,a7 as ke,o as s,h3 as ze,cw as Be,cx as Ee,p as b,s as Te,gi as Ve,Q as Oe,g as Le}from"./index-BRPl2wF0.js";import{b as W,n as r}from"./vendor-CnQcJ2Lu.js";import{M as De,r as H,e as Me}from"./PaymentAccountSetupBillingAddressSection-Debi_lWf-CETxD32S.js";import{z as Re}from"./SetUpAccountSection-nul4pyeP-G_79pEQX.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./SetUpDefaultSection-ByW3h9zl-DnxR2In6.js";import"./ChaseOverlay-DPgGIuyV-ByssAih3.js";const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,b[5],b[5]),iconWidthHeight:new P(20,b[4]),subTitlePaddingTop:new P(12,b[3])},We={title:new Oe("standardSemiBold","largeSemiBold")},_="billingSetupPage",A="payAccountSectionId",n="subscriptionBillingAddressSectionId",lt=({analytics:e,billingSetupView:a,connectedAccountProvider:g,isDisabled:d,onClickMenuIcon:I,uiState:K,stripeKey:N,googleAPIKey:J,companyId:Q,onUpdateAccountClick:q,onFetchLinkTokenClick:G,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:k,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const C=fe(),i=Ce(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:z},cardPaymentView:m}=a,ce=a.subscriptionBillingAddress,B=y?.providerVerificationStatus,ue=z.fetchState==="In-Progress"||z.fetchState==="Not-Started",S=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:F(a),values:F(a),resetOptions:{keepDirtyValues:!0}}),pe=S.handleSubmit(c=>{se(Q)}),E=a.subscriptionBillingAddressSaveStatus,me=async(c,o)=>{const h=o[A];if(c.includes(n)&&o[n]!=null){const v=S.getValues(`${n}`).country;let u=o[n];if(c.includes(`${n}.street`)&&o[n].street!=null){const{addressValue:f}=o[n].street,j=Be(f?.country);u={street:o[n].street??l.strings.empty,city:f?.locality??l.strings.empty,state:f?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:f?.countryCode??l.strings.empty,postalCode:f?.postalCode??l.strings.empty,secondaryInfo:o[n].secondaryInfo,suite:o[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ee(v.selectedOption)});u!=null&&re(u)}else c.includes(A)&&h.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==h.account.selectedOption&&q(h.account.selectedOption,y.paymentAccountId)};W.useEffect(()=>{const c=S.watch((o,{name:h})=>{h!=null&&o!=null&&Pe(()=>me(h,o))});return()=>{c.unsubscribe()}});const T=C.mode==="light"?new $(C.colors.brandColorJadeLight):new $(C.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:w}},common:l,billingSetupPage:V}=be.getLocalizedStrings(),ge=V.section.subTitle,{text:ye,subText:Se}=he,O=m.cardsList.length>0,L=m?.cardsList[0]?.brand??"other",D=m?.addCardPaymentSourceStatus.fetchState,x=De(w.header,w.titleText,w.protectedCardNo,m);let M;O&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:O===!0,icon:{element:t.jsx("img",{src:H(L).iconURL,width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i),alt:H(L).name}),color:new $(T)},showCompletedIcon:!1,isError:D==="Error",isLoading:D==="In-Progress",isCompleted:!0,showRightArrow:!1});const[R,we]=W.useState(!1);return t.jsxs(_e,{children:[t.jsx(Ae,{source:"BillingSettingsPage",title:V.section.title,backgroundColor:C.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{windowSize:i,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ie,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...S,children:t.jsx(qe,{children:t.jsx("form",{id:U(_),onSubmit:pe,children:t.jsxs(Ke,{windowSize:i,children:[t.jsx(Re,{connectedAccountProvider:g,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:w.header,sectionTitle:w.header,defaultSectionTitle:ye,defaultSectionSubTitle:Se,sectionId:A,isDisabled:d,onFetchLinkTokenClick:G,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Z,onEstablishConnectionSuccess:ee,isError:B?.code==="require_info"||B?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i)}),color:T},analytics:e,productType:"billing",updateCardPaymentModalState:k,cardPaymentSectionValues:M,cardPaymentView:m,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:R}),Ne(i,l.headers.billingAddress,ce,J,d)]})})})}),$e(S.formState.dirtyFields)?t.jsx(ke,{formId:U(_),style:{width:i==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:E?.fetchState==="In-Progress",isDisabled:E?.fetchState==="In-Progress",style:{height:s.sp6}},showCancel:!1,containerStyle:{width:"auto",justifyContent:"center"}}):null]}),t.jsx(Me,{handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:k,handleCreateCardSetupIntent:te,handleAddCardPaymentSource:ie,cardPaymentView:m,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:N,cardSetupInProgress:R,setCardSetupInProgress:we})]})},F=e=>{const{paymentAccount:a,allBankAccounts:g}=e.setupView;return{[A]:{account:{selectedOption:a?.zeniAccountId,allOptions:g.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:ze(n,e.subscriptionBillingAddress)[n]}},He=r.div`
1
+ import{u as fe,X as Ce,a as xe,c3 as Pe,ab as k,M as be,j as t,C as P,aW as Ae,e as Ie,F as ve,aQ as je,c4 as ke,a7 as $e,o as s,h2 as Oe,cw as Be,cx as Ee,q as b,t as Te,gh as Ve,Q as ze,g as Le}from"./index-DEtloYMb.js";import{b as W,n as r}from"./vendor-CnQcJ2Lu.js";import{M as De,r as H,e as Me}from"./PaymentAccountSetupBillingAddressSection-DM9NYbmX-C_WC5GD-.js";import{O as Re}from"./SetUpAccountSection-DDe06VBR--XDyyAq7.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js";import"./ChaseOverlay-CHWBgNa9-BGn2Q_2a.js";const p={titleWidth:new P(343,580,726,826),setupDetailsRowGap:new P(12,b[5],b[5]),iconWidthHeight:new P(20,b[4]),subTitlePaddingTop:new P(12,b[3])},We={title:new ze("standardSemiBold","largeSemiBold")},_="billingSetupPage",A="payAccountSectionId",n="subscriptionBillingAddressSectionId",lt=({analytics:e,billingSetupView:a,connectedAccountProvider:g,isDisabled:d,onClickMenuIcon:I,uiState:K,stripeKey:N,googleAPIKey:q,companyId:J,onUpdateAccountClick:G,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const C=fe(),i=Ce(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:O},cardPaymentView:m}=a,ce=a.subscriptionBillingAddress,B=y?.providerVerificationStatus,ue=O.fetchState==="In-Progress"||O.fetchState==="Not-Started",S=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:F(a),values:F(a),resetOptions:{keepDirtyValues:!0}}),pe=S.handleSubmit(c=>{se(J)}),E=a.subscriptionBillingAddressSaveStatus,me=async(c,o)=>{const h=o[A];if(c.includes(n)&&o[n]!=null){const v=S.getValues(`${n}`).country;let u=o[n];if(c.includes(`${n}.street`)&&o[n].street!=null){const{addressValue:f}=o[n].street,j=Be(f?.country);u={street:o[n].street??l.strings.empty,city:f?.locality??l.strings.empty,state:f?.administrativeAreaLevel1??l.strings.empty,country:j,countryCode:f?.countryCode??l.strings.empty,postalCode:f?.postalCode??l.strings.empty,secondaryInfo:o[n].secondaryInfo,suite:o[n].suite},v.selectedOption!==j.selectedOption&&(u={...u,country:j})}else c===`${n}.country`&&v.selectedOption!=null&&(u={...u,countryCode:Ee(v.selectedOption)});u!=null&&re(u)}else c.includes(A)&&h.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==h.account.selectedOption&&G(h.account.selectedOption,y.paymentAccountId)};W.useEffect(()=>{const c=S.watch((o,{name:h})=>{h!=null&&o!=null&&Pe(()=>me(h,o))});return()=>{c.unsubscribe()}});const T=C.mode==="light"?new k(C.colors.brandColorJadeLight):new k(C.colors.brandColorJadeDark),{customerOnboardingPage:{sections:{link_payment_account:he,card_payment_method:w}},common:l,billingSetupPage:V}=be.getLocalizedStrings(),ge=V.section.subTitle,{text:ye,subText:Se}=he,z=m.cardsList.length>0,L=m?.cardsList[0]?.brand??"other",D=m?.addCardPaymentSourceStatus.fetchState,x=De(w.header,w.titleText,w.protectedCardNo,m);let M;z&&(M={header:x.header,title:x.title,subtitle:x.subtitle,status:x.status==="valid"?{name:"Verified",code:"verified"}:{name:"Pending",code:"pending"},showAddPaymentMethodDropDown:z===!0,icon:{element:t.jsx("img",{src:H(L).iconURL,width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i),alt:H(L).name}),color:new k(T)},showCompletedIcon:!1,isError:D==="Error",isLoading:D==="In-Progress",isCompleted:!0,showRightArrow:!1});const[R,we]=W.useState(!1);return t.jsxs(_e,{children:[t.jsx(Ae,{source:"BillingSettingsPage",title:V.section.title,backgroundColor:C.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{windowSize:i,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ie,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...S,children:t.jsx(Ge,{children:t.jsx("form",{id:U(_),onSubmit:pe,children:t.jsxs(Ke,{windowSize:i,children:[t.jsx(Re,{connectedAccountProvider:g,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:w.header,sectionTitle:w.header,defaultSectionTitle:ye,defaultSectionSubTitle:Se,sectionId:A,isDisabled:d,onFetchLinkTokenClick:Q,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Z,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:B?.code==="require_info"||B?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i)}),color:T},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:m,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:R}),Ne(i,l.headers.billingAddress,ce,q,d)]})})})}),ke(S.formState.dirtyFields)?t.jsx($e,{formId:U(_),style:{width:i==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:E?.fetchState==="In-Progress",isDisabled:E?.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:m,isCardPaymentOpen:K.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:ae,stripeKey:N,cardSetupInProgress:R,setCardSetupInProgress:we})]})},F=e=>{const{paymentAccount:a,allBankAccounts:g}=e.setupView;return{[A]:{account:{selectedOption:a?.zeniAccountId,allOptions:g.map(d=>({label:d.accountName,value:d.accountId}))}},[n]:Oe(n,e.subscriptionBillingAddress)[n]}},He=r.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  height: 100%;
@@ -31,14 +31,14 @@ import{u as fe,X as Ce,a as xe,c3 as Pe,ab as $,M as be,j as t,C as P,aW as Ae,d
31
31
  `,Ke=r.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
- `,Ne=(e,a,g,d,I)=>t.jsxs(Je,{children:[t.jsx(Qe,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(Ve,{googleAPIKey:d??"",addressToEdit:g,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),Je=r.div`
34
+ `,Ne=(e,a,g,d,I)=>t.jsxs(qe,{children:[t.jsx(Je,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(Ve,{googleAPIKey:d??"",addressToEdit:g,sectionId:`${n}`,style:{marginLeft:"0px"},elementsStyle:{paddingRight:"0px"}})]}),qe=r.div`
35
35
  margin-top: ${s.sp3};
36
36
  margin-bottom: ${s.sp4};
37
- `,Qe=r.div`
37
+ `,Je=r.div`
38
38
  ${e=>`${We.title.style(e.windowSize)}`};
39
39
  margin-bottom: ${s.sp3};
40
40
  margin-top: ${s.sp4};
41
41
  color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
- `,qe=r.div`
42
+ `,Ge=r.div`
43
43
  flex: 1;
44
44
  `,U=e=>`${e}_form`;export{lt as default,U as uniqueName};
@@ -1 +1 @@
1
- import{M as V,j as b,bN as q,bP as M,bQ as W,jl as z,l as H,aJ as J}from"./index-BRPl2wF0.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as Q}from"./ReviewOverlay-AoSgYufX-DMqIEz4n.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{billPay:C}}=V.getLocalizedStrings(),o=C.bulkActions;let x;const ce=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:w}=t,u=i==="review",[P,h]=_.useState(!1),[s,v]=_.useState(j(t,u)),[p,E]=_.useState(u),[B,T]=_.useState(0),[f,k]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===B?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),T(d=>d+1)},1e3)),B===s.length&&p&&(E(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(j(t,!1)),()=>{clearInterval(x)}),[s.length,B,p,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,N=()=>{const{title:d,description:S}=Y(y);k({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,w),h(!0)},A={onOkClick:d=>{h(!1),r.trackBillPayBulkPopupConfirm(i,g,w,X(t)),l("reject",d)},onCancelClick:()=>{h(!1)}},{title:F,description:$}=Z(m,y,R,p),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,w),l(i)},D={label:I?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:I?c:U,style:i==="send_for_approval"?{minWidth:"92px"}:{}},L={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:N,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[P?b.jsx(q,{titleComponent:b.jsx(W,{children:f.title}),descriptionComponent:b.jsx(M,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:A,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:F,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:c,showFooter:t.fetchState==="Completed"&&!p,footerProps:{primaryButton:D,cancelButton:L,hideCancel:I}})]})},j=(t,r)=>{const l=t.fetchState==="In-Progress";return t.billsForReview.map(e=>({id:e.transactionId,leftSideText:{title:e.vendorName?e.vendorName:C.billDetails.newBillTitle,subTitle:`${C.billDetails.invoiceNo} ${e.invoiceNumber?e.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:J("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&H.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:G(e.reviewStatus==="warning",e.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:e.reviewErrors!=null&&e.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:e.reviewErrors?.length===1&&e.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":e.reviewStatus??""}}))},X=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=z([...l,e.isRecurring?"recurring":"one-time"])}),l},Y=t=>{const{this_:r,these:l,bill:e,bills:c,payment:m,payments:a}=n.texts;return t>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_>",e)}},Z=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:w,do_:u,does:P}=n.texts,h=r>1,s=l>1;let v="",p="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:P):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",h?g:w)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},G=(t,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return t?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{ce as default,X as getBillsUniqueType};
1
+ import{M as V,j as b,bO as q,bQ as M,bR as W,jk as z,l as H,aJ as J}from"./index-DEtloYMb.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as Q}from"./ReviewOverlay-CbpylyCx-CRT_fGNL.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{billPay:C}}=V.getLocalizedStrings(),o=C.bulkActions;let x;const ce=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:w}=t,u=i==="review",[B,h]=_.useState(!1),[s,v]=_.useState(j(t,u)),[p,k]=_.useState(u),[P,E]=_.useState(0),[f,T]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,L)=>(clearInterval(x),L===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),P===s.length&&p&&(k(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(j(t,!1)),()=>{clearInterval(x)}),[s.length,P,p,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Y(y);T({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,w),h(!0)},F={onOkClick:d=>{h(!1),r.trackBillPayBulkPopupConfirm(i,g,w,X(t)),l("reject",d)},onCancelClick:()=>{h(!1)}},{title:N,description:$}=Z(m,y,R,p),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,w),l(i)},D={label:I?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:I?c:U,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[B?b.jsx(q,{titleComponent:b.jsx(W,{children:f.title}),descriptionComponent:b.jsx(M,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:N,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:c,showFooter:t.fetchState==="Completed"&&!p,footerProps:{primaryButton:D,cancelButton:O,hideCancel:I}})]})},j=(t,r)=>{const l=t.fetchState==="In-Progress";return t.billsForReview.map(e=>({id:e.transactionId,leftSideText:{title:e.vendorName?e.vendorName:C.billDetails.newBillTitle,subTitle:`${C.billDetails.invoiceNo} ${e.invoiceNumber?e.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:J("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&H.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:G(e.reviewStatus==="warning",e.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:e.reviewErrors!=null&&e.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:e.reviewErrors?.length===1&&e.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":e.reviewStatus??""}}))},X=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=z([...l,e.isRecurring?"recurring":"one-time"])}),l},Y=t=>{const{this_:r,these:l,bill:e,bills:c,payment:m,payments:a}=n.texts;return t>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_>",e)}},Z=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:w,do_:u,does:B}=n.texts,h=r>1,s=l>1;let v="",p="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:B):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",h?g:w)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},G=(t,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return t?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{ce as default,X as getBillsUniqueType};
@@ -1,4 +1,4 @@
1
- import{X as a,j as s,Y as b,o as r}from"./index-BRPl2wF0.js";import{n as p}from"./vendor-CnQcJ2Lu.js";import{o as l}from"./commonDimensions-Cg7EWgSP-B_3asR-F.js";const $=(o,e)=>e===1?"roundedBox":o===0?"topRoundedBox":o===e-1?"bottomRoundedBox":"box";function f({content:o,boxType:e,isDisabled:d=!1,isNotClickable:t=!1}){const i=a();switch(e??"roundedBox"){case"topRoundedBox":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",e),children:o});case"bottomRoundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",e),children:o});case"box":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",e),children:o});case"roundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const h=p.div`
1
+ import{X as a,j as s,Y as b,o as r}from"./index-DEtloYMb.js";import{n as p}from"./vendor-CnQcJ2Lu.js";import{o as l}from"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";const $=(o,e)=>e===1?"roundedBox":o===0?"topRoundedBox":o===e-1?"bottomRoundedBox":"box";function f({content:o,boxType:e,isDisabled:d=!1,isNotClickable:t=!1}){const i=a();switch(e??"roundedBox"){case"topRoundedBox":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",e),children:o});case"bottomRoundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",e),children:o});case"box":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",e),children:o});case"roundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const h=p.div`
2
2
  box-sizing: border-box;
3
3
  cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
4
4
  min-height: ${o=>l.transactionItemHeightResponsive.valuePx(o.windowSize)};
@@ -0,0 +1,140 @@
1
+ import{u as et,X as tt,a5 as Se,j as i,M as Te,i as G,a as it,ch as at,l as L,A as st,c3 as nt,aJ as ot,a0 as rt,K as lt,aW as ct,Y as dt,c4 as mt,bO as pt,bQ as ut,bR as ft,e as yt,F as ht,a7 as gt,o as r,C as P,m as $e,fE as xt,fc as Ce,cw as wt,c0 as St,a6 as Ct,t as ke,Q as bt,h as vt,q as k}from"./index-DEtloYMb.js";import{b as j,n as d}from"./vendor-CnQcJ2Lu.js";import{o as Dt,G as Tt}from"./CompanyOfficerDetailsSection-DVG0lvX--Dfy9v0Wy.js";import{r as $t}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js";import"./LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js";import"./LabeledDocumentField-aYYBY16j-D9fngETw.js";import"./DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js";const x={width:new P(343,580,726),titleWidth:new P(343,580,726,826),subTitlePaddingTop:new P(12,k[3]),subTitlePaddingBottom:new P(k[3],k[3]),verificationDetailsRowGap:new P(12,k[5],k[5]),termsPaddingLeftRight:new P(k[0],k[3])},kt={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:Nt,footer:ve,strings:{empty:Pt}}}=Te.getLocalizedStrings(),pi=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:_,filesEndPoint:o,authParams:B,productType:y,allIndustries:E,companyTitles:z,maxInsuredAmount:p,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,onAddressClick:H,onRegisteredAddressClick:Ne,onBackClick:O,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,onSendForVerificationClick:Oe,onEditFileName:ee,onCompanyDetailsChanged:Ve,updateFilesEntity:te,onDeleteFile:ie,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ae,onSaveDetailsClick:_e,onClickMenuIcon:Be})=>{const Ee=et(),m=tt(),{updateStatus:R,companyView:V,companyDetailsLocalData:l,companyOfficerLocalData:S}=t,ze=Se(R.fetchState),U=V?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?i.jsxs(Et,{children:[s.terms.term1,i.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,i.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,i.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,i.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=j.useState(!1),[M,se]=j.useState("save"),[Z,Me]=j.useState(!1),u=it({mode:"all",reValidateMode:"onChange",defaultValues:jt(t,E,z,A)}),{isValid:Ge}=u.formState,q=V?.company.company.companyBillPayInfo,K=V?.company.company.companyTreasuryInfo,N=y==="zeni_treasury"?K?.companyVerificationStatus:q?.companyVerificationStatus,D=Object.values(S).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=S[T],a=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,$=e?.lastName,re=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,J=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,Y=l?.primaryContactLocalData,ge=Y?.firstName,xe=Y?.lastName,we=Y?.email;a!=null&&f!=null&&C!=null&&$!=null&&c!=null&&re!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&J!=null&&fe!=null&&ye!=null&&ue!=null&&J!=null&&he!=null&&ge!=null&&xe!=null&&we!=null&&g?.trackBusinessVerificationSend({email:a,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:$,companyRole:re,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:J,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:we},y,n?"Settings":void 0)},Ze=()=>{const e=S[T],a=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=a?.email??"",$=!!a?.firstName&&!!a?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&u.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!$?((!a?.firstName||!a?.lastName)&&u.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},qe=()=>{const e=S[T],a=l?.primaryContactLocalData,c=e?.email,f=a?.email;if(c){if(!f)return(a?.firstName||a?.lastName)&&u.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||Q!=null&&Q?.length>0)return u.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Ke=u.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&S[T]?.isPhoneVerified!==!0){u.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=at(Object.values(S).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),a=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(a)).fetchState!=="In-Progress"&&Ge&&(We(),Oe?.(T))}),Qe=async(e,a)=>{e.includes(b)?Ve?.(a[b]):e.includes(v)&&Ae?.(a[v])},Xe=j.useCallback(st((e,a)=>{Qe(e,a)},300),[]);j.useEffect(()=>{const e=u.watch((a,{name:c})=>{c!=null&&a!=null&&nt(()=>Xe(c,a))});return()=>{e.unsubscribe()}});const ne=Se(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ae?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ae,u]);const oe=V?.companyOfficers.slice(0,10).sort((e,a)=>e.user.createTime?.isAfter(a.user.createTime)===!0?1:-1),Q=oe?.map(e=>e.user),Je=oe?.map(e=>e.role),Ye={onOkClick:()=>{W(!1),O();const e=[],a=V?.company.company.incInfo.fileIds??[];u.getValues(`${b}.fileIds`).forEach(c=>{a.includes(c)||e.push(c)}),Je?.forEach((c,f)=>{const C=c?.fileIds??[];u.getValues(`${v}.${f}.fileIds`).forEach($=>{C.includes($)||e.push($)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},He=ot(rt(p),p,Nt.currencySymbol).toUpperCase(),X=N?.code==="pending_review"||N?.code==="verified";return y==="zeni_treasury"&&N?.code==="pending_review"&&ze==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(qt,{children:[i.jsxs(Kt,{children:[i.jsx($t,{}),i.jsx(Qt,{windowSize:m,children:s.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),i.jsx(lt,{label:s.submittedButton,onClick:O,variant:"primary"})]}):i.jsxs(Ft,{isSettings:n,children:[i.jsx(ct,{title:h&&w===!0?Pt:s.header,backgroundColor:Ee.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(u.formState.dirtyFields)?W(!0):O()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:Be,rightSideComponent:h?i.jsx(Xt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{O()}}):null,source:"BusinessVerificationPage"}),Ue===!0?i.jsx(pt,{titleComponent:i.jsx(ft,{children:s.discardTitle}),descriptionComponent:i.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:Ye}):null,i.jsxs(Lt,{windowSize:m,children:[(!h||w===!1)&&i.jsx(Vt,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?i.jsx(At,{children:i.jsx(yt,{size:"ExtraLarge",start:!0})}):i.jsx(ht,{...u,children:i.jsxs("form",{id:De(be),onSubmit:Ke,children:[h&&w===!0&&i.jsxs(Ot,{children:[i.jsxs(zt,{windowSize:m,children:[i.jsx(Rt,{windowSize:m,children:X?s.businessVerificationDetails:s.verifyBusinessDetails}),!X&&i.jsx(Ut,{children:i.jsxs(Mt,{children:[i.jsx(Gt,{}),i.jsx(Wt,{})]})})]}),i.jsx(Ie,{isReadonly:X,children:s.verifyBusinessDetailsDescription})]}),i.jsxs(_t,{children:[i.jsx(Dt,{companyOfficerData:S,allNationalityCountries:A,allOfficers:Q??[],sectionId:v,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:H,onDeleteFile:ie,isDisabled:I,filesEndPoint:o,authParams:B,isPopupOpen:Z,openPopup:Me,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:N,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:N?.code==="pending_review"||N?.code==="verified"?"readonly":I,fileProps:{authParams:B,filesEndPoint:o,onEditFileName:ee,onDeleteFile:ie,updateFilesEntity:te},onCompanyAddressClick:H,onRegisteredAddressClick:Ne,connectedAccountProvider:U,allIndustries:E})]}),y==="zeni_accounts"?i.jsx(Bt,{windowSize:m,children:s.threadText.replace("__amount__",He)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":q?.businessVerificationStatus?.code!=="pending_review"&&q?.businessVerificationStatus?.code!=="verified")?i.jsx(gt,{formId:De(be),primaryBtn:{label:w?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)O();else{const e=S[T],a=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=qe();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:a?.firstName,lastName:a?.lastName,email:a?.email},y,n?"Settings":void 0),_e?.(T))}}},helperText:Re,style:{padding:`12px ${r.sp3}`,zIndex:Z?0:4}}):null]})},jt=(t,A,F,_)=>{const{companyDetailsLocalData:o,companyOfficerLocalData:B,companyView:y}=t,E=Te.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:o?.companyDescription??"",ein:o?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:o?.companyId??"",syncToken:o?.syncToken,companyLegalName:o?.companyLegalName??"",companyWebsite:o?.website?.toString()??"",companyAddress:o?.addressStatus?.addressToCreate,registeredAddress:o?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:o?.companyIndustry,allOptions:A?.map(p=>p.code)},companyPhone:o?.phone??"",companyTaxId:o?.taxIdOrEIN??"",primaryContactName:{firstName:o?.primaryContactLocalData?.firstName??"",lastName:o?.primaryContactLocalData?.lastName??""},primaryContactEmail:o?.primaryContactLocalData?.email??"",primaryContactUserId:o?.primaryContactLocalData?.userId,primaryContactSyncToken:o?.primaryContactLocalData?.syncToken,fileIds:o?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:o?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:o?.incDate?.toDate(),typeOfIncorporation:{selectedOption:o?.typeOfIncorporation,allOptions:E.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:o?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},formationDocument:o?.companyFiles.find(p=>p.documentType==="company_formation_document")},[v]:Object.values(B).map((p,I)=>{const n=p,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:wt(n?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:F?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:Ce(!0,n?.userFiles??[],h),back:Ce(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},De=t=>`${t}_form`,Ft=d.div`
2
+ display: flex;
3
+ min-height: 100%;
4
+ flex-direction: column;
5
+ width: 100%;
6
+ row-gap: ${r.sp3};
7
+ background-color: ${t=>t.isSettings?"unset":t.theme.colors.grey5};
8
+ `,Ot=d.div`
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: flex-start;
12
+ justify-content: center;
13
+ gap: ${r.sp1};
14
+ width: 100%;
15
+ padding-bottom: ${r.sp3};
16
+ `,Vt=d(ke)`
17
+ color: ${t=>t.theme.colors.hero};
18
+ display: flex;
19
+ justify-content: center;
20
+ width: ${t=>x.titleWidth.valuePx(t.windowSize)};
21
+ padding-top: ${t=>x.subTitlePaddingTop.valuePx(t.windowSize)};
22
+ padding-bottom: ${t=>x.subTitlePaddingBottom.valuePx(t.windowSize)};
23
+ text-align: ${t=>t.windowSize==="small"?"initial":"center"};
24
+ `,Lt=d.div`
25
+ display: flex;
26
+ justify-content: flex-start;
27
+ height: 100%;
28
+ overflow-y: auto;
29
+ flex-direction: column;
30
+ align-items: center;
31
+ padding-bottom: ${r.sp9};
32
+ row-gap: ${t=>x.verificationDetailsRowGap.valuePx(t.windowSize)};
33
+ `,At=d.div`
34
+ display: flex;
35
+ width: 100%;
36
+ height: calc(100vh - 110px);
37
+ flex-direction: row;
38
+ justify-content: center;
39
+ align-items: center;
40
+ background-color: ${t=>t.theme.colors.grey4};
41
+ `,_t=d.div`
42
+ display: flex;
43
+ flex-direction: column;
44
+ row-gap: ${r.sp11};
45
+ `,Bt=d($e)`
46
+ margin-top: ${r.sp2};
47
+ padding: ${r.sp2} ${r.sp2};
48
+ text-align: center;
49
+ color: ${t=>t.theme.colors.grey1};
50
+ width: ${t=>x.width.valuePx(t.windowSize)};
51
+ `,Et=d($e)`
52
+ text-align: center;
53
+ max-width: 750px;
54
+ color: ${t=>t.theme.colors.hero};
55
+ `,zt=d.div`
56
+ display: flex;
57
+ flex-direction: column;
58
+ gap: ${r.sp3};
59
+ width: 100%;
60
+ `,Rt=d(vt)`
61
+ ${t=>`${kt.stepTitle.style(t.windowSize)}`};
62
+ color: ${t=>t.theme.colors.primary};
63
+ text-align: left;
64
+ `,Ut=d.div`
65
+ display: flex;
66
+ align-items: center;
67
+ overflow: hidden;
68
+ gap: ${r.sp2};
69
+ `,Mt=d.div`
70
+ display: flex;
71
+ width: 100%;
72
+ gap: ${r.sp3};
73
+ `,Gt=d.div`
74
+ width: 50%;
75
+ height: 2px;
76
+ background-color: ${t=>t.theme.colors.primary};
77
+ border-radius: ${r.sp2};
78
+ flex-shrink: 0;
79
+ `,Wt=d.div`
80
+ width: 50%;
81
+ height: 2px;
82
+ background-color: ${t=>t.theme.colors.grey3};
83
+ border-radius: ${r.sp2};
84
+ flex-shrink: 0;
85
+ position: relative;
86
+ overflow: hidden;
87
+
88
+ &::after {
89
+ content: "";
90
+ position: absolute;
91
+ top: 0;
92
+ left: 0;
93
+ height: 100%;
94
+ width: 100%;
95
+ background-color: ${t=>t.theme.colors.primary};
96
+ animation: fillProgress 1s ease-in-out forwards;
97
+ }
98
+
99
+ @keyframes fillProgress {
100
+ 0% {
101
+ transform: translateX(-100%);
102
+ }
103
+ 100% {
104
+ transform: translateX(0%);
105
+ }
106
+ }
107
+ `,Ie=d(ke)`
108
+ color: ${t=>t.theme.colors.hero};
109
+ margin-top: ${t=>t.isReadonly?r.sp0:r.sp3};
110
+ white-space: pre-line;
111
+ `,Zt=d(Ie)`
112
+ margin-top: ${r.sp0};
113
+ text-align: center;
114
+ `,qt=d.div`
115
+ display: flex;
116
+ flex-direction: column;
117
+ align-items: center;
118
+ justify-content: center;
119
+ gap: ${r.sp5};
120
+ margin: auto;
121
+ `,Kt=d.div`
122
+ display: flex;
123
+ flex-direction: column;
124
+ align-items: center;
125
+ justify-content: center;
126
+ gap: ${r.sp3};
127
+ `,Qt=d(St)`
128
+ color: ${t=>t.theme.colors.primary};
129
+ white-space: pre-line;
130
+ text-align: center;
131
+ `,Xt=d(Ct)`
132
+ cursor: pointer;
133
+ color: ${t=>t.theme.colors.hero};
134
+ width: ${r.sp4};
135
+ height: ${r.sp4};
136
+ min-height: ${r.sp4};
137
+ &:hover {
138
+ color: ${t=>t.theme.colors.primary};
139
+ }
140
+ `;export{pi as default,De as uniqueName};
@@ -1,4 +1,4 @@
1
- import{X as g,M as w,j as t,q as x,Q as $,o as s,h as C}from"./index-BRPl2wF0.js";import{n as o,b as d}from"./vendor-CnQcJ2Lu.js";const y=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.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:n,spendManagement:{chargeCard:r}}=w.getLocalizedStrings(),f={subText:new $("extraSmallRegular","standardRegular")},R=({cardDetail:e,forDetailPage:a})=>{const h=g(),u=e.type.code.includes("credit")?r.chargeCardsPromo.credit:r.chargeCardsPromo.debit;let l=e.type.code.includes("physical")?r.cardList.physicalCard:r.cardList.virtualCard;const i=n.strings.space+r.cardDetails.expiryHideOut+n.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!a?l:i,c=e.type.code.includes("physical");return t.jsxs(v,{windowSize:h,forDetailPage:a,className:"cardName",title:`${m}`,children:[u,t.jsx(H,{}),l,c&&!a?t.jsx(p,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!a?null:i,c&&a?t.jsx(p,{}):null]})},v=o(C)`
1
+ import{X as g,M as w,j as t,r as x,Q as $,o as s,h as C}from"./index-DEtloYMb.js";import{n as o,b as d}from"./vendor-CnQcJ2Lu.js";const y=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.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:n,spendManagement:{chargeCard:r}}=w.getLocalizedStrings(),f={subText:new $("extraSmallRegular","standardRegular")},R=({cardDetail:e,forDetailPage:a})=>{const h=g(),u=e.type.code.includes("credit")?r.chargeCardsPromo.credit:r.chargeCardsPromo.debit;let l=e.type.code.includes("physical")?r.cardList.physicalCard:r.cardList.virtualCard;const i=n.strings.space+r.cardDetails.expiryHideOut+n.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!a?l:i,c=e.type.code.includes("physical");return t.jsxs(v,{windowSize:h,forDetailPage:a,className:"cardName",title:`${m}`,children:[u,t.jsx(H,{}),l,c&&!a?t.jsx(p,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!a?null:i,c&&a?t.jsx(p,{}):null]})},v=o(C)`
2
2
  ${e=>e.forDetailPage?{...x.extraSmallRegular.cssObject}:`${f.subText.style(e.windowSize)}`};
3
3
  color: ${e=>e.theme.colors.hero};
4
4
  max-width: 100%;
@@ -1,4 +1,4 @@
1
- import{u as k,X as f,j as t,aW as te,M as w,cO as L,q as u,ao as q,bD as ie,o as i,g as B,C as h,s as v,de as oe,l as y,p as l,b7 as re,b8 as ae,aB as se,aA as ne,aJ as de,b9 as le,bb as ce,iy as he,_ as O,bn as pe,Y as P,v as $,iz as X,iA as _,ih as me,bY as ge,b$ as xe,f as T,ii as we,ij as ue}from"./index-BRPl2wF0.js";import{n as o,f as Y,b as V}from"./vendor-CnQcJ2Lu.js";import{F as ye}from"./InsightsSection-DyF8JZIR-B8z3WtkK.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-nvOimTil-G0PfP6Yi.js";const be=({x:e,y:s,width:n,height:a,payload:r})=>{const c=k();return t.jsx(he,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:s,width:n,height:a})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,$e=({active:e,payload:s,label:n})=>e===!0&&(s?.[0].payload).showTooltip===!0?t.jsx(ve,{children:t.jsx(je,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(G,{children:W.month})," ",t.jsx(A,{children:y.getZeniDateFromPeriod(n).format(fe)})]}),t.jsxs(E,{children:[t.jsx(G,{children:W.cashback}),t.jsx(A,{children:O("0,0.[00]",{amount:s?.[0].value??0,currencyCode:(s?.[0].payload).currencyCode,currencySymbol:(s?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
1
+ import{u as k,X as f,j as t,aW as te,M as w,cO as P,r as u,ao as q,bC as ie,o as i,g as B,C as h,t as v,de as oe,l as y,q as l,b6 as re,b7 as ae,aB as se,aA as ne,aJ as de,b8 as le,ba as ce,ix as he,_ as O,bm as pe,Y as z,v as $,iy as X,iz as _,ig as me,bY as ge,b$ as xe,m as T,ih as we,ii as ue}from"./index-DEtloYMb.js";import{n as o,f as Y,b as V}from"./vendor-CnQcJ2Lu.js";import{F as ye}from"./InsightsSection-CCzgI0uK-wk2msd_s.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-Toh5TKEv-D4TuvGNx.js";const be=({x:e,y:s,width:n,height:a,payload:r})=>{const c=k();return t.jsx(he,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:s,width:n,height:a})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,$e=({active:e,payload:s,label:n})=>e===!0&&(s?.[0].payload).showTooltip===!0?t.jsx(ve,{children:t.jsx(je,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(G,{children:W.month})," ",t.jsx(A,{children:y.getZeniDateFromPeriod(n).format(fe)})]}),t.jsxs(E,{children:[t.jsx(G,{children:W.cashback}),t.jsx(A,{children:O("0,0.[00]",{amount:s?.[0].value??0,currencyCode:(s?.[0].payload).currencyCode,currencySymbol:(s?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
2
2
  display: flex;
3
3
  gap: ${i.sp1};
4
4
  `,ve=o.div`
@@ -20,11 +20,11 @@ import{u as k,X as f,j as t,aW as te,M as w,cO as L,q as u,ao as q,bD as ie,o as
20
20
  `,G=o($)`
21
21
  color: ${e=>e.theme.colors.hero};
22
22
  min-width: 107px;
23
- `,ke=Y.memo($e),{dateFormat:{visual:{MMMYYFormat:Se,YYYYDashMMFormat:Q}},common:{currency:D}}=w.getLocalizedStrings(),Ce=({chartData:e,customToolTipContent:s,width:n,height:a})=>{const r=k();return t.jsx(Me,{width:n,height:a,children:t.jsx(q,{children:({height:c,width:p})=>t.jsxs(re,{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(ae,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(se,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>y.getZeniDateFromPeriod(m).format(Se)}),t.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>de("0,0.[00]a",m,e?.[0].currencySymbol??D.currencySymbol)}),t.jsx(le,{cursor:t.jsx(be,{}),content:s}),t.jsx(ce,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function Le({cashbackByPeriod:e,width:s,height:n}){const a=oe(e,c=>y.getZeniDateFromPeriod(c.period),"asc"),r=ze(a);return t.jsx(Ce,{chartData:r,customToolTipContent:({active:c,payload:p,label:m})=>t.jsx(ke,{active:c,payload:p,label:m}),width:s,height:n})}const Pe=e=>e.format(Q),ze=e=>{const s=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let a=n?.period??y.dateNow().subtract(1,"M").format(Q);for(;s.length<12;){const r={amount:0,period:Pe(y.getZeniDateFromPeriod(a).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??D.currencyCode,currencySymbol:n?.currencySymbol??D.currencySymbol};s.push(r),a=r.period}return s},Me=o.div`
23
+ `,ke=Y.memo($e),{dateFormat:{visual:{MMMYYFormat:Se,YYYYDashMMFormat:Q}},common:{currency:D}}=w.getLocalizedStrings(),Ce=({chartData:e,customToolTipContent:s,width:n,height:a})=>{const r=k();return t.jsx(Me,{width:n,height:a,children:t.jsx(q,{children:({height:c,width:p})=>t.jsxs(re,{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(ae,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(se,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>y.getZeniDateFromPeriod(m).format(Se)}),t.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>de("0,0.[00]a",m,e?.[0].currencySymbol??D.currencySymbol)}),t.jsx(le,{cursor:t.jsx(be,{}),content:s}),t.jsx(ce,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function Pe({cashbackByPeriod:e,width:s,height:n}){const a=oe(e,c=>y.getZeniDateFromPeriod(c.period),"asc"),r=Le(a);return t.jsx(Ce,{chartData:r,customToolTipContent:({active:c,payload:p,label:m})=>t.jsx(ke,{active:c,payload:p,label:m}),width:s,height:n})}const ze=e=>e.format(Q),Le=e=>{const s=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let a=n?.period??y.dateNow().subtract(1,"M").format(Q);for(;s.length<12;){const r={amount:0,period:ze(y.getZeniDateFromPeriod(a).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??D.currencyCode,currencySymbol:n?.currencySymbol??D.currencySymbol};s.push(r),a=r.period}return s},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
- `,U=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,De={key:"month",value:U.month,sortOrder:"ascending",width:new h(50,50)},Fe={key:"cashback",value:U.cashback,sortOrder:"ascending",width:new h(50,50)},ee=()=>[De,Fe],b={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(we,ue)};function Ie({sortConfig:e,onColumnSortConfigChanged:s}){const n=k(),a=f(),[r,c]=V.useState(ee());V.useEffect(()=>{const d=[...r];for(const g of d)g.key===e.sortKey?g.sortOrder=e.sortOrder:g.sortOrder="ascending";c(d)},[e.sortKey,e.sortOrder]);const p=(d,g)=>{let K=g;e.sortKey===d&&(K=g==="ascending"?"descending":"ascending"),s(d,K)},m=r.find(d=>d.key===e.sortKey)??r[0],S=d=>r.find(g=>g.key===d)?.value??"",C=r.map(d=>d.key),R=w.getLocalizedStrings().spendManagement.chargeCard.cardList;return a==="small"?t.jsxs(Z,{windowSize:a,children:[t.jsxs(Ye,{children:[t.jsx(Ke,{children:t.jsx(Re,{})}),t.jsx(pe,{title:R.sortBy,placeholder:R.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(Ee,{onClick:()=>p(m.key,m.sortOrder),"data-testid":P("cashback-list-header-mobile",m.value),children:[t.jsx($,{children:m.value}),t.jsx(J,{sortDataValue:e.sortKey,headerdata:m,children:t.jsx(H,{})})]})]}):t.jsx(Z,{windowSize:a,children:r.map((d,g)=>t.jsxs(Oe,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:g===r.length-1,windowSize:a,children:[t.jsxs(We,{onClick:()=>p(d.key,d.sortOrder),"data-testid":P("cashback-list-header",d.value),children:[t.jsx($,{children:d.value}),t.jsx(J,{sortDataValue:e.sortKey,headerdata:d,children:t.jsx(H,{})})]}),t.jsx(Ve,{sortDataValue:e.sortKey,windowSize:a,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Te,{onClick:()=>p("month","ascending"),"data-testid":P("cashback-list-close-sort",d.key)})})]},d.key))})}const Be=Y.memo(Ie),Z=o($)`
27
+ `,U=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,De={key:"month",value:U.month,sortOrder:"ascending",width:new h(50,50)},Fe={key:"cashback",value:U.cashback,sortOrder:"ascending",width:new h(50,50)},ee=()=>[De,Fe],b={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(we,ue)};function Ie({sortConfig:e,onColumnSortConfigChanged:s}){const n=k(),a=f(),[r,c]=V.useState(ee());V.useEffect(()=>{const d=[...r];for(const g of d)g.key===e.sortKey?g.sortOrder=e.sortOrder:g.sortOrder="ascending";c(d)},[e.sortKey,e.sortOrder]);const p=(d,g)=>{let K=g;e.sortKey===d&&(K=g==="ascending"?"descending":"ascending"),s(d,K)},m=r.find(d=>d.key===e.sortKey)??r[0],S=d=>r.find(g=>g.key===d)?.value??"",C=r.map(d=>d.key),R=w.getLocalizedStrings().spendManagement.chargeCard.cardList;return a==="small"?t.jsxs(Z,{windowSize:a,children:[t.jsxs(Ye,{children:[t.jsx(Ke,{children:t.jsx(Re,{})}),t.jsx(pe,{title:R.sortBy,placeholder:R.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(Ee,{onClick:()=>p(m.key,m.sortOrder),"data-testid":z("cashback-list-header-mobile",m.value),children:[t.jsx($,{children:m.value}),t.jsx(H,{sortDataValue:e.sortKey,headerdata:m,children:t.jsx(J,{})})]})]}):t.jsx(Z,{windowSize:a,children:r.map((d,g)=>t.jsxs(Oe,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:g===r.length-1,windowSize:a,children:[t.jsxs(We,{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(Ve,{sortDataValue:e.sortKey,windowSize:a,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Te,{onClick:()=>p("month","ascending"),"data-testid":z("cashback-list-close-sort",d.key)})})]},d.key))})}const Be=Y.memo(Ie),Z=o($)`
28
28
  top: ${i.sp0};
29
29
  left: ${i.sp0};
30
30
  min-height: ${e=>b.headerHeight.valuePx(e.windowSize)};
@@ -55,12 +55,12 @@ import{u as k,X as f,j as t,aW as te,M as w,cO as L,q as u,ao as q,bD as ie,o as
55
55
  height: 12px;
56
56
  cursor: pointer;
57
57
  color: ${e=>e.theme.colors.hero};
58
- `,J=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(ge)`
63
+ `,J=o(ge)`
64
64
  width: 12px;
65
65
  height: 12px;
66
66
  cursor: pointer;
@@ -94,9 +94,9 @@ import{u as k,X as f,j as t,aW as te,M as w,cO as L,q as u,ao as q,bD as ie,o 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:Ae}},dateFormat:{visual:Ge}}=w.getLocalizedStrings(),Ze=({cashbackPeriod:e,isFirstItem:s,isLastItem:n})=>{const a=f(),r=ee(),c=X(e.period),p=_(c);return t.jsx(qe,{windowSize:a,isFirstItem:s,isLastItem:n,children:t.jsx(Xe,{children:t.jsxs(_e,{children:[t.jsx(Qe,{windowSize:a,responsiveWidth:r[0].width,children:t.jsxs(Ue,{windowSize:a,children:[y.getZeniDateFromPeriod(e.period).format(Ge.MMMMYYYYFormat),p?t.jsxs(He,{children:[t.jsx(Ne,{}),t.jsx(Je,{children:Ae.tillDate})]}):null]})}),t.jsx(et,{windowSize:a,responsiveWidth:r[1].width,children:t.jsx(tt,{windowSize:a,children:O("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},Je=o(T)`
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:Ae}},dateFormat:{visual:Ge}}=w.getLocalizedStrings(),Ze=({cashbackPeriod:e,isFirstItem:s,isLastItem:n})=>{const a=f(),r=ee(),c=X(e.period),p=_(c);return t.jsx(qe,{windowSize:a,isFirstItem:s,isLastItem:n,children:t.jsx(Xe,{children:t.jsxs(_e,{children:[t.jsx(Qe,{windowSize:a,responsiveWidth:r[0].width,children:t.jsxs(Ue,{windowSize:a,children:[y.getZeniDateFromPeriod(e.period).format(Ge.MMMMYYYYFormat),p?t.jsxs(Je,{children:[t.jsx(Ne,{}),t.jsx(He,{children:Ae.tillDate})]}):null]})}),t.jsx(et,{windowSize:a,responsiveWidth:r[1].width,children:t.jsx(tt,{windowSize:a,children:O("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},He=o(T)`
98
98
  color: ${e=>e.theme.colors.grey1};
99
- `,He=o.div`
99
+ `,Je=o.div`
100
100
  display: flex;
101
101
  align-items: center;
102
102
  `,Ne=o.div`
@@ -243,13 +243,13 @@ import{u as k,X as f,j as t,aW as te,M as w,cO as L,q as u,ao as q,bD as ie,o as
243
243
  max-height: 1px;
244
244
  margin-left: ${e=>N.separatorMarginLeftRight.valuePx(e.windowSize)};
245
245
  margin-right: ${e=>N.separatorMarginLeftRight.valuePx(e.windowSize)};
246
- `,I={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Yt=({insightsData:e,cashbackByPeriod:s,uiState:n,cashbackSummary:a,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),m=f();return t.jsxs(St,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs(ft,{windowSize:m,children:[t.jsxs($t,{windowSize:m,children:[t.jsxs(z,{children:[t.jsx(M,{children:j.totalEarned}),t.jsx(L,{amount:a.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(M,{children:j.redeemed}),t.jsx(L,{amount:a.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(M,{children:j.available}),t.jsx(L,{amount:a.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(vt,{children:t.jsx(q,{children:({height:S,width:C})=>t.jsx(Le,{cashbackByPeriod:s,width:C,height:S})})}),t.jsx(jt,{children:t.jsx(ye,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(kt,{children:t.jsx(xt,{cashbackByPeriod:s,uiState:n,onColumnSortConfigChanged:c})})]})},ft=o.div`
246
+ `,I={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Yt=({insightsData:e,cashbackByPeriod:s,uiState:n,cashbackSummary:a,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),m=f();return t.jsxs(St,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs(ft,{windowSize:m,children:[t.jsxs($t,{windowSize:m,children:[t.jsxs(L,{children:[t.jsx(M,{children:j.totalEarned}),t.jsx(P,{amount:a.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(L,{children:[t.jsx(M,{children:j.redeemed}),t.jsx(P,{amount:a.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(L,{children:[t.jsx(M,{children:j.available}),t.jsx(P,{amount:a.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(vt,{children:t.jsx(q,{children:({height:S,width:C})=>t.jsx(Pe,{cashbackByPeriod:s,width:C,height:S})})}),t.jsx(jt,{children:t.jsx(ye,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(kt,{children:t.jsx(xt,{cashbackByPeriod:s,uiState:n,onColumnSortConfigChanged:c})})]})},ft=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};
250
250
  padding-left: ${e=>I.pageContentPaddingLeftRight.valuePx(e.windowSize)};
251
251
  padding-right: ${e=>I.pageContentPaddingLeftRight.valuePx(e.windowSize)};
252
- `,z=o.div`
252
+ `,L=o.div`
253
253
  min-width: 103px;
254
254
  display: flex;
255
255
  flex-direction: column;