@zeniai/web-app-ui 4.14.30-dev → 4.14.30-qa

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 (279) hide show
  1. package/dist/assets/{ACHDetailsPage-CQdbfxHV-BW88pIYa.js → ACHDetailsPage-CQdbfxHV-CVfdxX3S.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js → AIPerformancePage-jyNXVGMj-Df3oatFx.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CiPtog_o-B4btRIXv.js → AccountInfoPage-CiPtog_o-DPWdb5xr.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js → AccountInfoPageContent-Bj0kaRHv-B0-iD3mG.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js → AccountLockedInfoModal-EbQpyRJx-CBjiURZ4.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js → AccountReconDetailsDrawerPage-CK1QV13E-DZmItK8g.js} +1 -1
  7. package/dist/assets/{AccountRow-B3Sz6a-V-GlNhkavB.js → AccountRow-B3Sz6a-V-CTAgoDt8.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js → AccountsPromoCardStack-DJtz56-u-DZZMgyeG.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js → AddAddressForCardDrawer-BDtxj9h6-CGRCP-Ov.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Czepun8f-MGSdB8OM.js → AddToWalletPage-Czepun8f-BSrXEfN0.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CmvRhhab.js → AddressRoutes-TFWvRoK1.js} +1 -1
  12. package/dist/assets/{AddressScreen-Cb00RwYZ.js → AddressScreen-TV5gX_gl.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-DzAVDq_i-BP-WG6Wy.js → AgingReportsPage-DzAVDq_i-ym_LOlxy.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-CZVtCrsQ.js → AiCfoScreen-D6K-vpzr.js} +1 -1
  15. package/dist/assets/{AllUserItems-BEoRQT-v-9OnCgvS-.js → AllUserItems-BEoRQT-v-B0L7dc_f.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-55JdoIHh-kk28-9yG.js → ApAgingDetailPage-55JdoIHh-DrarMtyY.js} +1 -1
  17. package/dist/assets/{AppBasePage-CLye29uw-B08L49eb.js → AppBasePage-CLye29uw-XKxIMpL1.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CDawrmfz-DqagnYqP.js → AppDrawerContent-CDawrmfz-CIsX5yBE.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js → ApprovalRulesSettingsPage-BHUZdWCO-Dwb34rZQ.js} +1 -1
  20. package/dist/assets/{ArAgingChart-DeL9nNI7-Bj8y0fT6.js → ArAgingChart-DeL9nNI7-jiARVqmw.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-CuG65EQs-CXt16x8B.js → ArAgingDetailPage-CuG65EQs-DJsQVyGf.js} +1 -1
  22. package/dist/assets/{AttachmentView-C5anq6-B-BkQi2I92.js → AttachmentView-C5anq6-B-B0oKrwit.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js → BalancesInsightWithToolTip-1PK_fwhP-DTycoTBO.js} +1 -1
  24. package/dist/assets/{BankAccountSection-BUJoSOk8-BG4ByPDH.js → BankAccountSection-BUJoSOk8-CktP5_6B.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js → BankAccountWarningSection-BQaoV2yQ-D2dPrb3a.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js → BankConnectionsSettingsPage-DRDS5xzS-sJm12Xpi.js} +1 -1
  27. package/dist/assets/{BillDetailPage-CtVVaqTN-BwEQZwAf.js → BillDetailPage-CtVVaqTN-Cs2maBN6.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-DwRul1Fq.js → BillPayApprovalRoutes-BcknH4As.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js → BillPayApprovalRuleDetailPage-6GHCsDkX-BhEokdj1.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js → BillPayApprovalRulesPage-QKjq-qVP-bPrJjJ_n.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-_n9uoXTN-DW34nsnh.js → BillPayPromoPage-_n9uoXTN-C-ItO23h.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-D22Q6pQL.js → BillPayRoutes-CrujOQ7A.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-DNYX24VA-DLV9gKNt.js → BillPaySetUpPage-DNYX24VA-xlmRW4oi.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-Btv3yiNs-M_OusRvc.js → BillingSettingsPage-Btv3yiNs-8WC50UDB.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js → BillsBulkReviewDrawerPage-BiLLeGke-JyRoZ7s-.js} +1 -1
  36. package/dist/assets/{BoxItem-Dqp4SNlI-EUjyx5Zm.js → BoxItem-Dqp4SNlI-CnJYfmyU.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js → BusinessVerificationPage-_8Wg_S5G-CBDfKOCi.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-B_00ICvM.js → BusinessVerificationPageScreen-BSkh5puj.js} +1 -1
  39. package/dist/assets/{BusyIndication-BZLVwIo8-6s8wSi7T.js → BusyIndication-BZLVwIo8-D7x09Syx.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-12zyW5qQ-c22fv1fM.js → CardNumberSubText-12zyW5qQ-CZArd4_p.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js → CashbackDetailPage-B8-TDuv8-BtBdmaco.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js → ChargeCardDetailPage-Bdz5L2ko-B9HW8VJu.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-EuJ1VXck-BU5r2hWM.js → ChargeCardListPage-EuJ1VXck-C9ILrDfC.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-SgjwYd8W-EVdaCbR4.js → ChargeCardListTable-SgjwYd8W-D2X3nHhv.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js → ChargeCardPaymentHistoryPage-BC2DkmZT-z-BJ1TRl.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js → ChargeCardPromoPage-C-z0xtuN-Cj9Xh0NF.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-DV8TKacG.js → ChargeCardRoutes-DtXgeUrQ.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js → ChargeCardSetupPage-ByLoLZE_-D5yhBe12.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js → ChargeCardStatementsPage-C4XdqPO1-B4JvhC1B.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js → CheckDepositDrawerPage-D5X61CKc-DCVEIWOd.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-D7zD4-h0-CdsTnLhf.js → CollapsableReportTable-D7zD4-h0-CXEJdn3k.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js → CompanyOfficerDetailsSection-w86_5FXJ-BVS8U2VI.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-tpE1lXug-CLl-IbcU.js → CompanyPassportCard-tpE1lXug-aG1e_v_p.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-bND99CJN-D7hjvVvQ.js → CompanyPassportPage-bND99CJN-51EM3BS8.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-DR-zdvAJ.js → CompanyPassportScreen-DNHzvh3T.js} +1 -1
  56. package/dist/assets/{CompleteProfile-B5W07hcs-mOeGRg8M.js → CompleteProfile-B5W07hcs-BYS2Cw7x.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-C0DFgWJj-DC0n_rE6.js → ConfettiBurst-C0DFgWJj-BGxc90V2.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-D4VaoAIy.js → ConnectionAuthScreen-C1ACdx6M.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js → ConstrainedInnerElement-CgdnMeoA-C96GWvku.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js → CreateOrEditVendorPage-CrQh8JCh-CdARK_ay.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js → CreditCardPaymentDrawerPage-BoVmLCHh-ClmStU3s.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-D2azwi1T-CSrQI1j0.js → CurrencySelectField-D2azwi1T-Yce6ywvM.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js → CustomerOnboardingActivationPage-DxuEGe6X-DOVYYini.js} +1 -1
  64. package/dist/assets/{CustomerOnboardingAuthScreen-DLH-rYdF.js → CustomerOnboardingAuthScreen-voIng-Gb.js} +1 -1
  65. package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CbCO9XOL.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-DRHsfYAC.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js → CustomerOnboardingNoStepsPage-C--jDBQq-D1RWdf29.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js → CustomerOnboardingPage-BXZSl2im-CdR09mXQ.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js → CustomerOnboardingProductSuitePage-BJmYX0kI-DgmtQLkO.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-DqfIHwc7.js → CustomerOnboardingRoutes-BNk50EBa.js} +1 -1
  71. package/dist/assets/{Dashboard-yhqyXPbZ-CPcltsfF.js → Dashboard-yhqyXPbZ-DD3l1FY2.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-BG4StCjY-CzFGaujV.js → DashboardReportPage-BG4StCjY-BqArxOAD.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-Bawz4pw0.js → DashboardRoutes-sZ-hP0Lz.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js → DashboardSidebarBackgroundAnimation-DsWKmIXY-BKVS4wpr.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-B10KVon4.js → DefaultTenantHome-BZ1C0pHF.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js → DepositAccTransactionItem-5ZEPnNxa-5QBvNOk0.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js → DepositAccTransactionListPage-BR8d0Kun-DoTQr_rp.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-CMEoUywc.js → DomesticWireDetailScreen-H_WuL4rG.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js → DomesticWireDetailsPage-wGIWvhgQ-uEZDY48j.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-SLvxfa6B-CQ7BxjF9.js → DownloadOverlay-SLvxfa6B-BbI1muq1.js} +1 -1
  81. package/dist/assets/{DrawerPage-CFdTV10k-BenpSUGv.js → DrawerPage-CFdTV10k-BDAq-J1m.js} +1 -1
  82. package/dist/assets/{DrawerScreen-B7BWNi51.js → DrawerScreen-DokbcyFi.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-C-Y62PJ0-BgijqRCf.js → EditPeoplePage-C-Y62PJ0-OR5daMys.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js → EditReimbursementDetailPage-BYpXof8e-DpqR0TKa.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-CgDHg6g5-B_vQblwz.js → EntityDetailPage-CgDHg6g5-DEy7q7j7.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-nFrPna9t.js → EntityDetailRoutes-DPf_I5PV.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-B2uG3-Zh-DoF2hAYB.js → EntitySummarySection-B2uG3-Zh-BNN-XEhG.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js → ExpenseAutomationOverviewPage-CrtNuarm-DCl80aVX.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js → ExpenseAutomationPage-CWPnIMSu-DYb4-i2t.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DxRmXEnL.js → ExpenseAutomationRoutes-DUWDjNay.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-CsI_DUc6-BKAOKKa9.js → ExpressPayPage-CsI_DUc6-DXAWujAE.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-B67a68N9-BPSn99tM.js → FeaturePreviewPage-B67a68N9-D61ej93i.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-D_cOMPjM.js → FeaturePreviewScreen-Bcvg8Bfv.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CgjzMm02-DPMc3VYJ.js → FollowStepsSection-CgjzMm02-glrhNO5E.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js → GlobalReviewListPage-CIfK-0rd-COml45hA.js} +1 -1
  96. package/dist/assets/{InformationCardStack-qKld10kr-IVC5wYc5.js → InformationCardStack-qKld10kr-0nHm6M6u.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-Bbh77o6f-Dr_8r9pW.js → InsightsCardStack-Bbh77o6f-D3KyjkmI.js} +1 -1
  98. package/dist/assets/{InsightsSection-DgfCOO4F-rd7xZxVI.js → InsightsSection-DgfCOO4F-D4slzBMJ.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js → IntegrationsSettingsPage-BRQFeOLt-PsXcQlIc.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js → InternationalWireSwiftDetailsPage-DPemNncS-DLnjaRZK.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js → InternationalWireVerificationPage-BOxXfIY5-B_1WnyJ0.js} +1 -1
  102. package/dist/assets/{InviteFormPage-BbbPCdh--Cb0-_CQ6.js → InviteFormPage-BbbPCdh--NZBdztJE.js} +1 -1
  103. package/dist/assets/{InvitePageListView-DqfrAulo-BtCqgsIl.js → InvitePageListView-DqfrAulo-DhRBOiF7.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-CgTpZp4M-CYe0nmg8.js → InvitePeoplePage-CgTpZp4M-BUUsiiJF.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-DZOzTShz-BFwyUvOT.js → InvoiceUploadSection-DZOzTShz-CcOswv0c.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-x6dLcd-P-D7R8buXv.js → IssueChargeCardPage-x6dLcd-P-w04y_5jk.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-CY4Fn72d-VdKSkT_l.js → LabeledAddressValue-CY4Fn72d-eGI6rz6c.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-D47ofJFV-CGqdgTnp.js → LabeledAddressValueField-D47ofJFV-vxJBVafU.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js → LabeledControlledCheckBoxField-C_c8Rs-i-BHT9Wulx.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js → LabeledCountryMultiSelectField-vRw9drBe-B76tRzel.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js → LabeledCreatableSingleSelectField-CdF97ljM-CAYzF-3Y.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js → LabeledDocumentField-Dn25Ru1C-B_WMp98N.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js → LabeledDropDownFormattedTextField-C2sZjA-q-Ct_5ILId.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js → LabeledEmailInputField-DzAdekQn-C8rbJEKG.js} +1 -1
  115. package/dist/assets/{LabeledNameField-Dxx0xwMv-DBRkdNqp.js → LabeledNameField-Dxx0xwMv-q011DeE8.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js → LabeledSingleSelectField-EO8TA_z_-C5J3CIRA.js} +1 -1
  117. package/dist/assets/{LabeledText-Bo7B-LrF-DECCi3EJ.js → LabeledText-Bo7B-LrF-XkdNglCy.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-Cz77QBp-.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js → LabeledZeniRolesDropDownField-BJ99uBt1-DRxN007k.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js → LinkJETransactionPage-BiDoUKQW-DfQfBCux.js} +1 -1
  121. package/dist/assets/{LockCardPage-B1QOSByp-BfsUhZIZ.js → LockCardPage-B1QOSByp-DoXf8Ddb.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-Bl_PaIUx-yOClgIGf.js → LowBalancePopup-Bl_PaIUx-Cz8COji5.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js → MagicLinkACHDetailsPage-l76_Y3sO-BRaxCag1.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js → MagicLinkDomesticWireDetailsPage-D_z_Q-jz-C4Uhpu4B.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js → MagicLinkInternationalWireDetailsPage-D276lsq_-BhCxcHkI.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-B-WHuq25.js → MagicLinkRoutes-26mPfcBZ.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BBwmXYDm.js → MagicLinkSignInScreen-BZrsQ5lk.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js → MagicLinkSuccessPage-CuL-7CWN-CPURwwOW.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-RYhrN820-BbeWYlVu.js → MagicLinkTitleSection-RYhrN820-C7Vcy8B4.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js → MailingDetailsSection-D9_I-DTk-CH2kzcO6.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-CTcTm5tx.js → MobileAppDrawer-CVmbFUtl.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-5MZl4h9B-BympoCwa.js → MoreMenuButton-5MZl4h9B-zFBR8G0C.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js → MyBankConnectionsSettingsPage-CBw6kNsm-CLFKHbI6.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js → MyPendingActivationChargeCardListPage-BC4YjZtP-DazHEsal.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js → MyProfileSettingsPage-DZ5M2BUN-CgmWIcfU.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-C6FiaLu5-BVvTIBUE.js → NavBarWithPicker-C6FiaLu5-CpPmiX85.js} +1 -1
  137. package/dist/assets/{NavigationArrow-BnAgR0wH-BYYktF7B.js → NavigationArrow-BnAgR0wH-BHMKW5N7.js} +1 -1
  138. package/dist/assets/{NavigationDots-WUDG_g8M-CSwlLBTM.js → NavigationDots-WUDG_g8M-DDdWfUW3.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js → NewGlobalMerchantPage-gAsCusVw-Dq-IWGpb.js} +1 -1
  140. package/dist/assets/{NoDataChart-BBYUjdKn-CaszePO0.js → NoDataChart-BBYUjdKn-CRdzJbNp.js} +1 -1
  141. package/dist/assets/{NoDataTable-D3750d25-CC_2gGkK.js → NoDataTable-D3750d25-DG2oQDdM.js} +1 -1
  142. package/dist/assets/{NotFoundPage-C4D8Rn9E--AJk-xer.js → NotFoundPage-C4D8Rn9E-CwNmDrN1.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-SRDW4_mE.js → NotFoundScreen-B8XFlejE.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BSrkx0LD.js → NotificationRoutes-N8MRrxNI.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-CD-t91ia-DJoX_UtT.js → NotificationSettingsPage-CD-t91ia-m4MxTTW4.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js → NotificationsListConfig-C7JSE-eQ-KxVFUV3z.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Be1v8niA-BlgDo9nE.js → NotificationsPage-Be1v8niA-VHkbcX-a.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-D1f1lQbs-BnyzfFJz.js → OpExByVendorPage-D1f1lQbs-DLXANeGq.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-DTorHW75.js → OverlayContainerPage-BG9y5C0t-B0J4P0vh.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js → PandLWithForecastPage-DIYb7BWp-eRZ2xhPy.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-CsL0r0I3.js → PandLWithForecastRoutes-DV3lwMtf.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-DHB-KR0X.js} +1 -1
  153. package/dist/assets/{PeoplePage-xwAOX4Jk-BnzId5aB.js → PeoplePage-xwAOX4Jk-cobVcrYv.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-D-yY-A49.js → PeopleRoutes-0VPcCQMG.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-DUxeAB_T.js → PerformanceRoutes-DWL6I_M2.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-OHbYasaa-Bps9QCYO.js → ProductsCarousel-OHbYasaa-DyO10mDE.js} +1 -1
  157. package/dist/assets/{PromoBaseCards-B_0dccCZ-BeKRkhdX.js → PromoBaseCards-B_0dccCZ-Cll52Aug.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-5ItNvdCA-D1LNYclF.js → QBOConnectionDialog-5ItNvdCA-B93tYXoX.js} +1 -1
  159. package/dist/assets/{QBOConnectionScreen-BDwso3KZ.js → QBOConnectionScreen-CIFlgaXj.js} +1 -1
  160. package/dist/assets/{QBOSetupSection-CHZgQppe-Fu_QXCEh.js → QBOSetupSection-CHZgQppe-Boi15f5H.js} +1 -1
  161. package/dist/assets/{ReferralListScreen-DPkRtA1r.js → ReferralListScreen-OXcIgRf5.js} +1 -1
  162. package/dist/assets/{ReimbursementApprovalRoutes-DyX9YlA9.js → ReimbursementApprovalRoutes-CoU_u8MQ.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js → ReimbursementApprovalRuleDetailPage-CqZT111l-BQrCKR9A.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js → ReimbursementApprovalRuleDetailScreen-CPkYjm-o.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js → ReimbursementApprovalRulesPage-BzTe2nqd-CnRJV-7t.js} +1 -1
  166. package/dist/assets/{ReimbursementDetailPage-DM650uCR-BZojPp4W.js → ReimbursementDetailPage-DM650uCR-CfT7lIQy.js} +1 -1
  167. package/dist/assets/{ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js → ReimbursementPromoPage-CitTg9s4-C0IJS9C3.js} +1 -1
  168. package/dist/assets/{ReimbursementRoutes-C4Yz_jbS.js → ReimbursementRoutes-CexK6hr3.js} +1 -1
  169. package/dist/assets/{ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js → ReimbursementSetUpPage-qphyaCoX-DoGJ3Yjs.js} +1 -1
  170. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-DJZoHiHh.js} +1 -1
  171. package/dist/assets/{ReloadCard-DMNbI6QE-C1j_tgy-.js → ReloadCard-DMNbI6QE-C_0_5wQl.js} +1 -1
  172. package/dist/assets/{ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js → ReportTableViewSelector-CUG4hVI9-BizHpKUG.js} +1 -1
  173. package/dist/assets/{ReportsPage-nuM-ub1p-CKOT47VZ.js → ReportsPage-nuM-ub1p-B6rPi-ib.js} +1 -1
  174. package/dist/assets/{ReportsRoutes-DohAZqsL.js → ReportsRoutes-Cp6mze8I.js} +1 -1
  175. package/dist/assets/{RevenueChart-BL5Wb2UT-JQVA4c7e.js → RevenueChart-BL5Wb2UT-33eDsujQ.js} +1 -1
  176. package/dist/assets/{ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js → ReviewDetailsPage-CUolLJ6s-D-zhUoA6.js} +1 -1
  177. package/dist/assets/{ReviewOverlay-A1OYNSqG-DCeKL3J7.js → ReviewOverlay-A1OYNSqG-9s_1ZdtP.js} +1 -1
  178. package/dist/assets/{RewardsRoutes-BjB7FD9l.js → RewardsRoutes-BSovi6wQ.js} +1 -1
  179. package/dist/assets/{RoleWithToolTip-VOllzDDB-BXr_ucO6.js → RoleWithToolTip-VOllzDDB-BYsZPBtm.js} +1 -1
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-DKJcrnu_.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js → ScheduleDetailsPage-ButJHPUw-QIDoDzfq.js} +1 -1
  182. package/dist/assets/{ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js → ScheduleSequenceTable-Dv831gVJ-DAMs3BZ5.js} +1 -1
  183. package/dist/assets/{ScreenRoutes-B6WQ9uqs.js → ScreenRoutes-Dbhh2QOI.js} +2 -2
  184. package/dist/assets/{SetUpAccountSection-BcNG0nDh-C2x0keC_.js → SetUpAccountSection-BcNG0nDh-wr_b4Gnf.js} +1 -1
  185. package/dist/assets/{SettingsRoutes-U8aLQkxi.js → SettingsRoutes-DsoaaeGm.js} +1 -1
  186. package/dist/assets/{SetupPagesScreen-KLzrKq5d.js → SetupPagesScreen-C8L8QqMz.js} +1 -1
  187. package/dist/assets/{SignIn-D80UITQm-CVsAto0V.js → SignIn-D80UITQm-DIIeYnW9.js} +1 -1
  188. package/dist/assets/{SignInScreen-g1CD9jiJ.js → SignInScreen-CWsG4Mxf.js} +1 -1
  189. package/dist/assets/{SignOutScreen-Cclrjb6Y.js → SignOutScreen-Cs9C3-Pe.js} +1 -1
  190. package/dist/assets/{SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js → SpendManagementListViewPage-DSG6Son_-kr01Gbhc.js} +3 -3
  191. package/dist/assets/{SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js → SpendManagementPerTabPage-DiSu0RS1-DHuUoD95.js} +1 -1
  192. package/dist/assets/{SpendManagementSection-BXU3RGG8-BwEQ7fN8.js → SpendManagementSection-BXU3RGG8-BYhx4BvA.js} +1 -1
  193. package/dist/assets/{StatementItem-B1M65xN--D_j2q7nS.js → StatementItem-B1M65xN--GeNfVEEV.js} +1 -1
  194. package/dist/assets/{StatementsPage-Ck1xzA0w-CdWUN6DK.js → StatementsPage-Ck1xzA0w-ClPKQbtk.js} +1 -1
  195. package/dist/assets/{StatusSwitcher-_Cs3CzJl-D1XlTHt5.js → StatusSwitcher-_Cs3CzJl-Dgp2ChlN.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js → SubTabSwitcher-D3ltE_yc-CnL7Gxp8.js} +1 -1
  197. package/dist/assets/{SuccessAnimation-RuQd1S4B-C9QgxngQ.js → SuccessAnimation-RuQd1S4B-Bm3TMOLx.js} +1 -1
  198. package/dist/assets/{SummaryCard-buadhnmc-COTvxgGf.js → SummaryCard-buadhnmc-D_ubT5UT.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-CJKga1vr-ciDskCCR.js → TaskDetailPage-CJKga1vr-C9aggkuO.js} +1 -1
  200. package/dist/assets/{TaskListScreen-ksTObC06.js → TaskListScreen--R6ZRUkx.js} +1 -1
  201. package/dist/assets/{TaskManagementPage-BMwMSG1j-D-VvypFm.js → TaskManagementPage-BMwMSG1j-H5G6dYbH.js} +1 -1
  202. package/dist/assets/{TaskRoutes-C_cjp_9o.js → TaskRoutes-DYzJiY4s.js} +1 -1
  203. package/dist/assets/{TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js → TimeRangeSwitcher-B1Wx03tG-BWIrI-Q6.js} +1 -1
  204. package/dist/assets/{TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js → TimeframeSwitcher-Dmtsdwi9-Cw7Bi58F.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js → TimeframeSwitcherWithToggle-P5CfgTUd-Dktx47QV.js} +1 -1
  206. package/dist/assets/{TopExCard-DQkr9Xhh-CEMSG53J.js → TopExCard-DQkr9Xhh-BRnZbxyD.js} +1 -1
  207. package/dist/assets/{TopExDetailPage-5Di6WUfV-hilBOr7-.js → TopExDetailPage-5Di6WUfV-BUXw1BOA.js} +1 -1
  208. package/dist/assets/{TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js → TransactionActivityLogPage-R9LoW4DL-D_EoHZ59.js} +1 -1
  209. package/dist/assets/{TransactionDetailPage-B-blHtkn-CbeGtCIa.js → TransactionDetailPage-B-blHtkn-DCMnh0nU.js} +1 -1
  210. package/dist/assets/{TransactionDetailRoutes-CG9Ya3UI.js → TransactionDetailRoutes-Ct3Dbt4h.js} +1 -1
  211. package/dist/assets/{TransactionDetailScreen-DG1rRYuu.js → TransactionDetailScreen-BI8wXwWu.js} +1 -1
  212. package/dist/assets/{TransactionList-FQvTXSzy-oI0UZGJM.js → TransactionList-FQvTXSzy-B5IF52jl.js} +1 -1
  213. package/dist/assets/{TransactionListBig-CNDw7zRw-DTLpPxaS.js → TransactionListBig-CNDw7zRw-TaxjiJ28.js} +1 -1
  214. package/dist/assets/{TransactionListPage-BkZLtwmQ-DzH0F7Wk.js → TransactionListPage-BkZLtwmQ-DMj8aMnI.js} +1 -1
  215. package/dist/assets/{TransactionListRoutes-BbWNwfVS.js → TransactionListRoutes-B3byuAak.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js → TransactionVendorDetailPage-Ch2UUF1f-BrGjAHyI.js} +1 -1
  217. package/dist/assets/{TransferDrawerPage-C1Ly_xKj-DX3atlS9.js → TransferDrawerPage-C1Ly_xKj-fiBb4oDE.js} +1 -1
  218. package/dist/assets/{TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js → TreasuryOverviewPage-Zt5w8zfp-Ch3HnWvf.js} +1 -1
  219. package/dist/assets/{TreasuryPromoPage-BsP73kf7-etf9xlFS.js → TreasuryPromoPage-BsP73kf7-CL2gh8Up.js} +1 -1
  220. package/dist/assets/{TreasuryRoutes-CuQ3uJ15.js → TreasuryRoutes-CiZ9sTKP.js} +1 -1
  221. package/dist/assets/{TreasuryStatementsPage-DhXESeOi-uJElEPeD.js → TreasuryStatementsPage-DhXESeOi-D1GmDTaA.js} +1 -1
  222. package/dist/assets/{TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js → TreasuryTaxLetterPage-tHkQvX2V-DC4DIUK0.js} +1 -1
  223. package/dist/assets/{TrendChart-B7Pox_TQ-7BkibFBY.js → TrendChart-B7Pox_TQ-CaG-s4IC.js} +1 -1
  224. package/dist/assets/{TrendWithTransactions-DP1jZL1i-2bOe0VtV.js → TrendWithTransactions-DP1jZL1i-DLC5jL9Q.js} +1 -1
  225. package/dist/assets/{UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js → UncategorizedAccountsMappingPage-4mHyt2P6-CaPpF27u.js} +1 -1
  226. package/dist/assets/{UnitIntegrationPage-BymmWe1G-DFsBuiFb.js → UnitIntegrationPage-BymmWe1G-c3FxOZsw.js} +1 -1
  227. package/dist/assets/{UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js → UploadAdditionalDocumentOverlay-DUO2ZoU--C5vn0EeB.js} +1 -1
  228. package/dist/assets/{Vendor2FAPopup-8kpMx5RI-CGazITGN.js → Vendor2FAPopup-8kpMx5RI-B6wz9ehO.js} +1 -1
  229. package/dist/assets/{VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js → VendorACHDetailsPage-BODHiiUQ-CbkmGhf7.js} +1 -1
  230. package/dist/assets/{VendorDetailPage-C-JJfR0u-DCJ_f7dN.js → VendorDetailPage-C-JJfR0u-xsJdXYgh.js} +1 -1
  231. package/dist/assets/{VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js → VendorDomesticWireDetailsPage-CVfEcUFJ-Bq6iA8BG.js} +1 -1
  232. package/dist/assets/{VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js → VendorFiling1099EditablePage-B4vFgSwb-BhTGj51T.js} +1 -1
  233. package/dist/assets/{VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js → VendorFirstReviewPage-CUwdrbjH-C8NXBWTw.js} +1 -1
  234. package/dist/assets/{VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js → VendorInternationalWireDetailsPage-BzP1zqhw-BApkoCPp.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js → VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CIw7ERg3.js} +1 -1
  236. package/dist/assets/{VendorsAccountsSection-Drue-Lvz-DQRReXtk.js → VendorsAccountsSection-Drue-Lvz-BCNmsP23.js} +1 -1
  237. package/dist/assets/{VendorsRoutes-Buw6G1yr.js → VendorsRoutes-CKhkv2e_.js} +1 -1
  238. package/dist/assets/{VerifyDevice-B_NNzkjT-BkggAu3P.js → VerifyDevice-B_NNzkjT-DssvqA1v.js} +1 -1
  239. package/dist/assets/{VideoPlayer-Bc4tAd79-Crbsq9LQ.js → VideoPlayer-Bc4tAd79-1S5ggZVm.js} +1 -1
  240. package/dist/assets/{VideoPopup-BYo5bzpU-BthyvsgQ.js → VideoPopup-BYo5bzpU-DUVlPGQp.js} +1 -1
  241. package/dist/assets/{WiseConfirmationScreen-CEIT9jMF.js → WiseConfirmationScreen-DJuJvNzv.js} +1 -1
  242. package/dist/assets/{ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js → ZeniAccountDetailPage-BW6G2voE-DG228Rrt.js} +1 -1
  243. package/dist/assets/{ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js → ZeniAccountListViewPage-gNszI2XV-vz3h67sw.js} +1 -1
  244. package/dist/assets/{ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js → ZeniAccountNavBarPieces-BP1IxZ18-D8VlWC64.js} +1 -1
  245. package/dist/assets/{ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js → ZeniAccountPromoPage-LsZxIdX9-BS_EkGM_.js} +1 -1
  246. package/dist/assets/{ZeniAccountRoutes-Bp_1In61.js → ZeniAccountRoutes-1i5H0-IW.js} +1 -1
  247. package/dist/assets/{ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js → ZeniAccountSetupPage-BExQA9Cz-xecz4xSG.js} +1 -1
  248. package/dist/assets/{ZeniAccountStatementScreen-6LzJoR1o.js → ZeniAccountStatementScreen-YmdFA__8.js} +1 -1
  249. package/dist/assets/{ZeniAvatar-5wP6sb3W-CKgtWCng.js → ZeniAvatar-5wP6sb3W-CwxwTkTA.js} +1 -1
  250. package/dist/assets/{ZeniCopyright-CMjFbDBQ-So_Gi_8l.js → ZeniCopyright-CMjFbDBQ-Ck2DhCCZ.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-C_YQpGe--CXBBhIwN.js → ZeniDatePicker-C_YQpGe--B6o5NtIP.js} +1 -1
  252. package/dist/assets/{ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js → ZeniTransferAmountSlider-CIu35Xz9-CbkYbuv-.js} +1 -1
  253. package/dist/assets/{analyticsHelper-CBcY8lmv.js → analyticsHelper-BkUpwFP4.js} +1 -1
  254. package/dist/assets/{analyticsHelper-CG-L3dO7-WIHh4rd-.js → analyticsHelper-CG-L3dO7-BuQ3dQan.js} +1 -1
  255. package/dist/assets/{calculateSize-CAxK0dN_-6AyeRPo8.js → calculateSize-CAxK0dN_-CtindZTL.js} +1 -1
  256. package/dist/assets/{chartTypes-_AEkJ5Cg-CVupoc41.js → chartTypes-_AEkJ5Cg-BoLLmK-7.js} +1 -1
  257. package/dist/assets/{common-B74Sb4iG-Ba1Dna3Q.js → common-B74Sb4iG-wPHt407r.js} +1 -1
  258. package/dist/assets/{commonDimensions-_Dpm4Anv-BHT-EeW2.js → commonDimensions-_Dpm4Anv-JKxakvSV.js} +1 -1
  259. package/dist/assets/{commonTypes-C64XobC6-BTobasZR.js → commonTypes-C64XobC6-zWzHHgag.js} +1 -1
  260. package/dist/assets/{downloadPdf-BAZhe2iR-C4ju3Lqh.js → downloadPdf-BAZhe2iR-XXbzTfDj.js} +1 -1
  261. package/dist/assets/{getLocaleForTenant-DZi5Q22y.js → getLocaleForTenant-gFC-Rnfp.js} +1 -1
  262. package/dist/assets/{helper-D3UIpXq7-DCH1HBMI.js → helper-D3UIpXq7-k6HHkxTA.js} +1 -1
  263. package/dist/assets/{index-BHAcVHeH.js → index-ByqexAVU.js} +448 -448
  264. package/dist/assets/{mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js → mapLoadingInProgressToTreeNode-C_DjhqLk-Cbs7Of5h.js} +1 -1
  265. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B5H-460G.js} +1 -1
  266. package/dist/assets/{mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js → mapSpacerToTreeNode-Dq4CasLR-Dqbo2uhz.js} +1 -1
  267. package/dist/assets/{mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js → mapTimeframeBalancesToTreeNode--FHVcIix-DC7cXapm.js} +1 -1
  268. package/dist/assets/{mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-DbCZ7i8N.js} +1 -1
  269. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-CPa7R1do.js} +1 -1
  270. package/dist/assets/{routePaths-WWdcktge.js → routePaths-BnaAtOOM.js} +1 -1
  271. package/dist/assets/{toCOABalancesWithID-CuxwOBs0-D4IOrabU.js → toCOABalancesWithID-CuxwOBs0-BNfZJE4p.js} +1 -1
  272. package/dist/assets/{toChartData-BODe4y2V-CHAJ4Jnp.js → toChartData-BODe4y2V-C6JFTy1O.js} +1 -1
  273. package/dist/assets/{uploadAttachment-Dbumcc_g-LXlwbhth.js → uploadAttachment-Dbumcc_g-Dxdg1PHe.js} +1 -1
  274. package/dist/assets/{uploadReceipts-CIgkuVpu-FU2oOS1s.js → uploadReceipts-CIgkuVpu-BX0LuAuH.js} +1 -1
  275. package/dist/assets/{useInitialThreadRequest-DTIHWJqF.js → useInitialThreadRequest-D1CqutXV.js} +1 -1
  276. package/dist/assets/{withTransactionSidePanel-X05Jc0ej.js → withTransactionSidePanel-BzduT6UI.js} +1 -1
  277. package/dist/index.html +1 -1
  278. package/package.json +1 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as W,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as J,x as s,eq as Q,ar as Y,o as G,m as t}from"./index-BHAcVHeH.js";import{a as h}from"./sentry-CY6wsJT-.js";import{n as l}from"./mui-Cni6P-fz.js";import{W as K,A as X}from"./BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js";import{M as Z}from"./MagicLinkTitleSection-RYhrN820-BbeWYlVu.js";import{e as ee}from"./BankAccountSection-BUJoSOk8-BG4ByPDH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6f270209-6bfd-41e1-9818-24860bc76a2a",e._sentryDebugIdIdentifier="sentry-dbid-6f270209-6bfd-41e1-9818-24860bc76a2a")}catch{}})();const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",m="bankAccountSection",B=e=>`${e}_form`,be=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,isDisabled:y,style:N,onSaveHandler:v,onBackClick:f,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:d,companyName:z,currencySymbol:R,amount:$,bankAccountContext:I})=>{const r=W(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[L,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,P=A.getLocalizedStrings().common.footer,{achDetails:k,bankAccountCommon:g}=c,M={onOkClick:()=>{u(!1),i.reset(),f?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&O(()=>(async(E,w)=>{const p=w[m].bankRoutingNumber;D(w),E===`${m}.bankRoutingNumber`&&p?.length===9&&Q.test(p)===!0&&j?.(p)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[L===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:M}):null,n.jsx(K,{header:d?n.jsx(Z,{companyName:z??"",currencySymbol:R??"",amount:$??0}):k.addACHDetails,isMagicLink:d,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(X,{warningText:g.accountExistWarning}):null,I==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(U,{...i,children:n.jsx("form",{id:B(S),onSubmit:_,children:n.jsx(te,{size:r,children:n.jsx(ee,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,sectionId:m,isDisabled:y})})})})})]}),n.jsx(J,{formId:B(S),primaryBtn:{label:d?g.submitDetails:g.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!d,cancelBtn:{label:P.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),f?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=l.div`
1
+ import{e as W,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as J,x as s,eq as Q,ar as Y,o as G,m as t}from"./index-ByqexAVU.js";import{a as h}from"./sentry-CY6wsJT-.js";import{n as l}from"./mui-Cni6P-fz.js";import{W as K,A as X}from"./BankAccountWarningSection-BQaoV2yQ-D2dPrb3a.js";import{M as Z}from"./MagicLinkTitleSection-RYhrN820-C7Vcy8B4.js";import{e as ee}from"./BankAccountSection-BUJoSOk8-CktP5_6B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6f270209-6bfd-41e1-9818-24860bc76a2a",e._sentryDebugIdIdentifier="sentry-dbid-6f270209-6bfd-41e1-9818-24860bc76a2a")}catch{}})();const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",m="bankAccountSection",B=e=>`${e}_form`,be=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,isDisabled:y,style:N,onSaveHandler:v,onBackClick:f,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:d,companyName:z,currencySymbol:R,amount:$,bankAccountContext:I})=>{const r=W(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[L,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,P=A.getLocalizedStrings().common.footer,{achDetails:k,bankAccountCommon:g}=c,M={onOkClick:()=>{u(!1),i.reset(),f?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&O(()=>(async(E,w)=>{const p=w[m].bankRoutingNumber;D(w),E===`${m}.bankRoutingNumber`&&p?.length===9&&Q.test(p)===!0&&j?.(p)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[L===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:M}):null,n.jsx(K,{header:d?n.jsx(Z,{companyName:z??"",currencySymbol:R??"",amount:$??0}):k.addACHDetails,isMagicLink:d,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(X,{warningText:g.accountExistWarning}):null,I==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(U,{...i,children:n.jsx("form",{id:B(S),onSubmit:_,children:n.jsx(te,{size:r,children:n.jsx(ee,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,sectionId:m,isDisabled:y})})})})})]}),n.jsx(J,{formId:B(S),primaryBtn:{label:d?g.submitDetails:g.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!d,cancelBtn:{label:P.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),f?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=l.div`
2
2
  padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
3
  padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
4
  padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-BHAcVHeH.js";import{a as e}from"./sentry-CY6wsJT-.js";import{n as o,c as D1,k as H1}from"./mui-Cni6P-fz.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-cFF_NqwA.js";import{R as P1}from"./NavBarWithPicker-C6FiaLu5-BVvTIBUE.js";import{t as V1}from"./clock-CJkylEKt-CBVPxBka.js";import{o as T1}from"./dollar-round-D18u7nlm-BxzwYsJa.js";import{N as k1,X as x1,Y as I,E as z1,F as O1,O as t1}from"./recharts-LlOU9oLm.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="5f7b1ca0-9d71-4b8f-aeb3-e7557a0daefc",t._sentryDebugIdIdentifier="sentry-dbid-5f7b1ca0-9d71-4b8f-aeb3-e7557a0daefc")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=o.div`
1
+ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bn as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-ByqexAVU.js";import{a as e}from"./sentry-CY6wsJT-.js";import{n as o,c as D1,k as H1}from"./mui-Cni6P-fz.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-cFF_NqwA.js";import{R as P1}from"./NavBarWithPicker-C6FiaLu5-CpPmiX85.js";import{t as V1}from"./clock-CJkylEKt-CBVPxBka.js";import{o as T1}from"./dollar-round-D18u7nlm-BxzwYsJa.js";import{N as k1,X as x1,Y as I,E as z1,F as O1,O as t1}from"./recharts-LlOU9oLm.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="5f7b1ca0-9d71-4b8f-aeb3-e7557a0daefc",t._sentryDebugIdIdentifier="sentry-dbid-5f7b1ca0-9d71-4b8f-aeb3-e7557a0daefc")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=o.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${t=>t.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as h,e as x,V as t,gd as y,o as r,x as d,h0 as b,m as i}from"./index-BHAcVHeH.js";import{a as D}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{K as A}from"./StatusSwitcher-_Cs3CzJl-D1XlTHt5.js";import{r as P}from"./AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./downloadPdf-BAZhe2iR-C4ju3Lqh.js";import"./commonDimensions-_Dpm4Anv-BHT-EeW2.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]="071fd827-c45f-4677-9378-a118e91e85ce",e._sentryDebugIdIdentifier="sentry-dbid-071fd827-c45f-4677-9378-a118e91e85ce")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},G=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:p})=>{const m=h(),c=x(),[l,u]=D.useState("achDetails");return t.jsxs(T,{children:[t.jsx(y,{title:"",backgroundColor:m.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(j,{windowSize:c,children:a.accountName}),t.jsx(z,{children:t.jsx(A,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w=>{u(w)},isSwitcherLeftAlign:!0})}),t.jsx($,{windowSize:c,children:t.jsx(P,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},$=o.div`
1
+ import{y as h,e as x,V as t,gd as y,o as r,x as d,h0 as b,m as i}from"./index-ByqexAVU.js";import{a as D}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{K as A}from"./StatusSwitcher-_Cs3CzJl-Dgp2ChlN.js";import{r as P}from"./AccountInfoPageContent-Bj0kaRHv-B0-iD3mG.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./downloadPdf-BAZhe2iR-XXbzTfDj.js";import"./commonDimensions-_Dpm4Anv-JKxakvSV.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]="071fd827-c45f-4677-9378-a118e91e85ce",e._sentryDebugIdIdentifier="sentry-dbid-071fd827-c45f-4677-9378-a118e91e85ce")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},G=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:p})=>{const m=h(),c=x(),[l,u]=D.useState("achDetails");return t.jsxs(T,{children:[t.jsx(y,{title:"",backgroundColor:m.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(j,{windowSize:c,children:a.accountName}),t.jsx(z,{children:t.jsx(A,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w=>{u(w)},isSwitcherLeftAlign:!0})}),t.jsx($,{windowSize:c,children:t.jsx(P,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},$=o.div`
2
2
  padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
3
  padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
4
  `,T=o.div`
@@ -1,4 +1,4 @@
1
- import{e as ke,gm as Ne,h1 as K,V as r,bn as L,L as we,b as z,o as a,ar as je,O as Ae,bx as Se,f as R,C as re,aA as Te,gq as ve,l as ae}from"./index-BHAcVHeH.js";import{a as n}from"./sentry-CY6wsJT-.js";import{n as t}from"./mui-Cni6P-fz.js";import{w as De}from"./downloadPdf-BAZhe2iR-C4ju3Lqh.js";import{o as Ce}from"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="fa34e9ab-a501-45ec-99a7-d86fed80a9ed",e._sentryDebugIdIdentifier="sentry-dbid-fa34e9ab-a501-45ec-99a7-d86fed80a9ed")}catch{}})();const{common:{strings:Le,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:o}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:f,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=ke(),[,M]=Ne(),[N,te]=n.useState(!1),[ne,se]=n.useState(!1),[ie,ce]=n.useState(!1),[de,le]=n.useState(!1),[be,ue]=n.useState(!1),[pe,me]=n.useState(!1),[he,xe]=n.useState(!1),[ye,fe]=n.useState(!1),[h,P]=n.useState(!1),[w,q]=n.useState(!1),[j,O]=n.useState(!1),[A,B]=n.useState(!1),[S,G]=n.useState(!1),[T,H]=n.useState(!1),[v,J]=n.useState(!1),[$,U]=n.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=K(u.zeniAccountsConfigDetail.mailingAddress).text2,p=K(u.zeniAccountsConfigDetail.bankAddress).text2;n.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,$,S,A,j,w]);const V=(x,i)=>{switch(x){case"accountType":se(i);break;case"acccountNumber":ce(i);break;case"routingNumber":le(i);break;case"bankName":ue(i);break;case"beneficiaryName":xe(i);break;case"beneficiaryAddress":me(i);break;case"bankAddress":fe(i)}},c=(x,i,y,F)=>{let l,d;switch(y){case"acccountNumber":l=ie,d=v;break;case"accountType":l=ne,d=T;break;case"bankName":l=be,d=S;break;case"beneficiaryName":l=he,d=w;break;case"beneficiaryAddress":l=pe,d=A;break;case"bankAddress":l=ye,d=j;break;default:l=de,d=$}return r.jsxs(Pe,{onMouseEnter:()=>V(y,!0),onMouseLeave:()=>V(y,!1),children:[r.jsx(qe,{children:x}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(Oe,{children:[l||oe==="small"?r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:d,children:d?g.copied:g.copy}),enterDelay:600,children:d===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":z("account-info-copy",y),onClick:()=>{M(i),(()=>{switch(y){case"accountType":H(!0);break;case"acccountNumber":J(!0);break;case"routingNumber":U(!0);break;case"bankName":G(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":O(!0)}})()}})})}):null,i]}),F!=null?r.jsx(He,{children:F}):null]})})]})},$e={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${f}?query=${encodeURIComponent(JSON.stringify($e))}`;return r.jsx(ze,{children:r.jsxs(_e,{children:[r.jsxs(Ie,{children:[r.jsx(Ee,{children:m==="achDetails"?Q.achTitle:Q.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?W.downloading:W.download}),enterDelay:600,children:N===!0?r.jsx(we,{size:"Small",start:!0}):r.jsx(Me,{"data-testid":z("account-info-download-pdf"),onClick:()=>{De(ge,Le.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>(x=>{let i;i=x==="achDetails"?`${o.bankRoutingNumber} ${s.routingNumberAch}
1
+ import{e as ke,gm as Ne,h1 as K,V as r,bn as L,L as we,b as z,o as a,ar as je,O as Ae,bx as Se,f as R,C as re,aA as Te,gq as ve,l as ae}from"./index-ByqexAVU.js";import{a as n}from"./sentry-CY6wsJT-.js";import{n as t}from"./mui-Cni6P-fz.js";import{w as De}from"./downloadPdf-BAZhe2iR-XXbzTfDj.js";import{o as Ce}from"./commonDimensions-_Dpm4Anv-JKxakvSV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="fa34e9ab-a501-45ec-99a7-d86fed80a9ed",e._sentryDebugIdIdentifier="sentry-dbid-fa34e9ab-a501-45ec-99a7-d86fed80a9ed")}catch{}})();const{common:{strings:Le,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:o}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:f,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=ke(),[,M]=Ne(),[N,te]=n.useState(!1),[ne,se]=n.useState(!1),[ie,ce]=n.useState(!1),[de,le]=n.useState(!1),[be,ue]=n.useState(!1),[pe,me]=n.useState(!1),[he,xe]=n.useState(!1),[ye,fe]=n.useState(!1),[h,P]=n.useState(!1),[w,q]=n.useState(!1),[j,O]=n.useState(!1),[A,B]=n.useState(!1),[S,G]=n.useState(!1),[T,H]=n.useState(!1),[v,J]=n.useState(!1),[$,U]=n.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=K(u.zeniAccountsConfigDetail.mailingAddress).text2,p=K(u.zeniAccountsConfigDetail.bankAddress).text2;n.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,$,S,A,j,w]);const V=(x,i)=>{switch(x){case"accountType":se(i);break;case"acccountNumber":ce(i);break;case"routingNumber":le(i);break;case"bankName":ue(i);break;case"beneficiaryName":xe(i);break;case"beneficiaryAddress":me(i);break;case"bankAddress":fe(i)}},c=(x,i,y,F)=>{let l,d;switch(y){case"acccountNumber":l=ie,d=v;break;case"accountType":l=ne,d=T;break;case"bankName":l=be,d=S;break;case"beneficiaryName":l=he,d=w;break;case"beneficiaryAddress":l=pe,d=A;break;case"bankAddress":l=ye,d=j;break;default:l=de,d=$}return r.jsxs(Pe,{onMouseEnter:()=>V(y,!0),onMouseLeave:()=>V(y,!1),children:[r.jsx(qe,{children:x}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(Oe,{children:[l||oe==="small"?r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:d,children:d?g.copied:g.copy}),enterDelay:600,children:d===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":z("account-info-copy",y),onClick:()=>{M(i),(()=>{switch(y){case"accountType":H(!0);break;case"acccountNumber":J(!0);break;case"routingNumber":U(!0);break;case"bankName":G(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":O(!0)}})()}})})}):null,i]}),F!=null?r.jsx(He,{children:F}):null]})})]})},$e={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${f}?query=${encodeURIComponent(JSON.stringify($e))}`;return r.jsx(ze,{children:r.jsxs(_e,{children:[r.jsxs(Ie,{children:[r.jsx(Ee,{children:m==="achDetails"?Q.achTitle:Q.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?W.downloading:W.download}),enterDelay:600,children:N===!0?r.jsx(we,{size:"Small",start:!0}):r.jsx(Me,{"data-testid":z("account-info-download-pdf"),onClick:()=>{De(ge,Le.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>(x=>{let i;i=x==="achDetails"?`${o.bankRoutingNumber} ${s.routingNumberAch}
2
2
 
3
3
  ${o.accountTypeLabel} ${s.accountSubType.name??""}
4
4
 
@@ -1,4 +1,4 @@
1
- import{y as g,O as c,V as t,l as x,au as d,a as b,o,f as m,D as y,bt as j,bm as $}from"./index-BHAcVHeH.js";import{n as r}from"./mui-Cni6P-fz.js";import{t as w}from"./handshake-BPg58FML-BxWewJRH.js";import{o as k,r as v}from"./unlock-BPWn2I5L-BcwMx3a4.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="4688409f-fb53-4f73-9fd9-b4ba3e42e4cc",e._sentryDebugIdIdentifier="sentry-dbid-4688409f-fb53-4f73-9fd9-b4ba3e42e4cc")}catch{}})();const p="support@zeni.ai",s=c.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const n=g(),h=e.format(c.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(c.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(D,{children:[t.jsx(M,{children:s.accountLockedTitle}),t.jsxs(S,{children:[t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(I,{})}),t.jsxs(d,{children:[s.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(_,{children:"•"}),u]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(A,{})}),t.jsxs(d,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(b,{variant:"primary",label:s.understood,onClick:i})]})]})},D=r.div`
1
+ import{y as g,O as c,V as t,l as x,au as d,a as b,o,f as m,D as y,bt as j,bm as $}from"./index-ByqexAVU.js";import{n as r}from"./mui-Cni6P-fz.js";import{t as w}from"./handshake-BPg58FML-BxWewJRH.js";import{o as k,r as v}from"./unlock-BPWn2I5L-BcwMx3a4.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="4688409f-fb53-4f73-9fd9-b4ba3e42e4cc",e._sentryDebugIdIdentifier="sentry-dbid-4688409f-fb53-4f73-9fd9-b4ba3e42e4cc")}catch{}})();const p="support@zeni.ai",s=c.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const n=g(),h=e.format(c.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(c.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(D,{children:[t.jsx(M,{children:s.accountLockedTitle}),t.jsxs(S,{children:[t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(I,{})}),t.jsxs(d,{children:[s.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(_,{children:"•"}),u]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(A,{})}),t.jsxs(d,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(b,{variant:"primary",label:s.understood,onClick:i})]})]})},D=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as ke,E as $e,dc as be,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-BHAcVHeH.js";import{a as s}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{u as Te}from"./plaid-B2vW8NaN.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-cFF_NqwA.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-B3Sz6a-V-GlNhkavB.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./utils-ChLimP28.js";import"./clock-CJkylEKt-CBVPxBka.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]="311c39b3-ec8c-4077-8c02-88c198eb06aa",e._sentryDebugIdIdentifier="sentry-dbid-311c39b3-ec8c-4077-8c02-88c198eb06aa")}catch{}})();const Oe=c.sp4,Ye=c.sp4,Ae=c.sp10,Be=c.sp4,Le=c.sp4,N=114,Ne=400,ze=o.div`
1
+ import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as ke,E as $e,dc as be,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-ByqexAVU.js";import{a as s}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{u as Te}from"./plaid-B2vW8NaN.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-cFF_NqwA.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-B3Sz6a-V-CTAgoDt8.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./utils-ChLimP28.js";import"./clock-CJkylEKt-CBVPxBka.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]="311c39b3-ec8c-4077-8c02-88c198eb06aa",e._sentryDebugIdIdentifier="sentry-dbid-311c39b3-ec8c-4077-8c02-88c198eb06aa")}catch{}})();const Oe=c.sp4,Ye=c.sp4,Ae=c.sp10,Be=c.sp4,Le=c.sp4,N=114,Ne=400,ze=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{V as e,a5 as I,bn as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bi as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-BHAcVHeH.js";import{a as gt}from"./sentry-CY6wsJT-.js";import{n as a,c as mt}from"./mui-Cni6P-fz.js";import{t as ft}from"./clock-CJkylEKt-CBVPxBka.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="79d6a91a-5bc6-4f86-b407-226b578427a2",t._sentryDebugIdIdentifier="sentry-dbid-79d6a91a-5bc6-4f86-b407-226b578427a2")}catch{}})();const jt=a.div`
1
+ import{V as e,a5 as I,bn as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bi as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-ByqexAVU.js";import{a as gt}from"./sentry-CY6wsJT-.js";import{n as a,c as mt}from"./mui-Cni6P-fz.js";import{t as ft}from"./clock-CJkylEKt-CBVPxBka.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="79d6a91a-5bc6-4f86-b407-226b578427a2",t._sentryDebugIdIdentifier="sentry-dbid-79d6a91a-5bc6-4f86-b407-226b578427a2")}catch{}})();const jt=a.div`
2
2
  position: relative;
3
3
  ${t=>t.showTreeLine===!0&&t.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -1,4 +1,4 @@
1
- import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as ie,a6 as Z,a3 as se,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,v as me,ap as he,l as ue,au as ge}from"./index-BHAcVHeH.js";import{a as N,b as z}from"./sentry-CY6wsJT-.js";import{c as xe}from"./SummaryCard-buadhnmc-COTvxgGf.js";import{n as r,k as U,c as V}from"./mui-Cni6P-fz.js";import{F5 as fe}from"./zeni-epic-state-cFF_NqwA.js";import{N as X}from"./NavigationArrow-BnAgR0wH-BYYktF7B.js";import{x as ye}from"./NavigationDots-WUDG_g8M-CSwlLBTM.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]="0a250a3e-8008-4a42-ae2e-1acf8f121717",e._sentryDebugIdIdentifier="sentry-dbid-0a250a3e-8008-4a42-ae2e-1acf8f121717")}catch{}})();const I=(e,n)=>U`
1
+ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as ie,a6 as Z,a3 as se,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,v as me,ap as he,l as ue,au as ge}from"./index-ByqexAVU.js";import{a as N,b as z}from"./sentry-CY6wsJT-.js";import{c as xe}from"./SummaryCard-buadhnmc-D_ubT5UT.js";import{n as r,k as U,c as V}from"./mui-Cni6P-fz.js";import{F5 as fe}from"./zeni-epic-state-cFF_NqwA.js";import{N as X}from"./NavigationArrow-BnAgR0wH-BHMKW5N7.js";import{x as ye}from"./NavigationDots-WUDG_g8M-DDdWfUW3.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]="0a250a3e-8008-4a42-ae2e-1acf8f121717",e._sentryDebugIdIdentifier="sentry-dbid-0a250a3e-8008-4a42-ae2e-1acf8f121717")}catch{}})();const I=(e,n)=>U`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${e==="right"?`-${n}%`:`${n}%`});
@@ -1,4 +1,4 @@
1
- import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-BHAcVHeH.js";import{a as C}from"./sentry-CY6wsJT-.js";import{n as I}from"./mui-Cni6P-fz.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="4d594a1a-3ec5-467f-aa31-d943c0a6adfb",t._sentryDebugIdIdentifier="sentry-dbid-4d594a1a-3ec5-467f-aa31-d943c0a6adfb")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:s,customAddressStatus:a,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),o=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&r()},[a.fetchState,r,i]);const f=o==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=o==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(v,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:a.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(o),marginBottom:p.marginBottom.valuePx(o),...b},subTitleStyles:{marginTop:e.sp0,marginBottom:e.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:e.sp2,paddingRight:e.sp3},sectionStyles:{paddingTop:e.sp4,paddingBottom:e.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=I.div`
1
+ import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-ByqexAVU.js";import{a as C}from"./sentry-CY6wsJT-.js";import{n as I}from"./mui-Cni6P-fz.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="4d594a1a-3ec5-467f-aa31-d943c0a6adfb",t._sentryDebugIdIdentifier="sentry-dbid-4d594a1a-3ec5-467f-aa31-d943c0a6adfb")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:s,customAddressStatus:a,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),o=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&r()},[a.fetchState,r,i]);const f=o==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=o==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(v,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:a.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(o),marginBottom:p.marginBottom.valuePx(o),...b},subTitleStyles:{marginTop:e.sp0,marginBottom:e.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:e.sp2,paddingRight:e.sp3},sectionStyles:{paddingTop:e.sp4,paddingBottom:e.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=I.div`
2
2
  display: flex;
3
3
  background-color: ${t=>t.theme.colors.grey4};
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-BHAcVHeH.js";import{a as g}from"./sentry-CY6wsJT-.js";import{n as o,c as A}from"./mui-Cni6P-fz.js";import{F4 as ye}from"./zeni-epic-state-cFF_NqwA.js";import{t as fe,n as je,i as ve,a as Se,l as Ce,r as ke,A as Te}from"./add-to-wallet-DgdBD8_G-q_ZatOIu.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="027add54-4c7e-420d-9b35-e8ab73ae8f24",e._sentryDebugIdIdentifier="sentry-dbid-027add54-4c7e-420d-9b35-e8ab73ae8f24")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:n={},optionStyle:f={},thumbStyle:C={}})=>{const w=e.findIndex(l=>l.id===a),u=100/e.length;return i.jsxs(ze,{style:n,children:[i.jsx(We,{style:{width:u-1+"%",...w===0?{left:"1%"}:w===e.length-1?{left:(e.length-1)*u+"%"}:{left:w*u+"%"},...C}}),e.map(l=>i.jsx(Ae,{style:f,active:l.id===a,"data-testid":l.dataTestId,onClick:j=>{j.preventDefault(),h(l.id)},children:l.label},l.id))]})},ze=o.div`
1
+ import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-ByqexAVU.js";import{a as g}from"./sentry-CY6wsJT-.js";import{n as o,c as A}from"./mui-Cni6P-fz.js";import{F4 as ye}from"./zeni-epic-state-cFF_NqwA.js";import{t as fe,n as je,i as ve,a as Se,l as Ce,r as ke,A as Te}from"./add-to-wallet-DgdBD8_G-q_ZatOIu.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="027add54-4c7e-420d-9b35-e8ab73ae8f24",e._sentryDebugIdIdentifier="sentry-dbid-027add54-4c7e-420d-9b35-e8ab73ae8f24")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:n={},optionStyle:f={},thumbStyle:C={}})=>{const w=e.findIndex(l=>l.id===a),u=100/e.length;return i.jsxs(ze,{style:n,children:[i.jsx(We,{style:{width:u-1+"%",...w===0?{left:"1%"}:w===e.length-1?{left:(e.length-1)*u+"%"}:{left:w*u+"%"},...C}}),e.map(l=>i.jsx(Ae,{style:f,active:l.id===a,"data-testid":l.dataTestId,onClick:j=>{j.preventDefault(),h(l.id)},children:l.label},l.id))]})},ze=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -1 +1 @@
1
- import{j as e}from"./pdf-CTJ16aEe.js";import{A as s}from"./AddressScreen-Cb00RwYZ.js";import i from"./NotFoundScreen-SRDW4_mE.js";import"./sentry-CY6wsJT-.js";import{R as a,m as r}from"./core-oEkj6b51.js";import"./zeni-epic-state-cFF_NqwA.js";import"./index-BHAcVHeH.js";import"./mui-Cni6P-fz.js";import"./recharts-LlOU9oLm.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac0a9a3-44b6-4a4f-a315-142e9081120e",t._sentryDebugIdIdentifier="sentry-dbid-7ac0a9a3-44b6-4a4f-a315-142e9081120e")}catch{}})();function D(){return e.jsxs(a,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(s,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(s,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{D as default};
1
+ import{j as e}from"./pdf-CTJ16aEe.js";import{A as s}from"./AddressScreen-TV5gX_gl.js";import i from"./NotFoundScreen-B8XFlejE.js";import"./sentry-CY6wsJT-.js";import{R as a,m as r}from"./core-oEkj6b51.js";import"./zeni-epic-state-cFF_NqwA.js";import"./index-ByqexAVU.js";import"./mui-Cni6P-fz.js";import"./recharts-LlOU9oLm.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac0a9a3-44b6-4a4f-a315-142e9081120e",t._sentryDebugIdIdentifier="sentry-dbid-7ac0a9a3-44b6-4a4f-a315-142e9081120e")}catch{}})();function D(){return e.jsxs(a,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(s,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(s,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{D as default};
@@ -1,4 +1,4 @@
1
- import{j as d}from"./pdf-CTJ16aEe.js";import{a as h}from"./sentry-CY6wsJT-.js";import{j,i as P,h as _,l as E,u as M,k as D}from"./core-oEkj6b51.js";import{e as B,y as L,js as $,_ as H,jQ as K,bj as R,jz as C,J as m,jL as z,jD as b,jM as U}from"./index-BHAcVHeH.js";import{HR as k,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-cFF_NqwA.js";import{n as J}from"./mui-Cni6P-fz.js";import Q from"./NotFoundScreen-SRDW4_mE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f03880a6-1782-49e8-88f9-ad64400dafb0",e._sentryDebugIdIdentifier="sentry-dbid-f03880a6-1782-49e8-88f9-ad64400dafb0")}catch{}})();const W=J.div`
1
+ import{j as d}from"./pdf-CTJ16aEe.js";import{a as h}from"./sentry-CY6wsJT-.js";import{j,i as P,h as _,l as E,u as M,k as D}from"./core-oEkj6b51.js";import{e as B,y as L,js as $,_ as H,jQ as K,bj as R,jz as C,J as m,jL as z,jD as b,jM as U}from"./index-ByqexAVU.js";import{HR as k,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-cFF_NqwA.js";import{n as J}from"./mui-Cni6P-fz.js";import Q from"./NotFoundScreen-B8XFlejE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f03880a6-1782-49e8-88f9-ad64400dafb0",e._sentryDebugIdIdentifier="sentry-dbid-f03880a6-1782-49e8-88f9-ad64400dafb0")}catch{}})();const W=J.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{y as X,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O as S,o as $,ab as Be,m as d,a5 as ne,bJ as Ie,bK as Me,bL as $e,l as Ae,bH as Ye,an as ce,S as de,ad as ge}from"./index-BHAcVHeH.js";import{a as y}from"./sentry-CY6wsJT-.js";import{n as x}from"./mui-Cni6P-fz.js";import{bs as W,Gm as ze}from"./zeni-epic-state-cFF_NqwA.js";import{m as Le}from"./BusyIndication-BZLVwIo8-6s8wSi7T.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-C_YQpGe--CXBBhIwN.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-DeL9nNI7-Bj8y0fT6.js";import{C as pe}from"./NoDataChart-BBYUjdKn-CaszePO0.js";import{n as me,t as T}from"./CollapsableReportTable-D7zD4-h0-CdsTnLhf.js";import{d as he}from"./NoDataTable-D3750d25-CC_2gGkK.js";import{l as ue}from"./mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./chartTypes-_AEkJ5Cg-CVupoc41.js";import"./AccountRow-B3Sz6a-V-GlNhkavB.js";import"./clock-CJkylEKt-CBVPxBka.js";import"./graphic-no-data-l-DU4J8fDt-bzI3_a8w.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="29752926-301f-4c83-bf8e-d56408d37345",e._sentryDebugIdIdentifier="sentry-dbid-29752926-301f-4c83-bf8e-d56408d37345")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
1
+ import{y as X,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O as S,o as $,ab as Be,m as d,a5 as ne,bJ as Ie,bK as Me,bL as $e,l as Ae,bH as Ye,an as ce,S as de,ad as ge}from"./index-ByqexAVU.js";import{a as y}from"./sentry-CY6wsJT-.js";import{n as x}from"./mui-Cni6P-fz.js";import{bs as W,Gm as ze}from"./zeni-epic-state-cFF_NqwA.js";import{m as Le}from"./BusyIndication-BZLVwIo8-D7x09Syx.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-C_YQpGe--B6o5NtIP.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-DeL9nNI7-jiARVqmw.js";import{C as pe}from"./NoDataChart-BBYUjdKn-CRdzJbNp.js";import{n as me,t as T}from"./CollapsableReportTable-D7zD4-h0-CXEJdn3k.js";import{d as he}from"./NoDataTable-D3750d25-DG2oQDdM.js";import{l as ue}from"./mapSpacerToTreeNode-Dq4CasLR-Dqbo2uhz.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./chartTypes-_AEkJ5Cg-BoLLmK-7.js";import"./AccountRow-B3Sz6a-V-CTAgoDt8.js";import"./clock-CJkylEKt-CBVPxBka.js";import"./graphic-no-data-l-DU4J8fDt-bzI3_a8w.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="29752926-301f-4c83-bf8e-d56408d37345",e._sentryDebugIdIdentifier="sentry-dbid-29752926-301f-4c83-bf8e-d56408d37345")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
2
2
  display: flex;
3
3
  `,ye=x.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{j as S}from"./pdf-CTJ16aEe.js";import{a as r}from"./sentry-CY6wsJT-.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-oEkj6b51.js";import{mm as oe,js as ie,e as re,mn as le,mo as ue,mp as $,bj as ce,jz as P,I as B,mq as de,mr as me,J as pe,k9 as he,ms as fe,k4 as Se,jO as ge,jM as Ce,mt as be,mu as ke}from"./index-BHAcVHeH.js";import{cM as N,ct as we,eS as Ie,Ok as Ee,d1 as ye,f0 as Te,eY as _e,dd as Pe,d7 as ve,c_ as xe,d4 as R,d8 as Oe,d9 as Qe,da as Ae,db as je,dc as Me}from"./zeni-epic-state-cFF_NqwA.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-Cni6P-fz.js";import{p as Ue}from"./pathToGoBack-BpMzEQ5A.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="45e8779b-34bf-4559-8267-ab658cb30f3a",a._sentryDebugIdIdentifier="sentry-dbid-45e8779b-34bf-4559-8267-ab658cb30f3a")}catch{}})();const q="chat-response-generated",Be=ne(function(a,i){const n=N(a),d=i.isSubmitting;return{showSampleQuestions:i.sessionFromUrl==="explore"&&n.uiState.currentChatSessionId==null,aiCfoView:n,isSubmitting:d,isNewChatSession:i.sessionFromUrl==="new_chat"||i.sessionFromUrl==="explore",isFullView:!0,tableDownloadEndPoint:`${Se}/tableDownload`,emailLinkQuestion:i.emailLinkQuestion,autoSubmitEmailLinkQuestion:i.autoSubmitEmailLinkQuestion,onEmailLinkQuestionProcessed:i.onEmailLinkQuestionProcessed,isFileUploadEnabled:i.isFileUploadEnabled}},function(a,i){const{location:n,currentTenant:d,userId:u,navigate:p,currentChatSessionId:h,allSessionsWithOrderedQuestionAnswers:g}=i;return{onEventReceived:(e,o)=>{if(e===q&&typeof o.text=="string"&&typeof o.metadata=="object"){const t=o,m=Qe(t.type),c=t.metadata.chat_session_id??null,{currentChatSession:s,currentQuestionAnswer:C,currentQuestionAnswerSummary:f}=$(g,c);m!=="answer"?P.trackAICFOChatResponseGenerated(m,C?.question.questionText??"",t.text,c,ke(f,s),t.metadata.message_id??null):P.trackAICFOChatAnswerGenerated(t.text,C?.question.questionText??"",(t.follow_up_questions?.length??0)>0,!!t.assumptions,!!t.insights,t.visualization!=null,Ae(t.visualization?.type??"")??null,c,t.summarized_title,t.metadata.message_id??null),a(je({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(Me({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&be(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Oe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??Ue(1);p(o,{state:{...n.state,pathnameStackToGoBack:e.newStack}}),a(R(""))},togglePageView:()=>{p(`/${d.tenantEmailDomain}/dashboard`,{state:{...n.state,message:"open_ai_cfo_drawer"}})},onCopy:()=>{},onThumbsUp:()=>{},onThumbsDown:()=>{},onTogglePageView:()=>{p(-1)},onNewChatClick:()=>{h!=null&&a(xe());const e=ge(n.state?.pathnameStackToGoBack,n.pathname);p(`/${d.tenantEmailDomain}/ai-cfo/new_chat`,{state:{pathnameStackToGoBack:e.slice(0,-1),referrer:"Sidebar"}})},onToggleCotCollapsed:(e,o)=>{a(ve({questionAnswerId:e,isCollapsed:o}))},onMenuClick:i.onMenuClick}})(he(fe)),at=({setIsAiCfoOpen:a,isFileUploadEnabled:i})=>{const n=ee(),d=te(),u=se(),[p,h]=r.useState(!1),{customPageTitle:g}=oe(),e=U(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=U(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,b=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),O=r.useRef(!1);r.useEffect(()=>{O.current||b==null||b===""||(I(b),E(x),O.current=!0)},[b,x]);const z=r.useCallback(()=>{I(null),E(!1)},[]),Q=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=Q.get("ref")??f?.aiCfoRef,y=Q.get("emailRefId")??f?.aiCfoEmailRefId,j=r.useRef(!1);r.useEffect(()=>{j.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),j.current=!0)},[A,y,s,n,o]);const k=e.uiState.lastContextMessage;r.useEffect(()=>{k!=null&&k!==""&&s!=null&&(I(k),E(!0),n(Ee()))},[k,s,n]);const W=c.masterTOSInfo,w=W?.isMasterTOSAccepted??!1,{visitedSessions:M}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,F=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",L=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),D=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(D,s),J=H.length===0;r.useEffect(()=>{w||d("../dashboard",{state:{...u.state,message:"open_ai_cfo_drawer"}})},[w]),r.useEffect(()=>{s!=null&&t!==s&&d(`../ai-cfo/${s}`,{state:{...u.state}})},[s,t]),r.useEffect(()=>{t!=null&&s==null&&t!=="new_chat"&&t!=="explore"&&n(ye({sessionId:t,agentId:"controller"}))},[]);const Y=r.useMemo(()=>({events:M.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[M]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&F!=="In-Progress"&&L&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[F,L,s,o,n]),o==null||t==null)throw Error("Can't access AI Controller page without signing in...");const K=s!=null&&e.responseStateByChatSessionId?.[s]?.answer?.fetchState==="In-Progress";return S.jsxs($e,{children:[S.jsx(ce,{analytics:P,onLoad:l=>l.trackPageLoaded(pe.Event.aiCFOPage)}),B(m)&&C.drawerElement,S.jsx(Be,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:J,customPageTitle:g,currentTenant:c,emailLinkQuestion:G??void 0,autoSubmitEmailLinkQuestion:V,onEmailLinkQuestionProcessed:z,onMenuClick:B(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Fe,{anchor:"right",open:p,transitionDuration:250,PaperProps:{component:Ne,style:{width:`${de}vw`}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:()=>h(!1),children:S.jsx(Re,{onClick:l=>l.stopPropagation(),children:S.jsx(me,{isTOSAccepted:w,acceptMasterTOSState:e.masterTOSAcceptanceState,customPageTitle:g,onCloseClick:()=>h(!1),onCompleteClick:()=>{w||c.userRoleId==null||n(Pe(c.userRoleId)),h(!1)}})})})]})},Re=v(De)`
1
+ import{j as S}from"./pdf-CTJ16aEe.js";import{a as r}from"./sentry-CY6wsJT-.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-oEkj6b51.js";import{mm as oe,js as ie,e as re,mn as le,mo as ue,mp as $,bj as ce,jz as P,I as B,mq as de,mr as me,J as pe,k9 as he,ms as fe,k4 as Se,jO as ge,jM as Ce,mt as be,mu as ke}from"./index-ByqexAVU.js";import{cM as N,ct as we,eS as Ie,Ok as Ee,d1 as ye,f0 as Te,eY as _e,dd as Pe,d7 as ve,c_ as xe,d4 as R,d8 as Oe,d9 as Qe,da as Ae,db as je,dc as Me}from"./zeni-epic-state-cFF_NqwA.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-Cni6P-fz.js";import{p as Ue}from"./pathToGoBack-BpMzEQ5A.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="45e8779b-34bf-4559-8267-ab658cb30f3a",a._sentryDebugIdIdentifier="sentry-dbid-45e8779b-34bf-4559-8267-ab658cb30f3a")}catch{}})();const q="chat-response-generated",Be=ne(function(a,i){const n=N(a),d=i.isSubmitting;return{showSampleQuestions:i.sessionFromUrl==="explore"&&n.uiState.currentChatSessionId==null,aiCfoView:n,isSubmitting:d,isNewChatSession:i.sessionFromUrl==="new_chat"||i.sessionFromUrl==="explore",isFullView:!0,tableDownloadEndPoint:`${Se}/tableDownload`,emailLinkQuestion:i.emailLinkQuestion,autoSubmitEmailLinkQuestion:i.autoSubmitEmailLinkQuestion,onEmailLinkQuestionProcessed:i.onEmailLinkQuestionProcessed,isFileUploadEnabled:i.isFileUploadEnabled}},function(a,i){const{location:n,currentTenant:d,userId:u,navigate:p,currentChatSessionId:h,allSessionsWithOrderedQuestionAnswers:g}=i;return{onEventReceived:(e,o)=>{if(e===q&&typeof o.text=="string"&&typeof o.metadata=="object"){const t=o,m=Qe(t.type),c=t.metadata.chat_session_id??null,{currentChatSession:s,currentQuestionAnswer:C,currentQuestionAnswerSummary:f}=$(g,c);m!=="answer"?P.trackAICFOChatResponseGenerated(m,C?.question.questionText??"",t.text,c,ke(f,s),t.metadata.message_id??null):P.trackAICFOChatAnswerGenerated(t.text,C?.question.questionText??"",(t.follow_up_questions?.length??0)>0,!!t.assumptions,!!t.insights,t.visualization!=null,Ae(t.visualization?.type??"")??null,c,t.summarized_title,t.metadata.message_id??null),a(je({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(Me({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&be(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Oe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??Ue(1);p(o,{state:{...n.state,pathnameStackToGoBack:e.newStack}}),a(R(""))},togglePageView:()=>{p(`/${d.tenantEmailDomain}/dashboard`,{state:{...n.state,message:"open_ai_cfo_drawer"}})},onCopy:()=>{},onThumbsUp:()=>{},onThumbsDown:()=>{},onTogglePageView:()=>{p(-1)},onNewChatClick:()=>{h!=null&&a(xe());const e=ge(n.state?.pathnameStackToGoBack,n.pathname);p(`/${d.tenantEmailDomain}/ai-cfo/new_chat`,{state:{pathnameStackToGoBack:e.slice(0,-1),referrer:"Sidebar"}})},onToggleCotCollapsed:(e,o)=>{a(ve({questionAnswerId:e,isCollapsed:o}))},onMenuClick:i.onMenuClick}})(he(fe)),at=({setIsAiCfoOpen:a,isFileUploadEnabled:i})=>{const n=ee(),d=te(),u=se(),[p,h]=r.useState(!1),{customPageTitle:g}=oe(),e=U(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=U(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,b=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),O=r.useRef(!1);r.useEffect(()=>{O.current||b==null||b===""||(I(b),E(x),O.current=!0)},[b,x]);const z=r.useCallback(()=>{I(null),E(!1)},[]),Q=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=Q.get("ref")??f?.aiCfoRef,y=Q.get("emailRefId")??f?.aiCfoEmailRefId,j=r.useRef(!1);r.useEffect(()=>{j.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),j.current=!0)},[A,y,s,n,o]);const k=e.uiState.lastContextMessage;r.useEffect(()=>{k!=null&&k!==""&&s!=null&&(I(k),E(!0),n(Ee()))},[k,s,n]);const W=c.masterTOSInfo,w=W?.isMasterTOSAccepted??!1,{visitedSessions:M}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,F=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",L=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),D=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(D,s),J=H.length===0;r.useEffect(()=>{w||d("../dashboard",{state:{...u.state,message:"open_ai_cfo_drawer"}})},[w]),r.useEffect(()=>{s!=null&&t!==s&&d(`../ai-cfo/${s}`,{state:{...u.state}})},[s,t]),r.useEffect(()=>{t!=null&&s==null&&t!=="new_chat"&&t!=="explore"&&n(ye({sessionId:t,agentId:"controller"}))},[]);const Y=r.useMemo(()=>({events:M.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[M]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&F!=="In-Progress"&&L&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[F,L,s,o,n]),o==null||t==null)throw Error("Can't access AI Controller page without signing in...");const K=s!=null&&e.responseStateByChatSessionId?.[s]?.answer?.fetchState==="In-Progress";return S.jsxs($e,{children:[S.jsx(ce,{analytics:P,onLoad:l=>l.trackPageLoaded(pe.Event.aiCFOPage)}),B(m)&&C.drawerElement,S.jsx(Be,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:J,customPageTitle:g,currentTenant:c,emailLinkQuestion:G??void 0,autoSubmitEmailLinkQuestion:V,onEmailLinkQuestionProcessed:z,onMenuClick:B(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Fe,{anchor:"right",open:p,transitionDuration:250,PaperProps:{component:Ne,style:{width:`${de}vw`}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:()=>h(!1),children:S.jsx(Re,{onClick:l=>l.stopPropagation(),children:S.jsx(me,{isTOSAccepted:w,acceptMasterTOSState:e.masterTOSAcceptanceState,customPageTitle:g,onCloseClick:()=>h(!1),onCompleteClick:()=>{w||c.userRoleId==null||n(Pe(c.userRoleId)),h(!1)}})})})]})},Re=v(De)`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as se,l as ce,cq as Ce,bH as Se,m as L,bn as Oe,a1 as oe,c0 as J,fr as R,fo as ee,fp as ie,fq as me,aj as pe,ge as Te,f as ue,cp as ge,H as he,dX as Re,W as ze}from"./index-BHAcVHeH.js";import{n as d}from"./mui-Cni6P-fz.js";import{G0 as De,bt as le}from"./zeni-epic-state-cFF_NqwA.js";import{a as G}from"./sentry-CY6wsJT-.js";import{K as xe}from"./LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js";import{j as be,x as fe,C as ve}from"./LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c63f6f4e-d4ed-4eb2-bf46-789aeb5e4ba3",e._sentryDebugIdIdentifier="sentry-dbid-c63f6f4e-d4ed-4eb2-bf46-789aeb5e4ba3")}catch{}})();const V=(e,t)=>`${e}.${t}`,ae={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},u=A.getLocalizedStrings().peoplePage,ke=({user:e,sectionId:t,mode:o,managersList:m,classList:s,controllersList:b,customerRoleOptions:C,isBankingOnlyTenant:g,isCardsOnlyTenant:f,isEdit:N,person:h,analytics:v})=>{const $=_(),P=ae.largeLabelWidth.value($),{setValue:S}=Y(),D=oe(b),w=D.splice(0,1),U=D.reduce((a,n)=>a.concat(`${n.email},`),""),M=G.useMemo(()=>oe(J.roles),[]),p=le(e.role);return G.useEffect(()=>{(p||g||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),p&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[p,g,f]),i.jsxs(Ne,{windowSize:$,"data-testid":I("edit-people-user-item-section"),children:[i.jsx(xe,{label:u.invitePage.email,name:V(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(u.addPlaceholderPrefix,u.invitePage.email),style:{paddingTop:l.sp2,paddingBottom:l.sp2}}),i.jsx(X,{}),o==="off"?i.jsxs(i.Fragment,{children:[i.jsx(be,{label:{label:u.invitePage.role,width:P},style:{width:"auto"},rolesDropDownField:{name:V(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:me(e.role),allRootRole:ie(g,f)},productsByUserRole:ee(e.role,C)},registerOptions:{required:!0}}}),i.jsx(X,{}),i.jsx($e,{label:{label:u.invitePage.manager,width:P},showTooltip:!0,toolTipWidth:ae.toolTipWidth.valuePx($),tooltipTitle:i.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:V(t,"manager"),value:{allUsers:m,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:a=>{const n=m.findIndex(r=>r.userId===a);if(n!==-1){const r=m[n],y=s.find(k=>k.classId===r.userRole.accountingClassIDs[0]),j=[];return y!=null&&j.push(y.className),j}return[]},placeholderLabel:p?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.manager),registerOptions:{required:!p},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:p?"disabled":void 0,isOptionDisabled:a=>a===h?.user?.userId},style:{width:"auto"},isDisabled:p?"disabled":void 0,opacity:p?.32:1}),i.jsx(X,{}),i.jsx(fe,{label:{label:u.invitePage.department,width:P},singleSelectWithoutClearableField:{name:V(t,"department"),defaultValue:{allOptions:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})),selectedOption:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})).find(a=>a.value===e.departmentId)},placeholder:p||g||f?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.department),registerOptions:{required:!p||!(g||f)},isDisabled:p||g||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:p||g||f?"disabled":void 0,opacity:p||g||f?.32:1}),N?null:i.jsxs(Ue,{windowSize:$,children:[u.invitePage.controllerText,w[0]?i.jsxs(We,{href:`mailto:${w[0].email}?cc=${U}&subject=${encodeURIComponent(u.invitePage.emailSubject)}`,children:[i.jsx("span",{children:`${w[0].firstName} ${w[0].lastName}`}),i.jsx(pe,{className:"arrowIcon"})]}):null]})]}):i.jsx(ve,{label:{label:u.invitePage.role,width:P},zeniRolesDropDownField:{name:V(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(u.selectPlaceholderPrefix,u.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:a=>{h!=null&&v?.trackRoleChanged(h.userRole.userRoles,a[0],h?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>A.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Ne=d.div`
1
+ import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as se,l as ce,cq as Ce,bH as Se,m as L,bn as Oe,a1 as oe,c0 as J,fr as R,fo as ee,fp as ie,fq as me,aj as pe,ge as Te,f as ue,cp as ge,H as he,dX as Re,W as ze}from"./index-ByqexAVU.js";import{n as d}from"./mui-Cni6P-fz.js";import{G0 as De,bt as le}from"./zeni-epic-state-cFF_NqwA.js";import{a as G}from"./sentry-CY6wsJT-.js";import{K as xe}from"./LabeledEmailInputField-DzAdekQn-C8rbJEKG.js";import{j as be,x as fe,C as ve}from"./LabeledZeniRolesDropDownField-BJ99uBt1-DRxN007k.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-DD11_Map-Cz77QBp-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c63f6f4e-d4ed-4eb2-bf46-789aeb5e4ba3",e._sentryDebugIdIdentifier="sentry-dbid-c63f6f4e-d4ed-4eb2-bf46-789aeb5e4ba3")}catch{}})();const V=(e,t)=>`${e}.${t}`,ae={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},u=A.getLocalizedStrings().peoplePage,ke=({user:e,sectionId:t,mode:o,managersList:m,classList:s,controllersList:b,customerRoleOptions:C,isBankingOnlyTenant:g,isCardsOnlyTenant:f,isEdit:N,person:h,analytics:v})=>{const $=_(),P=ae.largeLabelWidth.value($),{setValue:S}=Y(),D=oe(b),w=D.splice(0,1),U=D.reduce((a,n)=>a.concat(`${n.email},`),""),M=G.useMemo(()=>oe(J.roles),[]),p=le(e.role);return G.useEffect(()=>{(p||g||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),p&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[p,g,f]),i.jsxs(Ne,{windowSize:$,"data-testid":I("edit-people-user-item-section"),children:[i.jsx(xe,{label:u.invitePage.email,name:V(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(u.addPlaceholderPrefix,u.invitePage.email),style:{paddingTop:l.sp2,paddingBottom:l.sp2}}),i.jsx(X,{}),o==="off"?i.jsxs(i.Fragment,{children:[i.jsx(be,{label:{label:u.invitePage.role,width:P},style:{width:"auto"},rolesDropDownField:{name:V(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:me(e.role),allRootRole:ie(g,f)},productsByUserRole:ee(e.role,C)},registerOptions:{required:!0}}}),i.jsx(X,{}),i.jsx($e,{label:{label:u.invitePage.manager,width:P},showTooltip:!0,toolTipWidth:ae.toolTipWidth.valuePx($),tooltipTitle:i.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:V(t,"manager"),value:{allUsers:m,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:a=>{const n=m.findIndex(r=>r.userId===a);if(n!==-1){const r=m[n],y=s.find(k=>k.classId===r.userRole.accountingClassIDs[0]),j=[];return y!=null&&j.push(y.className),j}return[]},placeholderLabel:p?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.manager),registerOptions:{required:!p},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:p?"disabled":void 0,isOptionDisabled:a=>a===h?.user?.userId},style:{width:"auto"},isDisabled:p?"disabled":void 0,opacity:p?.32:1}),i.jsx(X,{}),i.jsx(fe,{label:{label:u.invitePage.department,width:P},singleSelectWithoutClearableField:{name:V(t,"department"),defaultValue:{allOptions:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})),selectedOption:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})).find(a=>a.value===e.departmentId)},placeholder:p||g||f?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.department),registerOptions:{required:!p||!(g||f)},isDisabled:p||g||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:p||g||f?"disabled":void 0,opacity:p||g||f?.32:1}),N?null:i.jsxs(Ue,{windowSize:$,children:[u.invitePage.controllerText,w[0]?i.jsxs(We,{href:`mailto:${w[0].email}?cc=${U}&subject=${encodeURIComponent(u.invitePage.emailSubject)}`,children:[i.jsx("span",{children:`${w[0].firstName} ${w[0].lastName}`}),i.jsx(pe,{className:"arrowIcon"})]}):null]})]}):i.jsx(ve,{label:{label:u.invitePage.role,width:P},zeniRolesDropDownField:{name:V(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(u.selectPlaceholderPrefix,u.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:a=>{h!=null&&v?.trackRoleChanged(h.userRole.userRoles,a[0],h?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>A.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Ne=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{y as X,e as ee,O as l,V as o,bd as oe,aZ as te,bN as ae,a_ as re,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-BHAcVHeH.js";import{a as b}from"./sentry-CY6wsJT-.js";import{n as r}from"./mui-Cni6P-fz.js";import{m as ce}from"./BusyIndication-BZLVwIo8-6s8wSi7T.js";import{L as ge,D as pe}from"./EntitySummarySection-B2uG3-Zh-DoF2hAYB.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="aaa40762-e304-4b11-a868-2fda0f837b1e",e._sentryDebugIdIdentifier="sentry-dbid-aaa40762-e304-4b11-a868-2fda0f837b1e")}catch{}})();const C={wrapperContainerMarginTop:new N(u[4],u[0]),wrapperContaineHorizontalrMargin:new N(u[0],u[8])},me=r.div`
1
+ import{y as X,e as ee,O as l,V as o,bd as oe,aZ as te,bN as ae,a_ as re,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-ByqexAVU.js";import{a as b}from"./sentry-CY6wsJT-.js";import{n as r}from"./mui-Cni6P-fz.js";import{m as ce}from"./BusyIndication-BZLVwIo8-D7x09Syx.js";import{L as ge,D as pe}from"./EntitySummarySection-B2uG3-Zh-BNN-XEhG.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="aaa40762-e304-4b11-a868-2fda0f837b1e",e._sentryDebugIdIdentifier="sentry-dbid-aaa40762-e304-4b11-a868-2fda0f837b1e")}catch{}})();const C={wrapperContainerMarginTop:new N(u[4],u[0]),wrapperContaineHorizontalrMargin:new N(u[0],u[8])},me=r.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -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-BHAcVHeH.js";import{n as o,k as w}from"./mui-Cni6P-fz.js";import{a as y}from"./sentry-CY6wsJT-.js";import{t as j}from"./clock-CJkylEKt-CBVPxBka.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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-ByqexAVU.js";import{n as o,k as w}from"./mui-Cni6P-fz.js";import{a as y}from"./sentry-CY6wsJT-.js";import{t as j}from"./clock-CJkylEKt-CBVPxBka.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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,v as h,ap as f}from"./index-BHAcVHeH.js";import{a as o,b as Ce}from"./sentry-CY6wsJT-.js";import{n as l}from"./mui-Cni6P-fz.js";import{bm as we}from"./zeni-epic-state-cFF_NqwA.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="5c157eb0-7d4c-47ea-964f-5e3496b40941",e._sentryDebugIdIdentifier="sentry-dbid-5c157eb0-7d4c-47ea-964f-5e3496b40941")}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(Se,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=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,v as h,ap as f}from"./index-ByqexAVU.js";import{a as o,b as Ce}from"./sentry-CY6wsJT-.js";import{n as l}from"./mui-Cni6P-fz.js";import{bm as we}from"./zeni-epic-state-cFF_NqwA.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-DsWKmIXY-BKVS4wpr.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="5c157eb0-7d4c-47ea-964f-5e3496b40941",e._sentryDebugIdIdentifier="sentry-dbid-5c157eb0-7d4c-47ea-964f-5e3496b40941")}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(Se,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${a.sp3};
@@ -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-BHAcVHeH.js";import{n as l}from"./mui-Cni6P-fz.js";import{FZ as N,F_ as Z}from"./zeni-epic-state-cFF_NqwA.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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-ByqexAVU.js";import{n as l}from"./mui-Cni6P-fz.js";import{FZ as N,F_ as Z}from"./zeni-epic-state-cFF_NqwA.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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-BHAcVHeH.js";import{a as k,b as J}from"./sentry-CY6wsJT-.js";import{n as C}from"./mui-Cni6P-fz.js";import{l as L,_ as R,h as W,m as q,u as D}from"./chartTypes-_AEkJ5Cg-CVupoc41.js";import{cj as B,FK as O}from"./zeni-epic-state-cFF_NqwA.js";import{S as A,E as V,X as _,Y as F,F as G,K as M}from"./recharts-LlOU9oLm.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]="5a5eb422-022f-4fbe-8645-ee6a26829de0",e._sentryDebugIdIdentifier="sentry-dbid-5a5eb422-022f-4fbe-8645-ee6a26829de0")}catch{}})();const H=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-ByqexAVU.js";import{a as k,b as J}from"./sentry-CY6wsJT-.js";import{n as C}from"./mui-Cni6P-fz.js";import{l as L,_ as R,h as W,m as q,u as D}from"./chartTypes-_AEkJ5Cg-BoLLmK-7.js";import{cj as B,FK as O}from"./zeni-epic-state-cFF_NqwA.js";import{S as A,E as V,X as _,Y as F,F as G,K as M}from"./recharts-LlOU9oLm.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]="5a5eb422-022f-4fbe-8645-ee6a26829de0",e._sentryDebugIdIdentifier="sentry-dbid-5a5eb422-022f-4fbe-8645-ee6a26829de0")}catch{}})();const H=C.div`
2
2
  display: flex;
3
3
  `,Q=C.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
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-BHAcVHeH.js";import{a as D}from"./sentry-CY6wsJT-.js";import{n as a}from"./mui-Cni6P-fz.js";import{m as se}from"./BusyIndication-BZLVwIo8-6s8wSi7T.js";import{L as le,D as de}from"./EntitySummarySection-B2uG3-Zh-DoF2hAYB.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="d59524d5-847d-4f0a-abcf-ab0ef2d169dc",e._sentryDebugIdIdentifier="sentry-dbid-d59524d5-847d-4f0a-abcf-ab0ef2d169dc")}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:f,reportDate:n,analytics:c,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&&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),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&&c.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,c]),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: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-ByqexAVU.js";import{a as D}from"./sentry-CY6wsJT-.js";import{n as a}from"./mui-Cni6P-fz.js";import{m as se}from"./BusyIndication-BZLVwIo8-D7x09Syx.js";import{L as le,D as de}from"./EntitySummarySection-B2uG3-Zh-BNN-XEhG.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="d59524d5-847d-4f0a-abcf-ab0ef2d169dc",e._sentryDebugIdIdentifier="sentry-dbid-d59524d5-847d-4f0a-abcf-ab0ef2d169dc")}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:f,reportDate:n,analytics:c,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&&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),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&&c.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,c]),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: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`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -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,bn as _,b as C,eU as R,o as a,at as O,f$ as S,f as k,cp as M}from"./index-BHAcVHeH.js";import{a as e}from"./sentry-CY6wsJT-.js";import{n as r}from"./mui-Cni6P-fz.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="01decc6a-c3f9-4030-8b82-26cdd767c5a0",t._sentryDebugIdIdentifier="sentry-dbid-01decc6a-c3f9-4030-8b82-26cdd767c5a0")}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,bn as _,b as C,eU as R,o as a,at as O,f$ as S,f as k,cp as M}from"./index-ByqexAVU.js";import{a as e}from"./sentry-CY6wsJT-.js";import{n as r}from"./mui-Cni6P-fz.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="01decc6a-c3f9-4030-8b82-26cdd767c5a0",t._sentryDebugIdIdentifier="sentry-dbid-01decc6a-c3f9-4030-8b82-26cdd767c5a0")}catch{}})();const $=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  box-sizing: border-box;
@@ -1,4 +1,4 @@
1
- import{e as $,V as i,b as p,k as g,bk as x,o as e,aQ as y,b6 as b,x as c,l as S,m as h}from"./index-BHAcVHeH.js";import{a as j}from"./sentry-CY6wsJT-.js";import{n as s,c as z}from"./mui-Cni6P-fz.js";import{J as v}from"./CollapsableReportTable-D7zD4-h0-CdsTnLhf.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]="829157ad-b15e-4e45-a85f-44a36fb92a1e",o._sentryDebugIdIdentifier="sentry-dbid-829157ad-b15e-4e45-a85f-44a36fb92a1e")}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,bk as x,o as e,aQ as y,b6 as b,x as c,l as S,m as h}from"./index-ByqexAVU.js";import{a as j}from"./sentry-CY6wsJT-.js";import{n as s,c as z}from"./mui-Cni6P-fz.js";import{J as v}from"./CollapsableReportTable-D7zD4-h0-CXEJdn3k.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]="829157ad-b15e-4e45-a85f-44a36fb92a1e",o._sentryDebugIdIdentifier="sentry-dbid-829157ad-b15e-4e45-a85f-44a36fb92a1e")}catch{}})();const w={tooltipLeftPosition:new c(h[0],-156),tooltipTopPosition:new c(h[3],h[4]),tooltipWidth:new c(300,350)},m=z`
2
2
  position: relative;
3
3
  `,T=s.div`
4
4
  color: ${o=>o.theme.colors.primary};
@@ -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-BHAcVHeH.js";import{a as C}from"./sentry-CY6wsJT-.js";import{n as u}from"./mui-Cni6P-fz.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-ByqexAVU.js";import{a as C}from"./sentry-CY6wsJT-.js";import{n as u}from"./mui-Cni6P-fz.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 n,b as f,bn as $,o as e,x as t,bw as b,d as x,M as y,O as k,f as l,er as v,l as z,m as o}from"./index-BHAcVHeH.js";import{n as a}from"./mui-Cni6P-fz.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]="9329f424-d427-4f88-bf26-7ce2453fd99f",i._sentryDebugIdIdentifier="sentry-dbid-9329f424-d427-4f88-bf26-7ce2453fd99f")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,o[3]),customTitleMarginBottom:new t(o[0],o[3]),customTitleMarginLeft:new t(o[3],o[6]),customTitleMarginRight:new t(o[5],o[8])},P={formTitle:new x("h6Medium","h5Medium")},R=({header:i,isDirty:r,isMagicLink:g,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return n.jsxs(n.Fragment,{children:[s==="small"?n.jsxs(C,{windowSize:s,children:[g?null:n.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":f("bank-account-page-back-click-mobile")}),n.jsx(u,{windowSize:s,children:i})]}):n.jsx(S,{children:g?null:n.jsx($,{title:j,enterDelay:600,placement:"bottom",children:n.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":f("bank-account-page-back-click")})})}),s!=="small"?n.jsx(u,{windowSize:s,children:i}):null]})},u=a(y)`
1
+ import{e as w,V as n,b as f,bn as $,o as e,x as t,bw as b,d as x,M as y,O as k,f as l,er as v,l as z,m as o}from"./index-ByqexAVU.js";import{n as a}from"./mui-Cni6P-fz.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]="9329f424-d427-4f88-bf26-7ce2453fd99f",i._sentryDebugIdIdentifier="sentry-dbid-9329f424-d427-4f88-bf26-7ce2453fd99f")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,o[3]),customTitleMarginBottom:new t(o[0],o[3]),customTitleMarginLeft:new t(o[3],o[6]),customTitleMarginRight:new t(o[5],o[8])},P={formTitle:new x("h6Medium","h5Medium")},R=({header:i,isDirty:r,isMagicLink:g,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return n.jsxs(n.Fragment,{children:[s==="small"?n.jsxs(C,{windowSize:s,children:[g?null:n.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":f("bank-account-page-back-click-mobile")}),n.jsx(u,{windowSize:s,children:i})]}):n.jsx(S,{children:g?null:n.jsx($,{title:j,enterDelay:600,placement:"bottom",children:n.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":f("bank-account-page-back-click")})})}),s!=="small"?n.jsx(u,{windowSize:s,children:i}):null]})},u=a(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,bn 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,bt 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-BHAcVHeH.js";import{a as r}from"./sentry-CY6wsJT-.js";import{n}from"./mui-Cni6P-fz.js";import{r as Te}from"./core-oEkj6b51.js";import{u as _e}from"./plaid-B2vW8NaN.js";import{cg as ft,ch as ee,bG as Le}from"./zeni-epic-state-cFF_NqwA.js";import{a as wt}from"./SetUpAccountSection-BcNG0nDh-C2x0keC_.js";import"./pdf-CTJ16aEe.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./utils-ChLimP28.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]="10d8a18c-fcea-4ccd-a636-2cc1c1079bc1",e._sentryDebugIdIdentifier="sentry-dbid-10d8a18c-fcea-4ccd-a636-2cc1c1079bc1")}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`
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,bn 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,bt 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-ByqexAVU.js";import{a as r}from"./sentry-CY6wsJT-.js";import{n}from"./mui-Cni6P-fz.js";import{r as Te}from"./core-oEkj6b51.js";import{u as _e}from"./plaid-B2vW8NaN.js";import{cg as ft,ch as ee,bG as Le}from"./zeni-epic-state-cFF_NqwA.js";import{a as wt}from"./SetUpAccountSection-BcNG0nDh-wr_b4Gnf.js";import"./pdf-CTJ16aEe.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./utils-ChLimP28.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]="10d8a18c-fcea-4ccd-a636-2cc1c1079bc1",e._sentryDebugIdIdentifier="sentry-dbid-10d8a18c-fcea-4ccd-a636-2cc1c1079bc1")}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"};