@zeniai/web-app-ui 4.14.34-qa → 4.14.35-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 (366) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-BwzGZzbR.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-B8K3J1iD.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-D8YQo6Cx.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-DSfyKamu.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-DQN6__Ng.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-_JKcyl4L.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-CKwvHf9L.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-DjOENQIP.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
  11. package/dist/assets/{AddressRoutes-B9JRerSF.js → AddressRoutes-BOfIecri.js} +1 -1
  12. package/dist/assets/{AddressScreen-CfU0pxqN.js → AddressScreen-BL1pptQ5.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-w17wS1R5.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-BRwWpLyW.js → AiCfoScreen-B5nbVKeh.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-B7Mldc5e.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-D6PdKU-A.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
  17. package/dist/assets/{AppBasePage-CYjdUgY4-Cvt-yGcI.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-D9lcwo49.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-BNnzaj0l.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-rk20lkwC.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-BO2XynIt.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-BUfVfjv7.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x--aTwEc-g.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-CPDSPfOj.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-CnjpdW6M.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-LAjrAQJF.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
  27. package/dist/assets/{BillDetailPage-V8us93cj-DAlTWroi.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CRjAMn3U.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-Bfhw5F-a.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-CQkU1mWk.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-DKQ62RT9.js → BillPayRoutes-CBS2uwsj.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--ES1CtqR5.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-DkV09JRl.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-BLrjKyuB.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-BjJmrBFm.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-aehnUeCQ.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-DM_2HDeS.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-Bpswk6Co.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-CWAYYKOe.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DBYQYc6c.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-7BhKZ-yZ.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-kJJQn2HY.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-Ctlyddwf.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-LRwaIGjI.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CE_xzqxh.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-B15YO0OW.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-PEmpxN8W.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-CojKKN3D.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-DVSoJKAV.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-D850YK66.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-BGp8cd7y.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c--NnGP254.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-BS_NrRd8.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-TK-gYMQ0.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-C--23SuA.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CiGpGWMD.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-3tX8qIpJ.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-CIvcW7Pf.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-CAvPHr87.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-lrBDW4z2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-CqbitCEF.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-kM5f4mlx.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-CLbxMC39.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-ChThvvAW.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-DXr6zIWU.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-B32JzwEY.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-8ajoVQ5R.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-Daspm0l6.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-CDKIVXdz.js → DashboardRoutes-C-92-XEq.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CoQ7Va6i.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-BdMoMXCc.js → DefaultTenantHome-Bim9etFd.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DpkYzfIT.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-BicQqvfl.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-CNZmf-ak.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-C97tbPQ3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-BngOF4Fl.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-DY6RVolf.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
  82. package/dist/assets/{DrawerScreen-Dd2Niphu.js → DrawerScreen-MxSrrJrd.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-DjZAwBTY.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-CAS_iqEJ.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-DB5wcfPj.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-CojKKN9g.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-DtCtSmNb.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-T0dMJf4X.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-CGo-MPWO.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-JAoUcgra.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-DW0MQyCb.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Xsnk0neq.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-L8a-cjiL.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-DnEwqpdI.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-CR-1KqF_.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-CmIAX8OK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-C1MMhp25.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-CuYIzRU8.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-BMKFEJtD.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-BfVhZg4Y.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
  102. package/dist/assets/{InviteFormPage-DePVC0CH-B9qhol7M.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-cbCv5Fj9.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BkUhir7D.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-zjdmYVnU.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-DCMcjwN7.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-CD9Aduhg.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-C9wYUqfv.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-BUvo7K-8.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-BbXC-8fZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-DRsosHBZ.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-BZkKKAqB.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-CawOSouY.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-Z2TstoOK.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-D10OpiZc.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-Bt2z3QjJ.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-CZ5epgLx.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-C6kssl4a.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-DntPFlku.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-BhiQBcK9.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
  121. package/dist/assets/{LockCardPage-0piclOz3-COCJUyKc.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-BGs8KELn.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-B4kpsUud.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-D5uIadTT.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-C9LyLKwm.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-DB32RhHy.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-Db6wEz5B.js → MobileAppDrawer-C3TNoouV.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-D5jjSMJd.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-CeGG9xf_.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-aOgnXpMM.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CjX8_jlY.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-DipOtu26.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--DseMcfRR.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-_HA0CoRv.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-Cl-h3ANA.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-EBM1CKB5.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-BXvKgMjH.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-DIj19qB5.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-DXnaOvLy.js → NotFoundScreen-CubXCR1V.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BKIq8Ht7.js → NotificationRoutes-C2SuMmMM.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--CKvGRtqq.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-Ga3CIQDy.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-BdF4XISU.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-6GxDxMs2.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-8_-MKFW1.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-Ck7cJPme.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
  151. package/dist/assets/{PandLWithForecastRoutes-Btf2U6pN.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-PRTE5aBh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-CZ9GLNBp.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-B8XNBABT.js → PeopleRoutes-CAoitlRn.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-COWN278X.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
  156. package/dist/assets/{Preview-CIMwFR6h.js → Preview-B3lHkBD5.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-CYg74cXu.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-DpCBBSNa.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-Bu7slYzO.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-CMTxTGLB.js → QBOConnectionScreen-W61uspBL.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-ChX7ka6s.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
  162. package/dist/assets/{ReferralListScreen-DZvURbe-.js → ReferralListScreen-CFqALHvq.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-B0fTE5c5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-DmbqRb9l.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CE-klt57.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-Cihs8V2H.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BzrQK1ml.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-DP-6P5yh.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
  169. package/dist/assets/{ReimbursementRoutes-B0OQr3VA.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-BsBBd9B_.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DA9h4Ju5.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-Dw0wHj_z.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-DTQN43vt.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
  174. package/dist/assets/{ReportsPage-BFTuYQt2-BOdMPGqx.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-DDZOhFNw.js → ReportsRoutes-DCqEshJz.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-Dep8qPIO.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-vpPb22cD.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-7aZ79rRC.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-Tsydnhre.js → RewardsRoutes-CSIVaJxq.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-C9PA5RE5.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-P3n6us6f.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-BWZmqAgS.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-DKWBlbjs.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-BshWKT8L.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-s5rUPVRP.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-D0MoVRRP.js → SettingsRoutes-D3PUQXPp.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-ClrT9x-n.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-DafJ0myc.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
  189. package/dist/assets/{SignInScreen-B0MWBUA7.js → SignInScreen-BDFrycHi.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BHQQUANt.js → SignOutScreen-CGJ8k7ri.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-CZg1c21r.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-DYiWnXoY.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-CppRRTDr.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
  194. package/dist/assets/{StatementItem-B_iG99XI-D9Qua-97.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
  195. package/dist/assets/{StatementsPage-DcKziEfZ-D6FL0knM.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-wXJw_ZNb.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-PE6NJvqU.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-BdMSXfoJ.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-CKrqyyU_.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-i9Sljen6.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DFbIcDmb.js → TaskListScreen-BN0d0a63.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-BIKNCgym.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
  203. package/dist/assets/{TaskRoutes-Co5GAtGe.js → TaskRoutes-DEMuiHnC.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-CAiWb64s.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--DbavpCXX.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D7lbyLQ0.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
  207. package/dist/assets/{TopExCard-CF6z0JWk-BtE5RMXD.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-ClCuoO0K.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-BsaJX_wW.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-4K6JYgr_.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
  211. package/dist/assets/{TransactionDetailRoutes-CHu8_uXM.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-8ecVGvyF.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-mPHBoCgm.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
  214. package/dist/assets/{TransactionListBig-BljAUwAB-BvX9nmmr.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-BH0onuUu.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-INYYwexD.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-DvswHDCp.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-B8HEv02z.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-7ZtCK_x2.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-DjIaFsbd.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-q3-mZZiq.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
  224. package/dist/assets/{TrendChart-Dgh_21FN-BUN7WqwY.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-DhBJ4ja-.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BEadu1px.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-pBfy0J4D.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-km4_SH9P.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BX6NPq24.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-BzpOC2Af.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-aKmowmhJ.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DK2E4A2j.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-COfy135o.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-BhbRW82b.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CDhATRU9.js → VendorsRoutes-05ainu55.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-eGBtSBPS.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-FvFO3heV.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-TOybjXu5.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-C1RA1Ldj.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-Dui1mjq_.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-CkMXwzu4.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-Dl7I8K_B.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-DbrBCcxq.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CE8jZq_j.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-Dn-mOjTr.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-DDPrZzz9.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-ByE5Nx_e.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-BLgnKSEe.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-D5GIgjl0.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-BwjTfvmr.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-DnytOxBh.js → accountMappingHelper-GPi0oD1D.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BDS4bqaK.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
  256. package/dist/assets/{analytics-lZopEqtI.js → analytics-B2Q_uKwH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-AeOsAjMK-9GsVy5uR.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
  258. package/dist/assets/{analyticsHelper-sSJGGzsr.js → analyticsHelper-eqJrrWmY.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-PZQhaHEw.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BJqlTaL4.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-D-qe2ybq.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-BAI3BcgX.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-H8aFTaA8.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-BTfpmJqx.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-Aj8yCCM3.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
  267. package/dist/assets/{commonDimensions-DIm7kTtR-LC7HUPCB.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-bGKW9_Lf.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
  269. package/dist/assets/{core-CbpF8wW5.js → core-D9P6lLF-.js} +1 -1
  270. package/dist/assets/{dash.all.min-8b6mRaf1.js → dash.all.min-CrF9T_sg.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-CqkAxC0p.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
  272. package/dist/assets/{dnd-PN_2LgQk.js → dnd-nSkfhkrX.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BhSn6DYS.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-DumpN6AC.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
  275. package/dist/assets/{empty-Ccpah3HZ.js → empty-BM1tlym1.js} +1 -1
  276. package/dist/assets/{empty-BvRt8sTu.js → empty-DqDGRwQI.js} +1 -1
  277. package/dist/assets/{epic-G4Y_asZ_.js → epic-C-GRNY0z.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CAMGerao.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-BAdWD_sf.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CxU0MaIs.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DMougQJz.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Q8dYUrIm.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DJv997hY.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--BSBoxTwN.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-ByO7QjF0.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
  286. package/dist/assets/{index-BScUKNNV.js → index-BGoNZK9J.js} +1 -1
  287. package/dist/assets/{index-CtaVzrbN.js → index-BHx-AV13.js} +1 -1
  288. package/dist/assets/{index-bFwDyqSe.js → index-BoyH9PC5.js} +1 -1
  289. package/dist/assets/{index-Ir5iePqW.js → index-C6CSTWn-.js} +1 -1
  290. package/dist/assets/{index-C5NS4k1k.js → index-CAltUZe8.js} +6 -6
  291. package/dist/assets/{index-C2kgfwQ0.js → index-D3FWjv6R.js} +1 -1
  292. package/dist/assets/{lexical-wFFjFeQS.js → lexical-Ct6cBwR8.js} +1 -1
  293. package/dist/assets/{liveblocks-DAzt4XWX.js → liveblocks-DxIK6Zp5.js} +1 -1
  294. package/dist/assets/{lottie-DCpFrhzh.js → lottie-BEhoArVd.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CYHAjMYB.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-CNnw8Wla.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-D3MVK9I-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
  301. package/dist/assets/{media-player-CfnH7IPR.js → media-player-CsDObYZE.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DfhxL46u.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
  303. package/dist/assets/{mui-CsJjaFS3.js → mui-CMSRVFAm.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BqAM7jrq.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BEqozVIp.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-_TcaqYgi.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
  307. package/dist/assets/{pathToGoBack-BfqJ0YlJ.js → pathToGoBack-Blub25Cp.js} +1 -1
  308. package/dist/assets/{pdf-CotdgJU1.js → pdf-Be2WBqYM.js} +3 -3
  309. package/dist/assets/{pdf-lib-D_D0fjcQ.js → pdf-lib-CnVZquuu.js} +1 -1
  310. package/dist/assets/{plaid-BTCtHWVp.js → plaid-BfI3x5Cu.js} +1 -1
  311. package/dist/assets/{pusher-BQ8DKEaa.js → pusher-B6_CsVbZ.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-Bf3NugY4.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
  313. package/dist/assets/{react-BqQ4cQqX.js → react-BHFS79hd.js} +1 -1
  314. package/dist/assets/{react-BUIAuHwU.js → react-BU_9CVSX.js} +3 -3
  315. package/dist/assets/{react-D_8V1wyK.js → react-BpE8-YB1.js} +1 -1
  316. package/dist/assets/{react-DqT05IJk.js → react-C0Y1QuQQ.js} +1 -1
  317. package/dist/assets/{react-BBeDYsAV.js → react-C8t61nFI.js} +1 -1
  318. package/dist/assets/{react-qeQ53cUY.js → react-D-1D0x0x.js} +1 -1
  319. package/dist/assets/{react-DXQJSc1U.js → react-Df07f_EQ.js} +1 -1
  320. package/dist/assets/{react-DPwINmE2.js → react-DoqYYGGT.js} +1 -1
  321. package/dist/assets/{recharts-Z1H4NIT9.js → recharts-gT6BOz1b.js} +1 -1
  322. package/dist/assets/{routePaths-Canmm7cj.js → routePaths-C2kSZwVH.js} +1 -1
  323. package/dist/assets/{sentry-B7C9wEq0.js → sentry-DQeYyYXx.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-Bj4akX0-.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BgiUCsPc.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
  327. package/dist/assets/{toChartData-BkubFDq8-Dqms1_zM.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-C1Qe8Rh2.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-eTBdG90-.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-Bw2sQZ5n.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CnNIPHqW.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-FsVc9-o9.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-w07yQGh1.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
  334. package/dist/assets/{url-BvfHN6gt.js → url-DabKyEXg.js} +1 -1
  335. package/dist/assets/{url-B_60JuDM.js → url-Doy-Mf6X.js} +1 -1
  336. package/dist/assets/{useDeviceId-BrDKA5Dy.js → useDeviceId-Dx8RlRsA.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-CpkcHK8z.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-nY-Uopy3.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-DadTGyfk.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
  340. package/dist/assets/{utils-DSKkIaRb.js → utils-BAO5KfNy.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BJJbIkbE.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CjUXhad7.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DmigVd7z.js → zeni-icon-only-4nFle2Fz.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-Cz9yoVl8-2cCezdu3.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-j85psx_A-tY3-Fkrr.js +0 -149
  348. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-D-eeATAS.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-B6A43An0.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-B2lt5fG2.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BbB2fOP5.js +0 -1
  352. package/dist/assets/EntityDetailPage-D8FzsqNk-_LZsKMKD.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-BXzJ0B3q.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-DKgp0Chf.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-hgGDkayb.js +0 -1
  356. package/dist/assets/MailingDetailsSection-BNVPaGFt-9PxBYnWw.js +0 -21
  357. package/dist/assets/TransactionListPage-ReGTmF43-Cg71CfBs.js +0 -35
  358. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-xqt4JjCQ.js +0 -58
  359. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bcfg0w4a.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-Ds0ralM2.js +0 -1
  361. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DxxL_aBl.js +0 -1
  362. package/dist/assets/common-CAmBErdt-gt_uFFPU.js +0 -1
  363. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BiIcVS7d.js +0 -1
  364. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-DaSaAPgD.js +0 -1
  365. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-qKxAkbp_.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-BWMF0py6-DXg0RqcA.js +0 -1
@@ -1,4 +1,4 @@
1
- import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as It,cd as kt,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-C5NS4k1k.js";import{a as S}from"./sentry-B7C9wEq0.js";import{n as o,c as Zt}from"./mui-CsJjaFS3.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-CjUXhad7.js";import{R as Xt}from"./SubTabSwitcher-BpNI5Wke-PE6NJvqU.js";import{D as ea}from"./TransactionList-iw4pyMYF-mPHBoCgm.js";import{R as ta}from"./TrendWithTransactions-BgIPapHk-DhBJ4ja-.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-PZQhaHEw.js";import{C as oa}from"./LabeledAddressValueField-Dl3atH92-C9wYUqfv.js";import{Y as na}from"./LabeledDropDownFormattedTextField-B98gNWTE-CawOSouY.js";import"./pdf-CotdgJU1.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./ConstrainedInnerElement-CgdnMeoA-3tX8qIpJ.js";import"./BoxItem-XoWq-tnh-BjJmrBFm.js";import"./commonDimensions-DIm7kTtR-LC7HUPCB.js";import"./panelSelectedMixin-Cddsb26L-_TcaqYgi.js";import"./TrendChart-Dgh_21FN-BUN7WqwY.js";import"./chartTypes-BLsP7rGF-BTfpmJqx.js";import"./toCOABalancesWithID-BWMF0py6-DXg0RqcA.js";import"./toChartData-BkubFDq8-Dqms1_zM.js";import"./NoDataChart-DCTRXLc7-EBM1CKB5.js";import"./InsightsSection-tUBzsCix-C1MMhp25.js";import"./NavigationDots-CwCZ9EAa-_HA0CoRv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="95780a76-2e42-444a-9084-83c8cfefb68a",e._sentryDebugIdIdentifier="sentry-dbid-95780a76-2e42-444a-9084-83c8cfefb68a")}catch{}})();const ia=o.div`
1
+ import{y as Ye,e as le,x as g,S as $e,cb as bt,T as wt,gz as De,gA as ft,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as kt,cd as It,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-CAltUZe8.js";import{a as S}from"./sentry-DQeYyYXx.js";import{n as o,c as Zt}from"./mui-CMSRVFAm.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-CHpO1ZKT.js";import{R as Xt}from"./SubTabSwitcher-D7QeM6nb-bmup9lZe.js";import{D as ea}from"./TransactionList-BB-xoIGm-BeosfrmM.js";import{R as ta}from"./TrendWithTransactions-3D1FvM8G-D5DfweO8.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-DvoAU7mY.js";import{C as oa}from"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js";import{Y as na}from"./LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js";import"./BoxItem-Bxa1M4QU-DyrFdjN6.js";import"./commonDimensions-Oz1tdAcx-6qsjkus3.js";import"./panelSelectedMixin-Cddsb26L-CzLNMPbQ.js";import"./TrendChart-Bnp4Pcdf-DAHDBSRg.js";import"./chartTypes-CD3vrBsI-D1eLb6aA.js";import"./toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js";import"./toChartData-DUL6vnzJ-Dwc3foiO.js";import"./NoDataChart-CrKeqWSr-DJdc5MTN.js";import"./InsightsSection-B6CNlTNH-DV_5z3I5.js";import"./NavigationDots-Dvce3gHt-H1P3hT7y.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b4d02ec7-72ea-4b7b-85b0-cc855f2137f9",e._sentryDebugIdIdentifier="sentry-dbid-b4d02ec7-72ea-4b7b-85b0-cc855f2137f9")}catch{}})();const ia=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -95,10 +95,10 @@ import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as C
95
95
  align-items: center;
96
96
  column-gap: ${s.sp1};
97
97
  cursor: pointer;
98
- `,ge=o(Xe)``,Ie=o(Qt)`
98
+ `,ge=o(Xe)``,ke=o(Qt)`
99
99
  color: ${e=>e.theme.colors.primary};
100
100
  word-break: break-all;
101
- `,ke=o(Xe)`
101
+ `,Ie=o(Xe)`
102
102
  color: ${e=>e.theme.colors.primary};
103
103
  word-break: break-all;
104
104
  `,Oe=o.div`
@@ -109,10 +109,10 @@ import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as C
109
109
  display: flex;
110
110
  flex-direction: column;
111
111
  row-gap: ${s.sp1};
112
- `,wa=o.div`
112
+ `,ba=o.div`
113
113
  display: flex;
114
114
  justify-content: ${e=>e.isMobile?"flex-start":"flex-end"};
115
- `,ue=o.div``,fa=({spend:e,vendorName:a,vendorLogo:d,isPageLoading:l,isSpendTrendLoading:i,onPercentChangeClick:r})=>{const c=le(),x=A.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=c==="small"||c==="medium-compact",w=(M,f)=>f==null?null:M==="increased"?t.jsxs(ua,{onClick:r,"data-testid":u("vendor_detail_score_badge",f),children:[t.jsx(aa,{width:s.sp3,height:s.sp3}),t.jsx(ge,{children:f})]}):M==="decreased"?t.jsxs(va,{onClick:r,"data-testid":u("vendor_detail_score_badge",f),children:[t.jsx(sa,{width:s.sp3,height:s.sp3}),t.jsx(ge,{children:f})]}):t.jsx(ya,{onClick:r,"data-testid":u("vendor_detail_score_badge",f),children:t.jsxs(ge,{children:[f,"%"]})});return t.jsxs(ga,{isMobile:h,size:c,children:[l===!0?t.jsxs(Ve,{isMobile:h,children:[t.jsx(Ut,{width:n[6],height:n[6]}),t.jsx($,{width:140,height:n[6]}),t.jsx($,{width:70,height:n[5]})]}):t.jsxs(Ve,{isMobile:h,children:[d!=null?t.jsxs(Oe,{children:[t.jsx(qt,{photoUrl:d.toString(),styles:{width:O.logoWidth.valuePx(c),height:O.logoHeight.valuePx(c)}}),h?t.jsx(ke,{"data-testid":u("vendor-detail-name",a),children:a}):t.jsx(Ie,{"data-testid":u("vendor-detail-name",a),children:a})]}):t.jsxs(Oe,{children:[t.jsx(Yt,{name:a,size:s.sp6}),h?t.jsx(ke,{"data-testid":u("vendor-detail-name",a),children:a}):t.jsx(Ie,{"data-testid":u("vendor-detail-name",a),children:a})]}),w(e.changeType,e.percentChange)]}),i||l?t.jsx(_e,{size:c,isMobile:h,children:[...Array(3)].map((M,f)=>t.jsxs(xa,{children:[t.jsx($,{width:O.spendTrendHeadingSkeletonWidth.value(c),height:n[4]}),t.jsx(wa,{isMobile:h,children:t.jsx($,{width:O.spendTrendHeadingSkeletonWidth.value(c)/2,height:n[4]})})]},f))}):t.jsxs(_e,{size:c,isMobile:h,children:[t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_30_days_label"),children:x.last30Days}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_30_days_amount"),children:pe("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_90_days_label"),children:x.last90Days}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_90_days_amount"),children:pe("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_ytd_spend_label"),children:x.ytdSpend}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_ytd_spend_amount"),children:pe("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]})]})},P={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(n[3],n[4]),labelMarginTop:new g(n[2],n[3]),labelMarginBottom:new g(n[2],n[3])},G=(e,a)=>`${e}.${a}`,ba=A.getLocalizedStrings().spendManagement,ne=A.getLocalizedStrings().companyPassport,Q=ba.billPay.vendorCreation,_=A.getLocalizedStrings().common,Ca=({vendorTypeList:e=[],isDisabled:a,sectionId:d,selectedVendorDetails:l,onAddressClick:i})=>{const r=le(),c=P.labelWidth.value(r),x=P.largeLabelWidth.value(r),h=P.largeTinLabelWidth.value(r),w=P.controlWidth.value(r);return t.jsxs(Sa,{children:[t.jsx($a,{children:Q.vendorDetails.titleFor1099Section}),t.jsxs(Da,{children:[t.jsx(kt,{isDisabled:a,label:{label:ne.companyInfo.legalName,width:c},text:{type:"text",style:{width:w},name:G(d,"legalName"),placeholder:Pt(ne.companyInfo.legalName),defaultValue:l.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!l.vendorBasic.legalName,pattern:Ot}},style:{width:"100%"}}),t.jsx(ve,{}),t.jsxs(Pe,{children:[t.jsx(La,{width:x,windowSize:r,children:Q.vendorDetails.vendorType}),t.jsx(ja,{size:r,children:t.jsx(Mt,{name:G(d,"vendorType"),value:{allTypes:e,selectedType:l.vendorDetailLocalData?.vendorType},placeholderLabel:Q.placeholders.type})})]}),t.jsx(ve,{}),t.jsx(Pe,{children:t.jsx(na,{name:G(d,"tinType"),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:l.vendorDetailLocalData?.tin?.type??_.strings.empty,dropDownList:[{code:_.texts.ein,label:_.texts.ein.toUpperCase()},{code:_.texts.ssn,label:_.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:Q.placeholders.tinType,formattedText:{type:"text",name:G(d,"tinValue"),placeholder:Q.placeholders.tinValue,format:l.vendorDetailLocalData?.tin?.type===_.texts.ssn?Nt:Wt,registerOptions:{required:!!l.vendorDetailLocalData?.tin?.type,pattern:l.vendorDetailLocalData?.tin?.type===_.texts.ssn?zt:Ft},style:{width:"100%",height:s.sp6},defaultValue:l.vendorDetailLocalData?.tin?.value??_.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:l.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(ve,{}),t.jsx(oa,{isDisabled:a,label:{label:ne.companyInfo.address,width:c},addressValueField:{name:G(d,"address"),placeholder:ne.address.titleAdd,defaultValue:l.vendorNewAddressStatus?.addressToCreate,onClick:()=>i("vendor_address",l.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},Sa=o.div`
115
+ `,ue=o.div``,wa=({spend:e,vendorName:a,vendorLogo:d,isPageLoading:l,isSpendTrendLoading:i,onPercentChangeClick:r})=>{const c=le(),x=A.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=c==="small"||c==="medium-compact",b=(M,w)=>w==null?null:M==="increased"?t.jsxs(ua,{onClick:r,"data-testid":u("vendor_detail_score_badge",w),children:[t.jsx(aa,{width:s.sp3,height:s.sp3}),t.jsx(ge,{children:w})]}):M==="decreased"?t.jsxs(va,{onClick:r,"data-testid":u("vendor_detail_score_badge",w),children:[t.jsx(sa,{width:s.sp3,height:s.sp3}),t.jsx(ge,{children:w})]}):t.jsx(ya,{onClick:r,"data-testid":u("vendor_detail_score_badge",w),children:t.jsxs(ge,{children:[w,"%"]})});return t.jsxs(ga,{isMobile:h,size:c,children:[l===!0?t.jsxs(Ve,{isMobile:h,children:[t.jsx(Ut,{width:n[6],height:n[6]}),t.jsx($,{width:140,height:n[6]}),t.jsx($,{width:70,height:n[5]})]}):t.jsxs(Ve,{isMobile:h,children:[d!=null?t.jsxs(Oe,{children:[t.jsx(qt,{photoUrl:d.toString(),styles:{width:O.logoWidth.valuePx(c),height:O.logoHeight.valuePx(c)}}),h?t.jsx(Ie,{"data-testid":u("vendor-detail-name",a),children:a}):t.jsx(ke,{"data-testid":u("vendor-detail-name",a),children:a})]}):t.jsxs(Oe,{children:[t.jsx(Yt,{name:a,size:s.sp6}),h?t.jsx(Ie,{"data-testid":u("vendor-detail-name",a),children:a}):t.jsx(ke,{"data-testid":u("vendor-detail-name",a),children:a})]}),b(e.changeType,e.percentChange)]}),i||l?t.jsx(_e,{size:c,isMobile:h,children:[...Array(3)].map((M,w)=>t.jsxs(xa,{children:[t.jsx($,{width:O.spendTrendHeadingSkeletonWidth.value(c),height:n[4]}),t.jsx(ba,{isMobile:h,children:t.jsx($,{width:O.spendTrendHeadingSkeletonWidth.value(c)/2,height:n[4]})})]},w))}):t.jsxs(_e,{size:c,isMobile:h,children:[t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_30_days_label"),children:x.last30Days}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_30_days_amount"),children:pe("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_90_days_label"),children:x.last90Days}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_last_90_days_amount"),children:pe("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_ytd_spend_label"),children:x.ytdSpend}),t.jsx(he,{windowSize:c,isMobile:h,"data-testid":u("vendor_detail_ytd_spend_amount"),children:pe("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]})]})},P={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(n[3],n[4]),labelMarginTop:new g(n[2],n[3]),labelMarginBottom:new g(n[2],n[3])},G=(e,a)=>`${e}.${a}`,fa=A.getLocalizedStrings().spendManagement,ne=A.getLocalizedStrings().companyPassport,Q=fa.billPay.vendorCreation,_=A.getLocalizedStrings().common,Ca=({vendorTypeList:e=[],isDisabled:a,sectionId:d,selectedVendorDetails:l,onAddressClick:i})=>{const r=le(),c=P.labelWidth.value(r),x=P.largeLabelWidth.value(r),h=P.largeTinLabelWidth.value(r),b=P.controlWidth.value(r);return t.jsxs(Sa,{children:[t.jsx($a,{children:Q.vendorDetails.titleFor1099Section}),t.jsxs(Da,{children:[t.jsx(It,{isDisabled:a,label:{label:ne.companyInfo.legalName,width:c},text:{type:"text",style:{width:b},name:G(d,"legalName"),placeholder:Pt(ne.companyInfo.legalName),defaultValue:l.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!l.vendorBasic.legalName,pattern:Ot}},style:{width:"100%"}}),t.jsx(ve,{}),t.jsxs(Pe,{children:[t.jsx(La,{width:x,windowSize:r,children:Q.vendorDetails.vendorType}),t.jsx(ja,{size:r,children:t.jsx(Mt,{name:G(d,"vendorType"),value:{allTypes:e,selectedType:l.vendorDetailLocalData?.vendorType},placeholderLabel:Q.placeholders.type})})]}),t.jsx(ve,{}),t.jsx(Pe,{children:t.jsx(na,{name:G(d,"tinType"),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:l.vendorDetailLocalData?.tin?.type??_.strings.empty,dropDownList:[{code:_.texts.ein,label:_.texts.ein.toUpperCase()},{code:_.texts.ssn,label:_.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:Q.placeholders.tinType,formattedText:{type:"text",name:G(d,"tinValue"),placeholder:Q.placeholders.tinValue,format:l.vendorDetailLocalData?.tin?.type===_.texts.ssn?Nt:Wt,registerOptions:{required:!!l.vendorDetailLocalData?.tin?.type,pattern:l.vendorDetailLocalData?.tin?.type===_.texts.ssn?zt:Ft},style:{width:"100%",height:s.sp6},defaultValue:l.vendorDetailLocalData?.tin?.value??_.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:l.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(ve,{}),t.jsx(oa,{isDisabled:a,label:{label:ne.companyInfo.address,width:c},addressValueField:{name:G(d,"address"),placeholder:ne.address.titleAdd,defaultValue:l.vendorNewAddressStatus?.addressToCreate,onClick:()=>i("vendor_address",l.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},Sa=o.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${s.sp5};
@@ -168,15 +168,15 @@ import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as C
168
168
  width: ${e=>e.width}px;
169
169
  color: ${e=>e.theme.colors.hero};
170
170
  margin: ${e=>`${P.labelMarginTop.valuePx(e.windowSize)} ${P.labelMarginLeft.valuePx(e.windowSize)} ${P.labelMarginBottom.valuePx(e.windowSize)} ${P.labelMarginLeft.valuePx(e.windowSize)}`};
171
- `,Me=A.getLocalizedStrings().vendors.common.transactionTabTitles,Ta=[{id:"spend_transactions",label:Me.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Me.allTransactions,leftMargin:!0,style:{width:122,left:60}}],ze={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},H=(e,a)=>`${e}.${a}`,at=A.getLocalizedStrings(),{common:ie,cockpit:Fe}=at,V=at.spendManagement.billPay.vendorCreation,_a=({accountsHierarchyList:e,allAccounts:a,allClasses:d,allOwners:l,classHierarchyList:i,enableRecommendationUpdateCheckbox:r,readOnlyMode:c,isDisabled:x,recommendations:h,sectionId:w,selectedAccountId:M,selectedClassId:f,selectedOwnerId:Z,selectedVendorDetails:b,uiState:E,isFiling1099FeatureEnabled:J,onClickShowMoreOrLess:de})=>{const K=le(),X=Ye(),{getValues:ee}=Vt(),U=ze.labelWidth.value(K),re=ze.controlWidth.value(K),te=V.vendorDetails.recommendation.tooltip,ce=te.category.replace("__based__",b?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),B=te.class.replace("__based__",b?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),z=b?.vendorDetailLocalData?.recommendedCategory!=null&&!!r,q=b?.vendorDetailLocalData?.recommendedClass!=null&&!!r;return t.jsxs(Va,{children:[t.jsxs(Ia,{children:[t.jsx(ka,{"data-testid":u("vendor_detail_section_title"),children:V.vendorDetails.title}),J?t.jsxs(Pa,{onClick:()=>de(),"data-testid":u("vendor_detail_show_more_button"),children:[E?.collapsableStatus==="expand"?`${ie.show}${ie.strings.space}${Fe.subscription.lessBtnText}`:`${ie.show}${ie.strings.space}${Fe.subscription.moreBtnText}`,E?.collapsableStatus==="expand"?t.jsx(Ma,{}):t.jsx(za,{})]}):null]}),t.jsxs(Oa,{children:[t.jsx(je,{isLoading:!1,label:{label:V.vendorDetails.category,width:U},groupedSingleSelectField:{name:H(w,"vendorCategory"),placeholder:V.placeholders.category,valueToInfo:j=>(F=>a.filter(N=>N.accountId===F)[0]?.coaId??"")(j),defaultValue:{selectedOption:M,allOptions:Qe(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:z},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${X.colors.grey3}`},isDisabled:c?"readonly":x,disableCurrentOption:j=>{const F=a.find(N=>N.accountId===j)?.accountName;return[At,Bt].includes(F??"")},fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:b?.vendorDetailLocalData?.recommendedCategory!=null&&r?{tooltipProps:{text:ce},label:{label:b?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:H(w,"isRecommendedCategorySelected"),defaultChecked:ee(H(w,"isRecommendedCategorySelected"))}}:void 0}),t.jsx(je,{isLoading:!1,label:{label:V.vendorDetails.class,width:U},zIndexOnFocus:!0,groupedSingleSelectField:{name:H(w,"vendorClass"),placeholder:V.placeholders.class,valueToInfo:j=>(F=>d.filter(N=>N.classId===F)[0]?.accountingClassNumber??"")(j),defaultValue:{selectedOption:f,allOptions:Ge(i,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:q},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${X.colors.grey3}`},isDisabled:c===!0?"readonly":x,fullWidthSelect:!1,recommendationCheckboxField:b?.vendorDetailLocalData?.recommendedClass!=null&&r?{tooltipProps:{text:B},label:{label:b?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:H(w,"isRecommendedClassSelected"),defaultChecked:ee(H(w,"isRecommendedClassSelected"))}}:void 0}),t.jsx(It,{label:{label:V.vendorDetails.vendorOwner,width:U},userSingleSelectField:{name:H(w,"vendorOwner"),placeholder:V.placeholders.owner,defaultValue:{allOptions:Ze(l),selectedOption:Z},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:c===!0?"readonly":x,style:{justifyContent:"space-between"},controlWidth:re,fullWidthSelect:!1})]})]})},Va=o.div`
171
+ `,Me=A.getLocalizedStrings().vendors.common.transactionTabTitles,Ta=[{id:"spend_transactions",label:Me.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Me.allTransactions,leftMargin:!0,style:{width:122,left:60}}],ze={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},H=(e,a)=>`${e}.${a}`,at=A.getLocalizedStrings(),{common:ie,cockpit:Fe}=at,V=at.spendManagement.billPay.vendorCreation,_a=({accountsHierarchyList:e,allAccounts:a,allClasses:d,allOwners:l,classHierarchyList:i,enableRecommendationUpdateCheckbox:r,readOnlyMode:c,isDisabled:x,recommendations:h,sectionId:b,selectedAccountId:M,selectedClassId:w,selectedOwnerId:Z,selectedVendorDetails:f,uiState:E,isFiling1099FeatureEnabled:J,onClickShowMoreOrLess:de})=>{const K=le(),X=Ye(),{getValues:ee}=Vt(),U=ze.labelWidth.value(K),re=ze.controlWidth.value(K),te=V.vendorDetails.recommendation.tooltip,ce=te.category.replace("__based__",f?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),B=te.class.replace("__based__",f?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),z=f?.vendorDetailLocalData?.recommendedCategory!=null&&!!r,q=f?.vendorDetailLocalData?.recommendedClass!=null&&!!r;return t.jsxs(Va,{children:[t.jsxs(ka,{children:[t.jsx(Ia,{"data-testid":u("vendor_detail_section_title"),children:V.vendorDetails.title}),J?t.jsxs(Pa,{onClick:()=>de(),"data-testid":u("vendor_detail_show_more_button"),children:[E?.collapsableStatus==="expand"?`${ie.show}${ie.strings.space}${Fe.subscription.lessBtnText}`:`${ie.show}${ie.strings.space}${Fe.subscription.moreBtnText}`,E?.collapsableStatus==="expand"?t.jsx(Ma,{}):t.jsx(za,{})]}):null]}),t.jsxs(Oa,{children:[t.jsx(je,{isLoading:!1,label:{label:V.vendorDetails.category,width:U},groupedSingleSelectField:{name:H(b,"vendorCategory"),placeholder:V.placeholders.category,valueToInfo:j=>(F=>a.filter(N=>N.accountId===F)[0]?.coaId??"")(j),defaultValue:{selectedOption:M,allOptions:Qe(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:z},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${X.colors.grey3}`},isDisabled:c?"readonly":x,disableCurrentOption:j=>{const F=a.find(N=>N.accountId===j)?.accountName;return[At,Bt].includes(F??"")},fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:f?.vendorDetailLocalData?.recommendedCategory!=null&&r?{tooltipProps:{text:ce},label:{label:f?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:H(b,"isRecommendedCategorySelected"),defaultChecked:ee(H(b,"isRecommendedCategorySelected"))}}:void 0}),t.jsx(je,{isLoading:!1,label:{label:V.vendorDetails.class,width:U},zIndexOnFocus:!0,groupedSingleSelectField:{name:H(b,"vendorClass"),placeholder:V.placeholders.class,valueToInfo:j=>(F=>d.filter(N=>N.classId===F)[0]?.accountingClassNumber??"")(j),defaultValue:{selectedOption:w,allOptions:Ge(i,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:q},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${X.colors.grey3}`},isDisabled:c===!0?"readonly":x,fullWidthSelect:!1,recommendationCheckboxField:f?.vendorDetailLocalData?.recommendedClass!=null&&r?{tooltipProps:{text:B},label:{label:f?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:H(b,"isRecommendedClassSelected"),defaultChecked:ee(H(b,"isRecommendedClassSelected"))}}:void 0}),t.jsx(kt,{label:{label:V.vendorDetails.vendorOwner,width:U},userSingleSelectField:{name:H(b,"vendorOwner"),placeholder:V.placeholders.owner,defaultValue:{allOptions:Ze(l),selectedOption:Z},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:c===!0?"readonly":x,style:{justifyContent:"space-between"},controlWidth:re,fullWidthSelect:!1})]})]})},Va=o.div`
172
172
  display: flex;
173
173
  flex-direction: column;
174
174
  padding-top: ${s.sp3};
175
175
  padding-bottom: ${s.sp3};
176
- `,Ia=o.div`
176
+ `,ka=o.div`
177
177
  display: flex;
178
178
  justify-content: space-between;
179
- `,ka=o(Je)`
179
+ `,Ia=o(Je)`
180
180
  color: ${e=>e.theme.colors.primary};
181
181
  margin-bottom: ${s.sp3};
182
182
  margin-right: ${s.sp6};
@@ -224,7 +224,7 @@ import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as C
224
224
  display: flex;
225
225
  justify-content: space-between;
226
226
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
227
- `,Na=()=>t.jsxs(Fa,{children:[[...Array(1)].map((e,a)=>t.jsxs(Ne,{children:[t.jsx($,{width:120,height:n[4]}),t.jsx(We,{children:[...Array(3)].map((d,l)=>t.jsxs(He,{children:[t.jsx($,{width:70,height:n[4]}),t.jsx($,{width:140,height:n[4]})]},l))})]},a)),[...Array(1)].map((e,a)=>t.jsxs(Ne,{children:[t.jsx($,{width:120,height:n[4]}),t.jsx(We,{children:[...Array(4)].map((d,l)=>t.jsxs(He,{children:[t.jsx($,{width:70,height:n[4]}),t.jsx($,{width:140,height:n[4]})]},l))})]},a))]}),v=A.getLocalizedStrings(),{vendors:{vendorDetailPage:I},common:{footer:Re}}=v,k={transactionListHeight:new g(325,275,225),formContainerHorizontalPadding:new g(n[3],n[3],n[8]),buttonWidth:new g(85,85),navbarHeight:63},Ae=e=>`${e}_form`,y="vendorDetails",xe="vendor1099Details",Be="vendorDetailPage",Wa=o.div`
227
+ `,Na=()=>t.jsxs(Fa,{children:[[...Array(1)].map((e,a)=>t.jsxs(Ne,{children:[t.jsx($,{width:120,height:n[4]}),t.jsx(We,{children:[...Array(3)].map((d,l)=>t.jsxs(He,{children:[t.jsx($,{width:70,height:n[4]}),t.jsx($,{width:140,height:n[4]})]},l))})]},a)),[...Array(1)].map((e,a)=>t.jsxs(Ne,{children:[t.jsx($,{width:120,height:n[4]}),t.jsx(We,{children:[...Array(4)].map((d,l)=>t.jsxs(He,{children:[t.jsx($,{width:70,height:n[4]}),t.jsx($,{width:140,height:n[4]})]},l))})]},a))]}),v=A.getLocalizedStrings(),{vendors:{vendorDetailPage:k},common:{footer:Re}}=v,I={transactionListHeight:new g(325,275,225),formContainerHorizontalPadding:new g(n[3],n[3],n[8]),buttonWidth:new g(85,85),navbarHeight:63},Ae=e=>`${e}_form`,y="vendorDetails",xe="vendor1099Details",Be="vendorDetailPage",Wa=o.div`
228
228
  display: flex;
229
229
  flex: 1 1 auto;
230
230
  min-height: 100%;
@@ -233,8 +233,8 @@ import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as C
233
233
  background-color: ${e=>e.theme.colors.grey4};
234
234
  box-shadow: ${e=>`${s.sp0} 2px ${s.sp1} ${e.theme.colors.dropShadowNormal}`};
235
235
  `,Ee=o.div`
236
- padding-left: ${e=>k.formContainerHorizontalPadding.valuePx(e.size)};
237
- padding-right: ${e=>k.formContainerHorizontalPadding.valuePx(e.size)};
236
+ padding-left: ${e=>I.formContainerHorizontalPadding.valuePx(e.size)};
237
+ padding-right: ${e=>I.formContainerHorizontalPadding.valuePx(e.size)};
238
238
  `,Ue=o.div`
239
239
  background-color: ${e=>e.theme.colors.grey4};
240
240
  padding-top: ${e=>e.isPageLoading?s.sp3:s.sp0};
@@ -254,4 +254,4 @@ import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as C
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
- `,Ua=[{label:I.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:I.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:I.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:I.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:I.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:I.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:I.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:I.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],Ss=({isFiling1099FeatureEnabled:e,vendorDetailView:a,firstMonthOfFY:d,vendorLogo:l,readOnlyMode:i,isDisabled:r,scrollToTrend:c,allTransactionsTabData:x,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:w,onSaveSuccess:M,saveVendorDetailLocalData:f,onCancelClick:Z,onTrendSelectedPeriodChange:b,onTransactionItemClick:E,onSpendTrendPercentChangeClick:J,onSaveVendor:de,onVendorSpendTrendFilterTabClick:K,onAddressClick:X,saveContactsInVendorTabDetailLocalData:ee,onVendorDetailUIChange:U,sidePanelIsFullView:re,sidePanelIsOpen:te,panelContent:ce})=>{const B=Ye(),z=le(),q=S.useRef(null),[j,F]=S.useState(!1),[N,st]=S.useState(k.transactionListHeight.value()),we=a?.selectedTabType,fe=Ta,p=Object.assign({},a?.vendorViewDetails?.vendorView),L=a?.vendorViewDetails.vendorView?.vendorDetailLocalData,ae=a?.uiState,ot=!$e(p!=null&&p.vendorAddress!=null?Te(p.vendorAddress):p.vendorAddress,p.vendorNewAddressStatus?.addressToCreate!=null?Te(p.vendorNewAddressStatus?.addressToCreate):p.vendorNewAddressStatus?.addressToCreate),nt=(p?.vendorDetailLocalData?.contacts??[]).filter(m=>m.email!==v.common.strings.empty||m.fullName!==v.common.strings.empty||m.phone!==v.common.strings.empty).map(m=>wt(m,"contactInfoType")),be=S.useMemo(()=>p.vendorBasic?.contacts??[],[p.vendorBasic?.contacts]),it=!$e(nt,be),se=ft({mode:"all",defaultValues:qe(a?.vendorViewDetails.accountsHierarchyList??[],a?.vendorViewDetails.classHierarchyList??[],a?.vendorViewDetails.vendorTypeList??[],a?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,a?.vendorViewDetails.vendorView?.vendorDetailLocalData,a?.vendorViewDetails.ownerList),values:qe(a?.vendorViewDetails.accountsHierarchyList??[],a?.vendorViewDetails.classHierarchyList??[],a?.vendorViewDetails.vendorTypeList??[],a?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,a?.vendorViewDetails.vendorView?.vendorDetailLocalData,a?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[lt,dt]=S.useState(-1),rt=p.vendorDetailLocalData?.contacts!=null&&p.vendorDetailLocalData?.contacts.length>0?p.vendorDetailLocalData?.contacts:De,[ct,pt]=S.useState(bt(rt));S.useEffect(()=>{c===!0&&j===!1&&a?.trendWithTransactions.trendReport?.fetchState==="Completed"&&a?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(q.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),F(!0))},[c,j,a?.trendWithTransactions.trendReport?.fetchState,a?.trendWithTransactions.transactionView?.fetchState]);const mt=new Ct(B.colors.graphColor12),T=a?.fetchState==="Not-Started"||a?.fetchState==="In-Progress",ht=a?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",gt=a?.trendWithTransactions.trendReport?.fetchState==="In-Progress",ut=(m,C)=>{b?.(C)};S.useEffect(()=>{a?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&M?.()},[p]);const vt=S.useCallback(()=>{window.scrollTo({top:(q.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),J?.()},[J]);S.useEffect(()=>{const m=se.watch((C,{name:Se})=>{Se!=null&&C!=null&&St(()=>(async(oe,Y)=>{const D=Y;if(oe.includes("isRecommendedCategorySelected")){const W=Y[y].isRecommendedCategorySelected===!0?p?.vendorDetailLocalData?.recommendedCategory?.accountId:p?.vendorBasic?.account?.accountId;D[y].vendorCategory={selectedOption:W,allOptions:Y[y].vendorCategory.allOptions}}if(oe.includes("isRecommendedClassSelected")){const W=Y[y].isRecommendedClassSelected===!0?p.vendorDetailLocalData?.recommendedClass?.classId:p?.vendorBasic?.class?.classId;D[y].vendorClass={selectedOption:W,allOptions:Y[y].vendorClass.allOptions}}if(oe.includes("vendorCategory")){const W=D[y].vendorCategory.selectedOption===D[y].recommendedCategory?.accountId;D[y].isRecommendedCategorySelected=W}if(oe.includes("vendorClass")){const W=D[y].vendorClass.selectedOption===D[y].recommendedClass?.classId;D[y].isRecommendedClassSelected=W}yt(D)})(Se,C))});return()=>{m.unsubscribe()}});const yt=m=>{const C=qa(m,p.vendorBasic?.id,L);f?.(C)},xt={isLoading:a?.allVendorTransactionsView?.fetchState==="In-Progress"||a?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(m,C)=>{w(m,(x?.numberOfQuartersFetched??0)+1)}},Ce=fe.find(m=>we===m.id);return t.jsx($t,{isOpen:te??!1,isFullView:re??!1,panelContent:ce,headerContent:t.jsxs(t.Fragment,{children:[t.jsx(_t,{onBackClick:Z,title:p.vendorBasic?.name??v.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:B.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),a?.vendorSpend!=null?t.jsx(fa,{isPageLoading:T,vendorName:p.vendorBasic?.name??v.common.strings.empty,spend:a?.vendorSpend,vendorLogo:l,isSpendTrendLoading:gt,onPercentChangeClick:vt}):null]}),listContent:t.jsxs(Wa,{children:[T===!0&&t.jsx(Ue,{isPageLoading:T,children:t.jsx(Ee,{size:z,children:t.jsx(Na,{})})}),T===!1&&p.vendorDetailLocalData!=null&&t.jsxs(Ue,{isPageLoading:T,children:[t.jsx(Ee,{size:z,children:t.jsx(Dt,{...se,children:t.jsxs("form",{id:Ae(Be),onSubmit:se.handleSubmit(de),children:[t.jsx(_a,{sectionId:y,selectedVendorId:L?.vendorId,selectedVendorDetails:p,selectedAccountId:L?.vendorCategory,selectedClassId:L?.vendorClass,selectedOwnerId:L?.vendorOwner,recommendations:L?.recommendations??[],allAccounts:a?.vendorViewDetails.accountList.accounts??[],allClasses:a?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:L?.vendorName,allOwners:a?.vendorViewDetails.ownerList??[],readOnlyMode:i,isDisabled:r,accountsHierarchyList:a?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:a?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:ae,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:()=>{U?.(ae?.collapsableStatus==="expand"?"collapse":"expand")}}),e&&ae?.collapsableStatus==="expand"?t.jsxs(Ea,{collapsableStatus:ae?.collapsableStatus??"expand",children:[t.jsx(Ca,{selectedVendorDetails:p,isDisabled:r,onAddressClick:X,sectionId:xe,vendorTypeList:a?.vendorViewDetails.vendorTypeList??[]}),t.jsx(jt,{emailRequired:!1,vendorContactInfos:De,sectionId:ye,vendorContactInfoWithType:ct,setVendorContactInfoWithType:m=>{pt(m),ee?.(L?.vendorId??v.common.strings.empty,m)},deleteContactConfirmationIndex:lt,updateContactDeleteConfirmationIndex:dt,initialContactList:be})]}):null]})})}),Ce!=null?t.jsxs(Ra,{children:[t.jsx(Ba,{children:t.jsx(ha,{allTabs:fe,containerStyle:{marginLeft:n[8],marginRight:n[8],borderBottom:`1px solid ${B.colors.grey3}`,backgroundColor:B.colors.grey4,justifyContent:"left"},selectedTab:Ce,onOptionSelectionChanged:m=>{h(Jt(m.id))}})}),we==="all_transactions"?t.jsx(Ha,{height:N,children:T===!1&&x?.timePeriod!=null?t.jsx(ea,{firstMonthOfFY:d,timeframe:"quarter",timePeriod:x.timePeriod,transactions:a?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:T,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:E,onListInnerElementHeightChanged:m=>{st(m)},showLoadPrevious:xt}):null}):a?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{allTabs:Ua,selectedTab:a.vendorSpendTrendFilterTabValue,onTabChange:m=>{const C=Kt(m.id);C!=null&&K(C)},containerStyle:{marginLeft:n[8],marginRight:n[8]}}),t.jsx(Aa,{ref:q,"data-testid":u("vendor_detail_spend_trend_section"),children:t.jsx(ta,{firstMonthOfFY:d,trendWithTransactionsReport:a?.trendWithTransactions,isDetailPage:!1,graphColor:mt,initialTransactionListHeight:k.transactionListHeight.value(z),page:"vendorDetailPage",onTimePeriodChange:ut,onTransactionItemClick:E})})]}):null]}):null]}),!T&&i!==!0&&(Lt(se.formState.dirtyFields)||ot||it)?t.jsx(Tt,{formId:Ae(Be),primaryBtn:{label:Re.save,isLoading:ht,style:{width:k.buttonWidth.value(z)},isDisabled:!1},cancelBtn:{label:Re.cancel,style:{width:k.buttonWidth.value(z)},onClick:Z}}):null]})})},qe=(e,a,d,l,i,r)=>({[y]:{vendorName:i?.vendorName??v.common.strings.empty,vendorOwner:{allOptions:Ze(r),selectedOption:i?.vendorOwner},vendorCategory:{allOptions:Qe(e,i?.recommendations),selectedOption:i?.vendorCategory},vendorClass:{allOptions:Ge(a,i?.recommendations),selectedOption:i?.vendorClass},recommendedCategory:i?.recommendedCategory,recommendedClass:i?.recommendedClass,isRecommendedCategorySelected:i?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:i?.isClassUpdateSelected??!1},[xe]:{legalName:i?.legalName??v.common.strings.empty,email:i?.vendorEmail??v.common.strings.empty,phone:i?.vendorPhone??v.common.strings.empty,vendorType:{allTypes:d,selectedType:i?.vendorType},tinType:i?.tin?.type??null,tinValue:i?.tin?.value??null,address:l},[ye]:i!=null&&i?.contacts!=null&&i?.contacts.length!==0?i.contacts:[{fullName:v.common.strings.empty,email:v.common.strings.empty,phone:v.common.strings.empty,id:v.common.strings.empty}]}),qa=(e,a,d)=>{const l=e?.[y],i=e?.[xe];return{vendorCategory:l.vendorCategory.selectedOption,vendorClass:l.vendorClass.selectedOption,vendorId:a,recommendations:d?.recommendations,vendorName:l.vendorName,legalName:i.legalName,vendorOwner:l.vendorOwner?.selectedOption,recommendedCategory:l.recommendedCategory,recommendedClass:l.recommendedClass,isCategoryUpdateSelected:l.isRecommendedCategorySelected??!1,isClassUpdateSelected:l.isRecommendedClassSelected??!1,vendorEmail:i.email,vendorPhone:i.phone,vendorType:i.vendorType.selectedType,tin:{type:i.tinType??null,value:i.tinValue!=null?i.tinValue.replace(Gt,v.common.strings.empty):null},address:i.address,contacts:e?.[ye]}};export{Ss as default,Ae as formUniqueName,xe as vendor1099DetailsSectionId,y as vendorDetailsSectionId,Ua as vendorSpendTrendFilterTabs};
257
+ `,Ua=[{label:k.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:k.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:k.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:k.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:k.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:k.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:k.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:k.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],Ss=({isFiling1099FeatureEnabled:e,vendorDetailView:a,firstMonthOfFY:d,vendorLogo:l,readOnlyMode:i,isDisabled:r,scrollToTrend:c,allTransactionsTabData:x,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:b,onSaveSuccess:M,saveVendorDetailLocalData:w,onCancelClick:Z,onTrendSelectedPeriodChange:f,onTransactionItemClick:E,onSpendTrendPercentChangeClick:J,onSaveVendor:de,onVendorSpendTrendFilterTabClick:K,onAddressClick:X,saveContactsInVendorTabDetailLocalData:ee,onVendorDetailUIChange:U,sidePanelIsFullView:re,sidePanelIsOpen:te,panelContent:ce})=>{const B=Ye(),z=le(),q=S.useRef(null),[j,F]=S.useState(!1),[N,st]=S.useState(I.transactionListHeight.value()),be=a?.selectedTabType,we=Ta,p=Object.assign({},a?.vendorViewDetails?.vendorView),L=a?.vendorViewDetails.vendorView?.vendorDetailLocalData,ae=a?.uiState,ot=!$e(p!=null&&p.vendorAddress!=null?Te(p.vendorAddress):p.vendorAddress,p.vendorNewAddressStatus?.addressToCreate!=null?Te(p.vendorNewAddressStatus?.addressToCreate):p.vendorNewAddressStatus?.addressToCreate),nt=(p?.vendorDetailLocalData?.contacts??[]).filter(m=>m.email!==v.common.strings.empty||m.fullName!==v.common.strings.empty||m.phone!==v.common.strings.empty).map(m=>bt(m,"contactInfoType")),fe=S.useMemo(()=>p.vendorBasic?.contacts??[],[p.vendorBasic?.contacts]),it=!$e(nt,fe),se=wt({mode:"all",defaultValues:qe(a?.vendorViewDetails.accountsHierarchyList??[],a?.vendorViewDetails.classHierarchyList??[],a?.vendorViewDetails.vendorTypeList??[],a?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,a?.vendorViewDetails.vendorView?.vendorDetailLocalData,a?.vendorViewDetails.ownerList),values:qe(a?.vendorViewDetails.accountsHierarchyList??[],a?.vendorViewDetails.classHierarchyList??[],a?.vendorViewDetails.vendorTypeList??[],a?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,a?.vendorViewDetails.vendorView?.vendorDetailLocalData,a?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[lt,dt]=S.useState(-1),rt=p.vendorDetailLocalData?.contacts!=null&&p.vendorDetailLocalData?.contacts.length>0?p.vendorDetailLocalData?.contacts:De,[ct,pt]=S.useState(ft(rt));S.useEffect(()=>{c===!0&&j===!1&&a?.trendWithTransactions.trendReport?.fetchState==="Completed"&&a?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(q.current?.offsetTop??0)+I.navbarHeight,behavior:"smooth"}),F(!0))},[c,j,a?.trendWithTransactions.trendReport?.fetchState,a?.trendWithTransactions.transactionView?.fetchState]);const mt=new Ct(B.colors.graphColor12),T=a?.fetchState==="Not-Started"||a?.fetchState==="In-Progress",ht=a?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",gt=a?.trendWithTransactions.trendReport?.fetchState==="In-Progress",ut=(m,C)=>{f?.(C)};S.useEffect(()=>{a?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&M?.()},[p]);const vt=S.useCallback(()=>{window.scrollTo({top:(q.current?.offsetTop??0)+I.navbarHeight,behavior:"smooth"}),J?.()},[J]);S.useEffect(()=>{const m=se.watch((C,{name:Se})=>{Se!=null&&C!=null&&St(()=>(async(oe,Y)=>{const D=Y;if(oe.includes("isRecommendedCategorySelected")){const W=Y[y].isRecommendedCategorySelected===!0?p?.vendorDetailLocalData?.recommendedCategory?.accountId:p?.vendorBasic?.account?.accountId;D[y].vendorCategory={selectedOption:W,allOptions:Y[y].vendorCategory.allOptions}}if(oe.includes("isRecommendedClassSelected")){const W=Y[y].isRecommendedClassSelected===!0?p.vendorDetailLocalData?.recommendedClass?.classId:p?.vendorBasic?.class?.classId;D[y].vendorClass={selectedOption:W,allOptions:Y[y].vendorClass.allOptions}}if(oe.includes("vendorCategory")){const W=D[y].vendorCategory.selectedOption===D[y].recommendedCategory?.accountId;D[y].isRecommendedCategorySelected=W}if(oe.includes("vendorClass")){const W=D[y].vendorClass.selectedOption===D[y].recommendedClass?.classId;D[y].isRecommendedClassSelected=W}yt(D)})(Se,C))});return()=>{m.unsubscribe()}});const yt=m=>{const C=qa(m,p.vendorBasic?.id,L);w?.(C)},xt={isLoading:a?.allVendorTransactionsView?.fetchState==="In-Progress"||a?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(m,C)=>{b(m,(x?.numberOfQuartersFetched??0)+1)}},Ce=we.find(m=>be===m.id);return t.jsx($t,{isOpen:te??!1,isFullView:re??!1,panelContent:ce,headerContent:t.jsxs(t.Fragment,{children:[t.jsx(_t,{onBackClick:Z,title:p.vendorBasic?.name??v.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:B.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),a?.vendorSpend!=null?t.jsx(wa,{isPageLoading:T,vendorName:p.vendorBasic?.name??v.common.strings.empty,spend:a?.vendorSpend,vendorLogo:l,isSpendTrendLoading:gt,onPercentChangeClick:vt}):null]}),listContent:t.jsxs(Wa,{children:[T===!0&&t.jsx(Ue,{isPageLoading:T,children:t.jsx(Ee,{size:z,children:t.jsx(Na,{})})}),T===!1&&p.vendorDetailLocalData!=null&&t.jsxs(Ue,{isPageLoading:T,children:[t.jsx(Ee,{size:z,children:t.jsx(Dt,{...se,children:t.jsxs("form",{id:Ae(Be),onSubmit:se.handleSubmit(de),children:[t.jsx(_a,{sectionId:y,selectedVendorId:L?.vendorId,selectedVendorDetails:p,selectedAccountId:L?.vendorCategory,selectedClassId:L?.vendorClass,selectedOwnerId:L?.vendorOwner,recommendations:L?.recommendations??[],allAccounts:a?.vendorViewDetails.accountList.accounts??[],allClasses:a?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:L?.vendorName,allOwners:a?.vendorViewDetails.ownerList??[],readOnlyMode:i,isDisabled:r,accountsHierarchyList:a?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:a?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:ae,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:()=>{U?.(ae?.collapsableStatus==="expand"?"collapse":"expand")}}),e&&ae?.collapsableStatus==="expand"?t.jsxs(Ea,{collapsableStatus:ae?.collapsableStatus??"expand",children:[t.jsx(Ca,{selectedVendorDetails:p,isDisabled:r,onAddressClick:X,sectionId:xe,vendorTypeList:a?.vendorViewDetails.vendorTypeList??[]}),t.jsx(jt,{emailRequired:!1,vendorContactInfos:De,sectionId:ye,vendorContactInfoWithType:ct,setVendorContactInfoWithType:m=>{pt(m),ee?.(L?.vendorId??v.common.strings.empty,m)},deleteContactConfirmationIndex:lt,updateContactDeleteConfirmationIndex:dt,initialContactList:fe})]}):null]})})}),Ce!=null?t.jsxs(Ra,{children:[t.jsx(Ba,{children:t.jsx(ha,{allTabs:we,containerStyle:{marginLeft:n[8],marginRight:n[8],borderBottom:`1px solid ${B.colors.grey3}`,backgroundColor:B.colors.grey4,justifyContent:"left"},selectedTab:Ce,onOptionSelectionChanged:m=>{h(Jt(m.id))}})}),be==="all_transactions"?t.jsx(Ha,{height:N,children:T===!1&&x?.timePeriod!=null?t.jsx(ea,{firstMonthOfFY:d,timeframe:"quarter",timePeriod:x.timePeriod,transactions:a?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:T,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:E,onListInnerElementHeightChanged:m=>{st(m)},showLoadPrevious:xt}):null}):a?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{allTabs:Ua,selectedTab:a.vendorSpendTrendFilterTabValue,onTabChange:m=>{const C=Kt(m.id);C!=null&&K(C)},containerStyle:{marginLeft:n[8],marginRight:n[8]}}),t.jsx(Aa,{ref:q,"data-testid":u("vendor_detail_spend_trend_section"),children:t.jsx(ta,{firstMonthOfFY:d,trendWithTransactionsReport:a?.trendWithTransactions,isDetailPage:!1,graphColor:mt,initialTransactionListHeight:I.transactionListHeight.value(z),page:"vendorDetailPage",onTimePeriodChange:ut,onTransactionItemClick:E})})]}):null]}):null]}),!T&&i!==!0&&(Lt(se.formState.dirtyFields)||ot||it)?t.jsx(Tt,{formId:Ae(Be),primaryBtn:{label:Re.save,isLoading:ht,style:{width:I.buttonWidth.value(z)},isDisabled:!1},cancelBtn:{label:Re.cancel,style:{width:I.buttonWidth.value(z)},onClick:Z}}):null]})})},qe=(e,a,d,l,i,r)=>({[y]:{vendorName:i?.vendorName??v.common.strings.empty,vendorOwner:{allOptions:Ze(r),selectedOption:i?.vendorOwner},vendorCategory:{allOptions:Qe(e,i?.recommendations),selectedOption:i?.vendorCategory},vendorClass:{allOptions:Ge(a,i?.recommendations),selectedOption:i?.vendorClass},recommendedCategory:i?.recommendedCategory,recommendedClass:i?.recommendedClass,isRecommendedCategorySelected:i?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:i?.isClassUpdateSelected??!1},[xe]:{legalName:i?.legalName??v.common.strings.empty,email:i?.vendorEmail??v.common.strings.empty,phone:i?.vendorPhone??v.common.strings.empty,vendorType:{allTypes:d,selectedType:i?.vendorType},tinType:i?.tin?.type??null,tinValue:i?.tin?.value??null,address:l},[ye]:i!=null&&i?.contacts!=null&&i?.contacts.length!==0?i.contacts:[{fullName:v.common.strings.empty,email:v.common.strings.empty,phone:v.common.strings.empty,id:v.common.strings.empty}]}),qa=(e,a,d)=>{const l=e?.[y],i=e?.[xe];return{vendorCategory:l.vendorCategory.selectedOption,vendorClass:l.vendorClass.selectedOption,vendorId:a,recommendations:d?.recommendations,vendorName:l.vendorName,legalName:i.legalName,vendorOwner:l.vendorOwner?.selectedOption,recommendedCategory:l.recommendedCategory,recommendedClass:l.recommendedClass,isCategoryUpdateSelected:l.isRecommendedCategorySelected??!1,isClassUpdateSelected:l.isRecommendedClassSelected??!1,vendorEmail:i.email,vendorPhone:i.phone,vendorType:i.vendorType.selectedType,tin:{type:i.tinType??null,value:i.tinValue!=null?i.tinValue.replace(Gt,v.common.strings.empty):null},address:i.address,contacts:e?.[ye]}};export{Ss as default,Ae as formUniqueName,xe as vendor1099DetailsSectionId,y as vendorDetailsSectionId,Ua as vendorSpendTrendFilterTabs};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CAltUZe8.js";import{a as k}from"./sentry-DQeYyYXx.js";import{y}from"./DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./BankAccountSection-Di4sF52j-D_gkfCl5.js";import"./MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js";import"./BankAccountWarningSection-Cled-2cR-CM49bGSJ.js";import"./MailingDetailsSection-ByOPaJ05-Cq55yE-t.js";import"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.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]="e1c48142-37ae-46e5-aafe-a6bfd6eafc5b",e._sentryDebugIdIdentifier="sentry-dbid-e1c48142-37ae-46e5-aafe-a6bfd6eafc5b")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=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]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onAddressClick:c,onFetchBankName:d})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,cd as D,o as s,ch as Re,gH as We,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-C5NS4k1k.js";import{a as m}from"./sentry-B7C9wEq0.js";import{n as o}from"./mui-CsJjaFS3.js";import{Y as at}from"./LabeledDropDownFormattedTextField-B98gNWTE-CawOSouY.js";import"./pdf-CotdgJU1.js";import"./zeni-epic-state-CjUXhad7.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.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]="4a866be7-0f15-4ffc-bf2f-9679bb3ffe56",e._sentryDebugIdIdentifier="sentry-dbid-4a866be7-0f15-4ffc-bf2f-9679bb3ffe56")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const R=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(R);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(R),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
1
+ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,cd as D,o as s,ch as We,gH as Re,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-CAltUZe8.js";import{a as m}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{Y as at}from"./LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="7a0837e1-0e55-490a-a900-a86c388e696e",e._sentryDebugIdIdentifier="sentry-dbid-7a0837e1-0e55-490a-a900-a86c388e696e")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const W=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(W);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(W),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -33,7 +33,7 @@ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,c
33
33
  display: flex;
34
34
  justify-content: space-between;
35
35
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
36
- `,ht=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(pt,{children:[t.jsx(F,{style:{marginBottom:s.sp4},width:120,height:d[4]}),t.jsxs(ut,{children:[[...Array(5)].map((r,u)=>t.jsxs(G,{children:[t.jsx(F,{width:70,height:d[4]}),t.jsx(F,{width:140,height:d[4]})]},u)),t.jsx(G,{children:t.jsx(F,{width:120,height:d[4]})}),t.jsx(gt,{children:[...Array(7)].map((r,u)=>t.jsxs(G,{children:[t.jsx(F,{width:70,height:d[4]}),t.jsx(F,{width:140,height:d[4]})]},u))})]})]},i))}),w={largeLabelWidth:new b(130,200,300),labelMarginLeft:new b(d[3],d[4]),labelMarginTop:new b(d[2],d[3]),labelMarginBottom:new b(d[2],d[3]),containerPaddingLeft:new b(d[3],d[6],d[8]),containerPaddingRight:new b(d[3],d[6],d[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",he="legalName",me="email",ye="phone",xe="taxClassification",fe="tinType",be="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",K=e=>`${e}_form`,T=(e,i)=>`${e}.${i}`,{spendManagement:St,common:a}=pe.getLocalizedStrings(),C=St.billPay.vendorCreation,B=a.labels,oe=a.footer,ls=e=>{const i=ce(),r=new AbortController,u=Ne(),q=r.signal,{onVendorFiling1099UploadDetailsSave:R,vendorId:c,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:$,vendorFiling1099UploadDetails:V,fetchVendorFetchStatus:Q,onAddressEditHandler:we,goBackToListPage:X,onResetVendorFiling1099FormStatus:$e,googleAPIKey:ve}=e,{vendor1099DetailsSaveStatus:N,vendor1099DetailsLocalData:n,w9FormUploadStatus:Z}=p,[Y,ee]=m.useState(V.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),te=m.useRef(null),{vendorTypeList:M}=V,k=m.useRef(null),A=m.useRef(null),se=m.useRef(!1);m.useEffect(()=>{A.current===null&&n.legalName!=a.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(A.current=n.legalName)},[n.legalName]),m.useEffect(()=>{k.current===null&&n.legalName!==a.strings.empty&&(k.current=n.legalName)},[n.legalName]),m.useEffect(()=>{V?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&se.current===!1&&(ee(V.addressStatus.addressToCreate),se.current=!0)},[V,p.vendor1099DetailsAutoFilledValues?.address]);const g=ke({mode:"onSubmit",defaultValues:de(n,M??[],Y),values:de(n,M??[],Y)}),{isValid:je}=g.formState,Se=g.handleSubmit(()=>{je&&(we(g.getValues()),R(c,q))}),{vendor1099DetailsAutoFilledValues:y}=p;m.useEffect(()=>{const v=g.watch((h,{name:j})=>{j!=null&&h!=null&&((j.startsWith(`${l}.street`)||j.startsWith(`${l}.city`)||j.startsWith(`${l}.state`)||j.startsWith(`${l}.country`)||j.startsWith(`${l}.postalCode`))&&h[l]!=null&&ee({street:[h[l].street?.addressString??a.strings.empty,h[l].suite??a.strings.empty,h[l].secondaryInfo??a.strings.empty],city:h[l].city??a.strings.empty,state:h[l].state??a.strings.empty,country:h[l].country?.selectedOption??a.strings.empty,countryCode:h[l].countryCode,postalCode:h[l].postalCode??a.strings.empty}),Ae(()=>(async(H,f)=>{if(H!=null){const L={...f},Ve=L[l].legalName,Ie=L[l].email,Le=L[l].phone,Pe=L[l].taxClassification,Fe=L[l].tinType,le=L[l].tinValue,Te={legalName:Ve??a.strings.empty,vendorId:c,contact:{email:Ie??a.strings.empty,phone:Le??a.strings.empty,fullName:n.contact?.fullName??a.strings.empty,id:n.contact?.id??a.strings.empty},taxClassification:Pe.selectedType??a.strings.empty,tin:{type:Fe??null,value:le??null},tinValue:le??null};if(H.includes(`${l}.street`)&&f.vendor1099FilingSectionId.street!=null){const{addressValue:P}=f.vendor1099FilingSectionId.street,ze=g.getValues(`${l}.country`),U=J(P?.country);g.setValue(l,{...f[l],street:f.vendor1099FilingSectionId.street,city:P?.locality??"",state:P?.administrativeAreaLevel1??"",country:U,countryCode:P?.countryCode??"",postalCode:P?.postalCode??"",secondaryInfo:f.vendor1099FilingSectionId.secondaryInfo??"",suite:f.vendor1099FilingSectionId.suite??""}),Ke(g.formState.errors,`${l}.city`)&&P?.locality&&g.trigger(`${l}.city`),ze.selectedOption!==U.selectedOption&&g.setValue(`${l}.country`,U)}else H==="vendor1099FilingSectionId.country"&&f[l].country.selectedOption!=null&&g.setValue(`${l}.countryCode`,Je(f[l].country.selectedOption));$(Te)}})(j,h)))});return()=>{v.unsubscribe()}});const I=w.largeLabelWidth.value(i),Ce=N.error?.message??a.strings.empty,De=N.error?.title??a.strings.empty,x=Q?.fetchState==="In-Progress"||Z?.fetchState==="In-Progress";return m.useEffect(()=>()=>{r.abort(),$e()},[]),t.jsx(Dt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(Vt,{windowSize:i,ref:te,children:[t.jsx(Be,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current)??a.strings.empty,backgroundColor:u.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(Lt,{windowSize:i,onClick:X,"data-testid":Ee("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:te,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),x===!0?t.jsx(re,{windowSize:i,isLoading:x,children:t.jsx(ht,{})}):t.jsxs(re,{windowSize:i,isLoading:x,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current}),N.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(At,{}),t.jsxs(zt,{children:[t.jsx(Nt,{children:De}),t.jsx(kt,{children:Ce})]})]}):null,(y?.tin.type===!0||y?.tin.value===!0||y?.legalName===!0||y?.taxClassification===!0)&&t.jsxs(Ot,{children:[t.jsx(O,{}),t.jsx(Rt,{children:C.vendorDetails.banner})]}),t.jsx(Oe,{...g,children:t.jsx("form",{id:K(l),onSubmit:Se,children:t.jsxs(It,{isLoading:x,children:[t.jsx(W,{children:y?.legalName!==!0||x?null:t.jsx(O,{})}),t.jsx(D,{label:{label:B.legalName,width:I,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:T(l,he),defaultValue:n.legalName,placeholder:C.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:v=>v!==a.strings.empty}}}),t.jsx(E,{}),t.jsxs(t.Fragment,{children:[t.jsx(D,{label:{label:B.email,width:I,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:T(l,me),defaultValue:n.contact?.email,placeholder:C.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(E,{}),t.jsx(Re,{label:{label:B.phone,width:I,style:{marginLeft:s.sp4}},text:{name:T(l,ye),placeholder:C.vendorDetails.phonePlaceHolder,defaultValue:n.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(E,{})]}),t.jsxs(Wt,{isLoading:x,children:[t.jsx(W,{children:y?.taxClassification!==!0||x?null:t.jsx(O,{})}),t.jsxs(ne,{children:[t.jsx(Bt,{width:I,windowSize:i,children:B.taxClassification}),t.jsx(Et,{size:i,labelWidth:I,children:t.jsx(We,{name:T(l,xe),value:{allTypes:M?.map(v=>({code:v.code,name:v.name,label:v.name}))??[],selectedType:n.taxClassification},placeholderLabel:C.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(E,{}),t.jsx(W,{children:y?.tin.type!==!0&&y?.tin.value!==!0||x?null:t.jsx(O,{})}),t.jsx(ne,{children:t.jsx(at,{name:T(l,fe),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:n.tin?.type??a.strings.empty,dropDownList:[{code:a.texts.ein,label:a.texts.ein.toUpperCase()},{code:a.texts.ssn,label:a.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:I},placeholderLabel:C.placeholders.tinType,formattedText:{type:"text",name:T(l,be),placeholder:C.placeholders.tinValue,format:n.tin?.type===a.texts.ssn?He:Ue,registerOptions:{required:!!n?.tin?.type,pattern:n.tin?.type===a.texts.ssn?qe:Me},style:{width:"100%",height:s.sp6},defaultValue:n.tin?.value??a.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:n.tin?.type===null?"disabled":void 0}})}),t.jsx(E,{}),t.jsxs(qt,{children:[t.jsx(W,{children:y?.address!==!0||x?null:t.jsx(O,{})}),t.jsx(_e,{label:B.address,style:{marginLeft:s.sp4,marginTop:w.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(ot,{googleAPIKey:ve,formId:K(l),addressToEdit:V?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(Ge,{separatorStyle:{marginRight:s.sp4},formId:K(l),cancelBtn:{label:oe.cancel,style:{width:"83px"},onClick:X},primaryBtn:{label:oe.save,isLoading:N.fetchState==="In-Progress",style:{width:"83px"},isDisabled:N?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress"||Z?.fetchState==="In-Progress"},style:mt})]})})},Ct=o.div`
36
+ `,ht=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(pt,{children:[t.jsx(F,{style:{marginBottom:s.sp4},width:120,height:d[4]}),t.jsxs(ut,{children:[[...Array(5)].map((r,u)=>t.jsxs(G,{children:[t.jsx(F,{width:70,height:d[4]}),t.jsx(F,{width:140,height:d[4]})]},u)),t.jsx(G,{children:t.jsx(F,{width:120,height:d[4]})}),t.jsx(gt,{children:[...Array(7)].map((r,u)=>t.jsxs(G,{children:[t.jsx(F,{width:70,height:d[4]}),t.jsx(F,{width:140,height:d[4]})]},u))})]})]},i))}),w={largeLabelWidth:new b(130,200,300),labelMarginLeft:new b(d[3],d[4]),labelMarginTop:new b(d[2],d[3]),labelMarginBottom:new b(d[2],d[3]),containerPaddingLeft:new b(d[3],d[6],d[8]),containerPaddingRight:new b(d[3],d[6],d[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",he="legalName",me="email",ye="phone",xe="taxClassification",fe="tinType",be="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",K=e=>`${e}_form`,T=(e,i)=>`${e}.${i}`,{spendManagement:St,common:a}=pe.getLocalizedStrings(),C=St.billPay.vendorCreation,B=a.labels,oe=a.footer,ls=e=>{const i=ce(),r=new AbortController,u=Ne(),q=r.signal,{onVendorFiling1099UploadDetailsSave:W,vendorId:c,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:$,vendorFiling1099UploadDetails:V,fetchVendorFetchStatus:Q,onAddressEditHandler:we,goBackToListPage:X,onResetVendorFiling1099FormStatus:$e,googleAPIKey:ve}=e,{vendor1099DetailsSaveStatus:N,vendor1099DetailsLocalData:n,w9FormUploadStatus:Z}=p,[Y,ee]=m.useState(V.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),te=m.useRef(null),{vendorTypeList:M}=V,k=m.useRef(null),A=m.useRef(null),se=m.useRef(!1);m.useEffect(()=>{A.current===null&&n.legalName!=a.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(A.current=n.legalName)},[n.legalName]),m.useEffect(()=>{k.current===null&&n.legalName!==a.strings.empty&&(k.current=n.legalName)},[n.legalName]),m.useEffect(()=>{V?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&se.current===!1&&(ee(V.addressStatus.addressToCreate),se.current=!0)},[V,p.vendor1099DetailsAutoFilledValues?.address]);const g=ke({mode:"onSubmit",defaultValues:de(n,M??[],Y),values:de(n,M??[],Y)}),{isValid:je}=g.formState,Se=g.handleSubmit(()=>{je&&(we(g.getValues()),W(c,q))}),{vendor1099DetailsAutoFilledValues:y}=p;m.useEffect(()=>{const v=g.watch((h,{name:j})=>{j!=null&&h!=null&&((j.startsWith(`${l}.street`)||j.startsWith(`${l}.city`)||j.startsWith(`${l}.state`)||j.startsWith(`${l}.country`)||j.startsWith(`${l}.postalCode`))&&h[l]!=null&&ee({street:[h[l].street?.addressString??a.strings.empty,h[l].suite??a.strings.empty,h[l].secondaryInfo??a.strings.empty],city:h[l].city??a.strings.empty,state:h[l].state??a.strings.empty,country:h[l].country?.selectedOption??a.strings.empty,countryCode:h[l].countryCode,postalCode:h[l].postalCode??a.strings.empty}),Ae(()=>(async(H,f)=>{if(H!=null){const L={...f},Ve=L[l].legalName,Ie=L[l].email,Le=L[l].phone,Pe=L[l].taxClassification,Fe=L[l].tinType,le=L[l].tinValue,Te={legalName:Ve??a.strings.empty,vendorId:c,contact:{email:Ie??a.strings.empty,phone:Le??a.strings.empty,fullName:n.contact?.fullName??a.strings.empty,id:n.contact?.id??a.strings.empty},taxClassification:Pe.selectedType??a.strings.empty,tin:{type:Fe??null,value:le??null},tinValue:le??null};if(H.includes(`${l}.street`)&&f.vendor1099FilingSectionId.street!=null){const{addressValue:P}=f.vendor1099FilingSectionId.street,ze=g.getValues(`${l}.country`),U=J(P?.country);g.setValue(l,{...f[l],street:f.vendor1099FilingSectionId.street,city:P?.locality??"",state:P?.administrativeAreaLevel1??"",country:U,countryCode:P?.countryCode??"",postalCode:P?.postalCode??"",secondaryInfo:f.vendor1099FilingSectionId.secondaryInfo??"",suite:f.vendor1099FilingSectionId.suite??""}),Ke(g.formState.errors,`${l}.city`)&&P?.locality&&g.trigger(`${l}.city`),ze.selectedOption!==U.selectedOption&&g.setValue(`${l}.country`,U)}else H==="vendor1099FilingSectionId.country"&&f[l].country.selectedOption!=null&&g.setValue(`${l}.countryCode`,Je(f[l].country.selectedOption));$(Te)}})(j,h)))});return()=>{v.unsubscribe()}});const I=w.largeLabelWidth.value(i),Ce=N.error?.message??a.strings.empty,De=N.error?.title??a.strings.empty,x=Q?.fetchState==="In-Progress"||Z?.fetchState==="In-Progress";return m.useEffect(()=>()=>{r.abort(),$e()},[]),t.jsx(Dt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(Vt,{windowSize:i,ref:te,children:[t.jsx(Be,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current)??a.strings.empty,backgroundColor:u.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(Lt,{windowSize:i,onClick:X,"data-testid":Ee("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:te,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),x===!0?t.jsx(re,{windowSize:i,isLoading:x,children:t.jsx(ht,{})}):t.jsxs(re,{windowSize:i,isLoading:x,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:k.current}),N.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(At,{}),t.jsxs(zt,{children:[t.jsx(Nt,{children:De}),t.jsx(kt,{children:Ce})]})]}):null,(y?.tin.type===!0||y?.tin.value===!0||y?.legalName===!0||y?.taxClassification===!0)&&t.jsxs(Ot,{children:[t.jsx(O,{}),t.jsx(Wt,{children:C.vendorDetails.banner})]}),t.jsx(Oe,{...g,children:t.jsx("form",{id:K(l),onSubmit:Se,children:t.jsxs(It,{isLoading:x,children:[t.jsx(R,{children:y?.legalName!==!0||x?null:t.jsx(O,{})}),t.jsx(D,{label:{label:B.legalName,width:I,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:T(l,he),defaultValue:n.legalName,placeholder:C.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:v=>v!==a.strings.empty}}}),t.jsx(E,{}),t.jsxs(t.Fragment,{children:[t.jsx(D,{label:{label:B.email,width:I,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:T(l,me),defaultValue:n.contact?.email,placeholder:C.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(E,{}),t.jsx(We,{label:{label:B.phone,width:I,style:{marginLeft:s.sp4}},text:{name:T(l,ye),placeholder:C.vendorDetails.phonePlaceHolder,defaultValue:n.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(E,{})]}),t.jsxs(Rt,{isLoading:x,children:[t.jsx(R,{children:y?.taxClassification!==!0||x?null:t.jsx(O,{})}),t.jsxs(ne,{children:[t.jsx(Bt,{width:I,windowSize:i,children:B.taxClassification}),t.jsx(Et,{size:i,labelWidth:I,children:t.jsx(Re,{name:T(l,xe),value:{allTypes:M?.map(v=>({code:v.code,name:v.name,label:v.name}))??[],selectedType:n.taxClassification},placeholderLabel:C.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(E,{}),t.jsx(R,{children:y?.tin.type!==!0&&y?.tin.value!==!0||x?null:t.jsx(O,{})}),t.jsx(ne,{children:t.jsx(at,{name:T(l,fe),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:n.tin?.type??a.strings.empty,dropDownList:[{code:a.texts.ein,label:a.texts.ein.toUpperCase()},{code:a.texts.ssn,label:a.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:I},placeholderLabel:C.placeholders.tinType,formattedText:{type:"text",name:T(l,be),placeholder:C.placeholders.tinValue,format:n.tin?.type===a.texts.ssn?He:Ue,registerOptions:{required:!!n?.tin?.type,pattern:n.tin?.type===a.texts.ssn?qe:Me},style:{width:"100%",height:s.sp6},defaultValue:n.tin?.value??a.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:n.tin?.type===null?"disabled":void 0}})}),t.jsx(E,{}),t.jsxs(qt,{children:[t.jsx(R,{children:y?.address!==!0||x?null:t.jsx(O,{})}),t.jsx(_e,{label:B.address,style:{marginLeft:s.sp4,marginTop:w.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(ot,{googleAPIKey:ve,formId:K(l),addressToEdit:V?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(Ge,{separatorStyle:{marginRight:s.sp4},formId:K(l),cancelBtn:{label:oe.cancel,style:{width:"83px"},onClick:X},primaryBtn:{label:oe.save,isLoading:N.fetchState==="In-Progress",style:{width:"83px"},isDisabled:N?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress"||Z?.fetchState==="In-Progress"},style:mt})]})})},Ct=o.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  height: 100%;
@@ -152,11 +152,11 @@ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,c
152
152
  margin: ${s.sp3};
153
153
  margin-left: ${s.sp0};
154
154
  margin-right: ${s.sp0};
155
- `,Rt=o.span`
155
+ `,Wt=o.span`
156
156
  color: ${e=>e.theme.colors.hero};
157
- `,Wt=o.div`
157
+ `,Rt=o.div`
158
158
  position: relative;
159
- `,W=o.div`
159
+ `,R=o.div`
160
160
  position: absolute;
161
161
  top: 20px;
162
162
  left: -${s.sp4};
@@ -1,4 +1,4 @@
1
- import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-C5NS4k1k.js";import{a as f}from"./sentry-B7C9wEq0.js";import{n as i,c as on}from"./mui-CsJjaFS3.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-CjUXhad7.js";import{r as Mo}from"./core-CbpF8wW5.js";import"./pdf-CotdgJU1.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
1
+ import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-CAltUZe8.js";import{a as f}from"./sentry-DQeYyYXx.js";import{n as i,c as on}from"./mui-CMSRVFAm.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-CHpO1ZKT.js";import{r as Mo}from"./core-D9P6lLF-.js";import"./pdf-Be2WBqYM.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as de,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-C5NS4k1k.js";import{a as W}from"./sentry-B7C9wEq0.js";import{n as g}from"./mui-CsJjaFS3.js";import{bQ as Z}from"./zeni-epic-state-CjUXhad7.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-D7OuLiLz-CnjpdW6M.js";import{T as _e}from"./MailingDetailsSection-BNVPaGFt-9PxBYnWw.js";import{S as Ee}from"./CurrencySelectField-CSPhUjwG-lrBDW4z2.js";import"./pdf-CotdgJU1.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./LabeledAddressValueField-Dl3atH92-C9wYUqfv.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]="b29eef05-6165-4ae7-a201-c1b50afd3e7d",e._sentryDebugIdIdentifier="sentry-dbid-b29eef05-6165-4ae7-a201-c1b50afd3e7d")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},se={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:s,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=de(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:s}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
1
+ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as se,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-CAltUZe8.js";import{a as W}from"./sentry-DQeYyYXx.js";import{n as g}from"./mui-CMSRVFAm.js";import{bQ as Z}from"./zeni-epic-state-CHpO1ZKT.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-Cled-2cR-CM49bGSJ.js";import{T as _e}from"./MailingDetailsSection-ByOPaJ05-Cq55yE-t.js";import{S as Ee}from"./CurrencySelectField-BAh7SHrG-D1tX6Pz9.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.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]="cab11672-39a2-48af-90f6-15e908c9e599",e._sentryDebugIdIdentifier="sentry-dbid-cab11672-39a2-48af-90f6-15e908c9e599")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},de={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:d,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=se(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:d}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -50,7 +50,7 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
50
50
  `,Ve=g.label`
51
51
  color: ${e=>e.hasError===!0?M.important:e.additionalInfoTextColor??e.theme.colors.grey1};
52
52
  width: auto;
53
- ${e=>`${se.infoLabel.style(e.windowSize)}`};
53
+ ${e=>`${de.infoLabel.style(e.windowSize)}`};
54
54
  padding-right: ${y.sp3};
55
55
  text-align: right;
56
56
  `,He=g.div`
@@ -73,7 +73,7 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
73
73
  display: flex;
74
74
  justify-content: flex-end;
75
75
  color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isError?M.important:e.theme.colors.hero};
76
- ${e=>`${se.infoLabel.style(e.size)}`};
76
+ ${e=>`${de.infoLabel.style(e.size)}`};
77
77
  padding-right: ${y.sp3};
78
78
  text-align: right;
79
79
  margin-top: ${e=>e.hasToolTip===!0?y.sp1:y.sp0};
@@ -86,7 +86,7 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
86
86
  width: ${y.sp3};
87
87
  height: ${y.sp3};
88
88
  color: inherit;
89
- `,S={largeLabelWidth:new c(120,140,220),paddingTopBottom:new c(a[3],a[3]),labelHeight:new c(a[6],a[6]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2]),controlHeight:new c(a[6],a[6]),toolTipWidth:new c(60,150)},Xe=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:s,wireAccountToCreate:o,sectionId:n,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:T,isDisabled:k,style:C})=>{const b=X(),{getValues:$}=re(),D=de(),p=G.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:u}=p,x=S.largeLabelWidth.value(b),F=o?.accountType?.type,j=o?.countryCode==null,_=o?.currencyCode==null,O=["phone","email","other"];return t.jsx(Je,{style:C,children:t.jsxs(Ke,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:u.country,width:x},style:{width:"auto"},countrySelectField:{name:L(n,"vendorCountry"),placeholder:u.countryPlaceholder,defaultValue:ae(o?.countryCode,f.map(d=>d.countryCode)),registerOptions:{validate:d=>!(d==null||!d.selectedOption)}},additionalInfoLabel:p.international.countryAdditionalInfo}),t.jsx(I,{}),t.jsx(Me,{isDisabled:j===!0?"disabled":T===!0?"readonly":void 0,label:{label:u.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(n,"vendorCurrency"),placeholder:u.currencyPlaceholder,defaultValue:{allOptions:s.map(d=>({label:`${d.currencySymbol} - ${d.currencyName}`,value:d.currencyCode,countryCode:d.countryCode,currency:d.currencyName})),selectedOption:o?.currencyCode},registerOptions:{validate:d=>!(d==null||!d.selectedOption)}},additionalInfoLabel:p.international.currencyAdditionalInfo}),t.jsx(I,{}),_!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Y,{isDisabled:void 0,label:{label:u.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(n,"typeOfAccount"),placeholder:u.typeOfAccountPlaceholder,defaultValue:{selectedOption:o?.accountType?.type,allOptions:l.map(d=>({label:d.title,value:d.type}))},registerOptions:{validate:d=>!(d==null||!d.selectedOption)}}}),t.jsx(I,{})]}):null,o!=null&&F!=null&&o.dynamicForm[F]!=null&&i.length>0?Object.keys(o.dynamicForm[F]).map(d=>{const r=i.filter(P=>P.name===d)[0],h=o.accountType?.type;if(h==null||r==null)return null;{const P=o.dynamicForm[h][d];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(Se,{label:{label:r.label+u.colon,width:x},text:{type:"text",name:z(n,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:P,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},z(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Y,{isDisabled:void 0,label:{label:r.label+u.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:z(n,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:P,allOptions:r.valuesAllowed??[]}}},z(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(ee,{size:b,children:[t.jsx(Q,{label:r.label+u.colon,htmlFor:z(n,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(te,{labelWidth:x,size:b,children:r.valuesAllowed?.map(E=>t.jsx(H,{label:{label:E.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:z(n,"dynamicForm",h,r.name),id:r.name,value:E.value,registerOptions:{required:!0}}},E.value))})]},z(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});default:return null}}}):null,t.jsxs(Ye,{size:b,children:[t.jsxs(ee,{size:b,children:[t.jsx(Q,{label:u.addSource,htmlFor:L(n,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:u.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(te,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:u.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[0],value:O[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:u.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[1],value:O[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:u.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[2],value:O[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${n}.source`)==="other"?t.jsx(ke,{type:"text",name:L(n,"otherSource"),placeholder:u.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:d=>$(`${n}.source`)==="other"&&!!d}}):null]}),t.jsx(I,{})]})})},L=(e,i)=>`${e}.${i}`,z=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Je=g.div`
89
+ `,S={largeLabelWidth:new c(120,140,220),paddingTopBottom:new c(a[3],a[3]),labelHeight:new c(a[6],a[6]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2]),controlHeight:new c(a[6],a[6]),toolTipWidth:new c(60,150)},Xe=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:d,wireAccountToCreate:o,sectionId:n,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:T,isDisabled:k,style:C})=>{const b=X(),{getValues:$}=re(),D=se(),p=G.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:u}=p,x=S.largeLabelWidth.value(b),F=o?.accountType?.type,j=o?.countryCode==null,_=o?.currencyCode==null,O=["phone","email","other"];return t.jsx(Je,{style:C,children:t.jsxs(Ke,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:u.country,width:x},style:{width:"auto"},countrySelectField:{name:L(n,"vendorCountry"),placeholder:u.countryPlaceholder,defaultValue:ae(o?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!(s==null||!s.selectedOption)}},additionalInfoLabel:p.international.countryAdditionalInfo}),t.jsx(I,{}),t.jsx(Me,{isDisabled:j===!0?"disabled":T===!0?"readonly":void 0,label:{label:u.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(n,"vendorCurrency"),placeholder:u.currencyPlaceholder,defaultValue:{allOptions:d.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:o?.currencyCode},registerOptions:{validate:s=>!(s==null||!s.selectedOption)}},additionalInfoLabel:p.international.currencyAdditionalInfo}),t.jsx(I,{}),_!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Y,{isDisabled:void 0,label:{label:u.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(n,"typeOfAccount"),placeholder:u.typeOfAccountPlaceholder,defaultValue:{selectedOption:o?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!(s==null||!s.selectedOption)}}}),t.jsx(I,{})]}):null,o!=null&&F!=null&&o.dynamicForm[F]!=null&&i.length>0?Object.keys(o.dynamicForm[F]).map(s=>{const r=i.filter(P=>P.name===s)[0],h=o.accountType?.type;if(h==null||r==null)return null;{const P=o.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(Se,{label:{label:r.label+u.colon,width:x},text:{type:"text",name:z(n,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:P,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},z(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Y,{isDisabled:void 0,label:{label:r.label+u.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:z(n,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:P,allOptions:r.valuesAllowed??[]}}},z(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(ee,{size:b,children:[t.jsx(Q,{label:r.label+u.colon,htmlFor:z(n,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(te,{labelWidth:x,size:b,children:r.valuesAllowed?.map(E=>t.jsx(H,{label:{label:E.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:z(n,"dynamicForm",h,r.name),id:r.name,value:E.value,registerOptions:{required:!0}}},E.value))})]},z(n,"dynamicForm",h,r.name)),t.jsx(I,{})]});default:return null}}}):null,t.jsxs(Ye,{size:b,children:[t.jsxs(ee,{size:b,children:[t.jsx(Q,{label:u.addSource,htmlFor:L(n,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:u.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(te,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:u.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[0],value:O[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:u.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[1],value:O[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:u.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(n,"source"),id:O[2],value:O[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${n}.source`)==="other"?t.jsx(ke,{type:"text",name:L(n,"otherSource"),placeholder:u.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${n}.source`)==="other"&&!!s}}):null]}),t.jsx(I,{})]})})},L=(e,i)=>`${e}.${i}`,z=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Je=g.div`
90
90
  display: flex;
91
91
  flex-direction: column;
92
92
  `,Ke=g.div`
@@ -130,7 +130,7 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
130
130
  flex-grow: 1;
131
131
  height: ${e=>S.controlHeight.valuePx(e.size)};
132
132
  align-items: center;
133
- `,R={paddingTopBottomContainer:new c(a[3],a[3]),paddingLeftContainer:new c(a[3],a[6]),paddingRightContainer:new c(a[3],a[8]),marginLeft:new c(a[4],a[6]),buttonWidth:new c(140,140)},ie="internationalDetailsPage",v="internationalWireSection",le=e=>`${e}_form`,Ze=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:s,addressType:o,addressToEdit:n,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const p=X(),u=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,F=e.fetchState,j=ge({mode:"all",reValidateMode:"onChange",defaultValues:W.useMemo(()=>ne(e),[e]),values:ne(e)}),[_,O]=W.useState(!1),[d,r]=W.useState(!1),h=G.getLocalizedStrings().spendManagement.billPay.vendorCreation,P=G.getLocalizedStrings().common.footer,{international:E}=h.wireDetails,ce={onOkClick:()=>{r(!1),j.reset(),$()},onCancelClick:()=>{r(!1)}};W.useEffect(()=>{const B=j.watch((V,{name:J})=>{J!=null&&V!=null&&be(()=>((m,U)=>{if(m.includes("account_holder_name")||m.includes("bank_account_iban")||m.includes("bank_swift_code")||m.includes("account_number")||m.includes("sort_code")||m.includes("ifsc_code")||m.includes("upi_id")||m.includes("contact_no")||m.includes("bank_code")||m.includes("institution_number")||m.includes("transit_number")||m.includes("identification_value")||m.includes("branch_code")||m.includes("clabe")||m.includes("bsb_code")||m.includes("proxy_value")||m.includes("php_e_wallet_no"))return void O(!0);const K=m===`${v}.vendorCountry`,N=m===`${v}.vendorCurrency`;N&&U[v].vendorCurrency.selectedOption!=null&&C(U[v].vendorCurrency.selectedOption,T,i);const he={...U},ye=oe(he,e,K,N,f);k(ye,T,i,N||K)})(J,V))});return()=>{B.unsubscribe()}});const q=W.useCallback(()=>{const B=j.getValues(),V=oe(B,e,!1,!1,f);k(V,T,i,!1),O(!1)},[j,e,f,k,T,i]),ue=W.useCallback(()=>{_&&q(),D(o)},[_,q,D,o]),pe=j.handleSubmit(B=>{_&&q(),b()}),me=!fe(w!=null?Z(w):w,n!=null?Z(n):n)||j.formState.isDirty;return t.jsxs(lt,{children:[t.jsxs(nt,{size:p,children:[d===!0?t.jsx(xe,{titleComponent:t.jsx(we,{children:h.discardTitle}),descriptionComponent:t.jsx(ve,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:ce}):null,t.jsx(Re,{header:E.addInternationalWireDetails,isDirty:me,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Pe,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:p,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(Ce,{...j,children:t.jsxs("form",{id:le(ie),onSubmit:pe,children:[t.jsx(it,{size:p,children:t.jsx(Xe,{wireAccountToCreate:u,dynamicFormFetchState:F,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:s,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(_e,{sectionId:"mailingAddressSection",isDisabled:s,addressType:o,addressToEdit:n,onAddressClick:ue})]})})]}),t.jsx($e,{formId:le(ie),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:R.buttonWidth.value(p)},isDisabled:s!=null},cancelBtn:{label:P.cancel,style:{width:R.buttonWidth.value(p)},shouldResetOnCancel:!1,onClick:()=>{j.formState.isDirty?r(!0):(j.reset(),$())}}})]})},et=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let s={};return l!=null&&i.length>0?(Object.keys(l).forEach(o=>{o===f?(s={...s,[o]:{}},Object.keys(l[o]).forEach(n=>{i.find(w=>w.name===n)?.fieldType==="select"?s[o]={...s[o],[n]:{selectedOption:l[o][n],allOptions:i.find(w=>w.name===n)?.valuesAllowed??[]}}:s[o]={...s[o],[n]:l[o][n]}})):s={...s,[o]:{}}}),s):{}},ne=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:ae(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:et(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},tt=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},oe=(e,i,l,f,s)=>{const o=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:o!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[o]:tt(e[v].dynamicForm?.[o]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?De(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!s?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(n=>n.type===e[v].typeOfAccount.selectedOption)[0].title}}},it=g.div`
133
+ `,R={paddingTopBottomContainer:new c(a[3],a[3]),paddingLeftContainer:new c(a[3],a[6]),paddingRightContainer:new c(a[3],a[8]),marginLeft:new c(a[4],a[6]),buttonWidth:new c(140,140)},ie="internationalDetailsPage",v="internationalWireSection",le=e=>`${e}_form`,Ze=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:d,addressType:o,addressToEdit:n,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const p=X(),u=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,F=e.fetchState,j=ge({mode:"all",reValidateMode:"onChange",defaultValues:W.useMemo(()=>ne(e),[e]),values:ne(e)}),[_,O]=W.useState(!1),[s,r]=W.useState(!1),h=G.getLocalizedStrings().spendManagement.billPay.vendorCreation,P=G.getLocalizedStrings().common.footer,{international:E}=h.wireDetails,ce={onOkClick:()=>{r(!1),j.reset(),$()},onCancelClick:()=>{r(!1)}};W.useEffect(()=>{const B=j.watch((V,{name:J})=>{J!=null&&V!=null&&be(()=>((m,U)=>{if(m.includes("account_holder_name")||m.includes("bank_account_iban")||m.includes("bank_swift_code")||m.includes("account_number")||m.includes("sort_code")||m.includes("ifsc_code")||m.includes("upi_id")||m.includes("contact_no")||m.includes("bank_code")||m.includes("institution_number")||m.includes("transit_number")||m.includes("identification_value")||m.includes("branch_code")||m.includes("clabe")||m.includes("bsb_code")||m.includes("proxy_value")||m.includes("php_e_wallet_no"))return void O(!0);const K=m===`${v}.vendorCountry`,N=m===`${v}.vendorCurrency`;N&&U[v].vendorCurrency.selectedOption!=null&&C(U[v].vendorCurrency.selectedOption,T,i);const he={...U},ye=oe(he,e,K,N,f);k(ye,T,i,N||K)})(J,V))});return()=>{B.unsubscribe()}});const q=W.useCallback(()=>{const B=j.getValues(),V=oe(B,e,!1,!1,f);k(V,T,i,!1),O(!1)},[j,e,f,k,T,i]),ue=W.useCallback(()=>{_&&q(),D(o)},[_,q,D,o]),pe=j.handleSubmit(B=>{_&&q(),b()}),me=!fe(w!=null?Z(w):w,n!=null?Z(n):n)||j.formState.isDirty;return t.jsxs(lt,{children:[t.jsxs(nt,{size:p,children:[s===!0?t.jsx(xe,{titleComponent:t.jsx(we,{children:h.discardTitle}),descriptionComponent:t.jsx(ve,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:ce}):null,t.jsx(Re,{header:E.addInternationalWireDetails,isDirty:me,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Pe,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:p,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(Ce,{...j,children:t.jsxs("form",{id:le(ie),onSubmit:pe,children:[t.jsx(it,{size:p,children:t.jsx(Xe,{wireAccountToCreate:u,dynamicFormFetchState:F,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:d,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(_e,{sectionId:"mailingAddressSection",isDisabled:d,addressType:o,addressToEdit:n,onAddressClick:ue})]})})]}),t.jsx($e,{formId:le(ie),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:R.buttonWidth.value(p)},isDisabled:d!=null},cancelBtn:{label:P.cancel,style:{width:R.buttonWidth.value(p)},shouldResetOnCancel:!1,onClick:()=>{j.formState.isDirty?r(!0):(j.reset(),$())}}})]})},et=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let d={};return l!=null&&i.length>0?(Object.keys(l).forEach(o=>{o===f?(d={...d,[o]:{}},Object.keys(l[o]).forEach(n=>{i.find(w=>w.name===n)?.fieldType==="select"?d[o]={...d[o],[n]:{selectedOption:l[o][n],allOptions:i.find(w=>w.name===n)?.valuesAllowed??[]}}:d[o]={...d[o],[n]:l[o][n]}})):d={...d,[o]:{}}}),d):{}},ne=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:ae(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:et(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},tt=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},oe=(e,i,l,f,d)=>{const o=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:o!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[o]:tt(e[v].dynamicForm?.[o]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?De(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!d?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(n=>n.type===e[v].typeOfAccount.selectedOption)[0].title}}},it=g.div`
134
134
  padding-left: ${e=>R.paddingLeftContainer.valuePx(e.size)};
135
135
  padding-right: ${e=>R.paddingRightContainer.valuePx(e.size)};
136
136
  padding-top: ${e=>R.paddingTopBottomContainer.valuePx(e.size)};
@@ -149,4 +149,4 @@ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,
149
149
  color: ${e=>e.theme.colors.champion};
150
150
  margin-left: ${e=>R.marginLeft.valuePx(e.size)};
151
151
  margin-top: ${y.sp3};
152
- `,$t=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:s,isDisabled:o,addressToEdit:n,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const p={...i.editVendorState??i.newVendorState},u=p.vendorDetailLocalData?.paymentInstrumentIds!=null&&p.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=p.vendorBasic?.countryCode!=null||u,F=p.vendorBasic?.currencyCode!=null||u;return W.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||p?.saveStatus?.fetchState==="Completed")&&$()},[p?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ze,{internationalWireView:e,addressToEdit:n,mailingAddress:w,addressType:s,billAmount:T,isDisabled:o,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:F})};export{$t as default};
152
+ `,$t=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:d,isDisabled:o,addressToEdit:n,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const p={...i.editVendorState??i.newVendorState},u=p.vendorDetailLocalData?.paymentInstrumentIds!=null&&p.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=p.vendorBasic?.countryCode!=null||u,F=p.vendorBasic?.currencyCode!=null||u;return W.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||p?.saveStatus?.fetchState==="Completed")&&$()},[p?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Ze,{internationalWireView:e,addressToEdit:n,mailingAddress:w,addressType:d,billAmount:T,isDisabled:o,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:F})};export{$t as default};
@@ -0,0 +1 @@
1
+ import{V as k}from"./index-CAltUZe8.js";import{a as S}from"./sentry-DQeYyYXx.js";import{f as b}from"./InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./BankAccountWarningSection-Cled-2cR-CM49bGSJ.js";import"./MailingDetailsSection-ByOPaJ05-Cq55yE-t.js";import"./LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js";import"./MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.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]="2a1e8dc0-894c-4680-80be-479a91da48e5",e._sentryDebugIdIdentifier="sentry-dbid-2a1e8dc0-894c-4680-80be-479a91da48e5")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=e,a={...m??p};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),k.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{e as ie,y as oe,O as te,x as c,g4 as w,ad as k,V as i,hm as g,o as r,hj as m,d as ne,f as re,cX as de,C as se,m as a}from"./index-C5NS4k1k.js";import{n as s}from"./mui-CsJjaFS3.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]="9443c2bb-c04f-43aa-beab-da9b9daca9b7",e._sentryDebugIdIdentifier="sentry-dbid-9443c2bb-c04f-43aa-beab-da9b9daca9b7")}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},T={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{e as ie,y as oe,O as te,x as c,g4 as w,ad as k,V as i,hm as g,o as r,hj as m,d as ne,f as re,cX as de,C as se,m as a}from"./index-CAltUZe8.js";import{n as s}from"./mui-CMSRVFAm.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]="9443c2bb-c04f-43aa-beab-da9b9daca9b7",e._sentryDebugIdIdentifier="sentry-dbid-9443c2bb-c04f-43aa-beab-da9b9daca9b7")}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},T={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)};
@@ -1,4 +1,4 @@
1
- import{j as l}from"./pdf-CotdgJU1.js";import{a as g}from"./sentry-B7C9wEq0.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-CbpF8wW5.js";import{ct as L,I6 as De,I7 as Je,dt as X,bH as ye,bI as Ce,rP as pt,I8 as at,rT as Gt,Ei as ee,rN as $t,rH as zt,I9 as Ue,rz as Yt,ry as Kt,rs as qt,rE as Ht,rU as Qt,Ia as ue,Ib as Ne,rA as Wt,Ic as he,cF as mt,s7 as St,s0 as ft,Id as gt,k$ as Ie,rX as vt,rV as Tt,Ie as xt,se as It,sb as Dt,rY as yt,sd as Me,CK as Ct,If as Zt,Ig as Xt,bJ as ea,Ih as ta,Ii as aa,Ij as pe,Ik as le,Il as Ee,Ej as Re,st as ve,Eh as Te,sg as Et,rQ as Ge,Im as na,Ek as H,In as $e,rK as sa,Io as oa,Ip as la,Iq as ze,Ir as Ye,Is as Ke,It as qe,sn as be,Iu as bt,s4 as wt,Iv as ia,Iw as ca,Ix as da,Iy as ra,Iz as ua,IA as ha,IB as pa,IC as ma,po as Sa,pp as fa,Do as je,ID as ga,IE as va,ga as Fe,bs as Ta,IF as xa,IG as Ia,hJ as Da,hS as ya,Dn as Pe,bG as nt,IH as kt,D3 as jt,II as Ca,IJ as Ea,IK as ba,hU as wa,IL as st,IM as ot,IN as lt,IO as it,IP as ka,hQ as ja,IQ as Fa,hT as Pa,IR as Aa,IS as Ft,DK as Pt,h7 as _a,IT as Va,IU as Ae,IV as At,DI as _t,un as La,IW as Ba,IX as Oa,hr as Vt,IY as Ja,IZ as Ua,DW as Na,n3 as Ma,I_ as Lt,I$ as ct,DT as _e,J0 as dt,J1 as Ra,DY as Ga,J2 as $a,J3 as za,J4 as Ya,J5 as Ka,J6 as qa,n6 as Ha,J7 as Qa,El as Wa,J8 as Za,DB as Ve,eb as Xa,J9 as en,Ja as tn,e9 as an,Jb as nn,Jc as sn,ur as on,Jd as ln,Je as cn,Jf as dn,Jg as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-CjUXhad7.js";import{js as U,a7 as Le,jQ as Bt,bk as W,jz as F,k4 as Z,kx as Sn,jO as N,O as xe,N as ie,ky as He,kz as fn,kA as gn,jM as Qe,kB as vn,y as Tn,e as ce,x as We,aE as te,aG as z,kC as xn,jD as Ze,kD as In,kE as Ot,k2 as Dn,kF as yn,_ as Cn,kG as En,kv as Jt,o as Q,f as Ut,jT as bn,kH as wn,kI as kn,J as Xe,kJ as jn,kK as Fn,jL as Pn,kL as An,kM as _n}from"./index-C5NS4k1k.js";import{n as M,D as Vn,S as Nt}from"./mui-CsJjaFS3.js";import{t as Ln,A as Bn}from"./AddressScreen-CfU0pxqN.js";import oe from"./NotFoundScreen-DXnaOvLy.js";import{F as On}from"./FeaturePreviewScreen-Xsnk0neq.js";import{b as q,v as et,c as Jn}from"./routePaths-Canmm7cj.js";import{p as Mt}from"./pathToGoBack-BfqJ0YlJ.js";import{M as me}from"./MobileAppDrawer-Db6wEz5B.js";import{S as Un}from"./zeni-icon-only-DmigVd7z.js";import{D as Nn}from"./DrawerScreen-Dd2Niphu.js";import{g as Mn,m as Rn}from"./accountMappingHelper-DnytOxBh.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2b07b3b5-bd24-4f3e-8a9b-19d894576ac8",e._sentryDebugIdIdentifier="sentry-dbid-2b07b3b5-bd24-4f3e-8a9b-19d894576ac8")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ce(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
1
+ import{j as l}from"./pdf-Be2WBqYM.js";import{a as g}from"./sentry-DQeYyYXx.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-D9P6lLF-.js";import{ct as L,I6 as De,I7 as Je,dt as X,bH as ye,bI as Ce,rP as pt,I8 as at,rT as Gt,Ei as ee,rN as $t,rH as zt,I9 as Ue,rz as Yt,ry as Kt,rs as qt,rE as Ht,rU as Qt,Ia as ue,Ib as Ne,rA as Wt,Ic as he,cF as mt,s7 as St,s0 as ft,Id as gt,k$ as Ie,rX as vt,rV as Tt,Ie as xt,se as It,sb as Dt,rY as yt,sd as Me,CK as Ct,If as Zt,Ig as Xt,bJ as ea,Ih as ta,Ii as aa,Ij as pe,Ik as le,Il as Ee,Ej as Re,st as ve,Eh as Te,sg as Et,rQ as Ge,Im as na,Ek as H,In as $e,rK as sa,Io as oa,Ip as la,Iq as ze,Ir as Ye,Is as Ke,It as qe,sn as be,Iu as bt,s4 as wt,Iv as ia,Iw as ca,Ix as da,Iy as ra,Iz as ua,IA as ha,IB as pa,IC as ma,po as Sa,pp as fa,Do as je,ID as ga,IE as va,ga as Fe,bs as Ta,IF as xa,IG as Ia,hJ as Da,hS as ya,Dn as Pe,bG as nt,IH as kt,D3 as jt,II as Ca,IJ as Ea,IK as ba,hU as wa,IL as st,IM as ot,IN as lt,IO as it,IP as ka,hQ as ja,IQ as Fa,hT as Pa,IR as Aa,IS as Ft,DK as Pt,h7 as _a,IT as Va,IU as Ae,IV as At,DI as _t,un as La,IW as Ba,IX as Oa,hr as Vt,IY as Ja,IZ as Ua,DW as Na,n3 as Ma,I_ as Lt,I$ as ct,DT as _e,J0 as dt,J1 as Ra,DY as Ga,J2 as $a,J3 as za,J4 as Ya,J5 as Ka,J6 as qa,n6 as Ha,J7 as Qa,El as Wa,J8 as Za,DB as Ve,eb as Xa,J9 as en,Ja as tn,e9 as an,Jb as nn,Jc as sn,ur as on,Jd as ln,Je as cn,Jf as dn,Jg as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-CHpO1ZKT.js";import{js as U,a7 as Le,jQ as Bt,bk as W,jz as F,k4 as Z,kx as Sn,jO as N,O as xe,N as ie,ky as He,kz as fn,kA as gn,jM as Qe,kB as vn,y as Tn,e as ce,x as We,aE as te,aG as z,kC as xn,jD as Ze,kD as In,kE as Ot,k2 as Dn,kF as yn,_ as Cn,kG as En,kv as Jt,o as Q,f as Ut,jT as bn,kH as wn,kI as kn,J as Xe,kJ as jn,kK as Fn,jL as Pn,kL as An,kM as _n}from"./index-CAltUZe8.js";import{n as M,D as Vn,S as Nt}from"./mui-CMSRVFAm.js";import{t as Ln,A as Bn}from"./AddressScreen-BL1pptQ5.js";import oe from"./NotFoundScreen-CubXCR1V.js";import{F as On}from"./FeaturePreviewScreen-BrgEnIPS.js";import{b as q,v as et,c as Jn}from"./routePaths-C2kSZwVH.js";import{p as Mt}from"./pathToGoBack-Blub25Cp.js";import{M as me}from"./MobileAppDrawer-C3TNoouV.js";import{S as Un}from"./zeni-icon-only-4nFle2Fz.js";import{D as Nn}from"./DrawerScreen-MxSrrJrd.js";import{g as Mn,m as Rn}from"./accountMappingHelper-GPi0oD1D.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2b07b3b5-bd24-4f3e-8a9b-19d894576ac8",e._sentryDebugIdIdentifier="sentry-dbid-2b07b3b5-bd24-4f3e-8a9b-19d894576ac8")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ce(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as f,bp as R,o as n,O as _,a as I,bq as z,l as O,br as H,bs as C,b6 as q,f as j,au as v,bt as U}from"./index-C5NS4k1k.js";import{a as l}from"./sentry-B7C9wEq0.js";import{n as t}from"./mui-CsJjaFS3.js";import{bs as W}from"./zeni-epic-state-CjUXhad7.js";import{A as X,Z as k}from"./AccountLockedInfoModal-B1JxHllU-D8YQo6Cx.js";import"./pdf-CotdgJU1.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./handshake-BPg58FML-DJv997hY.js";import"./unlock-BPWn2I5L-Bw2sQZ5n.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]="327e655a-b3cc-470e-a167-c13fb5a3872b",e._sentryDebugIdIdentifier="sentry-dbid-327e655a-b3cc-470e-a167-c13fb5a3872b")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,T]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),E=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),y=m.watch(x),F=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),T(a=>a+1),m.setValue(x,""))},[E,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(A,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(M,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(xe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(R,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(x,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(f,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(x,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(I,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:F})]})]})})})]})});var b},B=t.div`
1
+ import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as x,bp as R,o as n,O as _,a as I,bq as z,l as O,br as H,bs as C,b6 as q,f as j,au as v,bt as U}from"./index-CAltUZe8.js";import{a as l}from"./sentry-DQeYyYXx.js";import{n as t}from"./mui-CMSRVFAm.js";import{bs as W}from"./zeni-epic-state-CHpO1ZKT.js";import{A as X,Z as k}from"./AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./handshake-BPg58FML-Dy9hpFzO.js";import"./unlock-BPWn2I5L-DrFYUkdQ.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]="8aac7a96-247c-4e1f-b5e1-f59899352afa",e._sentryDebugIdIdentifier="sentry-dbid-8aac7a96-247c-4e1f-b5e1-f59899352afa")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,T]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),E=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[f]:""}}),y=m.watch(f),F=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),T(a=>a+1),m.setValue(f,""))},[E,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(A,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(M,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(R,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(f,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(x,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(f,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(I,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:F})]})]})})})]})});var b},B=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${"256px"};
@@ -51,7 +51,7 @@ import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as f,bp as R,o as n,O as
51
51
  display: flex;
52
52
  justify-content: center;
53
53
  column-gap: ${n.sp3};
54
- `,le=t(f)`
54
+ `,le=t(x)`
55
55
  color: ${e=>e.theme.colors.hero};
56
56
  text-align: center;
57
57
  `,se=t.div`
@@ -78,10 +78,10 @@ import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as f,bp as R,o as n,O as
78
78
  justify-content: center;
79
79
  align-items: center;
80
80
  background: ${e=>e.theme.colors.background};
81
- `,de=t(f)`
81
+ `,de=t(x)`
82
82
  color: ${e=>e.theme.colors.hero};
83
83
  text-align: center;
84
- `,pe=t(f)`
84
+ `,pe=t(x)`
85
85
  color: ${j.important};
86
86
  text-align: center;
87
87
  `,he=t.div`
@@ -106,7 +106,7 @@ import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as f,bp as R,o as n,O as
106
106
  &:hover {
107
107
  color: ${e=>e.theme.colors.primary};
108
108
  }
109
- `,xe=t.a`
109
+ `,fe=t.a`
110
110
  text-decoration: underline;
111
111
  color: inherit;
112
112
  `;export{Oe as default};
@@ -1,4 +1,4 @@
1
- import{e as F,V as o,k,f as B}from"./index-C5NS4k1k.js";import{a as e}from"./sentry-B7C9wEq0.js";import{n,k as S}from"./mui-CsJjaFS3.js";import{r as j}from"./core-CbpF8wW5.js";import{s as x}from"./media-player-CfnH7IPR.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="7c630670-2a53-43bd-8443-405614b0fd2d",t._sentryDebugIdIdentifier="sentry-dbid-7c630670-2a53-43bd-8443-405614b0fd2d")}catch{}})();const A=t=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function R({src:t,autoPlay:i=!0,config:c,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:h=!1,showPlayButton:d=!1,style:w,thumbnail:s,width:b="100%",onEnded:v,onModalClose:E,onPlay:g}){const f=F(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&i?l(!0):r===!1&&l(!1)},[r,i]);const p={};c?.youtube&&(p.youtube=c.youtube);const C=()=>{l(!1),v?.(),r!=null&&E?.()},y=()=>{l(!0),g?.()};return r!=null?r?j.createPortal(o.jsx(O,{windowSize:f,role:"presentation",children:o.jsx(k,{onClickAway:()=>{l(!1),E?.()},children:o.jsx(P,{windowSize:f,"data-testid":"video-player-modal",children:o.jsxs(z,{children:[d&&!a&&o.jsxs(o.Fragment,{children:[s!=null&&s!==""&&o.jsx(G,{src:s,alt:"Video thumbnail"}),o.jsx(U,{onClick:()=>{l(!0),g?.()},children:o.jsx(D,{windowSize:f})})]}),(!d||a)&&o.jsx(x,{src:t,playing:a,controls:m,muted:h,loop:u,width:"100%",height:"100%",onEnded:C,onPlay:y,config:p})]})})})}),document.body):null:o.jsx(x,{src:t,playing:a,controls:m,muted:h,loop:u,width:b,height:_,style:w,light:!(!d||a)&&(s??!0),onEnded:C,onPlay:y,config:p})}const I=S`
1
+ import{e as F,V as o,k,f as B}from"./index-CAltUZe8.js";import{a as e}from"./sentry-DQeYyYXx.js";import{n,k as S}from"./mui-CMSRVFAm.js";import{r as j}from"./core-D9P6lLF-.js";import{s as x}from"./media-player-CsDObYZE.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="7c630670-2a53-43bd-8443-405614b0fd2d",t._sentryDebugIdIdentifier="sentry-dbid-7c630670-2a53-43bd-8443-405614b0fd2d")}catch{}})();const A=t=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function R({src:t,autoPlay:i=!0,config:c,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:h=!1,showPlayButton:d=!1,style:w,thumbnail:s,width:b="100%",onEnded:v,onModalClose:E,onPlay:g}){const f=F(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&i?l(!0):r===!1&&l(!1)},[r,i]);const p={};c?.youtube&&(p.youtube=c.youtube);const C=()=>{l(!1),v?.(),r!=null&&E?.()},y=()=>{l(!0),g?.()};return r!=null?r?j.createPortal(o.jsx(O,{windowSize:f,role:"presentation",children:o.jsx(k,{onClickAway:()=>{l(!1),E?.()},children:o.jsx(P,{windowSize:f,"data-testid":"video-player-modal",children:o.jsxs(z,{children:[d&&!a&&o.jsxs(o.Fragment,{children:[s!=null&&s!==""&&o.jsx(G,{src:s,alt:"Video thumbnail"}),o.jsx(U,{onClick:()=>{l(!0),g?.()},children:o.jsx(D,{windowSize:f})})]}),(!d||a)&&o.jsx(x,{src:t,playing:a,controls:m,muted:h,loop:u,width:"100%",height:"100%",onEnded:C,onPlay:y,config:p})]})})})}),document.body):null:o.jsx(x,{src:t,playing:a,controls:m,muted:h,loop:u,width:b,height:_,style:w,light:!(!d||a)&&(s??!0),onEnded:C,onPlay:y,config:p})}const I=S`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }