@zeniai/web-cockpit-ui 1.13.88-qa → 1.13.89-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/dist/assets/{ACHDetailsPage-Dht0mfFW-CnBsuoV-.js → ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-D8LI2uJ_-C7bPAaz5.js → AIPerformancePage-D8LI2uJ_-CFMKtsQV.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cw_Mdy7Z-BT4F8v2w.js → AccountInfoPage-Cw_Mdy7Z-CgHNbOHf.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DadwVfBB-uFTPFlOX.js → AccountInfoPageContent-DadwVfBB-CcKZ7ci4.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-mQx5-mCY-D5_BgiNu.js → AccountReconDetailsDrawerPage-mQx5-mCY-CXTHdi5q.js} +1 -1
  6. package/dist/assets/{AccountRow-B4i2KTVu-C7LTIhFl.js → AccountRow-B4i2KTVu-DZIGknQG.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-B2NngRd9-D-l2lLPy.js → AccountsPromoCardStack-B2NngRd9-cDiIvZy1.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-D-IznBH5-DmcdLsko.js → AddAddressForCardDrawer-D-IznBH5-BJus8-sl.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DflLtoqk-Dsj4N3Cx.js → AddToWalletPage-DflLtoqk-C5v1fW7G.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-z5SauZFW-CHiK0tNG.js → AgingReportsPage-z5SauZFW-CWSELr2T.js} +1 -1
  11. package/dist/assets/{AllUserItems-Cs-QjNZz-DJ2K-Hgn.js → AllUserItems-Cs-QjNZz-DLp9A32f.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-lLcH4EB_-Dcjx6dO9.js → ApAgingDetailPage-lLcH4EB_-rlPPDzk2.js} +1 -1
  13. package/dist/assets/{AppBasePage-jmR82AtE-WoKiJCRR.js → AppBasePage-jmR82AtE-DayOXpZP.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-BjVgRQD8-C8F7bkE1.js → AppDrawerContent-BjVgRQD8-BmKoXH6f.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-zl3t7M0D-CZboF3af.js → ApprovalRulesSettingsPage-zl3t7M0D-Cdqy44le.js} +1 -1
  16. package/dist/assets/{ArAgingChart-B7_os9Eg-Bt__YkvI.js → ArAgingChart-B7_os9Eg-CgtB3vV8.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-DPGrFIuw-FN4rS2zc.js → ArAgingDetailPage-DPGrFIuw-DbqMnESI.js} +1 -1
  18. package/dist/assets/{AttachmentView-B0X31J2n-CacByoiK.js → AttachmentView-B0X31J2n-CsjUR1d_.js} +1 -1
  19. package/dist/assets/{BankAccountSection-BGfiGdYG-coKtzKmb.js → BankAccountSection-BGfiGdYG-BvbymoQK.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Cd5lC0dV-CUUz-Exs.js → BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-DHJqJw74-BlTET1Yj.js → BankConnectionsSettingsPage-DHJqJw74-BePSQANr.js} +1 -1
  22. package/dist/assets/{BillDetailPage-CVPyGkX2-fFTX-Ocr.js → BillDetailPage-CVPyGkX2-BrTeB9W1.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CPvu5b92-F8EjgziX.js → BillPayApprovalRuleDetailPage-CPvu5b92-Ms299zWc.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-04rw5oF_-TIx7_YN6.js → BillPayApprovalRulesPage-04rw5oF_-ByiJUcvs.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-xnBNKyGo-X7TVMSec.js → BillPayPromoPage-xnBNKyGo-Qs57CtUW.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-2FceZZW4-TCgBSFd3.js → BillPaySetUpPage-2FceZZW4-B3NVG0AT.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-D2iVTCtE-Ci07KaQL.js → BillingSettingsPage-D2iVTCtE-DzLgV1gZ.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-sdzCq1Cx-J2uD0n-I.js → BillsBulkReviewDrawerPage-sdzCq1Cx-CMrpjPLV.js} +1 -1
  29. package/dist/assets/{BoxItem-dOIVDQzt-NtTPp4CN.js → BoxItem-dOIVDQzt-BM2Or2XI.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-DaVB5XYz-DY9bdSBg.js → BusinessVerificationPage-DaVB5XYz-abkyr0KT.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-CX7raaMz-Df6fKIc5.js → CardNumberSubText-CX7raaMz-YubYXrEf.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-xKd1BcXA-DOKFrG0z.js → CashbackDetailPage-xKd1BcXA-BnqvBKy2.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-D-htyuB--b8ZuifKu.js → ChargeCardDetailPage-D-htyuB--DNk7-kF0.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-BFEDq_hH-DLkp657c.js → ChargeCardListPage-BFEDq_hH-CIWVY9p8.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-D0rr5rCb-DvYas5Ug.js → ChargeCardListTable-D0rr5rCb-ubys_P-K.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-C4RyYN8x-CdqIlnGX.js → ChargeCardPromoPage-C4RyYN8x-DrItIyBg.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-DdabiH79-wT6fIrAy.js → ChargeCardSetupPage-DdabiH79-BJYnLJP3.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-fcVVhHeN-B3Z4WiQm.js → ChargeCardStatementsPage-fcVVhHeN-3BJYN5k8.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-CHUMBmgR-BtDK4UTM.js → ChargeCardUtils-CHUMBmgR-CJymagC4.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-kXvIXrLn-Lot7s9mg.js → ChaseOverlay-kXvIXrLn-BoWFlEip.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DzZGbAGe-q_SkLLq0.js → CheckDepositDrawerPage-DzZGbAGe-CUI6hMoI.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-B7JqlhCA-DlVKUuhN.js → CollapsableReportTable-B7JqlhCA-D-71vAGn.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Cd0QdDAc-Dw3rzd0i.js → CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-Bhm76W7a-BPNSSuBF.js → CompanyPassportCard-Bhm76W7a-DhQY8aBm.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-B6Urivf7-DubnzS8F.js → CompanyPassportPage-B6Urivf7-Cf5kWZCy.js} +1 -1
  46. package/dist/assets/{CompleteProfile-Ch4TNwnb-BcsCdDEe.js → CompleteProfile-Ch4TNwnb-BDWK7-aS.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DxWLsUlB-D8Jx9ulS.js → ConfettiBurst-DxWLsUlB-rN2UgITP.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-MjFD4wWW-C08D4uVX.js → CreateOrEditVendorPage-MjFD4wWW-Duct_eTQ.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CcZnGiIZ-BTa8I7UV.js → CreditCardPaymentDrawerPage-CcZnGiIZ-Ci6NOj44.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-DEV6AUvV-DY35HpaU.js → CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-iFR770y_-DUzSudBS.js → CurrencySelectField-iFR770y_-C1fOBvED.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-O_lVI1Iw-CXCQatOK.js → CustomerOnboardingActivationPage-O_lVI1Iw-CSIlT4cV.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-BNg2Axnl.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-WBhn2MmI-DQx0BLRy.js → CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CmnwYeBe-Cb5_HOMT.js → CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-DUMb3HBt-C2qKigzd.js → CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DZ8c60qu-DtKq1SkE.js → CustomerOnboardingProductSuitePage-DZ8c60qu-Ca-OS69A.js} +1 -1
  58. package/dist/assets/{Dashboard-BqpjCXF4-DFInYnKb.js → Dashboard-BqpjCXF4-2DYnY2Iv.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-pKEtfyyz-Bz_TuR11.js → DashboardReportPage-pKEtfyyz-CVEg_i3S.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CzhTsz8T-BR-YP5Rx.js → DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-BdBZvUQu-az9hs94h.js → DepositAccTransactionListPage-BdBZvUQu-BB7xhCYl.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-CjDxLXR5-8PCnDbOc.js → DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-Ckv29rd5-Bn35fCsZ.js → DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-9HCQzpew-D7JQlDlt.js → DownloadOverlay-9HCQzpew-CsaBVCuK.js} +1 -1
  65. package/dist/assets/{DrawerPage-BxA7btCQ-BmBzAlev.js → DrawerPage-BxA7btCQ-vpjTPccl.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-B9oW6E0C-DtLWviYu.js → EditPeoplePage-B9oW6E0C-C3pRQE6D.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-2_Ugsfav-QZjM2qzI.js → EditReimbursementDetailPage-2_Ugsfav-CInqqrZe.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-Dv97bCUN-BwIIPL1U.js → EntityDetailPage-Dv97bCUN-BCQJ8lei.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-CAz28n_B-Dm9Mk9cN.js → EntitySummarySection-CAz28n_B-DA_p__eJ.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CpVokJPL-BLbw9wgH.js → ExpenseAutomationOverviewPage-CpVokJPL-BSrPWwJ8.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CFRiNGRE-DvXqANdy.js → ExpenseAutomationPage-CFRiNGRE-CFvonBSo.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-BsCQmXdG-Ds4YTF8o.js → ExpressPayPage-BsCQmXdG-CzkMNsZH.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CnYlH8Tm-4-Rk1rI2.js → FeaturePreviewPage-CnYlH8Tm-cl_d37Wd.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CvsH5sJq-Bd2bAxCx.js → FollowStepsSection-CvsH5sJq-DWW0wJJE.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-CKbg3WRJ-HzlEwwYS.js → GlobalReviewListPage-CKbg3WRJ-BhA6WSL7.js} +1 -1
  76. package/dist/assets/{HelpButton-DmSTrp5G-BFcKSZj9.js → HelpButton-DmSTrp5G-BZ5gO3eI.js} +1 -1
  77. package/dist/assets/{InformationCardStack-X52PXCzi-8yuUPTeZ.js → InformationCardStack-X52PXCzi-BTPqjoZv.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-CXxA6hpf-BdxC_puc.js → InsightsCardStack-CXxA6hpf-BZ7-Ipfo.js} +1 -1
  79. package/dist/assets/{InsightsSection-obWu95-o-ddL771fm.js → InsightsSection-obWu95-o-miX-wlBZ.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-BFZjrnDu-RT-u4_SZ.js → IntegrationsSettingsPage-BFZjrnDu-BWjoBVhl.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-CywJ88_i-BnllM88s.js → InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-CjunyEiQ-Dr_TTQI0.js → InternationalWireVerificationPage-CjunyEiQ-CkCrwyQO.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BaaFGzDE-Dw309kwf.js → InviteFormPage-BaaFGzDE-BIlf9-kB.js} +1 -1
  84. package/dist/assets/{InvitePageListView-BJJQpITw-DCbx1IHW.js → InvitePageListView-BJJQpITw-CDEymEsw.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-7yKV1JuU-BGZXplYV.js → InvitePeoplePage-7yKV1JuU-BmXtVrGW.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-CjV8q6sM-CPl6gGHs.js → InvoiceUploadSection-CjV8q6sM-BkASWvfN.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-BTloC5fY-BmArvej_.js → IssueChargeCardPage-BTloC5fY-_HD69MiA.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-C8xq-j7G-EY-L5iS4.js → LabeledAddressValue-C8xq-j7G-D16vnyhu.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-CqhBSQ8f-CPXJhGgE.js → LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-D5A-8bnH-B_eYzZ1v.js → LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CB34OT80-D0_gUm7_.js → LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-MyG-6WMu-I9bW2EFa.js → LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DyvjlBIK-YdWOnQoJ.js → LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.js} +1 -1
  94. package/dist/assets/{LabeledText-CEbLfx4b-BpyGKldy.js → LabeledText-CEbLfx4b-BTTGqwXz.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-C7iYeJWK.js → LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CpZOSybd-HDTVv3mn.js → LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-CF2S7mlj-Dla9Sds0.js → LinkJETransactionPage-CF2S7mlj-BoLj0J2f.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-CI3FeJJc-DoCHgVjv.js → LowBalancePopup-CI3FeJJc-CdKJER0J.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-Hs-8X1gB-CdgF1Zp5.js → MagicLinkACHDetailsPage-Hs-8X1gB-CIg2sh6N.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-JY153fBS-CmyiWHQa.js → MagicLinkDomesticWireDetailsPage-JY153fBS-Cm2_mDog.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C7H0tqh2-Se7gH2Nu.js → MagicLinkInternationalWireDetailsPage-C7H0tqh2-n8HQkRdB.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DrfXx_R1-BkjVELh_.js → MagicLinkSuccessPage-DrfXx_R1-BNU78zpj.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-GAlgtNgO-CZgxBgK0.js → MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DwEajxFH-gm7_8xo8.js → MailingDetailsSection-DwEajxFH-BrjelhuF.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-CF-RTU9K-C-w6KW4_.js → MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js} +1 -1
  106. package/dist/assets/{Menu-DgxJQlbW-zbTlo91F.js → Menu-DgxJQlbW-DIVRGIXR.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-Bkn9hqAF-B9G2yjC0.js → MyBankConnectionsSettingsPage-Bkn9hqAF-DqE41rF5.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Bg1r7PJb-w9vjeGWd.js → MyPendingActivationChargeCardListPage-Bg1r7PJb-DnJ-MJDd.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DFqIWGcr-8iPlbKIP.js → MyProfileSettingsPage-DFqIWGcr-jQcxs-Wf.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-BJyEgvZP-JRV3h30X.js → NavBarWithPicker-BJyEgvZP-C-f0-1c6.js} +1 -1
  111. package/dist/assets/{NavigationArrow-CUVFG2Pf-CNhlXp6h.js → NavigationArrow-CUVFG2Pf-P3tdOWHt.js} +1 -1
  112. package/dist/assets/{NavigationDots-BDLMSply-BaF2Vbnh.js → NavigationDots-BDLMSply-CVhKiAdV.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-Ck7DGlQi-DaQXRBCD.js → NewGlobalMerchantPage-Ck7DGlQi-CVmDfXRL.js} +1 -1
  114. package/dist/assets/{NoDataChart-DMqFH96W-fv4cR3pY.js → NoDataChart-DMqFH96W--xyVCmNv.js} +1 -1
  115. package/dist/assets/{NoDataTable-B8PHBrBF-BxwQxjpG.js → NoDataTable-B8PHBrBF-BIIbtUFT.js} +1 -1
  116. package/dist/assets/{NotFoundPage-4JmEE0vS-TCqMAVLD.js → NotFoundPage-4JmEE0vS-BkO12wXJ.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-D6YQunRL-Cl8KP6vm.js → NotificationSettingsPage-D6YQunRL-Dh3lfacW.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-DZBF9h2L-CddnMsxc.js → NotificationsListConfig-DZBF9h2L-DipP-kuo.js} +1 -1
  119. package/dist/assets/{NotificationsPage-PjOFwF6H-jBs_ZASx.js → NotificationsPage-PjOFwF6H-CB9uEJYk.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BNNQdeqy-DIbTPTMn.js → OpExByVendorPage-BNNQdeqy-v4NH_AXr.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-C8DmmLmX.js → OverlayContainerPage-C0rUb6-5-Dg1IHqst.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cg3I1JPR-CF8tv3kA.js → PandLWithForecastPage-Cg3I1JPR-BHcMSGKl.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BaNMRbqw-Dzu83wc2.js → PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js} +1 -1
  124. package/dist/assets/{PeoplePage-BRnDI6mc-CkUUGmH6.js → PeoplePage-BRnDI6mc-CLBN4-_q.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-BG5sY-R6-QuPw7wyD.js → PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-g9uKkfc0-CyCK7_Rg.js → PortfolioDetails-g9uKkfc0-2ntvLazE.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-DZmAO-Ad-CSV1kbrn.js → ProductsCarousel-DZmAO-Ad-BvStEG-O.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-B9AnaalQ-BzQ7sMZC.js → PromoBaseCards-B9AnaalQ-hSs7-TQL.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-Bnhkqpjg-T0-tQjXm.js → QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-CHXmbhAv-CPFzN4Vh.js → QBOSetupSection-CHXmbhAv-C0u3acrS.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B2zXkJz--CtVboWjL.js → ReimbursementApprovalRuleDetailPage-B2zXkJz--CABHH5fp.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-HuTMMWVv-Bv-PkXOa.js → ReimbursementApprovalRulesPage-HuTMMWVv-E3dBhOaI.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-BLvwZrVh-AWvenrtq.js → ReimbursementDetailPage-BLvwZrVh-DyidHFPC.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-D_mQJpBI-CzavY-06.js → ReimbursementPromoPage-D_mQJpBI-Dp4ArZsT.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-FkxlkcbN-sL1c93dG.js → ReimbursementSetUpPage-FkxlkcbN-DldfTkkM.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-4Bwv7-2r.js → ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-BpS2SfWm.js} +1 -1
  137. package/dist/assets/{ReloadCard-DXOUba_M-Ds_JhQAa.js → ReloadCard-DXOUba_M-CHzipN0D.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-CHN0DsMB-BpJxSZpu.js → ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js} +1 -1
  139. package/dist/assets/{ReportsPage-FPxKx4-a-DjcS-PTA.js → ReportsPage-FPxKx4-a-CZcO3AqP.js} +1 -1
  140. package/dist/assets/{RevenueChart-L0b_usU7-DR3KGky3.js → RevenueChart-L0b_usU7-Cf8KBYNj.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BNpQBWoS-DvQQRITm.js → ReviewDetailsPage-BNpQBWoS-DCIttZXD.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-DDNAl3b3--_jFgC00.js → ReviewOverlay-DDNAl3b3-DNGVMro9.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-B-ODIDAN-CfZSdhdT.js → RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DqZ58bn4-Bmf0Mrw_.js → ScheduleDetailsFixedAssetsPage-DqZ58bn4-KjYX5XLP.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-BASxSK8V-C3IBkebO.js → ScheduleDetailsPage-BASxSK8V-BPASbuj9.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-6xfi8GG9-Dudg_N2j.js → ScheduleSequenceTable-6xfi8GG9-DmNanpes.js} +1 -1
  147. package/dist/assets/{ScreenRoutes--V--Mqce.js → ScreenRoutes-BiNVsQKa.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-pi1sH7b5-EagMxPw8.js → SetUpAccountSection-pi1sH7b5-Cq5TVamg.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-BpL2WnED-CgicHaOy.js → SetUpDefaultSection-BpL2WnED-COlpwQhL.js} +1 -1
  150. package/dist/assets/{SignIn-Bijj9JoA-BL3nNivc.js → SignIn-Bijj9JoA-Cew9W98o.js} +1 -1
  151. package/dist/assets/{SignInScreen-ZhSf5Gda.js → SignInScreen-BJO_D-wG.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-D5QPI34r-BNgi2lsY.js → SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BtYyuusT-B8XojjH0.js → SpendManagementPerTabPage-BtYyuusT-Do7z39Lr.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-D_HyfwAe-W9LXfSod.js → SpendManagementSection-D_HyfwAe-SNH64OwE.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-B4wik5Ee-CYGTF_Jh.js → SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js} +1 -1
  156. package/dist/assets/{StatementItem-BNQblVLa-CI5E679I.js → StatementItem-BNQblVLa-DfVA7ygW.js} +1 -1
  157. package/dist/assets/{StatementsPage-_-cg9582-Dtto8qBP.js → StatementsPage-_-cg9582-BHbhelbD.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-D-0rNVEI-NEMJF-Fs.js → StatusSwitcher-D-0rNVEI-0aefdUDA.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-D_djwADF-8B_A3mRF.js → SubTabSwitcher-D_djwADF-D-PRIZuk.js} +1 -1
  160. package/dist/assets/{SummaryCard-0WkhoBZC-CFhYiVOj.js → SummaryCard-0WkhoBZC-D0OeJhk2.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-Dwna66e0-DX_b0Y9q.js → TaskManagementPage-Dwna66e0-B61LD4aR.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-C_XduWs4-DjVrPo4a.js → TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-rcx5z-sh-xZ8efuWW.js → TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-Bvkq6Qa--CJudW9kF.js → TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js} +1 -1
  165. package/dist/assets/{TopExCard-J5ItU1Wy-ozEfFcFX.js → TopExCard-J5ItU1Wy-Cu15poFM.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-Lqg8jkw2-CMSFHr_S.js → TopExDetailPage-Lqg8jkw2-DtS18JXg.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-jXKnnUTd-DaT9dird.js → TransactionDetailPage-jXKnnUTd-B5jk24Y7.js} +1 -1
  168. package/dist/assets/{TransactionList-BVJHbP4d-DVlkxieO.js → TransactionList-BVJHbP4d-Ch-jGNeO.js} +1 -1
  169. package/dist/assets/{TransactionListBig-CUi7KfHo-CwYRqoNl.js → TransactionListBig-CUi7KfHo-C4bVkVsF.js} +1 -1
  170. package/dist/assets/{TransactionListPage-BFYQMXP7-BOyJF2h0.js → TransactionListPage-BFYQMXP7-C0S4ibvh.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-Cc45iBaC-FtcEzLID.js → TransactionVendorDetailPage-Cc45iBaC-CYlKau2p.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-D0eKdLeA-D3SZSjs8.js → TransferDrawerPage-D0eKdLeA-iajVz-hc.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-C-tdus29-BcdjcYh9.js → TreasuryOverviewPage-C-tdus29-TA5FDvFH.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-Cohb5lP7-Dw1uUpDf.js → TreasuryPromoPage-Cohb5lP7-CR5t6hp9.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-DS2_m-SO-D0FYRAVS.js → TreasurySetupPage-DS2_m-SO-C9dOpRDI.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-DooqXGAQ-DLBrm-yQ.js → TreasuryStatementsPage-DooqXGAQ-Nys4g6CT.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-hpQxSwqV-Cff1AkiV.js → TreasuryTaxLetterPage-hpQxSwqV-C6md3T0o.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-LCmwI3GX-D7wV6N1-.js → TreasuryTransferOrReviewPage-LCmwI3GX-DIM186Ba.js} +1 -1
  179. package/dist/assets/{TrendChart-N85Ktah2-D9qomAET.js → TrendChart-N85Ktah2-DbfJUW0C.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-Cm8gWBLF-CBtN5wGl.js → TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-DF2hKM1m-DGh82Kix.js → UncategorizedAccountsMappingPage-DF2hKM1m-81hpHrc8.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-DXYXOU32-CBbLGDyb.js → UnitIntegrationPage-DXYXOU32-D4QmLDZr.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-ed-RjMyM-BcVk5T-x.js → UploadAdditionalDocumentOverlay-ed-RjMyM-CfzPGhhV.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-CNiCYT5L-sjNaJfCv.js → Vendor2FAPopup-CNiCYT5L-CWO_4B0w.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-DfERI3o4-DY5DI5Ho.js → VendorACHDetailsPage-DfERI3o4-BsWmPjPQ.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-BYEJTlBT-CyNQBknP.js → VendorDetailPage-BYEJTlBT-F41D5bVR.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Cvje85xW-D0rUK_Rq.js → VendorDomesticWireDetailsPage-Cvje85xW-CoKfiQe4.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-Brjs_rAW-BXsSYmKk.js → VendorFiling1099EditablePage-Brjs_rAW-xrscdaKd.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-CjmWNXBj-dDyEbMtV.js → VendorFirstReviewPage-CjmWNXBj-gmr0s-A9.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-CRPZSizn-BWolRCcT.js → VendorInternationalWireDetailsPage-CRPZSizn-Cs0CkU1Q.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DgOKhTmI-DrUbwSgd.js → VendorInternationalWireSwiftDetailsPage-DgOKhTmI-CrPwfH_9.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CdrVkoqQ-mRqd22rT.js → VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-vVdVeMGb-BEfGcvIh.js → WarningsDrawerPage-vVdVeMGb-CxkitKe7.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-DzA2-ZfY-gCRDLMYV.js → ZeniAccountDetailPage-DzA2-ZfY-wtm1nTKn.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-BjOzn-pL-BqCKWwnc.js → ZeniAccountListViewPage-BjOzn-pL-6JPmGfI4.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-C4QCZKVg-qs7wRelN.js → ZeniAccountNavBarPieces-C4QCZKVg-D6pvbVi1.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-CojH6h6Y-DgTiFWUV.js → ZeniAccountPromoPage-CojH6h6Y-CD2AJLZX.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-BQ4BSW6F-CXA8E3wm.js → ZeniAccountSetupPage-BQ4BSW6F-BBPr3Uxy.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-DZ-h_Rou-DbMET3fd.js → ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CDH-_8b0-CyTrsjPs.js → ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js} +1 -1
  201. package/dist/assets/{analyticsHelper-C8SgK0SS.js → analyticsHelper-Bfbjyikr.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DqZXz5oK-B0yimKwh.js → analyticsHelper-DqZXz5oK-BxmRVxaA.js} +1 -1
  203. package/dist/assets/{chartTypes-BrP58mNO-C1TmCcpt.js → chartTypes-BrP58mNO-B-70_tkk.js} +1 -1
  204. package/dist/assets/{commonDimensions-C9IpJAVN-C85_2wgw.js → commonDimensions-C9IpJAVN-CUmNJDhl.js} +1 -1
  205. package/dist/assets/{detailCommon-nFSW0gvc-BWw17m2N.js → detailCommon-nFSW0gvc-DlaVwlOn.js} +1 -1
  206. package/dist/assets/{downloadPdf-CYD5QftD-Dp-LHWQY.js → downloadPdf-CYD5QftD-D8rZSmdk.js} +1 -1
  207. package/dist/assets/{index-T4e21nnZ.js → index-CvH632ro.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-Dj9DvcOS-CF4kQvCc.js → mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-CSXp7Z6U.js → mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-CJfnsOmt-CRNfRZzT.js → mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-BJdFcHRm-Dw1vJzex.js → mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js} +1 -1
  212. package/dist/assets/{play-icon-C1_v_oqQ-aBksrrtg.js → play-icon-C1_v_oqQ-CDjV5GaD.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-CYXJAMXX-yZCX9bGP.js → toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js} +1 -1
  214. package/dist/assets/{toChartData-oAAd1YDY-C3bZ9kal.js → toChartData-oAAd1YDY-DlgK3yY0.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BClHzQle-CJL-S_JM.js → treasuryColorHelper-BClHzQle-D6h04w-g.js} +1 -1
  216. package/dist/assets/{uploadAttachment-Bi2HYlA8-Bl8-k7IC.js → uploadAttachment-Bi2HYlA8-BLU3BxOX.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-D7suivjs.js → uploadReceipts-Buvz7DfG-CBvWSxWy.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +4 -4
  220. package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-DXGGb3sk.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as oe,a as Aa,c3 as Oa,M as de,j as r,Y as Pe,iA as Ra,bC as _a,F as za,a7 as Da,o as a,C as y,l as Ua,aR as Fa,aq as Na,Q as be,h as sa,a6 as qa,c0 as Ma,g as re,eS as Ea,ah as Ba,cg as xe,eg as ka,p as d,bt as Va,am as K,cm as me,cq as na,iB as Ha,iC as Wa,cn as Ga,u as Te,iD as Ae,c6 as Oe,fF as Re,cz as ve,v as ie,eU as he,fC as oa,w as _e,_ as Qa,f9 as Za,m as Ka,fb as Ja}from"./index-T4e21nnZ.js";import{b as M,n as l}from"./vendor-CnQcJ2Lu.js";import{X as ca}from"./LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-C7iYeJWK.js";import{T as ua}from"./RoleWithToolTip-B-ODIDAN-CfZSdhdT.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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:Be,customAddressPlaceholder:Ya}},spendManagement:{chargeCard:{issueCard:U}}}=de.getLocalizedStrings(),B={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=B.largeLabelWidth.value(s),k=()=>{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),Z=q?.userId,X=Z!=null?T[Z]: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:B.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:U.cardNameLabel,width:S},style:{width:"auto",paddingLeft:B.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:B.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(ve,{isDisabled:"readonly",label:{label:U.frequencyLabel,width:S,style:{marginBottom:B.labelMarginBottom.valuePx(s),marginRight:B.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:B.labelMarginBottom.valuePx(s)},infoLabelStyle:{...ie.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:B.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:B.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:B.radioLabelPaddingLeftRight.value(s),paddingRight:B.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:B.radioLabelPaddingLeft.value(s),paddingRight:B.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:B.radioLabelPaddingLeft.value(s),paddingRight:B.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:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(ke,{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:Be,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:k}),r.jsx(ke,{windowSize:s,children:U.address.customAddressText})]})})})]})]})},tr=l.div`
1
+ import{X as oe,a as Aa,c3 as Oa,M as de,j as r,Y as Pe,iA as Ra,bC as _a,F as za,a7 as Da,o as a,C as y,l as Ua,aR as Fa,aq as Na,Q as be,h as sa,a6 as qa,c0 as Ma,g as re,eS as Ea,ah as Ba,cg as xe,eg as ka,p as d,bt as Va,am as K,cm as me,cq as na,iB as Ha,iC as Wa,cn as Ga,u as Te,iD as Ae,c6 as Oe,fF as Re,cz as ve,v as ie,eU as he,fC as oa,w as _e,_ as Qa,f9 as Za,m as Ka,fb as Ja}from"./index-CvH632ro.js";import{b as M,n as l}from"./vendor-CnQcJ2Lu.js";import{X as ca}from"./LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js";import{T as ua}from"./RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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:Be,customAddressPlaceholder:Ya}},spendManagement:{chargeCard:{issueCard:U}}}=de.getLocalizedStrings(),B={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=B.largeLabelWidth.value(s),k=()=>{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),Z=q?.userId,X=Z!=null?T[Z]: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:B.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(Oe,{label:{label:U.cardNameLabel,width:S},style:{width:"auto",paddingLeft:B.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:B.labelMarginBottom.value(s)}}),r.jsx($e,{}),r.jsx(ve,{isDisabled:"readonly",label:{label:U.frequencyLabel,width:S,style:{marginBottom:B.labelMarginBottom.valuePx(s),marginRight:B.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:B.labelMarginBottom.valuePx(s)},infoLabelStyle:{...ie.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:B.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:B.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:B.radioLabelPaddingLeftRight.value(s),paddingRight:B.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:B.radioLabelPaddingLeft.value(s),paddingRight:B.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:B.radioLabelPaddingLeft.value(s),paddingRight:B.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:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(ke,{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:Be,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:k}),r.jsx(ke,{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{X as h,j as a,cm as m,C as o,eQ as u,p as t,Q as x}from"./index-T4e21nnZ.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const e={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:i,label:n,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=h();return a.jsxs(w,{size:l,style:p,isDisabled:i!=null,children:[a.jsxs(f,{children:[a.jsx(m,{isOptional:g,isDisabled:i,label:n.label,style:{marginLeft:e.labelMarginLeft.value(l),marginRight:e.labelMarginRight.value(l),marginTop:e.labelMarginTop.value(l),width:n.width??"auto"}}),a.jsx(u,{...s,isDisabled:i,style:{minHeight:e.controlMinHeight.value(l),paddingTop:e.paddingTopBottom.valuePx(l),paddingBottom:e.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{X as h,j as a,cm as m,C as o,eQ as u,p as t,Q as x}from"./index-CvH632ro.js";import{n as r}from"./vendor-CnQcJ2Lu.js";const e={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:i,label:n,additionalInfoLabel:d,addressValue:s,isOptional:g,style:p}){const l=h();return a.jsxs(w,{size:l,style:p,isDisabled:i!=null,children:[a.jsxs(f,{children:[a.jsx(m,{isOptional:g,isDisabled:i,label:n.label,style:{marginLeft:e.labelMarginLeft.value(l),marginRight:e.labelMarginRight.value(l),marginTop:e.labelMarginTop.value(l),width:n.width??"auto"}}),a.jsx(u,{...s,isDisabled:i,style:{minHeight:e.controlMinHeight.value(l),paddingTop:e.paddingTopBottom.valuePx(l),paddingBottom:e.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: ${i=>i.theme.colors.grey1};
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{X as f,cg as w,co as v,M as y,j as r,Y as $,cm as M,C as l,eU as z,g,p as i,Q as B}from"./index-T4e21nnZ.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])},L={infoLabel:new B("extraSmallRegular","smallRegular")},T=y.getLocalizedStrings();function E({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:T.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(R,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(M,{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(j,{labelWidth:n.width,children:[r.jsx(z,{...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 R=d.div`
1
+ import{X as f,cg as w,co as v,M as y,j as r,Y as $,cm as M,C as l,eU as z,g,p as i,Q as B}from"./index-CvH632ro.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])},L={infoLabel:new B("extraSmallRegular","smallRegular")},T=y.getLocalizedStrings();function E({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:T.commonSetUp.businessVerification.addressAdditionInfo;return r.jsxs(R,{size:a,style:p,isDisabled:e!=null,isError:s,hasHoverBorder:u??!0,"data-testid":$("labeled-address-value-field",o.name),children:[r.jsx(M,{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(j,{labelWidth:n.width,children:[r.jsx(z,{...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 R=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as d,j as i,Y as o,eD as r,cm as n,o as s,C as c}from"./index-T4e21nnZ.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(y,{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 y=h.div`
1
+ import{X as d,j as i,Y as o,eD as r,cm as n,o as s,C as c}from"./index-CvH632ro.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(y,{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 y=h.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G,Q,o as i,u as Y,M as q,eN as A,eO as K,dh as X,bT as J,b2 as I,cq as U,dH as Z,v as D,a$ as ee,a6 as le}from"./index-T4e21nnZ.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=Y(),y=Ie(e,b),C=q.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,b):void 0,P={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(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${C.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(I.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(I.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(I.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(A,{isMulti:!1,onCreateOption:l=>{const p=K(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):`${C.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:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(I.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(J,{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(I.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{X as B,cg as F,co as z,j as t,Y as j,cm as _,C as f,g as u,p as s,cp as G,Q,o as i,u as Y,M as q,eN as A,eO as K,dh as X,bT as J,b2 as I,cq as U,dH as Z,v as D,a$ as ee,a6 as le}from"./index-CvH632ro.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=Y(),y=Ie(e,b),C=q.getLocalizedStrings().dropDowns,O=y.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?R(r,b):void 0,P={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(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(fe,{children:`${C.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(I.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx(ye,{children:t.jsxs(I.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(I.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(A,{isMulti:!1,onCreateOption:l=>{const p=K(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):`${C.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:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},X())},ie=e=>t.jsx(I.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(J,{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(I.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{X as I,cg as U,co as g,j as s,Y as W,cm as N,C as l,eP as O,M as k,p as i,o,g as A,Q as K}from"./index-T4e21nnZ.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])},Q={infoLabel:new K("extraSmallRegular","smallRegular")};function G({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:L,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return s.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[s.jsx(N,{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}}),s.jsxs(Y,{labelWidth:e.width,size:a,children:[s.jsx(O,{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:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:T}),h&&s.jsx(q,{size:a,isError:h,children:D&&m!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
1
+ import{X as I,cg as U,co as g,j as s,Y as W,cm as N,C as l,eP as O,M as k,p as i,o,g as A,Q as K}from"./index-CvH632ro.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])},Q={infoLabel:new K("extraSmallRegular","smallRegular")};function G({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:L,showUploadSuccessAnimation:T,showWebCamPopUpCloseIcon:M,updateFilesEntity:R,onDeleteFile:B,onEditFileName:C,onFileSizeError:j}){const a=I(),{formState:{errors:p}}=U(),h=g(p,n),D=g(p,`${n}.fileName`);return s.jsxs(V,{size:a,style:c,isDisabled:r!=null,"data-testid":W("document-field",n),children:[s.jsx(N,{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}}),s.jsxs(Y,{labelWidth:e.width,size:a,children:[s.jsx(O,{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:R,onFileSizeError:j,onDeleteFile:B,onEditFileName:C,placeholderText:S,showPhotoPicker:v,useMobileCam:L,showWebCamPopUpCloseIcon:M,showUploadSuccessAnimation:T}),h&&s.jsx(q,{size:a,isError:h,children:D&&m!=null?k.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{X as R,u as T,cg as h,co as V,j as r,o,cp as O,bm as P,v as A,fJ as F,g as l,Q as J,a$ as M}from"./index-T4e21nnZ.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const Q={infoLabel:new J("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),u=T(),{formState:{errors:D}}=h(),d=V(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(U,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.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:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(q,{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(B,{children:r.jsx(G,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const U=i.div`
1
+ import{X as R,u as T,cg as h,co as V,j as r,o,cp as O,bm as P,v as A,fJ as F,g as l,Q as J,a$ as M}from"./index-CvH632ro.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const Q={infoLabel:new J("extraSmallRegular","smallRegular")};function N({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:E,placeholderLabel:S}){const a=R(),u=T(),{formState:{errors:D}}=h(),d=V(D,s.name),{control:z}=h(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(U,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(X,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:p.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:p.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:u.colors.hero,valueOpacity:1,backgroundColor:u.colors.grey5,placeholder:S})})})}),r.jsxs(q,{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(B,{children:r.jsx(G,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const U=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./index-T4e21nnZ.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])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{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:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
1
+ import{X as b,j as r,Y as s,cm as m,C as l,p as t,o as a,s as u,Q as x}from"./index-CvH632ro.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])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(m,{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:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u as fe,ft as be,M as E,Q as we,b2 as H,fu as Y,bP as _,fv as X,a$ as G,g as R,v as Q,s as Z,fw as $e,m as ye,w as ve}from"./index-T4e21nnZ.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-B-ODIDAN-CfZSdhdT.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{X as N,j as l,Y as J,cm as me,o as s,C,p as m,cg as K,cp as ge,co as xe,u as fe,ft as be,M as E,Q as we,b2 as H,fu as Y,bP as _,fv as X,a$ as G,g as R,v as Q,s as Z,fw as $e,m as ye,w as ve}from"./index-CvH632ro.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{T as je}from"./RoleWithToolTip-B-ODIDAN-8uYeRtpZ.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{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as X,v as V,b1 as ie,l as I,M as te,fq as se,fx as ae,R as ne,am as de,g as k,b2 as M,av as ce,a$ as pe,b$ as ue,fy as F,ah as Q,K as he,w as Y,s as me,m as ge,fi as be,f4 as fe,aQ as xe,fj as ye,cZ as we,fz as ve}from"./index-T4e21nnZ.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-B-ODIDAN-CfZSdhdT.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(n[0],n[3])},je=d.div`
1
+ import{X as B,j as l,Y as A,cm as G,C as g,o,p as n,cg as _,cp as J,co as q,u as X,v as V,b1 as ie,l as I,M as te,fq as se,fx as ae,R as ne,am as de,g as k,b2 as M,av as ce,a$ as pe,b$ as ue,fy as F,ah as Q,K as he,w as Y,s as me,m as ge,fi as be,f4 as fe,aQ as xe,fj as ye,cZ as we,fz as ve}from"./index-CvH632ro.js";import{n as d,j as $e,b as z}from"./vendor-CnQcJ2Lu.js";import{T as Re}from"./RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js";const H={grpBtnMarginTopBottom:new g(n[1],n[3]),grpBtnMarginLeftRight:new g(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{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j as n,F as ge,fA as xe,a7 as fe,o as t,C as m,k as be,a6 as je,c6 as B,i7 as ye,g as Ce,v as A,hE as we,p as r}from"./index-T4e21nnZ.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-jXKnnUTd-DaT9dird.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-D5A-8bnH-B_eYzZ1v.js";import"./TrendWithTransactions-Cm8gWBLF-CBtN5wGl.js";import"./TrendChart-N85Ktah2-D9qomAET.js";import"./chartTypes-BrP58mNO-C1TmCcpt.js";import"./toCOABalancesWithID-CYXJAMXX-yZCX9bGP.js";import"./toChartData-oAAd1YDY-C3bZ9kal.js";import"./NoDataChart-DMqFH96W-fv4cR3pY.js";import"./InsightsSection-obWu95-o-ddL771fm.js";import"./NavigationDots-BDLMSply-BaF2Vbnh.js";import"./TransactionList-BVJHbP4d-DVlkxieO.js";import"./BoxItem-dOIVDQzt-NtTPp4CN.js";import"./commonDimensions-C9IpJAVN-C85_2wgw.js";import"./uploadAttachment-Bi2HYlA8-Bl8-k7IC.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{X as H,a5 as ue,l as C,a as pe,c3 as me,i6 as P,hT as L,M as Q,c4 as he,j as n,F as ge,fA as xe,a7 as fe,o as t,C as m,k as be,a6 as je,c6 as B,i7 as ye,g as Ce,v as A,hE as we,p as r}from"./index-CvH632ro.js";import{b as O,n as i}from"./vendor-CnQcJ2Lu.js";import Se from"./TransactionDetailPage-jXKnnUTd-B5jk24Y7.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js";import"./TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js";import"./TrendChart-N85Ktah2-DbfJUW0C.js";import"./chartTypes-BrP58mNO-B-70_tkk.js";import"./toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js";import"./toChartData-oAAd1YDY-DlgK3yY0.js";import"./NoDataChart-DMqFH96W--xyVCmNv.js";import"./InsightsSection-obWu95-o-miX-wlBZ.js";import"./NavigationDots-BDLMSply-CVhKiAdV.js";import"./TransactionList-BVJHbP4d-Ch-jGNeO.js";import"./BoxItem-dOIVDQzt-BM2Or2XI.js";import"./commonDimensions-C9IpJAVN-CUmNJDhl.js";import"./uploadAttachment-Bi2HYlA8-BLU3BxOX.js";import"./radio-default-CiSgisfh-ub7QGXr8.js";const V={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,X as R,a as T,l as s,j as a,F as z,bO as S,c9 as A,C as m,cc as W,o as e,bR as E,p as u,av as U,aa as Y,eY as N}from"./index-T4e21nnZ.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,X as R,a as T,l as s,j as a,F as z,bO as S,c9 as A,C as m,cc as W,o as e,bR as E,p as u,av as U,aa as Y,eY as N}from"./index-CvH632ro.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-T4e21nnZ.js";import{f as y}from"./ACHDetailsPage-Dht0mfFW-CnBsuoV-.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Cd5lC0dV-CUUz-Exs.js";import"./MagicLinkTitleSection-GAlgtNgO-CZgxBgK0.js";import"./BankAccountSection-BGfiGdYG-coKtzKmb.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-CvH632ro.js";import{f as y}from"./ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js";import"./BankAccountSection-BGfiGdYG-BvbymoQK.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-T4e21nnZ.js";import{y as b}from"./DomesticWireDetailsPage-Ckv29rd5-Bn35fCsZ.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-BGfiGdYG-coKtzKmb.js";import"./MagicLinkTitleSection-GAlgtNgO-CZgxBgK0.js";import"./BankAccountWarningSection-Cd5lC0dV-CUUz-Exs.js";import"./MailingDetailsSection-DwEajxFH-gm7_8xo8.js";import"./LabeledAddressValueField-CqhBSQ8f-CPXJhGgE.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-CvH632ro.js";import{y as b}from"./DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-BGfiGdYG-BvbymoQK.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js";import"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MailingDetailsSection-DwEajxFH-BrjelhuF.js";import"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.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-T4e21nnZ.js";import{f as S}from"./InternationalWireSwiftDetailsPage-CywJ88_i-BnllM88s.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Cd5lC0dV-CUUz-Exs.js";import"./MailingDetailsSection-DwEajxFH-gm7_8xo8.js";import"./LabeledAddressValueField-CqhBSQ8f-CPXJhGgE.js";import"./MagicLinkTitleSection-GAlgtNgO-CZgxBgK0.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-CvH632ro.js";import{f as S}from"./InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js";import"./MailingDetailsSection-DwEajxFH-BrjelhuF.js";import"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";import"./MagicLinkTitleSection-GAlgtNgO-BKAs3T24.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{at as r,M as n,j as t,au as l,o,$ as c,c0 as a,k as p}from"./index-T4e21nnZ.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const S=()=>{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(h,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(u,{children:s.successTitle}),t.jsx(g,{children:s.successNote})]})]}):null},m=i.div`
1
+ import{at as r,M as n,j as t,au as l,o,$ as c,c0 as a,k as p}from"./index-CvH632ro.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const S=()=>{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(h,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(u,{children:s.successTitle}),t.jsx(g,{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,aJ as p,j as t,c0 as m,o as a,s as d,g,ah as x}from"./index-T4e21nnZ.js";import{n,b as c}from"./vendor-CnQcJ2Lu.js";const h=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.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:i,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,i)}`:"",o=s.title.replace(/<tenant_name>/,e)+l;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(j,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),s.encrypted]})]})]})},w=n(x)`
1
+ import{M as C,aJ as p,j as t,c0 as m,o as a,s as d,g,ah as x}from"./index-CvH632ro.js";import{n,b as c}from"./vendor-CnQcJ2Lu.js";const h=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.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:i,amount:r})=>{const s=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,i)}`:"",o=s.title.replace(/<tenant_name>/,e)+l;return t.jsxs(t.Fragment,{children:[t.jsx(y,{children:o}),t.jsxs(j,{children:[s.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),s.encrypted]})]})]})},w=n(x)`
2
2
  display: flex;
3
3
  gap: ${a.sp1};
4
4
  color: ${g.successDark};
@@ -1,4 +1,4 @@
1
- import{X as h,M as u,C as o,j as s,o as a,c8 as x,as as b,p as i}from"./index-T4e21nnZ.js";import{n}from"./vendor-CnQcJ2Lu.js";import{C as f}from"./LabeledAddressValueField-CqhBSQ8f-CPXJhGgE.js";const r={largeLabelWidth:new o(120,140,220),paddingTopBottom:new o(i[3],i[3]),marginRight:new o(i[3],i[8]),marginLeft:new o(i[3],i[6]),marginLeftTitle:new o(i[4],i[6])},j=({sectionId:e,addressToEdit:d,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=r.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:t.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:t.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
1
+ import{X as h,M as u,C as o,j as s,o as a,c8 as x,as as b,p as i}from"./index-CvH632ro.js";import{n}from"./vendor-CnQcJ2Lu.js";import{C as f}from"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";const r={largeLabelWidth:new o(120,140,220),paddingTopBottom:new o(i[3],i[3]),marginRight:new o(i[3],i[8]),marginLeft:new o(i[3],i[6]),marginLeftTitle:new o(i[4],i[6])},j=({sectionId:e,addressToEdit:d,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=r.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:t.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:t.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(t.address),defaultValue:d,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as o,j as i,Y as d,n as c,g as l,o as p,C as r}from"./index-T4e21nnZ.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{X as o,j as i,Y as d,n as c,g as l,o as p,C as r}from"./index-CvH632ro.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,n as u,eI as h,o as s,u as d,eJ as m}from"./index-T4e21nnZ.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const y=({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})},b=c.div`
1
+ import{j as o,n as u,eI as h,o as s,u as d,eJ as m}from"./index-CvH632ro.js";import{b as x,n as c,j as f}from"./vendor-CnQcJ2Lu.js";const y=({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})},b=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(b,{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(y,{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,X as M,eZ as H,M as $,ab as p,j as i,l as L,aW as I,T as v,o as t,aQ as P,C as d,m as _,s as B,v as R,Q as W,e_ as j,e$ as C,p as u,f1 as E,g as T,w as J}from"./index-T4e21nnZ.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{J as F}from"./SetUpDefaultSection-BpL2WnED-CgicHaOy.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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")},O=n.img`
1
+ import{u as z,X as M,eZ as H,M as $,ab as p,j as i,l as L,aW as I,T as v,o as t,aQ as P,C as d,m as _,s as B,v as R,Q as W,e_ as j,e$ as C,p as u,f1 as E,g as T,w as J}from"./index-CvH632ro.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{J as F}from"./SetUpDefaultSection-BpL2WnED-COlpwQhL.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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")},O=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 M,y as D,l as j,M as w,fh as t,j as r,aW as O,fA as B,o as F}from"./index-T4e21nnZ.js";import{n as P}from"./vendor-CnQcJ2Lu.js";import{M as U}from"./ChargeCardListTable-D0rr5rCb-DvYas5Ug.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./Menu-DgxJQlbW-zbTlo91F.js";import"./RoleWithToolTip-B-ODIDAN-CfZSdhdT.js";import"./CardNumberSubText-CX7raaMz-Df6fKIc5.js";import"./ChargeCardUtils-CHUMBmgR-BtDK4UTM.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=M(),y=D(),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(O,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:g,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(B,{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 M,y as D,l as j,M as w,fh as t,j as r,aW as O,fA as B,o as F}from"./index-CvH632ro.js";import{n as P}from"./vendor-CnQcJ2Lu.js";import{M as U}from"./ChargeCardListTable-D0rr5rCb-ubys_P-K.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./Menu-DgxJQlbW-DIVRGIXR.js";import"./RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js";import"./CardNumberSubText-CX7raaMz-YubYXrEf.js";import"./ChargeCardUtils-CHUMBmgR-CJymagC4.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=M(),y=D(),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(O,{title:E,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:g,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(B,{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 - ${F.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as te,fl as ie,u as fe,y as ge,fm as be,a as ye,H as xe,l as z,c4 as we,c3 as Pe,M as re,j as l,fn as ve,aW as $e,F as De,a7 as Se,o as s,fo as ne,fp as de,fq as ce,b_ as ue,C as L,m as me,v as Re,Q as je,R as le,cf as Ce,c6 as Oe,fr as q,cc as Le,ca as Te,fs as Ie,ak as Ve,p as E}from"./index-T4e21nnZ.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{C as ke}from"./LabeledAddressValueField-CqhBSQ8f-CPXJhGgE.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-C7iYeJWK.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-CpZOSybd-HDTVv3mn.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-B-ODIDAN-CfZSdhdT.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:G,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:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=te(),{person:r,managersList:A,classList:N,manager:H,department:g,controllersList:M,myProfileLocalData:W,addressData:Q}=e,X=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(y,p,o,f,$,T,h),[y,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),R=c.splice(0,1),j=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:R,restControllerEmailsStr:j}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),U=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(_e,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:G.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(O,{}),l.jsx(Oe,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(O,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:X,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(O,{}),l.jsx(ke,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(O,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(O,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(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:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(O,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const R=A.findIndex(j=>j.userId===c);if(R!==-1){const j=A[R],V=N.find(Y=>Y.classId===j.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}else return[]},placeholderLabel:d?a.notApplicable:q(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(O,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(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(Ue,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ze,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,_e=m.div`
1
+ import{X as te,fl as ie,u as fe,y as ge,fm as be,a as ye,H as xe,l as z,c4 as we,c3 as Pe,M as re,j as l,fn as ve,aW as $e,F as De,a7 as Se,o as s,fo as ne,fp as de,fq as ce,b_ as ue,C as L,m as me,v as Re,Q as je,R as le,cf as Ce,c6 as Oe,fr as q,cc as Le,ca as Te,fs as Ie,ak as Ve,p as E}from"./index-CvH632ro.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{C as ke}from"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-B-ODIDAN-8uYeRtpZ.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:G,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:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=te(),{person:r,managersList:A,classList:N,manager:H,department:g,controllersList:M,myProfileLocalData:W,addressData:Q}=e,X=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(y,p,o,f,$,T,h),[y,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),R=c.splice(0,1),j=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:R,restControllerEmailsStr:j}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),U=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(_e,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:G.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(O,{}),l.jsx(Oe,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(O,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:X,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(O,{}),l.jsx(ke,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(O,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(O,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(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:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(O,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const R=A.findIndex(j=>j.userId===c);if(R!==-1){const j=A[R],V=N.find(Y=>Y.classId===j.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}else return[]},placeholderLabel:d?a.notApplicable:q(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(O,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(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(Ue,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ze,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,_e=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,X as m,j as o,Y as u,bt as g,M as x,o as t,aZ as b,eM as k,bp as y,bm as C,v}from"./index-T4e21nnZ.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const j=l.div`
1
+ import{u as p,X as m,j as o,Y as u,bt as g,M as x,o as t,aZ as b,eM as k,bp as y,bm as C,v}from"./index-CvH632ro.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const j=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,ak as m,bp as d}from"./index-T4e21nnZ.js";import{n as s,j as t}from"./vendor-CnQcJ2Lu.js";const h=t`
1
+ import{j as e,o as r,ak as m,bp as d}from"./index-CvH632ro.js";import{n as s,j as t}from"./vendor-CnQcJ2Lu.js";const h=t`
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,Y as p,o as t}from"./index-T4e21nnZ.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const v=l.div`
1
+ import{j as e,Y as p,o as t}from"./index-CvH632ro.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const v=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,C=l.div`
@@ -1,4 +1,4 @@
1
- import{X as z,a as J,c3 as Q,a5 as X,j as t,M as F,F as Y,a7 as Z,C as i,o as a,a6 as ee,Q as _,h as te,gj as ae,s as le,cg as O,hF as ne,c8 as U,c6 as oe,p as l,as as re,co as ie,cm as de,cA as se,e as ce,eq as me,dh as he,hE as be,g as V}from"./index-T4e21nnZ.js";import{b as j,n as o,j as ge}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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:g,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"}}),g?.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{X as z,a as J,c3 as Q,a5 as X,j as t,M as F,F as Y,a7 as Z,C as i,o as a,a6 as ee,Q as _,h as te,gj as ae,s as le,cg as O,hF as ne,c8 as U,c6 as oe,p as l,as as re,co as ie,cm as de,cA as se,e as ce,eq as me,dh as he,hE as be,g as V}from"./index-CvH632ro.js";import{b as j,n as o,j as ge}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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:g,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"}}),g?.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{X as l,j as t,g as r,o as a,s,C as m,u as o}from"./index-T4e21nnZ.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{X as l,j as t,g as r,o as a,s,C as m,u as o}from"./index-CvH632ro.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-T4e21nnZ.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-CvH632ro.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,bC as s,c0 as l,s as c,g as a,m as d}from"./index-T4e21nnZ.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{i as h}from"./ZeniCopyright-DZ-h_Rou-DbMET3fd.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const g=t.div`
1
+ import{j as o,M as i,bC as s,c0 as l,s as c,g as a,m as d}from"./index-CvH632ro.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{i as h}from"./ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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,fA as ne,o as i,bf as se,M as I,a9 as re,u as X,X as Y,a as le,c3 as ae,l as P,aW as ce,F as de,T as w,a7 as pe,C as z,f5 as me,fB as ue,eD as he,fC as fe,fD as ge,ak as xe,p as S,as as J,w as K,s as Q,m as $e}from"./index-T4e21nnZ.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:ye}=I.getLocalizedStrings(),B={notePadding:new z(S[3],S[4]),noteGap:new z(S[0],6)},M=(e,n)=>`${e}.${n}`,be=o.div`
1
+ import{j as t,fA as ne,o as i,bf as se,M as I,a9 as re,u as X,X as Y,a as le,c3 as ae,l as P,aW as ce,F as de,T as w,a7 as pe,C as z,f5 as me,fB as ue,eD as he,fC as fe,fD as ge,ak as xe,p as S,as as J,w as K,s as Q,m as $e}from"./index-CvH632ro.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:ye}=I.getLocalizedStrings(),B={notePadding:new z(S[3],S[4]),noteGap:new z(S[0],6)},M=(e,n)=>`${e}.${n}`,be=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -1 +1 @@
1
- import{v as t,p as e}from"./index-T4e21nnZ.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
1
+ import{v as t,p as e}from"./index-CvH632ro.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
@@ -1,4 +1,4 @@
1
- import{u as K,X as v,a as Zt,M as P,c3 as Xt,j as t,aW as Kt,l as g,F as Qt,a7 as ei,o as i,T as we,go as ti,C as R,hw as ii,v as Ne,e as oi,A as et,bL as tt,ao as it,dj as ot,bT as st,jf as at,p as w,K as si,jg as ai,dh as ce,aj as ri,Q as ni,h as rt,g as S,w as li,bg as z,cg as ue,fB as he,jh as pe,y as nt,d3 as lt,dr as V,c_ as dt,fK as di,s as Q,hL as ci,m as H,e_ as ui,ab as ye,av as fe,ji as hi,bd as ct,jj as Ie,aP as pi}from"./index-T4e21nnZ.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-D_djwADF-8B_A3mRF.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-DZBF9h2L-CddnMsxc.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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=K(),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 K,X as v,a as Zt,M as P,c3 as Xt,j as t,aW as Kt,l as g,F as Qt,a7 as ei,o as i,T as we,go as ti,C as R,hw as ii,v as Ne,e as oi,A as et,bL as tt,ao as it,dj as ot,bT as st,jf as at,p as w,K as si,jg as ai,dh as ce,aj as ri,Q as ni,h as rt,g as S,w as li,bg as z,cg as ue,fB as he,jh as pe,y as nt,d3 as lt,dr as V,c_ as dt,fK as di,s as Q,hL as ci,m as H,e_ as ui,ab as ye,av as fe,ji as hi,bd as ct,jj as Ie,aP as pi}from"./index-CvH632ro.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-D_djwADF-D-PRIZuk.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-DZBF9h2L-DipP-kuo.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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=K(),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{X as H,hv as ye,M as B,u as q,A as be,j as t,Y as _e,bf as Se,hu as ke,aY as we,aW as ve,hw as Be,hx as $e,o as u,a9 as Oe,e as Pe,C as F,ao as le,H as ie,ab as je,p as $,a_ as Te,bE as De,bF as Ne,bG as Ee,g as a,s as ce,bc as Ae,b7 as Ie,aB as Me,v as Z,aA as Le,aJ as Fe,b8 as Ve,ba as ze,l as Re}from"./index-T4e21nnZ.js";import{b as y,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-BrP58mNO-C1TmCcpt.js";import{V as Ge}from"./toChartData-oAAd1YDY-C3bZ9kal.js";import{m as V}from"./analyticsHelper-DqZXz5oK-B0yimKwh.js";import{p as He}from"./TimeRangeSwitcher-C_XduWs4-DjVrPo4a.js";import{M as qe}from"./TimeframeSwitcherWithToggle-Bvkq6Qa--CJudW9kF.js";import{C as Je}from"./NoDataChart-DMqFH96W-fv4cR3pY.js";import{d as Ue}from"./NoDataTable-B8PHBrBF-BxwQxjpG.js";import{H as Xe,N as oe}from"./detailCommon-nFSW0gvc-BWw17m2N.js";import{n as z}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{a as Qe,r as J}from"./CollapsableReportTable-B7JqlhCA-DlVKUuhN.js";import{d as pe,l as re}from"./mapLoadingInProgressToTreeNode-Dj9DvcOS-CF4kQvCc.js";import{l as Ze}from"./mapSpacerToTreeNode-CJfnsOmt-CRNfRZzT.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-rcx5z-sh-xZ8efuWW.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";import"./AccountRow-B4i2KTVu-C7LTIhFl.js";const eo=m.div`
1
+ import{X as H,hv as ye,M as B,u as q,A as be,j as t,Y as _e,bf as Se,hu as ke,aY as we,aW as ve,hw as Be,hx as $e,o as u,a9 as Oe,e as Pe,C as F,ao as le,H as ie,ab as je,p as $,a_ as Te,bE as De,bF as Ne,bG as Ee,g as a,s as ce,bc as Ae,b7 as Ie,aB as Me,v as Z,aA as Le,aJ as Fe,b8 as Ve,ba as ze,l as Re}from"./index-CvH632ro.js";import{b as y,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-BrP58mNO-B-70_tkk.js";import{V as Ge}from"./toChartData-oAAd1YDY-DlgK3yY0.js";import{m as V}from"./analyticsHelper-DqZXz5oK-BxmRVxaA.js";import{p as He}from"./TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js";import{M as qe}from"./TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js";import{C as Je}from"./NoDataChart-DMqFH96W--xyVCmNv.js";import{d as Ue}from"./NoDataTable-B8PHBrBF-BIIbtUFT.js";import{H as Xe,N as oe}from"./detailCommon-nFSW0gvc-DlaVwlOn.js";import{n as z}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{a as Qe,r as J}from"./CollapsableReportTable-B7JqlhCA-D-71vAGn.js";import{d as pe,l as re}from"./mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js";import{l as Ze}from"./mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";import"./AccountRow-B4i2KTVu-DZIGknQG.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-T4e21nnZ.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const p=n.div`
1
+ import{u as i,j as r}from"./index-CvH632ro.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.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;
@@ -1,4 +1,4 @@
1
- import{j as o,D as M,u as T,X as z,Y as A,aW as re,M as c,K as ie,e as ae,C as D,v as ce,o as s,H as le,ab as de,c0 as ge,c1 as pe,aS as me,p as C,l as H,a_ as he,c2 as ue,a9 as fe,aa as xe,av as we}from"./index-T4e21nnZ.js";import{n as r,b as F}from"./vendor-CnQcJ2Lu.js";import{H as Se}from"./NavBarWithPicker-BJyEgvZP-JRV3h30X.js";import{m as je}from"./analyticsHelper-DqZXz5oK-B0yimKwh.js";import{M as $e}from"./TimeframeSwitcherWithToggle-Bvkq6Qa--CJudW9kF.js";import{a as be,W as Ce}from"./CollapsableReportTable-B7JqlhCA-DlVKUuhN.js";import{M as E}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-CSXp7Z6U.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-BJdFcHRm-Dw1vJzex.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-rcx5z-sh-xZ8efuWW.js";import"./AccountRow-B4i2KTVu-C7LTIhFl.js";const K="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
1
+ import{j as o,D as M,u as T,X as z,Y as A,aW as re,M as c,K as ie,e as ae,C as D,v as ce,o as s,H as le,ab as de,c0 as ge,c1 as pe,aS as me,p as C,l as H,a_ as he,c2 as ue,a9 as fe,aa as xe,av as we}from"./index-CvH632ro.js";import{n as r,b as F}from"./vendor-CnQcJ2Lu.js";import{H as Se}from"./NavBarWithPicker-BJyEgvZP-C-f0-1c6.js";import{m as je}from"./analyticsHelper-DqZXz5oK-BxmRVxaA.js";import{M as $e}from"./TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js";import{a as be,W as Ce}from"./CollapsableReportTable-B7JqlhCA-D-71vAGn.js";import{M as E}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js";import"./AccountRow-B4i2KTVu-DZIGknQG.js";const K="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{eO as Z,M as K,h4 as de,a5 as le,v as B,o as a,g as z,X as N,j as t,bA as pe,h5 as me,u as re,cg as ge,ab as F,C as W,aQ as he,eY as ue,s as ie,h6 as fe,h7 as Se,h8 as G,h9 as Y,ha as q,a7 as ye,i as X,p as xe,gh as be,m as Ce,Q as we}from"./index-T4e21nnZ.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{O as ve}from"./SetUpAccountSection-pi1sH7b5-EagMxPw8.js";const Pe={containerHeight:new W(656,720)},$e=o.div`
1
+ import{eO as Z,M as K,h4 as de,a5 as le,v as B,o as a,g as z,X as N,j as t,bA as pe,h5 as me,u as re,cg as ge,ab as F,C as W,aQ as he,eY as ue,s as ie,h6 as fe,h7 as Se,h8 as G,h9 as Y,ha as q,a7 as ye,i as X,p as xe,gh as be,m as Ce,Q as we}from"./index-CvH632ro.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{O as ve}from"./SetUpAccountSection-pi1sH7b5-Cq5TVamg.js";const Pe={containerHeight:new W(656,720)},$e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 20px;
@@ -1,4 +1,4 @@
1
- import{u as $e,X as I,M as y,j as t,Y as a,aW as le,bf as Ne,o as s,bK as De,bL as Oe,e as U,a9 as J,bM as we,K as Le,v as be,bN as _e,a5 as Ae,bO as Ve,bP as Me,bQ as We,bR as Be,ao as He,H,bS as Ke,C as $,bT as Ue,bU as je,p as b,l as A,bV as ee,bD as N,a as Ee,F as Fe,bW as Ze,bX as qe,R as Xe,w as D,bY as Qe,s as O,m as te,g as V,bZ as Ye,ah as Se,av as ie,b_ as ke,bd as Ge,b$ as Je}from"./index-T4e21nnZ.js";import{f as ce,b as v,n as i}from"./vendor-CnQcJ2Lu.js";import{A as Ie}from"./Menu-DgxJQlbW-zbTlo91F.js";import{T as Ce}from"./RoleWithToolTip-B-ODIDAN-CfZSdhdT.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],K=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Xe(d==="off"?S:K));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
1
+ import{u as $e,X as I,M as y,j as t,Y as a,aW as le,bf as Ne,o as s,bK as De,bL as Oe,e as U,a9 as J,bM as we,K as Le,v as be,bN as _e,a5 as Ae,bO as Ve,bP as Me,bQ as We,bR as Be,ao as He,H,bS as Ke,C as $,bT as Ue,bU as je,p as b,l as A,bV as ee,bD as N,a as Ee,F as Fe,bW as Ze,bX as qe,R as Xe,w as D,bY as Qe,s as O,m as te,g as V,bZ as Ye,ah as Se,av as ie,b_ as ke,bd as Ge,b$ as Je}from"./index-CvH632ro.js";import{f as ce,b as v,n as i}from"./vendor-CnQcJ2Lu.js";import{A as Ie}from"./Menu-DgxJQlbW-DIVRGIXR.js";import{T as Ce}from"./RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],K=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Xe(d==="off"?S:K));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
@@ -1,4 +1,4 @@
1
- import{X as q,H as S,j as i,bt as H,M as Q,Y as U,C as u,a7 as K,o as n,a6 as V,Q as X,h as J,s as Z,p as l,v as _,aq as ee,m as T,g as v,w as ie,ah as te}from"./index-T4e21nnZ.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-g9uKkfc0-CyCK7_Rg.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-BClHzQle-CJL-S_JM.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=Q.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new X("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(Y=>Y.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(H,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":U("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(K,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
1
+ import{X as q,H as S,j as i,bt as H,M as Q,Y as U,C as u,a7 as K,o as n,a6 as V,Q as X,h as J,s as Z,p as l,v as _,aq as ee,m as T,g as v,w as ie,ah as te}from"./index-CvH632ro.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-g9uKkfc0-2ntvLazE.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-BClHzQle-D6h04w-g.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=Q.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new X("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(Y=>Y.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(H,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":U("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(K,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;