@zeniai/web-app-ui 4.14.32-qa → 4.14.33-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 (366) hide show
  1. package/dist/assets/{ACHDetailsPage-BO7lxW8c-qdj5vCzV.js → ACHDetailsPage-DKTSwNyl-CDIFOfdq.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-SF-quMkk-BDmetcXO.js → AIPerformancePage-BzTlSxeg-BuDeNPSy.js} +1 -1
  3. package/dist/assets/AccountInfoPage-CrEEthms-45HqRER7.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DIWh6VaI-Dkx9vqHY.js → AccountInfoPageContent-B0ZnsyrQ-BWluBgsD.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DloPB9vd-rWnzhgoV.js → AccountLockedInfoModal-B6A-nGIq-Dg3p8NEN.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BAgQsFiF-DYdVNdU9.js → AccountReconDetailsDrawerPage-BTmjrd8b-CvWGr60v.js} +5 -5
  7. package/dist/assets/{AccountRow-Dczx5rSu-CLUzbQMi.js → AccountRow-C-Iunc36-CWR0-Stg.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Ywhto4lV-BJMaNuPG.js → AccountsPromoCardStack-D6xN5A4_-DaMwJmFg.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B8srmVT6-B2WNvij_.js → AddAddressForCardDrawer-B6tLAOA_-DSLXld5A.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-k__RW699-Q957aA9Q.js → AddToWalletPage-Bw1oz9Y2-D8T9ntRu.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CTGxpAi-.js → AddressRoutes-Du2U1_wy.js} +1 -1
  12. package/dist/assets/{AddressScreen-DEbSWJPO.js → AddressScreen-Do5YL4Hs.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BuIXjljE-B0fe8lvN.js → AgingReportsPage-BK3PXwnr-sRb89fRD.js} +6 -6
  14. package/dist/assets/{AiCfoScreen-Wz3E2wwr.js → AiCfoScreen-m0mtpC7v.js} +1 -1
  15. package/dist/assets/{AllUserItems-BdgTe4WF-D7yOaoR6.js → AllUserItems-B42zEFpe-Dt3QyoOE.js} +4 -4
  16. package/dist/assets/ApAgingDetailPage-vzW4qF2Y-Be_AyJp4.js +46 -0
  17. package/dist/assets/{AppBasePage-DaTueT-x-BnyuOO9Y.js → AppBasePage-yAU5vW5D-DRiBAUPT.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CtCI6jpp-Bv1hj7Yn.js → AppDrawerContent-nnh5cFf7-LHEC_nmn.js} +3 -3
  19. package/dist/assets/{ApprovalRulesSettingsPage-BVxu4soW-GcaZFHeB.js → ApprovalRulesSettingsPage-B-Y2YjpT-Di6q3Tts.js} +1 -1
  20. package/dist/assets/{ArAgingChart-BK-JyW2V-DrIuZSmt.js → ArAgingChart-CCc6eh55-fg322qhA.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-CvqLu3q8-C5eA5W28.js → ArAgingDetailPage-CYXVPEzK-BXygZJWM.js} +3 -3
  22. package/dist/assets/{AttachmentView-DQdb3v_e-CLQ1CJA9.js → AttachmentView-DqrQDEWc-bqv6C4yz.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D4q45w1q-CtGZeK4N.js → BalancesInsightWithToolTip-D1_dZg5k-Cp5teLbH.js} +8 -8
  24. package/dist/assets/{BankAccountSection-DgbfU8F--CB1estpa.js → BankAccountSection-4vXBKCFA-DKXdSrK9.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-litL0o_Z-Dfhx-kK3.js → BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-bAj9uB9k-LyDvOxOa.js → BankConnectionsSettingsPage-z52fh-wH-8ecSlDkf.js} +9 -9
  27. package/dist/assets/{BillDetailPage-CiHal44n-tq0YH1aX.js → BillDetailPage-DRpctLxu-LXI19q8V.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-ClA5NSEJ.js → BillPayApprovalRoutes-KGuDCnTY.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-D3VWhKCe.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-BTOmSLcs-DEq7dW-i.js → BillPayApprovalRulesPage-HG32jtX9-BIhcv1hk.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-B5gkQjT2-DXRzGBXG.js → BillPayPromoPage-DwxNDF0k-CcLPK5n4.js} +12 -12
  32. package/dist/assets/{BillPayRoutes-C3Tb_2Ko.js → BillPayRoutes-Ce5JVkt4.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-DM3r09by-Bvx7NLUi.js → BillPaySetUpPage-B-kmDrpB-DqUJzo3-.js} +6 -6
  34. package/dist/assets/{BillingSettingsPage-CiTKyJeG-BEh5P0A7.js → BillingSettingsPage-CNZyUOpM-KCtCCu_U.js} +5 -5
  35. package/dist/assets/{BillsBulkReviewDrawerPage-B6ofRDkg-Cw68W5rP.js → BillsBulkReviewDrawerPage-DbIDTE51-jz6OelMc.js} +1 -1
  36. package/dist/assets/{BoxItem-C39hQSVg-CwP_fpKm.js → BoxItem-CIyMdw2s-BlAcmWAT.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-BiWEnJET-BhvPSMXm.js → BusinessVerificationPage-DQ34qLUA-DQ_EHnlJ.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-DE3iPWMP.js → BusinessVerificationPageScreen-iODPCcKg.js} +1 -1
  39. package/dist/assets/{BusyIndication-DmApVsF7-DoBMbi5i.js → BusyIndication-YMYY0Pff-BY32OnMI.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-FNfrozX6-Cgi1n69q.js → CardNumberSubText-CN1RN7Tf-Crkz5sd9.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-DaLICa_v-BJ3TvYfG.js → CashbackDetailPage-CyYkVa0H-YXMN_DEG.js} +11 -11
  42. package/dist/assets/{ChargeCardDetailPage-B0Aq7zO5-BVHXTaUL.js → ChargeCardDetailPage-DFUAF2OM-DP6SPQkf.js} +28 -28
  43. package/dist/assets/{ChargeCardListPage-CfRto2rQ-DPjFotcB.js → ChargeCardListPage-BTHDGtJ6-Cjssvtzk.js} +11 -11
  44. package/dist/assets/{ChargeCardListTable-DMdC4lxo-CtkD7-2q.js → ChargeCardListTable-BiKjkqVs-C2Q47jri.js} +26 -26
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-BYTmtF_y-BJK0KpD-.js → ChargeCardPaymentHistoryPage-sPGU7qmY-D7s1gonC.js} +10 -10
  46. package/dist/assets/{ChargeCardPromoPage-AI5bladj-STtaDscO.js → ChargeCardPromoPage-6JwKgWli-CuEACLDU.js} +4 -4
  47. package/dist/assets/{ChargeCardRoutes-AYQ3MGTW.js → ChargeCardRoutes-R82vHuIV.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-BjhqdubL-ByzKQBoy.js → ChargeCardSetupPage-DmhPAnYT-kDmietjf.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-DCM92s6v-CBr56gpX.js → ChargeCardStatementsPage-DUXupPSN-BYaTogVZ.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-CkIxEqHU-Bqm8pa-L.js → CheckDepositDrawerPage-C8nbDVSz-fCr2LZZm.js} +4 -4
  51. package/dist/assets/{CollapsableReportTable-ClHwXtCj-Bu1ywWDb.js → CollapsableReportTable-C_bWRP7w-ybv6uXaY.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-BY8hFQnp-C-jTOLEo.js → CompanyOfficerDetailsSection-6LXCxWYP-N1CjwGwi.js} +13 -13
  53. package/dist/assets/{CompanyPassportCard-B3rZE3pg-CPKH7ClD.js → CompanyPassportCard-DVJS9xE7-WQAczivM.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-4FXVf3EP-Co0uZqWP.js → CompanyPassportPage-FJ30paB0-B650xBRc.js} +12 -12
  55. package/dist/assets/{CompanyPassportScreen-D4CGbUvz.js → CompanyPassportScreen-v4ozfRkw.js} +1 -1
  56. package/dist/assets/{CompleteProfile-B1BoilWd-BY2yFTSv.js → CompleteProfile-D3Im5rsm-DOcwDl2N.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CsbAGF65-crGvJolm.js → ConfettiBurst-BJrOe5Fg-B4cWwrd1.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CGGnZgbf.js → ConnectionAuthScreen-CRf6FtAm.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BnMSru9B.js → ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C50eYOFo-Da-aCQ_K.js → CreateOrEditVendorPage-C8dK3_XQ-BF1JDoLL.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dxz_SY7N-BpZmjo-8.js → CreditCardPaymentDrawerPage-Dp5mS2Hc-CeHtX3in.js} +6 -6
  62. package/dist/assets/{CurrencySelectField-D2Ogwvbr-CVVPi1Hr.js → CurrencySelectField-BAQ5aoHk-DH5SrL5M.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-5Sh7hmI9-Ba_aGZs7.js → CustomerOnboardingActivationPage-D8T1akbN-CiWQ4BME.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BP0HWrE7.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-B6eAJyRQ.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CL-mOSUp-DLRoDbfb.js → CustomerOnboardingDetailPageSkeleton-DSvvHqR_-B6nZNBwn.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CyL1AK78-CoBuNU82.js → CustomerOnboardingNoStepsPage-CSLO3M7E-qZci9B5e.js} +17 -17
  68. package/dist/assets/{CustomerOnboardingPage-C8nxJPwo-DuXY1wXZ.js → CustomerOnboardingPage-weza3x24-BkXOFQX9.js} +6 -6
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-C7FbnHpU-CcKzsuhI.js → CustomerOnboardingProductSuitePage-3YH4y1e1-JkiatwoQ.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-DLfMzGpn.js → CustomerOnboardingRoutes-BH4p4U2x.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpu-6Sm5-CknMvcgU.js → Dashboard-Bpuy-Pez-CGeVqi25.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-B1aAikQG-DXGS56N_.js → DashboardReportPage-1p79NBF9-PsndgGNB.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-xoa0YBhj.js → DashboardRoutes-BpbDpYw3.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-C6xm-p2j-Cianbfu8.js → DashboardSidebarBackgroundAnimation-CBg2tWHO-BrEJtieY.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-COn1GZe5.js → DefaultTenantHome-dh0i9bS7.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DEU0DgtI-mNkmtb4n.js → DepositAccTransactionItem-DlztlGZL-BabOldBp.js} +8 -8
  77. package/dist/assets/{DepositAccTransactionListPage-Bh0dIkE9-Nnv3oKOX.js → DepositAccTransactionListPage-BO43c3Uz-DAiR329Z.js} +6 -6
  78. package/dist/assets/{DomesticWireDetailScreen-BHvyRZV0.js → DomesticWireDetailScreen-73EFUwYw.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-2WyD73c9-pgZENCnp.js → DomesticWireDetailsPage-SEql3I0P-DopSoItu.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-B7M2VI7K-CmLEDWdo.js → DownloadOverlay-PhrwF2iZ-DE41QNaR.js} +14 -14
  81. package/dist/assets/{DrawerPage-DsQTxXa8-b58o_lYS.js → DrawerPage-Bf3AP3Lj-Ca4Hlb-5.js} +1 -1
  82. package/dist/assets/{DrawerScreen-Bwd7D_PK.js → DrawerScreen-DHeqOl2i.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-fY0HXvVS-GHbOUDbp.js → EditPeoplePage-B-rBzonN-uBCjqsHV.js} +3 -3
  84. package/dist/assets/{EditReimbursementDetailPage-D7RUWSTZ-BvTTLT94.js → EditReimbursementDetailPage-CUiIHNgT-8PuUQb7F.js} +14 -14
  85. package/dist/assets/EntityDetailPage-CvLzsrUE-BBux-0Uo.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-Br6vAttH.js → EntityDetailRoutes-DBLMB4dw.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-0rRkC5V6-Conv00DK.js → EntitySummarySection-mXeSjiuZ-B9FERucG.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DOGAdZXV-BteA09I4.js → ExpenseAutomationOverviewPage-DQCoy1O9-BZfo9th3.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-DOsIzX0P-BmRa_16p.js → ExpenseAutomationPage-BeAzQ7Qx-Dz7fhupP.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DLbUy-Sk.js → ExpenseAutomationRoutes-Ciow3RJ2.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-CIi6jM8Y-DprwP7jg.js → ExpressPayPage-C-isOU1b-CVmq_SpS.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-BVn6ZUOB-BRGsJkYW.js → FeaturePreviewPage-Cyre9YzV-Cftfc0PA.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-C7jdaAb-.js → FeaturePreviewScreen-2RPLc4Gf.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CvWPHXDW-Dl7cRxYJ.js → FollowStepsSection-DZNWzSvo-BRkqWsPS.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-CS_11bx0-BpB3oVCF.js → GlobalReviewListPage-Dp--ugNc-Dtv4hNaC.js} +1 -1
  96. package/dist/assets/{InformationCardStack-B9g7W7Xx-ZebmXk33.js → InformationCardStack-D7naFDX0-DgOmsE3E.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-mvzIc2uY-DiwLXl7c.js → InsightsCardStack-DexUl4h--CD8yzPkl.js} +6 -6
  98. package/dist/assets/InsightsSection-D9PJ55E6-BZ3NURYW.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-Dwz4ukHF-BsDL-5QK.js → IntegrationsSettingsPage-hFTe3wiP-BhlDRzBS.js} +2 -2
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-Cm0H9oyf-CSkPID9w.js → InternationalWireSwiftDetailsPage-DLkE5bXp-CEjk6OlM.js} +4 -4
  101. package/dist/assets/{InternationalWireVerificationPage-woIoME3I-BpkjRAf8.js → InternationalWireVerificationPage-DYGjEqNz-BHv8RAGX.js} +2 -2
  102. package/dist/assets/{InviteFormPage-DaZ-sJYV-C1pvGdU0.js → InviteFormPage-CGAsWQn7-CTMj3TWe.js} +13 -13
  103. package/dist/assets/{InvitePageListView-Do7EVQrj-BUNzpXY7.js → InvitePageListView-BSPE9f03-DiWtDrPd.js} +20 -20
  104. package/dist/assets/InvitePeoplePage-ANvLB-mB-bW0ZLS4w.js +12 -0
  105. package/dist/assets/{InvoiceUploadSection-DOuTQPee-C986sH-S.js → InvoiceUploadSection-OGMswY7c-CziQJBl6.js} +13 -13
  106. package/dist/assets/{IssueChargeCardPage-ClMhr27d-C9JNnylK.js → IssueChargeCardPage-sLInqAsW-C2PmO3GP.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-B6_PZDTO-B0f_TY3n.js → LabeledAddressValue-DBJ236tZ-DRwoxJhK.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Cz6tRMoW-BWTMstez.js → LabeledAddressValueField-CAr-IiTa-hz8acdw2.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BEpAlnvo-CvOvJ8M4.js → LabeledControlledCheckBoxField-BdWZgcQc-Dj_Rq1GV.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-1kTcZMQW-CYG0hGdR.js → LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-PiLB1S77-BE8E-NVb.js → LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Cicw8ABs-BY2NDqms.js → LabeledDocumentField-B3QSq1eM-IGzby_k8.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-BEVVgIGK-Be2ECVYI.js → LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C6gk3B5x-DNbhSblv.js → LabeledEmailInputField-CY2mGhJG-CWnMQ78-.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BpfxLnfN-DXNAsDl7.js → LabeledNameField-CYN5kdQi-86Gkfv4K.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-Utmk8KVy-7bKQ7Lgi.js → LabeledSingleSelectField-CBXzDXMd-Bb2Vdxcj.js} +1 -1
  117. package/dist/assets/{LabeledText-C56xvYuX-V1W7qANU.js → LabeledText-GEbY3-bB-BUisrQ9a.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-ITN8UDlC.js → LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CSkej6UT.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-B5rxYfam-Dqb9eTdm.js → LabeledZeniRolesDropDownField-DJfE1qQb-B_HO08cO.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-DbnaYlRA-BZfapfas.js → LinkJETransactionPage-B2ROo3VS-YhdCoxbn.js} +9 -9
  121. package/dist/assets/{LockCardPage-XHbTmzq8-D2FlG_hq.js → LockCardPage-D2dUPnNL-tuQUusRC.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-IF7NG9aL-D-kinRkN.js → LowBalancePopup-DTtl3SIc-jw3rRGRn.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-C-40wwsX.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-DLQOqv2b.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-Du-Hf2Rs.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-Ar0GD3LF.js → MagicLinkRoutes-Ce7UoZ3g.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-pLIgT_MU.js → MagicLinkSignInScreen-BzoOowms.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Cyr3p_8a-C1W_67Gu.js → MagicLinkSuccessPage-Ctt1pLiv-DgUpkUDW.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-A4zyF5bg-CJ8qaIqt.js → MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-DqSOlu2t-yxjH6xtg.js → MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-BzhvI9uK.js → MobileAppDrawer-qasrJsA4.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-B1OKwXLg-BGjwJb3U.js → MoreMenuButton--MxUyTqX-BRissmUy.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-DtTjhna--Brf-Lw4g.js → MyBankConnectionsSettingsPage-6ltpx62E-D6KFe-KP.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CKSWf7I4-BGxkh2i8.js → MyPendingActivationChargeCardListPage-CwDedcXl-Dxd2fyLg.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-WF1pNlyU-Y69pCSd8.js → MyProfileSettingsPage-Bmhu2lrK-CTluZRHn.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-DiCaJ8Qy-BkApKnxf.js → NavBarWithPicker-jqJCHGvR-DMu0y4Qb.js} +1 -1
  137. package/dist/assets/{NavigationArrow-f4Z3TuXg-BOQXlQjz.js → NavigationArrow-DY_BhITD-gGit-4br.js} +1 -1
  138. package/dist/assets/{NavigationDots-WiVjbUsC-C7Q4WAGV.js → NavigationDots-Kh5ODrCQ-DwZ3hrog.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-kvjjwV8d-DjuH6H6H.js → NewGlobalMerchantPage-BYTROFvX-DwdJUPSt.js} +1 -1
  140. package/dist/assets/{NoDataChart-DlSLTzZl-C1cnqDKJ.js → NoDataChart-CuiKDcAB-DcvOdNkO.js} +1 -1
  141. package/dist/assets/{NoDataTable-9vLoRpsR-wzbnukFo.js → NoDataTable-BpH8puX--CKc9Uumk.js} +1 -1
  142. package/dist/assets/{NotFoundPage-CFlNCHFs-BjAbW1p2.js → NotFoundPage-BKvCYyvc-CVW4jAzU.js} +9 -9
  143. package/dist/assets/{NotFoundScreen-C4RWEwpc.js → NotFoundScreen-BGyIaLbV.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-Bauqlg8K.js → NotificationRoutes-g75WljLy.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-KJzE9v4p-ueNqYhCg.js → NotificationSettingsPage-F2xXUCSE-1aLSD_P9.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-6sXXtF_E-CoAChzQf.js → NotificationsListConfig-C9r-O2kH-aq3nwp_9.js} +1 -1
  147. package/dist/assets/{NotificationsPage-D4AmPdo9-CLlXhmZ-.js → NotificationsPage-CZZ9GTVy-CjLasA13.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-B5Wtu3ww-BfiVnjOY.js → OpExByVendorPage-Crvcsx0U-D2kbC2Nh.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-CakuK-tg.js → OverlayContainerPage-BG9y5C0t-DpfAmCAx.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CjkaxTx7-BjLqIhEu.js → PandLWithForecastPage-CkDCt5NK-CZTB6HyP.js} +7 -7
  151. package/dist/assets/{PandLWithForecastRoutes-xJfyiPLc.js → PandLWithForecastRoutes-BIm6SNTl.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-eeLSg7xb-BniLcpKw.js → PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CDM1qPvj.js} +1 -1
  153. package/dist/assets/{PeoplePage-CQREy6SW-jzMdXXql.js → PeoplePage-D2CtRlrd-By7K7MoK.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-bZeBcbCa.js → PeopleRoutes-DYEYoT-Z.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-Cpf321a_.js → PerformanceRoutes-DfWgoWPO.js} +1 -1
  156. package/dist/assets/{Preview-CQ45ZFEO.js → Preview-CBFJfLMb.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-COZZMTcH-B51aQv0u.js → ProductsCarousel-sNagRI0c-61XsnGmO.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-Bmn6TN2k-Bs7EMABq.js → PromoBaseCards-BUk-u73S-BOYyiMks.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-DYxoiSkA-Dk_DwyWX.js → QBOConnectionDialog-C1rEAxUE-DfW1Uzaj.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-CAL_oIQc.js → QBOConnectionScreen-Rp-2rn0k.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-Cdz2PDxV-BDBYgiEv.js → QBOSetupSection-iQJCHR-K-Cozk6L0j.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-qui_lA__.js → ReferralListScreen-CBuGWNNX.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-Ct12I2wb.js → ReimbursementApprovalRoutes-D0ehNmsg.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-QEoqCw-Cs_RbD5G.js → ReimbursementApprovalRuleDetailPage-BPIKZ9v1-_Rw4LFib.js} +5 -5
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DHXZ840V.js → ReimbursementApprovalRuleDetailScreen--zBLN-vr.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-Ch2sxTFV-DeHruNGf.js → ReimbursementApprovalRulesPage-AE810nQZ-CKLvlvGT.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-DSF6SfKn-BhQpRY9M.js → ReimbursementDetailPage-CYuZJL_J-Dc9Q5SmJ.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-F1ROFd63-B1t5Jond.js → ReimbursementPromoPage-CaxjSwrz-BqYGPT-x.js} +1 -1
  169. package/dist/assets/{ReimbursementRoutes-1_SI-hn8.js → ReimbursementRoutes-Dw1HmBPZ.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-l2mhLFuo-B54Qng1-.js → ReimbursementSetUpPage-Bw77MBHF-CqZyhccg.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BICgOxHf.js → ReimbursementsBulkReviewDrawerPage-B-svIloS-u7x5I4fB.js} +1 -1
  172. package/dist/assets/{ReloadCard-CDcJMl9F-CnmKoS62.js → ReloadCard-D5kxTfzJ-CHGlYP1Y.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-DvCk55Hn-DkSGr4BZ.js → ReportTableViewSelector-BZU8yltx-BXz0jYWq.js} +1 -1
  174. package/dist/assets/{ReportsPage-DfqqKSt3-CLOVf278.js → ReportsPage-CdN9MEVy-VFwi_Sta.js} +5 -5
  175. package/dist/assets/{ReportsRoutes-DLpbfbDj.js → ReportsRoutes-BxP48mVj.js} +1 -1
  176. package/dist/assets/{RevenueChart-BONT9upM-DU_a19lO.js → RevenueChart-B_RMeweH-sORV0ExB.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-857bVurA-CbjI1OUT.js → ReviewDetailsPage-a73YIZSO-BwRkWQP6.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-ClQg7d2j-Dm0fdfqo.js → ReviewOverlay-Ubmz06uP-Dq2e8WZF.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-EWwY813U.js → RewardsRoutes-kNiN5XKd.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-C0G1Hgp_-CRG2xCvX.js → RoleWithToolTip-BYO1YG6N-CpH6tY8x.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CJ_JBtxS-D8uR91rN.js → ScheduleDetailsFixedAssetsPage-vgqilDC8-BtW6gR7z.js} +4 -4
  182. package/dist/assets/{ScheduleDetailsPage-B1aEwPL--oYlhdTLP.js → ScheduleDetailsPage-DdEeFryA-D3pgpVcx.js} +3 -3
  183. package/dist/assets/{ScheduleSequenceTable-DhU7PI91-LtlMXkac.js → ScheduleSequenceTable-poNEzbqS-Bn1GkRq3.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-D_5DmJ86.js → ScreenRoutes-D1xPWhMn.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-C8dulq9s-B-L9gOQO.js → SetUpAccountSection-BSOGwHCj-BawfFLHE.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-Bpnzxqw3.js → SettingsRoutes-CQFKHlBE.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-BG2iNhNo.js → SetupPagesScreen-Khrg4fmZ.js} +1 -1
  188. package/dist/assets/{SignIn-wDe7lbGR-DVGzhzCV.js → SignIn-q4J9wRx8-CmY6_2-N.js} +4 -4
  189. package/dist/assets/{SignInScreen-ChmnsIGN.js → SignInScreen-DE5iszhl.js} +1 -1
  190. package/dist/assets/{SignOutScreen-C9MY-na5.js → SignOutScreen-BrEmVZ7k.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BdddUHrW-C_LostVg.js → SpendManagementListViewPage-DKRkSADM-CyVMAS6i.js} +6 -6
  192. package/dist/assets/{SpendManagementPerTabPage-BBJm3884-DNyU3qBr.js → SpendManagementPerTabPage-Cd30NnXU-CuxG4XXm.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-6R5y0Hy4-DR8MdoOh.js → SpendManagementSection-CPBOh_J5-VebfRScE.js} +14 -14
  194. package/dist/assets/{StatementItem-qsoXKx_p-DNQHoMbS.js → StatementItem-NyOORj5f-CGBabGx-.js} +2 -2
  195. package/dist/assets/{StatementsPage-Cn7WG5-S-Dl_bD5a2.js → StatementsPage-Cp77wyFS-BNWHu83c.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-D3qCg5J1-CnYYZ1b2.js → StatusSwitcher-DN-yYdli-C38uA7vA.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BXajy75j-B6OxDW3g.js → SubTabSwitcher-D1LNrhUn-k7hSwnGE.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-CSblamOQ-JSo_khSf.js → SuccessAnimation-DdyAYe1e-CRBZLEcw.js} +1 -1
  199. package/dist/assets/SummaryCard-DgIPSt4y-BreXikds.js +1 -0
  200. package/dist/assets/{TaskDetailPage-CrsQnhu1-B_UOgdhU.js → TaskDetailPage-DXTLNhtf-DSitOXq0.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CQghy863.js → TaskListScreen-DkpddMj-.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-h3Rb49Jj-pMAnmsYe.js → TaskManagementPage-BaLJR4-7-CF4lQh5a.js} +28 -28
  203. package/dist/assets/{TaskRoutes-Bzs5ud2d.js → TaskRoutes-FkwKuuJe.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-DpUOmqiR-OEgtOaDl.js → TimeRangeSwitcher-CkgGEwEw-BPD6p-o-.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-BKEtsv_r-BOgf0adS.js → TimeframeSwitcher-B8fpnYS8-DN6x7QeB.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DECnQIMT-BjcEq4P9.js → TimeframeSwitcherWithToggle-DwFo6jY4-D-j20nY7.js} +10 -10
  207. package/dist/assets/{TopExCard-leQR29Sq-DMP-noC7.js → TopExCard-PayAZZY--CN7knT9a.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Dgg7Do6D-Cf1J-rX0.js → TopExDetailPage-Mp2KcYf6-DF6BJLe1.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-CU2pUJQL-CzX5Q4B2.js → TransactionActivityLogPage-CnmL_hUz-xxBYOo0V.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-FT2IPLH7-CX3DG4Pm.js → TransactionDetailPage-Bqlnmn8Y-C-G32l9E.js} +26 -26
  211. package/dist/assets/{TransactionDetailRoutes-atS2Oh1R.js → TransactionDetailRoutes-Bur6XOBC.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-BglCkwGm.js → TransactionDetailScreen-TsmDBl7P.js} +1 -1
  213. package/dist/assets/{TransactionList-C2MGkQYM-CU8bIKXQ.js → TransactionList-BOmlsfpv-P61oqFED.js} +11 -11
  214. package/dist/assets/{TransactionListBig-CZ3jIxzR-h_QlWda5.js → TransactionListBig-CaMT-rq_-CyI8cEhp.js} +1 -1
  215. package/dist/assets/TransactionListPage-D_dgwnFp-D9ucLBYe.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-D3x0o31V.js → TransactionListRoutes-Bze4GklF.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-BgcqndCu-DrGCDrHZ.js → TransactionVendorDetailPage-DlXuiPC5-CVKs_i6q.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-SirvPH4z-AADMZrtA.js → TransferDrawerPage-C2VcssbM-BdJwka8r.js} +14 -14
  219. package/dist/assets/{TreasuryOverviewPage-B_WK1aOv-45D8ongN.js → TreasuryOverviewPage-DyyoGY23-8NjmnIXR.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B_D63Dr2-Mw7kOaR2.js → TreasuryPromoPage-B9Hf7oxZ-CY7Z2jR8.js} +1 -1
  221. package/dist/assets/{TreasuryRoutes-DevJrQwC.js → TreasuryRoutes-BcEhSPu-.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-BGe0fhBe-CZKzrKEg.js → TreasuryStatementsPage-DOzJzfTG-COamdHZN.js} +2 -2
  223. package/dist/assets/{TreasuryTaxLetterPage-9gNdkQZp-KOpqpRaG.js → TreasuryTaxLetterPage-BcTBr9x9-DQ6bAdf9.js} +1 -1
  224. package/dist/assets/{TrendChart-COItOWPp-B0KeVtcc.js → TrendChart-BvXDrgUJ-D_jexAAy.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-DgAw_8CI-C5t8dz0y.js → TrendWithTransactions-RCpzdPf3-B6dzBDBs.js} +7 -7
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B9EziB6Q-Bi-s-0Sv.js → UncategorizedAccountsMappingPage-B1m3iXh5-Ip2N2jHp.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DGWNyWV1-otb9S_5N.js → UnitIntegrationPage-lVg_8mQ4-CG7xv8GT.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DWmMz_8y-BoxaUeLm.js → UploadAdditionalDocumentOverlay-DrAWxBXn-_zHsjfu5.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-dh2g8kqu-DmCsxO0l.js → Vendor2FAPopup-C8m_OJEH-D165qdUh.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-JhO6KtMC-CANKU5ry.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CGqoIODq-BvUdf9jN.js → VendorDetailPage-Y9_hsgjs-C9Wt_5QU.js} +5 -5
  232. package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-Bxd9GX1z.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CsnlHrCl-Dg2l5wSd.js → VendorFiling1099EditablePage-CPevpiim-qmsYTkLB.js} +9 -9
  234. package/dist/assets/{VendorFirstReviewPage-DC1j2sO_-B3hOpd68.js → VendorFirstReviewPage-CXftFNl_-CCYTLrD_.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-Drr00a6C-DzH1osbM.js → VendorInternationalWireDetailsPage-88NtGE3e-C0C0m4pv.js} +6 -6
  236. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-6XH5g7u0.js → VendorInternationalWireSwiftDetailsPage-BTh-VP1b-C-5vzJEN.js} +1 -1
  237. package/dist/assets/{VendorsAccountsSection-BtdwR8u4-B4AH00Ns.js → VendorsAccountsSection-DorsKXyL-B5FHsSOL.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CyRapVh2.js → VendorsRoutes-FQkb12pI.js} +1 -1
  239. package/dist/assets/{VerifyDevice-Bhr_yHpE-BFsFancv.js → VerifyDevice-DAym8rUN-BlHFuMzS.js} +4 -4
  240. package/dist/assets/{VideoPlayer-wlJX6lEq-Djxj54Vf.js → VideoPlayer-53OvOC7l-pPI6Q2OV.js} +1 -1
  241. package/dist/assets/{VideoPopup-BPptwR51-DdCCHHY9.js → VideoPopup-v9quqdro-CKa7Hhxk.js} +2 -2
  242. package/dist/assets/{WiseConfirmationScreen-CnF85JVe.js → WiseConfirmationScreen-DsF9s3cq.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CSsu44ls-BxTJP0xn.js → ZeniAccountDetailPage-CFEGqW5l-Cc3o93o-.js} +1 -1
  244. package/dist/assets/{ZeniAccountListViewPage-BZwGCrzx--nMPcfZ-.js → ZeniAccountListViewPage-j85TO5tM-D8dMZ6jp.js} +27 -27
  245. package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-S8eWsLxK.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-CahV-Rmf-B_a0e4xi.js → ZeniAccountPromoPage-DeHmh4My-CfY9P4dJ.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-BnCdn_7e.js → ZeniAccountRoutes-CfCvabZR.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DSNDNKZr-BvWOY3jL.js → ZeniAccountSetupPage-ofkQR72l-CBlKDRVk.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-BOJsnK-P.js → ZeniAccountStatementScreen-CGYScuoU.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-De0hFvIm-BJi7TJei.js → ZeniAvatar-Ct7MPW2X-BHlw9FbG.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-BNGdkMOa-CGSddL5N.js → ZeniCopyright-CmCqmJmV-3KycUvio.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-CYNEE0pM-CI8_Q6Ab.js → ZeniDatePicker-RNJ2ukKC-BM4oYXJe.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-DuD1JtSv-eHMRZi_V.js → ZeniTransferAmountSlider-BpfqM032-CVzLkYGE.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-FrhvxzcW.js → accountMappingHelper-rwWvpsms.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BqBidt5n.js → add-to-wallet-DgdBD8_G-CzXhL1Ym.js} +1 -1
  256. package/dist/assets/{analytics-CVqRc8fh.js → analytics-DIWVqtXV.js} +1 -1
  257. package/dist/assets/{analyticsHelper-qMWdjEFo.js → analyticsHelper-CLBcUDc5.js} +1 -1
  258. package/dist/assets/{analyticsHelper-DjQYjslY-D8-DDeg7.js → analyticsHelper-qtejXlXH-UFbrYbZ_.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-B3QTzBHA.js → arrow-south-east-round-PEovUgvH-CWRd961V.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-de_8OjuK.js → auto-transfer-rule-mbafm5D3-Bjm-l3iW.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-B-3VAvb3.js → avatar-Dz7aEm3d-CKqFD1L0.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-KdddOmyc.js → bank-letter-BOcVjN6J-BhxkRonC.js} +1 -1
  263. package/dist/assets/{calculateSize-i9QGr8q0-BEKLyEYY.js → calculateSize-CzpGCfNE-CNrV3_Iu.js} +1 -1
  264. package/dist/assets/{chartTypes-BGl-YMiu-DAKq2IM5.js → chartTypes-BqRsL6eJ-D0sv3zgU.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CB7HCMZv.js → clock-CJkylEKt-9m-0TbEY.js} +1 -1
  266. package/dist/assets/common-BxjzMhDO-M6F2cReY.js +1 -0
  267. package/dist/assets/{commonDimensions-CuKo3wam-nLTnztTJ.js → commonDimensions-CzWWgDTA-C5sl3WWf.js} +1 -1
  268. package/dist/assets/{commonTypes-CfAg6Jvv-D84w54Iv.js → commonTypes-CF6UyWSv-BQXpwXby.js} +1 -1
  269. package/dist/assets/{core-AYNw6kyJ.js → core-BAxGDYbL.js} +1 -1
  270. package/dist/assets/{dash.all.min-Dq_dQY1I.js → dash.all.min-DLVq1nc5.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-E-sgiudi.js → decodeURIComponentSafe-Bypqq6TF.js} +1 -1
  272. package/dist/assets/{dnd-Dw-riVE4.js → dnd-BEk5qqV2.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CvsBoEut.js → dollar-round-D18u7nlm-DgPiQ4X2.js} +1 -1
  274. package/dist/assets/{downloadPdf-Dcd8BY_9-DI4hg2G0.js → downloadPdf-BFFM3Hea-CZaqSBqv.js} +1 -1
  275. package/dist/assets/{empty-C9c-cai_.js → empty-BWHMm5Kr.js} +1 -1
  276. package/dist/assets/{empty-CX0U2Ty5.js → empty-C6XM9c0M.js} +1 -1
  277. package/dist/assets/{epic-B6fOiqme.js → epic-CkteLEKR.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-lFkn5gVk.js → filter-cZIFUNvj-yDtIQZZZ.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-YUfQHJdY.js → getLocaleForTenant-DIET8R83.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-BPwbjUGz.js → gift-box-Cmt9OgIZ-a88q6Sec.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CaJy2HdS.js → graphic-no-data-l-DU4J8fDt-BXu_Erqy.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9pmzSAL.js → graphic-no-data-net-burn-l-CzmycA0m-CDJ9LscK.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-BSOSNqUk.js → handshake-BPg58FML-DXXhI3e_.js} +1 -1
  284. package/dist/assets/{helper-DkzA3y2L-OUS27pTt.js → helper-COxPEvgL-B99qx9wP.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-CVVb97aA.js → hyperlink-DQyCeXx2-DDEc353Q.js} +1 -1
  286. package/dist/assets/{index-NZat51vK.js → index-BUTnHeUk.js} +1 -1
  287. package/dist/assets/{index-DubSD1fb.js → index-CDtqLLbw.js} +1 -1
  288. package/dist/assets/{index-Mhz2NAiD.js → index-CVe1fo1a.js} +7 -7
  289. package/dist/assets/{index-DqcXLX0N.js → index-CVjW2ppf.js} +1 -1
  290. package/dist/assets/{index-Dm85Hu6Z.js → index-CkLoBdAM.js} +1 -1
  291. package/dist/assets/{index-wicPWwlB.js → index-rcznrhDB.js} +1 -1
  292. package/dist/assets/{lexical-B-dyW3-4.js → lexical-eSt6-8-s.js} +1 -1
  293. package/dist/assets/{liveblocks-DJcRPJQh.js → liveblocks-DIb7UiB5.js} +1 -1
  294. package/dist/assets/{lottie-DdLBMmzp.js → lottie-DR43ghJ6.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-lABm-2N9-DqEFBCkO.js → mapLoadingInProgressToTreeNode-COOJxneh-Dn5oaOob.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COcUb2pF-Bv4F43o8.js → mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DlLPz3lr.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-L9lviHBs.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-m60AXXy6.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-CvVUjW74-b4p2F7se.js → mapTimeframeBalancesToTreeNode-Cql9mEn3-BI70JNWv.js} +1 -1
  300. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-C3md0v2d.js +1 -0
  301. package/dist/assets/{media-player-V7uSzi45.js → media-player-t6imgqTs.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-B7YE6t0I.js → money-2cg1MuG4-BKLw88Z7.js} +1 -1
  303. package/dist/assets/{mui-Ckdcx_YE.js → mui-DcvwYC51.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-NqWvakND.js → page-detail-CWX5S47F-DYwfMchM.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BvkWkaoT.js → page-summary-D7_VQHwN-Ccsx0X5Z.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-CROMd__p.js → panelSelectedMixin-Cddsb26L-oybQQD8A.js} +1 -1
  307. package/dist/assets/{pathToGoBack-C_2xxQDe.js → pathToGoBack-DgCvIIns.js} +1 -1
  308. package/dist/assets/{pdf-CwWlK-Dr.js → pdf-DA3UteIy.js} +3 -3
  309. package/dist/assets/{pdf-lib-DhaWOBih.js → pdf-lib-CB0YH404.js} +1 -1
  310. package/dist/assets/{plaid-BhP6n1uc.js → plaid-Dma9BWZs.js} +1 -1
  311. package/dist/assets/{pusher-8DhjdTCA.js → pusher-BpsMW-yL.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-BoUlFA9D.js → radio-default-CiSgisfh-DhACFBeo.js} +1 -1
  313. package/dist/assets/{react-CB4dPBRZ.js → react-B399TF4z.js} +3 -3
  314. package/dist/assets/{react-D-APY71d.js → react-CGustVKo.js} +1 -1
  315. package/dist/assets/{react-CGVKTtsW.js → react-CHYwPjVO.js} +1 -1
  316. package/dist/assets/{react-BwCmpEw6.js → react-DIlTJIev.js} +1 -1
  317. package/dist/assets/{react-D_0srhsg.js → react-DSe89Cs9.js} +1 -1
  318. package/dist/assets/{react-D4pZVe2B.js → react-DYy5XxA9.js} +1 -1
  319. package/dist/assets/{react-CE6422aE.js → react-Da-tqkFZ.js} +1 -1
  320. package/dist/assets/{react-BHDcRwxI.js → react-Gk8q99af.js} +1 -1
  321. package/dist/assets/{recharts-Dr1JzI4y.js → recharts-LOG_L3Q0.js} +1 -1
  322. package/dist/assets/{routePaths-DIayl1Jh.js → routePaths-B9s6SzIs.js} +1 -1
  323. package/dist/assets/{sentry-D-LCra2M.js → sentry-CFYfTv_F.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-D5PHf2Tj.js → shield-DOlUxcFf-DouOIUSu.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-D85B38gI.js → spend-limit-D6SyboD4-DTJkvAlS.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-B70YK7cw-CXnt8iTO.js +1 -0
  327. package/dist/assets/{toChartData-B4ligi4c-p4U01oAp.js → toChartData-CWgd8E5c-DiIGKIgi.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-Ca0HZ2W6.js → transaction-placeholder-CpOwZAMG-9RLgCBK-.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-CSQ0fDLS.js → undo-b_3XZ5CX-4JO3_5lb.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-DDdPB9QU.js → unlock-BPWn2I5L-CncAfPJ6.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DNsQOTk3.js → upload-reimbursement-receipt-O2N8vcO7-CX9b95cy.js} +1 -1
  332. package/dist/assets/{uploadAttachment-DgPDimcm-UTkUQwho.js → uploadAttachment-D1ybl0Fy-CsdIaI-4.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-3Ex--Idc.js → uploadReceipts-CIgkuVpu-BTLELte6.js} +1 -1
  334. package/dist/assets/{url-BK92KGZc.js → url-CG3dVLHq.js} +1 -1
  335. package/dist/assets/{url-DUid0IO0.js → url-Cds_9Ffk.js} +1 -1
  336. package/dist/assets/{useDeviceId-BCros22l.js → useDeviceId-Dzb269rv.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-Bx0ivBGf.js → useInitialThreadRequest-D4Yk6niJ.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-Bs4IMufW.js → useLongPress-GCK2COYQ-BCXZNFDE.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-BBaxYQlT.js → usp-line-BBd1wKwW-D0lXP7am.js} +1 -1
  340. package/dist/assets/{utils-CI1RvLss.js → utils-B0HnpOzO.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-CHdaZXOz.js → withTransactionSidePanel-BBzl-sYH.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-B1zsDZZ4.js → zeni-epic-state-BZiG8B71.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-Bb7XRMgX.js → zeni-icon-only-DWQkIW-o.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +4 -4
  346. package/dist/assets/AccountInfoPage-v8-NT3FJ-CUWvVcbF.js +0 -18
  347. package/dist/assets/ApAgingDetailPage-6F47t31h-8q8np9Bg.js +0 -46
  348. package/dist/assets/BillPayApprovalRuleDetailPage-CRBli7lk-CcG8rFJP.js +0 -27
  349. package/dist/assets/CustomerOnboardingAuthScreen-CTZAVHXC.js +0 -1
  350. package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-B2LOWvxI.js +0 -1
  351. package/dist/assets/EntityDetailPage-BDyO7iLI-y9lTygCJ.js +0 -18
  352. package/dist/assets/InsightsSection-rGyA4lY9-ljgWP3Nl.js +0 -27
  353. package/dist/assets/InvitePeoplePage-CpD7YoC2-BM5MmdPZ.js +0 -12
  354. package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-BPfQqaKe.js +0 -1
  355. package/dist/assets/MagicLinkDomesticWireDetailsPage-D0JDLfbz-2wvzfcTR.js +0 -1
  356. package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-iL43dQWj.js +0 -1
  357. package/dist/assets/SummaryCard-B1d4_5lE-BRRY9IEV.js +0 -1
  358. package/dist/assets/TransactionListPage-PCa4exLO-IbUCrSXm.js +0 -35
  359. package/dist/assets/VendorACHDetailsPage-C0vIRpRW-BP-CVl2D.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-CqZDNLeP.js +0 -1
  361. package/dist/assets/ZeniAccountNavBarPieces-CrNjnkNS-Dqicw5_O.js +0 -33
  362. package/dist/assets/common-Cws59IN1-tgtgUQp7.js +0 -1
  363. package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-CqHdHAc2.js +0 -1
  364. package/dist/assets/mapTimeframeBalancesToTreeNode-CwHF76sn-C9QWz7EU.js +0 -1
  365. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-CwYCbZxF.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-CGYYTIjt-CV8c8HPi.js +0 -1
@@ -0,0 +1,46 @@
1
+ import{y as X,e as ee,O as l,V as o,bd as oe,aZ as te,bN as re,a_ as ae,o as T,ab as ne,x as N,a$ as ie,bJ as se,bK as le,bL as de,m as u}from"./index-CVe1fo1a.js";import{a as b}from"./sentry-CFYfTv_F.js";import{n as a}from"./mui-DcvwYC51.js";import{m as ce}from"./BusyIndication-YMYY0Pff-BY32OnMI.js";import{L as ge,D as pe}from"./EntitySummarySection-mXeSjiuZ-B9FERucG.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="55f1516f-3f9a-47e4-a080-b410bec5faeb",e._sentryDebugIdIdentifier="sentry-dbid-55f1516f-3f9a-47e4-a080-b410bec5faeb")}catch{}})();const C={wrapperContainerMarginTop:new N(u[4],u[0]),wrapperContaineHorizontalrMargin:new N(u[0],u[8])},me=a.div`
2
+ height: 100%;
3
+ display: flex;
4
+ flex-direction: column;
5
+ max-width: 99.9%;
6
+ `,fe=a.div`
7
+ display: flex;
8
+ width: 100%;
9
+ height: calc(100% - 60px);
10
+ flex-direction: column;
11
+ justify-content: center;
12
+ align-items: center;
13
+ `,ue=a.div`
14
+ height: 96px;
15
+ width: 96px;
16
+ background: ${e=>e.theme.colors.background};
17
+ border-radius: 50%;
18
+ cursor: pointer;
19
+ & svg {
20
+ margin: ${T.sp5};
21
+ color: ${e=>e.theme.colors.grey1};
22
+ }
23
+ &:hover {
24
+ & svg {
25
+ color: ${e=>e.theme.colors.primary};
26
+ }
27
+ }
28
+ `,ye=a(ne)`
29
+ margin-top: ${T.sp3};
30
+ color: ${e=>e.theme.colors.hero};
31
+ `,he=a.div`
32
+ display: flex;
33
+ min-height: 100%;
34
+ flex-direction: column;
35
+ width: 100%;
36
+ background-color: ${e=>e.theme.colors.grey5};
37
+ `,we=a.div`
38
+ display: block;
39
+ background-color: ${e=>e.theme.colors.grey4};
40
+ height: calc(100vh - 178px);
41
+ margin-top: ${e=>C.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
+ `,xe=a.div`
43
+ margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
+ margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
+ height: 100%;
46
+ `;function Le(e){const d=X(),c=ee(),F=l.getLocalizedStrings().common,L=l.getLocalizedStrings().reports.common,{apAgingDetail:t,downloadParams:y,reportDate:n,analytics:g,onReload:O,onBackClick:Y,onColumnSortConfigChanged:_,updateDownloadStateHandler:h,onTransactionClick:E,sidePanelIsOpen:R,sidePanelIsFullView:B,panelContent:H}=e,{authParams:v,downloadEndPoint:S,timezone:I}=y,{fetchState:p,invoices:k,apAgingDetailUIState:z,vendor:r,totalBalances:K}=t,{sortKey:w,sortOrder:x,downloadState:m}=z,[$,j]=b.useState(!1),P=l.getLocalizedStrings(),J=P.reports.aging.agingDetail,V=b.useCallback((i,f)=>{t.vendor!=null&&g.trackApAgingDetailReportSortChange(i,f,n.format(P.dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name),_(i,f)},[g,t.vendor,n,_]);if(b.useEffect(()=>{$&&m!=="In-Progress"&&(j(!1),h("In-Progress"),async function(){const i={companyName:y.companyName,sortKey:w,sortOrder:x,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:r?.id??"",timezone:I,reportDate:n};await async function(f,q,Z){const G=`${f}?query=${encodeURIComponent(JSON.stringify(De(Z)))}`,M=l.getLocalizedStrings(),A=M.reports.aging.apAging.apAging,D=M.download;try{const s=await se({urlEndPoint:G,authParams:q,fileType:"excel"});if(s.ok){const Q=le(s.headers,D.defaultFileName),W=await s.arrayBuffer();de(W,Q)}else console.error(`${D.errorMessages.fileDownloadError.replace("__feature__",A)} ${s.statusText}`)}catch(s){console.error(`${D.errorMessages.fileDownloadError.replace("__feature__",A)} ${JSON.stringify(s)}`)}}(S,v,i),h("Completed"),t.vendor!=null&&g.trackApAgingDetailReportDownload(w,x,n.format(l.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name)}())},[g,t.vendor,v,S,y.companyName,m,$,n,w,x,I,h,r?.id]),p==="Error")return o.jsxs(fe,{children:[o.jsx(ue,{onClick:O,children:o.jsx(oe,{})}),o.jsx(ye,{children:L.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(ce,{fetchState:p});const U=o.jsx(ie,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:m==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(m==="In-Progress")return void console.log("Download is already in progress!");j(!0)}}}}});return o.jsx(te,{isOpen:R??!1,isFullView:B??!1,panelContent:H,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(ae,{title:F.strings.empty,backgroundColor:d.colors.grey5,onBackClick:Y,rightSideComponent:U,source:"ApAgingDetailPage"}),o.jsx(pe,{totalBalances:K,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_payable_aging",reportDate:n})]}),listContent:o.jsx(he,{children:o.jsx(we,{windowSize:c,children:o.jsx(xe,{windowSize:c,children:k.length===0||r==null?o.jsx(re,{message:J.noDataText}):o.jsx(me,{windowSize:c,children:o.jsx(ge,{uiState:z,invoices:k,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:V,onTransactionClick:E})})})})})})}function De(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:l.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Le as default,De as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{V as t,e as m,a8 as x,o as r,x as d,f as a,ab as g,O as u,aN as f,co as $,cn as b}from"./index-Mhz2NAiD.js";import{n as o,k as w}from"./mui-Ckdcx_YE.js";import{a as y}from"./sentry-D-LCra2M.js";import{t as j}from"./clock-CJkylEKt-CB7HCMZv.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c49e8f0e-e658-4b6b-8dea-162ceb3ca688",e._sentryDebugIdIdentifier="sentry-dbid-c49e8f0e-e658-4b6b-8dea-162ceb3ca688")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=w`
1
+ import{V as t,e as m,a8 as x,o as r,x as d,f as a,ab as g,O as u,aN as f,co as $,cn as b}from"./index-CVe1fo1a.js";import{n as o,k as w}from"./mui-DcvwYC51.js";import{a as y}from"./sentry-CFYfTv_F.js";import{t as j}from"./clock-CJkylEKt-9m-0TbEY.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c49e8f0e-e658-4b6b-8dea-162ceb3ca688",e._sentryDebugIdIdentifier="sentry-dbid-c49e8f0e-e658-4b6b-8dea-162ceb3ca688")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=w`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as fe,aL as ge,E as xe,aM as Ee,o as a,aN as ye,z as h,ap as f}from"./index-Mhz2NAiD.js";import{a as o,b as Ce}from"./sentry-D-LCra2M.js";import{n as l}from"./mui-Ckdcx_YE.js";import{bm as we}from"./zeni-epic-state-B1zsDZZ4.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-C6xm-p2j-Cianbfu8.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4865b0c8-5cd7-491b-8360-dec45d5304e3",e._sentryDebugIdIdentifier="sentry-dbid-4865b0c8-5cd7-491b-8360-dec45d5304e3")}catch{}})();const ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=h("DashboardSidebarBottomNewYear",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(ve,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
1
+ import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as fe,aL as ge,E as xe,aM as Ee,o as a,aN as ye,z as h,ap as f}from"./index-CVe1fo1a.js";import{a as o,b as Ce}from"./sentry-CFYfTv_F.js";import{n as l}from"./mui-DcvwYC51.js";import{bm as we}from"./zeni-epic-state-BZiG8B71.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-CBg2tWHO-BrEJtieY.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="451483c7-0476-4137-8a1f-130e69bcfec7",e._sentryDebugIdIdentifier="sentry-dbid-451483c7-0476-4137-8a1f-130e69bcfec7")}catch{}})();const ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=h("DashboardSidebarBottomNewYear",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(ve,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${a.sp3};
@@ -83,10 +83,10 @@ import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  }
85
85
  z-index: 1;
86
- `,Re=l(ye)`
86
+ `,Ue=l(ye)`
87
87
  display: flex;
88
88
  width: ${a.sp4};
89
89
  height: ${a.sp4};
90
90
  align-items: center;
91
91
  justify-content: center;
92
- `;function Xe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:t,isTreasuryEnabled:r,isTreasuryPopupVisible:$,isChargeCardEnabled:T,rewardsConfiguration:I,selectedMenu:M,isTenantDropdownDisabled:F,isSettings:u=!1,isAiCfo:V=!1,isOnDashboard:P,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:z,isSettingsFeatureEnabled:y,signedInUser:g,aiCfoView:R,currentTenant:C,christmasAnimationEnabled:x=!1,halloweenAnimationEnabled:w=!1,newYearAnimationEnabled:A=!1,thanksGivingAnimationEnabled:k=!1,notificationCountDetails:m,isExpenseAutomationEnabledForUser:B,isTaskManagerAccessEnabled:N,treasuryYieldPercentage:U,onNotificationIconClick:_,handleLogOutClick:L,handleMenuChange:G,onZeniLogoClick:H,handlePopupClose:O,handleBackClick:v,handleCockpitClick:K,handleMyProfileClick:j,handleReferralsClick:Z,handleTenantSelect:J,onDeleteChatSession:W,updateCurrentChatSessionId:q}){const[d,Q]=o.useState(u&&y),E=Ce.useRef("noAnimation"),S=we(g),X=ce(),{useFeatureGate:c,useDynamicConfig:ee}=pe(),{configValue:D}=ee(ue.expenseAutomationEnablementZeniUsers),ne=Array.isArray(D?.expenseAutomationEnabledCompanies)?D.expenseAutomationEnabledCompanies:[],{isFeatureEnabled:ie}=c(p.isReimbursementCommentingEnabled),{isFeatureEnabled:ae}=c(p.isBillPayCommentingEnabled),{isFeatureEnabled:te}=c(p.isExpenseAutomationEnabledV2),{isFeatureEnabled:se}=c(p.isTreasuryCommentingEnabled),{isFeatureEnabled:oe}=c(p.isCheckingCommentingEnabled),le=me();o.useEffect(()=>{u!==d&&Q(u)},[u,d]);const b=m?.fetchStatus.fetchState==="Not-Started"||m?.fetchStatus.fetchState==="In-Progress",re=E.current,de=S||(ie||ae||te||se||oe)&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Fe,{isOnDashboard:P,children:[n.jsxs(Ve,{children:[n.jsx(be,{onClick:H,halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:k,christmasAnimationEnabled:x,newYearAnimationEnabled:A}),n.jsx(he,{currentTenantId:e??"",tenants:i,isDisabled:F,isZeniUser:S,expenseAutomationEnabledCompanies:ne,onTenantSelect:J})]}),n.jsx(Pe,{children:n.jsx(fe,{className:re,signedInUser:g,selectedMenu:M,currentTenant:C,isVendorsTabVisible:s,rewardsConfiguration:I,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:Y,aiCfoView:R,isZeniAccountEnabled:t,isTreasuryEnabled:r,isTreasuryPopupVisible:$,treasuryYieldPercentage:U,isChargeCardEnabled:T,isNotificationsTabVisible:z,isPerformanceEnabledForUser:le,isExpenseAutomationEnabledForUser:B,isTaskManagerAccessEnabled:N,onSelectionChanged:G,onDeleteChatSession:W,updateCurrentChatSessionId:q,onBackClick:()=>{E.current="slide-in-left-to-right",d&&v&&v()},onPopupClose:O})}),n.jsx(Ae,{christmasAnimationEnabled:x}),n.jsxs(Ye,{children:[n.jsx(ge,{signedInUser:g,onLogOutClick:L,onMyProfileClick:()=>{E.current="slide-in-right-to-left",j&&j()},onReferralsClick:Z,onCockpitClick:K,currentTenant:C,isSettingsFeatureEnabled:y}),de?n.jsx(xe,{controller:m!=null,children:n.jsxs(ze,{isDisabled:b,onClick:b?void 0:_,"data-testid":"notification-icon",children:[n.jsx(Ee,{count:b?void 0:m?.count,type:"important",isLoading:b,style:{left:"12px"}}),n.jsx(Re,{})]})}):null]}),n.jsx(Me,{halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:k,christmasAnimationEnabled:x,newYearAnimationEnabled:A})]},d.toString())}export{Xe as default};
92
+ `;function Xe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:t,isTreasuryEnabled:r,isTreasuryPopupVisible:$,isChargeCardEnabled:T,rewardsConfiguration:I,selectedMenu:M,isTenantDropdownDisabled:F,isSettings:u=!1,isAiCfo:V=!1,isOnDashboard:P,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:z,isSettingsFeatureEnabled:y,signedInUser:g,aiCfoView:U,currentTenant:C,christmasAnimationEnabled:x=!1,halloweenAnimationEnabled:w=!1,newYearAnimationEnabled:A=!1,thanksGivingAnimationEnabled:k=!1,notificationCountDetails:m,isExpenseAutomationEnabledForUser:N,isTaskManagerAccessEnabled:R,treasuryYieldPercentage:_,onNotificationIconClick:B,handleLogOutClick:L,handleMenuChange:G,onZeniLogoClick:H,handlePopupClose:O,handleBackClick:v,handleCockpitClick:K,handleMyProfileClick:j,handleReferralsClick:Z,handleTenantSelect:J,onDeleteChatSession:W,updateCurrentChatSessionId:q}){const[d,Q]=o.useState(u&&y),E=Ce.useRef("noAnimation"),S=we(g),X=ce(),{useFeatureGate:c,useDynamicConfig:ee}=pe(),{configValue:D}=ee(ue.expenseAutomationEnablementZeniUsers),ne=Array.isArray(D?.expenseAutomationEnabledCompanies)?D.expenseAutomationEnabledCompanies:[],{isFeatureEnabled:ie}=c(p.isReimbursementCommentingEnabled),{isFeatureEnabled:ae}=c(p.isBillPayCommentingEnabled),{isFeatureEnabled:te}=c(p.isExpenseAutomationEnabledV2),{isFeatureEnabled:se}=c(p.isTreasuryCommentingEnabled),{isFeatureEnabled:oe}=c(p.isCheckingCommentingEnabled),le=me();o.useEffect(()=>{u!==d&&Q(u)},[u,d]);const b=m?.fetchStatus.fetchState==="Not-Started"||m?.fetchStatus.fetchState==="In-Progress",re=E.current,de=S||(ie||ae||te||se||oe)&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Fe,{isOnDashboard:P,children:[n.jsxs(Ve,{children:[n.jsx(be,{onClick:H,halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:k,christmasAnimationEnabled:x,newYearAnimationEnabled:A}),n.jsx(he,{currentTenantId:e??"",tenants:i,isDisabled:F,isZeniUser:S,expenseAutomationEnabledCompanies:ne,onTenantSelect:J})]}),n.jsx(Pe,{children:n.jsx(fe,{className:re,signedInUser:g,selectedMenu:M,currentTenant:C,isVendorsTabVisible:s,rewardsConfiguration:I,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:Y,aiCfoView:U,isZeniAccountEnabled:t,isTreasuryEnabled:r,isTreasuryPopupVisible:$,treasuryYieldPercentage:_,isChargeCardEnabled:T,isNotificationsTabVisible:z,isPerformanceEnabledForUser:le,isExpenseAutomationEnabledForUser:N,isTaskManagerAccessEnabled:R,onSelectionChanged:G,onDeleteChatSession:W,updateCurrentChatSessionId:q,onBackClick:()=>{E.current="slide-in-left-to-right",d&&v&&v()},onPopupClose:O})}),n.jsx(Ae,{christmasAnimationEnabled:x}),n.jsxs(Ye,{children:[n.jsx(ge,{signedInUser:g,onLogOutClick:L,onMyProfileClick:()=>{E.current="slide-in-right-to-left",j&&j()},onReferralsClick:Z,onCockpitClick:K,currentTenant:C,isSettingsFeatureEnabled:y}),de?n.jsx(xe,{controller:m!=null,children:n.jsxs(ze,{isDisabled:b,onClick:b?void 0:B,"data-testid":"notification-icon",children:[n.jsx(Ee,{count:b?void 0:m?.count,type:"important",isLoading:b,style:{left:"12px"}}),n.jsx(Ue,{})]})}):null]}),n.jsx(Me,{halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:k,christmasAnimationEnabled:x,newYearAnimationEnabled:A})]},d.toString())}export{Xe as default};
@@ -1,4 +1,4 @@
1
- import{y as U,e as F,_ as V,O as p,ad as y,V as t,a_ as E,L as G,eZ as b,d4 as S,x as d,o as k,H as J,w as j,m as i}from"./index-Mhz2NAiD.js";import{n as l}from"./mui-Ckdcx_YE.js";import{FZ as N,F_ as Z}from"./zeni-epic-state-B1zsDZZ4.js";import"./sentry-D-LCra2M.js";import"./pdf-CwWlK-Dr.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.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]="7d54f4eb-b792-4029-ad8f-f2a34a86132a",e._sentryDebugIdIdentifier="sentry-dbid-7d54f4eb-b792-4029-ad8f-f2a34a86132a")}catch{}})();const a={sectionRowGap:new d(i[4],i[8],i[8]),lastSectionPaddingBottom:new d(i[7],i[10],i[10]),iconWidthHeight:new d(20,i[4]),subtitleSectionWidth:new d(343,580,1200)},me=({billpayApprovalView:e,remiApproverView:n,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:T})=>{const r=U(),o=F(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=n,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:_}=B,{reimbursementSetup:L}=M,{setUp:s}=A,W=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),D=N(c,u.loggedInUserRoleMap),H=Z(c,u.loggedInUserRoleMap);return t.jsxs(q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:P}),t.jsx(K,{windowSize:o,children:W?t.jsx(Q,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(Y,{windowSize:o,children:t.jsx(ee,{windowSize:o,children:w.infoText.approvalRules})}),t.jsxs(X,{windowSize:o,children:[D===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:_.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:v},onClick:I,status:m.length>0?z:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:a.iconWidthHeight.valuePx(o)}),color:v},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:T,status:f.length>0?C:void 0})]})]})})]})},O=l.div`
1
+ import{y as U,e as F,_ as V,O as p,ad as y,V as t,a_ as E,L as G,eZ as b,d4 as S,x as d,o as k,H as J,w as j,m as i}from"./index-CVe1fo1a.js";import{n as l}from"./mui-DcvwYC51.js";import{FZ as N,F_ as Z}from"./zeni-epic-state-BZiG8B71.js";import"./sentry-CFYfTv_F.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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]="7d54f4eb-b792-4029-ad8f-f2a34a86132a",e._sentryDebugIdIdentifier="sentry-dbid-7d54f4eb-b792-4029-ad8f-f2a34a86132a")}catch{}})();const a={sectionRowGap:new d(i[4],i[8],i[8]),lastSectionPaddingBottom:new d(i[7],i[10],i[10]),iconWidthHeight:new d(20,i[4]),subtitleSectionWidth:new d(343,580,1200)},me=({billpayApprovalView:e,remiApproverView:n,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:T})=>{const r=U(),o=F(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=n,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:_}=B,{reimbursementSetup:L}=M,{setUp:s}=A,W=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),D=N(c,u.loggedInUserRoleMap),H=Z(c,u.loggedInUserRoleMap);return t.jsxs(q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:P}),t.jsx(K,{windowSize:o,children:W?t.jsx(Q,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(Y,{windowSize:o,children:t.jsx(ee,{windowSize:o,children:w.infoText.approvalRules})}),t.jsxs(X,{windowSize:o,children:[D===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:_.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:v},onClick:I,status:m.length>0?z:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:a.iconWidthHeight.valuePx(o)}),color:v},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:T,status:f.length>0?C:void 0})]})]})})]})},O=l.div`
2
2
  width: 100%;
3
3
  margin: auto;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{V as u,O as x,cA as w,y as P,an as K,m as v,w as S,ag as N,cB as T,cC as I,f as y,o as j,l as Y}from"./index-Mhz2NAiD.js";import{a as k,b as q}from"./sentry-D-LCra2M.js";import{n as C}from"./mui-Ckdcx_YE.js";import{l as L,_ as R,h as W,m as H,u as D}from"./chartTypes-BGl-YMiu-DAKq2IM5.js";import{cj as B,FK as O}from"./zeni-epic-state-B1zsDZZ4.js";import{S as A,E as V,X as F,Y as G,F as M,K as _}from"./recharts-Dr1JzI4y.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]="8db9f2a7-f56e-49ae-97bc-8686bdda39a0",e._sentryDebugIdIdentifier="sentry-dbid-8db9f2a7-f56e-49ae-97bc-8686bdda39a0")}catch{}})();const J=C.div`
1
+ import{V as u,O as x,cA as w,y as P,an as K,m as v,w as S,ag as N,cB as T,cC as I,f as y,o as j,l as Y}from"./index-CVe1fo1a.js";import{a as k,b as q}from"./sentry-CFYfTv_F.js";import{n as C}from"./mui-DcvwYC51.js";import{l as L,_ as R,h as W,m as J,u as D}from"./chartTypes-BqRsL6eJ-D0sv3zgU.js";import{cj as B,FK as O}from"./zeni-epic-state-BZiG8B71.js";import{S as A,E as V,X as F,Y as G,F as M,K as _}from"./recharts-LOG_L3Q0.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]="e893edb3-3ba7-4d24-8033-d067de231fe1",e._sentryDebugIdIdentifier="sentry-dbid-e893edb3-3ba7-4d24-8033-d067de231fe1")}catch{}})();const H=C.div`
2
2
  display: flex;
3
3
  `,Q=C.div`
4
4
  flex: display;
@@ -15,7 +15,7 @@ import{V as u,O as x,cA as w,y as P,an as K,m as v,w as S,ag as N,cB as T,cC as
15
15
  width: 100%;
16
16
  height: 1px;
17
17
  background-color: ${y.neutralGrey3Dark};
18
- `,Z=({barLabelsWithValues:e})=>u.jsx(J,{children:u.jsxs(Q,{children:[u.jsx($,{color:e[0].color,children:`${e[0].barName}: ${D(e[0].actual)}`}),u.jsx(U,{}),u.jsx($,{children:`${x.getLocalizedStrings().chartCard.total}: ${D(e[1].actual)}`})]})}),X=q.memo(e=>{const s=(({active:o,payload:a,barName:r})=>{const c=[];if(a!=null&&o===!0){const l=a.filter(h=>h.name==r)[0],n=l.payload,d=l.color,t=r!=null&&n.record[r]!=null?n.record[r].amount:void 0,i={amount:0,currencyCode:"",currencySymbol:""};let m;for(m in n.record){const h=n.record[m].amount;i.amount+=n.record[m].amount?.amount??0,i.currencyCode=h!=null?h.currencyCode:i.currencyCode,i.currencySymbol=h!=null?h.currencySymbol:i.currencySymbol}const p=H(r);c.push({barName:p,actual:t,color:d}),c.push({barName:x.getLocalizedStrings().chartCard.total,actual:i,color:y.brandColorPearl})}return c})({...e});return s.length===0?null:u.jsx(Z,{barLabelsWithValues:s})});function E(e){const s=[];for(const o in e)s.push(o);return s.sort((o,a)=>(e[a].amount?.amount??0)-(e[o].amount?.amount??0)),s}const ee=e=>{const s=e.agingPeriods.map(a=>x.getLocalizedStrings().reports.aging.duration[a]),o=[];return{recordByDurations:e.agingPeriods.map(a=>{const r={};e.agingBalances.forEach(n=>{const d=L(n.vendor?.name??"",a);r[d]={amount:n.apAgingBalances.find(t=>t.period===a)?.balance}});const c=x.getLocalizedStrings().reports.aging.duration[a];if(Object.keys(r).length>5){const n=function(h){const g=T(h,(f,b)=>[f.amount?.amount??0,b]);return g.sort((f,b)=>b[0]-f[0]),g.slice(0,4).reduce((f,b)=>({...f,[b[1]]:!0}),{})}(r),d=w(r,(h,g)=>n[g]===!0),t=w(r,(h,g)=>n[g]!==!0),i=Object.keys(t).reduce((h,g)=>h+(t[g].amount?.amount??0),0),m=Object.keys(t)[0];d[L("Other",a)]={...t[m],amount:{amount:i,currencyCode:t[m].amount?.currencyCode??B.currencyCode,currencySymbol:t[m].amount?.currencySymbol??B.currencySymbol}};const p=E(d);return o.push(...p),{label:c,record:d}}const l=E(r);return o.push(...l),{label:c,record:r}}),durationLabels:s,orderedKeys:Array.from(o)}},te=C.div`
18
+ `,Z=({barLabelsWithValues:e})=>u.jsx(H,{children:u.jsxs(Q,{children:[u.jsx($,{color:e[0].color,children:`${e[0].barName}: ${D(e[0].actual)}`}),u.jsx(U,{}),u.jsx($,{children:`${x.getLocalizedStrings().chartCard.total}: ${D(e[1].actual)}`})]})}),X=q.memo(e=>{const s=(({active:o,payload:a,barName:r})=>{const c=[];if(a!=null&&o===!0){const l=a.filter(h=>h.name==r)[0],n=l.payload,d=l.color,t=r!=null&&n.record[r]!=null?n.record[r].amount:void 0,i={amount:0,currencyCode:"",currencySymbol:""};let m;for(m in n.record){const h=n.record[m].amount;i.amount+=n.record[m].amount?.amount??0,i.currencyCode=h!=null?h.currencyCode:i.currencyCode,i.currencySymbol=h!=null?h.currencySymbol:i.currencySymbol}const p=J(r);c.push({barName:p,actual:t,color:d}),c.push({barName:x.getLocalizedStrings().chartCard.total,actual:i,color:y.brandColorPearl})}return c})({...e});return s.length===0?null:u.jsx(Z,{barLabelsWithValues:s})});function E(e){const s=[];for(const o in e)s.push(o);return s.sort((o,a)=>(e[a].amount?.amount??0)-(e[o].amount?.amount??0)),s}const ee=e=>{const s=e.agingPeriods.map(a=>x.getLocalizedStrings().reports.aging.duration[a]),o=[];return{recordByDurations:e.agingPeriods.map(a=>{const r={};e.agingBalances.forEach(n=>{const d=L(n.vendor?.name??"",a);r[d]={amount:n.apAgingBalances.find(t=>t.period===a)?.balance}});const c=x.getLocalizedStrings().reports.aging.duration[a];if(Object.keys(r).length>5){const n=function(h){const g=T(h,(f,b)=>[f.amount?.amount??0,b]);return g.sort((f,b)=>b[0]-f[0]),g.slice(0,4).reduce((f,b)=>({...f,[b[1]]:!0}),{})}(r),d=w(r,(h,g)=>n[g]===!0),t=w(r,(h,g)=>n[g]!==!0),i=Object.keys(t).reduce((h,g)=>h+(t[g].amount?.amount??0),0),m=Object.keys(t)[0];d[L("Other",a)]={...t[m],amount:{amount:i,currencyCode:t[m].amount?.currencyCode??B.currencyCode,currencySymbol:t[m].amount?.currencySymbol??B.currencySymbol}};const p=E(d);return o.push(...p),{label:c,record:d}}const l=E(r);return o.push(...l),{label:c,record:r}}),durationLabels:s,orderedKeys:Array.from(o)}},te=C.div`
19
19
  width: ${e=>e.width}px;
20
20
  height: ${e=>e.height}px;
21
21
  `,re=({active:e,payload:s,mouseOverBarName:o})=>s?.find(a=>a.name===o)!=null&&o!=null&&e===!0?u.jsx(X,{active:e,payload:s,barName:o}):null;function pe({report:e,width:s,height:o,isDetailPage:a}){const r=k.useRef(!1),[c,l]=k.useState(void 0);k.useEffect(()=>{r.current=!0},[]);const n=ee(e),d=(t,i)=>u.jsx(_,{name:t,animationDuration:i?500:void 0,style:{cursor:"pointer"},dataKey:m=>{const p=m.record;return(p[t]?.amount!=null?p[t].amount:void 0)?.amount??0},stackId:"a",fill:ae(t,n),onMouseEnter:()=>{c!==t&&l(t)},onMouseLeave:()=>{c!=null&&l(void 0)}},t);return n==null?null:u.jsx(oe,{chartData:n,barElements:(()=>{const t=[];return n?.orderedKeys.forEach(i=>{const m=a===!0&&!r.current;t.push(d(i,m))}),t})(),width:s,height:o,isDetailPage:a===!0,customToolTipContent:u.jsx(re,{mouseOverBarName:c})})}const oe=({chartData:e,barElements:s,customToolTipContent:o,width:a,height:r,isDetailPage:c})=>{const l=P(),n=R(e);return u.jsx(te,{width:a,height:r,children:u.jsx(K,{children:({height:d,width:t})=>u.jsxs(A,{width:t,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?v[8]:v[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[u.jsx(V,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:l.colors.grey3}),u.jsx(F,{dataKey:i=>i.label,type:"category",axisLine:{stroke:l.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:l.colors.hero,...S.extraSmallRegular.cssObject}}),u.jsx(G,{type:"number",axisLine:!1,tickLine:!1,tick:{color:l.colors.hero,...S.extraSmallRegular.cssObject},tickFormatter:i=>N("0,0.[00]a",i,n)}),u.jsx(M,{wrapperStyle:{zIndex:2},cursor:!1,content:o,allowEscapeViewBox:{x:!1,y:!0}}),s]})})})};function ae(e,s){const o=W(e),a=x.getLocalizedStrings().reports.aging.duration[o],r=s?.recordByDurations.find(c=>c.label===a)?.record;if(r?.[e]!=null){const c=r[e].amount?.amount??0;let l=1;switch(I(r,n=>{(n.amount?.amount??0)>c&&l++}),l){case 1:return y.graphColor24;case 2:return y.graphColor33;case 3:return y.graphColor18;case 4:return y.graphColor12;default:return y.graphColor01}}return y.graphColor01}function z(e){const s=[];for(const o in e)s.push(o);return s.sort((o,a)=>(e[a].amount?.amount??0)-(e[o].amount?.amount??0)),s}const ne=e=>{const s=e.agingPeriods.map(a=>x.getLocalizedStrings().reports.aging.duration[a]),o=[];return{recordByDurations:e.agingPeriods.map(a=>{const r={};e.agingBalances.forEach(n=>{const d=L(n.customer?.name??"",a),t=n.arAgingBalances.find(i=>i.period===a);r[d]={amount:n.children.length>0?t?.totalBalance:t?.balance}});const c=x.getLocalizedStrings().reports.aging.duration[a];if(Object.keys(r).length>5){const n=function(h){const g=T(h,(f,b)=>[f.amount?.amount??0,b]);return g.sort((f,b)=>b[0]-f[0]),g.slice(0,4).reduce((f,b)=>({...f,[b[1]]:!0}),{})}(r),d=w(r,(h,g)=>n[g]===!0),t=w(r,(h,g)=>n[g]!==!0),i=Object.keys(t).reduce((h,g)=>h+(t[g].amount?.amount??0),0),m=Object.keys(t)[0];d[L("Other",a)]={...t[m],amount:{amount:i,currencyCode:t[m].amount?.currencyCode??O.currencyCode,currencySymbol:t[m].amount?.currencySymbol??O.currencySymbol}};const p=z(d);return o.push(...p),{label:c,record:d}}const l=z(r);return o.push(...l),{label:c,record:r}}),durationLabels:s,orderedKeys:Array.from(o)}},se=C.div`
@@ -1,16 +1,16 @@
1
- import{y as G,e as Q,V as o,bd as W,aZ as X,bN as ee,a_ as oe,O as C,o as T,ab as te,x as A,a$ as re,bJ as ae,bK as ne,bL as ie,m as u}from"./index-Mhz2NAiD.js";import{a as D}from"./sentry-D-LCra2M.js";import{n as a}from"./mui-Ckdcx_YE.js";import{m as se}from"./BusyIndication-DmApVsF7-DoBMbi5i.js";import{L as le,D as de}from"./EntitySummarySection-0rRkC5V6-Conv00DK.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="bbe150d4-5ae4-4e74-a871-21d4969c9168",e._sentryDebugIdIdentifier="sentry-dbid-bbe150d4-5ae4-4e74-a871-21d4969c9168")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},{common:ce,reports:{common:me,aging:{agingDetail:ge}},dateFormat:N}=C.getLocalizedStrings();function Fe(e){const l=G(),d=Q(),{arAgingDetail:t,downloadParams:y,reportDate:n,analytics:c,onReload:O,onBackClick:F,onColumnSortConfigChanged:_,updateDownloadStateHandler:f,onTransactionClick:Y,sidePanelIsOpen:E,sidePanelIsFullView:L,panelContent:R}=e,{authParams:S,downloadEndPoint:I,timezone:k}=y,{fetchState:m,invoices:v,arAgingDetailUIState:P,customer:r,totalBalances:B}=t,{sortKey:h,sortOrder:w,downloadState:g}=P,[$,j]=D.useState(!1),H=D.useCallback((i,p)=>{t.customer!=null&&c.trackArAgingDetailReportSortChange(i,p,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),_(i,p)},[t.customer,_,c,n]);if(D.useEffect(()=>{$&&g!=="In-Progress"&&(j(!1),f("In-Progress"),async function(){const i={companyName:y.companyName,sortKey:h,sortOrder:w,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:r?.id??"",timezone:k,reportDate:n};await async function(p,J,V){const U=`${p}?query=${encodeURIComponent(JSON.stringify(pe(V)))}`,z=C.getLocalizedStrings(),M=z.reports.aging.arAging.arAging,x=z.download;try{const s=await ae({urlEndPoint:U,authParams:J,fileType:"excel"});if(s.ok){const q=ne(s.headers,x.defaultFileName),Z=await s.arrayBuffer();ie(Z,q)}else console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${s.statusText}`)}catch(s){console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${JSON.stringify(s)}`)}}(I,S,i),f("Completed"),t.customer!=null&&c.trackApAgingDetailReportDownload(h,w,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}())},[S,I,y.companyName,g,$,n,h,w,k,f,r?.id,t.customer,c]),m==="Error")return o.jsxs(ye,{children:[o.jsx(fe,{onClick:O,children:o.jsx(W,{})}),o.jsx(he,{children:me.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(se,{fetchState:m});const K=o.jsx(re,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:g==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(g==="In-Progress")return void console.log("Download is already in progress!");j(!0)}}}}});return o.jsx(X,{isOpen:E??!1,isFullView:L??!1,panelContent:R,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(oe,{title:ce.strings.empty,backgroundColor:l.colors.grey5,onBackClick:F,rightSideComponent:K,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(de,{totalBalances:B,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_receivable_aging",reportDate:n})]}),listContent:o.jsx(we,{children:o.jsx(xe,{windowSize:d,children:o.jsx(De,{windowSize:d,children:v.length===0||r==null?o.jsx(ee,{message:ge.noDataText}):o.jsx(ue,{windowSize:d,children:o.jsx(le,{uiState:P,invoices:v,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:H,onTransactionClick:Y})})})})})})}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ue=a.div`
1
+ import{y as G,e as Q,V as o,bd as W,aZ as X,bN as ee,a_ as oe,O as C,o as T,ab as te,x as A,a$ as re,bJ as ae,bK as ne,bL as ie,m as u}from"./index-CVe1fo1a.js";import{a as D}from"./sentry-CFYfTv_F.js";import{n as a}from"./mui-DcvwYC51.js";import{m as se}from"./BusyIndication-YMYY0Pff-BY32OnMI.js";import{L as le,D as ce}from"./EntitySummarySection-mXeSjiuZ-B9FERucG.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4a67f073-76e4-4b79-b8b5-389916a197b8",e._sentryDebugIdIdentifier="sentry-dbid-4a67f073-76e4-4b79-b8b5-389916a197b8")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},{common:de,reports:{common:me,aging:{agingDetail:ge}},dateFormat:N}=C.getLocalizedStrings();function Fe(e){const l=G(),c=Q(),{arAgingDetail:t,downloadParams:f,reportDate:n,analytics:d,onReload:O,onBackClick:F,onColumnSortConfigChanged:_,updateDownloadStateHandler:y,onTransactionClick:Y,sidePanelIsOpen:E,sidePanelIsFullView:L,panelContent:R}=e,{authParams:S,downloadEndPoint:I,timezone:k}=f,{fetchState:m,invoices:v,arAgingDetailUIState:P,customer:r,totalBalances:B}=t,{sortKey:h,sortOrder:w,downloadState:g}=P,[$,j]=D.useState(!1),H=D.useCallback((i,p)=>{t.customer!=null&&d.trackArAgingDetailReportSortChange(i,p,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),_(i,p)},[t.customer,_,d,n]);if(D.useEffect(()=>{$&&g!=="In-Progress"&&(j(!1),y("In-Progress"),async function(){const i={companyName:f.companyName,sortKey:h,sortOrder:w,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:r?.id??"",timezone:k,reportDate:n};await async function(p,J,V){const U=`${p}?query=${encodeURIComponent(JSON.stringify(pe(V)))}`,z=C.getLocalizedStrings(),M=z.reports.aging.arAging.arAging,x=z.download;try{const s=await ae({urlEndPoint:U,authParams:J,fileType:"excel"});if(s.ok){const q=ne(s.headers,x.defaultFileName),Z=await s.arrayBuffer();ie(Z,q)}else console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${s.statusText}`)}catch(s){console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${JSON.stringify(s)}`)}}(I,S,i),y("Completed"),t.customer!=null&&d.trackApAgingDetailReportDownload(h,w,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}())},[S,I,f.companyName,g,$,n,h,w,k,y,r?.id,t.customer,d]),m==="Error")return o.jsxs(fe,{children:[o.jsx(ye,{onClick:O,children:o.jsx(W,{})}),o.jsx(he,{children:me.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(se,{fetchState:m});const K=o.jsx(re,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:g==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(g==="In-Progress")return void console.log("Download is already in progress!");j(!0)}}}}});return o.jsx(X,{isOpen:E??!1,isFullView:L??!1,panelContent:R,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(oe,{title:de.strings.empty,backgroundColor:l.colors.grey5,onBackClick:F,rightSideComponent:K,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(ce,{totalBalances:B,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_receivable_aging",reportDate:n})]}),listContent:o.jsx(we,{children:o.jsx(xe,{windowSize:c,children:o.jsx(De,{windowSize:c,children:v.length===0||r==null?o.jsx(ee,{message:ge.noDataText}):o.jsx(ue,{windowSize:c,children:o.jsx(le,{uiState:P,invoices:v,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:H,onTransactionClick:Y})})})})})})}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ue=a.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  max-width: 99.9%;
6
- `,ye=a.div`
6
+ `,fe=a.div`
7
7
  display: flex;
8
8
  width: 100%;
9
9
  height: calc(100% - 60px);
10
10
  flex-direction: column;
11
11
  justify-content: center;
12
12
  align-items: center;
13
- `,fe=a.div`
13
+ `,ye=a.div`
14
14
  height: 96px;
15
15
  width: 96px;
16
16
  background: ${e=>e.theme.colors.background};
@@ -1,4 +1,4 @@
1
- import{e as b,O as w,y as U,V as l,f_ as B,fX as j,fY as V,bo as _,b as C,eU as R,o as a,at as O,f$ as S,f as k,cp as M}from"./index-Mhz2NAiD.js";import{a as e}from"./sentry-D-LCra2M.js";import{n as r}from"./mui-Ckdcx_YE.js";import"./pdf-CwWlK-Dr.js";import"./zeni-epic-state-B1zsDZZ4.js";import"./core-AYNw6kyJ.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./plaid-BhP6n1uc.js";import"./utils-CI1RvLss.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="3a780bd2-6edc-4e0f-8077-3e9796064347",t._sentryDebugIdIdentifier="sentry-dbid-3a780bd2-6edc-4e0f-8077-3e9796064347")}catch{}})();const $=r.div`
1
+ import{e as b,O as w,y as U,V as l,f_ as B,fX as j,fY as V,bo as _,b as C,eU as R,o as a,at as O,f$ as S,f as k,cp as M}from"./index-CVe1fo1a.js";import{a as e}from"./sentry-CFYfTv_F.js";import{n as r}from"./mui-DcvwYC51.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="3a780bd2-6edc-4e0f-8077-3e9796064347",t._sentryDebugIdIdentifier="sentry-dbid-3a780bd2-6edc-4e0f-8077-3e9796064347")}catch{}})();const $=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  box-sizing: border-box;
@@ -1,23 +1,23 @@
1
- import{e as $,V as i,b as p,k as g,bl as x,o as e,aQ as y,b6 as b,x as c,l as S,m as h}from"./index-Mhz2NAiD.js";import{a as j}from"./sentry-D-LCra2M.js";import{n as s,c as z}from"./mui-Ckdcx_YE.js";import{J as v}from"./CollapsableReportTable-ClHwXtCj-Bu1ywWDb.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="f3009954-da86-41cb-9bf6-2393c6363264",o._sentryDebugIdIdentifier="sentry-dbid-f3009954-da86-41cb-9bf6-2393c6363264")}catch{}})();const w={tooltipLeftPosition:new c(h[0],-156),tooltipTopPosition:new c(h[3],h[4]),tooltipWidth:new c(300,350)},m=z`
1
+ import{e as $,V as i,b as p,k as g,bl as x,o as e,aQ as y,b6 as m,x as c,l as S,m as h}from"./index-CVe1fo1a.js";import{a as j}from"./sentry-CFYfTv_F.js";import{n as s,c as z}from"./mui-DcvwYC51.js";import{J as v}from"./CollapsableReportTable-C_bWRP7w-ybv6uXaY.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="d1452fd1-74aa-459b-8e49-a230f36148ce",o._sentryDebugIdIdentifier="sentry-dbid-d1452fd1-74aa-459b-8e49-a230f36148ce")}catch{}})();const w={tooltipLeftPosition:new c(h[0],-156),tooltipTopPosition:new c(h[3],h[4]),tooltipWidth:new c(300,350)},b=z`
2
2
  position: relative;
3
3
  `,T=s.div`
4
4
  color: ${o=>o.theme.colors.primary};
5
- ${o=>o.windowSize==="small"?m:null}
6
- `,k=s(x)``,D=s.div`
5
+ ${o=>o.windowSize==="small"?b:null}
6
+ `,P=s(x)``,k=s.div`
7
7
  display: inline-block;
8
8
  padding-left: ${e.sp2};
9
9
  vertical-align: middle;
10
- ${o=>o.windowSize!=="small"?m:null}
11
- `,P=s(y)`
10
+ ${o=>o.windowSize!=="small"?b:null}
11
+ `,D=s(y)`
12
12
  padding-left: ${e.sp3};
13
- `,I=s(b)`
13
+ `,I=s(m)`
14
14
  width: ${e.sp4};
15
15
  height: ${e.sp4};
16
16
  color: ${o=>o.theme.colors.grey1};
17
17
  &:hover {
18
18
  color: ${o=>o.theme.colors.champion};
19
19
  }
20
- `,_=s(b)`
20
+ `,_=s(m)`
21
21
  width: ${e.sp4};
22
22
  height: ${e.sp4};
23
23
 
@@ -35,4 +35,4 @@ import{e as $,V as i,b as p,k as g,bl as x,o as e,aQ as y,b6 as b,x as c,l as S,
35
35
  top: calc(100% + ${o=>w.tooltipTopPosition.valuePx(o.windowSize)});
36
36
  `,L=s(S)`
37
37
  color: ${o=>o.theme.colors.hero};
38
- `,O=o=>{const{infotipDescription:t,windowSize:n,isToolTipOpen:l}=o;return l===!1?null:i.jsx(C,{windowSize:n,children:i.jsx(L,{children:t})})};function J({balance:o,dateText:t,showInfotip:n,infotipDescription:l}){const d=$(),[f,a]=j.useState(!1),u=()=>f?i.jsx(_,{onClick:()=>{a(r=>!r)}}):i.jsx(I,{onClick:()=>{a(r=>!r)}});return i.jsxs(T,{windowSize:d,"data-testid":p("balances-insight"),children:[i.jsx(k,{"data-testid":p("balances-insight","amount"),children:v(o)}),i.jsx(P,{"data-testid":p("balances-insight","date"),children:t}),n===!0?i.jsx(g,{onClickAway:()=>a(!1),children:i.jsxs(D,{windowSize:d,children:[i.jsx(u,{}),i.jsx(O,{isToolTipOpen:f,infotipDescription:l,windowSize:d})]})}):null]})}export{J as H};
38
+ `,O=o=>{const{infotipDescription:t,windowSize:n,isToolTipOpen:l}=o;return l===!1?null:i.jsx(C,{windowSize:n,children:i.jsx(L,{children:t})})};function J({balance:o,dateText:t,showInfotip:n,infotipDescription:l}){const d=$(),[f,a]=j.useState(!1),u=()=>f?i.jsx(_,{onClick:()=>{a(r=>!r)}}):i.jsx(I,{onClick:()=>{a(r=>!r)}});return i.jsxs(T,{windowSize:d,"data-testid":p("balances-insight"),children:[i.jsx(P,{"data-testid":p("balances-insight","amount"),children:v(o)}),i.jsx(D,{"data-testid":p("balances-insight","date"),children:t}),n===!0?i.jsx(g,{onClickAway:()=>a(!1),children:i.jsxs(k,{windowSize:d,children:[i.jsx(u,{}),i.jsx(O,{isToolTipOpen:f,infotipDescription:l,windowSize:d})]})}):null]})}export{J as H};
@@ -1,4 +1,4 @@
1
- import{e as R,cc as P,a7 as A,dX as B,O as S,x as n,V as t,cd as f,cf as w,c6 as T,al as L,o as g,eq as D,es as V,b as z,m as a,L as q,l as H}from"./index-Mhz2NAiD.js";import{a as C}from"./sentry-D-LCra2M.js";import{n as u}from"./mui-Ckdcx_YE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="63a198e2-9748-4032-ad45-168c770aa5b4",e._sentryDebugIdIdentifier="sentry-dbid-63a198e2-9748-4032-ad45-168c770aa5b4")}catch{}})();const W=u.div`
1
+ import{e as R,cc as P,a7 as A,dX as B,O as S,x as n,V as t,cd as f,cf as w,c6 as T,al as L,o as g,eq as D,es as V,b as z,m as a,L as q,l as H}from"./index-CVe1fo1a.js";import{a as C}from"./sentry-CFYfTv_F.js";import{n as u}from"./mui-DcvwYC51.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="63a198e2-9748-4032-ad45-168c770aa5b4",e._sentryDebugIdIdentifier="sentry-dbid-63a198e2-9748-4032-ad45-168c770aa5b4")}catch{}})();const W=u.div`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  align-items: center;
4
4
  justify-content: flex-end;
@@ -1,4 +1,4 @@
1
- import{e as w,V as a,b as u,bo as $,o as e,x as t,bx as f,d as x,M as y,O as k,f as l,er as v,l as z,m as n}from"./index-Mhz2NAiD.js";import{n as o}from"./mui-Ckdcx_YE.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new i.Error().stack;r&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[r]="a306c00b-685f-432f-b519-260c996a57ba",i._sentryDebugIdIdentifier="sentry-dbid-a306c00b-685f-432f-b519-260c996a57ba")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,n[3]),customTitleMarginBottom:new t(n[0],n[3]),customTitleMarginLeft:new t(n[3],n[6]),customTitleMarginRight:new t(n[5],n[8])},P={formTitle:new x("h6Medium","h5Medium")},R=({header:i,isDirty:r,isMagicLink:c,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return a.jsxs(a.Fragment,{children:[s==="small"?a.jsxs(C,{windowSize:s,children:[c?null:a.jsx(b,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),a.jsx(h,{windowSize:s,children:i})]}):a.jsx(S,{children:c?null:a.jsx($,{title:j,enterDelay:600,placement:"bottom",children:a.jsx(b,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),s!=="small"?a.jsx(h,{windowSize:s,children:i}):null]})},h=o(y)`
1
+ import{e as w,V as a,b as u,bo as $,o as e,x as t,bx as f,d as x,M as y,O as k,f as l,er as v,l as z,m as n}from"./index-CVe1fo1a.js";import{n as o}from"./mui-DcvwYC51.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new i.Error().stack;r&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[r]="a306c00b-685f-432f-b519-260c996a57ba",i._sentryDebugIdIdentifier="sentry-dbid-a306c00b-685f-432f-b519-260c996a57ba")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,n[3]),customTitleMarginBottom:new t(n[0],n[3]),customTitleMarginLeft:new t(n[3],n[6]),customTitleMarginRight:new t(n[5],n[8])},P={formTitle:new x("h6Medium","h5Medium")},R=({header:i,isDirty:r,isMagicLink:c,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return a.jsxs(a.Fragment,{children:[s==="small"?a.jsxs(C,{windowSize:s,children:[c?null:a.jsx(b,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),a.jsx(h,{windowSize:s,children:i})]}):a.jsx(S,{children:c?null:a.jsx($,{title:j,enterDelay:600,placement:"bottom",children:a.jsx(b,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),s!=="small"?a.jsx(h,{windowSize:s,children:i}):null]})},h=o(y)`
2
2
  ${i=>`${P.formTitle.style(i.windowSize)}`};
3
3
  color: ${i=>i.theme.colors.primary};
4
4
  margin-bottom: ${i=>d.customTitleMarginBottom.valuePx(i.windowSize)};
@@ -1,4 +1,4 @@
1
- import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H as Ze,l as M,L as se,bN as Ke,A as et,bo as tt,m as k,at as nt,w as Ue,d as it,h as Ce,cc as ot,a7 as G,ad as he,dX as at,aU as Me,f3 as ze,f4 as ct,f5 as Ve,bu as Ie,f6 as lt,f7 as st,f8 as me,f9 as fe,fa as je,a5 as ge,bG as we,b as rt,b6 as dt,dc as He,f as K,C as F,fb as ut,fc as pt,fd as ht,aD as mt,fe as ft}from"./index-Mhz2NAiD.js";import{a as r}from"./sentry-D-LCra2M.js";import{n}from"./mui-Ckdcx_YE.js";import{r as Te}from"./core-AYNw6kyJ.js";import{u as _e}from"./plaid-BhP6n1uc.js";import{cg as gt,ch as ee,bG as Le}from"./zeni-epic-state-B1zsDZZ4.js";import{a as wt}from"./SetUpAccountSection-C8dulq9s-B-L9gOQO.js";import"./pdf-CwWlK-Dr.js";import"./lottie-DdLBMmzp.js";import"./liveblocks-DJcRPJQh.js";import"./recharts-Dr1JzI4y.js";import"./dnd-Dw-riVE4.js";import"./analytics-CVqRc8fh.js";import"./utils-CI1RvLss.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="d2383158-90ab-43f6-8112-b706918f6467",e._sentryDebugIdIdentifier="sentry-dbid-d2383158-90ab-43f6-8112-b706918f6467")}catch{}})();const{settings:{bankConnectionHeader:ae}}=re.getLocalizedStrings().common,V=[{value:ae.productType,width:new _(100,19)},{value:ae.primaryAccount,width:new _(100,36)},{value:ae.linkAccount,width:new _(100,22)},{value:ae.status,width:new _(12,12)},{value:ae.balance,width:new _(12,13)}],{common:{settings:Oe,strings:{hyphen:ye}},commonSetUp:{setUp:Ee}}=re.getLocalizedStrings(),z={containerPadding:new _(k[3],k[4]),containerRightPadding:new _(k[3],k[8]),iconContainerMaxWidthHeight:new _(k[6],k[7]),iconWidthHeight:new _(20,k[4]),iconPadding:new _(k[1],12),productTypeContainerMarginBottom:new _(k[3],k[0]),linkAccountContainerMarginTop:new _(k[3],k[0]),productTypeIconSize:new _(k[3],k[4])},St=({productType:e,windowSize:d})=>{switch(e){case"bill_pay":return t.jsx(Bt,{windowSize:d,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Rt,{windowSize:d,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(Dt,{windowSize:d,children:t.jsx(Me,{})});case"zeni_treasury":return t.jsx(Wt,{windowSize:d,children:t.jsx(pt,{})});default:return t.jsx(Nt,{windowSize:d,children:t.jsx(ut,{})})}},xt=({allBankAccounts:e,setupView:d,connectedAccountProvider:H,onFetchLinkTokenClick:B,onUpdatePaymentAccountStatus:j,onEstablishConnectionClick:T,onEstablishConnectionSuccess:R})=>{const C=xe(),c=Ae(),m=Ce().analytics,{trigger:w,formState:{errors:D}}=ot(),{plaidConnectionDetails:N,allFundingAccounts:o,primaryFundingAccount:a,productType:s}=d,u=N.link_account,p=N.update_account,[b,W]=r.useState(void 0),[$,S]=r.useState(!1),v=b==="update_account"?p:u,[A,q]=r.useState(v.linkToken??null),[O,P]=r.useState(!1),h=u.fetchStatus.fetchState==="In-Progress"||u.updateStatus.fetchState==="In-Progress";let f,E,l,g=!1;a!=null&&(a.accType==="depositAccount"?f={code:"verified",name:"Verified"}:(f=a.providerVerificationStatus,E=a?.institutionDetails,l=f?.code,g=a?.isLoginRequired??!1));const U=G(u.updateStatus.fetchState),X=G(p.updateStatus.fetchState),I=G(p.fetchStatus.fetchState),J=C.mode==="light"?new he(C.colors.brandColorJadeLight):new he(C.colors.brandColorJadeDark),Q=r.useCallback((x,Y)=>{m.trackConnectBankSuccess(s,"Settings");const Pe=Y.accounts.find(Ge=>Ge.id===a?.providerAccountId)??Y.accounts[0];a?.id==null||b!=="update_account"||Pe?.verification_status==null||g?T(x,y(s),s):j(Pe?.verification_status,a.id,"update_account",y(s),s),W(void 0),P(!1)},[m,s,a?.id,a?.providerAccountId,b,g,j,T]),te=r.useCallback((x,Y)=>{x!=null&&(m.trackConnectBankFailure(s,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&a?.id!=null&&j("verification_failed",a.id,"update_account",y(s),s),console.log("Plaid Connection Error",x,Y)),W(void 0),P(!1)},[m,s,a?.id,j]),{open:ne,ready:ie}=_e({token:A,onSuccess:Q,onExit:te});r.useEffect(()=>{(U==="In-Progress"&&u.updateStatus.fetchState==="Completed"||X==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(gt(l??"")||(B("link_account",y(s)),R(y(s),s)))},[u.updateStatus.fetchState,R,B,a?.providerVerificationStatus?.code,a?.id,U,X,p.updateStatus.fetchState,l,s]),r.useEffect(()=>{(ee(l??"")||l==="verification_failed")&&!O&&b!=null&&v.linkToken===A&&v.fetchStatus.fetchState==="Completed"&&ie&&P(!0)},[ie,A,v.fetchStatus.fetchState,v.linkToken,l,b,O]);const L=ve("bankConnectionsSettingsPage","primaryAccountSection"),Z=at(D,L);r.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==A&&q(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,A]),r.useEffect(()=>{O&&ne()},[O,ne]),r.useEffect(()=>{!a?.zeniAccountId&&!Z&&w(L)},[a?.id]),r.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||ee(l))&&(Le(new Date().toISOString()).isAfter(u.expiration)||u.linkToken==null)&&B("link_account",y(s))},[]);const oe=`${a?.accountSubType?.name!=null?a?.accountSubType?.name.substring(0,1).toUpperCase().concat(a?.accountSubType?.name.substring(1)):""} ${a?.maskedAccountNumber??""}`.trim(),de=E?.zeniInstitutionId.toLowerCase()==="chase",qe=o.findIndex(x=>x.id===a?.id),Je={element:t.jsx(Me,{width:z.iconWidthHeight.valuePx(c)}),color:J};return t.jsxs(yt,{windowSize:c,children:[$===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:H,action:{onBackClick:()=>S(!1)}}),document.body):null,t.jsxs(bt,{windowSize:c,wrapperWidth:V[0].width,children:[t.jsx(kt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx(St,{productType:s,windowSize:c})}),t.jsx(vt,{children:Oe.productNameByType[s]})]}),t.jsx($t,{windowSize:c,wrapperWidth:V[1].width,children:t.jsxs(_t,{windowSize:c,children:[a!=null&&c!=="small"?t.jsx(Tt,{isDisabled:g,children:ct(Je,c,C.mode==="dark",a,qe,!1)}):null,t.jsxs(Pt,{windowSize:c,className:"fundingAccount",children:[t.jsx(Ve,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ie.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ie.medium},name:ve(s,"primaryAccountSection"),placeholder:Ee.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,Y)=>st(o,x,Y),valueToSubLabels:(x,Y)=>lt(o,x,Y,!1),defaultValue:{selectedOption:a?.id,allOptions:o.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:h?"disabled":void 0,showLoadingIcon:h,onClickCreateOption:()=>{m.trackConnectBank(s,"Settings"),W("link_account"),u.linkToken==null||Le(new Date().toISOString()).isAfter(u.expiration)?B("link_account",y(s)):A!==u.linkToken?q(u.linkToken):O?ne():P(!0)}}),t.jsxs(At,{isDisabled:g,children:[oe?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:oe}),c!=="small"&&(l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de)?t.jsx(jt,{}):null]}):null,c==="small"&&f!=null?t.jsx(me,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:f.name,textColor:fe(f.code)}):null,l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de?t.jsx(je,{productType:s,isUpdateLinkClicked:b==="update_account",isLoginRequired:g,isPendingVerification:l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:I,prevUpdateState:X},onUpdateLinkTokenClick:()=>{m.trackConnectBankGetBalance(s,"Settings"),W("update_account"),B("update_account",y(s),a?.id)},onChaseInfoClick:()=>{S(!0)}}):null]})]}),c==="small"?t.jsxs(Lt,{children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(be,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Et,{windowSize:c,isDisabled:g,wrapperWidth:V[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",s),className:"qboLinkAcc",children:[c==="small"?t.jsx(zt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Ft,{isDisabled:g?"disabled":void 0,name:ve(s,"bankAccountSection"),placeholder:Ee.zeniCashAccountPlaceholder,defaultValue:{selectedOption:a?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ot,{windowSize:c,wrapperWidth:V[3].width,children:f!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:f.name,textColor:fe(f.code)}):t.jsx(be,{children:ye})}):null,c!=="small"?t.jsxs(It,{windowSize:c,wrapperWidth:V[4].width,children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(be,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},yt=n.div`
1
+ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H as Ze,l as M,L as se,bN as Ke,A as et,bo as tt,m as k,at as nt,w as Ue,d as it,h as Ce,cc as ot,a7 as J,ad as he,dX as at,aU as Me,f3 as ze,f4 as ct,f5 as Ve,bu as Ie,f6 as lt,f7 as st,f8 as me,f9 as ge,fa as je,a5 as fe,bG as we,b as rt,b6 as dt,dc as He,f as K,C as F,fb as ut,fc as pt,fd as ht,aD as mt,fe as gt}from"./index-CVe1fo1a.js";import{a as r}from"./sentry-CFYfTv_F.js";import{n}from"./mui-DcvwYC51.js";import{r as Te}from"./core-BAxGDYbL.js";import{u as _e}from"./plaid-Dma9BWZs.js";import{cg as ft,ch as ee,bG as Le}from"./zeni-epic-state-BZiG8B71.js";import{a as wt}from"./SetUpAccountSection-BSOGwHCj-BawfFLHE.js";import"./pdf-DA3UteIy.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./utils-B0HnpOzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="db3577eb-c43b-4d12-ac50-48daa3239af0",e._sentryDebugIdIdentifier="sentry-dbid-db3577eb-c43b-4d12-ac50-48daa3239af0")}catch{}})();const{settings:{bankConnectionHeader:ae}}=re.getLocalizedStrings().common,V=[{value:ae.productType,width:new _(100,19)},{value:ae.primaryAccount,width:new _(100,36)},{value:ae.linkAccount,width:new _(100,22)},{value:ae.status,width:new _(12,12)},{value:ae.balance,width:new _(12,13)}],{common:{settings:Oe,strings:{hyphen:ye}},commonSetUp:{setUp:Ee}}=re.getLocalizedStrings(),z={containerPadding:new _(k[3],k[4]),containerRightPadding:new _(k[3],k[8]),iconContainerMaxWidthHeight:new _(k[6],k[7]),iconWidthHeight:new _(20,k[4]),iconPadding:new _(k[1],12),productTypeContainerMarginBottom:new _(k[3],k[0]),linkAccountContainerMarginTop:new _(k[3],k[0]),productTypeIconSize:new _(k[3],k[4])},St=({productType:e,windowSize:d})=>{switch(e){case"bill_pay":return t.jsx(Bt,{windowSize:d,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Rt,{windowSize:d,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(Dt,{windowSize:d,children:t.jsx(Me,{})});case"zeni_treasury":return t.jsx(Wt,{windowSize:d,children:t.jsx(pt,{})});default:return t.jsx(Nt,{windowSize:d,children:t.jsx(ut,{})})}},xt=({allBankAccounts:e,setupView:d,connectedAccountProvider:H,onFetchLinkTokenClick:B,onUpdatePaymentAccountStatus:j,onEstablishConnectionClick:T,onEstablishConnectionSuccess:R})=>{const C=xe(),c=Ae(),m=Ce().analytics,{trigger:w,formState:{errors:D}}=ot(),{plaidConnectionDetails:N,allFundingAccounts:o,primaryFundingAccount:a,productType:s}=d,u=N.link_account,p=N.update_account,[b,W]=r.useState(void 0),[$,S]=r.useState(!1),v=b==="update_account"?p:u,[A,q]=r.useState(v.linkToken??null),[O,P]=r.useState(!1),h=u.fetchStatus.fetchState==="In-Progress"||u.updateStatus.fetchState==="In-Progress";let g,E,l,f=!1;a!=null&&(a.accType==="depositAccount"?g={code:"verified",name:"Verified"}:(g=a.providerVerificationStatus,E=a?.institutionDetails,l=g?.code,f=a?.isLoginRequired??!1));const U=J(u.updateStatus.fetchState),X=J(p.updateStatus.fetchState),I=J(p.fetchStatus.fetchState),G=C.mode==="light"?new he(C.colors.brandColorJadeLight):new he(C.colors.brandColorJadeDark),Q=r.useCallback((x,Y)=>{m.trackConnectBankSuccess(s,"Settings");const Pe=Y.accounts.find(Je=>Je.id===a?.providerAccountId)??Y.accounts[0];a?.id==null||b!=="update_account"||Pe?.verification_status==null||f?T(x,y(s),s):j(Pe?.verification_status,a.id,"update_account",y(s),s),W(void 0),P(!1)},[m,s,a?.id,a?.providerAccountId,b,f,j,T]),te=r.useCallback((x,Y)=>{x!=null&&(m.trackConnectBankFailure(s,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&a?.id!=null&&j("verification_failed",a.id,"update_account",y(s),s),console.log("Plaid Connection Error",x,Y)),W(void 0),P(!1)},[m,s,a?.id,j]),{open:ne,ready:ie}=_e({token:A,onSuccess:Q,onExit:te});r.useEffect(()=>{(U==="In-Progress"&&u.updateStatus.fetchState==="Completed"||X==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(ft(l??"")||(B("link_account",y(s)),R(y(s),s)))},[u.updateStatus.fetchState,R,B,a?.providerVerificationStatus?.code,a?.id,U,X,p.updateStatus.fetchState,l,s]),r.useEffect(()=>{(ee(l??"")||l==="verification_failed")&&!O&&b!=null&&v.linkToken===A&&v.fetchStatus.fetchState==="Completed"&&ie&&P(!0)},[ie,A,v.fetchStatus.fetchState,v.linkToken,l,b,O]);const L=ve("bankConnectionsSettingsPage","primaryAccountSection"),Z=at(D,L);r.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==A&&q(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,A]),r.useEffect(()=>{O&&ne()},[O,ne]),r.useEffect(()=>{!a?.zeniAccountId&&!Z&&w(L)},[a?.id]),r.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||ee(l))&&(Le(new Date().toISOString()).isAfter(u.expiration)||u.linkToken==null)&&B("link_account",y(s))},[]);const oe=`${a?.accountSubType?.name!=null?a?.accountSubType?.name.substring(0,1).toUpperCase().concat(a?.accountSubType?.name.substring(1)):""} ${a?.maskedAccountNumber??""}`.trim(),de=E?.zeniInstitutionId.toLowerCase()==="chase",qe=o.findIndex(x=>x.id===a?.id),Ge={element:t.jsx(Me,{width:z.iconWidthHeight.valuePx(c)}),color:G};return t.jsxs(yt,{windowSize:c,children:[$===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:H,action:{onBackClick:()=>S(!1)}}),document.body):null,t.jsxs(bt,{windowSize:c,wrapperWidth:V[0].width,children:[t.jsx(kt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx(St,{productType:s,windowSize:c})}),t.jsx(vt,{children:Oe.productNameByType[s]})]}),t.jsx($t,{windowSize:c,wrapperWidth:V[1].width,children:t.jsxs(_t,{windowSize:c,children:[a!=null&&c!=="small"?t.jsx(Tt,{isDisabled:f,children:ct(Ge,c,C.mode==="dark",a,qe,!1)}):null,t.jsxs(Pt,{windowSize:c,className:"fundingAccount",children:[t.jsx(Ve,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ie.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ie.medium},name:ve(s,"primaryAccountSection"),placeholder:Ee.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,Y)=>st(o,x,Y),valueToSubLabels:(x,Y)=>lt(o,x,Y,!1),defaultValue:{selectedOption:a?.id,allOptions:o.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:h?"disabled":void 0,showLoadingIcon:h,onClickCreateOption:()=>{m.trackConnectBank(s,"Settings"),W("link_account"),u.linkToken==null||Le(new Date().toISOString()).isAfter(u.expiration)?B("link_account",y(s)):A!==u.linkToken?q(u.linkToken):O?ne():P(!0)}}),t.jsxs(At,{isDisabled:f,children:[oe?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:oe}),c!=="small"&&(l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||f||de)?t.jsx(jt,{}):null]}):null,c==="small"&&g!=null?t.jsx(me,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:g.name,textColor:ge(g.code)}):null,l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||f||de?t.jsx(je,{productType:s,isUpdateLinkClicked:b==="update_account",isLoginRequired:f,isPendingVerification:l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:I,prevUpdateState:X},onUpdateLinkTokenClick:()=>{m.trackConnectBankGetBalance(s,"Settings"),W("update_account"),B("update_account",y(s),a?.id)},onChaseInfoClick:()=>{S(!0)}}):null]})]}),c==="small"?t.jsxs(Lt,{children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:fe("0,0[.]00",a?.accountBalance?.available)}):t.jsx(be,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Et,{windowSize:c,isDisabled:f,wrapperWidth:V[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",s),className:"qboLinkAcc",children:[c==="small"?t.jsx(zt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Ft,{isDisabled:f?"disabled":void 0,name:ve(s,"bankAccountSection"),placeholder:Ee.zeniCashAccountPlaceholder,defaultValue:{selectedOption:a?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ot,{windowSize:c,wrapperWidth:V[3].width,children:g!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:g.name,textColor:ge(g.code)}):t.jsx(be,{children:ye})}):null,c!=="small"?t.jsxs(It,{windowSize:c,wrapperWidth:V[4].width,children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:fe("0,0[.]00",a?.accountBalance?.available)}):t.jsx(be,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},yt=n.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
@@ -146,18 +146,18 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
146
146
  width: 100%;
147
147
  height: 100%;
148
148
  }
149
- `,ve=(e,d)=>`${e}.${d}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:ke,strings:{empty:Ut,hyphen:Mt}}}=re.getLocalizedStrings(),ue={paymentAccountIconSize:new _(k[6],k[7])},Vt=()=>null,Ht=({paymentAccount:e,bankAccountList:d,balanceFetchStatus:H,connectedAccountProvider:B,onRemoveConnection:j,onFetchLinkTokenClick:T,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const m=xe(),w=Ae(),D=Ce().analytics,[N,o]=r.useState(!1),[a,s]=r.useState(!1),u=e.plaidConnectionDetails.link_account,p=e.plaidConnectionDetails.update_account,[b,W]=r.useState(void 0),$=b==="update_account"?p:u,[S,v]=r.useState($.linkToken??null),[A,q]=r.useState(!1),O=G(u.updateStatus.fetchState),P=G(p.updateStatus.fetchState),h=G(p.fetchStatus.fetchState),f=e?.providerVerificationStatus,E=e?.isLoginRequired??!1,l="other_connection",g=f?.code,U=r.useCallback((L,Z)=>{D.trackConnectBankSuccess(l,"Settings");const oe=Z.accounts.find(de=>de.id===e.providerAccountId)??Z.accounts[0];e.paymentAccountId==null||b!=="update_account"||oe?.verification_status==null||E?R(L,y(l),l):c(oe?.verification_status,e.paymentAccountId,"update_account",y(l),l),W(void 0),q(!1)},[D,l,e.paymentAccountId,e.providerAccountId,b,E,c,R]),X=r.useCallback((L,Z)=>{L!=null&&(D.trackConnectBankFailure(l,L.error_code+" "+L.error_message,"Settings"),L.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(l),l),console.log("Plaid Connection Error",L,Z)),W(void 0),q(!1)},[D,l,e.paymentAccountId,c]),{open:I,ready:J}=_e({token:S,onSuccess:U,onExit:X});r.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==S&&v($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,S]),r.useEffect(()=>{A&&I()},[A,I]),r.useEffect(()=>{(O==="In-Progress"&&u.updateStatus.fetchState==="Completed"||P==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(ee(g??"")||(T("link_account",y(l)),C(y(l),l)))},[u.updateStatus.fetchState,C,T,e?.providerVerificationStatus?.code,e?.paymentAccountId,O,P,p.updateStatus.fetchState,g,l]),r.useEffect(()=>{(ee(g??"")||g==="verification_failed")&&!A&&b!=null&&$.linkToken===S&&$.fetchStatus.fetchState==="Completed"&&J&&q(!0)},[J,S,$.fetchStatus.fetchState,$.linkToken,g,b,A]);const Q=m.mode==="light"?new he(m.colors.brandColorJadeLight):new he(m.colors.brandColorJadeDark),te={element:t.jsx(on,{windowSize:w,children:t.jsx(ft,{})}),color:Q},ne=d.find(L=>L.accountId===e.zeniAccountId),ie=()=>{o(L=>!L)};return t.jsxs(qt,{onMouseEnter:ie,onMouseLeave:ie,children:[a===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:B,action:{onBackClick:()=>s(!1)}}),document.body):null,t.jsxs(Jt,{windowSize:w,wrapperWidth:V[0].width,children:[t.jsx(Gt,{children:ke.otherAccount.title}),t.jsx(Yt,{children:ke.otherAccount.subTitle})]}),t.jsxs(Xt,{windowSize:w,wrapperWidth:V[1].width,children:[wt(te,w,m.mode==="dark",e,!0),t.jsxs(an,{children:[t.jsx(cn,{children:t.jsx(dn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(ln,{windowSize:w,children:[t.jsxs(un,{children:[t.jsx(sn,{children:e.accountSubType?.name}),t.jsx(rn,{children:e.maskedAccountNumber}),E&&t.jsx(pn,{})]}),E&&t.jsx(je,{productType:"other_connection",isUpdateLinkClicked:b==="update_account",isLoginRequired:E,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:h,prevUpdateState:P},onUpdateLinkTokenClick:()=>{D.trackConnectBankGetBalance(l,"Settings"),W("update_account"),T("update_account",y(l),e.paymentAccountId)},onChaseInfoClick:()=>{s(!0)}})]})]})]}),t.jsx(Qt,{windowSize:w,wrapperWidth:V[2].width,children:ne?.accountName??Ut}),t.jsx(Zt,{windowSize:w,wrapperWidth:V[3].width,children:f!=null?t.jsx(me,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:f.name,textColor:fe(f.code)}):Mt}),t.jsxs(Kt,{windowSize:w,wrapperWidth:V[4].width,children:[t.jsx(en,{className:"balanceLabel",isRemoveHovered:N,children:ge("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(tn,{className:"balanceLabel",isRemoveHovered:N,children:we(e.balances?.lastRefreshTime)}):H?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,N&&t.jsx(nn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:ke.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:m.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:m.colors.grey5,width:"162px",border:`1px solid ${m.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${K.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:K.important,":hover":{color:K.important,backgroundColor:m.colors.background}})},menuPlacement:"bottom",onOptionSelection:L=>{L==="remove"&&j(e.paymentAccountId)},valueToIcon:Vt})})]})]})},qt=n.div`
149
+ `,ve=(e,d)=>`${e}.${d}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:ke,strings:{empty:Ut,hyphen:Mt}}}=re.getLocalizedStrings(),ue={paymentAccountIconSize:new _(k[6],k[7])},Vt=()=>null,Ht=({paymentAccount:e,bankAccountList:d,balanceFetchStatus:H,connectedAccountProvider:B,onRemoveConnection:j,onFetchLinkTokenClick:T,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const m=xe(),w=Ae(),D=Ce().analytics,[N,o]=r.useState(!1),[a,s]=r.useState(!1),u=e.plaidConnectionDetails.link_account,p=e.plaidConnectionDetails.update_account,[b,W]=r.useState(void 0),$=b==="update_account"?p:u,[S,v]=r.useState($.linkToken??null),[A,q]=r.useState(!1),O=J(u.updateStatus.fetchState),P=J(p.updateStatus.fetchState),h=J(p.fetchStatus.fetchState),g=e?.providerVerificationStatus,E=e?.isLoginRequired??!1,l="other_connection",f=g?.code,U=r.useCallback((L,Z)=>{D.trackConnectBankSuccess(l,"Settings");const oe=Z.accounts.find(de=>de.id===e.providerAccountId)??Z.accounts[0];e.paymentAccountId==null||b!=="update_account"||oe?.verification_status==null||E?R(L,y(l),l):c(oe?.verification_status,e.paymentAccountId,"update_account",y(l),l),W(void 0),q(!1)},[D,l,e.paymentAccountId,e.providerAccountId,b,E,c,R]),X=r.useCallback((L,Z)=>{L!=null&&(D.trackConnectBankFailure(l,L.error_code+" "+L.error_message,"Settings"),L.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(l),l),console.log("Plaid Connection Error",L,Z)),W(void 0),q(!1)},[D,l,e.paymentAccountId,c]),{open:I,ready:G}=_e({token:S,onSuccess:U,onExit:X});r.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==S&&v($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,S]),r.useEffect(()=>{A&&I()},[A,I]),r.useEffect(()=>{(O==="In-Progress"&&u.updateStatus.fetchState==="Completed"||P==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(ee(f??"")||(T("link_account",y(l)),C(y(l),l)))},[u.updateStatus.fetchState,C,T,e?.providerVerificationStatus?.code,e?.paymentAccountId,O,P,p.updateStatus.fetchState,f,l]),r.useEffect(()=>{(ee(f??"")||f==="verification_failed")&&!A&&b!=null&&$.linkToken===S&&$.fetchStatus.fetchState==="Completed"&&G&&q(!0)},[G,S,$.fetchStatus.fetchState,$.linkToken,f,b,A]);const Q=m.mode==="light"?new he(m.colors.brandColorJadeLight):new he(m.colors.brandColorJadeDark),te={element:t.jsx(on,{windowSize:w,children:t.jsx(gt,{})}),color:Q},ne=d.find(L=>L.accountId===e.zeniAccountId),ie=()=>{o(L=>!L)};return t.jsxs(qt,{onMouseEnter:ie,onMouseLeave:ie,children:[a===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:B,action:{onBackClick:()=>s(!1)}}),document.body):null,t.jsxs(Gt,{windowSize:w,wrapperWidth:V[0].width,children:[t.jsx(Jt,{children:ke.otherAccount.title}),t.jsx(Yt,{children:ke.otherAccount.subTitle})]}),t.jsxs(Xt,{windowSize:w,wrapperWidth:V[1].width,children:[wt(te,w,m.mode==="dark",e,!0),t.jsxs(an,{children:[t.jsx(cn,{children:t.jsx(dn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(ln,{windowSize:w,children:[t.jsxs(un,{children:[t.jsx(sn,{children:e.accountSubType?.name}),t.jsx(rn,{children:e.maskedAccountNumber}),E&&t.jsx(pn,{})]}),E&&t.jsx(je,{productType:"other_connection",isUpdateLinkClicked:b==="update_account",isLoginRequired:E,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:h,prevUpdateState:P},onUpdateLinkTokenClick:()=>{D.trackConnectBankGetBalance(l,"Settings"),W("update_account"),T("update_account",y(l),e.paymentAccountId)},onChaseInfoClick:()=>{s(!0)}})]})]})]}),t.jsx(Qt,{windowSize:w,wrapperWidth:V[2].width,children:ne?.accountName??Ut}),t.jsx(Zt,{windowSize:w,wrapperWidth:V[3].width,children:g!=null?t.jsx(me,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:g.name,textColor:ge(g.code)}):Mt}),t.jsxs(Kt,{windowSize:w,wrapperWidth:V[4].width,children:[t.jsx(en,{className:"balanceLabel",isRemoveHovered:N,children:fe("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(tn,{className:"balanceLabel",isRemoveHovered:N,children:we(e.balances?.lastRefreshTime)}):H?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,N&&t.jsx(nn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:ke.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:m.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:m.colors.grey5,width:"162px",border:`1px solid ${m.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${K.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:K.important,":hover":{color:K.important,backgroundColor:m.colors.background}})},menuPlacement:"bottom",onOptionSelection:L=>{L==="remove"&&j(e.paymentAccountId)},valueToIcon:Vt})})]})]})},qt=n.div`
150
150
  display: flex;
151
151
  padding: ${i.sp4};
152
152
  padding-right: ${i.sp8};
153
153
  position: relative;
154
- `,Jt=n.div`
154
+ `,Gt=n.div`
155
155
  display: flex;
156
156
  align-items: center;
157
157
  flex-direction: column;
158
158
  align-items: flex-start;
159
159
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
160
- `,Gt=n(M)`
160
+ `,Jt=n(M)`
161
161
  color: ${e=>e.theme.colors.grey1};
162
162
  display: flex;
163
163
  align-items: center;
@@ -230,7 +230,7 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
230
230
  height: ${i.sp1};
231
231
  cursor: inherit;
232
232
  background-color: ${e=>e.theme.colors.grey1};
233
- `,{common:{settings:pe,strings:{empty:hn}}}=re.getLocalizedStrings(),mn=()=>null,fn=({paymentAccount:e,bankAccountList:d,balanceFetchStatus:H,connectedAccountProvider:B,onRemoveConnection:j,onFetchLinkTokenClick:T,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const m=xe(),w=Ce().analytics,[D,N]=r.useState(!1),o=e.plaidConnectionDetails.link_account,a=e.plaidConnectionDetails.update_account,[s,u]=r.useState(void 0),p=s==="update_account"?a:o,[b,W]=r.useState(p.linkToken??null),[$,S]=r.useState(!1),v=G(o.updateStatus.fetchState),A=G(a.updateStatus.fetchState),q=G(a.fetchStatus.fetchState),O=e?.providerVerificationStatus,P=e?.isLoginRequired??!1,h="other_connection",f=O?.code,E=r.useCallback((I,J)=>{w.trackConnectBankSuccess(h,"Settings");const Q=J.accounts.find(te=>te.id===e.providerAccountId)??J.accounts[0];e.paymentAccountId==null||s!=="update_account"||Q?.verification_status==null||P?R(I,y(h),h):c(Q?.verification_status,e.paymentAccountId,"update_account",y(h),h),u(void 0),S(!1)},[w,h,e.paymentAccountId,e.providerAccountId,s,P,c,R]),l=r.useCallback((I,J)=>{I!=null&&(w.trackConnectBankFailure(h,I.error_code+" "+I.error_message,"Settings"),I.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(h),h),console.log("Plaid Connection Error",I,J)),u(void 0),S(!1)},[w,h,e.paymentAccountId,c]),{open:g,ready:U}=_e({token:b,onSuccess:E,onExit:l});r.useEffect(()=>{p.fetchStatus.fetchState==="Completed"&&p.linkToken!=null&&p.linkToken!==b&&W(p.linkToken)},[p.fetchStatus.fetchState,p.linkToken,b]),r.useEffect(()=>{$&&g()},[$,g]),r.useEffect(()=>{(v==="In-Progress"&&o.updateStatus.fetchState==="Completed"||A==="In-Progress"&&a.updateStatus.fetchState==="Completed")&&(ee(f??"")||(T("link_account",y(h)),C(y(h),h)))},[o.updateStatus.fetchState,C,T,e?.providerVerificationStatus?.code,e?.paymentAccountId,v,A,a.updateStatus.fetchState,f,h]),r.useEffect(()=>{(ee(f??"")||f==="verification_failed")&&!$&&s!=null&&p.linkToken===b&&p.fetchStatus.fetchState==="Completed"&&U&&S(!0)},[U,b,p.fetchStatus.fetchState,p.linkToken,f,s,$]);const X=d.find(I=>I.accountId===e.zeniAccountId);return t.jsxs(gn,{children:[D===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:B,action:{onBackClick:()=>N(!1)}}),document.body):null,t.jsxs(wn,{children:[t.jsx(Sn,{children:`${pe.otherAccount.title} ${pe.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:pe.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:m.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${m.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${K.boxShadowElevation}`}),option:()=>({color:m.colors.important,":hover":{color:m.colors.important,backgroundColor:m.colors.background}})},menuPlacement:"bottom",onOptionSelection:I=>{I==="remove"&&j(e.paymentAccountId)},valueToIcon:mn})]}),t.jsxs(xn,{children:[t.jsxs(zn,{children:[t.jsx(jn,{children:t.jsx(Pn,{children:e.institutionDetails.institutionName})}),t.jsxs(In,{children:[t.jsx(Tn,{children:e.accountSubType?.name}),t.jsx(_n,{children:e.maskedAccountNumber}),t.jsx(kn,{children:O!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:O.name,textColor:fe(O.code)}):null}),P&&t.jsx(je,{productType:"other_connection",isUpdateLinkClicked:s==="update_account",isLoginRequired:P,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:a.fetchStatus,updateStatus:a.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:q,prevUpdateState:A},onUpdateLinkTokenClick:()=>{w.trackConnectBankGetBalance(h,"Settings"),u("update_account"),T("update_account",y(h),e.paymentAccountId)},onChaseInfoClick:()=>{N(!0)}})]})]}),t.jsxs($n,{children:[t.jsx(An,{className:"balanceLabel",children:ge("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(Cn,{className:"balanceLabel",children:we(e.balances?.lastRefreshTime)}):H?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(yn,{children:[t.jsx(bn,{children:pe.bankConnectionHeader.linkAccount}),t.jsx(vn,{children:X?.accountName??hn})]})]})},gn=n.div`
233
+ `,{common:{settings:pe,strings:{empty:hn}}}=re.getLocalizedStrings(),mn=()=>null,gn=({paymentAccount:e,bankAccountList:d,balanceFetchStatus:H,connectedAccountProvider:B,onRemoveConnection:j,onFetchLinkTokenClick:T,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const m=xe(),w=Ce().analytics,[D,N]=r.useState(!1),o=e.plaidConnectionDetails.link_account,a=e.plaidConnectionDetails.update_account,[s,u]=r.useState(void 0),p=s==="update_account"?a:o,[b,W]=r.useState(p.linkToken??null),[$,S]=r.useState(!1),v=J(o.updateStatus.fetchState),A=J(a.updateStatus.fetchState),q=J(a.fetchStatus.fetchState),O=e?.providerVerificationStatus,P=e?.isLoginRequired??!1,h="other_connection",g=O?.code,E=r.useCallback((I,G)=>{w.trackConnectBankSuccess(h,"Settings");const Q=G.accounts.find(te=>te.id===e.providerAccountId)??G.accounts[0];e.paymentAccountId==null||s!=="update_account"||Q?.verification_status==null||P?R(I,y(h),h):c(Q?.verification_status,e.paymentAccountId,"update_account",y(h),h),u(void 0),S(!1)},[w,h,e.paymentAccountId,e.providerAccountId,s,P,c,R]),l=r.useCallback((I,G)=>{I!=null&&(w.trackConnectBankFailure(h,I.error_code+" "+I.error_message,"Settings"),I.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(h),h),console.log("Plaid Connection Error",I,G)),u(void 0),S(!1)},[w,h,e.paymentAccountId,c]),{open:f,ready:U}=_e({token:b,onSuccess:E,onExit:l});r.useEffect(()=>{p.fetchStatus.fetchState==="Completed"&&p.linkToken!=null&&p.linkToken!==b&&W(p.linkToken)},[p.fetchStatus.fetchState,p.linkToken,b]),r.useEffect(()=>{$&&f()},[$,f]),r.useEffect(()=>{(v==="In-Progress"&&o.updateStatus.fetchState==="Completed"||A==="In-Progress"&&a.updateStatus.fetchState==="Completed")&&(ee(g??"")||(T("link_account",y(h)),C(y(h),h)))},[o.updateStatus.fetchState,C,T,e?.providerVerificationStatus?.code,e?.paymentAccountId,v,A,a.updateStatus.fetchState,g,h]),r.useEffect(()=>{(ee(g??"")||g==="verification_failed")&&!$&&s!=null&&p.linkToken===b&&p.fetchStatus.fetchState==="Completed"&&U&&S(!0)},[U,b,p.fetchStatus.fetchState,p.linkToken,g,s,$]);const X=d.find(I=>I.accountId===e.zeniAccountId);return t.jsxs(fn,{children:[D===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:B,action:{onBackClick:()=>N(!1)}}),document.body):null,t.jsxs(wn,{children:[t.jsx(Sn,{children:`${pe.otherAccount.title} ${pe.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:pe.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:m.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${m.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${K.boxShadowElevation}`}),option:()=>({color:m.colors.important,":hover":{color:m.colors.important,backgroundColor:m.colors.background}})},menuPlacement:"bottom",onOptionSelection:I=>{I==="remove"&&j(e.paymentAccountId)},valueToIcon:mn})]}),t.jsxs(xn,{children:[t.jsxs(zn,{children:[t.jsx(jn,{children:t.jsx(Pn,{children:e.institutionDetails.institutionName})}),t.jsxs(In,{children:[t.jsx(Tn,{children:e.accountSubType?.name}),t.jsx(_n,{children:e.maskedAccountNumber}),t.jsx(kn,{children:O!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:O.name,textColor:ge(O.code)}):null}),P&&t.jsx(je,{productType:"other_connection",isUpdateLinkClicked:s==="update_account",isLoginRequired:P,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:a.fetchStatus,updateStatus:a.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:q,prevUpdateState:A},onUpdateLinkTokenClick:()=>{w.trackConnectBankGetBalance(h,"Settings"),u("update_account"),T("update_account",y(h),e.paymentAccountId)},onChaseInfoClick:()=>{N(!0)}})]})]}),t.jsxs($n,{children:[t.jsx(An,{className:"balanceLabel",children:fe("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(Cn,{className:"balanceLabel",children:we(e.balances?.lastRefreshTime)}):H?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(yn,{children:[t.jsx(bn,{children:pe.bankConnectionHeader.linkAccount}),t.jsx(vn,{children:X?.accountName??hn})]})]})},fn=n.div`
234
234
  display: flex;
235
235
  flex-direction: column;
236
236
  padding: ${i.sp3};
@@ -291,7 +291,7 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
291
291
  align-items: center;
292
292
  flex-wrap: wrap;
293
293
  gap: ${i.sp2};
294
- `,{settings:{bankConnectionListHeader:$e,title:Ln,infoText:On}}=re.getLocalizedStrings().common,Se={pageContentPadding:new _(k[4],k[8]),subtitleSectionWidth:new _(343,580,1200),subTitleBottomMargin:new _(k[0],k[5])},En={qboLinkAcc:new it("smallRegular","standardRegular")},ce="bankAccountSection",le="primaryAccountSection",Fn="bill_pay",Bn="reimbursement",Rn="zeni_accounts",Dn="charge_cards",Nn="zeni_treasury",Re=e=>t.jsx(Mn,{children:V.map(d=>t.jsx(Vn,{actualDataValue:d.value,wrapperWidth:d.width,windowSize:e,children:t.jsx(Hn,{children:d.value})},d.value))}),fi=({bankSetupView:e,connectedAccountProvider:d,onBackClick:H,onUpdateAccountClick:B,onFetchLinkTokenClick:j,onUpdatePaymentAccountStatus:T,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:m,onUpdatePrimaryFundingAccount:w,onRemoveConnection:D})=>{const N=xe(),o=Ae(),{allFundingAccounts:a,primaryConnection:s}=e,u=Ye({mode:"all",reValidateMode:"onChange",defaultValues:We(e),values:We(e)}),p=u.handleSubmit(S=>{});r.useEffect(()=>{const S=u.watch((v,{name:A})=>{A!=null&&v!=null&&Xe(()=>(async(q,O)=>{const P=q.split("."),h=P[0],f=P[1],E=s.find(l=>l.productType===h);if(h!=null&&f!=null){const l=O[h][f];if(f==="primaryAccountSection"){const g=a.find(U=>U.id===l.selectedOption)?.accType;l.selectedOption!=null&&g!=null&&w(l.selectedOption,y(h),g)}else if(f==="bankAccountSection"&&E!=null&&E.primaryFundingAccount!=null&&l.selectedOption!=null){const g=E.primaryFundingAccount?.id,U=E.primaryFundingAccount?.accType;g!=null&&U!=null&&B(l.selectedOption,g,h,y(h),U)}}})(A,v))});return()=>{S.unsubscribe()}});const b=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",W=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,$=o==="small"?fn:Ht;return t.jsxs(Un,{children:[t.jsx(Qe,{source:"BankConnectionsSettingsPage",title:Ln.bankConnections,backgroundColor:N.colors.grey4,style:{zIndex:3},onBackClick:H,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:m}),t.jsxs(Jn,{windowSize:o,children:[t.jsx(Xn,{windowSize:o,children:t.jsx(Qn,{windowSize:o,children:On.bankConnections})}),b?t.jsx(Gn,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):W?t.jsx(Ke,{message:"No bank connections added."}):t.jsxs(Wn,{windowSize:o,children:[t.jsx(Ne,{children:$e.primary}),o!=="small"?Re(o):null,t.jsx(et,{...u,children:t.jsx("form",{id:ei("bankConnectionsSettingsPage"),onSubmit:p,children:t.jsx(Yn,{windowSize:o,children:e.primaryConnection.map(S=>S!=null?t.jsx(De,{windowSize:o,children:t.jsx(xt,{allBankAccounts:e.allBankAccounts,setupView:S,connectedAccountProvider:d,onFetchLinkTokenClick:j,onUpdatePaymentAccountStatus:T,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},S.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(qn,{children:[t.jsx(Ne,{children:$e.other}),t.jsx(Zn,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:$e.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(Kn,{})})})]}):null,o!=="small"&&e.otherPaymentAccounts.length>0?Re(o):null,e.otherPaymentAccounts.map(S=>{const v=a.find(A=>A.id===S.paymentAccountId)?.balanceFetchStatus;return t.jsx(De,{windowSize:o,children:t.jsx($,{paymentAccount:S,bankAccountList:e.allBankAccounts,balanceFetchStatus:v,connectedAccountProvider:d,onRemoveConnection:D,onFetchLinkTokenClick:j,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:T,onEstablishConnectionSuccess:c})},S.paymentAccountId)})]})]})]})},Wn=n.div`
294
+ `,{settings:{bankConnectionListHeader:$e,title:Ln,infoText:On}}=re.getLocalizedStrings().common,Se={pageContentPadding:new _(k[4],k[8]),subtitleSectionWidth:new _(343,580,1200),subTitleBottomMargin:new _(k[0],k[5])},En={qboLinkAcc:new it("smallRegular","standardRegular")},ce="bankAccountSection",le="primaryAccountSection",Fn="bill_pay",Bn="reimbursement",Rn="zeni_accounts",Dn="charge_cards",Nn="zeni_treasury",Re=e=>t.jsx(Mn,{children:V.map(d=>t.jsx(Vn,{actualDataValue:d.value,wrapperWidth:d.width,windowSize:e,children:t.jsx(Hn,{children:d.value})},d.value))}),gi=({bankSetupView:e,connectedAccountProvider:d,onBackClick:H,onUpdateAccountClick:B,onFetchLinkTokenClick:j,onUpdatePaymentAccountStatus:T,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:m,onUpdatePrimaryFundingAccount:w,onRemoveConnection:D})=>{const N=xe(),o=Ae(),{allFundingAccounts:a,primaryConnection:s}=e,u=Ye({mode:"all",reValidateMode:"onChange",defaultValues:We(e),values:We(e)}),p=u.handleSubmit(S=>{});r.useEffect(()=>{const S=u.watch((v,{name:A})=>{A!=null&&v!=null&&Xe(()=>(async(q,O)=>{const P=q.split("."),h=P[0],g=P[1],E=s.find(l=>l.productType===h);if(h!=null&&g!=null){const l=O[h][g];if(g==="primaryAccountSection"){const f=a.find(U=>U.id===l.selectedOption)?.accType;l.selectedOption!=null&&f!=null&&w(l.selectedOption,y(h),f)}else if(g==="bankAccountSection"&&E!=null&&E.primaryFundingAccount!=null&&l.selectedOption!=null){const f=E.primaryFundingAccount?.id,U=E.primaryFundingAccount?.accType;f!=null&&U!=null&&B(l.selectedOption,f,h,y(h),U)}}})(A,v))});return()=>{S.unsubscribe()}});const b=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",W=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,$=o==="small"?gn:Ht;return t.jsxs(Un,{children:[t.jsx(Qe,{source:"BankConnectionsSettingsPage",title:Ln.bankConnections,backgroundColor:N.colors.grey4,style:{zIndex:3},onBackClick:H,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:m}),t.jsxs(Gn,{windowSize:o,children:[t.jsx(Xn,{windowSize:o,children:t.jsx(Qn,{windowSize:o,children:On.bankConnections})}),b?t.jsx(Jn,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):W?t.jsx(Ke,{message:"No bank connections added."}):t.jsxs(Wn,{windowSize:o,children:[t.jsx(Ne,{children:$e.primary}),o!=="small"?Re(o):null,t.jsx(et,{...u,children:t.jsx("form",{id:ei("bankConnectionsSettingsPage"),onSubmit:p,children:t.jsx(Yn,{windowSize:o,children:e.primaryConnection.map(S=>S!=null?t.jsx(De,{windowSize:o,children:t.jsx(xt,{allBankAccounts:e.allBankAccounts,setupView:S,connectedAccountProvider:d,onFetchLinkTokenClick:j,onUpdatePaymentAccountStatus:T,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},S.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(qn,{children:[t.jsx(Ne,{children:$e.other}),t.jsx(Zn,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:$e.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(Kn,{})})})]}):null,o!=="small"&&e.otherPaymentAccounts.length>0?Re(o):null,e.otherPaymentAccounts.map(S=>{const v=a.find(A=>A.id===S.paymentAccountId)?.balanceFetchStatus;return t.jsx(De,{windowSize:o,children:t.jsx($,{paymentAccount:S,bankAccountList:e.allBankAccounts,balanceFetchStatus:v,connectedAccountProvider:d,onRemoveConnection:D,onFetchLinkTokenClick:j,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:T,onEstablishConnectionSuccess:c})},S.paymentAccountId)})]})]})]})},Wn=n.div`
295
295
  display: flex;
296
296
  flex-direction: column;
297
297
  width: 100%;
@@ -377,14 +377,14 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
377
377
  color: ${e=>e.theme.colors.primary};
378
378
  }
379
379
  }
380
- `,Jn=n.div`
380
+ `,Gn=n.div`
381
381
  display: flex;
382
382
  justify-content: flex-start;
383
383
  height: 100%;
384
384
  overflow-y: auto;
385
385
  flex-direction: column;
386
386
  align-items: center;
387
- `,Gn=n.div`
387
+ `,Jn=n.div`
388
388
  display: flex;
389
389
  width: 100%;
390
390
  height: calc(100vh - 110px);
@@ -422,4 +422,4 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
422
422
  width: ${i.sp3};
423
423
  height: ${i.sp3};
424
424
  color: ${e=>e.theme.colors.hero};
425
- `,We=e=>{const{primaryConnection:d,allBankAccounts:H,allFundingAccounts:B}=e,j=H.map(o=>({label:o.accountName,value:o.accountId})),T=B.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"})),R=d.find(o=>o.productType==="bill_pay"),C=d.find(o=>o.productType==="reimbursement"),c=d.find(o=>o.productType==="zeni_accounts"),m=d.find(o=>o.productType==="charge_cards"),w=d.find(o=>o.productType==="zeni_treasury"),D=c?.allFundingAccounts.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))??[],N=w?.allFundingAccounts.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="paymentAccount"}))??[];return{[Fn]:{[ce]:{selectedOption:R?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:R?.primaryFundingAccount?.id,allOptions:T}},[Bn]:{[ce]:{selectedOption:C?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:C?.primaryFundingAccount?.id,allOptions:T}},[Rn]:{[ce]:{selectedOption:c?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:c?.primaryFundingAccount?.id,allOptions:D}},[Nn]:{[ce]:{selectedOption:w?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:w?.primaryFundingAccount?.id,allOptions:N}},[Dn]:{[ce]:{selectedOption:m?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:m?.primaryFundingAccount?.id,allOptions:T}}}},ei=e=>`${e}_form`;export{fi as default,ei as formUniqueName};
425
+ `,We=e=>{const{primaryConnection:d,allBankAccounts:H,allFundingAccounts:B}=e,j=H.map(o=>({label:o.accountName,value:o.accountId})),T=B.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"})),R=d.find(o=>o.productType==="bill_pay"),C=d.find(o=>o.productType==="reimbursement"),c=d.find(o=>o.productType==="zeni_accounts"),m=d.find(o=>o.productType==="charge_cards"),w=d.find(o=>o.productType==="zeni_treasury"),D=c?.allFundingAccounts.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))??[],N=w?.allFundingAccounts.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="paymentAccount"}))??[];return{[Fn]:{[ce]:{selectedOption:R?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:R?.primaryFundingAccount?.id,allOptions:T}},[Bn]:{[ce]:{selectedOption:C?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:C?.primaryFundingAccount?.id,allOptions:T}},[Rn]:{[ce]:{selectedOption:c?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:c?.primaryFundingAccount?.id,allOptions:D}},[Nn]:{[ce]:{selectedOption:w?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:w?.primaryFundingAccount?.id,allOptions:N}},[Dn]:{[ce]:{selectedOption:m?.primaryFundingAccount?.zeniAccountId,allOptions:j},[le]:{selectedOption:m?.primaryFundingAccount?.id,allOptions:T}}}},ei=e=>`${e}_form`;export{gi as default,ei as formUniqueName};