@zeniai/web-cockpit-ui 1.14.20-dev → 1.14.20-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 (224) hide show
  1. package/dist/assets/{ACHDetailsPage-CVBRtacz-BEkwx2cM.js → ACHDetailsPage-CVBRtacz-B-wXgcdL.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DnOjd2BF-CRXsdl24.js → AIPerformancePage-DnOjd2BF-lO5zS7uR.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Bt-jShgf-CCHYq--w.js → AccountInfoPage-Bt-jShgf-D7-pY8Xy.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Cc80eQeo-579rUIpL.js → AccountInfoPageContent-Cc80eQeo-CgEfuzww.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B-Hn6_hG-B-4Dg7na.js → AccountLockedInfoModal-B-Hn6_hG-6a5g7mIJ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bz1Sk2du-CwztkqDE.js → AccountReconDetailsDrawerPage-Bz1Sk2du-BxAo_hsT.js} +1 -1
  7. package/dist/assets/{AccountRow-D01C0A0f-QA2NRq7R.js → AccountRow-D01C0A0f-CckYNleY.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DsjFJ8gZ-DjW6RsEa.js → AccountsPromoCardStack-DsjFJ8gZ-tDFsAqWF.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DnoYIvUp-DRozqjCP.js → AddAddressForCardDrawer-DnoYIvUp-D4V9AU-3.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BIiW9JxG-D9CD9wND.js → AddToWalletPage-BIiW9JxG-DzC3aDRW.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-WazD_3Z7-CoFeaJHD.js → AgingReportsPage-WazD_3Z7-BztL8RZo.js} +1 -1
  12. package/dist/assets/{AllUserItems-CTSy4oBh-COmuQZqb.js → AllUserItems-CTSy4oBh-aCjvc204.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage--NGBXWsy-C8HiqI6Z.js → ApAgingDetailPage--NGBXWsy-Cfxnglrx.js} +1 -1
  14. package/dist/assets/{AppBasePage-B5br9UXD-BXEvz6Z3.js → AppBasePage-B5br9UXD-dTwGe1qL.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-vFeMNL3B-anFPhgeB.js → AppDrawerContent-vFeMNL3B-OmNElgxS.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-6j7VBBZ6-D1yZE3mH.js → ApprovalRulesSettingsPage-6j7VBBZ6-DtpGfRvd.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BYWN3_Nl-CYX1U_rU.js → ArAgingChart-BYWN3_Nl-M7Hk0Q05.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-B-hHa8A6-BrQATxNB.js → ArAgingDetailPage-B-hHa8A6-CG4Qyos2.js} +1 -1
  19. package/dist/assets/{AttachmentView-C2kWA5X5-XqMuBHHe.js → AttachmentView-C2kWA5X5-BbtHpCnk.js} +1 -1
  20. package/dist/assets/{BankAccountSection-B20IwpOn-dEqA-3oX.js → BankAccountSection-B20IwpOn-DQog70tV.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js → BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Cpg1ObB6-DR3nDiYc.js → BankConnectionsSettingsPage-Cpg1ObB6-C889d37H.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DOF5ibT6-Bat6GtFx.js → BillDetailPage-DOF5ibT6-CMzLP3E2.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BI1R1zT_-D9iKVE5j.js → BillPayApprovalRuleDetailPage-BI1R1zT_-B2pclG9C.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-B3x4So_i-B5TxdAS5.js → BillPayApprovalRulesPage-B3x4So_i-CY4rm4rp.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BqzH5AIp-Bcp4yJP9.js → BillPayPromoPage-BqzH5AIp-CPmZM4sb.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-DqiNMnRE-abIQ9Tkf.js → BillPaySetUpPage-DqiNMnRE-CJW2K1WW.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BOAAGOLs-CdPqd8Hl.js → BillingSettingsPage-BOAAGOLs-EF78E3-A.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B76xXQJ9-CbXzjgOR.js → BillsBulkReviewDrawerPage-B76xXQJ9-KS_QhPM7.js} +1 -1
  30. package/dist/assets/{BoxItem-DCsIK5bA-DrkhsCS_.js → BoxItem-DCsIK5bA-DmT1xtf2.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-hSVDM_Bi-eN7TBacX.js → BusinessVerificationPage-hSVDM_Bi-2zlgnS4x.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-B_ZdgYVm-CRvH-CRy.js → CardNumberSubText-B_ZdgYVm-ChY45Xav.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CNeEt6aE-CsctITKU.js → CashbackDetailPage-CNeEt6aE-b0UGJHmQ.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-C0a8jqCD-CUfhgRr0.js → ChargeCardDetailPage-C0a8jqCD-Cx7pv4Cb.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-_3lJqIYP-iewbQ3J2.js → ChargeCardListPage-_3lJqIYP-CjqfIBRz.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-Kx-_ZAZu-BvnPLhgK.js → ChargeCardListTable-Kx-_ZAZu-BIEC6Lus.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CKTkcQdI-B3wD2hqP.js → ChargeCardPromoPage-CKTkcQdI-D4z7TcsI.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-CGRMFERy-BQ8k2roy.js → ChargeCardSetupPage-CGRMFERy-nwvjRvTP.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-B_7CdyKP-CMTrFXHN.js → ChargeCardStatementsPage-B_7CdyKP-BwoBFpZ8.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-BcwLwgz7-DrE0N0EF.js → ChargeCardUtils-BcwLwgz7-DtCcFgNi.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-ClcKUdpT-Buerorcp.js → ChaseOverlay-ClcKUdpT-DsBdB3dn.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-I3siSP2H-BrRdb26D.js → CheckDepositDrawerPage-I3siSP2H-DOYShP5D.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-ULd7PQST-DRS_mwem.js → CollapsableReportTable-ULd7PQST-zRaWsZKw.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-DLaAmVLG-9U29EMpY.js → CompanyOfficerDetailsSection-DLaAmVLG-BXyV3XUg.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-CZQuAyI2-Du4zK6a2.js → CompanyPassportCard-CZQuAyI2-FnmQYEWp.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-DqoVJfO--BezYa4q3.js → CompanyPassportPage-DqoVJfO--B2V256bS.js} +1 -1
  47. package/dist/assets/{CompleteProfile-BJV-xUlM-DoWTiT1k.js → CompleteProfile-BJV-xUlM-_mjlqEii.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-D4ga9TRN-DITQey3L.js → ConfettiBurst-D4ga9TRN-DNqfOt_I.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-C6efUMJu-BO_oyqIH.js → CreateOrEditVendorPage-C6efUMJu-BPk-OMPd.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-26ysDTts-B2nPMyDO.js → CreditCardPaymentDrawerPage-26ysDTts-2EgGLxxN.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js → CreditCardPaymentPlgSection-8NQI5gcx-CYgVnwi-.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-CVNn0XCq-DT36t2lI.js → CurrencySelectField-CVNn0XCq-id1wN7tu.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-D0-sOxDl-Bm2kAKIU.js → CustomerOnboardingActivationPage-D0-sOxDl-Ce46LukP.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-BAot3xFZ.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BXEF9ppx.js → CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BF5167bb.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-CD1QldcG-CzeAfya1.js → CustomerOnboardingNoStepsPage-CD1QldcG-DOJTbsT8.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-DB1gXgdD-CUHFehdd.js → CustomerOnboardingPage-DB1gXgdD-CBPKCr70.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-DGMmLmq8-Cbgji3lL.js → CustomerOnboardingProductSuitePage-DGMmLmq8-Ba1Ge8Ql.js} +1 -1
  59. package/dist/assets/{Dashboard-CU3UQhxj-VVHJwggZ.js → Dashboard-CU3UQhxj-C1Mkz5gx.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DMdKWPtx-DkAIriFg.js → DashboardReportPage-DMdKWPtx-atQPuhmI.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-BMEqBAyh-vfJQWz_r.js → DashboardSidebarBackgroundAnimation-BMEqBAyh-C6IEWJ-w.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-C1-JGWD1-BMvGw-zQ.js → DepositAccTransactionItem-C1-JGWD1-PimeTN3F.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-CfwhQ7mC-B3prPdix.js → DepositAccTransactionListPage-CfwhQ7mC-BpwI3LPz.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-D6fDbjcO-DHXj9Zdn.js → DomesticWireDetailsPage-D6fDbjcO-B5-gEW7w.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CsX54puJ-DeWJ_bTZ.js → DownloadOverlay-CsX54puJ-Dn_Qxrz1.js} +1 -1
  66. package/dist/assets/{DrawerPage-xYwGDHR6-Ch0S05SG.js → DrawerPage-xYwGDHR6-DzearJMx.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-9SmQtrJz-Cw0-GcjG.js → EditPeoplePage-9SmQtrJz-CpjsvZ5X.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-EUO0BoRp-EVPPjvHX.js → EditReimbursementDetailPage-EUO0BoRp-DXFt_-b4.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-CF6LS35a-CeBa6jKf.js → EntityDetailPage-CF6LS35a-I8h1XS7y.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-C0gR6pkr-AtoRf1sI.js → EntitySummarySection-C0gR6pkr-BFT2Z-pB.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-B0I8v21w-C1ihD57y.js → ExpenseAutomationOverviewPage-B0I8v21w-DnXjKNKz.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-BorzJM7G-DFmLOpV0.js → ExpenseAutomationPage-BorzJM7G-DkRsvTE3.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-D0YWItIv-Bvps2LX7.js → ExpressPayPage-D0YWItIv-vsfFJlZY.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-yu8G5cHk-BxkuThqr.js → FeaturePreviewPage-yu8G5cHk-D2BrLKE_.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DRDFxA8H-Dg1nQMTR.js → FollowStepsSection-DRDFxA8H-CjpGRF9d.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-D80yv7U2-CfvcgDlu.js → GlobalReviewListPage-D80yv7U2-DSeBsZZz.js} +1 -1
  77. package/dist/assets/{HelpButton-D9ONg6cm-CuNxHNm2.js → HelpButton-D9ONg6cm-Be59SjbC.js} +1 -1
  78. package/dist/assets/{InformationCardStack-CbKQwtHm-B7yYvAdF.js → InformationCardStack-CbKQwtHm-iVG-egn1.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-BWsN9_G2-DemEieR0.js → InsightsCardStack-BWsN9_G2-DIXMPF3Z.js} +1 -1
  80. package/dist/assets/{InsightsSection-WZo-AWJt-DohBwSi_.js → InsightsSection-WZo-AWJt-B29Z2aQ6.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-BLjSJt9r-6t6Ass9f.js → IntegrationsSettingsPage-BLjSJt9r-DCLywH7v.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-BXNDZ1Mk-BO2f4UVV.js → InternationalWireSwiftDetailsPage-BXNDZ1Mk-BxL2cwbW.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-BLgPJ1NJ-CMky3KEh.js → InternationalWireVerificationPage-BLgPJ1NJ-q4IibCup.js} +1 -1
  84. package/dist/assets/{InviteFormPage-DPQ4vL9--DIhY9xxd.js → InviteFormPage-DPQ4vL9--i-ULec9w.js} +1 -1
  85. package/dist/assets/{InvitePageListView-YUKxUGBn-CGJ_yirg.js → InvitePageListView-YUKxUGBn-B16-8w8X.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-C3vECRns-DBtYnb-4.js → InvitePeoplePage-C3vECRns-C0xQ6TWc.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-Cx6pXJiN-CgRQkeV5.js → InvoiceUploadSection-Cx6pXJiN-CVGkefQN.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-DZVtocCO-B49QpSq-.js → IssueChargeCardPage-DZVtocCO-I_yEnYGn.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-BrB2xQYz-B09yXjLA.js → LabeledAddressValue-BrB2xQYz-Bp1iKMXW.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-_35LG3OI-C2eHerzm.js → LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-o0K1dba0-BZipP4yv.js → LabeledControlledCheckBoxField-o0K1dba0-CaYkqqwf.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js → LabeledCreatableSingleSelectField-DQwGH21a-DCo3yiXZ.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-CfgzkjDY-CbC276Lv.js → LabeledDocumentField-CfgzkjDY-pn3OcRy3.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js → LabeledDropDownFormattedTextField-DdaTvUbM-KTtCMdFX.js} +1 -1
  95. package/dist/assets/{LabeledText-Hi4MixDN-n_lfAbe7.js → LabeledText-Hi4MixDN-WrbKJ642.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-CKRRo1Fi.js → LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-Jqg6BKYy.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-Bm7Emr_n-JLIDvMIU.js → LabeledZeniRolesDropDownField-Bm7Emr_n-glZ8PCSO.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-ittEPbhi-BCWKpHna.js → LinkJETransactionPage-ittEPbhi-W7ymwETt.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-ChA83eFW-dErt1yuL.js → LowBalancePopup-ChA83eFW-D0eQDhH3.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-B4PPI06n-DFF50HiV.js → MagicLinkACHDetailsPage-B4PPI06n-C_DxqSTi.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DRK5ytSb-CTgdy9NG.js → MagicLinkDomesticWireDetailsPage-DRK5ytSb-DngVeo5M.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2pn5xtm-DTn743zM.js → MagicLinkInternationalWireDetailsPage-C2pn5xtm-BATETY3T.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-Bag5TE2J-DCGiU-tX.js → MagicLinkSuccessPage-Bag5TE2J-CZ9jwejs.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js → MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-CrHHLtQN-loRqi7di.js → MailingDetailsSection-CrHHLtQN-DrQYYUeI.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js → MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js} +1 -1
  107. package/dist/assets/{Menu-Czq7AdhP-C-oEbm2f.js → Menu-Czq7AdhP-DuOfxCaz.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-y3YOYnQr-BDn2GzBg.js → MyBankConnectionsSettingsPage-y3YOYnQr-D-9bdC9E.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-DJeYzaPj-Dm2kAILW.js → MyPendingActivationChargeCardListPage-DJeYzaPj-shBILIuz.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-hQvoACAQ-DxTxhxW-.js → MyProfileSettingsPage-hQvoACAQ-De4LQ2zP.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-DUaSGf4d-hMIZgUnq.js → NavBarWithPicker-DUaSGf4d-CMjrmt-1.js} +1 -1
  112. package/dist/assets/{NavigationArrow-ClEBtns--CBhi3Wa5.js → NavigationArrow-ClEBtns--QcRQdXVR.js} +1 -1
  113. package/dist/assets/{NavigationDots-BsJyQWOZ-DQaJD5qn.js → NavigationDots-BsJyQWOZ-BDcajz6w.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-BKZGSrDk-Bj0fLOGG.js → NewGlobalMerchantPage-BKZGSrDk-l-MVFG0h.js} +1 -1
  115. package/dist/assets/{NoDataChart-Bk9eWo52-DbkTpf0E.js → NoDataChart-Bk9eWo52-DcgFDiHH.js} +1 -1
  116. package/dist/assets/{NoDataTable-DCQbtvPN-DkrWdcTk.js → NoDataTable-DCQbtvPN-DodiAtKz.js} +1 -1
  117. package/dist/assets/{NotFoundPage-CGx7FoiU-CZaJl2_e.js → NotFoundPage-CGx7FoiU-UHTxKuRN.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-CoD8eTUS-8OIZSyCr.js → NotificationSettingsPage-CoD8eTUS-BjZb9tDk.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-hyqVBWDA-BxI8wBvU.js → NotificationsListConfig-hyqVBWDA-ChVmChxH.js} +1 -1
  120. package/dist/assets/{NotificationsPage-BavPSx1H-CVEnlnNl.js → NotificationsPage-BavPSx1H-DHL13AeJ.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-DD8tCc8E-DObB3ZyW.js → OpExByVendorPage-DD8tCc8E-CwNf3ShD.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Dg-aOJQU-XdQCUH0G.js → OverlayContainerPage-Dg-aOJQU-C9FBG3yb.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-bSkidYRR-D-Y5VMs1.js → PandLWithForecastPage-bSkidYRR-CDPJjYTV.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CGIC_vLw-BIusm93k.js → PaymentAccountSetupBillingAddressSection-CGIC_vLw-DbAjNAQ-.js} +1 -1
  125. package/dist/assets/{PeoplePage-C-2NZJpQ-BbdMKhWr.js → PeoplePage-C-2NZJpQ-BenUVGbg.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-B6JOvEvW-BSgeoBob.js → PortfolioAllocationFormPage-B6JOvEvW-B8_jJPtJ.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-Cpv5bi4_-C3K7fsrr.js → PortfolioDetails-Cpv5bi4_-BHPnb_oU.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-WDd37Mjn-NLHTDL58.js → ProductsCarousel-WDd37Mjn-BH0jA9xy.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-BaFkKGkm-Bw-1QrdI.js → PromoBaseCards-BaFkKGkm-Cz7eAULC.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-l3ThoJCI-BaUAxpz_.js → QBOConnectionDialog-l3ThoJCI-ChlbOfD6.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-DSrxcrXI-CnwGvTKQ.js → QBOSetupSection-DSrxcrXI-CkvMDxrM.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-hb8mPFw0-iXwT5wDy.js → ReimbursementApprovalRuleDetailPage-hb8mPFw0-AvrXlJya.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-fs4WqNUv-BvFXhzka.js → ReimbursementApprovalRulesPage-fs4WqNUv-Bqd9-BoW.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-BYw6Mc2u-ZOQaZirb.js → ReimbursementDetailPage-BYw6Mc2u-BxuwZTKk.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-DzDuwRxU-DEtJqrhv.js → ReimbursementPromoPage-DzDuwRxU-B6R_66mk.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-DdT6uu1--I31J4BAO.js → ReimbursementSetUpPage-DdT6uu1--B5ymQEc4.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CXvng56s-BxlZIO2c.js → ReimbursementsBulkReviewDrawerPage-CXvng56s-D22V4iw-.js} +1 -1
  138. package/dist/assets/{ReloadCard-BPoOhxrs-D8lPs5qf.js → ReloadCard-BPoOhxrs-kBbFGmsU.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-CkZW5TtX-I9C4FHDc.js → ReportTableViewSelector-CkZW5TtX-DumdDRTp.js} +1 -1
  140. package/dist/assets/{ReportsPage-C-ARKbIQ-CCoiMwuP.js → ReportsPage-C-ARKbIQ-o9K1sd3F.js} +1 -1
  141. package/dist/assets/{RevenueChart-CuqZW-Jr-B_s8E_iU.js → RevenueChart-CuqZW-Jr-N4UQEA-E.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-BVN_Uym2-d0L-TTpG.js → ReviewDetailsPage-BVN_Uym2-C5S7_prb.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-CIgtaUn1-wggYVp0Q.js → ReviewOverlay-CIgtaUn1-BvAebQ4j.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-Dm4yIm31-3pGQtzkX.js → RoleWithToolTip-Dm4yIm31-B7MerbZ_.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ce3z1VPg-SvqdKcr4.js → ScheduleDetailsFixedAssetsPage-Ce3z1VPg-BTEmNd7t.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-O69iLj4h-CXnxPezp.js → ScheduleDetailsPage-O69iLj4h-CjfWVecQ.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-DMIzc2zC-3WngbgQC.js → ScheduleSequenceTable-DMIzc2zC-7wRpGkTy.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-D3pC7BH7.js → ScreenRoutes-DSJYi7xE.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-C1_QjMwF-C_2yznzy.js → SetUpAccountSection-C1_QjMwF-D_Jc9DPP.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js → SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js} +1 -1
  151. package/dist/assets/{SignIn-CXQyYEJI-BbNAmrjc.js → SignIn-CXQyYEJI-CDAsUoma.js} +1 -1
  152. package/dist/assets/{SignInScreen-DtWV87E_.js → SignInScreen-DfZrql6t.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-DEMLoStE-C1nPAYM8.js → SpendManagementListViewPage-DEMLoStE-DOCGQBTb.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-CLf-7YyR-60GdYb7a.js → SpendManagementPerTabPage-CLf-7YyR-Dcu59y-5.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-DIVgOKWy-D35voP2u.js → SpendManagementSection-DIVgOKWy-DXji9rI6.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js → SpendMgmtSetupAccountSection-DFyUBsg3-CBY1E6Ip.js} +1 -1
  157. package/dist/assets/{StatementItem-CSyEn4Pz-CIQDSk8U.js → StatementItem-CSyEn4Pz-Ceu9_WYP.js} +1 -1
  158. package/dist/assets/{StatementsPage-D34J2aZa-9jSr3LU8.js → StatementsPage-D34J2aZa-DVBVlsnj.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-B77NoO6o-CLTHQ9CP.js → StatusSwitcher-B77NoO6o--2WeeksA.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-baJGHUgJ-BPKK4q6_.js → SubTabSwitcher-baJGHUgJ-DvovvHUF.js} +1 -1
  161. package/dist/assets/{SummaryCard-BvuRZj8f-DCeFdYs2.js → SummaryCard-BvuRZj8f-T-eFM0LS.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-vG8GXEJA-DX4VWYkl.js → TaskManagementPage-vG8GXEJA-BGipUdPV.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-CnoZ9Rqp-QTEqL6la.js → TimeRangeSwitcher-CnoZ9Rqp-B5iNAfYV.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js → TimeframeSwitcher-W5kHnuHI-BadD6oo8.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-yLA5y4zJ-CFlsdObg.js → TimeframeSwitcherWithToggle-yLA5y4zJ-4o4duI3A.js} +1 -1
  166. package/dist/assets/{TopExCard-oyXmygm8-DV87vjZL.js → TopExCard-oyXmygm8-BYyuzniq.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-4HMIURzm-ulBg6b5V.js → TopExDetailPage-4HMIURzm-DnalCFp3.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-CIw_7B72-CcQHWkUG.js → TransactionDetailPage-CIw_7B72-CYXPG11l.js} +1 -1
  169. package/dist/assets/{TransactionList-B9M4ftBY-9Xoftl5l.js → TransactionList-B9M4ftBY-DwRVqc-5.js} +1 -1
  170. package/dist/assets/{TransactionListBig-D5SRFdH7-CUrzZcWs.js → TransactionListBig-D5SRFdH7-DM-CzEo0.js} +1 -1
  171. package/dist/assets/{TransactionListPage-DCiIH4ES-DulMTWBW.js → TransactionListPage-DCiIH4ES-fcePVcVZ.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-BNY3vBm0-Cw6AkzlK.js → TransactionVendorDetailPage-BNY3vBm0-CW0SP2il.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-DdgfrrRM-BBEomNnq.js → TransferDrawerPage-DdgfrrRM-F6iL3sbI.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-COFbWN48-DSaB6zFu.js → TreasuryOverviewPage-COFbWN48-BYeFpwIv.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-EYqV98OG-CvFj_oTJ.js → TreasuryPromoPage-EYqV98OG-NVU8LSqs.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-DEz3fabz-BopnXkx6.js → TreasurySetupPage-DEz3fabz-DDNrOk49.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-JSf4JXXI-CSff_RYi.js → TreasuryStatementsPage-JSf4JXXI-CCZGMWz5.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-Id6od0WY-D3YHLWYb.js → TreasuryTaxLetterPage-Id6od0WY--LdWqgsE.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-D25tiep8-CregJCyC.js → TreasuryTransferOrReviewPage-D25tiep8-BNfZoc8Z.js} +1 -1
  180. package/dist/assets/{TrendChart-xBdkrxjQ-BHwV7FvD.js → TrendChart-xBdkrxjQ-C4056Hlf.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-CQdqelNB-BxApJhmm.js → TrendWithTransactions-CQdqelNB-DQo5xCdz.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-DaSjSoeK-2h_6-Ko4.js → UncategorizedAccountsMappingPage-DaSjSoeK-DCzQZher.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-zM4qGyLV-CinH_PeY.js → UnitIntegrationPage-zM4qGyLV-BUih8kDy.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-Y64l7Rho-BebTHNkT.js → UploadAdditionalDocumentOverlay-Y64l7Rho-CmfSD-Zu.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-DO-eL5Ot-DjhAlKT-.js → Vendor2FAPopup-DO-eL5Ot-DkBNux6r.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-BDROr_dC-CAZxPDsT.js → VendorACHDetailsPage-BDROr_dC-BY7HbNfr.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-B8S-gV53-DaZx1eZP.js → VendorDetailPage-B8S-gV53-DhUdJ0v4.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-BrxQuXus-DYcgNh9D.js → VendorDomesticWireDetailsPage-BrxQuXus-CKp63XIB.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BK-XGzxl-CVlxfcrS.js → VendorFiling1099EditablePage-BK-XGzxl-BDsZSV4B.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-CrSdEY-q-DsAt-Zva.js → VendorFirstReviewPage-CrSdEY-q-B1bLGVGQ.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-DuE2n00d-C0HY8jsi.js → VendorInternationalWireDetailsPage-DuE2n00d-CfT-V_5M.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-_0douojx-uTqjQvZ8.js → VendorInternationalWireSwiftDetailsPage-_0douojx-BYFNBvm2.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-C2McA3-C-CAGlOz8b.js → VendorsAccountsSection-C2McA3-C-Cb0CgKxi.js} +1 -1
  194. package/dist/assets/{VerifyDevice-BOb4uKLq-B9iw9cGN.js → VerifyDevice-BOb4uKLq-DNkxVYQK.js} +1 -1
  195. package/dist/assets/{WarningsDrawerPage-f9lS8sCp-Yx0s05ZC.js → WarningsDrawerPage-f9lS8sCp-DvTpHrxU.js} +1 -1
  196. package/dist/assets/{ZeniAccountDetailPage-BnWDpR9g-BpHh2OhY.js → ZeniAccountDetailPage-BnWDpR9g-BIlqd_yq.js} +1 -1
  197. package/dist/assets/{ZeniAccountListViewPage-D9ORn0_O-BQPutSAN.js → ZeniAccountListViewPage-D9ORn0_O-9Rmkt-8p.js} +1 -1
  198. package/dist/assets/{ZeniAccountNavBarPieces-4jG3uNmW-B7nBCOPn.js → ZeniAccountNavBarPieces-4jG3uNmW-ClvlddSI.js} +1 -1
  199. package/dist/assets/{ZeniAccountPromoPage-CswETXvx-DfER_hgz.js → ZeniAccountPromoPage-CswETXvx-BsmBi2Qk.js} +1 -1
  200. package/dist/assets/{ZeniAccountSetupPage-7B6Vgmg6-DsByA6Pf.js → ZeniAccountSetupPage-7B6Vgmg6-Cm9X_vfT.js} +1 -1
  201. package/dist/assets/{ZeniCopyright-DrkcGEYL-D8qMh6Rn.js → ZeniCopyright-DrkcGEYL-BmTJIlKC.js} +1 -1
  202. package/dist/assets/{ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js → ZeniTransferAmountSlider-Bw5S2HTx-DdoSkWzm.js} +1 -1
  203. package/dist/assets/{analyticsHelper-B46gu6zH.js → analyticsHelper-6vBfv0ec.js} +1 -1
  204. package/dist/assets/{analyticsHelper-C37dCyKv-Ci3W403B.js → analyticsHelper-C37dCyKv-CGyvCbtY.js} +1 -1
  205. package/dist/assets/{chartTypes-Cknnnhq_-BKEap-MQ.js → chartTypes-Cknnnhq_-DeXPyHuq.js} +1 -1
  206. package/dist/assets/{commonDimensions-D0ovCC4N-B0G2UdHm.js → commonDimensions-D0ovCC4N-CNPc1P_A.js} +1 -1
  207. package/dist/assets/{detailCommon-CKa5_aP2-CTgqAfFe.js → detailCommon-CKa5_aP2-yoaB_aFJ.js} +1 -1
  208. package/dist/assets/{downloadPdf-BJozh7zE-M2Rp1JlQ.js → downloadPdf-BJozh7zE-DZm4gsxy.js} +1 -1
  209. package/dist/assets/{index-Cnh9fv8f.js → index-b-ZazAq5.js} +3 -3
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-DttwbPj7-BWaq84fe.js → mapLoadingInProgressToTreeNode-DttwbPj7-ClOsgYHo.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CKUACdvT-96C16ahX.js → mapSectionWithAcOnlyToTreeNode-CKUACdvT-DnNr7s_7.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-CeH4tptC-BD7Zb85P.js → mapSpacerToTreeNode-CeH4tptC-DDar-aaX.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-CElz2Cb0-CuxVDYys.js → mapTimeframeBalancesToTreeNode-CElz2Cb0-yR23ijYO.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-TLHaVbTv-OZW2z0IX.js → mapTimeframeBalancesToTreeNode-TLHaVbTv-CwUi2UE6.js} +1 -1
  215. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Da50HxFS.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Ceni4bmN.js} +1 -1
  216. package/dist/assets/{play-icon-XWt7iQeF-7dWJ4Dkg.js → play-icon-XWt7iQeF-BXe3XEM9.js} +1 -1
  217. package/dist/assets/{toCOABalancesWithID-DACfD5ZE-BgoTIDec.js → toCOABalancesWithID-DACfD5ZE-DPBjMuXT.js} +1 -1
  218. package/dist/assets/{toChartData-C6ap15NT-ByCawuJX.js → toChartData-C6ap15NT-C4C_iiHg.js} +1 -1
  219. package/dist/assets/{treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js → treasuryColorHelper-DmVCoHv9-BvBjIWNj.js} +1 -1
  220. package/dist/assets/{uploadAttachment-D1XtO8---B9AANbCr.js → uploadAttachment-D1XtO8---C1HecV0B.js} +1 -1
  221. package/dist/assets/{uploadReceipts-Cl7e8jci-C-56lzXC.js → uploadReceipts-Cl7e8jci-CgmtP8oE.js} +1 -1
  222. package/dist/index.html +1 -1
  223. package/package.json +1 -1
  224. package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-8rsNTWNZ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Y as ht,u as qe,j as t,M as oe,iE as Y,aW as mt,T as H,bU as gt,n as K,s as kt,l as X,o as s,eM as Ze,bN as Ie,bR as xt,fD as wt,ao as ft,bf as Je,a6 as Ct,e as le,a as Tt,C as Qe,c9 as $t,F as yt,aj as bt,bZ as vt,i8 as St,i9 as jt,iF as ze,a4 as Gt,k as De,bA as Ee,eI as Xe,iG as Lt,cw as et,iH as pe,iI as xe,iJ as Nt,iK as we,iL as tt,iM as st,iN as ot,iO as nt,iP as at,iQ as rt,iR as _,q as ke,iS as re,d as ie,iT as It,iU as Et,a3 as Mt,r as Dt,iV as zt,d9 as Bt,iW as Rt,cm as it,cG as At,v as Ft,iX as Wt,iY as Ot,fE as Pt,eL as Vt,iZ as Ht,i_ as J,i$ as Be,b$ as Ut,j0 as _t,j1 as Kt,j2 as Re,j3 as Yt,c as Ae,f$ as qt,B as Zt}from"./index-Cnh9fv8f.js";import{b as n,n as o,j as fe}from"./vendor-rkTZJa59.js";import{K as Jt,Y as Qt}from"./SpendManagementSection-DIVgOKWy-D35voP2u.js";import{A as Xt,t as es,a as ts,E as ss}from"./NotificationsListConfig-hyqVBWDA-BxI8wBvU.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DEMLoStE-C1nPAYM8.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./StatusSwitcher-B77NoO6o-CLTHQ9CP.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},S=x=>{const j=e.current;return!j||!(x.target instanceof Node)?!1:j.contains(x.target)},E=x=>S(x),M=x=>{const j=Math.max(x,0)/d,y=Math.pow(j,p)*h;return Math.max(m,y)},k=(x,j,y)=>{const L=y==="up"?-j:j;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),j=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>j-d){const L=y-(j-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},je=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>je.common.numbers.maximumCount?`${je.common.numbers.maximumCount}${je.common.strings.plus}`:e})}),ds=o.div`
1
+ import{Y as ht,u as qe,j as t,M as oe,iE as Y,aW as mt,T as H,bU as gt,n as K,s as kt,l as X,o as s,eM as Ze,bN as Ie,bR as xt,fD as wt,ao as ft,bf as Je,a6 as Ct,e as le,a as Tt,C as Qe,c9 as $t,F as yt,aj as bt,bZ as vt,i8 as St,i9 as jt,iF as ze,a4 as Gt,k as De,bA as Ee,eI as Xe,iG as Lt,cw as et,iH as pe,iI as xe,iJ as Nt,iK as we,iL as tt,iM as st,iN as ot,iO as nt,iP as at,iQ as rt,iR as _,q as ke,iS as re,d as ie,iT as It,iU as Et,a3 as Mt,r as Dt,iV as zt,d9 as Bt,iW as Rt,cm as it,cG as At,v as Ft,iX as Wt,iY as Ot,fE as Pt,eL as Vt,iZ as Ht,i_ as J,i$ as Be,b$ as Ut,j0 as _t,j1 as Kt,j2 as Re,j3 as Yt,c as Ae,f$ as qt,B as Zt}from"./index-b-ZazAq5.js";import{b as n,n as o,j as fe}from"./vendor-rkTZJa59.js";import{K as Jt,Y as Qt}from"./SpendManagementSection-DIVgOKWy-DXji9rI6.js";import{A as Xt,t as es,a as ts,E as ss}from"./NotificationsListConfig-hyqVBWDA-ChVmChxH.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DEMLoStE-DOCGQBTb.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./StatusSwitcher-B77NoO6o--2WeeksA.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},S=x=>{const j=e.current;return!j||!(x.target instanceof Node)?!1:j.contains(x.target)},E=x=>S(x),M=x=>{const j=Math.max(x,0)/d,y=Math.pow(j,p)*h;return Math.max(m,y)},k=(x,j,y)=>{const L=y==="up"?-j:j;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),j=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>j-d){const L=y-(j-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},je=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>je.common.numbers.maximumCount?`${je.common.numbers.maximumCount}${je.common.strings.plus}`:e})}),ds=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{j as t,aj as D,E as k,di as H,aN as L,o as a,d as q}from"./index-Cnh9fv8f.js";import{n as g,b as i}from"./vendor-rkTZJa59.js";import{R as A}from"./mui-C42whWwM.js";import{V as U}from"./CollapsableReportTable-ULd7PQST-DRS_mwem.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{j as t,aj as D,E as k,di as H,aN as L,o as a,d as q}from"./index-b-ZazAq5.js";import{n as g,b as i}from"./vendor-rkTZJa59.js";import{R as A}from"./mui-C42whWwM.js";import{V as U}from"./CollapsableReportTable-ULd7PQST-zRaWsZKw.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{j as t,o,d as p,M as u}from"./index-Cnh9fv8f.js";import{n as i}from"./vendor-rkTZJa59.js";const f=i.div`
1
+ import{j as t,o,d as p,M as u}from"./index-b-ZazAq5.js";import{n as i}from"./vendor-rkTZJa59.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as c,j as t,C as n,d as x,b4 as w}from"./index-Cnh9fv8f.js";import{n as r}from"./vendor-rkTZJa59.js";import{b as l}from"./TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{e as c,j as t,C as n,d as x,b4 as w}from"./index-b-ZazAq5.js";import{n as r}from"./vendor-rkTZJa59.js";import{b as l}from"./TimeframeSwitcher-W5kHnuHI-BadD6oo8.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{E as _,e as V,j as t,u as f,b6 as T,aw as C,av as S,ba as E,bj as k,q as x,ab as R,v as $,bk as H,bl as q,a0 as G,l as X,U as F,o as p,d as L,ao as J,n as N,M as A,W as U,_ as W,a5 as O,ai as Y,aj as Q,a6 as Z,bm as ee}from"./index-Cnh9fv8f.js";import{f as v,b as te,n as g}from"./vendor-rkTZJa59.js";import{I as ae,T as re}from"./ReloadCard-BPoOhxrs-D8lPs5qf.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const ie=g(O)`
1
+ import{E as _,e as V,j as t,u as f,b6 as T,aw as C,av as S,ba as E,bj as k,q as x,ab as R,v as $,bk as H,bl as q,a0 as G,l as X,U as F,o as p,d as L,ao as J,n as N,M as A,W as U,_ as W,a5 as O,ai as Y,aj as Q,a6 as Z,bm as ee}from"./index-b-ZazAq5.js";import{f as v,b as te,n as g}from"./vendor-rkTZJa59.js";import{I as ae,T as re}from"./ReloadCard-BPoOhxrs-kBbFGmsU.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const ie=g(O)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{u as v,e as S,l as A,j as t,aW as B,M as u,a0 as b,aj as H,D as z,o as i,C as j,bi as P,aO as F,q as c,c as T,n as y,_ as V,af as D}from"./index-Cnh9fv8f.js";import{n as l,f as M,b as o}from"./vendor-rkTZJa59.js";import{E as _,I as Z}from"./TopExCard-oyXmygm8-DV87vjZL.js";import{b as L}from"./TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js";import{d as O}from"./NoDataTable-DCQbtvPN-DkrWdcTk.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-BPoOhxrs-D8lPs5qf.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const E="141px",I=i.sp4,R="123px",N=l(D)`
1
+ import{u as v,e as S,l as A,j as t,aW as B,M as u,a0 as b,aj as H,D as z,o as i,C as j,bi as P,aO as F,q as c,c as T,n as y,_ as V,af as D}from"./index-b-ZazAq5.js";import{n as l,f as M,b as o}from"./vendor-rkTZJa59.js";import{E as _,I as Z}from"./TopExCard-oyXmygm8-BYyuzniq.js";import{b as L}from"./TimeframeSwitcher-W5kHnuHI-BadD6oo8.js";import{d as O}from"./NoDataTable-DCQbtvPN-DodiAtKz.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-BPoOhxrs-kBbFGmsU.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const E="141px",I=i.sp4,R="123px",N=l(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{u as jt,a as zo,e as Q,M as N,a2 as Rt,dP as Ao,dQ as Vo,c9 as Ro,E as Po,dR as Gi,l as ue,dS as Eo,j as i,_ as B,F as _o,aW as No,dT as Bo,dU as Mo,m as Bt,dV as Ii,a4 as Fo,C as R,dW as Wo,dX as Xi,dY as Ji,dZ as Qi,d_ as Ie,d$ as ve,e0 as Ee,e1 as Ge,e2 as Xe,e3 as It,e4 as vt,e5 as Je,e6 as rt,e7 as Ct,e8 as Dt,e9 as Pt,ea as re,eb as Et,ec as se,ed as le,S as qo,ee as bt,ef as vi,eg as Uo,k as Ho,bU as Yo,o as n,eh as Go,q as v,D as si,c as ie,s as mi,ap as Mt,az as Xo,ei as Jo,bP as Qo,bN as Ft,a0 as De,cm as Be,ej as Zo,ek as kt,a7 as Zi,cr as Ko,el as en,bL as tn,bM as on,n as he,af as nn,cG as an,em as Ki,en as li,eo as ri,ep as Kt,de as sn,aj as ln,bZ as rn,cu as hi,cs as eo,d5 as cn,eq as Ci,er as Di,es as dn,bA as to,et as ei,dj as ti,eu as un,aO as pn,ev as mn,ew as Ti,ex as hn,y as gn,cv as fn,ey as yn,b as io,ez as bn,b5 as xn,eA as ji,b3 as tt,eB as wn,eC as $n,eD as In,b1 as vn,aD as Cn,ds as Dn,v as oo,eE as Tn,b0 as jn,a3 as On,B as Ln,eF as Sn,a9 as ci}from"./index-Cnh9fv8f.js";import{b as T,n as l,f as xt}from"./vendor-rkTZJa59.js";import{x as Oi}from"./LabeledControlledCheckBoxField-o0K1dba0-BZipP4yv.js";import{R as kn}from"./TrendWithTransactions-CQdqelNB-BxApJhmm.js";import{u as zn,c as An,d as Vn,m as Rn}from"./uploadAttachment-D1XtO8---B9AANbCr.js";import{o as Pn}from"./radio-default-CiSgisfh-Z5w0WcFM.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TrendChart-xBdkrxjQ-BHwV7FvD.js";import"./chartTypes-Cknnnhq_-BKEap-MQ.js";import"./toCOABalancesWithID-DACfD5ZE-BgoTIDec.js";import"./toChartData-C6ap15NT-ByCawuJX.js";import"./NoDataChart-Bk9eWo52-DbkTpf0E.js";import"./InsightsSection-WZo-AWJt-DohBwSi_.js";import"./NavigationDots-BsJyQWOZ-DQaJD5qn.js";import"./TransactionList-B9M4ftBY-9Xoftl5l.js";import"./BoxItem-DCsIK5bA-DrkhsCS_.js";import"./commonDimensions-D0ovCC4N-B0G2UdHm.js";const En={headerMarginTop:new R(v[7],v[8])},_n=l(he)`
1
+ import{u as jt,a as zo,e as Q,M as N,a2 as Rt,dP as Ao,dQ as Vo,c9 as Ro,E as Po,dR as Gi,l as ue,dS as Eo,j as i,_ as B,F as _o,aW as No,dT as Bo,dU as Mo,m as Bt,dV as Ii,a4 as Fo,C as R,dW as Wo,dX as Xi,dY as Ji,dZ as Qi,d_ as Ie,d$ as ve,e0 as Ee,e1 as Ge,e2 as Xe,e3 as It,e4 as vt,e5 as Je,e6 as rt,e7 as Ct,e8 as Dt,e9 as Pt,ea as re,eb as Et,ec as se,ed as le,S as qo,ee as bt,ef as vi,eg as Uo,k as Ho,bU as Yo,o as n,eh as Go,q as v,D as si,c as ie,s as mi,ap as Mt,az as Xo,ei as Jo,bP as Qo,bN as Ft,a0 as De,cm as Be,ej as Zo,ek as kt,a7 as Zi,cr as Ko,el as en,bL as tn,bM as on,n as he,af as nn,cG as an,em as Ki,en as li,eo as ri,ep as Kt,de as sn,aj as ln,bZ as rn,cu as hi,cs as eo,d5 as cn,eq as Ci,er as Di,es as dn,bA as to,et as ei,dj as ti,eu as un,aO as pn,ev as mn,ew as Ti,ex as hn,y as gn,cv as fn,ey as yn,b as io,ez as bn,b5 as xn,eA as ji,b3 as tt,eB as wn,eC as $n,eD as In,b1 as vn,aD as Cn,ds as Dn,v as oo,eE as Tn,b0 as jn,a3 as On,B as Ln,eF as Sn,a9 as ci}from"./index-b-ZazAq5.js";import{b as T,n as l,f as xt}from"./vendor-rkTZJa59.js";import{x as Oi}from"./LabeledControlledCheckBoxField-o0K1dba0-CaYkqqwf.js";import{R as kn}from"./TrendWithTransactions-CQdqelNB-DQo5xCdz.js";import{u as zn,c as An,d as Vn,m as Rn}from"./uploadAttachment-D1XtO8---C1HecV0B.js";import{o as Pn}from"./radio-default-CiSgisfh-Z5w0WcFM.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TrendChart-xBdkrxjQ-C4056Hlf.js";import"./chartTypes-Cknnnhq_-DeXPyHuq.js";import"./toCOABalancesWithID-DACfD5ZE-DPBjMuXT.js";import"./toChartData-C6ap15NT-C4C_iiHg.js";import"./NoDataChart-Bk9eWo52-DcgFDiHH.js";import"./InsightsSection-WZo-AWJt-B29Z2aQ6.js";import"./NavigationDots-BsJyQWOZ-BDcajz6w.js";import"./TransactionList-B9M4ftBY-DwRVqc-5.js";import"./BoxItem-DCsIK5bA-DmT1xtf2.js";import"./commonDimensions-D0ovCC4N-CNPc1P_A.js";const En={headerMarginTop:new R(v[7],v[8])},_n=l(he)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Nn=l(he)`
4
4
  margin-right: ${n.sp1};
@@ -1,4 +1,4 @@
1
- import{bI as ot,e as R,j as e,aj as rt,_ as u,de as st,M as j,df as nt,d9 as lt,dg as dt,o as a,c as Z,bZ as ct,C as U,l as m,m as mt,n as k,q as w,d as ft,dh as V,cy as W,a0 as _,B as xt}from"./index-Cnh9fv8f.js";import{b,n,f as ut}from"./vendor-rkTZJa59.js";import{g as J}from"./BoxItem-DCsIK5bA-DrkhsCS_.js";import{o as B}from"./commonDimensions-D0ovCC4N-B0G2UdHm.js";const D=t=>t?24:125,ht={containerPaddingBottom:new U(w[9],w[8])},A=n.div`
1
+ import{bI as ot,e as R,j as e,aj as rt,_ as u,de as st,M as j,df as nt,d9 as lt,dg as dt,o as a,c as Z,bZ as ct,C as U,l as m,m as mt,n as k,q as w,d as ft,dh as V,cy as W,a0 as _,B as xt}from"./index-b-ZazAq5.js";import{b,n,f as ut}from"./vendor-rkTZJa59.js";import{g as J}from"./BoxItem-DCsIK5bA-DmT1xtf2.js";import{o as B}from"./commonDimensions-D0ovCC4N-CNPc1P_A.js";const D=t=>t?24:125,ht={containerPaddingBottom:new U(w[9],w[8])},A=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{C as a,e as L,Y as W,H as ie,ab as ne,l as D,j as t,_ as x,aj as re,M as w,q as n,v as ae,c as B,o,b as j,h as X,aM as se,aN as le,d as de,s as ce,a0 as me,aO as pe,p as he,m as ue,k as Y,D as G,aP as Q,a6 as ee}from"./index-Cnh9fv8f.js";import{b as N,n as i,f,j as ge}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-DsjFJ8gZ-DjW6RsEa.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SummaryCard-BvuRZj8f-DCeFdYs2.js";import"./ReloadCard-BPoOhxrs-D8lPs5qf.js";import"./NavigationArrow-ClEBtns--CBhi3Wa5.js";import"./NavigationDots-BsJyQWOZ-DQaJD5qn.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,e as L,Y as W,H as ie,ab as ne,l as D,j as t,_ as x,aj as re,M as w,q as n,v as ae,c as B,o,b as j,h as X,aM as se,aN as le,d as de,s as ce,a0 as me,aO as pe,p as he,m as ue,k as Y,D as G,aP as Q,a6 as ee}from"./index-b-ZazAq5.js";import{b as N,n as i,f,j as ge}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-DsjFJ8gZ-tDFsAqWF.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SummaryCard-BvuRZj8f-T-eFM0LS.js";import"./ReloadCard-BPoOhxrs-kBbFGmsU.js";import"./NavigationArrow-ClEBtns--QcRQdXVR.js";import"./NavigationDots-BsJyQWOZ-BDcajz6w.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{u as A,aU as z,aV as M,j as o,_ as u,aW as _,m as J,aX as U,o as n,n as V}from"./index-Cnh9fv8f.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{p as W}from"./TransactionList-B9M4ftBY-9Xoftl5l.js";import{t as X}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-DCsIK5bA-DrkhsCS_.js";import"./commonDimensions-D0ovCC4N-B0G2UdHm.js";const Z=l.div`
1
+ import{u as A,aU as z,aV as M,j as o,_ as u,aW as _,m as J,aX as U,o as n,n as V}from"./index-b-ZazAq5.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{p as W}from"./TransactionList-B9M4ftBY-DwRVqc-5.js";import{t as X}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-DCsIK5bA-DmT1xtf2.js";import"./commonDimensions-D0ovCC4N-CNPc1P_A.js";const Z=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{e as H,M as k,j as o,m as q,_ as D,a4 as W,o as a,C as g,a3 as _,b as G,cA as J,a as K,gz as F,gA as M,gB as B,c9 as U,F as Y,q as s,u as Q,cc as X,gd as z,gG as Z,am as ee,gK as oe,gL as te}from"./index-Cnh9fv8f.js";import{b as I,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=Q(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:B(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=d.div`
1
+ import{e as H,M as k,j as o,m as q,_ as D,a4 as W,o as a,C as g,a3 as _,b as G,cA as J,a as K,gz as F,gA as M,gB as B,c9 as U,F as Y,q as s,u as Q,cc as X,gd as z,gG as Z,am as ee,gK as oe,gL as te}from"./index-b-ZazAq5.js";import{b as I,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=Q(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:B(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,e as ue,_ as A,gT as lt,M as I,a0 as U,k as ve,h1 as ct,m as Ve,a4 as $e,o as a,C as c,a3 as Ye,L as dt,ao as ut,s as ft,c6 as De,d as be,n as fe,a2 as ce,f0 as pt,a as Xe,l as mt,c9 as ht,ab as gt,a1 as wt,c as Z,F as qe,f9 as ke,fa as Ae,fI as xt,bA as Te,fD as $t,h2 as Dt,q as o,d0 as bt,bN as Ue,bu as Tt,cF as yt,b5 as Ct,B as Ge,f5 as St,ds as vt,bw as Ze,fc as kt,fe as At}from"./index-Cnh9fv8f.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js";import{r as Lt}from"./AccountInfoPageContent-Cc80eQeo-579rUIpL.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-M2Rp1JlQ.js";import"./commonDimensions-D0ovCC4N-B0G2UdHm.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),He="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:H,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,N]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),ye=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),R(),Y(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&N(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||ye!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,ye,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};H(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(y(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Nt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Vt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,He),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Te,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ht,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ve,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[He]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{j as t,e as ue,_ as A,gT as lt,M as I,a0 as U,k as ve,h1 as ct,m as Ve,a4 as $e,o as a,C as c,a3 as Ye,L as dt,ao as ut,s as ft,c6 as De,d as be,n as fe,a2 as ce,f0 as pt,a as Xe,l as mt,c9 as ht,ab as gt,a1 as wt,c as Z,F as qe,f9 as ke,fa as Ae,fI as xt,bA as Te,fD as $t,h2 as Dt,q as o,d0 as bt,bN as Ue,bu as Tt,cF as yt,b5 as Ct,B as Ge,f5 as St,ds as vt,bw as Ze,fc as kt,fe as At}from"./index-b-ZazAq5.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bw5S2HTx-DdoSkWzm.js";import{r as Lt}from"./AccountInfoPageContent-Cc80eQeo-CgEfuzww.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-DZm4gsxy.js";import"./commonDimensions-D0ovCC4N-CNPc1P_A.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),He="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:H,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,N]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),ye=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),R(),Y(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&N(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||ye!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,ye,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};H(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(y(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Nt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Vt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,He),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Te,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ht,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ve,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[He]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{e as C,u as M,d5 as Ye,j as t,M as L,a0 as V,bA as ae,aW as Ne,v as ie,_ as E,m as Fe,o as i,d as k,c as w,b5 as Ke,C as u,cU as _,b as R,l as W,q as h,gW as le,at as de,aw as ce,av as he,au as pe,b8 as We,bf as Le,a6 as Me,Y as Ve,fp as Ee,gq as Ue,k as Ge,n as A,af as Je,iz as Xe,ja as _e,aA as qe,eJ as Ze,d7 as Qe,f5 as et,aj as tt,bZ as it,i8 as ot,i9 as rt,k9 as at,bm as nt,B as U,c2 as xe,ib as st,c5 as lt,ic as dt,id as ct}from"./index-Cnh9fv8f.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-rkTZJa59.js";import{s as pt}from"./commonDimensions-D0ovCC4N-B0G2UdHm.js";import{g as me}from"./BoxItem-DCsIK5bA-DrkhsCS_.js";import{l as ne,d as xt}from"./treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as mt}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{e as C,u as M,d5 as Ye,j as t,M as L,a0 as V,bA as ae,aW as Ne,v as ie,_ as E,m as Fe,o as i,d as k,c as w,b5 as Ke,C as u,cU as _,b as R,l as W,q as h,gW as le,at as de,aw as ce,av as he,au as pe,b8 as We,bf as Le,a6 as Me,Y as Ve,fp as Ee,gq as Ue,k as Ge,n as A,af as Je,iz as Xe,ja as _e,aA as qe,eJ as Ze,d7 as Qe,f5 as et,aj as tt,bZ as it,i8 as ot,i9 as rt,k9 as at,bm as nt,B as U,c2 as xe,ib as st,c5 as lt,ic as dt,id as ct}from"./index-b-ZazAq5.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-rkTZJa59.js";import{s as pt}from"./commonDimensions-D0ovCC4N-CNPc1P_A.js";import{g as me}from"./BoxItem-DCsIK5bA-DmT1xtf2.js";import{l as ne,d as xt}from"./treasuryColorHelper-DmVCoHv9-BvBjIWNj.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as mt}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{u as ae,e as E,Y as xe,d5 as we,a2 as $e,l as fe,M as F,j as r,aW as ye,o as i,iz as je,bA as be,d as S,k as J,_ as K,b as f,s as V,C as v,c as t,n as H,d7 as Se,bp as ke,L as ze,B as ve,cO as Ce,q as m,dM as Le,ay as Pe,c6 as Te,a3 as De,v as Q,cA as Ie}from"./index-Cnh9fv8f.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js";import{l as Re}from"./treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ne}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const He=({isOpen:e,onClose:x})=>{const d=E(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Oe,{children:[r.jsx(Ee,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(qe,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(Ye,{children:c.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},_e=o.div`
1
+ import{u as ae,e as E,Y as xe,d5 as we,a2 as $e,l as fe,M as F,j as r,aW as ye,o as i,iz as je,bA as be,d as S,k as J,_ as K,b as f,s as V,C as v,c as t,n as H,d7 as Se,bp as ke,L as ze,B as ve,cO as Ce,q as m,dM as Le,ay as Pe,c6 as Te,a3 as De,v as Q,cA as Ie}from"./index-b-ZazAq5.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js";import{l as Re}from"./treasuryColorHelper-DmVCoHv9-BvBjIWNj.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ne}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const He=({isOpen:e,onClose:x})=>{const d=E(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Oe,{children:[r.jsx(Ee,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(qe,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(Ye,{children:c.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},_e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d5 as Me,u as Ue,e as ae,a2 as se,a as re,c9 as le,M as ce,a8 as te,j as t,cO as He,c as Re,C as u,aW as _e,m as Ne,F as de,dO as qe,aS as Ge,q as n,k as Je,bA as Xe,_ as Ye,cf as Ze,a4 as Ke,o as i,n as ue,c6 as Qe,a3 as et,b as tt,h as it}from"./index-Cnh9fv8f.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-D9ONg6cm-CuNxHNm2.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js";import{f as at}from"./SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js";import st from"./PortfolioAllocationFormPage-B6JOvEvW-BSgeoBob.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js";import"./ChargeCardUtils-BcwLwgz7-DrE0N0EF.js";import"./CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js";import"./ChaseOverlay-ClcKUdpT-Buerorcp.js";import"./PortfolioDetails-Cpv5bi4_-C3K7fsrr.js";import"./treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,J=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:w,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:W,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),B=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)}}}),[f?.sourceOfFunds])}),D=m=>J[m]??m,M=C.handleSubmit(()=>{W(e?.officerType??"Officer_1")}),P=async(m,x)=>{I(x[$])};return a.useEffect(()=>{const m=C.watch((x,{name:O})=>{O!=null&&x!=null&&le(()=>P(O,x))});return()=>{m.unsubscribe()}}),B==="In-Progress"&&c.fetchState==="Completed"||w===!0?t.jsxs(gt,{children:[t.jsxs(wt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Je,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Xe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Ye("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(xt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ze,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:D,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ke,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
1
+ import{d5 as Me,u as Ue,e as ae,a2 as se,a as re,c9 as le,M as ce,a8 as te,j as t,cO as He,c as Re,C as u,aW as _e,m as Ne,F as de,dO as qe,aS as Ge,q as n,k as Je,bA as Xe,_ as Ye,cf as Ze,a4 as Ke,o as i,n as ue,c6 as Qe,a3 as et,b as tt,h as it}from"./index-b-ZazAq5.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-D9ONg6cm-Be59SjbC.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-B-ZEHQUb-wT4VB7Bz.js";import{f as at}from"./SpendMgmtSetupAccountSection-DFyUBsg3-CBY1E6Ip.js";import st from"./PortfolioAllocationFormPage-B6JOvEvW-B8_jJPtJ.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js";import"./ChargeCardUtils-BcwLwgz7-DtCcFgNi.js";import"./CreditCardPaymentPlgSection-8NQI5gcx-CYgVnwi-.js";import"./ChaseOverlay-ClcKUdpT-DsBdB3dn.js";import"./PortfolioDetails-Cpv5bi4_-BHPnb_oU.js";import"./treasuryColorHelper-DmVCoHv9-BvBjIWNj.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,J=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:w,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:W,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),B=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)}}}),[f?.sourceOfFunds])}),D=m=>J[m]??m,M=C.handleSubmit(()=>{W(e?.officerType??"Officer_1")}),P=async(m,x)=>{I(x[$])};return a.useEffect(()=>{const m=C.watch((x,{name:O})=>{O!=null&&x!=null&&le(()=>P(O,x))});return()=>{m.unsubscribe()}}),B==="In-Progress"&&c.fetchState==="Completed"||w===!0?t.jsxs(gt,{children:[t.jsxs(wt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Je,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Xe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Ye("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(xt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ze,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:D,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(J)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ke,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${E.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${E.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{u as j,e as v,j as t,aW as z,M as C,aj as M,o as r,c,bZ as P,C as I,q as d,n as R}from"./index-Cnh9fv8f.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-DCsIK5bA-DrkhsCS_.js";import{o as B}from"./commonDimensions-D0ovCC4N-B0G2UdHm.js";import{M as E}from"./StatementItem-CSyEn4Pz-CIQDSk8U.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-M2Rp1JlQ.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(M,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
1
+ import{u as j,e as v,j as t,aW as z,M as C,aj as M,o as r,c,bZ as P,C as I,q as d,n as R}from"./index-b-ZazAq5.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-DCsIK5bA-DmT1xtf2.js";import{o as B}from"./commonDimensions-D0ovCC4N-CNPc1P_A.js";import{M as E}from"./StatementItem-CSyEn4Pz-Ceu9_WYP.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-DZm4gsxy.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(M,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as S,e as v,j as t,aW as L,M as z,aj as C,o as r,c,bZ as M,C as P,q as d,n as T}from"./index-Cnh9fv8f.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-DCsIK5bA-DrkhsCS_.js";import{o as R}from"./commonDimensions-D0ovCC4N-B0G2UdHm.js";import{M as B}from"./StatementItem-CSyEn4Pz-CIQDSk8U.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-M2Rp1JlQ.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:m.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,p=o.div`
1
+ import{u as S,e as v,j as t,aW as L,M as z,aj as C,o as r,c,bZ as M,C as P,q as d,n as T}from"./index-b-ZazAq5.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-DCsIK5bA-DmT1xtf2.js";import{o as R}from"./commonDimensions-D0ovCC4N-CNPc1P_A.js";import{M as B}from"./StatementItem-CSyEn4Pz-Ceu9_WYP.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-BJozh7zE-DZm4gsxy.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:m.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{e as ge,E as $t,j as o,_ as P,gT as bt,M as we,a0 as W,k as Ne,m as Ze,a4 as et,o as t,C as f,a3 as Le,L as St,am as vt,u as jt,a2 as U,bA as At,cU as tt,b as R,l as z,g0 as kt,c as S,s as Tt,h as ot,d as X,n as Y,f0 as Pt,a as Ct,c9 as zt,F as Lt,fI as Dt,q as c,bu as rt,d0 as nt,bN as it,cF as Ft,cw as Mt,fc as Rt,f4 as Bt,d5 as Ot,B as It,f5 as Et,ds as Nt,c2 as _t,c1 as Vt,aR as Wt,bd as Xt,fe as Yt,fn as Gt,ab as qt}from"./index-Cnh9fv8f.js";import{n as r,b as w}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-Cpv5bi4_-C3K7fsrr.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js";const Ut=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ht=1e3;function Jt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ht,value:l,onChange:x}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Kt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Qt(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Kt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Ut.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Qt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
1
+ import{e as ge,E as $t,j as o,_ as P,gT as bt,M as we,a0 as W,k as Ne,m as Ze,a4 as et,o as t,C as f,a3 as Le,L as St,am as vt,u as jt,a2 as U,bA as At,cU as tt,b as R,l as z,g0 as kt,c as S,s as Tt,h as ot,d as X,n as Y,f0 as Pt,a as Ct,c9 as zt,F as Lt,fI as Dt,q as c,bu as rt,d0 as nt,bN as it,cF as Ft,cw as Mt,fc as Rt,f4 as Bt,d5 as Ot,B as It,f5 as Et,ds as Nt,c2 as _t,c1 as Vt,aR as Wt,bd as Xt,fe as Yt,fn as Gt,ab as qt}from"./index-b-ZazAq5.js";import{n as r,b as w}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-Cpv5bi4_-BHPnb_oU.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-DmVCoHv9-BvBjIWNj.js";const Ut=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ht=1e3;function Jt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ht,value:l,onChange:x}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Kt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Qt(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Kt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Ut.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Qt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{M as w,j as n,l as u,u as Z,_ as Y,aj as z,b6 as B,b7 as F,aw as P,v as k,av as R,ab as O,b8 as _,ax as q,ba as G,o as L,c as K,n as N}from"./index-Cnh9fv8f.js";import{b as v,f as V,n as $}from"./vendor-rkTZJa59.js";import{d as W,g as M,p as D,u as J}from"./chartTypes-Cknnnhq_-BKEap-MQ.js";import{o as Q}from"./toCOABalancesWithID-DACfD5ZE-BgoTIDec.js";import{V as X}from"./toChartData-C6ap15NT-ByCawuJX.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const H=$.div`
1
+ import{M as w,j as n,l as u,u as Z,_ as Y,aj as z,b6 as B,b7 as F,aw as P,v as k,av as R,ab as O,b8 as _,ax as q,ba as G,o as L,c as K,n as N}from"./index-b-ZazAq5.js";import{b as v,f as V,n as $}from"./vendor-rkTZJa59.js";import{d as W,g as M,p as D,u as J}from"./chartTypes-Cknnnhq_-DeXPyHuq.js";import{o as Q}from"./toCOABalancesWithID-DACfD5ZE-DPBjMuXT.js";import{V as X}from"./toChartData-C6ap15NT-C4C_iiHg.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const H=$.div`
2
2
  display: flex;
3
3
  `,I=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as k,j as i,m as R,o as t,M as F,C as c,_ as S,aj as q,am as Y,c6 as E,q as a,n as _,a3 as K}from"./index-Cnh9fv8f.js";import{b as D,n}from"./vendor-rkTZJa59.js";import V from"./TrendChart-xBdkrxjQ-BHwV7FvD.js";import{C as W}from"./NoDataChart-Bk9eWo52-DbkTpf0E.js";import{B as J}from"./InsightsSection-WZo-AWJt-DohBwSi_.js";import{p as X}from"./TransactionList-B9M4ftBY-9Xoftl5l.js";const Z=n.div`
1
+ import{e as k,j as i,m as R,o as t,M as F,C as c,_ as S,aj as q,am as Y,c6 as E,q as a,n as _,a3 as K}from"./index-b-ZazAq5.js";import{b as D,n}from"./vendor-rkTZJa59.js";import V from"./TrendChart-xBdkrxjQ-C4056Hlf.js";import{C as W}from"./NoDataChart-Bk9eWo52-DcgFDiHH.js";import{B as J}from"./InsightsSection-WZo-AWJt-B29Z2aQ6.js";import{p as X}from"./TransactionList-B9M4ftBY-DwRVqc-5.js";const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,e as se,Y as Ke,a2 as en,g8 as R,ha as U,M as H,a as nn,hb as tn,hc as Te,c9 as on,j as t,aW as cn,bU as sn,bW as ln,bX as an,F as dn,l as J,hd as rn,m as un,he as Y,hf as pn,a4 as mn,hg as _e,C as u,n as gn,o as l,cm as fe,a8 as W,gd as oe,hh as ie,q as r,b as Ae,c as $e,fC as Ve,d as Se,aC as xn}from"./index-Cnh9fv8f.js";import{b as X,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-D9ONg6cm-CuNxHNm2.js";import{h as wn}from"./VendorsAccountsSection-C2McA3-C-CAGlOz8b.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,e as se,Y as Ke,a2 as en,g8 as R,ha as U,M as H,a as nn,hb as tn,hc as Te,c9 as on,j as t,aW as cn,bU as sn,bW as ln,bX as an,F as dn,l as J,hd as rn,m as un,he as Y,hf as pn,a4 as mn,hg as _e,C as u,n as gn,o as l,cm as fe,a8 as W,gd as oe,hh as ie,q as r,b as Ae,c as $e,fC as Ve,d as Se,aC as xn}from"./index-b-ZazAq5.js";import{b as X,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-D9ONg6cm-Be59SjbC.js";import{h as wn}from"./VendorsAccountsSection-C2McA3-C-Cb0CgKxi.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-B_KRQLwc-Dk4sRI3u.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a2 as b,j as t,hj as R,hk as _,e as F,M as O,bU as U,g as C,bW as N,bX as z,a as M,F as H,ci as G,l as T,ce as D,C as g,cf as X,c as A,p as J,m as Q,k as K,o as i,n as Y,q as B,s as Z,ap as ee}from"./index-Cnh9fv8f.js";import{b as c,n as f}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
1
+ import{a2 as b,j as t,hj as R,hk as _,e as F,M as O,bU as U,g as C,bW as N,bX as z,a as M,F as H,ci as G,l as T,ce as D,C as g,cf as X,c as A,p as J,m as Q,k as K,o as i,n as Y,q as B,s as Z,ap as ee}from"./index-b-ZazAq5.js";import{b as c,n as f}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a as k,ff as x,a2 as U,l as _,e as q,M as W,j as i,c9 as A,F as G,_ as J,fg as H,o as a,c as K,cj as Q,a4 as X,C as y,a3 as Y,c6 as Z,ap as ee,ao as te,q as c}from"./index-Cnh9fv8f.js";import{b as m,n as l}from"./vendor-rkTZJa59.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function fe(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:u,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),b=U(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=_.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,u,n,t?.additionalFiles]);const r=q(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[f].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&A(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:f,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as k,ff as x,a2 as U,l as _,e as q,M as W,j as i,c9 as A,F as G,_ as J,fg as H,o as a,c as K,cj as Q,a4 as X,C as y,a3 as Y,c6 as Z,ap as ee,ao as te,q as c}from"./index-b-ZazAq5.js";import{b as m,n as l}from"./vendor-rkTZJa59.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function fe(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:u,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),b=U(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=_.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,u,n,t?.additionalFiles]);const r=q(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[f].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&A(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:f,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a2 as o,M as j,j as i,hj as k,hk as v}from"./index-Cnh9fv8f.js";import{b as e}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=j.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(k,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
1
+ import{a2 as o,M as j,j as i,hj as k,hk as v}from"./index-b-ZazAq5.js";import{b as e}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=j.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(k,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-Cnh9fv8f.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-CVBRtacz-BEkwx2cM.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js";import"./MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js";import"./BankAccountSection-B20IwpOn-dEqA-3oX.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-b-ZazAq5.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-CVBRtacz-B-wXgcdL.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js";import"./MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js";import"./BankAccountSection-B20IwpOn-DQog70tV.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{M as _,u as Re,e as ne,C as g,E as be,l as se,cb as xt,a as yt,gz as Ae,gA as Be,gB as Ee,gC as fe,gD as bt,a8 as ft,c9 as wt,j as t,aW as Ct,F as St,gE as $t,gF as ue,q as l,ca as Dt,a4 as jt,o,bg as $,cm as Lt,gd as we,gG as Tt,cc as Vt,cd as kt,ce as It,gH as Ot,fJ as Pt,ck as Ft,gI as zt,gJ as Mt,c as M,dr as _t,dq as Nt,cy as Wt,ab as de,am as Ue,d as qe,ds as Ht,f5 as Rt,gK as At,gL as Bt,n as Et,gM as Ut,bN as Ye,gN as qt,b as Ce,h as Ke}from"./index-Cnh9fv8f.js";import{b as S,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Kt}from"./SubTabSwitcher-baJGHUgJ-BPKK4q6_.js";import{p as Gt}from"./TransactionList-B9M4ftBY-9Xoftl5l.js";import{R as Jt}from"./TrendWithTransactions-CQdqelNB-BxApJhmm.js";import{o as Qt,t as Zt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{W as Xt}from"./LabeledAddressValueField-_35LG3OI-C2eHerzm.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-DCsIK5bA-DrkhsCS_.js";import"./commonDimensions-D0ovCC4N-B0G2UdHm.js";import"./TrendChart-xBdkrxjQ-BHwV7FvD.js";import"./chartTypes-Cknnnhq_-BKEap-MQ.js";import"./toCOABalancesWithID-DACfD5ZE-BgoTIDec.js";import"./toChartData-C6ap15NT-ByCawuJX.js";import"./NoDataChart-Bk9eWo52-DbkTpf0E.js";import"./InsightsSection-WZo-AWJt-DohBwSi_.js";import"./NavigationDots-BsJyQWOZ-DQaJD5qn.js";const ts=a.div`
1
+ import{M as _,u as Re,e as ne,C as g,E as be,l as se,cb as xt,a as yt,gz as Ae,gA as Be,gB as Ee,gC as fe,gD as bt,a8 as ft,c9 as wt,j as t,aW as Ct,F as St,gE as $t,gF as ue,q as l,ca as Dt,a4 as jt,o,bg as $,cm as Lt,gd as we,gG as Tt,cc as Vt,cd as kt,ce as It,gH as Ot,fJ as Pt,ck as Ft,gI as zt,gJ as Mt,c as M,dr as _t,dq as Nt,cy as Wt,ab as de,am as Ue,d as qe,ds as Ht,f5 as Rt,gK as At,gL as Bt,n as Et,gM as Ut,bN as Ye,gN as qt,b as Ce,h as Ke}from"./index-b-ZazAq5.js";import{b as S,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Kt}from"./SubTabSwitcher-baJGHUgJ-DvovvHUF.js";import{p as Gt}from"./TransactionList-B9M4ftBY-DwRVqc-5.js";import{R as Jt}from"./TrendWithTransactions-CQdqelNB-DQo5xCdz.js";import{o as Qt,t as Zt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{W as Xt}from"./LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DdaTvUbM-KTtCMdFX.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-DCsIK5bA-DmT1xtf2.js";import"./commonDimensions-D0ovCC4N-CNPc1P_A.js";import"./TrendChart-xBdkrxjQ-C4056Hlf.js";import"./chartTypes-Cknnnhq_-DeXPyHuq.js";import"./toCOABalancesWithID-DACfD5ZE-DPBjMuXT.js";import"./toChartData-C6ap15NT-C4C_iiHg.js";import"./NoDataChart-Bk9eWo52-DcgFDiHH.js";import"./InsightsSection-WZo-AWJt-B29Z2aQ6.js";import"./NavigationDots-BsJyQWOZ-BDcajz6w.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-Cnh9fv8f.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-D6fDbjcO-DHXj9Zdn.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountSection-B20IwpOn-dEqA-3oX.js";import"./MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js";import"./BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js";import"./MailingDetailsSection-CrHHLtQN-loRqi7di.js";import"./LabeledAddressValueField-_35LG3OI-C2eHerzm.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-b-ZazAq5.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-D6fDbjcO-B5-gEW7w.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountSection-B20IwpOn-DQog70tV.js";import"./MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js";import"./BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js";import"./MailingDetailsSection-CrHHLtQN-DrQYYUeI.js";import"./LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{e as oe,u as ke,M as ne,a as ze,cC as K,gO as de,c9 as Ae,C as w,j as t,aW as Be,_ as Ee,F as We,cc as C,o as s,cg as qe,gH as Oe,fJ as Re,ck as Me,gI as He,gJ as Ue,cs as Ke,a4 as Ge,cu as Je,cD as Ye,q as c,a3 as Ze,bg as F,c7 as _e,gP as Qe,c as I,eV as Xe,bN as et,n as ce,eE as tt,gQ as st,gR as lt,gS as M,cE as it}from"./index-Cnh9fv8f.js";import{b as x,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:q}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{e as oe,u as ke,M as ne,a as ze,cC as K,gO as de,c9 as Ae,C as w,j as t,aW as Be,_ as Ee,F as We,cc as C,o as s,cg as qe,gH as Oe,fJ as Re,ck as Me,gI as He,gJ as Ue,cs as Ke,a4 as Ge,cu as Je,cD as Ye,q as c,a3 as Ze,bg as F,c7 as _e,gP as Qe,c as I,eV as Xe,bN as et,n as ce,eE as tt,gQ as st,gR as lt,gS as M,cE as it}from"./index-b-ZazAq5.js";import{b as x,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DdaTvUbM-KTtCMdFX.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:q}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{e as ae,Y as Nn,u as mn,a as nt,hu as Te,c9 as tt,y as On,hv as ie,hw as xe,hx as fe,hy as be,hz as me,M as je,j as n,hq as ot,F as rt,aW as it,T as st,bU as at,bW as lt,bX as dt,bp as ct,_ as Y,bf as mt,bR as pt,aj as ut,dl as ht,bZ as gt,C as w,m as wt,D as Ne,o as t,a7 as In,n as De,a6 as vt,q as c,d as Re,c2 as xt,l as Pn,dr as Tn,bg as Pe,aB as zn,c5 as ft,bt,dE as $t,ap as Ye,aP as pn,c as F,az as Dn,fj as St,dh as wn,cy as rn,hA as yt,hB as sn,p as jt,bA as Fe,dO as Rt,et as vn,b5 as Ct,dt as Vt,k as xn,hC as kt,cm as Mt,cu as Nt,cv as Ot,ey as It,B as Ln,hD as Pt,b3 as se,hE as fn,gf as Tt,b1 as zt,aD as Dt,ds as Lt,v as _n,b as _t,eF as At,a9 as dn}from"./index-Cnh9fv8f.js";import{b as f,n as o,j as cn}from"./vendor-rkTZJa59.js";import{r as Bt}from"./mui-C42whWwM.js";import{R as Ft}from"./Menu-Czq7AdhP-C-oEbm2f.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{e as ae,Y as Nn,u as mn,a as nt,hu as Te,c9 as tt,y as On,hv as ie,hw as xe,hx as fe,hy as be,hz as me,M as je,j as n,hq as ot,F as rt,aW as it,T as st,bU as at,bW as lt,bX as dt,bp as ct,_ as Y,bf as mt,bR as pt,aj as ut,dl as ht,bZ as gt,C as w,m as wt,D as Ne,o as t,a7 as In,n as De,a6 as vt,q as c,d as Re,c2 as xt,l as Pn,dr as Tn,bg as Pe,aB as zn,c5 as ft,bt,dE as $t,ap as Ye,aP as pn,c as F,az as Dn,fj as St,dh as wn,cy as rn,hA as yt,hB as sn,p as jt,bA as Fe,dO as Rt,et as vn,b5 as Ct,dt as Vt,k as xn,hC as kt,cm as Mt,cu as Nt,cv as Ot,ey as It,B as Ln,hD as Pt,b3 as se,hE as fn,gf as Tt,b1 as zt,aD as Dt,ds as Lt,v as _n,b as _t,eF as At,a9 as dn}from"./index-b-ZazAq5.js";import{b as f,n as o,j as cn}from"./vendor-rkTZJa59.js";import{r as Bt}from"./mui-C42whWwM.js";import{R as Ft}from"./Menu-Czq7AdhP-DuOfxCaz.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,e as J,a as he,M as N,c9 as ye,E as ge,l as Q,bU as be,bW as fe,bX as xe,F as ve,a4 as we,C as p,cC as le,cD as Ce,o as y,ao as $e,cm as oe,u as ne,cE as je,cF as X,cs as G,ah as H,cc as De,cG as Te,q as a,cu as Se,_ as ke,c as V,m as Fe,b as Oe,bA as Ae,d as Le,b5 as We}from"./index-Cnh9fv8f.js";import{b as I,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Re}from"./BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js";import{T as Ie}from"./MailingDetailsSection-CrHHLtQN-loRqi7di.js";import{S as Pe}from"./CurrencySelectField-CVNn0XCq-DT36t2lI.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-_35LG3OI-C2eHerzm.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,e as J,a as he,M as N,c9 as ye,E as ge,l as Q,bU as be,bW as fe,bX as xe,F as ve,a4 as we,C as p,cC as le,cD as Ce,o as y,ao as $e,cm as oe,u as ne,cE as je,cF as X,cs as G,ah as H,cc as De,cG as Te,q as a,cu as Se,_ as ke,c as V,m as Fe,b as Oe,bA as Ae,d as Le,b5 as We}from"./index-b-ZazAq5.js";import{b as I,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Re}from"./BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js";import{T as Ie}from"./MailingDetailsSection-CrHHLtQN-DrQYYUeI.js";import{S as Pe}from"./CurrencySelectField-CVNn0XCq-id1wN7tu.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-Cnh9fv8f.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BXNDZ1Mk-BO2f4UVV.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js";import"./MailingDetailsSection-CrHHLtQN-loRqi7di.js";import"./LabeledAddressValueField-_35LG3OI-C2eHerzm.js";import"./MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-b-ZazAq5.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BXNDZ1Mk-BxL2cwbW.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-GHO0P0IZ-1uRlfSfl.js";import"./MailingDetailsSection-CrHHLtQN-DrQYYUeI.js";import"./LabeledAddressValueField-_35LG3OI-D_e5OIiQ.js";import"./MagicLinkTitleSection-Ch72cLUN-YrwcYc6L.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{e as ie,u as oe,M as te,C as c,g8 as w,a8 as T,j as i,hi as g,hh as m,o as n,b as re,c as ne,dy as se,d as le,q as a}from"./index-Cnh9fv8f.js";import{n as l}from"./vendor-rkTZJa59.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{e as ie,u as oe,M as te,C as c,g8 as w,a8 as T,j as i,hi as g,hh as m,o as n,b as re,c as ne,dy as se,d as le,q as a}from"./index-b-ZazAq5.js";import{n as l}from"./vendor-rkTZJa59.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a2 as A,a as z,M as V,j as r,bn as X,T as d,l as q,F as B,bo as H,o as n,d as y,k as C,bp as Q,n as L,bq as U,br as k,c as j,ap as b,bs as W}from"./index-Cnh9fv8f.js";import{b as c,n as t}from"./vendor-rkTZJa59.js";import{AccountLockedInfo as Y}from"./AccountLockedInfoModal-B-Hn6_hG-B-4Dg7na.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./handshake-BPg58FML-CVKh3Eii.js";const Z=e=>{if(!e)return"";try{const i=U(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const $=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${$}`}return k(e)||e}const p=i.countryCallingCode,m=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${m}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return k(e)||e}},D=300,I=30,F=2,o=V.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",ke=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,m]=c.useState(!1),[l,$]=c.useState(!1),[f,P]=c.useState(0),[v,S]=c.useState(D),[u,E]=c.useState(I),w=A(e.verifyOtpFetchState),h=z({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),g=h.watch(x),T=()=>{e.onCancelVerifyDevice()},_=()=>{g.length===6&&e.onVerifyOtp(g)},N=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{w==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),P(s=>s+1),h.setValue(x,""))},[w,e.verifyOtpFetchState,h]),c.useEffect(()=>{if(v<=0){$(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(u<=0)return;const s=setInterval(()=>{E(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[u]);const R=s=>{const a=Math.floor(s/60),M=s%60;return`${a}:${M.toString().padStart(2,"0")}`};return r.jsx(X,{open:!0,onClose:e.onCancelVerifyDevice,children:r.jsxs(G,{children:[r.jsx(d,{controller:f>F,children:r.jsx(Y,{unlockDate:q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:f<=F,children:r.jsx(B,{...h,children:r.jsxs(de,{children:[r.jsxs(ae,{children:[r.jsx(J,{children:o.verifyDeviceTitle}),r.jsx(K,{children:o.verifyDeviceDescription}),r.jsx(ee,{children:Z(e.phoneNumber+"")})]}),r.jsxs(re,{children:[r.jsx(H,{value:g,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:s=>h.setValue(x,s)}),r.jsx(d,{controller:l===!1,children:r.jsx(O,{children:r.jsxs(he,{children:[o.codeExpiresIn," ",R(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(O,{children:r.jsx(ue,{children:o.codeExpired})})})]}),p===!0?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:f===1,children:r.jsx(te,{children:o.incorrectCode})}),r.jsx(d,{controller:f===2,children:r.jsx(xe,{children:r.jsxs(y,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(ne,{children:[r.jsx(oe,{children:o.codeNotReceived}),r.jsx(ie,{disabled:u>0,onClick:()=>{e.onResendOtp(),m(!1),h.setValue(x,""),S(D),E(I)},children:o.resend}),u>0&&r.jsxs(se,{children:[V.getLocalizedStrings().common.in.toLowerCase()," ",u,"s"]})]})}),r.jsxs(pe,{children:[r.jsxs(le,{children:[r.jsx(C,{label:o.cancel,onClick:T,style:{width:82}}),r.jsx(C,{variant:"primary",label:o.verify,onClick:_,style:{width:82},loading:i,disabled:g.length!==6||l===!0})]}),r.jsx(ce,{children:N})]})]})})})]})})},G=t.div`
1
+ import{a2 as A,a as z,M as V,j as r,bn as X,T as d,l as q,F as B,bo as H,o as n,d as y,k as C,bp as Q,n as L,bq as U,br as k,c as j,ap as b,bs as W}from"./index-b-ZazAq5.js";import{b as c,n as t}from"./vendor-rkTZJa59.js";import{AccountLockedInfo as Y}from"./AccountLockedInfoModal-B-Hn6_hG-6a5g7mIJ.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./handshake-BPg58FML-CVKh3Eii.js";const Z=e=>{if(!e)return"";try{const i=U(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const $=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${$}`}return k(e)||e}const p=i.countryCallingCode,m=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${m}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return k(e)||e}},D=300,I=30,F=2,o=V.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",ke=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,m]=c.useState(!1),[l,$]=c.useState(!1),[f,P]=c.useState(0),[v,S]=c.useState(D),[u,E]=c.useState(I),w=A(e.verifyOtpFetchState),h=z({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),g=h.watch(x),T=()=>{e.onCancelVerifyDevice()},_=()=>{g.length===6&&e.onVerifyOtp(g)},N=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{w==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),P(s=>s+1),h.setValue(x,""))},[w,e.verifyOtpFetchState,h]),c.useEffect(()=>{if(v<=0){$(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(u<=0)return;const s=setInterval(()=>{E(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[u]);const R=s=>{const a=Math.floor(s/60),M=s%60;return`${a}:${M.toString().padStart(2,"0")}`};return r.jsx(X,{open:!0,onClose:e.onCancelVerifyDevice,children:r.jsxs(G,{children:[r.jsx(d,{controller:f>F,children:r.jsx(Y,{unlockDate:q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:f<=F,children:r.jsx(B,{...h,children:r.jsxs(de,{children:[r.jsxs(ae,{children:[r.jsx(J,{children:o.verifyDeviceTitle}),r.jsx(K,{children:o.verifyDeviceDescription}),r.jsx(ee,{children:Z(e.phoneNumber+"")})]}),r.jsxs(re,{children:[r.jsx(H,{value:g,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:s=>h.setValue(x,s)}),r.jsx(d,{controller:l===!1,children:r.jsx(O,{children:r.jsxs(he,{children:[o.codeExpiresIn," ",R(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(O,{children:r.jsx(ue,{children:o.codeExpired})})})]}),p===!0?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:f===1,children:r.jsx(te,{children:o.incorrectCode})}),r.jsx(d,{controller:f===2,children:r.jsx(xe,{children:r.jsxs(y,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(ne,{children:[r.jsx(oe,{children:o.codeNotReceived}),r.jsx(ie,{disabled:u>0,onClick:()=>{e.onResendOtp(),m(!1),h.setValue(x,""),S(D),E(I)},children:o.resend}),u>0&&r.jsxs(se,{children:[V.getLocalizedStrings().common.in.toLowerCase()," ",u,"s"]})]})}),r.jsxs(pe,{children:[r.jsxs(le,{children:[r.jsx(C,{label:o.cancel,onClick:T,style:{width:82}}),r.jsx(C,{variant:"primary",label:o.verify,onClick:_,style:{width:82},loading:i,disabled:g.length!==6||l===!0})]}),r.jsx(ce,{children:N})]})]})})})]})})},G=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 456px;
@@ -1,4 +1,4 @@
1
- import{e as C,l as B,M as D,j as s,eR as j,eV as S,k as M,v as L,o as n,C as $,b as E,h as P,a3 as z,c6 as N,c as w,L as A,az as R,eF as T,q as g}from"./index-Cnh9fv8f.js";import{n as t}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=Q(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=V(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=q(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(H,{windowSize:l,children:s.jsx(_,{children:s.jsxs(X,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{e as C,l as B,M as D,j as s,eR as j,eV as S,k as M,v as L,o as n,C as $,b as E,h as P,a3 as z,c6 as N,c as w,L as A,az as R,eF as T,q as g}from"./index-b-ZazAq5.js";import{n as t}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=O(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=Q(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=V(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=q(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(H,{windowSize:l,children:s.jsx(_,{children:s.jsxs(X,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(K,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...L.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},Q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},q=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;