@zeniai/web-cockpit-ui 1.15.2-prod → 1.15.3-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/dist/assets/{ACHDetailsPage-DQqbcrtQ-CCMDBGCH.js → ACHDetailsPage-BTeL5y4g-DmxfsRQJ.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-C-s0Z84w-BaiKs086.js → AIPerformancePage-DbUM6qs6-D5l8F8OE.js} +103 -103
  3. package/dist/assets/AccountInfoPage-C-UvpjYp-BfDokQ_n.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DRhE__FT-DEYYF2py.js → AccountInfoPageContent-BwD3P36S-cR_aO4lg.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Ck5k4sN0-CLd28X38.js → AccountLockedInfoModal-CLssvxib-S2XQajFi.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CinniH8P-BVAyvgSR.js → AccountReconDetailsDrawerPage-BB1W1GCn-JBvb4AkG.js} +1 -1
  7. package/dist/assets/{AccountRow-DqfBv7EN-BeG8cAK8.js → AccountRow-Dqp3eLws-CZ01ryFZ.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-ClhDPo8Z-B3Z11wzv.js → AccountsPromoCardStack-NTUKe73a-CsNkhdvj.js} +3 -3
  9. package/dist/assets/{AddAddressForCardDrawer-Bp7X9u3M-BHvIIcm_.js → AddAddressForCardDrawer-BRWhfaUV-Ba-99nxY.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BUltXgk9-Ccv-2ess.js → AddToWalletPage-eU9RlrX2-FgU8i9Mj.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-C1CpbCow-DK-fRyj8.js → AgingReportsPage-Dbj75D7L-xth3ocr5.js} +3 -3
  12. package/dist/assets/{AllUserItems-CpiUni9v-BFPn5iHP.js → AllUserItems-C8o0ftGM-CFaZIEbK.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-ByNn2ALz-COBQe3iE.js → ApAgingDetailPage-oU_NMgYv-CGquB6FE.js} +4 -4
  14. package/dist/assets/{AppBasePage-DmW3KQcg-_8j72A2D.js → AppBasePage-Bb2EfHmS-CLmciAgt.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-B1y_D31O-DTvWEupK.js → AppDrawerContent-UxABc1Xq-D4RK1ZMx.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-GxAZWP7M-BfXge6dd.js → ApprovalRulesSettingsPage-ITDu42uI-DNwfvvz-.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BNoQoaPh-lRsQmeKM.js → ArAgingChart-BxAOsEvx-CZANIJr6.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CMcAarbW-B_hjxKGG.js → ArAgingDetailPage-DhHW1GHw-D9pgqngA.js} +5 -5
  19. package/dist/assets/{AttachmentView-BixDE2EA-DRjInPsi.js → AttachmentView-BnFvMAGW--ld7Hx8c.js} +1 -1
  20. package/dist/assets/{BankAccountSection-D85EMzvD-Cy9wR090.js → BankAccountSection-C0ZBcrDN-Bfiopxim.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection--CI3tctJ-BN8p7sJD.js → BankAccountWarningSection-BAMjtbnn-BO47Vh4w.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BAPo9xu--BnXgc_io.js → BankConnectionsSettingsPage-Ckpo_VYA-DevmalQL.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DdJoziKf-CEcecUT8.js → BillDetailPage-D3lgSK4F-CqZ5opRC.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CdoDPSYo-kYyXr5Ez.js → BillPayApprovalRuleDetailPage--UxMsaII-9Mon0_XY.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-Cfo4L2hk-B6BOyHQN.js → BillPayApprovalRulesPage-BgokSweY-Baf5ik-5.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-cK5O7lqH-DQQb6UlM.js → BillPayPromoPage-Cmfp8aZE-BV2y4Y7C.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-BuF8vy9q-D10ERzdT.js → BillPaySetUpPage-BmtV-Zr2-665ldgAn.js} +3 -3
  28. package/dist/assets/{BillingSettingsPage-B_l_z9VO-LX90nb8v.js → BillingSettingsPage-BRJELj5Y-DfZDJ2vZ.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CoKwrfed-WCFfwJgS.js → BillsBulkReviewDrawerPage-D0HYL5UR-CgxN2BYX.js} +1 -1
  30. package/dist/assets/{BoxItem-CWj-NRo_-DfImv0N2.js → BoxItem-BO8CYlnI-cifRan7C.js} +3 -3
  31. package/dist/assets/{BusinessVerificationPage-Jl0yhiLd-u27H_ro_.js → BusinessVerificationPage-DNOBs_OD-DQqvz7MY.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CYyCmwah-N3ZNpNXF.js → CardNumberSubText-BgxVtjBP-C0H_h-nK.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-VVXYftFo-DA5biums.js → CashbackDetailPage-uVqHfc3a-BNj1YqmX.js} +8 -8
  34. package/dist/assets/{ChargeCardDetailPage-C-KKQCQP-BvJs0WVX.js → ChargeCardDetailPage-urxX5Ksv-CZSy2_VU.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage--SIQ7a3u-DirVuIxK.js → ChargeCardListPage-uyLpvqZN-4MDug-O6.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-ddk5IppO-DD5fphHx.js → ChargeCardListTable-CWBqYx4D-DrYCM4wp.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-mA_IVVFy-D_SODbGx.js → ChargeCardPaymentHistoryPage-CrJRk1Yl-BocNQqlU.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-BCb2xl-m-DtbvGaQc.js → ChargeCardPromoPage-8p2rEuSL-n08-aUHH.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-DAVM2czH-CCWCL3Ai.js → ChargeCardSetupPage-Dk3kFOe8-wkX2oTY9.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-Cgl7DfV2-DsomBIg7.js → ChargeCardStatementsPage-BgVV9glv-DMljO5w-.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DIDXNWS--DQSFQls6.js → CheckDepositDrawerPage-D-yLGTdP-EWK8cQRH.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-BnxJMwQF-CwLzNnoE.js → CollapsableReportTable-9GyG9N_I-1n67583b.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-CtFvma7e-MbXW-_Vp.js → CompanyOfficerDetailsSection-CTO9aR2f-zjfI2eeq.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-If9-KFRF-CaC0Y-8J.js → CompanyPassportCard-DRMGgEym-D6sxAXgE.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-ByLL4IdN-CnI3nq95.js → CompanyPassportPage-CgEtnvFs-DChKfhd7.js} +1 -1
  46. package/dist/assets/{CompleteProfile-D39MG_aE-B41MC9Ea.js → CompleteProfile-B8B0WHlc-DH-VSsuX.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CqS9iRS--ROj6h0-y.js → ConfettiBurst-Cf9tVPaI-BM2huSXV.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C0lTJ9RB-FcmrSgRF.js → CreateOrEditVendorPage-BRoA1J_e-CzBBu5Bw.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BMlE0JgE-CihYUP6F.js → CreditCardPaymentDrawerPage-DfLgUaL5-DfR_IJlY.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-Cqh1PAAW-4WT7C3hx.js → CurrencySelectField-P0hAgQCu-CY3e6U6t.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-CExJcqXe-CagjWug8.js → CustomerOnboardingActivationPage-B8Q88AWZ-CPF7lzvF.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-YGCksJfr-DfNXfn85.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-zHDAnR9J-BC7B-JwU.js → CustomerOnboardingDetailPageSkeleton-CHfRyWDx-D-MRkSd0.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CgblGoOL-CjZnNYEq.js → CustomerOnboardingNoStepsPage-AHaRcpU7-BdpSp0P9.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-DSGfwtw5-RfiXPD7J.js → CustomerOnboardingPage-M-yohbX--BjV2j59I.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-C2YlsXt9-DY_N6QvQ.js → CustomerOnboardingProductSuitePage-DqQ7Lcwq-Bc6ND6Bx.js} +1 -1
  57. package/dist/assets/{Dashboard-C52yIGy8-DOJmJQIR.js → Dashboard-BG4b-9G4-sAqrpBJG.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-iZVhpQQc-BBhEF-Qy.js → DashboardReportPage-BzRypSME-jjHWrXwM.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-mksYvmzi-_taEN-ko.js → DashboardSidebarBackgroundAnimation-iToqk56B-BtLraFPT.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-Ct9UKq01-CEMKAJXr.js → DepositAccTransactionItem-LqdXkh9A-hSRnCvZB.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-Q-rYYEAZ-DW0SGlGF.js → DepositAccTransactionListPage-CdvLbfLi-Cn9opxkq.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-D8MlbitH-BTP6uT40.js → DomesticWireDetailsPage-B42h6sda-DX1LXutY.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-DooSRB2s-BF2uTdHp.js → DownloadOverlay-BaDe2oAY-D9mRkHN7.js} +1 -1
  64. package/dist/assets/{DrawerPage-COB3hDS_-Bvd864ff.js → DrawerPage-CstJJdfo-VidMxfx9.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-BLRAgjPa-CawDu4Ct.js → EditPeoplePage-DnOwrdDz-BaklMVpc.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-D1d8qzXB-Bgb-cnHl.js → EditReimbursementDetailPage-CibEtPqY-CoDSnx1m.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-BDqbedFw-CSRgOFGM.js → EntityDetailPage-DkdoV8Td-C0bI9nzr.js} +2 -2
  68. package/dist/assets/{EntitySummarySection-DOkXIw-J-YofxAv_T.js → EntitySummarySection-mA5rFNgr-DuPTnXno.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-BSXCkfKT-CO_qIZgD.js → ExpenseAutomationOverviewPage-Cdb_ye_U-j_owJ_aN.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationPage-Di3n8DMk-B2jagxZP.js → ExpenseAutomationPage-C8BdII8_-DimJYcUA.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-B-SwvM4I-DZUgODco.js → ExpressPayPage-D-q6m2Sl-DvfkMqPz.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-Dz42ojYl-dlyXXVzt.js → FeaturePreviewPage-Brmih5xQ-TclSPSN_.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-BS4M36H4-VbTMLw8c.js → FollowStepsSection-C0R9691z-CJI6UuPB.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-C1Tn5Cwx-1V9BYJcq.js → GlobalReviewListPage-wZ4Kv7Km-DjGHeOHK.js} +1 -1
  75. package/dist/assets/{InformationCardStack-DTWUPxhs-BACtP104.js → InformationCardStack-C_Vo9lw4-BJdE4aZQ.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-CklTB6N7-D4H9Re1R.js → InsightsCardStack-B18tApRg-CDcqQ9iZ.js} +2 -2
  77. package/dist/assets/{InsightsSection-g58q0fm4-CEq2Ig_3.js → InsightsSection-BT1h9fEy-BRfU7zNX.js} +5 -5
  78. package/dist/assets/{IntegrationsSettingsPage-Bs3ZvOVJ-BHG9Ua2i.js → IntegrationsSettingsPage-BXihQUgf-Ca4kyKn3.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-CC0aZ_Ht-Bwxskut8.js → InternationalWireSwiftDetailsPage-s2KDdELd-DCL_N0b1.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-Bb8q9_XZ-CLNY8DKz.js → InternationalWireVerificationPage-seQdCIHj-B9N63yTL.js} +3 -3
  81. package/dist/assets/{InviteFormPage-Bh9zpIMu-Bu3B9PuZ.js → InviteFormPage-DORYlkDF-C-UyiOzw.js} +1 -1
  82. package/dist/assets/{InvitePageListView-Da5n8FWG-B6stlVcN.js → InvitePageListView-__0_bfoj-C56A_BTa.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-B1jmVXj9-D2WPRn0N.js → InvitePeoplePage-BPU0cUoJ-C_9RmlUy.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-DN31nPpE-D9eKp_cR.js → InvoiceUploadSection-Cf_VG6ou-BXiqeaLr.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-Ev17uGYx-ChYFdDJP.js → IssueChargeCardPage-Ak_ZYHLC-Brr4uJLW.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-CZvcCn7x-DlgPS4BM.js → LabeledAddressValue-Dv_iNmJ1-CSsnKiIv.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-CJel6ymq-CuDyNJEA.js → LabeledAddressValueField-BOu3phtO-DUC2jENU.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-COHS18nA-C3gA822t.js → LabeledControlledCheckBoxField-CPIKQ-CK-jxS0CHZ_.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CcJheGwX-Yh_Rso5A.js → LabeledCountryMultiSelectField-BfXHGTpW-vM7yZBRT.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-C9p8xRkh-YLSUm9Dy.js → LabeledCreatableSingleSelectField-xk2HC5O8-CvpcCD48.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DC4TbHE8-BjpcX3fs.js → LabeledDocumentField-D8RhxYIe-DAnLkE2V.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BcSAJy2I-2PBpSsNP.js → LabeledDropDownFormattedTextField-ClNFgUx5-Bx0rybn1.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-D-N343dq-DyYnCM_P.js → LabeledMultiSelectField-BpLilatj-DTbTUWW6.js} +1 -1
  94. package/dist/assets/{LabeledText-DHLOUxK_-DDl0PsGQ.js → LabeledText-Xnlcoee7-DQVISFOu.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-D98ERW9T.js → LabeledUserSingleSelectWithSubtitlesField-DSu4gVyZ-CJXT3-Sj.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CqZGfBlk-CWwKC4j_.js → LabeledZeniRolesDropDownField-Dm6FC_X5-CKRgwBOq.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-BLleyJg_-Dicf3kDd.js → LinkJETransactionPage-D0tsT5TK-D-eEZv6m.js} +2 -2
  98. package/dist/assets/{LockCardPage-dHmjahEB-C2QZpy-5.js → LockCardPage-DYNFfr7G-CPZbfc9t.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-D5xx56fY-CazatBff.js → LowBalancePopup-BHUFtl2y-rf0GZ141.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-D1Yrf6I3-xn828nNY.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-DF4qlmsy-DJfJXSHY.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BNeI6INt-yjK2JJED.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-De4m7E-W-DcLxM1zk.js → MagicLinkSuccessPage-B-8mtcQ5-C3o9YJHE.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Bka3Yd1_-C6aP8e1t.js → MagicLinkTitleSection-DHU7VtF2-Bedubn59.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-BbWfR6ob-D7W1tLXO.js → MailingDetailsSection-B-bODwAg-DzrWy-jk.js} +1 -1
  106. package/dist/assets/{Menu-CCfXjS2S-C9ZoSEn7.js → Menu-BumlrBWb-DpVhZSGr.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-NwFd4S7O-CC9eVha_.js → MyBankConnectionsSettingsPage-BP8ahgjX-5saVRqtp.js} +5 -5
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-B2fGNuM2-B1XcoEjv.js → MyPendingActivationChargeCardListPage-DL6ZI6yW-BoGJ1TyM.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-C2xgzfZf-DsRcxwZ8.js → MyProfileSettingsPage-D0t4K8ns-Bm-ItkSW.js} +2 -2
  110. package/dist/assets/{NavBarWithPicker-DUqVkR_y-BknqAH_u.js → NavBarWithPicker-BtWbUncS-DB3n1R3v.js} +1 -1
  111. package/dist/assets/{NavigationArrow-Ctt_H8KP-E_uIkHaf.js → NavigationArrow-CxgIRSy6-CugP8MA7.js} +1 -1
  112. package/dist/assets/{NavigationDots-Dgudddqx-C4orZ-yB.js → NavigationDots-B3pcllxp-BTtZpldx.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-D1hNFzTS-Ub29Nbxg.js → NewGlobalMerchantPage-cvM5npvx-Cu4rYaF2.js} +1 -1
  114. package/dist/assets/{NoDataChart-DbLSGWgH-B8Qyn34z.js → NoDataChart-CkbRqqmB-BdaQaq20.js} +1 -1
  115. package/dist/assets/{NoDataTable-BYLV7sLq-DdPuChf3.js → NoDataTable-D5uU7rww-DMI3TCce.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CIeF09o9-DmVTU-Tc.js → NotFoundPage-CQ43hKOe-Cdrz4d6W.js} +8 -8
  117. package/dist/assets/{NotificationSettingsPage-CEhFnaxj-lxhMeLrR.js → NotificationSettingsPage-B1Lup2VT-Mysd9rJj.js} +3 -3
  118. package/dist/assets/{NotificationsListConfig-PHESCv2f-CV_5a971.js → NotificationsListConfig-DbMLqAOq-BbLTIknO.js} +1 -1
  119. package/dist/assets/{NotificationsPage-hIohQ7En-CSeli1Ds.js → NotificationsPage-AB3KsQi7-CsoOAVaW.js} +18 -18
  120. package/dist/assets/{OpExByVendorPage-C1RcJ4Q3-Dg382B2-.js → OpExByVendorPage-SzuZwalp-E6WJ2wnK.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DPuKVI4d.js → OverlayContainerPage-Daz3A7cI-Dgh3TUuK.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-B-uQyVwQ-3UdMsNqp.js → PandLWithForecastPage-SYjTIobN-BFTSUg2z.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CGqYs83b-C-2L3l6N.js → PaymentAccountSetupBillingAddressSection-Bsx0mGaZ-E4w6U3C0.js} +7 -7
  124. package/dist/assets/{PeoplePage-Db0MhBko-BMsQRy7R.js → PeoplePage-B5JrcDNI-oFYxDkBG.js} +1 -1
  125. package/dist/assets/{Preview-DMjeJjnA.js → Preview-DA-xbr8A.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CYwIm8nQ-B5mle3Vr.js → ProductsCarousel-CVoL_xl4-DEZsKrdB.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-B2ZC8OUT-BVAvKfhQ.js → PromoBaseCards-C8qSUCzq-dm6HKZ5W.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-B0E1xE9I-DgBSSzHh.js → QBOConnectionDialog-QFZbkFOA-CuMPgrHC.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-IGV1sm9x-CNjIjXKF.js → QBOSetupSection-B2qiAlYU-CibzVKaP.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CwJkaZqa-CFNkMVya.js → ReimbursementApprovalRuleDetailPage-iqzN8yeY-ChbC4qky.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-C0D2DYVf-D_WeUtGn.js → ReimbursementApprovalRulesPage-BWFxJ80S-PIGBQETH.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-DV7eDd9t-DbTKQbSm.js → ReimbursementDetailPage-Cb9BOq4R-Dl--S5zY.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-DNM2mNbV-HkmfuMOc.js → ReimbursementPromoPage-D-NSe4nk-Ceb4vSNq.js} +1 -1
  134. package/dist/assets/{ReimbursementSetUpPage-CVuQyfku-DngAhgwz.js → ReimbursementSetUpPage-zUHUxId8-C_2E6m1y.js} +5 -5
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DAvUmNKc-CnHe92Kc.js → ReimbursementsBulkReviewDrawerPage-CMupP_NB-lhVpZhwT.js} +1 -1
  136. package/dist/assets/{ReloadCard-BsOjPgsc-D5DLDKDR.js → ReloadCard-Dh0SYKvO-BfN50eLc.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-BJNFsOJq-DR4jF5iW.js → ReportTableViewSelector-0H1aO3_G-By7dUXRW.js} +1 -1
  138. package/dist/assets/{ReportsPage-GYEaSw4z-DT0i_pp7.js → ReportsPage-DsFJrJ9D-DvSCX2Ph.js} +5 -5
  139. package/dist/assets/{RevenueChart-DXgZ34NU-D4IStz6f.js → RevenueChart-BlQnByKx-DXS5eLR_.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-VBCKACNQ-DeDwYpai.js → ReviewDetailsPage-CV-J7_FZ-DEsUSLNK.js} +2 -2
  141. package/dist/assets/{ReviewOverlay-D1dHNrqu-DXfCDLdz.js → ReviewOverlay-CwyShttD-COz1RonR.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-BE5aZQ2g-DYLY92hX.js → RoleWithToolTip-CeOpT_6v-DAXLsTDF.js} +5 -5
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-p2jwjhfb-19YgTPE7.js → ScheduleDetailsFixedAssetsPage-G0FPNF5V-CzalI8zM.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-CuGgAAlk-BtosIJ_j.js → ScheduleDetailsPage-D3WXeMzk-putFQ_Xj.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-DS5xyWPM-CEwFuV1B.js → ScheduleSequenceTable-DdrN0kHc-HFF16mEy.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-DrNdYiWh.js → ScreenRoutes-B3_PwFlc.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-CgV-DpbH-BEL6ML_h.js → SetUpAccountSection-DjGIyGqz-2NoSMGYE.js} +1 -1
  148. package/dist/assets/SignIn-KN2wUeWN-DjuNGmXD.js +448 -0
  149. package/dist/assets/{SignInScreen-Ci3Hds-p.js → SignInScreen-DPHbD9R0.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-7hmUDsTR-CH6VUHE7.js → SpendManagementListViewPage-DA0yJkNS-i-QGqalr.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-r4Ivr4ml-zJ5DEEjw.js → SpendManagementPerTabPage-CIiwcTHn-k-WByauQ.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-4bPNXnAu-Dgr9HP7J.js → SpendManagementSection-BLZOU6Ll--jqjSwJn.js} +7 -7
  153. package/dist/assets/{StatementItem-D7MXVGEy-B_tCrpyB.js → StatementItem-DfbvINGt-gujVkFyU.js} +5 -5
  154. package/dist/assets/{StatementsPage-mK9b-oez-oTY-nOXX.js → StatementsPage-DCjD7tSA-C1eD0_4q.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-VeYkrDM7-DvOZ5Ysl.js → StatusSwitcher-CiOSpmnA-COfWLIsO.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-j2oEcPev-DhKmASxl.js → SubTabSwitcher-CfxBS2oi-DCjTTD4N.js} +4 -4
  157. package/dist/assets/SummaryCard-YakCHMD--BAgjII8U.js +1 -0
  158. package/dist/assets/{TaskManagementPage-Cmx-Dg-h-D0nmr1b9.js → TaskManagementPage-q5-Uh7TS-DB2W1_cZ.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-DIM1SPbu-D-AL5YUb.js → TimeRangeSwitcher-B7_2Hok--aUvRF5BX.js} +2 -2
  160. package/dist/assets/{TimeframeSwitcher-DKqN8iPa-BKKOAU8T.js → TimeframeSwitcher-nC3rnif3-C0iP6Cu3.js} +5 -5
  161. package/dist/assets/TimeframeSwitcherWithToggle-DkOcWDwA-C8Z8JOD-.js +31 -0
  162. package/dist/assets/{TopExCard-Bng5AuNw-Dpc0LAx-.js → TopExCard-aqOoqjT0-BhL7e5nv.js} +10 -10
  163. package/dist/assets/{TopExDetailPage-C1UAPRay-C1udWpXC.js → TopExDetailPage-DIzdQ0cx-BfhcN7Ik.js} +6 -6
  164. package/dist/assets/{TransactionDetailPage-Ds7V1qr_-Chm5sLA8.js → TransactionDetailPage-B_hEEP8t-BqDk_xjH.js} +1 -1
  165. package/dist/assets/{TransactionList-Dq2orY9N-BLkQ0KnQ.js → TransactionList-UYBDB4bd-k1_T5uTi.js} +1 -1
  166. package/dist/assets/{TransactionListBig-BrDxcbHJ-D8A5Nn60.js → TransactionListBig-OdFVjIup-CPvP7HbH.js} +5 -5
  167. package/dist/assets/{TransactionListPage-D5v8TxYx-BGUL-pIU.js → TransactionListPage-BXYB5l79-SOItiSWS.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-DnZGwCbw-DsBLVtQF.js → TransactionVendorDetailPage-kDn1yhpe-C9RYtS0M.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-DUdjOy9R-DGehrtgC.js → TransferDrawerPage-CtSQvv-q-CE0jnW7Y.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-XYkCDBio-CTs1ZQ8b.js → TreasuryOverviewPage-Dwp-RAwa-C3dvsu51.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-CWtp3S9L-BeAE7yNb.js → TreasuryPromoPage-CqiGJJb1-BglMmMxR.js} +1 -1
  172. package/dist/assets/TreasuryStatementsPage-BvjfEhwz-D396YqJA.js +58 -0
  173. package/dist/assets/{TreasuryTaxLetterPage-CNogHL4A-8kkb3Y5P.js → TreasuryTaxLetterPage-C3B6iff1-D2ZzHU1R.js} +2 -2
  174. package/dist/assets/{TrendChart-DBRT1lZ3-B-htJoWB.js → TrendChart-DwPnEwyO-DPu-_Br2.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-CcjPNeY8-C7YkJfgr.js → TrendWithTransactions-B3oV0JPi-BgM9tzOd.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BuMm5-pm-BPh026s-.js → UncategorizedAccountsMappingPage-bGvTx0Pv-0iP9QJ85.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-Dxb00NtN-fbPG5NNa.js → UnitIntegrationPage-CGqGix7l-ZI3ie0F3.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-H6nIiMo6-DVOWJHOy.js → UploadAdditionalDocumentOverlay-DYbC57rE-BoJPSMM7.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-Opk2NgSs-B-SNFntT.js → Vendor2FAPopup-CF5GvGtl-Ged496hn.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-CKmq7yOU-BUMI9M8T.js +1 -0
  181. package/dist/assets/{VendorDetailPage-YUk-g7t--DTiwK45D.js → VendorDetailPage-LmgMG0tb-CmIxBGR9.js} +86 -86
  182. package/dist/assets/VendorDomesticWireDetailsPage-CBYW97OY-YsMZuav5.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Ctx-C6OL-B72kAMzP.js → VendorFiling1099EditablePage-DZYtpPRR-C1LB-Vko.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-Biy4xcIs-Cwt7UxLk.js → VendorFirstReviewPage-DDj-Rw2b-Ce9lcxSE.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-B-ZKvwGN-Ba5mGEBL.js → VendorInternationalWireDetailsPage-VBJ-6ETL-DZn4-Y6u.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-dc3xswld-nEGzd21C.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-DztKh7dz-CknhPsMt.js → VendorsAccountsSection-CAygTvfU-jdUssBVa.js} +3 -3
  188. package/dist/assets/{VerifyDevice-fvWfQQnC-BxOk1Krp.js → VerifyDevice-CxLFy5GU-DSfbtygH.js} +7 -7
  189. package/dist/assets/{VideoPlayer-CfLdj-r8-DJCIDiIM.js → VideoPlayer-DKj4Ii21-D-xRLeKX.js} +2 -2
  190. package/dist/assets/{VideoPopup-B-N0Wv9f-Y7nOShlZ.js → VideoPopup-CFvt5o_3-4FAYuh93.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-UpSDjRDQ-C9YZ_3Aj.js → WarningsDrawerPage-BiBeB75Y-9pKl7aHf.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-Bd_RNPxh-DtJlC9fu.js → ZeniAccountDetailPage-CTrz5iPv-Cs9Kmo8Y.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-CE5BfFah-95q1Xa77.js → ZeniAccountListViewPage-DUfa9C7y-C3uPLkwI.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-C0ydgImW-ZKAEeCQS.js → ZeniAccountNavBarPieces-knHeWdLO-hJFDQ77K.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-EX9sTaQM-CQbWpaum.js → ZeniAccountPromoPage-BnGvEYqf-CP4Dtvvd.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-DX2DvcQa-DF8n-dgt.js → ZeniAccountSetupPage-JnPZalVG-Q5c0Jn7k.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-8vmkzP8u-BisYtvhc.js → ZeniCopyright-B4Tk2oOq-ZFjf_F4z.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-BgIOeOee-B3Obr-jz.js → ZeniTransferAmountSlider-bXoRbaVx-CfzHPGE8.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-eNY_OCBo.js → add-to-wallet-DgdBD8_G-CDAinlR9.js} +1 -1
  200. package/dist/assets/{analytics-BUFSKutl.js → analytics-ko5civJt.js} +1 -1
  201. package/dist/assets/{analyticsHelper-NyCKStTJ.js → analyticsHelper-BaDAJS_h.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DePSHzJ2-nrjGc1oj.js → analyticsHelper-Bow8lzQJ-BWC8GDGb.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-V8I-0M1B.js → arrow-south-east-round-PEovUgvH-8jzV931-.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-mF5BQZHi.js → auto-transfer-rule-mbafm5D3-CWH5b5CM.js} +1 -1
  205. package/dist/assets/{chartTypes-9YOqgm9X-Clxi05XW.js → chartTypes-C6j6oBoS-9mwDDGJP.js} +1 -1
  206. package/dist/assets/{commonDimensions-DMXq3s0u-BADLWz6W.js → commonDimensions-Dw7YNTQN-P35Kp_kM.js} +1 -1
  207. package/dist/assets/{commonTypes-BquPusaw-DLtkLlpr.js → commonTypes-Bq0C5-39-CLeN3lEf.js} +1 -1
  208. package/dist/assets/{constants-BrWPxO9h.js → constants-DMtNz7l9.js} +1 -1
  209. package/dist/assets/{core-Cxz4HUbn.js → core-BkA0GZqz.js} +1 -1
  210. package/dist/assets/{dash.all.min-DWlNcwdp.js → dash.all.min-BK4XJrTW.js} +1 -1
  211. package/dist/assets/{detailCommon-OHV8uIJY-CLMsoPHB.js → detailCommon-DaTlK7zO-DaqNQHzz.js} +5 -5
  212. package/dist/assets/{downloadPdf-AQqdv24M-C9YmEEAG.js → downloadPdf-CF50NGDy-B6sZII-t.js} +1 -1
  213. package/dist/assets/{empty-Cl_QN3bw.js → empty-CId982SJ.js} +1 -1
  214. package/dist/assets/{empty-C9a2QmXB.js → empty-D2MN7f91.js} +1 -1
  215. package/dist/assets/{epic-DhwNBWxm.js → epic-CaoEyh-G.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-C_LKLdav.js → gift-box-Cmt9OgIZ-PYBKomZ_.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B_d4-WeO.js → graphic-no-data-l-DU4J8fDt-UswSWtT8.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BkdEDcDD.js → graphic-no-data-net-burn-l-CzmycA0m-CaXeE4do.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BvcxsP-R.js → handshake-BPg58FML-07xDz1It.js} +1 -1
  220. package/dist/assets/{index-CmQkfogd.js → index-BBDWUZKM.js} +1 -1
  221. package/dist/assets/{index-DLZhfXcT.js → index-BMluH1lc.js} +1 -1
  222. package/dist/assets/{index-BE73Kh7z.js → index-BN936vRr.js} +9 -9
  223. package/dist/assets/{index-DgerQhY-.js → index-BqsvcEQ2.js} +1 -1
  224. package/dist/assets/{index-Dil46tET.js → index-DHmXVUBw.js} +1 -1
  225. package/dist/assets/{index-DOVLHzE1.js → index-D_oDAIsa.js} +1 -1
  226. package/dist/assets/{index-Cs902Hx1.js → index-bGtXIeZp.js} +1 -1
  227. package/dist/assets/{lexical-Bnz9O97W.js → lexical-NKD2Ns4v.js} +1 -1
  228. package/dist/assets/{liveblocks-BUxiobW7.js → liveblocks-CUzvdZes.js} +1 -1
  229. package/dist/assets/{lottie-DskIkVJY.js → lottie-BXNphAUg.js} +1 -1
  230. package/dist/assets/{mapLoadingInProgressToTreeNode-bnjefl-h-D04rm9wP.js → mapLoadingInProgressToTreeNode-BogZGPG9-BAboISSk.js} +1 -1
  231. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DlHnT2so-T_NOrfhE.js → mapSectionWithAcOnlyToTreeNode-DioWEF-R-B1XLCEKS.js} +1 -1
  232. package/dist/assets/mapSpacerToTreeNode-pvGPhRLA-C7p9AjQP.js +1 -0
  233. package/dist/assets/{mapTimeframeBalancesToTreeNode-Z_evAkYB-r22eIMId.js → mapTimeframeBalancesToTreeNode-BNu8T9PW-DDSfuQEg.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-CiB5iztB-CYCRkQV8.js +1 -0
  235. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-CuAe97gu.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DwGOxYFm-o3iB9CR0.js} +1 -1
  236. package/dist/assets/{mui-fuwOYnWD.js → mui-DQOtlcvt.js} +1 -1
  237. package/dist/assets/{page-detail-CWX5S47F-CgvUKYzu.js → page-detail-CWX5S47F-TWXd7PAw.js} +1 -1
  238. package/dist/assets/{radio-default-CiSgisfh-BF8Z5Rr4.js → radio-default-CiSgisfh-ZZNrqHqY.js} +1 -1
  239. package/dist/assets/{react-C01TZsN0.js → react-B0_FOKjj.js} +1 -1
  240. package/dist/assets/{react-DRg89qJU.js → react-CbZrw9iN.js} +1 -1
  241. package/dist/assets/{react-CvsbHuxq.js → react-D6ScaBnu.js} +1 -1
  242. package/dist/assets/{react-Q8SqCqQm.js → react-DjFHDY9f.js} +1 -1
  243. package/dist/assets/{react-BeLesOs2.js → react-GFMAp5sF.js} +1 -1
  244. package/dist/assets/{react-COhEtpa2.js → react-cPDaL2yO.js} +2 -2
  245. package/dist/assets/{react-B8BZPej1.js → react-etsPKK59.js} +1 -1
  246. package/dist/assets/{react-DdgtCQpc.js → react-w6MNCIg-.js} +1 -1
  247. package/dist/assets/{recharts-BnEZevRO.js → recharts-DEFzfhhe.js} +1 -1
  248. package/dist/assets/{sentry-CtwtDFb0.js → sentry-BCzFscbx.js} +1 -1
  249. package/dist/assets/{shield-DOlUxcFf-CGMi0dES.js → shield-DOlUxcFf-BS_yEuW2.js} +1 -1
  250. package/dist/assets/toCOABalancesWithID-BxzNBK9u-CqDKc9Mj.js +1 -0
  251. package/dist/assets/{toChartData-BtwV0Kpo-Bw-R2Ick.js → toChartData-CnjrCi9i-CYxTVX3t.js} +1 -1
  252. package/dist/assets/{uploadAttachment-C69IP2HG-CBGzZBnZ.js → uploadAttachment-Ce0sdSDo-C1OEaf5S.js} +1 -1
  253. package/dist/assets/{uploadReceipts-CPw64UYa-BBwPaFJK.js → uploadReceipts-CPw64UYa-BgLSr3Wu.js} +1 -1
  254. package/dist/assets/{url-DOK-7QZR.js → url-A8j0yL_0.js} +1 -1
  255. package/dist/assets/{url-LaALb5Vd.js → url-DyyJ-K5V.js} +1 -1
  256. package/dist/assets/{useLongPress-GCK2COYQ-BXkmgMAX.js → useLongPress-GCK2COYQ-DdGlrNjq.js} +1 -1
  257. package/dist/assets/{usp-line-BBd1wKwW-C7lUdbbj.js → usp-line-BBd1wKwW-DeyJTd7u.js} +1 -1
  258. package/dist/assets/{utils-BZ73yfDv.js → utils-CGlY-GM2.js} +1 -1
  259. package/dist/assets/{zeni-epic-state-BFhqH0Xa.js → zeni-epic-state-DIO-8j7m.js} +3 -3
  260. package/dist/index.html +1 -1
  261. package/package.json +2 -2
  262. package/dist/assets/AccountInfoPage-EW5OCEW3-BFt5mDaH.js +0 -18
  263. package/dist/assets/CustomerOnboardingContainerPage-E5XX6tJL-BRihrOCX.js +0 -1
  264. package/dist/assets/MagicLinkACHDetailsPage-DHIsrr2U-CqO-QM0k.js +0 -1
  265. package/dist/assets/MagicLinkDomesticWireDetailsPage-B1ehlPCP-BlzVLj9c.js +0 -1
  266. package/dist/assets/MagicLinkInternationalWireDetailsPage-C-Tv413E-CmD9gw7I.js +0 -1
  267. package/dist/assets/SignIn-BVICuIxS-C1aohJbi.js +0 -491
  268. package/dist/assets/SummaryCard-Bn8n64F6-CxBQi9ch.js +0 -1
  269. package/dist/assets/TimeframeSwitcherWithToggle-DcrnzLoy-Cakj6_nd.js +0 -31
  270. package/dist/assets/TreasuryStatementsPage-C1-iJ5X--9jbYN5Kx.js +0 -58
  271. package/dist/assets/VendorACHDetailsPage-C-uyGtu7-DV_EHBKQ.js +0 -1
  272. package/dist/assets/VendorDomesticWireDetailsPage-D0Vd0jjO-zZeOQP49.js +0 -1
  273. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bg26p8FH-BidrIKR3.js +0 -1
  274. package/dist/assets/mapSpacerToTreeNode-UVFWXY4N-BMStPnCG.js +0 -1
  275. package/dist/assets/mapTimeframeBalancesToTreeNode-BQXXyttX-DRqc7NUb.js +0 -1
  276. package/dist/assets/toCOABalancesWithID-DcgESHck-DVS2fTFp.js +0 -1
@@ -1,23 +1,23 @@
1
- import{d as Re,q as oe,y as g,aB as be,cE as yt,a9 as bt,h7 as xe,h8 as xt,aT as ft,cC as wt,V as t,bA as Ct,ac as $t,h9 as St,ha as ge,c as l,cD as Dt,aP as Tt,F,hb as Ae,hc as Be,hd as Ee,o as a,bN as S,cP as jt,gJ as fe,he as Lt,cF as Vt,cG as kt,cH as It,hf as Ot,g9 as Pt,cN as Mt,hg as _t,hh as zt,p as z,dn as Ft,dm as Nt,cZ as Wt,aW as re,b6 as qe,ai as Ue,dp as Ht,a_ as Rt,hi as At,hj as Bt,al as Et,hk as qt,cg as Ye,hl as Ut,R as we,M as Ze}from"./index-BE73Kh7z.js";import{a as $}from"./sentry-CtwtDFb0.js";import{n as o,c as Yt}from"./mui-fuwOYnWD.js";import{bi as Ce,FQ as Zt,FR as Gt}from"./zeni-epic-state-BFhqH0Xa.js";import{k as Jt}from"./SubTabSwitcher-j2oEcPev-DhKmASxl.js";import{f as Qt}from"./TransactionList-Dq2orY9N-BLkQ0KnQ.js";import{R as Xt}from"./TrendWithTransactions-CcjPNeY8-C7YkJfgr.js";import{o as Kt,t as es}from"./arrow-south-east-round-PEovUgvH-V8I-0M1B.js";import{C as ts}from"./LabeledAddressValueField-CJel6ymq-CuDyNJEA.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-BcSAJy2I-2PBpSsNP.js";import"./liveblocks-BUxiobW7.js";import"./core-Cxz4HUbn.js";import"./recharts-BnEZevRO.js";import"./lottie-DskIkVJY.js";import"./analytics-BUFSKutl.js";import"./lexical-Bnz9O97W.js";import"./utils-BZ73yfDv.js";import"./BoxItem-CWj-NRo_-DfImv0N2.js";import"./commonDimensions-DMXq3s0u-BADLWz6W.js";import"./TrendChart-DBRT1lZ3-B-htJoWB.js";import"./chartTypes-9YOqgm9X-Clxi05XW.js";import"./toCOABalancesWithID-DcgESHck-DVS2fTFp.js";import"./toChartData-BtwV0Kpo-Bw-R2Ick.js";import"./NoDataChart-DbLSGWgH-B8Qyn34z.js";import"./InsightsSection-g58q0fm4-CEq2Ig_3.js";import"./NavigationDots-Dgudddqx-C4orZ-yB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="37ae6dbc-4bd8-4711-b810-62a9a34e0e0b",e._sentryDebugIdIdentifier="sentry-dbid-37ae6dbc-4bd8-4711-b810-62a9a34e0e0b")}catch{}})();const as=o.div`
1
+ import{d as Re,q as ae,y as g,aB as xe,cE as yt,a9 as xt,h7 as be,h8 as bt,aT as ft,cC as wt,V as t,bA as Ct,ac as $t,h9 as St,ha as ge,c as l,cD as Dt,aP as Tt,F,hb as Ae,hc as Be,hd as Ee,o,bN as S,cP as jt,gJ as fe,he as Lt,cF as Vt,cG as kt,cH as It,hf as Ot,g9 as Pt,cN as Mt,hg as _t,hh as zt,p as z,dn as Ft,dm as Nt,cZ as Wt,aW as re,b6 as qe,ah as Ue,dp as Ht,a_ as Rt,hi as At,hj as Bt,al as Et,hk as qt,cg as Ye,hl as Ut,R as we,M as Ze}from"./index-BN936vRr.js";import{a as $}from"./sentry-BCzFscbx.js";import{n as a,c as Yt}from"./mui-DQOtlcvt.js";import{bi as Ce,FQ as Zt,FR as Gt}from"./zeni-epic-state-DIO-8j7m.js";import{k as Jt}from"./SubTabSwitcher-CfxBS2oi-DCjTTD4N.js";import{f as Qt}from"./TransactionList-UYBDB4bd-k1_T5uTi.js";import{R as Xt}from"./TrendWithTransactions-B3oV0JPi-BgM9tzOd.js";import{o as Kt,t as es}from"./arrow-south-east-round-PEovUgvH-8jzV931-.js";import{C as ts}from"./LabeledAddressValueField-BOu3phtO-DUC2jENU.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-ClNFgUx5-Bx0rybn1.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./BoxItem-BO8CYlnI-cifRan7C.js";import"./commonDimensions-Dw7YNTQN-P35Kp_kM.js";import"./TrendChart-DwPnEwyO-DPu-_Br2.js";import"./chartTypes-C6j6oBoS-9mwDDGJP.js";import"./toCOABalancesWithID-BxzNBK9u-CqDKc9Mj.js";import"./toChartData-CnjrCi9i-CYxTVX3t.js";import"./NoDataChart-CkbRqqmB-BdaQaq20.js";import"./InsightsSection-BT1h9fEy-BRfU7zNX.js";import"./NavigationDots-B3pcllxp-BTtZpldx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="659eadc7-5e58-4718-9e8e-d575173988d6",e._sentryDebugIdIdentifier="sentry-dbid-659eadc7-5e58-4718-9e8e-d575173988d6")}catch{}})();const os=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
5
5
  align-items: center;
6
- `,os=o.div`
6
+ `,as=a.div`
7
7
  display: flex;
8
8
  position: relative;
9
9
  padding: 12px 12px 14px 12px;
10
- `,ns=o.div``,ls=o(Ue)`
10
+ `,ns=a.div``,ls=a(Ue)`
11
11
  color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
12
12
  cursor: ${e=>e.isSelected&&!e.isDisabled?"default":"pointer"};
13
- margin: ${e=>e.leftMargin?`${a.sp0} ${a.sp0} ${a.sp0} ${a.sp8}`:a.sp0};
13
+ margin: ${e=>e.leftMargin?`${o.sp0} ${o.sp0} ${o.sp0} ${o.sp8}`:o.sp0};
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  align-items: center;
17
17
  &:hover {
18
18
  color: ${e=>e.isDisabled?e.theme.colors.grey2:e.theme.colors.primary};
19
19
  }
20
- `,is=o.div`
20
+ `,is=a.div`
21
21
  height: 2px;
22
22
  background-color: ${e=>e.theme.colors.primary};
23
23
  border-radius: 1px;
@@ -33,113 +33,113 @@ import{d as Re,q as oe,y as g,aB as be,cE as yt,a9 as bt,h7 as xe,h8 as xt,aT as
33
33
  &.${d.id} {
34
34
  width: ${d.style.width}px;
35
35
  left: ${d.style.left}%;
36
- }`}),s};function ds({option:e,isSelected:s,onClick:d}){const i=n=>n.label;return t.jsx(ls,{onClick:()=>{s===!1&&!(e.disabled??!1)&&d(e)},isSelected:s,leftMargin:e.leftMargin,isDisabled:e.disabled??!1,children:t.jsx(ns,{children:i(e)})})}function cs({allTabs:e,selectedTab:s,containerStyle:d,onOptionSelectionChanged:i}){const n=p=>{i(p)};return t.jsx(as,{style:d,children:t.jsxs(os,{children:[e.map(p=>t.jsx(ds,{option:p,isSelected:p===s,onClick:n},p.id)),t.jsx(is,{className:`Slider ${s.id}`,optionCss:rs(e)})]})})}const I={logoWidth:new g(l[6],l[6]),logoHeight:new g(l[6],l[6]),pageHeaderHorizontalPadding:new g(l[3],l[3],l[8]),pageHeaderVerticalPadding:new g(l[2],l[2],l[4]),spendTrendsColumnGap:new g(l[1],l[1],l[4],l[11]),spendTrendsMarginBottom:new g(l[2],l[2],l[4]),spendTrendHeadingSkeletonWidth:new g(90,90,120,150)},Ge={spendValue:new we("standardMedium","largeSemiBold"),spendDuration:new we("extraSmallRegular","standardRegular")},ps=o.div`
36
+ }`}),s};function ds({option:e,isSelected:s,onClick:d}){const i=n=>n.label;return t.jsx(ls,{onClick:()=>{s===!1&&!(e.disabled??!1)&&d(e)},isSelected:s,leftMargin:e.leftMargin,isDisabled:e.disabled??!1,children:t.jsx(ns,{children:i(e)})})}function cs({allTabs:e,selectedTab:s,containerStyle:d,onOptionSelectionChanged:i}){const n=p=>{i(p)};return t.jsx(os,{style:d,children:t.jsxs(as,{children:[e.map(p=>t.jsx(ds,{option:p,isSelected:p===s,onClick:n},p.id)),t.jsx(is,{className:`Slider ${s.id}`,optionCss:rs(e)})]})})}const I={logoWidth:new g(l[6],l[6]),logoHeight:new g(l[6],l[6]),pageHeaderHorizontalPadding:new g(l[3],l[3],l[8]),pageHeaderVerticalPadding:new g(l[2],l[2],l[4]),spendTrendsColumnGap:new g(l[1],l[1],l[4],l[11]),spendTrendsMarginBottom:new g(l[2],l[2],l[4]),spendTrendHeadingSkeletonWidth:new g(90,90,120,150)},Ge={spendValue:new we("standardMedium","largeSemiBold"),spendDuration:new we("extraSmallRegular","standardRegular")},ps=a.div`
37
37
  padding: ${e=>`${I.pageHeaderVerticalPadding.valuePx(e.size)} ${I.pageHeaderHorizontalPadding.valuePx(e.size)}`};
38
38
  display: flex;
39
39
  justify-content: space-between;
40
- box-shadow: ${a.sp0} 2px ${a.sp1} ${z.boxShadowElevation};
40
+ box-shadow: ${o.sp0} 2px ${o.sp1} ${z.boxShadowElevation};
41
41
  flex-direction: ${e=>e.isMobile===!0?"column":"row"};
42
42
  align-items: ${e=>e.isMobile?"flex-start":"center"};
43
- row-gap: ${a.sp3};
43
+ row-gap: ${o.sp3};
44
44
  margin-bottom: ${e=>I.spendTrendsMarginBottom.valuePx(e.size)};
45
45
  background-color: ${e=>e.theme.colors.grey5};
46
- `,$e=o.div`
46
+ `,$e=a.div`
47
47
  display: flex;
48
48
  column-gap: ${e=>e.isMobile===!0?"unset":I.spendTrendsColumnGap.valuePx(e.size)};
49
49
  justify-content: space-between;
50
50
  width: ${e=>e.isMobile===!0?"100%":"unset"};
51
51
  align-items: center;
52
- `,Se=o.div`
52
+ `,Se=a.div`
53
53
  display: flex;
54
- column-gap: ${a.sp3};
54
+ column-gap: ${o.sp3};
55
55
  align-items: center;
56
56
  max-width: ${e=>e.isMobile===!1?"50%":"unset"};
57
- `,de=o(Ze)`
57
+ `,de=a(Ze)`
58
58
  ${e=>`${Ge.spendDuration.style(e.windowSize)}`};
59
59
  color: ${e=>e.theme.colors.hero};
60
- `,ce=o(Ze)`
60
+ `,ce=a(Ze)`
61
61
  ${e=>`${Ge.spendValue.style(e.windowSize)}`};
62
62
  color: ${e=>e.theme.colors.primary};
63
63
  text-align: ${e=>e.isMobile===!0?"left":"right"};
64
- `,ms=o.div`
64
+ `,ms=a.div`
65
65
  background-color: ${e=>e.theme.colors.graphColor34Light};
66
66
  color: ${z.importantDark};
67
- padding: ${a.sp1} 12px;
67
+ padding: ${o.sp1} 12px;
68
68
  border-radius: 50px;
69
69
  display: flex;
70
70
  align-items: center;
71
- column-gap: ${a.sp1};
71
+ column-gap: ${o.sp1};
72
72
  cursor: pointer;
73
73
  svg {
74
74
  color: ${z.importantDark};
75
75
  }
76
- `,hs=o.div`
76
+ `,hs=a.div`
77
77
  background-color: ${z.successLight};
78
78
  color: ${z.successDark};
79
- padding: ${a.sp1} 12px;
79
+ padding: ${o.sp1} 12px;
80
80
  border-radius: 50px;
81
81
  display: flex;
82
82
  align-items: center;
83
- column-gap: ${a.sp1};
83
+ column-gap: ${o.sp1};
84
84
  cursor: pointer;
85
85
 
86
86
  svg {
87
87
  color: ${z.successDark};
88
88
  }
89
- `,gs=o.div`
89
+ `,gs=a.div`
90
90
  background-color: ${e=>e.theme.colors.grey3};
91
91
  color: ${e=>e.theme.colors.hero};
92
- padding: ${a.sp1} 12px;
92
+ padding: ${o.sp1} 12px;
93
93
  border-radius: 50px;
94
94
  display: flex;
95
95
  align-items: center;
96
- column-gap: ${a.sp1};
96
+ column-gap: ${o.sp1};
97
97
  cursor: pointer;
98
- `,pe=o(Ye)``,De=o(Ut)`
98
+ `,pe=a(Ye)``,De=a(Ut)`
99
99
  color: ${e=>e.theme.colors.primary};
100
100
  word-break: break-all;
101
- `,Te=o(Ye)`
101
+ `,Te=a(Ye)`
102
102
  color: ${e=>e.theme.colors.primary};
103
103
  word-break: break-all;
104
- `,je=o.div`
104
+ `,je=a.div`
105
105
  display: flex;
106
106
  align-items: center;
107
- column-gap: ${a.sp3};
108
- `,us=o.div`
107
+ column-gap: ${o.sp3};
108
+ `,us=a.div`
109
109
  display: flex;
110
110
  flex-direction: column;
111
- row-gap: ${a.sp1};
112
- `,vs=o.div`
111
+ row-gap: ${o.sp1};
112
+ `,vs=a.div`
113
113
  display: flex;
114
114
  justify-content: ${e=>e.isMobile?"flex-start":"flex-end"};
115
- `,me=o.div``,ys=({spend:e,vendorName:s,vendorLogo:d,isPageLoading:i,isSpendTrendLoading:n,onPercentChangeClick:p})=>{const m=oe(),f=F.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=m==="small"||m==="medium-compact",w=(D,u)=>u==null?null:D==="increased"?t.jsxs(ms,{onClick:p,children:[t.jsx(Kt,{width:a.sp3,height:a.sp3}),t.jsx(pe,{children:u})]}):D==="decreased"?t.jsxs(hs,{onClick:p,children:[t.jsx(es,{width:a.sp3,height:a.sp3}),t.jsx(pe,{children:u})]}):t.jsx(gs,{onClick:p,children:t.jsxs(pe,{children:[u,"%"]})}),R=()=>i===!0?t.jsxs(Se,{isMobile:h,children:[t.jsx(Ft,{width:l[6],height:l[6]}),t.jsx(S,{width:140,height:l[6]}),t.jsx(S,{width:70,height:l[5]})]}):t.jsxs(Se,{isMobile:h,children:[d!=null?t.jsxs(je,{children:[t.jsx(Nt,{photoUrl:d.toString(),styles:{width:I.logoWidth.valuePx(m),height:I.logoHeight.valuePx(m)}}),h?t.jsx(Te,{children:s}):t.jsx(De,{children:s})]}):t.jsxs(je,{children:[t.jsx(Wt,{name:s,size:a.sp6}),h?t.jsx(Te,{children:s}):t.jsx(De,{children:s})]}),w(e.changeType,e.percentChange)]}),A=()=>n||i?t.jsx($e,{size:m,isMobile:h,children:[...Array(3)].map((D,u)=>t.jsxs(us,{children:[t.jsx(S,{width:I.spendTrendHeadingSkeletonWidth.value(m),height:l[4]}),t.jsx(vs,{isMobile:h,children:t.jsx(S,{width:I.spendTrendHeadingSkeletonWidth.value(m)/2,height:l[4]})})]},u))}):t.jsxs($e,{size:m,isMobile:h,children:[t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.last30Days}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.last90Days}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.ytdSpend}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]});return t.jsxs(ps,{isMobile:h,size:m,children:[R(),A()]})},O={labelWidth:new g(120,145,270),largeLabelWidth:new g(130,200,332),largeTinLabelWidth:new g(130,200,276),controlWidth:new g(110,145,160),labelMarginLeft:new g(l[3],l[4]),labelMarginTop:new g(l[2],l[3]),labelMarginBottom:new g(l[2],l[3])},q=(e,s)=>`${e}.${s}`,bs=F.getLocalizedStrings().spendManagement,se=F.getLocalizedStrings().companyPassport,U=bs.billPay.vendorCreation,j=F.getLocalizedStrings().common,xs=({vendorTypeList:e=[],isDisabled:s,sectionId:d,selectedVendorDetails:i,onAddressClick:n})=>{const p=oe(),m=O.labelWidth.value(p),f=O.largeLabelWidth.value(p),h=O.largeTinLabelWidth.value(p),w=O.controlWidth.value(p);return t.jsxs(fs,{children:[t.jsx(ws,{children:U.vendorDetails.titleFor1099Section}),t.jsxs(Cs,{children:[t.jsx(Vt,{isDisabled:s,label:{label:se.companyInfo.legalName,width:m},text:{type:"text",style:{width:w},name:q(d,"legalName"),placeholder:It(se.companyInfo.legalName),defaultValue:i.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!i.vendorBasic.legalName,pattern:kt}},style:{width:"100%"}}),t.jsx(he,{}),t.jsxs(Le,{children:[t.jsx(Ss,{width:f,windowSize:p,children:U.vendorDetails.vendorType}),t.jsx($s,{size:p,children:t.jsx(Ot,{name:q(d,"vendorType"),value:{allTypes:e,selectedType:i.vendorDetailLocalData?.vendorType},placeholderLabel:U.placeholders.type})})]}),t.jsx(he,{}),t.jsx(Le,{children:t.jsx(ss,{name:q(d,"tinType"),menuPlacement:"auto",style:{height:a.sp6,width:"100%",marginLeft:a.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:i.vendorDetailLocalData?.tin?.type??j.strings.empty,dropDownList:[{code:j.texts.ein,label:j.texts.ein.toUpperCase()},{code:j.texts.ssn,label:j.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:U.placeholders.tinType,formattedText:{type:"text",name:q(d,"tinValue"),placeholder:U.placeholders.tinValue,format:i.vendorDetailLocalData?.tin?.type===j.texts.ssn?_t:zt,registerOptions:{required:!!i.vendorDetailLocalData?.tin?.type,pattern:i.vendorDetailLocalData?.tin?.type===j.texts.ssn?Pt:Mt},style:{width:"100%",height:a.sp6},defaultValue:i.vendorDetailLocalData?.tin?.value??j.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:i.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(he,{}),t.jsx(ts,{isDisabled:s,label:{label:se.companyInfo.address,width:m},addressValueField:{name:q(d,"address"),placeholder:se.address.titleAdd,defaultValue:i.vendorNewAddressStatus?.addressToCreate,onClick:()=>n("vendor_address",i.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},fs=o.div`
115
+ `,me=a.div``,ys=({spend:e,vendorName:s,vendorLogo:d,isPageLoading:i,isSpendTrendLoading:n,onPercentChangeClick:p})=>{const m=ae(),f=F.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=m==="small"||m==="medium-compact",w=(D,u)=>u==null?null:D==="increased"?t.jsxs(ms,{onClick:p,children:[t.jsx(Kt,{width:o.sp3,height:o.sp3}),t.jsx(pe,{children:u})]}):D==="decreased"?t.jsxs(hs,{onClick:p,children:[t.jsx(es,{width:o.sp3,height:o.sp3}),t.jsx(pe,{children:u})]}):t.jsx(gs,{onClick:p,children:t.jsxs(pe,{children:[u,"%"]})}),R=()=>i===!0?t.jsxs(Se,{isMobile:h,children:[t.jsx(Ft,{width:l[6],height:l[6]}),t.jsx(S,{width:140,height:l[6]}),t.jsx(S,{width:70,height:l[5]})]}):t.jsxs(Se,{isMobile:h,children:[d!=null?t.jsxs(je,{children:[t.jsx(Nt,{photoUrl:d.toString(),styles:{width:I.logoWidth.valuePx(m),height:I.logoHeight.valuePx(m)}}),h?t.jsx(Te,{children:s}):t.jsx(De,{children:s})]}):t.jsxs(je,{children:[t.jsx(Wt,{name:s,size:o.sp6}),h?t.jsx(Te,{children:s}):t.jsx(De,{children:s})]}),w(e.changeType,e.percentChange)]}),A=()=>n||i?t.jsx($e,{size:m,isMobile:h,children:[...Array(3)].map((D,u)=>t.jsxs(us,{children:[t.jsx(S,{width:I.spendTrendHeadingSkeletonWidth.value(m),height:l[4]}),t.jsx(vs,{isMobile:h,children:t.jsx(S,{width:I.spendTrendHeadingSkeletonWidth.value(m)/2,height:l[4]})})]},u))}):t.jsxs($e,{size:m,isMobile:h,children:[t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.last30Days}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.last90Days}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.ytdSpend}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]});return t.jsxs(ps,{isMobile:h,size:m,children:[R(),A()]})},O={labelWidth:new g(120,145,270),largeLabelWidth:new g(130,200,332),largeTinLabelWidth:new g(130,200,276),controlWidth:new g(110,145,160),labelMarginLeft:new g(l[3],l[4]),labelMarginTop:new g(l[2],l[3]),labelMarginBottom:new g(l[2],l[3])},q=(e,s)=>`${e}.${s}`,xs=F.getLocalizedStrings().spendManagement,se=F.getLocalizedStrings().companyPassport,U=xs.billPay.vendorCreation,j=F.getLocalizedStrings().common,bs=({vendorTypeList:e=[],isDisabled:s,sectionId:d,selectedVendorDetails:i,onAddressClick:n})=>{const p=ae(),m=O.labelWidth.value(p),f=O.largeLabelWidth.value(p),h=O.largeTinLabelWidth.value(p),w=O.controlWidth.value(p);return t.jsxs(fs,{children:[t.jsx(ws,{children:U.vendorDetails.titleFor1099Section}),t.jsxs(Cs,{children:[t.jsx(Vt,{isDisabled:s,label:{label:se.companyInfo.legalName,width:m},text:{type:"text",style:{width:w},name:q(d,"legalName"),placeholder:It(se.companyInfo.legalName),defaultValue:i.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!i.vendorBasic.legalName,pattern:kt}},style:{width:"100%"}}),t.jsx(he,{}),t.jsxs(Le,{children:[t.jsx(Ss,{width:f,windowSize:p,children:U.vendorDetails.vendorType}),t.jsx($s,{size:p,children:t.jsx(Ot,{name:q(d,"vendorType"),value:{allTypes:e,selectedType:i.vendorDetailLocalData?.vendorType},placeholderLabel:U.placeholders.type})})]}),t.jsx(he,{}),t.jsx(Le,{children:t.jsx(ss,{name:q(d,"tinType"),menuPlacement:"auto",style:{height:o.sp6,width:"100%",marginLeft:o.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:i.vendorDetailLocalData?.tin?.type??j.strings.empty,dropDownList:[{code:j.texts.ein,label:j.texts.ein.toUpperCase()},{code:j.texts.ssn,label:j.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:U.placeholders.tinType,formattedText:{type:"text",name:q(d,"tinValue"),placeholder:U.placeholders.tinValue,format:i.vendorDetailLocalData?.tin?.type===j.texts.ssn?_t:zt,registerOptions:{required:!!i.vendorDetailLocalData?.tin?.type,pattern:i.vendorDetailLocalData?.tin?.type===j.texts.ssn?Pt:Mt},style:{width:"100%",height:o.sp6},defaultValue:i.vendorDetailLocalData?.tin?.value??j.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:i.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(he,{}),t.jsx(ts,{isDisabled:s,label:{label:se.companyInfo.address,width:m},addressValueField:{name:q(d,"address"),placeholder:se.address.titleAdd,defaultValue:i.vendorNewAddressStatus?.addressToCreate,onClick:()=>n("vendor_address",i.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},fs=a.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
- padding-top: ${a.sp5};
119
- padding-bottom: ${a.sp5};
120
- `,ws=o(qe)`
118
+ padding-top: ${o.sp5};
119
+ padding-bottom: ${o.sp5};
120
+ `,ws=a(qe)`
121
121
  color: ${e=>e.theme.colors.primary};
122
- margin-bottom: ${a.sp3};
123
- margin-right: ${a.sp6};
124
- `,Cs=o.div`
122
+ margin-bottom: ${o.sp3};
123
+ margin-right: ${o.sp6};
124
+ `,Cs=a.div`
125
125
  display: flex;
126
126
  flex-direction: column;
127
127
  background-color: ${e=>e.theme.colors.grey5};
128
128
  border: 1px solid ${e=>e.theme.colors.grey3};
129
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
130
- border-radius: ${a.sp2};
131
- `,he=o.div`
129
+ box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
130
+ border-radius: ${o.sp2};
131
+ `,he=a.div`
132
132
  display: flex;
133
133
  flex: 1;
134
134
  background-color: ${e=>e.theme.colors.grey3};
135
135
  min-height: 1px;
136
136
  max-height: 1px;
137
- `,Le=o.div`
137
+ `,Le=a.div`
138
138
  display: flex;
139
139
  flex-direction: row;
140
140
  justify-content: space-between;
141
141
  align-items: center;
142
- height: ${a.sp8};
142
+ height: ${o.sp8};
143
143
  width: 100%;
144
144
  &:hover {
145
145
  z-index: 1;
@@ -158,100 +158,100 @@ import{d as Re,q as oe,y as g,aB as be,cE as yt,a9 as bt,h7 as xe,h8 as xt,aT as
158
158
  border-bottom-left-radius: inherit;
159
159
  border-bottom-right-radius: inherit;
160
160
  }
161
- `,$s=o.div`
161
+ `,$s=a.div`
162
162
  width: ${e=>e.controlWidth!=null?`calc(100% - ${e.controlWidth}px)`:"100%"};
163
163
  display: flex;
164
164
  flex-grow: ${e=>e.size==="small"?1:0};
165
165
  align-items: center;
166
- margin-right: ${a.sp2};
167
- `,Ss=o(Et)`
166
+ margin-right: ${o.sp2};
167
+ `,Ss=a(Et)`
168
168
  width: ${e=>e.width}px;
169
169
  color: ${e=>e.theme.colors.hero};
170
170
  margin: ${e=>`${O.labelMarginTop.valuePx(e.windowSize)} ${O.labelMarginLeft.valuePx(e.windowSize)} ${O.labelMarginBottom.valuePx(e.windowSize)} ${O.labelMarginLeft.valuePx(e.windowSize)}`};
171
- `,Ve=F.getLocalizedStrings().vendors.common.transactionTabTitles,Ds=()=>Ts,Ts=[{id:"spend_transactions",label:Ve.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Ve.allTransactions,leftMargin:!0,style:{width:122,left:60}}],ke={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},_=(e,s)=>`${e}.${s}`,Je=F.getLocalizedStrings(),{common:ae,cockpit:Ie}=Je,L=Je.spendManagement.billPay.vendorCreation,js=({accountsHierarchyList:e,allAccounts:s,allClasses:d,allOwners:i,classHierarchyList:n,enableRecommendationUpdateCheckbox:p,readOnlyMode:m,isDisabled:f,recommendations:h,sectionId:w,selectedAccountId:R,selectedClassId:A,selectedOwnerId:D,selectedVendorDetails:u,uiState:B,isFiling1099FeatureEnabled:Y,onClickShowMoreOrLess:ne})=>{const Z=oe(),G=Re(),{getValues:J}=jt(),N=ke.labelWidth.value(Z),W=ke.controlWidth.value(Z),P=r=>s.filter(x=>x.accountId===r)[0]?.coaId??"",E=r=>d.filter(x=>x.classId===r)[0]?.accountingClassNumber??"",Q=r=>{const x=s.find(H=>H.accountId===r)?.accountName;return[At,Bt].includes(x??"")},X=L.vendorDetails.recommendation.tooltip,le=X.category.replace("__based__",u?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),ie=X.class.replace("__based__",u?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),K=u?.vendorDetailLocalData?.recommendedCategory!=null&&!!p,ee=u?.vendorDetailLocalData?.recommendedClass!=null&&!!p;return t.jsxs(Ls,{children:[t.jsxs(Vs,{children:[t.jsx(ks,{children:L.vendorDetails.title}),Y?t.jsxs(Os,{onClick:()=>ne(),children:[B?.collapsableStatus==="expand"?`${ae.show}${ae.strings.space}${Ie.subscription.lessBtnText}`:`${ae.show}${ae.strings.space}${Ie.subscription.moreBtnText}`,B?.collapsableStatus==="expand"?t.jsx(Ps,{}):t.jsx(Ms,{})]}):null]}),t.jsxs(Is,{children:[t.jsx(fe,{isLoading:!1,label:{label:L.vendorDetails.category,width:N},groupedSingleSelectField:{name:_(w,"vendorCategory"),placeholder:L.placeholders.category,valueToInfo:r=>P(r),defaultValue:{selectedOption:R,allOptions:Be(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:K},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${G.colors.grey3}`},isDisabled:m?"readonly":f,disableCurrentOption:Q,fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedCategory!=null&&p?{tooltipProps:{text:le},label:{label:u?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:_(w,"isRecommendedCategorySelected"),defaultChecked:J(_(w,"isRecommendedCategorySelected"))}}:void 0}),t.jsx(fe,{isLoading:!1,label:{label:L.vendorDetails.class,width:N},zIndexOnFocus:!0,groupedSingleSelectField:{name:_(w,"vendorClass"),placeholder:L.placeholders.class,valueToInfo:r=>E(r),defaultValue:{selectedOption:A,allOptions:Ae(n,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:ee},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${G.colors.grey3}`},isDisabled:m===!0?"readonly":f,fullWidthSelect:!1,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedClass!=null&&p?{tooltipProps:{text:ie},label:{label:u?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:_(w,"isRecommendedClassSelected"),defaultChecked:J(_(w,"isRecommendedClassSelected"))}}:void 0}),t.jsx(Lt,{label:{label:L.vendorDetails.vendorOwner,width:N},userSingleSelectField:{name:_(w,"vendorOwner"),placeholder:L.placeholders.owner,defaultValue:{allOptions:Ee(i),selectedOption:D},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:m===!0?"readonly":f,style:{justifyContent:"space-between"},controlWidth:W,fullWidthSelect:!1})]})]})},Ls=o.div`
171
+ `,Ve=F.getLocalizedStrings().vendors.common.transactionTabTitles,Ds=()=>Ts,Ts=[{id:"spend_transactions",label:Ve.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Ve.allTransactions,leftMargin:!0,style:{width:122,left:60}}],ke={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},_=(e,s)=>`${e}.${s}`,Je=F.getLocalizedStrings(),{common:oe,cockpit:Ie}=Je,L=Je.spendManagement.billPay.vendorCreation,js=({accountsHierarchyList:e,allAccounts:s,allClasses:d,allOwners:i,classHierarchyList:n,enableRecommendationUpdateCheckbox:p,readOnlyMode:m,isDisabled:f,recommendations:h,sectionId:w,selectedAccountId:R,selectedClassId:A,selectedOwnerId:D,selectedVendorDetails:u,uiState:B,isFiling1099FeatureEnabled:Y,onClickShowMoreOrLess:ne})=>{const Z=ae(),G=Re(),{getValues:J}=jt(),N=ke.labelWidth.value(Z),W=ke.controlWidth.value(Z),P=r=>s.filter(b=>b.accountId===r)[0]?.coaId??"",E=r=>d.filter(b=>b.classId===r)[0]?.accountingClassNumber??"",Q=r=>{const b=s.find(H=>H.accountId===r)?.accountName;return[At,Bt].includes(b??"")},X=L.vendorDetails.recommendation.tooltip,le=X.category.replace("__based__",u?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),ie=X.class.replace("__based__",u?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),K=u?.vendorDetailLocalData?.recommendedCategory!=null&&!!p,ee=u?.vendorDetailLocalData?.recommendedClass!=null&&!!p;return t.jsxs(Ls,{children:[t.jsxs(Vs,{children:[t.jsx(ks,{children:L.vendorDetails.title}),Y?t.jsxs(Os,{onClick:()=>ne(),children:[B?.collapsableStatus==="expand"?`${oe.show}${oe.strings.space}${Ie.subscription.lessBtnText}`:`${oe.show}${oe.strings.space}${Ie.subscription.moreBtnText}`,B?.collapsableStatus==="expand"?t.jsx(Ps,{}):t.jsx(Ms,{})]}):null]}),t.jsxs(Is,{children:[t.jsx(fe,{isLoading:!1,label:{label:L.vendorDetails.category,width:N},groupedSingleSelectField:{name:_(w,"vendorCategory"),placeholder:L.placeholders.category,valueToInfo:r=>P(r),defaultValue:{selectedOption:R,allOptions:Be(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:K},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${G.colors.grey3}`},isDisabled:m?"readonly":f,disableCurrentOption:Q,fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedCategory!=null&&p?{tooltipProps:{text:le},label:{label:u?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:_(w,"isRecommendedCategorySelected"),defaultChecked:J(_(w,"isRecommendedCategorySelected"))}}:void 0}),t.jsx(fe,{isLoading:!1,label:{label:L.vendorDetails.class,width:N},zIndexOnFocus:!0,groupedSingleSelectField:{name:_(w,"vendorClass"),placeholder:L.placeholders.class,valueToInfo:r=>E(r),defaultValue:{selectedOption:A,allOptions:Ae(n,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:ee},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${G.colors.grey3}`},isDisabled:m===!0?"readonly":f,fullWidthSelect:!1,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedClass!=null&&p?{tooltipProps:{text:ie},label:{label:u?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:_(w,"isRecommendedClassSelected"),defaultChecked:J(_(w,"isRecommendedClassSelected"))}}:void 0}),t.jsx(Lt,{label:{label:L.vendorDetails.vendorOwner,width:N},userSingleSelectField:{name:_(w,"vendorOwner"),placeholder:L.placeholders.owner,defaultValue:{allOptions:Ee(i),selectedOption:D},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:m===!0?"readonly":f,style:{justifyContent:"space-between"},controlWidth:W,fullWidthSelect:!1})]})]})},Ls=a.div`
172
172
  display: flex;
173
173
  flex-direction: column;
174
- padding-top: ${a.sp3};
175
- padding-bottom: ${a.sp3};
176
- `,Vs=o.div`
174
+ padding-top: ${o.sp3};
175
+ padding-bottom: ${o.sp3};
176
+ `,Vs=a.div`
177
177
  display: flex;
178
178
  justify-content: space-between;
179
- `,ks=o(qe)`
179
+ `,ks=a(qe)`
180
180
  color: ${e=>e.theme.colors.primary};
181
- margin-bottom: ${a.sp3};
182
- margin-right: ${a.sp6};
183
- `,Is=o.div`
181
+ margin-bottom: ${o.sp3};
182
+ margin-right: ${o.sp6};
183
+ `,Is=a.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  background-color: ${e=>e.theme.colors.grey5};
187
187
  border: 1px solid ${e=>e.theme.colors.grey3};
188
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
189
- border-radius: ${a.sp2};
190
- `,Os=o(Ue)`
188
+ box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
189
+ border-radius: ${o.sp2};
190
+ `,Os=a(Ue)`
191
191
  display: flex;
192
192
  justify-content: flex-end;
193
193
  color: ${e=>e.theme.colors.hero};
194
- margin-bottom: ${a.sp0};
195
- margin-right: ${a.sp0};
194
+ margin-bottom: ${o.sp0};
195
+ margin-right: ${o.sp0};
196
196
  cursor: pointer;
197
- `,Ps=o(Ht)`
198
- width: ${a.sp3};
199
- height: ${a.sp3};
200
- margin-left: ${a.sp2};
201
- margin-top: ${a.sp1};
202
- `,Ms=o(Rt)`
203
- width: ${a.sp3};
204
- height: ${a.sp3};
205
- margin-left: ${a.sp2};
206
- margin-top: ${a.sp1};
207
- `,_s=o.div`
197
+ `,Ps=a(Ht)`
198
+ width: ${o.sp3};
199
+ height: ${o.sp3};
200
+ margin-left: ${o.sp2};
201
+ margin-top: ${o.sp1};
202
+ `,Ms=a(Rt)`
203
+ width: ${o.sp3};
204
+ height: ${o.sp3};
205
+ margin-left: ${o.sp2};
206
+ margin-top: ${o.sp1};
207
+ `,_s=a.div`
208
208
  display: flex;
209
209
  flex-direction: column;
210
- row-gap: ${a.sp7};
211
- `,Oe=o.div`
210
+ row-gap: ${o.sp7};
211
+ `,Oe=a.div`
212
212
  display: flex;
213
213
  flex-direction: column;
214
- row-gap: ${a.sp3};
215
- `,Pe=o.div`
214
+ row-gap: ${o.sp3};
215
+ `,Pe=a.div`
216
216
  border: 1px solid ${e=>e.theme.colors.grey3};
217
217
  filter: drop-shadow(
218
- ${a.sp0} 2px ${a.sp1} ${z.boxShadowElevation}
218
+ ${o.sp0} 2px ${o.sp1} ${z.boxShadowElevation}
219
219
  );
220
- border-radius: ${a.sp2};
220
+ border-radius: ${o.sp2};
221
221
  background: ${e=>e.theme.colors.grey5};
222
- `,Me=o.div`
223
- padding: ${a.sp3};
222
+ `,Me=a.div`
223
+ padding: ${o.sp3};
224
224
  display: flex;
225
225
  justify-content: space-between;
226
226
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
227
- `,zs=()=>t.jsxs(_s,{children:[[...Array(1)].map((e,s)=>t.jsxs(Oe,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(Pe,{children:[...Array(3)].map((d,i)=>t.jsxs(Me,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s)),[...Array(1)].map((e,s)=>t.jsxs(Oe,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(Pe,{children:[...Array(4)].map((d,i)=>t.jsxs(Me,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s))]}),y=F.getLocalizedStrings(),{vendors:{vendorDetailPage:V},common:{footer:_e}}=y,k={transactionListHeight:new g(325,275,225),formContainerHorizontalPadding:new g(l[3],l[3],l[8]),buttonWidth:new g(85,85),navbarHeight:63},ze=e=>`${e}_form`,b="vendorDetails",ue="vendor1099Details",Fe="vendorDetailPage",Fs=o.div`
227
+ `,zs=()=>t.jsxs(_s,{children:[[...Array(1)].map((e,s)=>t.jsxs(Oe,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(Pe,{children:[...Array(3)].map((d,i)=>t.jsxs(Me,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s)),[...Array(1)].map((e,s)=>t.jsxs(Oe,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(Pe,{children:[...Array(4)].map((d,i)=>t.jsxs(Me,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s))]}),y=F.getLocalizedStrings(),{vendors:{vendorDetailPage:V},common:{footer:_e}}=y,k={transactionListHeight:new g(325,275,225),formContainerHorizontalPadding:new g(l[3],l[3],l[8]),buttonWidth:new g(85,85),navbarHeight:63},ze=e=>`${e}_form`,x="vendorDetails",ue="vendor1099Details",Fe="vendorDetailPage",Fs=a.div`
228
228
  display: flex;
229
229
  flex: 1 1 auto;
230
230
  min-height: 100%;
231
231
  width: 100%;
232
232
  flex-direction: column;
233
233
  background-color: ${e=>e.theme.colors.grey4};
234
- box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
235
- `,Ne=o.div`
234
+ box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
235
+ `,Ne=a.div`
236
236
  padding-left: ${e=>k.formContainerHorizontalPadding.valuePx(e.size)};
237
237
  padding-right: ${e=>k.formContainerHorizontalPadding.valuePx(e.size)};
238
- `,We=o.div`
238
+ `,We=a.div`
239
239
  background-color: ${e=>e.theme.colors.grey4};
240
- padding-top: ${e=>e.isPageLoading?a.sp3:a.sp0};
241
- `,Ns=o.div`
240
+ padding-top: ${e=>e.isPageLoading?o.sp3:o.sp0};
241
+ `,Ns=a.div`
242
242
  display: flex;
243
243
  flex: 1 1 auto;
244
244
  height: 100%;
245
245
  flex-direction: column;
246
246
  justify-content: center;
247
247
  align-items: center;
248
- margin: ${a.sp0};
248
+ margin: ${o.sp0};
249
249
  height: ${e=>e.height}px;
250
- `,Ws=o.div`
250
+ `,Ws=a.div`
251
251
  display: flex;
252
252
  flex-direction: column;
253
- `,Hs=o.div``,Rs=o.div``,As=o.div`
253
+ `,Hs=a.div``,Rs=a.div``,As=a.div`
254
254
  display: flex;
255
255
  flex-direction: column;
256
256
  transition: ${e=>e.collapsableStatus==="collapse"?"height 400ms ease-out":"height 200ms ease-in"};
257
- `,Bs=[{label:V.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:V.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:V.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:V.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:V.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:V.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:V.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:V.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],ya=({isFiling1099FeatureEnabled:e,vendorDetailView:s,firstMonthOfFY:d,vendorLogo:i,readOnlyMode:n,isDisabled:p,scrollToTrend:m,allTransactionsTabData:f,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:w,onSaveSuccess:R,saveVendorDetailLocalData:A,onCancelClick:D,onTrendSelectedPeriodChange:u,onTransactionItemClick:B,onSpendTrendPercentChangeClick:Y,onSaveVendor:ne,onVendorSpendTrendFilterTabClick:Z,onAddressClick:G,saveContactsInVendorTabDetailLocalData:J,onVendorDetailUIChange:N})=>{const W=Re(),P=oe(),E=$.useRef(null),[Q,X]=$.useState(!1),[le,ie]=$.useState(k.transactionListHeight.value()),K=s?.selectedTabType,ee=Ds(),r=Object.assign({},s?.vendorViewDetails?.vendorView),x=s?.vendorViewDetails.vendorView?.vendorDetailLocalData,H=s?.uiState,Qe=!be(r!=null&&r.vendorAddress!=null?Ce(r.vendorAddress):r.vendorAddress,r.vendorNewAddressStatus?.addressToCreate!=null?Ce(r.vendorNewAddressStatus?.addressToCreate):r.vendorNewAddressStatus?.addressToCreate),Xe=(r?.vendorDetailLocalData?.contacts??[]).filter(c=>c.email!==y.common.strings.empty||c.fullName!==y.common.strings.empty||c.phone!==y.common.strings.empty).map(c=>yt(c,"contactInfoType")),ve=$.useMemo(()=>r.vendorBasic?.contacts??[],[r.vendorBasic?.contacts]),Ke=!be(Xe,ve),te=bt({mode:"all",defaultValues:He(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),values:He(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[et,tt]=$.useState(-1),st=r.vendorDetailLocalData?.contacts!=null&&r.vendorDetailLocalData?.contacts.length>0?r.vendorDetailLocalData?.contacts:xe,[at,ot]=$.useState(xt(st)),nt=c=>{ot(c),J?.(x?.vendorId??y.common.strings.empty,c)};$.useEffect(()=>{m===!0&&Q===!1&&s?.trendWithTransactions.trendReport?.fetchState==="Completed"&&s?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(E.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),X(!0))},[m,Q,s?.trendWithTransactions.trendReport?.fetchState,s?.trendWithTransactions.transactionView?.fetchState]);const lt=new ft(W.colors.graphColor12),T=s?.fetchState==="Not-Started"||s?.fetchState==="In-Progress",it=s?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",rt=s?.trendWithTransactions.trendReport?.fetchState==="In-Progress",dt=(c,v)=>{u?.(v)};$.useEffect(()=>{s?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&R?.()},[r]);const ct=$.useCallback(()=>{window.scrollTo({top:(E.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),Y?.()},[Y]),pt=async(c,v)=>{const C=v;if(c.includes("isRecommendedCategorySelected")){const M=v[b].isRecommendedCategorySelected===!0?r?.vendorDetailLocalData?.recommendedCategory?.accountId:r?.vendorBasic?.account?.accountId;C[b].vendorCategory={selectedOption:M,allOptions:v[b].vendorCategory.allOptions}}if(c.includes("isRecommendedClassSelected")){const M=v[b].isRecommendedClassSelected===!0?r.vendorDetailLocalData?.recommendedClass?.classId:r?.vendorBasic?.class?.classId;C[b].vendorClass={selectedOption:M,allOptions:v[b].vendorClass.allOptions}}if(c.includes("vendorCategory")){const M=C[b].vendorCategory.selectedOption===C[b].recommendedCategory?.accountId;C[b].isRecommendedCategorySelected=M}if(c.includes("vendorClass")){const M=C[b].vendorClass.selectedOption===C[b].recommendedClass?.classId;C[b].isRecommendedClassSelected=M}mt(C)};$.useEffect(()=>{const c=te.watch((v,{name:C})=>{C!=null&&v!=null&&wt(()=>pt(C,v))});return()=>{c.unsubscribe()}});const mt=c=>{const v=Es(c,r.vendorBasic?.id,x);A?.(v)},ht=c=>{h(Zt(c.id))},gt={isLoading:s?.allVendorTransactionsView?.fetchState==="In-Progress"||s?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(c,v)=>{w(c,(f?.numberOfQuartersFetched??0)+1)}},ut=()=>{switch(K){case"all_transactions":return t.jsx(Ns,{height:le,children:T===!1&&f?.timePeriod!=null?t.jsx(Qt,{firstMonthOfFY:d,timeframe:"quarter",timePeriod:f.timePeriod,transactions:s?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:T,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:B,onListInnerElementHeightChanged:c=>{ie(c)},showLoadPrevious:gt}):null});case"spend_transactions":default:return s?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(Jt,{allTabs:Bs,selectedTab:s.vendorSpendTrendFilterTabValue,onTabChange:c=>{const v=Gt(c.id);v!=null&&Z(v)},containerStyle:{marginLeft:l[8],marginRight:l[8]}}),t.jsx(Hs,{ref:E,children:t.jsx(Xt,{firstMonthOfFY:d,trendWithTransactionsReport:s?.trendWithTransactions,isDetailPage:!1,graphColor:lt,initialTransactionListHeight:k.transactionListHeight.value(P),page:"vendorDetailPage",onTimePeriodChange:dt,onTransactionItemClick:B})})]}):null}},vt=()=>{H?.collapsableStatus==="expand"?N?.("collapse"):N?.("expand")},ye=ee.find(c=>K===c.id);return t.jsxs(Fs,{children:[t.jsx(Ct,{onBackClick:D,title:r.vendorBasic?.name??y.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:W.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),s?.vendorSpend!=null?t.jsx(ys,{isPageLoading:T,vendorName:r.vendorBasic?.name??y.common.strings.empty,spend:s?.vendorSpend,vendorLogo:i,isSpendTrendLoading:rt,onPercentChangeClick:ct}):null,T===!0&&t.jsx(We,{isPageLoading:T,children:t.jsx(Ne,{size:P,children:t.jsx(zs,{})})}),T===!1&&r.vendorDetailLocalData!=null&&t.jsxs(We,{isPageLoading:T,children:[t.jsx(Ne,{size:P,children:t.jsx($t,{...te,children:t.jsxs("form",{id:ze(Fe),onSubmit:te.handleSubmit(ne),children:[t.jsx(js,{sectionId:b,selectedVendorId:x?.vendorId,selectedVendorDetails:r,selectedAccountId:x?.vendorCategory,selectedClassId:x?.vendorClass,selectedOwnerId:x?.vendorOwner,recommendations:x?.recommendations??[],allAccounts:s?.vendorViewDetails.accountList.accounts??[],allClasses:s?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:x?.vendorName,allOwners:s?.vendorViewDetails.ownerList??[],readOnlyMode:n,isDisabled:p,accountsHierarchyList:s?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:s?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:H,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:vt}),e&&H?.collapsableStatus==="expand"?t.jsxs(As,{collapsableStatus:H?.collapsableStatus??"expand",children:[t.jsx(xs,{selectedVendorDetails:r,isDisabled:p,onAddressClick:G,sectionId:ue,vendorTypeList:s?.vendorViewDetails.vendorTypeList??[]}),t.jsx(St,{emailRequired:!1,vendorContactInfos:xe,sectionId:ge,vendorContactInfoWithType:at,setVendorContactInfoWithType:nt,deleteContactConfirmationIndex:et,updateContactDeleteConfirmationIndex:tt,initialContactList:ve})]}):null]})})}),ye!=null?t.jsxs(Ws,{children:[t.jsx(Rs,{children:t.jsx(cs,{allTabs:ee,containerStyle:{marginLeft:l[8],marginRight:l[8],borderBottom:`1px solid ${W.colors.grey3}`,backgroundColor:W.colors.grey4,justifyContent:"left"},selectedTab:ye,onOptionSelectionChanged:ht})}),ut()]}):null]}),!T&&n!==!0&&(Dt(te.formState.dirtyFields)||Qe||Ke)?t.jsx(Tt,{formId:ze(Fe),primaryBtn:{label:_e.save,isLoading:it,style:{width:k.buttonWidth.value(P)},isDisabled:!1},cancelBtn:{label:_e.cancel,style:{width:k.buttonWidth.value(P)},onClick:D}}):null]})},He=(e,s,d,i,n,p)=>({[b]:{vendorName:n?.vendorName??y.common.strings.empty,vendorOwner:{allOptions:Ee(p),selectedOption:n?.vendorOwner},vendorCategory:{allOptions:Be(e,n?.recommendations),selectedOption:n?.vendorCategory},vendorClass:{allOptions:Ae(s,n?.recommendations),selectedOption:n?.vendorClass},recommendedCategory:n?.recommendedCategory,recommendedClass:n?.recommendedClass,isRecommendedCategorySelected:n?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:n?.isClassUpdateSelected??!1},[ue]:{legalName:n?.legalName??y.common.strings.empty,email:n?.vendorEmail??y.common.strings.empty,phone:n?.vendorPhone??y.common.strings.empty,vendorType:{allTypes:d,selectedType:n?.vendorType},tinType:n?.tin?.type??null,tinValue:n?.tin?.value??null,address:i},[ge]:n!=null&&n?.contacts!=null&&n?.contacts.length!==0?n.contacts:[{fullName:y.common.strings.empty,email:y.common.strings.empty,phone:y.common.strings.empty,id:y.common.strings.empty}]}),Es=(e,s,d)=>{const i=e?.[b],n=e?.[ue];return{vendorCategory:i.vendorCategory.selectedOption,vendorClass:i.vendorClass.selectedOption,vendorId:s,recommendations:d?.recommendations,vendorName:i.vendorName,legalName:n.legalName,vendorOwner:i.vendorOwner?.selectedOption,recommendedCategory:i.recommendedCategory,recommendedClass:i.recommendedClass,isCategoryUpdateSelected:i.isRecommendedCategorySelected??!1,isClassUpdateSelected:i.isRecommendedClassSelected??!1,vendorEmail:n.email,vendorPhone:n.phone,vendorType:n.vendorType.selectedType,tin:{type:n.tinType??null,value:n.tinValue!=null?n.tinValue.replace(qt,y.common.strings.empty):null},address:n.address,contacts:e?.[ge]}};export{ya as default,ze as formUniqueName,ue as vendor1099DetailsSectionId,b as vendorDetailsSectionId,Bs as vendorSpendTrendFilterTabs};
257
+ `,Bs=[{label:V.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:V.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:V.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:V.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:V.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:V.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:V.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:V.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],xo=({isFiling1099FeatureEnabled:e,vendorDetailView:s,firstMonthOfFY:d,vendorLogo:i,readOnlyMode:n,isDisabled:p,scrollToTrend:m,allTransactionsTabData:f,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:w,onSaveSuccess:R,saveVendorDetailLocalData:A,onCancelClick:D,onTrendSelectedPeriodChange:u,onTransactionItemClick:B,onSpendTrendPercentChangeClick:Y,onSaveVendor:ne,onVendorSpendTrendFilterTabClick:Z,onAddressClick:G,saveContactsInVendorTabDetailLocalData:J,onVendorDetailUIChange:N})=>{const W=Re(),P=ae(),E=$.useRef(null),[Q,X]=$.useState(!1),[le,ie]=$.useState(k.transactionListHeight.value()),K=s?.selectedTabType,ee=Ds(),r=Object.assign({},s?.vendorViewDetails?.vendorView),b=s?.vendorViewDetails.vendorView?.vendorDetailLocalData,H=s?.uiState,Qe=!xe(r!=null&&r.vendorAddress!=null?Ce(r.vendorAddress):r.vendorAddress,r.vendorNewAddressStatus?.addressToCreate!=null?Ce(r.vendorNewAddressStatus?.addressToCreate):r.vendorNewAddressStatus?.addressToCreate),Xe=(r?.vendorDetailLocalData?.contacts??[]).filter(c=>c.email!==y.common.strings.empty||c.fullName!==y.common.strings.empty||c.phone!==y.common.strings.empty).map(c=>yt(c,"contactInfoType")),ve=$.useMemo(()=>r.vendorBasic?.contacts??[],[r.vendorBasic?.contacts]),Ke=!xe(Xe,ve),te=xt({mode:"all",defaultValues:He(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),values:He(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[et,tt]=$.useState(-1),st=r.vendorDetailLocalData?.contacts!=null&&r.vendorDetailLocalData?.contacts.length>0?r.vendorDetailLocalData?.contacts:be,[ot,at]=$.useState(bt(st)),nt=c=>{at(c),J?.(b?.vendorId??y.common.strings.empty,c)};$.useEffect(()=>{m===!0&&Q===!1&&s?.trendWithTransactions.trendReport?.fetchState==="Completed"&&s?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(E.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),X(!0))},[m,Q,s?.trendWithTransactions.trendReport?.fetchState,s?.trendWithTransactions.transactionView?.fetchState]);const lt=new ft(W.colors.graphColor12),T=s?.fetchState==="Not-Started"||s?.fetchState==="In-Progress",it=s?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",rt=s?.trendWithTransactions.trendReport?.fetchState==="In-Progress",dt=(c,v)=>{u?.(v)};$.useEffect(()=>{s?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&R?.()},[r]);const ct=$.useCallback(()=>{window.scrollTo({top:(E.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),Y?.()},[Y]),pt=async(c,v)=>{const C=v;if(c.includes("isRecommendedCategorySelected")){const M=v[x].isRecommendedCategorySelected===!0?r?.vendorDetailLocalData?.recommendedCategory?.accountId:r?.vendorBasic?.account?.accountId;C[x].vendorCategory={selectedOption:M,allOptions:v[x].vendorCategory.allOptions}}if(c.includes("isRecommendedClassSelected")){const M=v[x].isRecommendedClassSelected===!0?r.vendorDetailLocalData?.recommendedClass?.classId:r?.vendorBasic?.class?.classId;C[x].vendorClass={selectedOption:M,allOptions:v[x].vendorClass.allOptions}}if(c.includes("vendorCategory")){const M=C[x].vendorCategory.selectedOption===C[x].recommendedCategory?.accountId;C[x].isRecommendedCategorySelected=M}if(c.includes("vendorClass")){const M=C[x].vendorClass.selectedOption===C[x].recommendedClass?.classId;C[x].isRecommendedClassSelected=M}mt(C)};$.useEffect(()=>{const c=te.watch((v,{name:C})=>{C!=null&&v!=null&&wt(()=>pt(C,v))});return()=>{c.unsubscribe()}});const mt=c=>{const v=Es(c,r.vendorBasic?.id,b);A?.(v)},ht=c=>{h(Zt(c.id))},gt={isLoading:s?.allVendorTransactionsView?.fetchState==="In-Progress"||s?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(c,v)=>{w(c,(f?.numberOfQuartersFetched??0)+1)}},ut=()=>{switch(K){case"all_transactions":return t.jsx(Ns,{height:le,children:T===!1&&f?.timePeriod!=null?t.jsx(Qt,{firstMonthOfFY:d,timeframe:"quarter",timePeriod:f.timePeriod,transactions:s?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:T,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:B,onListInnerElementHeightChanged:c=>{ie(c)},showLoadPrevious:gt}):null});case"spend_transactions":default:return s?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(Jt,{allTabs:Bs,selectedTab:s.vendorSpendTrendFilterTabValue,onTabChange:c=>{const v=Gt(c.id);v!=null&&Z(v)},containerStyle:{marginLeft:l[8],marginRight:l[8]}}),t.jsx(Hs,{ref:E,children:t.jsx(Xt,{firstMonthOfFY:d,trendWithTransactionsReport:s?.trendWithTransactions,isDetailPage:!1,graphColor:lt,initialTransactionListHeight:k.transactionListHeight.value(P),page:"vendorDetailPage",onTimePeriodChange:dt,onTransactionItemClick:B})})]}):null}},vt=()=>{H?.collapsableStatus==="expand"?N?.("collapse"):N?.("expand")},ye=ee.find(c=>K===c.id);return t.jsxs(Fs,{children:[t.jsx(Ct,{onBackClick:D,title:r.vendorBasic?.name??y.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:W.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),s?.vendorSpend!=null?t.jsx(ys,{isPageLoading:T,vendorName:r.vendorBasic?.name??y.common.strings.empty,spend:s?.vendorSpend,vendorLogo:i,isSpendTrendLoading:rt,onPercentChangeClick:ct}):null,T===!0&&t.jsx(We,{isPageLoading:T,children:t.jsx(Ne,{size:P,children:t.jsx(zs,{})})}),T===!1&&r.vendorDetailLocalData!=null&&t.jsxs(We,{isPageLoading:T,children:[t.jsx(Ne,{size:P,children:t.jsx($t,{...te,children:t.jsxs("form",{id:ze(Fe),onSubmit:te.handleSubmit(ne),children:[t.jsx(js,{sectionId:x,selectedVendorId:b?.vendorId,selectedVendorDetails:r,selectedAccountId:b?.vendorCategory,selectedClassId:b?.vendorClass,selectedOwnerId:b?.vendorOwner,recommendations:b?.recommendations??[],allAccounts:s?.vendorViewDetails.accountList.accounts??[],allClasses:s?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:b?.vendorName,allOwners:s?.vendorViewDetails.ownerList??[],readOnlyMode:n,isDisabled:p,accountsHierarchyList:s?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:s?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:H,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:vt}),e&&H?.collapsableStatus==="expand"?t.jsxs(As,{collapsableStatus:H?.collapsableStatus??"expand",children:[t.jsx(bs,{selectedVendorDetails:r,isDisabled:p,onAddressClick:G,sectionId:ue,vendorTypeList:s?.vendorViewDetails.vendorTypeList??[]}),t.jsx(St,{emailRequired:!1,vendorContactInfos:be,sectionId:ge,vendorContactInfoWithType:ot,setVendorContactInfoWithType:nt,deleteContactConfirmationIndex:et,updateContactDeleteConfirmationIndex:tt,initialContactList:ve})]}):null]})})}),ye!=null?t.jsxs(Ws,{children:[t.jsx(Rs,{children:t.jsx(cs,{allTabs:ee,containerStyle:{marginLeft:l[8],marginRight:l[8],borderBottom:`1px solid ${W.colors.grey3}`,backgroundColor:W.colors.grey4,justifyContent:"left"},selectedTab:ye,onOptionSelectionChanged:ht})}),ut()]}):null]}),!T&&n!==!0&&(Dt(te.formState.dirtyFields)||Qe||Ke)?t.jsx(Tt,{formId:ze(Fe),primaryBtn:{label:_e.save,isLoading:it,style:{width:k.buttonWidth.value(P)},isDisabled:!1},cancelBtn:{label:_e.cancel,style:{width:k.buttonWidth.value(P)},onClick:D}}):null]})},He=(e,s,d,i,n,p)=>({[x]:{vendorName:n?.vendorName??y.common.strings.empty,vendorOwner:{allOptions:Ee(p),selectedOption:n?.vendorOwner},vendorCategory:{allOptions:Be(e,n?.recommendations),selectedOption:n?.vendorCategory},vendorClass:{allOptions:Ae(s,n?.recommendations),selectedOption:n?.vendorClass},recommendedCategory:n?.recommendedCategory,recommendedClass:n?.recommendedClass,isRecommendedCategorySelected:n?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:n?.isClassUpdateSelected??!1},[ue]:{legalName:n?.legalName??y.common.strings.empty,email:n?.vendorEmail??y.common.strings.empty,phone:n?.vendorPhone??y.common.strings.empty,vendorType:{allTypes:d,selectedType:n?.vendorType},tinType:n?.tin?.type??null,tinValue:n?.tin?.value??null,address:i},[ge]:n!=null&&n?.contacts!=null&&n?.contacts.length!==0?n.contacts:[{fullName:y.common.strings.empty,email:y.common.strings.empty,phone:y.common.strings.empty,id:y.common.strings.empty}]}),Es=(e,s,d)=>{const i=e?.[x],n=e?.[ue];return{vendorCategory:i.vendorCategory.selectedOption,vendorClass:i.vendorClass.selectedOption,vendorId:s,recommendations:d?.recommendations,vendorName:i.vendorName,legalName:n.legalName,vendorOwner:i.vendorOwner?.selectedOption,recommendedCategory:i.recommendedCategory,recommendedClass:i.recommendedClass,isCategoryUpdateSelected:i.isRecommendedCategorySelected??!1,isClassUpdateSelected:i.isRecommendedClassSelected??!1,vendorEmail:n.email,vendorPhone:n.phone,vendorType:n.vendorType.selectedType,tin:{type:n.tinType??null,value:n.tinValue!=null?n.tinValue.replace(qt,y.common.strings.empty):null},address:n.address,contacts:e?.[ge]}};export{xo as default,ze as formUniqueName,ue as vendor1099DetailsSectionId,x as vendorDetailsSectionId,Bs as vendorSpendTrendFilterTabs};
@@ -0,0 +1 @@
1
+ import{V as l}from"./index-BN936vRr.js";import{a as k}from"./sentry-BCzFscbx.js";import{w as y}from"./DomesticWireDetailsPage-B42h6sda-DX1LXutY.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./zeni-epic-state-DIO-8j7m.js";import"./mui-DQOtlcvt.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./BankAccountSection-C0ZBcrDN-Bfiopxim.js";import"./MagicLinkTitleSection-DHU7VtF2-Bedubn59.js";import"./BankAccountWarningSection-BAMjtbnn-BO47Vh4w.js";import"./MailingDetailsSection-B-bODwAg-DzrWy-jk.js";import"./LabeledAddressValueField-BOu3phtO-DUC2jENU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="279b54ee-6688-41a6-b374-c47efac1db25",e._sentryDebugIdIdentifier="sentry-dbid-279b54ee-6688-41a6-b374-c47efac1db25")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:b,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:b,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
@@ -1,4 +1,4 @@
1
- import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as qe,cF as C,o as s,cJ as Re,hf as We,g9 as Oe,cN as Me,hg as He,hh as Ue,cV as Ze,aP as _e,F as ne,eV as Z,hm as de,eo as Ke,eW as Ge,c,L as Xe,bN as I,cA as Je,hn as Ye,p as F,g as Qe,cg as et,al as ce,eE as tt,ho as st,hp as lt,hq as M,eX as it}from"./index-BE73Kh7z.js";import{a as x}from"./sentry-CtwtDFb0.js";import{n as a}from"./mui-fuwOYnWD.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BcSAJy2I-2PBpSsNP.js";import"./liveblocks-BUxiobW7.js";import"./core-Cxz4HUbn.js";import"./recharts-BnEZevRO.js";import"./zeni-epic-state-BFhqH0Xa.js";import"./lottie-DskIkVJY.js";import"./analytics-BUFSKutl.js";import"./lexical-Bnz9O97W.js";import"./utils-BZ73yfDv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e8d97293-13df-4d22-b3ac-d58c950a6bb3",e._sentryDebugIdIdentifier="sentry-dbid-e8d97293-13df-4d22-b3ac-d58c950a6bb3")}catch{}})();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:g,style:R}){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:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,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:g,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:g,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:g,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:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,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:g,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{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as qe,cF as C,o as s,cJ as Re,hf as We,g9 as Oe,cN as Me,hg as He,hh as Ue,cV as Ze,aP as _e,F as ne,eV as Z,hm as de,eo as Ke,eW as Ge,c,L as Xe,bN as I,cA as Je,hn as Ye,p as F,g as Qe,cg as et,al as ce,eE as tt,ho as st,hp as lt,hq as M,eX as it}from"./index-BN936vRr.js";import{a as x}from"./sentry-BCzFscbx.js";import{n as a}from"./mui-DQOtlcvt.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-ClNFgUx5-Bx0rybn1.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./zeni-epic-state-DIO-8j7m.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="811c5d82-69e6-444d-a14a-96744704d524",e._sentryDebugIdIdentifier="sentry-dbid-811c5d82-69e6-444d-a14a-96744704d524")}catch{}})();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:g,style:R}){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:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,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:g,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:g,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:g,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:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,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:g,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{q as ae,aw as Nn,d as mn,a9 as et,i4 as Te,cC as nt,ay as On,i5 as re,i6 as ve,i7 as fe,i8 as be,i9 as me,V as n,i0 as tt,ac as ot,bA as it,aa as rt,cn as st,co as at,cp as lt,bT as dt,bM as ct,aN as Y,ck as mt,b2 as pt,di as ut,cr as ht,k as gt,F as je,y as w,H as Ne,o as t,aS as In,al as De,aR as wt,c,ai as Re,cw as xt,dn as Pn,bN as Pe,bg as Tn,cz as vt,bZ as ft,dB as bt,b9 as Ye,bs as pn,p as B,u as zn,gZ as $t,de as wn,cZ as rn,ia as sn,ao as St,bR as Be,dL as yt,es as xn,bI as jt,dq as Rt,n as vn,ib as Vt,ic as Ct,cP as kt,eo as Mt,ex as Nt,ey as Ot,am as Dn,id as It,bG as se,ie as fn,gL as Pt,au as Tt,at as zt,dp as Dt,b as Ln,R as Lt,s as _t,aU as dn}from"./index-BE73Kh7z.js";import{a as f}from"./sentry-CtwtDFb0.js";import{n as o,c as cn}from"./mui-fuwOYnWD.js";import{gu as At,FY as Ft}from"./zeni-epic-state-BFhqH0Xa.js";import{r as Bt}from"./core-Cxz4HUbn.js";import{P as Et}from"./Menu-CCfXjS2S-C9ZoSEn7.js";import"./liveblocks-BUxiobW7.js";import"./recharts-BnEZevRO.js";import"./lottie-DskIkVJY.js";import"./analytics-BUFSKutl.js";import"./lexical-Bnz9O97W.js";import"./utils-BZ73yfDv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6f9c714a-30b7-48d8-9bdc-2a3b3b75855d",e._sentryDebugIdIdentifier="sentry-dbid-6f9c714a-30b7-48d8-9bdc-2a3b3b75855d")}catch{}})();const _n=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{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(qt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{q as ae,aw as Nn,d as mn,a9 as et,i4 as Te,cC as nt,ay as On,i5 as re,i6 as ve,i7 as fe,i8 as be,i9 as me,V as n,i0 as tt,ac as ot,bA as it,aa as rt,cn as st,co as at,cp as lt,bT as dt,bM as ct,aN as Y,ck as mt,b2 as pt,di as ut,cr as ht,k as gt,F as je,y as w,H as Ne,o as t,aS as In,al as De,aR as wt,c,ah as Re,cw as xt,dn as Pn,bN as Pe,bg as Tn,cz as vt,bZ as ft,dB as bt,b9 as Ye,bs as pn,p as B,u as zn,gZ as $t,de as wn,cZ as rn,ia as sn,ao as St,bR as Be,dL as yt,es as xn,bI as jt,dq as Rt,n as vn,ib as Vt,ic as Ct,cP as kt,eo as Mt,ex as Nt,ey as Ot,am as Dn,id as It,bG as se,ie as fn,gL as Pt,au as Tt,at as zt,dp as Dt,b as Ln,R as Lt,s as _t,aU as dn}from"./index-BN936vRr.js";import{a as f}from"./sentry-BCzFscbx.js";import{n as o,c as cn}from"./mui-DQOtlcvt.js";import{gu as At,FY as Ft}from"./zeni-epic-state-DIO-8j7m.js";import{r as Bt}from"./core-BkA0GZqz.js";import{P as Et}from"./Menu-BumlrBWb-DpVhZSGr.js";import"./liveblocks-CUzvdZes.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="58fa4d07-5e93-4e49-a7e0-92cdcb6405f5",e._sentryDebugIdIdentifier="sentry-dbid-58fa4d07-5e93-4e49-a7e0-92cdcb6405f5")}catch{}})();const _n=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{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(qt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,q as Y,a9 as he,F as U,cC as ye,aB as ge,cn as be,co as fe,cp as xe,ac as ve,aP as we,y as p,eV as le,eW as Ce,o as y,b8 as $e,cP as oe,d as ne,eX as De,eY as Q,cV as G,b0 as H,cF as je,ej as Te,c as a,eo as ke,aN as Se,p as M,R as Oe,k as Fe,bR as Ae,ai as Le,bI as Ie}from"./index-BE73Kh7z.js";import{a as R}from"./sentry-CtwtDFb0.js";import{n as g}from"./mui-fuwOYnWD.js";import{bi as X}from"./zeni-epic-state-BFhqH0Xa.js";import{W as We,A as ze}from"./BankAccountWarningSection--CI3tctJ-BN8p7sJD.js";import{T as Re}from"./MailingDetailsSection-BbWfR6ob-D7W1tLXO.js";import{S as Pe}from"./CurrencySelectField-Cqh1PAAW-4WT7C3hx.js";import"./liveblocks-BUxiobW7.js";import"./core-Cxz4HUbn.js";import"./recharts-BnEZevRO.js";import"./lottie-DskIkVJY.js";import"./analytics-BUFSKutl.js";import"./lexical-Bnz9O97W.js";import"./utils-BZ73yfDv.js";import"./LabeledAddressValueField-CJel6ymq-CuDyNJEA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="4002b3df-c96e-499f-90ad-14b9537c8e95",e._sentryDebugIdIdentifier="sentry-dbid-4002b3df-c96e-499f-90ad-14b9537c8e95")}catch{}})();const F={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 _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=Y(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Me,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Ve,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Ee,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Be=g.div`
1
+ import{V as t,q as Y,a9 as he,F as U,cC as ye,aB as ge,cn as be,co as fe,cp as xe,ac as ve,aP as we,y as p,eV as le,eW as Ce,o as y,b8 as $e,cP as oe,d as ne,eX as De,eY as Q,cV as G,b0 as H,cF as je,ej as Te,c as a,eo as ke,aN as Se,p as M,R as Oe,k as Fe,bR as Ae,ah as Le,bI as Ie}from"./index-BN936vRr.js";import{a as R}from"./sentry-BCzFscbx.js";import{n as g}from"./mui-DQOtlcvt.js";import{bi as X}from"./zeni-epic-state-DIO-8j7m.js";import{W as We,A as ze}from"./BankAccountWarningSection-BAMjtbnn-BO47Vh4w.js";import{T as Re}from"./MailingDetailsSection-B-bODwAg-DzrWy-jk.js";import{S as Pe}from"./CurrencySelectField-P0hAgQCu-CY3e6U6t.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./LabeledAddressValueField-BOu3phtO-DUC2jENU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="7c797d7a-bcfe-418c-9221-0caba836d0a0",e._sentryDebugIdIdentifier="sentry-dbid-7c797d7a-bcfe-418c-9221-0caba836d0a0")}catch{}})();const F={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 _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=Y(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Me,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Ve,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Ee,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -0,0 +1 @@
1
+ import{V as S}from"./index-BN936vRr.js";import{a as k}from"./sentry-BCzFscbx.js";import{f as y}from"./InternationalWireSwiftDetailsPage-s2KDdELd-DCL_N0b1.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./zeni-epic-state-DIO-8j7m.js";import"./mui-DQOtlcvt.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./BankAccountWarningSection-BAMjtbnn-BO47Vh4w.js";import"./MailingDetailsSection-B-bODwAg-DzrWy-jk.js";import"./LabeledAddressValueField-BOu3phtO-DUC2jENU.js";import"./MagicLinkTitleSection-DHU7VtF2-Bedubn59.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ac652329-ded7-41f0-9f74-4191831cd1c6",e._sentryDebugIdIdentifier="sentry-dbid-ac652329-ded7-41f0-9f74-4191831cd1c6")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return k.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),S.jsx(y,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,d as oe,F as te,y as c,gE as w,aT as P,V as i,hU as g,o as r,hR as m,R as ne,p as re,dv as de,ai as se,c as a}from"./index-BE73Kh7z.js";import{n as s}from"./mui-fuwOYnWD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="053087ab-8181-4750-8c39-21bbe73baf71",e._sentryDebugIdIdentifier="sentry-dbid-053087ab-8181-4750-8c39-21bbe73baf71")}catch{}})();const d={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:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{q as ie,d as oe,F as te,y as c,gE as w,aT as P,V as i,hU as g,o as r,hR as f,R as ne,p as re,dv as de,ah as se,c as a}from"./index-BN936vRr.js";import{n as s}from"./mui-DQOtlcvt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="a49cfe81-7dd9-4b33-a921-7e049e75f546",e._sentryDebugIdIdentifier="sentry-dbid-a49cfe81-7dd9-4b33-a921-7e049e75f546")}catch{}})();const d={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:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -17,7 +17,7 @@ import{q as ie,d as oe,F as te,y as c,gE as w,aT as P,V as i,hU as g,o as r,hR a
17
17
  border: 1px solid ${e=>e.theme.colors.primary};
18
18
  fill: ${e=>e.theme.colors.primary};
19
19
  }
20
- `,f=s.div`
20
+ `,m=s.div`
21
21
  display: flex;
22
22
  align-items: flex-start;
23
23
  flex-direction: row;
@@ -65,4 +65,4 @@ import{q as ie,d as oe,F as te,y as c,gE as w,aT as P,V as i,hU as g,o as r,hR a
65
65
  background-color: ${e=>e.theme.colors.grey5};
66
66
  border: 1px solid ${e=>e.theme.colors.grey3};
67
67
  border-radius: ${r.sp2};
68
- `,z=(e,u)=>`${e}.${u}`;function he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:E,accruedExpensesRecommendations:R,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:M,fixedAssetsRecommendations:I,prepaidExpensesAccountHierarchy:D,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:T,selectedAccruedExpensesAccountIds:V,selectedFixedAssetsAccountIds:F,selectedPrepaidExpensesAccountIds:W}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(D,T,"Accounts"),H=w(B,I,"Accounts"),G=w(O,R,"Accounts"),J=T[0]?.account?.reason??"",K=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=I[0]?.account?.reason??"",U=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),Z=R[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",Z).replace("__account__",t.vendorSection.accruedExpensesAccount),X=C.filter(o=>W.includes(o.accountId)??!1),Y=M.filter(o=>F.includes(o.accountId)??!1),ee=E.filter(o=>V.includes(o.accountId)??!1),h={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},x=l.mode==="light"?new P(l.colors.brandColorJadeLight):new P(l.colors.brandColorJadeDark);return i.jsxs(le,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx($,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:X.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:K,sticky:!1},valueToId:o=>m(o,C)}})})}),i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx($,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:U,sticky:!1},valueToId:o=>m(o,M)}})})}),_?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx($,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:Q,sticky:!1},valueToId:o=>m(o,E)}})})})]}):null]})]})}export{he as h};
68
+ `,z=(e,u)=>`${e}.${u}`;function he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:E,accruedExpensesRecommendations:R,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:M,fixedAssetsRecommendations:I,prepaidExpensesAccountHierarchy:D,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:T,selectedAccruedExpensesAccountIds:V,selectedFixedAssetsAccountIds:F,selectedPrepaidExpensesAccountIds:W}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(D,T,"Accounts"),H=w(B,I,"Accounts"),G=w(O,R,"Accounts"),J=T[0]?.account?.reason??"",K=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=I[0]?.account?.reason??"",U=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),Z=R[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",Z).replace("__account__",t.vendorSection.accruedExpensesAccount),X=C.filter(o=>W.includes(o.accountId)??!1),Y=M.filter(o=>F.includes(o.accountId)??!1),ee=E.filter(o=>V.includes(o.accountId)??!1),h={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},x=l.mode==="light"?new P(l.colors.brandColorJadeLight):new P(l.colors.brandColorJadeDark);return i.jsxs(le,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx($,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:X.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:K,sticky:!1},valueToId:o=>f(o,C)}})})}),i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx($,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:U,sticky:!1},valueToId:o=>f(o,M)}})})}),_?i.jsxs(i.Fragment,{children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx($,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:Q,sticky:!1},valueToId:o=>f(o,E)}})})})]}):null]})]})}export{he as h};
@@ -1,4 +1,4 @@
1
- import{aO as z,a9 as G,V as r,bQ as U,aa as p,ac as W,bR as B,ai as m,bS as Q,o as n,F as O,n as I,bT as X,al as L,bU as Y,bV as E,bI as Z,p as b,b9 as v,bW as q}from"./index-BE73Kh7z.js";import{a as c}from"./sentry-CtwtDFb0.js";import{n as t}from"./mui-fuwOYnWD.js";import{bh as J}from"./zeni-epic-state-BFhqH0Xa.js";import{A as K,Z as V}from"./AccountLockedInfoModal-Ck5k4sN0-CLd28X38.js";import"./liveblocks-BUxiobW7.js";import"./core-Cxz4HUbn.js";import"./recharts-BnEZevRO.js";import"./lottie-DskIkVJY.js";import"./analytics-BUFSKutl.js";import"./lexical-Bnz9O97W.js";import"./utils-BZ73yfDv.js";import"./handshake-BPg58FML-BvcxsP-R.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="7c4d322c-e211-4db8-b372-cf414fb4d145",e._sentryDebugIdIdentifier="sentry-dbid-7c4d322c-e211-4db8-b372-cf414fb4d145")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Y(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return E(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return E(e)||e}},k=120,C=30,T=2,re="456px",te="256px",_=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[j,w]=c.useState(k),[h,S]=c.useState(C),D=z(e.verifyOtpFetchState),u=G({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=u.watch(x),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},A=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(x,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(j<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[j]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const M=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(K,{unlockDate:J().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(me,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(B,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${V}`,children:V})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Q,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(x,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",M(j)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(be,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(je,{children:r.jsxs(m,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(x,""),w(k),S(C))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(I,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:A})]})]})})})]})})},ne=t.div`
1
+ import{aO as z,a9 as G,V as r,bQ as U,aa as p,ac as W,bR as B,ah as m,bS as Q,o as n,F as O,n as I,bT as X,al as L,bU as Y,bV as E,bI as Z,p as j,b9 as v,bW as q}from"./index-BN936vRr.js";import{a as c}from"./sentry-BCzFscbx.js";import{n as t}from"./mui-DQOtlcvt.js";import{bh as J}from"./zeni-epic-state-DIO-8j7m.js";import{A as K,Z as V}from"./AccountLockedInfoModal-CLssvxib-S2XQajFi.js";import"./liveblocks-CUzvdZes.js";import"./core-BkA0GZqz.js";import"./recharts-DEFzfhhe.js";import"./lottie-BXNphAUg.js";import"./analytics-ko5civJt.js";import"./lexical-NKD2Ns4v.js";import"./utils-CGlY-GM2.js";import"./handshake-BPg58FML-07xDz1It.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="2b0d88d5-3c82-406c-a185-c1792de34090",e._sentryDebugIdIdentifier="sentry-dbid-2b0d88d5-3c82-406c-a185-c1792de34090")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Y(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return E(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return E(e)||e}},k=120,C=30,T=2,re="456px",te="256px",_=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(k),[h,S]=c.useState(C),D=z(e.verifyOtpFetchState),u=G({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=u.watch(x),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},A=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(x,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const M=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(K,{unlockDate:J().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(me,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(B,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${V}`,children:V})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Q,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(x,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",M(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(m,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(x,""),w(k),S(C))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(I,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:A})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -25,7 +25,7 @@ import{aO as z,a9 as G,V as r,bQ as U,aa as p,ac as W,bR as B,ai as m,bS as Q,o
25
25
  flex-direction: column;
26
26
  row-gap: ${n.sp1};
27
27
  `,ae=t(v)`
28
- color: ${b.important};
28
+ color: ${j.important};
29
29
  text-align: center;
30
30
  `,de=t.div`
31
31
  display: flex;
@@ -81,15 +81,15 @@ import{aO as z,a9 as G,V as r,bQ as U,aa as p,ac as W,bR as B,ai as m,bS as Q,o
81
81
  `,$e=t(m)`
82
82
  color: ${e=>e.theme.colors.hero};
83
83
  text-align: center;
84
- `,be=t(m)`
85
- color: ${b.important};
84
+ `,je=t(m)`
85
+ color: ${j.important};
86
86
  text-align: center;
87
- `,je=t.div`
87
+ `,be=t.div`
88
88
  display: flex;
89
89
  justify-content: center;
90
- background: ${b.importantLight};
90
+ background: ${j.importantLight};
91
91
  border-radius: ${n.sp1};
92
- color: ${b.important};
92
+ color: ${j.important};
93
93
  word-wrap: normal;
94
94
  padding: ${n.sp1} ${n.sp6};
95
95
  text-align: center;