@zeniai/web-app-ui 4.14.29-dev → 4.14.29-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-DdI8Zlpr-DP3Ijrzf.js → ACHDetailsPage-DdI8Zlpr-CU5r-YKb.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BCxF5hNI-DwsSzcsx.js → AIPerformancePage-BCxF5hNI-BDzZyTRY.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-D_PrQwlp-DcHjYUET.js → AccountInfoPage-D_PrQwlp-D0A6PrU_.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js → AccountInfoPageContent-jLGn4-UA-kIJ8s7Ew.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js → AccountLockedInfoModal-CKODwo_y-HgxyLYI4.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js → AccountReconDetailsDrawerPage-B2m7w0mL-C2NTxb1j.js} +1 -1
  7. package/dist/assets/{AccountRow-G9Hw9KCo-CT1w9ZhF.js → AccountRow-G9Hw9KCo-BilRGfLi.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js → AccountsPromoCardStack-C1-hQWvB-BXfUO0-K.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js → AddAddressForCardDrawer-Dd-0o1b--Buw-PM8c.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLdfTvYw-1DCwK82d.js → AddToWalletPage-BLdfTvYw-CAAAw7wK.js} +1 -1
  11. package/dist/assets/{AddressRoutes-BQkJFfvp.js → AddressRoutes-BG1MAbCa.js} +1 -1
  12. package/dist/assets/{AddressScreen-Dl895CZ9.js → AddressScreen-DPQ2dZD-.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-C6aasTzQ-C63SyJmI.js → AgingReportsPage-C6aasTzQ-CXKuu64F.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-IdwAAJXG.js → AiCfoScreen-Uh7XawvO.js} +1 -1
  15. package/dist/assets/{AllUserItems-CjeF5SWi-CeRsiH4z.js → AllUserItems-CjeF5SWi-Xj_esGub.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js → ApAgingDetailPage-BWtvu1dO-B5eTLGtl.js} +1 -1
  17. package/dist/assets/{AppBasePage-MKRsDpmx-DMLcxkrr.js → AppBasePage-MKRsDpmx-HZd0I1c2.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-DN2hf6ff-5NhbUBos.js → AppDrawerContent-DN2hf6ff-D92ap2jb.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js → ApprovalRulesSettingsPage-0XbPzs2a-CNXOi7RW.js} +1 -1
  20. package/dist/assets/{ArAgingChart-DSx_E9ZM-RnIrRkZm.js → ArAgingChart-DSx_E9ZM-T13taZCd.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-C8h1id5v-HwBRgj9f.js → ArAgingDetailPage-C8h1id5v-Bp0xLr7O.js} +1 -1
  22. package/dist/assets/{AttachmentView-CqKnI6Xt-AOGCu7iZ.js → AttachmentView-CqKnI6Xt-6J0SUJNW.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js → BalancesInsightWithToolTip-CSaW4oJh-DO_Gw_jb.js} +1 -1
  24. package/dist/assets/{BankAccountSection-Dhp7GLZA-FNVqovjK.js → BankAccountSection-Dhp7GLZA-ZzlevD89.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js → BankAccountWarningSection-C_OfdR1O-DqmpDK5M.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js → BankConnectionsSettingsPage-CDPUFu2k-C0HHnCKS.js} +1 -1
  27. package/dist/assets/{BillDetailPage-BWBGE0pg-CYoOWtCP.js → BillDetailPage-BWBGE0pg-UL8bGSCB.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-BvnC9SqN.js → BillPayApprovalRoutes-DW58vDW2.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js → BillPayApprovalRuleDetailPage-B_XoB7xi-s54xFqBk.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js → BillPayApprovalRulesPage-5okdFn01-idvpD0Th.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js → BillPayPromoPage-GoR4wxn7-BX9oM76g.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-DqZf2rOO.js → BillPayRoutes-BtkTxM8s.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js → BillPaySetUpPage-CKWIFJ92-CabNOcHO.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-AjSQYumd-GqgYiFI4.js → BillingSettingsPage-AjSQYumd-Bn1f-Gb_.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js → BillsBulkReviewDrawerPage-DsNKfhkT-BYVxk_pZ.js} +1 -1
  36. package/dist/assets/{BoxItem-BWNurtfc-J9WJ61G4.js → BoxItem-BWNurtfc-1wVBC0eH.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js → BusinessVerificationPage-DN88j0Rn-tyggZhAW.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-CJ17INUy.js → BusinessVerificationPageScreen-DwaqRId9.js} +1 -1
  39. package/dist/assets/{BusyIndication-H_iNZOWd-BNmJKxof.js → BusyIndication-H_iNZOWd-YzpZR-Jd.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-BAWc12F9-CekGLfjU.js → CardNumberSubText-BAWc12F9-BTTDwvPi.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-BhCHvGxj-nllESilf.js → CashbackDetailPage-BhCHvGxj-C7faepag.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js → ChargeCardDetailPage-D9-V0pjZ-CcMIYVjT.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js → ChargeCardListPage-CZFi8l0_-CbzOxmGD.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-DiJUp9-c-hw3gHlrw.js → ChargeCardListTable-DiJUp9-c-D2uWClgA.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js → ChargeCardPaymentHistoryPage-CW9gtO0w-DcClor1f.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-CiZDV925-B7JK6cJL.js → ChargeCardPromoPage-CiZDV925-CSYRAMGO.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-BumOjc7r.js → ChargeCardRoutes-D4cX-FOc.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js → ChargeCardSetupPage-C5jXY5P--BL7I_Hqd.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js → ChargeCardStatementsPage-CetLgQ8l-gLsbR91J.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js → CheckDepositDrawerPage-BYfqgSGk-ZwbVVf4M.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-BhbPzkAB-C83Y_pXv.js → CollapsableReportTable-BhbPzkAB-CdpUmH6m.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js → CompanyOfficerDetailsSection-CMcuDe-X-C7bIWPwr.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-DImW2Dm8-pP6x_qCR.js → CompanyPassportCard-DImW2Dm8-C3ddeebY.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-DT2W9QE1-DJLwOOR3.js → CompanyPassportPage-DT2W9QE1-BV_asMoO.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-Ckk3Aa0n.js → CompanyPassportScreen-lvxlxXBe.js} +1 -1
  56. package/dist/assets/{CompleteProfile-BOabRQRQ-Cdf3T9vg.js → CompleteProfile-BOabRQRQ-hZLQMnnP.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-Ix0vYpu--B-yjeAz3.js → ConfettiBurst-Ix0vYpu--V0qDTo2i.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CJIuvxwT.js → ConnectionAuthScreen-B2gMiO2X.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js → ConstrainedInnerElement-CgdnMeoA-CBRgyWeU.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js → CreateOrEditVendorPage-D86akQ-H-DjyhHlg2.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js → CreditCardPaymentDrawerPage-MS34Pxyw-CThaYeKC.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BsuzTGXR-DG4V_Nis.js → CurrencySelectField-BsuzTGXR-BO0M4dmd.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js → CustomerOnboardingActivationPage-BP-GIrmI-BTYtJVUo.js} +1 -1
  64. package/dist/assets/{CustomerOnboardingAuthScreen-C_Q_XIl1.js → CustomerOnboardingAuthScreen-HNUHcgaZ.js} +1 -1
  65. package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BzHwYekK.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js → CustomerOnboardingDetailPageSkeleton-CISAUodZ-YRtutnxA.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js → CustomerOnboardingNoStepsPage-DgMQ5prq-C6rBmtzt.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js → CustomerOnboardingPage-QvCZDMFw-XwRQSzz7.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js → CustomerOnboardingProductSuitePage-Bt1cV23--BjduPIcK.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-GPk7JXLd.js → CustomerOnboardingRoutes-E20XO7Zj.js} +1 -1
  71. package/dist/assets/{Dashboard-DdAePVSx-CyfCOyra.js → Dashboard-DdAePVSx-C-9TkoS2.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-ccn0JYfk-DfPZgIh7.js → DashboardReportPage-ccn0JYfk-D8ynj735.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-DbCVxvoA.js → DashboardRoutes-DcFVHsLz.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js → DashboardSidebarBackgroundAnimation-DPDd6e7b-D-b2dmJD.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DnjlKX8o.js → DefaultTenantHome-wwRnuj8j.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js → DepositAccTransactionItem-BijpyBiZ-CW9mmver.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js → DepositAccTransactionListPage-DOuU7gGT-DQxZX56m.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-CMHXbUdU.js → DomesticWireDetailScreen-OB8K6kLY.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js → DomesticWireDetailsPage-B10Vx6K5-BUhuFnZV.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-BiIbEvq6-DkggD5hU.js → DownloadOverlay-BiIbEvq6-ZKYIT7SI.js} +1 -1
  81. package/dist/assets/{DrawerPage-4aE01eRo-CbGkLlgW.js → DrawerPage-4aE01eRo-CAh9Gn2F.js} +1 -1
  82. package/dist/assets/{DrawerScreen-Bqlol_ka.js → DrawerScreen-BUsyYGIw.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BWjOJqch-DMjcjWgK.js → EditPeoplePage-BWjOJqch-joGMUHM8.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js → EditReimbursementDetailPage-Dcw8QlH6-BgKR9UgF.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-DseDMalq-D030AWbJ.js → EntityDetailPage-DseDMalq-Cyl2DMlD.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-DKPg6KvF.js → EntityDetailRoutes-DRKZJLlI.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-D1o-WKT9-B4D8PhFo.js → EntitySummarySection-D1o-WKT9-D_I5HHZG.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js → ExpenseAutomationOverviewPage-BIGlSzsy-GCvxlf1m.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js → ExpenseAutomationPage-BUARFwSx-DJgzLEID.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-CFAuM0iq.js → ExpenseAutomationRoutes-DOhwxALP.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-BKpxo5VW-BeZ2tWeR.js → ExpressPayPage-BKpxo5VW-DRp_Q9MN.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js → FeaturePreviewPage-CfqYjofS-BCTiv77_.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Ctx49exK.js → FeaturePreviewScreen-B3zHyjp6.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CJzIGe2N-q0pn7uac.js → FollowStepsSection-CJzIGe2N-DY6b--XC.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-B4qWm75N-BekP71Yj.js → GlobalReviewListPage-B4qWm75N-Cgt5bIxt.js} +1 -1
  96. package/dist/assets/{InformationCardStack-BXWxFJnm-DZneOpmz.js → InformationCardStack-BXWxFJnm-DTjwcinQ.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-iUppdWya-IGcayZ6m.js → InsightsCardStack-iUppdWya-CvDrIPQZ.js} +1 -1
  98. package/dist/assets/{InsightsSection-CPg_uo3H-DaY57Nkj.js → InsightsSection-CPg_uo3H-sqHV4Jbt.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js → IntegrationsSettingsPage-DthkTtT9-C74bs234.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js → InternationalWireSwiftDetailsPage-hYeFGjj4-DcAN91eT.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js → InternationalWireVerificationPage-0TZuCAzZ-CQe_0UUB.js} +1 -1
  102. package/dist/assets/{InviteFormPage-BC1PH63r-DAB3gVVK.js → InviteFormPage-BC1PH63r-BIGwjJ9U.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BJDfCvno-Sk3rc3V-.js → InvitePageListView-BJDfCvno-gIJzhxwL.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-Bl-WUfXO-DagADS45.js → InvitePeoplePage-Bl-WUfXO-DUMLWy1B.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-BgVvYytR-DjoTneQr.js → InvoiceUploadSection-BgVvYytR-BlXN9F3c.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-0JEZpfCu-DLK0riSj.js → IssueChargeCardPage-0JEZpfCu-DM9vLveb.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-BCsadhSu-lscFDQOa.js → LabeledAddressValue-BCsadhSu-BSeojys7.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js → LabeledAddressValueField-D-AO8-Me-RVHqH4BW.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js → LabeledControlledCheckBoxField-Do7rlK6F-Dcj3JGIB.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js → LabeledCountryMultiSelectField-BHwXHYPO-D63Slqo_.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js → LabeledCreatableSingleSelectField-gMUp1tXY-0qVfYVsB.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-DxUq-7nr-DAyGmAsR.js → LabeledDocumentField-DxUq-7nr-Dvr8lzpZ.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js → LabeledDropDownFormattedTextField-D51ly333-DpjwTxSj.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js → LabeledEmailInputField-Cd9p7Kj0-CVG4vWEu.js} +1 -1
  115. package/dist/assets/{LabeledNameField-364jsrFK-CaN5hIDf.js → LabeledNameField-364jsrFK-CQqPpY2S.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js → LabeledSingleSelectField-B3pMIEfZ-BxU2XuLw.js} +1 -1
  117. package/dist/assets/{LabeledText-uFTi1qOo-Dh31QRqg.js → LabeledText-uFTi1qOo-DmgySby9.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js → LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-BIqpPDdk.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js → LabeledZeniRolesDropDownField-CbJ3OtWK-BYvsDYJv.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js → LinkJETransactionPage-B5M6Ojt--CjodvhlH.js} +1 -1
  121. package/dist/assets/{LockCardPage-DN2dvQA9-ptj6YCPt.js → LockCardPage-DN2dvQA9-Ow-fz21n.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-CXTWwEyb-DHi-7FjF.js → LowBalancePopup-CXTWwEyb-CglMcP4R.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js → MagicLinkACHDetailsPage-6iW79Hsc-B7gORwLD.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js → MagicLinkDomesticWireDetailsPage-KPRoVnEc-zKiUFewj.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js → MagicLinkInternationalWireDetailsPage-DjB2bi8k-T09uYnar.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-0gOcNpgv.js → MagicLinkRoutes-L3uSUo92.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-hqZFIhM7.js → MagicLinkSignInScreen-D5zthsYs.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js → MagicLinkSuccessPage-JRpuY47p-BJQ8JJMy.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-BnzImXCX-DsNqMADc.js → MagicLinkTitleSection-BnzImXCX-D-Ps836u.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-aNMVpaF0-Mi3ceriD.js → MailingDetailsSection-aNMVpaF0-BDPAoAmw.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-CXepfp6e.js → MobileAppDrawer-nB2AvhYg.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-C_jqM-Ix-D5fFt93A.js → MoreMenuButton-C_jqM-Ix-DkOTATII.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js → MyBankConnectionsSettingsPage-CdW-lOqB-BuW8By7Z.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js → MyPendingActivationChargeCardListPage-DKvDUyn7-nlJboSN5.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js → MyProfileSettingsPage-ZmPfSk3b-CoiObIlF.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-BYosIzfk-CHzZbup1.js → NavBarWithPicker-BYosIzfk-QcmG5LM_.js} +1 -1
  137. package/dist/assets/{NavigationArrow-CMLkPq47-BPg7he64.js → NavigationArrow-CMLkPq47-RkoQ7OLd.js} +1 -1
  138. package/dist/assets/{NavigationDots-maxhYltq-IyF42HyI.js → NavigationDots-maxhYltq-CrrpYdd0.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js → NewGlobalMerchantPage-BkDFFysB-B2YvDT6v.js} +1 -1
  140. package/dist/assets/{NoDataChart-CKqR_T30-DZpYrIq4.js → NoDataChart-CKqR_T30-j8ruDKAU.js} +1 -1
  141. package/dist/assets/{NoDataTable-BQLSA76V-CA1kwcWh.js → NoDataTable-BQLSA76V-Z0rSzjO1.js} +1 -1
  142. package/dist/assets/{NotFoundPage-rtS33FV3-CW80Ae7U.js → NotFoundPage-rtS33FV3-DQRB4A0h.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-86VjMapP.js → NotFoundScreen-BZyQ7N3h.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-WpVyAd3n.js → NotificationRoutes-DHwdNZv_.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js → NotificationSettingsPage-JJ5a6f1u-DkWIvNeO.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-CWWrsRBB-BQkEfnwX.js → NotificationsListConfig-CWWrsRBB-DP_qJFN2.js} +1 -1
  147. package/dist/assets/{NotificationsPage-9vgLoVxJ-CqhoB5mC.js → NotificationsPage-9vgLoVxJ-DquGHhpL.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js → OpExByVendorPage-Dy7Ll1zE-BHmSV3QW.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-o9B6MYdd.js → OverlayContainerPage-BG9y5C0t-CXSGJlk6.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-D-V3dD71-2GY3G9_S.js → PandLWithForecastPage-D-V3dD71-BFdw0OK9.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-NKWly9at.js → PandLWithForecastRoutes-BDTc6BXB.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js → PaymentAccountSetupBillingAddressSection-B_4cMrVT-De6jntkt.js} +1 -1
  153. package/dist/assets/{PeoplePage-B9bxxtaC-BUc8a2C6.js → PeoplePage-B9bxxtaC-DVI-Bxvs.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-LIAWa-ry.js → PeopleRoutes-C9qvG-Pm.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-647LNvtJ.js → PerformanceRoutes-DANbUDFx.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-BnezAuLA-CWNs-1wI.js → ProductsCarousel-BnezAuLA-D870mTyw.js} +1 -1
  157. package/dist/assets/{PromoBaseCards-B5vRjrOp-DZnXvun2.js → PromoBaseCards-B5vRjrOp-CQBPv6Li.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js → QBOConnectionDialog-mVAyONiQ-CvqA8075.js} +1 -1
  159. package/dist/assets/{QBOConnectionScreen-DPXluGT3.js → QBOConnectionScreen-CXrs5Ixj.js} +1 -1
  160. package/dist/assets/{QBOSetupSection-Co4tc3sO-UEf5y5yj.js → QBOSetupSection-Co4tc3sO-CTfIKjz1.js} +1 -1
  161. package/dist/assets/{ReferralListScreen-C9t9-uma.js → ReferralListScreen-DT2pRRPd.js} +1 -1
  162. package/dist/assets/{ReimbursementApprovalRoutes-DBPigEkQ.js → ReimbursementApprovalRoutes-D2Z5UbaN.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js → ReimbursementApprovalRuleDetailPage-t48xfVQ_-CD8euRFQ.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js → ReimbursementApprovalRuleDetailScreen-D5GyC7T8.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js → ReimbursementApprovalRulesPage-BuOE0xKm-Dgnps96a.js} +1 -1
  166. package/dist/assets/{ReimbursementDetailPage-oD88KyGk-Z26luXjw.js → ReimbursementDetailPage-oD88KyGk-fKnCy2kA.js} +1 -1
  167. package/dist/assets/{ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js → ReimbursementPromoPage-DC6vQNFr-D_UtsBrr.js} +1 -1
  168. package/dist/assets/{ReimbursementRoutes-DP3Zyw9z.js → ReimbursementRoutes-IQsmlcCo.js} +1 -1
  169. package/dist/assets/{ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js → ReimbursementSetUpPage-ClkPQCRt-TDU6L3Hh.js} +1 -1
  170. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js → ReimbursementsBulkReviewDrawerPage-DiWW85PW-4yt4cIZg.js} +1 -1
  171. package/dist/assets/{ReloadCard-DcyZqZO5-CwUMwJXU.js → ReloadCard-DcyZqZO5-Cx4kSgDZ.js} +1 -1
  172. package/dist/assets/{ReportTableViewSelector-Be_385i6-D1d1hisQ.js → ReportTableViewSelector-Be_385i6-BoF2puWu.js} +1 -1
  173. package/dist/assets/{ReportsPage-Dp_uEJ2H-DsQqyldd.js → ReportsPage-Dp_uEJ2H-BVzHzuJW.js} +1 -1
  174. package/dist/assets/{ReportsRoutes-CQDTEzwi.js → ReportsRoutes-DNVh4Zq3.js} +1 -1
  175. package/dist/assets/{RevenueChart-B-iMe_PD-Bi6Ok69j.js → RevenueChart-B-iMe_PD-qYuzBRWA.js} +1 -1
  176. package/dist/assets/{ReviewDetailsPage--0ZUpEVp-CQmlT2je.js → ReviewDetailsPage--0ZUpEVp-QpDfYpwf.js} +1 -1
  177. package/dist/assets/{ReviewOverlay-D_JI48L0-CyNlOwFh.js → ReviewOverlay-D_JI48L0-BZc7iU8Z.js} +1 -1
  178. package/dist/assets/{RewardsRoutes-BiuOGirU.js → RewardsRoutes-CREYcycm.js} +1 -1
  179. package/dist/assets/{RoleWithToolTip-Bqdsc31P-CNmkPW05.js → RoleWithToolTip-Bqdsc31P-CEo-Vqy5.js} +1 -1
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js → ScheduleDetailsFixedAssetsPage-vFbciuuA-D8R98pra.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js → ScheduleDetailsPage-BUxgvyKT-4gfjZarF.js} +1 -1
  182. package/dist/assets/{ScheduleSequenceTable-CPf50z9S-CLdzdoca.js → ScheduleSequenceTable-CPf50z9S-CEdOUEQo.js} +1 -1
  183. package/dist/assets/{ScreenRoutes-IYIFGbR5.js → ScreenRoutes-Dehj5d2R.js} +2 -2
  184. package/dist/assets/{SetUpAccountSection-Bk3RGJCY-2x7H96z3.js → SetUpAccountSection-Bk3RGJCY-Bm0kDwNM.js} +1 -1
  185. package/dist/assets/{SettingsRoutes-CEWrZV9M.js → SettingsRoutes-DK8cjp4e.js} +1 -1
  186. package/dist/assets/{SetupPagesScreen-BFZeWYvZ.js → SetupPagesScreen-DAHxCusL.js} +1 -1
  187. package/dist/assets/{SignIn-DbvYG8OW-DIGSru0r.js → SignIn-DbvYG8OW-GkUkBoPB.js} +1 -1
  188. package/dist/assets/{SignInScreen-B27QEE_5.js → SignInScreen-vzDqilPw.js} +1 -1
  189. package/dist/assets/{SignOutScreen-DfH6txYx.js → SignOutScreen-C3YaFG0k.js} +1 -1
  190. package/dist/assets/{SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js → SpendManagementListViewPage-CSGYJyZu-CHLWxGnv.js} +3 -3
  191. package/dist/assets/{SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js → SpendManagementPerTabPage-DuGeuTYQ-Bnf08sS-.js} +1 -1
  192. package/dist/assets/{SpendManagementSection-CZ_i360S-BWGL8ndc.js → SpendManagementSection-CZ_i360S-DJoDSBgX.js} +1 -1
  193. package/dist/assets/{StatementItem-CDx2knrL-D3uOvDYp.js → StatementItem-CDx2knrL-dHkYeLFR.js} +1 -1
  194. package/dist/assets/{StatementsPage-BMFYpAPA-D3BvQu9P.js → StatementsPage-BMFYpAPA-CVHHtLBu.js} +1 -1
  195. package/dist/assets/{StatusSwitcher-CDnarHSf-meshGWkH.js → StatusSwitcher-CDnarHSf-DDxt9cRn.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-DhIXVTVI-Dm-A1aML.js → SubTabSwitcher-DhIXVTVI-C-FMRKa6.js} +1 -1
  197. package/dist/assets/{SuccessAnimation-C-AHWH-M-DYko07lj.js → SuccessAnimation-C-AHWH-M-CjU-MXUl.js} +1 -1
  198. package/dist/assets/{SummaryCard-4S9PQQ5W-B2YKQ_55.js → SummaryCard-4S9PQQ5W-CVgFdJR5.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-rWt-QUEv-DH6XgxNN.js → TaskDetailPage-rWt-QUEv-B4eDDsje.js} +1 -1
  200. package/dist/assets/{TaskListScreen-CWIPHTTl.js → TaskListScreen-CSw93xhx.js} +1 -1
  201. package/dist/assets/{TaskManagementPage-D3YvKWVJ-DM0xoyo4.js → TaskManagementPage-D3YvKWVJ-CISxMHl7.js} +1 -1
  202. package/dist/assets/{TaskRoutes-CgARLANx.js → TaskRoutes-C0KjnkWn.js} +1 -1
  203. package/dist/assets/{TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js → TimeRangeSwitcher-CFJrPhfZ-B9dX58Bl.js} +1 -1
  204. package/dist/assets/{TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js → TimeframeSwitcher-DS6zgSjT-CWk5lheO.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js → TimeframeSwitcherWithToggle-Did8-Dj7-BeDPAkDD.js} +1 -1
  206. package/dist/assets/{TopExCard-ByF-svYM-Ctw9EYS9.js → TopExCard-ByF-svYM-CeHmKjZr.js} +1 -1
  207. package/dist/assets/{TopExDetailPage-ABVezwCx-DzhDJZA8.js → TopExDetailPage-ABVezwCx-C0DDZmei.js} +1 -1
  208. package/dist/assets/{TransactionActivityLogPage-B8ytNODX-DVytAoU9.js → TransactionActivityLogPage-B8ytNODX-BJQxN8XR.js} +1 -1
  209. package/dist/assets/{TransactionDetailPage-CunkyIXB-CNc17TsU.js → TransactionDetailPage-CunkyIXB-CgTOb-81.js} +1 -1
  210. package/dist/assets/{TransactionDetailRoutes-CK-34SUt.js → TransactionDetailRoutes-vPW4Cy7h.js} +1 -1
  211. package/dist/assets/{TransactionDetailScreen-DDeYMLmN.js → TransactionDetailScreen-ChHjrjIW.js} +1 -1
  212. package/dist/assets/{TransactionList-CEPVnfZD-ClBHZqTs.js → TransactionList-CEPVnfZD-TcZJCCiC.js} +1 -1
  213. package/dist/assets/{TransactionListBig-BYFv0irc-pAbEVbC_.js → TransactionListBig-BYFv0irc-C_9tN-iq.js} +1 -1
  214. package/dist/assets/{TransactionListPage-CEVs8CRQ-DxaQpOMD.js → TransactionListPage-CEVs8CRQ-QOKs_8cL.js} +1 -1
  215. package/dist/assets/{TransactionListRoutes-DCJ5Lweu.js → TransactionListRoutes-AsiPvomy.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js → TransactionVendorDetailPage-DYvgQFQS-CHf7_t-i.js} +1 -1
  217. package/dist/assets/{TransferDrawerPage-gDUiIE-g-Bvvjaklx.js → TransferDrawerPage-gDUiIE-g-Dq_9lrcC.js} +1 -1
  218. package/dist/assets/{TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js → TreasuryOverviewPage-DXIqVBWp-vTDjed-b.js} +1 -1
  219. package/dist/assets/{TreasuryPromoPage-oERSujnm-ClN1OTf6.js → TreasuryPromoPage-oERSujnm-Duub099a.js} +1 -1
  220. package/dist/assets/{TreasuryRoutes-BjolvDGd.js → TreasuryRoutes-Cw9xE3HA.js} +1 -1
  221. package/dist/assets/{TreasuryStatementsPage-GWCCDPvf-_h3417p3.js → TreasuryStatementsPage-GWCCDPvf-BxdVAf_2.js} +1 -1
  222. package/dist/assets/{TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js → TreasuryTaxLetterPage-pTRWyNYH-C_7jq7mI.js} +1 -1
  223. package/dist/assets/{TrendChart-B2oLQN05-BkrG4BVH.js → TrendChart-B2oLQN05-BKkpm1IB.js} +1 -1
  224. package/dist/assets/{TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js → TrendWithTransactions-Bx63fv0P-BpBq0DjX.js} +1 -1
  225. package/dist/assets/{UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js → UncategorizedAccountsMappingPage-D_QwlpkW-AksGUSjn.js} +1 -1
  226. package/dist/assets/{UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js → UnitIntegrationPage-EeIQyR4L-BkgVpnWk.js} +1 -1
  227. package/dist/assets/{UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js → UploadAdditionalDocumentOverlay-B8_7dtgO-BAzvdZXs.js} +1 -1
  228. package/dist/assets/{Vendor2FAPopup-DwTNfggI-QO3FNLHc.js → Vendor2FAPopup-DwTNfggI-DuCG60KE.js} +1 -1
  229. package/dist/assets/{VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js → VendorACHDetailsPage-KDUuJi9g-BUZn0dFZ.js} +1 -1
  230. package/dist/assets/{VendorDetailPage-k42A_Pv1-C-eMTgO6.js → VendorDetailPage-k42A_Pv1-ZE6DsZ2U.js} +1 -1
  231. package/dist/assets/{VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js → VendorDomesticWireDetailsPage-Dotx5CDo-vU-waasU.js} +1 -1
  232. package/dist/assets/{VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js → VendorFiling1099EditablePage-BUuhWv_U-K4_6q7mU.js} +1 -1
  233. package/dist/assets/{VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js → VendorFirstReviewPage-bN7DO44j-BxefcVJp.js} +1 -1
  234. package/dist/assets/{VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js → VendorInternationalWireDetailsPage-DjkOrgs7-Cg0U0LdX.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js → VendorInternationalWireSwiftDetailsPage-BRtCcxHm-DZLoEOh0.js} +1 -1
  236. package/dist/assets/{VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js → VendorsAccountsSection-D-7K4aZA-CRXRh27D.js} +1 -1
  237. package/dist/assets/{VendorsRoutes-Dh458IQK.js → VendorsRoutes-CIpXKlmm.js} +1 -1
  238. package/dist/assets/{VerifyDevice-VPfuXUzH-AU1zuQlS.js → VerifyDevice-VPfuXUzH-1HX1IVYe.js} +1 -1
  239. package/dist/assets/{VideoPlayer-2MQyZqi6-DqklpbYT.js → VideoPlayer-2MQyZqi6-5nZYmejT.js} +1 -1
  240. package/dist/assets/{VideoPopup-ZFwt4A81-Ch4C2tup.js → VideoPopup-ZFwt4A81-Dd9BK3DZ.js} +1 -1
  241. package/dist/assets/{WiseConfirmationScreen-Bat277PD.js → WiseConfirmationScreen-DTEzHq7k.js} +1 -1
  242. package/dist/assets/{ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js → ZeniAccountDetailPage-CJrpkcjr-HirlEWmr.js} +1 -1
  243. package/dist/assets/{ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js → ZeniAccountListViewPage-DvJI3LGF-nY-vtULB.js} +1 -1
  244. package/dist/assets/{ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js → ZeniAccountNavBarPieces-UCydmVe7-UXTm50TX.js} +1 -1
  245. package/dist/assets/{ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js → ZeniAccountPromoPage-DiGsabvm-rZyGLme8.js} +1 -1
  246. package/dist/assets/{ZeniAccountRoutes-CAAxW9JY.js → ZeniAccountRoutes-BPd28Sqn.js} +1 -1
  247. package/dist/assets/{ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js → ZeniAccountSetupPage-hVmIT6tO-g_Hva4KO.js} +1 -1
  248. package/dist/assets/{ZeniAccountStatementScreen-BaoiJX5h.js → ZeniAccountStatementScreen-C-wBGJv0.js} +1 -1
  249. package/dist/assets/{ZeniAvatar-C2LxBTZ4-YOmVMm4j.js → ZeniAvatar-C2LxBTZ4-0_TRwNg0.js} +1 -1
  250. package/dist/assets/{ZeniCopyright-BTIaEGE9-Di2RxJTA.js → ZeniCopyright-BTIaEGE9-El7BZp0U.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-9JxwH7J5-CcV9D7gC.js → ZeniDatePicker-9JxwH7J5-CrNSUw6y.js} +1 -1
  252. package/dist/assets/{ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js → ZeniTransferAmountSlider-BlEFrC-Z-BisIQd6x.js} +1 -1
  253. package/dist/assets/{analyticsHelper-jTnRtCKB.js → analyticsHelper-C4p8ugAl.js} +1 -1
  254. package/dist/assets/{analyticsHelper-CYp9h-KW-6KJErEZC.js → analyticsHelper-CYp9h-KW-Cdl9mD6Z.js} +1 -1
  255. package/dist/assets/{calculateSize-DecSvt-d-CIfCbqel.js → calculateSize-DecSvt-d-BXgf6S37.js} +1 -1
  256. package/dist/assets/{chartTypes-D2s_Hwo9-BbhqSw8p.js → chartTypes-D2s_Hwo9-BrmnDHT7.js} +1 -1
  257. package/dist/assets/{common-BGuhvMjF-Ry4gfI81.js → common-BGuhvMjF-tZRLj5XI.js} +1 -1
  258. package/dist/assets/{commonDimensions-u85vL09f-D9VH5FSj.js → commonDimensions-u85vL09f-Dok7ubZx.js} +1 -1
  259. package/dist/assets/{commonTypes-DKKiPW4t-BlYaUk1n.js → commonTypes-DKKiPW4t-GTA9duos.js} +1 -1
  260. package/dist/assets/{downloadPdf-CnXPMbwm-BjEW_jtg.js → downloadPdf-CnXPMbwm-BeGNFIUF.js} +1 -1
  261. package/dist/assets/{getLocaleForTenant-DGG0tVFT.js → getLocaleForTenant-DXFDKgoB.js} +1 -1
  262. package/dist/assets/{helper-C7sZs2qJ-DE63clA9.js → helper-C7sZs2qJ-DizQxyzI.js} +1 -1
  263. package/dist/assets/{index-ByxsQZNo.js → index-DGfOhpD2.js} +5 -5
  264. package/dist/assets/{mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js → mapLoadingInProgressToTreeNode-CG-v5g2M-nbDI__7a.js} +1 -1
  265. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js → mapSectionWithAcOnlyToTreeNode-Okgefznu-141Bcx45.js} +1 -1
  266. package/dist/assets/{mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js → mapSpacerToTreeNode-Cehw-jOG-51sSC6Cr.js} +1 -1
  267. package/dist/assets/{mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js → mapTimeframeBalancesToTreeNode-sCX2cRnL-BGdAqCMz.js} +1 -1
  268. package/dist/assets/{mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js → mapTimeframeBalancesToTreeNode-yMo9FeMO-0qqS0Teo.js} +1 -1
  269. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js → mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-DI4Dtrg_.js} +1 -1
  270. package/dist/assets/{routePaths-CpPoI1xs.js → routePaths-BLeuVRxM.js} +1 -1
  271. package/dist/assets/{toCOABalancesWithID-DinJUeg4-DkE5puj7.js → toCOABalancesWithID-DinJUeg4-BB91BzEv.js} +1 -1
  272. package/dist/assets/{toChartData-DrYGpr_j-D2GR-55Z.js → toChartData-DrYGpr_j--iS187kT.js} +1 -1
  273. package/dist/assets/{uploadAttachment-DPYv4udq-CXZc-rXm.js → uploadAttachment-DPYv4udq-CAr5uueF.js} +1 -1
  274. package/dist/assets/{uploadReceipts-CIgkuVpu-Mr0MhYx1.js → uploadReceipts-CIgkuVpu-n8jIX4W3.js} +1 -1
  275. package/dist/assets/{useInitialThreadRequest-BIFRjZze.js → useInitialThreadRequest-CTgopLFd.js} +1 -1
  276. package/dist/assets/{withTransactionSidePanel-BDgDxNYJ.js → withTransactionSidePanel-CeydZjZz.js} +1 -1
  277. package/dist/index.html +1 -1
  278. package/package.json +1 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as W,T as H,O as A,c8 as V,V as n,bR as O,bS as q,bT as F,A as U,a9 as G,x as s,eq as X,ar as Z,o as J,k as t}from"./index-ByxsQZNo.js";import{a as h}from"./sentry-COYnhuxW.js";import{n as d}from"./mui-40xepic5.js";import{W as K,A as Q}from"./BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js";import{M as Y}from"./MagicLinkTitleSection-BnzImXCX-DsNqMADc.js";import{e as ee}from"./BankAccountSection-Dhp7GLZA-FNVqovjK.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]="8d535407-77d7-4632-99db-7db0ce794e6d",e._sentryDebugIdIdentifier="sentry-dbid-8d535407-77d7-4632-99db-7db0ce794e6d")}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:k,style:N,onSaveHandler:v,onBackClick:g,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:l,companyName:z,currencySymbol:P,amount:R,bankAccountContext:$})=>{const r=W(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[I,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,L=A.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:p}=c,M={onOkClick:()=>{u(!1),i.reset(),g?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&V(()=>(async(E,w)=>{const f=w[m].bankRoutingNumber;D(w),E===`${m}.bankRoutingNumber`&&f?.length===9&&X.test(f)===!0&&j?.(f)})(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:[I===!0?n.jsx(O,{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:l?n.jsx(Y,{companyName:z??"",currencySymbol:P??"",amount:R??0}):y.addACHDetails,isMagicLink:l,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Q,{warningText:p.accountExistWarning}):null,$==="express-pay"?null:n.jsx(oe,{size:r,children:y.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:k})})})})})]}),n.jsx(G,{formId:B(S),primaryBtn:{label:l?p.submitDetails:p.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:k!=null},showCancel:!l,cancelBtn:{label:L.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),g?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=d.div`
1
+ import{e as W,T as H,O as A,c8 as V,V as n,bR as O,bS as q,bT as F,A as U,a9 as G,x as s,eq as X,ar as Z,o as J,k as t}from"./index-DGfOhpD2.js";import{a as h}from"./sentry-COYnhuxW.js";import{n as d}from"./mui-40xepic5.js";import{W as K,A as Q}from"./BankAccountWarningSection-C_OfdR1O-DqmpDK5M.js";import{M as Y}from"./MagicLinkTitleSection-BnzImXCX-D-Ps836u.js";import{e as ee}from"./BankAccountSection-Dhp7GLZA-ZzlevD89.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]="8d535407-77d7-4632-99db-7db0ce794e6d",e._sentryDebugIdIdentifier="sentry-dbid-8d535407-77d7-4632-99db-7db0ce794e6d")}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:k,style:N,onSaveHandler:v,onBackClick:g,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:l,companyName:z,currencySymbol:P,amount:R,bankAccountContext:$})=>{const r=W(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[I,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,L=A.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:p}=c,M={onOkClick:()=>{u(!1),i.reset(),g?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&V(()=>(async(E,w)=>{const f=w[m].bankRoutingNumber;D(w),E===`${m}.bankRoutingNumber`&&f?.length===9&&X.test(f)===!0&&j?.(f)})(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:[I===!0?n.jsx(O,{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:l?n.jsx(Y,{companyName:z??"",currencySymbol:P??"",amount:R??0}):y.addACHDetails,isMagicLink:l,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Q,{warningText:p.accountExistWarning}):null,$==="express-pay"?null:n.jsx(oe,{size:r,children:y.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:k})})})})})]}),n.jsx(G,{formId:B(S),primaryBtn:{label:l?p.submitDetails:p.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:k!=null},showCancel:!l,cancelBtn:{label:L.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),g?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=d.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,P as v1,w as D,bI as b1,iX as V,k as n,bg as f,bO as h1,d as c,z as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,m as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-ByxsQZNo.js";import{a as e}from"./sentry-COYnhuxW.js";import{n as o,c as D1,k as H1}from"./mui-40xepic5.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-DCforPdM.js";import{R as P1}from"./NavBarWithPicker-BYosIzfk-CHzZbup1.js";import{t as V1}from"./clock-CJkylEKt-CjcyjUt4.js";import{o as z1}from"./dollar-round-D18u7nlm-CQw1tD8J.js";import{N as k1,X as x1,Y as I,E as T1,F as O1,O as t1}from"./recharts-Bbdho9Pi.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="7dc728b6-2cf8-4a14-abf6-0614c7832702",t._sentryDebugIdIdentifier="sentry-dbid-7dc728b6-2cf8-4a14-abf6-0614c7832702")}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,P as v1,w as D,bI as b1,iX as V,k as n,bg as f,bO as h1,d as c,z as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,m as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-DGfOhpD2.js";import{a as e}from"./sentry-COYnhuxW.js";import{n as o,c as D1,k as H1}from"./mui-40xepic5.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-DCforPdM.js";import{R as P1}from"./NavBarWithPicker-BYosIzfk-QcmG5LM_.js";import{t as V1}from"./clock-CJkylEKt-CjcyjUt4.js";import{o as z1}from"./dollar-round-D18u7nlm-CQw1tD8J.js";import{N as k1,X as x1,Y as I,E as T1,F as O1,O as t1}from"./recharts-Bbdho9Pi.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="7dc728b6-2cf8-4a14-abf6-0614c7832702",t._sentryDebugIdIdentifier="sentry-dbid-7dc728b6-2cf8-4a14-abf6-0614c7832702")}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 b,o as r,x as d,h0 as y,k as i}from"./index-ByxsQZNo.js";import{a as D}from"./sentry-COYnhuxW.js";import{n as o}from"./mui-40xepic5.js";import{K as P}from"./StatusSwitcher-CDnarHSf-meshGWkH.js";import{r as $}from"./AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./downloadPdf-CnXPMbwm-BjEW_jtg.js";import"./commonDimensions-u85vL09f-D9VH5FSj.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]="57e1bf1d-6a58-46b1-88e6-c11f8fefad45",e._sentryDebugIdIdentifier="sentry-dbid-57e1bf1d-6a58-46b1-88e6-c11f8fefad45")}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 u=h(),l=x(),[c,m]=D.useState("achDetails");return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:u.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(j,{windowSize:l,children:a.accountName}),t.jsx(z,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:w=>{m(w)},isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:l,children:t.jsx($,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:c,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},A=o.div`
1
+ import{y as h,e as x,V as t,gd as b,o as r,x as d,h0 as y,k as i}from"./index-DGfOhpD2.js";import{a as D}from"./sentry-COYnhuxW.js";import{n as o}from"./mui-40xepic5.js";import{K as P}from"./StatusSwitcher-CDnarHSf-DDxt9cRn.js";import{r as $}from"./AccountInfoPageContent-jLGn4-UA-kIJ8s7Ew.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./downloadPdf-CnXPMbwm-BeGNFIUF.js";import"./commonDimensions-u85vL09f-Dok7ubZx.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]="57e1bf1d-6a58-46b1-88e6-c11f8fefad45",e._sentryDebugIdIdentifier="sentry-dbid-57e1bf1d-6a58-46b1-88e6-c11f8fefad45")}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 u=h(),l=x(),[c,m]=D.useState("achDetails");return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:u.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(j,{windowSize:l,children:a.accountName}),t.jsx(z,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:w=>{m(w)},isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:l,children:t.jsx($,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:c,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:a})})]})},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 z,L as we,P as L,o,ar as je,O as Ae,bx as Se,d as R,C as re,aA as Te,gq as ve,l as oe}from"./index-ByxsQZNo.js";import{a as n}from"./sentry-COYnhuxW.js";import{n as t}from"./mui-40xepic5.js";import{w as De}from"./downloadPdf-CnXPMbwm-BjEW_jtg.js";import{o as Ce}from"./commonDimensions-u85vL09f-D9VH5FSj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="4cbb63a9-9ad4-49f3-a80e-1d6eed92cd8d",e._sentryDebugIdIdentifier="sentry-dbid-4cbb63a9-9ad4-49f3-a80e-1d6eed92cd8d")}catch{}})();const{common:{strings:ze,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:a}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:$,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const ae=ke(),[,P]=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,$e]=n.useState(!1),[h,M]=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),[f,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||f||S||f||j||w||A)&&setTimeout(()=>{M(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,f,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":$e(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=f}return r.jsxs(Me,{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||ae==="small"?r.jsx(_,{children:r.jsx(z,{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":L("account-info-copy",y),onClick:()=>{P(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]})})]})},fe={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${$}?query=${encodeURIComponent(JSON.stringify(fe))}`;return r.jsx(Le,{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(z,{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(Pe,{"data-testid":L("account-info-download-pdf"),onClick:()=>{De(ge,ze.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{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"?`${a.bankRoutingNumber} ${s.routingNumberAch}
1
+ import{e as ke,gm as Ne,h1 as K,V as r,bn as z,L as we,P as L,o,ar as je,O as Ae,bx as Se,d as R,C as re,aA as Te,gq as ve,l as oe}from"./index-DGfOhpD2.js";import{a as n}from"./sentry-COYnhuxW.js";import{n as t}from"./mui-40xepic5.js";import{w as De}from"./downloadPdf-CnXPMbwm-BeGNFIUF.js";import{o as Ce}from"./commonDimensions-u85vL09f-Dok7ubZx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="4cbb63a9-9ad4-49f3-a80e-1d6eed92cd8d",e._sentryDebugIdIdentifier="sentry-dbid-4cbb63a9-9ad4-49f3-a80e-1d6eed92cd8d")}catch{}})();const{common:{strings:ze,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:a}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:$,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const ae=ke(),[,P]=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,$e]=n.useState(!1),[h,M]=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),[f,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||f||S||f||j||w||A)&&setTimeout(()=>{M(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,f,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":$e(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=f}return r.jsxs(Me,{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||ae==="small"?r.jsx(_,{children:r.jsx(z,{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":L("account-info-copy",y),onClick:()=>{P(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]})})]})},fe={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${$}?query=${encodeURIComponent(JSON.stringify(fe))}`;return r.jsx(Le,{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(z,{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(Pe,{"data-testid":L("account-info-download-pdf"),onClick:()=>{De(ge,ze.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{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"?`${a.bankRoutingNumber} ${s.routingNumberAch}
2
2
 
3
3
  ${a.accountTypeLabel} ${s.accountSubType.name??""}
4
4
 
@@ -1,4 +1,4 @@
1
- import{y as g,O as d,V as t,l as x,au as c,a as b,o,d as m,D as y,bt as j,bm as $}from"./index-ByxsQZNo.js";import{n as r}from"./mui-40xepic5.js";import{t as w}from"./handshake-BPg58FML-C47iPdmd.js";import{o as k,r as v}from"./unlock-BPWn2I5L-BGatCFPm.js";import"./sentry-COYnhuxW.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="baa0eb31-4a7f-4cd1-9606-a82483651b28",e._sentryDebugIdIdentifier="sentry-dbid-baa0eb31-4a7f-4cd1-9606-a82483651b28")}catch{}})();const p="support@zeni.ai",s=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const n=g(),u=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),f=e.format(d.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(c,{children:[s.tryAgainAfter,t.jsxs(C,{children:[u,t.jsx(_,{children:"•"}),f]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(A,{})}),t.jsxs(c,{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 d,V as t,l as x,au as c,a as b,o,d as m,D as y,bt as j,bm as $}from"./index-DGfOhpD2.js";import{n as r}from"./mui-40xepic5.js";import{t as w}from"./handshake-BPg58FML-C47iPdmd.js";import{o as k,r as v}from"./unlock-BPWn2I5L-BGatCFPm.js";import"./sentry-COYnhuxW.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="baa0eb31-4a7f-4cd1-9606-a82483651b28",e._sentryDebugIdIdentifier="sentry-dbid-baa0eb31-4a7f-4cd1-9606-a82483651b28")}catch{}})();const p="support@zeni.ai",s=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const n=g(),u=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),f=e.format(d.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(c,{children:[s.tryAgainAfter,t.jsxs(C,{children:[u,t.jsx(_,{children:"•"}),f]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(l,{theme:n,children:t.jsx(A,{})}),t.jsxs(c,{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 be,E as ke,dc as $e,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,d as ne,aA as Pe}from"./index-ByxsQZNo.js";import{a as s}from"./sentry-COYnhuxW.js";import{n as o}from"./mui-40xepic5.js";import{u as Te}from"./plaid-cfgjTkr8.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-DCforPdM.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-G9Hw9KCo-CT1w9ZhF.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./utils-DMEPgX6w.js";import"./clock-CJkylEKt-CjcyjUt4.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]="bc02b8d7-7574-4997-81b0-6e14b198ebee",e._sentryDebugIdIdentifier="sentry-dbid-bc02b8d7-7574-4997-81b0-6e14b198ebee")}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 be,E as ke,dc as $e,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,d as ne,aA as Pe}from"./index-DGfOhpD2.js";import{a as s}from"./sentry-COYnhuxW.js";import{n as o}from"./mui-40xepic5.js";import{u as Te}from"./plaid-cfgjTkr8.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-DCforPdM.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-G9Hw9KCo-BilRGfLi.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./utils-DMEPgX6w.js";import"./clock-CJkylEKt-CjcyjUt4.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]="bc02b8d7-7574-4997-81b0-6e14b198ebee",e._sentryDebugIdIdentifier="sentry-dbid-bc02b8d7-7574-4997-81b0-6e14b198ebee")}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,P as j,E as at,dc as ct,O as it,l as y,d as m,dd as X,de as Y,cq as st,ad as x,C as Z,k as g,e as rt,y as S,aj as lt,bi as dt,i as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-ByxsQZNo.js";import{a as gt}from"./sentry-COYnhuxW.js";import{n as a,c as mt}from"./mui-40xepic5.js";import{t as ft}from"./clock-CJkylEKt-CjcyjUt4.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]="a57606d4-5dcf-4855-9ff5-67a78288fbce",t._sentryDebugIdIdentifier="sentry-dbid-a57606d4-5dcf-4855-9ff5-67a78288fbce")}catch{}})();const jt=a.div`
1
+ import{V as e,a5 as I,bn as f,o,P as j,E as at,dc as ct,O as it,l as y,d as m,dd as X,de as Y,cq as st,ad as x,C as Z,k as g,e as rt,y as S,aj as lt,bi as dt,i as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-DGfOhpD2.js";import{a as gt}from"./sentry-COYnhuxW.js";import{n as a,c as mt}from"./mui-40xepic5.js";import{t as ft}from"./clock-CJkylEKt-CjcyjUt4.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]="a57606d4-5dcf-4855-9ff5-67a78288fbce",t._sentryDebugIdIdentifier="sentry-dbid-a57606d4-5dcf-4855-9ff5-67a78288fbce")}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 D,d 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 se,a6 as Z,a3 as ie,y as R,_ as ce,P as M,af as le,a4 as de,aa as pe,C as J,t as me,ap as he,l as ue,au as ge}from"./index-ByxsQZNo.js";import{a as N,b as z}from"./sentry-COYnhuxW.js";import{c as xe}from"./SummaryCard-4S9PQQ5W-B2YKQ_55.js";import{n as r,k as U,c as V}from"./mui-40xepic5.js";import{F5 as fe}from"./zeni-epic-state-DCforPdM.js";import{N as X}from"./NavigationArrow-CMLkPq47-BPg7he64.js";import{x as ye}from"./NavigationDots-maxhYltq-IyF42HyI.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]="e9397393-330a-407a-8da8-279cc4c7f6de",e._sentryDebugIdIdentifier="sentry-dbid-e9397393-330a-407a-8da8-279cc4c7f6de")}catch{}})();const I=(e,n)=>U`
1
+ import{O,V as o,o as t,ag as D,d 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 se,a6 as Z,a3 as ie,y as R,_ as ce,P as M,af as le,a4 as de,aa as pe,C as J,t as me,ap as he,l as ue,au as ge}from"./index-DGfOhpD2.js";import{a as N,b as z}from"./sentry-COYnhuxW.js";import{c as xe}from"./SummaryCard-4S9PQQ5W-CVgFdJR5.js";import{n as r,k as U,c as V}from"./mui-40xepic5.js";import{F5 as fe}from"./zeni-epic-state-DCforPdM.js";import{N as X}from"./NavigationArrow-CMLkPq47-RkoQ7OLd.js";import{x as ye}from"./NavigationDots-maxhYltq-CrrpYdd0.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]="e9397393-330a-407a-8da8-279cc4c7f6de",e._sentryDebugIdIdentifier="sentry-dbid-e9397393-330a-407a-8da8-279cc4c7f6de")}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,P as B,O as x,k as n}from"./index-ByxsQZNo.js";import{a as C}from"./sentry-COYnhuxW.js";import{n as I}from"./mui-40xepic5.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="42227d94-4951-466d-9a16-31181730919c",t._sentryDebugIdIdentifier="sentry-dbid-42227d94-4951-466d-9a16-31181730919c")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:P}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:o,customAddressStatus:s,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),a=S(),i=T(s.fetchState);C.useEffect(()=>{i==="In-Progress"&&s.fetchState==="Completed"&&r()},[s.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(j,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:s.fetchState,addressToEdit:o,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(a),marginBottom:p.marginBottom.valuePx(a),...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:P.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},j=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,P as B,O as x,k as n}from"./index-DGfOhpD2.js";import{a as C}from"./sentry-COYnhuxW.js";import{n as I}from"./mui-40xepic5.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="42227d94-4951-466d-9a16-31181730919c",t._sentryDebugIdIdentifier="sentry-dbid-42227d94-4951-466d-9a16-31181730919c")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:P}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:o,customAddressStatus:s,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),a=S(),i=T(s.fetchState);C.useEffect(()=>{i==="In-Progress"&&s.fetchState==="Completed"&&r()},[s.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(j,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:s.fetchState,addressToEdit:o,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(a),marginBottom:p.marginBottom.valuePx(a),...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:P.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},j=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 N,V as i,a_ as le,k as p,ij as de,iB as pe,o as t,a as z,P as W,x as m,N as $,M as b,iC as ce,ik as he,bH as ge,d as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-ByxsQZNo.js";import{a as g}from"./sentry-COYnhuxW.js";import{n as o,c as A}from"./mui-40xepic5.js";import{F4 as ye}from"./zeni-epic-state-DCforPdM.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-BgQLRlhS.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="dae405ae-7361-4718-81c2-623ee51470b8",e._sentryDebugIdIdentifier="sentry-dbid-dae405ae-7361-4718-81c2-623ee51470b8")}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 N,V as i,a_ as le,k as p,ij as de,iB as pe,o as t,a as z,P as W,x as m,N as $,M as b,iC as ce,ik as he,bH as ge,d as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-DGfOhpD2.js";import{a as g}from"./sentry-COYnhuxW.js";import{n as o,c as A}from"./mui-40xepic5.js";import{F4 as ye}from"./zeni-epic-state-DCforPdM.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-BgQLRlhS.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="dae405ae-7361-4718-81c2-623ee51470b8",e._sentryDebugIdIdentifier="sentry-dbid-dae405ae-7361-4718-81c2-623ee51470b8")}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-A8jRKyoC.js";import{A as s}from"./AddressScreen-Dl895CZ9.js";import i from"./NotFoundScreen-86VjMapP.js";import"./sentry-COYnhuxW.js";import{R as a,m as r}from"./core-B0nKoasK.js";import"./zeni-epic-state-DCforPdM.js";import"./index-ByxsQZNo.js";import"./mui-40xepic5.js";import"./recharts-Bbdho9Pi.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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-A8jRKyoC.js";import{A as s}from"./AddressScreen-DPQ2dZD-.js";import i from"./NotFoundScreen-BZyQ7N3h.js";import"./sentry-COYnhuxW.js";import{R as a,m as r}from"./core-B0nKoasK.js";import"./zeni-epic-state-DCforPdM.js";import"./index-DGfOhpD2.js";import"./mui-40xepic5.js";import"./recharts-Bbdho9Pi.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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-A8jRKyoC.js";import{a as b}from"./sentry-COYnhuxW.js";import{j,i as P,h as _,l as E,u as M,k as D}from"./core-B0nKoasK.js";import{e as B,y as L,js as $,_ as H,jQ as K,bj as R,jz as C,I as m,jL as z,jD as h,jM as U}from"./index-ByxsQZNo.js";import{HR as I,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-DCforPdM.js";import{n as Q}from"./mui-40xepic5.js";import J from"./NotFoundScreen-86VjMapP.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]="8b63926a-2a63-4ea3-b8db-3c1c46c5e89f",e._sentryDebugIdIdentifier="sentry-dbid-8b63926a-2a63-4ea3-b8db-3c1c46c5e89f")}catch{}})();const W=Q.div`
1
+ import{j as d}from"./pdf-A8jRKyoC.js";import{a as b}from"./sentry-COYnhuxW.js";import{j,i as P,h as _,l as E,u as M,k as D}from"./core-B0nKoasK.js";import{e as B,y as L,js as $,_ as H,jQ as K,bj as R,jz as C,I as m,jL as z,jD as h,jM as U}from"./index-DGfOhpD2.js";import{HR as I,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-DCforPdM.js";import{n as Q}from"./mui-40xepic5.js";import J from"./NotFoundScreen-BZyQ7N3h.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]="8b63926a-2a63-4ea3-b8db-3c1c46c5e89f",e._sentryDebugIdIdentifier="sentry-dbid-8b63926a-2a63-4ea3-b8db-3c1c46c5e89f")}catch{}})();const W=Q.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,k as d,a5 as oe,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-ByxsQZNo.js";import{a as y}from"./sentry-COYnhuxW.js";import{n as x}from"./mui-40xepic5.js";import{bs as W,Gm as ze}from"./zeni-epic-state-DCforPdM.js";import{m as Le}from"./BusyIndication-H_iNZOWd-BNmJKxof.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-9JxwH7J5-CcV9D7gC.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-DSx_E9ZM-RnIrRkZm.js";import{C as pe}from"./NoDataChart-CKqR_T30-DZpYrIq4.js";import{n as me,t as T}from"./CollapsableReportTable-BhbPzkAB-C83Y_pXv.js";import{d as he}from"./NoDataTable-BQLSA76V-CA1kwcWh.js";import{l as ue}from"./mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./chartTypes-D2s_Hwo9-BbhqSw8p.js";import"./AccountRow-G9Hw9KCo-CT1w9ZhF.js";import"./clock-CJkylEKt-CjcyjUt4.js";import"./graphic-no-data-l-DU4J8fDt-Dn4I-rOX.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]="511a76bb-9e34-4937-a3d8-73dfe1644e09",e._sentryDebugIdIdentifier="sentry-dbid-511a76bb-9e34-4937-a3d8-73dfe1644e09")}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,k as d,a5 as oe,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-DGfOhpD2.js";import{a as y}from"./sentry-COYnhuxW.js";import{n as x}from"./mui-40xepic5.js";import{bs as W,Gm as ze}from"./zeni-epic-state-DCforPdM.js";import{m as Le}from"./BusyIndication-H_iNZOWd-YzpZR-Jd.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-9JxwH7J5-CrNSUw6y.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-DSx_E9ZM-T13taZCd.js";import{C as pe}from"./NoDataChart-CKqR_T30-j8ruDKAU.js";import{n as me,t as T}from"./CollapsableReportTable-BhbPzkAB-CdpUmH6m.js";import{d as he}from"./NoDataTable-BQLSA76V-Z0rSzjO1.js";import{l as ue}from"./mapSpacerToTreeNode-Cehw-jOG-51sSC6Cr.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./chartTypes-D2s_Hwo9-BrmnDHT7.js";import"./AccountRow-G9Hw9KCo-BilRGfLi.js";import"./clock-CJkylEKt-CjcyjUt4.js";import"./graphic-no-data-l-DU4J8fDt-Dn4I-rOX.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]="511a76bb-9e34-4937-a3d8-73dfe1644e09",e._sentryDebugIdIdentifier="sentry-dbid-511a76bb-9e34-4937-a3d8-73dfe1644e09")}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-A8jRKyoC.js";import{a as r}from"./sentry-COYnhuxW.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-B0nKoasK.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,G as B,mq as de,mr as me,I 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-ByxsQZNo.js";import{cM as q,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-DCforPdM.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-40xepic5.js";import{p as Ue}from"./pathToGoBack-D0UTUGlT.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="fa075304-b10f-4a91-982b-6e8820c615ba",a._sentryDebugIdIdentifier="sentry-dbid-fa075304-b10f-4a91-982b-6e8820c615ba")}catch{}})();const G="chat-response-generated",Be=ne(function(a,i){const n=q(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===G&&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=>q(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,[N,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),Y=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 J=r.useMemo(()=>({events:M.map(l=>`private-chat-${l}.${G}`),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,{...J,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:Y,customPageTitle:g,currentTenant:c,emailLinkQuestion:N??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:qe,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-A8jRKyoC.js";import{a as r}from"./sentry-COYnhuxW.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-B0nKoasK.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,G as B,mq as de,mr as me,I 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-DGfOhpD2.js";import{cM as q,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-DCforPdM.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-40xepic5.js";import{p as Ue}from"./pathToGoBack-D0UTUGlT.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="fa075304-b10f-4a91-982b-6e8820c615ba",a._sentryDebugIdIdentifier="sentry-dbid-fa075304-b10f-4a91-982b-6e8820c615ba")}catch{}})();const G="chat-response-generated",Be=ne(function(a,i){const n=q(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===G&&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=>q(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,[N,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),Y=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 J=r.useMemo(()=>({events:M.map(l=>`private-chat-${l}.${G}`),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,{...J,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:Y,customPageTitle:g,currentTenant:c,emailLinkQuestion:N??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:qe,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,P 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,k 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,d as ue,cp as ge,H as he,dX as Re,W as ze}from"./index-ByxsQZNo.js";import{n as d}from"./mui-40xepic5.js";import{G0 as De,bt as le}from"./zeni-epic-state-DCforPdM.js";import{a as G}from"./sentry-COYnhuxW.js";import{K as xe}from"./LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js";import{j as be,x as fe,C as ve}from"./LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.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]="b0d6cf4a-ebba-4c3a-b9f9-7260b212aa78",e._sentryDebugIdIdentifier="sentry-dbid-b0d6cf4a-ebba-4c3a-b9f9-7260b212aa78")}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,P 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,k 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,d as ue,cp as ge,H as he,dX as Re,W as ze}from"./index-DGfOhpD2.js";import{n as d}from"./mui-40xepic5.js";import{G0 as De,bt as le}from"./zeni-epic-state-DCforPdM.js";import{a as G}from"./sentry-COYnhuxW.js";import{K as xe}from"./LabeledEmailInputField-Cd9p7Kj0-CVG4vWEu.js";import{j as be,x as fe,C as ve}from"./LabeledZeniRolesDropDownField-CbJ3OtWK-BYvsDYJv.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-BIqpPDdk.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]="b0d6cf4a-ebba-4c3a-b9f9-7260b212aa78",e._sentryDebugIdIdentifier="sentry-dbid-b0d6cf4a-ebba-4c3a-b9f9-7260b212aa78")}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 re,a_ as ne,o as T,ab as ae,x as N,a$ as ie,bJ as se,bK as le,bL as de,k as y}from"./index-ByxsQZNo.js";import{a as b}from"./sentry-COYnhuxW.js";import{n}from"./mui-40xepic5.js";import{m as ce}from"./BusyIndication-H_iNZOWd-BNmJKxof.js";import{L as ge,D as pe}from"./EntitySummarySection-D1o-WKT9-B4D8PhFo.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="11d240ec-b646-4c22-b0dd-64676c2584b6",e._sentryDebugIdIdentifier="sentry-dbid-11d240ec-b646-4c22-b0dd-64676c2584b6")}catch{}})();const C={wrapperContainerMarginTop:new N(y[4],y[0]),wrapperContaineHorizontalrMargin:new N(y[0],y[8])},me=n.div`
1
+ import{y as X,e as ee,O as l,V as o,bd as oe,aZ as te,bN as re,a_ as ne,o as T,ab as ae,x as N,a$ as ie,bJ as se,bK as le,bL as de,k as y}from"./index-DGfOhpD2.js";import{a as b}from"./sentry-COYnhuxW.js";import{n}from"./mui-40xepic5.js";import{m as ce}from"./BusyIndication-H_iNZOWd-YzpZR-Jd.js";import{L as ge,D as pe}from"./EntitySummarySection-D1o-WKT9-D_I5HHZG.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="11d240ec-b646-4c22-b0dd-64676c2584b6",e._sentryDebugIdIdentifier="sentry-dbid-11d240ec-b646-4c22-b0dd-64676c2584b6")}catch{}})();const C={wrapperContainerMarginTop:new N(y[4],y[0]),wrapperContaineHorizontalrMargin:new N(y[0],y[8])},me=n.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 p,d as a,ab as g,O as u,aN as f,co as $,cn as b}from"./index-ByxsQZNo.js";import{n as o,k as w}from"./mui-40xepic5.js";import{a as y}from"./sentry-COYnhuxW.js";import{t as j}from"./clock-CJkylEKt-CjcyjUt4.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="9c60e312-1035-4fe7-998d-31d5a4bc467b",e._sentryDebugIdIdentifier="sentry-dbid-9c60e312-1035-4fe7-998d-31d5a4bc467b")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=w`
1
+ import{V as t,e as m,a8 as x,o as r,x as p,d as a,ab as g,O as u,aN as f,co as $,cn as b}from"./index-DGfOhpD2.js";import{n as o,k as w}from"./mui-40xepic5.js";import{a as y}from"./sentry-COYnhuxW.js";import{t as j}from"./clock-CJkylEKt-CjcyjUt4.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="9c60e312-1035-4fe7-998d-31d5a4bc467b",e._sentryDebugIdIdentifier="sentry-dbid-9c60e312-1035-4fe7-998d-31d5a4bc467b")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(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 fe,aK as he,aL as ge,E as xe,aM as Ee,o as a,aN as ye,t as f,ap as h}from"./index-ByxsQZNo.js";import{a as o,b as Ce}from"./sentry-COYnhuxW.js";import{n as l}from"./mui-40xepic5.js";import{bm as we}from"./zeni-epic-state-DCforPdM.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="707cd39c-d3f5-4efc-80d2-2cdf2e1067e4",e._sentryDebugIdIdentifier="sentry-dbid-707cd39c-d3f5-4efc-80d2-2cdf2e1067e4")}catch{}})();const ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomNewYear",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(ve,{children:n.jsx(h,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
1
+ import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as fe,aK as he,aL as ge,E as xe,aM as Ee,o as a,aN as ye,t as f,ap as h}from"./index-DGfOhpD2.js";import{a as o,b as Ce}from"./sentry-COYnhuxW.js";import{n as l}from"./mui-40xepic5.js";import{bm as we}from"./zeni-epic-state-DCforPdM.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-DPDd6e7b-D-b2dmJD.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="707cd39c-d3f5-4efc-80d2-2cdf2e1067e4",e._sentryDebugIdIdentifier="sentry-dbid-707cd39c-d3f5-4efc-80d2-2cdf2e1067e4")}catch{}})();const ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomNewYear",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(ve,{children:n.jsx(h,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${a.sp3};
@@ -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,k as i}from"./index-ByxsQZNo.js";import{n as l}from"./mui-40xepic5.js";import{FZ as N,F_ as Z}from"./zeni-epic-state-DCforPdM.js";import"./sentry-COYnhuxW.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="17d36a02-c565-4f47-8904-a36ffb9b9989",e._sentryDebugIdIdentifier="sentry-dbid-17d36a02-c565-4f47-8904-a36ffb9b9989")}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,k as i}from"./index-DGfOhpD2.js";import{n as l}from"./mui-40xepic5.js";import{FZ as N,F_ as Z}from"./zeni-epic-state-DCforPdM.js";import"./sentry-COYnhuxW.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="17d36a02-c565-4f47-8904-a36ffb9b9989",e._sentryDebugIdIdentifier="sentry-dbid-17d36a02-c565-4f47-8904-a36ffb9b9989")}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,k as v,w as S,ag as N,cB as T,cC as I,d as y,o as j,l as Y}from"./index-ByxsQZNo.js";import{a as k,b as H}from"./sentry-COYnhuxW.js";import{n as C}from"./mui-40xepic5.js";import{l as L,_ as R,h as W,m as q,u as D}from"./chartTypes-D2s_Hwo9-BbhqSw8p.js";import{cj as B,FK as O}from"./zeni-epic-state-DCforPdM.js";import{S as A,E as V,X as _,Y as F,F as G,K as M}from"./recharts-Bbdho9Pi.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]="1240869e-ab13-41f5-a957-5c2ba6ca0397",e._sentryDebugIdIdentifier="sentry-dbid-1240869e-ab13-41f5-a957-5c2ba6ca0397")}catch{}})();const J=C.div`
1
+ import{V as u,O as x,cA as w,y as P,an as K,k as v,w as S,ag as N,cB as T,cC as I,d as y,o as j,l as Y}from"./index-DGfOhpD2.js";import{a as k,b as H}from"./sentry-COYnhuxW.js";import{n as C}from"./mui-40xepic5.js";import{l as L,_ as R,h as W,m as q,u as D}from"./chartTypes-D2s_Hwo9-BrmnDHT7.js";import{cj as B,FK as O}from"./zeni-epic-state-DCforPdM.js";import{S as A,E as V,X as _,Y as F,F as G,K as M}from"./recharts-Bbdho9Pi.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]="1240869e-ab13-41f5-a957-5c2ba6ca0397",e._sentryDebugIdIdentifier="sentry-dbid-1240869e-ab13-41f5-a957-5c2ba6ca0397")}catch{}})();const J=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,k as u}from"./index-ByxsQZNo.js";import{a as D}from"./sentry-COYnhuxW.js";import{n as a}from"./mui-40xepic5.js";import{m as se}from"./BusyIndication-H_iNZOWd-BNmJKxof.js";import{L as le,D as de}from"./EntitySummarySection-D1o-WKT9-B4D8PhFo.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="d5bad37b-684e-421e-9b62-7759a5d71a9b",e._sentryDebugIdIdentifier="sentry-dbid-d5bad37b-684e-421e-9b62-7759a5d71a9b")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},{common:ce,reports:{common:me,aging:{agingDetail:ge}},dateFormat:N}=C.getLocalizedStrings();function Fe(e){const l=G(),d=Q(),{arAgingDetail:t,downloadParams:y,reportDate:n,analytics:c,onReload:O,onBackClick:F,onColumnSortConfigChanged:_,updateDownloadStateHandler:f,onTransactionClick:Y,sidePanelIsOpen:E,sidePanelIsFullView:L,panelContent:R}=e,{authParams:S,downloadEndPoint:k,timezone:I}=y,{fetchState:m,invoices:v,arAgingDetailUIState:P,customer:r,totalBalances:B}=t,{sortKey:h,sortOrder:w,downloadState:g}=P,[$,j]=D.useState(!1),H=D.useCallback((i,p)=>{t.customer!=null&&c.trackArAgingDetailReportSortChange(i,p,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),_(i,p)},[t.customer,_,c,n]);if(D.useEffect(()=>{$&&g!=="In-Progress"&&(j(!1),f("In-Progress"),async function(){const i={companyName:y.companyName,sortKey:h,sortOrder:w,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:r?.id??"",timezone:I,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)}`)}}(k,S,i),f("Completed"),t.customer!=null&&c.trackApAgingDetailReportDownload(h,w,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}())},[S,k,y.companyName,g,$,n,h,w,I,f,r?.id,t.customer,c]),m==="Error")return o.jsxs(ye,{children:[o.jsx(fe,{onClick:O,children:o.jsx(W,{})}),o.jsx(he,{children:me.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(se,{fetchState:m});const K=o.jsx(re,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:g==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(g==="In-Progress")return void console.log("Download is already in progress!");j(!0)}}}}});return o.jsx(X,{isOpen:E??!1,isFullView:L??!1,panelContent:R,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(oe,{title:ce.strings.empty,backgroundColor:l.colors.grey5,onBackClick:F,rightSideComponent:K,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(de,{totalBalances:B,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_receivable_aging",reportDate:n})]}),listContent:o.jsx(we,{children:o.jsx(xe,{windowSize:d,children:o.jsx(De,{windowSize:d,children:v.length===0||r==null?o.jsx(ee,{message:ge.noDataText}):o.jsx(ue,{windowSize:d,children:o.jsx(le,{uiState:P,invoices:v,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:H,onTransactionClick:Y})})})})})})}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ue=a.div`
1
+ import{y as G,e as Q,V as o,bd as W,aZ as X,bN as ee,a_ as oe,O as C,o as T,ab as te,x as A,a$ as re,bJ as ae,bK as ne,bL as ie,k as u}from"./index-DGfOhpD2.js";import{a as D}from"./sentry-COYnhuxW.js";import{n as a}from"./mui-40xepic5.js";import{m as se}from"./BusyIndication-H_iNZOWd-YzpZR-Jd.js";import{L as le,D as de}from"./EntitySummarySection-D1o-WKT9-D_I5HHZG.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="d5bad37b-684e-421e-9b62-7759a5d71a9b",e._sentryDebugIdIdentifier="sentry-dbid-d5bad37b-684e-421e-9b62-7759a5d71a9b")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},{common:ce,reports:{common:me,aging:{agingDetail:ge}},dateFormat:N}=C.getLocalizedStrings();function Fe(e){const l=G(),d=Q(),{arAgingDetail:t,downloadParams:y,reportDate:n,analytics:c,onReload:O,onBackClick:F,onColumnSortConfigChanged:_,updateDownloadStateHandler:f,onTransactionClick:Y,sidePanelIsOpen:E,sidePanelIsFullView:L,panelContent:R}=e,{authParams:S,downloadEndPoint:k,timezone:I}=y,{fetchState:m,invoices:v,arAgingDetailUIState:P,customer:r,totalBalances:B}=t,{sortKey:h,sortOrder:w,downloadState:g}=P,[$,j]=D.useState(!1),H=D.useCallback((i,p)=>{t.customer!=null&&c.trackArAgingDetailReportSortChange(i,p,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),_(i,p)},[t.customer,_,c,n]);if(D.useEffect(()=>{$&&g!=="In-Progress"&&(j(!1),f("In-Progress"),async function(){const i={companyName:y.companyName,sortKey:h,sortOrder:w,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:r?.id??"",timezone:I,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)}`)}}(k,S,i),f("Completed"),t.customer!=null&&c.trackApAgingDetailReportDownload(h,w,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}())},[S,k,y.companyName,g,$,n,h,w,I,f,r?.id,t.customer,c]),m==="Error")return o.jsxs(ye,{children:[o.jsx(fe,{onClick:O,children:o.jsx(W,{})}),o.jsx(he,{children:me.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(se,{fetchState:m});const K=o.jsx(re,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:g==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(g==="In-Progress")return void console.log("Download is already in progress!");j(!0)}}}}});return o.jsx(X,{isOpen:E??!1,isFullView:L??!1,panelContent:R,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(oe,{title:ce.strings.empty,backgroundColor:l.colors.grey5,onBackClick:F,rightSideComponent:K,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(de,{totalBalances:B,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_receivable_aging",reportDate:n})]}),listContent:o.jsx(we,{children:o.jsx(xe,{windowSize:d,children:o.jsx(De,{windowSize:d,children:v.length===0||r==null?o.jsx(ee,{message:ge.noDataText}):o.jsx(ue,{windowSize:d,children:o.jsx(le,{uiState:P,invoices:v,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:H,onTransactionClick:Y})})})})})})}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ue=a.div`
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 _,P as C,eU as R,o as a,at as O,f$ as S,d as k,cp as M}from"./index-ByxsQZNo.js";import{a as e}from"./sentry-COYnhuxW.js";import{n as r}from"./mui-40xepic5.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="9ea11a7b-dfc2-4f59-8a24-a1351731fcb0",t._sentryDebugIdIdentifier="sentry-dbid-9ea11a7b-dfc2-4f59-8a24-a1351731fcb0")}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 _,P as C,eU as R,o as a,at as O,f$ as S,d as k,cp as M}from"./index-DGfOhpD2.js";import{a as e}from"./sentry-COYnhuxW.js";import{n as r}from"./mui-40xepic5.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="9ea11a7b-dfc2-4f59-8a24-a1351731fcb0",t._sentryDebugIdIdentifier="sentry-dbid-9ea11a7b-dfc2-4f59-8a24-a1351731fcb0")}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,P as p,j as g,bk as x,o as e,aQ as y,b6 as b,x as c,l as j,k as h}from"./index-ByxsQZNo.js";import{a as S}from"./sentry-COYnhuxW.js";import{n as s,c as z}from"./mui-40xepic5.js";import{J as v}from"./CollapsableReportTable-BhbPzkAB-C83Y_pXv.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]="d92f6d88-0003-471c-b65f-5a8733e541be",o._sentryDebugIdIdentifier="sentry-dbid-d92f6d88-0003-471c-b65f-5a8733e541be")}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,P as p,j as g,bk as x,o as e,aQ as y,b6 as b,x as c,l as j,k as h}from"./index-DGfOhpD2.js";import{a as S}from"./sentry-COYnhuxW.js";import{n as s,c as z}from"./mui-40xepic5.js";import{J as v}from"./CollapsableReportTable-BhbPzkAB-CdpUmH6m.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]="d92f6d88-0003-471c-b65f-5a8733e541be",o._sentryDebugIdIdentifier="sentry-dbid-d92f6d88-0003-471c-b65f-5a8733e541be")}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
  `,k=s.div`
4
4
  color: ${o=>o.theme.colors.primary};
@@ -1,4 +1,4 @@
1
- import{e as R,cc as M,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,P as z,k as a,L as q,l as H}from"./index-ByxsQZNo.js";import{a as C}from"./sentry-COYnhuxW.js";import{n as u}from"./mui-40xepic5.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]="1c222615-395d-44bb-b108-afa56d09d7cf",e._sentryDebugIdIdentifier="sentry-dbid-1c222615-395d-44bb-b108-afa56d09d7cf")}catch{}})();const W=u.div`
1
+ import{e as R,cc as M,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,P as z,k as a,L as q,l as H}from"./index-DGfOhpD2.js";import{a as C}from"./sentry-COYnhuxW.js";import{n as u}from"./mui-40xepic5.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]="1c222615-395d-44bb-b108-afa56d09d7cf",e._sentryDebugIdIdentifier="sentry-dbid-1c222615-395d-44bb-b108-afa56d09d7cf")}catch{}})();const W=u.div`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  align-items: center;
4
4
  justify-content: flex-end;
@@ -1,4 +1,4 @@
1
- import{e as w,V as a,P as b,bn as $,o as i,x as t,bw as x,N as f,M as k,O as y,d as l,er as v,l as z,k as n}from"./index-ByxsQZNo.js";import{n as o}from"./mui-40xepic5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="29be29b0-2cae-4f09-8b81-b2bd6e0a6996",e._sentryDebugIdIdentifier="sentry-dbid-29be29b0-2cae-4f09-8b81-b2bd6e0a6996")}catch{}})();const{common:{navBar:{back:P}}}=y.getLocalizedStrings(),d={navBarContainerPadding:new t(10,n[3]),customTitleMarginBottom:new t(n[0],n[3]),customTitleMarginLeft:new t(n[3],n[6]),customTitleMarginRight:new t(n[5],n[8])},j={formTitle:new f("h6Medium","h5Medium")},R=({header:e,isDirty:r,isMagicLink:g,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return a.jsxs(a.Fragment,{children:[s==="small"?a.jsxs(C,{windowSize:s,children:[g?null:a.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":b("bank-account-page-back-click-mobile")}),a.jsx(u,{windowSize:s,children:e})]}):a.jsx(S,{children:g?null:a.jsx($,{title:P,enterDelay:600,placement:"bottom",children:a.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":b("bank-account-page-back-click")})})}),s!=="small"?a.jsx(u,{windowSize:s,children:e}):null]})},u=o(k)`
1
+ import{e as w,V as a,P as b,bn as $,o as i,x as t,bw as x,N as f,M as k,O as y,d as l,er as v,l as z,k as n}from"./index-DGfOhpD2.js";import{n as o}from"./mui-40xepic5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="29be29b0-2cae-4f09-8b81-b2bd6e0a6996",e._sentryDebugIdIdentifier="sentry-dbid-29be29b0-2cae-4f09-8b81-b2bd6e0a6996")}catch{}})();const{common:{navBar:{back:P}}}=y.getLocalizedStrings(),d={navBarContainerPadding:new t(10,n[3]),customTitleMarginBottom:new t(n[0],n[3]),customTitleMarginLeft:new t(n[3],n[6]),customTitleMarginRight:new t(n[5],n[8])},j={formTitle:new f("h6Medium","h5Medium")},R=({header:e,isDirty:r,isMagicLink:g,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return a.jsxs(a.Fragment,{children:[s==="small"?a.jsxs(C,{windowSize:s,children:[g?null:a.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":b("bank-account-page-back-click-mobile")}),a.jsx(u,{windowSize:s,children:e})]}):a.jsx(S,{children:g?null:a.jsx($,{title:P,enterDelay:600,placement:"bottom",children:a.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":b("bank-account-page-back-click")})})}),s!=="small"?a.jsx(u,{windowSize:s,children:e}):null]})},u=o(k)`
2
2
  ${e=>`${j.formTitle.style(e.windowSize)}`};
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${e=>d.customTitleMarginBottom.valuePx(e.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,k,at as nt,w as Ue,N as it,h as Ce,cc as ot,a7 as G,ad as he,dX as at,aU as Me,f3 as ze,f4 as ct,f5 as Ve,bt as Ie,f6 as lt,f7 as st,f8 as me,f9 as fe,fa as je,a5 as ge,bG as we,P as rt,b6 as dt,dc as He,d as K,C as F,fb as ut,fc as pt,fd as ht,aD as mt,fe as ft}from"./index-ByxsQZNo.js";import{a as r}from"./sentry-COYnhuxW.js";import{n}from"./mui-40xepic5.js";import{r as Te}from"./core-B0nKoasK.js";import{u as _e}from"./plaid-cfgjTkr8.js";import{cg as gt,ch as ee,bG as Le}from"./zeni-epic-state-DCforPdM.js";import{a as wt}from"./SetUpAccountSection-Bk3RGJCY-2x7H96z3.js";import"./pdf-A8jRKyoC.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./utils-DMEPgX6w.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]="dca6fdf2-2e1f-4c14-8f82-83031034206f",e._sentryDebugIdIdentifier="sentry-dbid-dca6fdf2-2e1f-4c14-8f82-83031034206f")}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,[v,W]=r.useState(void 0),[$,S]=r.useState(!1),b=v==="update_account"?p:u,[A,q]=r.useState(b.linkToken??null),[O,P]=r.useState(!1),h=u.fetchStatus.fetchState==="In-Progress"||u.updateStatus.fetchState==="In-Progress";let f,E,l,g=!1;a!=null&&(a.accType==="depositAccount"?f={code:"verified",name:"Verified"}:(f=a.providerVerificationStatus,E=a?.institutionDetails,l=f?.code,g=a?.isLoginRequired??!1));const U=G(u.updateStatus.fetchState),X=G(p.updateStatus.fetchState),I=G(p.fetchStatus.fetchState),J=C.mode==="light"?new he(C.colors.brandColorJadeLight):new he(C.colors.brandColorJadeDark),Q=r.useCallback((x,Y)=>{m.trackConnectBankSuccess(s,"Settings");const Pe=Y.accounts.find(Ge=>Ge.id===a?.providerAccountId)??Y.accounts[0];a?.id==null||v!=="update_account"||Pe?.verification_status==null||g?T(x,y(s),s):j(Pe?.verification_status,a.id,"update_account",y(s),s),W(void 0),P(!1)},[m,s,a?.id,a?.providerAccountId,v,g,j,T]),te=r.useCallback((x,Y)=>{x!=null&&(m.trackConnectBankFailure(s,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&a?.id!=null&&j("verification_failed",a.id,"update_account",y(s),s),console.log("Plaid Connection Error",x,Y)),W(void 0),P(!1)},[m,s,a?.id,j]),{open:ne,ready:ie}=_e({token:A,onSuccess:Q,onExit:te});r.useEffect(()=>{(U==="In-Progress"&&u.updateStatus.fetchState==="Completed"||X==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(gt(l??"")||(B("link_account",y(s)),R(y(s),s)))},[u.updateStatus.fetchState,R,B,a?.providerVerificationStatus?.code,a?.id,U,X,p.updateStatus.fetchState,l,s]),r.useEffect(()=>{(ee(l??"")||l==="verification_failed")&&!O&&v!=null&&b.linkToken===A&&b.fetchStatus.fetchState==="Completed"&&ie&&P(!0)},[ie,A,b.fetchStatus.fetchState,b.linkToken,l,v,O]);const L=be("bankConnectionsSettingsPage","primaryAccountSection"),Z=at(D,L);r.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==A&&q(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,A]),r.useEffect(()=>{O&&ne()},[O,ne]),r.useEffect(()=>{!a?.zeniAccountId&&!Z&&w(L)},[a?.id]),r.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||ee(l))&&(Le(new Date().toISOString()).isAfter(u.expiration)||u.linkToken==null)&&B("link_account",y(s))},[]);const oe=`${a?.accountSubType?.name!=null?a?.accountSubType?.name.substring(0,1).toUpperCase().concat(a?.accountSubType?.name.substring(1)):""} ${a?.maskedAccountNumber??""}`.trim(),de=E?.zeniInstitutionId.toLowerCase()==="chase",qe=o.findIndex(x=>x.id===a?.id),Je={element:t.jsx(Me,{width:z.iconWidthHeight.valuePx(c)}),color:J};return t.jsxs(yt,{windowSize:c,children:[$===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:H,action:{onBackClick:()=>S(!1)}}),document.body):null,t.jsxs(vt,{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(bt,{children:Oe.productNameByType[s]})]}),t.jsx($t,{windowSize:c,wrapperWidth:V[1].width,children:t.jsxs(_t,{windowSize:c,children:[a!=null&&c!=="small"?t.jsx(Tt,{isDisabled:g,children:ct(Je,c,C.mode==="dark",a,qe,!1)}):null,t.jsxs(Pt,{windowSize:c,className:"fundingAccount",children:[t.jsx(Ve,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ie.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ie.medium},name:be(s,"primaryAccountSection"),placeholder:Ee.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,Y)=>st(o,x,Y),valueToSubLabels:(x,Y)=>lt(o,x,Y,!1),defaultValue:{selectedOption:a?.id,allOptions:o.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:h?"disabled":void 0,showLoadingIcon:h,onClickCreateOption:()=>{m.trackConnectBank(s,"Settings"),W("link_account"),u.linkToken==null||Le(new Date().toISOString()).isAfter(u.expiration)?B("link_account",y(s)):A!==u.linkToken?q(u.linkToken):O?ne():P(!0)}}),t.jsxs(At,{isDisabled:g,children:[oe?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:oe}),c!=="small"&&(l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de)?t.jsx(jt,{}):null]}):null,c==="small"&&f!=null?t.jsx(me,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:f.name,textColor:fe(f.code)}):null,l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de?t.jsx(je,{productType:s,isUpdateLinkClicked:v==="update_account",isLoginRequired:g,isPendingVerification:l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:I,prevUpdateState:X},onUpdateLinkTokenClick:()=>{m.trackConnectBankGetBalance(s,"Settings"),W("update_account"),B("update_account",y(s),a?.id)},onChaseInfoClick:()=>{S(!0)}}):null]})]}),c==="small"?t.jsxs(Lt,{children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Et,{windowSize:c,isDisabled:g,wrapperWidth:V[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",s),className:"qboLinkAcc",children:[c==="small"?t.jsx(zt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Ft,{isDisabled:g?"disabled":void 0,name:be(s,"bankAccountSection"),placeholder:Ee.zeniCashAccountPlaceholder,defaultValue:{selectedOption:a?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ot,{windowSize:c,wrapperWidth:V[3].width,children:f!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:f.name,textColor:fe(f.code)}):t.jsx(ve,{children:ye})}):null,c!=="small"?t.jsxs(It,{windowSize:c,wrapperWidth:V[4].width,children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{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,k,at as nt,w as Ue,N as it,h as Ce,cc as ot,a7 as G,ad as he,dX as at,aU as Me,f3 as ze,f4 as ct,f5 as Ve,bt as Ie,f6 as lt,f7 as st,f8 as me,f9 as fe,fa as je,a5 as ge,bG as we,P as rt,b6 as dt,dc as He,d as K,C as F,fb as ut,fc as pt,fd as ht,aD as mt,fe as ft}from"./index-DGfOhpD2.js";import{a as r}from"./sentry-COYnhuxW.js";import{n}from"./mui-40xepic5.js";import{r as Te}from"./core-B0nKoasK.js";import{u as _e}from"./plaid-cfgjTkr8.js";import{cg as gt,ch as ee,bG as Le}from"./zeni-epic-state-DCforPdM.js";import{a as wt}from"./SetUpAccountSection-Bk3RGJCY-Bm0kDwNM.js";import"./pdf-A8jRKyoC.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./utils-DMEPgX6w.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]="dca6fdf2-2e1f-4c14-8f82-83031034206f",e._sentryDebugIdIdentifier="sentry-dbid-dca6fdf2-2e1f-4c14-8f82-83031034206f")}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,[v,W]=r.useState(void 0),[$,S]=r.useState(!1),b=v==="update_account"?p:u,[A,q]=r.useState(b.linkToken??null),[O,P]=r.useState(!1),h=u.fetchStatus.fetchState==="In-Progress"||u.updateStatus.fetchState==="In-Progress";let f,E,l,g=!1;a!=null&&(a.accType==="depositAccount"?f={code:"verified",name:"Verified"}:(f=a.providerVerificationStatus,E=a?.institutionDetails,l=f?.code,g=a?.isLoginRequired??!1));const U=G(u.updateStatus.fetchState),X=G(p.updateStatus.fetchState),I=G(p.fetchStatus.fetchState),J=C.mode==="light"?new he(C.colors.brandColorJadeLight):new he(C.colors.brandColorJadeDark),Q=r.useCallback((x,Y)=>{m.trackConnectBankSuccess(s,"Settings");const Pe=Y.accounts.find(Ge=>Ge.id===a?.providerAccountId)??Y.accounts[0];a?.id==null||v!=="update_account"||Pe?.verification_status==null||g?T(x,y(s),s):j(Pe?.verification_status,a.id,"update_account",y(s),s),W(void 0),P(!1)},[m,s,a?.id,a?.providerAccountId,v,g,j,T]),te=r.useCallback((x,Y)=>{x!=null&&(m.trackConnectBankFailure(s,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&a?.id!=null&&j("verification_failed",a.id,"update_account",y(s),s),console.log("Plaid Connection Error",x,Y)),W(void 0),P(!1)},[m,s,a?.id,j]),{open:ne,ready:ie}=_e({token:A,onSuccess:Q,onExit:te});r.useEffect(()=>{(U==="In-Progress"&&u.updateStatus.fetchState==="Completed"||X==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(gt(l??"")||(B("link_account",y(s)),R(y(s),s)))},[u.updateStatus.fetchState,R,B,a?.providerVerificationStatus?.code,a?.id,U,X,p.updateStatus.fetchState,l,s]),r.useEffect(()=>{(ee(l??"")||l==="verification_failed")&&!O&&v!=null&&b.linkToken===A&&b.fetchStatus.fetchState==="Completed"&&ie&&P(!0)},[ie,A,b.fetchStatus.fetchState,b.linkToken,l,v,O]);const L=be("bankConnectionsSettingsPage","primaryAccountSection"),Z=at(D,L);r.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==A&&q(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,A]),r.useEffect(()=>{O&&ne()},[O,ne]),r.useEffect(()=>{!a?.zeniAccountId&&!Z&&w(L)},[a?.id]),r.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||ee(l))&&(Le(new Date().toISOString()).isAfter(u.expiration)||u.linkToken==null)&&B("link_account",y(s))},[]);const oe=`${a?.accountSubType?.name!=null?a?.accountSubType?.name.substring(0,1).toUpperCase().concat(a?.accountSubType?.name.substring(1)):""} ${a?.maskedAccountNumber??""}`.trim(),de=E?.zeniInstitutionId.toLowerCase()==="chase",qe=o.findIndex(x=>x.id===a?.id),Je={element:t.jsx(Me,{width:z.iconWidthHeight.valuePx(c)}),color:J};return t.jsxs(yt,{windowSize:c,children:[$===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:H,action:{onBackClick:()=>S(!1)}}),document.body):null,t.jsxs(vt,{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(bt,{children:Oe.productNameByType[s]})]}),t.jsx($t,{windowSize:c,wrapperWidth:V[1].width,children:t.jsxs(_t,{windowSize:c,children:[a!=null&&c!=="small"?t.jsx(Tt,{isDisabled:g,children:ct(Je,c,C.mode==="dark",a,qe,!1)}):null,t.jsxs(Pt,{windowSize:c,className:"fundingAccount",children:[t.jsx(Ve,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ie.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ie.medium},name:be(s,"primaryAccountSection"),placeholder:Ee.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,Y)=>st(o,x,Y),valueToSubLabels:(x,Y)=>lt(o,x,Y,!1),defaultValue:{selectedOption:a?.id,allOptions:o.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:h?"disabled":void 0,showLoadingIcon:h,onClickCreateOption:()=>{m.trackConnectBank(s,"Settings"),W("link_account"),u.linkToken==null||Le(new Date().toISOString()).isAfter(u.expiration)?B("link_account",y(s)):A!==u.linkToken?q(u.linkToken):O?ne():P(!0)}}),t.jsxs(At,{isDisabled:g,children:[oe?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:oe}),c!=="small"&&(l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de)?t.jsx(jt,{}):null]}):null,c==="small"&&f!=null?t.jsx(me,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:f.name,textColor:fe(f.code)}):null,l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de?t.jsx(je,{productType:s,isUpdateLinkClicked:v==="update_account",isLoginRequired:g,isPendingVerification:l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:I,prevUpdateState:X},onUpdateLinkTokenClick:()=>{m.trackConnectBankGetBalance(s,"Settings"),W("update_account"),B("update_account",y(s),a?.id)},onChaseInfoClick:()=>{S(!0)}}):null]})]}),c==="small"?t.jsxs(Lt,{children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Et,{windowSize:c,isDisabled:g,wrapperWidth:V[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",s),className:"qboLinkAcc",children:[c==="small"?t.jsx(zt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Ft,{isDisabled:g?"disabled":void 0,name:be(s,"bankAccountSection"),placeholder:Ee.zeniCashAccountPlaceholder,defaultValue:{selectedOption:a?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ot,{windowSize:c,wrapperWidth:V[3].width,children:f!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:f.name,textColor:fe(f.code)}):t.jsx(ve,{children:ye})}):null,c!=="small"?t.jsxs(It,{windowSize:c,wrapperWidth:V[4].width,children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{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"};