@zeniai/web-cockpit-ui 1.14.45-qa → 1.14.46-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 (226) hide show
  1. package/dist/assets/{ACHDetailsPage-Dt6biYUe-D_qgo4uy.js → ACHDetailsPage--syILfU1-BxuDCGHA.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CM9AM70q-Eg3d0iLF.js → AIPerformancePage-C9PHcZ9m-BMlD10dL.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CPF9bJN8-wetzdeT7.js → AccountInfoPage-zufFLbYH-BHCxO1HE.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BpnR6Xwt-CY2OTggk.js → AccountInfoPageContent-DeUscKOY-jFKFtki2.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-ZoEeOTMM-DNdAiQIY.js → AccountLockedInfoModal-DiV5MIVk-_QL90qVE.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CfQ2mY97-Dm688Fcq.js → AccountReconDetailsDrawerPage-Df24sNTI-CpX7POHG.js} +1 -1
  7. package/dist/assets/{AccountRow-B8_6Pf4a-DAgOY6Sl.js → AccountRow-D-gDxofP-BKNqupIN.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BiCUsUG_-BcNn9MAr.js → AccountsPromoCardStack-CNrguaFw-COWjHcL1.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-Dqd20TwG-cpfa9-jt.js → AddAddressForCardDrawer-CnKjCkiq-fqHQr0Lb.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Dztl0YPb-C3gw960A.js → AddToWalletPage-SBPIsp3g-CZIBB02v.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-B4XxsXj8-F2etx0Z6.js → AgingReportsPage-CGN0FV9G-CyE1di6I.js} +1 -1
  12. package/dist/assets/{AllUserItems-B0rWTi3M-CC5t27e_.js → AllUserItems-NSk_ZDaN-r7T65B1m.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Y9K0Ueeu-Bpk4VSlS.js → ApAgingDetailPage-gekBNl8u-DH61yFCF.js} +1 -1
  14. package/dist/assets/{AppBasePage-Co9r45oA-R4C4_YFl.js → AppBasePage-DZfMHT1p-CfNxItmX.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BBI2DM1O-BbuymUHY.js → AppDrawerContent-BbDWr_80-B96BbzII.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DP26gqoH-B_jXJxFO.js → ApprovalRulesSettingsPage-r4PXEevj-HuwzK4w3.js} +1 -1
  17. package/dist/assets/{ArAgingChart-D07CrcX6-KX5Ban1M.js → ArAgingChart-DDz9e6WP-cJGjLqns.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-GZw1b2sA-CjGBveZd.js → ArAgingDetailPage-BmwVAKi0-BRkVtLol.js} +1 -1
  19. package/dist/assets/{AttachmentView-xH7J89rG-CHTfdGs-.js → AttachmentView-dC8wUD1A-BnJQMPey.js} +1 -1
  20. package/dist/assets/{BankAccountSection-C74XNBn5-DDPfYGJY.js → BankAccountSection-dDAvWRwV-eaZiz317.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DISZecgw-IpA1eqVl.js → BankAccountWarningSection-CHV6yGut-D1b1UgoN.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-DVfrZI5k-B9TOXLq0.js → BankConnectionsSettingsPage-DzuywfJO-CSejKGwz.js} +1 -1
  23. package/dist/assets/BillDetailPage-C0bsxxO5-Byx8oTq0.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DULz7z7T-C9lwfMSD.js → BillPayApprovalRuleDetailPage-6X6ZFjh--CDWBJ_eE.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BRy0P1G6-VfZA4rxk.js → BillPayApprovalRulesPage-DZ68nsdO-DRJgk84H.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CbJdDHD0-C4waC54s.js → BillPayPromoPage-Dupp9DMB-2Lt6-rnT.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-DqnFvCOb--Mqh2ki-.js → BillPaySetUpPage-qTXTQHHD-TKuMDkSg.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BC-uZXJ5-DBhF6pXz.js → BillingSettingsPage-C0r0fzyn-CKwC-ZrI.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-GdAORV0l-BRoykaHO.js → BillsBulkReviewDrawerPage-BlJsCrGg-Di8zd7F9.js} +1 -1
  30. package/dist/assets/{BoxItem-BVzRQmWm-D8NL-INo.js → BoxItem-C0jIrNqe-GbYpP5ZO.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Vmjh5B5Q-DE6tkVsq.js → BusinessVerificationPage-Dh0I2VDw-DtTrvPPX.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-Rjo6M8UU-I387NwFG.js → CardNumberSubText-DCcLgAfF-Ro1GGlcZ.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CiSuiJsI-B05AdhOz.js → CashbackDetailPage-DukKLLKE-DSlo8Rl_.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-RTQvA6Uw-D4l-8WPe.js → ChargeCardDetailPage-BhS_7ejN-4DdeEd2A.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-ByQZiwkP-gkSchr3r.js → ChargeCardListPage-DPvS0lVp-zOSK39iq.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BIiwOFhF-PYUV_ciL.js → ChargeCardListTable-CeO0vM1w-h0_G8p7e.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-DDs4hLZ8-D6KFxwCy.js → ChargeCardPromoPage-BHcJygId-CrcGGE30.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-C5Ay4ZmX-Delzp1Oo.js → ChargeCardSetupPage-DPyAsDw_-CrnLBi6I.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-5htSDEnC-roy04wK-.js → ChargeCardStatementsPage-BTrkI7AA-D7fb5UpG.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-D8nxmniw-BYAJ5wNu.js → ChargeCardUtils-BEZFdQvc-pmICz2fP.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-BsUhQ0Hl-DiM5J0sa.js → ChaseOverlay-WT-vwyyH-BSx63KcS.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-CpQke8aO-DbwBObj3.js → CheckDepositDrawerPage-CltSZ5Wp-DNHSXAZP.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-s_gsuEBP-B4Q5LOp_.js → CollapsableReportTable-CLu0A-3k-B5Drr_bb.js} +2 -2
  44. package/dist/assets/{CompanyOfficerDetailsSection-BgVQxl1Y-DLIh_dhO.js → CompanyOfficerDetailsSection-CBeuHeZ--DcEA2seL.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-BA3ilbJb-DrUyZtWe.js → CompanyPassportCard-jD2PB51n-Bvaa3igz.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-CAsHDLIg-BzV8fZnd.js → CompanyPassportPage-dyDms6h1-DS4UQlVX.js} +1 -1
  47. package/dist/assets/{CompleteProfile-CYCDpreV-Da11YDe2.js → CompleteProfile-DPqqxn6i-B92b31Mz.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-C6h5WEkY-DHvUB2ZI.js → ConfettiBurst-P7_sML0C-Cdys9Pty.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-PQOg943K-2--AFsnk.js → CreateOrEditVendorPage-DFSTUJrp-CvfEC9-8.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DKW50EM6-CA_0glFb.js → CreditCardPaymentDrawerPage-B9wNKkH0-HCW_iUlJ.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-C5Qn4uPW-DkEy0T5P.js → CreditCardPaymentPlgSection-D9Wl3oG3-CbnjURB4.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-CQuKsZt--DyGrH7Yb.js → CurrencySelectField-DvGfc9aD-DW3_XZOQ.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-DltZPaG9-Cfk8kwFL.js → CustomerOnboardingActivationPage-Di_xeaIU-A9u6oKGd.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-BwUAKpl2-CZxgJPbv.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BX1ALiCI-D0S6fcYv.js → CustomerOnboardingDetailPageSkeleton-CWqC-t_X-li8KfleA.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-D-_NhEaR-BoatLTWI.js → CustomerOnboardingNoStepsPage-CyYMBxPd-DibFaX-p.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-Cxw6ju1Q-CUtT66EP.js → CustomerOnboardingPage-DTn6NMQq-BwH0Uodu.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-B7D59sC_-DzL_pt_0.js → CustomerOnboardingProductSuitePage-DUeYhG_T-Daz8GQi7.js} +1 -1
  59. package/dist/assets/{Dashboard-BNvsGTf3-BQxWOLiW.js → Dashboard-W3tlpN3d-Bbzf8ZUA.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-CUDj-apD-vwx18UuA.js → DashboardReportPage-BmKlBVki-DoPzLcKJ.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CqoYqd3k-BUcVfxAR.js → DashboardSidebarBackgroundAnimation-CyC3agvt-D1vqYWwl.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-By315-ia-CwP16xnm.js → DepositAccTransactionItem-HP7beqdc-D5FHO4qf.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-BmdduHVH-Dehld1-u.js → DepositAccTransactionListPage-CCD5dXzH-DLXY7TC2.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-BycRPXWv-BQvj4QJh.js → DomesticWireDetailsPage-7OXnbEeP-DDoFU9_I.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CD44fdp2-Cl_fCQv-.js → DownloadOverlay-CVbHzXae-DLbNwAO2.js} +1 -1
  66. package/dist/assets/{DrawerPage-DttoShZY-C9tWCscD.js → DrawerPage-BbpOgIf_-B7Zd0Yyb.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-Cwz1PxMH-DbyBcfy5.js → EditPeoplePage-BDADCpYY-CFMLkMG7.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-B8EIR_aw-D6XRx8br.js → EditReimbursementDetailPage-DIp9gLVK-Bk7NAvKm.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-BSRVaRvy-C6y2jGmy.js → EntityDetailPage-Drf_eWYE-DgdVysTa.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-D3_1EeVb-zyfUkMCN.js → EntitySummarySection-CjpSlwYo-DzQuHOPY.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-BumVHdQ7-BOH40R6n.js → ExpenseAutomationOverviewPage-B7s0JFUb-D6UQNTcf.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-DL86YKcI-CcB91P27.js → ExpenseAutomationPage-wVYtzHiK-EiQ-wmnq.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-B2ZL_U_8-BTRv6xhe.js → ExpressPayPage-BIe4mx0w-KS9w1OOq.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-abZRtNJ_-C5sYmk-v.js → FeaturePreviewPage-C5qdS1Mx-CbttcBbU.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-UY5sAJeD-6weBlV5_.js → FollowStepsSection-uCm-60ZT-CXyxEHRU.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-ao32krvU-DZ7WX5ap.js → GlobalReviewListPage-CZGd12z7-BwoaDTDG.js} +1 -1
  77. package/dist/assets/{HelpButton-Dz3Ra_Sl-eyVqv-Ct.js → HelpButton-BZh7cT22-FOAfbilW.js} +1 -1
  78. package/dist/assets/{InformationCardStack-CeLIUYk5-DH_MQeou.js → InformationCardStack-Ca1orjVR-BkevdZo7.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-CabSexOm-CP-sqm_n.js → InsightsCardStack-DsF68qad-_oDrhlZn.js} +1 -1
  80. package/dist/assets/{InsightsSection-CaYMAnck-Cp3qdC3Q.js → InsightsSection-D0ZZ7KlF-C4K8gCnZ.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-BI7RHtQ2-XD6xD7fx.js → IntegrationsSettingsPage-Bbd74pLK-BnWC4mgC.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-iR-F32ot-CS3EFLG-.js → InternationalWireSwiftDetailsPage-Bk73k2oO-IMlDcOpr.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage--IRCwUc5-DfGo4kAi.js → InternationalWireVerificationPage-DNXdlnbX-CkC_RegF.js} +1 -1
  84. package/dist/assets/{InviteFormPage-D-YEfvJT-Dn7HVuI3.js → InviteFormPage-D0h4v_NO-4w1CbX8x.js} +1 -1
  85. package/dist/assets/{InvitePageListView-CNvU2ppT-DCEGXb9_.js → InvitePageListView-BFMkE9Tu-D-d0uFsc.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-CteRDO3k-BBFX3NEs.js → InvitePeoplePage-oRP-EOMn-CoN98feJ.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-BQXqcLvW-XeZ50tqg.js → InvoiceUploadSection-C1Z861SF-AX5z5Yaz.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-BIgcCnpo-CNXdvPi_.js → IssueChargeCardPage-BGLXn6Ko-fJsLXxDN.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-CiDQX1xa-DSjeJBIY.js → LabeledAddressValue-Bv4KzEgZ-D2Z1AO0P.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-C5jrFFUs-BR1txFD2.js → LabeledAddressValueField-BRIokwlO-Br8kkGcq.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-jqiHQZso-oCTDxQSQ.js → LabeledControlledCheckBoxField-CJExnmlN-DO_g1j9w.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DGZvzuxH-CCJri1Ew.js → LabeledCreatableSingleSelectField-CCuk6AgV-DCucZJeC.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-hUiqS32j-QXx2JfEo.js → LabeledDocumentField-D3qyVGxk-BaCEFIkW.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CZdzpmL1-5QRcxDKO.js → LabeledDropDownFormattedTextField-BLgl-7Hq-WT9b7tU0.js} +1 -1
  95. package/dist/assets/{LabeledText-DopMzeZ3-4f9QdfCJ.js → LabeledText-BQnIyfvc-C0VyJJGm.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CkRg249v-C8ade1BM.js → LabeledUserSingleSelectWithSubtitlesField-zqrvuzP2-Cj42NHnU.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-CwkMUU9L-CF57szZ1.js → LabeledZeniRolesDropDownField-BNymD4XC-D2lsRwRm.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-CcnQYwcu-Ou9qgQSd.js → LinkJETransactionPage-DVNS5f8U-Df4U2y19.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-_1OrPez7-A0Jip0l6.js → LowBalancePopup-RGljE6Gy-CR0-2fWi.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-DXP0qFGK-DLzNwnqt.js → MagicLinkACHDetailsPage-D7LUoqr8-BdU8yZ5j.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BycJq6br-MO-NZNoW.js → MagicLinkDomesticWireDetailsPage-CP4QkcQq-B3i2gX5R.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-NjVjY4fp-_APVoA7T.js → MagicLinkInternationalWireDetailsPage-D-0OTLDt-aQk6T3QB.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-y19ecMSL-CAvz8axK.js → MagicLinkSuccessPage-CqQPz8hK-COaig1iW.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CdijIZYn-C8qxEPT9.js → MagicLinkTitleSection-CvzFLF1d-BjtGPNRf.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-Cw-CO-oE-CC8_B9pQ.js → MailingDetailsSection-CY9MIZVo-VkVLlRre.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-CQ2sUCtg-DInDfEN_.js → MeetingCalenderPopup-D4lzsud6-B-L9W62K.js} +1 -1
  107. package/dist/assets/{Menu-Cz6zGt86-04MLGooV.js → Menu-DSDvn7NT-CFb4U79f.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-DRmOdZ9_-YkhIjvzF.js → MyBankConnectionsSettingsPage-CwUWREVA-CVEkDsIH.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-CtFUm3NW-Dg2D9niY.js → MyPendingActivationChargeCardListPage-Dq2TaKYj-CG1G_XWV.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-ejULQTzV-DonB5M7m.js → MyProfileSettingsPage-BADmv6Se-CdkheVq0.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-C-QfNv7i-DRM1OzIe.js → NavBarWithPicker-CQfjpio1-RAOTRz4l.js} +1 -1
  112. package/dist/assets/{NavigationArrow-kQmX-M7U-B4Ffi2F_.js → NavigationArrow-C_pvSHPb-CE_gN0di.js} +1 -1
  113. package/dist/assets/{NavigationDots-nUALE4y--DQIj-D7v.js → NavigationDots-CD95Ln70-Dmxg83Au.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-D1NQ_h-e-Du9rfxaO.js → NewGlobalMerchantPage-TW_3Xstm-DyRAnna_.js} +1 -1
  115. package/dist/assets/{NoDataChart-BmcrokSp-CsD2TK_d.js → NoDataChart-CRt1tpsJ-BtiEjOSc.js} +1 -1
  116. package/dist/assets/{NoDataTable-BKAiKOOM-BFlyMA5V.js → NoDataTable-CDcIV82h-DfO01zMp.js} +1 -1
  117. package/dist/assets/{NotFoundPage-B-wGvM-5-DwVKgw4k.js → NotFoundPage-Bm6S-H7q-BhIwKTtl.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-BKQcK-_r-DueqCTHZ.js → NotificationSettingsPage-D-D5P9EO-BVjbZkiJ.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-C5pyiij--BJJi2Tf5.js → NotificationsListConfig-WidehAvK-D5lP2K1S.js} +1 -1
  120. package/dist/assets/{NotificationsPage-kpBbd-do-CvglHqAN.js → NotificationsPage-CfbNB9MM-CToMj8ak.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-CWi3CBRt-Df0_eIEU.js → OpExByVendorPage-C8hkid96-Co5PIkTZ.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-TuKeUbgf.js → OverlayContainerPage-Bmu909Fo-DE4uuXfE.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-DyWdR8ii-DxHc1yRh.js → PandLWithForecastPage-BtlmwFMj-DTLHqjwj.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cq7pdtPH-BUsybAj6.js → PaymentAccountSetupBillingAddressSection-CkTQv7Wx-C7SBzEL3.js} +1 -1
  125. package/dist/assets/{PeoplePage-CPaoZBpL--G_NgZD0.js → PeoplePage-Bmme1KPn-BebviSUC.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-DX6o84wl-BycAZSm_.js → PortfolioAllocationFormPage-BFAm5TNr-BweJWn-g.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-C1iLJHLZ-DVD2IN-7.js → PortfolioDetails-OkTxpi-C-Bl-mfHnL.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-DjFdVKD1-D_z6Kg6L.js → ProductsCarousel-LvpG3-F1-epnkUBSX.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-CizR6Pvp-NFRRrZNy.js → PromoBaseCards-Cv7K_N6u-UeK0BcYt.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-2HqFAb-Q-BHOWGL88.js → QBOConnectionDialog-CUfScQXi-Dhb1KbEx.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-9O9ML9R8-D5nGagHY.js → QBOSetupSection-D9GWii9g-CInaMSn3.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CQOS4wJ2-BAiyyEIW.js → ReimbursementApprovalRuleDetailPage-Dj3C1TmV-C25Rrizb.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-VuQN7m71-BvNKfX_h.js → ReimbursementApprovalRulesPage-C2agT3nK-D5eZUYBt.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-D2pO4hgr-C6UvhV2N.js → ReimbursementDetailPage-BuzGiN7H-DAQJGLlo.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-D3p8iwHa-CZ4MCCjW.js → ReimbursementPromoPage-BK0BX0j6-wGlYy4AU.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-OR8ECt9X-Cn25f0it.js → ReimbursementSetUpPage-BGC_ZClc-BHijpA7Y.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DhjfNcO4-DlkTrQQi.js → ReimbursementsBulkReviewDrawerPage-COt4v5HI-CnT2VXw2.js} +1 -1
  138. package/dist/assets/{ReloadCard-NvfxlEQu-BCLTBaZB.js → ReloadCard-DicisRG0-DP9QZo5L.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-B599qAeN-RXvtafby.js → ReportTableViewSelector-BXl7f3Pv-CTFRTX29.js} +1 -1
  140. package/dist/assets/{ReportsPage-Bc-rf7lL-DC79DgE3.js → ReportsPage-CFzHNZAT-JQVpQHD5.js} +1 -1
  141. package/dist/assets/{RevenueChart-BtTx8haN-TQvZ6NN1.js → RevenueChart-B6v1tDMc-B3iOOJql.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-Bm9qlI1L-DwEH9GU4.js → ReviewDetailsPage-v-ftm50C-CcXtRs3B.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-C90OnldQ-C0lPDXis.js → ReviewOverlay-D80OVH3g-D2cxg78C.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-Cav6Dtwi-sE-vEB3f.js → RoleWithToolTip-BLRFyqKt-Du0quEGr.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BIbtbzlS-8vXITXoN.js → ScheduleDetailsFixedAssetsPage-AwnLkcH4-C1sYawlZ.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-BSVBoMe5-Cw6oi3gt.js → ScheduleDetailsPage-DQ18Ge_f-DRCgLGLl.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-C9IcAd6X-BB12vJdJ.js → ScheduleSequenceTable-C7BoKuLd-BAxQWyjj.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-hZ9AnnuQ.js → ScreenRoutes-BNM6SXdg.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-Daj9lEze-DDreTueg.js → SetUpAccountSection-CRYndaTf-DB1iaZYK.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-CKg9xvyM-CDETR3xo.js → SetUpDefaultSection-BFsDk94Y-DWYA8JXF.js} +1 -1
  151. package/dist/assets/{SignIn-BFm1M4_6-B7YSUufP.js → SignIn-DyuSa8z8-BjW3Js3L.js} +1 -1
  152. package/dist/assets/{SignInScreen-BtasVnII.js → SignInScreen-BHS6epFr.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-D6fZPLMz-ZI0ihbQ6.js → SpendManagementListViewPage-B8JdqiZT-C72anZuO.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-jQjzrKl2-CO0yEo9s.js → SpendManagementPerTabPage-BsbTGRhc-CntRyWYr.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-BaiWgwp--BXwe2VyY.js → SpendManagementSection-BSagxXbA-DFBkI-zp.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-BUSFBsmA-FXSBOtrS.js → SpendMgmtSetupAccountSection-CnUAUXQu-EdHDou2-.js} +1 -1
  157. package/dist/assets/{StatementItem-BeGyTVOf-CdOvhguh.js → StatementItem-Nz1Cw2Na-CDhLP85g.js} +1 -1
  158. package/dist/assets/{StatementsPage-2uPMvTEy-mIBCdshN.js → StatementsPage-xVxtuZJm-Bip-fsrW.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-CwLbXjIU-xNYkMNPQ.js → StatusSwitcher-D-nXxItD-CALtJDGD.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-D3bFqk8P-Bp2gsHth.js → SubTabSwitcher-BGPV9-bA-BUDfmwPq.js} +1 -1
  161. package/dist/assets/{SummaryCard-BNrQ7g3--B8GqCLL1.js → SummaryCard-D5wEwe5n-DUZsM6hu.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-Y58wtgRN-C0n1QW9T.js → TaskManagementPage-BwSjYaE4-CMMZz2ti.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-CQd079aU-E9sqG5ej.js → TimeRangeSwitcher-526_d3T2-CFTktY0G.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-Du60ffZv-CkMxGaOO.js → TimeframeSwitcher-C6LtTgVk-Hifvwef6.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-DPManiX8-j8yUAamP.js → TimeframeSwitcherWithToggle-DsbKCFMf-2X60-WMC.js} +1 -1
  166. package/dist/assets/{TopExCard-sH5ZVrBJ-0ja6VYK6.js → TopExCard-DvjdpI7S-B3kiajli.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-DiOHO_q9-COXWjw8v.js → TopExDetailPage-BIsPQ7dQ-D-AfHP_w.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-NaMbYUr8-Ct0fsX20.js → TransactionDetailPage-4BK7dglg-CCIXyLN4.js} +1 -1
  169. package/dist/assets/{TransactionList-Bsma20IC-BZh7nNnC.js → TransactionList-CtTDxJZI-BygPUDkk.js} +1 -1
  170. package/dist/assets/{TransactionListBig-BwMUiFzK-BTPA0gwE.js → TransactionListBig-C5WN4Z9R-DZly4P-q.js} +1 -1
  171. package/dist/assets/{TransactionListPage-BRKVdJ4P-Cz9TN0yj.js → TransactionListPage-DT6-g_bp-BpbbB8rK.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-DuJ1piCd-kgkGzT49.js → TransactionVendorDetailPage-D6BFJ0K9-ra7vkmW4.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-PmiYXfAU-DcT9EjBI.js → TransferDrawerPage-C2Cim8e--DJSVnJjc.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-M6fv3b34-C4dGRAV7.js → TreasuryOverviewPage-Cj-2Z2gC-Dhd4pAKf.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-D48c4Ulh-Cyizv9uX.js → TreasuryPromoPage-CgvANRdz-CCNguxvj.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-BPsw-DhK-BMbpPzX7.js → TreasurySetupPage-CmkhmTXP-K6GvZ68-.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-BEun-dwQ-B0n61xgX.js → TreasuryStatementsPage-C_ZcfWaA-DmwJ2kKj.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-CsQ5biUP-BMaI_WPK.js → TreasuryTaxLetterPage-Cc8opJIX-DzFOwGLr.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-CxhE8fh7-2ZIsMy-l.js → TreasuryTransferOrReviewPage-DF5Rqu8e-DdsmaXIJ.js} +1 -1
  180. package/dist/assets/{TrendChart-CkUKN6L9-n8vv8r5v.js → TrendChart-C74g1AEy-CbIvtKj2.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-4pDf20tw-u0y6ux4h.js → TrendWithTransactions-Ct1r_X3l-juM0LM3l.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-DZBy-Goh-BCSIZA3W.js → UncategorizedAccountsMappingPage-yoX6L7gv-DL93Tsq2.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-DG-KGQDb-DlrGsCWb.js → UnitIntegrationPage-Dv889hCl-b0yLKLRW.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DrZAnHqz-DP23LPEs.js → UploadAdditionalDocumentOverlay-DL23btxR-D1hfIsgK.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-CaiUvPMo-BxpBjDZD.js → Vendor2FAPopup-CEZdlZ0d-C3tw1O-U.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-CHoh0E0P-BHQMDgWs.js → VendorACHDetailsPage-DNjVJ1l9-B9UPE2SF.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CroHdVMA-5JYDqP7n.js → VendorDetailPage-CtCQ_Go4-Ks6bHeRz.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-DC17Qom9-DwsQ_7LX.js → VendorDomesticWireDetailsPage-BGRUZzV5-CyIc1hwO.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-Bom6X8Sg-B3pnCylb.js → VendorFiling1099EditablePage-D6vRhOFW-B-_cDF78.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-6eptnez2-DX3iUA6y.js → VendorFirstReviewPage-B4BbdaKq-KFyP9z7O.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-C_CH7xDF-bUsGEKZu.js → VendorInternationalWireDetailsPage-DfUQQV53-B-Oc3c8k.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BEzPWQbD-Jz0sEY_l.js → VendorInternationalWireSwiftDetailsPage-DB2bs1nX-DzBuxzCf.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-Z-ebKmVQ-DjKZ_l7h.js → VendorsAccountsSection-B74xTqeg-C9rfxIBR.js} +1 -1
  194. package/dist/assets/{VerifyDevice-76nFunfs-C03uPMNG.js → VerifyDevice-C4SVFWfe-D_7-2wl4.js} +1 -1
  195. package/dist/assets/{VideoPlayer-CV7o-_bq-CGX-E0-D.js → VideoPlayer-Cioog4TG-DfTWdAiX.js} +1 -1
  196. package/dist/assets/{VideoPopup-CbaFtkFn-B1xmi3EN.js → VideoPopup-BKgRyZUf-ptZHh9xp.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-Bg7iDQqy-DcWheUza.js → WarningsDrawerPage-Bg-KsavE-BIEc2t9t.js} +1 -1
  198. package/dist/assets/{ZeniAccountDetailPage-DYidbJtT-BH88c0uy.js → ZeniAccountDetailPage-By5RV9_L-DonbWGXW.js} +1 -1
  199. package/dist/assets/{ZeniAccountListViewPage-CVkzRUil-CwCMBFdd.js → ZeniAccountListViewPage-BproEfmr-D2KbQbFX.js} +1 -1
  200. package/dist/assets/{ZeniAccountNavBarPieces-DaHGosco-DTA4oY5z.js → ZeniAccountNavBarPieces-Cvs4x9iH-BZk0k6FR.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-CXr_ud4S-BlDKCdfD.js → ZeniAccountPromoPage-DPdoSB9H-DKljzEDz.js} +1 -1
  202. package/dist/assets/{ZeniAccountSetupPage-Bqng7laZ-C4v_e07B.js → ZeniAccountSetupPage-ChLPQ2bx-B3-67ZyE.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-1d-n5uOX-BWNgukjw.js → ZeniCopyright-DohfTKh2-BONyEcTD.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-C63JbsJx-8F49RglI.js → ZeniTransferAmountSlider-B7wjpsuR--bsdDvQ8.js} +1 -1
  205. package/dist/assets/{analyticsHelper-I0lsXzXl-BfQ81gwk.js → analyticsHelper-nAbM99rB-dFwvbsbt.js} +1 -1
  206. package/dist/assets/{analyticsHelper-DapPLWyL.js → analyticsHelper-ysAmaLqq.js} +1 -1
  207. package/dist/assets/{chartTypes-D1Bn4xHa-FHohVdr1.js → chartTypes-V-x4cCxs-CahKP2qX.js} +1 -1
  208. package/dist/assets/{commonDimensions-0W6wokPG-CgBA3xni.js → commonDimensions-DM4fZd5e-CSntA2gr.js} +1 -1
  209. package/dist/assets/{detailCommon-CtOYz9rQ-lKCZ8Wx9.js → detailCommon-D9VWH3GS-CIqIQO-z.js} +1 -1
  210. package/dist/assets/{downloadPdf-BZd85Ssn-CaECKY4a.js → downloadPdf-qKKYFj-M-BbogsH_X.js} +1 -1
  211. package/dist/assets/{index-JWEa8hVQ.js → index-BiPgiHAh.js} +3 -3
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-CMYVZuQF-BC5LoqS0.js → mapLoadingInProgressToTreeNode-D7kWYmPh-B5uNQOFG.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DTb8IvgM-DEL0uRaO.js → mapSectionWithAcOnlyToTreeNode-jZUBfLPj-BrRZz856.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-B_jfScE8-DecpErj5.js → mapSpacerToTreeNode-DBILIDOx-BiDrNdx3.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-Gxa-yiq_-BFxibEEb.js → mapTimeframeBalancesToTreeNode-DEm31xu_-B1W5dzqu.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-BEOhNOy1-MGsKzFFk.js → mapTimeframeBalancesToTreeNode-DQuI_wt3-NC8uWtee.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BD4cN4l4-BIZZ_jy9.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B6ZeH2F7-CXE0pqGK.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-BVyQC9pt-C8YVH8ZT.js → toCOABalancesWithID-CJao20O7-DrdT_s_Q.js} +1 -1
  219. package/dist/assets/{toChartData-BRdwPc1X-BECqYimO.js → toChartData-DrQ08_nY-Y_UppG8G.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-DrayAnYl-Be2oy01T.js → treasuryColorHelper-DvNvYEVT-BDI6aSlF.js} +1 -1
  221. package/dist/assets/{uploadAttachment-Cx3js1c7-BmRM15ET.js → uploadAttachment-Cr0aSgEE-D9TZgmf3.js} +1 -1
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-C2zL7J0Z.js → uploadReceipts-dxsKhm9I-Dqb_1GjU.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +2 -2
  225. package/dist/assets/BillDetailPage-BB2dqRCc-zCdkfx0a.js +0 -266
  226. package/dist/assets/CustomerOnboardingContainerPage-BLfK3HuK-DtSHdoNk.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as a,e as me,b as pe,W as te,gV as Je,R as W,a0 as Te,Q as Ze,m as et,a4 as Pe,o as t,C as d,a3 as je,T as tt,h as at,u as ze,bp as nt,cV as Ee,X as Y,f as q,fX as Ce,v as ot,l as T,r as Me,c7 as it,a2 as be,a as rt,f2 as lt,ca as ct,F as st,cG as dt,fb as mt,cf as pt,fK as ut,q as r,by as ht,bw as Be,d1 as gt,bO as yt,x as Oe,fe as ft,f6 as Ct,a7 as bt,ff as xt,cx as St,fg as wt,fp as Dt}from"./index-JWEa8hVQ.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as $t}from"./LabeledControlledCheckBoxField-jqiHQZso-oCTDxQSQ.js";import{b as kt}from"./ChargeCardUtils-D8nxmniw-BYAJ5wNu.js";import{Y as xe}from"./CreditCardPaymentPlgSection-C5Qn4uPW-DkEy0T5P.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new Y("h6Regular","h5Regular"),integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=W.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Gt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Xt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)}})})}),a.jsx(Kt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Vt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Yt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:q.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Zt,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Qt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Ht,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
1
+ import{j as a,e as me,b as pe,W as te,gV as Je,R as W,a0 as Te,Q as Ze,m as et,a4 as Pe,o as t,C as d,a3 as je,T as tt,h as at,u as ze,bp as nt,cV as Ee,X as Y,f as q,fX as Ce,v as ot,l as T,r as Me,c7 as it,a2 as be,a as rt,f2 as lt,ca as ct,F as st,cG as dt,fb as mt,cf as pt,fK as ut,q as r,by as ht,bw as Be,d1 as gt,bO as yt,x as Oe,fe as ft,f6 as Ct,a7 as bt,ff as xt,cx as St,fg as wt,fp as Dt}from"./index-BiPgiHAh.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as $t}from"./LabeledControlledCheckBoxField-CJExnmlN-DO_g1j9w.js";import{b as kt}from"./ChargeCardUtils-BEZFdQvc-pmICz2fP.js";import{Y as xe}from"./CreditCardPaymentPlgSection-D9Wl3oG3-CbnjURB4.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new Y("h6Regular","h5Regular"),integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=W.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Gt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Xt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)}})})}),a.jsx(Kt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Vt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Yt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:q.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Zt,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Qt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Ht,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Pt=o.div`
@@ -1,4 +1,4 @@
1
- import{e as j,u as M,R as L,ab as T,a1 as W,j as i,W as b,Q as H,bv as R,o as l,f as n,C as a,aS as U,bO as G,az as B,w as _,q as o}from"./index-JWEa8hVQ.js";import{n as t}from"./vendor-rkTZJa59.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),bulletContainerGap:new a(12,o[3])};function Y({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:f}){const s=j(),$=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),d=C.setUp.accountsPlg,P=()=>{switch(c){case d.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case d.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),f?.()}},z=T(W(m),m,v.currency.currencySymbol).toUpperCase();return i.jsxs(F,{windowSize:s,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(E,{windowSize:s,isDarkMode:$.mode==="dark",children:i.jsx(q,{windowSize:s,children:i.jsx(A,{})})}),i.jsx(N,{children:i.jsxs(Q,{children:[i.jsx(J,{windowSize:s,children:e}),i.jsxs(I,{windowSize:s,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.two.replace("__amount__",z)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.four})]})]})]})})]}),i.jsx(O,{windowSize:s,children:i.jsx(H,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:R.regular}})})]})}const D=t.div`
1
+ import{e as j,u as M,R as L,ab as T,a1 as W,j as i,W as b,Q as H,bv as R,o as l,f as n,C as a,aS as U,bO as G,az as B,w as _,q as o}from"./index-BiPgiHAh.js";import{n as t}from"./vendor-rkTZJa59.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),bulletContainerGap:new a(12,o[3])};function Y({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:f}){const s=j(),$=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),d=C.setUp.accountsPlg,P=()=>{switch(c){case d.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case d.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),f?.()}},z=T(W(m),m,v.currency.currencySymbol).toUpperCase();return i.jsxs(F,{windowSize:s,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(E,{windowSize:s,isDarkMode:$.mode==="dark",children:i.jsx(q,{windowSize:s,children:i.jsx(A,{})})}),i.jsx(N,{children:i.jsxs(Q,{children:[i.jsx(J,{windowSize:s,children:e}),i.jsxs(I,{windowSize:s,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.two.replace("__amount__",z)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.four})]})]})]})})]}),i.jsx(O,{windowSize:s,children:i.jsx(H,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:R.regular}})})]})}const D=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  `,J=t(G)`
@@ -1,4 +1,4 @@
1
- import{cn as M,u as N,cv as P,R as H,j as l,cw as L,W as $,b3 as _,o,dj as z,b_ as B,b4 as g,x as Z,v as S,eZ as J,e_ as T,e$ as U,w as W,b1 as X,a3 as Y,f as m}from"./index-JWEa8hVQ.js";import{b as w,n}from"./vendor-rkTZJa59.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[O,C]=w.useState(!1),k=P(f,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":$("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:O===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":$("currency-select",e),onChange:x=>{i&&x?.value!=null&&v?.selectedOption===x.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:x?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:q,Option:A,Input:Q,SingleValue:ee,ValueContainer:K,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},q=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},A=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":$("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},K=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Q=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(j,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(j,{children:r.label})})},j=n(Z)`
1
+ import{cn as M,u as N,cv as P,R as H,j as l,cw as L,W as $,b3 as _,o,dj as z,b_ as B,b4 as g,x as Z,v as S,eZ as J,e_ as T,e$ as U,w as W,b1 as X,a3 as Y,f as m}from"./index-BiPgiHAh.js";import{b as w,n}from"./vendor-rkTZJa59.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[O,C]=w.useState(!1),k=P(f,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":$("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:O===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":$("currency-select",e),onChange:x=>{i&&x?.value!=null&&v?.selectedOption===x.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:x?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:q,Option:A,Input:Q,SingleValue:ee,ValueContainer:K,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},q=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},A=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":$("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},K=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Q=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(j,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(j,{children:r.label})})},j=n(Z)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&J(e)===!1)return l.jsx(l.Fragment,{});{const r=T[`${U(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as t,e as b,R as d,a2 as l,W as p,m as x,o as i,D as g,c7 as h,T as m}from"./index-JWEa8hVQ.js";import{b as u,n as o}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const f=o.div`
1
+ import{j as t,e as b,R as d,a2 as l,W as p,m as x,o as i,D as g,c7 as h,T as m}from"./index-BiPgiHAh.js";import{b as u,n as o}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-BiPgiHAh.js";import o from"./CustomerOnboardingNoStepsPage-CyYMBxPd-DibFaX-p.js";import i from"./CustomerOnboardingPage-DTn6NMQq-BwH0Uodu.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./HelpButton-BZh7cT22-FOAfbilW.js";import"./MeetingCalenderPopup-D4lzsud6-B-L9W62K.js";import"./PaymentAccountSetupBillingAddressSection-CkTQv7Wx-C7SBzEL3.js";import"./SetUpAccountSection-CRYndaTf-DB1iaZYK.js";import"./SetUpDefaultSection-BFsDk94Y-DWYA8JXF.js";import"./ChaseOverlay-WT-vwyyH-BSx63KcS.js";import"./CustomerOnboardingDetailPageSkeleton-CWqC-t_X-li8KfleA.js";import"./CompanyOfficerDetailsSection-CBeuHeZ--DcEA2seL.js";import"./LabeledAddressValueField-BRIokwlO-Br8kkGcq.js";import"./LabeledCreatableSingleSelectField-CCuk6AgV-DCucZJeC.js";import"./LabeledDocumentField-D3qyVGxk-BaCEFIkW.js";import"./QBOSetupSection-D9GWii9g-CInaMSn3.js";import"./QBOConnectionDialog-CUfScQXi-Dhb1KbEx.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
@@ -1,4 +1,4 @@
1
- import{j as s,W as y,aJ as E,u as f,e as R,bh as x,o as t,q as T,C as $,D as I,R as N,f as u,eW as P,ha as U,f5 as W,aD as L,n as J,hb as O}from"./index-JWEa8hVQ.js";import{n as r,f as S}from"./vendor-rkTZJa59.js";const q=r(O)`
1
+ import{j as s,W as y,aJ as E,u as f,e as R,bh as x,o as t,q as T,C as $,D as I,R as N,f as u,eW as P,ha as U,f5 as W,aD as L,n as J,hb as O}from"./index-BiPgiHAh.js";import{n as r,f as S}from"./vendor-rkTZJa59.js";const q=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,F=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{b as ie,j as o,e as Ce,u as Pe,a as we,h8 as be,R as xe,a2 as ke,ca as Ie,aX as $e,o as s,W as Ae,F as ve,a4 as Oe,aJ as je,cD as Ve,cE as oe,D as Te,C as J,x as Ee,q as $}from"./index-JWEa8hVQ.js";import{n as c,b as A}from"./vendor-rkTZJa59.js";import{D as Le}from"./HelpButton-Dz3Ra_Sl-eyVqv-Ct.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-Cq7pdtPH-BUsybAj6.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-BX1ALiCI-D0S6fcYv.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-CQ2sUCtg-DInDfEN_.js";import"./SetUpAccountSection-Daj9lEze-DDreTueg.js";import"./SetUpDefaultSection-CKg9xvyM-CDETR3xo.js";import"./ChaseOverlay-BsUhQ0Hl-DiM5J0sa.js";const Q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},De=e=>`${e}_form`,Fe=xe.getLocalizedStrings(),_e=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:E,handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:D,...F})=>{const u=Ce(),_=ie(),{analytics:h}=_,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:W,onZeniLogoClick:N,onAddressEditHandler:x}=F,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&Ie(()=>ge(i,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),i=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),D(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Re,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(Ne,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:N})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:De(se),children:o.jsxs(Me,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${se}`,leftSideComponent:o.jsx(We,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:W})}),style:{width:u==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleCreateCardSetupIntent:E,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
1
+ import{b as ie,j as o,e as Ce,u as Pe,a as we,h8 as be,R as xe,a2 as ke,ca as Ie,aX as $e,o as s,W as Ae,F as ve,a4 as Oe,aJ as je,cD as Ve,cE as oe,D as Te,C as J,x as Ee,q as $}from"./index-BiPgiHAh.js";import{n as c,b as A}from"./vendor-rkTZJa59.js";import{D as Le}from"./HelpButton-BZh7cT22-FOAfbilW.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-CkTQv7Wx-C7SBzEL3.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-CWqC-t_X-li8KfleA.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D4lzsud6-B-L9W62K.js";import"./SetUpAccountSection-CRYndaTf-DB1iaZYK.js";import"./SetUpDefaultSection-BFsDk94Y-DWYA8JXF.js";import"./ChaseOverlay-WT-vwyyH-BSx63KcS.js";const Q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},De=e=>`${e}_form`,Fe=xe.getLocalizedStrings(),_e=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:E,handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:D,...F})=>{const u=Ce(),_=ie(),{analytics:h}=_,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:W,onZeniLogoClick:N,onAddressEditHandler:x}=F,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&Ie(()=>ge(i,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),i=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),D(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Re,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(Ne,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:N})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:De(se),children:o.jsxs(Me,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${se}`,leftSideComponent:o.jsx(We,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:W})}),style:{width:u==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleCreateCardSetupIntent:E,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as r,e as Ke,u as Zt,a as en,ca as me,R as We,a2 as Qe,I as mt,J as He,l as M,aX as tn,o as re,F as nn,q as K,a4 as an,h8 as on,fJ as sn,fh as ft,cD as xt,cE as yt,C as fe,fM as ye,cn as rn,x as cn,h9 as gt,c as ht,cl as ln,fL as dn}from"./index-JWEa8hVQ.js";import{b as p,n as P,k as It}from"./vendor-rkTZJa59.js";import{D as pn}from"./HelpButton-Dz3Ra_Sl-eyVqv-Ct.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-Cq7pdtPH-BUsybAj6.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-BX1ALiCI-D0S6fcYv.js";import{s as fn,x as yn}from"./CompanyOfficerDetailsSection-BgVQxl1Y-DLIh_dhO.js";import{o as gn}from"./QBOSetupSection-9O9ML9R8-D5nGagHY.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-CQ2sUCtg-DInDfEN_.js";import"./SetUpAccountSection-Daj9lEze-DDreTueg.js";import"./SetUpDefaultSection-CKg9xvyM-CDETR3xo.js";import"./ChaseOverlay-BsUhQ0Hl-DiM5J0sa.js";import"./LabeledAddressValueField-C5jrFFUs-BR1txFD2.js";import"./LabeledCreatableSingleSelectField-DGZvzuxH-CCJri1Ew.js";import"./LabeledDocumentField-hUiqS32j-QXx2JfEo.js";import"./QBOConnectionDialog-2HqFAb-Q-BHOWGL88.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:A,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=l,F=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:D,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:F,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:A,...I})})},Sn=P.div`
1
+ import{j as r,e as Ke,u as Zt,a as en,ca as me,R as We,a2 as Qe,I as mt,J as He,l as M,aX as tn,o as re,F as nn,q as K,a4 as an,h8 as on,fJ as sn,fh as ft,cD as xt,cE as yt,C as fe,fM as ye,cn as rn,x as cn,h9 as gt,c as ht,cl as ln,fL as dn}from"./index-BiPgiHAh.js";import{b as p,n as P,k as It}from"./vendor-rkTZJa59.js";import{D as pn}from"./HelpButton-BZh7cT22-FOAfbilW.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-CkTQv7Wx-C7SBzEL3.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-CWqC-t_X-li8KfleA.js";import{s as fn,x as yn}from"./CompanyOfficerDetailsSection-CBeuHeZ--DcEA2seL.js";import{o as gn}from"./QBOSetupSection-D9GWii9g-CInaMSn3.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D4lzsud6-B-L9W62K.js";import"./SetUpAccountSection-CRYndaTf-DB1iaZYK.js";import"./SetUpDefaultSection-BFsDk94Y-DWYA8JXF.js";import"./ChaseOverlay-WT-vwyyH-BSx63KcS.js";import"./LabeledAddressValueField-BRIokwlO-Br8kkGcq.js";import"./LabeledCreatableSingleSelectField-CCuk6AgV-DCucZJeC.js";import"./LabeledDocumentField-D3qyVGxk-BaCEFIkW.js";import"./QBOConnectionDialog-CUfScQXi-Dhb1KbEx.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:A,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=l,F=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:D,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:F,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:A,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{e as D,b as M,Y as U,u as W,R as _,j as e,aX as A,o as t,W as y,aJ as R,l as H,x as I,D as J,f as l,v as k,y as V,T as N,c7 as Y,r as Z,af as q}from"./index-JWEa8hVQ.js";import{b as n,n as i}from"./vendor-rkTZJa59.js";import X from"./ConfettiBurst-C6h5WEkY-DHvUB2ZI.js";import{D as G}from"./HelpButton-Dz3Ra_Sl-eyVqv-Ct.js";import{_ as K}from"./ProductsCarousel-DjFdVKD1-D_z6Kg6L.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-CQ2sUCtg-DInDfEN_.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=_.getLocalizedStrings(),Ue=({hasVerifiedBankAccount:o,meetingUrl:b,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=D(),x=M().analytics,f=U(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,H.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(K,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(R,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(G,{isFooterRendered:!1,meetingUrl:b,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:$})]})},te=i.div`
1
+ import{e as D,b as M,Y as U,u as W,R as _,j as e,aX as A,o as t,W as y,aJ as R,l as H,x as I,D as J,f as l,v as k,y as V,T as N,c7 as Y,r as Z,af as q}from"./index-BiPgiHAh.js";import{b as n,n as i}from"./vendor-rkTZJa59.js";import X from"./ConfettiBurst-P7_sML0C-Cdys9Pty.js";import{D as G}from"./HelpButton-BZh7cT22-FOAfbilW.js";import{_ as K}from"./ProductsCarousel-LvpG3-F1-epnkUBSX.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D4lzsud6-B-L9W62K.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=_.getLocalizedStrings(),Ue=({hasVerifiedBankAccount:o,meetingUrl:b,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=D(),x=M().analytics,f=U(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,H.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(K,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(R,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(G,{isFooterRendered:!1,meetingUrl:b,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:$})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{Y as YA,l as uA,j as e,A as kt,B as Dt,E as yt,o as r,$ as jt,I as mA,J as Mt,K as _A,L as vt,M as bt,O as Rt,P as St,S as Lt,U as Ft,V as J,R as l,e as q,Z as H,W as f,a0 as U,a1 as Y,q as R,a as Jt,a2 as je,a3 as Pt,F as Ut,a4 as Ot,C as K,a5 as T,a6 as G,n as X,a7 as Me,a8 as S,a9 as F,aa as KA,u as AA,ab as Ht,ac as GA,ad as Tt,f as k,ae as Yt,af as Kt,w as P,ag as bA,r as NA,x as zA,ah as ve,ai as be,aj as Re,ak as WA,X as Gt,g as Nt,al as zt,am as Se,an as Wt,ao as qt,ap as RA,aq as Xt,ar as Vt,as as Zt,at as $t,au as _t,av as Ar,aw as er,ax as tr,m as Le,v as rr,ay as or,az as gr,aA as Fe,aB as Je,s as ar,aC as Cr,y as ir,aD as Pe}from"./index-JWEa8hVQ.js";import{b as a,n as C,f as D,k as L,j as pA}from"./vendor-rkTZJa59.js";import{j as nr}from"./DashboardSidebarBackgroundAnimation-CqoYqd3k-BUcVfxAR.js";import{L as Er,k as Br}from"./ArAgingChart-D07CrcX6-KX5Ban1M.js";import{E as sr,T as qA,I as Ue}from"./ReloadCard-NvfxlEQu-BCLTBaZB.js";import{L as Qr,O as wA,c as eA}from"./TopExCard-sH5ZVrBJ-0ja6VYK6.js";import{H as Ir,Y as dr,P as lr,G as cr,N as hr}from"./RevenueChart-BtTx8haN-TQvZ6NN1.js";import mr from"./InsightsCardStack-CabSexOm-CP-sqm_n.js";import{a as pr}from"./AccountsPromoCardStack-BiCUsUG_-BcNn9MAr.js";import{c as N}from"./SummaryCard-BNrQ7g3--B8GqCLL1.js";import{t as ur,o as wr}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{x as iA}from"./NavigationArrow-kQmX-M7U-B4Ffi2F_.js";import{k as XA}from"./NavigationDots-nUALE4y--DQIj-D7v.js";import xr from"./CompanyPassportCard-BA3ilbJb-DrUyZtWe.js";import{C as fr}from"./gift-box-Cmt9OgIZ-BqWjP_Ex.js";import kr from"./InformationCardStack-CeLIUYk5-DH_MQeou.js";import{p as Oe}from"./chartTypes-D1Bn4xHa-FHohVdr1.js";import{h as Dr}from"./toCOABalancesWithID-BVyQC9pt-C8YVH8ZT.js";import{V as yr}from"./toChartData-BRdwPc1X-BECqYimO.js";import{r as jr,i as Mr}from"./graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js";import{N as vr,J as br}from"./PromoBaseCards-CizR6Pvp-NFRRrZNy.js";import Rr from"./ConfettiBurst-C6h5WEkY-DHvUB2ZI.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Sr=C(G)`
1
+ import{Y as YA,l as uA,j as e,A as kt,B as Dt,E as yt,o as r,$ as jt,I as mA,J as Mt,K as _A,L as vt,M as bt,O as Rt,P as St,S as Lt,U as Ft,V as J,R as l,e as q,Z as H,W as f,a0 as U,a1 as Y,q as R,a as Jt,a2 as je,a3 as Pt,F as Ut,a4 as Ot,C as K,a5 as T,a6 as G,n as X,a7 as Me,a8 as S,a9 as F,aa as KA,u as AA,ab as Ht,ac as GA,ad as Tt,f as k,ae as Yt,af as Kt,w as P,ag as bA,r as NA,x as zA,ah as ve,ai as be,aj as Re,ak as WA,X as Gt,g as Nt,al as zt,am as Se,an as Wt,ao as qt,ap as RA,aq as Xt,ar as Vt,as as Zt,at as $t,au as _t,av as Ar,aw as er,ax as tr,m as Le,v as rr,ay as or,az as gr,aA as Fe,aB as Je,s as ar,aC as Cr,y as ir,aD as Pe}from"./index-BiPgiHAh.js";import{b as a,n as C,f as D,k as L,j as pA}from"./vendor-rkTZJa59.js";import{j as nr}from"./DashboardSidebarBackgroundAnimation-CyC3agvt-D1vqYWwl.js";import{L as Er,k as Br}from"./ArAgingChart-DDz9e6WP-cJGjLqns.js";import{E as sr,T as qA,I as Ue}from"./ReloadCard-DicisRG0-DP9QZo5L.js";import{L as Qr,O as wA,c as eA}from"./TopExCard-DvjdpI7S-B3kiajli.js";import{H as Ir,Y as dr,P as lr,G as cr,N as hr}from"./RevenueChart-B6v1tDMc-B3iOOJql.js";import mr from"./InsightsCardStack-DsF68qad-_oDrhlZn.js";import{a as pr}from"./AccountsPromoCardStack-CNrguaFw-COWjHcL1.js";import{c as N}from"./SummaryCard-D5wEwe5n-DUZsM6hu.js";import{t as ur,o as wr}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{x as iA}from"./NavigationArrow-C_pvSHPb-CE_gN0di.js";import{k as XA}from"./NavigationDots-CD95Ln70-Dmxg83Au.js";import xr from"./CompanyPassportCard-jD2PB51n-Bvaa3igz.js";import{C as fr}from"./gift-box-Cmt9OgIZ-BqWjP_Ex.js";import kr from"./InformationCardStack-Ca1orjVR-BkevdZo7.js";import{p as Oe}from"./chartTypes-V-x4cCxs-CahKP2qX.js";import{h as Dr}from"./toCOABalancesWithID-CJao20O7-DrdT_s_Q.js";import{V as yr}from"./toChartData-DrQ08_nY-Y_UppG8G.js";import{r as jr,i as Mr}from"./graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js";import{N as vr,J as br}from"./PromoBaseCards-Cv7K_N6u-UeK0BcYt.js";import Rr from"./ConfettiBurst-P7_sML0C-Cdys9Pty.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Sr=C(G)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Ae=C.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as B,u as q,R as _,Y as Oe,l as D,j as s,aX as Qe,m as Je,I as Xe,aZ as Ke,o as d,C as L,J as K,a_ as et,a$ as tt,w as ae,q as $,aj as st,a8 as ot,b0 as at,a3 as Be,Q as Pe,f as T,r as Ne,a7 as nt,ap as it,s as rt,b1 as ct,b2 as lt,b3 as dt,b4 as ie,b5 as pt,aD as ut,n as gt,b6 as mt}from"./index-JWEa8hVQ.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-rkTZJa59.js";import{m as U,l as oe}from"./analyticsHelper-I0lsXzXl-BfQ81gwk.js";import{c as ht,h as ft}from"./ReportTableViewSelector-B599qAeN-RXvtafby.js";import{B as bt}from"./InsightsSection-CaYMAnck-Cp3qdC3Q.js";import{N as _e,k as xt,q as _t,H as te,G as ue}from"./detailCommon-CtOYz9rQ-lKCZ8Wx9.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-BtTx8haN-TQvZ6NN1.js";import{C as yt}from"./NoDataChart-BmcrokSp-CsD2TK_d.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-CQd079aU-E9sqG5ej.js";import{y as Ie}from"./TimeframeSwitcher-Du60ffZv-CkMxGaOO.js";import{R as jt,W as V,x as Ct,l as ge,D as $t}from"./CollapsableReportTable-s_gsuEBP-B4Q5LOp_.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-DTb8IvgM-DEL0uRaO.js";import{d as Pt}from"./NoDataTable-BKAiKOOM-BFlyMA5V.js";import{d as me,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BD4cN4l4-BIZZ_jy9.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-CMYVZuQF-BC5LoqS0.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./NavigationDots-nUALE4y--DQIj-D7v.js";import"./chartTypes-D1Bn4xHa-FHohVdr1.js";import"./toCOABalancesWithID-BVyQC9pt-C8YVH8ZT.js";import"./toChartData-BRdwPc1X-BECqYimO.js";import"./AccountRow-B8_6Pf4a-DAgOY6Sl.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
1
+ import{e as B,u as q,R as _,Y as Oe,l as D,j as s,aX as Qe,m as Je,I as Xe,aZ as Ke,o as d,C as L,J as K,a_ as et,a$ as tt,w as ae,q as $,aj as st,a8 as ot,b0 as at,a3 as Be,Q as Pe,f as T,r as Ne,a7 as nt,ap as it,s as rt,b1 as ct,b2 as lt,b3 as dt,b4 as ie,b5 as pt,aD as ut,n as gt,b6 as mt}from"./index-BiPgiHAh.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-rkTZJa59.js";import{m as U,l as oe}from"./analyticsHelper-nAbM99rB-dFwvbsbt.js";import{c as ht,h as ft}from"./ReportTableViewSelector-BXl7f3Pv-CTFRTX29.js";import{B as bt}from"./InsightsSection-D0ZZ7KlF-C4K8gCnZ.js";import{N as _e,k as xt,q as _t,H as te,G as ue}from"./detailCommon-D9VWH3GS-CIqIQO-z.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-B6v1tDMc-B3iOOJql.js";import{C as yt}from"./NoDataChart-CRt1tpsJ-BtiEjOSc.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-526_d3T2-CFTktY0G.js";import{y as Ie}from"./TimeframeSwitcher-C6LtTgVk-Hifvwef6.js";import{R as jt,W as V,x as Ct,l as ge,D as $t}from"./CollapsableReportTable-CLu0A-3k-B5Drr_bb.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-jZUBfLPj-BrRZz856.js";import{d as Pt}from"./NoDataTable-CDcIV82h-DfO01zMp.js";import{d as me,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-B6ZeH2F7-CXE0pqGK.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-D7kWYmPh-B5uNQOFG.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./NavigationDots-CD95Ln70-Dmxg83Au.js";import"./chartTypes-V-x4cCxs-CahKP2qX.js";import"./toCOABalancesWithID-CJao20O7-DrdT_s_Q.js";import"./toChartData-DrQ08_nY-Y_UppG8G.js";import"./AccountRow-D-gDxofP-BKNqupIN.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{ac as h,j as a,ak as p,o as m}from"./index-JWEa8hVQ.js";import{b as s,u,n as x}from"./vendor-rkTZJa59.js";const f=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const o=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=h(l),[n,d]=s.useState(null);i!=null&&n==null&&!r&&d(i);const c=e&&o.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:c,newYearAnimationEnabled:t,children:a.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
1
+ import{ac as h,j as a,ak as p,o as m}from"./index-BiPgiHAh.js";import{b as s,u,n as x}from"./vendor-rkTZJa59.js";const f=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const o=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=h(l),[n,d]=s.useState(null);i!=null&&n==null&&!r&&d(i);const c=e&&o.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:c,newYearAnimationEnabled:t,children:a.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a0 as $,h0 as u,e as y,j as l,o as i,x as d,n as c}from"./index-JWEa8hVQ.js";import{n as t}from"./vendor-rkTZJa59.js";import{g as k}from"./BoxItem-BVzRQmWm-D8NL-INo.js";import{o as v}from"./commonDimensions-0W6wokPG-CgBA3xni.js";function F({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(R,{children:l.jsxs(D,{windowSize:o,children:[l.jsx(C,{children:g}),n!=null?l.jsxs(E,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(P,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{a0 as $,h0 as u,e as y,j as l,o as i,x as d,n as c}from"./index-BiPgiHAh.js";import{n as t}from"./vendor-rkTZJa59.js";import{g as k}from"./BoxItem-C0jIrNqe-GbYpP5ZO.js";import{o as v}from"./commonDimensions-DM4fZd5e-CSntA2gr.js";function F({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(R,{children:l.jsxs(D,{windowSize:o,children:[l.jsx(C,{children:g}),n!=null?l.jsxs(E,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(P,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{u as S,e as z,h6 as C,j as e,aX as D,R as Y,aj as F,o as r,f as g,b_ as B,l as L,C as R,w as A,x as I,q as f,de as T,df as E,d9 as N,dg as P}from"./index-JWEa8hVQ.js";import{b,n as a}from"./vendor-rkTZJa59.js";import{$ as V}from"./BoxItem-BVzRQmWm-D8NL-INo.js";import{o as q}from"./commonDimensions-0W6wokPG-CgBA3xni.js";import{H}from"./DepositAccTransactionItem-By315-ia-CwP16xnm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const n=Y.getLocalizedStrings(),K={listItemMargin:new R(f[3],f[8])};function O(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:P(o,h=>h.transactionDate,"desc")}))}const X=C(O),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=b.createRef(),p=b.useRef(null),l=X(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*q.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(Z,{children:s.transactions.map((M,u)=>e.jsx(H,{data:M,boxType:V(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(_,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(F,{children:({height:i,width:c})=>e.jsx(G,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
1
+ import{u as S,e as z,h6 as C,j as e,aX as D,R as Y,aj as F,o as r,f as g,b_ as B,l as L,C as R,w as A,x as I,q as f,de as T,df as E,d9 as N,dg as P}from"./index-BiPgiHAh.js";import{b,n as a}from"./vendor-rkTZJa59.js";import{$ as V}from"./BoxItem-C0jIrNqe-GbYpP5ZO.js";import{o as q}from"./commonDimensions-DM4fZd5e-CSntA2gr.js";import{H}from"./DepositAccTransactionItem-HP7beqdc-D5FHO4qf.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const n=Y.getLocalizedStrings(),K={listItemMargin:new R(f[3],f[8])};function O(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:P(o,h=>h.transactionDate,"desc")}))}const X=C(O),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=b.createRef(),p=b.useRef(null),l=X(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*q.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(Z,{children:s.transactions.map((M,u)=>e.jsx(H,{data:M,boxType:V(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(_,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(F,{children:({height:i,width:c})=>e.jsx(G,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
2
  margin: ${t=>`${r.sp0} ${K.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,_=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as H,a as O,R as $,ca as U,J as G,l as j,j as n,bV as J,bX as K,bY as X,F as Y,a4 as _,C as u,eV as Q,o as Z,ao as ee,q as a}from"./index-JWEa8hVQ.js";import{b as N,n as h}from"./vendor-rkTZJa59.js";import{e as ne}from"./BankAccountSection-C74XNBn5-DDPfYGJY.js";import{M as te}from"./MagicLinkTitleSection-CdijIZYn-C8qxEPT9.js";import{W as ae,A as oe}from"./BankAccountWarningSection-DISZecgw-IpA1eqVl.js";import{T as ie}from"./MailingDetailsSection-Cw-CO-oE-CC8_B9pQ.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},B="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:R,onSaveHandler:z,onWireDetailsUpdated:P,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=H(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[W,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,F=$.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},V=async(k,m)=>{const d=m[f].bankRoutingNumber;P(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Q.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>V(d,m))});return()=>{k.unsubscribe()}});const q=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&z("wire")}),S=!G(y!=null?j.getFormattedAddress(y):y,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[W===!0?n.jsx(J,{titleComponent:n.jsx(X,{children:t.discardTitle}),descriptionComponent:n.jsx(K,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:R??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(Y,{...c,children:n.jsxs("form",{id:T(B),onSubmit:q,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(_,{formId:T(B),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:F.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
1
+ import{e as H,a as O,R as $,ca as U,J as G,l as j,j as n,bV as J,bX as K,bY as X,F as Y,a4 as _,C as u,eV as Q,o as Z,ao as ee,q as a}from"./index-BiPgiHAh.js";import{b as N,n as h}from"./vendor-rkTZJa59.js";import{e as ne}from"./BankAccountSection-dDAvWRwV-eaZiz317.js";import{M as te}from"./MagicLinkTitleSection-CvzFLF1d-BjtGPNRf.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CHV6yGut-D1b1UgoN.js";import{T as ie}from"./MailingDetailsSection-CY9MIZVo-VkVLlRre.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},B="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:R,onSaveHandler:z,onWireDetailsUpdated:P,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=H(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[W,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,F=$.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},V=async(k,m)=>{const d=m[f].bankRoutingNumber;P(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Q.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>V(d,m))});return()=>{k.unsubscribe()}});const q=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&z("wire")}),S=!G(y!=null?j.getFormattedAddress(y):y,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[W===!0?n.jsx(J,{titleComponent:n.jsx(X,{children:t.discardTitle}),descriptionComponent:n.jsx(K,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:R??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(Y,{...c,children:n.jsxs("form",{id:T(B),onSubmit:q,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(_,{formId:T(B),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:F.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{j as t,bz as Xe,o as a,e as le,bA as et,s as Le,l as d,f as de,C as H,a3 as tt,R as Y,bB as rt,bg as ze,q as z,ao as Be,x as T,bn as we,v as Z,n as ce,Q as ee,u as Ne,bp as at,bC as me,bD as pe,m as Qe,bE as Ee,p as fe,bF as q,be as ot,ap as st,bG as it,bH as nt,b6 as lt,bo as dt,r as ct,bI as mt,bv as pt,b2 as ft}from"./index-JWEa8hVQ.js";import{b as u,n,k as Ve,f as he}from"./vendor-rkTZJa59.js";import{m as ht}from"./analyticsHelper-I0lsXzXl-BfQ81gwk.js";import{c as ut,h as bt}from"./ReportTableViewSelector-B599qAeN-RXvtafby.js";import{t as gt}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./CollapsableReportTable-s_gsuEBP-B4Q5LOp_.js";import"./AccountRow-B8_6Pf4a-DAgOY6Sl.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function X(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return X(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
1
+ import{j as t,bz as Xe,o as a,e as le,bA as et,s as Le,l as d,f as de,C as H,a3 as tt,R as Y,bB as rt,bg as ze,q as z,ao as Be,x as T,bn as we,v as Z,n as ce,Q as ee,u as Ne,bp as at,bC as me,bD as pe,m as Qe,bE as Ee,p as fe,bF as q,be as ot,ap as st,bG as it,bH as nt,b6 as lt,bo as dt,r as ct,bI as mt,bv as pt,b2 as ft}from"./index-BiPgiHAh.js";import{b as u,n,k as Ve,f as he}from"./vendor-rkTZJa59.js";import{m as ht}from"./analyticsHelper-nAbM99rB-dFwvbsbt.js";import{c as ut,h as bt}from"./ReportTableViewSelector-BXl7f3Pv-CTFRTX29.js";import{t as gt}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./CollapsableReportTable-CLu0A-3k-B5Drr_bb.js";import"./AccountRow-D-gDxofP-BKNqupIN.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function X(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return X(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
2
2
  padding: ${a.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{e as a,j as i,bp as P,o,R as h,C as s,by as y,X as c,g,a3 as b,q as t,a0 as L,ja as k,jb as C,jc as R}from"./index-JWEa8hVQ.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[M(),_(),W({rewardsPlan:e})],d=a();return i.jsx(E,{children:r.map((f,j)=>i.jsxs(A,{children:[i.jsx(I,{children:f}),j<r.length-1?i.jsx(H,{windowSize:d}):null]},`step_${j}`))})},M=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},W=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(N,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
1
+ import{e as a,j as i,bp as P,o,R as h,C as s,by as y,X as c,g,a3 as b,q as t,a0 as L,ja as k,jb as C,jc as R}from"./index-BiPgiHAh.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[M(),_(),W({rewardsPlan:e})],d=a();return i.jsx(E,{children:r.map((f,j)=>i.jsxs(A,{children:[i.jsx(I,{children:f}),j<r.length-1?i.jsx(H,{windowSize:d}):null]},`step_${j}`))})},M=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},W=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(N,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${o.sp2};
4
4
  box-shadow: ${e=>`${o.sp0} 1px 2px ${o.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{e as ae,R as de,fq as pe,u as ce,a as ue,a2 as me,j as t,bV as ge,bW as he,bX as fe,bY as ye,gi as ve,W as U,c0 as xe,o as r,bp as be,F as $e,a4 as we,C as _,ft as Re,fu as Ce,fv as je,c5 as Oe,l as Q,ao as ke,f as J,cu as Pe,q as c}from"./index-JWEa8hVQ.js";import{b as $,n}from"./vendor-rkTZJa59.js";import{x as Ie}from"./AllUserItems-B0rWTi3M-CC5t27e_.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledUserSingleSelectWithSubtitlesField-CkRg249v-C8ade1BM.js";import"./RoleWithToolTip-Cav6Dtwi-sE-vEB3f.js";import"./LabeledZeniRolesDropDownField-CwkMUU9L-CF57szZ1.js";const j={containerPaddingTop:new _(c[3],c[3]),containerPaddingLeft:new _(c[3],c[6],c[6]),containerPaddingRight:new _(c[3],c[6],c[8]),buttonWidth:new _(85,85)},M="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,He=({peopleDetails:e,managersList:u,classList:R,controllersList:O,mode:d,isZeniTenant:S,onCloseClick:k,onResetClick:P,onSaveClick:m,onDeleteUser:X,onPeopleLocalDataUpdated:Y,analytics:B,isReimbursementDisabled:D,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isLiteRoleDisabled:F})=>{const C=ae(),[G,E]=$.useState(!1),[H,ee]=$.useState(-1),te=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,se=$.useRef(null),T=$.useMemo(()=>pe(D,q,N,y,v,F,Z),[D,q,N,y,v,F,Z]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:K(e.people,u,R,d,T,y,v),values:K(e.people,u,R,d,T,y,v)}),re=l.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=l.getValues();let o=!0;return g.userItems.forEach((h,x)=>{const{role:L,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const s=L.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(l.setError(`${w}.${x}.role`,{type:"required"}),o=!1)}else{const s=f?.userRole.selectedRole;(s!=null&&f!=null?f.productsByUserRole[s].map(b=>b.selectedOption).filter(b=>b!=null):[]).length<1&&(l.setError(`${w}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(y||v||(l.setError(`${w}.${x}.department`,{type:"required"}),o=!1)),p?.selectedUser==null&&s!=="investor_or_banker"&&(l.setError(`${w}.${x}.manager`,{type:"required"}),o=!1)}}),o},oe=async(g,o)=>{const h=[],{userItems:x}=o,L=e.person?.userRole?.userRoleId;x.forEach(i=>{let f={};if(L!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let s=[];p==="admin"||p==="investor_or_banker"?s.push(p):s=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(z=>Q.toUserRoleTypeStrict(z.selectedOption?.value)).filter(z=>z!=null):[],p==="employee"&&s.length===0&&s.push("reimbursements_user");const b=Q.hasInvestorBankerLevelAccess(s);f={email:i.email,role:s,departmentId:b?void 0:i.department?.selectedOption?.value,managerId:b?void 0:i.manager?.selectedUser}}h.push(f)}}),Y(h)};$.useEffect(()=>{const g=l.watch((o,{name:h})=>{h!=null&&o!=null&&oe(h,o)});return()=>{g.unsubscribe()}});const ne=()=>{E(!0)},le={onOkClick:()=>{const g=e.person;B?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),X?.(e.person)},onCancelClick:()=>{E(!1)}},W=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{I==null&&W==="removeUsers"&&(E(!1),P?.())},[I,W]),t.jsxs(t.Fragment,{children:[G===!0?t.jsx(ge,{titleComponent:t.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:ie}),primaryButtonText:a.deleteOverlay.remove,secondaryButtonText:a.deleteOverlay.cancel,action:le,proceedButtonVariant:"danger",isLoading:I==="removeUsers",isDisabled:I==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(ze,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(ve,{title:te,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:C==="small"}),t.jsxs(_e,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:se,children:[t.jsxs(Le,{children:[t.jsx(xe,{personBasic:e.person?.user,styles:{height:r.sp6,width:r.sp6}}),t.jsxs(Se,{children:[t.jsx(Ee,{children:e.person?.user?.firstName?t.jsxs(Te,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(qe,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:ne,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:t.jsx(De,{windowsize:C})})})]})]}),t.jsx($e,{...l,children:t.jsx("form",{id:`${M}_form`,onSubmit:re,children:t.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:S,classList:R,managersList:u,controllersList:O,customerRoleOptions:T,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:B})})})]}),t.jsx(we,{formId:`${M}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:r.sp4}})]})},K=(e,u,R,O,d,S,k)=>{const P=R.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[w]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:Oe.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Ce(S,k)},productsByUserRole:Re(e[0]?.role,d)}:void 0,manager:{allUsers:u,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:P,selectedOption:P.find(m=>m.value===e[0]?.departmentId)}}]}},et=(e,u)=>`${e}.${u}`,_e=n.div`
1
+ import{e as ae,R as de,fq as pe,u as ce,a as ue,a2 as me,j as t,bV as ge,bW as he,bX as fe,bY as ye,gi as ve,W as U,c0 as xe,o as r,bp as be,F as $e,a4 as we,C as _,ft as Re,fu as Ce,fv as je,c5 as Oe,l as Q,ao as ke,f as J,cu as Pe,q as c}from"./index-BiPgiHAh.js";import{b as $,n}from"./vendor-rkTZJa59.js";import{x as Ie}from"./AllUserItems-NSk_ZDaN-r7T65B1m.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledUserSingleSelectWithSubtitlesField-zqrvuzP2-Cj42NHnU.js";import"./RoleWithToolTip-BLRFyqKt-Du0quEGr.js";import"./LabeledZeniRolesDropDownField-BNymD4XC-D2lsRwRm.js";const j={containerPaddingTop:new _(c[3],c[3]),containerPaddingLeft:new _(c[3],c[6],c[6]),containerPaddingRight:new _(c[3],c[6],c[8]),buttonWidth:new _(85,85)},M="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,He=({peopleDetails:e,managersList:u,classList:R,controllersList:O,mode:d,isZeniTenant:S,onCloseClick:k,onResetClick:P,onSaveClick:m,onDeleteUser:X,onPeopleLocalDataUpdated:Y,analytics:B,isReimbursementDisabled:D,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isLiteRoleDisabled:F})=>{const C=ae(),[G,E]=$.useState(!1),[H,ee]=$.useState(-1),te=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,se=$.useRef(null),T=$.useMemo(()=>pe(D,q,N,y,v,F,Z),[D,q,N,y,v,F,Z]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:K(e.people,u,R,d,T,y,v),values:K(e.people,u,R,d,T,y,v)}),re=l.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=l.getValues();let o=!0;return g.userItems.forEach((h,x)=>{const{role:L,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const s=L.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(l.setError(`${w}.${x}.role`,{type:"required"}),o=!1)}else{const s=f?.userRole.selectedRole;(s!=null&&f!=null?f.productsByUserRole[s].map(b=>b.selectedOption).filter(b=>b!=null):[]).length<1&&(l.setError(`${w}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(y||v||(l.setError(`${w}.${x}.department`,{type:"required"}),o=!1)),p?.selectedUser==null&&s!=="investor_or_banker"&&(l.setError(`${w}.${x}.manager`,{type:"required"}),o=!1)}}),o},oe=async(g,o)=>{const h=[],{userItems:x}=o,L=e.person?.userRole?.userRoleId;x.forEach(i=>{let f={};if(L!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let s=[];p==="admin"||p==="investor_or_banker"?s.push(p):s=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(z=>Q.toUserRoleTypeStrict(z.selectedOption?.value)).filter(z=>z!=null):[],p==="employee"&&s.length===0&&s.push("reimbursements_user");const b=Q.hasInvestorBankerLevelAccess(s);f={email:i.email,role:s,departmentId:b?void 0:i.department?.selectedOption?.value,managerId:b?void 0:i.manager?.selectedUser}}h.push(f)}}),Y(h)};$.useEffect(()=>{const g=l.watch((o,{name:h})=>{h!=null&&o!=null&&oe(h,o)});return()=>{g.unsubscribe()}});const ne=()=>{E(!0)},le={onOkClick:()=>{const g=e.person;B?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),X?.(e.person)},onCancelClick:()=>{E(!1)}},W=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{I==null&&W==="removeUsers"&&(E(!1),P?.())},[I,W]),t.jsxs(t.Fragment,{children:[G===!0?t.jsx(ge,{titleComponent:t.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:ie}),primaryButtonText:a.deleteOverlay.remove,secondaryButtonText:a.deleteOverlay.cancel,action:le,proceedButtonVariant:"danger",isLoading:I==="removeUsers",isDisabled:I==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(ze,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(ve,{title:te,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:C==="small"}),t.jsxs(_e,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:se,children:[t.jsxs(Le,{children:[t.jsx(xe,{personBasic:e.person?.user,styles:{height:r.sp6,width:r.sp6}}),t.jsxs(Se,{children:[t.jsx(Ee,{children:e.person?.user?.firstName?t.jsxs(Te,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(qe,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:ne,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:t.jsx(De,{windowsize:C})})})]})]}),t.jsx($e,{...l,children:t.jsx("form",{id:`${M}_form`,onSubmit:re,children:t.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:S,classList:R,managersList:u,controllersList:O,customerRoleOptions:T,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:B})})})]}),t.jsx(we,{formId:`${M}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:r.sp4}})]})},K=(e,u,R,O,d,S,k)=>{const P=R.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[w]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:Oe.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Ce(S,k)},productsByUserRole:Re(e[0]?.role,d)}:void 0,manager:{allUsers:u,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:P,selectedOption:P.find(m=>m.value===e[0]?.departmentId)}}]}},et=(e,u)=>`${e}.${u}`,_e=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{a2 as ai,u as bt,Y as ft,a as en,B as Ci,l as ee,R as me,J as tn,e as Ie,fP as Zn,fR as Qn,fS as eo,j as t,g9 as to,F as nn,bV as li,bX as on,bY as an,W as q,o as i,C as c,aX as ki,aK as io,dt as no,fT as oo,g2 as rn,fZ as Ii,a4 as ln,p as sn,f_ as ao,ey as _e,ga as At,e$ as si,m as xt,gb as ro,f as j,a3 as cn,r as ci,q as a,aT as lo,g0 as so,cb as co,eF as di,gc as zt,cW as fe,cY as xe,cd as ui,cn as ct,ek as uo,cV as dn,v as Pt,cg as un,cf as Qe,cv as st,w as mi,gd as mo,f2 as po,ca as ho,a8 as Di,aS as go,ap as mn,az as yo,ej as bo,am as Bt,fU as fo,br as pn,X as pi,g as hn,cx as gn,bO as Mt,eV as xo,ao as wo,cB as So,d1 as $o,x as hi,Q as Ti,bp as yn,ah as ji,cu as vo,n as Co,cj as bn,a0 as ko,ge as fn,gf as ri,fK as Ri,gg as Ot,ct as Io,fO as Do,b6 as To,cs as jo}from"./index-JWEa8hVQ.js";import{b as v,n,f as vt}from"./vendor-rkTZJa59.js";import{_ as Ro}from"./liveblocks-CP09Cz-7.js";import xn from"./InvoiceUploadSection-BQXqcLvW-XeZ50tqg.js";import{r as Po,f as Lt,d as yt,p as gi,u as Pi,h as ve}from"./types-DyvtCprH-BcZYcgaq.js";import{T as Oo}from"./LabeledCreatableSingleSelectField-DGZvzuxH-CCJri1Ew.js";import{S as Lo}from"./CurrencySelectField-CQuKsZt--DyGrH7Yb.js";import{q as Ao}from"./SetUpDefaultSection-CKg9xvyM-CDETR3xo.js";import{e as zo}from"./BankAccountSection-C74XNBn5-DDPfYGJY.js";import{W as Bo,A as Mo}from"./BankAccountWarningSection-DISZecgw-IpA1eqVl.js";import{o as Fo}from"./radio-default-CiSgisfh-Z5w0WcFM.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./crypto-CK3r1iTV.js";import"./AttachmentView-xH7J89rG-CHTfdGs-.js";import"./uploadReceipts-dxsKhm9I-C2zL7J0Z.js";const Je=(e,o)=>`${e}.${o}`,Oi={largeLabelWidth:new c(120,120,160),paddingBottom:new c(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Re}},dateFormat:Eo,common:No}=me.getLocalizedStrings(),Wo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:u,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:S,companyMileageConfigInfo:b,reimbursementId:l,classHierarchyList:k})=>{const f=Ie(),s=ft(),g=zt(),w=`dashboard_${s.currentTenant?.companyId}`,R=bt(),{getValues:T}=ct(),$=No.strings.empty,K=T(Je(p,"distanceInMiles")),L=Oi.largeLabelWidth.value(f),I={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},E=A=>r.filter(_=>_.classId===A)[0]?.accountingClassNumber,te=r.find(A=>A.classId===o.class),pe={valueContainer:A=>({...A,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.transactionDate`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("transactionDate",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:Re.transactionDate,width:L},style:{paddingBottom:Oi.paddingBottom.valuePx(f),width:"auto"},dateField:{name:Je(p,"transactionDate"),placeholder:Re.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Eo.visual.defaultInput,autoComplete:"off",maxDate:ee.dateNow(),registerOptions:{required:!0,validate:A=>!!A}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:S?"disabled":void 0,style:{width:"auto"},label:{label:Re.distanceInMiles,width:L},formattedTextField:{type:"number",name:Je(p,"distanceInMiles"),placeholder:Re.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.amount`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("amount",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Re.amount,width:L},formattedTextField:{type:"number",name:Je(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:Qe(Re.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:K!=null&&b?.mileageUnitAmount!=null?`${u.currencySymbol}${b?.mileageUnitAmount} per mile x ${K}`:void 0})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.memo`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("memo",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(ui,{isDisabled:m,label:{label:Re.memo,width:L},style:{width:"auto"},text:{type:"text",name:Je(p,"memo"),placeholder:Qe(Re.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:fn}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.class`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("class",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(ri,{isLoading:!1,label:{label:Re.department,width:L},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Je(p,"class"),placeholder:Qe(Re.department),valueToId:A=>E(A),defaultValue:{selectedOption:te?.classId,allOptions:_e(k,[])},style:{width:"100%"},customStyleConfig:pe,registerOptions:{required:!0,validate:A=>!!A.selectedOption}},style:{borderBottom:`1px solid ${R.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Je(p,"class"))})]})},Ct=n.div`
1
+ import{a2 as ai,u as bt,Y as ft,a as en,B as Ci,l as ee,R as me,J as tn,e as Ie,fP as Zn,fR as Qn,fS as eo,j as t,g9 as to,F as nn,bV as li,bX as on,bY as an,W as q,o as i,C as c,aX as ki,aK as io,dt as no,fT as oo,g2 as rn,fZ as Ii,a4 as ln,p as sn,f_ as ao,ey as _e,ga as At,e$ as si,m as xt,gb as ro,f as j,a3 as cn,r as ci,q as a,aT as lo,g0 as so,cb as co,eF as di,gc as zt,cW as fe,cY as xe,cd as ui,cn as ct,ek as uo,cV as dn,v as Pt,cg as un,cf as Qe,cv as st,w as mi,gd as mo,f2 as po,ca as ho,a8 as Di,aS as go,ap as mn,az as yo,ej as bo,am as Bt,fU as fo,br as pn,X as pi,g as hn,cx as gn,bO as Mt,eV as xo,ao as wo,cB as So,d1 as $o,x as hi,Q as Ti,bp as yn,ah as ji,cu as vo,n as Co,cj as bn,a0 as ko,ge as fn,gf as ri,fK as Ri,gg as Ot,ct as Io,fO as Do,b6 as To,cs as jo}from"./index-BiPgiHAh.js";import{b as v,n,f as vt}from"./vendor-rkTZJa59.js";import{_ as Ro}from"./liveblocks-CP09Cz-7.js";import xn from"./InvoiceUploadSection-C1Z861SF-AX5z5Yaz.js";import{r as Po,f as Lt,d as yt,p as gi,u as Pi,h as ve}from"./types-DyvtCprH-BcZYcgaq.js";import{T as Oo}from"./LabeledCreatableSingleSelectField-CCuk6AgV-DCucZJeC.js";import{S as Lo}from"./CurrencySelectField-DvGfc9aD-DW3_XZOQ.js";import{q as Ao}from"./SetUpDefaultSection-BFsDk94Y-DWYA8JXF.js";import{e as zo}from"./BankAccountSection-dDAvWRwV-eaZiz317.js";import{W as Bo,A as Mo}from"./BankAccountWarningSection-CHV6yGut-D1b1UgoN.js";import{o as Fo}from"./radio-default-CiSgisfh-Z5w0WcFM.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./crypto-CK3r1iTV.js";import"./AttachmentView-dC8wUD1A-BnJQMPey.js";import"./uploadReceipts-dxsKhm9I-Dqb_1GjU.js";const Je=(e,o)=>`${e}.${o}`,Oi={largeLabelWidth:new c(120,120,160),paddingBottom:new c(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Re}},dateFormat:Eo,common:No}=me.getLocalizedStrings(),Wo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:u,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:S,companyMileageConfigInfo:b,reimbursementId:l,classHierarchyList:k})=>{const f=Ie(),s=ft(),g=zt(),w=`dashboard_${s.currentTenant?.companyId}`,R=bt(),{getValues:T}=ct(),$=No.strings.empty,K=T(Je(p,"distanceInMiles")),L=Oi.largeLabelWidth.value(f),I={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},E=A=>r.filter(_=>_.classId===A)[0]?.accountingClassNumber,te=r.find(A=>A.classId===o.class),pe={valueContainer:A=>({...A,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.transactionDate`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("transactionDate",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:Re.transactionDate,width:L},style:{paddingBottom:Oi.paddingBottom.valuePx(f),width:"auto"},dateField:{name:Je(p,"transactionDate"),placeholder:Re.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Eo.visual.defaultInput,autoComplete:"off",maxDate:ee.dateNow(),registerOptions:{required:!0,validate:A=>!!A}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:S?"disabled":void 0,style:{width:"auto"},label:{label:Re.distanceInMiles,width:L},formattedTextField:{type:"number",name:Je(p,"distanceInMiles"),placeholder:Re.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.amount`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("amount",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Re.amount,width:L},formattedTextField:{type:"number",name:Je(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:Qe(Re.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:K!=null&&b?.mileageUnitAmount!=null?`${u.currencySymbol}${b?.mileageUnitAmount} per mile x ${K}`:void 0})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.memo`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("memo",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(ui,{isDisabled:m,label:{label:Re.memo,width:L},style:{width:"auto"},text:{type:"text",name:Je(p,"memo"),placeholder:Qe(Re.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:fn}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.class`}),roomId:w,companyId:s.currentTenant?.companyId??$,companyName:s.currentTenant?.companyName??$,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${ve("class",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(ri,{isLoading:!1,label:{label:Re.department,width:L},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Je(p,"class"),placeholder:Qe(Re.department),valueToId:A=>E(A),defaultValue:{selectedOption:te?.classId,allOptions:_e(k,[])},style:{width:"100%"},customStyleConfig:pe,registerOptions:{required:!0,validate:A=>!!A.selectedOption}},style:{borderBottom:`1px solid ${R.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Je(p,"class"))})]})},Ct=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as y,R as T,a8 as C,j as o,A as v,o as t,I as m}from"./index-JWEa8hVQ.js";import{n as a}from"./vendor-rkTZJa59.js";import{R as k}from"./TrendWithTransactions-4pDf20tw-u0y6ux4h.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TrendChart-CkUKN6L9-n8vv8r5v.js";import"./chartTypes-D1Bn4xHa-FHohVdr1.js";import"./toCOABalancesWithID-BVyQC9pt-C8YVH8ZT.js";import"./toChartData-BRdwPc1X-BECqYimO.js";import"./NoDataChart-BmcrokSp-CsD2TK_d.js";import"./InsightsSection-CaYMAnck-Cp3qdC3Q.js";import"./NavigationDots-nUALE4y--DQIj-D7v.js";import"./TransactionList-Bsma20IC-BZh7nNnC.js";import"./BoxItem-BVzRQmWm-D8NL-INo.js";import"./commonDimensions-0W6wokPG-CgBA3xni.js";const $=a.div`
1
+ import{u as y,R as T,a8 as C,j as o,A as v,o as t,I as m}from"./index-BiPgiHAh.js";import{n as a}from"./vendor-rkTZJa59.js";import{R as k}from"./TrendWithTransactions-Ct1r_X3l-juM0LM3l.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TrendChart-C74g1AEy-CbIvtKj2.js";import"./chartTypes-V-x4cCxs-CahKP2qX.js";import"./toCOABalancesWithID-CJao20O7-DrdT_s_Q.js";import"./toChartData-DrQ08_nY-Y_UppG8G.js";import"./NoDataChart-CRt1tpsJ-BtiEjOSc.js";import"./InsightsSection-D0ZZ7KlF-C4K8gCnZ.js";import"./NavigationDots-CD95Ln70-Dmxg83Au.js";import"./TransactionList-CtTDxJZI-BygPUDkk.js";import"./BoxItem-C0jIrNqe-GbYpP5ZO.js";import"./commonDimensions-DM4fZd5e-CSntA2gr.js";const $=a.div`
2
2
  display: flex;
3
3
  margin: ${t.sp0} ${t.sp0} ${t.sp0} ${t.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as z,R as L,j as i,dq as H,C as d,cz as _,o as s,_ as S,a0 as b,aj as K,b_ as E,q as r,c7 as q,n as B,x as k,ao as G,w as N,c3 as U,f as D,c6 as F}from"./index-JWEa8hVQ.js";import{b as f,n as t}from"./vendor-rkTZJa59.js";import{l as I}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const m=L.getLocalizedStrings().reports.aging.agingDetail.header,w=[{key:"date",value:m.date,sortOrder:"ascending",width:new d(212,212)},{key:"invoiceNumber",value:m.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:m.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:m.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:m.amount,sortOrder:"ascending",width:new d(188,188)},{key:"balance",value:m.balance,sortOrder:"ascending",width:new d(120,120)}],Y={headerHeight:new d(45,58)},Z=t.div`
1
+ import{e as z,R as L,j as i,dq as H,C as d,cz as _,o as s,_ as S,a0 as b,aj as K,b_ as E,q as r,c7 as q,n as B,x as k,ao as G,w as N,c3 as U,f as D,c6 as F}from"./index-BiPgiHAh.js";import{b as f,n as t}from"./vendor-rkTZJa59.js";import{l as I}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const m=L.getLocalizedStrings().reports.aging.agingDetail.header,w=[{key:"date",value:m.date,sortOrder:"ascending",width:new d(212,212)},{key:"invoiceNumber",value:m.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:m.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:m.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:m.amount,sortOrder:"ascending",width:new d(188,188)},{key:"balance",value:m.balance,sortOrder:"ascending",width:new d(120,120)}],Y={headerHeight:new d(45,58)},Z=t.div`
2
2
  top: ${s.sp0};
3
3
  left: ${s.sp0};
4
4
  min-height: ${e=>Y.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{u as H,e as W,bJ as I,j as r,W as y,fF as J,bg as O,f as a,bp as Y,R as Q,o as t,aX as G,jm as q,v as c,hb as V,ha as K,Q as U,a0 as X,l as Z,jn as D,y as ee,aS as re,fo as oe,_ as te,bQ as se,c7 as ie,w as g,x as ae,eA as le,t as ne,br as ce,gR as de,r as he,am as pe,ao as L,af as me}from"./index-JWEa8hVQ.js";import{n as o,j as m,k as ge}from"./vendor-rkTZJa59.js";import{o as xe}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ue={transaction_categorization:xe,missing_receipts:oe,flux_analysis:re,je_schedules:D,month_end_insights:ee,reconciliation:D},fe=e=>{const x={Weekly:[],Monthly:[]};return e.forEach(u=>{x[u.frequency].push(u)}),x},{expenseAutomation:d,common:i,dateFormat:ye}=Q.getLocalizedStrings();function xr({monthEndCloseChecksView:e,isRealtimeInsightsFeatureEnabled:x,onMonthEndCheckClick:u,onBackClick:M,handleReviewButtonClick:P,onPeriodChange:R,onReload:k}){const b=H(),T=W();if(I({componentName:"expense_automation.overview"}),e.monthEndCloseChecks==null||e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return r.jsx(_,{"data-testid":y("expense-automation-overview-page-activity-indicator"),children:r.jsx(J,{fetchState:"In-Progress"})});if(e.monthEndCloseChecks==null||e.fetchState==="Error")return r.jsx(_,{children:r.jsx(Xe,{"data-testid":y("expense-automation-overview-page-reload-page"),onClick:k,children:r.jsx(O,{})})});const{monthEndCloseChecks:{auditSummary:l,monthEndCloseCheckList:F,insights:h,reportEmailSentDate:S},refreshStatus:N}=e,z=fe(F);let f,p;l.auditScorePercentage<=50?(f=a.important,p=a.importantLight):l.auditScorePercentage<=75?(f=a.alert,p=a.alertLight):(f=a.success,p=a.successLight);const A=r.jsx(Ge,{"data-testid":y("expense-automation-overview-page-refresh-icon"),onClick:k,children:r.jsx(Y,{style:{marginTop:t.sp1},placement:"bottom",title:i.texts.refresh,enterDelay:600,children:r.jsx(er,{$spinning:N.fetchState==="In-Progress"})})});return r.jsxs($e,{children:[r.jsx(G,{title:r.jsx(q,{labelSuffix:i.texts.close,pickerLabelStyle:{...c.largeSemiBold.cssObject},onPeriodChange:R,monthEndCloseChecksView:e}),showBackButton:!0,onBackClick:M,source:"ExpenseAutomationOverviewPage",rightSideComponent:A}),r.jsxs(_e,{children:[r.jsxs(je,{children:[r.jsx(ve,{windowSize:T,children:r.jsx(be,{children:r.jsxs(Se,{children:[r.jsx(Qe,{children:r.jsx(V,{background:!0,value:Math.floor(l.auditScorePercentage),text:`${Math.floor(l.auditScorePercentage)}${i.strings.percentage}`,strokeWidth:10,styles:{...K({strokeLinecap:"butt",pathColor:f,textColor:b.colors.primary,trailColor:b.colors.grey2,backgroundColor:p}),root:{width:"96px",height:"96px",backgroundColor:p,borderRadius:"50%"},text:{fontSize:c.h6Medium.fontSize,fontFamily:c.h6Medium.fontFamily,lineHeight:c.h6Medium.lineHeight,fontWeight:c.h6Medium.fontWeight,letterSpacing:c.h6Medium.letterSpacing,fill:a.primaryLight}}})}),r.jsxs(sr,{children:[r.jsxs(De,{children:[r.jsxs(C,{children:[r.jsxs(qe,{children:[r.jsx(Ce,{children:d.overview.auditScoreTitle}),l.auditReportLastGeneratedDate!=null?r.jsx(Ve,{children:l.auditReportLastGeneratedDate.utc(!0).fromNow()}):null]}),r.jsx(ke,{children:d.overview.auditScoreDescription})]}),r.jsx(U,{style:{alignSelf:"flex-start"},variant:"primary",label:i.texts.review,onClick:P})]}),r.jsxs(Ee,{children:[r.jsxs(We,{children:[r.jsx(Oe,{}),r.jsx(Ie,{children:i.texts.aiAgents}),r.jsx(Je,{children:i.texts.saved})]}),r.jsx(Ye,{children:X("0,0",{amount:h.savedAmount,currencyCode:i.currency.countryCode,currencySymbol:i.currency.currencySymbol})})]})]})]})})}),r.jsxs(we,{children:[r.jsxs($,{isLastTab:!1,children:[r.jsx(j,{children:h.vendorsWithFluctuations}),r.jsx(v,{children:d.overview.statistics.vendorsWithFluctuations})]}),r.jsxs($,{isLastTab:!1,children:[r.jsx(j,{children:h.transactionsAutoCategorized}),r.jsx(v,{children:d.overview.statistics.transactionsAutoCategorized})]}),r.jsxs($,{isLastTab:!1,children:[r.jsxs(j,{children:[h.efficiencyPercentage,i.strings.percentage]}),r.jsx(v,{children:d.overview.statistics.humanEfficiency})]}),r.jsxs($,{isLastTab:!0,children:[r.jsxs(j,{children:[h.efficiency,"x"]}),r.jsx(v,{children:d.overview.statistics.fasterReviews})]})]})]}),r.jsx(Le,{children:Z.ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY.map(w=>r.jsxs(Me,{children:[r.jsx(E,{cardDisabled:!1,children:w}),r.jsx(Pe,{children:z[w].map(s=>{const n=s.id==="month_end_insights"?!x:s.isDisabled,B=n===!0||s.id==="month_end_insights"&&e.monthEndCloseChecks?.reportEmailSentDate!=null;return r.jsxs(Re,{"data-testid":y("expense-automation-overview-page-month-end-close-check-card",s.id),cardDisabled:n,onClick:()=>{B===!1&&u(s.id)},children:[r.jsxs(He,{children:[r.jsx(Be,{cardDisabled:n,isDarkMode:b.mode==="dark",children:r.jsx(Ae,{as:ue[s.id]??null})}),r.jsxs(C,{children:[r.jsx(E,{cardDisabled:n,children:s.title}),r.jsx(Te,{className:"card-description",cardDisabled:n,children:s.description})]})]}),r.jsxs(Fe,{children:[r.jsx(te,{controller:s.id!=="month_end_insights",children:r.jsxs(Ne,{children:[r.jsxs(Ke,{progress:s.progress,children:[Math.floor(s.progress),i.strings.percentage]}),r.jsx(Ue,{className:s.progress<100?"progress-complete-text":i.strings.empty,progress:s.progress,children:i.texts.complete})]})}),s.id==="month_end_insights"&&S!=null?r.jsxs(tr,{children:[r.jsx(rr,{children:i.texts.closed}),r.jsx(or,{children:S.format(ye.visual.MMMDCommaYYYYformat)})]}):null,r.jsx(C,{children:r.jsx(ze,{className:"card-right-chevron",disabled:n})})]})]},s.id)})})]},w))})]})]})}const $e=o.div`
1
+ import{u as H,e as W,bJ as I,j as r,W as y,fF as J,bg as O,f as a,bp as Y,R as Q,o as t,aX as G,jm as q,v as c,hb as V,ha as K,Q as U,a0 as X,l as Z,jn as D,y as ee,aS as re,fo as oe,_ as te,bQ as se,c7 as ie,w as g,x as ae,eA as le,t as ne,br as ce,gR as de,r as he,am as pe,ao as L,af as me}from"./index-BiPgiHAh.js";import{n as o,j as m,k as ge}from"./vendor-rkTZJa59.js";import{o as xe}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ue={transaction_categorization:xe,missing_receipts:oe,flux_analysis:re,je_schedules:D,month_end_insights:ee,reconciliation:D},fe=e=>{const x={Weekly:[],Monthly:[]};return e.forEach(u=>{x[u.frequency].push(u)}),x},{expenseAutomation:d,common:i,dateFormat:ye}=Q.getLocalizedStrings();function xr({monthEndCloseChecksView:e,isRealtimeInsightsFeatureEnabled:x,onMonthEndCheckClick:u,onBackClick:M,handleReviewButtonClick:P,onPeriodChange:R,onReload:k}){const b=H(),T=W();if(I({componentName:"expense_automation.overview"}),e.monthEndCloseChecks==null||e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return r.jsx(_,{"data-testid":y("expense-automation-overview-page-activity-indicator"),children:r.jsx(J,{fetchState:"In-Progress"})});if(e.monthEndCloseChecks==null||e.fetchState==="Error")return r.jsx(_,{children:r.jsx(Xe,{"data-testid":y("expense-automation-overview-page-reload-page"),onClick:k,children:r.jsx(O,{})})});const{monthEndCloseChecks:{auditSummary:l,monthEndCloseCheckList:F,insights:h,reportEmailSentDate:S},refreshStatus:N}=e,z=fe(F);let f,p;l.auditScorePercentage<=50?(f=a.important,p=a.importantLight):l.auditScorePercentage<=75?(f=a.alert,p=a.alertLight):(f=a.success,p=a.successLight);const A=r.jsx(Ge,{"data-testid":y("expense-automation-overview-page-refresh-icon"),onClick:k,children:r.jsx(Y,{style:{marginTop:t.sp1},placement:"bottom",title:i.texts.refresh,enterDelay:600,children:r.jsx(er,{$spinning:N.fetchState==="In-Progress"})})});return r.jsxs($e,{children:[r.jsx(G,{title:r.jsx(q,{labelSuffix:i.texts.close,pickerLabelStyle:{...c.largeSemiBold.cssObject},onPeriodChange:R,monthEndCloseChecksView:e}),showBackButton:!0,onBackClick:M,source:"ExpenseAutomationOverviewPage",rightSideComponent:A}),r.jsxs(_e,{children:[r.jsxs(je,{children:[r.jsx(ve,{windowSize:T,children:r.jsx(be,{children:r.jsxs(Se,{children:[r.jsx(Qe,{children:r.jsx(V,{background:!0,value:Math.floor(l.auditScorePercentage),text:`${Math.floor(l.auditScorePercentage)}${i.strings.percentage}`,strokeWidth:10,styles:{...K({strokeLinecap:"butt",pathColor:f,textColor:b.colors.primary,trailColor:b.colors.grey2,backgroundColor:p}),root:{width:"96px",height:"96px",backgroundColor:p,borderRadius:"50%"},text:{fontSize:c.h6Medium.fontSize,fontFamily:c.h6Medium.fontFamily,lineHeight:c.h6Medium.lineHeight,fontWeight:c.h6Medium.fontWeight,letterSpacing:c.h6Medium.letterSpacing,fill:a.primaryLight}}})}),r.jsxs(sr,{children:[r.jsxs(De,{children:[r.jsxs(C,{children:[r.jsxs(qe,{children:[r.jsx(Ce,{children:d.overview.auditScoreTitle}),l.auditReportLastGeneratedDate!=null?r.jsx(Ve,{children:l.auditReportLastGeneratedDate.utc(!0).fromNow()}):null]}),r.jsx(ke,{children:d.overview.auditScoreDescription})]}),r.jsx(U,{style:{alignSelf:"flex-start"},variant:"primary",label:i.texts.review,onClick:P})]}),r.jsxs(Ee,{children:[r.jsxs(We,{children:[r.jsx(Oe,{}),r.jsx(Ie,{children:i.texts.aiAgents}),r.jsx(Je,{children:i.texts.saved})]}),r.jsx(Ye,{children:X("0,0",{amount:h.savedAmount,currencyCode:i.currency.countryCode,currencySymbol:i.currency.currencySymbol})})]})]})]})})}),r.jsxs(we,{children:[r.jsxs($,{isLastTab:!1,children:[r.jsx(j,{children:h.vendorsWithFluctuations}),r.jsx(v,{children:d.overview.statistics.vendorsWithFluctuations})]}),r.jsxs($,{isLastTab:!1,children:[r.jsx(j,{children:h.transactionsAutoCategorized}),r.jsx(v,{children:d.overview.statistics.transactionsAutoCategorized})]}),r.jsxs($,{isLastTab:!1,children:[r.jsxs(j,{children:[h.efficiencyPercentage,i.strings.percentage]}),r.jsx(v,{children:d.overview.statistics.humanEfficiency})]}),r.jsxs($,{isLastTab:!0,children:[r.jsxs(j,{children:[h.efficiency,"x"]}),r.jsx(v,{children:d.overview.statistics.fasterReviews})]})]})]}),r.jsx(Le,{children:Z.ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY.map(w=>r.jsxs(Me,{children:[r.jsx(E,{cardDisabled:!1,children:w}),r.jsx(Pe,{children:z[w].map(s=>{const n=s.id==="month_end_insights"?!x:s.isDisabled,B=n===!0||s.id==="month_end_insights"&&e.monthEndCloseChecks?.reportEmailSentDate!=null;return r.jsxs(Re,{"data-testid":y("expense-automation-overview-page-month-end-close-check-card",s.id),cardDisabled:n,onClick:()=>{B===!1&&u(s.id)},children:[r.jsxs(He,{children:[r.jsx(Be,{cardDisabled:n,isDarkMode:b.mode==="dark",children:r.jsx(Ae,{as:ue[s.id]??null})}),r.jsxs(C,{children:[r.jsx(E,{cardDisabled:n,children:s.title}),r.jsx(Te,{className:"card-description",cardDisabled:n,children:s.description})]})]}),r.jsxs(Fe,{children:[r.jsx(te,{controller:s.id!=="month_end_insights",children:r.jsxs(Ne,{children:[r.jsxs(Ke,{progress:s.progress,children:[Math.floor(s.progress),i.strings.percentage]}),r.jsx(Ue,{className:s.progress<100?"progress-complete-text":i.strings.empty,progress:s.progress,children:i.texts.complete})]})}),s.id==="month_end_insights"&&S!=null?r.jsxs(tr,{children:[r.jsx(rr,{children:i.texts.closed}),r.jsx(or,{children:S.format(ye.visual.MMMDCommaYYYYformat)})]}):null,r.jsx(C,{children:r.jsx(ze,{className:"card-right-chevron",disabled:n})})]})]},s.id)})})]},w))})]})]})}const $e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{o,br as Hs,e as ke,fP as Pi,fQ as Ni,l as q,R as Ie,j as t,bV as Us,_ as Pe,a4 as Vi,q as g,bX as Ws,u as vt,aX as qs,hu as Js,a0 as qe,bp as Ce,C as X,aR as Ks,W as M,hs as Gs,x as Fe,fj as Ys,gk as Hi,aS as Zs,bh as Rt,am as Ui,w as St,b6 as Wi,f as Xe,jt as Xs,fF as Qs,n as gt,a3 as ea,fR as ta,fS as qi,aK as na,bQ as oa,by as ia,eA as un,bv as po,a as Ht,bg as mo,F as Ut,ju as sa,jv as aa,jw as ra,jx as an,jy as Ji,jz as Ki,jA as la,jB as ca,dj as Gi,jC as da,jD as ua,jE as ha,jF as pa,jG as ma,jH as Lo,jI as ga,jJ as xa,jK as fa,jL as ya,jM as Ca,jN as Yi,jO as wa,jP as ba,jQ as va,jR as Sa,g4 as Zi,aj as Ln,b_ as An,m as Xi,aE as Qi,dP as es,ca as hn,dS as go,g0 as ja,f5 as ka,fl as Ia,r as $a,T as Ta,f2 as La,J as ts,jS as Aa,a8 as xo,a2 as Ao,jT as Ea,jU as Ra,gm as ns,jV as Da,a$ as os,a6 as Oa,ga as Et,hg as On,ey as jn,cn as fo,B as Ba,cw as is,dl as Ma,ia as Fa,dr as yo,c3 as En,c6 as Rn,hV as et,v as Lt,h5 as za,g5 as Bn,iu as Eo,dh as ss,cz as cn,jW as _a,ae as Pa,dq as as,Q as dn,hM as rs,hW as ro,jX as Qt,dY as ls,dZ as cs,jY as ds,jZ as us,j_ as Na,cx as Dn,hN as hs,d1 as ps,eq as Mn,U as Co,j$ as Va,ct as Ha,ab as ms,i1 as Ua,dQ as Wa,p as yt,k0 as qa,k1 as Ja,ah as Fn,cH as Ka,b as Ga,en as Ya,eo as Za,ep as Xa,er as Ro,es as Do,et as Qa,k2 as er,af as tr,eC as nr,eD as or,eE as ir}from"./index-JWEa8hVQ.js";import{n as a,b as s,j as Ze,k as wo,f as gs}from"./vendor-rkTZJa59.js";import{r as xs,R as fs,n as en,W as mt}from"./CollapsableReportTable-s_gsuEBP-B4Q5LOp_.js";import{o as ys}from"./mapTimeframeBalancesToTreeNode-Gxa-yiq_-BFxibEEb.js";import{d as Oo}from"./mapLoadingInProgressToTreeNode-CMYVZuQF-BC5LoqS0.js";import{h as sr}from"./VendorsAccountsSection-Z-ebKmVQ-DjKZ_l7h.js";import{u as ar,c as Bo,d as rr,m as lr}from"./uploadAttachment-Cx3js1c7-BmRM15ET.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./AccountRow-B8_6Pf4a-DAgOY6Sl.js";const{common:{navBar:{back:cr},texts:{refresh:dr,close:ur,copy:hr,copied:pr,open:mr}},expenseAutomation:{common:{numbers:{maximumCount:gr}}}}=Ie.getLocalizedStrings(),xr=a(ja)`
1
+ import{o,br as Hs,e as ke,fP as Pi,fQ as Ni,l as q,R as Ie,j as t,bV as Us,_ as Pe,a4 as Vi,q as g,bX as Ws,u as vt,aX as qs,hu as Js,a0 as qe,bp as Ce,C as X,aR as Ks,W as M,hs as Gs,x as Fe,fj as Ys,gk as Hi,aS as Zs,bh as Rt,am as Ui,w as St,b6 as Wi,f as Xe,jt as Xs,fF as Qs,n as gt,a3 as ea,fR as ta,fS as qi,aK as na,bQ as oa,by as ia,eA as un,bv as po,a as Ht,bg as mo,F as Ut,ju as sa,jv as aa,jw as ra,jx as an,jy as Ji,jz as Ki,jA as la,jB as ca,dj as Gi,jC as da,jD as ua,jE as ha,jF as pa,jG as ma,jH as Lo,jI as ga,jJ as xa,jK as fa,jL as ya,jM as Ca,jN as Yi,jO as wa,jP as ba,jQ as va,jR as Sa,g4 as Zi,aj as Ln,b_ as An,m as Xi,aE as Qi,dP as es,ca as hn,dS as go,g0 as ja,f5 as ka,fl as Ia,r as $a,T as Ta,f2 as La,J as ts,jS as Aa,a8 as xo,a2 as Ao,jT as Ea,jU as Ra,gm as ns,jV as Da,a$ as os,a6 as Oa,ga as Et,hg as On,ey as jn,cn as fo,B as Ba,cw as is,dl as Ma,ia as Fa,dr as yo,c3 as En,c6 as Rn,hV as et,v as Lt,h5 as za,g5 as Bn,iu as Eo,dh as ss,cz as cn,jW as _a,ae as Pa,dq as as,Q as dn,hM as rs,hW as ro,jX as Qt,dY as ls,dZ as cs,jY as ds,jZ as us,j_ as Na,cx as Dn,hN as hs,d1 as ps,eq as Mn,U as Co,j$ as Va,ct as Ha,ab as ms,i1 as Ua,dQ as Wa,p as yt,k0 as qa,k1 as Ja,ah as Fn,cH as Ka,b as Ga,en as Ya,eo as Za,ep as Xa,er as Ro,es as Do,et as Qa,k2 as er,af as tr,eC as nr,eD as or,eE as ir}from"./index-BiPgiHAh.js";import{n as a,b as s,j as Ze,k as wo,f as gs}from"./vendor-rkTZJa59.js";import{r as xs,R as fs,n as en,W as mt}from"./CollapsableReportTable-CLu0A-3k-B5Drr_bb.js";import{o as ys}from"./mapTimeframeBalancesToTreeNode-DEm31xu_-B1W5dzqu.js";import{d as Oo}from"./mapLoadingInProgressToTreeNode-D7kWYmPh-B5uNQOFG.js";import{h as sr}from"./VendorsAccountsSection-B74xTqeg-C9rfxIBR.js";import{u as ar,c as Bo,d as rr,m as lr}from"./uploadAttachment-Cr0aSgEE-D9TZgmf3.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./AccountRow-D-gDxofP-BKNqupIN.js";const{common:{navBar:{back:cr},texts:{refresh:dr,close:ur,copy:hr,copied:pr,open:mr}},expenseAutomation:{common:{numbers:{maximumCount:gr}}}}=Ie.getLocalizedStrings(),xr=a(ja)`
2
2
  display: flex;
3
3
  width: ${o.sp4};
4
4
  height: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{u as Be,e as Q,R as Y,a as Ke,a2 as De,ca as Qe,l as O,j as t,aX as et,F as tt,a4 as it,C as x,o as n,k6 as at,k7 as nt,k8 as lt,cg as ze,cd as ot,cG as rt,fb as dt,fc as st,cf as ke,fK as ct,k9 as pt,cj as mt,cL as Ve,ck as ut,cM as Ae,cV as Oe,v as ge,cZ as ht,q as u,ap as yt,am as be,f as Ee,n as gt,t as We}from"./index-JWEa8hVQ.js";import{b as J,n as d}from"./vendor-rkTZJa59.js";import{Y as xt}from"./LabeledDocumentField-hUiqS32j-QXx2JfEo.js";import{S as ie}from"./LabeledText-DopMzeZ3-4f9QdfCJ.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ft={progressBarWidth:new x(343,726)},bt=({pageIndex:e})=>{const i=Q(),a=Be(),s=Y.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs(vt,{children:[t.jsx(at,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Ct,{children:h.map((p,l)=>t.jsx($t,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(wt,{windowSize:i,children:[t.jsx(nt,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(St,{children:h.map((p,l)=>t.jsx(jt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},wt=d.div`
1
+ import{u as Be,e as Q,R as Y,a as Ke,a2 as De,ca as Qe,l as O,j as t,aX as et,F as tt,a4 as it,C as x,o as n,k6 as at,k7 as nt,k8 as lt,cg as ze,cd as ot,cG as rt,fb as dt,fc as st,cf as ke,fK as ct,k9 as pt,cj as mt,cL as Ve,ck as ut,cM as Ae,cV as Oe,v as ge,cZ as ht,q as u,ap as yt,am as be,f as Ee,n as gt,t as We}from"./index-BiPgiHAh.js";import{b as J,n as d}from"./vendor-rkTZJa59.js";import{Y as xt}from"./LabeledDocumentField-D3qyVGxk-BaCEFIkW.js";import{S as ie}from"./LabeledText-BQnIyfvc-C0VyJJGm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ft={progressBarWidth:new x(343,726)},bt=({pageIndex:e})=>{const i=Q(),a=Be(),s=Y.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs(vt,{children:[t.jsx(at,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Ct,{children:h.map((p,l)=>t.jsx($t,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(wt,{windowSize:i,children:[t.jsx(nt,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(St,{children:h.map((p,l)=>t.jsx(jt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},wt=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -1,4 +1,4 @@
1
- import{u as v,e as f,R as k,a8 as s,f as n,j as e,bV as y,C as p,bX as _,bY as x,q as c}from"./index-JWEa8hVQ.js";import{n as l}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const i={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(c[0],c[0],255),popupContainerWidth:new p(100,100,85)},z=l.div`
1
+ import{u as v,e as f,R as k,a8 as s,f as n,j as e,bV as y,C as p,bX as _,bY as x,q as c}from"./index-BiPgiHAh.js";import{n as l}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const i={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(c[0],c[0],255),popupContainerWidth:new p(100,100,85)},z=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{j as l,e as H,R as Y,cn as q,cv as G,u as ee,ct as Q,C as S,fO as Z,o as i,W as M,ek as ce,J as le,fH as pe,fI as ue,Q as he,f as u,q as g,g8 as ge,cu as be,cw as ye,p as ve,b3 as we,v as _,dj as $e,b4 as me,b1 as ke}from"./index-JWEa8hVQ.js";import{b as V,n as d}from"./vendor-rkTZJa59.js";const v={width:new S(343,580,726),height:new S(g[6],g[6]),controlHeight:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTop:new S(g[3],g[3]),paddingBottom:new S(g[3],g[2]),labelMarginRight:new S(g[3],g[4])};function je({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=q(),f=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:o.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(oe,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Se,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{j as l,e as H,R as Y,cn as q,cv as G,u as ee,ct as Q,C as S,fO as Z,o as i,W as M,ek as ce,J as le,fH as pe,fI as ue,Q as he,f as u,q as g,g8 as ge,cu as be,cw as ye,p as ve,b3 as we,v as _,dj as $e,b4 as me,b1 as ke}from"./index-BiPgiHAh.js";import{b as V,n as d}from"./vendor-rkTZJa59.js";const v={width:new S(343,580,726),height:new S(g[6],g[6]),controlHeight:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTop:new S(g[3],g[3]),paddingBottom:new S(g[3],g[2]),labelMarginRight:new S(g[3],g[4])};function je({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=q(),f=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:o.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(oe,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Se,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{u as _e,e as J,a as Ee,B as Je,ca as Ye,j as t,R as ue,aX as Qe,F as Xe,bT as Ce,o,Q as je,W as T,bg as Ze,bS as et,aj as tt,dl as lt,b_ as ot,_ as it,m as nt,cx as at,a$ as We,a6 as rt,C as N,l as Oe,bh as se,q as $,dr as Ie,w as we,c3 as st,c6 as dt,cn as ct,hC as ht,dh as ye,cz as me,bp as _,eu as ke,p as mt,hH as gt,x as pt,aB as ut,hI as Fe,bO as wt,aP as xt,f as De,hJ as bt}from"./index-JWEa8hVQ.js";import{b as C,n,j as Se}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function vt(e){const l=J(),{button:{label:a,onClick:i},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:j}}=e;return t.jsxs(ft,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:j}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:j,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(yt,{style:{marginLeft:o.sp5}}):t.jsx(je,{variant:"primary",onClick:i,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const ft=n.div`
1
+ import{u as _e,e as J,a as Ee,B as Je,ca as Ye,j as t,R as ue,aX as Qe,F as Xe,bT as Ce,o,Q as je,W as T,bg as Ze,bS as et,aj as tt,dl as lt,b_ as ot,_ as it,m as nt,cx as at,a$ as We,a6 as rt,C as N,l as Oe,bh as se,q as $,dr as Ie,w as we,c3 as st,c6 as dt,cn as ct,hC as ht,dh as ye,cz as me,bp as _,eu as ke,p as mt,hH as gt,x as pt,aB as ut,hI as Fe,bO as wt,aP as xt,f as De,hJ as bt}from"./index-BiPgiHAh.js";import{b as C,n,j as Se}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-CH3KJxCW.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function vt(e){const l=J(),{button:{label:a,onClick:i},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:j}}=e;return t.jsxs(ft,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:j}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:j,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(yt,{style:{marginLeft:o.sp5}}):t.jsx(je,{variant:"primary",onClick:i,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const ft=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};