@zeniai/web-cockpit-ui 1.15.7-qa → 1.15.8-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 (329) hide show
  1. package/dist/assets/ACHDetailsPage-C4kSZtcW-DXbi1tk_.js +21 -0
  2. package/dist/assets/{AIPerformancePage-XDCygRgj-bazvPjld.js → AIPerformancePage-nAXYlFHx-B-yNLxsI.js} +108 -108
  3. package/dist/assets/AccountInfoPage-BgYgT10O-CcaqKm0M.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-wjaeVokT-C5AG_-Y4.js → AccountInfoPageContent-C6fN_njt-BfclYIhc.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-a2stjcsR-BkN6xApL.js → AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js} +52 -52
  7. package/dist/assets/{AccountRow-DlccmtgU-C-w5dWss.js → AccountRow-C0plHrDu-BlMGnWxc.js} +32 -32
  8. package/dist/assets/{AccountsPromoCardStack-BE0vjkiK-CiwoACHR.js → AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js +6 -0
  10. package/dist/assets/{AddToWalletPage-6OCJaNcg-Dq5I4Hk6.js → AddToWalletPage-CKPw3FXG-D61c3n-w.js} +25 -25
  11. package/dist/assets/{AgingReportsPage-hgg1L3pv-BqEr1m1D.js → AgingReportsPage-BLYXtrbx-DW-1ybPL.js} +17 -17
  12. package/dist/assets/{AllUserItems-BmNtc-69-DvRnddR8.js → AllUserItems-CIuKSRs--B0618Ye4.js} +14 -14
  13. package/dist/assets/ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js +46 -0
  14. package/dist/assets/AppBasePage-zQkWIZIS-COyO76Q-.js +71 -0
  15. package/dist/assets/AppDrawerContent-OIrm7j-k-Dut49GGC.js +91 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js +47 -0
  17. package/dist/assets/{ArAgingChart-CeaYIqlX-Ca3jC1zb.js → ArAgingChart-Dv9GPrlk-1IjLiFwv.js} +7 -7
  18. package/dist/assets/ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js +46 -0
  19. package/dist/assets/{AttachmentView-BsNhULL3-gsW6g8SL.js → AttachmentView-CHgDKLit-BOkUOxft.js} +7 -7
  20. package/dist/assets/{BankAccountSection-ZWR_hXjD-CgxlXo0x.js → BankAccountSection-danXlJW--Ci61_HQI.js} +8 -8
  21. package/dist/assets/{BankAccountWarningSection-C-2eE9pL-ucJNqY4n.js → BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-CjbaVbou-DEnaNBhh.js → BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js} +14 -14
  23. package/dist/assets/{BillDetailPage-B_zbQLLp-DNFzkA--.js → BillDetailPage-BD2IX-iP-C1AsdsRK.js} +12 -12
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CtJLn_JO-TVM-mtyG.js → BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-vvgGBmoM-DdObKGUs.js → BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js} +8 -8
  26. package/dist/assets/BillPayPromoPage-C7PX-EVL-RrQTQk3r.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-m15SlV0c-Ce-KrDgA.js → BillPaySetUpPage-Czno3Zre-B54xXO94.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-DwBAvbyP-BA7TOSu8.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js +1 -0
  30. package/dist/assets/{BoxItem-Cmrt_yxF-DEJ8WZ3Y.js → BoxItem-CQn8-mlp-3WaKvXCN.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js +138 -0
  32. package/dist/assets/{CardNumberSubText-B6Fprh6S--yVD-Bee.js → CardNumberSubText-2Tw37MOu-DLENhMmY.js} +9 -9
  33. package/dist/assets/{CashbackDetailPage-CWExYaIT-gCsfihki.js → CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js} +32 -32
  34. package/dist/assets/{ChargeCardDetailPage-B3hr0WBI-9dqzYf3y.js → ChargeCardDetailPage-draAZn9S-DVIwh9R-.js} +74 -74
  35. package/dist/assets/{ChargeCardListPage-g9gCfpoh-BtXCc3BC.js → ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js} +18 -18
  36. package/dist/assets/{ChargeCardListTable-BoDSmzn_-CXkARxuG.js → ChargeCardListTable-DVFpdT9f-BEElVTwC.js} +31 -31
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-xs346JMC--iYsoeUe.js → ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js} +32 -32
  38. package/dist/assets/ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-Da9NY51a-e0yUyde3.js → ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-CcSRXOv7-DHGyjFH5.js → CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-D1b80h2R-BMHZ2IWN.js → CollapsableReportTable-D9EGRkFb-DwhLMO0b.js} +88 -88
  43. package/dist/assets/CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js +331 -0
  44. package/dist/assets/{CompanyPassportCard-vAocVa7X-D6X4ClK3.js → CompanyPassportCard--3g9aidd-CxwOeh5K.js} +9 -9
  45. package/dist/assets/CompanyPassportPage-BhF3zWN0-Cn2clYh0.js +417 -0
  46. package/dist/assets/{CompleteProfile-B-Hhosch-BP7RTj13.js → CompleteProfile-iee5HgiC-iD1IzEAE.js} +2 -2
  47. package/dist/assets/ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-Bgc7zC_D-BGbH6pul.js → CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js} +17 -17
  49. package/dist/assets/{CreditCardPaymentDrawerPage-Bs5RpFes-C8YxxZPe.js → CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js} +10 -10
  50. package/dist/assets/{CurrencySelectField-BC9QkDwI-DfI6ODzD.js → CurrencySelectField-CcU9PAOW-u3CiOTPH.js} +6 -6
  51. package/dist/assets/{CustomerOnboardingActivationPage-Br4RFzGo-DI6b-OYs.js → CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js} +8 -8
  52. package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DLKJINnV-DGcctm88.js → CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js} +17 -17
  54. package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js +66 -0
  55. package/dist/assets/CustomerOnboardingPage-CP969grW-CLGTaPd5.js +107 -0
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-Dx3FU6Fe-C2ncOquj.js → CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js} +11 -11
  57. package/dist/assets/{Dashboard-EWWj1Uby-Dg6BU04Z.js → Dashboard-CKSEolZn-B8UGwGX2.js} +513 -472
  58. package/dist/assets/{DashboardReportPage-D4kzdnvI-BbhybSGk.js → DashboardReportPage-JLORU_HF-JuRm0_l-.js} +22 -22
  59. package/dist/assets/DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js +12 -0
  60. package/dist/assets/{DepositAccTransactionItem-xvCtIj9v-sZYB8bjn.js → DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js} +4 -4
  61. package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js +66 -0
  62. package/dist/assets/DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js +21 -0
  63. package/dist/assets/{DownloadOverlay-wlAXZwF0-JiJizrHx.js → DownloadOverlay-D7AI3CGS-DY9OdGrk.js} +20 -20
  64. package/dist/assets/{DrawerPage-DroW95LB-BGP0nAjD.js → DrawerPage-BiQurb8Q-CEeTnVDp.js} +18 -18
  65. package/dist/assets/EditPeoplePage-DkLTV485-DyUGQQC3.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-BgcII79s-tmNQZoW9.js → EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js} +47 -47
  67. package/dist/assets/EntityDetailPage-ougFUO1M-BRBPuzyF.js +18 -0
  68. package/dist/assets/{EntitySummarySection-D6HekhK7-sx3TyeLI.js → EntitySummarySection-dbyZ3ZMD-WaXS93t5.js} +7 -7
  69. package/dist/assets/{ExpenseAutomationOverviewPage-VN-P6f2z-DKRfiCP-.js → ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js} +31 -31
  70. package/dist/assets/{ExpenseAutomationPage-CvnkIuMf-cEeQ3hKP.js → ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js} +47 -47
  71. package/dist/assets/{ExpressPayPage-C_yRTeDh-CPvItmoy.js → ExpressPayPage-CaBFl4M3-N5saqSFG.js} +16 -16
  72. package/dist/assets/{FeaturePreviewPage-BLRhajFn-BXnjngQa.js → FeaturePreviewPage-BY7VDaUB-C72FE9k5.js} +3 -3
  73. package/dist/assets/{FollowStepsSection-DhiGIylh-szXLMCmb.js → FollowStepsSection-BGZ3rzSO-DAxx1unm.js} +47 -47
  74. package/dist/assets/{GlobalReviewListPage-Tg986b2s-BzLFqxLt.js → GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js} +16 -16
  75. package/dist/assets/{InformationCardStack-3Lmn6LJr-CXjZGiMk.js → InformationCardStack-BZIU9Bwm-DWOE8xSt.js} +4 -4
  76. package/dist/assets/{InsightsCardStack-Dc6OL9Od-Dt4Qr58R.js → InsightsCardStack-BZ6yws_x-DiUvTias.js} +11 -11
  77. package/dist/assets/InsightsSection-CdlmvyOs-DmXLU_Lu.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-DACHBlEm-Cf4NvQHE.js → IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js} +11 -11
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-BaqSqvWh-C9W2lkTr.js → InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js} +29 -29
  80. package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js +65 -0
  81. package/dist/assets/{InviteFormPage-CXcHy9Sz-CIXArq1q.js → InviteFormPage-C-_fbwpS-DFnpH_Sg.js} +36 -36
  82. package/dist/assets/{InvitePageListView-tu82Q2y6-yF7udmBD.js → InvitePageListView-DX3LFpcZ-wgARDxxe.js} +65 -65
  83. package/dist/assets/InvitePeoplePage-DOfw4ntH-CNo6v_nK.js +12 -0
  84. package/dist/assets/InvoiceUploadSection-7NLq2wUY-qezR9Z74.js +140 -0
  85. package/dist/assets/{IssueChargeCardPage-DuqGEs5b-BSyP11HH.js → IssueChargeCardPage-BSax9G6t-Ccz8TXME.js} +32 -32
  86. package/dist/assets/{LabeledAddressValue-D0Gu5Mgp-CuKFb_Fb.js → LabeledAddressValue-kz4tRnLH-XbapS3ut.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-DPisU2iY-CBp9buEB.js → LabeledAddressValueField-D950JjHi-B7-ZxMwG.js} +4 -4
  88. package/dist/assets/LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js +16 -0
  89. package/dist/assets/LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js +237 -0
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DLVxVffe-CoUjV52P.js → LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js} +11 -7
  91. package/dist/assets/LabeledDocumentField-y5kqHnHe-CmBeTY2E.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js +59 -0
  93. package/dist/assets/LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js +223 -0
  94. package/dist/assets/{LabeledText-C4GeOHM8-DuQryGxi.js → LabeledText-D0g7m29R-CGPY2mDY.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-CVkvRF0D.js → LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js} +22 -22
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Bj8qcvuK-1Ux9cfjz.js → LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js} +21 -21
  97. package/dist/assets/{LinkJETransactionPage-CdWWV_7u-lA2Ieks4.js → LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js} +10 -10
  98. package/dist/assets/{LockCardPage-BTxCWQ6_-DvcF37D5.js → LockCardPage-XgZwsozn-B7KEhFgG.js} +58 -58
  99. package/dist/assets/{LowBalancePopup-Dt9KCWOU-CGhklhMm.js → LowBalancePopup-ChBTdcM2-CwIZnZTi.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-D45Lu2cc-CkiWTtDQ.js → MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js} +4 -4
  104. package/dist/assets/{MagicLinkTitleSection-BdiSVi0V-6L4P8c-X.js → MagicLinkTitleSection-CI_X5_g6-DmElUYen.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CN9EKlOy-BfyXOjUL.js → MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js} +10 -10
  107. package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BHZrydBY-CouLcv-w.js +85 -0
  109. package/dist/assets/NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js +30 -0
  110. package/dist/assets/{NavigationArrow-B9ZEhJdg-DZLA8bvx.js → NavigationArrow-BuPVGh38-C7FStd2H.js} +5 -5
  111. package/dist/assets/{NavigationDots-C_N16I15-BceewdOj.js → NavigationDots-CLd0nZZT-DkTweDHl.js} +3 -3
  112. package/dist/assets/{NewGlobalMerchantPage-DICWFjCu-A-SqvVYe.js → NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js} +14 -14
  113. package/dist/assets/{NoDataChart-CCCkzfa4-jwMBvFUj.js → NoDataChart-VrW0gNeK-CoKQWY6y.js} +2 -2
  114. package/dist/assets/{NoDataTable-DVW_simO-Z05X7jnZ.js → NoDataTable-CZaHTbXi-BvRSGEWZ.js} +1 -1
  115. package/dist/assets/{NotFoundPage-BHrUY910-T_gZYULO.js → NotFoundPage-CvuhMeh3-DzAU1c1V.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-alUKfWWf-EsM7IXgf.js → NotificationSettingsPage-612cyOPa-BDov0Or2.js} +21 -21
  117. package/dist/assets/NotificationsListConfig-CrNHxW9v-0zuPtBoA.js +1 -0
  118. package/dist/assets/{NotificationsPage-BjhHCUzl-BorCyhwg.js → NotificationsPage-DOq8YY_K-B5AJl0PR.js} +47 -47
  119. package/dist/assets/{OpExByVendorPage-h_QozoZk-Y_VYI0CL.js → OpExByVendorPage-JhAQyVWO-CgqLDeMB.js} +8 -8
  120. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DjM5NmlL.js → OverlayContainerPage-CEiw6dk7-DNyrAeAy.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-DdiEIHC--CTPJUly8.js → PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js} +11 -11
  122. package/dist/assets/PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js +107 -0
  123. package/dist/assets/{PeoplePage-BaOppi8Y-DEWrglnT.js → PeoplePage-BJui-Wgk-Blym3c87.js} +32 -32
  124. package/dist/assets/{Preview-sW0kMVUo.js → Preview-CWOI4w-4.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-E65X4lGB-DWS-Tkhs.js → ProductsCarousel-CGhEa82h-Bt-P-vzg.js} +9 -9
  126. package/dist/assets/{PromoBaseCards-O66NGGWD-Ccv3Jja-.js → PromoBaseCards-1PF_kyGP-DnK5w4Qj.js} +8 -8
  127. package/dist/assets/{QBOConnectionDialog-BrMv7xjB-C34rkJLz.js → QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js} +8 -8
  128. package/dist/assets/QBOSetupSection-QpfgbXqT-DZhl1eaB.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DJNl2oqj-DeyzK8lw.js → ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-tnc2z3Es-DOwbo35O.js → ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js} +27 -27
  131. package/dist/assets/ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage--ddzF7ri-CzikH3CP.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-2VrhpV75-a2dhwHIc.js → ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js} +13 -13
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js +1 -0
  135. package/dist/assets/{ReloadCard-BakyoznA-CA9nzANX.js → ReloadCard-crbWeOPP-CkioU763.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-C7w_WVnY-CLbunAZc.js → ReportTableViewSelector-KXoOW677-Cxk4-6kw.js} +8 -8
  137. package/dist/assets/{ReportsPage-BeZqGQ2i-Btosfa-g.js → ReportsPage-C3Jj54B2-CJg2yyXf.js} +11 -11
  138. package/dist/assets/{RevenueChart-BcRkSSWz-BKO407XR.js → RevenueChart-B2lwdex1-DM-m44Ax.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CA5CBeB7-C4U0XjzD.js → ReviewDetailsPage-BzJuymlx-B43bDwEk.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-DNjbv6Ir-Dh-G1Cuh.js → ReviewOverlay-CXHcM5J8-Z1A7mqWB.js} +13 -13
  141. package/dist/assets/{RoleWithToolTip-CSoHoT3u-B21TJ6ju.js → RoleWithToolTip-q4rQTPKj-BeUt86oC.js} +4 -4
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CLjpednn-DT-uxt3L.js → ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-MEVdw-l_-CtTG8f0e.js → ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-BGx2un0o-C_QwBSSA.js → ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js} +20 -20
  145. package/dist/assets/{ScreenRoutes-B-Tig-dz.js → ScreenRoutes-BGG-33kI.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Blriup16-C3aJ_ixb.js → SetUpAccountSection-Drp97o6h-xxM8m8_w.js} +11 -11
  147. package/dist/assets/{SignIn-DqVQU08d-MEtRCmlD.js → SignIn-YqQXhCUb-BOeW8x0h.js} +26 -26
  148. package/dist/assets/SignInScreen-D-bsy2_u.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-Cd88asmE-CkOyrLvB.js → SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js} +14 -14
  150. package/dist/assets/{SpendManagementPerTabPage-DyPyPQjh-BvYsoQ15.js → SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js} +62 -62
  151. package/dist/assets/{SpendManagementSection-C5fvFmdh-Bn0fZjWl.js → SpendManagementSection-WqBeexgm-D6ZHNQRi.js} +23 -23
  152. package/dist/assets/StatementItem-DNtPyOiC-mibD54OH.js +31 -0
  153. package/dist/assets/StatementsPage-ProqQbaP-BB4Fbh50.js +58 -0
  154. package/dist/assets/{StatusSwitcher-BS4h8SJh-D0u7zV5y.js → StatusSwitcher-CWQs9lpu-RXB7-04g.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-vsehXtEO-DrAXmACq.js → SubTabSwitcher-B2uBojsp-DZNkw8WS.js} +3 -3
  156. package/dist/assets/SummaryCard-Dcd_VUph-BV3h5iTx.js +1 -0
  157. package/dist/assets/{TaskManagementPage-DlzHdHSu-BhXes2IE.js → TaskManagementPage-BM9VR6Lt-C4YfHc_A.js} +48 -48
  158. package/dist/assets/{TimeRangeSwitcher-CFZq5KoG-DVRsZPST.js → TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js} +12 -12
  159. package/dist/assets/{TimeframeSwitcher-Bb7JwirM-aH9WWmWy.js → TimeframeSwitcher--oC4RNb6-CvfDTC-U.js} +6 -6
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BXIevpvE-B9ruDiH-.js → TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js} +1 -1
  161. package/dist/assets/{TopExCard-BQIHsi_z-m7y5kutK.js → TopExCard-DQ50kCvS-_2HPPX6t.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-BYCn9hZ2-ApVTj9Vd.js → TopExDetailPage-iwv1KNmn-sj6nj5zr.js} +18 -18
  163. package/dist/assets/{TransactionDetailPage-BMYeFZH7-Doa2Pq6X.js → TransactionDetailPage-dcUFs9xb-CrNRbBcr.js} +32 -32
  164. package/dist/assets/{TransactionList-BMfwxUes-DEHNXJ_w.js → TransactionList-1g-61_2b-CWHQyly8.js} +14 -14
  165. package/dist/assets/{TransactionListBig-CSjliLzH-BlhJcsod.js → TransactionListBig-CSrLWjaV-BtYTXkmc.js} +17 -17
  166. package/dist/assets/TransactionListPage-CKkWpoxH-CDqG5M4K.js +35 -0
  167. package/dist/assets/TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js +80 -0
  168. package/dist/assets/{TransferDrawerPage-4lrBrmvC-CMNGzy3T.js → TransferDrawerPage-nyepeege-Tib1D3Ko.js} +35 -35
  169. package/dist/assets/{TreasuryOverviewPage-DNUrwQ-l-ia-jTHnQ.js → TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js} +50 -50
  170. package/dist/assets/{TreasuryPromoPage-CjjmLEyR-nrnRjAi8.js → TreasuryPromoPage-B55rqmLO-BovduQF3.js} +16 -16
  171. package/dist/assets/{TreasuryStatementsPage-CGax-FVg-8vTbW-_F.js → TreasuryStatementsPage-DA72LRB2-COfX6A9q.js} +7 -7
  172. package/dist/assets/{TreasuryTaxLetterPage-DapKFecA-DXgs0ATM.js → TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js} +6 -6
  173. package/dist/assets/{TrendChart-t_2mlnuR-CERqesit.js → TrendChart-BsSVNJm5-CngvRWQH.js} +3 -3
  174. package/dist/assets/{TrendWithTransactions-BjQX1uvO-DenLKRO1.js → TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js} +9 -9
  175. package/dist/assets/{UncategorizedAccountsMappingPage-C9DJ4P_n-Ro3FVDaB.js → UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js} +11 -11
  176. package/dist/assets/{UnitIntegrationPage-CzfmBBVs-BopvpHyA.js → UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js} +11 -11
  177. package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js +38 -0
  178. package/dist/assets/{Vendor2FAPopup-Jhuzv3Fs-tUzA32lC.js → Vendor2FAPopup-BPoFrkoj-DQVyS_En.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-_UmamDKx-3__MSdLg.js +1 -0
  180. package/dist/assets/{VendorDetailPage-D_ia0GnG-B49M2ZP7.js → VendorDetailPage-C0qX459r-CReufchw.js} +24 -24
  181. package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-6mV7WBuT-BWmRczAy.js → VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js} +14 -14
  183. package/dist/assets/{VendorFirstReviewPage-BIh28s7e-ColL0iSX.js → VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js} +49 -49
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CXmAXDcB-DSmfTY7c.js → VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js} +14 -14
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-kJAKmxCN-CWJp4NJ-.js → VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js} +2 -2
  187. package/dist/assets/{VerifyDevice-Cclxcvod-D20OHgjv.js → VerifyDevice-B23jU0_c-B85D_w3i.js} +16 -16
  188. package/dist/assets/{VideoPlayer-B0jJK498-CGA824ir.js → VideoPlayer-CylTUX4X-BEZtED7z.js} +2 -2
  189. package/dist/assets/{VideoPopup-BUq4CaWy-DimJ3JCD.js → VideoPopup-C9x0ntQ5-C94oLuE1.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-B7Pmv7_n-kXfVaSXC.js → WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js} +8 -8
  191. package/dist/assets/{ZeniAccountDetailPage-l5IuVidF-CW_GL18E.js → ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js} +34 -34
  192. package/dist/assets/{ZeniAccountListViewPage-CtOCukoi-CYfD8pTw.js → ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js} +15 -15
  193. package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-DhuZowvX-CVk5B-kr.js → ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js} +19 -19
  195. package/dist/assets/ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js +36 -0
  196. package/dist/assets/{ZeniCopyright-CxIm7c5S--2kE3ceg.js → ZeniCopyright-eB9rNuZ3-BNyg83Vo.js} +1 -1
  197. package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js +63 -0
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-2_ZqEJN8.js → add-to-wallet-DgdBD8_G-DHrWYIzW.js} +1 -1
  199. package/dist/assets/{analytics-BBRM4OiD.js → analytics-g5EpLRud.js} +1 -1
  200. package/dist/assets/{analyticsHelper-BXN2EdPH-CuwfHCAO.js → analyticsHelper-CLY1vV_E-BemgqSJF.js} +1 -1
  201. package/dist/assets/analyticsHelper-D-tLilsz.js +1 -0
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DR4719pa.js → arrow-south-east-round-PEovUgvH-Clrgdbmr.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ci6J7Ip0.js → auto-transfer-rule-mbafm5D3-DfhOF4oT.js} +1 -1
  204. package/dist/assets/{chartTypes-qqLvT6t1-7O4vNfmq.js → chartTypes-BjaXr-A2-DXtLo4Yx.js} +1 -1
  205. package/dist/assets/{commonDimensions-CDU138wy-DgQLDeKn.js → commonDimensions-C0X17W9N-BSrHO4N_.js} +1 -1
  206. package/dist/assets/commonTypes-BN7Uh_8W-pfbkHgmN.js +1 -0
  207. package/dist/assets/{constants-BmT2TL-e.js → constants-BnWgOytJ.js} +1 -1
  208. package/dist/assets/{core-Do2fm07V.js → core-hVMF2uNa.js} +1 -1
  209. package/dist/assets/{dash.all.min-D2uGWKCW.js → dash.all.min-DDFTHNwM.js} +1 -1
  210. package/dist/assets/{detailCommon-DP02lgW9-vucebEDD.js → detailCommon-D9PsnkY1-BuBcpPrC.js} +9 -9
  211. package/dist/assets/downloadPdf-DE7Hd8jE-DAbFGRh1.js +1 -0
  212. package/dist/assets/{empty-CG4BtfpL.js → empty-B0DaVBWz.js} +1 -1
  213. package/dist/assets/{empty-BIlH-46e.js → empty-BNJPHWFv.js} +1 -1
  214. package/dist/assets/epic-BVJNtCg8.js +2 -0
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BdsqEOj4.js → gift-box-Cmt9OgIZ-CLwRJG71.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DF0OrKm5.js → graphic-no-data-l-DU4J8fDt-C7rs195d.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CM78Nc1Q.js → graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BspZ_I_6.js → handshake-BPg58FML-BW29_pZa.js} +1 -1
  219. package/dist/assets/{index-CR39DFew.js → index-6pOBrRlk.js} +1 -1
  220. package/dist/assets/{index-Cp1ulRx2.js → index-B3faO1JB.js} +1 -1
  221. package/dist/assets/{index-pMF5YQ_m.js → index-BAImUaY2.js} +1 -1
  222. package/dist/assets/{index-DQZa93pl.js → index-CRNmezJu.js} +5847 -5643
  223. package/dist/assets/{index-DFlS_heD.js → index-C_w5gZ8Z.js} +1 -1
  224. package/dist/assets/{index-C2f4G0t2.js → index-lOJEokPl.js} +1 -1
  225. package/dist/assets/{index-Bswxpdzz.js → index-rCukSMbs.js} +1 -1
  226. package/dist/assets/{lexical-DSAIO3Yn.js → lexical-DYQnWL1V.js} +1 -1
  227. package/dist/assets/{liveblocks-5qJQL8gF.js → liveblocks-BKvkleJ3.js} +1 -1
  228. package/dist/assets/{lottie--QmfecC7.js → lottie-N_bekW9H.js} +1 -1
  229. package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js +1 -0
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DLeyrCPV-BTjehxZr.js → mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js} +1 -1
  231. package/dist/assets/{mapSpacerToTreeNode-Bl4MSBc9-BHj6uU7U.js → mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js +1 -0
  234. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js +1 -0
  235. package/dist/assets/{mui-CmeRX-VQ.js → mui-mhzAEcDs.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-CPWyYVtN.js → page-detail-CWX5S47F-C7t8NOxn.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-D7Q2flwX.js → radio-default-CiSgisfh-j32Y6uZn.js} +1 -1
  238. package/dist/assets/{react-DsqxiHdu.js → react-3qVVe610.js} +1 -1
  239. package/dist/assets/{react-DrAOa_iQ.js → react-BcEP-SPV.js} +1 -1
  240. package/dist/assets/{react-DmYoNffX.js → react-CQNyoV6B.js} +1 -1
  241. package/dist/assets/{react-BKgEbN-_.js → react-CYwBg0du.js} +3 -3
  242. package/dist/assets/{react-DQ_PkCNg.js → react-DmkejrPd.js} +1 -1
  243. package/dist/assets/{react-DuQAyt3l.js → react-DtZ57b9E.js} +1 -1
  244. package/dist/assets/{react-BfxQP3vv.js → react-Dvjzsiej.js} +1 -1
  245. package/dist/assets/{react-CIctTSs3.js → react-d4G_qR0V.js} +1 -1
  246. package/dist/assets/{recharts-CJ6qqxTN.js → recharts-BErFcng5.js} +21 -21
  247. package/dist/assets/{sentry-BNP8a0zR.js → sentry-Dla7mstv.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-Cm4FIM1p.js → shield-DOlUxcFf-CJdp4Bi9.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js +1 -0
  250. package/dist/assets/toChartData-D5QdTlGa-DOsyIRYt.js +1 -0
  251. package/dist/assets/{uploadAttachment-DfTOIWsX-6t7i7104.js → uploadAttachment-BLADYUsp-BO1TVLxu.js} +24 -24
  252. package/dist/assets/{uploadReceipts-CPw64UYa-BcQPt3-r.js → uploadReceipts-CLN2DLHQ-CHihhpL-.js} +1 -1
  253. package/dist/assets/{url-VEY1UCYp.js → url-B3SdXouN.js} +1 -1
  254. package/dist/assets/{url-BTRZ5vkp.js → url-HFFKPU2S.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-BCAcXgBo.js → useLongPress-GCK2COYQ-km9xaFy6.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-DPIrzT0R.js → usp-line-BBd1wKwW-C5eOwLOD.js} +1 -1
  257. package/dist/assets/{utils-e2QIiaj6.js → utils-D6NmQd1Q.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Dg9gbL0X.js → zeni-epic-state-CSmiPBaP.js} +17 -17
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/ACHDetailsPage-CGG2Hx4v-D7yIQCry.js +0 -21
  262. package/dist/assets/AccountInfoPage-CSf3J58F-Cl2GeY-g.js +0 -18
  263. package/dist/assets/AccountLockedInfoModal-DJnj--uc-koeXDtEf.js +0 -59
  264. package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-BV3QuRmo.js +0 -6
  265. package/dist/assets/ApAgingDetailPage-DAZAnfcs-DWv5Yh4n.js +0 -46
  266. package/dist/assets/AppBasePage-D7_krMlm-BcE42pkQ.js +0 -71
  267. package/dist/assets/AppDrawerContent-DWL57wUk-CC44KEXc.js +0 -91
  268. package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--BJ2NKaoh.js +0 -47
  269. package/dist/assets/ArAgingDetailPage-Is5kv2-P-DJnGHSYh.js +0 -46
  270. package/dist/assets/BillPayPromoPage-DkyMRquU-DTY8MM9Y.js +0 -84
  271. package/dist/assets/BillingSettingsPage-C4P_B31U-Cfs6pjmS.js +0 -44
  272. package/dist/assets/BillsBulkReviewDrawerPage-C_Nmv34F-BAM1q_aH.js +0 -1
  273. package/dist/assets/BusinessVerificationPage-Dr_YFkLN-Dgei6fS5.js +0 -138
  274. package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BADKuNSc.js +0 -222
  275. package/dist/assets/ChargeCardSetupPage-Dbz_GdRL-DjaSn21P.js +0 -36
  276. package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-BbAL-oK2.js +0 -260
  277. package/dist/assets/CompanyPassportPage-Dva5Le3j-D51_q_Y7.js +0 -574
  278. package/dist/assets/ConfettiBurst-BV8M1GTR-BVYnD-Q8.js +0 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-C1_0JVsL.js +0 -1
  280. package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-DtveQ7yB.js +0 -66
  281. package/dist/assets/CustomerOnboardingPage-3ECCqY1a-xqvBd5Qh.js +0 -107
  282. package/dist/assets/DashboardSidebarBackgroundAnimation-BSwRgXFk-BPePj2Wo.js +0 -12
  283. package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-BP1udS96.js +0 -66
  284. package/dist/assets/DomesticWireDetailsPage-DF8bLeDL-D0xzJqsD.js +0 -21
  285. package/dist/assets/EditPeoplePage-CgUM9UYI-BAqH68yz.js +0 -55
  286. package/dist/assets/EntityDetailPage-ByHvXL2c-Beeyu-G8.js +0 -18
  287. package/dist/assets/InsightsSection-Drr3r1BL-C9c9bqpC.js +0 -27
  288. package/dist/assets/InternationalWireVerificationPage-Daxni4YY-JL0FId5s.js +0 -292
  289. package/dist/assets/InvitePeoplePage-Bbv2pjhR-CYOtKdsv.js +0 -12
  290. package/dist/assets/InvoiceUploadSection-CO34IhU8-JbGvXJ0T.js +0 -140
  291. package/dist/assets/LabeledControlledCheckBoxField-BKqCiNdy-CM22FFCx.js +0 -16
  292. package/dist/assets/LabeledDocumentField-DtOCNiEg-DXiIrThr.js +0 -41
  293. package/dist/assets/LabeledDropDownFormattedTextField-CsbwG9At-DIUamMH-.js +0 -59
  294. package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-pn4oFles.js +0 -1
  295. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-B71ZSyrD.js +0 -1
  296. package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-Db2W2C2p.js +0 -1
  297. package/dist/assets/MailingDetailsSection-CjO5OVZN-Dz2JVYO4.js +0 -21
  298. package/dist/assets/Menu-C_kotivE-Ds4oTnIO.js +0 -17
  299. package/dist/assets/MyPendingActivationChargeCardListPage-rmpT6HFS-C1iVUySe.js +0 -6
  300. package/dist/assets/MyProfileSettingsPage-CTmDuFNJ-B8SISS7w.js +0 -85
  301. package/dist/assets/NavBarWithPicker-VzNJnXX3-BDjvvCEc.js +0 -30
  302. package/dist/assets/NotificationsListConfig-QOeX1KBS-D9NF4wUP.js +0 -1
  303. package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-CZR5voSo.js +0 -107
  304. package/dist/assets/QBOSetupSection-B5D4uUOv-MAL2gOfN.js +0 -79
  305. package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-B2XEgJlN.js +0 -314
  306. package/dist/assets/ReimbursementPromoPage-04Cqe8zH-BF3bPMI0.js +0 -84
  307. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CEZlRH0_-MrMy8MR2.js +0 -1
  308. package/dist/assets/SignInScreen-D9nF3yiB.js +0 -1
  309. package/dist/assets/StatementItem-CBGi9f9C-Cr6QkeSJ.js +0 -31
  310. package/dist/assets/StatementsPage-De1wPDzS-B0PK-CHG.js +0 -58
  311. package/dist/assets/SummaryCard-gehzCCsW-Cjgj1j9L.js +0 -1
  312. package/dist/assets/TransactionListPage-C2Iz7CDJ-CkfLhDDt.js +0 -35
  313. package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-DhwshIVT.js +0 -80
  314. package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-B58eaKgn.js +0 -38
  315. package/dist/assets/VendorACHDetailsPage-BRmIiet8-B8gcWxAN.js +0 -1
  316. package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-4WFyiovr.js +0 -1
  317. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-B-spEVUY.js +0 -1
  318. package/dist/assets/ZeniAccountNavBarPieces-DHpWht7s-VBOXJCOm.js +0 -14
  319. package/dist/assets/ZeniAccountSetupPage-DXmdPnU2-DOblHg7I.js +0 -36
  320. package/dist/assets/ZeniTransferAmountSlider-7nRSeYbl-BQ73fGD1.js +0 -63
  321. package/dist/assets/analyticsHelper-xgNCzNxL.js +0 -1
  322. package/dist/assets/downloadPdf-Dl5UuOv_-DienLm7C.js +0 -1
  323. package/dist/assets/epic-BdBiMEYK.js +0 -2
  324. package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-D3IuGgnr.js +0 -1
  325. package/dist/assets/mapTimeframeBalancesToTreeNode-BNP8a_pF-CPs7JdUi.js +0 -1
  326. package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-DsHKM7xd.js +0 -1
  327. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-oOsdpevM.js +0 -1
  328. package/dist/assets/toCOABalancesWithID-BM2RMkm6-C8TFs9o9.js +0 -1
  329. package/dist/assets/toChartData-xURa2wgf-D2bH9o56.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,kP as lt,kQ as ot,kR as rt,cI as Ve,cF as dt,eY as st,fA as ct,fB as pt,cH as Ae,g8 as mt,kS as ut,cL as ht,cM as yt,f3 as ze,f4 as ke,fd as Oe,b as ge,d as u,ff as gt,b9 as ft,b6 as be,p as Ee,am as xt,ar as We}from"./index-DQZa93pl.js";import{a as Z}from"./sentry-BNP8a0zR.js";import{n as d}from"./mui-CmeRX-VQ.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-Dg9gbL0X.js";import{Y as vt}from"./LabeledDocumentField-DtOCNiEg-DXiIrThr.js";import{S as te}from"./LabeledText-C4GeOHM8-DuQryGxi.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.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]="c1f5c97e-9344-43f2-ada8-0c828c884323",e._sentryDebugIdIdentifier="sentry-dbid-c1f5c97e-9344-43f2-ada8-0c828c884323")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=X(),a=Re(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(It,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{e as Be,J as G,O as q,a9 as et,aR as Fe,cF as tt,V as t,bC as it,ac as at,aS as nt,y as f,o as n,kS as lt,kT as ot,kU as rt,cN as Ve,cK as dt,e$ as st,fD as ct,fE as pt,cM as ke,gb as mt,kV as ut,cR as ht,cS as yt,f6 as ze,f7 as Ae,fg as Oe,b as ge,c as u,fi as gt,bb as ft,b8 as be,p as Ee,am as xt,ar as We}from"./index-CRNmezJu.js";import{a as J}from"./sentry-Dla7mstv.js";import{n as d}from"./mui-mhzAEcDs.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-CSmiPBaP.js";import{Y as vt}from"./LabeledDocumentField-y5kqHnHe-CmBeTY2E.js";import{S as te}from"./LabeledText-D0g7m29R-CGPY2mDY.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="cd17c301-441d-4634-839e-cdd78897e512",e._sentryDebugIdIdentifier="sentry-dbid-cd17c301-441d-4634-839e-cdd78897e512")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Be(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Pt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -13,12 +13,12 @@ import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
13
13
  margin-left: ${n.sp2};
14
14
  margin-bottom: ${n.sp5};
15
15
  align-self: flex-start;
16
- `,Pt=d.div`
16
+ `,It=d.div`
17
17
  display: flex;
18
18
  margin: ${n.sp3} ${n.sp0};
19
19
  justify-content: space-between;
20
20
  height: ${n.sp6};
21
- `,It=d.div`
21
+ `,Pt=d.div`
22
22
  display: flex;
23
23
  flex-direction: column;
24
24
  align-items: center;
@@ -31,24 +31,24 @@ import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
31
31
  margin: -${n.sp2} ${n.sp3} ${n.sp3} ${n.sp3};
32
32
  justify-content: space-between;
33
33
  height: 186px;
34
- `,Ft=d.div`
34
+ `,Dt=d.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  align-items: flex-start;
38
38
  position: relative;
39
39
  height: ${e=>`${e.perSectionHeight}%`};
40
40
  color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
41
- `,I={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Dt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById:P,updateFileStatusById:x,onClickAddAccount:w})=>{const o=X(),{spendManagement:D,dateFormat:y,common:C}=q.getLocalizedStrings(),$=D.billPay.billDetails,J=y.visual.defaultInput,re=D.zeniAccounts.expressPay,de=C.documents,H=I.largeLabelWidth.value(o),[g,K]=Z.useState(!1),_=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),A=r=>s.find(m=>m.id===r),L=r=>ze(A(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=A(r),j=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(U=>t.jsxs(W,{children:[t.jsxs(z,{children:[U.name,j.paymentDetails.colon]}),t.jsx(E,{children:U.value})]},U.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(At,{children:$.paymentDetailsTitle}),t.jsxs(kt,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:H,style:{marginLeft:I.labelMarginLeftPicker.valuePx(o),marginTop:I.labelMarginTopPicker.valuePx(o),marginRight:I.labelMarginRightPicker.valuePx(o),width:I.largeLabelPickerWidth.value(o)}},style:{paddingTop:I.labeledFieldPaddingTop.valuePx(o),paddingBottom:I.labeledFieldPaddingBottom.valuePx(o),paddingLeft:I.labeledFieldPaddingLeft.valuePx(o),paddingRight:I.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:I.infoLabelPaddingRight.valuePx(o),marginTop:I.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:Ae($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(Y,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:H},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Ae($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(Y,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:I.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:_,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(Y,{}),t.jsx(ht,{label:{label:$.paymentDate,width:I.labelWidth.value(o)},style:{paddingBottom:I.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:J,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(Y,{}),t.jsx(Ve,{label:{label:$.paymentTo,width:H},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(Y,{}),t.jsx(vt,{name:V(e,"receipt"),sizeLimit:yt,deleteFileStatusById:P,updateFileStatusById:x,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:H},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>K(r),isOptional:!0,style:T!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),T==null?t.jsx(Ot,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(Y,{})]})]})},At=d(be)`
41
+ `,P={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Ft=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById:I,updateFileStatusById:x,onClickAddAccount:w})=>{const o=G(),{spendManagement:F,dateFormat:y,common:C}=q.getLocalizedStrings(),$=F.billPay.billDetails,K=y.visual.defaultInput,re=F.zeniAccounts.expressPay,de=C.documents,H=P.largeLabelWidth.value(o),[g,X]=J.useState(!1),U=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),k=r=>s.find(m=>m.id===r),L=r=>ze(k(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=k(r),j=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(_=>t.jsxs(W,{children:[t.jsxs(z,{children:[_.name,j.paymentDetails.colon]}),t.jsx(E,{children:_.value})]},_.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(kt,{children:$.paymentDetailsTitle}),t.jsxs(At,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:H,style:{marginLeft:P.labelMarginLeftPicker.valuePx(o),marginTop:P.labelMarginTopPicker.valuePx(o),marginRight:P.labelMarginRightPicker.valuePx(o),width:P.largeLabelPickerWidth.value(o)}},style:{paddingTop:P.labeledFieldPaddingTop.valuePx(o),paddingBottom:P.labeledFieldPaddingBottom.valuePx(o),paddingLeft:P.labeledFieldPaddingLeft.valuePx(o),paddingRight:P.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:P.infoLabelPaddingRight.valuePx(o),marginTop:P.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:ke($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(Y,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:H},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:ke($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(Y,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:P.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:U,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(Y,{}),t.jsx(ht,{label:{label:$.paymentDate,width:P.labelWidth.value(o)},style:{paddingBottom:P.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:K,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(Y,{}),t.jsx(Ve,{label:{label:$.paymentTo,width:H},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(Y,{}),t.jsx(vt,{name:V(e,"receipt"),sizeLimit:yt,deleteFileStatusById:I,updateFileStatusById:x,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:H},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>X(r),isOptional:!0,style:T!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),T==null?t.jsx(Ot,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(Y,{})]})]})},kt=d(be)`
42
42
  color: ${e=>e.theme.colors.primary};
43
43
  margin-bottom: ${n.sp3};
44
- `,kt=d.div`
44
+ `,At=d.div`
45
45
  display: flex;
46
46
  flex-direction: column;
47
47
  background-color: ${e=>e.theme.colors.grey5};
48
48
  border: 1px solid ${e=>e.theme.colors.grey3};
49
49
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
50
50
  border-radius: ${n.sp2};
51
- width: ${e=>I.containerWidth.valuePx(e.windowSize)};
51
+ width: ${e=>P.containerWidth.valuePx(e.windowSize)};
52
52
  `,Y=d.div`
53
53
  display: flex;
54
54
  flex: 1;
@@ -79,10 +79,10 @@ import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
79
79
  border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
80
80
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
81
81
  color: ${e=>e.isError?Ee.important:e.theme.colors.grey1};
82
- `,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=X(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Lt.largeLabelWidth.value(p),P=Z.useRef();Z.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&P.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const x={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),P.current=C}},w=x?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:_e(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},D={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(Rt,{children:t.jsxs(Vt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:T},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:D,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:x?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Ve,{label:{label:l.recipientType,width:T},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:T},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},_e=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(be)`
82
+ `,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Lt.largeLabelWidth.value(p),I=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&I.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const x={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),I.current=C}},w=x?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:Ue(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},F={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Rt,{children:l.recipientSectionTitle}),t.jsx(Bt,{children:t.jsxs(Vt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:T},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:x?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Ve,{label:{label:l.recipientType,width:T},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:T},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},Ue=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Rt=d(be)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${n.sp3};
85
- `,Rt=d.div`
85
+ `,Bt=d.div`
86
86
  display: flex;
87
87
  flex-direction: column;
88
88
  `,Vt=d.div`
@@ -98,7 +98,7 @@ import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
98
98
  background-color: ${e=>e.theme.colors.grey3};
99
99
  min-height: 1px;
100
100
  max-height: 1px;
101
- `,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=X(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:T,common:P}=q.getLocalizedStrings(),x=l.billDetails,w=i?.paymentType,o=T.visual.MMMDCommaYYYYformat,D={amount:i?.amount?.amount??0,currencyCode:P.currency.currencyCode,currencySymbol:P.currency.currencySymbol},y=ze(a.find(J=>J.id===i?.paymentToAccountId)),C=i?.paymentDate,$=ke(w?.method??"");return t.jsx(Ut,{children:t.jsxs(Yt,{windowSize:h,style:s,children:[t.jsxs(Jt,{children:[t.jsx(ae,{children:x.pay}),t.jsx(ae,{children:t.jsx(Oe,{amount:D,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:x.to}),t.jsx(ae,{children:e})]}),t.jsxs(Zt,{windowSize:h,children:[t.jsx(te,{label:{label:x.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):P.strings.empty}),t.jsx(xe,{}),t.jsx(te,{label:{label:x.paymentMethod,width:p},style:{width:"auto"},value:ke(w?.method??"")}),t.jsx(xe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:x.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${x.estimatedArrival}${qe(He(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${x.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${x.deliveryTimeUnits})`}),t.jsx(xe,{})]}):null,t.jsx(te,{label:{label:x.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(qt,{windowSize:h,children:[t.jsx(Ht,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(_t,{children:t.jsx(Oe,{amount:wt(D.amount,D.currencyCode,D.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
101
+ `,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:T,common:I}=q.getLocalizedStrings(),x=l.billDetails,w=i?.paymentType,o=T.visual.MMMDCommaYYYYformat,F={amount:i?.amount?.amount??0,currencyCode:I.currency.currencyCode,currencySymbol:I.currency.currencySymbol},y=ze(a.find(K=>K.id===i?.paymentToAccountId)),C=i?.paymentDate,$=Ae(w?.method??"");return t.jsx(_t,{children:t.jsxs(Yt,{windowSize:h,style:s,children:[t.jsxs(Kt,{children:[t.jsx(ae,{children:x.pay}),t.jsx(ae,{children:t.jsx(Oe,{amount:F,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:x.to}),t.jsx(ae,{children:e})]}),t.jsxs(Jt,{windowSize:h,children:[t.jsx(te,{label:{label:x.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):I.strings.empty}),t.jsx(xe,{}),t.jsx(te,{label:{label:x.paymentMethod,width:p},style:{width:"auto"},value:Ae(w?.method??"")}),t.jsx(xe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:x.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${x.estimatedArrival}${qe(He(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${x.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${x.deliveryTimeUnits})`}),t.jsx(xe,{})]}):null,t.jsx(te,{label:{label:x.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(qt,{windowSize:h,children:[t.jsx(Ht,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(Ut,{children:t.jsx(Oe,{amount:wt(F.amount,F.currencyCode,F.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
102
102
  display: flex;
103
103
  width: 100%;
104
104
  box-sizing: border-box;
@@ -119,12 +119,12 @@ import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
119
119
  width: 100%;
120
120
  color: ${e=>e.theme.colors.primary};
121
121
  align-items: center;
122
- `,_t=d(We)`
122
+ `,Ut=d(We)`
123
123
  display: flex;
124
124
  width: calc(100% - 176px);
125
125
  justify-content: flex-end;
126
126
  color: ${e=>e.theme.colors.primary};
127
- `,Ut=d.div`
127
+ `,_t=d.div`
128
128
  display: flex;
129
129
  flex-direction: column;
130
130
  width: 100%;
@@ -135,7 +135,7 @@ import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
135
135
  flex-direction: column;
136
136
  margin-left: ${e=>oe.reviewContainerMarginLeft.valuePx(e.windowSize)};
137
137
  margin-right: ${e=>oe.reviewContainerMarginRight.valuePx(e.windowSize)};
138
- `,Zt=d.div`
138
+ `,Jt=d.div`
139
139
  display: flex;
140
140
  flex-direction: column;
141
141
  background-color: ${e=>e.theme.colors.grey5};
@@ -151,13 +151,13 @@ import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
151
151
  background-color: ${e=>e.theme.colors.grey3};
152
152
  min-height: 1px;
153
153
  max-height: 1px;
154
- `,Jt=d.div`
154
+ `,Kt=d.div`
155
155
  display: flex;
156
156
  `,ae=d(be)`
157
157
  display: flex;
158
158
  color: ${e=>e.theme.colors.primary};
159
159
  margin-right: ${n.sp1};
160
- `,Me="expressPayPage",Kt=e=>`${e}_form`,O="recipientDetails",F="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick:P,saveVendorDetailLocalData:x,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:D,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:J,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:H,expressPayLocalData:g,vendorTypeList:K,allPaymentMethods:_,paymentToOptions:A,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:U}=e,[v,G]=Z.useState(0),Ue=Re(),Q=X(),{common:we,spendManagement:Ye}=q.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Ye.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=H,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Ze=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(K,L,A,$e,_,N,g,j,C?.entityAutoCompleteView),values:Be(K,L,A,$e,_,N,g,j,C?.entityAutoCompleteView)}),Pe=De(Ce.saveStatus?.fetchState),Ie=De(m);Z.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Je(b,S))});return()=>{c.unsubscribe()}}),Z.useEffect(()=>{Pe==="In-Progress"&&U==="Completed"&&(v===0?(G(1),o?.(g?.vendorId)):v===1&&G(2)),Ie==="In-Progress"&&m==="Completed"&&P(g?.vendorId)},[Pe,U,v,o,g?.vendorId,Ie,m,P]);const Je=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[O].recipient.selectedOption,k=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Ke(S),y(),N?.vendorId!==b&&k!=null&&(l?.(b),he(S,!1,A,b))}else if(c.includes("recipient"))ue(S);else{const b=S[F].paymentMethod?.method,k=g?.paymentType?.method,M=b!=null&&k!=null&&(b.toLowerCase().includes("ach")&&k.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&k.toLowerCase().includes("ach"));he(S,M,A,g?.vendorId)}},Ke=c=>{const S=c[O].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(k=>k.id===S)!=null;if(S!=null&&b===!0){T?.(S),he(c,!1,A,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,k=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Qt(c,k===!0?b:void 0,N,S);x?.(M,b)},he=(c,S,b,k)=>{const M=(()=>{let B=[];return c[F].paymentMethod?.method.includes("wire")===!0?B=b.filter(R=>!!R.bankRoutingNumberWireTransfer).map(R=>R.id):B=b.filter(R=>!!R.bankRoutingNumberAch).map(R=>R.id),B})(),ye=b.find(B=>B.id===c[F]?.paymentTo?.selectedOption),Ge={vendorId:k,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?qe(c[F].paymentDate.toString()):le(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Ge)},Te=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),D()}),Qe=()=>{v===2?G(1):P(g?.vendorId)},Xe=()=>{v===0?P(g?.vendorId):G(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?A.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??_?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Xe,backgroundColor:Ue.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Xt,{windowSize:Q,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Te,children:v===0?t.jsx(Nt,{sectionId:O,vendorTypeList:K,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Dt,{sectionId:F,paymentDetails:Fe,paymentToOptions:A,allPaymentMethods:_,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:J,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:A,vendorName:Ze}):null})})]}),t.jsx(nt,{formId:Kt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(Q):ne.buttonWidth.value(Q),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Te()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(Q):ne.buttonWidth.value(Q),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Qe}})]})},Be=(e,i,a,s,h,p,l,T,P)=>{const x=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[O]:{recipient:{defaultOptions:_e(p?.vendorId,p?.vendorName,P),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??He(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?x:[],selectedOption:l?.paymentToAccountId??x[0]},receipt:T}}};function Qt(e,i,a,s){const h=e[O].recipient.defaultOptions.find(p=>p.value===e[O].recipient.selectedOption);return{vendorType:s===!0?void 0:e[O].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[O].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Xt=d.div`
160
+ `,Me="expressPayPage",Xt=e=>`${e}_form`,O="recipientDetails",D="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick:I,saveVendorDetailLocalData:x,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:F,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:K,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:H,expressPayLocalData:g,vendorTypeList:X,allPaymentMethods:U,paymentToOptions:k,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:_}=e,[v,Q]=J.useState(0),_e=Be(),Z=G(),{common:we,spendManagement:Ye}=q.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Ye.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=H,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Je=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Re(X,L,k,$e,U,N,g,j,C?.entityAutoCompleteView),values:Re(X,L,k,$e,U,N,g,j,C?.entityAutoCompleteView)}),Ie=Fe(Ce.saveStatus?.fetchState),Pe=Fe(m);J.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Ke(b,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Ie==="In-Progress"&&_==="Completed"&&(v===0?(Q(1),o?.(g?.vendorId)):v===1&&Q(2)),Pe==="In-Progress"&&m==="Completed"&&I(g?.vendorId)},[Ie,_,v,o,g?.vendorId,Pe,m,I]);const Ke=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[O].recipient.selectedOption,A=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Xe(S),y(),N?.vendorId!==b&&A!=null&&(l?.(b),he(S,!1,k,b))}else if(c.includes("recipient"))ue(S);else{const b=S[D].paymentMethod?.method,A=g?.paymentType?.method,M=b!=null&&A!=null&&(b.toLowerCase().includes("ach")&&A.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&A.toLowerCase().includes("ach"));he(S,M,k,g?.vendorId)}},Xe=c=>{const S=c[O].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(A=>A.id===S)!=null;if(S!=null&&b===!0){T?.(S),he(c,!1,k,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,A=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Zt(c,A===!0?b:void 0,N,S);x?.(M,b)},he=(c,S,b,A)=>{const M=(()=>{let R=[];return c[D].paymentMethod?.method.includes("wire")===!0?R=b.filter(B=>!!B.bankRoutingNumberWireTransfer).map(B=>B.id):R=b.filter(B=>!!B.bankRoutingNumberAch).map(B=>B.id),R})(),ye=b.find(R=>R.id===c[D]?.paymentTo?.selectedOption),Qe={vendorId:A,amount:{amount:c[D].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[D].paymentDate?qe(c[D].paymentDate.toString()):le(),paymentType:c[D]?.paymentMethod!=null?c[D]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(R=>R.id===c[D]?.withdrawFrom?.selectedOption),receiptFileId:c[D].receipt?.fileId};w?.(Qe)},Te=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),F()}),Ze=()=>{v===2?Q(1):I(g?.vendorId)},Ge=()=>{v===0?I(g?.vendorId):Q(v===1?0:1)},De={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?k.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??U?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Ge,backgroundColor:_e.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Gt,{windowSize:Z,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Te,children:v===0?t.jsx(Nt,{sectionId:O,vendorTypeList:X,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Ft,{sectionId:D,paymentDetails:De,paymentToOptions:k,allPaymentMethods:U,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:K,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=De?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:k,vendorName:Je}):null})})]}),t.jsx(nt,{formId:Xt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(Z):ne.buttonWidth.value(Z),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Te()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(Z):ne.buttonWidth.value(Z),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Ze}})]})},Re=(e,i,a,s,h,p,l,T,I)=>{const x=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[O]:{recipient:{defaultOptions:Ue(p?.vendorId,p?.vendorName,I),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[D]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??He(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?x:[],selectedOption:l?.paymentToAccountId??x[0]},receipt:T}}};function Zt(e,i,a,s){const h=e[O].recipient.defaultOptions.find(p=>p.value===e[O].recipient.selectedOption);return{vendorType:s===!0?void 0:e[O].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[O].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Gt=d.div`
161
161
  display: flex;
162
162
  flex-wrap: wrap;
163
163
  height: 100%;
@@ -165,4 +165,4 @@ import{e as Re,q as X,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
165
165
  align-items: center;
166
166
  background-color: ${e=>e.theme.colors.grey4};
167
167
  margin-top: ${e=>e.windowSize==="small"?n.sp3:0};
168
- `;export{mi as default,Kt as formUniqueName};
168
+ `;export{mi as default,Xt as formUniqueName};
@@ -1,11 +1,11 @@
1
- import{e as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,d as g}from"./index-DQZa93pl.js";import{n as d}from"./mui-CmeRX-VQ.js";import"./sentry-BNP8a0zR.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./zeni-epic-state-Dg9gbL0X.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.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]="40e37710-2197-4866-885c-769a8a93240d",e._sentryDebugIdIdentifier="sentry-dbid-40e37710-2197-4866-885c-769a8a93240d")}catch{}})();const t={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
1
+ import{e as w,J as v,O as y,aW as n,p,V as i,cp as _,y as r,cq as k,cr as x,c as g}from"./index-CRNmezJu.js";import{n as d}from"./mui-mhzAEcDs.js";import"./sentry-Dla7mstv.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./zeni-epic-state-CSmiPBaP.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="31508982-bfa4-41df-9af9-a1c2aa18b481",o._sentryDebugIdIdentifier="sentry-dbid-31508982-bfa4-41df-9af9-a1c2aa18b481")}catch{}})();const a={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
5
5
  width: 100%;
6
6
  flex-direction: column;
7
- background-color: ${e=>e.theme.colors.grey4};
7
+ background-color: ${o=>o.theme.colors.grey4};
8
8
  `,W=d.img`
9
9
  width: 100%;
10
10
  height: 100%;
11
- `,C={mobile:{dashboard:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",people:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_accountant:"",ai_cfo:""},normal:{dashboard:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",people:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_accountant:"",ai_cfo:""}};function V({menuItem:e,onDemoClick:a,onGoBack:m}){const s=w(),o=y(),u=`${C[o==="small"?"mobile":"normal"][e]}-${s.mode}.png`,{featurePreview:c}=v.getLocalizedStrings(),l=c.popups[e],b=s.mode==="light"?new n(p.backgroundGradient1Light):new n(p.backgroundGradient1Dark),h=s.mode==="light"?new n(p.backgroundGradient2Light):new n(p.backgroundGradient2Dark),f={onOkClick:()=>{a()},onCancelClick:()=>{m()}};return i.jsxs(z,{children:[i.jsx(W,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(_,{titleComponent:i.jsx(x,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:t.buttonWidth.value(o),secondaryButtonWidth:t.buttonWidth.value(o),style:{background:`radial-gradient(50% 50% at 50% 50%, ${b} 0%, ${h} 100%)`,backdropFilter:"blur(2px)",width:t.popupContainerWidth.valuePercentage(o),left:t.popupContainerLeft.value(o)},containerStyle:{border:`1px solid ${s.colors.grey1}`,minWidth:t.popupWidth.valuePx(o)}})]})}export{V as default};
11
+ `,C={mobile:{dashboard:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-mobile",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-mobile",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-mobile",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-mobile",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-mobile",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-mobile",people:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-mobile",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_accountant:"",ai_cfo:""},normal:{dashboard:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dashboard-view-normal",reports:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reports-view-normal",forecast:"https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-view-normal",bills:"https://storage.googleapis.com/zeni-apis.appspot.com/images/bills-view-normal",reimbursements:"https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-view-normal",vendors:"https://storage.googleapis.com/zeni-apis.appspot.com/images/vendors-view-normal",people:"",rewards:"",cards:"",checking:"https://storage.googleapis.com/zeni-apis.appspot.com/images/accounts-view-normal",treasury:"",accounting:"",approval_rules:"",bank_connections:"",business_verification:"",company_details:"",integrations:"",my_profile:"",my_bank_connections:"",notifications:"",billing:"",performance:"",ai_accountant:"",ai_cfo:""}};function O({menuItem:o,onDemoClick:t,onGoBack:m}){const s=w(),e=v(),u=`${C[e==="small"?"mobile":"normal"][o]}-${s.mode}.png`,{featurePreview:c}=y.getLocalizedStrings(),l=c.popups[o],b=s.mode==="light"?new n(p.backgroundGradient1Light):new n(p.backgroundGradient1Dark),h=s.mode==="light"?new n(p.backgroundGradient2Light):new n(p.backgroundGradient2Dark),f={onOkClick:()=>{t()},onCancelClick:()=>{m()}};return i.jsxs(z,{children:[i.jsx(W,{src:u,alt:"feature-preview",loading:"lazy"}),i.jsx(_,{titleComponent:i.jsx(x,{children:l.title}),descriptionComponent:i.jsx(k,{children:l.text}),primaryButtonText:c.scheduleDemo,secondaryButtonText:c.goBack,action:f,primaryButtonWidth:a.buttonWidth.value(e),secondaryButtonWidth:a.buttonWidth.value(e),style:{background:`radial-gradient(50% 50% at 50% 50%, ${b} 0%, ${h} 100%)`,backdropFilter:"blur(2px)",width:a.popupContainerWidth.valuePercentage(e),left:a.popupContainerLeft.value(e)},containerStyle:{border:`1px solid ${s.colors.grey1}`,minWidth:a.popupWidth.valuePx(e)}})]})}export{O as default};
@@ -1,4 +1,4 @@
1
- import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as r,aN as B,ei as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,d as g,gz as ge,cW as be,cY as ye,ao as ve,bF as we,b as W,di as $e,bG as fe,bE as ke}from"./index-DQZa93pl.js";import{n as d}from"./mui-CmeRX-VQ.js";import{a as V}from"./sentry-BNP8a0zR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b7c0bee2-ae9e-4fd1-a7f5-e2cdbdf41893",e._sentryDebugIdIdentifier="sentry-dbid-b7c0bee2-ae9e-4fd1-a7f5-e2cdbdf41893")}catch{}})();const v={width:new I(343,580,726),height:new I(g[6],g[6]),controlHeight:new I(g[6],g[6]),paddingLeftRight:new I(g[3],g[4]),paddingTop:new I(g[3],g[3]),paddingBottom:new I(g[3],g[2]),labelMarginRight:new I(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),i=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:i.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(re,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:i.colors.grey3,borderRadius:r.sp1,color:i.colors.primary},hoverBgColor:i.colors.background,bgColor:i.colors.background,disabledColor:i.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Ie,{}),l.jsx(se,{})]}),l.jsxs(re,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:i.colors.grey3,borderRadius:r.sp1,color:i.colors.primary},hoverBgColor:i.colors.background,bgColor:i.colors.background,disabledColor:i.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{J as H,V as l,O as Y,cJ as _,es as G,e as ee,cO as J,y as L,gg as Z,o as i,aQ as B,ek as ce,aE as le,g7 as pe,g8 as ue,r as he,p as u,c as g,gE as ge,c_ as be,eB as ye,ao as ve,bH as we,b as W,dk as $e,bI as fe,bG as ke}from"./index-CRNmezJu.js";import{n as d}from"./mui-mhzAEcDs.js";import{a as V}from"./sentry-Dla7mstv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="7ed8c53d-8dee-4847-a35f-08a48fb27051",e._sentryDebugIdIdentifier="sentry-dbid-7ed8c53d-8dee-4847-a35f-08a48fb27051")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=_(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -9,7 +9,7 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
9
9
  padding-right: ${e=>v.paddingLeftRight.valuePx(e.size)};
10
10
  padding-top: ${e=>v.paddingTop.valuePx(e.size)};
11
11
  padding-bottom: ${e=>v.paddingBottom.valuePx(e.size)};
12
- gap: ${r.sp3};
12
+ gap: ${i.sp3};
13
13
 
14
14
  :first-of-type {
15
15
  border-top-left-radius: inherit;
@@ -70,19 +70,19 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
70
70
  width: 100%;
71
71
  align-items: baseline;
72
72
  flex-grow: 1;
73
- gap: ${r.sp3};
73
+ gap: ${i.sp3};
74
74
  input {
75
75
  text-align: left;
76
76
  }
77
- `,re=d.div`
77
+ `,ie=d.div`
78
78
  width: inherit;
79
79
  position: relative;
80
- `,Le=d.div`
80
+ `,Ie=d.div`
81
81
  align-items: center;
82
82
  display: flex;
83
83
  justify-content: center;
84
- `,Ie=d.div`
85
- width: ${r.sp8};
84
+ `,Le=d.div`
85
+ width: ${i.sp8};
86
86
  height: 2px;
87
87
  background-color: ${e=>e.theme.colors.primary};
88
88
  `,se=d.div`
@@ -94,8 +94,8 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
94
94
  display: flex;
95
95
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
96
96
  white-space: pre-line;
97
- margin-top: ${r.sp1};
98
- `;function De({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),i=ee();return l.jsxs(Se,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,children:[l.jsx(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:i.colors.champion}}),l.jsxs(Ee,{labelWidth:s.width,children:[p.hideField?null:l.jsxs(ze,{children:[l.jsx(de,{}),l.jsx(Ce,{isAdditionalLabel:(!!t.additionalInfoLabel&&t.isDisabled)===!0}),l.jsx(de,{})]}),l.jsxs(Ue,{children:[l.jsxs(ae,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:i.colors.grey3,borderRadius:r.sp1,color:i.colors.primary},hoverBgColor:i.colors.background,bgColor:i.colors.background,disabledColor:i.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(ne,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(ae,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:i.colors.grey3,borderRadius:r.sp1,color:i.colors.primary},hoverBgColor:i.colors.background,bgColor:i.colors.background,disabledColor:i.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(ne,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Se=d.div`
97
+ margin-top: ${i.sp1};
98
+ `;function Se({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=_(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(De,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,children:[l.jsx(J,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Ee,{labelWidth:s.width,children:[p.hideField?null:l.jsxs(ze,{children:[l.jsx(de,{}),l.jsx(Ce,{isAdditionalLabel:(!!t.additionalInfoLabel&&t.isDisabled)===!0}),l.jsx(de,{})]}),l.jsxs(Ue,{children:[l.jsxs(ae,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(ne,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(ae,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(ne,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const De=d.div`
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  align-items: flex-start;
@@ -106,7 +106,7 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
106
106
  padding-right: ${e=>v.paddingLeftRight.valuePx(e.size)};
107
107
  padding-top: ${e=>v.paddingTop.valuePx(e.size)};
108
108
  padding-bottom: ${e=>v.paddingBottom.valuePx(e.size)};
109
- gap: ${r.sp3};
109
+ gap: ${i.sp3};
110
110
 
111
111
  :first-of-type {
112
112
  border-top-left-radius: inherit;
@@ -129,7 +129,7 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
129
129
  }
130
130
 
131
131
  .secondField {
132
- margin-top: ${r.sp3};
132
+ margin-top: ${i.sp3};
133
133
  input {
134
134
  background-color: ${e=>e.isErrorSecondText?u.importantLight:e.theme.colors.background};
135
135
  }
@@ -142,7 +142,7 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
142
142
  }
143
143
 
144
144
  .secondField {
145
- margin-top: ${r.sp3};
145
+ margin-top: ${i.sp3};
146
146
  input {
147
147
  background-color: ${e=>e.isErrorSecondText?u.importantLight:e.theme.colors.background};
148
148
  }
@@ -159,7 +159,7 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
159
159
  }
160
160
 
161
161
  .secondField {
162
- margin-top: ${r.sp3};
162
+ margin-top: ${i.sp3};
163
163
  input {
164
164
  background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isErrorSecondText?u.importantLight:e.theme.colors.background};
165
165
  }
@@ -182,23 +182,23 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
182
182
  align-items: center;
183
183
  display: flex;
184
184
  flex-direction: column;
185
- margin-right: ${r.sp4};
186
- margin-top: ${r.sp3};
185
+ margin-right: ${i.sp4};
186
+ margin-top: ${i.sp3};
187
187
  `,Ce=d.div`
188
188
  width: 2px;
189
- height: ${e=>e.isAdditionalLabel?r.sp10:r.sp7};
189
+ height: ${e=>e.isAdditionalLabel?i.sp10:i.sp7};
190
190
  background-color: ${e=>e.theme.colors.primary};
191
191
  `,de=d.div`
192
- width: ${r.sp2};
193
- height: ${r.sp2};
192
+ width: ${i.sp2};
193
+ height: ${i.sp2};
194
194
  border-radius: 50%;
195
195
  background-color: ${e=>e.theme.colors.primary};
196
196
  `,ne=d(ge)`
197
197
  display: flex;
198
198
  color: ${e=>e.isError?u.important:e.theme.colors.hero};
199
199
  white-space: pre-line;
200
- margin-top: ${r.sp1};
201
- `;function ul(e){return H()==="small"?l.jsx(De,{...e}):l.jsx(je,{...e})}const Ne=({allOptions:e,selectedValue:s,name:t,onSelectedValueChanged:p,valueToLabel:$,disable:k=!1,defaultMenuIsOpen:f,placeholderLabel:j})=>{const{formState:{errors:m}}=q(),T=G(m,t??""),i=ee(),[L,S]=V.useState(void 0),[b,A]=V.useState(f),C=n=>n.map(w=>N(w)),N=V.useCallback(n=>({value:n,label:$(n)}),[$]);V.useEffect(()=>{const n=s==null?void 0:N(s);S(n?.label===""?void 0:n)},[s,$,N]);const _=n=>{p(n)},D=i.colors.grey5,M=i.colors.grey5,F=W.smallRegular,E=W.extraSmallRegular,R={control:(n,{selectProps:w})=>({...n,border:0,height:g[6],backgroundColor:w.menuIsOpen===!0?i.colors.background:T===!0?u.importantLight:i.colors.background,boxShadow:M,":hover":{fill:i.colors.primary,backgroundColor:i.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:M,width:"100%"}),singleValue:(n,{data:w})=>({...n,alignItems:"center",margin:`${r.sp0}`,height:`${r.sp4}`,color:w.value==="require_approval"?u.alertDark:u.successDark,...W.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:w})=>({...n,maxWidth:"100%",cursor:"pointer",...E,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:w.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:r.sp3,marginRight:r.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:D,borderRadius:4,boxShadow:`${r.sp0} 2px ${r.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:g[4],...W.standardRegular.cssObject,color:T===!0?u.important:i.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:w,isFocused:U,isDisabled:z,data:o})=>({...n,...F,height:g[6],color:o.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:w||U?i.colors.background:D,cursor:z?"not-allowed":"pointer",borderTop:o.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:i.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:z?"not-allowed":w?"default":"pointer"},zIndex:2}),input:(n,w)=>({color:i.colors.primary,overflow:"hidden",zIndex:2,height:g[4],width:w.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",...W.standardRegular.cssObject})};return l.jsx(ve,{onClickAway:()=>{A(!1)},children:l.jsx(we,{isMulti:!1,onChange:n=>{_(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:L,value:L,placeholder:j,components:{Option:Re,DropdownIndicator:qe,IndicatorSeparator:Ae,SingleValue:Fe},hideSelectedOptions:!1,styles:R,options:C(e),isClearable:!1,isSearchable:!1,isDisabled:k,defaultMenuIsOpen:b,"data-testid":B("single-select",t)},$e())})},Fe=({children:e,...s})=>l.jsx(fe.SingleValue,{...s,children:e}),Re=e=>{const{data:s,options:t,isFocused:p,label:$,isSelected:k}=e,f=t.find(m=>m.value===s.value),j=typeof s.label=="string"?s.label:s.value;return l.jsxs(fe.Option,{...e,children:[l.jsxs(Pe,{"data-testid":B("single-select-option",j),children:[l.jsxs(Ve,{children:[l.jsx("label",{children:$}),p===!0&&f?.id!=null&&l.jsx(Be,{children:f.id})]}),k?l.jsx(Me,{children:l.jsx(He,{className:"tick-icon"})}):null]}),f.additionalInfo!==""&&l.jsx(l.Fragment,{children:f.additionalInfo})]})},Pe=d.div`
200
+ margin-top: ${i.sp1};
201
+ `;function ul(e){return H()==="small"?l.jsx(Se,{...e}):l.jsx(je,{...e})}const Ne=({allOptions:e,selectedValue:s,name:t,onSelectedValueChanged:p,valueToLabel:$,disable:k=!1,defaultMenuIsOpen:f,placeholderLabel:j})=>{const{formState:{errors:m}}=_(),T=G(m,t??""),r=ee(),[I,D]=V.useState(void 0),[b,q]=V.useState(f),C=n=>n.map(w=>N(w)),N=V.useCallback(n=>({value:n,label:$(n)}),[$]);V.useEffect(()=>{const n=s==null?void 0:N(s);D(n?.label===""?void 0:n)},[s,$,N]);const A=n=>{p(n)},S=r.colors.grey5,M=r.colors.grey5,F=W.smallRegular,E=W.extraSmallRegular,R={control:(n,{selectProps:w})=>({...n,border:0,height:g[6],backgroundColor:w.menuIsOpen===!0?r.colors.background:T===!0?u.importantLight:r.colors.background,boxShadow:M,":hover":{fill:r.colors.primary,backgroundColor:r.colors.background,borderColor:"none"},width:"auto",minHeight:"auto",cursor:"pointer"}),container:n=>({...n,backgroundColor:M,width:"100%"}),singleValue:(n,{data:w})=>({...n,alignItems:"center",margin:`${i.sp0}`,height:`${i.sp4}`,color:w.value==="require_approval"?u.alertDark:u.successDark,...W.standardRegular.cssObject,width:"100%",textOverflow:"ellipsis"}),valueContainer:(n,{selectProps:w})=>({...n,maxWidth:"100%",cursor:"pointer",...E,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:w.menuIsOpen===!1?"flex-end":"flex-start",alignItems:"center",flexWrap:"nowrap",paddingLeft:i.sp3,marginRight:i.sp3,width:" -webkit-fill-available"}),menu:n=>({...n,backgroundColor:S,borderRadius:4,boxShadow:`${i.sp0} 2px ${i.sp2} ${r.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:10,margin:0,width:"100%",WebkitJustifyContent:"unset",overflow:"hidden"}),menuList:n=>({...n,borderRadius:10}),placeholder:n=>({...n,width:"100%",height:g[4],...W.standardRegular.cssObject,color:T===!0?u.important:r.colors.grey1,display:"flex",justifyContent:"flex-start",alignItems:"center"}),option:(n,{isSelected:w,isFocused:U,isDisabled:z,data:o})=>({...n,...F,height:g[6],color:o.value==="require_approval"?u.alertDark:u.successDark,backgroundColor:w||U?r.colors.background:S,cursor:z?"not-allowed":"pointer",borderTop:o.topBorder===!0?`1px solid ${u.optionBorderLight}`:"none",":hover":{backgroundColor:r.colors.background},":first-div":{width:"100%"},"& label":{flex:1,paddingRight:"10px",cursor:z?"not-allowed":w?"default":"pointer"},zIndex:2}),input:(n,w)=>({color:r.colors.primary,overflow:"hidden",zIndex:2,height:g[4],width:w.selectProps.menuIsOpen?"auto":"0",position:"absolute",display:"flex",alignItems:"center",...W.standardRegular.cssObject})};return l.jsx(ve,{onClickAway:()=>{q(!1)},children:l.jsx(we,{isMulti:!1,onChange:n=>{A(n)},minMenuHeight:208,menuPlacement:"auto",menuShouldScrollIntoView:!1,defaultValue:I,value:I,placeholder:j,components:{Option:Re,DropdownIndicator:_e,IndicatorSeparator:qe,SingleValue:Fe},hideSelectedOptions:!1,styles:R,options:C(e),isClearable:!1,isSearchable:!1,isDisabled:k,defaultMenuIsOpen:b,"data-testid":B("single-select",t)},$e())})},Fe=({children:e,...s})=>l.jsx(fe.SingleValue,{...s,children:e}),Re=e=>{const{data:s,options:t,isFocused:p,label:$,isSelected:k}=e,f=t.find(m=>m.value===s.value),j=typeof s.label=="string"?s.label:s.value;return l.jsxs(fe.Option,{...e,children:[l.jsxs(Pe,{"data-testid":B("single-select-option",j),children:[l.jsxs(Ve,{children:[l.jsx("label",{children:$}),p===!0&&f?.id!=null&&l.jsx(Be,{children:f.id})]}),k?l.jsx(Me,{children:l.jsx(He,{className:"tick-icon"})}):null]}),f.additionalInfo!==""&&l.jsx(l.Fragment,{children:f.additionalInfo})]})},Pe=d.div`
202
202
  display: flex;
203
203
  flex-direction: row;
204
204
  align-items: center;
@@ -216,16 +216,16 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
216
216
  padding: 1px 6px;
217
217
  height: 20px;
218
218
  border: 1px solid ${e=>e.theme.colors.primary};
219
- border-radius: ${r.sp1};
220
- margin: 0 ${r.sp5} 0 ${r.sp3};
219
+ border-radius: ${i.sp1};
220
+ margin: 0 ${i.sp5} 0 ${i.sp3};
221
221
  `,Me=d.div`
222
222
  display: flex;
223
223
  `,He=d(ke)`
224
- width: ${r.sp3};
225
- height: ${r.sp3};
224
+ width: ${i.sp3};
225
+ height: ${i.sp3};
226
226
  cursor: pointer;
227
227
  color: ${e=>e.theme.colors.primary};
228
- `,qe=()=>null,Ae=()=>null,_e=({name:e,registerOptions:s,value:t,isDisabled:p,defaultMenuIsOpen:$,placeholderLabel:k})=>{const{control:f}=q(),j=t.allOptions.map(i=>i.value??""),m=i=>t.allOptions.filter(L=>L.value===i)[0]?.label??"",T=i=>t.allOptions.find(L=>L.value===i.value)?.value;return l.jsx(ye,{name:e,control:f,defaultValue:t,rules:s,"data-testid":B("single-select-field",e),render:({field:{value:i,onChange:L}})=>l.jsx(Ne,{allOptions:j,onSelectedValueChanged:S=>{L({allOptions:t.allOptions,selectedOption:T(S)})},valueToLabel:S=>m(S),selectedValue:i.selectedOption,disable:p,name:e,defaultMenuIsOpen:$,placeholderLabel:k})})},me=V.memo(_e,(e,s)=>le(e,s)),O={width:new I(343,580,726),height:new I(g[6],g[6]),paddingLeftRight:new I(g[3],g[4]),paddingTopBottom:new I(g[3],g[3]),labelMarginRight:new I(g[3],g[4])},Y=(e,s)=>`${e}.${s}`;function We({label:e,isDisabled:s,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:f,approveNotifyPlaceholder:j,allUserWithRoles:m,filteredApprovers:T,allAttributes:i,filteredAttributes:L,allAccountingClasses:S,stepsInfo:b,productType:A}){const C=H(),{commonSetUp:{approval:N}}=K.getLocalizedStrings(),_=T.length+L.length,D=m.map(o=>o.user),{control:M,setValue:F}=q(),{fields:E,replace:R}=ce({name:t,control:M}),n=()=>{const o=b[b.length-1].stepIndex,h=xe(o+1,D,i);F(t,[...b,h])},w=o=>{const h=b.filter((a,c)=>c!==o);F(t,h)};V.useEffect(()=>{const o=E.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(o,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:D,allNonUsers:te(i)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:ie}}));R(a)}},[D,b,E,R,i]);const U=b[b.length-1],z=s!=null||_===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(Ge,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:O.labelMarginRight.value(C),width:"auto"}}),b.map((o,h)=>l.jsxs(Ze,{labelWidth:e.width,children:[l.jsxs(Ke,{children:[h+1,"."]}),l.jsx(Qe,{children:l.jsx(me,{name:Y(`${t}.${o.stepIndex}`,"stepType"),value:o.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&o.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||s!=null},placeholderLabel:j})}),l.jsxs(Xe,{children:[l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:o.stepType.selectedOption==null?f:o.stepType.selectedOption==="require_approval"?$:k,name:Y(`${t}.${o.stepIndex}`,"actors"),value:o.actors,operator:o.stepType!=null&&o.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||s!=null},valueToSubtitle:a=>{const c=m.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,A);x.length>0&&y.push(x),c.accountingClassIDs.forEach(Q=>{const P=S.find(X=>X.classId===Q);P!=null&&P.className&&y.push(P.className)})}return y}}),o.stepIndex>0&&l.jsx(Ye,{onClick:()=>w(h)})]})]},E[h]?.id||h)),l.jsx(Je,{disabled:z,children:l.jsx(he,{onClick:n,style:{padding:`${r.sp1} ${r.sp2}`,borderRadius:r.sp1},label:N.addStep,size:"small",disabled:z,"data-testid":B("add-step-button-web")})})]})}const xe=(e,s,t)=>({stepIndex:e,actors:{allUsers:s,selectedUsers:[],allNonUsers:te(t),selectedNonUsers:[]},stepType:{allOptions:ie,selectedOption:void 0}}),te=e=>{const s=K.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(t=>({label:s[t].label,value:t,position:"top",subtitles:[s[t].subTitle]}))},ie=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],Ge=d.div`
228
+ `,_e=()=>null,qe=()=>null,Ae=({name:e,registerOptions:s,value:t,isDisabled:p,defaultMenuIsOpen:$,placeholderLabel:k})=>{const{control:f}=_(),j=t.allOptions.map(r=>r.value??""),m=r=>t.allOptions.filter(I=>I.value===r)[0]?.label??"",T=r=>t.allOptions.find(I=>I.value===r.value)?.value;return l.jsx(ye,{name:e,control:f,defaultValue:t,rules:s,"data-testid":B("single-select-field",e),render:({field:{value:r,onChange:I}})=>l.jsx(Ne,{allOptions:j,onSelectedValueChanged:D=>{I({allOptions:t.allOptions,selectedOption:T(D)})},valueToLabel:D=>m(D),selectedValue:r.selectedOption,disable:p,name:e,defaultMenuIsOpen:$,placeholderLabel:k})})},me=V.memo(Ae,(e,s)=>le(e,s)),O={width:new L(343,580,726),height:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTopBottom:new L(g[3],g[3]),labelMarginRight:new L(g[3],g[4])},Q=(e,s)=>`${e}.${s}`;function We({label:e,isDisabled:s,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:f,approveNotifyPlaceholder:j,allUserWithRoles:m,filteredApprovers:T,allAttributes:r,filteredAttributes:I,allAccountingClasses:D,stepsInfo:b,productType:q}){const C=H(),{commonSetUp:{approval:N}}=Y.getLocalizedStrings(),A=T.length+I.length,S=m.map(o=>o.user),{control:M,setValue:F}=_(),{fields:E,replace:R}=ce({name:t,control:M}),n=()=>{const o=b[b.length-1].stepIndex,h=xe(o+1,S,r);F(t,[...b,h])},w=o=>{const h=b.filter((a,c)=>c!==o);F(t,h)};V.useEffect(()=>{const o=E.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(o,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:S,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[S,b,E,R,r]);const U=b[b.length-1],z=s!=null||A===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(Ge,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:O.labelMarginRight.value(C),width:"auto"}}),b.map((o,h)=>l.jsxs(Ze,{labelWidth:e.width,children:[l.jsxs(Ye,{children:[h+1,"."]}),l.jsx(Ke,{children:l.jsx(me,{name:Q(`${t}.${o.stepIndex}`,"stepType"),value:o.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&o.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||s!=null},placeholderLabel:j})}),l.jsxs(Xe,{children:[l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:o.stepType.selectedOption==null?f:o.stepType.selectedOption==="require_approval"?$:k,name:Q(`${t}.${o.stepIndex}`,"actors"),value:o.actors,operator:o.stepType!=null&&o.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||s!=null},valueToSubtitle:a=>{const c=m.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,q);x.length>0&&y.push(x),c.accountingClassIDs.forEach(K=>{const P=D.find(X=>X.classId===K);P!=null&&P.className&&y.push(P.className)})}return y}}),o.stepIndex>0&&l.jsx(Qe,{onClick:()=>w(h)})]})]},E[h]?.id||h)),l.jsx(Je,{disabled:z,children:l.jsx(he,{onClick:n,style:{padding:`${i.sp1} ${i.sp2}`,borderRadius:i.sp1},label:N.addStep,size:"small",disabled:z,"data-testid":B("add-step-button-web")})})]})}const xe=(e,s,t)=>({stepIndex:e,actors:{allUsers:s,selectedUsers:[],allNonUsers:te(t),selectedNonUsers:[]},stepType:{allOptions:re,selectedOption:void 0}}),te=e=>{const s=Y.getLocalizedStrings().commonSetUp.approval.nonUsers;return e.map(t=>({label:s[t].label,value:t,position:"top",subtitles:[s[t].subTitle]}))},re=[{label:"Require",value:"require_approval"},{label:"Notify",value:"send_notification"}],Ge=d.div`
229
229
  display: flex;
230
230
  flex-direction: column;
231
231
  align-items: flex-start;
@@ -236,7 +236,7 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
236
236
  padding-right: ${e=>O.paddingLeftRight.valuePx(e.size)};
237
237
  padding-top: ${e=>O.paddingTopBottom.valuePx(e.size)};
238
238
  padding-bottom: ${e=>O.paddingTopBottom.valuePx(e.size)};
239
- gap: ${r.sp3};
239
+ gap: ${i.sp3};
240
240
 
241
241
  :first-of-type {
242
242
  border-top-left-radius: inherit;
@@ -272,10 +272,10 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
272
272
  width: 100%;
273
273
  align-items: baseline;
274
274
  flex-grow: 1;
275
- gap: ${r.sp3};
276
- `,Ye=d(be)`
277
- width: ${r.sp3};
278
- height: ${r.sp3};
275
+ gap: ${i.sp3};
276
+ `,Qe=d(be)`
277
+ width: ${i.sp3};
278
+ height: ${i.sp3};
279
279
  cursor: pointer;
280
280
  color: ${e=>e.theme.colors.hero};
281
281
  &:hover {
@@ -290,20 +290,20 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
290
290
  color: ${e=>e.disabled?e.theme.colors.grey1:e.theme.colors.primary};
291
291
  }
292
292
  }
293
- `,Qe=d.div`
293
+ `,Ke=d.div`
294
294
  display: flex;
295
295
  align-items: center;
296
296
  width: 174px;
297
297
  `,Xe=d.div`
298
298
  flex: 2;
299
299
  display: flex;
300
- gap: ${r.sp3};
300
+ gap: ${i.sp3};
301
301
  align-items: baseline;
302
302
  max-height: 300px;
303
- `,Ke=d.div`
304
- width: ${r.sp5};
303
+ `,Ye=d.div`
304
+ width: ${i.sp5};
305
305
  color: ${e=>e.theme.colors.hero};
306
- `;function el({label:e,isDisabled:s,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:f,approveNotifyPlaceholder:j,allUserWithRoles:m,filteredApprovers:T,allAttributes:i,filteredAttributes:L,allAccountingClasses:S,stepsInfo:b,productType:A}){const C=H(),{commonSetUp:{approval:N}}=K.getLocalizedStrings(),_=T.length+L.length,D=m.map(o=>o.user),{control:M,setValue:F}=q(),{fields:E,replace:R}=ce({name:t,control:M}),n=()=>{const o=b[b.length-1].stepIndex,h=xe(o+1,D,i);F(t,[...b,h])},w=o=>{const h=b.filter((a,c)=>c!==o);F(t,h)};V.useEffect(()=>{const o=E.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(o,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:D,allNonUsers:te(i)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:ie}}));R(a)}},[D,b,E,R,i]);const U=b[b.length-1],z=s!=null||_===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(ll,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:O.labelMarginRight.value(C),width:"auto"}}),b.map((o,h)=>l.jsxs(tl,{labelWidth:e.width,children:[l.jsxs(dl,{children:[h+1,"."]}),l.jsxs(al,{children:[l.jsx(me,{name:Y(`${t}.${o.stepIndex}`,"stepType"),value:o.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&o.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||s!=null},placeholderLabel:j}),l.jsxs(sl,{children:[l.jsx(ol,{children:l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:o.stepType.selectedOption==null?f:o.stepType.selectedOption==="require_approval"?$:k,name:Y(`${t}.${o.stepIndex}`,"actors"),value:o.actors,operator:o.stepType!=null&&o.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||s!=null},valueToSubtitle:a=>{const c=m.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,A);x.length>0&&y.push(x),c.accountingClassIDs.forEach(Q=>{const P=S.find(X=>X.classId===Q);P!=null&&P.className&&y.push(P.className)})}return y}})}),o.stepIndex>0&&l.jsx(il,{onClick:()=>w(h),"data-testid":B("delete-step",h.toString())})]})]})]},E[h]?.id||h)),l.jsx(rl,{disabled:z,children:l.jsx(he,{onClick:n,style:{width:"100%"},label:N.addStep,size:"standard",variant:"light_transparent",disabled:z,"data-testid":B("add-step-button-small")})})]})}const ll=d.div`
306
+ `;function el({label:e,isDisabled:s,sectionId:t,style:p,approversPlaceholder:$,notifiersPlaceholder:k,userSelectPlaceholder:f,approveNotifyPlaceholder:j,allUserWithRoles:m,filteredApprovers:T,allAttributes:r,filteredAttributes:I,allAccountingClasses:D,stepsInfo:b,productType:q}){const C=H(),{commonSetUp:{approval:N}}=Y.getLocalizedStrings(),A=T.length+I.length,S=m.map(o=>o.user),{control:M,setValue:F}=_(),{fields:E,replace:R}=ce({name:t,control:M}),n=()=>{const o=b[b.length-1].stepIndex,h=xe(o+1,S,r);F(t,[...b,h])},w=o=>{const h=b.filter((a,c)=>c!==o);F(t,h)};V.useEffect(()=>{const o=E.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}}),h=b.map(a=>{const{actors:c,stepType:y}=a;return{selectedUsers:c.selectedUsers.map(x=>x.userId),selectedNonUsers:c.selectedNonUsers,selectedOption:y.selectedOption}});if(!le(o,h)){const a=b.map((c,y)=>({actors:{selectedUsers:c.actors.selectedUsers,selectedNonUsers:c.actors.selectedNonUsers,allUsers:S,allNonUsers:te(r)},stepIndex:y,stepType:{selectedOption:c.stepType.selectedOption,allOptions:re}}));R(a)}},[S,b,E,R,r]);const U=b[b.length-1],z=s!=null||A===0||U.actors.selectedUsers.length+U.actors.selectedNonUsers.length===0||!U.stepType.selectedOption;return l.jsxs(ll,{size:C,style:p,isDisabled:!1,isError:!1,children:[l.jsx(J,{label:e.label,style:{marginRight:O.labelMarginRight.value(C),width:"auto"}}),b.map((o,h)=>l.jsxs(tl,{labelWidth:e.width,children:[l.jsxs(dl,{children:[h+1,"."]}),l.jsxs(al,{children:[l.jsx(me,{name:Q(`${t}.${o.stepIndex}`,"stepType"),value:o.stepType,isDisabled:h===0,defaultMenuIsOpen:h===1&&o.stepType.selectedOption==null,registerOptions:{required:!0,validate:a=>a!=null&&a.selectedOption!=null||s!=null},placeholderLabel:j}),l.jsxs(sl,{children:[l.jsx(ol,{children:l.jsx(pe,{hideEmailTooltip:!1,shouldHaveBackgroundColor:!0,showBackgroundColorIfHasAnySelectedOption:!0,placeholderLabel:o.stepType.selectedOption==null?f:o.stepType.selectedOption==="require_approval"?$:k,name:Q(`${t}.${o.stepIndex}`,"actors"),value:o.actors,operator:o.stepType!=null&&o.stepType.selectedOption==="require_approval"?"or":"and",registerOptions:{required:!0,validate:a=>a!=null&&(a.selectedUsers!=null&&a.selectedUsers.length>0||a.selectedNonUsers!=null&&a.selectedNonUsers.length>0)||s!=null},valueToSubtitle:a=>{const c=m.map(x=>x.role).find(x=>x?.userId===a),y=[];if(c!=null){const x=ue(c.userRoles,q);x.length>0&&y.push(x),c.accountingClassIDs.forEach(K=>{const P=D.find(X=>X.classId===K);P!=null&&P.className&&y.push(P.className)})}return y}})}),o.stepIndex>0&&l.jsx(rl,{onClick:()=>w(h),"data-testid":B("delete-step",h.toString())})]})]})]},E[h]?.id||h)),l.jsx(il,{disabled:z,children:l.jsx(he,{onClick:n,style:{width:"100%"},label:N.addStep,size:"standard",variant:"light_transparent",disabled:z,"data-testid":B("add-step-button-small")})})]})}const ll=d.div`
307
307
  display: flex;
308
308
  flex-direction: column;
309
309
  align-items: flex-start;
@@ -314,7 +314,7 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
314
314
  padding-right: ${e=>O.paddingLeftRight.valuePx(e.size)};
315
315
  padding-top: ${e=>O.paddingTopBottom.valuePx(e.size)};
316
316
  padding-bottom: ${e=>O.paddingTopBottom.valuePx(e.size)};
317
- gap: ${r.sp3};
317
+ gap: ${i.sp3};
318
318
 
319
319
  :first-of-type {
320
320
  border-top-left-radius: inherit;
@@ -352,17 +352,17 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
352
352
  width: 100%;
353
353
  max-width: 100%;
354
354
  flex-grow: 1;
355
- gap: ${r.sp2};
356
- `,il=d(be)`
357
- width: ${r.sp3};
358
- height: ${r.sp3};
359
- margin-left: ${r.sp2};
355
+ gap: ${i.sp2};
356
+ `,rl=d(be)`
357
+ width: ${i.sp3};
358
+ height: ${i.sp3};
359
+ margin-left: ${i.sp2};
360
360
  cursor: pointer;
361
361
  color: ${e=>e.theme.colors.hero};
362
362
  &:hover {
363
363
  color: ${u.important};
364
364
  }
365
- `,rl=d.div`
365
+ `,il=d.div`
366
366
  width: 100%;
367
367
  display: flex;
368
368
  justify-content: flex-end;
@@ -375,16 +375,16 @@ import{q as H,V as l,F as K,cP as q,cX as G,e as ee,cV as J,y as I,gc as Z,o as
375
375
  `,ol=d.div`
376
376
  display: flex;
377
377
  width: 100%;
378
- min-width: ${r.sp0};
378
+ min-width: ${i.sp0};
379
379
  `,al=d.div`
380
380
  flex: 2;
381
381
  display: flex;
382
382
  flex-direction: column;
383
- gap: ${r.sp2};
383
+ gap: ${i.sp2};
384
384
  align-items: center;
385
385
  max-width: 100%;
386
- min-width: ${r.sp0};
386
+ min-width: ${i.sp0};
387
387
  `,dl=d.div`
388
- width: ${r.sp4};
388
+ width: ${i.sp4};
389
389
  color: ${e=>e.theme.colors.hero};
390
- `;function hl(e){return H()==="small"?l.jsx(el,{...e}):l.jsx(We,{...e})}export{ul as b,hl as f,ie as l,te as o};
390
+ `;function hl(e){return H()==="small"?l.jsx(el,{...e}):l.jsx(We,{...e})}export{ul as b,hl as f,re as l,te as o};