@zeniai/web-cockpit-ui 1.14.17-dev → 1.14.17-next

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 (222) hide show
  1. package/dist/assets/{ACHDetailsPage-BwrF_fEr-DkyA5i2K.js → ACHDetailsPage-BwrF_fEr-WbfRQEVn.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-4oC8MJWN-DKgtdhwX.js → AIPerformancePage-4oC8MJWN-DNdgkZ8r.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-mOPytffA-CHwRigZs.js → AccountInfoPage-mOPytffA-CNCyGQvu.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-VULusDEd-6lGswsvl.js → AccountInfoPageContent-VULusDEd-DyF5XvlF.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-89APlrhb-BX-kF9hA.js → AccountReconDetailsDrawerPage-89APlrhb-DViKVnB3.js} +1 -1
  6. package/dist/assets/{AccountRow-DJd-IAIl-CfLQe7at.js → AccountRow-DJd-IAIl-B-YF9K8j.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-DE39TpIu-DvYK9R7k.js → AccountsPromoCardStack-DE39TpIu-CbrTNDRc.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-CKdcU_pi-IPZLStMw.js → AddAddressForCardDrawer-CKdcU_pi-BQjdzPat.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DPXW2fbY-CNPYHMH9.js → AddToWalletPage-DPXW2fbY-CtInVoEx.js} +1 -1
  10. package/dist/assets/{AgingReportsPage--CLUwcIa-DcSCN91R.js → AgingReportsPage--CLUwcIa-CEkBqN9V.js} +1 -1
  11. package/dist/assets/{AllUserItems-CC9l-O5G-DJbAuU58.js → AllUserItems-CC9l-O5G-DeilHJeq.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-CsQ3DujX-DWGGqNtg.js → ApAgingDetailPage-CsQ3DujX-CstFBXBi.js} +1 -1
  13. package/dist/assets/{AppBasePage-CgHKYFmd-Bs3-qi9M.js → AppBasePage-CgHKYFmd-CdSpnN-I.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-Cofo0-5p-DYgesCt7.js → AppDrawerContent-Cofo0-5p-mRARteIv.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-DsshEbzW-DLpKueGV.js → ApprovalRulesSettingsPage-DsshEbzW-CQN5NTJA.js} +1 -1
  16. package/dist/assets/{ArAgingChart-K2LSe8mo-CcrD54Kp.js → ArAgingChart-K2LSe8mo-ByS5ndKs.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-DCFL9YAy-Cw3hCUfd.js → ArAgingDetailPage-DCFL9YAy-CS_f5W-o.js} +1 -1
  18. package/dist/assets/{AttachmentView-Cn3VnVyO-BPJCq-4t.js → AttachmentView-Cn3VnVyO-UopdmY4F.js} +1 -1
  19. package/dist/assets/{BankAccountSection-Au9_D0Ji-bmPPOv5B.js → BankAccountSection-Au9_D0Ji-BjKrxJSF.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-927iR_QB-BLBTF_Hr.js → BankAccountWarningSection-927iR_QB-DBItvS65.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-CXab8fzD-0RsCLwrp.js → BankConnectionsSettingsPage-CXab8fzD-D2NYf8Ts.js} +1 -1
  22. package/dist/assets/{BillDetailPage-yIdrE7YG-CO1_hc0X.js → BillDetailPage-yIdrE7YG-DroRjcj6.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BJl_-eJN-DcYLdRk3.js → BillPayApprovalRuleDetailPage-BJl_-eJN-D8PCQgj6.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-rXaFCSLp-DOP05VDc.js → BillPayApprovalRulesPage-rXaFCSLp-BUrhT2LW.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-BLi_wIbj-CZGLSHx_.js → BillPayPromoPage-BLi_wIbj-DwHf0r4D.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-BFmpWT_x-zTzNnL_X.js → BillPaySetUpPage-BFmpWT_x-BRjL3327.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-Da01aYql-DLGfaRzo.js → BillingSettingsPage-Da01aYql-DgBkB9bm.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-J2kO9_8C-B_ZetdEJ.js → BillsBulkReviewDrawerPage-J2kO9_8C-ebgv97au.js} +1 -1
  29. package/dist/assets/{BoxItem-CQlEDklH-QYh8SK8x.js → BoxItem-CQlEDklH-fqkASbPf.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-DWhXCuG5-BlJy48X_.js → BusinessVerificationPage-DWhXCuG5-PjbxewjS.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-BTjxrF3b-CNbVWSfp.js → CardNumberSubText-BTjxrF3b-C-OxscLY.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-qcMtGUQ0-ClM0O4ek.js → CashbackDetailPage-qcMtGUQ0-CDdj1Nb7.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-BurpUHl9-ks5Ylh0a.js → ChargeCardDetailPage-BurpUHl9-BGgxTnKA.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-CBIYOllB-hsormxMA.js → ChargeCardListPage-CBIYOllB-xSkydETI.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-BTZu7ldI-Dtf0dVvX.js → ChargeCardListTable-BTZu7ldI-DiS_m5QO.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-us_v89rV-C0HHgs2t.js → ChargeCardPromoPage-us_v89rV-Ccgbxj-g.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-QOdjFcsr-C35vd8Nk.js → ChargeCardSetupPage-QOdjFcsr-B8lVYing.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-C1UmjyIW-CQoBe4qC.js → ChargeCardStatementsPage-C1UmjyIW-QnDOx2qA.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-C3fhOMpV-CuPIdUk0.js → ChargeCardUtils-C3fhOMpV-hi1G7Cf6.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-RPex2o5e-Smu9780P.js → ChaseOverlay-RPex2o5e-I_Zwx32L.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-XZJ1F0aC-kws9zCak.js → CheckDepositDrawerPage-XZJ1F0aC-CQs-etJ4.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Ds0h8x1N-DplOjSEj.js → CollapsableReportTable-Ds0h8x1N-BZm50c8G.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-B8yGAFVj-BXFGaLke.js → CompanyOfficerDetailsSection-B8yGAFVj-BSbgL-Jq.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BDei9Pfp-eYqW_Kg9.js → CompanyPassportCard-BDei9Pfp-ncAzHoZA.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-DFA733vS-D6CEIM7b.js → CompanyPassportPage-DFA733vS-Cw-jGGur.js} +1 -1
  46. package/dist/assets/{CompleteProfile-BpX6H4vJ-BVnH0M9g.js → CompleteProfile-BpX6H4vJ-Cp_Iye6q.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-97CCPVCH-9-b-8JXj.js → ConfettiBurst-97CCPVCH-BeL6izNx.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BSi6pOXN-DT6XT0bI.js → CreateOrEditVendorPage-BSi6pOXN-CL5Y7AjE.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-ZletyeGG-umQmaf0k.js → CreditCardPaymentDrawerPage-ZletyeGG-BjncT0Uf.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-BE982atG-B6gcx6zm.js → CreditCardPaymentPlgSection-BE982atG-C7GlC30N.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-cnP09xH2-COp3JBgC.js → CurrencySelectField-cnP09xH2-CJRE_LLi.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DhcKiTJ_-B4Bo0l5a.js → CustomerOnboardingActivationPage-DhcKiTJ_-CffTnasB.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-DuT4-Y8A.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-jguCmaVx-CPLJBFIe.js → CustomerOnboardingDetailPageSkeleton-jguCmaVx-D1QMTckU.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-xakP7IDr-j9vb9__e.js → CustomerOnboardingNoStepsPage-xakP7IDr-CzufdT9d.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-Ct5YbyHs-BO0Sy5Lx.js → CustomerOnboardingPage-Ct5YbyHs-Cb3Cv5yp.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CugfvMkw-B6aWX1Xf.js → CustomerOnboardingProductSuitePage-CugfvMkw-C-IhNOLV.js} +1 -1
  58. package/dist/assets/{Dashboard-XbVGCnvI-Cwm6wdq7.js → Dashboard-XbVGCnvI-Bg9XvWP3.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-OeEPg2kx-DUWAiMA5.js → DashboardReportPage-OeEPg2kx-Bm8SFHx0.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-Dy6qzuSL-bj1K9hi4.js → DepositAccTransactionItem-Dy6qzuSL-Io7DkQBz.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-BisaE6sH-CXEjoVG5.js → DepositAccTransactionListPage-BisaE6sH-B-MVgO3L.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-B0tbjNLO-ByvPg7x-.js → DomesticWireDetailsPage-B0tbjNLO-DvFZauoD.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-BKKO1nm1-BQ5P_IH7.js → DownloadOverlay-BKKO1nm1-K42n05EW.js} +1 -1
  64. package/dist/assets/{DrawerPage-osM8gPVn-2LgFt42m.js → DrawerPage-osM8gPVn-BLHKG0-g.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-ixJkT03_-nZc9QeAd.js → EditPeoplePage-ixJkT03_-bHKAUHG6.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-DvLeCixY-TeZdMP4Z.js → EditReimbursementDetailPage-DvLeCixY-BJDab4g-.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-BzJbAOSj-9yzQeWus.js → EntityDetailPage-BzJbAOSj-DFXzJ7Vc.js} +1 -1
  68. package/dist/assets/{EntitySummarySection-Drj07P9h-6nsX9189.js → EntitySummarySection-Drj07P9h-DyMj1Mu6.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-BQ9dwGkq-BSO9oU-G.js → ExpenseAutomationOverviewPage-BQ9dwGkq-BBMvfiSr.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-DLld6Lux-C9UiIoPt.js → ExpenseAutomationPage-DLld6Lux-kKmGsEGd.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-QBNV0dC8-pBCRR5Rb.js → ExpressPayPage-QBNV0dC8-D9kn5Uqt.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-CpBX-Xic-BYSOYP2k.js → FeaturePreviewPage-CpBX-Xic-QWvxfNHy.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-1RCO2W7K-C-MoCYne.js → FollowStepsSection-1RCO2W7K-CBlyKw4I.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-ByMZFe7Y-CdorqsTM.js → GlobalReviewListPage-ByMZFe7Y-SKoTweqa.js} +1 -1
  75. package/dist/assets/{HelpButton-CzTfBZQj-DZRTwrFl.js → HelpButton-CzTfBZQj-BPzgjfQv.js} +1 -1
  76. package/dist/assets/{InformationCardStack-C0AmMOu2-RArJXysN.js → InformationCardStack-C0AmMOu2-DQNlzXeR.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BiIDBYY8-5lf82tLY.js → InsightsCardStack-BiIDBYY8-BUD42wF0.js} +1 -1
  78. package/dist/assets/{InsightsSection-C-kpIvRH-CdqlGqmg.js → InsightsSection-C-kpIvRH-CxBMmGxR.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-7wAnV8kG-PXEXvEB6.js → IntegrationsSettingsPage-7wAnV8kG-JaLmWRT9.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-C7D15jtK-Li0eKKsY.js → InternationalWireSwiftDetailsPage-C7D15jtK-nl3_mp8w.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-GDKPXtU--j4IpooKm.js → InternationalWireVerificationPage-GDKPXtU--DyGsXxdu.js} +1 -1
  82. package/dist/assets/{InviteFormPage-CKGJHYWa-DWj-EAub.js → InviteFormPage-CKGJHYWa-B4h5fLjM.js} +1 -1
  83. package/dist/assets/{InvitePageListView-CWXyDZU2-DCU4lB3m.js → InvitePageListView-CWXyDZU2-DFOpuX1m.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-CPBMZNa--DlK3foAM.js → InvitePeoplePage-CPBMZNa--hHUSXFG8.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-C0WzT0uv-Cn2JF08l.js → InvoiceUploadSection-C0WzT0uv-DQrebmeH.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-DLX44XaR-CcflhM3M.js → IssueChargeCardPage-DLX44XaR-D_zo8-5w.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-B8awEVKI-DfzIlkwb.js → LabeledAddressValue-B8awEVKI-HBVLlTpK.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js → LabeledAddressValueField-Dl5yKg2N-C2PFyfLz.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-B6cLYSmS-taSeLw3M.js → LabeledControlledCheckBoxField-B6cLYSmS-Idd8xnf3.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CV4GQQ7F-G2kg_Moc.js → LabeledCreatableSingleSelectField-CV4GQQ7F-CZeOtfn9.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-BFhyNqP8-B0rZURtH.js → LabeledDocumentField-BFhyNqP8-CppZTi4i.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-gE3aWP_T-BOWWoTF_.js → LabeledDropDownFormattedTextField-gE3aWP_T-C0qDYm8o.js} +1 -1
  93. package/dist/assets/{LabeledText-0pRIcJw5-Bl9-fI1Z.js → LabeledText-0pRIcJw5-ClMJb_vc.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js → LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-PjendvcN.js} +1 -1
  95. package/dist/assets/{LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js → LabeledZeniRolesDropDownField--l6D29VX-DF53BqXr.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-DLcpx9ns-AgvCjDXO.js → LinkJETransactionPage-DLcpx9ns-BBEED4Nh.js} +1 -1
  97. package/dist/assets/{LowBalancePopup-BuelKDeS-DZAUOSm3.js → LowBalancePopup-BuelKDeS-BOJd6c5F.js} +1 -1
  98. package/dist/assets/{MagicLinkACHDetailsPage-NIkquHvv-CI7Zc7xz.js → MagicLinkACHDetailsPage-NIkquHvv-B_xeQWeq.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdaNz396-BGT3axjJ.js → MagicLinkDomesticWireDetailsPage-CdaNz396-BhGthlVb.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnEhS5PP-DPChbPBR.js → MagicLinkInternationalWireDetailsPage-CnEhS5PP-c_ZrpZwI.js} +1 -1
  101. package/dist/assets/{MagicLinkSuccessPage-D_VJZV0O-FtY4wcd1.js → MagicLinkSuccessPage-D_VJZV0O-BTYps1Zr.js} +1 -1
  102. package/dist/assets/{MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js → MagicLinkTitleSection-tHh2d5Ld-D5o4eoxT.js} +1 -1
  103. package/dist/assets/{MailingDetailsSection-CTrx1xoB-By7vG4Hi.js → MailingDetailsSection-CTrx1xoB-BZFuTOyl.js} +1 -1
  104. package/dist/assets/{MeetingCalenderPopup-DWvpTRQJ-Bt4xdKnr.js → MeetingCalenderPopup-DWvpTRQJ-CfwCinui.js} +1 -1
  105. package/dist/assets/{Menu-CbQ6Zkdp-B0rPvp7W.js → Menu-CbQ6Zkdp-CN2M1x8D.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-9dQLb8iw-C8Rj57bA.js → MyBankConnectionsSettingsPage-9dQLb8iw-fNQx-t-8.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-B2-YthuF-cm2yxhR4.js → MyPendingActivationChargeCardListPage-B2-YthuF-CD2wMfDy.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-CfmYPv4_-aC1znwk8.js → MyProfileSettingsPage-CfmYPv4_-yGix5bkV.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-Bzkl4W0x-CDy3Aggh.js → NavBarWithPicker-Bzkl4W0x-DT-cmjrW.js} +1 -1
  110. package/dist/assets/{NavigationArrow-9pvhzLz8-DNW8ChSX.js → NavigationArrow-9pvhzLz8-Wzy_EVAi.js} +1 -1
  111. package/dist/assets/{NavigationDots-CXPwKFh1-CN4i4rO7.js → NavigationDots-CXPwKFh1-DfIF4ftt.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-D6ZpP6J1-D56cB-sU.js → NewGlobalMerchantPage-D6ZpP6J1-1m2z3PcJ.js} +1 -1
  113. package/dist/assets/{NoDataChart-BUR7CF8w-JBqV9jC1.js → NoDataChart-BUR7CF8w-Td3OKg8p.js} +1 -1
  114. package/dist/assets/{NoDataTable-3L4pbKR0-B7fSM3B6.js → NoDataTable-3L4pbKR0-DSFwo793.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CgZfmKbj-BRxQmcCY.js → NotFoundPage-CgZfmKbj-Cdzq54FL.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-BwYT3Tdc-D89puZca.js → NotificationSettingsPage-BwYT3Tdc-DTQGchDS.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CeeJpJ2p-8AiJrLfH.js → NotificationsListConfig-CeeJpJ2p-D4W---n3.js} +1 -1
  118. package/dist/assets/{NotificationsPage-6qNQYQK4-DLvnPKkn.js → NotificationsPage-6qNQYQK4-sy7YQJVI.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-C28MBvmW-CYPqi7IY.js → OpExByVendorPage-C28MBvmW-BldeMwl7.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-9K5jaX8Z-BZxsFO4t.js → OverlayContainerPage-9K5jaX8Z-BAkuNxQm.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-onJJ3Fh4-_QaDHG-Z.js → PandLWithForecastPage-onJJ3Fh4-JgjB3UxP.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-nGuJ5fbq-D3E47Aos.js → PaymentAccountSetupBillingAddressSection-nGuJ5fbq-DIda8dPB.js} +1 -1
  123. package/dist/assets/{PeoplePage-CKzezKqB-ByzrDmy1.js → PeoplePage-CKzezKqB-DedvKose.js} +1 -1
  124. package/dist/assets/{PortfolioAllocationFormPage-28Rg5Um0-BlYwyLHy.js → PortfolioAllocationFormPage-28Rg5Um0-C5Du8qIs.js} +1 -1
  125. package/dist/assets/{PortfolioDetails-CIv1yXo2-BXO78bZH.js → PortfolioDetails-CIv1yXo2-BBft66gE.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CSUQ6rVw-BjLG54WQ.js → ProductsCarousel-CSUQ6rVw-niq-UrJY.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-2L1JfY-v-8Fx_ViSz.js → PromoBaseCards-2L1JfY-v-BqRLZyWW.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-DNP_b7aK-BzvUOq7o.js → QBOConnectionDialog-DNP_b7aK-BVhmRNJ1.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-CGrGCC2j-CuJwLC6X.js → QBOSetupSection-CGrGCC2j-DJCc0Cxk.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DqxyCfuQ-BcbdBa6J.js → ReimbursementApprovalRuleDetailPage-DqxyCfuQ-Vml0ebU2.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-D_RMSSoW-DW4d-zUH.js → ReimbursementApprovalRulesPage-D_RMSSoW-5bt2LnJK.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-BkT7zJoE-BUepvklz.js → ReimbursementDetailPage-BkT7zJoE-DbK9ov6t.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-DQsLI50f-DvpBhx7F.js → ReimbursementPromoPage-DQsLI50f-DhJMPcVO.js} +1 -1
  134. package/dist/assets/{ReimbursementSetUpPage-lH4Z7Lqi-C3uS6udC.js → ReimbursementSetUpPage-lH4Z7Lqi-BODUZ2tI.js} +1 -1
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Bvh4mRws-DVwJvL8d.js → ReimbursementsBulkReviewDrawerPage-Bvh4mRws-Dgu6ntNL.js} +1 -1
  136. package/dist/assets/{ReloadCard-BQKVLlzZ-CTM6ZQom.js → ReloadCard-BQKVLlzZ-1m76Iycp.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-Cvk4LxRf-eJ2TbRx4.js → ReportTableViewSelector-Cvk4LxRf-BFCyx08q.js} +1 -1
  138. package/dist/assets/{ReportsPage-C2cIfu51-BxZnm0Ag.js → ReportsPage-C2cIfu51-DjsZ1mjj.js} +1 -1
  139. package/dist/assets/{RevenueChart-ByCekdyG-8uQwfY47.js → RevenueChart-ByCekdyG-Dm4tBzGd.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-DGyfz9q5-BKYXEzMr.js → ReviewDetailsPage-DGyfz9q5-C-0DmMq9.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-Dp5yLAdR-BtQ_1SYB.js → ReviewOverlay-Dp5yLAdR-CcHKACk7.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js → RoleWithToolTip-B7xRZ-3a-gFNkUaN0.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BvJX-G-F-EcV0Ga4I.js → ScheduleDetailsFixedAssetsPage-BvJX-G-F-B3eCqnaD.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-CNpkuW7O-B_ravSuG.js → ScheduleDetailsPage-CNpkuW7O-COusDIPW.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-B_90qPjE-CouAcwmm.js → ScheduleSequenceTable-B_90qPjE-B5qVr9BG.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-AFpRn9FR.js → ScreenRoutes-DmNJmIGu.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-D5x8PZG1-DygZSmwk.js → SetUpAccountSection-D5x8PZG1-DiEAxGT0.js} +1 -1
  148. package/dist/assets/{SetUpDefaultSection-BsOdnADR-CaLnvPCj.js → SetUpDefaultSection-BsOdnADR-Dsmw75Gk.js} +1 -1
  149. package/dist/assets/{SignIn-Bt7hCYjV-EKx-pTxB.js → SignIn-Bt7hCYjV-Dv_sB8Yb.js} +1 -1
  150. package/dist/assets/{SignInScreen-rurSzHF5.js → SignInScreen-B4ThKDnd.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-C5cJKuRq-BvXZ8iTI.js → SpendManagementListViewPage-C5cJKuRq-Xtp6N1JF.js} +3 -3
  152. package/dist/assets/{SpendManagementPerTabPage-IBAw8wc4-CqequpCF.js → SpendManagementPerTabPage-IBAw8wc4-ChDYfAh7.js} +1 -1
  153. package/dist/assets/{SpendManagementSection-yNP3swb6-CDpN_vFS.js → SpendManagementSection-yNP3swb6-CUgntoPj.js} +1 -1
  154. package/dist/assets/{SpendMgmtSetupAccountSection-CYxt9dN8-jE6ury5g.js → SpendMgmtSetupAccountSection-CYxt9dN8-t4TMVLOs.js} +1 -1
  155. package/dist/assets/{StatementItem-q9U89Htr-Dnon4hoE.js → StatementItem-q9U89Htr-BPHWsGEn.js} +1 -1
  156. package/dist/assets/{StatementsPage-BM5Glizw-CQVS_jKg.js → StatementsPage-BM5Glizw-0NxGX0li.js} +1 -1
  157. package/dist/assets/{StatusSwitcher-CtuL5COG-G6MVUY78.js → StatusSwitcher-CtuL5COG-DLrs62s5.js} +1 -1
  158. package/dist/assets/{SubTabSwitcher-DHiC-mOv-DT2nPRyj.js → SubTabSwitcher-DHiC-mOv-B3I6trmM.js} +1 -1
  159. package/dist/assets/{SummaryCard-D4Me-qWU-DQUY-zeO.js → SummaryCard-D4Me-qWU-HrV7Otgg.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-D-F7ufTD-e1fJ4aPt.js → TaskManagementPage-D-F7ufTD-DUnLYNMT.js} +1 -1
  161. package/dist/assets/{TimeRangeSwitcher-CGN9Hq2L-r0shmfu7.js → TimeRangeSwitcher-CGN9Hq2L-DV1fjSGw.js} +1 -1
  162. package/dist/assets/{TimeframeSwitcher-BN4-ACoQ-D22kJoI6.js → TimeframeSwitcher-BN4-ACoQ-TPVp_jS7.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcherWithToggle-BkzCFclG-CPGMypUZ.js → TimeframeSwitcherWithToggle-BkzCFclG-CQKcN7Zp.js} +1 -1
  164. package/dist/assets/{TopExCard-Wuzj4gLV-Dr3lX9dX.js → TopExCard-Wuzj4gLV-C-OBxcQd.js} +1 -1
  165. package/dist/assets/{TopExDetailPage-DMYNc-gj-DbGIeoCc.js → TopExDetailPage-DMYNc-gj-Bk4R6ZX_.js} +1 -1
  166. package/dist/assets/{TransactionDetailPage-CcryBjJ4-DTQbu83x.js → TransactionDetailPage-CcryBjJ4-DqtEm7a_.js} +1 -1
  167. package/dist/assets/{TransactionList-BrOpzi25-Db-4cinW.js → TransactionList-BrOpzi25-Co-a-1QJ.js} +1 -1
  168. package/dist/assets/{TransactionListBig-D6QMNaV6-CAdEtJgN.js → TransactionListBig-D6QMNaV6-D7__aP6r.js} +1 -1
  169. package/dist/assets/{TransactionListPage-BB_LkPKR-hsIp58b2.js → TransactionListPage-BB_LkPKR-DgCKQQBR.js} +1 -1
  170. package/dist/assets/{TransactionVendorDetailPage-RajWBB1I-BdySPl7M.js → TransactionVendorDetailPage-RajWBB1I-CwdT7uSn.js} +1 -1
  171. package/dist/assets/{TransferDrawerPage-D-KFK0BM-lEsdgmBR.js → TransferDrawerPage-D-KFK0BM-D1eUS7J_.js} +1 -1
  172. package/dist/assets/{TreasuryOverviewPage-EDaXKMNQ-CrrmzIet.js → TreasuryOverviewPage-EDaXKMNQ-6GeTMCWQ.js} +1 -1
  173. package/dist/assets/{TreasuryPromoPage-Brja4nGR-DglH7Il8.js → TreasuryPromoPage-Brja4nGR-AI8voQ7k.js} +1 -1
  174. package/dist/assets/{TreasurySetupPage-8ZXXBvyU-l9-yURTU.js → TreasurySetupPage-8ZXXBvyU-CJnzQvTy.js} +1 -1
  175. package/dist/assets/{TreasuryStatementsPage-BjT1FVfa-wIBwl3Q0.js → TreasuryStatementsPage-BjT1FVfa-D3wsdNPE.js} +1 -1
  176. package/dist/assets/{TreasuryTaxLetterPage-Cxk8TjrI-DPLTc42N.js → TreasuryTaxLetterPage-Cxk8TjrI-BzQY4Z9f.js} +1 -1
  177. package/dist/assets/{TreasuryTransferOrReviewPage-DrNld8H2-DCvG8LPc.js → TreasuryTransferOrReviewPage-DrNld8H2-CMRPYYCR.js} +1 -1
  178. package/dist/assets/{TrendChart-D2B0mwGW-BG_v97N6.js → TrendChart-D2B0mwGW-Ch_QFpuF.js} +1 -1
  179. package/dist/assets/{TrendWithTransactions-Ch8smOOz-jen0aqye.js → TrendWithTransactions-Ch8smOOz-DNwgv92f.js} +1 -1
  180. package/dist/assets/{UncategorizedAccountsMappingPage-CCIn9g7v-pUmVA_Xq.js → UncategorizedAccountsMappingPage-CCIn9g7v-DBRTsNwx.js} +1 -1
  181. package/dist/assets/{UnitIntegrationPage-SY0L_D7Z-Cbnt8xFH.js → UnitIntegrationPage-SY0L_D7Z-CVDQ64X3.js} +1 -1
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-BowxerPw-ByoVxHT3.js → UploadAdditionalDocumentOverlay-BowxerPw-CoIDKnhS.js} +1 -1
  183. package/dist/assets/{Vendor2FAPopup-DvWVDx58-nCTKo0G7.js → Vendor2FAPopup-DvWVDx58-DEKwdfXe.js} +1 -1
  184. package/dist/assets/{VendorACHDetailsPage-Ba1oMHkp-BxaJZz_l.js → VendorACHDetailsPage-Ba1oMHkp-CADhsYZh.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-CjBeVAkw-CNG6GTiT.js → VendorDetailPage-CjBeVAkw-CBN53Kpx.js} +1 -1
  186. package/dist/assets/{VendorDomesticWireDetailsPage-DJcyNUun-B_mMtp62.js → VendorDomesticWireDetailsPage-DJcyNUun-BJ8Ex7uY.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-CUWkLY0f-CFmjh1GG.js → VendorFiling1099EditablePage-CUWkLY0f-CGg-Dzqb.js} +1 -1
  188. package/dist/assets/{VendorFirstReviewPage-XUgEai-M-DTz6r_sf.js → VendorFirstReviewPage-XUgEai-M-0PYnu45d.js} +1 -1
  189. package/dist/assets/{VendorInternationalWireDetailsPage-BgHCBv0S-CqCl2AuO.js → VendorInternationalWireDetailsPage-BgHCBv0S-CK3rYrCR.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-axseacZL-DJ6kdu0R.js → VendorInternationalWireSwiftDetailsPage-axseacZL-BKw3rrIE.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-oYghWvs6-YBKazVEG.js → VendorsAccountsSection-oYghWvs6-Bln88Wbj.js} +1 -1
  192. package/dist/assets/{VerifyDevice-XUExnmR9-Dvl0QizA.js → VerifyDevice-XUExnmR9-kl9KgDyn.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-B1his2AN-wDPc6ygf.js → WarningsDrawerPage-B1his2AN-Yt1ivnRJ.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-B21kawRR-cYQnKtb2.js → ZeniAccountDetailPage-B21kawRR-Cu3m-mZk.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-D9lefqbT-BqcU0pmn.js → ZeniAccountListViewPage-D9lefqbT-DTHADviT.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-5yZFq-zt-jLGGdcn1.js → ZeniAccountNavBarPieces-5yZFq-zt-CuD2NVY_.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-B8aWqCOQ-CKv07I8x.js → ZeniAccountPromoPage-B8aWqCOQ-B0g64fcz.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-BmFF5yvk-D-AdXd5I.js → ZeniAccountSetupPage-BmFF5yvk-BF2MxcCv.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-eQoaUH08-BVCPJkWr.js → ZeniCopyright-eQoaUH08-l7g3MKbm.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-B6ftMZ_m-C-6X1EH-.js → ZeniTransferAmountSlider-B6ftMZ_m-MWAtvyvx.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Bns4muDg-CtVpldLz.js → analyticsHelper-Bns4muDg-fdadVVX8.js} +1 -1
  202. package/dist/assets/{analyticsHelper-u4uoMPvS.js → analyticsHelper-DGf2DwFt.js} +1 -1
  203. package/dist/assets/{chartTypes-ZJYcsh-k-BCVVPSGZ.js → chartTypes-ZJYcsh-k-CW2_rkXh.js} +1 -1
  204. package/dist/assets/{commonDimensions-NUQEpowf-g8lux_Te.js → commonDimensions-NUQEpowf-CWr-zjZp.js} +1 -1
  205. package/dist/assets/{detailCommon-DMKakaa6-DVMNrgCv.js → detailCommon-DMKakaa6-DtLKIvri.js} +1 -1
  206. package/dist/assets/{downloadPdf-CNrmv_yZ-BgWfIYNz.js → downloadPdf-CNrmv_yZ-CghiTy_-.js} +1 -1
  207. package/dist/assets/{index-CnrHU8WN.js → index-DkYbjDYX.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-CwLhcXcQ-nJqrr22I.js → mapLoadingInProgressToTreeNode-CwLhcXcQ-CRCwZyba.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8iLkGEE-Bl5usORJ.js → mapSectionWithAcOnlyToTreeNode-D8iLkGEE-CIjV4xNn.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-CF_gEYDy-aRE98CQL.js → mapSpacerToTreeNode-CF_gEYDy-HK8BD4L0.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-B672MK55-v1Bjh3U8.js → mapTimeframeBalancesToTreeNode-B672MK55-PL-_ihbR.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-Dp2QmYvb-Cr-c38Jl.js → mapTimeframeBalancesToTreeNode-Dp2QmYvb-CKpurAAE.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-CsyeIH1c.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-CWuqmmj9.js} +1 -1
  214. package/dist/assets/{play-icon-CgWP2Myd-BVsSsxSg.js → play-icon-CgWP2Myd-CVOUrwMY.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-DJNZCEmi-D5UU_YFX.js → toCOABalancesWithID-DJNZCEmi-CIIiQeHO.js} +1 -1
  216. package/dist/assets/{toChartData-HYsxUPzh-De2YqXiL.js → toChartData-HYsxUPzh-CAvzUAl7.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-BgV2H9Kv-BBqEUahx.js → treasuryColorHelper-BgV2H9Kv-BJ7NZve-.js} +1 -1
  218. package/dist/assets/{uploadAttachment-BgjFjkkw-DJYt86D-.js → uploadAttachment-BgjFjkkw-CI4XsjmM.js} +1 -1
  219. package/dist/assets/{uploadReceipts-CwjPukNh-SrJVbi2t.js → uploadReceipts-CwjPukNh-lN5FySkL.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +1 -1
  222. package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-CPTgkuej.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as Y,fm as ee,u as te,a as le,j as d,M as oe,q as g,ge as ne,$ as se,F as ie,a4 as re,o as ae,C as E,fp as q,fq as Z,fr as A,c2 as N,l as V,c4 as de}from"./index-CnrHU8WN.js";import{b as P,n as M}from"./vendor-CnQcJ2Lu.js";import{x as ce}from"./AllUserItems-CC9l-O5G-DJbAuU58.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js";import"./RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js";import"./LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js";const z={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},F="editPeoplePage",O="userItems",p=oe.getLocalizedStrings().peoplePage,we=({peopleDetails:e,managersList:s,classList:R,controllersList:I,mode:o,isZeniTenant:T,onPeopleLocalDataUpdated:w,onCloseClick:S,onSaveClick:i,isReimbursementDisabled:$,isZeniAccountsDisabled:n,isChargeCardDisabled:k,isTreasuryDisabled:j,isBankingOnlyTenant:b,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=Y(),[W,K]=P.useState(-1),[B,L]=P.useState(""),D=P.useRef(null),_=P.useMemo(()=>ee($,n,k,b,x,U,j),[$,n,k,b,x,U,j]),Q=te(),r=le({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,_,s,R,b,x),values:J(e.people,o,_,s,R,b,x)}),X=r.handleSubmit(()=>{G()?i():console.warn("Invite People form error")}),G=()=>{const t=r.getValues();let l=!0;return t.userItems.forEach((f,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=f;if(o==="zeni_only")a?.selectedOptions==null&&(r.setError(`${O}.${C}.role`,{type:"required"}),l=!1);else{const h=v?.userRole.selectedRole;(h!=null&&v!=null?v.productsByUserRole[h].map(y=>y.selectedOption).filter(y=>y!=null):[]).length<1&&(r.setError(`${O}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),l=!1),u?.selectedOption==null&&h!=="investor_or_banker"&&!b&&!x&&(r.setError(`${O}.${C}.department`,{type:"required"}),l=!1),m?.selectedUser==null&&h!=="investor_or_banker"&&(r.setError(`${O}.${C}.manager`,{type:"required"}),l=!1)}}),l},H=async(t,l)=>{const f=[],{userItems:C}=l;C.forEach(a=>{let v={};if(o==="zeni_only")v={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(y=>V.toUserRoleTypeStrict(y.selectedOption?.value)).filter(y=>y!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const h=V.hasInvestorBankerLevelAccess(m);v={email:a.email,role:m,departmentId:h?void 0:a.department?.selectedOption?.value,managerId:h?void 0:a.manager?.selectedUser}}f.push(v)}),w(f)};return P.useEffect(()=>{const t=r.watch((l,{name:f})=>{f!=null&&l!=null&&H(f,l)});return()=>{t.unsubscribe()}}),P.useEffect(()=>{const t=D.current,l=()=>{c!=="small"&&(t&&t?.scrollTop>g[9]?L(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):L(""))};return c==="small"?L(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):t&&t?.scrollTop<=g[9]&&L(""),t&&t.addEventListener("scroll",l),()=>{t&&t.removeEventListener("scroll",l)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(ne,{title:B,backgroundColor:Q.colors.grey4,style:{zIndex:4},onCloseClick:S,isTitleAlignLeft:c==="small"}),d.jsxs(ue,{"data-testid":se("invite-people-container"),windowSize:c,ref:D,children:[c!=="small"?d.jsx(me,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ie,{...r,children:d.jsx("form",{id:`${F}_form`,onSubmit:X,children:d.jsx(ce,{control:r.control,sectionId:O,deleteConfirmationIndex:W,updateDeleteConfirmationIndex:K,mode:o,isZeniTenant:T,classList:R,managersList:s,controllersList:I,isBankingOnlyTenant:b,isCardsOnlyTenant:x,customerRoleOptions:_,isEdit:!1})})})]}),d.jsx(re,{formId:`${F}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:z.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:z.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:S},separatorStyle:{marginRight:ae.sp4}})]})},J=(e,s,R,I,o,T,w)=>{const S=[{userIndex:0,email:[],role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:Z(T,w)},productsByUserRole:q(e[0]?.role??[],R)}:void 0,department:void 0,manager:void 0}];return{[O]:e.length>0?e.map((i,$)=>({userIndex:$,email:i.email,role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:i.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:i.role.length>0?A(i.role):void 0,allRootRole:Z(T,w)},productsByUserRole:q(i.role,R)}:void 0,department:{allOptions:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===i.departmentId)},manager:{allUsers:I,selectedUser:i.managerId}})):S}},Se=(e,s)=>`${e}.${s}`,ue=M.div`
1
+ import{e as Y,fm as ee,u as te,a as le,j as d,M as oe,q as g,ge as ne,$ as se,F as ie,a4 as re,o as ae,C as E,fp as q,fq as Z,fr as A,c2 as N,l as V,c4 as de}from"./index-DkYbjDYX.js";import{b as P,n as M}from"./vendor-CnQcJ2Lu.js";import{x as ce}from"./AllUserItems-CC9l-O5G-DeilHJeq.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-PjendvcN.js";import"./RoleWithToolTip-B7xRZ-3a-gFNkUaN0.js";import"./LabeledZeniRolesDropDownField--l6D29VX-DF53BqXr.js";const z={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},F="editPeoplePage",O="userItems",p=oe.getLocalizedStrings().peoplePage,we=({peopleDetails:e,managersList:s,classList:R,controllersList:I,mode:o,isZeniTenant:T,onPeopleLocalDataUpdated:w,onCloseClick:S,onSaveClick:i,isReimbursementDisabled:$,isZeniAccountsDisabled:n,isChargeCardDisabled:k,isTreasuryDisabled:j,isBankingOnlyTenant:b,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=Y(),[W,K]=P.useState(-1),[B,L]=P.useState(""),D=P.useRef(null),_=P.useMemo(()=>ee($,n,k,b,x,U,j),[$,n,k,b,x,U,j]),Q=te(),r=le({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,_,s,R,b,x),values:J(e.people,o,_,s,R,b,x)}),X=r.handleSubmit(()=>{G()?i():console.warn("Invite People form error")}),G=()=>{const t=r.getValues();let l=!0;return t.userItems.forEach((f,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=f;if(o==="zeni_only")a?.selectedOptions==null&&(r.setError(`${O}.${C}.role`,{type:"required"}),l=!1);else{const h=v?.userRole.selectedRole;(h!=null&&v!=null?v.productsByUserRole[h].map(y=>y.selectedOption).filter(y=>y!=null):[]).length<1&&(r.setError(`${O}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),l=!1),u?.selectedOption==null&&h!=="investor_or_banker"&&!b&&!x&&(r.setError(`${O}.${C}.department`,{type:"required"}),l=!1),m?.selectedUser==null&&h!=="investor_or_banker"&&(r.setError(`${O}.${C}.manager`,{type:"required"}),l=!1)}}),l},H=async(t,l)=>{const f=[],{userItems:C}=l;C.forEach(a=>{let v={};if(o==="zeni_only")v={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(y=>V.toUserRoleTypeStrict(y.selectedOption?.value)).filter(y=>y!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const h=V.hasInvestorBankerLevelAccess(m);v={email:a.email,role:m,departmentId:h?void 0:a.department?.selectedOption?.value,managerId:h?void 0:a.manager?.selectedUser}}f.push(v)}),w(f)};return P.useEffect(()=>{const t=r.watch((l,{name:f})=>{f!=null&&l!=null&&H(f,l)});return()=>{t.unsubscribe()}}),P.useEffect(()=>{const t=D.current,l=()=>{c!=="small"&&(t&&t?.scrollTop>g[9]?L(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):L(""))};return c==="small"?L(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):t&&t?.scrollTop<=g[9]&&L(""),t&&t.addEventListener("scroll",l),()=>{t&&t.removeEventListener("scroll",l)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(ne,{title:B,backgroundColor:Q.colors.grey4,style:{zIndex:4},onCloseClick:S,isTitleAlignLeft:c==="small"}),d.jsxs(ue,{"data-testid":se("invite-people-container"),windowSize:c,ref:D,children:[c!=="small"?d.jsx(me,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ie,{...r,children:d.jsx("form",{id:`${F}_form`,onSubmit:X,children:d.jsx(ce,{control:r.control,sectionId:O,deleteConfirmationIndex:W,updateDeleteConfirmationIndex:K,mode:o,isZeniTenant:T,classList:R,managersList:s,controllersList:I,isBankingOnlyTenant:b,isCardsOnlyTenant:x,customerRoleOptions:_,isEdit:!1})})})]}),d.jsx(re,{formId:`${F}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:z.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:z.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:S},separatorStyle:{marginRight:ae.sp4}})]})},J=(e,s,R,I,o,T,w)=>{const S=[{userIndex:0,email:[],role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:Z(T,w)},productsByUserRole:q(e[0]?.role??[],R)}:void 0,department:void 0,manager:void 0}];return{[O]:e.length>0?e.map((i,$)=>({userIndex:$,email:i.email,role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:i.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:i.role.length>0?A(i.role):void 0,allRootRole:Z(T,w)},productsByUserRole:q(i.role,R)}:void 0,department:{allOptions:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===i.departmentId)},manager:{allUsers:I,selectedUser:i.managerId}})):S}},Se=(e,s)=>`${e}.${s}`,ue=M.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{u as s1,e as d1,M as q,j as l,m as J,o as i,g as d,$ as X,C as $,g0 as v1,g1 as k1,bS as b1,bU as L1,bV as $1,aD as j1,ao as c1,q as C,v as o1,h as E1,L as B1,d as p1}from"./index-CnrHU8WN.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import z1 from"./AttachmentView-Cn3VnVyO-BPJCq-4t.js";import{l as A1}from"./uploadReceipts-CwjPukNh-SrJVbi2t.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const H1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),P1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),T1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new $(12,C[3]),billReceiptSize:new $(60,C[10]),rootContainerPaddingTop:new $(C[3],62),rootContainerPaddingRight:new $(C[3],C[6]),rootContainerPaddingBottom:new $(C[5],C[9]),rootContainerPaddingLeft:new $(C[3],C[8])},r1=o(E1)`
1
+ import{u as s1,e as d1,M as q,j as l,m as J,o as i,g as d,$ as X,C as $,g0 as v1,g1 as k1,bS as b1,bU as L1,bV as $1,aD as j1,ao as c1,q as C,v as o1,h as E1,L as B1,d as p1}from"./index-DkYbjDYX.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import z1 from"./AttachmentView-Cn3VnVyO-UopdmY4F.js";import{l as A1}from"./uploadReceipts-CwjPukNh-lN5FySkL.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const H1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),P1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),T1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new $(12,C[3]),billReceiptSize:new $(60,C[10]),rootContainerPaddingTop:new $(C[3],62),rootContainerPaddingRight:new $(C[3],C[6]),rootContainerPaddingBottom:new $(C[5],C[9]),rootContainerPaddingLeft:new $(C[3],C[8])},r1=o(E1)`
2
2
  color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
3
3
  white-space: pre-wrap;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{e as oe,a as Aa,c7 as Oa,M as de,j as r,$ as Pe,iv as Ra,bF as _a,F as za,a4 as Da,o as a,C as y,l as Ua,aT as Fa,am as Na,X as be,h as sa,a3 as qa,c4 as Ma,g as re,eU as Ea,bL as ka,ck as xe,ei as Ba,q as d,bx as Va,ah as K,cq as me,cu as na,iw as Ha,ix as Wa,cr as Ga,u as Te,iy as Ae,ca as Oe,fG as Re,cD as ve,v as ie,eW as he,fD as oa,d as _e,a0 as Za,fa as Ja,B as Ka,fc as Qa}from"./index-CnrHU8WN.js";import{b as M,n as l}from"./vendor-CnQcJ2Lu.js";import{X as ca}from"./LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js";import{T as ua}from"./RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=de.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Xa=["creditCard","debitCard"],Ee=e=>Ua.stringToUnion(e,Xa),m=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:ke,customAddressPlaceholder:Ya}},spendManagement:{chargeCard:{issueCard:U}}}=de.getLocalizedStrings(),k={largeLabelWidth:new y(120,120,200),labelMarginRight:new y(d[3],d[4]),labelMarginBottom:new y(d[2],d[0]),infoLabelMarginTop:new y(d[1],d[0]),radioLabelPaddingLeftRight:new y(d[2],d[3]),radioLabelPaddingLeft:new y(d[0],d[3]),radioLabelPaddingRight:new y(10,d[3])},er={infoLabel:new be("smallRegular","smallRegular")},ar="creditCard.physicalCard.amount",rr="creditCard.physicalCard.cardName",ir="creditCard.physicalCard.user",dr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",lr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:b,activeChargeCardCount:v,allRoles:f,allAccountingClasses:R,companyAddress:h,customAddress:I,userAddress:T,userList:o,maxPhysicalChargeCardPerUser:z,openAddAddressDrawerHandler:u})=>{const s=oe(),F=Te(),{getValues:N}=xe(),S=k.largeLabelWidth.value(s),B=()=>{u(e.lineId,"creditCard")},c=(g,C)=>r.jsx(sr,{isOptionSelected:C,children:ge(g)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,_=Ae(t.amount),w=x!=null&&x>t.amount,A=w?U.amountExceedError.replace("_amount_",_):void 0,P=e.creditCard.physicalCard.user,q=P.allUsers.find(g=>g.userId===P.selectedUser),J=q?.userId,X=J!=null?T[J]:void 0,p=g=>{let C=v[g]?.physicalCardCount??0;return N().lineInfo.forEach(L=>{L.creditCard.cardType==="business_physical_credit_card"&&L.creditCard.physicalCard.user.selectedUser===g&&(C+=1)}),C>=z};return r.jsxs(r.Fragment,{children:[r.jsx(ca,{label:{label:U.cardholderLabel,width:S},userSingleSelectWithSubTitlesField:{name:m(i,ir),placeholderLabel:U.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:g=>g?.selectedUser?.length>0},valueToSubtitle:g=>{const C=f.find(V=>V.userId===g),L=[];return C?.accountingClassIDs.forEach(V=>{const le=R.find(Ce=>Ce.classId===V);le!=null&&le.className&&L.push(le.className)}),L},additionalLabelInfo:U.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:U.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:U.cardNameLabel,width:S},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:m(i,rr),defaultValue:e.creditCard.physicalCard.cardName,placeholder:U.cardNamePlaceholder,options:{required:!0,validate:g=>g!=null}}}),r.jsx($e,{}),r.jsx(Re,{label:{label:U.amountLabel,width:S},showAdditionalInfoLabel:w,additionalInfoLabel:A,formattedTextField:{type:"number",name:m(i,ar),defaultValue:e.creditCard.physicalCard.amount,placeholder:U.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:g=>!!g&&g>0&&g<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:w,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(ve,{isDisabled:"readonly",label:{label:U.frequencyLabel,width:S,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...ie.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:F.colors.hero},valueToAdditionalLabel:g=>ge(g),singleSelectPickerField:{name:m(i,dr),placeholder:U.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:b.map(g=>({label:g.name,value:g.code}))},valueToSubLabels:(g,C)=>c(g,C),textAlignment:"right",registerOptions:{required:!0,validate:g=>g!=null&&!!g.selectedOption}}}),r.jsx($e,{}),r.jsxs(nr,{windowSize:s,children:[r.jsxs(ur,{windowSize:s,children:[r.jsx(me,{label:U.address.shippingAddressLabel,htmlFor:m(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":S}}),r.jsx(or,{windowSize:s,children:r.jsxs(pr,{isDisabled:q==null,children:[X!=null&&r.jsx(K,{isContainerClickable:!0,label:{label:U.address.personal},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(K,{isContainerClickable:!0,label:{label:U.address.company},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(K,{isContainerClickable:!0,label:{label:U.address.custom},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(cr,{windowSize:s,children:q?.user!=null&&n!=null&&r.jsx(tr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:X,isDisabled:"readonly",placeholder:ke,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Be,{windowSize:s,children:U.address.personalAddressText.replace("_name_",q.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:h,isDisabled:"readonly",placeholder:ke,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:I[e.lineId],placeholder:Ya,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:B}),r.jsx(Be,{windowSize:s,children:U.address.customAddressText})]})})})]})]})},tr=l.div`
1
+ import{e as oe,a as Aa,c7 as Oa,M as de,j as r,$ as Pe,iv as Ra,bF as _a,F as za,a4 as Da,o as a,C as y,l as Ua,aT as Fa,am as Na,X as be,h as sa,a3 as qa,c4 as Ma,g as re,eU as Ea,bL as ka,ck as xe,ei as Ba,q as d,bx as Va,ah as K,cq as me,cu as na,iw as Ha,ix as Wa,cr as Ga,u as Te,iy as Ae,ca as Oe,fG as Re,cD as ve,v as ie,eW as he,fD as oa,d as _e,a0 as Za,fa as Ja,B as Ka,fc as Qa}from"./index-DkYbjDYX.js";import{b as M,n as l}from"./vendor-CnQcJ2Lu.js";import{X as ca}from"./LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-PjendvcN.js";import{T as ua}from"./RoleWithToolTip-B7xRZ-3a-gFNkUaN0.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=de.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Xa=["creditCard","debitCard"],Ee=e=>Ua.stringToUnion(e,Xa),m=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:ke,customAddressPlaceholder:Ya}},spendManagement:{chargeCard:{issueCard:U}}}=de.getLocalizedStrings(),k={largeLabelWidth:new y(120,120,200),labelMarginRight:new y(d[3],d[4]),labelMarginBottom:new y(d[2],d[0]),infoLabelMarginTop:new y(d[1],d[0]),radioLabelPaddingLeftRight:new y(d[2],d[3]),radioLabelPaddingLeft:new y(d[0],d[3]),radioLabelPaddingRight:new y(10,d[3])},er={infoLabel:new be("smallRegular","smallRegular")},ar="creditCard.physicalCard.amount",rr="creditCard.physicalCard.cardName",ir="creditCard.physicalCard.user",dr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",lr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:b,activeChargeCardCount:v,allRoles:f,allAccountingClasses:R,companyAddress:h,customAddress:I,userAddress:T,userList:o,maxPhysicalChargeCardPerUser:z,openAddAddressDrawerHandler:u})=>{const s=oe(),F=Te(),{getValues:N}=xe(),S=k.largeLabelWidth.value(s),B=()=>{u(e.lineId,"creditCard")},c=(g,C)=>r.jsx(sr,{isOptionSelected:C,children:ge(g)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,_=Ae(t.amount),w=x!=null&&x>t.amount,A=w?U.amountExceedError.replace("_amount_",_):void 0,P=e.creditCard.physicalCard.user,q=P.allUsers.find(g=>g.userId===P.selectedUser),J=q?.userId,X=J!=null?T[J]:void 0,p=g=>{let C=v[g]?.physicalCardCount??0;return N().lineInfo.forEach(L=>{L.creditCard.cardType==="business_physical_credit_card"&&L.creditCard.physicalCard.user.selectedUser===g&&(C+=1)}),C>=z};return r.jsxs(r.Fragment,{children:[r.jsx(ca,{label:{label:U.cardholderLabel,width:S},userSingleSelectWithSubTitlesField:{name:m(i,ir),placeholderLabel:U.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:g=>g?.selectedUser?.length>0},valueToSubtitle:g=>{const C=f.find(V=>V.userId===g),L=[];return C?.accountingClassIDs.forEach(V=>{const le=R.find(Ce=>Ce.classId===V);le!=null&&le.className&&L.push(le.className)}),L},additionalLabelInfo:U.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:U.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:U.cardNameLabel,width:S},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:m(i,rr),defaultValue:e.creditCard.physicalCard.cardName,placeholder:U.cardNamePlaceholder,options:{required:!0,validate:g=>g!=null}}}),r.jsx($e,{}),r.jsx(Re,{label:{label:U.amountLabel,width:S},showAdditionalInfoLabel:w,additionalInfoLabel:A,formattedTextField:{type:"number",name:m(i,ar),defaultValue:e.creditCard.physicalCard.amount,placeholder:U.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:g=>!!g&&g>0&&g<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:w,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(ve,{isDisabled:"readonly",label:{label:U.frequencyLabel,width:S,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...ie.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:F.colors.hero},valueToAdditionalLabel:g=>ge(g),singleSelectPickerField:{name:m(i,dr),placeholder:U.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:b.map(g=>({label:g.name,value:g.code}))},valueToSubLabels:(g,C)=>c(g,C),textAlignment:"right",registerOptions:{required:!0,validate:g=>g!=null&&!!g.selectedOption}}}),r.jsx($e,{}),r.jsxs(nr,{windowSize:s,children:[r.jsxs(ur,{windowSize:s,children:[r.jsx(me,{label:U.address.shippingAddressLabel,htmlFor:m(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":S}}),r.jsx(or,{windowSize:s,children:r.jsxs(pr,{isDisabled:q==null,children:[X!=null&&r.jsx(K,{isContainerClickable:!0,label:{label:U.address.personal},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(K,{isContainerClickable:!0,label:{label:U.address.company},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(K,{isContainerClickable:!0,label:{label:U.address.custom},isDisabled:q==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:m(i,te),id:`${m(i,te)}.${U.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(cr,{windowSize:s,children:q?.user!=null&&n!=null&&r.jsx(tr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:X,isDisabled:"readonly",placeholder:ke,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Be,{windowSize:s,children:U.address.personalAddressText.replace("_name_",q.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:h,isDisabled:"readonly",placeholder:ke,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:I[e.lineId],placeholder:Ya,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:B}),r.jsx(Be,{windowSize:s,children:U.address.customAddressText})]})})})]})]})},tr=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as p,j as a,cq as m,C as o,eS as u,q as t,X as x}from"./index-CnrHU8WN.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:n,additionalInfoLabel:d,addressValue:s,isOptional:g,style:h}){const l=p();return a.jsxs(w,{size:l,style:h,isDisabled:e!=null,children:[a.jsxs(f,{children:[a.jsx(m,{isOptional:g,isDisabled:e,label:n.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:n.width??"auto"}}),a.jsx(u,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:n.width!=null?`calc(100% - ${n.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?a.jsx(b,{size:l,children:d}):null]})}const b=r.label`
1
+ import{e as p,j as a,cq as m,C as o,eS as u,q as t,X as x}from"./index-DkYbjDYX.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:n,additionalInfoLabel:d,addressValue:s,isOptional:g,style:h}){const l=p();return a.jsxs(w,{size:l,style:h,isDisabled:e!=null,children:[a.jsxs(f,{children:[a.jsx(m,{isOptional:g,isDisabled:e,label:n.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:n.width??"auto"}}),a.jsx(u,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:n.width!=null?`calc(100% - ${n.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?a.jsx(b,{size:l,children:d}):null]})}const b=r.label`
2
2
  color: ${e=>e.theme.colors.grey1};
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{e as f,ck as w,cs as v,M as y,j as r,$,cq as z,C as l,eW as M,g,q as i,X as B}from"./index-CnrHU8WN.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},T={infoLabel:new B("extraSmallRegular","smallRegular")},j=y.getLocalizedStrings();function k({isDisabled:e,label:n,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:m=!1,style:p,hasHoverBorder:u,isOptional:b}){const a=f(),{formState:{errors:x}}=w(),s=v(x,o.name),c=s?h:j.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(L,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(z,{isDisabled:e,isOptional:b,label:n.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:n.width??"auto"}}),r.jsxs(R,{labelWidth:n.width,children:[r.jsx(M,{...o,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...o.style}}),(m||s)&&r.jsx(P,{size:a,isError:s,children:c})]})]})}const L=d.div`
1
+ import{e as f,ck as w,cs as v,M as y,j as r,$,cq as z,C as l,eW as M,g,q as i,X as B}from"./index-DkYbjDYX.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),controlMinHeight:new l(i[4],i[4]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},T={infoLabel:new B("extraSmallRegular","smallRegular")},j=y.getLocalizedStrings();function k({isDisabled:e,label:n,addressValueField:o,additionalInfoLabel:h,showAdditionalInfoLabel:m=!1,style:p,hasHoverBorder:u,isOptional:b}){const a=f(),{formState:{errors:x}}=w(),s=v(x,o.name),c=s?h:j.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(L,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(z,{isDisabled:e,isOptional:b,label:n.label,htmlFor:o.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:n.width??"auto"}}),r.jsxs(R,{labelWidth:n.width,children:[r.jsx(M,{...o,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...o.style}}),(m||s)&&r.jsx(P,{size:a,isError:s,children:c})]})]})}const L=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as d,j as i,$ as o,eF as r,cq as n,o as s,C as c}from"./index-CnrHU8WN.js";import{j as b,n as h}from"./vendor-CnQcJ2Lu.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(x,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const x=h.div`
1
+ import{e as d,j as i,$ as o,eF as r,cq as n,o as s,C as c}from"./index-DkYbjDYX.js";import{j as b,n as h}from"./vendor-CnQcJ2Lu.js";const m={width:new c(343,580,726)};function f({label:e,checkBoxField:l,style:t}){const a=d();return i.jsxs(x,{size:a,style:t,isDisabled:l.isDisabled,"data-testid":o(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(r,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const x=h.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{e as B,ck as z,cs as F,j as t,$ as j,cq as _,C as f,g as u,q as s,ct as X,X as q,o as i,u as G,M as K,eP as J,eQ as Q,dk as A,bX as U,b3 as C,cu as Y,dK as Z,v as D,b0 as ee,a3 as le}from"./index-CnrHU8WN.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=G(),y=Ce(e,b),I=K.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?P(r,b):void 0,R={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(xe,{children:[t.jsx(be,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${I.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(C.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(C.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(C.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(J,{isMulti:!1,onCreateOption:l=>{const p=Q(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${I.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:N,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:R,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(C.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(C.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{e as B,ck as z,cs as F,j as t,$ as j,cq as _,C as f,g as u,q as s,ct as X,X as q,o as i,u as G,M as K,eP as J,eQ as Q,dk as A,bX as U,b3 as C,cu as Y,dK as Z,v as D,b0 as ee,a3 as le}from"./index-DkYbjDYX.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:$=!0,addIconInCreateLabel:m,getLabelForId:b,tagProperties:x,hasError:S,style:c})=>{const w=G(),y=Ce(e,b),I=K.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?P(r,b):void 0,R={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:w.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${w.colors.dropShadowHover}`,border:`1px solid ${w.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(xe,{children:[t.jsx(be,{children:t.jsx(Y,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${I.createOption} "${l}"`})]}),M=l=>{const{menuIsOpen:p,isFocused:L,isDisabled:k,selectProps:H}=l,{value:W}=H;return t.jsx(se,{menuIsOpen:p,isFocused:L,isDisabled:k,selectedValue:W,hasError:S,"data-testid":j("creatable-single-select-control",o),children:t.jsx(C.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(C.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&x!=null&&x.isTagShownForOption(l.data.value)===!0&&t.jsx($e,{children:t.jsx(we,{style:x.style,children:x.tagName})}),l.children]})}),N=l=>{const{selectProps:p}=l,{placeholder:L,value:k}=p;return t.jsx(C.Input,{...l,autoComplete:"new-password",placeholder:k==null?L:void 0,"data-testid":j("creatable-single-select-input",o),children:l.children})};return t.jsx(J,{isMulti:!1,onCreateOption:l=>{const p=Q(l);n(p)},onChange:l=>{$!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>m===!0?E(l):`${I.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":j("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:M,Option:ae,Input:N,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:je,ClearIndicator:Se,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:R,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(C.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),$=r.indexOf(h)*40;return t.jsx(U,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:$,children:({index:m,style:b})=>t.jsx(pe,{style:b,children:o[m]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(C.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":j("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(me,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{e as I,ck as U,cs as g,j as o,$ as W,cq as k,C as l,eR as N,M as O,q as i,o as s,g as q,X as A}from"./index-CnrHU8WN.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:r,isOptional:u,style:c,file:m,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:R,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:L,updateFilesEntity:M,onDeleteFile:j,onEditFileName:B,onFileSizeError:C}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[o.jsx(k,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(X,{labelWidth:e.width,size:a,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:m,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:M,onFileSizeError:C,onDeleteFile:j,onEditFileName:B,placeholderText:S,showPhotoPicker:v,useMobileCam:R,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:T}),h&&o.jsx(K,{size:a,isError:h,children:D&&m!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
1
+ import{e as I,ck as U,cs as g,j as o,$ as W,cq as k,C as l,eR as N,M as O,q as i,o as s,g as q,X as A}from"./index-DkYbjDYX.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:r,isOptional:u,style:c,file:m,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:R,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:L,updateFilesEntity:M,onDeleteFile:j,onEditFileName:B,onFileSizeError:C}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return o.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[o.jsx(k,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(X,{labelWidth:e.width,size:a,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:m,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:M,onFileSizeError:C,onDeleteFile:j,onEditFileName:B,placeholderText:S,showPhotoPicker:v,useMobileCam:R,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:T}),h&&o.jsx(K,{size:a,isError:h,children:D&&m!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as R,u as T,ck as p,cs as V,j as r,o,ct as P,bm as O,v as A,fK as F,g as l,X as K,b0 as M}from"./index-CnrHU8WN.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const U={infoLabel:new K("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:b,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(X,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(J,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...b},children:r.jsx(P,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(O,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:A.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(Y,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(q,{children:r.jsx(B,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const X=i.div`
1
+ import{e as R,u as T,ck as p,cs as V,j as r,o,ct as P,bm as O,v as A,fK as F,g as l,X as K,b0 as M}from"./index-DkYbjDYX.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const U={infoLabel:new K("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:b,style:f,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(X,{size:a,style:f,isDisabled:e!=null,isError:d||n,children:[r.jsx(J,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...b},children:r.jsx(P,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(O,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:c=>{I(c)},menuPlacement:v,titleTextStyle:A.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(Y,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(q,{children:r.jsx(B,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const X=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as b,j as r,$ as s,cq as u,C as l,q as t,o as a,n as m,X as x}from"./index-CnrHU8WN.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:h,additionalInfoLabel:d,style:g,infoLabelStyle:p}){const o=b();return r.jsxs(f,{size:o,style:g,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:h}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const f=n.div`
1
+ import{e as b,j as r,$ as s,cq as u,C as l,q as t,o as a,n as m,X as x}from"./index-DkYbjDYX.js";import{n}from"./vendor-CnQcJ2Lu.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},c={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:h,additionalInfoLabel:d,style:g,infoLabelStyle:p}){const o=b();return r.jsxs(f,{size:o,style:g,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:h}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const f=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as U,j as l,$ as Z,cq as me,o as s,C,q as m,ck as K,ct as ge,cs as xe,u as fe,fu as be,M as E,X as $e,b3 as H,fv as Q,bT as _,fw as X,b0 as q,g as R,v as B,n as Y,fx as we,B as ye,d as ve}from"./index-CnrHU8WN.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{e as U,j as l,$ as Z,cq as me,o as s,C,q as m,ck as K,ct as ge,cs as xe,u as fe,fu as be,M as E,X as $e,b3 as H,fv as Q,bT as _,fw as X,b0 as q,g as R,v as B,n as Y,fx as we,B as ye,d as ve}from"./index-DkYbjDYX.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-B7xRZ-3a-gFNkUaN0.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as M,j as l,$ as A,cq as q,C as m,o,q as n,ck as _,ct as G,cs as K,u as Q,v as V,b2 as ie,l as I,M as te,fr as se,fy as ae,V as ne,ah as de,g as D,b3 as B,ap as ce,b0 as pe,c3 as ue,fz as F,bL as X,J as he,d as Y,n as ge,B as me,fj as be,f5 as fe,aS as xe,fk as ye,aC as we,fA as ve}from"./index-CnrHU8WN.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
1
+ import{e as M,j as l,$ as A,cq as q,C as m,o,q as n,ck as _,ct as G,cs as K,u as Q,v as V,b2 as ie,l as I,M as te,fr as se,fy as ae,V as ne,ah as de,g as D,b3 as B,ap as ce,b0 as pe,c3 as ue,fz as F,bL as X,J as he,d as Y,n as ge,B as me,fj as be,f5 as fe,aS as xe,fk as ye,aC as we,fA as ve}from"./index-DkYbjDYX.js";import{n as d,j as $e,b as k}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-B7xRZ-3a-gFNkUaN0.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{e as W,a2 as ue,l as y,a as pe,c7 as me,i0 as P,hN as L,M as H,c8 as he,j as a,F as ge,fB as xe,a4 as fe,o as t,C as m,L as be,a3 as je,ca as R,i1 as we,g as ye,v as I,aB as Ce,q as r}from"./index-CnrHU8WN.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-CcryBjJ4-DTQbu83x.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-B6cLYSmS-taSeLw3M.js";import"./TrendWithTransactions-Ch8smOOz-jen0aqye.js";import"./TrendChart-D2B0mwGW-BG_v97N6.js";import"./chartTypes-ZJYcsh-k-BCVVPSGZ.js";import"./toCOABalancesWithID-DJNZCEmi-D5UU_YFX.js";import"./toChartData-HYsxUPzh-De2YqXiL.js";import"./NoDataChart-BUR7CF8w-JBqV9jC1.js";import"./InsightsSection-C-kpIvRH-CdqlGqmg.js";import"./NavigationDots-CXPwKFh1-CN4i4rO7.js";import"./TransactionList-BrOpzi25-Db-4cinW.js";import"./BoxItem-CQlEDklH-QYh8SK8x.js";import"./commonDimensions-NUQEpowf-g8lux_Te.js";import"./uploadAttachment-BgjFjkkw-DJYt86D-.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{e as W,a2 as ue,l as y,a as pe,c7 as me,i0 as P,hN as L,M as H,c8 as he,j as a,F as ge,fB as xe,a4 as fe,o as t,C as m,L as be,a3 as je,ca as R,i1 as we,g as ye,v as I,aB as Ce,q as r}from"./index-DkYbjDYX.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-CcryBjJ4-DqtEm7a_.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-B6cLYSmS-Idd8xnf3.js";import"./TrendWithTransactions-Ch8smOOz-DNwgv92f.js";import"./TrendChart-D2B0mwGW-Ch_QFpuF.js";import"./chartTypes-ZJYcsh-k-CW2_rkXh.js";import"./toCOABalancesWithID-DJNZCEmi-CIIiQeHO.js";import"./toChartData-HYsxUPzh-CAvzUAl7.js";import"./NoDataChart-BUR7CF8w-Td3OKg8p.js";import"./InsightsSection-C-kpIvRH-CxBMmGxR.js";import"./NavigationDots-CXPwKFh1-DfIF4ftt.js";import"./TransactionList-BrOpzi25-Co-a-1QJ.js";import"./BoxItem-CQlEDklH-fqkASbPf.js";import"./commonDimensions-NUQEpowf-CWr-zjZp.js";import"./uploadAttachment-BgjFjkkw-CI4XsjmM.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{M as F,e as R,a as T,l as s,j as a,F as z,bS as C,cd as A,C as m,cg as W,o as e,bV as E,q as u,ap as U,a7 as q,bq as N}from"./index-CnrHU8WN.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
1
+ import{M as F,e as R,a as T,l as s,j as a,F as z,bS as C,cd as A,C as m,cg as W,o as e,bV as E,q as u,ap as U,a7 as q,bq as N}from"./index-DkYbjDYX.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -1 +1 @@
1
- import{j as l}from"./index-CnrHU8WN.js";import{f as y}from"./ACHDetailsPage-BwrF_fEr-DkyA5i2K.js";import"./mui-Bi8r7UDG.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-927iR_QB-BLBTF_Hr.js";import"./MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js";import"./BankAccountSection-Au9_D0Ji-bmPPOv5B.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
1
+ import{j as l}from"./index-DkYbjDYX.js";import{f as y}from"./ACHDetailsPage-BwrF_fEr-WbfRQEVn.js";import"./mui-Bi8r7UDG.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-927iR_QB-DBItvS65.js";import"./MagicLinkTitleSection-tHh2d5Ld-D5o4eoxT.js";import"./BankAccountSection-Au9_D0Ji-BjKrxJSF.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
@@ -1 +1 @@
1
- import{j as S}from"./index-CnrHU8WN.js";import{y as b}from"./DomesticWireDetailsPage-B0tbjNLO-ByvPg7x-.js";import"./mui-Bi8r7UDG.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-Au9_D0Ji-bmPPOv5B.js";import"./MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js";import"./BankAccountWarningSection-927iR_QB-BLBTF_Hr.js";import"./MailingDetailsSection-CTrx1xoB-By7vG4Hi.js";import"./LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
1
+ import{j as S}from"./index-DkYbjDYX.js";import{y as b}from"./DomesticWireDetailsPage-B0tbjNLO-DvFZauoD.js";import"./mui-Bi8r7UDG.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-Au9_D0Ji-BjKrxJSF.js";import"./MagicLinkTitleSection-tHh2d5Ld-D5o4eoxT.js";import"./BankAccountWarningSection-927iR_QB-DBItvS65.js";import"./MailingDetailsSection-CTrx1xoB-BZFuTOyl.js";import"./LabeledAddressValueField-Dl5yKg2N-C2PFyfLz.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
@@ -1 +1 @@
1
- import{j as B}from"./index-CnrHU8WN.js";import{f as S}from"./InternationalWireSwiftDetailsPage-C7D15jtK-Li0eKKsY.js";import"./mui-Bi8r7UDG.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-927iR_QB-BLBTF_Hr.js";import"./MailingDetailsSection-CTrx1xoB-By7vG4Hi.js";import"./LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js";import"./MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
1
+ import{j as B}from"./index-DkYbjDYX.js";import{f as S}from"./InternationalWireSwiftDetailsPage-C7D15jtK-nl3_mp8w.js";import"./mui-Bi8r7UDG.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-927iR_QB-DBItvS65.js";import"./MailingDetailsSection-CTrx1xoB-BZFuTOyl.js";import"./LabeledAddressValueField-Dl5yKg2N-C2PFyfLz.js";import"./MagicLinkTitleSection-tHh2d5Ld-D5o4eoxT.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
@@ -1,4 +1,4 @@
1
- import{ac as r,M as n,j as t,ak as l,o,D as c,c4 as a,L as p}from"./index-CnrHU8WN.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const M=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
1
+ import{ac as r,M as n,j as t,ak as l,o,D as c,c4 as a,L as p}from"./index-DkYbjDYX.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const M=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{M as C,ab as p,j as t,c4 as m,o as n,n as g,g as x,bL as d}from"./index-CnrHU8WN.js";import{n as s,b as l}from"./vendor-CnQcJ2Lu.js";const h=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:c,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,i=r>0?` ${p("0,0.[00]",r,c)}`:"",o=a.title.replace(/<tenant_name>/,e)+i;return t.jsxs(t.Fragment,{children:[t.jsx($,{children:o}),t.jsxs(y,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=s(d)`
1
+ import{M as C,ab as p,j as t,c4 as m,o as n,n as g,g as x,bL as d}from"./index-DkYbjDYX.js";import{n as s,b as l}from"./vendor-CnQcJ2Lu.js";const h=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),M=({companyName:e,currencySymbol:c,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,i=r>0?` ${p("0,0.[00]",r,c)}`:"",o=a.title.replace(/<tenant_name>/,e)+i;return t.jsxs(t.Fragment,{children:[t.jsx($,{children:o}),t.jsxs(y,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=s(d)`
2
2
  display: flex;
3
3
  gap: ${n.sp1};
4
4
  color: ${x.successDark};
@@ -1,4 +1,4 @@
1
- import{e as $,M as u,C as r,j as s,o as a,cc as x,ao as b,q as i}from"./index-CnrHU8WN.js";import{n}from"./vendor-CnQcJ2Lu.js";import{W as f}from"./LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=$(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,c=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:c},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:h=>h!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
1
+ import{e as $,M as u,C as r,j as s,o as a,cc as x,ao as b,q as i}from"./index-DkYbjDYX.js";import{n}from"./vendor-CnQcJ2Lu.js";import{W as f}from"./LabeledAddressValueField-Dl5yKg2N-C2PFyfLz.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=$(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,c=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:c},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:h=>h!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as o,j as i,$ as d,p as c,g as l,o as p,C as r}from"./index-CnrHU8WN.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
1
+ import{e as o,j as i,$ as d,p as c,g as l,o as p,C as r}from"./index-DkYbjDYX.js";import{n as a}from"./vendor-CnQcJ2Lu.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,p as u,eK as h,o as s,u as d,eL as m}from"./index-CnrHU8WN.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
1
+ import{j as o,p as u,eK as h,o as s,u as d,eL as m}from"./index-DkYbjDYX.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
2
2
  position: relative;
3
3
  `,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(y,{ref:p,children:[o.jsx(g,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(j,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(b,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},g=c.div`
4
4
  height: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{u as z,e as M,e_ as H,M as $,a8 as w,j as i,l as B,aW as L,T as v,o as t,aS as P,C as d,B as I,n as _,v as R,X as W,e$ as j,f0 as C,q as u,f2 as E,g as T,d as J}from"./index-CnrHU8WN.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{J as F}from"./SetUpDefaultSection-BsOdnADR-CaLnvPCj.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},V=n.img`
1
+ import{u as z,e as M,e_ as H,M as $,a8 as w,j as i,l as B,aW as L,T as v,o as t,aS as P,C as d,B as I,n as _,v as R,X as W,e$ as j,f0 as C,q as u,f2 as E,g as T,d as J}from"./index-DkYbjDYX.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{J as F}from"./SetUpDefaultSection-BsOdnADR-Dsmw75Gk.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},V=n.img`
2
2
  width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${t.sp11};
@@ -1,4 +1,4 @@
1
- import{u as D,Y as M,l as j,M as w,fi as t,j as r,aW as B,fB as F,o as O}from"./index-CnrHU8WN.js";import{n as P}from"./vendor-CnQcJ2Lu.js";import{A as U}from"./ChargeCardListTable-BTZu7ldI-Dtf0dVvX.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./Menu-CbQ6Zkdp-B0rPvp7W.js";import"./RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js";import"./CardNumberSubText-BTjxrF3b-CNbVWSfp.js";import"./ChargeCardUtils-C3fhOMpV-CuPIdUk0.js";const{spendManagement:{chargeCard:u}}=w.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:A,onBackClick:g,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=j.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),v=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),E=v&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,L=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,x={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(B,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:g,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(F,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:x,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:L,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:A,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
1
+ import{u as D,Y as M,l as j,M as w,fi as t,j as r,aW as B,fB as F,o as O}from"./index-DkYbjDYX.js";import{n as P}from"./vendor-CnQcJ2Lu.js";import{A as U}from"./ChargeCardListTable-BTZu7ldI-DiS_m5QO.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./Menu-CbQ6Zkdp-CN2M1x8D.js";import"./RoleWithToolTip-B7xRZ-3a-gFNkUaN0.js";import"./CardNumberSubText-BTjxrF3b-C-OxscLY.js";import"./ChargeCardUtils-C3fhOMpV-hi1G7Cf6.js";const{spendManagement:{chargeCard:u}}=w.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:A,onBackClick:g,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=j.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),v=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),E=v&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,I=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,R=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,L=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,x={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(B,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:g,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(F,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:x,cashbackInformation:I,creditAccountInformation:R,debitAccountInformation:L,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:A,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${O.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as te,fm as ie,u as fe,Y as ge,fn as be,a as ye,I as xe,l as z,c8 as we,c7 as Pe,M as re,j as l,fo as ve,aW as De,F as $e,a4 as Se,o as s,fp as ne,fq as de,fr as ce,c2 as ue,C as L,B as me,v as je,X as Re,V as le,cj as Oe,ca as Ce,fs as _,cg as Le,ce as Te,ft as Ie,af as Ve,q as E}from"./index-CnrHU8WN.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{W as ke}from"./LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(E[2],E[3]),toolTipWidth:new L(215,237),notePadding:new L(E[3],E[4]),noteGap:new L(E[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:B,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:D,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:H}=e,Y=e.person.user?.birthday!=null?"readonly":void 0,$=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(y,p,o,f,D,T,h),[y,p,o,f,D,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),j=c.splice(0,1),R=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:j,restControllerEmailsStr:R}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),Z=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Oe,{isDisabled:u,label:{label:X.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(t,"email"),placeholder:_(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:I},style:{width:"auto"},isDisabled:Y,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:X.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:H?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:X.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:_(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,D)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const j=A.findIndex(R=>R.userId===c);if(j!==-1){const R=A[j],V=N.find(Q=>Q.classId===R.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}else return[]},placeholderLabel:d?a.notApplicable:_(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:_(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ze,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(qe,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
1
+ import{e as te,fm as ie,u as fe,Y as ge,fn as be,a as ye,I as xe,l as z,c8 as we,c7 as Pe,M as re,j as l,fo as ve,aW as De,F as $e,a4 as Se,o as s,fp as ne,fq as de,fr as ce,c2 as ue,C as L,B as me,v as je,X as Re,V as le,cj as Oe,ca as Ce,fs as _,cg as Le,ce as Te,ft as Ie,af as Ve,q as E}from"./index-DkYbjDYX.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{W as ke}from"./LabeledAddressValueField-Dl5yKg2N-C2PFyfLz.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-PjendvcN.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField--l6D29VX-DF53BqXr.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-B7xRZ-3a-gFNkUaN0.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(E[2],E[3]),toolTipWidth:new L(215,237),notePadding:new L(E[3],E[4]),noteGap:new L(E[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:B,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:D,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:H}=e,Y=e.person.user?.birthday!=null?"readonly":void 0,$=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(y,p,o,f,D,T,h),[y,p,o,f,D,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),j=c.splice(0,1),R=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:j,restControllerEmailsStr:R}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),Z=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Oe,{isDisabled:u,label:{label:X.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(t,"email"),placeholder:_(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:I},style:{width:"auto"},isDisabled:Y,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:X.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:H?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:X.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:_(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,D)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const j=A.findIndex(R=>R.userId===c);if(j!==-1){const R=A[j],V=N.find(Q=>Q.classId===R.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}else return[]},placeholderLabel:d?a.notApplicable:_(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:_(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ze,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(qe,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{u as p,e as m,j as o,$ as u,bx as g,M as x,o as t,a_ as b,eO as k,bt as y,bm as C,v}from"./index-CnrHU8WN.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const $=l.div`
1
+ import{u as p,e as m,j as o,$ as u,bx as g,M as x,o as t,a_ as b,eO as k,bt as y,bm as C,v}from"./index-DkYbjDYX.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const $=l.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{j as e,o as r,af as i,bt as h}from"./index-CnrHU8WN.js";import{j as l,n as t}from"./vendor-CnQcJ2Lu.js";const c=l`
1
+ import{j as e,o as r,af as i,bt as h}from"./index-DkYbjDYX.js";import{j as l,n as t}from"./vendor-CnQcJ2Lu.js";const c=l`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{j as e,$ as v,o as t}from"./index-CnrHU8WN.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const C=l.div`
1
+ import{j as e,$ as v,o as t}from"./index-DkYbjDYX.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const C=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,y=l.div`
@@ -1,4 +1,4 @@
1
- import{e as z,a as K,c7 as X,a2 as Y,j as t,M as F,F as Z,a4 as Q,C as i,o as a,a3 as ee,X as _,h as te,gl as ae,n as le,ck as O,hz as ne,cc as U,ca as oe,q as l,ao as re,cs as ie,cq as de,cE as se,m as ce,es as me,dk as he,aB as ge,g as V}from"./index-CnrHU8WN.js";import{b as j,n as o,j as be}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=F.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:b,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),b?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
1
+ import{e as z,a as K,c7 as X,a2 as Y,j as t,M as F,F as Z,a4 as Q,C as i,o as a,a3 as ee,X as _,h as te,gl as ae,n as le,ck as O,hz as ne,cc as U,ca as oe,q as l,ao as re,cs as ie,cq as de,cE as se,m as ce,es as me,dk as he,aB as ge,g as V}from"./index-DkYbjDYX.js";import{b as j,n as o,j as be}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=F.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:b,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),b?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as l,j as t,g as r,o as a,n as s,C as m,u as o}from"./index-CnrHU8WN.js";import{n as i,b as h}from"./vendor-CnQcJ2Lu.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},z=i.div`
1
+ import{e as l,j as t,g as r,o as a,n as s,C as m,u as o}from"./index-DkYbjDYX.js";import{n as i,b as h}from"./vendor-CnQcJ2Lu.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},z=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{j as e,o as t,u as s}from"./index-CnrHU8WN.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const r=i.div`
1
+ import{j as e,o as t,u as s}from"./index-DkYbjDYX.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const r=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
@@ -1,4 +1,4 @@
1
- import{j as o,M as i,bF as s,c4 as l,n as c,g as a,B as d}from"./index-CnrHU8WN.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{i as h}from"./ZeniCopyright-eQoaUH08-BVCPJkWr.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const g=t.div`
1
+ import{j as o,M as i,bF as s,c4 as l,n as c,g as a,B as d}from"./index-DkYbjDYX.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{i as h}from"./ZeniCopyright-eQoaUH08-l7g3MKbm.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const g=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,fB as ne,o as i,bf as se,M as I,a6 as re,u as X,e as Y,a as le,c7 as ae,l as P,aW as ce,F as de,T as w,a4 as pe,C as z,f6 as me,fC as ue,eF as he,fD as fe,fE as ge,af as xe,q as S,ao as J,d as K,n as Q,B as $e}from"./index-CnrHU8WN.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const{common:be}=I.getLocalizedStrings(),U={notePadding:new z(S[3],S[4]),noteGap:new z(S[0],6)},M=(e,n)=>`${e}.${n}`,ye=o.div`
1
+ import{j as t,fB as ne,o as i,bf as se,M as I,a6 as re,u as X,e as Y,a as le,c7 as ae,l as P,aW as ce,F as de,T as w,a4 as pe,C as z,f6 as me,fC as ue,eF as he,fD as fe,fE as ge,af as xe,q as S,ao as J,d as K,n as Q,B as $e}from"./index-DkYbjDYX.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const{common:be}=I.getLocalizedStrings(),U={notePadding:new z(S[3],S[4]),noteGap:new z(S[0],6)},M=(e,n)=>`${e}.${n}`,ye=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -1 +1 @@
1
- import{v as e,q as a}from"./index-CnrHU8WN.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,s=1e3;export{l as A,i as E,n as I,s as L,o as a,r as t};
1
+ import{v as e,q as a}from"./index-DkYbjDYX.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,s=1e3;export{l as A,i as E,n as I,s as L,o as a,r as t};
@@ -1,4 +1,4 @@
1
- import{u as Q,e as v,a as Zt,M as B,c7 as Xt,j as t,aW as Qt,l as g,F as Kt,a4 as ei,o as i,T as we,gq as ti,C as R,hr as ii,v as Ne,m as oi,y as et,bP as tt,aj as it,dm as ot,bX as st,ja as at,q as w,J as si,jb as ai,dk as ce,ae as ri,X as ni,h as rt,g as S,d as li,bg as z,ck as ue,fC as he,jc as pe,Y as nt,d6 as lt,du as V,d1 as dt,fL as di,n as K,hF as ci,B as Y,e$ as ui,a8 as ye,ap as fe,jd as hi,bd as ct,je as Ie,aR as pi}from"./index-CnrHU8WN.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-DHiC-mOv-DT2nPRyj.js";import{d as ut}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-CeeJpJ2p-8AiJrLfH.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";function mi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),f=Q(),m=x.useCallback(b=>{d(b.id)},[d]),p=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(gi,{windowSize:h,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:m}),t.jsx(fi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:p})]})}const gi=r.div`
1
+ import{u as Q,e as v,a as Zt,M as B,c7 as Xt,j as t,aW as Qt,l as g,F as Kt,a4 as ei,o as i,T as we,gq as ti,C as R,hr as ii,v as Ne,m as oi,y as et,bP as tt,aj as it,dm as ot,bX as st,ja as at,q as w,J as si,jb as ai,dk as ce,ae as ri,X as ni,h as rt,g as S,d as li,bg as z,ck as ue,fC as he,jc as pe,Y as nt,d6 as lt,du as V,d1 as dt,fL as di,n as K,hF as ci,B as Y,e$ as ui,a8 as ye,ap as fe,jd as hi,bd as ct,je as Ie,aR as pi}from"./index-DkYbjDYX.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-DHiC-mOv-B3I6trmM.js";import{d as ut}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-CeeJpJ2p-D4W---n3.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";function mi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),f=Q(),m=x.useCallback(b=>{d(b.id)},[d]),p=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(gi,{windowSize:h,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:m}),t.jsx(fi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:p})]})}const gi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as H,hq as xe,M as B,u as q,y as be,j as t,$ as _e,bf as Se,hp as ke,aY as we,aW as ve,hr as Be,hs as $e,o as u,a6 as je,m as Oe,C as F,aj as le,I as ie,a8 as Pe,q as $,a$ as Te,bI as De,bJ as Ne,bK as Ee,g as a,n as ce,bc as Ie,b7 as Me,aw as Ae,v as Z,av as Le,ab as Fe,b8 as Ve,ba as Re,l as ze}from"./index-CnrHU8WN.js";import{b as x,n as m,f as We}from"./vendor-CnQcJ2Lu.js";import{p as Ke,d as Ye,y as G,b as de,u as ee}from"./chartTypes-ZJYcsh-k-BCVVPSGZ.js";import{V as Ge}from"./toChartData-HYsxUPzh-De2YqXiL.js";import{m as V}from"./analyticsHelper-Bns4muDg-CtVpldLz.js";import{p as He}from"./TimeRangeSwitcher-CGN9Hq2L-r0shmfu7.js";import{M as qe}from"./TimeframeSwitcherWithToggle-BkzCFclG-CPGMypUZ.js";import{C as Je}from"./NoDataChart-BUR7CF8w-JBqV9jC1.js";import{d as Ue}from"./NoDataTable-3L4pbKR0-B7fSM3B6.js";import{H as Qe,k as oe}from"./detailCommon-DMKakaa6-DVMNrgCv.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Xe,W as J}from"./CollapsableReportTable-Ds0h8x1N-DplOjSEj.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-Dp2QmYvb-Cr-c38Jl.js";import{d as re}from"./mapLoadingInProgressToTreeNode-CwLhcXcQ-nJqrr22I.js";import{l as Ze}from"./mapSpacerToTreeNode-CF_gEYDy-aRE98CQL.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-BN4-ACoQ-D22kJoI6.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";import"./AccountRow-DJd-IAIl-CfLQe7at.js";const eo=m.div`
1
+ import{e as H,hq as xe,M as B,u as q,y as be,j as t,$ as _e,bf as Se,hp as ke,aY as we,aW as ve,hr as Be,hs as $e,o as u,a6 as je,m as Oe,C as F,aj as le,I as ie,a8 as Pe,q as $,a$ as Te,bI as De,bJ as Ne,bK as Ee,g as a,n as ce,bc as Ie,b7 as Me,aw as Ae,v as Z,av as Le,ab as Fe,b8 as Ve,ba as Re,l as ze}from"./index-DkYbjDYX.js";import{b as x,n as m,f as We}from"./vendor-CnQcJ2Lu.js";import{p as Ke,d as Ye,y as G,b as de,u as ee}from"./chartTypes-ZJYcsh-k-CW2_rkXh.js";import{V as Ge}from"./toChartData-HYsxUPzh-CAvzUAl7.js";import{m as V}from"./analyticsHelper-Bns4muDg-fdadVVX8.js";import{p as He}from"./TimeRangeSwitcher-CGN9Hq2L-DV1fjSGw.js";import{M as qe}from"./TimeframeSwitcherWithToggle-BkzCFclG-CQKcN7Zp.js";import{C as Je}from"./NoDataChart-BUR7CF8w-Td3OKg8p.js";import{d as Ue}from"./NoDataTable-3L4pbKR0-DSFwo793.js";import{H as Qe,k as oe}from"./detailCommon-DMKakaa6-DtLKIvri.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Xe,W as J}from"./CollapsableReportTable-Ds0h8x1N-BZm50c8G.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-Dp2QmYvb-CKpurAAE.js";import{d as re}from"./mapLoadingInProgressToTreeNode-CwLhcXcQ-CRCwZyba.js";import{l as Ze}from"./mapSpacerToTreeNode-CF_gEYDy-HK8BD4L0.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-BN4-ACoQ-TPVp_jS7.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";import"./AccountRow-DJd-IAIl-B-YF9K8j.js";const eo=m.div`
2
2
  display: flex;
3
3
  `,oo=m.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{u as i,j as r}from"./index-CnrHU8WN.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const p=n.div`
1
+ import{u as i,j as r}from"./index-DkYbjDYX.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const p=n.div`
2
2
  display: ${({isOpen:o})=>o?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;