@zeniai/web-cockpit-ui 1.14.63-qa → 1.14.64-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 (227) hide show
  1. package/dist/assets/{ACHDetailsPage-QkOAxB4j-rzRvgUF7.js → ACHDetailsPage-BzC4M2s3-ChunYPif.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-POiv6dgZ-ehH6qh9A.js → AIPerformancePage-Bstide2n-BGHegSOs.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-DpzAjyd0-hCj5-Xra.js → AccountInfoPage-DPDXkamR-CgQ4aZY9.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BrPhtN53-DpGXyKP9.js → AccountInfoPageContent-aoggdn2r-BtvqbCzO.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-D1ZHYvRy-iriXMrHX.js → AccountLockedInfoModal-DV_hOiXO-CBxHluhx.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CubIO376-DoK6LTor.js → AccountReconDetailsDrawerPage-DNuNperK-ClEB6Zi_.js} +1 -1
  7. package/dist/assets/{AccountRow-DTdcfEa8-D8HhIMeS.js → AccountRow-wv0LguaL-Dgo69VZC.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CwDbKaNJ-CI32Wv48.js → AccountsPromoCardStack-DrZ7e0IU-Bb1WU9Ht.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CniAAcX8-TJikBJY3.js → AddAddressForCardDrawer-GICL4HcN-CuYEcmdr.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DOG6ubAY-P8UDt4Bo.js → AddToWalletPage-DdEuNhQC-CYZj9gur.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Dbtn1PKG-_brlu6Zl.js → AgingReportsPage-DKk5v0W--Crii0yiM.js} +1 -1
  12. package/dist/assets/{AllUserItems-Dth5Uovp-BFR3_uzT.js → AllUserItems-C2eRPh_u-BaYIbEoV.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-C6C-aYG7-SpuZWCIq.js → ApAgingDetailPage-CU_IAyCy-CLcIjO53.js} +1 -1
  14. package/dist/assets/{AppBasePage-CtnXt_EV-BFF_WCr0.js → AppBasePage-BPs7UAfC-DT4cohS6.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DnrQdYVp-BjOI7n6x.js → AppDrawerContent-ruAQn99q-DEIwmYXC.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BEOQl822-Dy_zUdhy.js → ApprovalRulesSettingsPage-Dca_pVCR-DBgumQYc.js} +1 -1
  17. package/dist/assets/{ArAgingChart-B9rpCcBM-BwqDdGJv.js → ArAgingChart-BJ1SPimt-DQnH0TUA.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BKsCQCpu-O-haUO4O.js → ArAgingDetailPage-BFgR2M6s-BIH8e28A.js} +1 -1
  19. package/dist/assets/{AttachmentView-DEE6AWkv-_RXBAfhr.js → AttachmentView-CtTgkCck-DVqtt0kd.js} +1 -1
  20. package/dist/assets/{BankAccountSection-D8_5fjrd-C6RtmJrN.js → BankAccountSection-D1VVlEzB-9RIJ1POu.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CMrRr8aa-td13RL8s.js → BankAccountWarningSection-BvIfQzX--GUOlme0I.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BUwkPoK_-5YdMfiwC.js → BankConnectionsSettingsPage-DYQ0xrUE-CmleXpIE.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DcGxex6B-B4qdDasW.js → BillDetailPage-BC-iCfwX-Dj5v0juQ.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-B4OuTcAA-Dirgx9BX.js → BillPayApprovalRuleDetailPage-CSsLzgxo-PQ1wrF5w.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DaCdVMRx-ClR1u1Yx.js → BillPayApprovalRulesPage-C3vUh-JW-DUs8aYnJ.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DBlGsv9D-BBbY3xG9.js → BillPayPromoPage-S7QNUo7Z-ev6Esgrs.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-A4zcT_mP-C-mXek88.js → BillPaySetUpPage-UFbd3hYx-C656s89K.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CujTn-BW-2j8_4g3M.js → BillingSettingsPage-BW6BTIYh-BAoyC8CG.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cs779Xc4-B9oEXCxT.js → BillsBulkReviewDrawerPage-CdeCT0x--1JPxE8oV.js} +1 -1
  30. package/dist/assets/{BoxItem-imggFWL_-BvkUgce8.js → BoxItem-C2Y5qPv7-DbILVil1.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-U_lU2O0k-BWvOR9H3.js → BusinessVerificationPage-BAIlpmdr-DErnrRQG.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-Ct0mJOMk-GTk9LYaW.js → CardNumberSubText-DSn60NRu-TTEWjeaY.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-GMncsgDy-CEsItsW5.js → CashbackDetailPage-DFYODwY_-CpiSUC1g.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BQvjt_rh-xu6vP1EM.js → ChargeCardDetailPage-CniCEzs1-S2Enf5zq.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BJgzJ53p-Jc6zF2sZ.js → ChargeCardListPage-BfnNoCd6-BxjIMfKG.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BD4N2FtO-IW4RlhrQ.js → ChargeCardListTable-Cps-PbBK-DF7M5DIc.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-BQMfHfHp-CaiWnHzz.js → ChargeCardPromoPage-C97yvmtY-CCdmKhpM.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-DO1cXZF4-CQg6mGdq.js → ChargeCardSetupPage-Dnlk0PJo-BFCf0zmI.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-0rBvkIU1-BQF10U__.js → ChargeCardStatementsPage-CLxvkAsP-BxrAVNgn.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-Cy5rZlIH-XCWo4t70.js → ChargeCardUtils-O8MgnIs5-2YhzHq7s.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-Dqg_bWdn-D6GMDnLy.js → ChaseOverlay-C-Ab0LEt-5EQ-vgqw.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BzzWhLjb-ulIIcuuy.js → CheckDepositDrawerPage-kIlc8nnJ-Bj75w2ji.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-CwhNUlX5-CDKIk88_.js → CollapsableReportTable-Dh9NNE7R-D-5EE2-Y.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-BHXF7g6M-BYm-dhC7.js → CompanyOfficerDetailsSection-pwj8Y8nY-CMBgXOtl.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-Dd4Modb9-B6Tw2tod.js → CompanyPassportCard-dvPfwRmY-DFJiYdYi.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-Bh2JSIAW-CAGzvJBx.js → CompanyPassportPage-C241R-Wr-C-K3xfDS.js} +1 -1
  47. package/dist/assets/{CompleteProfile-CAtziP70-CuhdBr3J.js → CompleteProfile-BdZkvqC7-Dy88sNbw.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-DvSGcRZX-CRir7JN3.js → ConfettiBurst-DKupuWQ6-BmR9JE0N.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Csorfbun-CPVsurXL.js → CreateOrEditVendorPage-Bmsa_3EL-CXBnDfjO.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DAw1GyrP-wq43rwGK.js → CreditCardPaymentDrawerPage-Co9cXVbq-07Kud0U0.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-HikR7OVv-p07Uuam7.js → CreditCardPaymentPlgSection-8btubfRK-dP59bugR.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-BW71th1E-B0V-nWZq.js → CurrencySelectField-ygFa_fBz-DzuU1JE3.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-t4YirGGH-Cuz9h30L.js → CustomerOnboardingActivationPage-uUao1dP_-CsTActNC.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-CCQ4CEEw-3fsAvdXs.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWWXhhJn-ITQnJPve.js → CustomerOnboardingDetailPageSkeleton-DHzedR1_-DugeFiGx.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-YdWEMnwL-4PI92tQb.js → CustomerOnboardingNoStepsPage-zto-Bc8b-C818kfuc.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-C-WAF_MK-BRMtSz3Q.js → CustomerOnboardingPage-ZxIsjuvU-C9_BEwmX.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-CxwXw5lA-id504TUG.js → CustomerOnboardingProductSuitePage-BPvWb7w8-Dkr0lQXb.js} +1 -1
  59. package/dist/assets/{Dashboard-Cp0UY0M3-IQm6-Qev.js → Dashboard-S1Ag-fa_-CmlxUjes.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-Bsr_1Vfu-QstHl9rg.js → DashboardReportPage-IkFfh8Om-C-rIdFLE.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-BvgNiAXF-51lqpLhi.js → DashboardSidebarBackgroundAnimation-UqyDKAyL-DAtbJkTF.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-Cm5lhc_H-fBJ_bw48.js → DepositAccTransactionItem-5iWpKeU2-ChMWaf50.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-CHwS-_Nr-UV8SSaeo.js → DepositAccTransactionListPage-DYIS1vS9-DqPXVJd4.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-mqJgiAC--eFan9OS0.js → DomesticWireDetailsPage-Csu08jaH-Ch6xKsbE.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DwPR_SsY-BPgWz0JW.js → DownloadOverlay-C3Xhq7Ib-DxHJmV1I.js} +1 -1
  66. package/dist/assets/{DrawerPage-CR2L2ry3-BVnBWk2I.js → DrawerPage-CijrIiqk-n4oHZ2XW.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-DiNxeKXK-aPLwCgB1.js → EditPeoplePage-C4RTi0D6-uN6yEPLL.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-5TJ4Spw1-Bj1N-hsV.js → EditReimbursementDetailPage-Dkp15H1w-CcPrFoOx.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-CYDIH-NA-yJCqr2ih.js → EntityDetailPage-DYzWDE8D-CVQXqf-Z.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-Cv7t21-t-CcN834ie.js → EntitySummarySection-DdOTbaRk-C6EbYsMz.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-Cwl9dV2--DiULJ6lt.js → ExpenseAutomationOverviewPage-CZfXD-6h-vLnbLde2.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-LMBRJxAv-C0coiN-l.js → ExpenseAutomationPage-DIzhvsx--CRlua_oy.js} +2 -2
  73. package/dist/assets/{ExpressPayPage-CCF0jSlI-CPHGFB-D.js → ExpressPayPage-DTe8JitO-DiPVt172.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-POKsqSnu-DDjs4w2v.js → FeaturePreviewPage-CCPz1r4W-DW3NLN64.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BZdlZelr-BGSDF8Vp.js → FollowStepsSection-htuNv6sX-BrqUPYGP.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-BnmMh-Bc-BMXDv6s_.js → GlobalReviewListPage-BsLhWxBw-D5OnNUEp.js} +1 -1
  77. package/dist/assets/{HelpButton-Cp2LXxyy-D5trZUYf.js → HelpButton-DI2-Jtkk-Dbi4R82K.js} +1 -1
  78. package/dist/assets/{InformationCardStack-CiYqiW7_-8H1oZSc6.js → InformationCardStack-Ddghggkf-Cq40eP-5.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-BnVrehfR-Bwp8DoXU.js → InsightsCardStack-Ch83ytN6-Cz3L77ZJ.js} +1 -1
  80. package/dist/assets/{InsightsSection-BpVW6ov6-DNeBGhKY.js → InsightsSection-Rw1MXjLh-Bq197lgo.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-CaAahFPb-DAU0q4kG.js → IntegrationsSettingsPage-DdU2aGXE-Dah3MCkC.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DcwbldkC-CEHpn82p.js → InternationalWireSwiftDetailsPage-CyoifPQ3-COVr2k9L.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-7XDbU2GY-B3Bde3aR.js → InternationalWireVerificationPage-CXAEbagi-DWT-I1kI.js} +1 -1
  84. package/dist/assets/{InviteFormPage-Dgv7jdgF-D_Rp0_I5.js → InviteFormPage-WKr-Gf4F-rKlOFMt5.js} +1 -1
  85. package/dist/assets/{InvitePageListView-DlpINjRJ-CVTcd8Rb.js → InvitePageListView-DLwOgbuy-bJCVbD8h.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-0YsY4Il7-BDMPvZZI.js → InvitePeoplePage-DOc_Rmo6-DKcObeQn.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-DzzjJVfz-UNL63E2S.js → InvoiceUploadSection-BlnkHpwM-Ce0bH3G3.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-BeB9egJS-DGDSK_Dz.js → IssueChargeCardPage-l8AlEOHO-CxeWF_lM.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-D6advpnC-BIRd9Ajq.js → LabeledAddressValue-CTst9UvU-ByYM4_o1.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-DRBoA2eb-CY4R72dF.js → LabeledAddressValueField-BR1Y1073-B03O5CwF.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-Bu2WHgAQ-DG96QzTC.js → LabeledControlledCheckBoxField-B9QXusI6-YyXCxq5T.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DcdF286I-DVLS5Uu2.js → LabeledCreatableSingleSelectField-DUqNPBSl-DTAr0xqT.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-B25RLa6I-CxaFbem9.js → LabeledDocumentField-BXf4hFGl-BwGHx1Js.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DoK5Zfc1-DTvtmhbZ.js → LabeledDropDownFormattedTextField-BU3H5ntV-Btv86825.js} +1 -1
  95. package/dist/assets/{LabeledText-depbwNsM-Dz-iyQhO.js → LabeledText-HJxuwr0W-D7oBd1VA.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BURpXN_N-C0dKF6bL.js → LabeledUserSingleSelectWithSubtitlesField-BZ4I1FGq-cDuBIXUB.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-TbyaA8M3-UyqyZf3T.js → LabeledZeniRolesDropDownField-Cub880c--D6g2__UD.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-BITHs1CJ-CskcG33H.js → LinkJETransactionPage-B4m_G13a-vm0NyIeH.js} +1 -1
  99. package/dist/assets/{LockCardPage-DPBKHSos-Eeuideoq.js → LockCardPage-B3aChAhm-gtWaG1XW.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-D2G3wpXv-BWoOvH8r.js → LowBalancePopup-CyKlvKiR-Duj6ybvd.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-Be7GMhBd-jvxQo3r7.js → MagicLinkACHDetailsPage-BKemfz5J-Cro8UOYu.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-C9d2Ea6m-h6pWNQ5T.js → MagicLinkDomesticWireDetailsPage-BXb684Em-DCyt0nIP.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-B2M9WztX-D_JzchXs.js → MagicLinkInternationalWireDetailsPage-DL2QAc3R-BI7hgxOP.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-DPb0UoGh-CP3_5lFj.js → MagicLinkSuccessPage-C7ppWqHo-ADXJQSGK.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-Cc-MU2bJ-CDSrLFGF.js → MagicLinkTitleSection-BZKoHa_M-8SF1y9np.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-8mj7Lslp-DWzno4qU.js → MailingDetailsSection-bc8_YLJC-Cj83f5h-.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-Be-tan9_-BBL8yamD.js → MeetingCalenderPopup-Dg55RQdJ-QjCFari4.js} +1 -1
  108. package/dist/assets/{Menu-ndvXF6cX--GeZx903.js → Menu-BAfJhuGd-BkKr5pMA.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-DuZFVLYx-C3D187SW.js → MyBankConnectionsSettingsPage-7cvjBLB5-BBSDcK8A.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-DDIlU_fs-BKtoSVLc.js → MyPendingActivationChargeCardListPage-Cfnk3BiS-ZEpD8Yln.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-CccRK9mD-CzZJ5k5N.js → MyProfileSettingsPage-BaFE1-Fo-CFs_Z-Sn.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-D_MqRubB-Do2ZF1uo.js → NavBarWithPicker-6gRH5Hpk-DTqDzq6Y.js} +1 -1
  113. package/dist/assets/{NavigationArrow-CfMVfLD8-BAf8Qn24.js → NavigationArrow-nfwwr2VG-kzH-v2DY.js} +1 -1
  114. package/dist/assets/{NavigationDots-E2eEHB86-CStXuDVP.js → NavigationDots-DllOIi_W-CPyam8wg.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-vXrz_DRg-C3ipCayd.js → NewGlobalMerchantPage-Duhs06md-DV2RB4QP.js} +1 -1
  116. package/dist/assets/{NoDataChart-CpocQ1Pa-CcVNbu1o.js → NoDataChart-DdFzqSX9-DMGMO863.js} +1 -1
  117. package/dist/assets/{NoDataTable-937mkn0a-Dzw8TiZA.js → NoDataTable-BVl7ggnh-CloRR1Z1.js} +1 -1
  118. package/dist/assets/{NotFoundPage-BmxF81mT-hcqigEYu.js → NotFoundPage-BQaU66HN-cNlaSTQ7.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-DyOyHW6d-DLu_Fopw.js → NotificationSettingsPage-8XyqmWNz-IT7vUbak.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-DVs7cr0d-zA9nrZIH.js → NotificationsListConfig-BCAZmS8g-BojTjwQA.js} +1 -1
  121. package/dist/assets/{NotificationsPage-ntuZjRm--Bpp_Njbd.js → NotificationsPage-DjL--Jx0-CoxWx7Mn.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-1MOdxG9V-W3eRSGY8.js → OpExByVendorPage-Dl1Dhz7J-56sluHWU.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-CU1AAMcq-DPrm4HxT.js → OverlayContainerPage-BrLfNEnQ-Bjg7zGF5.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-n4fiElGl-DjsOKmy6.js → PandLWithForecastPage-BarzWec1-B_6ndt_d.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CXcwA0ON-oCTTfyhE.js → PaymentAccountSetupBillingAddressSection-C9bqj8d7-DPBdKt8S.js} +1 -1
  126. package/dist/assets/{PeoplePage-BvZkMpjW-B5FGyPnw.js → PeoplePage-B1TvGZiH-BliGEgtR.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage-B7AKufjq-BnrP09Fu.js → PortfolioAllocationFormPage-Dj3tLy2o-BKwYtQPi.js} +1 -1
  128. package/dist/assets/{PortfolioDetails-C85yA52O-BS98fu_H.js → PortfolioDetails-rTTtemel-BaF4prRu.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-ixHCR9AW-B3KSgSvu.js → ProductsCarousel-B6egLRkT-Ds0qgQ9F.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-DiefKKcS-DjGVJhXg.js → PromoBaseCards-CO9dKZjX-Cuqrbjnr.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-DV-xC7Yc--7Nd5nsI.js → QBOConnectionDialog-B_2q895y-CXAabSi2.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-CI8cHWjq-C95yjRW9.js → QBOSetupSection-CMSyd_au-Wruu37CN.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CqnCqZ5F-Vgy37mfa.js → ReimbursementApprovalRuleDetailPage-5QrS5LPT-BVi2t0z1.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-DxoNMA62-D7mJeHmV.js → ReimbursementApprovalRulesPage-DqSjBePA-Csl6_f5U.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-CTvPAxMB-C7fTGU1b.js → ReimbursementDetailPage-BuPUopwq-gqV0cL1t.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-DcxPNTHd-Blnc0f_b.js → ReimbursementPromoPage-DNwXDoN2-B39mm06z.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-SQo-xrwo-DL5z4EoQ.js → ReimbursementSetUpPage-DxwRxPZf-CbuMngOY.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-y4v-8gQs-Bq6sD38y.js → ReimbursementsBulkReviewDrawerPage-BkhwR9MC-itdY-T51.js} +1 -1
  139. package/dist/assets/{ReloadCard-CWZU9IDv-Ctd1C9Y6.js → ReloadCard-BJXQsN09-BVrnbzto.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-t3pgCiJb-DqBvg5NR.js → ReportTableViewSelector-BOTtI422-BwBcnkGV.js} +1 -1
  141. package/dist/assets/{ReportsPage-D82gQH-e-CyPz_V1V.js → ReportsPage-DXP48V6n-OgHuxEn7.js} +1 -1
  142. package/dist/assets/{RevenueChart-BMgI2BHK-kDKNV00o.js → RevenueChart-eTGzM5Ir-O0g1-JfR.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-Dc7dY-VA-YfTW3GqQ.js → ReviewDetailsPage-USkDeObT-D9uGsGPf.js} +1 -1
  144. package/dist/assets/{ReviewOverlay-Bra2W5Jg-BbU63zw-.js → ReviewOverlay-nPwhRbrF-CBwCM_wb.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-DJ15AsI3-5MOFn8Vi.js → RoleWithToolTip-Clpg83-J-j5tDPbCv.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DoH2eyLG-B2m_A1AG.js → ScheduleDetailsFixedAssetsPage-CSeoB6Zn-fTssLM3a.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-BM1Paa1W-MAbTTj6N.js → ScheduleDetailsPage-DhAMisMm-cWRmz7YU.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-C8UB3y1y-ByEA_MWt.js → ScheduleSequenceTable-DiqT4mWr-BUBtBesz.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-CCTfVlek.js → ScreenRoutes-DT8nmMeR.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-BGdUkQz3-CmhvKRBj.js → SetUpAccountSection-BTbuBg5j-0bjKJLpQ.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-C4NnRO65-C_SCoM-o.js → SetUpDefaultSection-DfDQ_1cB-CIEhMfvg.js} +1 -1
  152. package/dist/assets/{SignIn-BrHA4sLj-B4nFa1PZ.js → SignIn-aSgGULHq-jWHelJCc.js} +1 -1
  153. package/dist/assets/{SignInScreen-D2E8Gfeb.js → SignInScreen-ChIGq8W2.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-Dqb0zspN-oUW0KJSC.js → SpendManagementListViewPage-Dgzptr2m-DLf2tLWg.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-D5xIpojr-CbnBkwEE.js → SpendManagementPerTabPage-BTIfqyaR-z9ousJoo.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-C2iof2aM-CgI_sDl2.js → SpendManagementSection-BDhDuv1R-7QlsxFKm.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection-Dz3vQC2g-CkgcDVeN.js → SpendMgmtSetupAccountSection-DhTovwDD-DAZG9et3.js} +1 -1
  158. package/dist/assets/{StatementItem-BOgmKBTq-BfMKmuM4.js → StatementItem-DRwYhaSH-hCkGtmed.js} +1 -1
  159. package/dist/assets/{StatementsPage-ClMtBDGf-DOSOotN4.js → StatementsPage-BZHnxAHV-GsSuMXHn.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-QwlvHg3_-CMX0n9BM.js → StatusSwitcher-BrMKuJtr-nQ4EGAo1.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-CiJ1FPk5-BAceW0EN.js → SubTabSwitcher-LAVDRoV1-D5pN7Lkb.js} +1 -1
  162. package/dist/assets/{SummaryCard-D1B_1H2X-BedHke4X.js → SummaryCard-BKsOgRnp-DC1S4EQ5.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-DibwJCOk-z_83355A.js → TaskManagementPage-pHv8FNkt-C59xZSPq.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-Ci3SxLOE-Cft8KrU4.js → TimeRangeSwitcher-Cd2ISmX2-hiFXQ3Wr.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-DSRKJTq1-CPMEREiX.js → TimeframeSwitcher-BTdsQclx-SrSrOSS3.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-D_BNOfdQ-hObCwi6e.js → TimeframeSwitcherWithToggle-BgTKQrwL-BqVAkzKu.js} +1 -1
  167. package/dist/assets/{TopExCard-C5622MiP-CaTPAIzE.js → TopExCard-DBE92KtC-BiwsfDzV.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-qOhQ-KAG-Edkxfcr7.js → TopExDetailPage-Db7K6vX1-C1aqfSnw.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-DaCUZuc0-CZQTF0CV.js → TransactionDetailPage-BQWNY3oj-B9TYp6q2.js} +1 -1
  170. package/dist/assets/{TransactionList-CzdU-NQx-CjUzSrCX.js → TransactionList-CGUG-mB0-BgxrBjzh.js} +1 -1
  171. package/dist/assets/{TransactionListBig-Bq7XI_xx-Dv5cExU7.js → TransactionListBig-acQXTbpH-uSDIHTCJ.js} +1 -1
  172. package/dist/assets/{TransactionListPage-CZDewehT-B3DRadyQ.js → TransactionListPage-yNk0m7jf-UedU6Qfk.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-Bf5UUIC6-CQGy746W.js → TransactionVendorDetailPage-qqWpPY5E-BlsBPuUP.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-yQE7GKl_-B_sZVByT.js → TransferDrawerPage-CtYBto_9-CiJyJ7sd.js} +1 -1
  175. package/dist/assets/{TreasuryOverviewPage-CisB53k8-1DHqQAlF.js → TreasuryOverviewPage-C1Xk8g8_-BQBFTPVX.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-BfISVj15-BGQYWL9-.js → TreasuryPromoPage-DnC64N5p-Bj-0SlQz.js} +1 -1
  177. package/dist/assets/{TreasurySetupPage-SN-3mAFw-Cof3NBd8.js → TreasurySetupPage-C0uVTBT_-BFXhHcCU.js} +1 -1
  178. package/dist/assets/{TreasuryStatementsPage-DGyug1wv-CoxcnWHC.js → TreasuryStatementsPage-DUIy-r27-CrCWMOXA.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-BRvcOhJZ-oH9F6DSg.js → TreasuryTaxLetterPage-BS-d06nu-DR2lCc82.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-H5ohs_5r-BMVG7d4d.js → TreasuryTransferOrReviewPage-Dh3aKerm-BoZYMogf.js} +1 -1
  181. package/dist/assets/{TrendChart-ohr8bK1l-BFSRHnXH.js → TrendChart-BV-rEMQa-zOWyGybn.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-D5eTj9Ca-CGTj8WtT.js → TrendWithTransactions-Ch-uI8HJ-DJsQy2dN.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-3NGCCdAA-g8HckfzC.js → UncategorizedAccountsMappingPage-I8IRIFN2-AP_8GyhE.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-B6FOsf88-D0XXminV.js → UnitIntegrationPage-27ig5rIl-BclfsJaU.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-CH9x8nx2-Bb6eisB5.js → UploadAdditionalDocumentOverlay-DaI1TjyC-qcKu5lIj.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-D7455GFK-C9GGbcQr.js → Vendor2FAPopup-kwie-eGu-2osZxeVc.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-CXoxi6Qp-CZ6C-DiA.js → VendorACHDetailsPage-rtdsB21v-MGL13IbJ.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-C6BgYb-c-Cx6C0XWD.js → VendorDetailPage-Bed6RzDo-B-TrZUKH.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-DXfnCFu1-DnNV2kBp.js → VendorDomesticWireDetailsPage-DdTM1l4B-CKHcaJqO.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-ByESLoQK-6DrBYfQE.js → VendorFiling1099EditablePage-D8Kk-qR1-DyrDe2-w.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage-iNPtUFNw-BZfKmxRN.js → VendorFirstReviewPage-tfpWbf3U-CAaHsvd4.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-CqgGFU1K-CsZgdCwh.js → VendorInternationalWireDetailsPage-CBIkziAv-C_aRjvl5.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CNzft0dg-sQu8DFq8.js → VendorInternationalWireSwiftDetailsPage-DJ0KYDhc-COVE4G18.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-DCWhoqAP-C6_VdR84.js → VendorsAccountsSection-c8GgV5dU-RnTO1Q6w.js} +1 -1
  195. package/dist/assets/{VerifyDevice-DvJEmcUq-BkfogXOK.js → VerifyDevice-TLFja6C4-Bu0xRLr0.js} +1 -1
  196. package/dist/assets/{VideoPlayer-Cp5DBUTp-iVlxVL6G.js → VideoPlayer-SGIggVEI-C1cBaCnI.js} +1 -1
  197. package/dist/assets/{VideoPopup-97jTEw9t-BZq23L0E.js → VideoPopup-Mv0_5bIg-DAZmbKcw.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-CMy4FFqt-C6SNjUUA.js → WarningsDrawerPage-DUCkge_W-BNr6BHXe.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-mzHK5HUV-BLTf4Wht.js → ZeniAccountDetailPage-Bk3QIFpz-CaIL1gRs.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-BeN4AKFd-BiURJQoi.js → ZeniAccountListViewPage-As5yBhjU-CIpyBetB.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-Db9bLk29-BWVuZPPb.js → ZeniAccountNavBarPieces-CcInTb_--CugUuGUl.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-By02sVg0-BI7WvvRE.js → ZeniAccountPromoPage-3GDNgioi-DvfbiTq_.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-DeDgKig1-DxsBJAeT.js → ZeniAccountSetupPage-BL4xmVdT-CGqFFIOv.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-Bfc0Yl56-DaSCXTQg.js → ZeniCopyright-qOKTNQFh-CKCRU5p9.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-DzeU3D5r-e0wRT6Bs.js → ZeniTransferAmountSlider-Bgvzizm0-oL0BEeqx.js} +1 -1
  206. package/dist/assets/{analyticsHelper-Cx9PlTZt-D_SIXjfY.js → analyticsHelper-BpNnh6jJ-wzd2UjtA.js} +1 -1
  207. package/dist/assets/{analyticsHelper-irn1VMmB.js → analyticsHelper-CudHtzur.js} +1 -1
  208. package/dist/assets/{chartTypes-BoA9fCCZ-BUUiBApo.js → chartTypes-Dt7gz8i6-Ckh5IhVm.js} +1 -1
  209. package/dist/assets/{commonDimensions-BCUrWcBL-og_PlsZY.js → commonDimensions-BbMaVVkK-BMC7tt4d.js} +1 -1
  210. package/dist/assets/{detailCommon-CFA4p6RP-Bimo6fyM.js → detailCommon-BA2e8dAl-D0Kkfbkc.js} +1 -1
  211. package/dist/assets/{downloadPdf-DZ5WQt0r-N9Kz25T5.js → downloadPdf-BXrLCq55-Dc5Jp25a.js} +1 -1
  212. package/dist/assets/{index-CUR-Srol.js → index-HaGJTTQU.js} +9 -9
  213. package/dist/assets/{lodash-D52QloPU.js → lodash-B66NTFTY.js} +6 -6
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-DQf-1sg7-BWZZLKlE.js → mapLoadingInProgressToTreeNode-BoTtWQvf-DH0x2HMy.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D0W1f0wZ-4w7b3979.js → mapSectionWithAcOnlyToTreeNode-CbFTcryp-CuXgttyH.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-Dzbv_N4o-CXIFkboT.js → mapSpacerToTreeNode-W7UZ77XS-DYn-ajZT.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-COS_auLN-suqlq0FO.js → mapTimeframeBalancesToTreeNode-7jYY0irL-B8C-YW97.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-2yWiGglp-DShx5VyC.js → mapTimeframeBalancesToTreeNode-Dw4zTEQL-Bhsd_Ds6.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NCujclSc-ByFXX8Q5.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Nr9b6uJI-B9APSdFn.js} +1 -1
  220. package/dist/assets/{toCOABalancesWithID--3a-7Ohb-BwklwBgE.js → toCOABalancesWithID-C8TMlHWA-DBg0-4Q1.js} +1 -1
  221. package/dist/assets/{toChartData-KZ92y9KA-BQVgkNx4.js → toChartData-BRlm_gke-CXj9PeZ9.js} +1 -1
  222. package/dist/assets/{treasuryColorHelper-ChFJTPyg-CRY-Xv6G.js → treasuryColorHelper-Cnew7M2o-AfQy9prW.js} +1 -1
  223. package/dist/assets/{uploadAttachment-BzeeOF-1-C7ElNjUE.js → uploadAttachment-C35mMc_9-MhEmYqMO.js} +1 -1
  224. package/dist/assets/{uploadReceipts-9DTOr0BG-CPXDfLxX.js → uploadReceipts-TOfVnojh-CzATy_Y5.js} +1 -1
  225. package/dist/index.html +1 -1
  226. package/package.json +5 -5
  227. package/dist/assets/CustomerOnboardingContainerPage-BFE2DU3a-Skc1R_0K.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as h,O as u,y as r,j as s,o as a,cX as b,b8 as x,u as i}from"./index-CUR-Srol.js";import{n}from"./vendor-Bs1fkIUX.js";import{W as f}from"./LabeledAddressValueField-DRBoA2eb-CY4R72dF.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:b(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
1
+ import{q as h,O as u,y as r,j as s,o as a,cX as b,b8 as x,u as i}from"./index-HaGJTTQU.js";import{n}from"./vendor-Bs1fkIUX.js";import{W as f}from"./LabeledAddressValueField-BR1Y1073-B03O5CwF.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:b(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{q as o,j as i,aM as d,ap as c,h as l,o as h,y as a}from"./index-CUR-Srol.js";import{n as s}from"./vendor-Bs1fkIUX.js";const r={width:new a(425,850,850),height:new a(320,640,640)},p=s.div`
1
+ import{q as o,j as i,aM as d,ap as c,h as l,o as h,y as a}from"./index-HaGJTTQU.js";import{n as s}from"./vendor-Bs1fkIUX.js";const r={width:new a(425,850,850),height:new a(320,640,640)},p=s.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,ap as u,f2 as h,o as s,c as d,f3 as x}from"./index-CUR-Srol.js";import{b as m,n as c,i as f}from"./vendor-Bs1fkIUX.js";const y=({open:e,onClose:r,anchorEl:t,children:n,styles:l})=>{const i=d();return o.jsx(x,{transitionDuration:0,anchorEl:t,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:i.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${i.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,ap as u,f2 as h,o as s,c as d,f3 as x}from"./index-HaGJTTQU.js";import{b as m,n as c,i as f}from"./vendor-Bs1fkIUX.js";const y=({open:e,onClose:r,anchorEl:t,children:n,styles:l})=>{const i=d();return o.jsx(x,{transitionDuration:0,anchorEl:t,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:i.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${i.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:t=!0,setIsMenuOpen:n,styles:l,menuIconStyles:i})=>{const p=m.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(b,{ref:p,children:[o.jsx(g,{className:"placeholder",style:i,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(j,{isMenuVisible:t,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{c as z,q as M,fG as H,O as $,aU as w,j as i,l as I,bF as L,ab as v,o as t,bA as P,y as d,an as B,am as _,C as R,b as W,fH as j,fI as C,u as m,fK as E,h as A,ai as F}from"./index-CUR-Srol.js";import{b as y,n}from"./vendor-Bs1fkIUX.js";import{K as N}from"./SetUpDefaultSection-C4NnRO65-C_SCoM-o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(m[6],m[7]),iconContainerMarginRight:new d(12,m[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,m[4]),elementsMarginLeftRight:new d(m[3],m[4])},J={title:new W("standardMedium","largeMedium")},K=n.img`
1
+ import{c as z,q as M,fG as H,O as $,aU as w,j as i,l as I,bF as L,ab as v,o as t,bA as P,y as d,an as B,am as _,C as R,b as W,fH as j,fI as C,u as m,fK as E,h as A,ai as F}from"./index-HaGJTTQU.js";import{b as y,n}from"./vendor-Bs1fkIUX.js";import{K as N}from"./SetUpDefaultSection-DfDQ_1cB-CIEhMfvg.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(m[6],m[7]),iconContainerMarginRight:new d(12,m[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,m[4]),elementsMarginLeftRight:new d(m[3],m[4])},J={title:new W("standardMedium","largeMedium")},K=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{c as N,ax as B,l as w,O as D,f_ as a,j as d,bF as M,gh as O,o as j}from"./index-CUR-Srol.js";import{n as P}from"./vendor-Bs1fkIUX.js";import{a as U,l as V}from"./ChargeCardListTable-BD4N2FtO-IW4RlhrQ.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./Menu-ndvXF6cX--GeZx903.js";import"./RoleWithToolTip-DJ15AsI3-5MOFn8Vi.js";import"./CardNumberSubText-Ct0mJOMk-GTk9LYaW.js";import"./ChargeCardUtils-Cy5rZlIH-XCWo4t70.js";const{spendManagement:{chargeCard:C}}=D.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:c,creditAccountRepayment:u,depositAccountListWithDebitCardIssued:i,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:k,onReloadCards:g,onColumnSortConfigChanged:A})=>{const f=N(),F=B(),h=w.hasChargeCardAdminLevelAccess(F.loggedInUserRoleMap),v=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),y=v&&m?C.cardList.title.cards:m?C.cardList.title.debit:C.cardList.title.credit,E=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,L=o&&l&&h===!0?{creditAccountId:c.id,creditAccountLimit:a(c.limit.amount),creditAccountAvailableAmount:a(c.available.amount),creditAccountSpentAmount:a(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:a(u.remainingAmountDue.amount)}:void 0,I=n&&s?{debitAccountId:i.depositAccounts.map(t=>t.id),debitAccountName:i.depositAccounts.map(t=>t.accountName),debitAccountBalance:i.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:i.depositAccounts.map(t=>t.accountStatus)}:void 0,R={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l},x={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return d.jsxs(z,{children:[d.jsx(M,{title:y,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:k,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?d.jsx(O,{fetchState:e.fetchState,styles:{margin:"auto"}}):d.jsx(U,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:V,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:u,productInformation:R,cashbackInformation:E,creditAccountInformation:L,debitAccountInformation:I,depositAccountListWithDebitCardIssued:i,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:x,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,T)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:A,onChargeCardResendInviteClick:()=>{}})]})},z=P.div`
1
+ import{c as N,ax as B,l as w,O as D,f_ as a,j as d,bF as M,gh as O,o as j}from"./index-HaGJTTQU.js";import{n as P}from"./vendor-Bs1fkIUX.js";import{a as U,l as V}from"./ChargeCardListTable-Cps-PbBK-DF7M5DIc.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./Menu-BAfJhuGd-BkKr5pMA.js";import"./RoleWithToolTip-Clpg83-J-j5tDPbCv.js";import"./CardNumberSubText-DSn60NRu-TTEWjeaY.js";import"./ChargeCardUtils-O8MgnIs5-2YhzHq7s.js";const{spendManagement:{chargeCard:C}}=D.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:c,creditAccountRepayment:u,depositAccountListWithDebitCardIssued:i,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:k,onReloadCards:g,onColumnSortConfigChanged:A})=>{const f=N(),F=B(),h=w.hasChargeCardAdminLevelAccess(F.loggedInUserRoleMap),v=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),y=v&&m?C.cardList.title.cards:m?C.cardList.title.debit:C.cardList.title.credit,E=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,L=o&&l&&h===!0?{creditAccountId:c.id,creditAccountLimit:a(c.limit.amount),creditAccountAvailableAmount:a(c.available.amount),creditAccountSpentAmount:a(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:a(u.remainingAmountDue.amount)}:void 0,I=n&&s?{debitAccountId:i.depositAccounts.map(t=>t.id),debitAccountName:i.depositAccounts.map(t=>t.accountName),debitAccountBalance:i.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:i.depositAccounts.map(t=>t.accountStatus)}:void 0,R={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l},x={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return d.jsxs(z,{children:[d.jsx(M,{title:y,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:k,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?d.jsx(O,{fetchState:e.fetchState,styles:{margin:"auto"}}):d.jsx(U,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:V,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:u,productInformation:R,cashbackInformation:E,creditAccountInformation:L,debitAccountInformation:I,depositAccountListWithDebitCardIssued:i,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:x,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,T)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:A,onChargeCardResendInviteClick:()=>{}})]})},z=P.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${j.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{q as ie,g2 as te,c as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as B,cT as we,cS as Pe,O as re,j as l,g4 as ve,bF as Oe,ad as $e,aQ as De,o as s,g5 as ne,g6 as de,g7 as ce,cO as ue,y as L,an as me,C as Se,b as Re,aJ as le,d2 as je,cV as Ce,g8 as q,c$ as Le,cZ as Te,g9 as Ie,a$ as Ve,u as U}from"./index-CUR-Srol.js";import{b as v,n as m}from"./vendor-Bs1fkIUX.js";import{W as ze}from"./LabeledAddressValueField-DRBoA2eb-CY4R72dF.js";import{Y as Fe}from"./LabeledUserSingleSelectWithSubtitlesField-BURpXN_N-C0dKF6bL.js";import{C as ke,j as Be}from"./LabeledZeniRolesDropDownField-TbyaA8M3-UyqyZf3T.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./RoleWithToolTip-DJ15AsI3-5MOFn8Vi.js";const b=(e,t)=>`${e}.${t}`,k={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(U[2],U[3]),toolTipWidth:new L(215,237),notePadding:new L(U[3],U[4]),noteGap:new L(U[0],6)},{peoplePage:a,common:{settings:se,labels:G,placeholder:F,errorMessage:Ne},dateFormat:Ae}=re.getLocalizedStrings(),We=({myProfileView:e,isZeniFinopsRolesUser:t,sectionId:i,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:O,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=ie(),{person:r,managersList:N,classList:A,manager:H,department:g,controllersList:W,myProfileLocalData:M,addressData:Q}=e,Y=e.person.user?.birthday!=null?"readonly":void 0,$=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),J=v.useMemo(()=>te(y,p,o,f,O,T,h),[y,p,o,f,O,T,h]),{firstController:w,restControllerEmailsStr:D}=v.useMemo(()=>{const c=le(W),S=c.splice(0,1),R=c.reduce((V,z)=>V.concat(`${z.email},`),"");return{firstController:S,restControllerEmailsStr:R}},[W]),K=v.useMemo(()=>le(ue.roles),[]),d=B.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),_=v.useMemo(()=>A.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[A]);return l.jsxs(Ze,{windowSize:n,children:[l.jsx(je,{isDisabled:u,label:{label:G.name,width:I},nameField:{name:b(i,"name"),placeHolder:{firstName:F.firstNamePlaceholder,lastName:F.lastNamePlaceholder,name:F.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ne.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(i,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:Y,dateField:{name:b(i,"dateOfBirth"),placeholder:F.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:Ae.visual.defaultInput,autoComplete:"off",maxDate:B.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ze,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(i,"mailingAddress"),placeholder:F.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(i,"phone"),placeholder:F.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),t?l.jsx(ke,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(i,"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(Be,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:b(i,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,O)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Fe,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Me,{}),userSingleSelectWithSubTitlesField:{name:b(i,"manager"),value:{allUsers:d?[]:N,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const S=N.findIndex(R=>R.userId===c);if(S!==-1){const R=N[S],V=A.find(X=>X.classId===R.userRole.accountingClassIDs[0]),z=[];return V!=null&&z.push(V.className),z}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(C,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(i,"department"),defaultValue:{allOptions:d?[]:_,selectedOption:d?void 0:_.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}),t?null:l.jsxs(Ue,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(_e,{href:`mailto:${w[0].email}?cc=${D}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ee,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},Me=()=>a.invitePage.managerTooltipText,Ze=m.div`
1
+ import{q as ie,g2 as te,c as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as B,cT as we,cS as Pe,O as re,j as l,g4 as ve,bF as Oe,ad as $e,aQ as De,o as s,g5 as ne,g6 as de,g7 as ce,cO as ue,y as L,an as me,C as Se,b as Re,aJ as le,d2 as je,cV as Ce,g8 as q,c$ as Le,cZ as Te,g9 as Ie,a$ as Ve,u as U}from"./index-HaGJTTQU.js";import{b as v,n as m}from"./vendor-Bs1fkIUX.js";import{W as ze}from"./LabeledAddressValueField-BR1Y1073-B03O5CwF.js";import{Y as Fe}from"./LabeledUserSingleSelectWithSubtitlesField-BZ4I1FGq-cDuBIXUB.js";import{C as ke,j as Be}from"./LabeledZeniRolesDropDownField-Cub880c--D6g2__UD.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./RoleWithToolTip-Clpg83-J-j5tDPbCv.js";const b=(e,t)=>`${e}.${t}`,k={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(U[2],U[3]),toolTipWidth:new L(215,237),notePadding:new L(U[3],U[4]),noteGap:new L(U[0],6)},{peoplePage:a,common:{settings:se,labels:G,placeholder:F,errorMessage:Ne},dateFormat:Ae}=re.getLocalizedStrings(),We=({myProfileView:e,isZeniFinopsRolesUser:t,sectionId:i,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:O,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=ie(),{person:r,managersList:N,classList:A,manager:H,department:g,controllersList:W,myProfileLocalData:M,addressData:Q}=e,Y=e.person.user?.birthday!=null?"readonly":void 0,$=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),J=v.useMemo(()=>te(y,p,o,f,O,T,h),[y,p,o,f,O,T,h]),{firstController:w,restControllerEmailsStr:D}=v.useMemo(()=>{const c=le(W),S=c.splice(0,1),R=c.reduce((V,z)=>V.concat(`${z.email},`),"");return{firstController:S,restControllerEmailsStr:R}},[W]),K=v.useMemo(()=>le(ue.roles),[]),d=B.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),_=v.useMemo(()=>A.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[A]);return l.jsxs(Ze,{windowSize:n,children:[l.jsx(je,{isDisabled:u,label:{label:G.name,width:I},nameField:{name:b(i,"name"),placeHolder:{firstName:F.firstNamePlaceholder,lastName:F.lastNamePlaceholder,name:F.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ne.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(i,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:Y,dateField:{name:b(i,"dateOfBirth"),placeholder:F.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:Ae.visual.defaultInput,autoComplete:"off",maxDate:B.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ze,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(i,"mailingAddress"),placeholder:F.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(i,"phone"),placeholder:F.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),t?l.jsx(ke,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(i,"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(Be,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:b(i,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,O)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Fe,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Me,{}),userSingleSelectWithSubTitlesField:{name:b(i,"manager"),value:{allUsers:d?[]:N,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const S=N.findIndex(R=>R.userId===c);if(S!==-1){const R=N[S],V=A.find(X=>X.classId===R.userRole.accountingClassIDs[0]),z=[];return V!=null&&z.push(V.className),z}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(C,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(i,"department"),defaultValue:{allOptions:d?[]:_,selectedOption:d?void 0:_.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}),t?null:l.jsxs(Ue,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(_e,{href:`mailto:${w[0].email}?cc=${D}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ee,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},Me=()=>a.invitePage.managerTooltipText,Ze=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{c as p,q as m,j as o,aM as u,c5 as g,O as x,o as t,bJ as b,f6 as k,cg as C,c3 as y,C as v}from"./index-CUR-Srol.js";import{n as l}from"./vendor-Bs1fkIUX.js";const w=l.div`
1
+ import{c as p,q as m,j as o,aM as u,c5 as g,O as x,o as t,bJ as b,f6 as k,cg as C,c3 as y,C as v}from"./index-HaGJTTQU.js";import{n as l}from"./vendor-Bs1fkIUX.js";const w=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,a$ as g,cg as c}from"./index-CUR-Srol.js";import{i as t,n as l}from"./vendor-Bs1fkIUX.js";const $=t`
1
+ import{j as e,o as r,a$ as g,cg as c}from"./index-HaGJTTQU.js";import{i as t,n as l}from"./vendor-Bs1fkIUX.js";const $=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,aM as v,o as t}from"./index-CUR-Srol.js";import{n as a}from"./vendor-Bs1fkIUX.js";const C=a.div`
1
+ import{j as e,aM as v,o as t}from"./index-HaGJTTQU.js";import{n as a}from"./vendor-Bs1fkIUX.js";const C=a.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,y=a.div`
@@ -1,4 +1,4 @@
1
- import{q as z,aa as K,cS as Q,aP as X,j as t,O as F,ad as Y,aQ as Z,y as i,o as a,A as ee,b as _,H as te,h1 as ae,am as le,d3 as O,id as ne,cX as U,cV as oe,u as l,b8 as re,db as ie,d9 as de,dn as se,P as ce,eN as me,dE as he,bl as be,h as V}from"./index-CUR-Srol.js";import{b as j,n as o,i as ge}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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{q as z,aa as K,cS as Q,aP as X,j as t,O as F,ad as Y,aQ as Z,y as i,o as a,A as ee,b as _,H as te,h1 as ae,am as le,d3 as O,id as ne,cX as U,cV as oe,u as l,b8 as re,db as ie,d9 as de,dn as se,P as ce,eN as me,dE as he,bl as be,h as V}from"./index-HaGJTTQU.js";import{b as j,n as o,i as ge}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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{q as l,j as t,h as r,o as a,am as s,y as m,c as o}from"./index-CUR-Srol.js";import{n as i,b as h}from"./vendor-Bs1fkIUX.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{q as l,j as t,h as r,o as a,am as s,y as m,c as o}from"./index-HaGJTTQU.js";import{n as i,b as h}from"./vendor-Bs1fkIUX.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,c as s}from"./index-CUR-Srol.js";import{n as i}from"./vendor-Bs1fkIUX.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const r=i.div`
1
+ import{j as e,o as t,c as s}from"./index-HaGJTTQU.js";import{n as i}from"./vendor-Bs1fkIUX.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.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,O as i,cd as s,_ as l,am as c,h as a,an as d}from"./index-CUR-Srol.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{i as h}from"./ZeniCopyright-Bfc0Yl56-DaSCXTQg.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const x=t.div`
1
+ import{j as o,O as i,cd as s,_ as l,am as c,h as a,an as d}from"./index-HaGJTTQU.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{i as h}from"./ZeniCopyright-qOKTNQFh-CKCRU5p9.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const x=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,gh as ne,o as i,bZ as se,O as I,aS as re,c as J,q as Q,aa as le,cS as ae,l as O,bF as ce,ad as de,ab as S,aQ as pe,y as M,fO as me,gi as ue,eZ as he,gj as ge,gk as fe,a$ as xe,u as w,b8 as Y,ai as K,am as W,an as $e}from"./index-CUR-Srol.js";import{n as o,b as E}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const{common:be}=I.getLocalizedStrings(),B={notePadding:new M(w[3],w[4]),noteGap:new M(w[0],6)},z=(e,n)=>`${e}.${n}`,ye=o.div`
1
+ import{j as t,gh as ne,o as i,bZ as se,O as I,aS as re,c as J,q as Q,aa as le,cS as ae,l as O,bF as ce,ad as de,ab as S,aQ as pe,y as M,fO as me,gi as ue,eZ as he,gj as ge,gk as fe,a$ as xe,u as w,b8 as Y,ai as K,am as W,an as $e}from"./index-HaGJTTQU.js";import{n as o,b as E}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const{common:be}=I.getLocalizedStrings(),B={notePadding:new M(w[3],w[4]),noteGap:new M(w[0],6)},z=(e,n)=>`${e}.${n}`,ye=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -1 +1 @@
1
- import{C as t,u as e}from"./index-CUR-Srol.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,u=1e3;export{l as A,i as E,n as I,u as L,o as a,r as t};
1
+ import{C as t,u as e}from"./index-HaGJTTQU.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,u=1e3;export{l as A,i as E,n as I,u as L,o as a,r as t};
@@ -1,4 +1,4 @@
1
- import{c as X,q as v,aa as Jt,O as P,cS as qt,j as t,bF as Zt,l as g,ad as Qt,aQ as Xt,o as i,ab as we,h5 as Kt,y as R,i5 as ei,C as Ne,P as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jW as at,u as y,n as ii,jX as oi,dE as ce,a_ as si,b as ai,H as rt,h as S,ai as ri,b_ as z,d3 as he,gi as ue,jY as pe,ax as nt,a9 as lt,dN as U,fE as dt,gr as ni,am as K,ik as li,an as H,fH as di,aU as ye,b9 as fe,jZ as ci,bX as ct,j_ as Ie,bz as hi}from"./index-CUR-Srol.js";import{b as x,n as r,i as A}from"./vendor-Bs1fkIUX.js";import{k as ui}from"./SubTabSwitcher-CiJ1FPk5-BAceW0EN.js";import{d as ht}from"./useLongPress-GCK2COYQ-B0RUPzZV.js";import{A as ut,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-DVs7cr0d-zA9nrZIH.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=X(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{h(b.id)},[h]);return e.length===0?null:t.jsxs(fi,{windowSize:u,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(ui,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
1
+ import{c as X,q as v,aa as Jt,O as P,cS as qt,j as t,bF as Zt,l as g,ad as Qt,aQ as Xt,o as i,ab as we,h5 as Kt,y as R,i5 as ei,C as Ne,P as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jW as at,u as y,n as ii,jX as oi,dE as ce,a_ as si,b as ai,H as rt,h as S,ai as ri,b_ as z,d3 as he,gi as ue,jY as pe,ax as nt,a9 as lt,dN as U,fE as dt,gr as ni,am as K,ik as li,an as H,fH as di,aU as ye,b9 as fe,jZ as ci,bX as ct,j_ as Ie,bz as hi}from"./index-HaGJTTQU.js";import{b as x,n as r,i as A}from"./vendor-Bs1fkIUX.js";import{k as ui}from"./SubTabSwitcher-LAVDRoV1-D5pN7Lkb.js";import{d as ht}from"./useLongPress-GCK2COYQ-B0RUPzZV.js";import{A as ut,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-BCAZmS8g-BojTjwQA.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=X(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{h(b.id)},[h]);return e.length===0?null:t.jsxs(fi,{windowSize:u,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(ui,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as G,i4 as ye,O as B,c as q,cr as be,az as _e,j as t,aM as Se,bZ as ke,i3 as we,bH as ve,bF as Be,i5 as Pe,i6 as Oe,o as u,aS as $e,P as je,y as F,b3 as le,aC as ie,aU as Te,u as P,bK as De,ct as Ne,cu as Ee,cv as Ie,h as a,am as ce,bW as Ae,bR as Me,bh as Le,C as Q,bg as Fe,aX as Re,bS as Ve,bU as ze,l as We}from"./index-CUR-Srol.js";import{b as y,n as m,w as Ke}from"./vendor-Bs1fkIUX.js";import{p as Ye,d as He,y as H,b as de,u as ee}from"./chartTypes-BoA9fCCZ-BUUiBApo.js";import{V as Ge}from"./toChartData-KZ92y9KA-BQVgkNx4.js";import{m as R}from"./analyticsHelper-Cx9PlTZt-D_SIXjfY.js";import{p as qe}from"./TimeRangeSwitcher-Ci3SxLOE-Cft8KrU4.js";import{M as Ue}from"./TimeframeSwitcherWithToggle-D_BNOfdQ-hObCwi6e.js";import{C as Xe}from"./NoDataChart-CpocQ1Pa-CcVNbu1o.js";import{d as Je}from"./NoDataTable-937mkn0a-Dzw8TiZA.js";import{H as Ze,N as oe}from"./detailCommon-CFA4p6RP-Bimo6fyM.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{I as Qe,R as U}from"./CollapsableReportTable-CwhNUlX5-CDKIk88_.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-2yWiGglp-DShx5VyC.js";import{d as re}from"./mapLoadingInProgressToTreeNode-DQf-1sg7-BWZZLKlE.js";import{l as eo}from"./mapSpacerToTreeNode-Dzbv_N4o-CXIFkboT.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-DSRKJTq1-CPMEREiX.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";import"./AccountRow-DTdcfEa8-D8HhIMeS.js";const oo=m.div`
1
+ import{q as G,i4 as ye,O as B,c as q,cr as be,az as _e,j as t,aM as Se,bZ as ke,i3 as we,bH as ve,bF as Be,i5 as Pe,i6 as Oe,o as u,aS as $e,P as je,y as F,b3 as le,aC as ie,aU as Te,u as P,bK as De,ct as Ne,cu as Ee,cv as Ie,h as a,am as ce,bW as Ae,bR as Me,bh as Le,C as Q,bg as Fe,aX as Re,bS as Ve,bU as ze,l as We}from"./index-HaGJTTQU.js";import{b as y,n as m,w as Ke}from"./vendor-Bs1fkIUX.js";import{p as Ye,d as He,y as H,b as de,u as ee}from"./chartTypes-Dt7gz8i6-Ckh5IhVm.js";import{V as Ge}from"./toChartData-BRlm_gke-CXj9PeZ9.js";import{m as R}from"./analyticsHelper-BpNnh6jJ-wzd2UjtA.js";import{p as qe}from"./TimeRangeSwitcher-Cd2ISmX2-hiFXQ3Wr.js";import{M as Ue}from"./TimeframeSwitcherWithToggle-BgTKQrwL-BqVAkzKu.js";import{C as Xe}from"./NoDataChart-DdFzqSX9-DMGMO863.js";import{d as Je}from"./NoDataTable-BVl7ggnh-CloRR1Z1.js";import{H as Ze,N as oe}from"./detailCommon-BA2e8dAl-D0Kkfbkc.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{I as Qe,R as U}from"./CollapsableReportTable-Dh9NNE7R-D-5EE2-Y.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-Dw4zTEQL-Bhsd_Ds6.js";import{d as re}from"./mapLoadingInProgressToTreeNode-BoTtWQvf-DH0x2HMy.js";import{l as eo}from"./mapSpacerToTreeNode-W7UZ77XS-DYn-ajZT.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-BTdsQclx-SrSrOSS3.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";import"./AccountRow-wv0LguaL-Dgo69VZC.js";const oo=m.div`
2
2
  display: flex;
3
3
  `,ro=m.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{c as i,j as r}from"./index-CUR-Srol.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const p=n.div`
1
+ import{c as i,j as r}from"./index-HaGJTTQU.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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,B as M,c as T,q as v,aM as A,bF as re,O as c,n as ie,P as ae,y as D,C as ce,o as s,aC as le,aU as de,_ as ge,cQ as me,bC as pe,u as C,l as U,bK as he,cR as ue,aS as fe,aT as xe,b9 as we}from"./index-CUR-Srol.js";import{n as r,b as F}from"./vendor-Bs1fkIUX.js";import{R as Se}from"./NavBarWithPicker-D_MqRubB-Do2ZF1uo.js";import{m as je}from"./analyticsHelper-Cx9PlTZt-D_SIXjfY.js";import{M as $e}from"./TimeframeSwitcherWithToggle-D_BNOfdQ-hObCwi6e.js";import{I as be,a as Ce}from"./CollapsableReportTable-CwhNUlX5-CDKIk88_.js";import{M as E}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import{T as Pe,I as ye,L as ke}from"./mapSectionWithAcOnlyToTreeNode-D0W1f0wZ-4w7b3979.js";import{s as K}from"./mapTimeframeBalancesToTreeNode-COS_auLN-suqlq0FO.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-DSRKJTq1-CPMEREiX.js";import"./AccountRow-DTdcfEa8-D8HhIMeS.js";const Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ze=r.div`
1
+ import{j as o,B as M,c as T,q as v,aM as A,bF as re,O as c,n as ie,P as ae,y as D,C as ce,o as s,aC as le,aU as de,_ as ge,cQ as me,bC as pe,u as C,l as U,bK as he,cR as ue,aS as fe,aT as xe,b9 as we}from"./index-HaGJTTQU.js";import{n as r,b as F}from"./vendor-Bs1fkIUX.js";import{R as Se}from"./NavBarWithPicker-6gRH5Hpk-DTqDzq6Y.js";import{m as je}from"./analyticsHelper-BpNnh6jJ-wzd2UjtA.js";import{M as $e}from"./TimeframeSwitcherWithToggle-BgTKQrwL-BqVAkzKu.js";import{I as be,a as Ce}from"./CollapsableReportTable-Dh9NNE7R-D-5EE2-Y.js";import{M as E}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import{T as Pe,I as ye,L as ke}from"./mapSectionWithAcOnlyToTreeNode-CbFTcryp-CuXgttyH.js";import{s as K}from"./mapTimeframeBalancesToTreeNode-7jYY0irL-B8C-YW97.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-BTdsQclx-SrSrOSS3.js";import"./AccountRow-wv0LguaL-Dgo69VZC.js";const Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ze=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{a as pe,O as le,aP as De,C as te,o as u,h as H,q as ue,j as i,c4 as Me,c as Re,d3 as Ve,aU as ae,y as oe,bA as Fe,c7 as qe,am as ke,aQ as He,af as me,u as Ke,g$ as Je,an as Ge,b as Ye}from"./index-CUR-Srol.js";import{w as l,b as O,n as y}from"./vendor-Bs1fkIUX.js";import{P as p}from"./mui-Ty75qFQF.js";import{O as Ze}from"./SetUpAccountSection-BGdUkQz3-CmhvKRBj.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t,e){return Xe(t)||Qe(t,e)||et(t,e)||tt()}function Xe(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{a as pe,O as le,aP as De,C as te,o as u,h as H,q as ue,j as i,c4 as Me,c as Re,d3 as Ve,aU as ae,y as oe,bA as Fe,c7 as qe,am as ke,aQ as He,af as me,u as Ke,g$ as Je,an as Ge,b as Ye}from"./index-HaGJTTQU.js";import{w as l,b as O,n as y}from"./vendor-Bs1fkIUX.js";import{P as p}from"./mui-Ty75qFQF.js";import{O as Ze}from"./SetUpAccountSection-BTbuBg5j-0bjKJLpQ.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t,e){return Xe(t)||Qe(t,e)||et(t,e)||tt()}function Xe(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ve="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ve,c=Object.prototype.toString.call(r)===ve;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var P=e,w=r,S=function($){return t(P[$],w[$])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},$e({},s,e[s])):a},null):null},Oe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ye(a,r)})};var n=ye(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=Ae(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,P=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(w){w&&g&&P(w)}):s.tag==="sync"&&!o.stripe&&P(s.stripe),function(){g=!1}},[s,o,n]);var f=se(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var lt=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(_e),n=l.useContext(ne);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,P=o.onBlur,w=o.onFocus,S=o.onReady,j=o.onChange,$=o.onEscape,M=o.onClick,V=o.onLoadError,F=o.onLoaderStart,W=o.onNetworksChange,A=o.onConfirm,J=o.onCancel,B=o.onShippingAddressChange,D=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),_="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),T=Ae(z,2),v=T[0],N=T[1],L=l.useRef(null),q=l.useRef(null);R(v,"blur",P),R(v,"focus",w),R(v,"escape",$),R(v,"click",M),R(v,"loaderror",V),R(v,"loaderstart",F),R(v,"networkschange",W),R(v,"confirm",A),R(v,"cancel",J),R(v,"shippingaddresschange",B),R(v,"shippingratechange",D),R(v,"change",j);var G;S&&(e==="expressCheckout"?G=S:G=function(){S(v)}),R(v,"ready",G),l.useLayoutEffect(function(){if(L.current===null&&q.current!==null&&(_||E)){var I=null;E?I=E.createElement(e,g):_&&(I=_.create(e,g)),L.current=I,N(I),I&&I.mount(q.current)}},[_,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:q})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var Te="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Te,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(Te).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},Y=null,Q=null,ee=null,vt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return Y!==null?Y:(Y=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&Q!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",Q),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=yt(r,n),Q=vt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),Y.catch(function(r){return Y=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Z,Ne=!1,We=function(){return Z||(Z=St(null).catch(function(e){return Z=null,Promise.reject(e)}),Z)};Promise.resolve().then(function(){return We()}).catch(function(t){Ne||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];Ne=!0;var a=Date.now();return We().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},wt=y.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{c as $e,q as I,O as y,j as t,aM as a,bF as le,bZ as Ne,o as s,cz as De,cA as Oe,P as F,aS as Y,cB as we,n as Le,C as be,cC as _e,aP as Ae,cD as Ve,aq as Me,cE as We,cF as Be,b3 as He,aC as H,cG as Ee,y as $,cH as Fe,cI as je,u as b,l as A,cJ as ee,cs as N,aa as Ue,ad as Ke,cK as Ze,cL as qe,aJ as Je,ai as D,cM as Ge,am as O,an as te,h as V,cN as Qe,cw as Se,b9 as ie,cO as ke,bX as Xe,cP as Ye}from"./index-CUR-Srol.js";import{w as ce,b as v,n as i}from"./vendor-Bs1fkIUX.js";import{P as Ie}from"./Menu-ndvXF6cX--GeZx903.js";import{T as Ce}from"./RoleWithToolTip-DJ15AsI3-5MOFn8Vi.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const T=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:T.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:T.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:T.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:T.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:T.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],E=[{key:"name",value:T.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:T.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:T.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(Je(d==="off"?S:E));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(Ge,{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{c as $e,q as I,O as y,j as t,aM as a,bF as le,bZ as Ne,o as s,cz as De,cA as Oe,P as F,aS as Y,cB as we,n as Le,C as be,cC as _e,aP as Ae,cD as Ve,aq as Me,cE as We,cF as Be,b3 as He,aC as H,cG as Ee,y as $,cH as Fe,cI as je,u as b,l as A,cJ as ee,cs as N,aa as Ue,ad as Ke,cK as Ze,cL as qe,aJ as Je,ai as D,cM as Ge,am as O,an as te,h as V,cN as Qe,cw as Se,b9 as ie,cO as ke,bX as Xe,cP as Ye}from"./index-HaGJTTQU.js";import{w as ce,b as v,n as i}from"./vendor-Bs1fkIUX.js";import{P as Ie}from"./Menu-BAfJhuGd-BkKr5pMA.js";import{T as Ce}from"./RoleWithToolTip-Clpg83-J-j5tDPbCv.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const T=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:T.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:T.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:T.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:T.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:T.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],E=[{key:"name",value:T.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:T.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:T.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(Je(d==="off"?S:E));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(Ge,{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{q as U,aC as S,j as i,c5 as Q,O as V,aM as J,y as u,aQ as K,o as n,A as X,b as Z,H as _,am as ee,u as l,C as ie,b6 as te,an as W,h as v,ai as ne,cw as oe}from"./index-CUR-Srol.js";import{b as k,n as t}from"./vendor-Bs1fkIUX.js";import{q as re}from"./PortfolioDetails-C85yA52O-BS98fu_H.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-ChFJTPyg-CRY-Xv6G.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=V.getLocalizedStrings(),d={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])},le={stepTitle:new Z("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:$=!1,skipTransferStep:q})=>{const r=U(),[M,F]=k.useState(!1),{fundsData:G,fundAllocationOptions:s,fundAllocationLocalData:a,currentAllocation:w,portfolioAllocationUpdateStatus:N}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(a.allocation,w);F(o)}},[p,w,a]);const y=o=>{const f=s.find(H=>H.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},Y=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&Y(),e()};return i.jsxs(de,{children:[i.jsxs(ce,{windowSize:r,children:[i.jsx(pe,{windowSize:r,children:i.jsx(Q,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(xe,{"data-testid":J("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(he,{windowSize:r,children:[i.jsxs(ue,{windowSize:r,children:[i.jsx(me,{windowSize:r,children:se(c,$,p)}),!c&&!p&&i.jsx(ge,{children:i.jsxs(we,{children:[i.jsx(fe,{}),i.jsx(z,{}),q!==!0&&i.jsx(z,{})]})})]}),i.jsx($e,{isReadOnly:c,children:ae(c,$,p)}),i.jsx(ye,{children:i.jsxs(ve,{windowSize:r,children:[i.jsx(be,{children:i.jsx(re,{isInReview:!1,isSetup:!0,fundDetails:G,allocation:a,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(je,{windowSize:r,children:[i.jsx(Se,{children:i.jsx(ke,{onClick:b,isRecommended:c||a.riskScore===0||a.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ze,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(P,{windowSize:r,children:[i.jsx(O,{children:a.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(B,{children:[i.jsx(I,{type:"range",min:"0",max:s.length-1,step:"1",value:a.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(A,{style:{width:`${s.length>1?a.optionIndex/(s.length-1)*(d.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(D,{children:x.riskLevelLabel}),i.jsx(T,{children:a.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(P,{windowSize:r,children:[i.jsx(O,{children:a.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(B,{children:[i.jsx(I,{type:"range",min:"0",max:s.length-1,step:"1",value:a.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(A,{style:{width:`${s.length>1?a.optionIndex/(s.length-1)*(d.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Pe,{windowSize:r,children:[i.jsx(D,{children:x.riskLevelLabel}),i.jsx(T,{children:a.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&&N.fetchState==="In-Progress",isDisabled:p&&!M}})]})};function se(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function ae(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const de=t.div`
1
+ import{q as U,aC as S,j as i,c5 as Q,O as V,aM as J,y as u,aQ as K,o as n,A as X,b as Z,H as _,am as ee,u as l,C as ie,b6 as te,an as W,h as v,ai as ne,cw as oe}from"./index-HaGJTTQU.js";import{b as k,n as t}from"./vendor-Bs1fkIUX.js";import{q as re}from"./PortfolioDetails-rTTtemel-BaF4prRu.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-Cnew7M2o-AfQy9prW.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=V.getLocalizedStrings(),d={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])},le={stepTitle:new Z("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:$=!1,skipTransferStep:q})=>{const r=U(),[M,F]=k.useState(!1),{fundsData:G,fundAllocationOptions:s,fundAllocationLocalData:a,currentAllocation:w,portfolioAllocationUpdateStatus:N}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(a.allocation,w);F(o)}},[p,w,a]);const y=o=>{const f=s.find(H=>H.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},Y=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&Y(),e()};return i.jsxs(de,{children:[i.jsxs(ce,{windowSize:r,children:[i.jsx(pe,{windowSize:r,children:i.jsx(Q,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(xe,{"data-testid":J("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(he,{windowSize:r,children:[i.jsxs(ue,{windowSize:r,children:[i.jsx(me,{windowSize:r,children:se(c,$,p)}),!c&&!p&&i.jsx(ge,{children:i.jsxs(we,{children:[i.jsx(fe,{}),i.jsx(z,{}),q!==!0&&i.jsx(z,{})]})})]}),i.jsx($e,{isReadOnly:c,children:ae(c,$,p)}),i.jsx(ye,{children:i.jsxs(ve,{windowSize:r,children:[i.jsx(be,{children:i.jsx(re,{isInReview:!1,isSetup:!0,fundDetails:G,allocation:a,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(je,{windowSize:r,children:[i.jsx(Se,{children:i.jsx(ke,{onClick:b,isRecommended:c||a.riskScore===0||a.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ze,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(P,{windowSize:r,children:[i.jsx(O,{children:a.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(B,{children:[i.jsx(I,{type:"range",min:"0",max:s.length-1,step:"1",value:a.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(A,{style:{width:`${s.length>1?a.optionIndex/(s.length-1)*(d.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(D,{children:x.riskLevelLabel}),i.jsx(T,{children:a.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(P,{windowSize:r,children:[i.jsx(O,{children:a.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(B,{children:[i.jsx(I,{type:"range",min:"0",max:s.length-1,step:"1",value:a.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(A,{style:{width:`${s.length>1?a.optionIndex/(s.length-1)*(d.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Pe,{windowSize:r,children:[i.jsx(D,{children:x.riskLevelLabel}),i.jsx(T,{children:a.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&&N.fetchState==="In-Progress",isDisabled:p&&!M}})]})};function se(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function ae(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const de=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{j as e,O as Q,o as n,ji as V,am as X,a9 as G,c as H,q as J,aN as B,y as L,c5 as f,h as I,cw as _,ai as N,dM as Z,a$ as ee,b6 as ie,bP as se,bX as ne,an as le,dr as oe,u as te}from"./index-CUR-Srol.js";import{n as s,b as re}from"./vendor-Bs1fkIUX.js";import{l as ae}from"./treasuryColorHelper-ChFJTPyg-CRY-Xv6G.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=Q.getLocalizedStrings(),w={portfolioYieldMarginTop:new L(-4,te[0]),sliderWidth:new L(143,177)},Le=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:h,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(he,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const A=v?.find(g=>g.fundCode===m[x].fundCode)?.amount;return e.jsx(pe,{portfolio:$,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:l,isLast:x===a.length-1,amount:h,currentAllocationAmount:A,page:j},m[x]?.fundCode||x)})]})},ce=i=>i.map(l=>[{label:o.promoPage.liquidity,value:l.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:V(l.fundSize,l.currencyCode)},{label:o.promoPage.maturity,value:`${l.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${l.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:l.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(l.compositions)&&l.compositions.length>0?`${l.compositions[0].investedIn} ${l.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(l.compositions)&&l.compositions.length>1?`+${l.compositions.length-1}`:void 0,compositions:l.compositions??[]}]),pe=({portfolio:i,fund:l,fundIndex:m,allocationPercentage:d,isInReview:h,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const A=G().analytics,g=H(),t=J(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,K]=re.useState(!1),u=ae(m,g),S=()=>{p||A.trackTreasuryProspectusClick(l.fundName,l.fundCode,x),K(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{children:e.jsxs(ue,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:h,windowSize:t,children:[e.jsx(we,{children:l.fundCode}),e.jsx(ve,{color:u.fundNameColor,children:`${l.fundCompanyName} ${l.fundName}`})]}),t!=="small"&&e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:h?e.jsxs(O,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?B("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs($e,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(O,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(Te,{children:v?e.jsxs(Ae,{children:[e.jsxs(Re,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}),e.jsxs(z,{onClick:S,style:{marginBottom:n.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}):h?e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?B("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(z,{onClick:S,style:{margin:`${n.sp2} ${n.sp0}`,...j?{marginBottom:n.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),e.jsxs(E,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ie,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),e.jsxs(E,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(Se,{children:[e.jsx(k,{children:l.description}),e.jsx(be,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Ce,{windowSize:t,children:[e.jsx(k,{children:r.strings.dividerDot}),e.jsx(k,{style:{minWidth:"140px"},children:c.label}),e.jsxs(k,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:g.colors.primary,borderBottom:`1px solid ${g.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(q=>({text:`${r.strings.dividerDot} ${q.investedIn}`,amount:`${q.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(De,{children:c.tag})})]})]},c.label))}),e.jsxs(Pe,{onClick:()=>window.open(l.url,"_blank"),children:[e.jsx(je,{children:`${o.promoPage.asOf} ${l.asOfDate.format(de.visual.MMMDCommaYYYYformat)}`}),e.jsx(ze,{})]})]}),(!j||v)&&e.jsx(ke,{style:{width:"100%",marginBottom:n.sp3}})]})},xe=s.div`
1
+ import{j as e,O as Q,o as n,ji as V,am as X,a9 as G,c as H,q as J,aN as B,y as L,c5 as f,h as I,cw as _,ai as N,dM as Z,a$ as ee,b6 as ie,bP as se,bX as ne,an as le,dr as oe,u as te}from"./index-HaGJTTQU.js";import{n as s,b as re}from"./vendor-Bs1fkIUX.js";import{l as ae}from"./treasuryColorHelper-Cnew7M2o-AfQy9prW.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=Q.getLocalizedStrings(),w={portfolioYieldMarginTop:new L(-4,te[0]),sliderWidth:new L(143,177)},Le=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:h,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(he,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const A=v?.find(g=>g.fundCode===m[x].fundCode)?.amount;return e.jsx(pe,{portfolio:$,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:l,isLast:x===a.length-1,amount:h,currentAllocationAmount:A,page:j},m[x]?.fundCode||x)})]})},ce=i=>i.map(l=>[{label:o.promoPage.liquidity,value:l.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:V(l.fundSize,l.currencyCode)},{label:o.promoPage.maturity,value:`${l.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${l.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:l.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(l.compositions)&&l.compositions.length>0?`${l.compositions[0].investedIn} ${l.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(l.compositions)&&l.compositions.length>1?`+${l.compositions.length-1}`:void 0,compositions:l.compositions??[]}]),pe=({portfolio:i,fund:l,fundIndex:m,allocationPercentage:d,isInReview:h,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const A=G().analytics,g=H(),t=J(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,K]=re.useState(!1),u=ae(m,g),S=()=>{p||A.trackTreasuryProspectusClick(l.fundName,l.fundCode,x),K(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{children:e.jsxs(ue,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:h,windowSize:t,children:[e.jsx(we,{children:l.fundCode}),e.jsx(ve,{color:u.fundNameColor,children:`${l.fundCompanyName} ${l.fundName}`})]}),t!=="small"&&e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:h?e.jsxs(O,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?B("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs($e,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(O,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(Te,{children:v?e.jsxs(Ae,{children:[e.jsxs(Re,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}),e.jsxs(z,{onClick:S,style:{marginBottom:n.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}):h?e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?B("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(z,{onClick:S,style:{margin:`${n.sp2} ${n.sp0}`,...j?{marginBottom:n.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),e.jsxs(E,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ie,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),e.jsxs(E,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(Se,{children:[e.jsx(k,{children:l.description}),e.jsx(be,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Ce,{windowSize:t,children:[e.jsx(k,{children:r.strings.dividerDot}),e.jsx(k,{style:{minWidth:"140px"},children:c.label}),e.jsxs(k,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:g.colors.primary,borderBottom:`1px solid ${g.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(q=>({text:`${r.strings.dividerDot} ${q.investedIn}`,amount:`${q.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(De,{children:c.tag})})]})]},c.label))}),e.jsxs(Pe,{onClick:()=>window.open(l.url,"_blank"),children:[e.jsx(je,{children:`${o.promoPage.asOf} ${l.asOfDate.format(de.visual.MMMDCommaYYYYformat)}`}),e.jsx(ze,{})]})]}),(!j||v)&&e.jsx(ke,{style:{width:"100%",marginBottom:n.sp3}})]})},xe=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  gap: ${n.sp2};
@@ -1,4 +1,4 @@
1
- import{O as T,j as t,a9 as F,o as l,cg as U,a$ as N,u as q,dq as G,ar as H,am as X,dr as J,h as y}from"./index-CUR-Srol.js";import{b as $,n as i}from"./vendor-Bs1fkIUX.js";const u=T.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:X,seeMoreLink:X}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=Y.large,K=i.div`
1
+ import{O as T,j as t,a9 as F,o as l,cg as U,a$ as N,u as q,dq as G,ar as H,am as X,dr as J,h as y}from"./index-HaGJTTQU.js";import{b as $,n as i}from"./vendor-Bs1fkIUX.js";const u=T.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:X,seeMoreLink:X}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=Y.large,K=i.div`
2
2
  width: ${e=>e.scale*o.width}px;
3
3
  height: ${e=>e.scale*o.height}px;
4
4
  overflow: hidden;
@@ -1,4 +1,4 @@
1
- import{q as c,j as r,dv as b,dw as v,dx as L,bB as z,y as a,o as e,h as d,b as f,u as l}from"./index-CUR-Srol.js";import{i,n as p,k as m}from"./vendor-Bs1fkIUX.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
1
+ import{q as c,j as r,dv as b,dw as v,dx as L,bB as z,y as a,o as e,h as d,b as f,u as l}from"./index-HaGJTTQU.js";import{i,n as p,k as m}from"./vendor-Bs1fkIUX.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return r.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};
@@ -1,4 +1,4 @@
1
- import{q as w,O as t,j as n,c4 as j,n as l,y as s,o as i,ar as y,am as P,ag as f,bz as b,f1 as v,u as a}from"./index-CUR-Srol.js";import{n as o}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const r={containerPaddingTop:new s(a[5],a[7]),containerPaddingBottom:new s(a[5],a[5]),containerPaddingLeftRight:new s(a[6],a[11])},z=o.div`
1
+ import{q as w,O as t,j as n,c4 as j,n as l,y as s,o as i,ar as y,am as P,ag as f,bz as b,f1 as v,u as a}from"./index-HaGJTTQU.js";import{n as o}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const r={containerPaddingTop:new s(a[5],a[7]),containerPaddingBottom:new s(a[5],a[5]),containerPaddingLeftRight:new s(a[6],a[11])},z=o.div`
2
2
  border-radius: inherit;
3
3
  max-width: 520px;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{q as C,O as u,j as i,n as k,o,y as a,h as d,fJ as T,b as E,ag as W,bz as q,f1 as B,fH as H,aU as w,ai as $,u as t}from"./index-CUR-Srol.js";import{n as s}from"./vendor-Bs1fkIUX.js";import I from"./QBOConnectionDialog-DV-xC7Yc--7Nd5nsI.js";const r={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},A={title:new E("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:y,companyName:f,updateQBOPopupState:h,handleOnConnectClick:j})=>{const n=C(),{qbo_connection:b}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:z,button:v,errorText:P,requiredText:O}=b;return i.jsxs(G,{windowSize:n,children:[i.jsxs(N,{windowSize:n,children:[n==="small"?i.jsx(V,{children:l?i.jsx(_,{}):i.jsx(K,{})}):null,i.jsx(Q,{windowSize:n,children:S})]}),i.jsxs(D,{windowSize:n,children:[i.jsxs(J,{windowSize:n,children:[i.jsxs(R,{children:[i.jsx(F,{}),i.jsx(L,{windowSize:n}),i.jsx(U,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:v.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(M,{children:z}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:O})}):null]}),i.jsx(I,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:f,saveConnectionState:p,handleOnConnectClick:j,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(H,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},G=s.div`
1
+ import{q as C,O as u,j as i,n as k,o,y as a,h as d,fJ as T,b as E,ag as W,bz as q,f1 as B,fH as H,aU as w,ai as $,u as t}from"./index-HaGJTTQU.js";import{n as s}from"./vendor-Bs1fkIUX.js";import I from"./QBOConnectionDialog-B_2q895y-CXAabSi2.js";const r={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},A={title:new E("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:y,companyName:f,updateQBOPopupState:h,handleOnConnectClick:j})=>{const n=C(),{qbo_connection:b}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:z,button:v,errorText:P,requiredText:O}=b;return i.jsxs(G,{windowSize:n,children:[i.jsxs(N,{windowSize:n,children:[n==="small"?i.jsx(V,{children:l?i.jsx(_,{}):i.jsx(K,{})}):null,i.jsx(Q,{windowSize:n,children:S})]}),i.jsxs(D,{windowSize:n,children:[i.jsxs(J,{windowSize:n,children:[i.jsxs(R,{children:[i.jsx(F,{}),i.jsx(L,{windowSize:n}),i.jsx(U,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:v.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(M,{children:z}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:O})}):null]}),i.jsx(I,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:f,saveConnectionState:p,handleOnConnectClick:j,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(H,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},G=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{y as O,u as U,c as M,q as W,O as D,aa as G,aP as J,j as s,aJ as Q,cS as X,bF as H,ad as K,aQ as Y,o as f}from"./index-CUR-Srol.js";import{b as j,n as h}from"./vendor-Bs1fkIUX.js";import{b as Z,f as ee,l as B,o as L}from"./FollowStepsSection-BZdlZelr-BGSDF8Vp.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const $="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new O(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:N,onSaveRuleClick:E,onSaveRuleSuccess:S}){const _=M(),A=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=J(u?.fetchState),{upperBound:w}=x,{allApprovalRules:n,allAccountingClasses:F,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const q=g.handleSubmit(()=>{E()}),V=async(i,p)=>{b(p)};return j.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=Q(p);X(()=>V(R,z))}});return()=>{i.unsubscribe()}}),j.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&S()},[P,u?.fetchState,S]),s.jsxs(se,{children:[s.jsx(H,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:_.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(K,{...g,children:s.jsx("form",{id:C($),onSubmit:q,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:w===1/0?Number.MAX_SAFE_INTEGER-1:w-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C($),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:A==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(A)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),L(e.allAttributes),L(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:B},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:B},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Se=e=>`${e}`,se=h.div`
1
+ import{y as O,u as U,c as M,q as W,O as D,aa as G,aP as J,j as s,aJ as Q,cS as X,bF as H,ad as K,aQ as Y,o as f}from"./index-HaGJTTQU.js";import{b as j,n as h}from"./vendor-Bs1fkIUX.js";import{b as Z,f as ee,l as B,o as L}from"./FollowStepsSection-htuNv6sX-BrqUPYGP.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const $="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new O(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:N,onSaveRuleClick:E,onSaveRuleSuccess:S}){const _=M(),A=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=J(u?.fetchState),{upperBound:w}=x,{allApprovalRules:n,allAccountingClasses:F,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const q=g.handleSubmit(()=>{E()}),V=async(i,p)=>{b(p)};return j.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=Q(p);X(()=>V(R,z))}});return()=>{i.unsubscribe()}}),j.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&S()},[P,u?.fetchState,S]),s.jsxs(se,{children:[s.jsx(H,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:_.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(K,{...g,children:s.jsx("form",{id:C($),onSubmit:q,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:w===1/0?Number.MAX_SAFE_INTEGER-1:w-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C($),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:A==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(A)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),L(e.allAttributes),L(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:B},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:B},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Se=e=>`${e}`,se=h.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{c as M,q as B,O as y,j as o,bF as E,P as H,aM as S,o as t,y as r,am as L,aN as z,cD as G,cE as U,cF as q,dd as F,u as l,b8 as O,b as P,b7 as V,h as j,da as _,bx as K,C as Y}from"./index-CUR-Srol.js";import{n as i,b as Z}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},N={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:b})=>{const[g,d]=Z.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=y.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),b?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(Q,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(X,{windowSize:n,children:[o.jsxs(ae,{children:[o.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ne,{className:"icons",children:[e?o.jsx(pe,{onClick:$}):null,o.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),o.jsx(te,{windowSize:n,children:o.jsx(ie,{isSingleStep:w.length===1,windowSize:n,children:w.map((h,A)=>o.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(le,{children:a.requireText}):o.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,D)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${D}`)),h.actors.map(p=>o.jsxs(R,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),g?o.jsx(G,{titleComponent:o.jsx(q,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(U,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},Q=i.div`
1
+ import{c as M,q as B,O as y,j as o,bF as E,P as H,aM as S,o as t,y as r,am as L,aN as z,cD as G,cE as U,cF as q,dd as F,u as l,b8 as O,b as P,b7 as V,h as j,da as _,bx as K,C as Y}from"./index-HaGJTTQU.js";import{n as i,b as Z}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},N={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:b})=>{const[g,d]=Z.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=y.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),b?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(Q,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(X,{windowSize:n,children:[o.jsxs(ae,{children:[o.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ne,{className:"icons",children:[e?o.jsx(pe,{onClick:$}):null,o.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),o.jsx(te,{windowSize:n,children:o.jsx(ie,{isSingleStep:w.length===1,windowSize:n,children:w.map((h,A)=>o.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(le,{children:a.requireText}):o.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,D)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${D}`)),h.actors.map(p=>o.jsxs(R,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),g?o.jsx(G,{titleComponent:o.jsx(q,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(U,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},Q=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};