@zeniai/web-cockpit-ui 1.15.9-qa → 1.15.10-qa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/dist/assets/{ACHDetailsPage-BVkQ4K87-SgfFBkfa.js → ACHDetailsPage-BtE9TY6d-DlXHnmZI.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BRTJZGiA-BlfIHJQn.js → AIPerformancePage-BkDJ2ST0-DdxV1FER.js} +12 -12
  3. package/dist/assets/AccountInfoPage-CTbeJLI7-YGwDUr5I.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-PRtq3bFi-BlKWioPK.js → AccountInfoPageContent-BUTcEduM-BtBtiOJ1.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BPtkVnq9-BX2jNU1X.js → AccountLockedInfoModal-v6aQO7JB-Bmx_9fRB.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-vJYKDiYF-TFHtwHwv.js → AccountReconDetailsDrawerPage-DIAg-5PN-BRImj4bT.js} +1 -1
  7. package/dist/assets/{AccountRow-DvTUqeYB-DXbzmjkX.js → AccountRow-BVKk7u7h-DE3jk17J.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-B8BaHMXs-DjcKs3mI.js → AccountsPromoCardStack-CM2kVta7-xsv0XjLY.js} +17 -17
  9. package/dist/assets/{AddAddressForCardDrawer-B7RkZqGh-DE6q0u1m.js → AddAddressForCardDrawer-DDTSYpDb-JihvzEA9.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DuHNwXF4-DiVlS_sl.js → AddToWalletPage-D2Qg0MR_-DceA0qP3.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BK1LaJ_w-BuDgqVnh.js → AgingReportsPage-_mSqD2hW-DvZz8QE2.js} +1 -1
  12. package/dist/assets/{AllUserItems-CH9ybX41-BADPu5Il.js → AllUserItems-CLsMcXeg-C_vBaRY0.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-pA0gVWwq-CEyasW1F.js → ApAgingDetailPage-BsJuvMuy-B-lDR1HA.js} +4 -4
  14. package/dist/assets/{AppBasePage-DhCn4MFY-pILsEXti.js → AppBasePage-BxGd2ny5-CWXri9Tj.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-oxbBkFJu-z9plbEIr.js → AppDrawerContent-DzQ2jw8d-D8VrXhaf.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-B2Bp687h-CncGPSV_.js → ApprovalRulesSettingsPage-6n8xLG5c-rUlBEZw-.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DDYQFnOL-DHgysqpM.js → ArAgingChart-B3T4qk8t-DC1aMv-c.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BHX3sNTi-C4G7BErc.js → ArAgingDetailPage-pdf0VjeI-DzDOnrIb.js} +5 -5
  19. package/dist/assets/{AttachmentView-BreMzQ_m-ErkVTj3O.js → AttachmentView-BJfqJ9hP-CzySTjT1.js} +1 -1
  20. package/dist/assets/{BankAccountSection-1WOCLgt5-CMcEcJjX.js → BankAccountSection-Cd_h3co--DX3-l7uu.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ddj7HexZ-BBFOC6FA.js → BankAccountWarningSection-Cz9fzMVv-C78lIrf-.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-9nczNfIe-DeGZohIZ.js → BankConnectionsSettingsPage-P-hobvq_-BzAwx3dY.js} +1 -1
  23. package/dist/assets/{BillDetailPage-NeZduyMi-WNBuOXET.js → BillDetailPage-B-_gbDGZ-B_LQVm2j.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BBTe3n92-GIfAqnDO.js → BillPayApprovalRuleDetailPage-CyoqtTu1-D_fxMPFN.js} +4 -4
  25. package/dist/assets/BillPayApprovalRulesPage-CTRvfoZN-BFmRwDAj.js +241 -0
  26. package/dist/assets/{BillPayPromoPage-DFXybg0r-EmP3q5ey.js → BillPayPromoPage-OYlocjA7-Dk_28IQs.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CP6gsxaz-DzlSl5-b.js → BillPaySetUpPage-B8_IEgff-CNh28yQl.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-D6BmklmO-qUEoMT0l.js → BillingSettingsPage-DqO-9dDI-Dn4gcjrL.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D0JHXr9f-BKJ7V9jh.js → BillsBulkReviewDrawerPage-B-nfpiM2-jLMe8utH.js} +1 -1
  30. package/dist/assets/{BoxItem-CjZDlBaw-BKi5-cXg.js → BoxItem-C-LLQ7NS-CetZc7bf.js} +5 -5
  31. package/dist/assets/{BusinessVerificationPage-cqBBWqBX-DbQ2sDxz.js → BusinessVerificationPage-BD-G0QbW-DwQy6YJY.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BFe7Gawq-BM_FTr_M.js → CardNumberSubText-CPcuTV6V-BAIo0CeO.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-4R2WSvUG-C2VkMAUw.js → CashbackDetailPage-CzEHO7NM-DUEG4moa.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DgvJC7HX-CLDnyLzu.js → ChargeCardDetailPage-DpA9C48D-DCli43eP.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-y3xkEXMi-D_v1WA0F.js → ChargeCardListPage-igseWp-z-Dd9P_YWL.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BZVA1znA-KTzgqKt2.js → ChargeCardListTable-C-nM1SEM-CwYUuouK.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DUqCYxCZ-DwiFi2F4.js → ChargeCardPaymentHistoryPage-TCuBt2Cv-DlbhZqYa.js} +13 -13
  38. package/dist/assets/{ChargeCardPromoPage-BGwXpSoW-BA6l2ILe.js → ChargeCardPromoPage-DEjWh0Ax-CKnAvVum.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-CH6gSyU_-CzfoaXrP.js → ChargeCardSetupPage-zdLpdeJV-DFnI87EV.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-B1FjTF7r-BZ4kw4nt.js → ChargeCardStatementsPage-D42XfAtE-BjUTAyJ7.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-B30gCDxH-CDMOD0d_.js → CheckDepositDrawerPage-DC1L83fB-B0xBmV3f.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CpOmWQO--DqCcIXDi.js → CollapsableReportTable-BWfFYJbH-Csx3Wpo7.js} +74 -74
  43. package/dist/assets/{CompanyOfficerDetailsSection-0lnfwwSs-CSyl5xOK.js → CompanyOfficerDetailsSection-TNyVByDX-Bd8oGVxr.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BPpSNcXb-DcbhYnV5.js → CompanyPassportCard-DjBkQwpn-BuDYLpsd.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DwNjeLgb-BPzJD0lQ.js → CompanyPassportPage-CrqL6_wm-eHOcpVG-.js} +12 -12
  46. package/dist/assets/{CompleteProfile-BPllbFai-B-tkGEmo.js → CompleteProfile-BP-MRXpZ-BsRg3cEA.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-DweZPNXH-6kuckq6s.js → ConfettiBurst-D2FdlxTA-BHxreRuI.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C_tIWYWJ-pt2X7pc8.js → CreateOrEditVendorPage-D2Cuyhtu-Bu3-s1BO.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DmYHQq7L-BNim4LCW.js → CreditCardPaymentDrawerPage-LQiWqyEO-8lUSxdSh.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DoUpgUNU-DxUj5N1k.js → CurrencySelectField-Dpcv7_rA-CvKH35Va.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-fr40BxEG-B4jh-1IJ.js → CustomerOnboardingActivationPage-BRWiLUVc-D_n61q9B.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-Dsct_2mh.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CbEuqDGK-K4oucbj-.js → CustomerOnboardingDetailPageSkeleton-D4fUQLXG-kIqkIxNG.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CNolx9VQ-dLjEu8m5.js → CustomerOnboardingNoStepsPage-CxF6ZEAa-poyeACv-.js} +2 -2
  55. package/dist/assets/{CustomerOnboardingPage-DrDjl8iB-D659DGk1.js → CustomerOnboardingPage-DKcr5stz-Bki5C5w9.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-B84wAHDe-C7FRvOhH.js +202 -0
  57. package/dist/assets/{Dashboard-C1UoKVNa-DC2cvlai.js → Dashboard-DMAOn7Hi-D-lic6Dc.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-b0pHN0Cw-DfgjzoQr.js → DashboardReportPage-UUd1-ITz-CmjHwIrB.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dql-Odcw-CfyGVT7Z.js → DashboardSidebarBackgroundAnimation-BuINHqA--Cg5tOJ8w.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-Buzx5B8J-COupFxJQ.js → DepositAccTransactionItem-BE8LeqlM-BNISEok7.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DmxWPS6J-BShEzEqo.js → DepositAccTransactionListPage-DyH-aZDX-BNK9hZEk.js} +2 -2
  62. package/dist/assets/{DomesticWireDetailsPage-o6cbscCg-Cq9KhtGZ.js → DomesticWireDetailsPage-Bk5AZOQt-5diXeWri.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CxtxqO0q-5itioc2o.js → DownloadOverlay-BOYOF8Po-Cu31pFas.js} +1 -1
  64. package/dist/assets/{DrawerPage-iKzWhzfT-Chf_FqhW.js → DrawerPage-BGGHNo0X-D8g-Zhq1.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-CjM-4H28-D9ITJt6u.js → EditPeoplePage-CEiwvizd-BZD3AgrU.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-BIPtvhlo-Gvxb4AJV.js → EditReimbursementDetailPage-DBLDLvqO-DCMCC4Ue.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-B0W-V9jY-DA6Bhv_q.js → EntityDetailPage-Cd3eku5o-BzkM9HDo.js} +2 -2
  68. package/dist/assets/{EntitySummarySection--ty3w4lI-DRA93OOU.js → EntitySummarySection-Ddaj1RmO-CgAsx02e.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-C62kbOQv-BjbMA-L8.js → ExpenseAutomationOverviewPage-B_BlqiWf-taw0ogpA.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-KMTXCmGT-BXrresZk.js → ExpenseAutomationPage-DfUf0zEN-CiL6ukAq.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DITkk_1c-CauEJYiS.js → ExpressPayPage-Da8lLZso-B2DVYVBn.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-ZSyZuPj0-CUkFMjtX.js → FeaturePreviewPage-CmrPDUFU-tUrE4OCj.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-CaSXYy6M-D3-boZB-.js → FollowStepsSection-DbxSUIzC-DnJhR0Pi.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-D1MK5CDU-0HTEtirz.js → GlobalReviewListPage-Du_3tupM-TtvcUWAH.js} +1 -1
  75. package/dist/assets/{InformationCardStack-WI0CkBUF-Co4ycsmA.js → InformationCardStack-Bx_9X95v-ReoH-Wcd.js} +3 -3
  76. package/dist/assets/{InsightsCardStack-28f145Lw-B3ZhCTKB.js → InsightsCardStack-Xn2rGwX0-C4QlW2rC.js} +1 -1
  77. package/dist/assets/{InsightsSection-iq6BFe-O-BnHn19Y4.js → InsightsSection-CwyGEE7C-BgQsSBC8.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-QfH-2B7s-COXzT6b6.js → IntegrationsSettingsPage-CEL26-eE-BidGkM4L.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-DhNqaJ-7-A2MRhwCw.js → InternationalWireSwiftDetailsPage-IUz-DwAH-xlIyq_2u.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-CRnGH05I-DYT_B8BW.js → InternationalWireVerificationPage-C66rHdsi-BnclPAnn.js} +1 -1
  81. package/dist/assets/{InviteFormPage-CZ9su_ZA-BHeHZ6zP.js → InviteFormPage-Do-6PG8h-CuaaGEub.js} +1 -1
  82. package/dist/assets/{InvitePageListView-Db5vL4dK-TzD8KLdp.js → InvitePageListView-DYKcMtIL-BfWc8uTZ.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-C7Ij2l1O-DVkG8Zhm.js → InvitePeoplePage-C2SmS7y8-DYM50qpK.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-DEchJrtp-BeGmWBpT.js → InvoiceUploadSection-rCCcSbbj-BXDZYW2T.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-DVdMjgbO-FGVLXj14.js → IssueChargeCardPage-DZvVosb3-D0tVdJ6A.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-jMXXok9a-B-jBTdWi.js → LabeledAddressValue-CAX5YTSE-zBK_OJ4a.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BMQUZAxr-BG6EpAlR.js → LabeledAddressValueField-BraOMDrG-CIfzW6iS.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-CrOtltBs-CAPrqGDH.js → LabeledControlledCheckBoxField-DBcPQa79-Dm3g8Rx5.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-uBMn5XNT-BPAecJEl.js → LabeledCountryMultiSelectField-DYid8vvM-CHu1M3vr.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BMRdFPtx-DAmcNOWB.js → LabeledCreatableSingleSelectField-DzB7KPXf-B4UxeEYu.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DtsIRcRg-tL0lm8Y3.js → LabeledDocumentField-BdQjt44W-BJ3GcTL_.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-rLwWoG-Y-Ri5zqAag.js → LabeledDropDownFormattedTextField-BheK7sFg-DRz45mr_.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-BhRoctp7-DMDimYgx.js → LabeledMultiSelectField-m2Y_IFK_-Dgpx_QwD.js} +1 -1
  94. package/dist/assets/{LabeledText-Deyr6isW-CaRSw3xA.js → LabeledText-C6M4paXi-CF38LKMP.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BQcHwjox.js → LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-bSlpKmiR.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CdAAgiie-BQ-3NTyM.js → LabeledZeniRolesDropDownField-BhNbXDjb-Dujasvos.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-A9rqpCyG-Deffg7oF.js → LinkJETransactionPage--sqluuih-wy7uGmyh.js} +2 -2
  98. package/dist/assets/{LockCardPage-CXZAffaX-C3jJ_tSh.js → LockCardPage-Bq0Tu8g8-DVKXgz4m.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BRxiaGRC-CbcRWbV8.js → LowBalancePopup-hlu_jjTZ-BtKXHVoq.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-C1pJBTPa-lXEPNfls.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-C77X02bo-2X6y-hYy.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DUHpAm8_-DdkoLfBl.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BiR4YUoK-dQlOAx7r.js → MagicLinkSuccessPage-D6ZDRs5F-Bm6H-4K4.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-euMftC6_-DZRwq-hs.js → MagicLinkTitleSection-e9WYeJQA-oFDVq4Q3.js} +1 -1
  105. package/dist/assets/MailingDetailsSection--Lx7QBGW-DZvTXReS.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-9Zw-bIsu-CncnbQjq.js → MyBankConnectionsSettingsPage-Bb7UZRJf-BUyi3j3X.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-_MhlKwOj-D2-7f_7k.js → MyPendingActivationChargeCardListPage-BToJWGM8-DpXTg4m3.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BeSze0xM-BZMV_fCt.js → MyProfileSettingsPage-CGxf42bP-BtWaSU77.js} +5 -5
  109. package/dist/assets/{NavBarWithPicker-C4ExxFQW-DpUNUrNw.js → NavBarWithPicker-DcDs1pe7-DsVVosIY.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CJOSZIEx-DK5dUJEr.js → NavigationArrow-DGSdnTKQ-DfQn-lGU.js} +1 -1
  111. package/dist/assets/{NavigationDots-DgfBVlG5-DqhfZvwQ.js → NavigationDots-BPsFQiss-DRnWaEzO.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BXTlzEbY-Cz9tPT6T.js → NewGlobalMerchantPage-od2IF__o-CtWz6efC.js} +1 -1
  113. package/dist/assets/{NoDataChart-Bwc_xftR-D-qgcUFX.js → NoDataChart-qG0jmc8Z-B_hbU-ac.js} +1 -1
  114. package/dist/assets/{NoDataTable-D_VKD0kA-ERveVpE1.js → NoDataTable-CgKT7NGU-BpL_-uTW.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CLkfFo_R-BEp1gQgC.js → NotFoundPage-CdUJ7M5p-wpuUnTnF.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-CC1kNoTw-hqt_01NH.js → NotificationSettingsPage-D1PKq-ED-DVGiVyPe.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CEDk57Lr-B-J_cnKG.js → NotificationsListConfig-Ctfr3h3b-BRM4cnLo.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DR_MVYdY-C5boX5Q7.js → NotificationsPage-_5Yn9uTy-CcENjSZ1.js} +33 -33
  119. package/dist/assets/{OpExByVendorPage-CRkTiAd5-CKtPkFYu.js → OpExByVendorPage-Dqr805s1-D2FsgjpQ.js} +5 -5
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-Bg5rDnOz.js → OverlayContainerPage-IDTUbuAC-CGGpxgsy.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BCEjC9iA-Npw1bx2K.js → PandLWithForecastPage-CQ5IMW_B-Km7grtMK.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BFcZtn5n-CrpGwq-c.js → PaymentAccountSetupBillingAddressSection-DtOeyTmL-B9kEdFki.js} +7 -7
  123. package/dist/assets/{PeoplePage-D7D1SrW0-DldOeCVT.js → PeoplePage-DEp24LGx-CtRwEShD.js} +1 -1
  124. package/dist/assets/Preview-XG6ky5VX.js +1 -0
  125. package/dist/assets/{ProductsCarousel-CSUU4sEb-22Knhlm4.js → ProductsCarousel-Dgwws_g9-CD5wt9ef.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-CSisWvqE-BUbYvyJg.js → PromoBaseCards-wfvFaqMw-C39IUX2b.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-gTTF-Gc0-BqceDGsl.js → QBOConnectionDialog-CSMrKgrY-DsO1m0F5.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-B2c7ZErC-DamTTbbL.js → QBOSetupSection--FQKYLxN-CLUWgqk6.js} +7 -7
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DRxHZeeM-emXhSVe2.js → ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-CjlYXjNP.js} +5 -5
  130. package/dist/assets/ReimbursementApprovalRulesPage-eyZWsjXs-ntYifLKs.js +243 -0
  131. package/dist/assets/{ReimbursementDetailPage-C8P6S9yn-Bthi-yUo.js → ReimbursementDetailPage-DnSo6uTd-lGWR6kLS.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-Bv6Eg8CH-DCmoEH0q.js → ReimbursementPromoPage-0st3rBmg-BNpI0vNz.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-CL1j_14z-vxHHaxQP.js → ReimbursementSetUpPage-DCMgwGAM-Ck06jKGh.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BXlm8qfr-D1fflpdV.js → ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-C4fmpZqf.js} +1 -1
  135. package/dist/assets/{ReloadCard-DQ8-0JyV-rLZlvd4j.js → ReloadCard-8Tiu9Mq9-B5a-0HR6.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-BDXux6ow-DvSJr3Tc.js → ReportTableViewSelector-BwBEG73W-CV7HMyUw.js} +7 -7
  137. package/dist/assets/{ReportsPage-fjTk3JSs-CXkvFGWI.js → ReportsPage-BxXxsNBv-BCUQ0RAm.js} +5 -5
  138. package/dist/assets/{RevenueChart-BAlErS9A-BDXs5kYE.js → RevenueChart-D13bncyo-Buwd2M8n.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CSNmpZKJ-Byn7Y-9k.js → ReviewDetailsPage-C5q0Abn_-t-fqvI1P.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-Zcv9Vljd-C5jeZB2E.js → ReviewOverlay-BNnNWFdW-idP0Dl0H.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-D4abtguM-BxLN9hbA.js → RoleWithToolTip-DvYf0VUz-CCXcCA1t.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-AzGpMIv9-AU75soRw.js → ScheduleDetailsFixedAssetsPage-DqrwF4kG-CbQilLNT.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-FXdL5BP_-BGJCtZ07.js → ScheduleDetailsPage-CH2lKmlN-BsAj8OwQ.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-D4NEi6ZW-CzO4sKar.js → ScheduleSequenceTable-BzDIvZ9H-CBGDuoMj.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-CyQkWytH.js → ScreenRoutes-COJmE7BV.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-DHNGWTAX-B_-yArLd.js → SetUpAccountSection-DOvqcC8t-DY7o_nqL.js} +1 -1
  147. package/dist/assets/{SignIn-8lCVuAse-CdYi0Nex.js → SignIn-CBRwaiPC-FsqeJ7yA.js} +12 -12
  148. package/dist/assets/SignInScreen-CFntR-Lc.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-BjdD7zHz-BZgeDSu_.js +134 -0
  150. package/dist/assets/SpendManagementPerTabPage-S5zX9fWg-D-QkrOXi.js +754 -0
  151. package/dist/assets/{SpendManagementSection-p_rbwPsi-BpX_0ctO.js → SpendManagementSection-vo9WEGWQ-DBmX8h6K.js} +1 -1
  152. package/dist/assets/{StatementItem-BrFonWga-CwSpqjfU.js → StatementItem-BxnOzchG-Jqyfs7Z-.js} +5 -5
  153. package/dist/assets/StatementsPage-0BpH6B2F-_YEmXC1o.js +58 -0
  154. package/dist/assets/{StatusSwitcher-BWCVuAz5-DU_n1tqh.js → StatusSwitcher-Cj2oyfqn-zIIV8OEL.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-W-flws9A-Bmo5NYK_.js → SubTabSwitcher-B-gfkK-k-moeS1gnJ.js} +1 -1
  156. package/dist/assets/{SummaryCard-Cy_49HY6-Bn9afv8c.js → SummaryCard-D92z4WU0-zmpilX3L.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-CgcgC28Q-CldK_hSk.js → TaskManagementPage-DND-MEly-B5dK2msu.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-xEM6Ast5-pciEx4sf.js → TimeRangeSwitcher-BCfDT5nQ-CyE38Dxo.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CJnjD8oY-m0JvecMs.js → TimeframeSwitcher-CCMyvSSI-DstqujKu.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CTsXGTZM-wzdovBsR.js → TimeframeSwitcherWithToggle-Di1hQ-WC-BER3YD8I.js} +2 -2
  161. package/dist/assets/{TopExCard-CK7rIKlo-CZ1XR3M8.js → TopExCard-B4CpuO-v-K-hQswGF.js} +3 -3
  162. package/dist/assets/{TopExDetailPage-Dc310wcN-q0tmqmXu.js → TopExDetailPage-BWdJnu-c-jydYbyNX.js} +6 -6
  163. package/dist/assets/{TransactionDetailPage-BsSYhKxb-DfZgD0bh.js → TransactionDetailPage-CL_VbaJy-uSq6HmXp.js} +1 -1
  164. package/dist/assets/{TransactionList-CKgtf7lj-CfB35YgD.js → TransactionList-CSfzB0gM-BBDl0CVZ.js} +6 -6
  165. package/dist/assets/{TransactionListBig-DY6b3Ezl-DAeI5BL3.js → TransactionListBig-Dkdt0pvn-Dkg0pG-j.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CDc30p4A-Dig9gHS9.js → TransactionListPage-DBAqpKkc-WPXU9uRR.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-Ca8K8WSI-BDH7piKy.js → TransactionVendorDetailPage-BPb6IGMd-DsSYdwld.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-xTOs2aDo-DOshulcc.js → TransferDrawerPage-oyNu_G0D-BGNoYXDH.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CnJn5fQJ-CY00qxhF.js → TreasuryOverviewPage-DIPEykKC-WU-gNw4W.js} +9 -9
  170. package/dist/assets/{TreasuryPromoPage-PW6ExJSX-CLdPTDPY.js → TreasuryPromoPage-wmxtzW1N-BRuIoreO.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-Dh5jSrh1-BazpK2mL.js → TreasuryStatementsPage-vHS-mb3R-Bz0qtPhg.js} +2 -2
  172. package/dist/assets/{TreasuryTaxLetterPage-K4MAoNHw-C5ctj-NF.js → TreasuryTaxLetterPage-3fiYxv2D-DzI3SHjy.js} +1 -1
  173. package/dist/assets/{TrendChart-DGkb9XC6-BiTtDB25.js → TrendChart-dVd4QdGQ-BJjG22Ov.js} +2 -2
  174. package/dist/assets/{TrendWithTransactions-BhIw1vzx-DGilF8Kv.js → TrendWithTransactions-zZUv_Qrs-BCC3U8tC.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-U-ABmUHs-Bu1K_6ht.js → UncategorizedAccountsMappingPage-CcyG64pA-DuQQVPLE.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-XOk1iw8U-BvaABeVm.js → UnitIntegrationPage-BL6g4XY0-DjP1Ctgu.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-ucIA0by--Dh8yhyNi.js → UploadAdditionalDocumentOverlay-CBg0WhaZ-DBuHt0rj.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-CNfFCjsZ-CtJBdZvo.js → Vendor2FAPopup-CF5AV8a5-BShWHZIx.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-B_wVoMw5-DCiPWwWE.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DRLUdE3F-uwBUzPQU.js → VendorDetailPage-C168zV-E-DIP_aGAZ.js} +1 -1
  181. package/dist/assets/VendorDomesticWireDetailsPage-cAu_hGIj-D8-MuSlB.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Yq4XoFtd-DCiYH_-5.js → VendorFiling1099EditablePage-DVrk7af6-DDztFsX5.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-BTFeQPW6-Bwm8wZ24.js → VendorFirstReviewPage-kiMBuYID-OfVFvljK.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CdXjkgWl-BJgq7bZI.js → VendorInternationalWireDetailsPage-CtGJurq9-BDxbxP3S.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-CGyz_V8v.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-CIZ6amoh-BsEqrgh3.js → VendorsAccountsSection-B9Ik1T2V-DqGOolpT.js} +1 -1
  187. package/dist/assets/{VerifyDevice-BLi9cbRT-0yk5vX4R.js → VerifyDevice-DfX9VA7b-VUfmXFaX.js} +9 -9
  188. package/dist/assets/{VideoPlayer-BDCZd8K1-CLeLtKtH.js → VideoPlayer-_FcQClfH-CRE4D3aI.js} +2 -2
  189. package/dist/assets/{VideoPopup-Cni9gWLX-D0Mhgm6K.js → VideoPopup-D0XTfD6q-qtGSnice.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-DO3TH_cI-BVq2gxQa.js → WarningsDrawerPage-DIwWkX4B-3NfFweDe.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CBbqwtvo-VrafrFeQ.js → ZeniAccountDetailPage-mo0trXHB-DYo24dJH.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-bS_K_U_k-EccBP6DV.js → ZeniAccountListViewPage-CVzyx1Sx-Dq_Wq9hu.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-D4Nhv6iC-CrBTiKfL.js → ZeniAccountNavBarPieces-CbXVnnp9-B-qIpckN.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-C40ORHL2-RBDRZ1FL.js → ZeniAccountPromoPage-gZMYr_Ux-8GrkVROm.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DfGwW1gJ-B7yg1oCT.js → ZeniAccountSetupPage-DPOLAjZV-Dw8Ao_So.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-D_tc-vwm-Bzg_GSnk.js → ZeniCopyright-BDUQdaKP-1S-2nFq7.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CwO6861o-CW51Mft1.js → ZeniTransferAmountSlider-B-nq8t_K-D2lG7qBv.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DMQostt2.js → add-to-wallet-DgdBD8_G-BBEivBdQ.js} +1 -1
  199. package/dist/assets/{analytics-YsywGP0I.js → analytics-DO1unY4G.js} +1 -1
  200. package/dist/assets/{analyticsHelper-Bv2VSRHR-BnRgn0T8.js → analyticsHelper-7cF4XxuH-DLvrIzdF.js} +1 -1
  201. package/dist/assets/{analyticsHelper-D4Wjjdfi.js → analyticsHelper-Ecsp3tOS.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-BwMp8Z1R.js → arrow-south-east-round-PEovUgvH-CV7FSM6U.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CCCTiB9K.js → auto-transfer-rule-mbafm5D3-CJUhOMj-.js} +1 -1
  204. package/dist/assets/{chartTypes-CiiHHtlc-BceiZcWQ.js → chartTypes-DjzTOuyH--xZuCRkY.js} +1 -1
  205. package/dist/assets/{commonDimensions-B94VpAp0-CFWStpHz.js → commonDimensions-CtIrih5r-B1EQ7y18.js} +1 -1
  206. package/dist/assets/{commonTypes-CG4vvGyc-CQlrewnq.js → commonTypes-9h2Y-L4i-BZ0UmTpg.js} +1 -1
  207. package/dist/assets/{constants-D9J3MLx1.js → constants-pYZADjo8.js} +1 -1
  208. package/dist/assets/{core-mVc5WAnu.js → core-B9Znwqny.js} +1 -1
  209. package/dist/assets/{dash.all.min-DEG4Ymx5.js → dash.all.min-CS5kHJkT.js} +1 -1
  210. package/dist/assets/{detailCommon-D84jR8Js-CTHSOXR4.js → detailCommon-CEOeZl26-B1iXLHB6.js} +6 -6
  211. package/dist/assets/{downloadPdf-CU0hwe3m-C2xfKmu7.js → downloadPdf-Pyk_BhF7-DBVN6DcC.js} +1 -1
  212. package/dist/assets/{empty-5WWfUuj_.js → empty-ChJVx-YB.js} +1 -1
  213. package/dist/assets/{empty-DgV33Jfm.js → empty-CpGZk5F5.js} +1 -1
  214. package/dist/assets/{epic-BDbWyMmO.js → epic-C_GKKQik.js} +2 -2
  215. package/dist/assets/{gift-box-Cmt9OgIZ-DkfKk8Ub.js → gift-box-Cmt9OgIZ-DNEMczKk.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdD14QZ1.js → graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js → graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BtKj2QSx.js → handshake-BPg58FML-C6X_P0qB.js} +1 -1
  219. package/dist/assets/{index-DfP1TP46.js → index-1k0W8uO3.js} +1 -1
  220. package/dist/assets/{index-DBHzoy-Y.js → index-BFgzVTwo.js} +1 -1
  221. package/dist/assets/{index-B0WS5HXc.js → index-CPEwTrV2.js} +1 -1
  222. package/dist/assets/{index-0lgepYHN.js → index-CfJ2tiIp.js} +1 -1
  223. package/dist/assets/{index-CbMlqZJL.js → index-DYltSVfB.js} +8 -8
  224. package/dist/assets/{index-CneahQyi.js → index-DpdT_X0L.js} +1 -1
  225. package/dist/assets/{index-s8Qql19x.js → index-POT-Iy9l.js} +1 -1
  226. package/dist/assets/{lexical-D1NyDz9G.js → lexical-DSIpBzCF.js} +1 -1
  227. package/dist/assets/{liveblocks-D8QW-YrN.js → liveblocks-BqcT5iTZ.js} +1 -1
  228. package/dist/assets/{lottie-CoVfqInY.js → lottie-oQfNS8l-.js} +2 -2
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-dE6c_J7g-DRGh--_p.js → mapLoadingInProgressToTreeNode-DoHalh0I-gsXyYQpy.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BltZX7La.js → mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BMuLdMWD.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-Di-_Qhw7-8iQraUSQ.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-BaIl_VbE-BRXeEdrt.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-mMtwXmJx-CXxOT-wX.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-CokBxGSp.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-Dre2GwgF.js} +1 -1
  235. package/dist/assets/{mui-C_Pjuwl5.js → mui-DqYnCiYu.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-CwgQ04Z1.js → page-detail-CWX5S47F-C4YmGfRe.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-DOAN6MGR.js → radio-default-CiSgisfh-C5tnzklf.js} +1 -1
  238. package/dist/assets/{react-UmTxIL5W.js → react-B-LXbQdG.js} +2 -2
  239. package/dist/assets/{react-B4qkP2kJ.js → react-BPazyT0C.js} +1 -1
  240. package/dist/assets/{react-B1uWJZNI.js → react-Bu5BHG8O.js} +2 -2
  241. package/dist/assets/{react-COMbZ_ke.js → react-CBiOQOL3.js} +2 -2
  242. package/dist/assets/{react-CYpEpWLK.js → react-D2eQzOPv.js} +1 -1
  243. package/dist/assets/{react-CzW7TnV7.js → react-DEOv3QaS.js} +3 -3
  244. package/dist/assets/{react-Dk6KMPxp.js → react-DbRD5tNt.js} +2 -2
  245. package/dist/assets/{react-VqVdlbBp.js → react-xLrt57tQ.js} +3 -3
  246. package/dist/assets/{recharts-BGj_NTVO.js → recharts-D7E0WJGk.js} +1 -1
  247. package/dist/assets/{sentry-CTKU7CLc.js → sentry-DgGQRl6g.js} +2 -2
  248. package/dist/assets/{shield-DOlUxcFf-Chnu35pG.js → shield-DOlUxcFf-DK1OxwF6.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-CjVmQxAs-DiJZXqdL.js +1 -0
  250. package/dist/assets/{toChartData-DShY1WZ8-BtWP9JGp.js → toChartData-BFuIgA2L-BBySQ0d2.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DKMAkDBt-1eSurov4.js → uploadAttachment-ux9baWqa-G8p-50iG.js} +1 -1
  252. package/dist/assets/{uploadReceipts-DJRtId-4-Bx6imcs4.js → uploadReceipts-DJRtId-4-Ck-2fUTH.js} +1 -1
  253. package/dist/assets/{url-QugEHHKq.js → url-CW650CMO.js} +1 -1
  254. package/dist/assets/{url-CQ0hVJlH.js → url-DxcM52GB.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-B-Cv7oJI.js → useLongPress-GCK2COYQ-D9KvmRO7.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-DQyOXy13.js → usp-line-BBd1wKwW-EmNWFdhU.js} +1 -1
  257. package/dist/assets/{utils-DJxCyxGL.js → utils-C_quS4m3.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Cl3KIlic.js → zeni-epic-state-WWg2r7iB.js} +31 -31
  259. package/dist/index.html +1 -1
  260. package/package.json +3 -3
  261. package/dist/assets/AccountInfoPage-5HB6qYYU-DBuMio-I.js +0 -18
  262. package/dist/assets/BillPayApprovalRulesPage-Blk0_0Ou-Vz7KL5CM.js +0 -241
  263. package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-CNMBm1Jt.js +0 -1
  264. package/dist/assets/CustomerOnboardingProductSuitePage-CE2ztcG2-CnIFTjMK.js +0 -202
  265. package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-CBtL3SpB.js +0 -1
  266. package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-ByEZjWj2.js +0 -1
  267. package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-B5dWg1JS.js +0 -1
  268. package/dist/assets/MailingDetailsSection-B8g--tZ7-D8qLyVm2.js +0 -21
  269. package/dist/assets/Preview-o2DriYSg.js +0 -1
  270. package/dist/assets/ReimbursementApprovalRulesPage-CA54CNCd-BPtsXjVT.js +0 -243
  271. package/dist/assets/SignInScreen-CBgEATnM.js +0 -1
  272. package/dist/assets/SpendManagementListViewPage-D0iaA1Tz-DaDudhkW.js +0 -134
  273. package/dist/assets/SpendManagementPerTabPage-NhC0DYPW-C0zqT31U.js +0 -785
  274. package/dist/assets/StatementsPage-1LjLplay-DZgBkWWL.js +0 -58
  275. package/dist/assets/VendorACHDetailsPage-DbsvUZbM-gpcw0ZX7.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-n6yvbPjK.js +0 -1
  277. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-DJNCoIvn.js +0 -1
  278. package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-BG1WraRD.js +0 -1
  279. package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-CD4nifmO.js +0 -1
  280. package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-F1-aN1ul.js +0 -1
  281. package/dist/assets/toCOABalancesWithID-RFiSMP1Z-dZgyfmm-.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Q as E,a9 as W,F as w,cE as _,V as n,co as V,cp as H,cq as F,ac as O,aR as U,y as r,eU as q,b7 as G,o as J,u as t}from"./index-CbMlqZJL.js";import{a as x}from"./sentry-CTKU7CLc.js";import{n as u}from"./mui-C_Pjuwl5.js";import{W as Q,A as K}from"./BankAccountWarningSection-Ddj7HexZ-BBFOC6FA.js";import{M as X}from"./MagicLinkTitleSection-euMftC6_-DZRwq-hs.js";import{e as Y}from"./BankAccountSection-1WOCLgt5-CMcEcJjX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b27ad913-2053-4919-86bb-613a6ad542d0",e._sentryDebugIdIdentifier="sentry-dbid-b27ad913-2053-4919-86bb-613a6ad542d0")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",f="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:j,isMagicLink:m,companyName:v,currencySymbol:D,amount:P,bankAccountContext:$})=>{const c=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(o),[o])}),[z,b]=x.useState(!1),d=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=d,I={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},L=async(p,l)=>{const s=l[f].bankRoutingNumber;N(l),p===`${f}.bankRoutingNumber`&&s?.length===9&&q.test(s)===!0&&j?.(s)};x.useEffect(()=>{const p=i.watch((l,{name:s})=>{s!=null&&l!=null&&_(()=>L(s,l))});return()=>{p.unsubscribe()}});const M=i.handleSubmit(p=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:c,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:d.discardTitle}),descriptionComponent:n.jsx(H,{children:d.discardDescription}),primaryButtonText:d.discard,secondaryButtonText:d.cancel,action:I}):null,n.jsx(Q,{header:m?n.jsx(X,{companyName:v??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(K,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:c,children:n.jsx(Y,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:f,isDisabled:k})})})})})]}),n.jsx(U,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Z=e=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
1
+ import{Q as E,a9 as W,F as w,cE as _,V as n,co as V,cp as H,cq as F,ac as O,aR as U,y as r,eU as q,b7 as G,o as J,u as t}from"./index-DYltSVfB.js";import{a as x}from"./sentry-DgGQRl6g.js";import{n as u}from"./mui-DqYnCiYu.js";import{W as Q,A as K}from"./BankAccountWarningSection-Cz9fzMVv-C78lIrf-.js";import{M as X}from"./MagicLinkTitleSection-e9WYeJQA-oFDVq4Q3.js";import{e as Y}from"./BankAccountSection-Cd_h3co--DX3-l7uu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="df1732d0-cbb8-4093-9b90-73668bc88b14",e._sentryDebugIdIdentifier="sentry-dbid-df1732d0-cbb8-4093-9b90-73668bc88b14")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:j,isMagicLink:m,companyName:v,currencySymbol:D,amount:P,bankAccountContext:$})=>{const c=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(o),[o])}),[z,b]=x.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,I={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},L=async(f,d)=>{const s=d[p].bankRoutingNumber;N(d),f===`${p}.bankRoutingNumber`&&s?.length===9&&q.test(s)===!0&&j?.(s)};x.useEffect(()=>{const f=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>L(s,d))});return()=>{f.unsubscribe()}});const M=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:c,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:l.discardTitle}),descriptionComponent:n.jsx(H,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:I}):null,n.jsx(Q,{header:m?n.jsx(X,{companyName:v??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(K,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:c,children:n.jsx(Y,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(U,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Z=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.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{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b as D,cj as b1,kc as T,u as n,bO as f,dr as h1,p as d,a7 as S1,b3 as p1,g as m1,kd as g,ai as x,ke as Z1,kf as B1,ar as S,M as J,b7 as Y,am as F1,kg as W1,dM as _1,g0 as D1,ch as u1,al as H1}from"./index-CbMlqZJL.js";import{a as e}from"./sentry-CTKU7CLc.js";import{n as o,c as P1,k as T1}from"./mui-C_Pjuwl5.js";import{Gf as E,Gg as e1,Gh as F}from"./zeni-epic-state-Cl3KIlic.js";import{R as V1}from"./NavBarWithPicker-C4ExxFQW-DpUNUrNw.js";import{F as k1,X as x1,Y as I,I as z1,J as G1,G as t1}from"./recharts-BGj_NTVO.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="63e0a079-c22e-4387-953b-b1da1fbc4b2c",t._sentryDebugIdIdentifier="sentry-dbid-63e0a079-c22e-4387-953b-b1da1fbc4b2c")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},O1=o.div`
1
+ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b as D,cj as b1,kc as T,u as n,bO as g,dr as h1,p as d,a7 as S1,b3 as p1,g as m1,kd as f,ai as x,ke as Z1,kf as B1,ar as S,M as J,b7 as Y,am as F1,kg as W1,dM as _1,g0 as D1,ch as u1,al as H1}from"./index-DYltSVfB.js";import{a as e}from"./sentry-DgGQRl6g.js";import{n as o,c as P1,k as T1}from"./mui-DqYnCiYu.js";import{Gf as E,Gg as e1,Gh as F}from"./zeni-epic-state-WWg2r7iB.js";import{R as V1}from"./NavBarWithPicker-DcDs1pe7-DsVVosIY.js";import{F as k1,X as x1,Y as I,I as z1,J as G1,G as t1}from"./recharts-D7E0WJGk.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="5c2adf09-6df5-4a89-99d6-e4c505456d6f",t._sentryDebugIdIdentifier="sentry-dbid-5c2adf09-6df5-4a89-99d6-e4c505456d6f")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},O1=o.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${t=>t.theme.colors.grey3};
@@ -17,7 +17,7 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  gap: ${r.sp2};
20
- `,A1=({customStyle:t})=>{const a=M();return C.jsx(O1,{style:t,children:C.jsxs(R1,{children:[C.jsxs(N1,{children:[C.jsx(f,{width:C1.titleLoaderWidth.value(a),height:n[4]}),C.jsx(f,{width:C1.subtitleLoaderWidth.value(a),height:21})]}),C.jsx(f,{width:n[7],height:n[4]})]})})},I1=o.div`
20
+ `,A1=({customStyle:t})=>{const a=M();return C.jsx(O1,{style:t,children:C.jsxs(R1,{children:[C.jsxs(N1,{children:[C.jsx(g,{width:C1.titleLoaderWidth.value(a),height:n[4]}),C.jsx(g,{width:C1.subtitleLoaderWidth.value(a),height:21})]}),C.jsx(g,{width:n[7],height:n[4]})]})})},I1=o.div`
21
21
  display: flex;
22
22
  justify-content: space-between;
23
23
  // min-width: calc(${r.sp12} + ${r.sp12});
@@ -32,7 +32,7 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
32
32
  display: flex;
33
33
  flex-direction: column;
34
34
  gap: ${r.sp2};
35
- `,r1=({customStyle:t})=>C.jsxs(I1,{style:{...t},children:[C.jsxs(U1,{children:[C.jsx(f,{width:150,height:24}),C.jsx(f,{width:245,height:21})]}),C.jsx(h1,{width:32,height:32})]}),K1=o.div`
35
+ `,r1=({customStyle:t})=>C.jsxs(I1,{style:{...t},children:[C.jsxs(U1,{children:[C.jsx(g,{width:150,height:24}),C.jsx(g,{width:245,height:21})]}),C.jsx(h1,{width:32,height:32})]}),K1=o.div`
36
36
  width: 100%;
37
37
  border: 1px solid ${t=>t.theme.colors.grey3};
38
38
  border-radius: ${r.sp2};
@@ -70,7 +70,7 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  gap: ${r.sp1};
73
- `,t2=({customStyle:t})=>C.jsxs(K1,{style:t,children:[C.jsx(J1,{children:C.jsxs(Y1,{children:[C.jsx(f,{width:180,height:n[4]}),C.jsx(f,{width:300,height:21})]})}),C.jsx(X1,{children:[...Array(3)].map((a,s)=>C.jsxs(Q1,{children:[C.jsxs(q1,{children:[C.jsx(h1,{width:n[6],height:n[6]}),C.jsxs(e2,{children:[C.jsx(f,{width:120,height:18}),C.jsx(f,{width:n[11],height:n[3]})]})]}),C.jsx(f,{width:n[11],height:18}),C.jsx(f,{width:n[11],height:18})]},s))})]}),C2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},r2=o.div`
73
+ `,t2=({customStyle:t})=>C.jsxs(K1,{style:t,children:[C.jsx(J1,{children:C.jsxs(Y1,{children:[C.jsx(g,{width:180,height:n[4]}),C.jsx(g,{width:300,height:21})]})}),C.jsx(X1,{children:[...Array(3)].map((a,s)=>C.jsxs(Q1,{children:[C.jsxs(q1,{children:[C.jsx(h1,{width:n[6],height:n[6]}),C.jsxs(e2,{children:[C.jsx(g,{width:120,height:18}),C.jsx(g,{width:n[11],height:n[3]})]})]}),C.jsx(g,{width:n[11],height:18}),C.jsx(g,{width:n[11],height:18})]},s))})]}),C2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},r2=o.div`
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  margin-left: ${t=>C2.containerMarginLeft.valuePx(t.windowSize)};
@@ -120,12 +120,12 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
120
120
  border-radius: ${r.sp2};
121
121
  box-shadow: ${d.Elevation1Light};
122
122
  padding: ${r.sp4};
123
- `,g2=o.div`
123
+ `,f2=o.div`
124
124
  display: flex;
125
125
  flex-direction: column;
126
126
  gap: 8px;
127
127
  width: 100%;
128
- `,f2=o.div`
128
+ `,g2=o.div`
129
129
  display: flex;
130
130
  flex-direction: row;
131
131
  align-items: center;
@@ -175,7 +175,7 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
175
175
  color: ${t=>t.theme.colors.brandColorJadeDark};
176
176
  `,Z2=o(x)`
177
177
  color: ${t=>t.theme.colors.hero};
178
- `;function B2({icon:t,title:a,data:s,currency:i}){return C.jsxs(g2,{children:[C.jsxs(f2,{children:[C.jsx(L2,{children:t}),C.jsx(E2,{children:C.jsx(w2,{children:a})})]}),C.jsx(d2,{}),s.map(l=>C.jsx(a2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:i},l.eventName))]})}const F2=t=>{switch(t){case g.aiPerformanceDashboard.personas.personaTypes.aiBookkeeper:return C.jsx(G,{});case g.aiPerformanceDashboard.personas.personaTypes.aiCardsAgent:return C.jsx(y2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiBillsAgent:return C.jsx(j2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiExpensesAgent:return C.jsx($2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiBankingAgent:return C.jsx(v2,{});case g.aiPerformanceDashboard.personas.personaTypes.accountant:return C.jsx(G,{});case g.aiPerformanceDashboard.personas.personaTypes.aiCfo:return C.jsx(M2,{});default:return C.jsx(G,{})}};function W2({personas:t,currency:a}){return C.jsxs(x2,{children:[C.jsxs(b2,{children:[C.jsx(S2,{children:g.aiPerformanceDashboard.tileTitle}),C.jsx(Z2,{children:g.aiPerformanceDashboard.tileSubtitle})]}),t.map(s=>C.jsx(B2,{icon:F2(s.personaType),title:s.personaName,data:s.eventGroups,currency:a},s.personaName))]})}const _2=o.div`
178
+ `;function B2({icon:t,title:a,data:s,currency:i}){return C.jsxs(f2,{children:[C.jsxs(g2,{children:[C.jsx(L2,{children:t}),C.jsx(E2,{children:C.jsx(w2,{children:a})})]}),C.jsx(d2,{}),s.map(l=>C.jsx(a2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:i},l.eventName))]})}const F2=t=>{switch(t){case f.aiPerformanceDashboard.personas.personaTypes.aiBookkeeper:return C.jsx(G,{});case f.aiPerformanceDashboard.personas.personaTypes.aiCardsAgent:return C.jsx(y2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiBillsAgent:return C.jsx(j2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiExpensesAgent:return C.jsx($2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiBankingAgent:return C.jsx(v2,{});case f.aiPerformanceDashboard.personas.personaTypes.accountant:return C.jsx(G,{});case f.aiPerformanceDashboard.personas.personaTypes.aiCfo:return C.jsx(M2,{});default:return C.jsx(G,{})}};function W2({personas:t,currency:a}){return C.jsxs(x2,{children:[C.jsxs(b2,{children:[C.jsx(S2,{children:f.aiPerformanceDashboard.tileTitle}),C.jsx(Z2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),t.map(s=>C.jsx(B2,{icon:F2(s.personaType),title:s.personaName,data:s.eventGroups,currency:a},s.personaName))]})}const _2=o.div`
179
179
  display: flex;
180
180
  flex-direction: column;
181
181
  justify-content: space-between;
@@ -315,7 +315,7 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
315
315
  display: flex;
316
316
  align-items: center;
317
317
  justify-content: center;
318
- `,d3=o(r3)``;function c3(){return C.jsxs(o3,{children:[C.jsxs(i3,{children:[C.jsx(n3,{children:g.aiPerformanceDashboard.tileTitle}),C.jsx(a3,{children:g.aiPerformanceDashboard.tileSubtitle})]}),C.jsx(l3,{children:C.jsx(d3,{})}),C.jsx(s3,{children:g.aiPerformanceDashboard.noPerformanceData.firstLine})]})}const h3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#545B5C"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_4410)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_4410)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_4410",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_4410",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})))),p3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#D4DCDD"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_1630)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_1630)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_1630",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_1630",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})))),m3=o.div`
318
+ `,d3=o(r3)``;function c3(){return C.jsxs(o3,{children:[C.jsxs(i3,{children:[C.jsx(n3,{children:f.aiPerformanceDashboard.tileTitle}),C.jsx(a3,{children:f.aiPerformanceDashboard.tileSubtitle})]}),C.jsx(l3,{children:C.jsx(d3,{})}),C.jsx(s3,{children:f.aiPerformanceDashboard.noPerformanceData.firstLine})]})}const h3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#545B5C"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_4410)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_4410)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_4410",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_4410",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})))),p3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#D4DCDD"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_1630)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_1630)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_1630",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_1630",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})))),m3=o.div`
319
319
  position: relative;
320
320
  width: 100%;
321
321
  height: 100%;
@@ -337,12 +337,12 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
337
337
  position: relative;
338
338
  width: 100%;
339
339
  height: calc(100% - 52px);
340
- `,g3=o.div`
340
+ `,f3=o.div`
341
341
  position: absolute;
342
342
  width: 100%;
343
343
  height: 100%;
344
344
  bottom: 0;
345
- `,f3=o(p3)`
345
+ `,g3=o(p3)`
346
346
  position: absolute;
347
347
  margin: auto;
348
348
  bottom: ${r.sp5};
@@ -350,7 +350,7 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
350
350
  position: absolute;
351
351
  margin: auto;
352
352
  bottom: ${r.sp5};
353
- `;function E3(t,a){const s=new Date(`${t}-01`),i=new Date(`${a}-01`),l=[];for(;s<=i;){const c=s.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),s.setMonth(s.getMonth()+1)}return l}function w3({selectedTimeSeries:t}){const{dark:a}=S1(),s=M(),i=E3(t.fromMonth,t.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return C.jsxs(m3,{windowSize:s,children:[C.jsx(u3,{children:C.jsx(k3,{children:l.chartTitle})}),C.jsxs(x3,{children:[a?C.jsx(L3,{}):C.jsx(f3,{}),C.jsx(g3,{children:C.jsx(p1,{children:({width:c,height:h})=>C.jsxs(k1,{width:c,height:h,data:i,margin:{top:10,right:30,left:0,bottom:0},children:[C.jsx(x1,{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,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(I,{hide:!0})]})})})]})]})}const M3=1.2,y3={headerGap:new u(n[3],n[3],n[1],n[1],n[1])},j3=o.div`
353
+ `;function E3(t,a){const s=new Date(`${t}-01`),i=new Date(`${a}-01`),l=[];for(;s<=i;){const c=s.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),s.setMonth(s.getMonth()+1)}return l}function w3({selectedTimeSeries:t}){const{dark:a}=S1(),s=M(),i=E3(t.fromMonth,t.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return C.jsxs(m3,{windowSize:s,children:[C.jsx(u3,{children:C.jsx(k3,{children:l.chartTitle})}),C.jsxs(x3,{children:[a?C.jsx(L3,{}):C.jsx(g3,{}),C.jsx(f3,{children:C.jsx(p1,{children:({width:c,height:h})=>C.jsxs(k1,{width:c,height:h,data:i,margin:{top:10,right:30,left:0,bottom:0},children:[C.jsx(x1,{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,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(I,{hide:!0})]})})})]})]})}const M3=1.2,y3={headerGap:new u(n[3],n[3],n[1],n[1],n[1])},j3=o.div`
354
354
  width: 192px;
355
355
  background-color: ${t=>t.theme.colors.black};
356
356
  border-radius: ${r.sp1};
@@ -536,4 +536,4 @@ import{y as u,a8 as y1,Q as M,F as j,cc as j1,V as C,bS as $1,o as r,aP as v1,b
536
536
  &:hover {
537
537
  color: ${t=>t.theme.colors.primary};
538
538
  }
539
- `,i4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function g4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:i,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[k,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,X]=e.useState(E(w)),[Z,Q]=e.useState(w),[g1,f1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",L=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{$("home"),i(E(Z).fromMonth,E(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[t.fetchState,y]),e.useEffect(()=>{const m=()=>{f1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(C4,{"data-testid":`${v1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),s(E(w).fromMonth,E(w).toMonth),Q(w),X(E(w))},children:C.jsx($1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(o4,{spinning:b&&k})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${i4(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),Q(F(m)),X(E(F(m))),i(E(F(m)).fromMonth,E(F(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:E1},q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(Y3,{children:[C.jsx(J3,{isScrolled:g1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(V1,{...w1})}),C.jsxs(X3,{windowSize:h,children:[C.jsxs(Q3,{windowSize:h,children:[C.jsxs(e4,{windowSize:h,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(i1,{type:"cost",value:L?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:L}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(i1,{type:"time",value:L?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():q.toLocaleString(),currency:t.currency,noData:L,timeUnit:L?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(t4,{windowSize:h,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):L?C.jsx(w3,{selectedTimeSeries:P}):C.jsx(H3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:h,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:h,children:L||t.personas.length===0?C.jsx(c3,{}):C.jsx(W2,{personas:t.personas,currency:t.currency})}),C.jsxs(q3,{windowSize:h,children:[C.jsx(U3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L}),C.jsx(C3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L})]})]})]})]})}export{g4 as default,K3 as navBarHeight};
539
+ `,i4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function f4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:i,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[k,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,X]=e.useState(E(w)),[Z,Q]=e.useState(w),[f1,g1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",L=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{$("home"),i(E(Z).fromMonth,E(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[t.fetchState,y]),e.useEffect(()=>{const m=()=>{g1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(C4,{"data-testid":`${v1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),s(E(w).fromMonth,E(w).toMonth),Q(w),X(E(w))},children:C.jsx($1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(o4,{spinning:b&&k})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${i4(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),Q(F(m)),X(E(F(m))),i(E(F(m)).fromMonth,E(F(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:E1},q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(Y3,{children:[C.jsx(J3,{isScrolled:f1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(V1,{...w1})}),C.jsxs(X3,{windowSize:h,children:[C.jsxs(Q3,{windowSize:h,children:[C.jsxs(e4,{windowSize:h,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(i1,{type:"cost",value:L?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:L}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(i1,{type:"time",value:L?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():q.toLocaleString(),currency:t.currency,noData:L,timeUnit:L?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(t4,{windowSize:h,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):L?C.jsx(w3,{selectedTimeSeries:P}):C.jsx(H3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:h,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:h,children:L||t.personas.length===0?C.jsx(c3,{}):C.jsx(W2,{personas:t.personas,currency:t.currency})}),C.jsxs(q3,{windowSize:h,children:[C.jsx(U3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L}),C.jsx(C3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L})]})]})]})]})}export{f4 as default,K3 as navBarHeight};
@@ -0,0 +1,18 @@
1
+ import{g as y,Q as x,V as t,gO as b,o as a,y as d,hA as D,u as i}from"./index-DYltSVfB.js";import{a as $}from"./sentry-DgGQRl6g.js";import{n as o}from"./mui-DqYnCiYu.js";import{K as A}from"./StatusSwitcher-Cj2oyfqn-zIIV8OEL.js";import{r as P}from"./AccountInfoPageContent-BUTcEduM-BtBtiOJ1.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./downloadPdf-Pyk_BhF7-DBVN6DcC.js";import"./commonDimensions-CtIrih5r-B1EQ7y18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1ff8d2a4-6870-4e60-91c7-d686eb47b4df",e._sentryDebugIdIdentifier="sentry-dbid-1ff8d2a4-6870-4e60-91c7-d686eb47b4df")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},q=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:r,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:u})=>{const p=y(),l=x(),[c,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(v,{windowSize:l,children:r.accountName}),t.jsx(S,{children:t.jsx(A,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(z,{windowSize:l,children:t.jsx(P,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:c,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:r})})]})},z=o.div`
2
+ padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
+ padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
+ `,T=o.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ background-color: ${e=>e.theme.colors.grey4};
8
+ overflow-x: hidden;
9
+ height: 100%;
10
+ width: 100%;
11
+ `,v=o(D)`
12
+ color: ${e=>e.theme.colors.primary};
13
+ padding: ${a.sp3} ${a.sp0};
14
+ margin: ${e=>`${a.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
+ `,S=o.div`
16
+ display: flex;
17
+ justify-content: flex-start;
18
+ `;export{q as default};
@@ -1,4 +1,4 @@
1
- import{Q as je,gY as Ae,hB as J,V as r,bS as z,T as Se,aP as L,o as a,b7 as Te,F as ve,c2 as De,p as E,ai as re,e as Ce,g$ as ze,al as ae}from"./index-CbMlqZJL.js";import{a as s}from"./sentry-CTKU7CLc.js";import{n as t}from"./mui-C_Pjuwl5.js";import{w as Le}from"./downloadPdf-CU0hwe3m-C2xfKmu7.js";import{o as _e}from"./commonDimensions-B94VpAp0-CFWStpHz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="109ca1e4-1d35-407c-8afe-6a0dee23d93f",e._sentryDebugIdIdentifier="sentry-dbid-109ca1e4-1d35-407c-8afe-6a0dee23d93f")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:Y}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:m,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,Q]=s.useState(!1),[w,R]=s.useState(!1),[j,B]=s.useState(!1),[A,V]=s.useState(!1),[S,q]=s.useState(!1),[T,F]=s.useState(!1),[v,O]=s.useState(!1),[$,U]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=J(u.zeniAccountsConfigDetail.mailingAddress).text2,p=J(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{Q(!1),F(!1),O(!1),U(!1),q(!1),V(!1),B(!1),R(!1)},1200)},[h,T,v,$,S,A,j,w]);const G=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":me(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
1
+ import{Q as je,gY as Ae,hB as J,V as r,bS as z,T as Se,aP as L,o as a,b7 as Te,F as ve,c2 as De,p as E,ai as re,e as Ce,g$ as ze,al as ae}from"./index-DYltSVfB.js";import{a as s}from"./sentry-DgGQRl6g.js";import{n as t}from"./mui-DqYnCiYu.js";import{w as Le}from"./downloadPdf-Pyk_BhF7-DBVN6DcC.js";import{o as _e}from"./commonDimensions-CtIrih5r-B1EQ7y18.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="37206002-f969-459e-baff-38d51e298df3",e._sentryDebugIdIdentifier="sentry-dbid-37206002-f969-459e-baff-38d51e298df3")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:Y}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:m,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,Q]=s.useState(!1),[w,R]=s.useState(!1),[j,B]=s.useState(!1),[A,V]=s.useState(!1),[S,q]=s.useState(!1),[T,F]=s.useState(!1),[v,O]=s.useState(!1),[$,U]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=J(u.zeniAccountsConfigDetail.mailingAddress).text2,p=J(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{Q(!1),F(!1),O(!1),U(!1),q(!1),V(!1),B(!1),R(!1)},1200)},[h,T,v,$,S,A,j,w]);const G=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":me(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
2
2
 
3
3
  ${o.accountTypeLabel} ${c.accountSubType.name??""}
4
4
 
@@ -1,4 +1,4 @@
1
- import{g,F as l,V as t,al as x,ba as d,r as b,o as r,p,aq as y,bY as j,bZ as $,b_ as w,bR as k}from"./index-CbMlqZJL.js";import{n as o}from"./mui-C_Pjuwl5.js";import{t as v}from"./handshake-BPg58FML-BtKj2QSx.js";import"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="7fb410ff-16ca-4ae0-9cc9-cc8196261b5f",e._sentryDebugIdIdentifier="sentry-dbid-7fb410ff-16ca-4ae0-9cc9-cc8196261b5f")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(_,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(d,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(d,{children:[n.accountLockedContactMessage,t.jsx(D,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=o.div`
1
+ import{g,F as l,V as t,al as x,ba as d,r as b,o as r,p,aq as y,bY as j,bZ as $,b_ as w,bR as k}from"./index-DYltSVfB.js";import{n as o}from"./mui-DqYnCiYu.js";import{t as v}from"./handshake-BPg58FML-C6X_P0qB.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="7fb410ff-16ca-4ae0-9cc9-cc8196261b5f",e._sentryDebugIdIdentifier="sentry-dbid-7fb410ff-16ca-4ae0-9cc9-cc8196261b5f")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(_,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(d,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(d,{children:[n.accountLockedContactMessage,t.jsx(D,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as $e,b7 as Q,am as X,x as ke,aa as be,dL as ve,eR as we,d3 as G,du as Z,F as Ce,al as d,g as Ee,aN as Pe,bw as ee,dO as te,at as Re,p as ne,e as Ie}from"./index-CbMlqZJL.js";import{a as r}from"./sentry-CTKU7CLc.js";import{n as o}from"./mui-C_Pjuwl5.js";import{bL as oe,Gv as De,Gw as Te}from"./zeni-epic-state-Cl3KIlic.js";import{E as _e,C as Fe,w as Ue,f as Le}from"./AccountRow-DvTUqeYB-DXbzmjkX.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="45675769-38d0-43e2-bdef-af9292ac6913",e._sentryDebugIdIdentifier="sentry-dbid-45675769-38d0-43e2-bdef-af9292ac6913")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
1
+ import{a9 as fe,fy as xe,V as t,ac as ye,co as ge,cp as je,cq as Se,o as c,d as $e,b7 as Q,am as X,x as ke,aa as be,dL as ve,eR as we,d3 as G,du as Z,F as Ce,al as d,g as Ee,aN as Pe,bw as ee,dO as te,at as Re,p as ne,e as Ie}from"./index-DYltSVfB.js";import{a as r}from"./sentry-DgGQRl6g.js";import{n as o}from"./mui-DqYnCiYu.js";import{bL as oe,Gv as De,Gw as Te}from"./zeni-epic-state-WWg2r7iB.js";import{E as _e,C as Fe,w as Ue,f as Le}from"./AccountRow-BVKk7u7h-DE3jk17J.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d401cddf-669e-49a6-822f-dee121c5598a",e._sentryDebugIdIdentifier="sentry-dbid-d401cddf-669e-49a6-822f-dee121c5598a")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as de,p as g,dN as Z,dO as X,c_ as ue,aV as x,ai as Y,u as p,Q as xe,g as S,a$ as pe,ds as he,an as ge,r as me,am as I,bJ as fe,dE as je}from"./index-CbMlqZJL.js";import{a as ye}from"./sentry-CTKU7CLc.js";import{n as a,c as we}from"./mui-C_Pjuwl5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bf086407-858a-4c5b-9c1d-e7eecff1871c",e._sentryDebugIdIdentifier="sentry-dbid-bf086407-858a-4c5b-9c1d-e7eecff1871c")}catch{}})();const $e=a.div`
1
+ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as de,p as g,dN as Z,dO as X,c_ as ue,aV as x,ai as Y,u as p,Q as xe,g as S,a$ as pe,ds as he,an as ge,r as me,am as I,bJ as fe,dE as je}from"./index-DYltSVfB.js";import{a as ye}from"./sentry-DgGQRl6g.js";import{n as a,c as we}from"./mui-DqYnCiYu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bf086407-858a-4c5b-9c1d-e7eecff1871c",e._sentryDebugIdIdentifier="sentry-dbid-bf086407-858a-4c5b-9c1d-e7eecff1871c")}catch{}})();const $e=a.div`
2
2
  position: relative;
3
3
  ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -1,4 +1,4 @@
1
- import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw as ce,bx as le,by as R,f as de,aO as E,aL as pe,g as J,aw as ue,aP as _,aX as me,aM as he,aS as ge,ai as V,av as xe,b5 as fe,al as ye,ba as Ce}from"./index-CbMlqZJL.js";import{a as U,S}from"./sentry-CTKU7CLc.js";import{c as $e}from"./SummaryCard-Cy_49HY6-Bn9afv8c.js";import{n as r,k as O,c as K}from"./mui-C_Pjuwl5.js";import{EM as ve}from"./zeni-epic-state-Cl3KIlic.js";import{N as Q}from"./NavigationArrow-CJOSZIEx-DK5dUJEr.js";import{k as be}from"./NavigationDots-DgfBVlG5-DqhfZvwQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="60c79ab5-df22-4af9-815d-d53e0f97cf33",e._sentryDebugIdIdentifier="sentry-dbid-60c79ab5-df22-4af9-815d-d53e0f97cf33")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return O`
1
+ import{F as Z,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw as ce,bx as le,by as R,f as de,aO as E,aL as pe,g as J,aw as ue,aP as _,aX as me,aM as he,aS as ge,ai as V,av as xe,b5 as fe,al as ye,ba as Ce}from"./index-DYltSVfB.js";import{a as U,P as I}from"./sentry-DgGQRl6g.js";import{c as $e}from"./SummaryCard-D92z4WU0-zmpilX3L.js";import{n as r,k as O,c as K}from"./mui-DqYnCiYu.js";import{EM as be}from"./zeni-epic-state-WWg2r7iB.js";import{N as Q}from"./NavigationArrow-DGSdnTKQ-DfQn-lGU.js";import{k as ve}from"./NavigationDots-BPsFQiss-DRnWaEzO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="28ae8d76-fc37-4a4f-9bd8-bdb88b41a29c",e._sentryDebugIdIdentifier="sentry-dbid-28ae8d76-fc37-4a4f-9bd8-bdb88b41a29c")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return O`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${i});
@@ -14,20 +14,20 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
14
14
  100%{
15
15
  height: ${t.sp10};
16
16
  }
17
- `,De=(e,n)=>{const i=n*100,a=e==="up"?"0%":`-${n*100}%`,s=e==="up"?`-${i}%`:"0%";return O`
17
+ `,Pe=(e,n)=>{const i=n*100,a=e==="up"?"0%":`-${n*100}%`,s=e==="up"?`-${i}%`:"0%";return O`
18
18
  0% {
19
19
  transform: translateY(${a});
20
20
  }
21
21
  100%{
22
22
  transform: translateY(${s});
23
23
  }
24
- `},Pe=(e,n)=>{const i=e==="down"?`-${n*100}%`:"0%";return K`
24
+ `},De=(e,n)=>{const i=e==="down"?`-${n*100}%`:"0%";return K`
25
25
  transform: translateY(${i});
26
26
  `},q=K`
27
27
  width: ${t.sp7};
28
28
  height: ${t.sp7};
29
29
  border-radius: 50%;
30
- border: 2px solid ${b.neutralGrey5Light};
30
+ border: 2px solid ${v.neutralGrey5Light};
31
31
  `,ze=r.div`
32
32
  display: flex;
33
33
  align-items: center;
@@ -36,12 +36,12 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
36
36
  gap: ${t.sp2};
37
37
  margin-bottom: ${t.sp4};
38
38
  padding: ${t.sp0} ${t.sp2};
39
- `,Se=r(Ce)`
39
+ `,Ie=r(Ce)`
40
40
  text-align: center;
41
41
  max-width: 222px;
42
42
  white-space: pre-line;
43
43
  color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
44
- `,Ie=r.div`
44
+ `,Se=r.div`
45
45
  min-height: 95px;
46
46
  display: flex;
47
47
  flex-direction: column;
@@ -57,7 +57,7 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
57
57
  `,Te=r(ye)`
58
58
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
59
59
  `,Be=r(le)`
60
- color: ${b.brandColorJade};
60
+ color: ${v.brandColorJade};
61
61
  height: ${t.sp4};
62
62
  width: ${t.sp4};
63
63
  `,Me=r(ce)`
@@ -91,14 +91,14 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
91
91
  height: 34px;
92
92
  width: ${t.sp5};
93
93
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
94
- background-color: ${b.brandColorGold};
94
+ background-color: ${v.brandColorGold};
95
95
  `,Ue=r.div`
96
96
  display: flex;
97
97
  align-items: center;
98
98
  height: 34px;
99
99
  width: 168px;
100
100
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
101
- background-color: ${b.brandColorJade};
101
+ background-color: ${v.brandColorJade};
102
102
  opacity: 0;
103
103
  animation: ${T("right",100)} normal 0.5s 1
104
104
  forwards;
@@ -112,7 +112,7 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
112
112
  `,Oe=r.div`
113
113
  width: 2px;
114
114
  height: ${t.sp0};
115
- background-color: ${b.important};
115
+ background-color: ${v.important};
116
116
  transform: rotate(64deg);
117
117
  position: absolute;
118
118
  top: ${t.sp1};
@@ -129,12 +129,12 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
129
129
  `,Xe=r.div`
130
130
  max-height: ${t.sp6};
131
131
  animation: 1s normal 0.5s 1
132
- ${e=>De(e.direction,e.stepCount)};
132
+ ${e=>Pe(e.direction,e.stepCount)};
133
133
  animation-fill-mode: forwards;
134
- ${e=>Pe(e.direction,e.stepCount)}
134
+ ${e=>De(e.direction,e.stepCount)}
135
135
  `,Ee=r.div`
136
136
  display: flex;
137
- `,I=r.div`
137
+ `,S=r.div`
138
138
  margin-right: -${t.sp3};
139
139
  opacity: 0;
140
140
  transform: translateX(50%);
@@ -142,13 +142,13 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
142
142
  forwards;
143
143
  `,L=r.img`
144
144
  ${q}
145
- `,Qe=r(I)`
145
+ `,Qe=r(S)`
146
146
  display: flex;
147
147
  justify-content: center;
148
148
  align-items: center;
149
149
  margin-right: ${t.sp3};
150
150
  ${q}
151
- background-color:${b.brandColorGold};
151
+ background-color:${v.brandColorGold};
152
152
  `,We=r(ne)`
153
153
  color: ${e=>e.theme.colors.brandColorOnyx};
154
154
  `,Ye=r(se)`
@@ -158,7 +158,7 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
158
158
  path {
159
159
  stroke-width: 2px;
160
160
  }
161
- `,Ge=(e,n)=>{const{common:i}=Z.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Xe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(_e,{}),o.jsxs(Le,{children:[o.jsxs(Fe,{children:[o.jsx(Ne,{}),o.jsxs(W,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ue,{children:[o.jsx(Ze,{children:n[0].values[1]}),o.jsx(W,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(k,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Oe,{})]}),o.jsx(k,{children:o.jsx(Y,{children:o.jsx(Ye,{})})}),o.jsx(k,{children:o.jsx(Y,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(Ee,{children:[o.jsx(I,{style:{animationDelay:"0.2s"},children:o.jsx(L,{src:je})}),o.jsx(I,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(L,{src:Ae})}),o.jsx(I,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(L,{src:we})}),o.jsx(Qe,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(We,{children:[" ",n[0].values[0]]})})]})}};let G;function Re({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=xe("Confetti"),a=J(),[s,p]=U.useState(!1);U.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:u,showAnimation:f,key:g}=e;return o.jsxs(ze,{children:[n&&s&&i!=null?o.jsx(fe,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Ie,{children:[d!=null?o.jsx(Te,{children:d}):null,o.jsx(ee,{children:f?Ge(g,u):null})]}),o.jsx(Se,{themeContext:a,children:h})]})}const Je=r(he)`
161
+ `,Ge=(e,n)=>{const{common:i}=Z.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Xe,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(_e,{}),o.jsxs(Le,{children:[o.jsxs(Fe,{children:[o.jsx(Ne,{}),o.jsxs(W,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ue,{children:[o.jsx(Ze,{children:n[0].values[1]}),o.jsx(W,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(k,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Oe,{})]}),o.jsx(k,{children:o.jsx(Y,{children:o.jsx(Ye,{})})}),o.jsx(k,{children:o.jsx(Y,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(Ee,{children:[o.jsx(S,{style:{animationDelay:"0.2s"},children:o.jsx(L,{src:je})}),o.jsx(S,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(L,{src:Ae})}),o.jsx(S,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(L,{src:we})}),o.jsx(Qe,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(We,{children:[" ",n[0].values[0]]})})]})}};let G;function Re({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=xe("Confetti"),a=J(),[s,p]=U.useState(!1);U.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:u,showAnimation:f,key:g}=e;return o.jsxs(ze,{children:[n&&s&&i!=null?o.jsx(fe,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Se,{children:[d!=null?o.jsx(Te,{children:d}):null,o.jsx(ee,{children:f?Ge(g,u):null})]}),o.jsx(Ie,{themeContext:a,children:h})]})}const Je=r(he)`
162
162
  flex-wrap: wrap;
163
163
  overflow: hidden;
164
164
  & .styledNav {
@@ -204,4 +204,4 @@ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw
204
204
  bottom: 6px;
205
205
  `,ro=r(R)`
206
206
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
207
- `,D=Z.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=J(),f=ue(),[g,x]=S.useState(0),[y,C]=S.useState(0),[B,j]=S.useState("left"),A=(l,$)=>{l.stopPropagation(),j($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(w(re),$)},M=l=>{d(w(l),"left")};function m(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(w(s+1),"left"),j("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(w(s-1),"right"),j("right"),x(0),C(0))}const H=a.length>1,X=ve(f.loggedInUserRoleMap);return o.jsx(Je,{"data-testid":_("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?m(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Ve,{children:[o.jsx(F,{children:o.jsx(Q,{"data-testid":_("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})}),o.jsxs(F,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:D.title})}),a.map((l,$)=>o.jsx(me,{activeCardIndex:s,currentIndex:$,which:B,children:o.jsx(Re,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ke,{onClick:()=>h(X?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(qe,{children:X?p?D.button:D.signUp:D.learnMore})}),o.jsx(be,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:u.colors.zeniAccountsPromoButtonColor,promoColorHover:u.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(F,{children:o.jsx(Q,{"data-testid":_("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=Z.getLocalizedStrings(),P={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},N={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[u,f]=U.useState(0),g=m=>{f(m)},x=(p+1)*(h+1),y=m=>{i.trackZeniAccountsPromoCardClick(x,m),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:C,maxPossibleInterest:B,maxAnnualPercentageYield:j,maxCashBalanceAvailable:A=0}=n;P.headerAnimationData=so(B??25e4),P.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,z("0,0",A,v.currency.currencySymbol).toUpperCase()),P.footer=c.keepInterest.footer.replace(/<interest>/,j.toString()),N.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,z(E(C),C,v.currency.currencySymbol).toUpperCase()]}],N.prefix=c.protectCash.prefix.replace(/<amount>/,z(E(C),C,v.currency.currencySymbol).toUpperCase());const M=[P,N,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>d?.onDragStart(e.cardType,m),onDragOver:m=>d?.onDragOver(m,e.cardType),onDragLeave:m=>d?.onDragLeave(m),onDrop:m=>d?.onDrop(m,e.cardType),dimension:e.dimension,children:o.jsx($e,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:u,handleLearnMoreClick:y,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=z("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),u=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const y=d+x;g.push(y.toString())}u==="down"&&g.reverse(),n.push({direction:u,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
207
+ `,P=Z.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=J(),f=ue(),[g,x]=I.useState(0),[y,C]=I.useState(0),[B,j]=I.useState("left"),A=(l,$)=>{l.stopPropagation(),j($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(w(re),$)},M=l=>{d(w(l),"left")};function m(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(w(s+1),"left"),j("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(w(s-1),"right"),j("right"),x(0),C(0))}const H=a.length>1,X=be(f.loggedInUserRoleMap);return o.jsx(Je,{"data-testid":_("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?m(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Ve,{children:[o.jsx(F,{children:o.jsx(Q,{"data-testid":_("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})}),o.jsxs(F,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,$)=>o.jsx(me,{activeCardIndex:s,currentIndex:$,which:B,children:o.jsx(Re,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ke,{onClick:()=>h(X?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(qe,{children:X?p?P.button:P.signUp:P.learnMore})}),o.jsx(ve,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:u.colors.zeniAccountsPromoButtonColor,promoColorHover:u.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(F,{children:o.jsx(Q,{"data-testid":_("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:b}=Z.getLocalizedStrings(),D={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},N={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[u,f]=U.useState(0),g=m=>{f(m)},x=(p+1)*(h+1),y=m=>{i.trackZeniAccountsPromoCardClick(x,m),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:C,maxPossibleInterest:B,maxAnnualPercentageYield:j,maxCashBalanceAvailable:A=0}=n;D.headerAnimationData=so(B??25e4),D.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,z("0,0",A,b.currency.currencySymbol).toUpperCase()),D.footer=c.keepInterest.footer.replace(/<interest>/,j.toString()),N.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,z(E(C),C,b.currency.currencySymbol).toUpperCase()]}],N.prefix=c.protectCash.prefix.replace(/<amount>/,z(E(C),C,b.currency.currencySymbol).toUpperCase());const M=[D,N,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>d?.onDragStart(e.cardType,m),onDragOver:m=>d?.onDragOver(m,e.cardType),onDragLeave:m=>d?.onDragLeave(m),onDrop:m=>d?.onDrop(m,e.cardType),dimension:e.dimension,children:o.jsx($e,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:u,handleLearnMoreClick:y,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}I.memo(io);function so(e){const n=[],i=z("0,0",Math.floor(e),b.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===b.currency.currencySymbol||s===b.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),u=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const y=d+x;g.push(y.toString())}u==="down"&&g.reverse(),n.push({direction:u,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
@@ -1,4 +1,4 @@
1
- import{g as y,Q as S,aQ as T,b as d,V as l,js as w,o as t,y as c,aP as B,F as x,u as n}from"./index-CbMlqZJL.js";import{a as C}from"./sentry-CTKU7CLc.js";import{n as P}from"./mui-C_Pjuwl5.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="bbc00f11-ae72-40f3-95ca-5f75c93dd50a",e._sentryDebugIdIdentifier="sentry-dbid-bbc00f11-ae72-40f3-95ca-5f75c93dd50a")}catch{}})();const m={marginTop:new c(n[0],18),marginBottom:new c(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:j}=x.getLocalizedStrings(),L=({googleAPIKey:e,customAddress:a,customAddressStatus:o,onDismissClick:r,onSubmitHandler:g})=>{const u=y(),s=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&r()},[o.fetchState,r,i]);const f=s==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=s==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:a,onSubmitHandler:h=>g(h),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:m.marginTop.valuePx(s),marginBottom:m.marginBottom.valuePx(s),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,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:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=P.div`
1
+ import{g as y,Q as S,aQ as T,b as d,V as l,js as w,o as t,y as c,aP as B,F as x,u as n}from"./index-DYltSVfB.js";import{a as C}from"./sentry-DgGQRl6g.js";import{n as P}from"./mui-DqYnCiYu.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="bbc00f11-ae72-40f3-95ca-5f75c93dd50a",e._sentryDebugIdIdentifier="sentry-dbid-bbc00f11-ae72-40f3-95ca-5f75c93dd50a")}catch{}})();const m={marginTop:new c(n[0],18),marginBottom:new c(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:j}=x.getLocalizedStrings(),L=({googleAPIKey:e,customAddress:a,customAddressStatus:o,onDismissClick:r,onSubmitHandler:g})=>{const u=y(),s=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&r()},[o.fetchState,r,i]);const f=s==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=s==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:a,onSubmitHandler:h=>g(h),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:m.marginTop.valuePx(s),marginBottom:m.marginBottom.valuePx(s),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,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:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=P.div`
2
2
  display: flex;
3
3
  background-color: ${e=>e.theme.colors.grey4};
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{Q as M,a8 as le,aw as de,F as N,V as t,bB as ne,u as p,j6 as pe,jp as ce,o as i,r as W,aP as A,y as m,a as $,d as b,jq as he,j7 as ge,ch as xe,p as r,jr as me,bx as we,cX as ue,al as $e,b as be,jb as fe}from"./index-CbMlqZJL.js";import{a as g}from"./sentry-CTKU7CLc.js";import{n as o,c as D}from"./mui-C_Pjuwl5.js";import{EL as ye}from"./zeni-epic-state-Cl3KIlic.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as Ie}from"./add-to-wallet-DgdBD8_G-DMQostt2.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="41b3bff7-b5ea-46b8-ae01-1fca9859ddd9",e._sentryDebugIdIdentifier="sentry-dbid-41b3bff7-b5ea-46b8-ae01-1fca9859ddd9")}catch{}})();const ze=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(d=>d.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(d=>t.jsx(De,{style:y,active:d.id===a,"data-testid":d.dataTestId,onClick:v=>{v.preventDefault(),h(d.id)},children:d.label},d.id))]})},We=o.div`
1
+ import{Q as M,a8 as le,aw as de,F as N,V as t,bB as ne,u as p,j6 as pe,jp as ce,o as i,r as W,aP as A,y as m,a as $,d as b,jq as he,j7 as ge,ch as xe,p as r,jr as me,bx as we,cX as ue,al as $e,b as be,jb as fe}from"./index-DYltSVfB.js";import{a as g}from"./sentry-DgGQRl6g.js";import{n as o,c as D}from"./mui-DqYnCiYu.js";import{EL as ye}from"./zeni-epic-state-WWg2r7iB.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as Ie}from"./add-to-wallet-DgdBD8_G-BBEivBdQ.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="41b3bff7-b5ea-46b8-ae01-1fca9859ddd9",e._sentryDebugIdIdentifier="sentry-dbid-41b3bff7-b5ea-46b8-ae01-1fca9859ddd9")}catch{}})();const ze=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(d=>d.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(d=>t.jsx(De,{style:y,active:d.id===a,"data-testid":d.dataTestId,onClick:v=>{v.preventDefault(),h(d.id)},children:d.label},d.id))]})},We=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{g as U,Q as O,i0 as _e,V as t,i1 as De,bN as Ne,i2 as ve,bC as Oe,bB as je,y as D,aa as T,g4 as ke,F as x,o as N,aT as Pe,u as m,aN as X,ce as Be,cf as $e,cg as Ie,al as Me,ch as Ae,b3 as ne,aD as oe,aV as re}from"./index-CbMlqZJL.js";import{a as f}from"./sentry-CTKU7CLc.js";import{n as y}from"./mui-C_Pjuwl5.js";import{bh as F,FW as Ye}from"./zeni-epic-state-Cl3KIlic.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-DDYQFnOL-DHgysqpM.js";import{C as ie}from"./NoDataChart-Bwc_xftR-D-qgcUFX.js";import{I as se,R as $}from"./CollapsableReportTable-CpOmWQO--DqCcIXDi.js";import{d as le}from"./NoDataTable-D_VKD0kA-ERveVpE1.js";import{l as ce}from"./mapSpacerToTreeNode-CxY0Ic8W-BG1WraRD.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./chartTypes-CiiHHtlc-BceiZcWQ.js";import"./AccountRow-DvTUqeYB-DXbzmjkX.js";import"./graphic-no-data-l-DU4J8fDt-DdD14QZ1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3a1d737b-77e7-457d-8c97-6e62be4efc3c",e._sentryDebugIdIdentifier="sentry-dbid-3a1d737b-77e7-457d-8c97-6e62be4efc3c")}catch{}})();const Te={chartHeight:new D(288,360)},de=y.div`
1
+ import{g as U,Q as O,i0 as _e,V as t,i1 as De,bN as Ne,i2 as ve,bC as Oe,bB as je,y as D,aa as T,g4 as ke,F as x,o as N,aT as Pe,u as m,aN as X,ce as Be,cf as $e,cg as Ie,al as Me,ch as Ae,b3 as ne,aD as oe,aV as re}from"./index-DYltSVfB.js";import{a as f}from"./sentry-DgGQRl6g.js";import{n as y}from"./mui-DqYnCiYu.js";import{bh as F,FW as Ye}from"./zeni-epic-state-WWg2r7iB.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-B3T4qk8t-DC1aMv-c.js";import{C as ie}from"./NoDataChart-qG0jmc8Z-B_hbU-ac.js";import{I as se,R as $}from"./CollapsableReportTable-BWfFYJbH-Csx3Wpo7.js";import{d as le}from"./NoDataTable-CgKT7NGU-BpL_-uTW.js";import{l as ce}from"./mapSpacerToTreeNode-Di-_Qhw7-8iQraUSQ.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./chartTypes-DjzTOuyH--xZuCRkY.js";import"./AccountRow-BVKk7u7h-DE3jk17J.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4ce2bcf7-6de9-4c66-80c0-efc0493d90bc",e._sentryDebugIdIdentifier="sentry-dbid-4ce2bcf7-6de9-4c66-80c0-efc0493d90bc")}catch{}})();const Te={chartHeight:new D(288,360)},de=y.div`
2
2
  display: flex;
3
3
  `,ge=y.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{cI as Y,ej as je,Q as _,V as l,aP as P,y as O,o as i,b9 as re,F as Z,r as ie,al as ne,c_ as Pe,ch as Ce,u as L,bS as Se,aJ as te,cA as G,gP as de,fX as R,fU as J,fV as K,fW as ce,fY as pe,a$ as me,gQ as Te,p as ue,cZ as ge,am as he,er as Oe,ad as Re}from"./index-CbMlqZJL.js";import{n as p}from"./mui-C_Pjuwl5.js";import{FB as ze,bg as X}from"./zeni-epic-state-Cl3KIlic.js";import{a as E}from"./sentry-CTKU7CLc.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BQcHwjox.js";import{j as fe,C as be}from"./LabeledZeniRolesDropDownField-CdAAgiie-BQ-3NTyM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fd9c3b34-afa2-457c-a606-54965a62d0a4",e._sentryDebugIdIdentifier="sentry-dbid-fd9c3b34-afa2-457c-a606-54965a62d0a4")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:b,isEdit:U,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=Y(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(G.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||b)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,b]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,b)},productsByUserRole:J(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||b?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||b)},isDisabled:u||m||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||b?"disabled":void 0,opacity:u||m||b?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(be,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
1
+ import{cI as Y,ej as je,Q as _,V as l,aP as P,y as O,o as i,b9 as re,F as Z,r as ie,al as ne,c_ as Pe,ch as Ce,u as L,bS as Se,aJ as te,cA as G,gP as de,fX as R,fU as J,fV as K,fW as ce,fY as pe,a$ as me,gQ as Te,p as ue,cZ as ge,am as he,er as Oe,ad as Re}from"./index-DYltSVfB.js";import{n as p}from"./mui-DqYnCiYu.js";import{FB as ze,bg as X}from"./zeni-epic-state-WWg2r7iB.js";import{a as E}from"./sentry-DgGQRl6g.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-bSlpKmiR.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-BhNbXDjb-Dujasvos.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9a940639-ebfe-464e-be76-98f7d109d303",e._sentryDebugIdIdentifier="sentry-dbid-9a940639-ebfe-464e-be76-98f7d109d303")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=Y(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(G.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:J(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -43,7 +43,7 @@ import{cI as Y,ej as je,Q as _,V as l,aP as P,y as O,o as i,b9 as re,F as Z,r as
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  }
45
45
  }
46
- `,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:y,index:m,customerRoleOptions:b,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=_(),{getValues:C,formState:{errors:S},setValue:D}=Y(),$=oe.largeLabelWidth.value(w),[N,...B]=y,u=B.map(d=>d.email).join(","),r=E.useMemo(()=>G.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return E.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Be,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(I=>!I.match(Te)).reduce((I,j)=>I&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:qe(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,v)},productsByUserRole:J(e.role,b)},registerOptions:{required:!0}}}),l.jsx(q,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const I=s.findIndex(j=>j.userId===d);if(I!==-1){const j=s[I],k=h.find(T=>T.classId===j.userRole.accountingClassIDs[0]),f=[];return k!=null&&f.push(k.className),f}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(q,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(q,{}),U?null:l.jsxs(Me,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ee,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(be,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Be=p.div`
46
+ `,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:y,index:m,customerRoleOptions:f,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const w=_(),{getValues:C,formState:{errors:S},setValue:D}=Y(),$=oe.largeLabelWidth.value(w),[N,...B]=y,u=B.map(d=>d.email).join(","),r=E.useMemo(()=>G.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return E.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Be,{windowSize:w,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(I=>!I.match(Te)).reduce((I,j)=>I&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:qe(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,v)},productsByUserRole:J(e.role,f)},registerOptions:{required:!0}}}),l.jsx(q,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const I=s.findIndex(j=>j.userId===d);if(I!==-1){const j=s[I],k=h.find(T=>T.classId===j.userRole.accountingClassIDs[0]),b=[];return k!=null&&b.push(k.className),b}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(q,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(q,{}),U?null:l.jsxs(Me,{windowSize:w,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ee,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Be=p.div`
47
47
  display: flex;
48
48
  flex-direction: column;
49
49
  background-color: ${e=>e.theme.colors.grey5};
@@ -92,7 +92,7 @@ import{cI as Y,ej as je,Q as _,V as l,aP as P,y as O,o as i,b9 as re,F as Z,r as
92
92
  `,qe=(e,t,o,a,s)=>{if(Oe(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ee=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Ze,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},Ve=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
- `,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},He=(e,t,o,a,s,h,y)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:G.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,y)},productsByUserRole:J([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:y,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=Y(),{append:B,remove:u}=je({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const f=n.length-1,T=He(f+1,b,U,y,v,w,C);setTimeout(()=>B(T,{shouldFocus:!0}))},I=f=>{a(f)},j=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Je,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((f,T)=>{const Ie=n.length;let V={};if(y==="zeni_only")V={email:f.email,role:Ge(f.role.selectedOptions,S)??void 0};else{const ee=f.nonZeniRole?.userRole.selectedRole,A=ee!=null?(f.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>ze(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;V={email:f.email,role:A,managerId:le?void 0:f.manager?.selectedUser,departmentId:le?void 0:f.department?.selectedOption?.value}}return l.jsxs(Ke,{"data-testid":P("user-item",f.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:Ie>1?l.jsx(ae,{windowSize:r,children:l.jsx(Qe,{curIndex:T,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:I,onCancelClick:j,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx($e,{children:l.jsx(ye,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(Ve,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:V,mode:y,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:T}),o===T&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:j,onRemoveUserItem:k})}):null]},T)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const y=_();return l.jsxs(we,{children:[l.jsx($e,{children:l.jsx(ye,{windowSize:y,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Ye,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Ye=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ge=(e,t)=>t?e:e!=null?[e]:[],Je=p.div`
95
+ `,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},He=(e,t,o,a,s,h,y)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:G.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,y)},productsByUserRole:J([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:y,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=Y(),{append:B,remove:u}=je({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const b=n.length-1,T=He(b+1,f,U,y,v,w,C);setTimeout(()=>B(T,{shouldFocus:!0}))},I=b=>{a(b)},j=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Je,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,T)=>{const Ie=n.length;let V={};if(y==="zeni_only")V={email:b.email,role:Ge(b.role.selectedOptions,S)??void 0};else{const ee=b.nonZeniRole?.userRole.selectedRole,A=ee!=null?(b.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>ze(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;V={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Ke,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:Ie>1?l.jsx(ae,{windowSize:r,children:l.jsx(Qe,{curIndex:T,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:I,onCancelClick:j,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(we,{children:l.jsx($e,{children:l.jsx(ye,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(Ve,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:V,mode:y,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:w,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:T}),o===T&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:j,onRemoveUserItem:k})}):null]},T)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const y=_();return l.jsxs(we,{children:[l.jsx($e,{children:l.jsx(ye,{windowSize:y,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Ye,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Ye=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ge=(e,t)=>t?e:e!=null?[e]:[],Je=p.div`
96
96
  display: flex;
97
97
  flex-direction: column;
98
98
  padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};