@zeniai/web-cockpit-ui 1.15.12-dev → 1.15.13-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 (274) hide show
  1. package/dist/assets/{ACHDetailsPage-BY65AQjO-Cl2Tlmft.js → ACHDetailsPage-BlujuoRH-D3z2m9vf.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-B0a7EX_p-BepCOVvT.js → AIPerformancePage-DfgPUakC-C7_4KJtd.js} +12 -12
  3. package/dist/assets/AccountInfoPage-BYwGsz6J-ilS3p_4u.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js → AccountInfoPageContent-CTvsml8u-HiMO1t4f.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js → AccountLockedInfoModal-DeYVMh3B-Dec8Ripp.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js → AccountReconDetailsDrawerPage-D6WT5Co_-Boi6JvlJ.js} +1 -1
  7. package/dist/assets/{AccountRow-B9ZIzZy7-C9nPv4rY.js → AccountRow-FmhkZVL4-BiCaU5gp.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js → AccountsPromoCardStack-B5Mri6qW-C55uOtTG.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js → AddAddressForCardDrawer-Bs4dQyRL-ChMzAqlj.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-B1GVnxRf-CndQH9vq.js → AddToWalletPage-fBplELoj-BbSWfj-_.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Bpp4te8m-HodwoOcT.js → AgingReportsPage-CgeLN6Su-mjdbj-V7.js} +1 -1
  12. package/dist/assets/{AllUserItems-CzugF5fn-8WnbDsqH.js → AllUserItems-vOFCgjs7-BawEw1bw.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js → ApAgingDetailPage-CF5WKuOc-DwzZ4J6w.js} +4 -4
  14. package/dist/assets/{AppBasePage-Di7hObbX-uZJvqLhK.js → AppBasePage-DrIjva6e-BEoSV9em.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-KdrUuifo-DcEK8qwb.js → AppDrawerContent-Co1DpiWD-BseTWq0X.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js → ApprovalRulesSettingsPage-tYbxBThK-Cp_BZtLr.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DeE5uhiT-BcI5cuvH.js → ArAgingChart-B2zTJJgb-BW-4V4KX.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js → ArAgingDetailPage-0nCr6crv-CVAwjIoB.js} +5 -5
  19. package/dist/assets/{AttachmentView-CfacSLcU-gwYezuYM.js → AttachmentView-vlVaH4YF-DjHAa-jm.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Bm8vdxFd-DKKdvH8R.js → BankAccountSection-CDKiTWgn-CtT_fqlj.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-M3w6kP33-ChP5wvhC.js → BankAccountWarningSection-tSnRJm3S-Xh7INFxm.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js → BankConnectionsSettingsPage-O_L8CHJf-Lbkg03Kb.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BA1D1bO3-Ofkt6QPd.js → BillDetailPage-DR3JefXf-CT_vRh92.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js → BillPayApprovalRuleDetailPage-2w8HO-NU-BrDPRKpx.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js → BillPayApprovalRulesPage-yFoEpHK8-mn4XE1DW.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js → BillPayPromoPage-DZkA_0AV-wh6M-Qtv.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BwEONKu_-DARv5ESb.js → BillPaySetUpPage-B2j-es9G-Cgscrq-x.js} +7 -7
  28. package/dist/assets/{BillingSettingsPage-DicGyWCt-DwbmjVcE.js → BillingSettingsPage-ayQNGWSW-BH36NbEd.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js → BillsBulkReviewDrawerPage-B2LDJ9-N-Bz6yNrUs.js} +1 -1
  30. package/dist/assets/{BoxItem-Cr0Y9YBV-C2AawtqJ.js → BoxItem-B0bHU_KA-CwJAi_XO.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js → BusinessVerificationPage-DZ27apcr-60B1XBNo.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CXBKzGK5-CCtn2y_n.js → CardNumberSubText-CpqumrS--C5H93W0D.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DOdPOiws-CAJxdhJ3.js → CashbackDetailPage-C3oNmfln-Cjfl1QQU.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js → ChargeCardDetailPage-C9XhHqSo-C6G4QIZB.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js → ChargeCardListPage-B_PxtkQX-D4XUj6S4.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D7zGM8uo-70otSDDQ.js → ChargeCardListTable-kp0WwIZo-C7S3-nFL.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js → ChargeCardPaymentHistoryPage-D1l3Qgr_-CcXK8zox.js} +8 -8
  38. package/dist/assets/{ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js → ChargeCardPromoPage-DcmgTF8u-uElL894v.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-Duj6901M-CIASuReJ.js → ChargeCardSetupPage-BX9fPIf_-CJBf2z8R.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js → ChargeCardStatementsPage-a5u9wGDg-CReuXYls.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js → CheckDepositDrawerPage-_DvlXSse-DhB3lKOy.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js → CollapsableReportTable-DgteU0nB-DwU6xqcB.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js → CompanyOfficerDetailsSection-DG1ZQ-UL-BWPYN3Ux.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BwiwJ82k-WRVY9XX8.js → CompanyPassportCard-JfMVwFHV-DIdzwTm1.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js → CompanyPassportPage-2j8z-oge-D6U4VneL.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CRXV-nNq-DpRL426l.js → CompleteProfile-Cm8XlcS3-h3qANDX9.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-CapRdPno-Dlg4XvfD.js → ConfettiBurst-BtmMysff-DXW2t6JP.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js → CreateOrEditVendorPage-BxSAnKo6-BT1rzueh.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js → CreditCardPaymentDrawerPage-a2j9Vyid-B5YbQ1Qy.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DY0HeU0G-CSYPXeIb.js → CurrencySelectField-CbBlYqRB-D1pLCzjN.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js → CustomerOnboardingActivationPage-CG508vOx-CLWU-GVx.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-CuP19GYc-BdzG4LPd.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js → CustomerOnboardingDetailPageSkeleton-BszHZi0e-DON_7YLk.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js → CustomerOnboardingNoStepsPage-Cg8ti5NY-DlxEJtW7.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js → CustomerOnboardingPage-DM-gDkp1-rcTTcpJq.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-BryLMJRG-DDfHjs9L.js +202 -0
  57. package/dist/assets/{Dashboard-BVvkfPf9-hp4sQi7A.js → Dashboard-BRm1rkFD-sRJsQcvd.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-DHQ79h9V-C3FgTbgA.js → DashboardReportPage-rtbUwJSW-Cfsk6TQp.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js → DashboardSidebarBackgroundAnimation-DVTdlTEZ-LE3GU0DJ.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js → DepositAccTransactionItem-BbKLxsPR-Dpo7wVCS.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js → DepositAccTransactionListPage-0AV-fx2Z-BFJB16zN.js} +2 -2
  62. package/dist/assets/{DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js → DomesticWireDetailsPage-BKumlfKE-Cqz9aujw.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-B2bK30rG-B-m5Mv2I.js → DownloadOverlay-C6GFjg2N-DrkN4pip.js} +1 -1
  64. package/dist/assets/{DrawerPage-BRJDrBlv-D28-uO54.js → DrawerPage-BjfQ_wvz-BRg4aJBc.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-I8E1Rs3x-DbyrgA_C.js → EditPeoplePage-59PeI1Ul-cMTnU9vy.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js → EditReimbursementDetailPage-D5cPRveU--6MVI5yI.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-BraBJ2k1-Wq1E4JPl.js → EntityDetailPage-CiO1dOzo-BB1u6uOD.js} +2 -2
  68. package/dist/assets/{EntitySummarySection-DPmL3Bnf-CHA6TrKp.js → EntitySummarySection-DBQxz0Ak-YgKNz1nX.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js → ExpenseAutomationOverviewPage-D9JnRKeQ-bE2V-UEo.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js → ExpenseAutomationPage-isWf-Yjm-BEj6GzxJ.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DxO1mXNE-DeRja-sm.js → ExpressPayPage-iL1BYLic-BqUwfpLY.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js → FeaturePreviewPage-CFz7RpI6-DbRQaCew.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DhVGeocZ-Ddk_z58q.js → FollowStepsSection-Crd9GwnW-RQu2gQ-V.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js → GlobalReviewListPage-xUatsnwu-Dx9d2TTm.js} +1 -1
  75. package/dist/assets/{InformationCardStack-CHVjIv01-Y1Eih__r.js → InformationCardStack-CgSYiHdK-Cf9Cjw1k.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-x_tohY2Z-DNptH2Sv.js → InsightsCardStack-dkuf5D9A-Duqx5-xn.js} +2 -2
  77. package/dist/assets/{InsightsSection-D7g00fg7-Bl1k6KMG.js → InsightsSection-CUk29Ace-BKDJK0uo.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js → IntegrationsSettingsPage-As-313jz-BWoXfvd2.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js → InternationalWireSwiftDetailsPage-CqMsBHlO-CbK2_2UB.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js → InternationalWireVerificationPage-BJ9-Rvqo-C5xNuG17.js} +1 -1
  81. package/dist/assets/{InviteFormPage-Cw0TIkwc-D0dTmTLg.js → InviteFormPage-D7yOmbjN-B6cNY2j6.js} +1 -1
  82. package/dist/assets/{InvitePageListView-B4gEzFp2-1aqNeIHc.js → InvitePageListView-CUeSQD7S-BB-ili2p.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js → InvitePeoplePage-BY6iz4UW-16zeXtyQ.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-CW4hHmAi-DKFSw8te.js → InvoiceUploadSection-fjn4uF_l-DBvp2GNb.js} +20 -20
  85. package/dist/assets/{IssueChargeCardPage-sM826Uvu-DMhbp0aa.js → IssueChargeCardPage-B30u11O2-BHXfiwVd.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-AuzW29LK-99vdzqZR.js → LabeledAddressValue-CJZ_1zh1-dIyC1ckB.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-C_KatgTA-ByiPbJgm.js → LabeledAddressValueField-3BEuHr_a-BAXHOnek.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js → LabeledControlledCheckBoxField-DqtbWhaH-Ct8s61sn.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js → LabeledCountryMultiSelectField-t7lnpz15-B8MvgThW.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js → LabeledCreatableSingleSelectField-DSrFEwMO-BtK2wHhP.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-CVBhbPHv-9665D02s.js → LabeledDocumentField-CYvUm3Rk-DLfE-kKo.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js → LabeledDropDownFormattedTextField-IohlqRi7-BoY6bhCM.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js → LabeledMultiSelectField-CveBXp8L-BAd1gTI4.js} +1 -1
  94. package/dist/assets/{LabeledText-Da0Yn6u8-CFgd90E4.js → LabeledText-C9CoADG4-BsL6jbJB.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js → LabeledUserSingleSelectWithSubtitlesField-B6q4n0f5-BWHNFjm5.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js → LabeledZeniRolesDropDownField-B-0ZfQFs-BLpCJZWp.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js → LinkJETransactionPage-CLo-jbfZ-CgODjcQ0.js} +2 -2
  98. package/dist/assets/{LockCardPage-B3P6wcK_-Ckpg2eew.js → LockCardPage-CmWzTH0n-B_X-TwZ4.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js → LowBalancePopup-BUAKDPHL-BfDsvGUL.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-v539jeyl-sH7kLHfx.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-CU9g_d2_-gcBn5f-G.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CYupqopA-BhBR0cCB.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js → MagicLinkSuccessPage-BGSpNBaK-DRZ7k8D2.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js → MagicLinkTitleSection-BKIOmha4-ChpstG69.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-BwgWy_VZ-Do6nH1qr.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js → MyBankConnectionsSettingsPage-B3HEwRST-BMNPEzRQ.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js → MyPendingActivationChargeCardListPage-Cy_JIUO5-CXr2StVT.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js → MyProfileSettingsPage-D4XR8lj4-Cx77Yc0W.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js → NavBarWithPicker-Brxnh3kz-BBzh1_Q6.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CKvBs9-h-DGD1r2EE.js → NavigationArrow-C1HvrCIx-DFOmLMLf.js} +1 -1
  111. package/dist/assets/{NavigationDots-BdcVrwsL-D_WEvn6f.js → NavigationDots-Ttv3r4BR-v2ws1TaA.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js → NewGlobalMerchantPage-rrVa4Iiv-lDEd0itd.js} +1 -1
  113. package/dist/assets/{NoDataChart-BbyxZE2g-CtN5BYbf.js → NoDataChart--T7v827k-zXeqjU35.js} +1 -1
  114. package/dist/assets/{NoDataTable-BNZWGvtm-S9Fe9Ovx.js → NoDataTable-cJmfr934-D57XH4Vn.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CssnEz-k-ccXdF3op.js → NotFoundPage-C-RS1j9W-DH4NAkkX.js} +9 -9
  116. package/dist/assets/{NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js → NotificationSettingsPage-Bt94GV9--r7sgcB96.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-DdMKLqFI-DwvXMwFg.js → NotificationsListConfig-CbWdzORJ-BsmAt2Aw.js} +1 -1
  118. package/dist/assets/{NotificationsPage-B9XIE39J-CejudHUF.js → NotificationsPage-kZGgGVaC-BAHmfRGl.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-5wnFvYXt-D6A9jnRY.js → OpExByVendorPage-BSoM5hsv-8kUubW4x.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js → OverlayContainerPage-IDTUbuAC-C05m2YxE.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CrtKdSaD-CYng6puq.js → PandLWithForecastPage-C181kEf--CfV2ma5M.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js → PaymentAccountSetupBillingAddressSection-DqDvhQwH-C-RxqOsn.js} +7 -7
  123. package/dist/assets/{PeoplePage-BCjxJl1y-JBCpiTMQ.js → PeoplePage-ByvK4lsu-B40YfrBC.js} +1 -1
  124. package/dist/assets/{Preview-DMKZka6j.js → Preview-B0RnB2Yn.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js → ProductsCarousel-CCLEQfr4-D3JLfCUB.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-6vRaZnUg-CBqkAept.js → PromoBaseCards-BESaQCrl-gKsHUW_9.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js → QBOConnectionDialog-BhmH5aji-CM5T8oTr.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DPhwp1AB-DxJDpMHr.js → QBOSetupSection-BevEEFTb-Jbk-oPo7.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js → ReimbursementApprovalRuleDetailPage-Dklp8fND-C3LBVHUX.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js → ReimbursementApprovalRulesPage-CCo730ny-q5c8fyV0.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js → ReimbursementDetailPage-D8G3Aoci-DIVONTh0.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js → ReimbursementPromoPage-B8BSm0-k-Bt9GjQuu.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js → ReimbursementSetUpPage-KRQIL0VK-DR0ER4Yx.js} +4 -4
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js → ReimbursementsBulkReviewDrawerPage-B77ypxnc-BkObb0RE.js} +1 -1
  135. package/dist/assets/{ReloadCard-DETUOoLJ-Dww2RtAQ.js → ReloadCard-0KQtayY--Cg4JfrF6.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-DSDclygb-CPmwPKtZ.js → ReportTableViewSelector-wrUJSIfk-Dns-QQbX.js} +26 -26
  137. package/dist/assets/{ReportsPage-BrmMmYET-qm3o80ge.js → ReportsPage-D-r0S90r-CtLOp9ey.js} +1 -1
  138. package/dist/assets/{RevenueChart-B711QWTX-ztc9NA65.js → RevenueChart-4kIDtnAc-WBQ50ylJ.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-Bkw0FfE--BL2mmyys.js → ReviewDetailsPage-BqIBTewY-C8DdFF_e.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js → ReviewOverlay-DjazNKfI-D9LHGfoS.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-CkpqxMzB-CgYpd1vG.js → RoleWithToolTip-CjvIxkPO-Bi_70Hu8.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js → ScheduleDetailsFixedAssetsPage-DBfwlnR1-bCnucyiC.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js → ScheduleDetailsPage-CLEKOymC-B3NLZeIV.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js → ScheduleSequenceTable-Dnapx3YK-Be50KNDE.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-D9-sd0S3.js → ScreenRoutes-S2WD5yPN.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Mm8JelXc-DJkSxyLc.js → SetUpAccountSection-D7Nf4cYj-UGNHCsDO.js} +1 -1
  147. package/dist/assets/{SignIn-faWXqi7o-BVPJ-uzq.js → SignIn-Cl1If8Mq-CvFGHXZ8.js} +15 -15
  148. package/dist/assets/{SignInScreen-DTTr8TvQ.js → SignInScreen-CFwIVPDY.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js → SpendManagementListViewPage-B8AdQD7w-DscL1E8I.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js → SpendManagementPerTabPage-BJxGbUNp-CTR6zi4P.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-CeDmloNd-CJQVf2yR.js → SpendManagementSection-CJ-vMwcf-DAIvaE36.js} +1 -1
  152. package/dist/assets/{StatementItem-CJShifEl-gXZiawe9.js → StatementItem-CCXoBC0x-B0aqg_M_.js} +2 -2
  153. package/dist/assets/StatementsPage-BaDmSL9L-t79Ai808.js +58 -0
  154. package/dist/assets/{StatusSwitcher-CPuONMOx-IUewbXcR.js → StatusSwitcher-BZ2svcz0-BTZEKNgF.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-ibTbIxr5-87SzITqK.js → SubTabSwitcher-C3216C6m-CK-Qtqj3.js} +1 -1
  156. package/dist/assets/{SummaryCard-vWpHXMPE-j4-YbXA_.js → SummaryCard-CSkw4qa9-i9KCkyV3.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-COs5ebo9-LStJ5YyB.js → TaskManagementPage-BO9Fcar1-BB1pU97E.js} +8 -8
  158. package/dist/assets/{TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js → TimeRangeSwitcher-C9jo91ZR-BexBx71o.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-BYXKRKtc-BTNUudrw.js → TimeframeSwitcher-453JT8qD-dl4gBr1v.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js → TimeframeSwitcherWithToggle-CkiICrjF-BzFnMJO-.js} +2 -2
  161. package/dist/assets/{TopExCard-Bs4nI9Q9-C9Jpq9jc.js → TopExCard-Qae08TpE-B5FSxtbi.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-B0kS11k0-IiO7dIt-.js → TopExDetailPage-BpwMO-8K-qWr97Eft.js} +4 -4
  163. package/dist/assets/{TransactionDetailPage-BXl6y7sy-B_wNV2dF.js → TransactionDetailPage-CF5tZCkv-ND1Ih8Rd.js} +1 -1
  164. package/dist/assets/{TransactionList-BYXPQXN1-C2WkgSOj.js → TransactionList-BuFcrTEd-Pd5NkKsR.js} +1 -1
  165. package/dist/assets/{TransactionListBig-lrbHUS38-D0fzERPt.js → TransactionListBig-B6-3iOkU-brDnQ-dC.js} +1 -1
  166. package/dist/assets/{TransactionListPage-OOLJzsmw-Dmoozb9S.js → TransactionListPage-cSSv81G2-C84Nagsy.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-CmjrngD2-DvxXX996.js → TransactionVendorDetailPage-BJzVtpnF-BD1O-dJA.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-CnFrzA_M-C6390hZV.js → TransferDrawerPage-DCxNnGwu-R8tXJhB-.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js → TreasuryOverviewPage-DfIkj3v1-DGzCSt8t.js} +9 -9
  170. package/dist/assets/{TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js → TreasuryPromoPage-BBdOyiO--DBYyvSzX.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js → TreasuryStatementsPage-NgiurO36-wIt2qVvF.js} +2 -2
  172. package/dist/assets/{TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js → TreasuryTaxLetterPage-DcI8sKk8-CiTg5Fth.js} +2 -2
  173. package/dist/assets/{TrendChart-ClyJQTBF-TLthRW_O.js → TrendChart-DVp0Led--C8WSZxuE.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js → TrendWithTransactions-C5Zfe4RN-BXIMOZup.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js → UncategorizedAccountsMappingPage-DKQj6Y2Z-CJmiPan8.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js → UnitIntegrationPage-DzP4Z8GG-Dy6PuJhN.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js → UploadAdditionalDocumentOverlay-BGFTh8Ed-BM9KBkkU.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-DQtP0bm--CecMTi1i.js → Vendor2FAPopup-CyeLsWVA-Bvm0fc8m.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-Ch6V5aiE-C8mQ2zAb.js +1 -0
  180. package/dist/assets/{VendorDetailPage-CFkDOdUe-B1GqtBiD.js → VendorDetailPage-CrEIBnBt-BV5_7SzR.js} +1 -1
  181. package/dist/assets/VendorDomesticWireDetailsPage-GMtYv721-BHj1SZ-2.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js → VendorFiling1099EditablePage-Bw_Igktf-DBjJgjbY.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js → VendorFirstReviewPage-CCCVS8n7-E428xFy1.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js → VendorInternationalWireDetailsPage-DsBGMjtN-CQvN_vWC.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BeXxE9Qn-ym6eVDNw.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js → VendorsAccountsSection-Bd1rg5Tw-DRUi6jIP.js} +1 -1
  187. package/dist/assets/{VerifyDevice-dFsnt44d-C1LsKxM_.js → VerifyDevice-B52Vuja4-0E_pm_dD.js} +7 -7
  188. package/dist/assets/{VideoPlayer-Dy6rImBJ-QOYygi-i.js → VideoPlayer-Cfh9VY-B-CLXI1KSM.js} +2 -2
  189. package/dist/assets/{VideoPopup-DM5Buf4j-CFLugl6n.js → VideoPopup-BLRMOVnP-CAsXJ3um.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js → WarningsDrawerPage-CnUUMlFZ-C2O6kI2F.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js → ZeniAccountDetailPage-DrBVs3G5-BGnEJzEM.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js → ZeniAccountListViewPage-C3WwakQr-CVBB5Etq.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js → ZeniAccountNavBarPieces-CP2pkywN-CGbioXtu.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js → ZeniAccountPromoPage-DYAVwX1I-CACWm6_J.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js → ZeniAccountSetupPage-D4y3RRC0-VwyN8R98.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-DzWFQiAt-07AcK5yb.js → ZeniCopyright-DxhdQ6XJ-DxZgbZ2B.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js → ZeniTransferAmountSlider-COT3DDGF-CcOgiNdg.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-pWZi41H8.js → add-to-wallet-DgdBD8_G-DsgRUVgA.js} +1 -1
  199. package/dist/assets/{analytics-BvXI56dE.js → analytics-CSlaNB19.js} +1 -1
  200. package/dist/assets/{analyticsHelper-DP-LgJhR.js → analyticsHelper-BSMq6Y2P.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CzevEN9D-BUYGstD0.js → analyticsHelper-C35dM-yG-D6b8wU4U.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-B9_UwdI_.js → arrow-south-east-round-PEovUgvH-yHNADvS4.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CRwly3T1.js → auto-transfer-rule-mbafm5D3-Ccdjr6D8.js} +1 -1
  204. package/dist/assets/{chartTypes-n3TS0IBf-DRx7aLxA.js → chartTypes-BDwrrz9S-CO6_cPbC.js} +1 -1
  205. package/dist/assets/{commonDimensions-6BcP8EhU-CPpjZ-C4.js → commonDimensions-Pu55v5lV-fIykEmeD.js} +1 -1
  206. package/dist/assets/{commonTypes-Q1WP-Ym3-Cmq2uCPt.js → commonTypes-BElGElM--Bg_ac7b3.js} +1 -1
  207. package/dist/assets/{constants-B97TsRRb.js → constants-D-PeI_mM.js} +1 -1
  208. package/dist/assets/{core-CIefpDlV.js → core-CqdPXR9B.js} +1 -1
  209. package/dist/assets/{dash.all.min-RUznf6Xj.js → dash.all.min-DbcV3v7u.js} +1 -1
  210. package/dist/assets/{detailCommon-D3YbmSu3-CiTGsaNF.js → detailCommon-CM8F8nQy-BjrXwaKv.js} +3 -3
  211. package/dist/assets/{downloadPdf-Bf11NXjY-DUwuSlsF.js → downloadPdf-BF8--IAB-lQpphdcn.js} +1 -1
  212. package/dist/assets/{empty-BQQX0XD1.js → empty-DPq645sP.js} +1 -1
  213. package/dist/assets/{empty-DJIJO66a.js → empty-DTh_Ij2M.js} +1 -1
  214. package/dist/assets/{epic-C6ygjjdM.js → epic-96Yt9tV8.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BWCTqneo.js → gift-box-Cmt9OgIZ-Bn-y1hvl.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C8GXOUxr.js → graphic-no-data-l-DU4J8fDt-a_iKaRv1.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js → graphic-no-data-net-burn-l-CzmycA0m-C9dTXMJH.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BCnezDN8.js → handshake-BPg58FML-DqlUuE7u.js} +1 -1
  219. package/dist/assets/{index-smQbM7l5.js → index-BTSZX0gU.js} +1 -1
  220. package/dist/assets/{index-BzA0Xv0P.js → index-Bs6vtzGR.js} +1 -1
  221. package/dist/assets/{index-WEj6FS32.js → index-D4DdpT1f.js} +7 -7
  222. package/dist/assets/{index-rikpsdq-.js → index-DQJyhSzl.js} +1 -1
  223. package/dist/assets/{index-CQs92n2L.js → index-DeNk0spl.js} +1 -1
  224. package/dist/assets/{index-DAj0zPwk.js → index-DfNzwEf5.js} +1 -1
  225. package/dist/assets/{index-DtRGsySN.js → index-DzUx431K.js} +1 -1
  226. package/dist/assets/{lexical-Dp1JhPKz.js → lexical-D6mU3oV8.js} +1 -1
  227. package/dist/assets/{liveblocks-CrODURpx.js → liveblocks-DXNKZvWw.js} +1 -1
  228. package/dist/assets/{lottie-hIwSKdQS.js → lottie-BGCmjFH9.js} +1 -1
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js → mapLoadingInProgressToTreeNode-4ruPPd2Y-CXJTu75z.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js → mapSectionWithAcOnlyToTreeNode-B77EOrVX-heqCPLrc.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-DbVBrfUp-DCvPMvjH.js +1 -0
  232. package/dist/assets/{mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js → mapTimeframeBalancesToTreeNode-DA60r528-sldeiWG8.js} +1 -1
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-IkKV62Jb-JqYi47LI.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BPtN2Cj0-BxEY8256.js} +1 -1
  235. package/dist/assets/{mui-BTtN6lbG.js → mui-CooLgaJO.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-vL4oE1Hd.js → page-detail-CWX5S47F-D0SYshoo.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-CzTG_UVX.js → radio-default-CiSgisfh-aKay5Aup.js} +1 -1
  238. package/dist/assets/{react-DTawl0rf.js → react-B3adtom7.js} +1 -1
  239. package/dist/assets/{react-RUf-G1wy.js → react-BBgs2Til.js} +1 -1
  240. package/dist/assets/{react-dGc0O2tO.js → react-BOYN8kx1.js} +1 -1
  241. package/dist/assets/{react-D8h_J9ua.js → react-CEyM_Slo.js} +1 -1
  242. package/dist/assets/{react-yNxKnTJa.js → react-CrELMTJL.js} +1 -1
  243. package/dist/assets/{react-BZDhaeWn.js → react-DHuOianZ.js} +1 -1
  244. package/dist/assets/{react-FdUpWGdd.js → react-MtwZeeNV.js} +2 -2
  245. package/dist/assets/{react-CZT8R2xg.js → react-_XrYtXDi.js} +1 -1
  246. package/dist/assets/{recharts-BfU_srYC.js → recharts-DHPcYqKb.js} +1 -1
  247. package/dist/assets/{sentry-B0WgNUxa.js → sentry-Dlcq8VjX.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-Z1Xg2OMK.js → shield-DOlUxcFf-D8h0VGFI.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-C8uaUoxX-n7EZ1iwJ.js +1 -0
  250. package/dist/assets/{toChartData-Bl-lEYbQ-Cv_10vbn.js → toChartData-CTG-a8va-B2RC0Eyi.js} +1 -1
  251. package/dist/assets/{uploadAttachment-B_0cN84g-C7pQHANb.js → uploadAttachment-n14_2p7o-3Yaegacg.js} +1 -1
  252. package/dist/assets/{uploadReceipts-DJRtId-4-B1jpX457.js → uploadReceipts-DJRtId-4-D8fSq3Gx.js} +1 -1
  253. package/dist/assets/{url-D-l_68oE.js → url-CfIahVCp.js} +1 -1
  254. package/dist/assets/{url-CHEcUoer.js → url-d3WjAGv6.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-BysG3lqG.js → useLongPress-GCK2COYQ-B0lPuhDh.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-ZROsAmzr.js → usp-line-BBd1wKwW-CZ22OQAj.js} +1 -1
  257. package/dist/assets/{utils-DZQMbqmw.js → utils-CXbV7y1T.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-DnAAAEmj.js → zeni-epic-state-pmiItBju.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +0 -18
  262. package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +0 -1
  263. package/dist/assets/CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js +0 -202
  264. package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +0 -1
  265. package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +0 -1
  266. package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +0 -1
  267. package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +0 -21
  268. package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +0 -58
  269. package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +0 -1
  270. package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +0 -1
  271. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +0 -1
  272. package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +0 -1
  274. package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,aP as W,T as We,o as i,ai as k,F as L,p as w,bJ as Ee,y,ff as X,a as R,u as p,b4 as ne,bN as Le,aT as Me,aw as _e,fS as Ge,h0 as Ue,r as Je,al as B,a$ as Xe,jo as Ze,k0 as qe,bg as Qe,eL as et,d7 as tt,fP as it,kV as ot,iZ as Be,i_ as Ae,cs as rt,iQ as at,iR as nt,kW as st,kb as lt,am as E,bQ as dt,cy as le,iY as ct,cB as ht}from"./index-WEj6FS32.js";import{a as f,P as pt}from"./sentry-B0WgNUxa.js";import{n as o,c as de}from"./mui-BTtN6lbG.js";import{bL as _,c4 as xt}from"./zeni-epic-state-DnAAAEmj.js";import{s as gt}from"./commonDimensions-6BcP8EhU-CPpjZ-C4.js";import{g as ce}from"./BoxItem-Cr0Y9YBV-C2AawtqJ.js";import{o as mt}from"./shield-DOlUxcFf-Z1Xg2OMK.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-BfU_srYC.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="bc012b76-1eb4-47b0-86af-793c61318999",e._sentryDebugIdIdentifier="sentry-dbid-bc012b76-1eb4-47b0-86af-793c61318999")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Be,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,aP as W,T as We,o as i,ai as k,F as L,p as w,bJ as Ee,y as f,ff as X,a as R,u as p,b4 as ne,bN as Le,aT as Me,aw as _e,fS as Ge,h0 as Ue,r as Je,al as B,a$ as Xe,jo as Ze,k0 as qe,bg as Qe,eL as et,d7 as tt,fP as it,kV as ot,iZ as Be,i_ as Ae,cs as rt,iQ as at,iR as nt,kW as st,kb as lt,am as E,bQ as dt,cy as le,iY as ct,cB as ht}from"./index-D4DdpT1f.js";import{a as y,P as pt}from"./sentry-Dlcq8VjX.js";import{n as o,c as de}from"./mui-CooLgaJO.js";import{bL as _,c4 as xt}from"./zeni-epic-state-pmiItBju.js";import{s as gt}from"./commonDimensions-Pu55v5lV-fIykEmeD.js";import{g as ce}from"./BoxItem-B0bHU_KA-CwJAi_XO.js";import{o as mt}from"./shield-DOlUxcFf-D8h0VGFI.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-DHPcYqKb.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b7f5defe-3f74-46ea-ac67-b2887ef2cd27",e._sentryDebugIdIdentifier="sentry-dbid-b7f5defe-3f74-46ea-ac67-b2887ef2cd27")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ft={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new f(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new f(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new f(80,100,150,180,200)},oe=()=>[ft,yt,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new f(p[0],p[4]),headerLastColumnRightPadding:new f(p[3],p[11]),headerLastColumnBottomPadding:new f(p[0],p[4]),headerLastColumnLeftPadding:new f(p[3],p[11]),headerHeight:new f(Be,Ae),sortIconSize:new f(p[2],p[2]),headerPaddingTop:new f(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=y.useState(oe());y.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -59,7 +59,7 @@ import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
59
59
  align-items: center;
60
60
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
61
61
  ${e=>e.headerdata.sortOrder==="ascending"?`padding-top: ${S.headerPaddingTop.valuePx(e.windowSize)}`:"padding-bottom: 2px"}
62
- `,ye=o.div`
62
+ `,fe=o.div`
63
63
  width: ${({windowSize:e})=>S.sortIconSize.valuePx(e)};
64
64
  height: ${({windowSize:e})=>S.sortIconSize.valuePx(e)};
65
65
  cursor: pointer;
@@ -95,7 +95,7 @@ import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
95
95
  cursor: pointer;
96
96
  gap: 5px;
97
97
  color: ${e=>e.theme.colors.primary};
98
- `,G={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function Bt({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(_t,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Zt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(qt,{children:t.jsx(Qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(At,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:$,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Nt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Yt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const At=o.div`
98
+ `,G={containerPaddingLeft:new f(p[3],p[4]),containerPaddingRight:new f(p[2],p[3]),containerPaddingTop:new f(p[2],p[3]),containerPaddingBottom:new f(p[2],p[3])};function Bt({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(_t,{children:[t.jsx(ye,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Zt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(qt,{children:t.jsx(Qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(At,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:$,children:[t.jsx(ye,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Nt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Yt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const At=o.div`
99
99
  width: 100%;
100
100
  display: flex;
101
101
  background-color: ${e=>e.theme.colors.grey5};
@@ -131,7 +131,7 @@ import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
131
131
  min-width: ${e=>e.width.valuePx(e.windowSize)};
132
132
  padding-right: ${i.sp2};
133
133
  box-sizing: border-box;
134
- `,fe=o(lt)`
134
+ `,ye=o(lt)`
135
135
  width: ${i.sp4};
136
136
  height: ${i.sp4};
137
137
  `,we=o(B)`
@@ -246,7 +246,7 @@ import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
246
246
  `,ei=o.div`
247
247
  display: flex;
248
248
  align-items: flex-start;
249
- `,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Be:Ae,$=f.useMemo(()=>e.length*d+x,[e.length,d,x]);f.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Re,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Oe,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Oe=f.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Re,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Oe.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(Bt,{data:e,boxType:"roundedBox"},e.id),li=o.div`
249
+ `,re={lastListItemHeight:new f(200,128),rowWrapperMarginLeftRight:new f(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=y.useRef(null),d=y.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Be:Ae,$=y.useMemo(()=>e.length*d+x,[e.length,d,x]);y.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Re,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Oe,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Oe=y.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Re,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Oe.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(Bt,{data:e,boxType:"roundedBox"},e.id),li=o.div`
250
250
  margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
251
251
  display: block;
252
252
  height: 100%;
@@ -293,7 +293,7 @@ import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
293
293
  position: relative;
294
294
  width: auto;
295
295
  height: 100%;
296
- `,Re=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>xt(e??"",ui),U=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:U.editPortfolio},{value:"taxLetter",label:U.taxLetter},{value:"statements",label:U.statements},{value:"settings",label:U.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=_e(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ge(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(Ue,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
296
+ `,Re=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],fi=e=>xt(e??"",ui),U=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:U.editPortfolio},{value:"taxLetter",label:U.taxLetter},{value:"statements",label:U.statements},{value:"settings",label:U.settings}],yi=({onOptionSelection:e,onTransferClick:r})=>{const n=_e(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ge(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(Ue,{entity:"zeni_treasury",onOptionSelection:g=>{const x=fi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
297
297
  display: flex;
298
298
  flex-direction: row;
299
299
  align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
@@ -311,7 +311,7 @@ import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
311
311
  justify-content: center;
312
312
  align-items: center;
313
313
  background-color: ${e=>e.theme.colors.grey4};
314
- `,P={tickLabelText:new R("extraSmallRegular","smallRegular"),balanceIntegerStyles:new R("h5Regular","h3Regular"),integerStyles:new R("largeRegular","h6Regular"),decimalStyles:new R("standardRegular","standardRegular"),fundSummaryStyles:new R("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new R("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Z,common:bi}=L.getLocalizedStrings(),Ie=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=_(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const A=D/6;let O;return A<.5?O=0:A<.6?O=.9*((A-.5)/.09999999999999998):O=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:O}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=_(m[0].payload?.date??"").format(Z.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const O=A?_(D).format(Z.visual.MMMformat):_(D).format(Z.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(_i,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Ie.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(qi,{children:[t.jsx(Zi,{children:v.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ne,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ye,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Ie,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ni,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Bi,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Ai,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ne,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ye,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," Liquidity"]}),t.jsx(N,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.fundSize]}),t.jsx(N,{color:g.fundNameColor,children:Ze(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.maturity]}),t.jsxs(N,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.expenseRatio]}),t.jsxs(N,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.riskRating]}),t.jsx(N,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.composition]}),t.jsx(N,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
314
+ `,P={tickLabelText:new R("extraSmallRegular","smallRegular"),balanceIntegerStyles:new R("h5Regular","h3Regular"),integerStyles:new R("largeRegular","h6Regular"),decimalStyles:new R("standardRegular","standardRegular"),fundSummaryStyles:new R("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new R("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new f(p[3],p[8]),accountDetailHeaderPaddingBottom:new f(p[3],p[6]),accountDetailHeaderPaddingLeft:new f(p[3],p[8]),accountDetailHeaderPaddingTop:new f(p[3],p[6]),accountDetailContentMarginTop:new f(p[4],p[4]),areaChartHeight:new f(114,209),accountDetailHeaderGap:new f(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Z,common:bi}=L.getLocalizedStrings(),Ie=y.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=y.useState(),a=y.useMemo(()=>{const s=_(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const A=D/6;let O;return A<.5?O=0:A<.6?O=.9*((A-.5)/.09999999999999998):O=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:O}})},[]),u=y.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=y.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=y.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=_(m[0].payload?.date??"").format(Z.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=y.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const O=A?_(D).format(Z.visual.MMMformat):_(D).format(Z.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,r]),j=y.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(_i,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=y.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Ie.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=y.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(qi,{children:[t.jsx(Zi,{children:v.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ne,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(fo,{}):t.jsx(Ye,{})})})},[j,d]),s=t.jsx(yi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Ie,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ni,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=y.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=y.useState(!1);return y.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Bi,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Ai,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=y.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ne,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ye,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(yo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," Liquidity"]}),t.jsx(N,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.fundSize]}),t.jsx(N,{color:g.fundNameColor,children:Ze(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.maturity]}),t.jsxs(N,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.expenseRatio]}),t.jsxs(N,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.riskRating]}),t.jsx(N,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.composition]}),t.jsx(N,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
315
315
  display: flex;
316
316
  flex-direction: column;
317
317
  align-items: center;
@@ -618,11 +618,11 @@ import{J as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
618
618
  color: ${e=>e.theme.colors.primary};
619
619
  }
620
620
  }
621
- `,yo=o(mt)`
621
+ `,fo=o(mt)`
622
622
  width: ${i.sp3};
623
623
  height: ${i.sp3};
624
624
  color: ${w.success};
625
- `,fo=o(B)`
625
+ `,yo=o(B)`
626
626
  padding: ${i.sp3} ${i.sp4} 0 ${i.sp4};
627
627
  color: ${w.heroLight};
628
628
  `,wo=o.div`
@@ -1,4 +1,4 @@
1
- import{g as ce,J as V,aw as $e,a8 as fe,aQ as ye,V as r,bB as be,fr as ke,b4 as je,o as t,jo as Se,bS as ze,ai as k,r as Q,aP as Z,F,a as $,aq as A,p as a,y as z,al as R,d7 as ve,bU as Le,f as Me,am as Pe,f9 as Be,u as h,dM as Ee,bf as Ie,M as Te,x as De,b as ee,d2 as _e}from"./index-WEj6FS32.js";import{a as s,P as We}from"./sentry-B0WgNUxa.js";import{n as i}from"./mui-BTtN6lbG.js";import{Gx as Re}from"./zeni-epic-state-DnAAAEmj.js";import{I as Ge,N as He}from"./VideoPlayer-Dy6rImBJ-QOYygi-i.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-CRwly3T1.js";import{o as Ve}from"./shield-DOlUxcFf-Z1Xg2OMK.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="781a1d3e-2ae1-43b3-8fcc-1cea3a700f0c",e._sentryDebugIdIdentifier="sentry-dbid-781a1d3e-2ae1-43b3-8fcc-1cea3a700f0c")}catch{}})();const Fe=({isOpen:e,onClose:g})=>{const d=V(),C=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ae=i.div`
1
+ import{g as ce,J as V,aw as $e,a8 as fe,aQ as ye,V as r,bB as be,fr as ke,b4 as je,o as t,jo as Se,bS as ze,ai as k,r as Q,aP as Z,F,a as $,aq as A,p as a,y as z,al as R,d7 as ve,bU as Le,f as Me,am as Pe,f9 as Be,u as h,dM as Ee,bf as Ie,M as Te,x as De,b as ee,d2 as _e}from"./index-D4DdpT1f.js";import{a as s,P as We}from"./sentry-Dlcq8VjX.js";import{n as i}from"./mui-CooLgaJO.js";import{Gx as Re}from"./zeni-epic-state-pmiItBju.js";import{I as Ge,N as He}from"./VideoPlayer-Cfh9VY-B-CLXI1KSM.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-Ccdjr6D8.js";import{o as Ve}from"./shield-DOlUxcFf-D8h0VGFI.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="315135ab-840d-49df-bdda-cea9efcedf42",e._sentryDebugIdIdentifier="sentry-dbid-315135ab-840d-49df-bdda-cea9efcedf42")}catch{}})();const Fe=({isOpen:e,onClose:g})=>{const d=V(),C=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ae=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,5 +1,5 @@
1
- import{g as v,J as j,V as t,bB as I,b3 as z,o as r,F as P,p as m,cs as C,y as T,u as p,al as B}from"./index-WEj6FS32.js";import{a as h}from"./sentry-B0WgNUxa.js";import{n as o}from"./mui-BTtN6lbG.js";import{$ as D}from"./BoxItem-Cr0Y9YBV-C2AawtqJ.js";import{o as E}from"./commonDimensions-6BcP8EhU-CPpjZ-C4.js";import{O as M}from"./StatementItem-CJShifEl-gXZiawe9.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./downloadPdf-Bf11NXjY-DUwuSlsF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3603352d-bbc6-468f-8891-5739419ad255",e._sentryDebugIdIdentifier="sentry-dbid-3603352d-bbc6-468f-8891-5739419ad255")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,g={listItemMargin:new T(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:w})=>{const f=v(),i=j(),y=h.createRef(),x=h.useRef(),$=s.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:a,style:l})=>{const d=s.statements[a];return $===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:D(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:y,height:a,width:l,innerRef:x,itemKey:d=>d,itemCount:s.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},R=o.div``,u=o.div`
2
- margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
1
+ import{g as v,J as j,V as t,bB as I,b3 as z,o as r,F as P,p as m,cs as C,y as T,u as p,al as B}from"./index-D4DdpT1f.js";import{a as h}from"./sentry-Dlcq8VjX.js";import{n as o}from"./mui-CooLgaJO.js";import{$ as D}from"./BoxItem-B0bHU_KA-CwJAi_XO.js";import{o as E}from"./commonDimensions-Pu55v5lV-fIykEmeD.js";import{O as M}from"./StatementItem-CCXoBC0x-B0aqg_M_.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./zeni-epic-state-pmiItBju.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./downloadPdf-BF8--IAB-lQpphdcn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1079c34c-5657-4a66-874e-d906fd2f859d",e._sentryDebugIdIdentifier="sentry-dbid-1079c34c-5657-4a66-874e-d906fd2f859d")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new T(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:g})=>{const w=v(),i=j(),y=h.createRef(),x=h.useRef(),$=s.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:a,style:l})=>{const d=s.statements[a];return $===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:D(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:y,height:a,width:l,innerRef:x,itemKey:d=>d,itemCount:s.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},R=o.div``,f=o.div`
2
+ margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
5
5
  z-index: 2;
@@ -1,5 +1,5 @@
1
- import{g as j,J as S,V as t,bB as L,b3 as I,o as r,F as z,p,cs as P,y as T,u as h,al as C}from"./index-WEj6FS32.js";import{a as m}from"./sentry-B0WgNUxa.js";import{n as o}from"./mui-BTtN6lbG.js";import{$ as B}from"./BoxItem-Cr0Y9YBV-C2AawtqJ.js";import{o as D}from"./commonDimensions-6BcP8EhU-CPpjZ-C4.js";import{O as E}from"./StatementItem-CJShifEl-gXZiawe9.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./downloadPdf-Bf11NXjY-DUwuSlsF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="62081e12-8b5f-4804-9a0f-4442f91f8b72",e._sentryDebugIdIdentifier="sentry-dbid-62081e12-8b5f-4804-9a0f-4442f91f8b72")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:g})=>{const u=j(),i=S(),w=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>D.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:w,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,f=o.div`
2
- margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
1
+ import{g as j,J as S,V as t,bB as L,b3 as I,o as r,F as z,p,cs as P,y as T,u as h,al as C}from"./index-D4DdpT1f.js";import{a as m}from"./sentry-Dlcq8VjX.js";import{n as o}from"./mui-CooLgaJO.js";import{$ as B}from"./BoxItem-B0bHU_KA-CwJAi_XO.js";import{o as D}from"./commonDimensions-Pu55v5lV-fIykEmeD.js";import{O as E}from"./StatementItem-CCXoBC0x-B0aqg_M_.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./zeni-epic-state-pmiItBju.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./downloadPdf-BF8--IAB-lQpphdcn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="487992bd-48c3-4815-89dd-e38bcc450d78",e._sentryDebugIdIdentifier="sentry-dbid-487992bd-48c3-4815-89dd-e38bcc450d78")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=S(),f=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>D.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,x=o.div`
2
+ margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
5
5
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{F as k,V as n,g as P,b3 as _,b as j,aY as B,aP as Y,o as L,p as I,al as R}from"./index-WEj6FS32.js";import{a as v,P as z}from"./sentry-B0WgNUxa.js";import{F7 as m}from"./zeni-epic-state-DnAAAEmj.js";import{d as A,g as T,p as D,u as O}from"./chartTypes-n3TS0IBf-DRx7aLxA.js";import{n as $}from"./mui-BTtN6lbG.js";import{o as q}from"./toCOABalancesWithID-BzzH0Io4-q6KiTxht.js";import{V as K}from"./toChartData-Bl-lEYbQ-Cv_10vbn.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-BfU_srYC.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="672883a3-bf12-4c69-a12a-d60f2595510f",e._sentryDebugIdIdentifier="sentry-dbid-672883a3-bf12-4c69-a12a-d60f2595510f")}catch{}})();const Q=$.div`
1
+ import{F as k,V as n,g as P,b3 as _,b as j,aY as B,aP as Y,o as L,p as I,al as R}from"./index-D4DdpT1f.js";import{a as v,P as z}from"./sentry-Dlcq8VjX.js";import{F7 as m}from"./zeni-epic-state-pmiItBju.js";import{d as A,g as T,p as D,u as O}from"./chartTypes-BDwrrz9S-CO6_cPbC.js";import{n as $}from"./mui-CooLgaJO.js";import{o as q}from"./toCOABalancesWithID-C8uaUoxX-n7EZ1iwJ.js";import{V as K}from"./toChartData-CTG-a8va-B2RC0Eyi.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-DHPcYqKb.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bda9c530-e822-4ff0-af23-497df58a7134",e._sentryDebugIdIdentifier="sentry-dbid-bda9c530-e822-4ff0-af23-497df58a7134")}catch{}})();const Q=$.div`
2
2
  display: flex;
3
3
  `,Z=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,T as L,o as r,F as R,b3 as E,aP as y,y as c,b7 as I,M as V,u as a,al as q,x as A}from"./index-WEj6FS32.js";import{a as k}from"./sentry-B0WgNUxa.js";import{n}from"./mui-BTtN6lbG.js";import K from"./TrendChart-ClyJQTBF-TLthRW_O.js";import{C as W}from"./NoDataChart-BbyxZE2g-CtN5BYbf.js";import{q as J}from"./InsightsSection-D7g00fg7-Bl1k6KMG.js";import{f as X}from"./TransactionList-BYXPQXN1-C2WkgSOj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="14d20779-abbf-4161-863b-84e0d3378a16",e._sentryDebugIdIdentifier="sentry-dbid-14d20779-abbf-4161-863b-84e0d3378a16")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,T as L,o as r,F as R,b3 as E,aP as y,y as c,b7 as I,M as V,u as a,al as q,x as A}from"./index-D4DdpT1f.js";import{a as k}from"./sentry-Dlcq8VjX.js";import{n}from"./mui-CooLgaJO.js";import K from"./TrendChart-DVp0Led--C8WSZxuE.js";import{C as W}from"./NoDataChart--T7v827k-zXeqjU35.js";import{q as J}from"./InsightsSection-CUk29Ace-BKDJK0uo.js";import{f as X}from"./TransactionList-BuFcrTEd-Pd5NkKsR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="54b0ad89-0ef5-4f46-bb99-4989d99c85a5",e._sentryDebugIdIdentifier="sentry-dbid-54b0ad89-0ef5-4f46-bb99-4989d99c85a5")}catch{}})();const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{g as ie,J as ce,aw as Xe,aQ as en,gG as I,hO as U,a9 as nn,hP as tn,hQ as je,cE as on,V as t,bB as cn,co as sn,cp as an,cq as ln,ac as dn,hR as rn,T as un,aR as pn,fv as mn,F as q,hS as _e,y as u,al as gn,o as a,cI as fe,aV as W,gL as te,hT as oe,hU as Z,hV as xn,u as r,a as ye,p as Ae,g3 as Ve,ai as $e,bi as hn}from"./index-WEj6FS32.js";import{a as Y}from"./sentry-B0WgNUxa.js";import{n as s}from"./mui-BTtN6lbG.js";import{FU as Te,Fy as bn,Fz as wn,FV as fn}from"./zeni-epic-state-DnAAAEmj.js";import{h as yn}from"./VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7dc3a16f-ac4e-48e0-b394-bd2e557f5892",e._sentryDebugIdIdentifier="sentry-dbid-7dc3a16f-ac4e-48e0-b394-bd2e557f5892")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
1
+ import{g as ie,J as ce,aw as Xe,aQ as en,gG as I,hO as U,a9 as nn,hP as tn,hQ as je,cE as on,V as t,bB as cn,co as sn,cp as an,cq as ln,ac as dn,hR as rn,T as un,aR as pn,fv as mn,F as q,hS as _e,y as u,al as gn,o as a,cI as ye,aV as W,gL as te,hT as oe,hU as Z,hV as xn,u as r,a as fe,p as Ae,g3 as Ve,ai as $e,bi as hn}from"./index-D4DdpT1f.js";import{a as Y}from"./sentry-Dlcq8VjX.js";import{n as s}from"./mui-CooLgaJO.js";import{FU as Te,Fy as bn,Fz as wn,FV as yn}from"./zeni-epic-state-pmiItBju.js";import{h as fn}from"./VendorsAccountsSection-Bd1rg5Tw-DRUi6jIP.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="75918a27-ab93-44d0-940d-ad32863caa02",e._sentryDebugIdIdentifier="sentry-dbid-75918a27-ab93-44d0-940d-ad32863caa02")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new fe("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -65,7 +65,7 @@ import{g as ie,J as ce,aw as Xe,aQ as en,gG as I,hO as U,a9 as nn,hP as tn,hQ as
65
65
  background-color: ${e=>e.theme.colors.grey5};
66
66
  border: 1px solid ${e=>e.theme.colors.grey3};
67
67
  border-radius: ${a.sp2};
68
- `,K=(e,n)=>`${e}.${n}`;function On({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=q.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),O=o.billPayRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=fe(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(An,{windowSize:l,children:[t.jsx(In,{windowSize:l,children:c.billsSection.heading}),t.jsxs($n,{windowSize:l,children:[t.jsxs(Sn,{windowSize:l,children:[t.jsx(vn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Ln,{})}),t.jsxs(Rn,{children:[t.jsx(Cn,{windowSize:l,children:c.billsSection.title}),t.jsx(Pn,{children:c.billsSection.subTitle})]})]}),t.jsx(Mn,{children:t.jsx(zn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.billsSection.bankChargesAndFeesLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.billPayRecommendation!=null,name:K(e,"billPayAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.billPayAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.billPayRecommendation!=null?{tooltipProps:{text:k},label:{label:o.billPayRecommendation?.account?.accountName??q.getLocalizedStrings().common.strings.empty},checkBoxField:{name:K(e,"isRecommendedBillPayAccountChecked"),defaultChecked:d(K(e,"isRecommendedBillPayAccountChecked"))}}:void 0},K(e,"billPayAccount"))})})]})]})}const P={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new ye("standardMedium","largeMedium")},kn=s.div`
68
+ `,K=(e,n)=>`${e}.${n}`;function On({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=q.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),O=o.billPayRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=ye(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(An,{windowSize:l,children:[t.jsx(In,{windowSize:l,children:c.billsSection.heading}),t.jsxs($n,{windowSize:l,children:[t.jsxs(Sn,{windowSize:l,children:[t.jsx(vn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Ln,{})}),t.jsxs(Rn,{children:[t.jsx(Cn,{windowSize:l,children:c.billsSection.title}),t.jsx(Pn,{children:c.billsSection.subTitle})]})]}),t.jsx(Mn,{children:t.jsx(zn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.billsSection.bankChargesAndFeesLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.billPayRecommendation!=null,name:K(e,"billPayAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.billPayAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.billPayRecommendation!=null?{tooltipProps:{text:k},label:{label:o.billPayRecommendation?.account?.accountName??q.getLocalizedStrings().common.strings.empty},checkBoxField:{name:K(e,"isRecommendedBillPayAccountChecked"),defaultChecked:d(K(e,"isRecommendedBillPayAccountChecked"))}}:void 0},K(e,"billPayAccount"))})})]})]})}const P={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},kn=s.div`
69
69
  display: flex;
70
70
  flex-direction: column;
71
71
  row-gap: ${e=>P.rowGap.valuePx(e.windowSize)};
@@ -132,7 +132,7 @@ import{g as ie,J as ce,aw as Xe,aQ as en,gG as I,hO as U,a9 as nn,hP as tn,hQ as
132
132
  background-color: ${e=>e.theme.colors.grey5};
133
133
  border: 1px solid ${e=>e.theme.colors.grey3};
134
134
  border-radius: ${a.sp2};
135
- `,X=(e,n)=>`${e}.${n}`;function Wn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=q.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=o.reimbursementsRecommendation!=null?[o.reimbursementsRecommendation]:[],R=I(o.reimbursementsAccountHierarchy,z,"Accounts"),O=o.reimbursementsRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),$=o.reimbursementsAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=fe(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(kn,{windowSize:l,children:[t.jsx(Tn,{windowSize:l,children:c.reimbursementsSection.heading}),t.jsxs(En,{windowSize:l,children:[t.jsxs(jn,{windowSize:l,children:[t.jsx(Fn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Vn,{})}),t.jsxs(Dn,{children:[t.jsx(Bn,{windowSize:l,children:c.reimbursementsSection.title}),t.jsx(_n,{children:c.reimbursementsSection.subTitle})]})]}),t.jsx(Hn,{children:t.jsx(qn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.reimbursementsSection.mileageLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.reimbursementsRecommendation!=null,name:X(e,"reimbursementsAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.reimbursementsAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.reimbursementsRecommendation!=null?{tooltipProps:{text:k},label:{label:o.reimbursementsRecommendation?.account?.accountName??q.getLocalizedStrings().common.strings.empty},checkBoxField:{name:X(e,"isRecommendedReimbursementsAccountChecked"),defaultChecked:d(X(e,"isRecommendedReimbursementsAccountChecked"))}}:void 0},X(e,"reimbursementsAccount"))})})]})]})}const L={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},We={title:new ye("standardMedium","largeMedium")},Gn=s.div`
135
+ `,X=(e,n)=>`${e}.${n}`;function Wn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=q.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=o.reimbursementsRecommendation!=null?[o.reimbursementsRecommendation]:[],R=I(o.reimbursementsAccountHierarchy,z,"Accounts"),O=o.reimbursementsRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),$=o.reimbursementsAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=ye(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(kn,{windowSize:l,children:[t.jsx(Tn,{windowSize:l,children:c.reimbursementsSection.heading}),t.jsxs(En,{windowSize:l,children:[t.jsxs(jn,{windowSize:l,children:[t.jsx(Fn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Vn,{})}),t.jsxs(Dn,{children:[t.jsx(Bn,{windowSize:l,children:c.reimbursementsSection.title}),t.jsx(_n,{children:c.reimbursementsSection.subTitle})]})]}),t.jsx(Hn,{children:t.jsx(qn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.reimbursementsSection.mileageLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.reimbursementsRecommendation!=null,name:X(e,"reimbursementsAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.reimbursementsAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.reimbursementsRecommendation!=null?{tooltipProps:{text:k},label:{label:o.reimbursementsRecommendation?.account?.accountName??q.getLocalizedStrings().common.strings.empty},checkBoxField:{name:X(e,"isRecommendedReimbursementsAccountChecked"),defaultChecked:d(X(e,"isRecommendedReimbursementsAccountChecked"))}}:void 0},X(e,"reimbursementsAccount"))})})]})]})}const L={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},We={title:new fe("standardMedium","largeMedium")},Gn=s.div`
136
136
  display: flex;
137
137
  flex-direction: column;
138
138
  row-gap: ${e=>L.rowGap.valuePx(e.windowSize)};
@@ -199,7 +199,7 @@ import{g as ie,J as ce,aw as Xe,aQ as en,gG as I,hO as U,a9 as nn,hP as tn,hQ as
199
199
  background-color: ${e=>e.theme.colors.grey5};
200
200
  border: 1px solid ${e=>e.theme.colors.grey3};
201
201
  border-radius: ${a.sp2};
202
- `,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=q.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),O=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],k=I(o.expenseAccountHierarchy,O),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:y=>({...y,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:B}=fe(),V=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(Gn,{windowSize:l,children:[t.jsx(Jn,{windowSize:l,children:c.uncategorizedSection.heading}),t.jsxs(Nn,{windowSize:l,children:[t.jsxs(Un,{windowSize:l,children:[t.jsx(Zn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:t.jsx(Xn,{})}),t.jsxs(Qn,{children:[t.jsx(Yn,{windowSize:l,children:c.uncategorizedSection.title}),t.jsx(Kn,{children:c.uncategorizedSection.subTitle})]})]}),t.jsx(et,{children:t.jsxs(nt,{windowSize:l,children:[t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.incomeLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.incomeRecommendation!=null,name:D(e,"incomeAccount"),placeholder:c.placeholder.incomePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.incomeAccountList),defaultValue:{selectedOption:h?.qboId,allOptions:R},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.incomeRecommendation!=null?{tooltipProps:{text:S},label:{label:o.incomeRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedIncomeAccountChecked"),defaultChecked:B(D(e,"isRecommendedIncomeAccountChecked"))}}:void 0},D(e,"incomeAccount")),t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.expenseLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.expenseRecommendation!=null,name:D(e,"expenseAccount"),placeholder:c.placeholder.expensePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.expenseAccountList),defaultValue:{selectedOption:E?.qboId,allOptions:k},style:{borderBottom:`1px solid ${p.colors.grey3}`},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.expenseRecommendation!=null?{tooltipProps:{text:v},label:{label:o.expenseRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedExpenseAccountChecked"),defaultChecked:B(D(e,"isRecommendedExpenseAccountChecked"))}}:void 0},D(e,"expenseAccount"))]})})]})]})}const J={titleWidth:new u(343,580,826,1048),setupDetailsRowGap:new u(12,r[5],r[5]),sectionsRowGap:new u(12,r[7],r[7]),subTitlePaddingTop:new u(12,r[3]),subTitlePaddingBottom:new u(r[3],r[3])},{common:m,uncategorizedAccountsMapping:_}=q.getLocalizedStrings(),De="uncategorizedAccountsMappingPage",H="uncategorizedAccountSection",x="filing1099Section",ee="billsAccountSection",ne="reimbursementsAccountSection",Ge="vendorsAccountSection",ot=s.div`
202
+ `,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=q.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),O=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],k=I(o.expenseAccountHierarchy,O),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(f=>f.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(f=>f.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:f=>({...f,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:B}=ye(),V=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(Gn,{windowSize:l,children:[t.jsx(Jn,{windowSize:l,children:c.uncategorizedSection.heading}),t.jsxs(Nn,{windowSize:l,children:[t.jsxs(Un,{windowSize:l,children:[t.jsx(Zn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:t.jsx(Xn,{})}),t.jsxs(Qn,{children:[t.jsx(Yn,{windowSize:l,children:c.uncategorizedSection.title}),t.jsx(Kn,{children:c.uncategorizedSection.subTitle})]})]}),t.jsx(et,{children:t.jsxs(nt,{windowSize:l,children:[t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.incomeLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.incomeRecommendation!=null,name:D(e,"incomeAccount"),placeholder:c.placeholder.incomePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:f=>oe(f,o.incomeAccountList),defaultValue:{selectedOption:h?.qboId,allOptions:R},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.incomeRecommendation!=null?{tooltipProps:{text:S},label:{label:o.incomeRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedIncomeAccountChecked"),defaultChecked:B(D(e,"isRecommendedIncomeAccountChecked"))}}:void 0},D(e,"incomeAccount")),t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.expenseLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.expenseRecommendation!=null,name:D(e,"expenseAccount"),placeholder:c.placeholder.expensePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:f=>oe(f,o.expenseAccountList),defaultValue:{selectedOption:E?.qboId,allOptions:k},style:{borderBottom:`1px solid ${p.colors.grey3}`},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.expenseRecommendation!=null?{tooltipProps:{text:v},label:{label:o.expenseRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedExpenseAccountChecked"),defaultChecked:B(D(e,"isRecommendedExpenseAccountChecked"))}}:void 0},D(e,"expenseAccount"))]})})]})]})}const J={titleWidth:new u(343,580,826,1048),setupDetailsRowGap:new u(12,r[5],r[5]),sectionsRowGap:new u(12,r[7],r[7]),subTitlePaddingTop:new u(12,r[3]),subTitlePaddingBottom:new u(r[3],r[3])},{common:m,uncategorizedAccountsMapping:_}=q.getLocalizedStrings(),De="uncategorizedAccountsMappingPage",H="uncategorizedAccountSection",x="filing1099Section",ee="billsAccountSection",ne="reimbursementsAccountSection",Ge="vendorsAccountSection",ot=s.div`
203
203
  display: flex;
204
204
  height: 100vh;
205
205
  width: 100%;
@@ -241,4 +241,4 @@ import{g as ie,J as ce,aw as Xe,aQ as en,gG as I,hO as U,a9 as nn,hP as tn,hQ as
241
241
  padding-top: ${e=>J.subTitlePaddingTop.valuePx(e.windowSize)};
242
242
  padding-bottom: ${e=>J.subTitlePaddingBottom.valuePx(e.windowSize)};
243
243
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
244
- `;function yt({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:O}){const k=ie(),$=ce(),S=Xe(),[d,v]=Y.useState(!1),h=en(n.saveState.fetchState),E=Y.useRef(null),{incomeRecommendation:F,expenseRecommendation:B,billPayRecommendation:V,reimbursementsRecommendation:y,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=B!=null?[B]:[],ue=V!=null?[V]:[],pe=y!=null?[y]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),G=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,_.filing1099Section.all1099Types),Ne=U(n.boxTypesList.int,_.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,_.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,_.filing1099Section.allBoxes),we={int:Ne,misc:Ue,nec:Je},w=nn({mode:"all",defaultValues:Be(n,i,G,he,be,Se,Ie,Re,ve,Ce,Pe,Le,we),resetOptions:{keepDirtyValues:!0},values:Be(n,i,G,he,be,Se,Ie,Re,ve,Ce,Pe,Le,we)}),Qe=w.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,f=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,N=[];j.forEach((Q,T)=>{if(!f){const ze=Q.accountId?.selectedOption,Oe=Q.expenseType?.selectedOption,ke=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(w.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),N.push(`${T}.accountId`)),(Oe==null||Oe==="")&&(w.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),N.push(`${T}.expenseType`)),(ke==null||ke==="")&&(w.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),N.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(w.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),N.push(`${T}.boxType`))}}),N.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||f)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[H].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;w.setValue(`${H}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[H].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;w.setValue(`${H}.expenseAccount`,{selectedOption:g,allOptions:G},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;w.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;w.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(f=>!isNaN(Number(f)));if(g!==void 0){const f=parseInt(g,10),j=A[x].expenseCategory1099[f];j.accountId?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.accountId`),j.expenseType?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.expenseType`),j.type1099?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.type1099`),j.boxType?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(f=>!isNaN(Number(f)));if(g!=null){const f=parseInt(g,10),j=A[x].expenseCategory1099[f].type1099?.selectedOption;w.setValue(`${x}.expenseCategory1099.${f}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(j??m.strings.empty,we)},{shouldValidate:!0})}}M(A)};Y.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),Y.useEffect(()=>{const b=w.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ye=n.fetchState!=="Completed",Ke={onOkClick:()=>{v(!1),R?.(),w.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:k.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:O,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Ke,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:_.subTitle}),Ye===!1?t.jsx(dn,{...w,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:H,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(On,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,wn(e,S.loggedInUserRoleMap)?t.jsx(Wn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(yn,{sectionId:Ge,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&fn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,Be=(e,n,o,l,p,c,M,z,R,O,k,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,B=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,y=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(G=>G.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:O},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:k},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[H]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:B,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:y},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ge]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yt as default};
244
+ `;function ft({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:O}){const k=ie(),$=ce(),S=Xe(),[d,v]=Y.useState(!1),h=en(n.saveState.fetchState),E=Y.useRef(null),{incomeRecommendation:F,expenseRecommendation:B,billPayRecommendation:V,reimbursementsRecommendation:f,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=B!=null?[B]:[],ue=V!=null?[V]:[],pe=f!=null?[f]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),G=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,_.filing1099Section.all1099Types),Ne=U(n.boxTypesList.int,_.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,_.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,_.filing1099Section.allBoxes),we={int:Ne,misc:Ue,nec:Je},w=nn({mode:"all",defaultValues:Be(n,i,G,he,be,Se,Ie,Re,ve,Ce,Pe,Le,we),resetOptions:{keepDirtyValues:!0},values:Be(n,i,G,he,be,Se,Ie,Re,ve,Ce,Pe,Le,we)}),Qe=w.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,y=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,N=[];j.forEach((Q,T)=>{if(!y){const ze=Q.accountId?.selectedOption,Oe=Q.expenseType?.selectedOption,ke=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(w.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),N.push(`${T}.accountId`)),(Oe==null||Oe==="")&&(w.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),N.push(`${T}.expenseType`)),(ke==null||ke==="")&&(w.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),N.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(w.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),N.push(`${T}.boxType`))}}),N.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||y)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[H].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;w.setValue(`${H}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[H].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;w.setValue(`${H}.expenseAccount`,{selectedOption:g,allOptions:G},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;w.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;w.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(y=>!isNaN(Number(y)));if(g!==void 0){const y=parseInt(g,10),j=A[x].expenseCategory1099[y];j.accountId?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${y}.accountId`),j.expenseType?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${y}.expenseType`),j.type1099?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${y}.type1099`),j.boxType?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${y}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(y=>!isNaN(Number(y)));if(g!=null){const y=parseInt(g,10),j=A[x].expenseCategory1099[y].type1099?.selectedOption;w.setValue(`${x}.expenseCategory1099.${y}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(j??m.strings.empty,we)},{shouldValidate:!0})}}M(A)};Y.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),Y.useEffect(()=>{const b=w.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ye=n.fetchState!=="Completed",Ke={onOkClick:()=>{v(!1),R?.(),w.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:k.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:O,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Ke,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:_.subTitle}),Ye===!1?t.jsx(dn,{...w,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:H,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(On,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,wn(e,S.loggedInUserRoleMap)?t.jsx(Wn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(fn,{sectionId:Ge,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&yn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,Be=(e,n,o,l,p,c,M,z,R,O,k,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,B=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,f=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(G=>G.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:O},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:k},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[H]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:B,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:f},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ge]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{ft as default};
@@ -1,4 +1,4 @@
1
- import{aQ as S,V as t,hX as _,hY as W,J as P,F as D,co as L,ae as C,cp as U,cq as N,a9 as R,ac as M,cQ as Q,cL as F,y as g,cM as H,p as z,ao as J,T as G,r as X,o as i,al as Y,u as O,aq as K,ba as Z}from"./index-WEj6FS32.js";import{a as l}from"./sentry-B0WgNUxa.js";import{n as p}from"./mui-BTtN6lbG.js";import{bL as ee,bh as te}from"./zeni-epic-state-DnAAAEmj.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9938e019-0a98-4bf5-9e1b-69fcb40b80a5",e._sentryDebugIdIdentifier="sentry-dbid-9938e019-0a98-4bf5-9e1b-69fcb40b80a5")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(O[3],O[2]),width:new g(300,420,420)},ie=p.div`
1
+ import{aQ as S,V as t,hX as _,hY as W,J as P,F as D,co as L,ae as C,cp as U,cq as N,a9 as R,ac as M,cQ as Q,cL as F,y as g,cM as H,p as z,ao as J,T as G,r as X,o as i,al as Y,u as O,aq as K,ba as Z}from"./index-D4DdpT1f.js";import{a as l}from"./sentry-Dlcq8VjX.js";import{n as p}from"./mui-CooLgaJO.js";import{bL as ee,bh as te}from"./zeni-epic-state-pmiItBju.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9938e019-0a98-4bf5-9e1b-69fcb40b80a5",e._sentryDebugIdIdentifier="sentry-dbid-9938e019-0a98-4bf5-9e1b-69fcb40b80a5")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(O[3],O[2]),width:new g(300,420,420)},ie=p.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{a9 as M,fw as b,aQ as k,J as U,F as A,cE as Q,V as i,ac as W,aP as q,fx as H,o as a,p as J,cR as G,aR as K,y as x,x as X,M as Y,ba as Z,b9 as ee,u as c}from"./index-WEj6FS32.js";import{a as f}from"./sentry-B0WgNUxa.js";import{n as o}from"./mui-BTtN6lbG.js";import{EN as te}from"./zeni-epic-state-DnAAAEmj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="6513b1a6-9606-46c0-9a4c-6b083f3129ef",e._sentryDebugIdIdentifier="sentry-dbid-6513b1a6-9606-46c0-9a4c-6b083f3129ef")}catch{}})();const $={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:F,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:v,onCompanyOfficerUpdated:C}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[N,T]=f.useState(!1),I=k(p.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},O=Object.values(j??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[I,p,n,t?.additionalFiles]);const r=U(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&Q(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:m,authParams:F,hasError:N,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:l=>T(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{a9 as M,fw as b,aQ as k,J as U,F as A,cE as Q,V as i,ac as W,aP as q,fx as H,o as a,p as J,cR as G,aR as K,y as x,x as X,M as Y,ba as Z,b9 as ee,u as c}from"./index-D4DdpT1f.js";import{a as f}from"./sentry-Dlcq8VjX.js";import{n as o}from"./mui-CooLgaJO.js";import{EN as te}from"./zeni-epic-state-pmiItBju.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="6513b1a6-9606-46c0-9a4c-6b083f3129ef",e._sentryDebugIdIdentifier="sentry-dbid-6513b1a6-9606-46c0-9a4c-6b083f3129ef")}catch{}})();const $={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:F,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:v,onCompanyOfficerUpdated:C}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[N,T]=f.useState(!1),I=k(p.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},O=Object.values(j??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[I,p,n,t?.additionalFiles]);const r=U(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&Q(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:m,authParams:F,hasError:N,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:l=>T(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aQ as i,F as w,V as r,hX as x,hY as E}from"./index-WEj6FS32.js";import{a}from"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./mui-BTtN6lbG.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="2bfacb61-dab3-47b5-90d6-574d71455138",t._sentryDebugIdIdentifier="sentry-dbid-2bfacb61-dab3-47b5-90d6-574d71455138")}catch{}})();const G=({vendorViewDetails:t,isExpressPayPage:s,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=a.useState(!1),[y,n]=a.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return a.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),a.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),a.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),a.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!s,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!s,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:s?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{G as default};
1
+ import{aQ as i,F as w,V as r,hX as x,hY as E}from"./index-D4DdpT1f.js";import{a}from"./sentry-Dlcq8VjX.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./zeni-epic-state-pmiItBju.js";import"./mui-CooLgaJO.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="2bfacb61-dab3-47b5-90d6-574d71455138",t._sentryDebugIdIdentifier="sentry-dbid-2bfacb61-dab3-47b5-90d6-574d71455138")}catch{}})();const G=({vendorViewDetails:t,isExpressPayPage:s,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=a.useState(!1),[y,n]=a.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return a.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),a.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),a.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),a.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!s,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!s,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:s?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{G as default};
@@ -0,0 +1 @@
1
+ import{V as f}from"./index-D4DdpT1f.js";import{a as m}from"./sentry-Dlcq8VjX.js";import{f as u}from"./ACHDetailsPage-BlujuoRH-D3z2m9vf.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./zeni-epic-state-pmiItBju.js";import"./mui-CooLgaJO.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./BankAccountWarningSection-tSnRJm3S-Xh7INFxm.js";import"./MagicLinkTitleSection-BKIOmha4-ChpstG69.js";import"./BankAccountSection-CDKiTWgn-CtT_fqlj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="1df8c118-34d6-4685-92e1-d38d2063416d",t._sentryDebugIdIdentifier="sentry-dbid-1df8c118-34d6-4685-92e1-d38d2063416d")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:o,onFetchBankName:d})=>{const{bankAccountCreationState:a,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:p}=t;return m.useEffect(()=>{(e==="vendor"&&a?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&o()},[a,t.editVendorState?.saveStatus.fetchState,e,o]),f.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:a,bankNameByRouting:s,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:o,onFetchBankName:d})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{g as Re,J as ae,y as g,aD as be,cH as yt,a9 as bt,h9 as xe,ha as xt,aV as ft,cE as wt,V as t,bB as $t,ac as Ct,hb as St,hc as ge,u as l,cF as Dt,aR as jt,F as M,hd as Be,he as Ae,hf as Ee,o,bO as S,cI as Tt,gL as fe,hg as Lt,cJ as Vt,cK as kt,cL as It,hh as Ot,gb as Pt,cS as zt,hi as Ft,hj as _t,p as _,dr as Mt,dq as Nt,d0 as Wt,aY as re,b7 as Ue,ai as qe,ds as Ht,a$ as Rt,hk as Bt,hl as At,al as Et,hm as Ut,ch as Ge,hn as qt,a as we,d as Ye}from"./index-WEj6FS32.js";import{a as C}from"./sentry-B0WgNUxa.js";import{n as a,c as Gt}from"./mui-BTtN6lbG.js";import{bi as $e,FQ as Yt,FR as Jt}from"./zeni-epic-state-DnAAAEmj.js";import{k as Kt}from"./SubTabSwitcher-ibTbIxr5-87SzITqK.js";import{f as Qt}from"./TransactionList-BYXPQXN1-C2WkgSOj.js";import{R as Xt}from"./TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js";import{o as Zt,t as es}from"./arrow-south-east-round-PEovUgvH-B9_UwdI_.js";import{W as ts}from"./LabeledAddressValueField-C_KatgTA-ByiPbJgm.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./BoxItem-Cr0Y9YBV-C2AawtqJ.js";import"./commonDimensions-6BcP8EhU-CPpjZ-C4.js";import"./TrendChart-ClyJQTBF-TLthRW_O.js";import"./chartTypes-n3TS0IBf-DRx7aLxA.js";import"./toCOABalancesWithID-BzzH0Io4-q6KiTxht.js";import"./toChartData-Bl-lEYbQ-Cv_10vbn.js";import"./NoDataChart-BbyxZE2g-CtN5BYbf.js";import"./InsightsSection-D7g00fg7-Bl1k6KMG.js";import"./NavigationDots-BdcVrwsL-D_WEvn6f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="dc163414-8ccf-4120-85b2-5bcd6def84cb",e._sentryDebugIdIdentifier="sentry-dbid-dc163414-8ccf-4120-85b2-5bcd6def84cb")}catch{}})();const os=a.div`
1
+ import{g as Re,J as ae,y as g,aD as be,cH as yt,a9 as bt,h9 as xe,ha as xt,aV as ft,cE as wt,V as t,bB as $t,ac as Ct,hb as St,hc as ge,u as l,cF as Dt,aR as jt,F as M,hd as Be,he as Ae,hf as Ee,o,bO as S,cI as Tt,gL as fe,hg as Lt,cJ as Vt,cK as kt,cL as It,hh as Ot,gb as Pt,cS as zt,hi as Ft,hj as _t,p as _,dr as Mt,dq as Nt,d0 as Wt,aY as re,b7 as Ue,ai as qe,ds as Ht,a$ as Rt,hk as Bt,hl as At,al as Et,hm as Ut,ch as Ge,hn as qt,a as we,d as Ye}from"./index-D4DdpT1f.js";import{a as C}from"./sentry-Dlcq8VjX.js";import{n as a,c as Gt}from"./mui-CooLgaJO.js";import{bi as $e,FQ as Yt,FR as Jt}from"./zeni-epic-state-pmiItBju.js";import{k as Kt}from"./SubTabSwitcher-C3216C6m-CK-Qtqj3.js";import{f as Qt}from"./TransactionList-BuFcrTEd-Pd5NkKsR.js";import{R as Xt}from"./TrendWithTransactions-C5Zfe4RN-BXIMOZup.js";import{o as Zt,t as es}from"./arrow-south-east-round-PEovUgvH-yHNADvS4.js";import{W as ts}from"./LabeledAddressValueField-3BEuHr_a-BAXHOnek.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-IohlqRi7-BoY6bhCM.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./BoxItem-B0bHU_KA-CwJAi_XO.js";import"./commonDimensions-Pu55v5lV-fIykEmeD.js";import"./TrendChart-DVp0Led--C8WSZxuE.js";import"./chartTypes-BDwrrz9S-CO6_cPbC.js";import"./toCOABalancesWithID-C8uaUoxX-n7EZ1iwJ.js";import"./toChartData-CTG-a8va-B2RC0Eyi.js";import"./NoDataChart--T7v827k-zXeqjU35.js";import"./InsightsSection-CUk29Ace-BKDJK0uo.js";import"./NavigationDots-Ttv3r4BR-v2ws1TaA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c53399d8-0d3a-431b-8f35-7837b8c1cce0",e._sentryDebugIdIdentifier="sentry-dbid-c53399d8-0d3a-431b-8f35-7837b8c1cce0")}catch{}})();const os=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -0,0 +1 @@
1
+ import{V as f}from"./index-D4DdpT1f.js";import{a as k}from"./sentry-Dlcq8VjX.js";import{w as y}from"./DomesticWireDetailsPage-BKumlfKE-Cqz9aujw.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./zeni-epic-state-pmiItBju.js";import"./mui-CooLgaJO.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./BankAccountSection-CDKiTWgn-CtT_fqlj.js";import"./MagicLinkTitleSection-BKIOmha4-ChpstG69.js";import"./BankAccountWarningSection-tSnRJm3S-Xh7INFxm.js";import"./MailingDetailsSection-BwgWy_VZ-Do6nH1qr.js";import"./LabeledAddressValueField-3BEuHr_a-BAXHOnek.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0be2adee-9366-4e10-9169-a63551303b85",e._sentryDebugIdIdentifier="sentry-dbid-0be2adee-9366-4e10-9169-a63551303b85")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:l,fetchBankNameByRoutingStatus:b}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),f.jsx(y,{bankAccountToCreate:l,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};