@zeniai/web-cockpit-ui 1.14.18-qa → 1.14.19-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 (249) hide show
  1. package/dist/assets/{ACHDetailsPage-DDccOBrQ-DAFloIR7.js → ACHDetailsPage-BahbefPk-CJUwOp-5.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-u3qF__mF-C2rQdAUj.js → AIPerformancePage-BuQApbEf-iP9bvKhu.js} +53 -53
  3. package/dist/assets/AccountInfoPage-TD30edES-B2dxCd6A.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-0PqU7bCV-DjyLxVjc.js → AccountInfoPageContent-DQJFmREl-DoaILqqU.js} +16 -16
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DEqtU-rh-DShYSkdD.js → AccountReconDetailsDrawerPage-D2B9Na3--BPjptdtd.js} +18 -18
  6. package/dist/assets/{AccountRow-DTQ6Qoyr-BWLnnP7O.js → AccountRow-ZcS_RTJN-DNHX6IR1.js} +36 -36
  7. package/dist/assets/{AccountsPromoCardStack-DkYqKp1i-DIQYZHkX.js → AccountsPromoCardStack-Bh2D-mXh-Yx4rUExR.js} +37 -37
  8. package/dist/assets/{AddAddressForCardDrawer-DB3HtvgV-CtFYoq0c.js → AddAddressForCardDrawer-Ds2V5DyG-D2Tq6L1d.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DvgM0-kj-DdLn-yYb.js → AddToWalletPage-DQ_gwAcu-Bv5nxp9i.js} +29 -29
  10. package/dist/assets/{AgingReportsPage-BP6-oG6W-Zw_sJROa.js → AgingReportsPage-BU_tqV13-C2Yi_y38.js} +8 -8
  11. package/dist/assets/{AllUserItems-w6M8k5yU-YJIh_rl6.js → AllUserItems-DBXzXO61-sIPVSbAT.js} +5 -5
  12. package/dist/assets/ApAgingDetailPage-Crv9EDe5-Dm92urnR.js +46 -0
  13. package/dist/assets/AppBasePage-BK_b0fFf-DXr3P5KV.js +70 -0
  14. package/dist/assets/{AppDrawerContent-_gInVeZf-BQim72zX.js → AppDrawerContent-rw39Hn3s-Aoghs5SQ.js} +20 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-CKRde9he-xNULn6j9.js → ApprovalRulesSettingsPage-C6jxuvhu-S4p-j-Jr.js} +7 -7
  16. package/dist/assets/{ArAgingChart-Dg0oBo5K-D_U-_y14.js → ArAgingChart-DVMlvNTF-DuCGC2Pt.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-CNizMSbt-Dth0_YLs.js → ArAgingDetailPage-CbmOL5tx-Bg8YQJ9n.js} +1 -1
  18. package/dist/assets/{AttachmentView-B8hloBca-B7H5OHbd.js → AttachmentView-BTAMhgXU-BizBD4c6.js} +9 -9
  19. package/dist/assets/{BankAccountSection-4HNC0ypd-C0gSDf56.js → BankAccountSection-DVO3xzgl-BbF3_Xvy.js} +7 -7
  20. package/dist/assets/{BankAccountWarningSection-BqgTMjDy-D19_f5S8.js → BankAccountWarningSection-CQsqUFKg-CEwje_vW.js} +10 -10
  21. package/dist/assets/{BankConnectionsSettingsPage-BBQh1oT8-CZV3CN6h.js → BankConnectionsSettingsPage-CEyhk8v--D1MZcFK5.js} +22 -22
  22. package/dist/assets/{BillDetailPage-R4oRrdsm-BEresB8F.js → BillDetailPage-CP6QCrla-C-q234bH.js} +18 -18
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-d_A1-Gv_-3RrpKEuO.js → BillPayApprovalRuleDetailPage-Bem5LvtY-ByYY2uP-.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-5q5b2drs-IWViHE-L.js → BillPayApprovalRulesPage-DhDaCfQa-cqstNfVf.js} +8 -8
  25. package/dist/assets/{BillPayPromoPage-Dz_R3Vd_--yvJrLJn.js → BillPayPromoPage-BjH9lvnR-7aNAb2i3.js} +10 -10
  26. package/dist/assets/{BillPaySetUpPage-CwTRrElO-CydqQ4Hb.js → BillPaySetUpPage-X8X9gq1a-DvsjYi7w.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-_XJCl2yq-PULazhmD.js → BillingSettingsPage-CyyR8GW1-3x2HPXEj.js} +6 -6
  28. package/dist/assets/{BillsBulkReviewDrawerPage-B_S35aKX-BEOZeSq9.js → BillsBulkReviewDrawerPage-D_xxZjcU-M0WKN8pE.js} +1 -1
  29. package/dist/assets/{BoxItem-9JmA6QqI-COQbCWSM.js → BoxItem-BL-UVx2X-CDUWJCC4.js} +4 -4
  30. package/dist/assets/{BusinessVerificationPage-DJKOIC1M-LiFEkQgk.js → BusinessVerificationPage-Tr-N_rHo-BFVLh_Kq.js} +8 -8
  31. package/dist/assets/{CardNumberSubText-CewmMWju-DvCOWAQW.js → CardNumberSubText-CNMNL0y--CRLH2YxV.js} +2 -2
  32. package/dist/assets/{CashbackDetailPage-HtjAmPa8-CinbzV-Y.js → CashbackDetailPage-Cj26I5CB-DNKm6NdF.js} +27 -27
  33. package/dist/assets/{ChargeCardDetailPage-D_5vb_92-Du3sCUPX.js → ChargeCardDetailPage-herJK06r-Jj0sML3r.js} +40 -40
  34. package/dist/assets/{ChargeCardListPage-BT-8bueF-06vjr20X.js → ChargeCardListPage-LYVKm-0u-CGVPXLUW.js} +26 -26
  35. package/dist/assets/{ChargeCardListTable-oJTQcOkc-BWmgu2hA.js → ChargeCardListTable-DxE-nRR4-Dc_afx90.js} +38 -38
  36. package/dist/assets/ChargeCardPromoPage-LVuaSVsQ-xG3b-_Ag.js +222 -0
  37. package/dist/assets/{ChargeCardSetupPage-cqydgFPZ-BGlawUmi.js → ChargeCardSetupPage-CWoHclOr-CLs_UkHN.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-URwhXATj-CKBPOOuu.js → ChargeCardStatementsPage-DkCHd5c6-y_ZysAG_.js} +8 -8
  39. package/dist/assets/{ChargeCardUtils-DBEgXAMc-CCKJwoXw.js → ChargeCardUtils-6kq_92Ri-BhC-mlU5.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-HTpWDuLt-DX0UAuYL.js → ChaseOverlay-N7gGQaMQ-Bh9lkzpe.js} +7 -7
  41. package/dist/assets/{CheckDepositDrawerPage-DLc3qfVH-D8HoFLZB.js → CheckDepositDrawerPage-w7IziUHI-DeTxsGVS.js} +20 -20
  42. package/dist/assets/{CollapsableReportTable-PpQgBBRC-ZGrGfaoO.js → CollapsableReportTable-NSlKGCNZ-9GlkRzVX.js} +59 -59
  43. package/dist/assets/{CompanyOfficerDetailsSection-C1aPsDga-CZMmYqn7.js → CompanyOfficerDetailsSection-C1IpMsWw-4riCbcJi.js} +33 -33
  44. package/dist/assets/{CompanyPassportCard-DMKqBgwh-BK9jAm1s.js → CompanyPassportCard-D5gkzDNU-DdCNWaie.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-CHHPIqN_-DmQdYIKs.js → CompanyPassportPage-6_6yWHxX-BzKkvM2X.js} +31 -31
  46. package/dist/assets/CompleteProfile-1xeOWkGT-CSILrADl.js +52 -0
  47. package/dist/assets/{ConfettiBurst-14a5kaEE-GS9xo-rd.js → ConfettiBurst-b1-NNKbl-Dk_0sV_i.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-K5rhe_y3-N41MtjES.js → CreateOrEditVendorPage-DQW4Wobx-CiIXGaQB.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LQ--HUI9-Cc_Sa5wy.js → CreditCardPaymentDrawerPage-BEpQXn9g-DzfCHeLI.js} +21 -21
  50. package/dist/assets/{CreditCardPaymentPlgSection-BM05WC-i-DNDbbaSP.js → CreditCardPaymentPlgSection-BGh2TJeK-DFQxSPk-.js} +8 -8
  51. package/dist/assets/{CurrencySelectField-bhkJTNUW-BRZe_YtM.js → CurrencySelectField-C2if0NUa-ChKY5K5U.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-BHD1irjF-CTeUMMCT.js → CustomerOnboardingActivationPage-_zjv9RZY-5MkPCW8D.js} +9 -9
  53. package/dist/assets/CustomerOnboardingContainerPage-BXSxGbv8-CIUqDhfe.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B--kAA3i-MPsa0cdA.js → CustomerOnboardingDetailPageSkeleton-CXApNm6A-BSR-PhTi.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-sHKAos8m-Db1Asz6M.js → CustomerOnboardingNoStepsPage-BaBxG1Yn-DqlQrhK_.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-B_S5G-6o-ioTtf7qq.js → CustomerOnboardingPage-CWpmMXrh-CRkiPpz7.js} +8 -8
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CVi8WuQY-DhCHrYf_.js → CustomerOnboardingProductSuitePage-CGYRoz3v-BhEGdWj7.js} +11 -11
  58. package/dist/assets/{Dashboard-CIMiF6eU-Bh4A-kwo.js → Dashboard-Dyt4nvyG-CkNduEQV.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-6z6qBQSB-DtM_VyEZ.js → DashboardReportPage-BSbTlRwW-gHAkcokq.js} +20 -20
  60. package/dist/assets/{DepositAccTransactionItem-BQYFrzDW-BcHBCoaK.js → DepositAccTransactionItem-CuTp6qxI-Ce2SFbUX.js} +10 -10
  61. package/dist/assets/{DepositAccTransactionListPage-xSNsUwS4-CqhIj9_l.js → DepositAccTransactionListPage-CrQrOyrm-LYbEgddo.js} +8 -8
  62. package/dist/assets/{DomesticWireDetailsPage-b1iB1HBM-DQ1jdhWC.js → DomesticWireDetailsPage-C5hxxGsr-D-EvElMb.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-C3oy6eq7-DGj-h14-.js → DownloadOverlay-B9O7jf-4-BeIpOSC8.js} +1 -1
  64. package/dist/assets/{DrawerPage-DLVTld-y-ocrEwuzh.js → DrawerPage-Dpd6lRf7-l9nV_5N2.js} +15 -15
  65. package/dist/assets/EditPeoplePage-C7uOWg9F-BdboEEOc.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-zgUt303N-DNfD2_Hk.js → EditReimbursementDetailPage-BL-W1hPs-D4iR-8Yt.js} +55 -55
  67. package/dist/assets/{EntityDetailPage-DY4i6GZK-BLVHMR98.js → EntityDetailPage-BsQ9bSpC-Do5rjOCb.js} +2 -2
  68. package/dist/assets/{EntitySummarySection-BbxeYdm8-BY7Iv_Z9.js → EntitySummarySection-eNxIwvHt-CkeObU85.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationOverviewPage-D3x3XpmU-C_l3U2ns.js → ExpenseAutomationOverviewPage-CKBACgsI-pcAU6Tzl.js} +29 -29
  70. package/dist/assets/{ExpenseAutomationPage-BTAjM6yZ-DWdHw-Sn.js → ExpenseAutomationPage-LPWPrpwm-T8iyqKP1.js} +56 -56
  71. package/dist/assets/{ExpressPayPage-C30-lVTo-6WY6w68k.js → ExpressPayPage-COQrt-KL-sn6b2-XB.js} +11 -11
  72. package/dist/assets/FeaturePreviewPage-Coe53hoK-Doq3zPCz.js +11 -0
  73. package/dist/assets/{FollowStepsSection-B171fPtM-BriP7ojJ.js → FollowStepsSection-BJFJzQrz-CGmrm9Lr.js} +12 -12
  74. package/dist/assets/{GlobalReviewListPage-BaZx32sB-DX_UXvHY.js → GlobalReviewListPage-DDQb-plt-B7MJAdcL.js} +17 -17
  75. package/dist/assets/HelpButton-BT_HyQ5k-B4E1vZtk.js +28 -0
  76. package/dist/assets/{InformationCardStack-BtxneVKK-5zmgZr81.js → InformationCardStack-B9E29_zj-DokGK6g8.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-CCee6pLA-BiJYSmPO.js → InsightsCardStack-7XbkZ-A3-BxqeB-iN.js} +8 -8
  78. package/dist/assets/InsightsSection-DtBq9eII-CGUvYjY9.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-CsY38-LI-c3uW4I03.js → IntegrationsSettingsPage-TjdF0ahh-BOCCfb_h.js} +11 -11
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-sSSgjYdh-f5YlyKlr.js → InternationalWireSwiftDetailsPage-BeSYu2Dm-y3Tu_Xyi.js} +12 -12
  81. package/dist/assets/{InternationalWireVerificationPage-zv0FIhUz-C7apQHs9.js → InternationalWireVerificationPage-Ctcaggen-Cihfrd35.js} +15 -15
  82. package/dist/assets/{InviteFormPage-DxszbbOJ-zBQSU0hV.js → InviteFormPage-DEDBu0OO-Dsi8hwhI.js} +24 -24
  83. package/dist/assets/{InvitePageListView-BYVWTwTc-Bc4HhTKp.js → InvitePageListView-BMMOpM9O-B8oUxVru.js} +41 -41
  84. package/dist/assets/InvitePeoplePage-BzPRCgA6-C4LT3zxO.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C6Dx8Web-CBeOBAnd.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CPmj_trJ-DaakIEW8.js → IssueChargeCardPage-DWRhiOzj-DCnENqBq.js} +72 -72
  87. package/dist/assets/LabeledAddressValue-CSb0EGEx-owkgfzr7.js +49 -0
  88. package/dist/assets/LabeledAddressValueField-DJHY_wPN-ChfMLz4N.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-BnfJ3gKr-BPIj9243.js → LabeledControlledCheckBoxField-rRmtlmRJ-ZOoy4ee7.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CJT-CuQl-CtkVdb8Y.js → LabeledCreatableSingleSelectField-CTwToXIo-Cle-L6Nt.js} +5 -5
  91. package/dist/assets/LabeledDocumentField-sIz4Fhet-CBqe5ksA.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-mOxkCT-G-CFeF0x5h.js +59 -0
  93. package/dist/assets/{LabeledText-DhZgeQqu-CywDQAlQ.js → LabeledText-CExeogkg-361xlNV7.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D63Z4SE5-CnyU9bGi.js → LabeledUserSingleSelectWithSubtitlesField-DrloYoze-DB50WeN3.js} +16 -16
  95. package/dist/assets/{LabeledZeniRolesDropDownField-MwrQ9tKT-DoYqkoGc.js → LabeledZeniRolesDropDownField-BZKMSlzI-B3-a-Sde.js} +7 -7
  96. package/dist/assets/LinkJETransactionPage-D9Kae7Qd-CXNveZ-N.js +98 -0
  97. package/dist/assets/{LowBalancePopup-DPbr0gUO-CxEILVy0.js → LowBalancePopup-DqY0lHvk-Bg-BhJJe.js} +7 -7
  98. package/dist/assets/{MagicLinkACHDetailsPage-D11FRh9u-BBPz7AfC.js → MagicLinkACHDetailsPage-BctRnNGY-DEYW76Ne.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CG7yqz6X-BMCdaHEj.js → MagicLinkDomesticWireDetailsPage-UjO7TGNI-jNwBg57q.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-PkDENzkO-CQ6x4AIV.js → MagicLinkInternationalWireDetailsPage-ex7nPlxc-Cv717ajH.js} +1 -1
  101. package/dist/assets/{MagicLinkSuccessPage-BS9ddhQA-C5O3E-9t.js → MagicLinkSuccessPage-D3ORpbmL-DiCQcMcn.js} +1 -1
  102. package/dist/assets/MagicLinkTitleSection-Di20DmsJ-Dweea4Ge.js +17 -0
  103. package/dist/assets/{MailingDetailsSection-Cx1s77og-9yNUNzNW.js → MailingDetailsSection-D7d7fV5j-Cs19YBt0.js} +1 -1
  104. package/dist/assets/{MeetingCalenderPopup-DNthMj1J-CXzPKXlg.js → MeetingCalenderPopup-C-Ca0puH-BuYhTZNY.js} +1 -1
  105. package/dist/assets/{Menu-CIjXHu3p-Cmalcvja.js → Menu-FcKyIIWS-5DaRICk4.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D77Axpyj-Ai6fCxsi.js → MyBankConnectionsSettingsPage-B4NuqJVI-C5C-Tkbz.js} +13 -13
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CnZZJsMY-C0kXy7DL.js → MyPendingActivationChargeCardListPage-C4eMpxAr-CvtH5135.js} +2 -2
  108. package/dist/assets/{MyProfileSettingsPage-iXkYV9nQ-CFM1P4s_.js → MyProfileSettingsPage-D0ALOEls-D9BtQ_Rr.js} +9 -9
  109. package/dist/assets/{NavBarWithPicker-D8Mx-0SS-Bw0IYR8x.js → NavBarWithPicker-Bu03gVw7-BBANsf51.js} +6 -6
  110. package/dist/assets/{NavigationArrow-DOvptaEZ-Bf-QMj_h.js → NavigationArrow-D7Eb-FlF-DFK_OGPD.js} +2 -2
  111. package/dist/assets/{NavigationDots-HukimDRY-D9Wp9S6c.js → NavigationDots-CFjUchuX-BbVX67wD.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BlOMnHda-BUDWmT_6.js → NewGlobalMerchantPage-rhhm0o-f-DpBge9cX.js} +9 -9
  113. package/dist/assets/{NoDataChart-DyGfwFNo-CLQrerWr.js → NoDataChart-D5DKMqIS-BEaaizBY.js} +5 -5
  114. package/dist/assets/{NoDataTable-CJseWuln-Cygckdm_.js → NoDataTable-CPEKYH-4-ChRW7vff.js} +1 -1
  115. package/dist/assets/{NotFoundPage-UG00-OBF-CdRsamc6.js → NotFoundPage-Cfk62GPw-D375IgXA.js} +3 -3
  116. package/dist/assets/{NotificationSettingsPage-COyRIY7z-Dbyjp6us.js → NotificationSettingsPage-BZtsKPBO-AXQQWsyF.js} +19 -19
  117. package/dist/assets/NotificationsListConfig-DiJLl-YW-Be2lRZvs.js +1 -0
  118. package/dist/assets/{NotificationsPage-DNSiZHw_-Bj3dzmk_.js → NotificationsPage-CgABP7O1-BFGmWSCt.js} +39 -39
  119. package/dist/assets/{OpExByVendorPage-DmSYppgo-COjO13JB.js → OpExByVendorPage-CMEokGbw-5aOd51kS.js} +8 -8
  120. package/dist/assets/{OverlayContainerPage-DB42kFLd-pwzAAum1.js → OverlayContainerPage-9K5jaX8Z-DmDVJorJ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Cvpj3Rx7-B_X_y6oD.js → PandLWithForecastPage-IizA8WJN-C3H0uMBf.js} +10 -10
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CsldB-k7-f3lPV-NL.js → PaymentAccountSetupBillingAddressSection-D6cW0hFS-DO3Osr4s.js} +9 -9
  123. package/dist/assets/{PeoplePage-CZhJF86l-D_AEtRE4.js → PeoplePage-lD4QPAkF-28PZT7ir.js} +29 -29
  124. package/dist/assets/{PortfolioAllocationFormPage-9GM9dOrM-BT7Q_b3W.js → PortfolioAllocationFormPage-pynkIQMX-BFz04Oo7.js} +11 -11
  125. package/dist/assets/{PortfolioDetails-BmAHjCVw-VXiwUltt.js → PortfolioDetails-Cs8o8xzm-bO5l1T7Z.js} +22 -22
  126. package/dist/assets/{ProductsCarousel-DnbMUIHf-CDI2aSn4.js → ProductsCarousel-vPy7zk53-DjiVBmpl.js} +7 -7
  127. package/dist/assets/{PromoBaseCards-BC5rOok_-CryGPY7g.js → PromoBaseCards-CWGpTa57-Bj-bRm1l.js} +3 -3
  128. package/dist/assets/{QBOConnectionDialog-Ci5zNza5-BQubclq5.js → QBOConnectionDialog-66XnPKaW-8EXYy72U.js} +10 -10
  129. package/dist/assets/QBOSetupSection-T0b8qjoq-C3lySFCv.js +79 -0
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BfU-6jeB-CaKrx3Ua.js → ReimbursementApprovalRuleDetailPage-BSI9Lg6a-wX6i8H_B.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-M8JZSUOE-Bppvfizw.js → ReimbursementApprovalRulesPage-XxC6pXqt-Bzz5uq1t.js} +33 -33
  132. package/dist/assets/{ReimbursementDetailPage-D54RyrP4-azFGfBxO.js → ReimbursementDetailPage-BwtY21D5-BOkbylET.js} +15 -15
  133. package/dist/assets/ReimbursementPromoPage-CmO1DP-8-DpBTbSy4.js +112 -0
  134. package/dist/assets/{ReimbursementSetUpPage-DgZLqhEv-BzIv1edv.js → ReimbursementSetUpPage-CrCsRxAy-Bpo-Mk0A.js} +9 -9
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DdaqWcd4-DN-OLQO2.js → ReimbursementsBulkReviewDrawerPage-Ct-lvcR1-DC9qwxGH.js} +1 -1
  136. package/dist/assets/{ReloadCard-Brl4XdzV-K0dTBTCK.js → ReloadCard-CJfjUA_Q-iqgRrGxj.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-BUwsckE_-BLN_c3vd.js → ReportTableViewSelector-CkuvvlJm-btt9uZlN.js} +9 -9
  138. package/dist/assets/{ReportsPage-B_p1fu0v-Bun8YYap.js → ReportsPage-BJqldqjR-p6MwUSO1.js} +5 -5
  139. package/dist/assets/{RevenueChart-Wm8uOprY-CA_G3fH9.js → RevenueChart-BUnSkoUN-CWdeY5GO.js} +8 -8
  140. package/dist/assets/{ReviewDetailsPage-KBHsF8bJ-BOtPONmS.js → ReviewDetailsPage-8I09Puca-B9BkrydV.js} +23 -23
  141. package/dist/assets/{ReviewOverlay-Dw0qj7TA-DnC9Iul5.js → ReviewOverlay-Czmj4HG0-BLH60HLe.js} +25 -25
  142. package/dist/assets/{RoleWithToolTip-XfK92pcD-CVavs0oL.js → RoleWithToolTip-CNQZHC7h-LUv0Jw-2.js} +4 -4
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BWlIEli5-DBxUekBG.js → ScheduleDetailsFixedAssetsPage-1Y1ZylI7-BDsLy1RB.js} +8 -8
  144. package/dist/assets/{ScheduleDetailsPage-C1xCJX3o-CIdul5TY.js → ScheduleDetailsPage-BcRuA_7y-mmMtrxsU.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-BprYPV37-Cl2LrpiB.js → ScheduleSequenceTable-DC75D2Dx-BSdJrIG_.js} +17 -17
  146. package/dist/assets/{ScreenRoutes-IGwGtJ0n.js → ScreenRoutes-DRpA2l4T.js} +62 -62
  147. package/dist/assets/{SetUpAccountSection-Dr1TfnG_-5hIyS4v7.js → SetUpAccountSection-CaLxl4l3-BRnWdFeV.js} +15 -15
  148. package/dist/assets/{SetUpDefaultSection-Be5NU_Em-B29pYDRY.js → SetUpDefaultSection-a6NTauck-C-i38hil.js} +7 -7
  149. package/dist/assets/{SignIn-CE6RYJOs-CikIV0Hp.js → SignIn-_ZPdER_K-0cn49L67.js} +1 -1
  150. package/dist/assets/{SignInScreen-CKme_DxL.js → SignInScreen-BGUfMUqo.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-BESddx6p-BLBMNf4m.js → SpendManagementListViewPage-Cvev9izU-BZzSvbIK.js} +4 -4
  152. package/dist/assets/{SpendManagementPerTabPage-BzOooEMS-B_EkXhuq.js → SpendManagementPerTabPage-CbjC0IBF-BthyUtDp.js} +54 -54
  153. package/dist/assets/{SpendManagementSection-CczioNZH-Dkreg46Z.js → SpendManagementSection-BKTkeRK6-DIa3Rn7O.js} +12 -12
  154. package/dist/assets/{SpendMgmtSetupAccountSection-CVFRXVhZ-C1yMf9ET.js → SpendMgmtSetupAccountSection-D8Yv-Jng-D3WoppPf.js} +20 -20
  155. package/dist/assets/{StatementItem-Cptht91w-wlq1UAzv.js → StatementItem-DSJvKpAv-DV7N47r3.js} +8 -8
  156. package/dist/assets/StatementsPage-Bhk6u845-C7EltSZm.js +58 -0
  157. package/dist/assets/{StatusSwitcher-B3gZD4Xk-D9MKHZL1.js → StatusSwitcher-CTDNbKqC-Bv4PZo8C.js} +4 -4
  158. package/dist/assets/{SubTabSwitcher-ymwMdmPQ-B96M_uuA.js → SubTabSwitcher-D33kV-tw-BTeEHhHa.js} +2 -2
  159. package/dist/assets/{SummaryCard-CVO_hW5i-CSuBy2D2.js → SummaryCard-tsJZnge3-DE5AVV4x.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-C8FiHas2-D3TuTHD7.js → TaskManagementPage-BW9M6AQs-DyLPADr6.js} +19 -19
  161. package/dist/assets/{TimeRangeSwitcher-CPklgWMn-BOlT7YwO.js → TimeRangeSwitcher-CkXysnFa-BxX2v8T-.js} +2 -2
  162. package/dist/assets/{TimeframeSwitcher-Do-13K0C-BsEeofAL.js → TimeframeSwitcher-B-S09J4A-MdxeQVLH.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcherWithToggle-CtVJiYRA-CJwvNUHv.js → TimeframeSwitcherWithToggle-B9Lo2-pD-oHueEdHK.js} +2 -2
  164. package/dist/assets/{TopExCard-CAbVMarX-BxCf3Zb4.js → TopExCard-DwP8Cppq-BA7R-fYL.js} +5 -5
  165. package/dist/assets/{TopExDetailPage-CN49s925-DmkXyXHQ.js → TopExDetailPage-CIMSDSxd-DWJg2Rhe.js} +8 -8
  166. package/dist/assets/{TransactionDetailPage-Q9XC1VgP-BVFfsWva.js → TransactionDetailPage-rwzAZT-Q-kE9Vj_Gw.js} +34 -34
  167. package/dist/assets/{TransactionList-Pn-voMDJ-DGAqnABY.js → TransactionList-CFYj7bYL-GEiFuum0.js} +12 -12
  168. package/dist/assets/{TransactionListBig-D4U1VfMP-DdNYiwzY.js → TransactionListBig-BidYBgz3-mdU3i6TS.js} +24 -24
  169. package/dist/assets/{TransactionListPage-Dcr5n_hs-DFnT8O1f.js → TransactionListPage-CImIYabg-BI9Hn9ZN.js} +3 -3
  170. package/dist/assets/{TransactionVendorDetailPage-DxDXndQ6-D-9aHV7e.js → TransactionVendorDetailPage-LzIzQGZ1-NlBjctZ1.js} +6 -6
  171. package/dist/assets/TransferDrawerPage-CztFCYxm-CBCCBWte.js +362 -0
  172. package/dist/assets/{TreasuryOverviewPage-BDYqKBrS-_o9rtQse.js → TreasuryOverviewPage-E5E5Gr3g-D2CrCBTV.js} +55 -57
  173. package/dist/assets/{TreasuryPromoPage-CTkEFZ57-BquHIsOx.js → TreasuryPromoPage-D2F4Y8gV-CYlJ3kU9.js} +20 -19
  174. package/dist/assets/{TreasurySetupPage-KI_5DQnD-DtRdjcAX.js → TreasurySetupPage-Dxa4l6Ec-D8eLBdo9.js} +8 -8
  175. package/dist/assets/TreasuryStatementsPage-DEhWu0S0-CbB6wAo4.js +58 -0
  176. package/dist/assets/TreasuryTaxLetterPage-CEMU2CI9-BGxkDpux.js +58 -0
  177. package/dist/assets/TreasuryTransferOrReviewPage-BfReLw_V-7MLhWFB6.js +506 -0
  178. package/dist/assets/{TrendChart-Ck4SVLtn-CXi992Ul.js → TrendChart-D1gtjDe3-DWpkP03z.js} +4 -4
  179. package/dist/assets/{TrendWithTransactions-BiWHzfIf-h_PZkaTI.js → TrendWithTransactions-BslpnJTN-CCs7L3oP.js} +7 -7
  180. package/dist/assets/{UncategorizedAccountsMappingPage-BEbiQMPB-BE67gz9h.js → UncategorizedAccountsMappingPage-Brm7fcuy-1WMghiUv.js} +9 -9
  181. package/dist/assets/{UnitIntegrationPage-DghvgER8-DUjp5v9z.js → UnitIntegrationPage-DhiEmm9g-CyoCc7wN.js} +5 -5
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-BasudeQ3-WkwupeXg.js → UploadAdditionalDocumentOverlay-Dq1ToFCn-BQjCguyB.js} +2 -2
  183. package/dist/assets/Vendor2FAPopup-Brg14-Cw-BfoPqsuP.js +1 -0
  184. package/dist/assets/{VendorACHDetailsPage-DYwQERlH-u-_TPYjg.js → VendorACHDetailsPage-mk0vAyqE-BSy-kLup.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-D-Mcnqod-DRjHRl2g.js → VendorDetailPage-CRhCXEsq-qmv0EtV4.js} +13 -13
  186. package/dist/assets/{VendorDomesticWireDetailsPage-sx958z_p-DGjTvY13.js → VendorDomesticWireDetailsPage-DhWkYV9N-CfYo0l4g.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-D0AAdqa3-Dbu0eezS.js → VendorFiling1099EditablePage-Bp5FgSiJ-DJr2e5wU.js} +32 -32
  188. package/dist/assets/{VendorFirstReviewPage-DS7Qb6O_-CtRrPKLj.js → VendorFirstReviewPage-XHOyQIOp-D3qnz2ww.js} +16 -16
  189. package/dist/assets/{VendorInternationalWireDetailsPage-CUw0lbm5-Ds_S2bsN.js → VendorInternationalWireDetailsPage-B13qu8u3-XGuYC0bw.js} +12 -12
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-2BGGr3aV-Cm02ZRRr.js → VendorInternationalWireSwiftDetailsPage-Dtgusj3r-lncQfKmQ.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-D5-r6xWp-Bb2HvHxE.js → VendorsAccountsSection-B-qorJ8x-D7fZrn7B.js} +4 -4
  192. package/dist/assets/VerifyDevice-CBO1Uzra-0Sdb0n5n.js +67 -0
  193. package/dist/assets/{WarningsDrawerPage-BEuiclea-DGE4v0Hu.js → WarningsDrawerPage-B4Nic3gX-jDmAJMW0.js} +10 -10
  194. package/dist/assets/{ZeniAccountDetailPage-DvUTbTBC-B58XYLhH.js → ZeniAccountDetailPage-IDGYSZVs-DmZJYRcm.js} +15 -15
  195. package/dist/assets/{ZeniAccountListViewPage-BpAa6XZc-sSA5NycY.js → ZeniAccountListViewPage-IlPP8Yit-dH-QXkwU.js} +26 -26
  196. package/dist/assets/ZeniAccountNavBarPieces-2j-ZQRIF-DhfLCa9V.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-BDzkOGum-Ddw-sKos.js → ZeniAccountPromoPage-BhFf42Fz-TRhbuR-7.js} +15 -15
  198. package/dist/assets/{ZeniAccountSetupPage-B6ExD1mo-DtoMVKCB.js → ZeniAccountSetupPage-DcYDO3x8-DOdNLBlO.js} +4 -4
  199. package/dist/assets/{ZeniCopyright-BcpJPWHG-aqipC7iB.js → ZeniCopyright-C4Ze2E8o-C33E_V5I.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-BQDqgNKJ-D3Rx0t-C.js → ZeniTransferAmountSlider-DFB0ntiR-IB41czFT.js} +2 -2
  201. package/dist/assets/{analyticsHelper-DxAemT72.js → analyticsHelper-BuNdZ9jh.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BP6myd2z-IG6G9Q9p.js → analyticsHelper-CsfdC0kT-BpVlkMRS.js} +1 -1
  203. package/dist/assets/{chartTypes-BU-pRq_m-BNABrIt4.js → chartTypes-CPj7oOMJ-Cv2ANOse.js} +1 -1
  204. package/dist/assets/{commonDimensions-BpaqG_u8-bPBJ7BtU.js → commonDimensions-CKs-7p-V-CmlPem1Z.js} +1 -1
  205. package/dist/assets/{detailCommon-dG26UIR2-Du_tf-0V.js → detailCommon-BJ8iCchG-CdCS4VPM.js} +6 -6
  206. package/dist/assets/{downloadPdf-B5Tb5dp_-C4780vVv.js → downloadPdf-hPck-AA1-CD5ZG46J.js} +1 -1
  207. package/dist/assets/{index-CbZTLtvs.js → index-CyJdCOlu.js} +4480 -4253
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-DOBKyY4b-y1aUwiix.js → mapLoadingInProgressToTreeNode-R394S2in-pIplKgrn.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bja0zC1h-BFJxO5iY.js → mapSectionWithAcOnlyToTreeNode-B20NECa8-DENXzcIZ.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-BnX1Qa3P-bqHYhPP-.js → mapSpacerToTreeNode-CLYF1Foh-BkgQTnh2.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-BTMBlZfj-DW7k0pyS.js → mapTimeframeBalancesToTreeNode-B-iRb2_j-BOYVHL5U.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-DRU0rg28-CTqFcFWx.js → mapTimeframeBalancesToTreeNode-fLAswzPX-uvgKr4WV.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CafUd-oV-M5D8OIRq.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-rpNZ4fKa.js} +1 -1
  214. package/dist/assets/{play-icon-CwzVvYsB-DjoVXxSh.js → play-icon-BZYr9mDs-DofqQFSd.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-CTIZoP69-DhP0PBP-.js → toCOABalancesWithID-Dsa-tGTi-Bmzakp6x.js} +1 -1
  216. package/dist/assets/{toChartData-yWFIkpKX-iU9RbLET.js → toChartData-Cp_80Bi6-Dfd3dSx4.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-I90KNlm_-OeAa3kjr.js → treasuryColorHelper-CnKoJBRW-CDwAxole.js} +1 -1
  218. package/dist/assets/{uploadAttachment-BIyTb3QF-BJprEnkX.js → uploadAttachment-Cx3LGzsg-DDC6BFL5.js} +32 -32
  219. package/dist/assets/{uploadReceipts-CB79ouJi-DqMpy5A5.js → uploadReceipts-CwjPukNh-BNp5wSMb.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/AccountInfoPage-vDWC6AMf-Yo7vRxFj.js +0 -18
  223. package/dist/assets/ApAgingDetailPage-BZuNGMx_-Hc9KiYIG.js +0 -46
  224. package/dist/assets/AppBasePage-l_TUUps8-BdZGta7w.js +0 -68
  225. package/dist/assets/ChargeCardPromoPage-Dp01F4cn-BGnAP75r.js +0 -222
  226. package/dist/assets/CompleteProfile-D6jHfaC2-BAjYhWRD.js +0 -36
  227. package/dist/assets/CustomerOnboardingContainerPage-BhS5NmVt-ePZ8Lp4k.js +0 -1
  228. package/dist/assets/EditPeoplePage-DKJNf1oJ-DT58GFah.js +0 -55
  229. package/dist/assets/FeaturePreviewPage-BRqSxk9H-C5uU9wQY.js +0 -11
  230. package/dist/assets/HelpButton-ewiNuwlj-DtcvmbFW.js +0 -28
  231. package/dist/assets/InsightsSection-BZNwdoG4-DFSwQ90v.js +0 -27
  232. package/dist/assets/InvitePeoplePage-CJ4KyyxI-DVCbKs7n.js +0 -12
  233. package/dist/assets/InvoiceUploadSection-Dy_H9a8Y-Dv2LW-0K.js +0 -140
  234. package/dist/assets/LabeledAddressValue-BVpwGdA2-CIuUAEcq.js +0 -49
  235. package/dist/assets/LabeledAddressValueField-Eka4fXzu-BBxiflEl.js +0 -45
  236. package/dist/assets/LabeledDocumentField-BoraKtTI-BrK0QicB.js +0 -41
  237. package/dist/assets/LabeledDropDownFormattedTextField-elNvxcOB-BMj7fmh2.js +0 -59
  238. package/dist/assets/LinkJETransactionPage-BpQXs8JH-Bjzy2XV-.js +0 -98
  239. package/dist/assets/MagicLinkTitleSection-CBYkZ8RD-OqnDMduv.js +0 -17
  240. package/dist/assets/NotificationsListConfig-BR7QDiGp-C9AjhN7a.js +0 -1
  241. package/dist/assets/QBOSetupSection-BTOCiyES-cJZzoBZX.js +0 -79
  242. package/dist/assets/ReimbursementPromoPage-B2uVT4md-0og62qKp.js +0 -112
  243. package/dist/assets/StatementsPage-Bk_DWBsO-oO_5pc2Z.js +0 -58
  244. package/dist/assets/TransferDrawerPage-CuQct69A-CI2Fs3ur.js +0 -362
  245. package/dist/assets/TreasuryStatementsPage-DB1KkguP-Bjz83PUL.js +0 -58
  246. package/dist/assets/TreasuryTaxLetterPage-DbHBl6-e-BaDM3AA5.js +0 -58
  247. package/dist/assets/TreasuryTransferOrReviewPage-CLJ2x2M1-C0G9A0-P.js +0 -506
  248. package/dist/assets/Vendor2FAPopup-BVYQk2Yt-CFXnylIF.js +0 -1
  249. package/dist/assets/ZeniAccountNavBarPieces-CBRZuAIU-8yMtgWMI.js +0 -14
@@ -1,4 +1,4 @@
1
- import{X as I,M as y,j as t,aW as D,c as E,_ as b,C as r,e as B,a0 as j,bP as H,bR as G,bS as U,o as i,cr as q,q as l,ao as Q,Q as z,an as V,g as S,co as _,aP as F,f as O}from"./index-CbZTLtvs.js";import{n as o,b as Y}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.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")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:c,onEditRuleClick:v,onDeleteRuleClick:$})=>{const[m,x]=Y.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(K,{windowSize:n,isLastSection:f,children:[t.jsxs(X,{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(H,{titleComponent:t.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(G,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:A}):null]})},K=o.div`
1
+ import{e as I,M as y,j as t,aW as D,m as H,_ as b,C as r,n as B,a0 as j,bS as E,bU as U,bV as G,o as i,cu as V,q as l,ao as q,b as z,an as F,c as S,cr as _,aP as Q,v as J}from"./index-CyJdCOlu.js";import{n as o,b as O}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.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")},Y=({showDeleteBtn:e=!1,isLastSection:v=!1,approvalRule:c,onEditRuleClick:f,onDeleteRuleClick:$})=>{const[m,x]=O.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(Z,{windowSize:n,isLastSection:v,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(X,{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:()=>{f(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(G,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(U,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:A}):null]})},Z=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,c as E,_ as b,C as r,e as B,a0 as j,bP as H,
14
14
  border-color: ${e=>e.theme.colors.primary};
15
15
  }
16
16
  }
17
- `,X=o(Q)`
17
+ `,K=o(q)`
18
18
  display: flex;
19
19
  position: relative;
20
20
  align-items: center;
@@ -22,7 +22,7 @@ import{X as I,M as y,j as t,aW as D,c as E,_ as b,C as r,e as B,a0 as j,bP as H,
22
22
  text-align: center;
23
23
  width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
24
24
  gap: ${i.sp2};
25
- `,Z=o.div`
25
+ `,X=o.div`
26
26
  align-items: center;
27
27
  display: flex;
28
28
  justify-content: center;
@@ -117,7 +117,7 @@ import{X as I,M as y,j as t,aW as D,c as E,_ as b,C as r,e as B,a0 as j,bP as H,
117
117
  height: ${e=>s.stepperWidthHeight.valuePx(e.windowSize)};
118
118
  top: ${e=>s.stepperContentTop.valuePx(e.windowSize)};
119
119
  left: -${i.sp6};
120
- ${O.standardMedium.css};
120
+ ${J.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};
@@ -149,7 +149,7 @@ import{X as I,M as y,j as t,aW as D,c as E,_ as b,C as r,e as B,a0 as j,bP as H,
149
149
  &:hover {
150
150
  color: ${S.important};
151
151
  }
152
- `,pe=o(F)`
152
+ `,pe=o(Q)`
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,c as E,_ as b,C as r,e as B,a0 as j,bP as H,
157
157
  &:hover {
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  }
160
- `,de=o(V)`
160
+ `,de=o(F)`
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,c as E,_ as b,C as r,e as B,a0 as j,bP as H,
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(E,{size:"ExtraLarge",start:!0})}):m==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((w,a)=>t.jsx(J,{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:v,onEditRuleClick:c,onDeleteRuleClick:f})=>{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:()=>{v()},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(Y,{showDeleteBtn:a!==0,approvalRule:w,isLastSection:a===e.allApprovalRules.length-1,onEditRuleClick:c,onDeleteRuleClick:f},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;
@@ -227,7 +227,7 @@ import{X as I,M as y,j as t,aW as D,c as E,_ as b,C as r,e as B,a0 as j,bP as H,
227
227
  border-color: ${e=>e.theme.colors.primary};
228
228
  }
229
229
  margin-bottom: ${i.sp6};
230
- `,we=o(q)`
230
+ `,we=o(V)`
231
231
  width: ${i.sp3};
232
232
  height: ${i.sp3};
233
233
  `,ge=o.div`
@@ -1,4 +1,4 @@
1
- import{w as se,X as b,a2 as le,l as j,M as L,j as e,aW as oe,K as U,_ as h,i as x,o as s,Z as te,c1 as re,u as A,a6 as D,m as ae,C as ne,g as u,c3 as ce,a7 as de,ap as me,q as pe}from"./index-CbZTLtvs.js";import{b as y,n as l,k as xe}from"./vendor-CnQcJ2Lu.js";import{x as he}from"./MeetingCalenderPopup-DNthMj1J-CXzPKXlg.js";import{f as ge,C as Z}from"./play-icon-CwzVvYsB-DjoVXxSh.js";import{M as z}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const E="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",V="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,e as b,a2 as le,l as j,M as L,j as e,aW as oe,k as I,_ as h,g as x,o as s,s as te,c4 as re,u as A,a6 as D,B as ae,C as ne,c as u,c6 as ce,a7 as de,ap as me,q as pe}from"./index-CyJdCOlu.js";import{b as y,n as l,k as xe}from"./vendor-CnQcJ2Lu.js";import{x as he}from"./MeetingCalenderPopup-C-Ca0puH-BuYhTZNY.js";import{f as ge,C as E}from"./play-icon-BZYr9mDs-DofqQFSd.js";import{M as z}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const R="https://storage.googleapis.com/zeni-apis.appspot.com/images/Billpay-Light.png",V="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%;
@@ -17,17 +17,17 @@ import{w as se,X as b,a2 as le,l as j,M as L,j as e,aW as oe,K as U,_ as h,i as
17
17
  margin: auto;
18
18
  padding: ${s.sp5} ${s.sp0};
19
19
  color: ${i=>i.theme.colors.primary};
20
- `,R=l.div`
20
+ `,Z=l.div`
21
21
  display: flex;
22
22
  flex-direction: ${i=>i.windowSize==="small"?"column":"row"};
23
23
  align-items: center;
24
24
  justify-content: center;
25
25
  margin-bottom: ${i=>ue.midContainerMarginBottom.valuePx(i.windowSize)};
26
- `,$e=l.div``,g=l.img``,K=l.div`
26
+ `,$e=l.div``,g=l.img``,Y=l.div`
27
27
  width: ${i=>i.windowSize==="small"?"auto":"376px"};
28
28
  display: flex;
29
29
  flex-direction: column;
30
- `,O=l.div`
30
+ `,q=l.div`
31
31
  width: ${i=>i.windowSize==="small"?"100%":"calc(100% - 376px)"};
32
32
  overflow: hidden;
33
33
  max-width: 712px;
@@ -35,7 +35,7 @@ import{w as se,X as b,a2 as le,l as j,M as L,j as e,aW as oe,K as U,_ as h,i as
35
35
  align-content: center;
36
36
  justify-content: center;
37
37
  align-items: center;
38
- `,G=l.div`
38
+ `,F=l.div`
39
39
  margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
40
40
  margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
41
41
  background: ${i=>i.theme.colors.grey3};
@@ -63,11 +63,11 @@ import{w as se,X as b,a2 as le,l as j,M as L,j as e,aW as oe,K as U,_ as h,i as
63
63
  color: ${i=>i.theme.colors.champion};
64
64
  `,d=l.div``,m=l.div`
65
65
  padding-left: ${s.sp3};
66
- `,N=l(z)`
66
+ `,G=l(z)`
67
67
  color: ${u.graphColor16Dark};
68
- `,W=l(z)`
68
+ `,N=l(z)`
69
69
  color: ${u.graphColor09Dark};
70
- `,X=l(z)`
70
+ `,O=l(z)`
71
71
  color: ${u.graphColor28Dark};
72
72
  `,ke=l(ae)`
73
73
  margin: ${s.sp3} auto;
@@ -97,7 +97,7 @@ import{w as se,X as b,a2 as le,l as j,M as L,j as e,aW as oe,K as U,_ as h,i as
97
97
  100% {
98
98
  transform: scale(100%)
99
99
  }
100
- `,_=l.div`
100
+ `,W=l.div`
101
101
  width: ${s.sp9};
102
102
  height: ${s.sp9};
103
103
  background: ${i=>i.theme.colors.playButtonBackGroundColor};
@@ -109,4 +109,4 @@ import{w as se,X as b,a2 as le,l as j,M as L,j as e,aW as oe,K as U,_ 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,Re=({billPaySetupView:i,analytics:a,meetingUrl:t,videoUrl:q,onButtonClick:F,onBackClick:H,onSetupBillPaySuccess:v,onClickMenuIcon:Y})=>{const w=se(),n=b(),{billPayTermsDetails:p}=i,[J,C]=y.useState(!1),[Q,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:[J===!0?e.jsx(ge,{onCancelClick:()=>{C(!1)},videoUrl:q}):null,Q===!0?e.jsx(he,{onCancelClick:()=>{P(!1)},meetingUrl:t}):null,e.jsx(oe,{title:o.title,onBackClick:H,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:F,"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(R,{windowSize:t,children:[e.jsxs(O,{windowSize:t,children:[e.jsx(_,{onClick:i,"data-testid":h("play-button-mobile"),children:e.jsx(Z,{})}),e.jsx(G,{windowSize:t,children:a.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:E,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(X,{})}),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(W,{})}),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(N,{})}),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(R,{windowSize:t,children:[e.jsxs(K,{windowSize:t,children:[e.jsxs(c,{windowSize:t,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(X,{})}),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(W,{})}),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(N,{})}),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(_,{onClick:i,"data-testid":h("play-button-web"),children:e.jsx(Z,{})}),e.jsx(G,{windowSize:t,children:a.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})]})]})};export{Re as default};
112
+ `,o=L.getLocalizedStrings().spendManagement.billPay.billPayPromo,r=L.getLocalizedStrings().commonSetUp.businessVerification.terms,Ze=({billPaySetupView:i,analytics:a,meetingUrl:t,videoUrl:X,onButtonClick:_,onBackClick:H,onSetupBillPaySuccess:v,onClickMenuIcon:J})=>{const w=se(),n=b(),{billPayTermsDetails:p}=i,[K,C]=y.useState(!1),[Q,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,U=M?o.setupNonAccessableUsersPromoText:o.promoText;return e.jsxs(we,{children:[K===!0?e.jsx(ge,{onCancelClick:()=>{C(!1)},videoUrl:X}):null,Q===!0?e.jsx(he,{onCancelClick:()=>{P(!1)},meetingUrl:t}):null,e.jsx(oe,{title:o.title,onBackClick:H,showBackButton:!j.hasOnlyBillPayAccess(w.loggedInUserRoleMap),showMenuIcon:n==="small"||n==="medium-compact",onClickMenuIcon:J,source:"BillPayPromoPage"}),e.jsxs(je,{windowSize:n,children:[n==="small"?e.jsx(fe,{children:U}):e.jsx(ye,{children:U}),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(I,{variant:"secondary",label:o.scheduleDemoButton,onClick:ee,"data-testid":h("billpay-schedule-demo-button")}),e.jsx(be,{windowSize:n,children:o.orText}),e.jsx(I,{variant:"primary",label:o.setupBillPayButton,loading:p?.fetchStatus.fetchState==="In-Progress",onClick:_,"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(Z,{windowSize:t,children:[e.jsxs(q,{windowSize:t,children:[e.jsx(W,{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:V,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:R,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})]}),e.jsxs(Y,{windowSize:t,children:[e.jsxs(c,{windowSize:t,children:[e.jsx(d,{children:e.jsx(O,{})}),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(Z,{windowSize:t,children:[e.jsxs(Y,{windowSize:t,children:[e.jsxs(c,{windowSize:t,style:{width:"376px"},children:[e.jsx(d,{children:e.jsx(O,{})}),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(q,{windowSize:t,children:[e.jsx(W,{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:V,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:R,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})]})]})};export{Ze as default};
@@ -1,4 +1,4 @@
1
- import{u as Oe,X as De,a2 as V,a as _e,c4 as Re,M as Ue,l as He,a8 as X,j as t,cJ as ze,_ as Le,g as Me,C as u,aW as qe,c as Ne,F as Ge,c$ as Je,aS as Ke,d0 as Qe,bt as Xe,d1 as Ye,a4 as Ze,o as L,q as a,e as et,b5 as tt}from"./index-CbZTLtvs.js";import{b as m,n as g}from"./vendor-CnQcJ2Lu.js";import{D as it}from"./HelpButton-ewiNuwlj-DtcvmbFW.js";import"./SetUpAccountSection-Dr1TfnG_-5hIyS4v7.js";import{K as H}from"./SetUpDefaultSection-Be5NU_Em-B29pYDRY.js";import{f as nt}from"./SpendMgmtSetupAccountSection-CVFRXVhZ-C1yMf9ET.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-BasudeQ3-WkwupeXg.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DNthMj1J-CXzPKXlg.js";import"./ChaseOverlay-HTpWDuLt-DX0UAuYL.js";import"./ChargeCardUtils-DBEgXAMc-CCKJwoXw.js";import"./CreditCardPaymentPlgSection-BM05WC-i-DNDbbaSP.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:s,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=Oe(),i=De(),[k,S]=m.useState(!1),q=m.useRef(null),{fetchState:p,updateStatus:b,accountUpdateStatus:ke,plaidConnectionDetails:$,allBankAccounts:Ae,companyBillPayInfo:A,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:r,allFundingAccounts:N}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:G,allApprovalRules:j,approvalRulesStatus:je}=W,O=$.link_account.updateStatus,D=$.update_account.updateStatus,B=V(p),J=V(b.fetchState),K=V(O.fetchState),Q=V(D.fetchState),x=_e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>z(e),[e]),values:z(e)});m.useEffect(()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),k&&B==="In-Progress"&&p==="Completed"&&S(!1)},[c,p,B]),m.useEffect(()=>{(B==="In-Progress"&&p==="Completed"||K==="In-Progress"&&O.fetchState==="Completed"||Q==="In-Progress"&&D.fetchState==="Completed")&&x.reset(z(e))},[B,p,x,e,K,O.fetchState,Q,D.fetchState]);const Be=x.handleSubmit(P=>{y.trackEnableBillPay(),ge()}),Fe=async(P,I)=>{const o=I[E];if(P.includes(E)){if(P.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&r?.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&&r?.id!=null&&r?.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,r.id,r.accType)}}};m.useEffect(()=>{const P=x.watch((I,{name:o})=>{o!=null&&I!=null&&Re(()=>Fe(o,I))});return()=>{P.unsubscribe()}}),m.useEffect(()=>{J==="In-Progress"&&b.fetchState==="Completed"&&M()},[M,J,b.fetchState]);const{commonSetUp:Ie,spendManagement:Ve}=Ue.getLocalizedStrings(),{setUp:d}=Ie,{billPaySetup:l}=Ve.billPay,_=A?.isBusinessVerified===!0&&(r?.accType==="depositAccount"||He.isVerifiedPaymentAccountProviderStatusCode(r?.providerVerificationStatus?.code??"")),R=A?.isBillPayEnabled===!0,Ee=_?d.setupVerifiedSubTitle:l.setupSubTitle,We=p==="In-Progress"||p==="Not-Started"||G==="In-Progress"||G==="Not-Started",F=C.mode==="light"?new X(C.colors.brandColorJadeLight):new X(C.colors.brandColorJadeDark),$e=()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:Me.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:b,onEditFileName:be,onDeleteFile:xe,updateFilesEntity:Pe,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ye,scrollableContent:q,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(rt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),We?t.jsx(dt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Ge,{...x,children:t.jsx("form",{id:Z(Y),onSubmit:Be,children:t.jsxs(ut,{windowSize:i,children:[t.jsx(H,{onClick:$e,title:d.businessVerificationTitle,subTitle:d.businessVerificationSubTitle,header:d.businessVerificationHeader,icon:{element:t.jsx(Je,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},status:A?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(nt,{connectedAccountProvider:ee,primaryFundingAccount:r,allFundingAccounts:N,plaidConnectionDetails:$,allBankAccounts:Ae,sectionId:E,isDisabled:w,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:fe,onUpdatePaymentAccountLoginStatus:me,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},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:l.approvalSubTitle,header:j.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?je:void 0})]})})}),s===!0?t.jsx(H,{title:T?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ye,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},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(Xe,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),_&&!R&&j.length>0?t.jsx(Ze,{formId:Z(Y),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:b.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:w!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(it,{isFooterRendered:_&&!R,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},at=g.div``,lt=g.div`
1
+ import{u as $e,e as De,a2 as V,a as Oe,c7 as Re,M as Ue,l as He,a8 as Y,j as t,cM as ze,_ as Le,c as Me,C as u,aW as qe,m as Ne,F as Je,d2 as Ge,aS as Ke,d3 as Qe,bx as Ye,d4 as Ze,a4 as Xe,o as L,q as a,n as et,b5 as tt}from"./index-CyJdCOlu.js";import{b as f,n as g}from"./vendor-CnQcJ2Lu.js";import{D as it}from"./HelpButton-BT_HyQ5k-B4E1vZtk.js";import"./SetUpAccountSection-CaLxl4l3-BRnWdFeV.js";import{J as H}from"./SetUpDefaultSection-a6NTauck-C-i38hil.js";import{f as nt}from"./SpendMgmtSetupAccountSection-D8Yv-Jng-D3WoppPf.js";import{g as ot}from"./UploadAdditionalDocumentOverlay-Dq1ToFCn-BQjCguyB.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-C-Ca0puH-BuYhTZNY.js";import"./ChaseOverlay-N7gGQaMQ-Bh9lkzpe.js";import"./ChargeCardUtils-6kq_92Ri-BhC-mlU5.js";import"./CreditCardPaymentPlgSection-BGh2TJeK-DFQxSPk-.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)},Z="billPaySetUpPage",E="billPayAccount",Ft=({billPaySetupView:e,isDisabled:w,billpayApprovalView:W,meetingUrl:v,showIntlWiseWidget:s,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:me,onUpdatePaymentAccountLoginStatus:fe,onEnableBillPayClick:ge,onEnableBillPaySuccess:M,onClickMenuIcon:ye,onInternationPaymentSetUpClick:Se,onEditFileName:be,onDeleteFile:xe,updateFilesEntity:Pe,onCompanyOfficerUpdated:we,onSendForVerificationClick:ve,onSignUpClick:Ce})=>{const C=$e(),i=De(),[k,S]=f.useState(!1),q=f.useRef(null),{fetchState:p,updateStatus:b,accountUpdateStatus:ke,plaidConnectionDetails:_,allBankAccounts:Ae,companyBillPayInfo:A,isRefreshingViewInBackground:Te,selectedCompanyOfficer:c,primaryFundingAccount:r,allFundingAccounts:N}=e,h=A?.internationalWireOnboardingStatus,T=h==null||h.code==="onboarding_status_not_started",{fetchState:J,allApprovalRules:j,approvalRulesStatus:je}=W,$=_.link_account.updateStatus,D=_.update_account.updateStatus,B=V(p),G=V(b.fetchState),K=V($.fetchState),Q=V(D.fetchState),x=Oe({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>z(e),[e]),values:z(e)});f.useEffect(()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"&&S(!0),k&&B==="In-Progress"&&p==="Completed"&&S(!1)},[c,p,B]),f.useEffect(()=>{(B==="In-Progress"&&p==="Completed"||K==="In-Progress"&&$.fetchState==="Completed"||Q==="In-Progress"&&D.fetchState==="Completed")&&x.reset(z(e))},[B,p,x,e,K,$.fetchState,Q,D.fetchState]);const Be=x.handleSubmit(P=>{y.trackEnableBillPay(),ge()}),Fe=async(P,I)=>{const o=I[E];if(P.includes(E)){if(P.includes("fundingAccount")){if(o.fundingAccount.selectedOption!=null&&r?.id!=o.fundingAccount.selectedOption){const m=N.find(U=>U.id===o.fundingAccount.selectedOption);m!=null&&pe(o.fundingAccount.selectedOption,m.accType)}}else if(o.account.selectedOption!=null&&r?.id!=null&&r?.zeniAccountId!=o.account.selectedOption){const m=o.account.allOptions.find(U=>U.value===o.account.selectedOption);m!=null&&typeof m.label=="string"&&y.trackConnectBankLink(m.value,m.label,"bill_pay"),he(o.account.selectedOption,r.id,r.accType)}}};f.useEffect(()=>{const P=x.watch((I,{name:o})=>{o!=null&&I!=null&&Re(()=>Fe(o,I))});return()=>{P.unsubscribe()}}),f.useEffect(()=>{G==="In-Progress"&&b.fetchState==="Completed"&&M()},[M,G,b.fetchState]);const{commonSetUp:Ie,spendManagement:Ve}=Ue.getLocalizedStrings(),{setUp:d}=Ie,{billPaySetup:l}=Ve.billPay,O=A?.isBusinessVerified===!0&&(r?.accType==="depositAccount"||He.isVerifiedPaymentAccountProviderStatusCode(r?.providerVerificationStatus?.code??"")),R=A?.isBillPayEnabled===!0,Ee=O?d.setupVerifiedSubTitle:l.setupSubTitle,We=p==="In-Progress"||p==="Not-Started"||J==="In-Progress"||J==="Not-Started",F=C.mode==="light"?new Y(C.colors.brandColorJadeLight):new Y(C.colors.brandColorJadeDark),_e=()=>{!k&&c?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&c.areAdditionalDocumentsRequestedForVerification&&!c.areAdditionalDocumentsSubmittedForVerification&&c.userVerificationStatus?.code==="require_info"?S(!0):ce?.()};return t.jsxs(lt,{ref:q,children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:n.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:k,onClose:()=>S(!1),style:{backgroundColor:Me.drawerBackground},transitionDuration:250,"data-testid":Le("bill-pay-setup-drawer"),children:t.jsx(ot,{authParams:oe,filesEndPoint:ne,updateStatus:b,onEditFileName:be,onDeleteFile:xe,updateFilesEntity:Pe,companyOfficer:c,onClose:()=>S(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:ve})}),t.jsx(qe,{title:l.setupTitle,style:{zIndex:3},onBackClick:le,showMenuIcon:!R&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ye,scrollableContent:q,backgroundColor:C.colors.grey4,source:"BillPaySetUpPage"}),t.jsxs(rt,{windowSize:i,children:[t.jsx(st,{windowSize:i,children:Ee}),We?t.jsx(dt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsxs(at,{children:[t.jsx(Je,{...x,children:t.jsx("form",{id:X(Z),onSubmit:Be,children:t.jsxs(ut,{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:F},status:A?.businessVerificationStatus,isLoading:Te,isActiveWhileLoading:!0}),t.jsx(nt,{connectedAccountProvider:ee,primaryFundingAccount:r,allFundingAccounts:N,plaidConnectionDetails:_,allBankAccounts:Ae,sectionId:E,isDisabled:w,onFetchLinkTokenClick:re,onEstablishConnectionClick:de,onUpdatePaymentAccountStatus:me,onUpdatePaymentAccountLoginStatus:fe,onEstablishConnectionSuccess:ue,icon:{element:t.jsx(Ke,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},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:l.approvalSubTitle,header:j.length>0?d.approvalHeader:d.setupApprovalHeader,icon:{element:t.jsx(Qe,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:se,status:j.length>0?je:void 0})]})})}),s===!0?t.jsx(H,{title:T?l.enableInternationalWireTitle:l.internationWireTitle,subTitle:l.internationalWireSubTitle2,header:l.internationalWireHeader,icon:{element:t.jsx(Ze,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:F},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(Ye,{title:h.code==="verification_pending"?l.tooltipTexts.pendingInternationalVerificationText:l.tooltipTexts.internationalVerificationFailed,children:t.jsx(ct,{})}):void 0,shouldHover:!0,showRightArrow:T}):null]})]}),O&&!R&&j.length>0?t.jsx(Xe,{formId:X(Z),primaryBtn:{label:l.enableBillPay,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:b.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:w!=null},showCancel:!1,helperText:l.terms,cancelBtn:{label:""},style:{padding:`12px ${L.sp3}`}}):null,t.jsx(it,{isFooterRendered:O&&!R,meetingUrl:v,analytics:y,productType:"bill_pay"})]})},at=g.div``,lt=g.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -39,4 +39,4 @@ import{u as Oe,X as De,a2 as V,a as _e,c4 as Re,M as Ue,l as He,a8 as X,j as t,c
39
39
  display: flex;
40
40
  flex-direction: column;
41
41
  row-gap: ${e=>n.sectionRowGap.valuePx(e.windowSize)};
42
- `,z=e=>{const{allBankAccounts:w,allFundingAccounts:W,primaryFundingAccount:v}=e;return{[E]:{fundingAccount:{selectedOption:v?.id,allOptions:W.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:v?.zeniAccountId,allOptions:w.map(s=>({label:s.accountName,value:s.accountId}))}}}},Z=e=>`${e}_form`;export{Ft as default,Z as uniqueName};
42
+ `,z=e=>{const{allBankAccounts:w,allFundingAccounts:W,primaryFundingAccount:v}=e;return{[E]:{fundingAccount:{selectedOption:v?.id,allOptions:W.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:v?.zeniAccountId,allOptions:w.map(s=>({label:s.accountName,value:s.accountId}))}}}},X=e=>`${e}_form`;export{Ft as default,X as uniqueName};
@@ -1,4 +1,4 @@
1
- import{u as fe,X as Ce,a as xe,c4 as Pe,a8 as k,M as be,j as t,C as P,aW as Ae,c as Ie,F as ve,aS as je,c5 as ke,a4 as $e,o as s,h1 as Oe,cx as Be,cy as Ee,q as b,e as Te,gg as Ve,Q as ze,g as Le}from"./index-CbZTLtvs.js";import{b as W,n as r}from"./vendor-CnQcJ2Lu.js";import{M as De,r as H,o as Me}from"./PaymentAccountSetupBillingAddressSection-CsldB-k7-f3lPV-NL.js";import{O as Re}from"./SetUpAccountSection-Dr1TfnG_-5hIyS4v7.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./SetUpDefaultSection-Be5NU_Em-B29pYDRY.js";import"./ChaseOverlay-HTpWDuLt-DX0UAuYL.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:G,onUpdateAccountClick:J,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(G)}),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&&J(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(Je,{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`
1
+ import{u as fe,e as Ce,a as xe,c7 as Pe,a8 as k,M as be,j as t,C as P,aW as Ae,m as Ie,F as ve,aS as je,c8 as ke,a4 as $e,o as s,h4 as Be,cA as Ee,cB as Te,q as b,n as Ve,gj as Oe,b as ze,c as De}from"./index-CyJdCOlu.js";import{b as R,n as r}from"./vendor-CnQcJ2Lu.js";import{M as Le,r as _,o as Me}from"./PaymentAccountSetupBillingAddressSection-D6cW0hFS-DO3Osr4s.js";import{O as We}from"./SetUpAccountSection-CaLxl4l3-BRnWdFeV.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./SetUpDefaultSection-a6NTauck-C-i38hil.js";import"./ChaseOverlay-N7gGQaMQ-Bh9lkzpe.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])},Re={title:new ze("standardSemiBold","largeSemiBold")},F="billingSetupPage",A="payAccountSectionId",n="subscriptionBillingAddressSectionId",lt=({analytics:e,billingSetupView:a,connectedAccountProvider:g,isDisabled:d,onClickMenuIcon:I,uiState:K,stripeKey:N,googleAPIKey:q,companyId:G,onUpdateAccountClick:J,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:Y,onEstablishConnectionSuccess:ee,handleCreateCardSetupIntent:te,handleConfirmCardSetupIntent:ne,updateCardPaymentModalState:$,handleAddCardPaymentSource:ie,resetCardPaymentViewState:oe,handleResetCardPaymentErrorStatuses:ae,onBillingAddressSave:se,onAddressEditHandler:re})=>{const C=fe(),i=Ce(),{setupView:{paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,accountFetchStatus:B},cardPaymentView:m}=a,ce=a.subscriptionBillingAddress,E=y?.providerVerificationStatus,ue=B.fetchState==="In-Progress"||B.fetchState==="Not-Started",S=xe({mode:"onSubmit",reValidateMode:"onChange",defaultValues:H(a),values:H(a),resetOptions:{keepDirtyValues:!0}}),pe=S.handleSubmit(c=>{se(G)}),T=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=Ee(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:Te(v.selectedOption)});u!=null&&re(u)}else c.includes(A)&&h.account.selectedOption!=null&&y?.paymentAccountId!=null&&y.zeniAccountId!==h.account.selectedOption&&J(h.account.selectedOption,y.paymentAccountId)};R.useEffect(()=>{const c=S.watch((o,{name:h})=>{h!=null&&o!=null&&Pe(()=>me(h,o))});return()=>{c.unsubscribe()}});const V=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:O}=be.getLocalizedStrings(),ge=O.section.subTitle,{text:ye,subText:Se}=he,z=m.cardsList.length>0,D=m?.cardsList[0]?.brand??"other",L=m?.addCardPaymentSourceStatus.fetchState,x=Le(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:_(D).iconURL,width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i),alt:_(D).name}),color:new k(V)},showCompletedIcon:!1,isError:L==="Error",isLoading:L==="In-Progress",isCompleted:!0,showRightArrow:!1});const[W,we]=R.useState(!1);return t.jsxs(Fe,{children:[t.jsx(Ae,{source:"BillingSettingsPage",title:O.section.title,backgroundColor:C.colors.grey4,style:{zIndex:3},showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:I}),t.jsxs(_e,{windowSize:i,children:[t.jsx(He,{windowSize:i,children:ge}),ue?t.jsx(Ue,{children:t.jsx(Ie,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...S,children:t.jsx(Je,{children:t.jsx("form",{id:U(F),onSubmit:pe,children:t.jsxs(Ke,{windowSize:i,children:[t.jsx(We,{connectedAccountProvider:g,paymentAccount:y,plaidConnectionDetails:de,allBankAccounts:le,header:w.header,sectionTitle:w.header,defaultSectionTitle:ye,defaultSectionSubTitle:Se,sectionId:A,isDisabled:d,onFetchLinkTokenClick:Z,onEstablishConnectionClick:Y,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:ee,isError:E?.code==="require_info"||E?.code==="failed",icon:{element:t.jsx(je,{width:p.iconWidthHeight.valuePx(i),height:p.iconWidthHeight.valuePx(i)}),color:V},analytics:e,productType:"billing",updateCardPaymentModalState:$,cardPaymentSectionValues:M,cardPaymentView:m,resetCardPaymentViewState:oe,showZeniAccountSection:!1,referrer:"Billing",cardSetupInProgress:W}),Ne(i,l.headers.billingAddress,ce,q,d)]})})})}),ke(S.formState.dirtyFields)?t.jsx($e,{formId:U(F),style:{width:i==="small"?"auto":"100%",paddingTop:s.sp2,paddingBottom:s.sp2,height:s.sp8},primaryBtn:{label:l.footer.save,isLoading:T?.fetchState==="In-Progress",isDisabled:T?.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:W,setCardSetupInProgress:we})]})},H=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]:Be(n,e.subscriptionBillingAddress)[n]}},_e=r.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  height: 100%;
@@ -6,13 +6,13 @@ import{u as fe,X as Ce,a as xe,c4 as Pe,a8 as k,M as be,j as t,C as P,aW as Ae,c
6
6
  flex-direction: column;
7
7
  align-items: center;
8
8
  row-gap: ${e=>p.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,_e=r.div`
9
+ `,Fe=r.div`
10
10
  display: flex;
11
11
  min-height: 100%;
12
12
  flex-direction: column;
13
13
  width: 100%;
14
14
  background-color: ${e=>e.theme.colors.grey4};
15
- `,Fe=r(Te)`
15
+ `,He=r(Ve)`
16
16
  color: ${e=>e.theme.colors.hero};
17
17
  display: flex;
18
18
  justify-content: center;
@@ -31,14 +31,14 @@ import{u as fe,X as Ce,a as xe,c4 as Pe,a8 as k,M as be,j as t,C as P,aW as Ae,c
31
31
  `,Ke=r.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
- `,Ne=(e,a,g,d,I)=>t.jsxs(qe,{children:[t.jsx(Ge,{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`
34
+ `,Ne=(e,a,g,d,I)=>t.jsxs(qe,{children:[t.jsx(Ge,{windowSize:e,isDisabled:I==="disabled",children:a}),t.jsx(Oe,{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
37
  `,Ge=r.div`
38
- ${e=>`${We.title.style(e.windowSize)}`};
38
+ ${e=>`${Re.title.style(e.windowSize)}`};
39
39
  margin-bottom: ${s.sp3};
40
40
  margin-top: ${s.sp4};
41
- color: ${e=>e.isError===!0?Le.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
41
+ color: ${e=>e.isError===!0?De.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
42
42
  `,Je=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,bP as M,bR as q,bS as z,jc as W,l as G,ab as X}from"./index-CbZTLtvs.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as Y}from"./ReviewOverlay-Dw0qj7TA-DnC9Iul5.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.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:h}=t,u=i==="review",[P,w]=_.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,A=()=>{const{title:d,description:S}=H(y);k({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,h),w(!0)},F={onOkClick:d=>{w(!1),r.trackBillPayBulkPopupConfirm(i,g,h,Z(t)),l("reject",d)},onCancelClick:()=>{w(!1)}},{title:N,description:$}=J(m,y,R,p),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,h),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:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[P?b.jsx(M,{titleComponent:b.jsx(z,{children:f.title}),descriptionComponent:b.jsx(q,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Y,{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: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:X("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&G.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:K(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??""}}))},Z=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=W([...l,e.isRecurring?"recurring":"one-time"])}),l},H=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)}},J=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:h,do_:u,does:P}=n.texts,w=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_>",w?g:h)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},K=(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,Z as getBillsUniqueType};
1
+ import{M as V,j as b,bS as M,bU as q,bV as W,jf as z,l as H,ab as Q}from"./index-CyJdCOlu.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as X}from"./ReviewOverlay-Czmj4HG0-BLH60HLe.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.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:f}=t,u=i==="review",[B,h]=_.useState(!1),[s,v]=_.useState(j(t,u)),[p,E]=_.useState(u),[P,T]=_.useState(0),[w,k]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,O)=>(clearInterval(x),O===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),T(d=>d+1)},1e3)),P===s.length&&p&&(E(!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}=Z(y);k({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,f),h(!0)},F={onOkClick:d=>{h(!1),r.trackBillPayBulkPopupConfirm(i,g,f,Y(t)),l("reject",d)},onCancelClick:()=>{h(!1)}},{title:N,description:U}=G(m,y,R,p),I=t.fetchState==="Completed"&&y===0,$=()=>{r.trackBillPayBulkSubmit(i,g,f),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:$,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:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[B?b.jsx(M,{titleComponent:b.jsx(W,{children:w.title}),descriptionComponent:b.jsx(q,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(X,{title:N,description:{content:U,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:Q("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&H.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:J(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??""}}))},Y=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=z([...l,e.isRecurring?"recurring":"one-time"])}),l},Z=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)}},G=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:f,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:f)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},J=(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,Y as getBillsUniqueType};
@@ -1,4 +1,4 @@
1
- import{X as a,j as s,_ as b,o as r}from"./index-CbZTLtvs.js";import{n as p}from"./vendor-CnQcJ2Lu.js";import{o as l}from"./commonDimensions-BpaqG_u8-bPBJ7BtU.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{e as h,j as s,_ as b,o as r}from"./index-CyJdCOlu.js";import{n as p}from"./vendor-CnQcJ2Lu.js";import{o as l}from"./commonDimensions-CKs-7p-V-CmlPem1Z.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=h();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(a,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const a=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)};
@@ -12,7 +12,7 @@ import{X as a,j as s,_ as b,o as r}from"./index-CbZTLtvs.js";import{n as p}from"
12
12
  border-color: ${o=>o.isDisabled?o.theme.colors.grey3:o.theme.colors.primary};
13
13
  color: ${o=>o.isDisabled?o.theme.colors.hero:o.theme.colors.primary};
14
14
  }
15
- `,x=p(h)`
15
+ `,x=p(a)`
16
16
  display: flex;
17
17
  border-top-width: 1px;
18
18
  border-right-width: 1px;
@@ -26,7 +26,7 @@ import{X as a,j as s,_ as b,o as r}from"./index-CbZTLtvs.js";import{n as p}from"
26
26
  &:hover {
27
27
  border-bottom-width: 1px;
28
28
  }
29
- `,n=p(h)`
29
+ `,n=p(a)`
30
30
  display: flex;
31
31
  border-top-width: 0.5px;
32
32
  border-right-width: 1px;
@@ -39,7 +39,7 @@ import{X as a,j as s,_ as b,o as r}from"./index-CbZTLtvs.js";import{n as p}from"
39
39
  &:hover {
40
40
  border-top-width: 1px;
41
41
  }
42
- `,u=p(h)`
42
+ `,u=p(a)`
43
43
  display: flex;
44
44
  border-radius: ${r.sp0};
45
45
  border-top-width: 0.5px;
@@ -1,4 +1,4 @@
1
- import{u as et,X as tt,a2 as we,j as i,M as Te,i as G,a as it,ci as at,l as L,z as st,c4 as nt,ab as rt,a1 as ot,K as lt,aW as ct,_ as dt,c5 as mt,bP as pt,bR as ut,bS as ft,c as yt,F as ht,a4 as gt,o,C as N,m as ke,fD as xt,fb as Ce,cx as St,c1 as wt,a3 as Ct,e as $e,Q as bt,h as vt,q as $}from"./index-CbZTLtvs.js";import{b as P,n as d}from"./vendor-CnQcJ2Lu.js";import{x as Dt,s as Tt}from"./CompanyOfficerDetailsSection-C1aPsDga-CZMmYqn7.js";import{r as kt}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-Eka4fXzu-BBxiflEl.js";import"./LabeledCreatableSingleSelectField-CJT-CuQl-CtkVdb8Y.js";import"./LabeledDocumentField-BoraKtTI-BrK0QicB.js";const x={width:new N(343,580,726),titleWidth:new N(343,580,726,826),subTitlePaddingTop:new N(12,$[3]),subTitlePaddingBottom:new N($[3],$[3]),verificationDetailsRowGap:new N(12,$[5],$[5]),termsPaddingLeftRight:new N($[0],$[3])},$t={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:jt,footer:ve,strings:{empty:Nt}}}=Te.getLocalizedStrings(),mi=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:z,filesEndPoint:r,authParams:B,productType:y,allIndustries:_,companyTitles:E,maxInsuredAmount:u,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:H,onRegisteredAddressClick:je,onBackClick:V,onGetOtp:Ne,onVerifyOtp:Pe,onResendOtp:Fe,onSendForVerificationClick:Ve,onEditFileName:ee,onCompanyDetailsChanged:Oe,updateFilesEntity:te,onDeleteFile:ie,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ae,onSaveDetailsClick:ze,onClickMenuIcon:Be})=>{const _e=et(),m=tt(),{updateStatus:R,companyView:O,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,Ee=we(R.fetchState),U=O?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?i.jsxs(_t,{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]=P.useState(!1),[M,se]=P.useState("save"),[Z,Me]=P.useState(!1),p=it({mode:"all",reValidateMode:"onChange",defaultValues:Pt(t,_,E,A)}),{isValid:Ge}=p.formState,K=O?.company.company.companyBillPayInfo,X=O?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?X?.companyVerificationStatus:K?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=w[T],a=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,k=e?.lastName,oe=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,Se=Y?.email;a!=null&&f!=null&&C!=null&&k!=null&&c!=null&&oe!=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&&Se!=null&&g?.trackBusinessVerificationSend({email:a,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:k,companyRole:oe,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:J,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:Se},y,n?"Settings":void 0)},Ze=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=a?.email??"",k=!!a?.firstName&&!!a?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!k?((!a?.firstName||!a?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},Ke=()=>{const e=w[T],a=l?.primaryContactLocalData,c=e?.email,f=a?.email;if(c){if(!f)return(a?.firstName||a?.lastName)&&p.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 p.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Xe=p.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&w[T]?.isPhoneVerified!==!0){p.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=at(Object.values(w).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(),Ve?.(T))}),qe=async(e,a)=>{e.includes(b)?Oe?.(a[b]):e.includes(v)&&Ae?.(a[v])},Qe=P.useCallback(st((e,a)=>{qe(e,a)},300),[]);P.useEffect(()=>{const e=p.watch((a,{name:c})=>{c!=null&&a!=null&&nt(()=>Qe(c,a))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ae?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ae,p]);const re=O?.companyOfficers.slice(0,10).sort((e,a)=>e.user.createTime?.isAfter(a.user.createTime)===!0?1:-1),q=re?.map(e=>e.user),Je=re?.map(e=>e.role),Ye={onOkClick:()=>{W(!1),V();const e=[],a=O?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(c=>{a.includes(c)||e.push(c)}),Je?.forEach((c,f)=>{const C=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(k=>{C.includes(k)||e.push(k)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},He=rt(ot(u),u,jt.currencySymbol).toUpperCase(),Q=j?.code==="pending_review"||j?.code==="verified";return y==="zeni_treasury"&&j?.code==="pending_review"&&Ee==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(Kt,{children:[i.jsxs(Xt,{children:[i.jsx(kt,{}),i.jsx(qt,{windowSize:m,children:s.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),i.jsx(lt,{label:s.submittedButton,onClick:V,variant:"primary"})]}):i.jsxs(Ft,{isSettings:n,children:[i.jsx(ct,{title:h&&S===!0?Nt:s.header,backgroundColor:_e.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(p.formState.dirtyFields)?W(!0):V()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:Be,rightSideComponent:h?i.jsx(Qt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{V()}}):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||S===!1)&&i.jsx(Ot,{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,{...p,children:i.jsxs("form",{id:De(be),onSubmit:Xe,children:[h&&S===!0&&i.jsxs(Vt,{children:[i.jsxs(Et,{windowSize:m,children:[i.jsx(Rt,{windowSize:m,children:Q?s.businessVerificationDetails:s.verifyBusinessDetails}),!Q&&i.jsx(Ut,{children:i.jsxs(Mt,{children:[i.jsx(Gt,{}),i.jsx(Wt,{})]})})]}),i.jsx(Ie,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),i.jsxs(zt,{children:[i.jsx(Dt,{companyOfficerData:w,allNationalityCountries:A,allOfficers:q??[],sectionId:v,isRefreshingViewInBackground:z,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:H,onDeleteFile:ie,isDisabled:I,filesEndPoint:r,authParams:B,isPopupOpen:Z,openPopup:Me,onGetOtp:Ne,onVerifyOtp:Pe,onResendOtp:Fe,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:z},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":I,fileProps:{authParams:B,filesEndPoint:r,onEditFileName:ee,onDeleteFile:ie,updateFilesEntity:te},onCompanyAddressClick:H,onRegisteredAddressClick:je,connectedAccountProvider:U,allIndustries:_})]}),y==="zeni_accounts"?i.jsx(Bt,{windowSize:m,children:s.threadText.replace("__amount__",He)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?X?.companyVerificationStatus?.code!=="pending_review"&&X?.companyVerificationStatus?.code!=="verified":K?.businessVerificationStatus?.code!=="pending_review"&&K?.businessVerificationStatus?.code!=="verified")?i.jsx(gt,{formId:De(be),primaryBtn:{label:S?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"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:S?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)V();else{const e=w[T],a=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=Ke();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),ze?.(T))}}},helperText:Re,style:{padding:`12px ${o.sp3}`,zIndex:Z?0:4}}):null]})},Pt=(t,A,F,z)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:B,companyView:y}=t,_=Te.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:r?.companyDescription??"",ein:r?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:r?.companyId??"",syncToken:r?.syncToken,companyLegalName:r?.companyLegalName??"",companyWebsite:r?.website?.toString()??"",companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:A?.map(u=>u.code)},companyPhone:r?.phone??"",companyTaxId:r?.taxIdOrEIN??"",primaryContactName:{firstName:r?.primaryContactLocalData?.firstName??"",lastName:r?.primaryContactLocalData?.lastName??""},primaryContactEmail:r?.primaryContactLocalData?.email??"",primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:_.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:r?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)}},[v]:Object.values(B).map((u,I)=>{const n=u,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:St(n?.nationalityCountryCode,z.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:!E&&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`
1
+ import{u as et,e as tt,a2 as we,j as a,M as Te,g as G,a as at,cl as it,l as L,y as st,c7 as nt,ab as rt,a1 as ot,k as lt,aW as ct,_ as dt,c8 as mt,bS as pt,bU as ut,bV as ft,m as yt,F as ht,a4 as gt,o,C as N,B as ke,fF as xt,fd as Ce,cA as St,c4 as wt,a3 as Ct,n as $e,b as bt,h as vt,q as $}from"./index-CyJdCOlu.js";import{b as P,n as d}from"./vendor-CnQcJ2Lu.js";import{x as Dt,s as Tt}from"./CompanyOfficerDetailsSection-C1IpMsWw-4riCbcJi.js";import{r as kt}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-DJHY_wPN-ChfMLz4N.js";import"./LabeledCreatableSingleSelectField-CTwToXIo-Cle-L6Nt.js";import"./LabeledDocumentField-sIz4Fhet-CBqe5ksA.js";const x={width:new N(343,580,726),titleWidth:new N(343,580,726,826),subTitlePaddingTop:new N(12,$[3]),subTitlePaddingBottom:new N($[3],$[3]),verificationDetailsRowGap:new N(12,$[5],$[5]),termsPaddingLeftRight:new N($[0],$[3])},$t={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:jt,footer:ve,strings:{empty:Nt}}}=Te.getLocalizedStrings(),ma=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:B,filesEndPoint:r,authParams:_,productType:y,allIndustries:z,companyTitles:E,maxInsuredAmount:u,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:S=!1,onAddressClick:Y,onRegisteredAddressClick:je,onBackClick:V,onGetOtp:Ne,onVerifyOtp:Pe,onResendOtp:Fe,onSendForVerificationClick:Ve,onEditFileName:ee,onCompanyDetailsChanged:Oe,updateFilesEntity:te,onDeleteFile:ae,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ie,onSaveDetailsClick:Be,onClickMenuIcon:_e})=>{const ze=et(),m=tt(),{updateStatus:R,companyView:O,companyDetailsLocalData:l,companyOfficerLocalData:w}=t,Ee=we(R.fetchState),U=O?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?a.jsxs(zt,{children:[s.terms.term1,a.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,a.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,a.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,a.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=P.useState(!1),[M,se]=P.useState("save"),[Z,Me]=P.useState(!1),p=at({mode:"all",reValidateMode:"onChange",defaultValues:Pt(t,z,E,A)}),{isValid:Ge}=p.formState,X=O?.company.company.companyBillPayInfo,q=O?.company.company.companyTreasuryInfo,j=y==="zeni_treasury"?q?.companyVerificationStatus:X?.companyVerificationStatus,D=Object.values(w).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=w[T],i=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,k=e?.lastName,oe=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,H=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,K=l?.primaryContactLocalData,ge=K?.firstName,xe=K?.lastName,Se=K?.email;i!=null&&f!=null&&C!=null&&k!=null&&c!=null&&oe!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&H!=null&&fe!=null&&ye!=null&&ue!=null&&H!=null&&he!=null&&ge!=null&&xe!=null&&Se!=null&&g?.trackBusinessVerificationSend({email:i,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:k,companyRole:oe,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:H,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:Se},y,n?"Settings":void 0)},Ze=()=>{const e=w[T],i=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=i?.email??"",k=!!i?.firstName&&!!i?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&p.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!k?((!i?.firstName||!i?.lastName)&&p.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},Xe=()=>{const e=w[T],i=l?.primaryContactLocalData,c=e?.email,f=i?.email;if(c){if(!f)return(i?.firstName||i?.lastName)&&p.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||J!=null&&J?.length>0)return p.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},qe=p.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&w[T]?.isPhoneVerified!==!0){p.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=it(Object.values(w).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),i=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(i)).fetchState!=="In-Progress"&&Ge&&(We(),Ve?.(T))}),Je=async(e,i)=>{e.includes(b)?Oe?.(i[b]):e.includes(v)&&Ae?.(i[v])},Qe=P.useCallback(st((e,i)=>{Je(e,i)},300),[]);P.useEffect(()=>{const e=p.watch((i,{name:c})=>{c!=null&&i!=null&&nt(()=>Qe(c,i))});return()=>{e.unsubscribe()}});const ne=we(t.companyDetailsLocalData?.addressStatus);P.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ie?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),p.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ie,p]);const re=O?.companyOfficers.slice(0,10).sort((e,i)=>e.user.createTime?.isAfter(i.user.createTime)===!0?1:-1),J=re?.map(e=>e.user),He=re?.map(e=>e.role),Ke={onOkClick:()=>{W(!1),V();const e=[],i=O?.company.company.incInfo.fileIds??[];p.getValues(`${b}.fileIds`).forEach(c=>{i.includes(c)||e.push(c)}),He?.forEach((c,f)=>{const C=c?.fileIds??[];p.getValues(`${v}.${f}.fileIds`).forEach(k=>{C.includes(k)||e.push(k)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},Ye=rt(ot(u),u,jt.currencySymbol).toUpperCase(),Q=j?.code==="pending_review"||j?.code==="verified";return y==="zeni_treasury"&&j?.code==="pending_review"&&Ee==="In-Progress"&&R.fetchState==="Completed"?a.jsxs(Xt,{children:[a.jsxs(qt,{children:[a.jsx(kt,{}),a.jsx(Jt,{windowSize:m,children:s.submittedTitle}),a.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),a.jsx(lt,{label:s.submittedButton,onClick:V,variant:"primary"})]}):a.jsxs(Ft,{isSettings:n,children:[a.jsx(ct,{title:h&&S===!0?Nt:s.header,backgroundColor:ze.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(p.formState.dirtyFields)?W(!0):V()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:_e,rightSideComponent:h?a.jsx(Qt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{V()}}):null,source:"BusinessVerificationPage"}),Ue===!0?a.jsx(pt,{titleComponent:a.jsx(ft,{children:s.discardTitle}),descriptionComponent:a.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:Ke}):null,a.jsxs(Lt,{windowSize:m,children:[(!h||S===!1)&&a.jsx(Ot,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?a.jsx(At,{children:a.jsx(yt,{size:"ExtraLarge",start:!0})}):a.jsx(ht,{...p,children:a.jsxs("form",{id:De(be),onSubmit:qe,children:[h&&S===!0&&a.jsxs(Vt,{children:[a.jsxs(Et,{windowSize:m,children:[a.jsx(Rt,{windowSize:m,children:Q?s.businessVerificationDetails:s.verifyBusinessDetails}),!Q&&a.jsx(Ut,{children:a.jsxs(Mt,{children:[a.jsx(Gt,{}),a.jsx(Wt,{})]})})]}),a.jsx(Ie,{isReadonly:Q,children:s.verifyBusinessDetailsDescription})]}),a.jsxs(Bt,{children:[a.jsx(Dt,{companyOfficerData:w,allNationalityCountries:A,allOfficers:J??[],sectionId:v,isRefreshingViewInBackground:B,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:Y,onDeleteFile:ae,isDisabled:I,filesEndPoint:r,authParams:_,isPopupOpen:Z,openPopup:Me,onGetOtp:Ne,onVerifyOtp:Pe,onResendOtp:Fe,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),a.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:j,isRefreshingViewInBackground:B},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:j?.code==="pending_review"||j?.code==="verified"?"readonly":I,fileProps:{authParams:_,filesEndPoint:r,onEditFileName:ee,onDeleteFile:ae,updateFilesEntity:te},onCompanyAddressClick:Y,onRegisteredAddressClick:je,connectedAccountProvider:U,allIndustries:z})]}),y==="zeni_accounts"?a.jsx(_t,{windowSize:m,children:s.threadText.replace("__amount__",Ye)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?q?.companyVerificationStatus?.code!=="pending_review"&&q?.companyVerificationStatus?.code!=="verified":X?.businessVerificationStatus?.code!=="pending_review"&&X?.businessVerificationStatus?.code!=="verified")?a.jsx(gt,{formId:De(be),primaryBtn:{label:S?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":S?"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:S?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":S?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(S)V();else{const e=w[T],i=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=Xe();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:i?.firstName,lastName:i?.lastName,email:i?.email},y,n?"Settings":void 0),Be?.(T))}}},helperText:Re,style:{padding:`12px ${o.sp3}`,zIndex:Z?0:4}}):null]})},Pt=(t,A,F,B)=>{const{companyDetailsLocalData:r,companyOfficerLocalData:_,companyView:y}=t,z=Te.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:r?.companyDescription??"",ein:r?.companyFiles.find(u=>u.documentType==="tax_ein"),companyId:r?.companyId??"",syncToken:r?.syncToken,companyLegalName:r?.companyLegalName??"",companyWebsite:r?.website?.toString()??"",companyAddress:r?.addressStatus?.addressToCreate,registeredAddress:r?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:r?.companyIndustry,allOptions:A?.map(u=>u.code)},companyPhone:r?.phone??"",companyTaxId:r?.taxIdOrEIN??"",primaryContactName:{firstName:r?.primaryContactLocalData?.firstName??"",lastName:r?.primaryContactLocalData?.lastName??""},primaryContactEmail:r?.primaryContactLocalData?.email??"",primaryContactUserId:r?.primaryContactLocalData?.userId,primaryContactSyncToken:r?.primaryContactLocalData?.syncToken,fileIds:r?.companyFiles.map(u=>u.fileId)??[],certificateOfIncorporation:r?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),incDate:r?.incDate?.toDate(),typeOfIncorporation:{selectedOption:r?.typeOfIncorporation,allOptions:z.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:r?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)}},[v]:Object.values(_).map((u,I)=>{const n=u,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:St(n?.nationalityCountryCode,B.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:!E&&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
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -38,17 +38,17 @@ import{u as et,X as tt,a2 as we,j as i,M as Te,i as G,a as it,ci as at,l as L,z
38
38
  justify-content: center;
39
39
  align-items: center;
40
40
  background-color: ${t=>t.theme.colors.grey4};
41
- `,zt=d.div`
41
+ `,Bt=d.div`
42
42
  display: flex;
43
43
  flex-direction: column;
44
44
  row-gap: ${o.sp11};
45
- `,Bt=d(ke)`
45
+ `,_t=d(ke)`
46
46
  margin-top: ${o.sp2};
47
47
  padding: ${o.sp2} ${o.sp2};
48
48
  text-align: center;
49
49
  color: ${t=>t.theme.colors.grey1};
50
50
  width: ${t=>x.width.valuePx(t.windowSize)};
51
- `,_t=d(ke)`
51
+ `,zt=d(ke)`
52
52
  text-align: center;
53
53
  max-width: 750px;
54
54
  color: ${t=>t.theme.colors.hero};
@@ -111,20 +111,20 @@ import{u as et,X as tt,a2 as we,j as i,M as Te,i as G,a as it,ci as at,l as L,z
111
111
  `,Zt=d(Ie)`
112
112
  margin-top: ${o.sp0};
113
113
  text-align: center;
114
- `,Kt=d.div`
114
+ `,Xt=d.div`
115
115
  display: flex;
116
116
  flex-direction: column;
117
117
  align-items: center;
118
118
  justify-content: center;
119
119
  gap: ${o.sp5};
120
120
  margin: auto;
121
- `,Xt=d.div`
121
+ `,qt=d.div`
122
122
  display: flex;
123
123
  flex-direction: column;
124
124
  align-items: center;
125
125
  justify-content: center;
126
126
  gap: ${o.sp3};
127
- `,qt=d(wt)`
127
+ `,Jt=d(wt)`
128
128
  color: ${t=>t.theme.colors.primary};
129
129
  white-space: pre-line;
130
130
  text-align: center;
@@ -137,4 +137,4 @@ import{u as et,X as tt,a2 as we,j as i,M as Te,i as G,a as it,ci as at,l as L,z
137
137
  &:hover {
138
138
  color: ${t=>t.theme.colors.primary};
139
139
  }
140
- `;export{mi as default,De as uniqueName};
140
+ `;export{ma as default,De as uniqueName};
@@ -1,4 +1,4 @@
1
- import{X as g,M as w,j as t,f as x,Q as $,o as s,h as C}from"./index-CbZTLtvs.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{e as g,M as w,j as t,v as x,b as $,o as s,h as C}from"./index-CyJdCOlu.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(b,{}),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%;
@@ -8,7 +8,7 @@ import{X as g,M as w,j as t,f as x,Q as $,o as s,h as C}from"./index-CbZTLtvs.js
8
8
  display: flex;
9
9
  align-items: center;
10
10
  gap: ${s.sp1};
11
- `,H=o.span`
11
+ `,b=o.span`
12
12
  height: ${s.sp1};
13
13
  width: ${s.sp1};
14
14
  background-color: ${e=>e.theme.colors.grey1};