@zeniai/web-cockpit-ui 1.13.93-prod → 1.13.94-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/dist/assets/{ACHDetailsPage-B7Osqlyb-D3Sepxj2.js → ACHDetailsPage-C77hriAS-Bp9UERQr.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CEGqk2vj-CNJG25HZ.js → AIPerformancePage-DWLZz5fl-xe6YeuvR.js} +23 -23
  3. package/dist/assets/{AccountInfoPage-Dsi_xY1U-7_4DMl3t.js → AccountInfoPage-CHH8xpX7-OTuTPmWc.js} +5 -5
  4. package/dist/assets/AccountInfoPageContent-CslCCxyA-CKIHtSb5.js +149 -0
  5. package/dist/assets/{AccountReconDetailsDrawerPage-Bwc-VZmp-Cu4GHIFH.js → AccountReconDetailsDrawerPage-Bg65723V-z_C0MUXO.js} +15 -15
  6. package/dist/assets/{AccountRow-DMeCdEPJ-B7b4evpB.js → AccountRow-CBhTc-CO-BhHbolQV.js} +24 -24
  7. package/dist/assets/{AccountsPromoCardStack-NYQHh0uE-Da1s2rL8.js → AccountsPromoCardStack-C1FN6ldb-CTHlY162.js} +28 -28
  8. package/dist/assets/{AddAddressForCardDrawer-3WPrDfNL-CzhCPxK8.js → AddAddressForCardDrawer-DKbwVrFG-IuCuUpQj.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-IjvBXyuu-G8xWNrLi.js → AddToWalletPage-BLH7hMIs-p7f4w_jj.js} +11 -11
  10. package/dist/assets/{AgingReportsPage-CIJTKbrN-BbBSzoJK.js → AgingReportsPage-iXp5N9xa-BuwByTSa.js} +6 -6
  11. package/dist/assets/{AllUserItems-BuX43aPo-U1E0yUwo.js → AllUserItems-SiwAGR6X-CB3qDmMz.js} +12 -12
  12. package/dist/assets/{ApAgingDetailPage-02ejdrQy-CDm976fI.js → ApAgingDetailPage-CSv-Yx3u-CQfdnkLR.js} +3 -3
  13. package/dist/assets/{AppBasePage-CC3bbnnu-BuIp4juj.js → AppBasePage-BVhJh2iM-DhwgHBUl.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-B_EAPC9w-DaFfTAjg.js → AppDrawerContent-TBHNokFo-a7xFQjLd.js} +5 -5
  15. package/dist/assets/ApprovalRulesSettingsPage-DmPsbDZd-DdnQZTKs.js +47 -0
  16. package/dist/assets/ArAgingChart-CPyAljB5-C1xslsyT.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-CMUpR-2N-s_DHo5CV.js → ArAgingDetailPage-BLc5FDm2-BOdfR_tV.js} +1 -1
  18. package/dist/assets/{AttachmentView-sbbFtu9R-CNprakmJ.js → AttachmentView-sMKTopf8-CQuqGqLW.js} +5 -5
  19. package/dist/assets/{BankAccountSection-BJPkV-qV-Bi2ymq5a.js → BankAccountSection-DoGfRREZ-B2ezqzYk.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-D9R1VhzE-BcW1Ig2b.js → BankAccountWarningSection-BhSSRCzK-DNfJcwlK.js} +8 -8
  21. package/dist/assets/BankConnectionsSettingsPage-DIKMwQoQ-OeAXgZvH.js +425 -0
  22. package/dist/assets/{BillDetailPage-C_JDjRL0-B9dc0X1v.js → BillDetailPage-DSYeib0o-BwJVgfN9.js} +8 -8
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-B_XMuvzZ-CZKHr3XO.js → BillPayApprovalRuleDetailPage-DDFr9CL_-CYlqmWUc.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-CyZjNIsQ-Bl5jiyNH.js → BillPayApprovalRulesPage-3Yak-MB--CaAqhGEn.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-ByDsqYfw-olV5ce97.js → BillPayPromoPage-nRvSJMZU-aGHL9LIB.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-yTO-xwRJ-DbcBQ_9J.js → BillPaySetUpPage-BWrp4v6b-DQFkIYKy.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-BIAy1QHr-DAez9K6t.js → BillingSettingsPage-DtBZmdxq-BCytA-g_.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-Cw1XCs0q-CvrweZCr.js → BillsBulkReviewDrawerPage-DCz41OgH-BEoVAqH0.js} +1 -1
  29. package/dist/assets/{BoxItem-UCX7eqiN-Cs0gCmSK.js → BoxItem-DBi8kqn3-BDAOAuEh.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CSsout2C-Cuas5N4X.js → BusinessVerificationPage-BfPqcCH3-Dr7d8VRo.js} +9 -9
  31. package/dist/assets/{CardNumberSubText-DuTv0ip1-D_vNbx2G.js → CardNumberSubText-CkmaTF_l-Kwic4R2k.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-KdHf-_ZF-DVRN-V1z.js → CashbackDetailPage-BlcEXdet-B9yAfRkP.js} +19 -19
  33. package/dist/assets/ChargeCardDetailPage-BARovLsv-j69HZx4R.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-C1XbbZJ2-BE2YBCij.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-B1a9-RYl-C51ZecJG.js → ChargeCardListTable-HXAc8Lqx-wKEbgM6d.js} +21 -21
  36. package/dist/assets/ChargeCardPromoPage-B8aTlJ8l-5K-z8G1R.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-DOrs_Bw8-CtSky3U4.js → ChargeCardSetupPage-XI-WplXI-vUgUcPsh.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-xvq2HeEr-D7149w7u.js → ChargeCardStatementsPage-CYopWAg4-fr_o5tML.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-Dt303NN_-DVTTAdcW.js → ChargeCardUtils-BEtXxds6-iY4L_brM.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-BK2ISNjj-D-Cz7Y7g.js → ChaseOverlay-BySoceqB-DYKQzq4d.js} +6 -6
  41. package/dist/assets/CheckDepositDrawerPage-DOyXGzFg-BAQPRuRk.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-D5D0ufUn-xK0ZNS8L.js → CollapsableReportTable-FShSCFEn-62FniBRb.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-C7fuDGQk-DEsxh5Ia.js → CompanyOfficerDetailsSection-QQIIHW41-xH4MKkl5.js} +25 -25
  44. package/dist/assets/{CompanyPassportCard-DwUqLcAr-DTr4An8c.js → CompanyPassportCard-D2b6Ztes-ot6tMI66.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-ClToBIAw-coPGEvt1.js → CompanyPassportPage-Bkd2l8Xj-psAfEsoz.js} +10 -10
  46. package/dist/assets/{CompleteProfile-CLDWG3QK-BZ-Jjo9y.js → CompleteProfile-DYv1reCa-3AIo6bvw.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DoZB9Us7-0l1vmSt-.js → ConfettiBurst-CDUVssuw-hjqW22eh.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-B837xw8A-B7kLvZUp.js → CreateOrEditVendorPage-mlx8B4Jv-DUHw5PtN.js} +10 -10
  49. package/dist/assets/{CreditCardPaymentDrawerPage-zGaAOnnB-CrQyVjry.js → CreditCardPaymentDrawerPage-DBTT4Ptu-Dc8GvYzf.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentPlgSection-BLbZFCcL-sU_VxrOi.js → CreditCardPaymentPlgSection-CH8Ic2sK-CXQECn24.js} +7 -7
  51. package/dist/assets/{CurrencySelectField-DS3dOR3F-DxIA_hXi.js → CurrencySelectField-BpuAi_Wp-COgh-Qif.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-WWVaQenb-DnYElSqS.js → CustomerOnboardingActivationPage-CJn_cLk6-D6OFbgAy.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dln-_Yb0-BjXolAob.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BSXKMQ77-B7DbwjMu.js → CustomerOnboardingDetailPageSkeleton-Cr10sdrX-B55KDkTQ.js} +10 -10
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-Dd5kCuRE-XM5KdTkI.js → CustomerOnboardingNoStepsPage-9Jl0VpUx-BiS5ICyP.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-CGJpD875-4oL39DpQ.js → CustomerOnboardingPage-OCG7AjuD-DJnYkmg8.js} +5 -5
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BFmVLk0l-k6btblXq.js → CustomerOnboardingProductSuitePage-vXKRghjP-hldhfPSg.js} +2 -2
  58. package/dist/assets/Dashboard-BOJNXopc-byUhih3W.js +1253 -0
  59. package/dist/assets/{DashboardReportPage-BbYtKYEH-DxGGhSLB.js → DashboardReportPage-Cuiynx8W-ac_35yhz.js} +8 -8
  60. package/dist/assets/{DepositAccTransactionItem-BMXQpKVB-CgDCprOQ.js → DepositAccTransactionItem-BVGKoyyZ-CtkDwopW.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-bwEdSihi-DJ6W9arj.js → DepositAccTransactionListPage-kkdrU5Mo-3snjZA89.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-DV9HE3MK-B_XNcfep.js → DocumentSecurityBanner-C_LxmFZ8-Bt6Lz_p3.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-OI-gqVNE-BlXDs3Ng.js → DomesticWireDetailsPage-BhE0GcbL-CklyzXqp.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-De5uIGOt-CYqEn0hY.js → DownloadOverlay-LH6MXphu-kt8sJEjY.js} +16 -16
  65. package/dist/assets/{DrawerPage-n421ewDm-UqOu8atP.js → DrawerPage-C3wbST4Q-CLJNN7bG.js} +8 -8
  66. package/dist/assets/{EditPeoplePage-sO1qN6Uw-DBLsSyIg.js → EditPeoplePage-C53vRVhe-BSK-mQZ3.js} +15 -15
  67. package/dist/assets/{EditReimbursementDetailPage-D5iKVGl3-BImnlUf5.js → EditReimbursementDetailPage-BBQIYJrj-a2qRFgyX.js} +60 -60
  68. package/dist/assets/{EntityDetailPage-CDk-oyYB-D9-wfKOg.js → EntityDetailPage-Ba0fzVNR-DpkKGCO_.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-C4cC9rOJ-IyIZd6D1.js → EntitySummarySection-DA6Vsjwj-DPw5fEaJ.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BojhuW5i-BX20nDp9.js → ExpenseAutomationOverviewPage-glEgQT6c-Dj_Wb6rt.js} +19 -19
  71. package/dist/assets/{ExpenseAutomationPage-D0BViJ7J-aWOZ95v4.js → ExpenseAutomationPage-CsJiE1ap-BnkOrNDa.js} +73 -73
  72. package/dist/assets/{ExpressPayPage-DdgtFYep-BYqxygnU.js → ExpressPayPage-i9LGeqy_-wmqq-4AX.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-CW0YmOgl-BXdIvflJ.js → FeaturePreviewPage-Bl2C_tQd-DJQ0amFl.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BfnTsu_D-DJmarjJC.js → FollowStepsSection-KcgZahKS-BPKITv3B.js} +12 -12
  75. package/dist/assets/{GlobalReviewListPage-C0U7Y6dI-V3yjpnMa.js → GlobalReviewListPage-D2NH1omi-CTNsB5Nb.js} +11 -11
  76. package/dist/assets/HelpButton-YqQNv-UM-CruBHlAV.js +28 -0
  77. package/dist/assets/{InformationCardStack-6BD3n76T-38xJZuo1.js → InformationCardStack-OhjUoNBj-DBwYrPQy.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-CwxJP-ic-BTrR6wgp.js → InsightsCardStack-CDrOBeoJ-DTHqugyU.js} +10 -10
  79. package/dist/assets/{InsightsSection-DYyHpcUE-Dv4s6rVF.js → InsightsSection-CBaItqYN-Dz4Ilz30.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-ZkvKZqwD-DROqHfeV.js → IntegrationsSettingsPage-CuPS5otW-BirDKZz3.js} +2 -2
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-D3nyRM06-CWpciiq5.js → InternationalWireSwiftDetailsPage-DQsW7Uzb-CUGMa7hJ.js} +6 -6
  82. package/dist/assets/{InternationalWireVerificationPage-BOdAP6dN-DX7VlzR0.js → InternationalWireVerificationPage-BE1xcmQo-s1fsXNah.js} +15 -15
  83. package/dist/assets/{InviteFormPage-HJMhfa_f-D3AkSj5c.js → InviteFormPage-CUDsc0Y3-BT3er91i.js} +21 -21
  84. package/dist/assets/{InvitePageListView-CjneWRfJ-Cw4GZPYc.js → InvitePageListView-DJildrs1-BRenHpuK.js} +31 -31
  85. package/dist/assets/InvitePeoplePage-6upCRZjT-Cy37Dy58.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-CfAnZsV9-CYcZU0K-.js → InvoiceUploadSection-CyacFv78-bjw3W0fU.js} +3 -3
  87. package/dist/assets/{IssueChargeCardPage-pKF4dRNw-B2__1l33.js → IssueChargeCardPage-6iTrYJEM-BjNouHGB.js} +25 -25
  88. package/dist/assets/{LabeledAddressValue-UYEy_1W0-C6qmSA0Y.js → LabeledAddressValue-CDy1Q4J--CkXQxeFy.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BmSVDTMx-6Qpj6E_O.js → LabeledAddressValueField-DbR_ehJJ-kXFBzBc8.js} +2 -2
  90. package/dist/assets/{LabeledControlledCheckBoxField-BFnLx9E0-CrszShzb.js → LabeledControlledCheckBoxField-CXNDX5oe-Cc00saAR.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-Bh-cfR9F-DChyCikr.js → LabeledCreatableSingleSelectField-B_TreAUT-DzJBfD6q.js} +3 -3
  92. package/dist/assets/{LabeledDocumentField-YBoeNDoD-CLNSxZu5.js → LabeledDocumentField-CUTXDuQL-CB7-inDg.js} +5 -5
  93. package/dist/assets/{LabeledDropDownFormattedTextField-jrOUW9Ig-qIpOOsMU.js → LabeledDropDownFormattedTextField-yPu_zrn8-f9OAJ2TU.js} +2 -2
  94. package/dist/assets/{LabeledText-BqO1wHro-CFTR6iN7.js → LabeledText-gvxUV2ku-Cf06N418.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DiWgp4aE-DnPoOhZt.js → LabeledUserSingleSelectWithSubtitlesField-Bh1Ts3Yn-DTgSGsxS.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cgy0v5oD-BDpfZBST.js → LabeledZeniRolesDropDownField-xA0_8wFb-Dd3nBqBN.js} +24 -24
  97. package/dist/assets/{LinkJETransactionPage-PZAQ79zW-DAfAvYpe.js → LinkJETransactionPage-f4-YwvQe-D8ooeWsr.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-BYeSnxBp-B4P0Q0TO.js → LowBalancePopup-C7oCDqcx-2Rje4uhG.js} +6 -6
  99. package/dist/assets/{MagicLinkACHDetailsPage-D_FaPCmn-CwsGifxO.js → MagicLinkACHDetailsPage-Bqe3RDsV-CZa4p9hj.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-rnZdulCr-aKJ6N8io.js → MagicLinkDomesticWireDetailsPage-DPU-8FAH-CSBTwaek.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-B7ScwCJc-BlIizrt7.js → MagicLinkInternationalWireDetailsPage-DeXZfP0h-D3k-uGEY.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DVhVWuCR-D9krNiEj.js → MagicLinkSuccessPage-CArToNjz-DqyiFP-T.js} +4 -4
  103. package/dist/assets/{MagicLinkTitleSection-CjV-_WEQ-C1naOcbz.js → MagicLinkTitleSection-CP0OhLNZ-BeBei-_2.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-CW6ShqHJ-73CcSLG9.js → MailingDetailsSection-TgN7VRhK-CYe74YT_.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-BhC8pSjM-BfX7Nbrw.js → MeetingCalenderPopup-vr7DE2aj-DAZs4R6M.js} +3 -3
  106. package/dist/assets/{Menu-LDwLOgxI-BAC6-j6U.js → Menu-DNn9-W-C-DaYpba-h.js} +4 -4
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BzxtuXEu-D3e4m74e.js → MyBankConnectionsSettingsPage-TawXQ1Zb-BllmvVI4.js} +14 -14
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-9jGJWmds-Ds8iUmlp.js → MyPendingActivationChargeCardListPage-CPgV9E8n-BAkl0Cop.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-9yk4H_yu-BhikO1H8.js → MyProfileSettingsPage-DuXTV0pM-5CplCRBg.js} +7 -7
  110. package/dist/assets/{NavBarWithPicker-DUpJ0EXp-eVqHH6KE.js → NavBarWithPicker-Cdali7jG-B142_aE-.js} +4 -4
  111. package/dist/assets/{NavigationArrow-lL3Ug8Mk-CTywI3Av.js → NavigationArrow-DaoZtCA8-BHc3euQ9.js} +9 -6
  112. package/dist/assets/{NavigationDots-6Q5ZVqKl-BVu8rEb8.js → NavigationDots-BhF2AV0Y-DUHF5KEe.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-nrWvsRy4-Cxk9w4rE.js → NewGlobalMerchantPage-BaoJ7yB8-BF04eMSd.js} +8 -8
  114. package/dist/assets/{NoDataChart-DGbfWo33-BotYKJPz.js → NoDataChart-IPJ1xGPZ-BKJQDDL9.js} +1 -1
  115. package/dist/assets/{NoDataTable-CsvWc_ok-MqDBJhya.js → NoDataTable-D5U81gbD-BirLBEpp.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CzfiPkml-CBoedKxV.js → NotFoundPage-C7BswX2A-DQWUyCMU.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-Dmfqzy1H-towhjaYy.js → NotificationSettingsPage-BQyqFWby-GjMlWRuD.js} +13 -13
  118. package/dist/assets/NotificationsListConfig-kLqWFg2Q-DecPdYAb.js +1 -0
  119. package/dist/assets/{NotificationsPage-BAj5p1zx-CgZXZnGB.js → NotificationsPage-DjRkTZVT-udgcPcnZ.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage-CRt-VUTi-B80Tbh2Q.js → OpExByVendorPage-CSasi7Uo-CoBJ4a1U.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-YkaPkNJd.js → OverlayContainerPage-C0rUb6-5-CokciX1J.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-lT9GgcG2-YdbrvMVo.js → PandLWithForecastPage-D8YwSYiz-BlQ8i7AP.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DY4eeS5C-CTOGSCHT.js → PaymentAccountSetupBillingAddressSection-BWwcQZfk-DK-YnIzr.js} +7 -7
  124. package/dist/assets/{PeoplePage-CDQl7HVr-Js2M-ikq.js → PeoplePage-mrXiZ4VG-Cp2NcBr2.js} +14 -14
  125. package/dist/assets/PortfolioAllocationFormPage-DAFisXnQ-DjoPfEuL.js +207 -0
  126. package/dist/assets/{PortfolioDetails-Dk_IIRuG-DYkySZiF.js → PortfolioDetails-BBOVIetI-BvRwtbCV.js} +12 -12
  127. package/dist/assets/{ProductsCarousel-0-ksFQos-BVU1DIhA.js → ProductsCarousel-DpevGHyq-M7sMCRPA.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-DNSnqS61-Cfuq0-d2.js → PromoBaseCards-BreO0rHq-CmneT-LE.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-BmIUfW_i-CNR2Frv0.js → QBOConnectionDialog-BCWc6AK--ExlTvgR6.js} +7 -7
  130. package/dist/assets/{QBOSetupSection-BaNFiEPB-Blh3g_tU.js → QBOSetupSection-D_doa7hh-C2_irMwi.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CtTk4HV2-B0a_si5E.js → ReimbursementApprovalRuleDetailPage-BSFxsbcx-5oswA6u0.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-IhKSiGK_-B4EnT7LJ.js → ReimbursementApprovalRulesPage-X9bJFM6L-DS04bVT9.js} +29 -29
  133. package/dist/assets/{ReimbursementDetailPage-B2rT1dKM-Dl6cSkTv.js → ReimbursementDetailPage-BJmSB65P-B9Io-y6T.js} +11 -11
  134. package/dist/assets/{ReimbursementPromoPage-d7XBUzip-DuqesQ8S.js → ReimbursementPromoPage-DO7dI9S7-IIxWWc2q.js} +9 -9
  135. package/dist/assets/{ReimbursementSetUpPage-DWCUtN5c-D2crwgx8.js → ReimbursementSetUpPage-Wjj6aNpc-BXv92xHK.js} +9 -9
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-ByNvcTCn-BeXHPHUI.js → ReimbursementsBulkReviewDrawerPage-GPuEjGqi-qY4F19Li.js} +1 -1
  137. package/dist/assets/{ReloadCard-DZy28iWR-jsSdtSEM.js → ReloadCard-cApojDpl-BTIiWZRj.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-DdZm4cOJ-DLTAUXgU.js → ReportTableViewSelector-BVUqQ9hl-WfosyobX.js} +5 -5
  139. package/dist/assets/{ReportsPage-CJDkY9FT-akkzjuiU.js → ReportsPage-CdiHHtXH-B1iwxprE.js} +1 -1
  140. package/dist/assets/{RevenueChart-B_jdFFPm-Dvzvd35h.js → RevenueChart-xoOc_3W3-Dzhhcd2T.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DjPVGzeL-B2dVuWiU.js → ReviewDetailsPage-CF-R6wwN-BMnS8ktk.js} +10 -10
  142. package/dist/assets/{ReviewOverlay-DGYnF07r-BmF1KLWH.js → ReviewOverlay-Bora7h_H-BkZGLYKt.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-VlYG_GPv-HwJfmM_J.js → RoleWithToolTip-k62RaqAZ-Bav1TewG.js} +7 -7
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-oPFQEE8g-CmmNaIvX.js → ScheduleDetailsFixedAssetsPage-Bd6qfpob-BxOEwKtI.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-BdBgJEAl-BKn_j94v.js → ScheduleDetailsPage-scOS36lS-CAMrRW5Y.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-Ncft3mZN-CRa3CvVA.js → ScheduleSequenceTable-BIhbFnjb-DCpkIU0H.js} +51 -51
  147. package/dist/assets/{ScreenRoutes-BTcmXKy-.js → ScreenRoutes-C1ZbXccz.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-BrYiljyO-pToBK7AQ.js → SetUpAccountSection-ehZfUFEf-BgFNCBNu.js} +17 -17
  149. package/dist/assets/{SetUpDefaultSection-B361ojb9-DI4MvGmI.js → SetUpDefaultSection-DnYtx3XN-CNoT73Ow.js} +16 -16
  150. package/dist/assets/{SignIn-B_-FUZwZ-mpvTc0om.js → SignIn-k9MFplB1-eud7vdJb.js} +14 -14
  151. package/dist/assets/{SignInScreen-BB8vRkAH.js → SignInScreen-CqP6hQef.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-XbjqwHXx-Bh4RdEX-.js → SpendManagementListViewPage-B11exjM8-CE2MaiYn.js} +12 -12
  153. package/dist/assets/{SpendManagementPerTabPage-D-4W-Ru9-BWrfido7.js → SpendManagementPerTabPage-ByXU-omE-DWwC2JuF.js} +34 -34
  154. package/dist/assets/{SpendManagementSection-B7pMvj7Z-CrhIndCK.js → SpendManagementSection-CAewVL0Z-GsJe1fhq.js} +8 -8
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DdUs96r9-fgeex4tA.js → SpendMgmtSetupAccountSection-BY2LT0qv-CgVflLnR.js} +11 -11
  156. package/dist/assets/StatementItem-BJoMxmJY-BVhb_2i3.js +31 -0
  157. package/dist/assets/StatementsPage-C_O76V3t-DoehdMaa.js +58 -0
  158. package/dist/assets/{StatusSwitcher-DGOwA8qO-DXNP0kut.js → StatusSwitcher-39NGxygM-8g3Kr8Ie.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-Be-6o_mE-B_jPOUDo.js → SubTabSwitcher-BcL8UKX8-CtPS6-C1.js} +1 -1
  160. package/dist/assets/{SummaryCard-CD1amg78-Dk5tKXKf.js → SummaryCard-VT7YJ6jy-DeCNM95f.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-C2UYhTtL-BzgZCvH2.js → TaskManagementPage-p-3BLn0_-TCdTn4Be.js} +30 -30
  162. package/dist/assets/{TimeRangeSwitcher-DxAmlHGP-DP1d7g2Y.js → TimeRangeSwitcher-Cjs5znYy-Dn_2XKTn.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-ndYSpUa6-BuCFVoL9.js → TimeframeSwitcher-BJrFD5A7-CapG6nwB.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-CrWRqA_S-Bvp4VoyC.js +31 -0
  165. package/dist/assets/{TopExCard-CcpyunQ3-DB3WOnAr.js → TopExCard-DAwlJbbc-Ch08mChi.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-C_B0c8iP-CQH4kQCr.js → TopExDetailPage-BgUJytuV-V8CGIoou.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-DVPGLobu-fET_zL6B.js → TransactionDetailPage-C8yIuCvF-lo-j_-eB.js} +20 -20
  168. package/dist/assets/{TransactionList-CvGyadHZ-BRi-y0eq.js → TransactionList-DG-KZUjZ-CV9wox71.js} +12 -12
  169. package/dist/assets/{TransactionListBig-BeZjYsO0-DVbWoKX3.js → TransactionListBig-iGiOjwVK-Dc9vBqnr.js} +16 -16
  170. package/dist/assets/{TransactionListPage-C8h-sa3V-Df3cyvuB.js → TransactionListPage-C9Z_z4mC-UBhyOHuK.js} +3 -3
  171. package/dist/assets/{TransactionVendorDetailPage-BcV8h3xR-BtCVlvOk.js → TransactionVendorDetailPage-5uo1FPul-BOddX9Sk.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-B_AJgZWp-Or_BWSki.js → TransferDrawerPage-BKzo-4Wj-D-t2nTop.js} +32 -32
  173. package/dist/assets/{TreasuryOverviewPage-kG1jZF28-ti5gMNPt.js → TreasuryOverviewPage-C6kTg0L3-DDk4OCh2.js} +32 -32
  174. package/dist/assets/{TreasuryPromoPage-Dy3ExIiy-CrAH00F4.js → TreasuryPromoPage-CAS0pdES-D8v7EASC.js} +11 -11
  175. package/dist/assets/{TreasurySetupPage-Cjr-dp6O-C_f-CjtV.js → TreasurySetupPage-CcLiQWOT-B7yrMsSh.js} +2 -2
  176. package/dist/assets/TreasuryStatementsPage-Dm-3SPtA-C2bOR_YK.js +58 -0
  177. package/dist/assets/{TreasuryTaxLetterPage-CWLf1Zxq-CFKQOpl0.js → TreasuryTaxLetterPage-0RsINpqA-DJWdIr-H.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-C5F3fmoI-DWxfMs49.js → TreasuryTransferOrReviewPage-C_4CQVIe-BOkn6wNn.js} +21 -21
  179. package/dist/assets/{TrendChart-CtjfgQ9g-pudrZWWi.js → TrendChart-CkPRxjLa-ClAmXRdb.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-SmcM2UIp-DgIRBBgY.js → TrendWithTransactions-DJYMqIOI-wnxxIB4C.js} +2 -2
  181. package/dist/assets/{UncategorizedAccountsMappingPage-CXoadwja-CVCYlnLq.js → UncategorizedAccountsMappingPage-BapLceo--CgdItlB5.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-wYQVQqP7-B9jpBbf5.js → UnitIntegrationPage-C9zNzH3B-gVQYcxZB.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-8_c7UpvB-Da0QQDee.js → UploadAdditionalDocumentOverlay-BNaV6i2S-BuH4CmLJ.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DtNSOXbK-B54EsOev.js → Vendor2FAPopup-_Cn9FJ7D-cKAPYes9.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-zNbGGe4q-DzTQUGmf.js → VendorACHDetailsPage-B1vHY6rG-VScnw-FL.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Cv-MG9iR-DEU59srZ.js → VendorDetailPage-Dkl7AlIZ-5XPeaOqt.js} +9 -9
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BkqtoYAw-UtRf_Dud.js → VendorDomesticWireDetailsPage-Co8Uc_OS-I5CTiy_-.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DYJudj3c-Bsy6K9TF.js → VendorFiling1099EditablePage-M0gQJLkE-DzG8EXIY.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-BNFIAB9n-Ccq-pg0H.js → VendorFirstReviewPage-Bte87pqn-DeG8_h9I.js} +46 -46
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DHa8JoNl-BIGE19fD.js → VendorInternationalWireDetailsPage-DdfkKEFx-sHwHhQTJ.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-a5nSOMXK-CesNrNHp.js → VendorInternationalWireSwiftDetailsPage-CtQifsRT-BsMO6lfl.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-DwDGbjey-CalnRHPb.js → VendorsAccountsSection-CxyObm3T-BgRsSYOY.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-CaSTx_8h-Cf8ziKNm.js → WarningsDrawerPage-D5nPLGJh-5sMWIR75.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-BSOpxKiJ-DL21Ttbi.js → ZeniAccountDetailPage-CKS9mcn3-BBMilYy5.js} +34 -34
  195. package/dist/assets/{ZeniAccountListViewPage-CZM1ODEE--W6YiFOZ.js → ZeniAccountListViewPage-CORl7azj-By_13T1c.js} +18 -18
  196. package/dist/assets/{ZeniAccountNavBarPieces-CjNAr1N9-BQQ9e6IA.js → ZeniAccountNavBarPieces-88z7CFPI-kEgSzIRo.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-PcyNGe7A-gml7CwD5.js → ZeniAccountPromoPage-Car62P8Q-Bdd82q-1.js} +11 -11
  198. package/dist/assets/{ZeniAccountSetupPage-DhJ2zm6A-Baqq4vI5.js → ZeniAccountSetupPage-B5uOzSDL-B_JyTC9y.js} +5 -5
  199. package/dist/assets/{ZeniCopyright-CSUSID-7-BWvcGvHW.js → ZeniCopyright-BcMyDAdQ-B3RH4DR7.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DPl7porw-C20rg1A-.js → ZeniTransferAmountSlider-Css3_ojA-DueYRoaC.js} +1 -1
  201. package/dist/assets/analytics-CBL_L82S.js +7 -0
  202. package/dist/assets/{analyticsHelper-CrNzPbDQ.js → analyticsHelper-DsBQxHgn.js} +1 -1
  203. package/dist/assets/{analyticsHelper-Cex5LOMD-BC_YiSN7.js → analyticsHelper-X-GRY9hH-MGNhQKMp.js} +1 -1
  204. package/dist/assets/{chartTypes-Df8u7la0-ByZ4IuQ1.js → chartTypes-C5XZr0AA-C8J0rp67.js} +1 -1
  205. package/dist/assets/{commonDimensions-OJhakpB_-BApQ51ib.js → commonDimensions-DBedC6J7-SSiZbAOc.js} +1 -1
  206. package/dist/assets/{detailCommon-4wAnHr6n-Py5M2PMe.js → detailCommon-CIjWXBC2-K-4pS5u-.js} +6 -6
  207. package/dist/assets/{downloadPdf-D02UNVHu-DIao_ROf.js → downloadPdf-B21yi0DO-ZMTPTkC7.js} +1 -1
  208. package/dist/assets/{index-g0nOWR6_.js → index-ji6aa7AC.js} +3296 -3257
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-HsZI6Bdg-BqYN1UJm.js → mapLoadingInProgressToTreeNode-CPDYMovk-DjQU3oZy.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B9KMXCTi-CwLS3FGS.js → mapSectionWithAcOnlyToTreeNode-XPbCtxen-DAUQseD_.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-BIZ_jwXi-DpTIktgw.js → mapSpacerToTreeNode-CJ13HyFX-D7QAWDUL.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BOFrVlzJ-DjnRzlUT.js → mapTimeframeBalancesToTreeNode-D8UCPznF-C5zbYkry.js} +1 -1
  213. package/dist/assets/{play-icon-BDRoJBSV-B8UUHRFT.js → play-icon-D7s0M2vV-zKqEqpdy.js} +3 -3
  214. package/dist/assets/{toCOABalancesWithID-RJhTPgAt-kPvBDP42.js → toCOABalancesWithID-CWk-QcRU-Db3b2mU1.js} +1 -1
  215. package/dist/assets/{toChartData-K68FB3Iy-DoJRD_du.js → toChartData-BMMsnVqz-Cij6F0sj.js} +1 -1
  216. package/dist/assets/{treasuryColorHelper-DjASf5JB-Cl6HBn0O.js → treasuryColorHelper-CDRG_Dxk-BbsHEkM1.js} +1 -1
  217. package/dist/assets/{uploadAttachment-D7Rju7jS-BFpPYv3E.js → uploadAttachment-5FffgOcW-DgFFpcCF.js} +25 -25
  218. package/dist/assets/{uploadReceipts-Buvz7DfG-CB0sRH1o.js → uploadReceipts-Buvz7DfG-Dl3fgjOi.js} +1 -1
  219. package/dist/index.html +1 -1
  220. package/package.json +4 -4
  221. package/dist/assets/AccountInfoPageContent-CmRpq4eF-hjvomhOE.js +0 -149
  222. package/dist/assets/ApprovalRulesSettingsPage-1AQm08qF-CXZ2UVYn.js +0 -47
  223. package/dist/assets/ArAgingChart-UnY648RV-5afZ_IEV.js +0 -24
  224. package/dist/assets/BankConnectionsSettingsPage-BG99PtV_-C8rq5yoG.js +0 -379
  225. package/dist/assets/ChargeCardDetailPage-DYGcQs0M-B3H4P_U_.js +0 -1447
  226. package/dist/assets/ChargeCardListPage-CNrRrNbd-BeypcnIV.js +0 -355
  227. package/dist/assets/ChargeCardPromoPage-DZ1f8Sus-BgIZCds1.js +0 -175
  228. package/dist/assets/CheckDepositDrawerPage-CbsRUWnx-Cx0Y8PMs.js +0 -206
  229. package/dist/assets/CustomerOnboardingContainerPage-BmFfAaO1-TqkMXd0C.js +0 -1
  230. package/dist/assets/Dashboard-BLIK_ZsD-C-fC9BFZ.js +0 -778
  231. package/dist/assets/HelpButton-DXFYhUL5-j2rT96Ib.js +0 -28
  232. package/dist/assets/InvitePeoplePage-By6TWsVZ-CyIcCnmH.js +0 -12
  233. package/dist/assets/NotificationsListConfig-Cc3hEei0-DLyt_MaK.js +0 -1
  234. package/dist/assets/PortfolioAllocationFormPage-StMDGc2G-B1hVvScq.js +0 -207
  235. package/dist/assets/StatementItem-B4DJRmwy-BmYREkM-.js +0 -31
  236. package/dist/assets/StatementsPage-DzFEOmFA-CA1pNdpO.js +0 -58
  237. package/dist/assets/TimeframeSwitcherWithToggle-B3bxr-_s-DFK8QpY1.js +0 -31
  238. package/dist/assets/TreasuryStatementsPage-CzOSIKGQ-CaAsFK_4.js +0 -58
  239. package/dist/assets/analytics-DThoELaW.js +0 -7
@@ -1,4 +1,4 @@
1
- import{X as I,a as W,M as A,c3 as F,j as n,bO as H,bQ as q,bR as O,F as V,a7 as Q,C as s,eR as U,aq as X,o as _,q as t}from"./index-g0nOWR6_.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as G,A as J}from"./BankAccountWarningSection-D9R1VhzE-BcW1Ig2b.js";import{M as K}from"./MagicLinkTitleSection-CjV-_WEQ-C1naOcbz.js";import{e as Y}from"./BankAccountSection-BJPkV-qV-Bi2ymq5a.js";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",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:v,onSaveHandler:B,onBackClick:f,onACHDetailsUpdated:N,onFetchBankName:T,isMagicLink:u,companyName:w,currencySymbol:P,amount:R,bankAccountContext:$})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[D,m]=x.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,M=A.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,z={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},L=async(p,l)=>{const o=l[b].bankRoutingNumber;N(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&T?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>L(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:v,size:r,children:[D===!0?n.jsx(H,{titleComponent:n.jsx(O,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:z}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:P??"",amount:R??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(V,{...i,children:n.jsx("form",{id:j(S),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(Q,{formId:j(S),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:M.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
1
+ import{X as I,a as W,M as S,c3 as F,j as n,bO as H,bQ as O,bR as V,F as q,a3 as Q,C as s,eP as U,al as X,o as _,n as t}from"./index-ji6aa7AC.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as G,A as J}from"./BankAccountWarningSection-BhSSRCzK-DNfJcwlK.js";import{M as K}from"./MagicLinkTitleSection-CP0OhLNZ-BeBei-_2.js";import{e as Y}from"./BankAccountSection-DoGfRREZ-B2ezqzYk.js";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)},A="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:B,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:T,onFetchBankName:v,isMagicLink:u,companyName:w,currencySymbol:P,amount:$,bankAccountContext:D})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[M,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=S.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,z={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},L=async(p,l)=>{const o=l[b].bankRoutingNumber;T(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&v?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>L(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&N("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:B,size:r,children:[M===!0?n.jsx(H,{titleComponent:n.jsx(V,{children:c.discardTitle}),descriptionComponent:n.jsx(O,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:z}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:P??"",amount:$??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,D==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:j(A),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(Q,{formId:j(A),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=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{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,jq as H,r as _,bI as v1,q as n,bg as L,dp as d1,g as c,W as $1,ao as c1,ay as h1,aB as p1,aA as N,u as m1,b7 as S1,b8 as b1,az as Q,jr as f,v as g,js as B1,jt as Z1,s as b,c0 as K,aq as J,m as W1,ju as F1,dJ as D1,fw as _1,ah as u1,t as P1}from"./index-g0nOWR6_.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{H as V1}from"./NavBarWithPicker-DUpJ0EXp-eVqHH6KE.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},z1=i.div`
1
+ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,jo as H,v as _,bI as v1,n,bf as L,dn as d1,g as c,V as $1,ai as c1,ar as h1,au as p1,at as N,u as m1,b6 as S1,b7 as b1,as as Q,jp as f,w as g,jq as Z1,jr as B1,p as b,c0 as K,al as X,f as W1,js as F1,dI as D1,fu as _1,bG as u1,q as P1}from"./index-ji6aa7AC.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{R as V1}from"./NavBarWithPicker-Cdali7jG-B142_aE-.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},z1=i.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${e=>e.theme.colors.grey3};
@@ -48,11 +48,11 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  gap: ${o.sp2};
51
- `,J1=i.div`
51
+ `,X1=i.div`
52
52
  display: flex;
53
53
  flex-direction: column;
54
54
  gap: ${o.sp4};
55
- `,X1=i.div`
55
+ `,q1=i.div`
56
56
  display: flex;
57
57
  justify-content: space-between;
58
58
  align-items: center;
@@ -62,15 +62,15 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
62
62
  &:last-of-type {
63
63
  border-bottom: none;
64
64
  }
65
- `,Y1=i.div`
65
+ `,J1=i.div`
66
66
  display: flex;
67
67
  align-items: center;
68
68
  gap: ${o.sp4};
69
- `,q1=i.div`
69
+ `,Y1=i.div`
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  gap: ${o.sp1};
73
- `,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(J1,{children:[...Array(3)].map((s,a)=>r.jsxs(X1,{children:[r.jsxs(Y1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(q1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
73
+ `,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(X1,{children:[...Array(3)].map((s,a)=>r.jsxs(q1,{children:[r.jsxs(J1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(Y1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  margin-left: ${e=>e2.containerMarginLeft.valuePx(e.windowSize)};
@@ -136,7 +136,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
136
136
  display: flex;
137
137
  align-items: center;
138
138
  gap: 12px;
139
- `,f2=i(J)`
139
+ `,f2=i(X)`
140
140
  color: ${e=>e.theme.colors.primary};
141
141
  margin-left: ${o.sp3};
142
142
  `,W=i(l2)`
@@ -156,7 +156,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
156
156
  color: ${e=>e.theme.colors.brandColorJadeDark};
157
157
  `,v2=i(g)`
158
158
  color: ${e=>e.theme.colors.hero};
159
- `;function $2({icon:e,title:s,data:a,currency:C}){return r.jsxs(u2,{children:[r.jsxs(k2,{children:[r.jsx(x2,{children:e}),r.jsx(g2,{children:r.jsx(f2,{children:s})})]}),r.jsx(a2,{}),a.map((l,d)=>r.jsx(C2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:C},d))]})}const S2=e=>{switch(e){case f.aiPerformanceDashboard.personas.aiBookkeeper:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiAccountant:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiCardsAgent:return r.jsx(L2,{});case f.aiPerformanceDashboard.personas.aiBillsAgent:return r.jsx(E2,{});case f.aiPerformanceDashboard.personas.aiExpenseAgent:return r.jsx(w2,{});case f.aiPerformanceDashboard.personas.aiBankingAgent:return r.jsx(M2,{});case f.aiPerformanceDashboard.personas.aiAccountantAgent:return r.jsx(W,{});default:return r.jsx(W,{})}};function b2({personas:e,currency:s}){return r.jsxs(m2,{children:[r.jsxs(j2,{children:[r.jsx(y2,{children:f.aiPerformanceDashboard.tileTitle}),r.jsx(v2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),e.map(a=>r.jsx($2,{icon:S2(a.personaName),title:a.personaName,data:a.eventGroups,currency:s},a.personaName))]})}const B2=i.div`
159
+ `;function $2({icon:e,title:s,data:a,currency:C}){return r.jsxs(u2,{children:[r.jsxs(k2,{children:[r.jsx(x2,{children:e}),r.jsx(g2,{children:r.jsx(f2,{children:s})})]}),r.jsx(a2,{}),a.map((l,d)=>r.jsx(C2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:C},d))]})}const S2=e=>{switch(e){case f.aiPerformanceDashboard.personas.aiBookkeeper:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiAccountant:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiCardsAgent:return r.jsx(L2,{});case f.aiPerformanceDashboard.personas.aiBillsAgent:return r.jsx(E2,{});case f.aiPerformanceDashboard.personas.aiExpenseAgent:return r.jsx(w2,{});case f.aiPerformanceDashboard.personas.aiBankingAgent:return r.jsx(M2,{});case f.aiPerformanceDashboard.personas.aiAccountantAgent:return r.jsx(W,{});default:return r.jsx(W,{})}};function b2({personas:e,currency:s}){return r.jsxs(m2,{children:[r.jsxs(j2,{children:[r.jsx(y2,{children:f.aiPerformanceDashboard.tileTitle}),r.jsx(v2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),e.map(a=>r.jsx($2,{icon:S2(a.personaName),title:a.personaName,data:a.eventGroups,currency:s},a.personaName))]})}const Z2=i.div`
160
160
  display: flex;
161
161
  flex-direction: column;
162
162
  justify-content: space-between;
@@ -168,7 +168,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
168
168
  box-shadow: ${e=>e.theme.colors.elevation1};
169
169
  padding: ${o.sp4};
170
170
  background-color: ${e=>e.theme.colors.grey5};
171
- `,Z2=i.div`
171
+ `,B2=i.div`
172
172
  display: flex;
173
173
  flex-direction: row;
174
174
  justify-content: space-between;
@@ -214,7 +214,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
214
214
  width: ${o.sp3};
215
215
  height: ${o.sp3};
216
216
  color: ${e=>e.theme.colors.brandColorOnyx};
217
- `;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:d}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",$=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?c.brandColorGoldLight:c.graphColor16Light,v=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?c.brandColorGoldDark:c.graphColor16Dark,w=x?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return r.jsxs(B2,{style:l,children:[r.jsxs(Z2,{children:[r.jsxs(W2,{children:[r.jsx(F2,{children:r.jsx(D2,{color:P,children:v})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:$})]}),r.jsxs(T2,{children:[x&&!(d??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(d??!1)?r.jsx(R,{style:{fontSize:_.largeSemiBold.fontSize},children:C}):null]})]})}const z2=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4844)"},t.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4844"},t.createElement("rect",{width:24,height:24,fill:"white"})))),I={tileContainerGap:new u(n[2],n[2],n[4]),amountRowMarginTop:new u(n[3],n[5],n[5]),amountRowGap:new u(n[2],n[4],n[4])},R2=i.div`
217
+ `;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:d}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",$=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?c.brandColorGoldLight:c.graphColor16Light,v=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?c.brandColorGoldDark:c.graphColor16Dark,w=x?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return r.jsxs(Z2,{style:l,children:[r.jsxs(B2,{children:[r.jsxs(W2,{children:[r.jsx(F2,{children:r.jsx(D2,{color:P,children:v})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:$})]}),r.jsxs(T2,{children:[x&&!(d??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(d??!1)?r.jsx(R,{style:{fontSize:_.largeSemiBold.fontSize},children:C}):null]})]})}const z2=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4844)"},t.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4844"},t.createElement("rect",{width:24,height:24,fill:"white"})))),I={tileContainerGap:new u(n[2],n[2],n[4]),amountRowMarginTop:new u(n[3],n[5],n[5]),amountRowGap:new u(n[2],n[4],n[4])},R2=i.div`
218
218
  border-radius: 10px;
219
219
  padding: 3px;
220
220
  background-color: ${e=>e.theme.colors.grey5};
@@ -254,22 +254,22 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
254
254
  flex-direction: row;
255
255
  gap: ${e=>e.isPerformanceReportNotFound?o.sp12:I.amountRowGap.valuePx(e.windowSize)};
256
256
  margin-top: ${e=>I.amountRowMarginTop.valuePx(e.windowSize)};
257
- `,J2=i.div`
257
+ `,X2=i.div`
258
258
  display: flex;
259
259
  align-items: flex-end;
260
260
  gap: ${o.sp1};
261
261
  `,F=i(K)`
262
262
  font-size: 28px;
263
263
  color: ${e=>e.theme.colors.brandColorOnyx};
264
- `,X2=i(g)`
264
+ `,q2=i(g)`
265
265
  font-size: 16px;
266
266
  color: ${e=>e.theme.colors.brandColorOnyx};
267
267
  line-height: 2;
268
- `,Y2=i(z2)`
268
+ `,J2=i(z2)`
269
269
  width: ${o.sp4};
270
270
  height: ${o.sp4};
271
271
  color: ${e=>e.theme.colors.brandColorOnyx};
272
- `;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),d=M(),h=$=>Math.round($/60),p=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:d,children:r.jsxs(O2,{windowSize:d,children:[r.jsx(U2,{children:r.jsx(Y2,{})}),r.jsxs(A2,{children:[r.jsxs(G2,{children:[r.jsx(N2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{isPerformanceReportNotFound:a,windowSize:d,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(J2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(X2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
272
+ `;function Y2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),d=M(),h=$=>Math.round($/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:d,children:r.jsxs(O2,{windowSize:d,children:[r.jsx(U2,{children:r.jsx(J2,{})}),r.jsxs(A2,{children:[r.jsxs(G2,{children:[r.jsx(N2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{isPerformanceReportNotFound:a,windowSize:d,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(X2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(q2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
273
273
  display: flex;
274
274
  flex-direction: column;
275
275
  background-color: ${e=>e.theme.colors.grey5};
@@ -310,7 +310,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
310
310
  display: flex;
311
311
  flex-direction: column;
312
312
  gap: ${o.sp1};
313
- `,h3=i(J)`
313
+ `,h3=i(X)`
314
314
  max-width: 400px;
315
315
  color: ${e=>e.theme.colors.brandColorOpalDark};
316
316
  z-index: 1;
@@ -361,7 +361,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
361
361
  display: flex;
362
362
  flex-direction: column;
363
363
  gap: ${e=>L3.headerGap.valuePx(e.windowSize)};
364
- `,$3=i(J)`
364
+ `,$3=i(X)`
365
365
  max-width: 400px;
366
366
  color: ${e=>e.theme.colors.brandColorOpalDark};
367
367
  `,S3=i.div`
@@ -374,7 +374,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
374
374
  height: 100%;
375
375
  bottom: 0;
376
376
  padding-bottom: ${o.sp3};
377
- `,B3=i.div`
377
+ `,Z3=i.div`
378
378
  position: absolute;
379
379
  bottom: 0;
380
380
  width: 100%;
@@ -392,7 +392,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
392
392
  border-radius: 2px;
393
393
  `,s1=i(W1)`
394
394
  color: ${e=>e.color};
395
- `,Z3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const d=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:d}),r.jsx(j3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=y.getLocalizedStrings();return r.jsxs(y3,{children:[r.jsx(v3,{windowSize:a,children:r.jsx($3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:d})=>r.jsxs(h1,{width:l,height:d,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:c.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:c.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(N,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(Z3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:c.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:c.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(B3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:c.brandColorGoldDark}),r.jsx(s1,{color:c.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:c.graphColor16Dark}),r.jsx(s1,{color:c.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
395
+ `,B3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const d=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:d}),r.jsx(j3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=y.getLocalizedStrings();return r.jsxs(y3,{children:[r.jsx(v3,{windowSize:a,children:r.jsx($3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:d})=>r.jsxs(h1,{width:l,height:d,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:c.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:c.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(N,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(B3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:c.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:c.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(Z3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:c.brandColorGoldDark}),r.jsx(s1,{color:c.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:c.graphColor16Dark}),r.jsx(s1,{color:c.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
396
396
  border-radius: 10px;
397
397
  padding: 3px;
398
398
  background-color: ${e=>e.theme.colors.grey5};
@@ -480,19 +480,19 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
480
480
  display: flex;
481
481
  align-items: center;
482
482
  margin: ${o.sp3} 0;
483
- `,J3=i.div`
483
+ `,X3=i.div`
484
484
  display: flex;
485
485
  flex-wrap: wrap;
486
486
  gap: ${o.sp3};
487
487
  margin-bottom: ${o.sp8};
488
- `,X3=i.div`
488
+ `,q3=i.div`
489
489
  flex: 1;
490
490
  min-width: 300px;
491
- `,Y3=i.div`
491
+ `,J3=i.div`
492
492
  flex: 2;
493
493
  min-width: ${e=>D.savingsChartMinWidth.valuePx(e.windowSize)};
494
494
  min-height: 380px;
495
- `,q3=i.div`
495
+ `,Y3=i.div`
496
496
  color: ${e=>e.theme.colors.hero};
497
497
  cursor: pointer;
498
498
  height: ${o.sp4};
@@ -517,4 +517,4 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
517
517
  &:hover {
518
518
  color: ${e=>e.theme.colors.primary};
519
519
  }
520
- `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const d=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,$]=t.useState(!1),[j,v]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,X]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[B,Y]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(Z=>({event_name:Z.eventName,events_count:Z.eventsCount,time_saved_in_minutes:Z.timeSavedInMinutes,total_cost_saved:Z.totalCostSaved})));t.useEffect(()=>{v("home"),C(k.convertToTimeSeriesSelectionRange(B).fromMonth,k.convertToTimeSeriesSelectionRange(B).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&j){const m={period_selected:B,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};j==="home"?d.trackAIPerfHome(m):j==="refresh"?d.trackAIPerfRefresh(m):j==="timePeriodSelect"&&d.trackAIPerfTimePeriodSelect(m),v(null)}},[e.fetchState,j]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(q3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),Y(w),X(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(y1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${B} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),Y(k.toTimeSeriesDuration(m)),X(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},q=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(N3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(V1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(K3,{windowSize:h,children:[r.jsxs(X3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(q).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:q>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(Y3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(J3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(q2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,G3 as navBarHeight};
520
+ `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const d=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,$]=t.useState(!1),[j,v]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,q]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,J]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));t.useEffect(()=>{v("home"),C(k.convertToTimeSeriesSelectionRange(Z).fromMonth,k.convertToTimeSeriesSelectionRange(Z).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&j){const m={period_selected:Z,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};j==="home"?d.trackAIPerfHome(m):j==="refresh"?d.trackAIPerfRefresh(m):j==="timePeriodSelect"&&d.trackAIPerfTimePeriodSelect(m),v(null)}},[e.fetchState,j]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(Y3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),J(w),q(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(y1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${Z} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),J(k.toTimeSeriesDuration(m)),q(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},Y=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(N3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(V1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(K3,{windowSize:h,children:[r.jsxs(q3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(Y).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Y>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(J3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(X3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(Y2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,G3 as navBarHeight};
@@ -1,18 +1,18 @@
1
- import{u as f,X as P,j as t,gd as $,o,C as a,gX as j,q as i}from"./index-g0nOWR6_.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-DGOwA8qO-DXNP0kut.js";import{r as A}from"./AccountInfoPageContent-CmRpq4eF-hjvomhOE.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D02UNVHu-DIao_ROf.js";import"./commonDimensions-OJhakpB_-BApQ51ib.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=P(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};return t.jsxs(S,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(T,{windowSize:d,children:s.accountName}),t.jsx(b,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(C,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},C=n.div`
1
+ import{u as f,X as P,j as t,gb as $,o,C as a,gV as j,n as i}from"./index-ji6aa7AC.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-39NGxygM-8g3Kr8Ie.js";import{r as A}from"./AccountInfoPageContent-CslCCxyA-CKIHtSb5.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-B21yi0DO-ZMTPTkC7.js";import"./commonDimensions-DBedC6J7-SSiZbAOc.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},_=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=P(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};return t.jsxs(C,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(S,{windowSize:d,children:s.accountName}),t.jsx(T,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(b,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},b=n.div`
2
2
  padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
3
3
  padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
4
- `,S=n.div`
4
+ `,C=n.div`
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  background-color: ${e=>e.theme.colors.grey4};
8
8
  overflow-x: hidden;
9
9
  height: 100%;
10
10
  width: 100%;
11
- `,T=n(j)`
11
+ `,S=n(j)`
12
12
  color: ${e=>e.theme.colors.primary};
13
13
  padding: ${o.sp3} ${o.sp0};
14
14
  margin: ${e=>`${o.sp0} ${r.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
- `,b=n.div`
15
+ `,T=n.div`
16
16
  display: flex;
17
17
  justify-content: flex-start;
18
- `;export{B as default};
18
+ `;export{_ as default};
@@ -0,0 +1,149 @@
1
+ import{X as we,fc as Ae,gW as B,j as r,M as Se,bs as C,d as Te,Y as z,o as a,al as ve,bp as De,g as E,w as ee,ax as Ce,fe as ze,q as re}from"./index-ji6aa7AC.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-B21yi0DO-ZMTPTkC7.js";import{o as _e}from"./commonDimensions-DBedC6J7-SSiZbAOc.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:H},billPay:{vendorCreation:{achDetails:o}},downloads:V}}=Se.getLocalizedStrings(),Ze=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[m,I]=s.useState(!1),[N,P]=s.useState(!1),[j,q]=s.useState(!1),[w,F]=s.useState(!1),[A,J]=s.useState(!1),[S,K]=s.useState(!1),[T,O]=s.useState(!1),[$,U]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=B(u.zeniAccountsConfigDetail.mailingAddress).text2,p=B(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(m||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),K(!1),O(!1),U(!1),J(!1),F(!1),q(!1),P(!1)},1200)},[m,S,T,$,A,w,j,N]);const W=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":me(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
2
+
3
+ ${o.accountTypeLabel} ${n.accountSubType.name??""}
4
+
5
+ ${o.bankAccountNumber} ${n.accountNumber}
6
+
7
+ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
+
9
+ ${o.bankAddress} ${p}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
10
+
11
+ ${o.accountTypeLabel} ${n.accountSubType.name??""}
12
+
13
+ ${o.bankAccountNumber} ${n.accountNumber}
14
+
15
+ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
+
17
+ ${o.beneficiaryName} ${v}
18
+
19
+ ${o.bankAddress} ${p}
20
+
21
+ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=pe,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":K(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":J(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":F(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>W(x,!0),onMouseLeave:()=>W(x,!1),children:[r.jsx(Ke,{children:h}),r.jsx(Ue,{children:r.jsxs(We,{children:[r.jsxs(Oe,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(Z,{}):r.jsx(Q,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),X!=null?r.jsx(Xe,{children:X}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Me,{children:r.jsxs(Re,{children:[r.jsxs(Ie,{children:[r.jsx(qe,{children:f==="achDetails"?H.achTitle:H.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?V.downloading:V.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Fe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:m,children:m?y.copied:y.copy}),enterDelay:600,children:m===!0?r.jsx(Z,{}):r.jsx(Q,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Be,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(G,{children:i(o.bankAddress,p,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(He,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:i(o.bankAddress,p,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(G,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
22
+ margin: ${a.sp4};
23
+ margin-left: ${a.sp0};
24
+ `,Ie=t.div`
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: space-between;
28
+ margin-bottom: ${a.sp3};
29
+ `,Pe=t.div`
30
+ display: flex;
31
+ gap: ${a.sp4};
32
+ `,qe=t(ve)`
33
+ color: ${e=>e.theme.colors.primary};
34
+ margin-right: ${a.sp2};
35
+ `,Fe=t(De)`
36
+ height: ${a.sp3};
37
+ width: ${a.sp3};
38
+ color: ${e=>e.theme.colors.hero};
39
+ cursor: pointer;
40
+ &:hover {
41
+ color: ${e=>e.theme.colors.primary};
42
+ }
43
+ `,M=t.div`
44
+ box-sizing: border-box;
45
+ min-height: ${_e.transactionItemHeight}px;
46
+ display: flex;
47
+ border: 1px solid;
48
+ border-radius: ${a.sp2};
49
+ background-color: ${e=>e.theme.colors.grey5};
50
+ border-color: ${e=>e.theme.colors.grey3};
51
+ color: ${e=>e.theme.colors.hero};
52
+ &:hover {
53
+ border-color: ${e=>e.theme.colors.primary};
54
+ color: ${e=>e.theme.colors.primary};
55
+ .tag {
56
+ border-color: ${e=>e.theme.colors.grey2};
57
+ color: ${e=>e.theme.colors.grey1};
58
+ }
59
+ }
60
+ `,Y=t(M)`
61
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
62
+ display: flex;
63
+ border-top-width: 1px;
64
+ border-right-width: 1px;
65
+ border-bottom-width: 0.5px;
66
+ border-left-width: 1px;
67
+
68
+ border-top-left-radius: ${a.sp2};
69
+ border-top-right-radius: ${a.sp2};
70
+ border-bottom-left-radius: ${a.sp0};
71
+ border-bottom-right-radius: ${a.sp0};
72
+ &:hover {
73
+ border-bottom-width: 1px;
74
+ }
75
+ `,G=t(M)`
76
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
77
+ display: flex;
78
+ border-top-width: 0.5px;
79
+ border-right-width: 1px;
80
+ border-bottom-width: 1px;
81
+ border-left-width: 1px;
82
+ border-top-left-radius: ${a.sp0};
83
+ border-top-right-radius: ${a.sp0};
84
+ border-bottom-left-radius: ${a.sp2};
85
+ border-bottom-right-radius: ${a.sp2};
86
+ &:hover {
87
+ border-top-width: 1px;
88
+ }
89
+ `,L=t.div`
90
+ display: flex;
91
+ color: ${e=>e.theme.colors.grey1};
92
+ &:hover {
93
+ color: ${e=>e.theme.colors.primary};
94
+ svg {
95
+ color: ${e=>e.theme.colors.primary};
96
+ }
97
+ }
98
+ `,Q=t(ze)`
99
+ height: ${a.sp3};
100
+ width: ${a.sp3};
101
+ color: ${e=>e.theme.colors.hero};
102
+ cursor: pointer;
103
+ &:hover {
104
+ color: ${e=>e.theme.colors.primary};
105
+ }
106
+ `,Z=t(Ce)`
107
+ height: ${a.sp3};
108
+ width: ${a.sp3};
109
+ color: ${E.success};
110
+ `,Je=t.div`
111
+ display: flex;
112
+ flex-direction: row;
113
+ padding: ${a.sp3} ${a.sp4};
114
+ justify-content: space-between;
115
+ width: 100%;
116
+ gap: ${a.sp4};
117
+ `,Ke=t(re)`
118
+ color: ${e=>e.theme.colors.hero};
119
+ `,Oe=t(re)`
120
+ display: flex;
121
+ align-items: center;
122
+ color: ${e=>e.theme.colors.primary};
123
+ background-color: ${e=>e.theme.colors.grey5};
124
+ justify-content: flex-end;
125
+ text-align: end;
126
+ `,Ue=t.div`
127
+ display: flex;
128
+ `,We=t.div`
129
+ display: flex;
130
+ flex-direction: column;
131
+ align-items: flex-end;
132
+ `,Xe=t(ee)`
133
+ color: ${e=>e.theme.colors.grey1};
134
+ text-align: end;
135
+ `,_=t(ee)`
136
+ color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
137
+ `,b=t(M)`
138
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
139
+ display: flex;
140
+ border-radius: ${a.sp0};
141
+ border-top-width: 0.5px;
142
+ border-right-width: 1px;
143
+ border-bottom-width: 0.5px;
144
+ border-left-width: 1px;
145
+ &:hover {
146
+ border-top-width: 1px;
147
+ border-bottom-width: 1px;
148
+ }
149
+ `,Be=t.div``,He=t.div``;export{Ze as r};
@@ -1,4 +1,4 @@
1
- import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,aq as G,m as X,a6 as ve,T as Ce,dI as we,eP as be,k6 as Z,ds as ee,t as l,u as Ee,_ as Pe,aQ as te,c$ as ne,b0 as Re,g as oe,ee as De}from"./index-g0nOWR6_.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as Fe,w as _e,f as Te}from"./AccountRow-DMeCdEPJ-B7b4evpB.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
1
+ import{a as xe,eX as fe,j as t,l as F,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,al as X,f as G,a2 as ve,T as Ce,dH as we,eN as be,k5 as V,dr as ee,q as l,u as Ee,_ as Pe,aQ as te,c_ as ne,b0 as Re,g as oe,ax as De}from"./index-ji6aa7AC.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as _e,w as Fe,f as Te}from"./AccountRow-CBhTc-CO-BhHbolQV.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -29,13 +29,13 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
31
  flex: 0 0 auto;
32
- `,Be=o.div`
32
+ `,Le=o.div`
33
33
  padding-left: ${m.containerPaddingLeft};
34
34
  padding-right: ${m.containerPaddingRight};
35
- `,Le=o.div`
35
+ `,Be=o.div`
36
36
  position: relative;
37
37
  min-height: 62px;
38
- `,Ae=o.div`
38
+ `,We=o.div`
39
39
  display: flex;
40
40
  flex-direction: row;
41
41
  align-items: center;
@@ -47,18 +47,18 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
47
47
  padding-right: ${m.navBarPaddingRight};
48
48
  padding-left: ${m.navBarPaddingLeft};
49
49
  height: 100%;
50
- `,We=o(ke)`
50
+ `,Ae=o(ke)`
51
51
  display: flex;
52
52
  flex: 1 1 0;
53
53
  justify-content: center;
54
54
  flex-direction: column;
55
- `,Ne=o(G)`
55
+ `,Ne=o(X)`
56
56
  display: flex;
57
57
  color: ${e=>e.theme.colors.primary};
58
58
  align-items: center;
59
59
  justify-content: center;
60
60
  overflow: hidden;
61
- `,ie=o(X)`
61
+ `,ie=o(G)`
62
62
  display: flex;
63
63
  color: ${e=>e.theme.colors.hero};
64
64
  align-items: center;
@@ -91,7 +91,7 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
91
91
  align-items: flex-start;
92
92
  justify-content: center;
93
93
  min-width: ${m.balanceContainerWidth}px;
94
- `,W=o(X)`
94
+ `,A=o(G)`
95
95
  display: flex;
96
96
  color: ${e=>e.theme.colors.hero};
97
97
  align-items: center;
@@ -99,13 +99,13 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
99
99
  `,Je=o(l)`
100
100
  color: ${e=>e.theme.colors.primary};
101
101
  text-align: left;
102
- `,Ze=o.div`
102
+ `,Ve=o.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  align-items: flex-start;
106
106
  justify-content: flex-start;
107
107
  min-width: ${m.balanceContainerWidth}px;
108
- `,Ve=o(l)`
108
+ `,Ze=o(l)`
109
109
  display: flex;
110
110
  color: ${e=>e.theme.colors.primary};
111
111
  align-items: center;
@@ -116,13 +116,13 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
116
116
  align-items: flex-start;
117
117
  justify-content: flex-start;
118
118
  gap: ${i.sp1};
119
- `,Ge=o.div`
119
+ `,Xe=o.div`
120
120
  display: flex;
121
121
  flex-direction: column;
122
122
  align-items: flex-start;
123
123
  justify-content: flex-start;
124
124
  min-width: ${m.balanceContainerWidth}px;
125
- `,Xe=o(l)`
125
+ `,Ge=o(l)`
126
126
  display: flex;
127
127
  color: ${e=>e.theme.colors.grey3};
128
128
  align-items: center;
@@ -162,7 +162,7 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
162
162
  justify-content: center;
163
163
  min-width: ${m.sourceContainerWidth}px;
164
164
  gap: ${i.sp2};
165
- `,at=o(G)`
165
+ `,at=o(X)`
166
166
  display: flex;
167
167
  color: ${e=>e.theme.colors.primary};
168
168
  align-items: center;
@@ -187,7 +187,7 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
187
187
  color: ${e=>e.theme.colors.hero};
188
188
  align-items: center;
189
189
  justify-content: flex-end;
190
- `,F=o(l)`
190
+ `,_=o(l)`
191
191
  display: flex;
192
192
  color: ${e=>e.theme.colors.primary};
193
193
  align-items: center;
@@ -236,4 +236,4 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
236
236
  color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
237
237
  cursor: pointer;
238
238
  text-decoration: underline;
239
- `,{common:p,dateFormat:V,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,B]=r.useState(!1),[L,A]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{L!=null&&(R(L),A(void 0)),H(void 0),B(!1)},onCancelClick:()=>{A(void 0),B(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:Q,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&J&&w(!0)},[J,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&Q()},[a,Q]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Le,{children:t.jsxs(Ae,{children:[t.jsx(Me,{}),t.jsxs(We,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Be,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O,showConfirmationPopup:z,setShowConfirmationPopup:B,deleteFileId:L,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:O,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Qe,{children:[t.jsx(W,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ze,{children:[t.jsx(W,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ve,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ge,{children:[t.jsx(W,{children:c.reconciliation.headers.variance}),t.jsx(Xe,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(F,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(_.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(F,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:Z(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:Z(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Ke,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(V.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(V.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};
239
+ `,{common:p,dateFormat:Z,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Ft({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,L]=r.useState(!1),[B,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),W(void 0)),H(void 0),L(!1)},onCancelClick:()=>{W(void 0),L(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:Q,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(F.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&J&&w(!0)},[J,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&Q()},[a,Q]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Be,{children:t.jsxs(We,{children:[t.jsx(Me,{}),t.jsxs(Ae,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Le,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O,showConfirmationPopup:z,setShowConfirmationPopup:L,deleteFileId:B,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:O,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(_e,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ve,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ze,{children:t.jsx(Fe,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Xe,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ge,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(_,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(F.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:F.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(_,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(St,{accountSubType:V(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:V(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Ke,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=F.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(Z.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Ft as default,ht as uniqueName};