@zeniai/web-cockpit-ui 1.14.0-dev → 1.14.1-delhi

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 (228) hide show
  1. package/dist/assets/{ACHDetailsPage-CSnsNr1V-C8sshpTF.js → ACHDetailsPage-CfXmiXOX-Bdh-tWZa.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Bp6NkJmc-e9Z0bvvn.js → AIPerformancePage-BTkeAbzQ-DtF975V-.js} +11 -11
  3. package/dist/assets/{AccountInfoPage-DUhICds8-CiMJuBY7.js → AccountInfoPage-Cw14e1jO-BEM7q-h7.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DrQmMqaW-D-pGlndX.js → AccountInfoPageContent-cvYWnpel-BBYnJ8an.js} +5 -5
  5. package/dist/assets/{AccountReconDetailsDrawerPage-D3xJm7fZ-B-KJQqRZ.js → AccountReconDetailsDrawerPage-DOKqIknC-kLPWg_qi.js} +1 -1
  6. package/dist/assets/{AccountRow-BZ3Sp_Zw-CJ70DMKN.js → AccountRow-Ca-OS9TF-C8Rax05w.js} +7 -7
  7. package/dist/assets/{AccountsPromoCardStack-RNWvlSoJ-B7cBf7TC.js → AccountsPromoCardStack-CwEVkbGD-PoaZRZit.js} +10 -10
  8. package/dist/assets/{AddAddressForCardDrawer-BnlGRnfE-BmfXblOT.js → AddAddressForCardDrawer-B1zyrJMb-BK113BsC.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-BsDJbWcg-BABej0Dv.js → AddToWalletPage-s7c161JX-iFBdaZ8C.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-BzfKuv3U-BXigNJmY.js → AgingReportsPage-Be-2Z_KS-D-9ZPO4g.js} +1 -1
  11. package/dist/assets/{AllUserItems-Dons5n56-CSrr9BPY.js → AllUserItems-B4Iah9-Z-B2DGV1B_.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-hyvhEbaW-DRDoBjV1.js → ApAgingDetailPage-D_KV9urv-DGcXjRC7.js} +1 -1
  13. package/dist/assets/{AppBasePage-CoHyqNQo-DUeLFMOa.js → AppBasePage-GbE58C1g-C9ReN_dC.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-ChAQrDWU-FfM2rFHs.js → AppDrawerContent-YTvkEPk_-B9rYQMXS.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-DZ-tEUhJ-DFaEiFnc.js → ApprovalRulesSettingsPage-Cct7Nzfb-BDtL9tGw.js} +1 -1
  16. package/dist/assets/{ArAgingChart-B6sVwdsh-Cy2Xm4DE.js → ArAgingChart-BeVadylU-DcaYmpl6.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-DlI47K7L-BJLL3ute.js → ArAgingDetailPage-CWUA4S2q-HF8GmfnK.js} +1 -1
  18. package/dist/assets/{AttachmentView-Cn3hQEkQ-C8_fLPcZ.js → AttachmentView-DGsub__A-DTuqAGbN.js} +1 -1
  19. package/dist/assets/{BankAccountSection-Dt3lb88O-mB9ZXibN.js → BankAccountSection-CtTkNBok-XhKPNePI.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-HVZlzCAu-BiWEstnT.js → BankAccountWarningSection-dVdrPYm5-D4vTqFR3.js} +8 -8
  21. package/dist/assets/{BankConnectionsSettingsPage-sI4-KHqF-vff42RaM.js → BankConnectionsSettingsPage-_e4jMGI2-D4okf7eK.js} +1 -1
  22. package/dist/assets/{BillDetailPage-DJ4f8xle-BzcgM8gC.js → BillDetailPage-Dz4_gdDb-CRl4Ltsf.js} +6 -6
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BHYWECuG-D5mroy7X.js → BillPayApprovalRuleDetailPage-DcNLlDh2-F8jtiPal.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-C060AuRe-DohL90us.js → BillPayApprovalRulesPage-C_NDjp6G-J-NoLkWt.js} +3 -3
  25. package/dist/assets/{BillPayPromoPage-D6RRu4W_-CVJd97RR.js → BillPayPromoPage-TkLMkxeC-CzYxQFlM.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-3J8PIprb-CuYD42S3.js → BillPaySetUpPage-DTGSGVO0-BGPt1uI5.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-DdH-O80Y-pPJlggDO.js → BillingSettingsPage-0RLFEj6x-CrcV-opu.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-BzRPYgmH-a4yQ09Kg.js → BillsBulkReviewDrawerPage-rkkXgsz4-CZ2R6btt.js} +1 -1
  29. package/dist/assets/{BoxItem-eTxUGnXc-DEGyAd14.js → BoxItem-CIBzy4ZV-CzBNHXep.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-DXnmg7Ux-DiR97-Yd.js → BusinessVerificationPage-T63_ft8O-DI-hCRhn.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-D5z3PEdv-TfOKuYrR.js → CardNumberSubText-FOFiHz-M-DSL9-J2V.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-Bjdd2yr4-DGc-AePR.js → CashbackDetailPage-C1rbQ71n-CVZtYzXD.js} +13 -13
  33. package/dist/assets/{ChargeCardDetailPage-C5dnGCGs-B_GekQHK.js → ChargeCardDetailPage-OgsnesGD-Cx3n4u9N.js} +23 -23
  34. package/dist/assets/{ChargeCardListPage-CKjT6WqS-D-Nczdej.js → ChargeCardListPage-CLHFYydY-KmtOu8MZ.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-B3e8phUk-DiZDTBqP.js → ChargeCardListTable-ePSGyBtc-C590w5eJ.js} +8 -8
  36. package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-B3vJ82nk.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-DVt_tQuX-DBTbA0O3.js → ChargeCardSetupPage-DvlKbA_C-DHAfJm-n.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-9q007HWr-CKdWO9bN.js → ChargeCardStatementsPage-CXhcA95f-BcZgOsks.js} +2 -2
  39. package/dist/assets/{ChargeCardUtils-CHHXg_Qi-rotMPtpr.js → ChargeCardUtils--ltNyvP2-CWqHnNJt.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-Bc0GfIc6-BKMhjbPT.js → ChaseOverlay-CxEiwxZq-BqQOh_uI.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DBXKuV2a-BVWNkiGn.js → CheckDepositDrawerPage-CmZbDsc3-DHJvervP.js} +4 -4
  42. package/dist/assets/{CollapsableReportTable-DlPsnWiz-BgJYLMD1.js → CollapsableReportTable-CyQ4sWuS-CjkURJrF.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BQW5rZjd-LAAp3riI.js → CompanyOfficerDetailsSection-DPufRe0m-C6_iKRzr.js} +5 -5
  44. package/dist/assets/{CompanyPassportCard-CDnPUIJs-kNW2Sist.js → CompanyPassportCard-JgslGZ14-BzlKyeTp.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CIjDFl5o-DiKSKnZV.js → CompanyPassportPage-B89YFcPT-DAJ0kxgC.js} +1 -1
  46. package/dist/assets/{CompleteProfile-B4nZ7vC_-DUT8CFcI.js → CompleteProfile-D0RvVu97-DpTmx1GE.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-Ba2OiqXD-PZW-LJg7.js → ConfettiBurst-D3BYCsW2-COcuovlp.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-sF6U1fFH-h_FzxCgE.js → CreateOrEditVendorPage-C6Ddagzy-DNkk5d5e.js} +6 -6
  49. package/dist/assets/{CreditCardPaymentDrawerPage-mMyTBk4j-Do_Hbmgj.js → CreditCardPaymentDrawerPage-C3mZhiZb-gckUifHg.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentPlgSection-D1iBVxR6-CulftYta.js → CreditCardPaymentPlgSection-D9oAn9qk-Cy8uNt-c.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-PFKAqHQu-ZDUDFF4D.js → CurrencySelectField-BBgpim44-CGgoknWH.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-B1_0-eof-DPD6i_JD.js → CustomerOnboardingActivationPage-iG0RHsLk-DSSBWwvA.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-DDYxk-4C.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cc2MEctL-D9WjHu-r.js → CustomerOnboardingDetailPageSkeleton-tTcayyvt-DI5REayd.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CfsBxwGr-CBm77dB_.js → CustomerOnboardingNoStepsPage-CIranNRI-DzpVSwDR.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-BH4c57yX-mnDO_OzU.js → CustomerOnboardingPage-aq8E7XsP-DIw2waQn.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-QQlL3hKv-C24jQxXI.js → CustomerOnboardingProductSuitePage-DRnOKNVC-BbTLX4CV.js} +2 -2
  58. package/dist/assets/{Dashboard-BaJ9E50_-W4YLpDlo.js → Dashboard-DyvhSbme-DcAu4nsl.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-q9hnDFuv-D8xATq04.js → DashboardReportPage-Cy_f84RN-DTbduJkb.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-BZcado4W-Cvv17u0C.js → DepositAccTransactionItem-DK15lI5V-_qDBHgPq.js} +4 -4
  61. package/dist/assets/{DepositAccTransactionListPage-CFzpTiWv-DYg4haVs.js → DepositAccTransactionListPage-CRBhV8W1-CewbyCe3.js} +2 -2
  62. package/dist/assets/{DocumentSecurityBanner-Dk3o5_6F-DkgsyvkW.js → DocumentSecurityBanner-C0bght0k-BJATtpM2.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-mbgormGs-DH1HYmoC.js → DomesticWireDetailsPage-BX8glsOH-CCWNSknU.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CPS0X-o1-CcYRsm28.js → DownloadOverlay-C5kTy4dA-Dc5ZRSRT.js} +1 -1
  65. package/dist/assets/{DrawerPage-JCR8KCkv-CuKJ3r9d.js → DrawerPage-Bwgpjwed-Cva1kRJT.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Bv-eRTlp-DbjGx_QH.js → EditPeoplePage-W-SFOxhC-IliWqWqd.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-QeCQ59Wr-B1DaQjiS.js → EditReimbursementDetailPage-D1Iduokd-05fCtjOX.js} +48 -48
  68. package/dist/assets/{EntityDetailPage-CRu4kJBb-BUM-5Ad1.js → EntityDetailPage-BkRcX4SZ-8j38FtOE.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-B8ad0rxa-D1dY1RFP.js → EntitySummarySection-BlJR-qOB-dxuiAPjG.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Ckmim262-CpiKG0SO.js → ExpenseAutomationOverviewPage-qT0g5t_P-CGJQ8K33.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Crlshy4t-Dclbv0w8.js → ExpenseAutomationPage-CMKwWy2d-DSXUofJI.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-DD1ht-J--Cs6HCBXj.js → ExpressPayPage-DXfqMxkG-CCBgixJm.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-DGljBaN4-Beyk2ROJ.js → FeaturePreviewPage-CjZuOo_K-BV6kATIU.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-Bx8_JsRm-KARYVPf8.js → FollowStepsSection-CO5MsYe6-DGx06__n.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BPV4E3tM-Blvi5-Np.js → GlobalReviewListPage-BIMdWu5P-DmVjOhQs.js} +1 -1
  76. package/dist/assets/{HelpButton-pj034msF-B6DCPolv.js → HelpButton-BGHsn-1b-DbbW7YtX.js} +1 -1
  77. package/dist/assets/{InformationCardStack-D5r7fGUK-BU8i999j.js → InformationCardStack-B8rD8LSH-CbTdG29q.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-DSRF-w9c-BK5SwUpE.js → InsightsCardStack-AwXZ6ysD-vlDfLKnd.js} +1 -1
  79. package/dist/assets/{InsightsSection-jbXmsMC6-BDAvc4ru.js → InsightsSection-BZS-MEy4-DmlbFQE2.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-Dcr2s_B6-CETHWkPu.js → IntegrationsSettingsPage-D2tfKsbR-Da4yxWUw.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-C4zVgFLt-cqxaLSVC.js → InternationalWireSwiftDetailsPage-5NmSFI7x--Cl6UtX4.js} +4 -4
  82. package/dist/assets/{InternationalWireVerificationPage-Djedh5bX-DuGI028C.js → InternationalWireVerificationPage-C8WA6jI_-ByhGlW8g.js} +4 -4
  83. package/dist/assets/{InviteFormPage-CY2f6v6c-BnQq2Ssl.js → InviteFormPage-DC2ewDUN-OMKWvOTd.js} +6 -6
  84. package/dist/assets/{InvitePageListView-DI3F52Zy-BOXmv_3e.js → InvitePageListView-DaShj4IM-CL4dy59p.js} +18 -18
  85. package/dist/assets/{InvitePeoplePage-BQSIcOiF-DoDwWsoY.js → InvitePeoplePage-BbY4ZpGl-D4OS70Lu.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-B80zba2p-CV5v3NJw.js → InvoiceUploadSection-DZJTULDZ-CIe61m0W.js} +4 -4
  87. package/dist/assets/{IssueChargeCardPage-6-s-UWq_-BmpTWTnI.js → IssueChargeCardPage-C1zB2vrB-BjSYM-zt.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-DvHuoKA3-ByGrgctu.js → LabeledAddressValue-BDA7y5Fq-DhRc_qTv.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D_MiUMo1-BjhNea8N.js → LabeledAddressValueField-fj8E8gFz-H5YPxhUO.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-CCyeo-ZW-QI54iatM.js → LabeledControlledCheckBoxField-aLuztBgv-D5MTc0Hb.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CZzezvdx-w9crem2Z.js → LabeledCreatableSingleSelectField-zhHbiOVO-CmJGpocX.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CmVMZUTj-BuxYwuRk.js → LabeledDocumentField-BTgmGAGq-C1Wz4HBC.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DwioWQ3H-BbnN_bg3.js → LabeledDropDownFormattedTextField-BdAKZt7q-BGt70Xed.js} +1 -1
  94. package/dist/assets/{LabeledText-DCAW4nE7-C3Nzkpjg.js → LabeledText-CMrFKM7D-BguJYY1y.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-7h-ttahY-DxdjxYM6.js → LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-Dg7Issv6.js} +7 -7
  96. package/dist/assets/{LabeledZeniRolesDropDownField-D4BIq5HF-CExPFqT9.js → LabeledZeniRolesDropDownField-BaiPRGJf-uDYXOev6.js} +5 -5
  97. package/dist/assets/{LinkJETransactionPage-DAQVDAXt-BCcVE_NM.js → LinkJETransactionPage-CWc1e0RL-BStlkYmV.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-D9Q_ALaf-YPbzufYS.js → LowBalancePopup-COu8cuzS-CWsCL8QL.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-ynvW5qdK-Dfq_Talq.js → MagicLinkACHDetailsPage-h0Srx7SO-CI82IJMC.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-4UCrDRCC-oSKfky7B.js → MagicLinkDomesticWireDetailsPage-BIZqOfHW-C0__wUKE.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C4lIsKUB-BAx7pouL.js → MagicLinkInternationalWireDetailsPage-MSHTQMXn-BCqtDMwf.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-9c9Tn_qo-C0JuJ3fR.js → MagicLinkSuccessPage-BjWw4cqt-BpubK9qq.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-BrjFuMwS-DbXX5Zmf.js → MagicLinkTitleSection-Cll6JJDZ-c2hUaOba.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DgDMtsxQ-CC5C87iu.js → MailingDetailsSection-DWSj0MOB-B23cVsbd.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-CRSDBuLJ-OtqBz06L.js → MeetingCalenderPopup-CTuOhFQC-CM56yWMx.js} +3 -3
  106. package/dist/assets/{Menu-BzQoNjkh-CC4M3xVx.js → Menu-DlBP5CCV-Dhe5vh0C.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-C45EhJK5-BjM7vg_f.js → MyBankConnectionsSettingsPage-BYqoUq4q-BH2vAMNX.js} +9 -9
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CR_cld21-CqQWJQML.js → MyPendingActivationChargeCardListPage-BABBa4je-Bg9UBVWl.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-Bd4BMq8O-BulPMjJp.js → MyProfileSettingsPage-Dk_jK8-R-DurUldyz.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-Dn4oWjCF-D_OtLAU3.js → NavBarWithPicker-BC2xbV2b-CTowtLz4.js} +1 -1
  111. package/dist/assets/{NavigationArrow-DDiJFL1e-CEPOCCmb.js → NavigationArrow-BovrdeuJ-Cw-sFhQZ.js} +1 -1
  112. package/dist/assets/{NavigationDots-Cv-F19I9-JyWha_qz.js → NavigationDots-yYTGREt4-B-OdEVvE.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B7muJVCL-C-_hFtQd.js → NewGlobalMerchantPage-BKlPnipd-C0VSdbnk.js} +4 -4
  114. package/dist/assets/NoDataChart-Dhg-k7iX-Cs7cC3lL.js +26 -0
  115. package/dist/assets/{NoDataTable-rfVgRk3Q-CbLpBgvO.js → NoDataTable-jpCLeiDv-QPQg-k0v.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DfZN-1Pf-D7320uua.js → NotFoundPage-DrKqVOry-DOoYynD3.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CZ7uvC_h-9yMpdDwX.js → NotificationSettingsPage-lojoBPQ8-BXCIHuR3.js} +28 -28
  118. package/dist/assets/NotificationsListConfig-jbIMYvrE-sOyrq7-n.js +1 -0
  119. package/dist/assets/{NotificationsPage-CkhbN-kU-DUBT3gqV.js → NotificationsPage-DJNUS9wc-CvpTPDnE.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage--OssjAU3-yE9eqIEn.js → OpExByVendorPage-xMyUkO51-g3PsFquX.js} +4 -4
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-Dfa5yZev.js → OverlayContainerPage-GWXnlbZH-BIhdlbMR.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-ClndDOYh-SJAUsmw5.js → PandLWithForecastPage-BHtPelIT-BNHOIcyB.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C078sYd8-CcYNSWYx.js → PaymentAccountSetupBillingAddressSection-B2ZBSiCT-DIJZhWwQ.js} +4 -4
  124. package/dist/assets/{PeoplePage-CW_L4QmC-C34apYuj.js → PeoplePage-CzQXmGVU-CpJj_de0.js} +1 -1
  125. package/dist/assets/PortfolioAllocationFormPage-B1Xa0wKV-Bt5oa3Bf.js +207 -0
  126. package/dist/assets/{PortfolioDetails-BO6oRP5r-DF5-f3uH.js → PortfolioDetails-BY-IK4yO-DvXpxm4t.js} +23 -23
  127. package/dist/assets/{ProductsCarousel-D-AotGP3-BDI9ItBj.js → ProductsCarousel-B7h_gH-R-DUTM0dte.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-BaRq2gW7-CaV0HA0Q.js → PromoBaseCards-CuJXuijt-B_1kVrlz.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-TWp9ojWE-Cy7KiT6U.js → QBOConnectionDialog-DsNkkj_j-DdQXn1k_.js} +2 -2
  130. package/dist/assets/{QBOSetupSection-CAEVos7R-C63Jm--j.js → QBOSetupSection-DkoopYHr-C6Nm1CEj.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DNvNDsYb-N5KhEeit.js → ReimbursementApprovalRuleDetailPage-BAapaJEJ-BX35Yt90.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-PP2Av_Fg-EsOEUCl-.js → ReimbursementApprovalRulesPage-BkiZVc7S-Dvq-YYNQ.js} +4 -4
  133. package/dist/assets/{ReimbursementDetailPage-BxODrJT2-Bwz9_lA3.js → ReimbursementDetailPage-S9j_KDZJ-CFnegxrS.js} +4 -4
  134. package/dist/assets/{ReimbursementPromoPage-CY07bEdH-C5I-oeX1.js → ReimbursementPromoPage-BJJruudV-DPeFHSga.js} +3 -3
  135. package/dist/assets/{ReimbursementSetUpPage-KP5C3TD9-DpowlJOX.js → ReimbursementSetUpPage-CQdxq5lk-CO23I1U6.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-kmEhvHQX-BTSfrc32.js → ReimbursementsBulkReviewDrawerPage-5LGKVY6X-Dtt7nes2.js} +1 -1
  137. package/dist/assets/{ReloadCard-BCOFjZZr-DP5t3AjN.js → ReloadCard-DBRY9FdH-Cs_BCKCH.js} +6 -6
  138. package/dist/assets/{ReportTableViewSelector-DRJq_coC-sj8tBpHh.js → ReportTableViewSelector-DOxnK0VV-BGByxTRR.js} +26 -26
  139. package/dist/assets/{ReportsPage-SG40vbC5-DuN3nPIa.js → ReportsPage-r_MRjkkb-D9G0GAld.js} +1 -1
  140. package/dist/assets/{RevenueChart-Ca64TJCo-C7JT5Y2T.js → RevenueChart-DhCkb0c6-D8gz5Gs0.js} +13 -13
  141. package/dist/assets/{ReviewDetailsPage-BU-0bDd9-CEnRtiG5.js → ReviewDetailsPage-DWtgiOYE-BUZUqert.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-CL3CPnN_-DJyw7YBh.js → ReviewOverlay-CjWEPPvw-CfypkAlX.js} +5 -5
  143. package/dist/assets/RoleWithToolTip-4WCTaiOg-DZFwVsCT.js +22 -0
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-X38BPRbi-smp1BUXs.js → ScheduleDetailsFixedAssetsPage-CSxG7vXq-Bl9mHyq_.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-DXNHT3jy-Bb_D9sAt.js → ScheduleDetailsPage-BqaZqCZJ-BYsVIGMZ.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-DOoxwZ33-p2ENgYtx.js → ScheduleSequenceTable-H_kZuoon-DPX6ZDDF.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-mBDvymlT.js → ScreenRoutes-Cvd2f1LK.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-Dq7XPkje-B4S2qJMx.js → SetUpAccountSection-B9L-2aHz-CTFsKnk5.js} +5 -5
  149. package/dist/assets/{SetUpDefaultSection-Bwllgb3V-gis6MQyU.js → SetUpDefaultSection-DO9aLike-qmOMw5vG.js} +1 -1
  150. package/dist/assets/{SignIn-DNWtgNjX-C8wuYvhu.js → SignIn-DOSDfnki-Cbt85zGf.js} +5 -5
  151. package/dist/assets/{SignInScreen-BgkNpmQx.js → SignInScreen-cUtVelXL.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-BhkIACPN-C_P_vHC6.js → SpendManagementListViewPage-D6ysU0TE-rYLYB8YC.js} +11 -11
  153. package/dist/assets/{SpendManagementPerTabPage-BjOxRVbT-QjN-WWwS.js → SpendManagementPerTabPage-CHvroeCa-Bem8tr9A.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-CiavvRPP-Cyla1JRL.js → SpendManagementSection-BaEgJPY4-ceqLIFy6.js} +6 -6
  155. package/dist/assets/{SpendMgmtSetupAccountSection-CpLvxn91-Bns8ZC6q.js → SpendMgmtSetupAccountSection-CVaXDNNK-BgnjDcSO.js} +1 -1
  156. package/dist/assets/{StatementItem-DdCDaiNw-BqflqKk1.js → StatementItem-CYPCJ0XS-Cae16oYV.js} +5 -5
  157. package/dist/assets/{StatementsPage-DeAIoSNr-B4PbbzA7.js → StatementsPage-Cyqg2jd1-BEGUL0ru.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-DRcsgcqk-Db747Alf.js → StatusSwitcher-C5UGqQw8-C_BdaZDF.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-DEu0w6xG-BaQek63u.js → SubTabSwitcher-B3rFIZQy-CVJpBzFy.js} +1 -1
  160. package/dist/assets/{SummaryCard-uv4lzlcb-jTjBnPZZ.js → SummaryCard-CNADDyPG-DQfY9PZV.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-Cvajt_yE-BX1jbYU7.js → TaskManagementPage-CtUQXjo2-DLU9agZ6.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-I6PTIuko-BUYMhGzO.js → TimeRangeSwitcher-BXXqX3m6-BXhpkE05.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-OwZhofpM-CUyJFXG7.js → TimeframeSwitcher-Bk9rjDg4-D1ZCJMBu.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-RH8QHQFd-CNFrVT6b.js +31 -0
  165. package/dist/assets/{TopExCard-C0HId814-BwK4VDds.js → TopExCard-xJbS_mNo-vrvKWb-2.js} +4 -4
  166. package/dist/assets/{TopExDetailPage-B_oju_VW-B3qGXHuw.js → TopExDetailPage-BDUuqAEK-kDQYV1hS.js} +7 -7
  167. package/dist/assets/{TransactionDetailPage-9WsXXggv-U-sgOw7W.js → TransactionDetailPage-CtzLtYa8-Dti5QN0w.js} +1 -1
  168. package/dist/assets/{TransactionList-BxsEMjYy-Cx9_0hB7.js → TransactionList-DS-_gBrf-0L10KBMM.js} +1 -1
  169. package/dist/assets/{TransactionListBig-DHqll412-CnrUfDIm.js → TransactionListBig-D9ebH5C0-CrjrZMpc.js} +1 -1
  170. package/dist/assets/{TransactionListPage-kGc1IJsq-BA0rAsyr.js → TransactionListPage-CPjayOv5-BUCgtW4D.js} +2 -2
  171. package/dist/assets/{TransactionVendorDetailPage-DwrZXzxo-DSTM2MWP.js → TransactionVendorDetailPage-DMYoBJ23-CGdwlq4L.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-CV8rT6Ls-DBr04qOP.js → TransferDrawerPage-BAghLjPn-_YEZHDaa.js} +9 -9
  173. package/dist/assets/{TreasuryOverviewPage-5qcly3m5-CZlMDb2U.js → TreasuryOverviewPage-B7EFea4a-Cm7MzhWr.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-DSRfEWNK-CWMy8dns.js → TreasuryPromoPage-D7Y8yGpx-DCOF-C37.js} +4 -4
  175. package/dist/assets/{TreasurySetupPage-CDhPN2Bb-W60yBR4S.js → TreasurySetupPage-B1SZd_a5-BbDAoWsE.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-D8DDd_5Y-BY9qn6N_.js → TreasuryStatementsPage-uakhQGBW-B3onjgHy.js} +3 -3
  177. package/dist/assets/{TreasuryTaxLetterPage-B9fT9sak-SGsqSB1O.js → TreasuryTaxLetterPage-BHvr72P1-CVZgtss0.js} +3 -3
  178. package/dist/assets/{TreasuryTransferOrReviewPage-dNdO4rAi-BgLGp852.js → TreasuryTransferOrReviewPage-BBPDHav1-DcU8G7ac.js} +1 -1
  179. package/dist/assets/{TrendChart-BQuGBR1d-DuM7SMIf.js → TrendChart-ChiKhGtw-DJQk_W3H.js} +2 -2
  180. package/dist/assets/{TrendWithTransactions-DqDVJ54f-Bp5ER0Hq.js → TrendWithTransactions-DEMNHbbz-eXUWr1P8.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BxfVIUoI-CerKzhMo.js → UncategorizedAccountsMappingPage-BDNznj4Y-DhoHWcNa.js} +10 -10
  182. package/dist/assets/{UnitIntegrationPage-CdZI78vH-DCu7SpTw.js → UnitIntegrationPage-Bgu5xfcn-qzDpviJA.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-DO8Wchkc-PSPxIv5t.js → UploadAdditionalDocumentOverlay-DW6WCx4i-DLD4r81f.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup--aencw-V-Ch78oHtc.js → Vendor2FAPopup-D34glhep-ZEOazlbA.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-BCPlUNfz-DHiqrH44.js → VendorACHDetailsPage-CSqpbr2r-4fA8O7r9.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CVJBUbZ2-CuXjC4CQ.js → VendorDetailPage-CJw1v9tJ-3BQ13ets.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-DWW8h7s8-Byu-VmBD.js → VendorDomesticWireDetailsPage-BY8F5AWO-D07Vr6Rx.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-C8InkcfJ-YfFad-ml.js → VendorFiling1099EditablePage-COYZCnYS-CIZE4tws.js} +3 -3
  189. package/dist/assets/{VendorFirstReviewPage-BDyNH-vU-BKLaPjFQ.js → VendorFirstReviewPage-BqnXdq6Q-B8ZN5rhH.js} +11 -11
  190. package/dist/assets/{VendorInternationalWireDetailsPage-C3nJ3Pt0-BC0OZ003.js → VendorInternationalWireDetailsPage-K9botaZv-C15-2N9V.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C9H4QLT1-BMB_XjDV.js → VendorInternationalWireSwiftDetailsPage-DQ_akVN_-B3C-xfbB.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CGWJqmKQ-CjZSaorN.js → VendorsAccountsSection-D5d42xeO-Cg4ik_qW.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-BxOxXMaW-GydpQDwQ.js → WarningsDrawerPage-DiA5MRFe-WvbStFym.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-DCAIPx-c-DUYkuLhN.js → ZeniAccountDetailPage-DSCbx6BB-CW-Mc6KR.js} +10 -10
  195. package/dist/assets/{ZeniAccountListViewPage-CDYYbdFb-C8nl1qd3.js → ZeniAccountListViewPage-7zssUaoL-BUU9HmxI.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-CcOiYS-H-Bj_hBtue.js → ZeniAccountNavBarPieces-By4S70vz-BEWnsgVn.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-Cfw0_0bd-BQu6DxQD.js → ZeniAccountPromoPage-Bvr4t7zq-CdLd8eI7.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-B7EJAqdM-Dodpdd1u.js → ZeniAccountSetupPage-DtDN9JWk-BpqayTnF.js} +2 -2
  199. package/dist/assets/{ZeniCopyright-DEdrnsiw-D59Jixsy.js → ZeniCopyright-CxC3wvp1-DN-FcUC5.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DBXBirJi-B0Yoikn9.js → ZeniTransferAmountSlider-CcbG1sHp-CqoOrSU6.js} +1 -1
  201. package/dist/assets/{analyticsHelper-w8iM5r14-B9QaLiMz.js → analyticsHelper-3y6VD3VH-CjyBsouX.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BWQZmr-f.js → analyticsHelper-CXdm5R2N.js} +1 -1
  203. package/dist/assets/{chartTypes-B0MskeA2-B7uafHCG.js → chartTypes-mKuCmPTG-T-pVTL6a.js} +1 -1
  204. package/dist/assets/{commonDimensions-BKJwd7tr-BQnReruf.js → commonDimensions-BHBDbLXD-D43Vfjlr.js} +1 -1
  205. package/dist/assets/{detailCommon-B0KC7weQ-CwsP1PKi.js → detailCommon-1QwSQL9C-xV7Ayfyc.js} +4 -4
  206. package/dist/assets/{downloadPdf-D-MBiFpt-BC-Vei-1.js → downloadPdf-DjM3Z_88-ByGgI7Wp.js} +1 -1
  207. package/dist/assets/{index-CHAUm_f6.js → index--zsAF475.js} +806 -807
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-wdFfuF9A-SGdQPCKG.js → mapLoadingInProgressToTreeNode-CKZd1bh4-BG_S5Rzx.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-tV6QhZnt-BrM-Ksub.js → mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-C25H5fuV.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-WahUVvQq-CmA7s8_r.js → mapSpacerToTreeNode-CzcEW1Rc-C1DGilaj.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-B6T9ekBs-BIh14cp8.js → mapTimeframeBalancesToTreeNode-CEDhLCxY-C4luLhFK.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BibBSUgv-Ct2Em2-x.js → mapTimeframeBalancesToTreeNode-y3lzh3vX-vlAdL32U.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ndk0FkTh-Dmj9stz2.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-C02P3nog.js} +1 -1
  214. package/dist/assets/{play-icon-DSOHLBMM-CTvYd7Zx.js → play-icon-DfMYCOJa-BDBydROX.js} +3 -3
  215. package/dist/assets/{toCOABalancesWithID-DxjnLUiu-BaBWoEX7.js → toCOABalancesWithID-CEvuOTjK-DN7-62GQ.js} +1 -1
  216. package/dist/assets/{toChartData-DGP41gut-DAlJi9Lz.js → toChartData-D2kGY49E-18Jwl1kX.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-BExq29Np-DWPmU6Zk.js → treasuryColorHelper-k2phUKLw-7cYzhQpl.js} +1 -1
  218. package/dist/assets/{uploadAttachment-DrRDYvZb-DQwt71Ee.js → uploadAttachment-kyOdZMbL-NAni9mMH.js} +11 -11
  219. package/dist/assets/{uploadReceipts-D80JLNY4-s-z5fHkW.js → uploadReceipts-D80JLNY4-TCCICMaI.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/ChargeCardPromoPage-BLnOo8KV-BWNbbvau.js +0 -219
  223. package/dist/assets/CustomerOnboardingContainerPage-DLvSrfgp-Dl1M1hZs.js +0 -1
  224. package/dist/assets/NoDataChart-D-NrGJT9-BjxfiOXh.js +0 -26
  225. package/dist/assets/NotificationsListConfig-D1qLw3pV-DUEWkOXF.js +0 -1
  226. package/dist/assets/PortfolioAllocationFormPage-DSjAD_xB-DhOLPL96.js +0 -207
  227. package/dist/assets/RoleWithToolTip-B2SfhDfC-BsH1jXPJ.js +0 -22
  228. package/dist/assets/TimeframeSwitcherWithToggle-CrMpS9eg-BgL_SaLJ.js +0 -31
@@ -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 O,bR as V,F as G,a3 as Q,C as s,eP as U,al as X,o as _,n as t}from"./index-CHAUm_f6.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as q,A as J}from"./BankAccountWarningSection-HVZlzCAu-BiWEstnT.js";import{M as K}from"./MagicLinkTitleSection-BrjFuMwS-DbXX5Zmf.js";import{e as Y}from"./BankAccountSection-Dt3lb88O-mB9ZXibN.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:B,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:T,onFetchBankName:v,isMagicLink:u,companyName:w,currencySymbol:P,amount:$,bankAccountContext:z})=>{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,R={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:[D===!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:R}):null,n.jsx(q,{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,z==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(G,{...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 A,c3 as F,j as n,bO as H,bQ as O,bR as V,F as G,a3 as Q,C as s,eP as U,al as X,o as _,m as t}from"./index--zsAF475.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as q,A as J}from"./BankAccountWarningSection-dVdrPYm5-D4vTqFR3.js";import{M as K}from"./MagicLinkTitleSection-Cll6JJDZ-c2hUaOba.js";import{e as Y}from"./BankAccountSection-CtTkNBok-XhKPNePI.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:B,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:T,onFetchBankName:v,isMagicLink:u,companyName:w,currencySymbol:P,amount:$,bankAccountContext:z})=>{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,R={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:[D===!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:R}):null,n.jsx(q,{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,z==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(G,{...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`
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,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,jo as H,v as _,bJ as $1,n,bf as L,dn as d1,g as d,V as v1,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 Y,f as W1,js as F1,dI as D1,fu as _1,bH as u1,q as P1}from"./index-CHAUm_f6.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{L as V1}from"./NavBarWithPicker-Dn4oWjCF-D_OtLAU3.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`
1
+ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,jo as H,p as _,bJ as v1,m as n,bf as L,dn as d1,g as d,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,v as g,jq as Z1,jr as B1,q as b,c0 as K,al as Y,e as W1,js as F1,dI as D1,fu as _1,bH as u1,s as P1}from"./index--zsAF475.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{L as V1}from"./NavBarWithPicker-BC2xbV2b-CTowtLz4.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};
@@ -164,9 +164,9 @@ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,j
164
164
  flex-direction: column;
165
165
  `,y2=i(b)`
166
166
  color: ${e=>e.theme.colors.brandColorJadeDark};
167
- `,$2=i(g)`
167
+ `,v2=i(g)`
168
168
  color: ${e=>e.theme.colors.hero};
169
- `;function v2({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=>r.jsx(C2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:C},l.eventName))]})}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($2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),e.map(a=>r.jsx(v2,{icon:S2(a.personaName),title:a.personaName,data:a.eventGroups,currency:s},a.personaName))]})}const Z2=i.div`
169
+ `;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=>r.jsx(C2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:C},l.eventName))]})}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`
170
170
  display: flex;
171
171
  flex-direction: column;
172
172
  justify-content: space-between;
@@ -224,7 +224,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,j
224
224
  width: ${o.sp3};
225
225
  height: ${o.sp3};
226
226
  color: ${e=>e.theme.colors.brandColorOnyx};
227
- `;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:c}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",v=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?d.brandColorGoldLight:d.graphColor16Light,$=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?d.brandColorGoldDark:d.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:$})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:v})]}),r.jsxs(T2,{children:[x&&!(c??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(c??!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`
227
+ `;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:c}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",$=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?d.brandColorGoldLight:d.graphColor16Light,v=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?d.brandColorGoldDark:d.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&&!(c??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(c??!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`
228
228
  border-radius: 10px;
229
229
  padding: 3px;
230
230
  background-color: ${e=>e.theme.colors.grey5};
@@ -279,7 +279,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,j
279
279
  width: ${o.sp4};
280
280
  height: ${o.sp4};
281
281
  color: ${e=>e.theme.colors.brandColorOnyx};
282
- `;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:c,children:r.jsxs(O2,{windowSize:c,children:[r.jsx(U2,{children:r.jsx(X2,{})}),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:c,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:d.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(Y2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(J2,{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:d.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`
282
+ `;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),c=M(),h=$=>Math.round($/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:c,children:r.jsxs(O2,{windowSize:c,children:[r.jsx(U2,{children:r.jsx(X2,{})}),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:c,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:d.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(Y2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(J2,{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:d.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`
283
283
  display: flex;
284
284
  flex-direction: column;
285
285
  background-color: ${e=>e.theme.colors.grey5};
@@ -341,7 +341,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,j
341
341
  position: absolute;
342
342
  margin: auto;
343
343
  bottom: ${o.sp5};
344
- `;function x3(e,s){const a=new Date(`${e}-01`),C=new Date(`${s}-01`),l=[];for(;a<=C;){const c=a.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),a.setMonth(a.getMonth()+1)}return l}function g3({selectedTimeSeries:e}){const{dark:s}=v1(),a=M(),C=x3(e.fromMonth,e.toMonth),{aiPerformanceDashboard:l}=y.getLocalizedStrings();return r.jsxs(d3,{windowSize:a,children:[r.jsx(c3,{children:r.jsx(h3,{children:l.chartTitle})}),r.jsxs(p3,{children:[s?r.jsx(k3,{}):r.jsx(u3,{}),r.jsx(m3,{children:r.jsx(c1,{children:({width:c,height:h})=>r.jsxs(h1,{width:c,height:h,data:C,margin:{top:10,right:30,left:0,bottom:0},children:[r.jsx(p1,{dataKey:"month",tickFormatter:p=>new Date(p+"-01").toLocaleString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}),tickLine:!1,axisLine:!1,tick:{fill:d.neutralGrey1Light,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{hide:!0})]})})})]})]})}const f3=1.2,L3={headerGap:new u(n[3],n[3],n[1],n[1],n[1])},E3=i.div`
344
+ `;function x3(e,s){const a=new Date(`${e}-01`),C=new Date(`${s}-01`),l=[];for(;a<=C;){const c=a.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),a.setMonth(a.getMonth()+1)}return l}function g3({selectedTimeSeries:e}){const{dark:s}=$1(),a=M(),C=x3(e.fromMonth,e.toMonth),{aiPerformanceDashboard:l}=y.getLocalizedStrings();return r.jsxs(d3,{windowSize:a,children:[r.jsx(c3,{children:r.jsx(h3,{children:l.chartTitle})}),r.jsxs(p3,{children:[s?r.jsx(k3,{}):r.jsx(u3,{}),r.jsx(m3,{children:r.jsx(c1,{children:({width:c,height:h})=>r.jsxs(h1,{width:c,height:h,data:C,margin:{top:10,right:30,left:0,bottom:0},children:[r.jsx(p1,{dataKey:"month",tickFormatter:p=>new Date(p+"-01").toLocaleString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}),tickLine:!1,axisLine:!1,tick:{fill:d.neutralGrey1Light,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{hide:!0})]})})})]})]})}const f3=1.2,L3={headerGap:new u(n[3],n[3],n[1],n[1],n[1])},E3=i.div`
345
345
  width: 192px;
346
346
  background-color: ${e=>e.theme.colors.black};
347
347
  border-radius: ${o.sp1};
@@ -367,11 +367,11 @@ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,j
367
367
  display: flex;
368
368
  flex-direction: column;
369
369
  gap: ${o.sp2};
370
- `,$3=i.div`
370
+ `,v3=i.div`
371
371
  display: flex;
372
372
  flex-direction: column;
373
373
  gap: ${e=>L3.headerGap.valuePx(e.windowSize)};
374
- `,v3=i(Y)`
374
+ `,$3=i(Y)`
375
375
  max-width: 400px;
376
376
  color: ${e=>e.theme.colors.brandColorOpalDark};
377
377
  `,S3=i.div`
@@ -402,7 +402,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,j
402
402
  border-radius: 2px;
403
403
  `,s1=i(W1)`
404
404
  color: ${e=>e.color};
405
- `,B3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const c=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:c}),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($3,{windowSize:a,children:r.jsx(v3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:c})=>r.jsxs(h1,{width:l,height:c,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:d.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:d.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:d.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:d.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:d.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(Z3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:d.brandColorGoldDark}),r.jsx(s1,{color:d.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:d.graphColor16Dark}),r.jsx(s1,{color:d.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`
405
+ `,B3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const c=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:c}),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:c})=>r.jsxs(h1,{width:l,height:c,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:d.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:d.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:d.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:d.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:d.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:d.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:d.neutralGrey5Light,stroke:d.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(Z3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:d.brandColorGoldDark}),r.jsx(s1,{color:d.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:d.graphColor16Dark}),r.jsx(s1,{color:d.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`
406
406
  border-radius: 10px;
407
407
  padding: 3px;
408
408
  background-color: ${e=>e.theme.colors.grey5};
@@ -516,7 +516,7 @@ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,j
516
516
  100% {
517
517
  rotate: 720deg;
518
518
  }
519
- `,e4=i($1)`
519
+ `,e4=i(v1)`
520
520
  cursor: pointer;
521
521
  width: ${o.sp4};
522
522
  height: ${o.sp4};
@@ -527,4 +527,4 @@ import{C as u,d2 as w1,X as M,M as y,l as k,bC as M1,j as r,Y as j1,bs as y1,o,j
527
527
  &:hover {
528
528
  color: ${e=>e.theme.colors.primary};
529
529
  }
530
- `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const c=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,v]=t.useState(!1),[j,$]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,J]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,X]=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(()=>{$("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"?c.trackAIPerfHome(m):j==="refresh"?c.trackAIPerfRefresh(m):j==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(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:()=>{v(!0),$("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),X(w),J(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&&($("timePeriodSelect"),X(k.toTimeSeriesDuration(m)),J(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(J3,{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(X3,{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(Y3,{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};
530
+ `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const c=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,J]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,X]=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"?c.trackAIPerfHome(m):j==="refresh"?c.trackAIPerfRefresh(m):j==="timePeriodSelect"&&c.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),X(w),J(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"),X(k.toTimeSeriesDuration(m)),J(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(J3,{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(X3,{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(Y3,{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};
@@ -1,4 +1,4 @@
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-CHAUm_f6.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-DRcsgcqk-Db747Alf.js";import{r as A}from"./AccountInfoPageContent-DrQmMqaW-D-pGlndX.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-D-MBiFpt-BC-Vei-1.js";import"./commonDimensions-BKJwd7tr-BQnReruf.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`
1
+ import{u as f,X as P,j as t,gb as $,o,C as a,gV as j,m as i}from"./index--zsAF475.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-C5UGqQw8-C_BdaZDF.js";import{r as A}from"./AccountInfoPageContent-cvYWnpel-BBYnJ8an.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-DjM3Z_88-ByGgI7Wp.js";import"./commonDimensions-BHBDbLXD-D43Vfjlr.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
4
  `,C=n.div`
@@ -1,4 +1,4 @@
1
- import{X as we,fc as Ae,gW as H,j as r,M as Se,bs as C,c 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-CHAUm_f6.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-D-MBiFpt-BC-Vei-1.js";import{o as _e}from"./commonDimensions-BKJwd7tr-BQnReruf.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:Q}}=Se.getLocalizedStrings(),Fe=({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,J]=s.useState(!1),[A,O]=s.useState(!1),[S,U]=s.useState(!1),[T,W]=s.useState(!1),[$,X]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=H(u.zeniAccountsConfigDetail.mailingAddress).text2,p=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(m||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),U(!1),W(!1),X(!1),O(!1),J(!1),q(!1),P(!1)},1200)},[m,S,T,$,A,w,j,N]);const B=(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}
1
+ import{X as we,fc as Ae,gW as H,j as r,M as Se,bs as C,c as Te,Y as z,o as a,al as ve,bp as De,g as E,v as ee,ax as Ce,fe as ze,s as re}from"./index--zsAF475.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-DjM3Z_88-ByGgI7Wp.js";import{o as _e}from"./commonDimensions-BHBDbLXD-D43Vfjlr.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:Q}}=Se.getLocalizedStrings(),Fe=({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,J]=s.useState(!1),[w,O]=s.useState(!1),[A,q]=s.useState(!1),[S,U]=s.useState(!1),[T,W]=s.useState(!1),[$,X]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=H(u.zeniAccountsConfigDetail.mailingAddress).text2,p=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(m||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),U(!1),W(!1),X(!1),q(!1),O(!1),J(!1),P(!1)},1200)},[m,S,T,$,A,w,j,N]);const B=(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
2
 
3
3
  ${o.accountTypeLabel} ${n.accountSubType.name??""}
4
4
 
@@ -18,7 +18,7 @@ ${o.beneficiaryName} ${v}
18
18
 
19
19
  ${o.bankAddress} ${p}
20
20
 
21
- ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{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":U(!0);break;case"acccountNumber":W(!0);break;case"routingNumber":X(!0);break;case"bankName":O(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":J(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Oe,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ue,{children:h}),r.jsx(Xe,{children:r.jsxs(Be,{children:[r.jsxs(We,{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(F,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),G!=null?r.jsx(Ge,{children:G}):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"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?Q.downloading:Q.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Je,{"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(F,{}):r.jsx(Z,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(V,{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(Y,{children:i(o.bankAddress,p,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(V,{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(Y,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
21
+ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{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":U(!0);break;case"acccountNumber":W(!0);break;case"routingNumber":X(!0);break;case"bankName":q(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":O(!0);break;case"bankAddress":J(!0);break}};return r.jsxs(qe,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ue,{children:h}),r.jsx(Xe,{children:r.jsxs(Be,{children:[r.jsxs(We,{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(F,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),G!=null?r.jsx(Ge,{children:G}):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(Je,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?Q.downloading:Q.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Oe,{"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(F,{}):r.jsx(Z,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(V,{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(Y,{children:i(o.bankAddress,p,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ke,{children:[r.jsx(V,{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(Y,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
22
22
  margin: ${a.sp4};
23
23
  margin-left: ${a.sp0};
24
24
  `,Ie=t.div`
@@ -29,10 +29,10 @@ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
29
29
  `,Pe=t.div`
30
30
  display: flex;
31
31
  gap: ${a.sp4};
32
- `,qe=t(ve)`
32
+ `,Je=t(ve)`
33
33
  color: ${e=>e.theme.colors.primary};
34
34
  margin-right: ${a.sp2};
35
- `,Je=t(De)`
35
+ `,Oe=t(De)`
36
36
  height: ${a.sp3};
37
37
  width: ${a.sp3};
38
38
  color: ${e=>e.theme.colors.hero};
@@ -107,7 +107,7 @@ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
107
107
  height: ${a.sp3};
108
108
  width: ${a.sp3};
109
109
  color: ${E.success};
110
- `,Oe=t.div`
110
+ `,qe=t.div`
111
111
  display: flex;
112
112
  flex-direction: row;
113
113
  padding: ${a.sp3} ${a.sp4};
@@ -1,4 +1,4 @@
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 K,f as Z,a2 as ve,T as Ce,dH as we,eN as be,k5 as G,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-CHAUm_f6.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-BZ3Sp_Zw-CJ70DMKN.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`
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 K,e as Z,a2 as ve,T as Ce,dH as we,eN as be,k5 as G,dr as ee,s as l,u as Ee,_ as Pe,aQ as te,c_ as ne,b0 as Re,g as oe,ax as De}from"./index--zsAF475.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-Ca-OS9TF-C8Rax05w.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};
@@ -1,4 +1,4 @@
1
- import{j as t,M as se,_ as E,bs as f,o,Y as y,T as re,dH as le,q as w,dI as de,g,dJ as G,c_ as X,cq as ue,a7 as x,w as Z,n as p,X as xe,u as S,ae as pe,dp as he,e as ge,K as me,f as I,b4 as fe,c$ as je}from"./index-CHAUm_f6.js";import{n as a,b as ye,j as we}from"./vendor-CnQcJ2Lu.js";const $e=a.div`
1
+ import{j as t,M as se,_ as E,bs as f,o,Y as y,T as re,dH as le,s as w,dI as de,g,dJ as G,c_ as X,cq as ue,a7 as x,v as Z,m as p,X as xe,u as S,ae as pe,dp as he,n as ge,K as me,e as I,b4 as fe,c$ as je}from"./index--zsAF475.js";import{n as a,b as ye,j as we}from"./vendor-CnQcJ2Lu.js";const $e=a.div`
2
2
  position: relative;
3
3
  ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -20,10 +20,10 @@ import{j as t,M as se,_ as E,bs as f,o,Y as y,T as re,dH as le,q as w,dI as de,g
20
20
  align-items: center;
21
21
  justify-content: center;
22
22
  color: ${e=>e.colour.toString()};
23
- `,Ce=a(ge)`
23
+ `,ve=a(ge)`
24
24
  text-align: center;
25
25
  color: ${e=>e.colour.toString()};
26
- `,ve=a.div`
26
+ `,Ce=a.div`
27
27
  svg {
28
28
  path {
29
29
  stroke-width: 2;
@@ -38,7 +38,7 @@ import{j as t,M as se,_ as E,bs as f,o,Y as y,T as re,dH as le,q as w,dI as de,g
38
38
  margin-left: 2px;
39
39
  width: 12px;
40
40
  height: 12px;
41
- `;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(ve,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(Ce,{colour:n,className:d,children:e})})})})}const Ee=a.div`
41
+ `;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
42
42
  display: flex;
43
43
  flex: 1 1 auto;
44
44
  max-height: 1px;
@@ -155,7 +155,7 @@ import{j as t,M as se,_ as E,bs as f,o,Y as y,T as re,dH as le,q as w,dI as de,g
155
155
  margin-left: ${o.sp3};
156
156
  height: ${e=>e.heightValue}px;
157
157
  background-color: ${e=>e.theme.colors.grey3};
158
- `,qe=a.div`
158
+ `,ze=a.div`
159
159
  display: flex;
160
160
  flex-shrink: 0;
161
161
  width: ${u.varianceTimeframeWidth}px;
@@ -166,7 +166,7 @@ import{j as t,M as se,_ as E,bs as f,o,Y as y,T as re,dH as le,q as w,dI as de,g
166
166
  text-align: center;
167
167
  gap: ${o.sp2};
168
168
  margin-left: ${u.tickLeftMargin}px;
169
- `,ze=a(w)`
169
+ `,qe=a(w)`
170
170
  border-radius: ${o.sp1};
171
171
  color: ${e=>e.textColor.hex()};
172
172
  min-width: ${u.varianceNumberWidth}px;
@@ -295,4 +295,4 @@ import{j as t,M as se,_ as E,bs as f,o,Y as y,T as re,dH as le,q as w,dI as de,g
295
295
  width: ${o.sp3};
296
296
  height: ${o.sp3};
297
297
  margin-top: 2px;
298
- `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:C}){const _=xe(),L=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,B=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let z=e;return i&&(z=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:z,isLastRow:i,windowSize:_,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx(wt,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx($t,{clearedBalance:B,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Je,{textColor:r,bgColor:m,className:"any-text-container",children:C})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ge,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsx(Ze,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:C,onStatementAddClicked:_,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:B=>{B.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t as w};
298
+ `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:v}){const _=xe(),L=S(),C=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,B=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{v?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:q,isLastRow:i,windowSize:_,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:C.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:C,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:C})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx(wt,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx($t,{clearedBalance:B,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:z==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),v=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Je,{textColor:r,bgColor:m,className:"any-text-container",children:v})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ge,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsx(Ze,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:v,onStatementAddClicked:_,setIsHovering:L})=>{const C=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",v),onClick:B=>{B.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",v),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:C.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:C,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t as w};
@@ -1,4 +1,4 @@
1
- import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ as ce,aR as le,aS as K,k as de,a0 as Y,U as pe,u as Q,t as me,l as ue,Y as L,a9 as he,W as ge,a4 as xe,w as q,ab as fe,aj as Ce,q as $e,ao as ye}from"./index-CHAUm_f6.js";import{n as r,k as X,j as J,b as N,f as S}from"./vendor-CnQcJ2Lu.js";import{c as ve}from"./SummaryCard-uv4lzlcb-jTjBnPZZ.js";import{x as E}from"./NavigationArrow-DDiJFL1e-CEPOCCmb.js";import{f as je}from"./NavigationDots-Cv-F19I9-JyWha_qz.js";const Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
1
+ import{M as F,j as o,o as t,aa as D,g as j,Z as ne,p as ae,aO as ie,aP as se,aQ as ce,aR as le,aS as K,k as de,a0 as Y,U as pe,u as Q,w as me,l as ue,Y as L,a9 as he,W as ge,a4 as xe,v as J,ab as fe,aj as Ce,s as $e,ao as ye}from"./index--zsAF475.js";import{n as r,k as X,j as V,b as N,f as S}from"./vendor-CnQcJ2Lu.js";import{c as ve}from"./SummaryCard-CNADDyPG-DQfY9PZV.js";import{x as E}from"./NavigationArrow-BovrdeuJ-Cw-sFhQZ.js";import{f as je}from"./NavigationDots-yYTGREt4-B-OdEVvE.js";const Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${i});
@@ -21,9 +21,9 @@ import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ
21
21
  100%{
22
22
  transform: translateY(${s});
23
23
  }
24
- `},ze=(e,n)=>{const i=e==="down"?`-${n*100}%`:"0%";return J`
24
+ `},ze=(e,n)=>{const i=e==="down"?`-${n*100}%`:"0%";return V`
25
25
  transform: translateY(${i});
26
- `},V=J`
26
+ `},q=V`
27
27
  width: ${t.sp7};
28
28
  height: ${t.sp7};
29
29
  border-radius: 50%;
@@ -141,13 +141,13 @@ import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ
141
141
  animation: ${T("left",75)} ease-out 0.3s 1
142
142
  forwards;
143
143
  `,Z=r.img`
144
- ${V}
144
+ ${q}
145
145
  `,Ee=r(I)`
146
146
  display: flex;
147
147
  justify-content: center;
148
148
  align-items: center;
149
149
  margin-right: ${t.sp3};
150
- ${V}
150
+ ${q}
151
151
  background-color:${j.brandColorGold};
152
152
  `,Re=r(ne)`
153
153
  color: ${e=>e.theme.colors.brandColorOnyx};
@@ -166,7 +166,7 @@ import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ
166
166
  margin-right: -${t.sp1};
167
167
  background-color: ${e=>e.theme.colors.zeniAccountsPromoNavigationArrowColor};
168
168
  }
169
- `,qe=r(xe)`
169
+ `,Je=r(xe)`
170
170
  flex-direction: row;
171
171
  justify-content: space-between;
172
172
  margin: 2px;
@@ -175,7 +175,7 @@ import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ
175
175
  `,U=r.div`
176
176
  display: flex;
177
177
  flex-direction: column;
178
- `,Je=r.div`
178
+ `,Ve=r.div`
179
179
  border: 1px solid
180
180
  ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
181
181
  border-radius: ${t.sp2};
@@ -190,12 +190,12 @@ import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ
190
190
  border: 1px solid
191
191
  ${e=>e.theme.colors.zeniAccountsPromoButtonHoverColor};
192
192
  }
193
- `,Ve=r(q)`
193
+ `,qe=r(J)`
194
194
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonTextColor};
195
195
  `,eo=r.div`
196
196
  margin-top: ${t.sp4};
197
197
  margin-bottom: ${t.sp3};
198
- `,oo=r(q)`
198
+ `,oo=r(J)`
199
199
  color: ${e=>e.theme.colors.zeniAccountsPromoCardTitle};
200
200
  text-align: center;
201
201
  `,to=r.div`
@@ -204,4 +204,4 @@ import{M as F,j as o,o as t,aa as D,g as j,Z as ne,v as ae,aO as ie,aP as se,aQ
204
204
  bottom: 6px;
205
205
  `,ro=r(K)`
206
206
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
207
- `,P=F.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=Q(),f=me(),[g,x]=S.useState(0),[C,$]=S.useState(0),[B,A]=S.useState("left"),b=(l,y)=>{l.stopPropagation(),A(y);const re=y=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,y==="left"?"Next":"Back"),d(k(re),y)},M=l=>{d(k(l),"left")};function u(l){x(l.targetTouches[0].clientX)}function oe(l){$(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(k(s+1),"left"),A("left"),x(0),$(0)):g-C<-50&&C!==0&&(d(k(s-1),"right"),A("right"),x(0),$(0))}const H=a.length>1,_=ue.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Qe,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?u(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(qe,{children:[o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(U,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,y)=>o.jsx(he,{activeCardIndex:s,currentIndex:y,which:B,children:o.jsx(Ke,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Je,{onClick:()=>h(_?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:_?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=F.getLocalizedStrings(),z={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},O={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[m,f]=N.useState(0),g=u=>{f(u)},x=(p+1)*(h+1),C=u=>{i.trackZeniAccountsPromoCardClick(x,u),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:$,maxPossibleInterest:B,maxAnnualPercentageYield:A,maxCashBalanceAvailable:b=0}=n;z.headerAnimationData=so(B??25e4),z.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",b,v.currency.currencySymbol).toUpperCase()),z.footer=c.keepInterest.footer.replace(/<interest>/,A.toString()),O.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(Y($),$,v.currency.currencySymbol).toUpperCase()]}],O.prefix=c.protectCash.prefix.replace(/<amount>/,D(Y($),$,v.currency.currencySymbol).toUpperCase());const M=[z,O,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:u=>d?.onDragStart(e.cardType,u),onDragOver:u=>d?.onDragOver(u,e.cardType),onDragLeave:u=>d?.onDragLeave(u),onDrop:u=>d?.onDrop(u,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:C,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),m=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const C=d+x;g.push(C.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
207
+ `,P=F.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=Q(),f=me(),[g,x]=S.useState(0),[C,$]=S.useState(0),[B,A]=S.useState("left"),b=(l,y)=>{l.stopPropagation(),A(y);const re=y=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,y==="left"?"Next":"Back"),d(k(re),y)},M=l=>{d(k(l),"left")};function u(l){x(l.targetTouches[0].clientX)}function oe(l){$(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(k(s+1),"left"),A("left"),x(0),$(0)):g-C<-50&&C!==0&&(d(k(s-1),"right"),A("right"),x(0),$(0))}const H=a.length>1,_=ue.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Qe,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?u(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Je,{children:[o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(U,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,y)=>o.jsx(he,{activeCardIndex:s,currentIndex:y,which:B,children:o.jsx(Ke,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ve,{onClick:()=>h(_?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(qe,{children:_?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=F.getLocalizedStrings(),z={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},O={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[m,f]=N.useState(0),g=u=>{f(u)},x=(p+1)*(h+1),C=u=>{i.trackZeniAccountsPromoCardClick(x,u),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:$,maxPossibleInterest:B,maxAnnualPercentageYield:A,maxCashBalanceAvailable:b=0}=n;z.headerAnimationData=so(B??25e4),z.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",b,v.currency.currencySymbol).toUpperCase()),z.footer=c.keepInterest.footer.replace(/<interest>/,A.toString()),O.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(Y($),$,v.currency.currencySymbol).toUpperCase()]}],O.prefix=c.protectCash.prefix.replace(/<amount>/,D(Y($),$,v.currency.currencySymbol).toUpperCase());const M=[z,O,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:u=>d?.onDragStart(e.cardType,u),onDragOver:u=>d?.onDragOver(u,e.cardType),onDragLeave:u=>d?.onDragLeave(u),onDrop:u=>d?.onDrop(u,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:C,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),m=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const C=d+x;g.push(C.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
@@ -1,4 +1,4 @@
1
- import{u as f,X as T,a1 as x,v as a,j as i,Y as y,iF as B,o as t,M as C,C as m,n as d}from"./index-CHAUm_f6.js";import{b as j,n as v}from"./vendor-CnQcJ2Lu.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 l={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:w}=C.getLocalizedStrings(),H=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=T(),n=x(e.fetchState);j.useEffect(()=>{n==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,n]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return i.jsx(A,{"data-testid":y("add-address-for-card-drawer"),children:i.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:l.marginTop.valuePx(s),marginBottom:l.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:w.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},A=v.div`
1
+ import{u as f,X as T,a1 as x,p as a,j as n,Y as y,iF as B,o as t,M as C,C as m,m as d}from"./index--zsAF475.js";import{b as j,n as v}from"./vendor-CnQcJ2Lu.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 p={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:l}},common:w}=C.getLocalizedStrings(),H=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=T(),i=x(e.fetchState);j.useEffect(()=>{i==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,i]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return n.jsx(A,{"data-testid":y("add-address-for-card-drawer"),children:n.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:l.addAddress,subTitleMessage:l.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:w.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},A=v.div`
2
2
  display: flex;
3
3
  background-color: ${o=>o.theme.colors.grey4};
4
4
  height: 100%;