@zeniai/web-cockpit-ui 1.15.46-dev → 1.15.47-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 (286) hide show
  1. package/dist/assets/{ACHDetailsPage-D87WwXK_-CBHF5jjP.js → ACHDetailsPage-qOWGYckl-DjJAccbn.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DNhHi_BA-DVKmGARz.js → AIPerformancePage-DJBLMHvs-iLI9KDLf.js} +18 -18
  3. package/dist/assets/AccountInfoPage-BulzquHY-COb5jSNJ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-WRX3aOoA-BND3wWTU.js → AccountInfoPageContent-C0dKzQoF-BOCBaroQ.js} +12 -12
  5. package/dist/assets/{AccountLockedInfoModal-hM0l2JoS-BM4SnK9N.js → AccountLockedInfoModal-Cy1ahm9k-BxoMcyLt.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D6AdnAnF-BP-45utn.js → AccountReconDetailsDrawerPage-DQdf3Wk4-CbpITftp.js} +1 -1
  7. package/dist/assets/{AccountRow-kn3U0JbW-CqKCifJj.js → AccountRow-D1Jqgk7o-DewC0XFv.js} +15 -15
  8. package/dist/assets/{AccountsPromoCardStack-D5XHZwyh-DkX-4Lp4.js → AccountsPromoCardStack-Vwu9llOu-CnOXSXsq.js} +1 -1
  9. package/dist/assets/AddAddressForCardDrawer-DK5lnDS9-Ctbcl8_3.js +6 -0
  10. package/dist/assets/{AddToWalletPage-D7DeS_0t-DEAoUKiM.js → AddToWalletPage-C6oLCkE7-C3vtPZC0.js} +3 -3
  11. package/dist/assets/{AgingReportsPage-bssKBslp-BzwEfw-z.js → AgingReportsPage-DAe2E6ey-BAsTv0B2.js} +1 -1
  12. package/dist/assets/{AllUserItems-DodKPXrb-CcYwQFSA.js → AllUserItems-6sLrlL8E-DpxFsjkv.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-NVrKyHd2-Bw462lTM.js → ApAgingDetailPage-4SahVbGx-ZM0Bqd_F.js} +3 -3
  14. package/dist/assets/{AppBasePage-8vs83psd-DYOlChcn.js → AppBasePage-CtA9oCF7-D92abhWD.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D_del0Ko-C7wcXF5_.js → AppDrawerContent-BBkCJjf8-BybjdyD6.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-GZSj0TP5-DNVzaP3v.js → ApprovalRulesSettingsPage-XgvVBRfh-DhsteiN3.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DPWhkZ92-C-OV2nhV.js → ArAgingChart-zTqy57EG-Dm-WcY4b.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-60QCPZos-BlpsMiLT.js → ArAgingDetailPage-DohpExH8-CLRbt3qX.js} +1 -1
  19. package/dist/assets/{AttachmentView-CbtcWV-6-CFsaig-u.js → AttachmentView-DAEi6O2i-CRQnb5l5.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CNsbo5NW-D5-9rntY.js → BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js} +13 -13
  21. package/dist/assets/{BankAccountWarningSection-DNsentDt-DXrUqr4R.js → BankAccountWarningSection-BR28A3L4-D_D37qnN.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-CLotTlUf-Cr8Fvyc2.js → BankConnectionsSettingsPage-D8V4bq-1-wYDIpQQB.js} +9 -9
  23. package/dist/assets/{BillDetailPage-Cg3qZdsc-Bu00bZom.js → BillDetailPage-BxfrpUM5-DDyFcvs1.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DbA9lF8v-D3H9v0x8.js → BillPayApprovalRuleDetailPage-fsIdZfeP-CA1hTToh.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-D5H-E5f4-Cy9lWX0_.js → BillPayApprovalRulesPage-CawYbj9Y-C8NzV5so.js} +10 -10
  26. package/dist/assets/{BillPayPromoPage-x2Q3c9G9-CVZuA77d.js → BillPayPromoPage-DmRx1E8m-Busj2ugi.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-CwRy-Uno-xx3edT5K.js → BillPaySetUpPage-BiMDn7ZO-Bk6vBQAJ.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-D7PgDMId-BnPPtdGW.js → BillingSettingsPage-Co8Gw-go-BVCxX7gI.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DStkOLXt-BhfIlk7A.js → BillsBulkReviewDrawerPage-CfqxLPzs-BaPIvRkm.js} +1 -1
  30. package/dist/assets/{BoxItem-djG6IQ4o-2WZ3HHBU.js → BoxItem-mA2l070e-DKIWhdy7.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-fTHIGXBy-a0eiadoT.js → BusinessVerificationPage-iHBNaf7w-DrLXb-Iq.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BNT6moWK-CsPKCw8x.js → CardNumberSubText-H4wtwe6R-CVi7j9Nt.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-G5wL_XNp-CJEFraK5.js → CashbackDetailPage-Bo_bsGqF-ButLTwgN.js} +5 -5
  34. package/dist/assets/{ChargeCardDetailPage-CSPeag3v-BP9bsRfj.js → ChargeCardDetailPage-DKWkYV7Z-CddIMjKt.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BqN-1uhQ-rbpM72ul.js → ChargeCardListPage-Dfa_PX3G-CgibIpQD.js} +5 -5
  36. package/dist/assets/{ChargeCardListTable-Bii0Wthf-T5JYYMDA.js → ChargeCardListTable-GyVhj7uY-DDdTqmU3.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-jnLm7dsX-BCjpKu7L.js → ChargeCardPaymentHistoryPage-7dGO_5iu-lPBFnLZd.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-CdWji5S5-BrnExXgk.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-CORgMz4D-B3XpYA3g.js → ChargeCardSetupPage-vwbBIYjC-BAacWjKb.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-CyFh62V3-CVApFNSe.js → ChargeCardStatementsPage-wAqoDc2D-BFeCByOF.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-4OsC9vnS-C8KgAtNZ.js → CheckDepositDrawerPage-C3wR53BH-B78xbDtI.js} +4 -4
  42. package/dist/assets/{CollapsableReportTable-BBZQoM0P-CNldMsB_.js → CollapsableReportTable-D2dtXfS_-BdWkgbsB.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BxcbL0xy-CPql_B00.js → CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DZkmzhcF-DdwaCSTK.js → CompanyPassportCard-BZ_FCAKT-Cwwjpb-3.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-FbqUpLTv-C5g27TMH.js → CompanyPassportPage-Cq6S4mp6-UdzUDRuj.js} +24 -24
  46. package/dist/assets/{CompleteProfile-CHAiqldO-Bdzud2Sl.js → CompleteProfile-CBT17ax6-DYIsbIsy.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D44X4kyc-CoZYKMrw.js → ConfettiBurst-DgE_527a-D7rXkSFC.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cf0vGOip.js → ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DDLhdHIQ-DkYXq-0b.js → CreateOrEditVendorPage-ClqI4j2U-BHL0P8Te.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Cqp3cX11-Ch0fJLe_.js → CreditCardPaymentDrawerPage-CtM4-nS0-BKJTmcZU.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-BsReHqXI-Cpmmr7ON.js → CurrencySelectField-CP7MSQnS-BpXGyUMj.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-COSoNwiL-XcudDVcs.js → CustomerOnboardingActivationPage-DejhV7FX-8Rok_hOE.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-B1gZ-xOx-BCHT9pOT.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CkVIT-8v-D6-I3CVi.js → CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js} +6 -6
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-g9MUens3-BHwD_Moa.js → CustomerOnboardingNoStepsPage-DW7kpMxd-lyLq4A0Q.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-BMwDeAmg-Dk5C_vBC.js → CustomerOnboardingPage-LCVn__U7-BhQ2ekET.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-cfTmZUUq-DFjdDHbL.js → CustomerOnboardingProductSuitePage-CniahiZc-DWeQdDUe.js} +10 -10
  58. package/dist/assets/{Dashboard-CIMGd6vk-C9Y8AV96.js → Dashboard-CnwoksS9-Cj6x2TqP.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-C4vCCh_n-BRXPWSt1.js → DashboardReportPage-qKhiq9te-FT01lDlD.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DAlY419Q-DP9sfj2H.js → DashboardSidebarBackgroundAnimation-CHpFVLim-B5TP9TTq.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BerAtS0--BKjebtYX.js → DepositAccTransactionItem-CIY2jU_O-CNSGbCvC.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-CZ1vmnPr-B4TVnkzE.js → DepositAccTransactionListPage-DfhVFXvq-B738llu8.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-E4qLX6pw-Bw3PSNwc.js → DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Boa6Fcbv-D-65-zcn.js → DownloadOverlay-DLbD0wMn-DFyBDJuM.js} +1 -1
  65. package/dist/assets/{DrawerPage-Cb-dsS3c-DReTV4LX.js → DrawerPage-CCZXoj1F-DCS5WSNv.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CndPSw44-DxRcWXPA.js → EditPeoplePage-CDUEfjvF-CJoR5dq4.js} +4 -4
  67. package/dist/assets/{EditReimbursementDetailPage-wT1IlD4U-Va_HPFVw.js → EditReimbursementDetailPage-BopPLndD-Dub2o4ld.js} +1 -1
  68. package/dist/assets/EntityDetailPage-C8mC_pOt-DoBBFGRj.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BOEYtn_o-CPte8tJh.js → EntitySummarySection-BVG0N8QO-B29acNJ9.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DXZjyYrU-ShMVKnR0.js → ExpenseAutomationOverviewPage-DDTNyUiN-C6hbKIHH.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-B8ptcdZd-BOgjzwCH.js → ExpenseAutomationPage-DG1EbsCZ-Cpa7UC9R.js} +73 -73
  72. package/dist/assets/{ExpressPayPage-DitysgOF-CIeBsr4O.js → ExpressPayPage-DBxaDfRz-CvEgT1Dz.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-G9whxotT-BiSE24Wc.js → FeaturePreviewPage-ezX4YJ8n-DZlh_My6.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BERdmvvn-UqgRbJ9-.js → FollowStepsSection-BCWwwk1I-Dr0Igucn.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DXH3le_Z-jpZIGute.js → GlobalReviewListPage-C1Tf-wcw-PWdcxabv.js} +1 -1
  76. package/dist/assets/{InformationCardStack-CXqr6wgh-ChZD3ssd.js → InformationCardStack-Czrqxdi_-DFscx6Un.js} +2 -2
  77. package/dist/assets/{InsightsCardStack-DHmkYfCM-wxboA7g4.js → InsightsCardStack-B50r1AKc-Fu1xeA5s.js} +5 -5
  78. package/dist/assets/{InsightsSection-o1r7-jTU-BEvpe3bJ.js → InsightsSection-BJeBGbPg-Bqi1LIqW.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-BngX4y9j-DAbz7zwm.js → IntegrationsSettingsPage-BMSATQJz-pQzp159S.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-B6OWKscw-Ami9wVCG.js → InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-D-h205ua-C2Fi9WeW.js → InternationalWireVerificationPage-CqRSwMQj-e_Ufmweg.js} +3 -3
  82. package/dist/assets/{InviteFormPage-Cpx6GKXE-BjzkKS1U.js → InviteFormPage-DlqcSLWX-NYU1sZxR.js} +1 -1
  83. package/dist/assets/{InvitePageListView-R9GI99rG-Lu6_t1J3.js → InvitePageListView--BKiq1KG-ChG4UMr4.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-nhoOZCwu-CevGBmSS.js → InvitePeoplePage-i3nljXL1-BmSEgqup.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-IRD6N1t0-e8npmlKC.js → InvoiceUploadSection-BTcYpKEd-Di1o68Bp.js} +4 -4
  86. package/dist/assets/{IssueChargeCardPage-ztNdugMI-ni4X5-nS.js → IssueChargeCardPage-kFsPFGzp-XYgLhons.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CTGbS3xZ-BV3lWB3L.js → LabeledAddressValue-COZsPbp0-DczoqRAG.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js → LabeledAddressValueField-ig7qAURp-BZ_M96P1.js} +8 -8
  89. package/dist/assets/LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-BQNPVmeO-w6euYfRf.js → LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BaooQYnP-CHclcBym.js → LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-13QPp-85-BBjOcC33.js → LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BY230oMD-CrAT0eng.js → LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js} +1 -1
  94. package/dist/assets/{LabeledText-DNr87c0J-DsOX7s5A.js → LabeledText-wJQ0djD--Dnw-us69.js} +4 -4
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js → LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js} +4 -4
  96. package/dist/assets/{LabeledZeniRolesDropDownField-cBcF5EGS-BkGlWFfU.js → LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-KzSZJjAE-D1T5_exi.js → LinkJETransactionPage-DwNoJ7YB-DNfE-nTn.js} +1 -1
  98. package/dist/assets/{LockCardPage-_gavDDon-Blle7NDi.js → LockCardPage-L5EAfQK5-CrxGoWXN.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DLIUSW0S-B-zpTP7v.js → LowBalancePopup-CIN_PWxf-CcAZgcPw.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-DGLKqo6T-DNpDGuyV.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cvp9N2Q2-CSBjjhkO.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CB_rrPUd-Dl0YcL-A.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-C_-bPKst-D0jsLGP2.js → MagicLinkSuccessPage-Da-ZSMMO-DzPXDbZC.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CL4kaSh4-CQQBDKMG.js → MagicLinkTitleSection-B33mBOG9-35QrlIpm.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-qtLrrSYF-CTuCvSpe.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BRZy0odC-BOBb3itW.js → MyBankConnectionsSettingsPage-Br6kJVpd-CbTGDrzB.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CpKTrDUb-CccCbcXy.js → MyPendingActivationChargeCardListPage-DkhJVWBZ-Bfy4AAuw.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BblMMN2f-ckIUFFkd.js → MyProfileSettingsPage-CSY7ZEU4-BWI8MuR_.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DqS6nFbq-DgwLutRx.js → NavBarWithPicker-Csqyzu5C-DIH1ugF7.js} +5 -5
  110. package/dist/assets/{NavigationArrow-DIFM2upZ-Dnb7czTw.js → NavigationArrow-2B-EgvgC-BK9qtbBJ.js} +1 -1
  111. package/dist/assets/{NavigationDots-Db1I_vts-Bg46VZRN.js → NavigationDots-BrWdpJ3R-DuPdXi3_.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-CC8HJjFw-HIuSKnJN.js → NewGlobalMerchantPage-BSX2ajAh-B0IxS0GP.js} +1 -1
  113. package/dist/assets/{NoDataChart-BpVOzQOW-DKnao5o4.js → NoDataChart-CggIXqiK-C19sXnTb.js} +1 -1
  114. package/dist/assets/{NoDataTable-BfkONzLU--qJ2Vge1.js → NoDataTable-CX24L0oK-DtsfPk0l.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DOlS4ELp-8diqNBZH.js → NotFoundPage-Brtxr86A-Bnm1jjAT.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BdWAxlcA-FUERqOBl.js → NotificationSettingsPage-BV3iZaL6-CCJncOdH.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-DEVHMfQH-Dgi-054y.js → NotificationsListConfig-DWL6JqJ8-BmoQcL7E.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DpnFQdLV-CIDAlFuB.js → NotificationsPage-CMVuwCT_-BEJSVcvU.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-CQxchyEe-CO-1QL4H.js → OpExByVendorPage-CbcnZ2ea-Di7lgu5r.js} +4 -4
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-B4ZkmBb9.js → OverlayContainerPage-D4QU0p4o-BsMR9Xyx.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-B3RkfhSi-Dsp_T8tg.js → PandLWithForecastPage-BrBPv1Bg-Du_wsqJx.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-6eOH3fw_-DdzzCUgo.js → PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js} +7 -7
  123. package/dist/assets/{PeoplePage-koDszqCP-CWui0d4h.js → PeoplePage-BruWpkMP-BXfRWFlI.js} +1 -1
  124. package/dist/assets/{Preview-yyD_tsB_.js → Preview-CngKNrtz.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-DLd90FFJ-BgsIDisq.js → ProductsCarousel-CYHholgU-BXEP4AT5.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-QcN1Q7jq-J94-Tlmy.js → PromoBaseCards-CT84iiQE-BQw_xgzZ.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-CdkgNo4F-DpPxxrHx.js → QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DqsDS8kk-DVOL9KAa.js → QBOSetupSection-DWIulUc2-DlIiV7jG.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-5hcvF_79--V70BOOS.js → ReimbursementApprovalRuleDetailPage-p0TDyMiG-CZeD0AHX.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-D2S6QByB-BzvCV9yX.js → ReimbursementApprovalRulesPage-B_EfFwpz-_OWCEpKq.js} +9 -9
  131. package/dist/assets/{ReimbursementDetailPage-DUzei4Rg-9uRBue4P.js → ReimbursementDetailPage-CK_qij-l-D-oREEKY.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-GXdDXSVY-DHkphGMK.js → ReimbursementPromoPage-DCiu630p-D5gOb-J0.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-CNWWhLUf-CNnBxBJq.js → ReimbursementSetUpPage-BbtZutE2-DuU_ZUl9.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C-1xyI7u-Bz3-f1Cr.js → ReimbursementsBulkReviewDrawerPage-CyLz0tNA-CsTtoUoK.js} +1 -1
  135. package/dist/assets/{ReloadCard-CKhoNNOP-CkJThvIh.js → ReloadCard-CU39OBXS-B7fXlVdj.js} +6 -6
  136. package/dist/assets/{ReportTableViewSelector-BOX3zhPs-DuwxGH5U.js → ReportTableViewSelector-YjVuyNWv-DzbC_6W1.js} +26 -26
  137. package/dist/assets/{ReportsPage-CnYVgGpw-C9lM7ze2.js → ReportsPage-gqc75ljk-7NT5JGPF.js} +1 -1
  138. package/dist/assets/{RevenueChart-BXDE5rdI-C91Sl-p2.js → RevenueChart-CtFVmX84-uni5BcG_.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-Dsh7uv3t-BTN4xADy.js → ReviewDetailsPage-Kew5uZCA-Mv30WXv0.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-BL4VJPxb-D6vjuRhs.js → ReviewOverlay-f-2s-XBM-D-MuCoTz.js} +17 -17
  141. package/dist/assets/RoleWithToolTip-Cw9gD3N5-ConmKNG4.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Tx2QB7zA-BWh0cJz3.js → ScheduleDetailsFixedAssetsPage-DjjYlUtf-D-MjZ88W.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-2-cPD7pl-BswK6aMa.js → ScheduleDetailsPage-BzJS3UZ5-DmfXVQSd.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-CffdpR_k-C5zU_dG9.js → ScheduleSequenceTable-CVDT5FaP-B8HlWODo.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-BdAMCIyo.js → ScreenRoutes-BOS_ZMWh.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Tadm9fSr-BLYLZVyR.js → SetUpAccountSection-6NXF_yfU-BamPpzSM.js} +1 -1
  147. package/dist/assets/{SignIn-CycvPOGI-yT6O4yeb.js → SignIn-C81zFae4-Dea-gjSZ.js} +7 -7
  148. package/dist/assets/{SignInScreen-DxWsWFRM.js → SignInScreen-m5WxZ3Sy.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BPxaXJqk-DXMLFfi6.js → SpendManagementListViewPage-BXVWjBXG-BD6dR01P.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-CalVz_KS-CFkJlE5z.js → SpendManagementPerTabPage-BpguVSB_-Lttm8QGO.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-CP-KDJ9X-Dxdtv7cA.js → SpendManagementSection-DOQIJFeZ-ivgPfXva.js} +1 -1
  152. package/dist/assets/{StatementItem-BAgGJRW5-h7PpQoEN.js → StatementItem-Pie3qV6--QBqzedQj.js} +5 -5
  153. package/dist/assets/{StatementsPage-048VbBNB-CIAI8-Iv.js → StatementsPage-BgsnClLk-8ec-Me8v.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-DNe-TFW4-DzQawzTp.js → StatusSwitcher-CmZuoA5C-CAazKXUL.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-CWofxHNl-pctfLicv.js → SubTabSwitcher-DnAcWm4k-BiidkdTF.js} +1 -1
  156. package/dist/assets/SummaryCard-DiwOZob1-BzF2DJC-.js +1 -0
  157. package/dist/assets/{TaskManagementPage-sIeRkoyx-CqhyR_rs.js → TaskManagementPage-Bf7M2Lb4-4_bmrGgs.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-CYfi7lfO-C8IVJ8KX.js → TimeRangeSwitcher-BnA1fDfm-DKZWrMD_.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-B9NumYID-CA44AiEF.js → TimeframeSwitcher-B-jhZqzy-C0mIaCAr.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DJL42rcY-4fJfrmHh.js → TimeframeSwitcherWithToggle-uBvB9Y4U-DEm424X-.js} +2 -2
  161. package/dist/assets/{TopExCard-GHdLZwGT-BhuLE57u.js → TopExCard-8Ddo4t8T-CqjPXnoc.js} +2 -2
  162. package/dist/assets/{TopExDetailPage-CIlBZ2oX-BaF6_sM0.js → TopExDetailPage-B6xtk1Bx-Dvdbf_Im.js} +8 -8
  163. package/dist/assets/{TransactionActivityLogPage-C2Jr7QHc-SAiLB9JP.js → TransactionActivityLogPage-DD1J0Vka-DWx7bBrg.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-RfrmUngB-Dci0je89.js → TransactionDetailPage-B5jASgT3-CgTo1hvB.js} +1 -1
  165. package/dist/assets/TransactionList-C4_0d8Yi-D_b8rDHf.js +153 -0
  166. package/dist/assets/{TransactionListBig-D-kOZVLs-B-ad9ErK.js → TransactionListBig-hJjsZlZZ-BQM8cKJz.js} +1 -1
  167. package/dist/assets/{TransactionListPage-BRF55dM4-DYeZNtak.js → TransactionListPage-BzIAUEs8-MKD80iuh.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-Bsk6E8Zm-7lohsHvf.js → TransactionVendorDetailPage-DGcg2hX5-BY5R8KAA.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-CPUqGXjs-Cm1krXS2.js → TransferDrawerPage-CqMRBO0T-DRSuLibB.js} +12 -12
  170. package/dist/assets/{TreasuryOverviewPage-DfYRAHE1-CizOCyjr.js → TreasuryOverviewPage-DkwHC8f4-Bn0V9kOv.js} +15 -15
  171. package/dist/assets/{TreasuryPromoPage-F1X4qcwd-BHd14a_i.js → TreasuryPromoPage-DSF3PsLc-CzfjJZli.js} +8 -8
  172. package/dist/assets/{TreasuryStatementsPage-CGbvRTgR-Dmch4a9K.js → TreasuryStatementsPage-Dw1TLve3-B04-8PQ3.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-BMDJFFj--CncIwwwI.js → TreasuryTaxLetterPage-DVLliaXS-BaPntd_i.js} +1 -1
  174. package/dist/assets/{TrendChart-DQwanU50-BV-_y5G5.js → TrendChart-DjYTskVA-gHskLbo_.js} +5 -5
  175. package/dist/assets/{TrendWithTransactions-Iz0QVdZP-CDHQCqNH.js → TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DDBZnuaT-D87xZWEc.js → UncategorizedAccountsMappingPage-CZLuQw-9-BWV6B4bF.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-6gZ_g7Zz-DL7Eef_0.js → UnitIntegrationPage-DRwdsemz--LS2beFi.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CcTFuMyK-D2kgY2Ed.js → UploadAdditionalDocumentOverlay-N-_Kdezc-3iy-UCwO.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DnG7s1Ks-D9O6BUwp.js → Vendor2FAPopup-CvMY6aLD-DqZVC04g.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-Dj1SW5L_-CF6jGaAx.js +1 -0
  181. package/dist/assets/{VendorDetailPage-D7zN9Vtl-BBAI0eRq.js → VendorDetailPage-Ck-kEx6Y-DlVLyDuR.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-LJc1Pntx-BkWcT3Mq.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Rslpct1I-cPFmgRgW.js → VendorFiling1099EditablePage-BMAc4Y0L-swSK5unq.js} +4 -4
  184. package/dist/assets/{VendorFirstReviewPage-CGye9HoK-D-UUNB_d.js → VendorFirstReviewPage-Cv0DMrBa-D-qTdl-e.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage--CSkHPFy-DdqJlqoM.js → VendorInternationalWireDetailsPage-Bp-fiJYj-kdX1GwW6.js} +8 -8
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CG6w1RiA-mOhQd5bG.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-ziR6oNlY-CZuH9lY0.js → VendorsAccountsSection-C5L3gr2G-B_pD6zSq.js} +1 -1
  188. package/dist/assets/{VerifyDevice-C-zisSaI-L64KEJ3l.js → VerifyDevice-CkbL9enV-JKJb0VZk.js} +9 -9
  189. package/dist/assets/{VideoPlayer-CQQljSJC-Ckm25ZkZ.js → VideoPlayer-zSNzleMo-B3Hzh9ni.js} +2 -2
  190. package/dist/assets/{VideoPopup-BgqoT4JJ-BIfkB45X.js → VideoPopup-BTjM2GvI-CfrQhQ9p.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D5OicOK4-BvVf8AIm.js → WarningsDrawerPage-C_3XLtV5-DXtwxZOZ.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-C_lM66OT-G87IDGZW.js → ZeniAccountDetailPage-BlqcQ5a_-C6V_463T.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-CQvrxw6f-CqVpV0PW.js → ZeniAccountListViewPage-_jeL_k5F-BYvSnCDl.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-8VXHXUPK-CX9FAlJO.js → ZeniAccountNavBarPieces-BeWOH_VI-D3WeJkvf.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-Cr-MnJVm-tTwQCBew.js → ZeniAccountPromoPage-BUDBWd8m-CIMCfIY6.js} +12 -12
  196. package/dist/assets/{ZeniAccountSetupPage-Bpqw-wqp-BvxvHEo0.js → ZeniAccountSetupPage-BD0OhX5Z-CotZyeZ5.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-Hh9chHJi-RwVTsccT.js → ZeniCopyright-DPQzZYUR-KHcq5VOQ.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-sf0kghb5-n3R2asqM.js → ZeniTransferAmountSlider-BM8wKUEY-DlBYyOPL.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-Db5fod9i.js → add-to-wallet-DgdBD8_G-D4tNYjqP.js} +1 -1
  200. package/dist/assets/{analytics-CQziHS33.js → analytics-BTo2lvc5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DQHFgahw-Cp99KaIG.js → analyticsHelper-BOam8HWk-DTVMIEqW.js} +1 -1
  202. package/dist/assets/{analyticsHelper-OLJ9to1y.js → analyticsHelper-BeNcAjzu.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cxk5-yTi.js → arrow-south-east-round-PEovUgvH-BpAbcXNu.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CNtOqhU-.js → auto-transfer-rule-mbafm5D3-DUd0RNlG.js} +1 -1
  205. package/dist/assets/{chartTypes-B53kfwdO-BhCsc3sU.js → chartTypes-DWf4SAOE-BXMQEiqd.js} +1 -1
  206. package/dist/assets/{commonDimensions-Om-6fiMl-CN-97Hnw.js → commonDimensions-BgUllk7Z-mJRWeU7K.js} +1 -1
  207. package/dist/assets/{commonTypes-DXJEXDhr-CsYzRDog.js → commonTypes-B6f3YP8V-CbYlRzb2.js} +1 -1
  208. package/dist/assets/{constants-Dg8hvPMb.js → constants-CfG3jptV.js} +1 -1
  209. package/dist/assets/{core-BPh6D8v5.js → core-CDOHNO2G.js} +1 -1
  210. package/dist/assets/{dash.all.min-Cz3Fm_5M.js → dash.all.min-C7dNtldN.js} +1 -1
  211. package/dist/assets/{detailCommon-ufPAtMvc-DhnVaCE8.js → detailCommon-ceDAo_fs-K8aKPC4G.js} +6 -6
  212. package/dist/assets/{downloadPdf-sghpXX-r-hphDTF7O.js → downloadPdf-CKymFYOO-BOWpMv5t.js} +1 -1
  213. package/dist/assets/{empty-DbW3pZ4D.js → empty-EVjF_gMV.js} +1 -1
  214. package/dist/assets/{empty-CwSMnfMr.js → empty-hw3sN7vf.js} +1 -1
  215. package/dist/assets/{epic-Chew0UQN.js → epic-CaPascl_.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ--Zu0Eh-z.js → gift-box-Cmt9OgIZ-C8C7NLZp.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CIZ3GcrY.js → graphic-no-data-l-DU4J8fDt-DrMXjgQT.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B95c8T1V.js → graphic-no-data-net-burn-l-CzmycA0m-Bc0Qno8i.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Dbohbn58.js → handshake-BPg58FML-1LlZ_i0d.js} +1 -1
  220. package/dist/assets/{helper-BBJS-iD4-DcHpxRaM.js → helper-C1Mwnd6M-CNavDJqc.js} +1 -1
  221. package/dist/assets/{index-DrZJrwI9.js → index-B6ONklHc.js} +1 -1
  222. package/dist/assets/{index-Dzi9AcqX.js → index-Bp4xtOn5.js} +1 -1
  223. package/dist/assets/{index-CZZQCAd2.js → index-CGTxoCJp.js} +7 -7
  224. package/dist/assets/{index-C8B9pQsQ.js → index-DE_CqoFx.js} +1 -1
  225. package/dist/assets/{index-Bvx6EJi7.js → index-DHoIuE2i.js} +1 -1
  226. package/dist/assets/{index-Di5sPRAu.js → index-DyMFy4lV.js} +1 -1
  227. package/dist/assets/{index-dJzBovkm.js → index-MbFkHHWb.js} +1 -1
  228. package/dist/assets/{lexical-CO_PvSmH.js → lexical-BeF2ZgkW.js} +1 -1
  229. package/dist/assets/{liveblocks-DYmELrdC.js → liveblocks-Dn-9djA8.js} +1 -1
  230. package/dist/assets/{lottie-BRpRA-Un.js → lottie-BYfhMHcn.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-9nfc1Ewm-CsweZHn5.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-Bi6hurdk-xVLnW0yh.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-CHRtVS3Z-DLe2zU1L.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-B9QHM6dt-Be8Q8L2y.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-fbKpuzss-DR9K1lqX.js → mapTimeframeBalancesToTreeNode-EhyCSWUM-BVeTsmlg.js} +1 -1
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DB6zUXCA-CmA6qGT1.js +1 -0
  237. package/dist/assets/{mui-1V4DDk1u.js → mui-CD7xFf2d.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-B4o0uLRm.js → page-detail-CWX5S47F-CEsHow4e.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-DCdVDlSE.js → panelSelectedMixin-Cddsb26L-ChVQUbpx.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-DveETCoH.js → radio-default-CiSgisfh-CmFHLU8c.js} +1 -1
  241. package/dist/assets/{react-DAYLTVXK.js → react-B6PWZDXX.js} +1 -1
  242. package/dist/assets/{react-CwXZyl3z.js → react-BLzPWySR.js} +1 -1
  243. package/dist/assets/{react-CTTbIL85.js → react-BVvI-Vbl.js} +1 -1
  244. package/dist/assets/{react-BGRZeN4_.js → react-CRe95M2Y.js} +2 -2
  245. package/dist/assets/{react-BfMx9RWN.js → react-Cxxg-6rQ.js} +1 -1
  246. package/dist/assets/{react-DvMoib_r.js → react-DJKM9DI1.js} +1 -1
  247. package/dist/assets/{react-BhKvphZC.js → react-Dc3Fbg1h.js} +1 -1
  248. package/dist/assets/{react-DrvHBxOA.js → react-DtCoLsdE.js} +1 -1
  249. package/dist/assets/{recharts-W_ILlOEk.js → recharts-CeYsUNdm.js} +1 -1
  250. package/dist/assets/{sentry-KKNtqb_g.js → sentry-CuNQ_GI9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DYMhAzvU.js → shield-DOlUxcFf-BIELJ6pj.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BHpR5IjE-BC__zjt5.js +1 -0
  253. package/dist/assets/{toChartData-DJeOVqss-Ckap6Mgt.js → toChartData-wLoMfnuk-B5A976Ge.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DHlUSExT.js → upload-reimbursement-receipt-O2N8vcO7-wGaBLxcB.js} +1 -1
  255. package/dist/assets/{uploadAttachment-BjSr5jfA-5o3rK0wU.js → uploadAttachment-DiB8ywoD-CoooZKCI.js} +4 -4
  256. package/dist/assets/{uploadReceipts-Dge0cNF1-BxDjc4Mk.js → uploadReceipts-Dge0cNF1-DYfDjXeu.js} +1 -1
  257. package/dist/assets/{url-BOcnt56d.js → url-CLDcbK8W.js} +1 -1
  258. package/dist/assets/{url-DpR8Zh5r.js → url-DvLmNXM-.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BWV9Umwr.js → useLongPress-GCK2COYQ-D_m3f9kb.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-DkxZf2LY.js → usp-line-BBd1wKwW-BHWavx9j.js} +1 -1
  261. package/dist/assets/{utils-DuPmVt2f.js → utils-i_tuliLj.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BIDncbwZ.js → zeni-epic-state-BJYsNVul.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/AccountInfoPage-rFTZmOvo-DL0RDmZu.js +0 -18
  266. package/dist/assets/AddAddressForCardDrawer-BmEFIMt4-CVY0gF8P.js +0 -6
  267. package/dist/assets/ChargeCardPromoPage-CR7Jo6Il-OQWmOWWv.js +0 -222
  268. package/dist/assets/CustomerOnboardingContainerPage-DD9nA6Bu-Bp08bFX-.js +0 -1
  269. package/dist/assets/EntityDetailPage-BdsjHAh4-D2cQRotr.js +0 -18
  270. package/dist/assets/LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js +0 -16
  271. package/dist/assets/MagicLinkACHDetailsPage-D9dtxxoU-CUE02Q_7.js +0 -1
  272. package/dist/assets/MagicLinkDomesticWireDetailsPage-BakTLi7l-DD27DPrq.js +0 -1
  273. package/dist/assets/MagicLinkInternationalWireDetailsPage-BeRb8gxx-DwqfWI26.js +0 -1
  274. package/dist/assets/MailingDetailsSection-DXKO0Y-W-Ds1E0EkO.js +0 -21
  275. package/dist/assets/RoleWithToolTip-BIBVAADS-DMOgVdZw.js +0 -22
  276. package/dist/assets/SummaryCard-63rY1JXk-BoPHME_4.js +0 -1
  277. package/dist/assets/TransactionList-4mJl7knT-DqG87PM9.js +0 -153
  278. package/dist/assets/VendorACHDetailsPage-CF8jFtK9-Bo23tOjB.js +0 -1
  279. package/dist/assets/VendorDomesticWireDetailsPage-BeqW1jo4-D9Dx30c9.js +0 -1
  280. package/dist/assets/VendorInternationalWireSwiftDetailsPage-z04tKP7M-CcKSJMfU.js +0 -1
  281. package/dist/assets/mapLoadingInProgressToTreeNode-Wii9H08B-DMwkFEgt.js +0 -1
  282. package/dist/assets/mapSectionWithAcOnlyToTreeNode-9zuQ7sNi-Wfqd9hcz.js +0 -1
  283. package/dist/assets/mapSpacerToTreeNode-BAzbdSwd-DpMVDymh.js +0 -1
  284. package/dist/assets/mapTimeframeBalancesToTreeNode-CtMEj9WJ-CRNATqeg.js +0 -1
  285. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DIE9gcY0-BMQnsLW7.js +0 -1
  286. package/dist/assets/toCOABalancesWithID-shajGRBP-BsWBm72Q.js +0 -1
@@ -1,4 +1,4 @@
1
- import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as je,o as t,jz as Se,bV as ze,ak as k,a as Q,ac as Z,b as O,c as $,as as A,p as a,x as z,an as H,db as ve,bX as Le,h as Pe,ao as Me,fg as Be,u as h,dQ as Ee,bh as Ie,e as Te,d as De,w as ee,d6 as _e}from"./index-CZZQCAd2.js";import{a as s,P as We}from"./sentry-KKNtqb_g.js";import{n as i}from"./mui-1V4DDk1u.js";import{Hp as He}from"./zeni-epic-state-BIDncbwZ.js";import{I as Re,N as Ne}from"./VideoPlayer-CQQljSJC-Ckm25ZkZ.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-CNtOqhU-.js";import{o as Ve}from"./shield-DOlUxcFf-DYMhAzvU.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="d7ad97f8-9c6b-4836-84ad-0ae75eaedf55",e._sentryDebugIdIdentifier="sentry-dbid-d7ad97f8-9c6b-4836-84ad-0ae75eaedf55")}catch{}})();const Oe=({isOpen:e,onClose:g})=>{const d=V(),C=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Fe,{children:r.jsx(Ue,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(N,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(N,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(N,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ae=i.div`
1
+ import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as je,o as t,jz as Se,bV as ze,ak as k,a as Q,ac as Z,b as O,c as $,as as A,p as a,x as z,an as H,db as ve,bX as Le,h as Pe,ao as Me,fg as Be,u as h,dQ as Ee,bh as Te,e as Ie,d as De,w as ee,d6 as _e}from"./index-CGTxoCJp.js";import{a as s,P as We}from"./sentry-CuNQ_GI9.js";import{n as i}from"./mui-CD7xFf2d.js";import{Hp as He}from"./zeni-epic-state-BJYsNVul.js";import{I as Re,N as Ne}from"./VideoPlayer-zSNzleMo-B3Hzh9ni.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DUd0RNlG.js";import{o as Ve}from"./shield-DOlUxcFf-BIELJ6pj.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="75f046c0-f133-43d9-9452-b753a845f1ba",e._sentryDebugIdIdentifier="sentry-dbid-75f046c0-f133-43d9-9452-b753a845f1ba")}catch{}})();const Oe=({isOpen:e,onClose:g})=>{const d=V(),C=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Fe,{children:r.jsx(Ue,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(N,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(N,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(N,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ae=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -67,7 +67,7 @@ import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as
67
67
  gap: ${t.sp2};
68
68
  margin-bottom: ${t.sp4};
69
69
  margin-top: ${t.sp2};
70
- `,se=i(A)``,ne=i(Te)``,o1=i.div`
70
+ `,se=i(A)``,ne=i(Ie)``,o1=i.div`
71
71
  width: 100%;
72
72
  position: relative;
73
73
  margin-top: ${t.sp4};
@@ -145,10 +145,10 @@ import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as
145
145
  `,d1=i(A)`
146
146
  color: ${e=>e.theme.colors.primary};
147
147
  letter-spacing: -0.01em;
148
- `,c1=i(Ie)`
148
+ `,c1=i(Te)`
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  letter-spacing: -0.01em;
151
- `,p1=e=>s.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h1=e=>s.createElement("svg",{width:255,height:189,viewBox:"0 0 255 189",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("g",{clipPath:"url(#clip0_251_38259)"},s.createElement("path",{d:"M0 9.02466C73.8923 -8.35395 80.6314 49.7252 156.567 49.7252C232.502 49.7252 228.443 7.99003 304.378 7.99003C380.313 7.99003 376.254 49.7252 452.189 49.7252C528.124 49.7252 524.065 7.99003 600 7.99003C675.935 7.99003 671.876 49.7252 747.811 49.7252C823.746 49.7252 819.687 7.99003 895.622 7.99003C971.557 7.99003 967.498 49.7252 1043.43 49.7252C1119.37 49.7252 1126.11 -8.38048 1200 9.02466",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 18.9788C73.8923 1.60015 80.6314 59.6793 156.567 59.6793C232.502 59.6793 228.443 17.9441 304.378 17.9441C380.313 17.9441 376.254 59.6793 452.189 59.6793C528.124 59.6793 524.065 17.9441 600 17.9441C675.935 17.9441 671.876 59.6793 747.811 59.6793C823.746 59.6793 819.687 17.9441 895.622 17.9441C971.557 17.9441 967.498 59.6793 1043.43 59.6793C1119.37 59.6793 1126.11 1.57362 1200 18.9788",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 28.9329C73.8923 11.5543 80.6314 69.6334 156.567 69.6334C232.502 69.6334 228.443 27.8982 304.378 27.8982C380.313 27.8982 376.254 69.6334 452.189 69.6334C528.124 69.6334 524.065 27.8982 600 27.8982C675.935 27.8982 671.876 69.6334 747.811 69.6334C823.746 69.6334 819.687 27.8982 895.622 27.8982C971.557 27.8982 967.498 69.6334 1043.43 69.6334C1119.37 69.6334 1126.11 11.5277 1200 28.9329",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 38.887C73.8923 21.5084 80.6314 79.5875 156.567 79.5875C232.502 79.5875 228.443 37.8523 304.378 37.8523C380.313 37.8523 376.254 79.5875 452.189 79.5875C528.124 79.5875 524.065 37.8523 600 37.8523C675.935 37.8523 671.876 79.5875 747.811 79.5875C823.746 79.5875 819.687 37.8523 895.622 37.8523C971.557 37.8523 967.498 79.5875 1043.43 79.5875C1119.37 79.5875 1126.11 21.4818 1200 38.887",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 48.8411C73.8923 31.4625 80.6314 89.5416 156.567 89.5416C232.502 89.5416 228.443 47.8064 304.378 47.8064C380.313 47.8064 376.254 89.5416 452.189 89.5416C528.124 89.5416 524.065 47.8064 600 47.8064C675.935 47.8064 671.876 89.5416 747.811 89.5416C823.746 89.5416 819.687 47.8064 895.622 47.8064C971.557 47.8064 967.498 89.5416 1043.43 89.5416C1119.37 89.5416 1126.11 31.4359 1200 48.8411",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 58.7952C73.8923 41.4166 80.6314 99.4957 156.567 99.4957C232.502 99.4957 228.443 57.7605 304.378 57.7605C380.313 57.7605 376.254 99.4957 452.189 99.4957C528.124 99.4957 524.065 57.7605 600 57.7605C675.935 57.7605 671.876 99.4957 747.811 99.4957C823.746 99.4957 819.687 57.7605 895.622 57.7605C971.557 57.7605 967.498 99.4957 1043.43 99.4957C1119.37 99.4957 1126.11 41.39 1200 58.7952",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 68.7493C73.8923 51.3707 80.6314 109.45 156.567 109.45C232.502 109.45 228.443 67.7146 304.378 67.7146C380.313 67.7146 376.254 109.45 452.189 109.45C528.124 109.45 524.065 67.7146 600 67.7146C675.935 67.7146 671.876 109.45 747.811 109.45C823.746 109.45 819.687 67.7146 895.622 67.7146C971.557 67.7146 967.498 109.45 1043.43 109.45C1119.37 109.45 1126.11 51.3441 1200 68.7493",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 78.7034C73.8923 61.3248 80.6314 119.404 156.567 119.404C232.502 119.404 228.443 77.6687 304.378 77.6687C380.313 77.6687 376.254 119.404 452.189 119.404C528.124 119.404 524.065 77.6687 600 77.6687C675.935 77.6687 671.876 119.404 747.811 119.404C823.746 119.404 819.687 77.6687 895.622 77.6687C971.557 77.6687 967.498 119.404 1043.43 119.404C1119.37 119.404 1126.11 61.2982 1200 78.7034",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 88.6575C73.8923 71.2789 80.6314 129.358 156.567 129.358C232.502 129.358 228.443 87.6228 304.378 87.6228C380.313 87.6228 376.254 129.358 452.189 129.358C528.124 129.358 524.065 87.6228 600 87.6228C675.935 87.6228 671.876 129.358 747.811 129.358C823.746 129.358 819.687 87.6228 895.622 87.6228C971.557 87.6228 967.498 129.358 1043.43 129.358C1119.37 129.358 1126.11 71.2523 1200 88.6575",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 98.6116C73.8923 81.233 80.6314 139.312 156.567 139.312C232.502 139.312 228.443 97.5769 304.378 97.5769C380.313 97.5769 376.254 139.312 452.189 139.312C528.124 139.312 524.065 97.5769 600 97.5769C675.935 97.5769 671.876 139.312 747.811 139.312C823.746 139.312 819.687 97.5769 895.622 97.5769C971.557 97.5769 967.498 139.312 1043.43 139.312C1119.37 139.312 1126.11 81.2064 1200 98.6116",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 108.566C73.8923 91.1871 80.6314 149.266 156.567 149.266C232.502 149.266 228.443 107.531 304.378 107.531C380.313 107.531 376.254 149.266 452.189 149.266C528.124 149.266 524.065 107.531 600 107.531C675.935 107.531 671.876 149.266 747.811 149.266C823.746 149.266 819.687 107.531 895.622 107.531C971.557 107.531 967.498 149.266 1043.43 149.266C1119.37 149.266 1126.11 91.1605 1200 108.566",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 118.52C73.8923 101.141 80.6314 159.22 156.567 159.22C232.502 159.22 228.443 117.485 304.378 117.485C380.313 117.485 376.254 159.22 452.189 159.22C528.124 159.22 524.065 117.485 600 117.485C675.935 117.485 671.876 159.22 747.811 159.22C823.746 159.22 819.687 117.485 895.622 117.485C971.557 117.485 967.498 159.22 1043.43 159.22C1119.37 159.22 1126.11 101.115 1200 118.52",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 128.474C73.8923 111.095 80.6314 169.174 156.567 169.174C232.502 169.174 228.443 127.439 304.378 127.439C380.313 127.439 376.254 169.174 452.189 169.174C528.124 169.174 524.065 127.439 600 127.439C675.935 127.439 671.876 169.174 747.811 169.174C823.746 169.174 819.687 127.439 895.622 127.439C971.557 127.439 967.498 169.174 1043.43 169.174C1119.37 169.174 1126.11 111.069 1200 128.474",stroke:"#97C3B9",strokeWidth:1.5})),s.createElement("defs",null,s.createElement("clipPath",{id:"clip0_251_38259"},s.createElement("rect",{width:255,height:189,fill:"white"})))),m1=e=>s.createElement("svg",{width:255,height:189,viewBox:"0 0 255 189",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("g",{clipPath:"url(#clip0_251_38273)"},s.createElement("path",{d:"M255 9.02466C181.108 -8.35395 174.369 49.7252 98.4333 49.7252C22.498 49.7252 26.5575 7.99003 -49.3778 7.99003C-125.313 7.99003 -121.254 49.7252 -197.189 49.7252C-273.124 49.7252 -269.065 7.99003 -345 7.99003C-420.935 7.99003 -416.876 49.7252 -492.811 49.7252C-568.746 49.7252 -564.687 7.99003 -640.622 7.99003C-716.557 7.99003 -712.498 49.7252 -788.433 49.7252C-864.369 49.7252 -871.108 -8.38048 -945 9.02466",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 18.9788C181.108 1.60015 174.369 59.6793 98.4333 59.6793C22.498 59.6793 26.5575 17.9441 -49.3778 17.9441C-125.313 17.9441 -121.254 59.6793 -197.189 59.6793C-273.124 59.6793 -269.065 17.9441 -345 17.9441C-420.935 17.9441 -416.876 59.6793 -492.811 59.6793C-568.746 59.6793 -564.687 17.9441 -640.622 17.9441C-716.557 17.9441 -712.498 59.6793 -788.433 59.6793C-864.369 59.6793 -871.108 1.57362 -945 18.9788",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 28.9329C181.108 11.5543 174.369 69.6334 98.4333 69.6334C22.498 69.6334 26.5575 27.8982 -49.3778 27.8982C-125.313 27.8982 -121.254 69.6334 -197.189 69.6334C-273.124 69.6334 -269.065 27.8982 -345 27.8982C-420.935 27.8982 -416.876 69.6334 -492.811 69.6334C-568.746 69.6334 -564.687 27.8982 -640.622 27.8982C-716.557 27.8982 -712.498 69.6334 -788.433 69.6334C-864.369 69.6334 -871.108 11.5277 -945 28.9329",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 38.887C181.108 21.5084 174.369 79.5875 98.4333 79.5875C22.498 79.5875 26.5575 37.8523 -49.3778 37.8523C-125.313 37.8523 -121.254 79.5875 -197.189 79.5875C-273.124 79.5875 -269.065 37.8523 -345 37.8523C-420.935 37.8523 -416.876 79.5875 -492.811 79.5875C-568.746 79.5875 -564.687 37.8523 -640.622 37.8523C-716.557 37.8523 -712.498 79.5875 -788.433 79.5875C-864.369 79.5875 -871.108 21.4818 -945 38.887",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 48.8411C181.108 31.4625 174.369 89.5416 98.4333 89.5416C22.498 89.5416 26.5575 47.8064 -49.3778 47.8064C-125.313 47.8064 -121.254 89.5416 -197.189 89.5416C-273.124 89.5416 -269.065 47.8064 -345 47.8064C-420.935 47.8064 -416.876 89.5416 -492.811 89.5416C-568.746 89.5416 -564.687 47.8064 -640.622 47.8064C-716.557 47.8064 -712.498 89.5416 -788.433 89.5416C-864.369 89.5416 -871.108 31.4359 -945 48.8411",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 58.7952C181.108 41.4166 174.369 99.4957 98.4333 99.4957C22.498 99.4957 26.5575 57.7605 -49.3778 57.7605C-125.313 57.7605 -121.254 99.4957 -197.189 99.4957C-273.124 99.4957 -269.065 57.7605 -345 57.7605C-420.935 57.7605 -416.876 99.4957 -492.811 99.4957C-568.746 99.4957 -564.687 57.7605 -640.622 57.7605C-716.557 57.7605 -712.498 99.4957 -788.433 99.4957C-864.369 99.4957 -871.108 41.39 -945 58.7952",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 68.7493C181.108 51.3707 174.369 109.45 98.4333 109.45C22.498 109.45 26.5575 67.7146 -49.3778 67.7146C-125.313 67.7146 -121.254 109.45 -197.189 109.45C-273.124 109.45 -269.065 67.7146 -345 67.7146C-420.935 67.7146 -416.876 109.45 -492.811 109.45C-568.746 109.45 -564.687 67.7146 -640.622 67.7146C-716.557 67.7146 -712.498 109.45 -788.433 109.45C-864.369 109.45 -871.108 51.3441 -945 68.7493",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 78.7034C181.108 61.3248 174.369 119.404 98.4333 119.404C22.498 119.404 26.5575 77.6687 -49.3778 77.6687C-125.313 77.6687 -121.254 119.404 -197.189 119.404C-273.124 119.404 -269.065 77.6687 -345 77.6687C-420.935 77.6687 -416.876 119.404 -492.811 119.404C-568.746 119.404 -564.687 77.6687 -640.622 77.6687C-716.557 77.6687 -712.498 119.404 -788.433 119.404C-864.369 119.404 -871.108 61.2982 -945 78.7034",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 88.6575C181.108 71.2789 174.369 129.358 98.4333 129.358C22.498 129.358 26.5575 87.6228 -49.3778 87.6228C-125.313 87.6228 -121.254 129.358 -197.189 129.358C-273.124 129.358 -269.065 87.6228 -345 87.6228C-420.935 87.6228 -416.876 129.358 -492.811 129.358C-568.746 129.358 -564.687 87.6228 -640.622 87.6228C-716.557 87.6228 -712.498 129.358 -788.433 129.358C-864.369 129.358 -871.108 71.2523 -945 88.6575",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 98.6116C181.108 81.233 174.369 139.312 98.4333 139.312C22.498 139.312 26.5575 97.5769 -49.3778 97.5769C-125.313 97.5769 -121.254 139.312 -197.189 139.312C-273.124 139.312 -269.065 97.5769 -345 97.5769C-420.935 97.5769 -416.876 139.312 -492.811 139.312C-568.746 139.312 -564.687 97.5769 -640.622 97.5769C-716.557 97.5769 -712.498 139.312 -788.433 139.312C-864.369 139.312 -871.108 81.2064 -945 98.6116",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 108.566C181.108 91.1871 174.369 149.266 98.4333 149.266C22.498 149.266 26.5575 107.531 -49.3778 107.531C-125.313 107.531 -121.254 149.266 -197.189 149.266C-273.124 149.266 -269.065 107.531 -345 107.531C-420.935 107.531 -416.876 149.266 -492.811 149.266C-568.746 149.266 -564.687 107.531 -640.622 107.531C-716.557 107.531 -712.498 149.266 -788.433 149.266C-864.369 149.266 -871.108 91.1605 -945 108.566",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 118.52C181.108 101.141 174.369 159.22 98.4333 159.22C22.498 159.22 26.5575 117.485 -49.3778 117.485C-125.313 117.485 -121.254 159.22 -197.189 159.22C-273.124 159.22 -269.065 117.485 -345 117.485C-420.935 117.485 -416.876 159.22 -492.811 159.22C-568.746 159.22 -564.687 117.485 -640.622 117.485C-716.557 117.485 -712.498 159.22 -788.433 159.22C-864.369 159.22 -871.108 101.115 -945 118.52",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 128.474C181.108 111.095 174.369 169.174 98.4333 169.174C22.498 169.174 26.5575 127.439 -49.3778 127.439C-125.313 127.439 -121.254 169.174 -197.189 169.174C-273.124 169.174 -269.065 127.439 -345 127.439C-420.935 127.439 -416.876 169.174 -492.811 169.174C-568.746 169.174 -564.687 127.439 -640.622 127.439C-716.557 127.439 -712.498 169.174 -788.433 169.174C-864.369 169.174 -871.108 111.069 -945 128.474",stroke:"#97C3B9",strokeWidth:1.5})),s.createElement("defs",null,s.createElement("clipPath",{id:"clip0_251_38273"},s.createElement("rect",{width:255,height:189,fill:"white",transform:"matrix(-1 0 0 1 255 0)"})))),{common:g1,spendManagement:u1}=O.getLocalizedStrings(),o=u1.treasury.promoPage,y={mainHeading:new $("h6Medium","h4Regular"),subHeading:new $("standardRegular","h6Regular"),fundSymbol:new $("extraSmallSemiBold","smallSemiBold"),fundName:new $("extraLargeSemiBold","h5SemiBold"),fundSubName:new $("standardMedium","h6SemiBold"),highlightValue:new $("smallRegular","largeMedium"),highlightLabel:new $("extraSmallRegular","smallRegular"),uspItemTitle:new $("extraLargeMedium","h6Medium"),uspItemDescription:new $("extraSmallRegular","standardRegular")},m={uspLogoSize:new z(h[4],h[5]),cardsGap:new z(h[4],h[6]),fundHeaderGap:new z(h[0],h[2]),fundHeaderPadding:new z(h[3],h[4]),fundHeaderPaddingTop:new z(h[4],h[7]),fundHighlightsPadding:new z(h[2],h[3]),highlightItemGap:new z(h[0],h[1])},Cr=({treasurySetupView:e,isSetupComplete:g,meetingUrl:d,videoUrl:C,onBackClick:p,onClickMenuIcon:w,onSetupButtonClick:u,onTreasurySetupSuccess:b})=>{const j=ce(),n=V(),R=$e(),[pe,F]=s.useState(!1),[he,q]=s.useState(!1),[Y,U]=s.useState(!1),L=fe().analytics,me=()=>{L.trackTreasurySetupActionClick("schedule_demo"),F(!0)},{treasuryTermsDetails:ge,fundsData:X}=e,_=ge?.fetchStatus.fetchState,J=ye(_),K=X.reduce((l,c)=>{const S=c.yield?.toString()||"0%",W=parseFloat(S.replace("%",""))/100;return Math.max(l,W)},0),ue=He(R.loggedInUserRoleMap);s.useEffect(()=>{J==="In-Progress"&&_==="Completed"&&b(g)},[J,b,_,g]);const xe=[{title:`${o.usps.upTo} ${(K*100).toFixed(2)}%`,description:o.yieldLabel.trim()},{title:o.usps.insuredFundsAmount,description:o.usps.sipcInsured},{title:o.usps.highLiquidity,description:o.usps.sameDayTransfer},{title:o.usps.autoTransfers,description:o.usps.automateCashManagement}],Ce=(l,c)=>l===0?r.jsx(N1,{theme:c,windowSize:n}):l===1?r.jsx(G1,{theme:c,windowSize:n}):l===2?r.jsx(V1,{theme:c,windowSize:n}):l===3?r.jsx(O1,{theme:c,windowSize:n}):null;return r.jsxs(x1,{children:[r.jsx(be,{title:o.title,backgroundColor:j.colors.grey4,onBackClick:p,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:w,style:{zIndex:2},source:"treasury"}),pe===!0?r.jsx(ke,{onCancelClick:()=>{F(!1)},meetingUrl:d}):null,r.jsxs(T1,{windowSize:n,children:[r.jsx(D1,{windowSize:n,children:o.heading}),r.jsx(_1,{windowSize:n,children:o.subHeading})]}),r.jsxs(K1,{windowSize:n,children:[r.jsx(rr,{windowSize:n}),r.jsx(tr,{windowSize:n}),r.jsxs(Q1,{windowSize:n,onClick:()=>{U(!0),L?.trackTreasuryPromoVideo("Promo Page")},style:{visibility:Y?"hidden":"visible"},children:[r.jsx(Z1,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/treasury-thumbnail.jpg",alt:"Treasury Video"}),r.jsx(er,{children:r.jsx(Re,{})})]})]}),r.jsx(C1,{windowSize:n,children:X.map((l,c)=>{const S=je(c,j);return r.jsxs(w1,{children:[r.jsxs($1,{windowSize:n,bgColor:S.headerBackground,index:c,children:[r.jsx(f1,{windowSize:n,children:l.fundCode}),r.jsxs("div",{children:[r.jsx(y1,{windowSize:n,color:S.fundNameColor,children:l.fundCompanyName??l.fundName}),r.jsx(b1,{windowSize:n,color:S.fundSubNameColor,children:l.fundName})]})]}),r.jsxs(k1,{windowSize:n,bgColor:S.highlightsBackground,children:[r.jsxs(le,{windowSize:n,children:[r.jsxs(ae,{windowSize:n,children:[r.jsxs(S1,{children:[l.yield,"%"]}),o.yieldLabel,r.jsx("sup",{style:{fontSize:t.sp2,marginLeft:t.sp1},children:"I"})]}),r.jsx(de,{windowSize:n,children:o.higherReturns})]}),r.jsx(j1,{}),r.jsxs(le,{windowSize:n,children:[r.jsxs(ae,{windowSize:n,children:[l.liquidityTimeline,o.liquidity,l.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:t.sp2,marginLeft:t.sp1},children:"II"}):null]}),r.jsx(de,{windowSize:n,children:o.quickPayments})]})]}),r.jsx(z1,{windowSize:n,children:l.description}),r.jsxs(v1,{children:[r.jsxs(E,{children:[r.jsxs(I,{children:[r.jsx(D,{})," ",o.fundSize]}),r.jsx(T,{color:S.fundNameColor,children:Se(l.fundSize,l.currencyCode)})]}),r.jsxs(E,{children:[r.jsxs(I,{children:[r.jsx(D,{})," ",o.maturity]}),r.jsxs(T,{children:[l.maturity,""," ",g1.timeStrings.days]})]}),r.jsxs(E,{children:[r.jsxs(I,{children:[r.jsx(D,{})," ",o.expenseRatio]}),r.jsxs(T,{children:[l.expenseRatio,o.expenseRatioSuffix]})]}),r.jsxs(E,{children:[r.jsxs(I,{children:[r.jsx(D,{})," ",o.riskRating]}),r.jsx(T,{children:l.riskRating})]}),r.jsxs(E,{children:[r.jsxs(I,{children:[r.jsx(D,{})," ",o.composition]}),r.jsx(T,{children:r.jsxs(P1,{children:[l.compositions[0].investedIn," ",l.compositions[0].percentage,r.jsx(ze,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(M1,{children:[r.jsx(k,{children:o.compositionHeading}),l.compositions.map((W,we)=>r.jsxs(B1,{children:[r.jsx(E1,{}),r.jsx(k,{children:W.investedIn}),r.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:W.percentage})]},we))]}),children:r.jsxs(I1,{children:["+",l.compositions.length-1]})})]})})]})]}),r.jsxs(L1,{onClick:()=>L.trackTreasuryProspectusClick(l.fundCompanyName+" "+l.fundName,l.fundCode,"Treasury Promo Page"),windowSize:n,href:l.url,target:"_blank",rel:"noopener noreferrer",children:[o.asOf," ",l.asOfDate.format("MMM D, YYYY"),r.jsx(A1,{})]})]},l.fundCode)})}),r.jsx(W1,{windowSize:n,children:r.jsx(H1,{children:xe.map((l,c)=>r.jsxs(R1,{children:[Ce(c,j),r.jsx(F1,{windowSize:n,children:l.title}),r.jsxs(q1,{windowSize:n,children:[l.description,r.jsx("sup",{style:{fontSize:t.sp2,marginLeft:t.sp1},children:c===0?"I":c===1?"III":c===2?"II":null})]})]},c))})}),r.jsx(r1,{analytics:L,yieldPercentage:K}),r.jsxs(X1,{windowSize:n,children:[r.jsxs(J1,{children:[r.jsx(P,{children:o.disclaimer1}),r.jsx(P,{children:o.disclaimer2}),r.jsxs(P,{children:[o.disclaimer3,r.jsx(f,{href:o.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:o.disclaimer3Url})]}),r.jsx(P,{children:o.disclaimer4})]}),r.jsxs(P,{children:[o.agreementP1,r.jsx(f,{href:o.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:o.formCrsText}),r.jsx(M,{}),r.jsx(f,{href:o.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:o.formAdvText}),r.jsx(M,{}),r.jsx(f,{href:o.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:o.privacyPolicyText}),r.jsx(M,{}),r.jsx(f,{href:o.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:o.generalDisclosuresText}),r.jsx(M,{}),r.jsx(f,{href:o.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:o.sipcInfoText}),r.jsx(M,{}),r.jsx(f,{href:o.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:o.zeniPrivacyPolicyText}),r.jsx(M,{}),r.jsx(f,{href:o.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:o.zeniTermsOfServiceText})]}),r.jsx(P,{children:r.jsx(f,{href:"#",onClick:l=>{L.trackTreasuryAgreementView(),l.preventDefault(),q(!0)},children:o.viewAgreement})})]}),ue?r.jsxs(Y1,{windowSize:n,children:[r.jsx(Q,{variant:"secondary",label:o.scheduleDemoButton,onClick:me,"data-testid":Z("treasury-schedule-demo-button")}),r.jsx(U1,{windowSize:n,children:"OR"}),r.jsx(Q,{variant:"primary",label:g?o.enableButton:o.setupButton,loading:_==="In-Progress",onClick:()=>{L.trackTreasurySetupActionClick(g?"enable_now":"setup"),u()},"data-testid":Z("treasury-get-started-button")})]}):null,r.jsx(Oe,{isOpen:he,onClose:()=>q(!1)}),Y&&r.jsx(Ne,{src:C,isModalOpen:!0,controls:!0,onModalClose:()=>U(!1),config:{youtube:{cc_load_policy:0,fs:0,modestbranding:1,rel:0}}})]})},x1=i.div`
151
+ `,p1=e=>s.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h1=e=>s.createElement("svg",{width:255,height:189,viewBox:"0 0 255 189",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("g",{clipPath:"url(#clip0_251_38259)"},s.createElement("path",{d:"M0 9.02466C73.8923 -8.35395 80.6314 49.7252 156.567 49.7252C232.502 49.7252 228.443 7.99003 304.378 7.99003C380.313 7.99003 376.254 49.7252 452.189 49.7252C528.124 49.7252 524.065 7.99003 600 7.99003C675.935 7.99003 671.876 49.7252 747.811 49.7252C823.746 49.7252 819.687 7.99003 895.622 7.99003C971.557 7.99003 967.498 49.7252 1043.43 49.7252C1119.37 49.7252 1126.11 -8.38048 1200 9.02466",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 18.9788C73.8923 1.60015 80.6314 59.6793 156.567 59.6793C232.502 59.6793 228.443 17.9441 304.378 17.9441C380.313 17.9441 376.254 59.6793 452.189 59.6793C528.124 59.6793 524.065 17.9441 600 17.9441C675.935 17.9441 671.876 59.6793 747.811 59.6793C823.746 59.6793 819.687 17.9441 895.622 17.9441C971.557 17.9441 967.498 59.6793 1043.43 59.6793C1119.37 59.6793 1126.11 1.57362 1200 18.9788",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 28.9329C73.8923 11.5543 80.6314 69.6334 156.567 69.6334C232.502 69.6334 228.443 27.8982 304.378 27.8982C380.313 27.8982 376.254 69.6334 452.189 69.6334C528.124 69.6334 524.065 27.8982 600 27.8982C675.935 27.8982 671.876 69.6334 747.811 69.6334C823.746 69.6334 819.687 27.8982 895.622 27.8982C971.557 27.8982 967.498 69.6334 1043.43 69.6334C1119.37 69.6334 1126.11 11.5277 1200 28.9329",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 38.887C73.8923 21.5084 80.6314 79.5875 156.567 79.5875C232.502 79.5875 228.443 37.8523 304.378 37.8523C380.313 37.8523 376.254 79.5875 452.189 79.5875C528.124 79.5875 524.065 37.8523 600 37.8523C675.935 37.8523 671.876 79.5875 747.811 79.5875C823.746 79.5875 819.687 37.8523 895.622 37.8523C971.557 37.8523 967.498 79.5875 1043.43 79.5875C1119.37 79.5875 1126.11 21.4818 1200 38.887",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 48.8411C73.8923 31.4625 80.6314 89.5416 156.567 89.5416C232.502 89.5416 228.443 47.8064 304.378 47.8064C380.313 47.8064 376.254 89.5416 452.189 89.5416C528.124 89.5416 524.065 47.8064 600 47.8064C675.935 47.8064 671.876 89.5416 747.811 89.5416C823.746 89.5416 819.687 47.8064 895.622 47.8064C971.557 47.8064 967.498 89.5416 1043.43 89.5416C1119.37 89.5416 1126.11 31.4359 1200 48.8411",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 58.7952C73.8923 41.4166 80.6314 99.4957 156.567 99.4957C232.502 99.4957 228.443 57.7605 304.378 57.7605C380.313 57.7605 376.254 99.4957 452.189 99.4957C528.124 99.4957 524.065 57.7605 600 57.7605C675.935 57.7605 671.876 99.4957 747.811 99.4957C823.746 99.4957 819.687 57.7605 895.622 57.7605C971.557 57.7605 967.498 99.4957 1043.43 99.4957C1119.37 99.4957 1126.11 41.39 1200 58.7952",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 68.7493C73.8923 51.3707 80.6314 109.45 156.567 109.45C232.502 109.45 228.443 67.7146 304.378 67.7146C380.313 67.7146 376.254 109.45 452.189 109.45C528.124 109.45 524.065 67.7146 600 67.7146C675.935 67.7146 671.876 109.45 747.811 109.45C823.746 109.45 819.687 67.7146 895.622 67.7146C971.557 67.7146 967.498 109.45 1043.43 109.45C1119.37 109.45 1126.11 51.3441 1200 68.7493",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 78.7034C73.8923 61.3248 80.6314 119.404 156.567 119.404C232.502 119.404 228.443 77.6687 304.378 77.6687C380.313 77.6687 376.254 119.404 452.189 119.404C528.124 119.404 524.065 77.6687 600 77.6687C675.935 77.6687 671.876 119.404 747.811 119.404C823.746 119.404 819.687 77.6687 895.622 77.6687C971.557 77.6687 967.498 119.404 1043.43 119.404C1119.37 119.404 1126.11 61.2982 1200 78.7034",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 88.6575C73.8923 71.2789 80.6314 129.358 156.567 129.358C232.502 129.358 228.443 87.6228 304.378 87.6228C380.313 87.6228 376.254 129.358 452.189 129.358C528.124 129.358 524.065 87.6228 600 87.6228C675.935 87.6228 671.876 129.358 747.811 129.358C823.746 129.358 819.687 87.6228 895.622 87.6228C971.557 87.6228 967.498 129.358 1043.43 129.358C1119.37 129.358 1126.11 71.2523 1200 88.6575",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 98.6116C73.8923 81.233 80.6314 139.312 156.567 139.312C232.502 139.312 228.443 97.5769 304.378 97.5769C380.313 97.5769 376.254 139.312 452.189 139.312C528.124 139.312 524.065 97.5769 600 97.5769C675.935 97.5769 671.876 139.312 747.811 139.312C823.746 139.312 819.687 97.5769 895.622 97.5769C971.557 97.5769 967.498 139.312 1043.43 139.312C1119.37 139.312 1126.11 81.2064 1200 98.6116",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 108.566C73.8923 91.1871 80.6314 149.266 156.567 149.266C232.502 149.266 228.443 107.531 304.378 107.531C380.313 107.531 376.254 149.266 452.189 149.266C528.124 149.266 524.065 107.531 600 107.531C675.935 107.531 671.876 149.266 747.811 149.266C823.746 149.266 819.687 107.531 895.622 107.531C971.557 107.531 967.498 149.266 1043.43 149.266C1119.37 149.266 1126.11 91.1605 1200 108.566",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 118.52C73.8923 101.141 80.6314 159.22 156.567 159.22C232.502 159.22 228.443 117.485 304.378 117.485C380.313 117.485 376.254 159.22 452.189 159.22C528.124 159.22 524.065 117.485 600 117.485C675.935 117.485 671.876 159.22 747.811 159.22C823.746 159.22 819.687 117.485 895.622 117.485C971.557 117.485 967.498 159.22 1043.43 159.22C1119.37 159.22 1126.11 101.115 1200 118.52",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 128.474C73.8923 111.095 80.6314 169.174 156.567 169.174C232.502 169.174 228.443 127.439 304.378 127.439C380.313 127.439 376.254 169.174 452.189 169.174C528.124 169.174 524.065 127.439 600 127.439C675.935 127.439 671.876 169.174 747.811 169.174C823.746 169.174 819.687 127.439 895.622 127.439C971.557 127.439 967.498 169.174 1043.43 169.174C1119.37 169.174 1126.11 111.069 1200 128.474",stroke:"#97C3B9",strokeWidth:1.5})),s.createElement("defs",null,s.createElement("clipPath",{id:"clip0_251_38259"},s.createElement("rect",{width:255,height:189,fill:"white"})))),m1=e=>s.createElement("svg",{width:255,height:189,viewBox:"0 0 255 189",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("g",{clipPath:"url(#clip0_251_38273)"},s.createElement("path",{d:"M255 9.02466C181.108 -8.35395 174.369 49.7252 98.4333 49.7252C22.498 49.7252 26.5575 7.99003 -49.3778 7.99003C-125.313 7.99003 -121.254 49.7252 -197.189 49.7252C-273.124 49.7252 -269.065 7.99003 -345 7.99003C-420.935 7.99003 -416.876 49.7252 -492.811 49.7252C-568.746 49.7252 -564.687 7.99003 -640.622 7.99003C-716.557 7.99003 -712.498 49.7252 -788.433 49.7252C-864.369 49.7252 -871.108 -8.38048 -945 9.02466",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 18.9788C181.108 1.60015 174.369 59.6793 98.4333 59.6793C22.498 59.6793 26.5575 17.9441 -49.3778 17.9441C-125.313 17.9441 -121.254 59.6793 -197.189 59.6793C-273.124 59.6793 -269.065 17.9441 -345 17.9441C-420.935 17.9441 -416.876 59.6793 -492.811 59.6793C-568.746 59.6793 -564.687 17.9441 -640.622 17.9441C-716.557 17.9441 -712.498 59.6793 -788.433 59.6793C-864.369 59.6793 -871.108 1.57362 -945 18.9788",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 28.9329C181.108 11.5543 174.369 69.6334 98.4333 69.6334C22.498 69.6334 26.5575 27.8982 -49.3778 27.8982C-125.313 27.8982 -121.254 69.6334 -197.189 69.6334C-273.124 69.6334 -269.065 27.8982 -345 27.8982C-420.935 27.8982 -416.876 69.6334 -492.811 69.6334C-568.746 69.6334 -564.687 27.8982 -640.622 27.8982C-716.557 27.8982 -712.498 69.6334 -788.433 69.6334C-864.369 69.6334 -871.108 11.5277 -945 28.9329",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 38.887C181.108 21.5084 174.369 79.5875 98.4333 79.5875C22.498 79.5875 26.5575 37.8523 -49.3778 37.8523C-125.313 37.8523 -121.254 79.5875 -197.189 79.5875C-273.124 79.5875 -269.065 37.8523 -345 37.8523C-420.935 37.8523 -416.876 79.5875 -492.811 79.5875C-568.746 79.5875 -564.687 37.8523 -640.622 37.8523C-716.557 37.8523 -712.498 79.5875 -788.433 79.5875C-864.369 79.5875 -871.108 21.4818 -945 38.887",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 48.8411C181.108 31.4625 174.369 89.5416 98.4333 89.5416C22.498 89.5416 26.5575 47.8064 -49.3778 47.8064C-125.313 47.8064 -121.254 89.5416 -197.189 89.5416C-273.124 89.5416 -269.065 47.8064 -345 47.8064C-420.935 47.8064 -416.876 89.5416 -492.811 89.5416C-568.746 89.5416 -564.687 47.8064 -640.622 47.8064C-716.557 47.8064 -712.498 89.5416 -788.433 89.5416C-864.369 89.5416 -871.108 31.4359 -945 48.8411",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 58.7952C181.108 41.4166 174.369 99.4957 98.4333 99.4957C22.498 99.4957 26.5575 57.7605 -49.3778 57.7605C-125.313 57.7605 -121.254 99.4957 -197.189 99.4957C-273.124 99.4957 -269.065 57.7605 -345 57.7605C-420.935 57.7605 -416.876 99.4957 -492.811 99.4957C-568.746 99.4957 -564.687 57.7605 -640.622 57.7605C-716.557 57.7605 -712.498 99.4957 -788.433 99.4957C-864.369 99.4957 -871.108 41.39 -945 58.7952",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 68.7493C181.108 51.3707 174.369 109.45 98.4333 109.45C22.498 109.45 26.5575 67.7146 -49.3778 67.7146C-125.313 67.7146 -121.254 109.45 -197.189 109.45C-273.124 109.45 -269.065 67.7146 -345 67.7146C-420.935 67.7146 -416.876 109.45 -492.811 109.45C-568.746 109.45 -564.687 67.7146 -640.622 67.7146C-716.557 67.7146 -712.498 109.45 -788.433 109.45C-864.369 109.45 -871.108 51.3441 -945 68.7493",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 78.7034C181.108 61.3248 174.369 119.404 98.4333 119.404C22.498 119.404 26.5575 77.6687 -49.3778 77.6687C-125.313 77.6687 -121.254 119.404 -197.189 119.404C-273.124 119.404 -269.065 77.6687 -345 77.6687C-420.935 77.6687 -416.876 119.404 -492.811 119.404C-568.746 119.404 -564.687 77.6687 -640.622 77.6687C-716.557 77.6687 -712.498 119.404 -788.433 119.404C-864.369 119.404 -871.108 61.2982 -945 78.7034",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 88.6575C181.108 71.2789 174.369 129.358 98.4333 129.358C22.498 129.358 26.5575 87.6228 -49.3778 87.6228C-125.313 87.6228 -121.254 129.358 -197.189 129.358C-273.124 129.358 -269.065 87.6228 -345 87.6228C-420.935 87.6228 -416.876 129.358 -492.811 129.358C-568.746 129.358 -564.687 87.6228 -640.622 87.6228C-716.557 87.6228 -712.498 129.358 -788.433 129.358C-864.369 129.358 -871.108 71.2523 -945 88.6575",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 98.6116C181.108 81.233 174.369 139.312 98.4333 139.312C22.498 139.312 26.5575 97.5769 -49.3778 97.5769C-125.313 97.5769 -121.254 139.312 -197.189 139.312C-273.124 139.312 -269.065 97.5769 -345 97.5769C-420.935 97.5769 -416.876 139.312 -492.811 139.312C-568.746 139.312 -564.687 97.5769 -640.622 97.5769C-716.557 97.5769 -712.498 139.312 -788.433 139.312C-864.369 139.312 -871.108 81.2064 -945 98.6116",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 108.566C181.108 91.1871 174.369 149.266 98.4333 149.266C22.498 149.266 26.5575 107.531 -49.3778 107.531C-125.313 107.531 -121.254 149.266 -197.189 149.266C-273.124 149.266 -269.065 107.531 -345 107.531C-420.935 107.531 -416.876 149.266 -492.811 149.266C-568.746 149.266 -564.687 107.531 -640.622 107.531C-716.557 107.531 -712.498 149.266 -788.433 149.266C-864.369 149.266 -871.108 91.1605 -945 108.566",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 118.52C181.108 101.141 174.369 159.22 98.4333 159.22C22.498 159.22 26.5575 117.485 -49.3778 117.485C-125.313 117.485 -121.254 159.22 -197.189 159.22C-273.124 159.22 -269.065 117.485 -345 117.485C-420.935 117.485 -416.876 159.22 -492.811 159.22C-568.746 159.22 -564.687 117.485 -640.622 117.485C-716.557 117.485 -712.498 159.22 -788.433 159.22C-864.369 159.22 -871.108 101.115 -945 118.52",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 128.474C181.108 111.095 174.369 169.174 98.4333 169.174C22.498 169.174 26.5575 127.439 -49.3778 127.439C-125.313 127.439 -121.254 169.174 -197.189 169.174C-273.124 169.174 -269.065 127.439 -345 127.439C-420.935 127.439 -416.876 169.174 -492.811 169.174C-568.746 169.174 -564.687 127.439 -640.622 127.439C-716.557 127.439 -712.498 169.174 -788.433 169.174C-864.369 169.174 -871.108 111.069 -945 128.474",stroke:"#97C3B9",strokeWidth:1.5})),s.createElement("defs",null,s.createElement("clipPath",{id:"clip0_251_38273"},s.createElement("rect",{width:255,height:189,fill:"white",transform:"matrix(-1 0 0 1 255 0)"})))),{common:g1,spendManagement:u1}=O.getLocalizedStrings(),o=u1.treasury.promoPage,y={mainHeading:new $("h6Medium","h4Regular"),subHeading:new $("standardRegular","h6Regular"),fundSymbol:new $("extraSmallSemiBold","smallSemiBold"),fundName:new $("extraLargeSemiBold","h5SemiBold"),fundSubName:new $("standardMedium","h6SemiBold"),highlightValue:new $("smallRegular","largeMedium"),highlightLabel:new $("extraSmallRegular","smallRegular"),uspItemTitle:new $("extraLargeMedium","h6Medium"),uspItemDescription:new $("extraSmallRegular","standardRegular")},m={uspLogoSize:new z(h[4],h[5]),cardsGap:new z(h[4],h[6]),fundHeaderGap:new z(h[0],h[2]),fundHeaderPadding:new z(h[3],h[4]),fundHeaderPaddingTop:new z(h[4],h[7]),fundHighlightsPadding:new z(h[2],h[3]),highlightItemGap:new z(h[0],h[1])},Cr=({treasurySetupView:e,isSetupComplete:g,meetingUrl:d,videoUrl:C,onBackClick:p,onClickMenuIcon:w,onSetupButtonClick:u,onTreasurySetupSuccess:b})=>{const j=ce(),n=V(),R=$e(),[pe,F]=s.useState(!1),[he,q]=s.useState(!1),[Y,U]=s.useState(!1),L=fe().analytics,me=()=>{L.trackTreasurySetupActionClick("schedule_demo"),F(!0)},{treasuryTermsDetails:ge,fundsData:X}=e,_=ge?.fetchStatus.fetchState,J=ye(_),K=X.reduce((l,c)=>{const S=c.yield?.toString()||"0%",W=parseFloat(S.replace("%",""))/100;return Math.max(l,W)},0),ue=He(R.loggedInUserRoleMap);s.useEffect(()=>{J==="In-Progress"&&_==="Completed"&&b(g)},[J,b,_,g]);const xe=[{title:`${o.usps.upTo} ${(K*100).toFixed(2)}%`,description:o.yieldLabel.trim()},{title:o.usps.insuredFundsAmount,description:o.usps.sipcInsured},{title:o.usps.highLiquidity,description:o.usps.sameDayTransfer},{title:o.usps.autoTransfers,description:o.usps.automateCashManagement}],Ce=(l,c)=>l===0?r.jsx(N1,{theme:c,windowSize:n}):l===1?r.jsx(G1,{theme:c,windowSize:n}):l===2?r.jsx(V1,{theme:c,windowSize:n}):l===3?r.jsx(O1,{theme:c,windowSize:n}):null;return r.jsxs(x1,{children:[r.jsx(be,{title:o.title,backgroundColor:j.colors.grey4,onBackClick:p,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:w,style:{zIndex:2},source:"treasury"}),pe===!0?r.jsx(ke,{onCancelClick:()=>{F(!1)},meetingUrl:d}):null,r.jsxs(I1,{windowSize:n,children:[r.jsx(D1,{windowSize:n,children:o.heading}),r.jsx(_1,{windowSize:n,children:o.subHeading})]}),r.jsxs(K1,{windowSize:n,children:[r.jsx(rr,{windowSize:n}),r.jsx(tr,{windowSize:n}),r.jsxs(Q1,{windowSize:n,onClick:()=>{U(!0),L?.trackTreasuryPromoVideo("Promo Page")},style:{visibility:Y?"hidden":"visible"},children:[r.jsx(Z1,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/treasury-thumbnail.jpg",alt:"Treasury Video"}),r.jsx(er,{children:r.jsx(Re,{})})]})]}),r.jsx(C1,{windowSize:n,children:X.map((l,c)=>{const S=je(c,j);return r.jsxs(w1,{children:[r.jsxs($1,{windowSize:n,bgColor:S.headerBackground,index:c,children:[r.jsx(f1,{windowSize:n,children:l.fundCode}),r.jsxs("div",{children:[r.jsx(y1,{windowSize:n,color:S.fundNameColor,children:l.fundCompanyName??l.fundName}),r.jsx(b1,{windowSize:n,color:S.fundSubNameColor,children:l.fundName})]})]}),r.jsxs(k1,{windowSize:n,bgColor:S.highlightsBackground,children:[r.jsxs(le,{windowSize:n,children:[r.jsxs(ae,{windowSize:n,children:[r.jsxs(S1,{children:[l.yield,"%"]}),o.yieldLabel,r.jsx("sup",{style:{fontSize:t.sp2,marginLeft:t.sp1},children:"I"})]}),r.jsx(de,{windowSize:n,children:o.higherReturns})]}),r.jsx(j1,{}),r.jsxs(le,{windowSize:n,children:[r.jsxs(ae,{windowSize:n,children:[l.liquidityTimeline,o.liquidity,l.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:t.sp2,marginLeft:t.sp1},children:"II"}):null]}),r.jsx(de,{windowSize:n,children:o.quickPayments})]})]}),r.jsx(z1,{windowSize:n,children:l.description}),r.jsxs(v1,{children:[r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.fundSize]}),r.jsx(I,{color:S.fundNameColor,children:Se(l.fundSize,l.currencyCode)})]}),r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.maturity]}),r.jsxs(I,{children:[l.maturity,""," ",g1.timeStrings.days]})]}),r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.expenseRatio]}),r.jsxs(I,{children:[l.expenseRatio,o.expenseRatioSuffix]})]}),r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.riskRating]}),r.jsx(I,{children:l.riskRating})]}),r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.composition]}),r.jsx(I,{children:r.jsxs(P1,{children:[l.compositions[0].investedIn," ",l.compositions[0].percentage,r.jsx(ze,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(M1,{children:[r.jsx(k,{children:o.compositionHeading}),l.compositions.map((W,we)=>r.jsxs(B1,{children:[r.jsx(E1,{}),r.jsx(k,{children:W.investedIn}),r.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:W.percentage})]},we))]}),children:r.jsxs(T1,{children:["+",l.compositions.length-1]})})]})})]})]}),r.jsxs(L1,{onClick:()=>L.trackTreasuryProspectusClick(l.fundCompanyName+" "+l.fundName,l.fundCode,"Treasury Promo Page"),windowSize:n,href:l.url,target:"_blank",rel:"noopener noreferrer",children:[o.asOf," ",l.asOfDate.format("MMM D, YYYY"),r.jsx(A1,{})]})]},l.fundCode)})}),r.jsx(W1,{windowSize:n,children:r.jsx(H1,{children:xe.map((l,c)=>r.jsxs(R1,{children:[Ce(c,j),r.jsx(F1,{windowSize:n,children:l.title}),r.jsxs(q1,{windowSize:n,children:[l.description,r.jsx("sup",{style:{fontSize:t.sp2,marginLeft:t.sp1},children:c===0?"I":c===1?"III":c===2?"II":null})]})]},c))})}),r.jsx(r1,{analytics:L,yieldPercentage:K}),r.jsxs(X1,{windowSize:n,children:[r.jsxs(J1,{children:[r.jsx(P,{children:o.disclaimer1}),r.jsx(P,{children:o.disclaimer2}),r.jsxs(P,{children:[o.disclaimer3,r.jsx(f,{href:o.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:o.disclaimer3Url})]}),r.jsx(P,{children:o.disclaimer4})]}),r.jsxs(P,{children:[o.agreementP1,r.jsx(f,{href:o.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:o.formCrsText}),r.jsx(M,{}),r.jsx(f,{href:o.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:o.formAdvText}),r.jsx(M,{}),r.jsx(f,{href:o.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:o.privacyPolicyText}),r.jsx(M,{}),r.jsx(f,{href:o.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:o.generalDisclosuresText}),r.jsx(M,{}),r.jsx(f,{href:o.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:o.sipcInfoText}),r.jsx(M,{}),r.jsx(f,{href:o.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:o.zeniPrivacyPolicyText}),r.jsx(M,{}),r.jsx(f,{href:o.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:o.zeniTermsOfServiceText})]}),r.jsx(P,{children:r.jsx(f,{href:"#",onClick:l=>{L.trackTreasuryAgreementView(),l.preventDefault(),q(!0)},children:o.viewAgreement})})]}),ue?r.jsxs(Y1,{windowSize:n,children:[r.jsx(Q,{variant:"secondary",label:o.scheduleDemoButton,onClick:me,"data-testid":Z("treasury-schedule-demo-button")}),r.jsx(U1,{windowSize:n,children:"OR"}),r.jsx(Q,{variant:"primary",label:g?o.enableButton:o.setupButton,loading:_==="In-Progress",onClick:()=>{L.trackTreasurySetupActionClick(g?"enable_now":"setup"),u()},"data-testid":Z("treasury-get-started-button")})]}):null,r.jsx(Oe,{isOpen:he,onClose:()=>q(!1)}),Y&&r.jsx(Ne,{src:C,isModalOpen:!0,controls:!0,onModalClose:()=>U(!1),config:{youtube:{cc_load_policy:0,fs:0,modestbranding:1,rel:0}}})]})},x1=i.div`
152
152
  display: flex;
153
153
  flex: 1 1 auto;
154
154
  min-height: 100%;
@@ -249,13 +249,13 @@ import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as
249
249
  justify-content: space-between;
250
250
  align-items: flex-start;
251
251
  padding-bottom: ${t.sp1};
252
- `,I=i(H)`
252
+ `,T=i(H)`
253
253
  color: ${e=>e.theme.colors.hero};
254
254
  width: 140px;
255
255
  display: flex;
256
256
  align-items: center;
257
257
  padding-top: ${t.sp1};
258
- `,T=i(H)`
258
+ `,I=i(H)`
259
259
  color: ${e=>e.color??e.theme.colors.primary};
260
260
  flex: 1;
261
261
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
@@ -296,7 +296,7 @@ import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as
296
296
  height: 4px;
297
297
  border-radius: 50%;
298
298
  background-color: ${e=>e.theme.colors.grey1};
299
- `,I1=i(k)`
299
+ `,T1=i(k)`
300
300
  color: ${e=>e.theme.colors.hero};
301
301
  border: 1px solid ${e=>e.theme.colors.grey2};
302
302
  border-radius: ${t.sp1};
@@ -312,7 +312,7 @@ import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as
312
312
  display: inline-block;
313
313
  margin-right: ${t.sp2};
314
314
  vertical-align: middle;
315
- `,T1=i.div`
315
+ `,I1=i.div`
316
316
  display: flex;
317
317
  flex-direction: column;
318
318
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{y as S,J as j,V as t,bE as I,b5 as z,o as r,b as C,p as m,cw as E,x as P,u as p,an as T}from"./index-CZZQCAd2.js";import{a as h}from"./sentry-KKNtqb_g.js";import{n as o}from"./mui-1V4DDk1u.js";import{$ as D}from"./BoxItem-djG6IQ4o-2WZ3HHBU.js";import{o as M}from"./commonDimensions-Om-6fiMl-CN-97Hnw.js";import{M as B}from"./StatementItem-BAgGJRW5-h7PpQoEN.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./downloadPdf-sghpXX-r-hphDTF7O.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6db24038-e913-4783-bcf3-45c25927495a",e._sentryDebugIdIdentifier="sentry-dbid-6db24038-e913-4783-bcf3-45c25927495a")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=s.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:a,style:l})=>{const d=s.statements[a];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:D(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:x,height:a,width:l,innerRef:y,itemKey:d=>d,itemCount:s.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,u=o.div`
1
+ import{y as S,J as j,V as t,bE as I,b5 as z,o as r,b as C,p as m,cw as E,x as P,u as p,an as T}from"./index-CGTxoCJp.js";import{a as h}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import{$ as D}from"./BoxItem-mA2l070e-DKIWhdy7.js";import{o as M}from"./commonDimensions-BgUllk7Z-mJRWeU7K.js";import{M as B}from"./StatementItem-Pie3qV6--QBqzedQj.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./downloadPdf-CKymFYOO-BOWpMv5t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3714d31d-4180-463b-b429-d617ad168f93",e._sentryDebugIdIdentifier="sentry-dbid-3714d31d-4180-463b-b429-d617ad168f93")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=s.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:a,style:l})=>{const d=s.statements[a];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:D(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:x,height:a,width:l,innerRef:y,itemKey:d=>d,itemCount:s.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as j,J as S,V as t,bE as L,b5 as I,o as r,b as z,p,cw as T,x as C,u as h,an as E}from"./index-CZZQCAd2.js";import{a as m}from"./sentry-KKNtqb_g.js";import{n as o}from"./mui-1V4DDk1u.js";import{$ as P}from"./BoxItem-djG6IQ4o-2WZ3HHBU.js";import{o as D}from"./commonDimensions-Om-6fiMl-CN-97Hnw.js";import{M}from"./StatementItem-BAgGJRW5-h7PpQoEN.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./downloadPdf-sghpXX-r-hphDTF7O.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1e7b2d13-ac49-447e-940a-4b1f1017c20a",e._sentryDebugIdIdentifier="sentry-dbid-1e7b2d13-ac49-447e-940a-4b1f1017c20a")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,w={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const f=j(),i=S(),g=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>D.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},B=o.div``,x=o.div`
1
+ import{y as j,J as S,V as t,bE as L,b5 as I,o as r,b as z,p,cw as T,x as C,u as h,an as E}from"./index-CGTxoCJp.js";import{a as m}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import{$ as P}from"./BoxItem-mA2l070e-DKIWhdy7.js";import{o as D}from"./commonDimensions-BgUllk7Z-mJRWeU7K.js";import{M}from"./StatementItem-Pie3qV6--QBqzedQj.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./downloadPdf-CKymFYOO-BOWpMv5t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="832c4011-1f88-4a40-aa85-337384d90024",e._sentryDebugIdIdentifier="sentry-dbid-832c4011-1f88-4a40-aa85-337384d90024")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,w={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const f=j(),i=S(),g=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>D.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},B=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,16 +1,16 @@
1
- import{b as k,V as n,y as F,b5 as P,w as j,a_ as I,ac as Y,o as L,p as A,an as O}from"./index-CZZQCAd2.js";import{a as v,P as R}from"./sentry-KKNtqb_g.js";import{FU as m}from"./zeni-epic-state-BIDncbwZ.js";import{d as z,g as T,p as D,u as B}from"./chartTypes-B53kfwdO-BhCsc3sU.js";import{n as $}from"./mui-1V4DDk1u.js";import{o as q}from"./toCOABalancesWithID-shajGRBP-BsWBm72Q.js";import{V as K}from"./toChartData-DJeOVqss-Ckap6Mgt.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-W_ILlOEk.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="abe06cb8-67f1-46b0-861e-a0a9a31663b7",e._sentryDebugIdIdentifier="sentry-dbid-abe06cb8-67f1-46b0-861e-a0a9a31663b7")}catch{}})();const Q=$.div`
1
+ import{b as $,V as n,y as _,b5 as F,w as j,a_ as A,ac as Y,o as L,p as I,an as O}from"./index-CGTxoCJp.js";import{a as v,P as R}from"./sentry-CuNQ_GI9.js";import{FU as m}from"./zeni-epic-state-BJYsNVul.js";import{d as z,g as T,p as D,u as B}from"./chartTypes-DWf4SAOE-BXMQEiqd.js";import{n as k}from"./mui-CD7xFf2d.js";import{o as q}from"./toCOABalancesWithID-BHpR5IjE-BC__zjt5.js";import{V as K}from"./toChartData-wLoMfnuk-B5A976Ge.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-CeYsUNdm.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="159f6a45-bdd3-4ef4-9445-7572c5c31d4f",e._sentryDebugIdIdentifier="sentry-dbid-159f6a45-bdd3-4ef4-9445-7572c5c31d4f")}catch{}})();const Q=k.div`
2
2
  display: flex;
3
- `,U=$.div`
3
+ `,U=k.div`
4
4
  flex: display;
5
5
  opacity: 0.85;
6
6
  border-radius: ${L.sp1};
7
7
  flex-direction: column;
8
8
  padding: ${L.sp3};
9
9
  background-color: ${e=>e.theme.colors.black};
10
- `,Z=$(O)`
11
- color: ${e=>e.color??A.neutralGrey2Light};
10
+ `,Z=k(O)`
11
+ color: ${e=>e.color??I.neutralGrey2Light};
12
12
  text-align: left;
13
13
  display: flex;
14
14
  align-items: center;
15
15
  justify-content: space-between;
16
- `,ee=({active:e,payload:t,trendType:a})=>{const r=[];return t?.forEach(s=>{const l=s.name;if(s&&e&&s.value!==0){const d=s.payload,y=s.color,u=l!=null&&d.record[l]!=null?d.record[l].amount:void 0;r.push({barName:a,value:u,color:y})}}),r},te=e=>{const t=ee(e);return t.length?n.jsx(Q,{children:n.jsx(U,{children:t.map((a,r)=>n.jsx(Z,{color:a.color,children:`${a.barName}: ${B(a.value)}`},a.barName+r))})}):null},ae=R.memo(te),re=(e,t,a,r)=>{let s=[];if(r!=null){const l=oe(r,a);l!=null&&l.length>0&&(s=q("trend","actual",l))}if(s.length>0){const l=D("trend","actual"),d={};return d[l]=s,K(e,t,l,d)}else return},oe=(e,t)=>{if(e!=null)switch(t){case"month":return e.monthly;case"quarter":return e.quarterly;case"year":return e.yearly;case"free_range":throw new Error("free_range dates are not supported!")}},E=[D("trend","actual")];function De({firstMonthOfFY:e,trendReport:t,timeframe:a,selectedTimePeriod:r,graphColor:s,width:l,height:d,onTimeframeSelectionChanged:y}){const u=v.useRef(!1),g=r!=null?ne(e,r,a):void 0,b=k.getLocalizedStrings().reports.trend[t?.balancesKind];v.useEffect(()=>{u.current=!0},[]);const x=re(e,E,a,t),w=p=>{const h=[];return E.forEach(o=>{h.push(n.jsx(J,{name:o,isAnimationActive:u.current,dataKey:i=>{const c=i.record;return(c[o]!=null&&c[o].amount!=null?c[o].amount:void 0)?.amount??0},maxBarSize:36,fill:p.toString(),"data-testid":Y(o,"bar")},o))}),h};return x==null?null:n.jsx(le,{chartData:x,timeframe:a,selectedLabel:g,barElements:w(s),customToolTipContent:({active:p,payload:h})=>n.jsx(ae,{active:p,payload:h,trendType:b}),width:l,height:d,onTimeframeSelectionChanged:y})}const le=({chartData:e,timeframe:t,selectedLabel:a,barElements:r,customToolTipContent:s,width:l,height:d,onTimeframeSelectionChanged:y})=>{const u=F(),[g,b]=v.useState([void 0,void 0]),x=e.timeseries,w=z(e),p=x.map(o=>o.label);v.useEffect(()=>{if(a!=null){const o=T(a.label,p,1);b(o)}else b([void 0,void 0])},[t,a]);const h=o=>{if(o?.activePayload==null||o?.activePayload.length===0)return;const i=o.activePayload[0];if(i?.payload?.record?.[D("trend","actual")]?.amount==null)return;const c=i.payload.record[D("trend","actual")].amount;if(c!=null&&c.amount===0||i?.payload?.timeLabel?.label==null)return;const M=i.payload.timeLabel.label,S=i.payload.timeLabel.startDate,C=i.payload.timeLabel.endDate,_=T(M,p,1);b(_),y?.(t,{startDate:S,endDate:C})};return n.jsx("div",{style:{width:l,height:d},"data-testid":Y("simple-bar-chart"),children:n.jsx(P,{children:({height:o,width:i})=>n.jsxs(V,{"data-testid":Y("bar-chart"),width:i,height:o,data:e.recordByTimeseries,barCategoryGap:"30%",margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto",cursor:"pointer"},onClick:h,children:[n.jsx(G,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),n.jsx(N,{dataKey:c=>c.timeLabel.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...j.extraSmallRegular.cssObject}}),n.jsx(W,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...j.extraSmallRegular.cssObject},tickFormatter:c=>I("0,0.[00]a",c,w)}),n.jsx(X,{cursor:!1,content:s,allowEscapeViewBox:{x:!1,y:!0}}),a!=null&&n.jsx(H,{x1:g[0],x2:g[1],opacity:.3,fillOpacity:.3,stopOpacity:.1}),r]})})})},{dateFormat:f}=k.getLocalizedStrings(),ne=(e,t,a)=>{let r="";switch(a){case"week":t.startDate.month()!==t.endDate.month()?r=`${m(t.startDate,f.visual.MMMYYFormat,e)} - ${m(t.endDate,f.visual.MMMYYFormat,e)}`:r=`${m(t.startDate,f.visual.Dformat,e)} - ${m(t.endDate,f.visual.MMMDCommaYYYYformat,e)}`;break;case"month":r=`${m(t.startDate,f.visual.MMMYYFormat,e)}`;break;case"quarter":r=`${k.getLocalizedStrings().quarterPrefix}${m(t.startDate,f.visual.QYYformat,e)}`;break;case"year":r=`${m(t.startDate,f.visual.YYYYformat,e)}`;break;case"free_range":throw new Error("free_range dates are not supported!")}return{label:r,startDate:t.startDate,endDate:t.endDate}};export{De as default};
16
+ `,ee=({active:e,payload:t,trendType:a})=>{const r=[];return t?.forEach(s=>{const l=s.name;if(s&&e&&s.value!==0){const d=s.payload,y=s.color,u=l!=null&&d.record[l]!=null?d.record[l].amount:void 0;r.push({barName:a,value:u,color:y})}}),r},te=e=>{const t=ee(e);return t.length?n.jsx(Q,{children:n.jsx(U,{children:t.map((a,r)=>n.jsx(Z,{color:a.color,children:`${a.barName}: ${B(a.value)}`},a.barName+r))})}):null},ae=R.memo(te),re=(e,t,a,r)=>{let s=[];if(r!=null){const l=oe(r,a);l!=null&&l.length>0&&(s=q("trend","actual",l))}if(s.length>0){const l=D("trend","actual"),d={};return d[l]=s,K(e,t,l,d)}else return},oe=(e,t)=>{if(e!=null)switch(t){case"month":return e.monthly;case"quarter":return e.quarterly;case"year":return e.yearly;case"free_range":throw new Error("free_range dates are not supported!")}},E=[D("trend","actual")];function De({firstMonthOfFY:e,trendReport:t,timeframe:a,selectedTimePeriod:r,graphColor:s,width:l,height:d,onTimeframeSelectionChanged:y}){const u=v.useRef(!1),g=r!=null?ne(e,r,a):void 0,b=$.getLocalizedStrings().reports.trend[t?.balancesKind];v.useEffect(()=>{u.current=!0},[]);const x=re(e,E,a,t),w=p=>{const h=[];return E.forEach(o=>{h.push(n.jsx(J,{name:o,isAnimationActive:u.current,dataKey:i=>{const c=i.record;return(c[o]!=null&&c[o].amount!=null?c[o].amount:void 0)?.amount??0},maxBarSize:36,fill:p.toString(),"data-testid":Y(o,"bar")},o))}),h};return x==null?null:n.jsx(le,{chartData:x,timeframe:a,selectedLabel:g,barElements:w(s),customToolTipContent:({active:p,payload:h})=>n.jsx(ae,{active:p,payload:h,trendType:b}),width:l,height:d,onTimeframeSelectionChanged:y})}const le=({chartData:e,timeframe:t,selectedLabel:a,barElements:r,customToolTipContent:s,width:l,height:d,onTimeframeSelectionChanged:y})=>{const u=_(),[g,b]=v.useState([void 0,void 0]),x=e.timeseries,w=z(e),p=x.map(o=>o.label);v.useEffect(()=>{if(a!=null){const o=T(a.label,p,1);b(o)}else b([void 0,void 0])},[t,a]);const h=o=>{if(o?.activePayload==null||o?.activePayload.length===0)return;const i=o.activePayload[0];if(i?.payload?.record?.[D("trend","actual")]?.amount==null)return;const c=i.payload.record[D("trend","actual")].amount;if(c!=null&&c.amount===0||i?.payload?.timeLabel?.label==null)return;const M=i.payload.timeLabel.label,S=i.payload.timeLabel.startDate,C=i.payload.timeLabel.endDate,P=T(M,p,1);b(P),y?.(t,{startDate:S,endDate:C})};return n.jsx("div",{style:{width:l,height:d},"data-testid":Y("simple-bar-chart"),children:n.jsx(F,{children:({height:o,width:i})=>n.jsxs(V,{"data-testid":Y("bar-chart"),width:i,height:o,data:e.recordByTimeseries,barCategoryGap:"30%",margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto",cursor:"pointer"},onClick:h,children:[n.jsx(G,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),n.jsx(N,{dataKey:c=>c.timeLabel.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...j.extraSmallRegular.cssObject}}),n.jsx(W,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...j.extraSmallRegular.cssObject},tickFormatter:c=>A("0,0.[00]a",c,w)}),n.jsx(X,{cursor:!1,content:s,allowEscapeViewBox:{x:!1,y:!0}}),a!=null&&n.jsx(H,{x1:g[0],x2:g[1],opacity:.3,fillOpacity:.3,stopOpacity:.1}),r]})})})},{dateFormat:f}=$.getLocalizedStrings(),ne=(e,t,a)=>{let r="";switch(a){case"week":t.startDate.month()!==t.endDate.month()?r=`${m(t.startDate,f.visual.MMMYYFormat,e)} - ${m(t.endDate,f.visual.MMMYYFormat,e)}`:r=`${m(t.startDate,f.visual.Dformat,e)} - ${m(t.endDate,f.visual.MMMDCommaYYYYformat,e)}`;break;case"month":r=`${m(t.startDate,f.visual.MMMYYFormat,e)}`;break;case"quarter":r=`${$.getLocalizedStrings().quarterPrefix}${m(t.startDate,f.visual.QYYformat,e)}`;break;case"year":r=`${m(t.startDate,f.visual.YYYYformat,e)}`;break;case"free_range":throw new Error("free_range dates are not supported!")}return{label:r,startDate:t.startDate,endDate:t.endDate}};export{De as default};
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,L as z,o as r,b as F,b5 as E,ac as T,x as c,b9 as I,e as V,u as a,an as A,d as q}from"./index-CZZQCAd2.js";import{a as k}from"./sentry-KKNtqb_g.js";import{n}from"./mui-1V4DDk1u.js";import K from"./TrendChart-DQwanU50-BV-_y5G5.js";import{C as W}from"./NoDataChart-BpVOzQOW-DKnao5o4.js";import{F as J}from"./InsightsSection-o1r7-jTU-BEvpe3bJ.js";import{T as Q}from"./TransactionList-4mJl7knT-DqG87PM9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="13193073-8803-4031-a063-d58c2105f4e1",e._sentryDebugIdIdentifier="sentry-dbid-13193073-8803-4031-a063-d58c2105f4e1")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,L as z,o as r,b as F,b5 as E,ac as T,x as c,b9 as I,e as V,u as a,an as A,d as q}from"./index-CGTxoCJp.js";import{a as k}from"./sentry-CuNQ_GI9.js";import{n}from"./mui-CD7xFf2d.js";import K from"./TrendChart-DjYTskVA-gHskLbo_.js";import{C as W}from"./NoDataChart-CggIXqiK-C19sXnTb.js";import{F as J}from"./InsightsSection-BJeBGbPg-Bqi1LIqW.js";import{T as Q}from"./TransactionList-C4_0d8Yi-D_b8rDHf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="56145b08-14f9-467f-9776-7110c6b232ea",e._sentryDebugIdIdentifier="sentry-dbid-56145b08-14f9-467f-9776-7110c6b232ea")}catch{}})();const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as ie,J as ce,ay as Ye,aS as en,gO as I,hZ as U,aa as nn,h_ as tn,h$ as je,cI as on,V as t,bE as cn,cs as sn,ct as an,cu as ln,ae as dn,i0 as rn,L as un,aT as pn,fC as mn,b as H,i1 as _e,x as u,an as gn,o as a,cM as fe,aX as W,gU as te,i2 as oe,i3 as Z,i4 as xn,u as r,c as ye,p as Ae,ga as Ve,ak as $e,bk as hn}from"./index-CZZQCAd2.js";import{a as K}from"./sentry-KKNtqb_g.js";import{n as s}from"./mui-1V4DDk1u.js";import{GL as Te,Gp as bn,Gq as wn,GM as fn}from"./zeni-epic-state-BIDncbwZ.js";import{h as yn}from"./VendorsAccountsSection-ziR6oNlY-CZuH9lY0.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="45656193-6af2-443a-b024-9f6031906782",e._sentryDebugIdIdentifier="sentry-dbid-45656193-6af2-443a-b024-9f6031906782")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new ye("standardMedium","largeMedium")},An=s.div`
1
+ import{y as ie,J as ce,ay as Ye,aS as en,gO as I,hZ as U,aa as nn,h_ as tn,h$ as je,cI as on,V as t,bE as cn,cs as sn,ct as an,cu as ln,ae as dn,i0 as rn,L as un,aT as pn,fC as mn,b as H,i1 as _e,x as u,an as gn,o as a,cM as fe,aX as W,gU as te,i2 as oe,i3 as Z,i4 as xn,u as r,c as ye,p as Ae,ga as Ve,ak as $e,bk as hn}from"./index-CGTxoCJp.js";import{a as K}from"./sentry-CuNQ_GI9.js";import{n as s}from"./mui-CD7xFf2d.js";import{GL as Te,Gp as bn,Gq as wn,GM as fn}from"./zeni-epic-state-BJYsNVul.js";import{h as yn}from"./VendorsAccountsSection-C5L3gr2G-B_pD6zSq.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="412e2e74-1f36-4817-97ab-5b83b63c9241",e._sentryDebugIdIdentifier="sentry-dbid-412e2e74-1f36-4817-97ab-5b83b63c9241")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new ye("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aS as b,V as t,i6 as _,i7 as W,J as T,b as O,cs as L,ag as C,ct as U,cu as N,aa as R,ae as J,cU as M,cP as D,x as g,cQ as G,p as z,aq as H,L as Q,a as K,o as i,an as X,u as F,as as Y,bc as Z}from"./index-CZZQCAd2.js";import{a as l}from"./sentry-KKNtqb_g.js";import{n as p}from"./mui-1V4DDk1u.js";import{bL as ee,bh as te}from"./zeni-epic-state-BIDncbwZ.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f3c71d54-2f5d-4872-aa92-187121773b56",e._sentryDebugIdIdentifier="sentry-dbid-f3c71d54-2f5d-4872-aa92-187121773b56")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=p.div`
1
+ import{aS as b,V as t,i6 as _,i7 as W,J as T,b as O,cs as L,ag as C,ct as U,cu as N,aa as R,ae as J,cU as M,cP as D,x as g,cQ as G,p as z,aq as H,L as Q,a as K,o as i,an as X,u as F,as as Y,bc as Z}from"./index-CGTxoCJp.js";import{a as l}from"./sentry-CuNQ_GI9.js";import{n as p}from"./mui-CD7xFf2d.js";import{bL as ee,bh as te}from"./zeni-epic-state-BJYsNVul.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f3c71d54-2f5d-4872-aa92-187121773b56",e._sentryDebugIdIdentifier="sentry-dbid-f3c71d54-2f5d-4872-aa92-187121773b56")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=p.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{aa as k,fD as b,aS as M,J as R,b as A,cI as W,V as i,ae as q,ac as J,fE as K,o as a,p as G,cV as H,aT as Q,x,d as X,e as Y,bc as Z,bb as ee,u as c}from"./index-CZZQCAd2.js";import{a as f}from"./sentry-KKNtqb_g.js";import{n as o}from"./mui-1V4DDk1u.js";import{Fy as te}from"./zeni-epic-state-BIDncbwZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="9405fa44-bf74-4a7c-980e-adbe57c135e0",e._sentryDebugIdIdentifier="sentry-dbid-9405fa44-bf74-4a7c-980e-adbe57c135e0")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:v,onCompanyOfficerUpdated:T}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,N]=f.useState(!1),I=M(p.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[I,p,n,t?.additionalFiles]);const r=R(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),U=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&W(()=>U(d,h))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(K,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:m,authParams:S,hasError:C,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{aa as k,fD as b,aS as M,J as R,b as A,cI as W,V as i,ae as q,ac as J,fE as K,o as a,p as G,cV as H,aT as Q,x,d as X,e as Y,bc as Z,bb as ee,u as c}from"./index-CGTxoCJp.js";import{a as f}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import{Fy as te}from"./zeni-epic-state-BJYsNVul.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="e9c1b7d6-663f-4911-809a-9327c7a395bb",e._sentryDebugIdIdentifier="sentry-dbid-e9c1b7d6-663f-4911-809a-9327c7a395bb")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:v,onCompanyOfficerUpdated:T}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,N]=f.useState(!1),j=M(p.fetchState),I=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(I??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=R(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),U=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&W(()=>U(d,h))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(K,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:I,updateFileStatusById:O,filesEndPoint:m,authParams:S,hasError:C,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aS as i,b as w,V as r,i6 as x,i7 as v}from"./index-CZZQCAd2.js";import{a as s}from"./sentry-KKNtqb_g.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./mui-1V4DDk1u.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a09b6020-0ea7-4177-a7e3-a8b933001bb5",t._sentryDebugIdIdentifier="sentry-dbid-a09b6020-0ea7-4177-a7e3-a8b933001bb5")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(v,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{H as default};
1
+ import{aS as i,b as w,V as r,i6 as x,i7 as v}from"./index-CGTxoCJp.js";import{a as s}from"./sentry-CuNQ_GI9.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./mui-CD7xFf2d.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a09b6020-0ea7-4177-a7e3-a8b933001bb5",t._sentryDebugIdIdentifier="sentry-dbid-a09b6020-0ea7-4177-a7e3-a8b933001bb5")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(v,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{H as default};
@@ -0,0 +1 @@
1
+ import{V as f}from"./index-CGTxoCJp.js";import{a as m}from"./sentry-CuNQ_GI9.js";import{f as u}from"./ACHDetailsPage-qOWGYckl-DjJAccbn.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./mui-CD7xFf2d.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./BankAccountWarningSection-BR28A3L4-D_D37qnN.js";import"./MagicLinkTitleSection-B33mBOG9-35QrlIpm.js";import"./BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="86b3e6b3-7170-438e-b786-28508e777f3a",e._sentryDebugIdIdentifier="sentry-dbid-86b3e6b3-7170-438e-b786-28508e777f3a")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:p}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),f.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{y as Ue,J as ae,x as u,aG as we,cL as ft,aa as wt,hk as Ce,hl as Ct,aX as $t,cI as St,V as t,bD as Dt,ae as Tt,hm as jt,hn as ye,u as l,cJ as Lt,aT as Vt,bE as kt,b as W,ho as Ee,hp as qe,hq as Qe,o,bR as S,cM as It,gU as $e,hr as Ot,cN as Pt,cO as Mt,cP as _t,hs as zt,gi as Ft,cW as Nt,ht as Wt,hu as Ht,p as N,b9 as Ye,ak as Ge,dw as Rt,b1 as Bt,hv as At,hw as Ut,an as Et,cp as qt,dv as Qt,d4 as Yt,a_ as pe,hx as Gt,ck as Je,hy as Jt,c as Se,M as Xe}from"./index-CZZQCAd2.js";import{a as $}from"./sentry-KKNtqb_g.js";import{n as a,c as Xt}from"./mui-1V4DDk1u.js";import{bi as De,GH as Kt,GI as Zt}from"./zeni-epic-state-BIDncbwZ.js";import{k as es}from"./SubTabSwitcher-CWofxHNl-pctfLicv.js";import{T as ts}from"./TransactionList-4mJl7knT-DqG87PM9.js";import{R as ss}from"./TrendWithTransactions-Iz0QVdZP-CDHQCqNH.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-Cxk5-yTi.js";import{C as ns}from"./LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-BY230oMD-CrAT0eng.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./ConstrainedInnerElement-BeIpAPjB-Cf0vGOip.js";import"./BoxItem-djG6IQ4o-2WZ3HHBU.js";import"./commonDimensions-Om-6fiMl-CN-97Hnw.js";import"./panelSelectedMixin-Cddsb26L-DCdVDlSE.js";import"./TrendChart-DQwanU50-BV-_y5G5.js";import"./chartTypes-B53kfwdO-BhCsc3sU.js";import"./toCOABalancesWithID-shajGRBP-BsWBm72Q.js";import"./toChartData-DJeOVqss-Ckap6Mgt.js";import"./NoDataChart-BpVOzQOW-DKnao5o4.js";import"./InsightsSection-o1r7-jTU-BEvpe3bJ.js";import"./NavigationDots-Db1I_vts-Bg46VZRN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6e23b383-ba37-4505-8145-07a7bb143fc1",e._sentryDebugIdIdentifier="sentry-dbid-6e23b383-ba37-4505-8145-07a7bb143fc1")}catch{}})();const is=a.div`
1
+ import{y as Ue,J as ae,x as u,aG as we,cL as ft,aa as wt,hk as Ce,hl as Ct,aX as $t,cI as St,V as t,bD as Dt,ae as Tt,hm as jt,hn as ye,u as l,cJ as Lt,aT as Vt,bE as kt,b as W,ho as Ee,hp as qe,hq as Qe,o,bR as S,cM as It,gU as $e,hr as Ot,cN as Pt,cO as Mt,cP as _t,hs as zt,gi as Ft,cW as Nt,ht as Wt,hu as Ht,p as N,b9 as Ye,ak as Ge,dw as Rt,b1 as Bt,hv as At,hw as Ut,an as Et,cp as qt,dv as Qt,d4 as Yt,a_ as pe,hx as Gt,ck as Je,hy as Jt,c as Se,M as Xe}from"./index-CGTxoCJp.js";import{a as $}from"./sentry-CuNQ_GI9.js";import{n as a,c as Xt}from"./mui-CD7xFf2d.js";import{bi as De,GH as Kt,GI as Zt}from"./zeni-epic-state-BJYsNVul.js";import{k as es}from"./SubTabSwitcher-DnAcWm4k-BiidkdTF.js";import{T as ts}from"./TransactionList-C4_0d8Yi-D_b8rDHf.js";import{R as ss}from"./TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-BpAbcXNu.js";import{C as ns}from"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js";import"./BoxItem-mA2l070e-DKIWhdy7.js";import"./commonDimensions-BgUllk7Z-mJRWeU7K.js";import"./panelSelectedMixin-Cddsb26L-ChVQUbpx.js";import"./TrendChart-DjYTskVA-gHskLbo_.js";import"./chartTypes-DWf4SAOE-BXMQEiqd.js";import"./toCOABalancesWithID-BHpR5IjE-BC__zjt5.js";import"./toChartData-wLoMfnuk-B5A976Ge.js";import"./NoDataChart-CggIXqiK-C19sXnTb.js";import"./InsightsSection-BJeBGbPg-Bqi1LIqW.js";import"./NavigationDots-BrWdpJ3R-DuPdXi3_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="9218e4f6-65db-44cd-a5bb-2f2623eb4ce8",e._sentryDebugIdIdentifier="sentry-dbid-9218e4f6-65db-44cd-a5bb-2f2623eb4ce8")}catch{}})();const is=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CGTxoCJp.js";import{a as k}from"./sentry-CuNQ_GI9.js";import{D as y}from"./DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./mui-CD7xFf2d.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js";import"./MagicLinkTitleSection-B33mBOG9-35QrlIpm.js";import"./BankAccountWarningSection-BR28A3L4-D_D37qnN.js";import"./MailingDetailsSection-qtLrrSYF-CTuCvSpe.js";import"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c5c6342b-c799-419d-9192-2d3fa90f27d6",e._sentryDebugIdIdentifier="sentry-dbid-c5c6342b-c799-419d-9192-2d3fa90f27d6")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
@@ -1,4 +1,4 @@
1
- import{J as ae,y as ze,aa as Ae,cI as Be,x as w,V as t,bE as ke,ac as Ee,ae as Oe,cN as C,o as s,cS as Re,hs as We,gi as qe,cW as Me,ht as He,hu as Ke,cR as Ue,aT as _e,b as ne,f2 as U,hz as de,ey as Ge,f3 as Qe,u as c,d as Je,bR as L,cG as Ye,hA as Ze,p as F,n as Xe,ck as et,an as ce,eO as tt,hB as st,hC as lt,hD as M,f4 as it}from"./index-CZZQCAd2.js";import{a as x}from"./sentry-KKNtqb_g.js";import{n as o}from"./mui-1V4DDk1u.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BY230oMD-CrAT0eng.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./zeni-epic-state-BIDncbwZ.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="0233d4d9-f804-4970-8b1d-535e8e23151b",e._sentryDebugIdIdentifier="sentry-dbid-0233d4d9-f804-4970-8b1d-535e8e23151b")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(at,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function at({googleAPIKey:e,addressToEdit:i,sectionId:a,isDisabled:g,style:R}){const E=ae(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(a,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(a,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(a,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(a,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
1
+ import{J as ae,y as ze,aa as Ae,cI as Be,x as w,V as t,bE as ke,ac as Ee,ae as Oe,cN as C,o as s,cS as Re,hs as We,gi as qe,cW as Me,ht as He,hu as Ke,cR as Ue,aT as _e,b as ne,f2 as U,hz as de,ey as Ge,f3 as Qe,u as c,d as Je,bR as L,cG as Ye,hA as Ze,p as F,n as Xe,ck as et,an as ce,eO as tt,hB as st,hC as lt,hD as M,f4 as it}from"./index-CGTxoCJp.js";import{a as x}from"./sentry-CuNQ_GI9.js";import{n as o}from"./mui-CD7xFf2d.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="35667032-7c37-421c-bc9d-58de303c7de1",e._sentryDebugIdIdentifier="sentry-dbid-35667032-7c37-421c-bc9d-58de303c7de1")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(at,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function at({googleAPIKey:e,addressToEdit:i,sectionId:a,isDisabled:g,style:R}){const E=ae(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(a,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(a,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(a,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(a,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(a,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -33,7 +33,7 @@ import{J as ae,y as ze,aa as Ae,cI as Be,x as w,V as t,bE as ke,ac as Ee,ae as O
33
33
  display: flex;
34
34
  justify-content: space-between;
35
35
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
36
- `,gt=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(ut,{children:[t.jsx(L,{style:{marginBottom:s.sp4},width:120,height:c[4]}),t.jsxs(pt,{children:[[...Array(5)].map((a,g)=>t.jsxs(H,{children:[t.jsx(L,{width:70,height:c[4]}),t.jsx(L,{width:140,height:c[4]})]},g)),t.jsx(H,{children:t.jsx(L,{width:120,height:c[4]})}),t.jsx(ht,{children:[...Array(7)].map((a,g)=>t.jsxs(H,{children:[t.jsx(L,{width:70,height:c[4]}),t.jsx(L,{width:140,height:c[4]})]},g))})]})]},i))}),$={largeLabelWidth:new w(130,200,300),labelMarginLeft:new w(c[3],c[4]),labelMarginTop:new w(c[2],c[3]),labelMarginBottom:new w(c[2],c[3]),containerPaddingLeft:new w(c[3],c[6],c[8]),containerPaddingRight:new w(c[3],c[6],c[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",ue="legalName",pe="email",he="phone",ge="taxClassification",me="tinType",ye="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",K=e=>`${e}_form`,P=(e,i)=>`${e}.${i}`,{spendManagement:St,common:r}=ne.getLocalizedStrings(),S=St.billPay.vendorCreation,A=r.labels,le=r.footer,ts=e=>{const i=ae(),a=new AbortController,g=ze(),R=a.signal,{onVendorFiling1099UploadDetailsSave:E,vendorId:u,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:v,vendorFiling1099UploadDetails:V,fetchVendorFetchStatus:_,onAddressEditHandler:xe,goBackToListPage:G,onResetVendorFiling1099FormStatus:fe,googleAPIKey:be}=e,{vendor1099DetailsSaveStatus:T,vendor1099DetailsLocalData:d,w9FormUploadStatus:Q}=p,[J,Y]=x.useState(V.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),Z=x.useRef(null),{vendorTypeList:W}=V,N=x.useRef(null),z=x.useRef(null),X=x.useRef(!1);x.useEffect(()=>{z.current===null&&d.legalName!=r.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(z.current=d.legalName)},[d.legalName]),x.useEffect(()=>{N.current===null&&d.legalName!==r.strings.empty&&(N.current=d.legalName)},[d.legalName]),x.useEffect(()=>{V?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&X.current===!1&&(Y(V.addressStatus.addressToCreate),X.current=!0)},[V,p.vendor1099DetailsAutoFilledValues?.address]);const m=Ae({mode:"onSubmit",defaultValues:oe(d,W??[],J),values:oe(d,W??[],J)}),{isValid:we}=m.formState,$e=m.handleSubmit(()=>{we&&(xe(m.getValues()),E(u,R))}),{vendor1099DetailsAutoFilledValues:f}=p,ve=()=>f?.tin.type===!0||f?.tin.value===!0||f?.legalName===!0||f?.taxClassification===!0,je=async(y,n)=>{if(y!=null){const h={...n},Ie=h[l].legalName,De=h[l].email,Le=h[l].phone,Pe=h[l].taxClassification,Fe=h[l].tinType,ee=h[l].tinValue,Te={legalName:Ie??r.strings.empty,vendorId:u,contact:{email:De??r.strings.empty,phone:Le??r.strings.empty,fullName:d.contact?.fullName??r.strings.empty,id:d.contact?.id??r.strings.empty},taxClassification:Pe.selectedType??r.strings.empty,tin:{type:Fe??null,value:ee??null},tinValue:ee??null};if(y.includes(`${l}.street`)&&n.vendor1099FilingSectionId.street!=null){const{addressValue:D}=n.vendor1099FilingSectionId.street,Ne=m.getValues(`${l}.country`),q=U(D?.country);m.setValue(l,{...n[l],street:n.vendor1099FilingSectionId.street,city:D?.locality??"",state:D?.administrativeAreaLevel1??"",country:q,countryCode:D?.countryCode??"",postalCode:D?.postalCode??"",secondaryInfo:n.vendor1099FilingSectionId.secondaryInfo??"",suite:n.vendor1099FilingSectionId.suite??""}),Ge(m.formState.errors,`${l}.city`)&&D?.locality&&m.trigger(`${l}.city`),Ne.selectedOption!==q.selectedOption&&m.setValue(`${l}.country`,q)}else y==="vendor1099FilingSectionId.country"&&n[l].country.selectedOption!=null&&m.setValue(`${l}.countryCode`,Qe(n[l].country.selectedOption));v(Te)}};x.useEffect(()=>{const y=m.watch((n,{name:h})=>{h!=null&&n!=null&&((h.startsWith(`${l}.street`)||h.startsWith(`${l}.city`)||h.startsWith(`${l}.state`)||h.startsWith(`${l}.country`)||h.startsWith(`${l}.postalCode`))&&n[l]!=null&&Y({street:[n[l].street?.addressString??r.strings.empty,n[l].suite??r.strings.empty,n[l].secondaryInfo??r.strings.empty],city:n[l].city??r.strings.empty,state:n[l].state??r.strings.empty,country:n[l].country?.selectedOption??r.strings.empty,countryCode:n[l].countryCode,postalCode:n[l].postalCode??r.strings.empty}),Be(()=>je(h,n)))});return()=>{y.unsubscribe()}});const I=$.largeLabelWidth.value(i),Se=T.error?.message??r.strings.empty,Ce=T.error?.title??r.strings.empty,Ve=()=>T?.fetchState==="In-Progress"||_?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",b=_?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress";return x.useEffect(()=>()=>{a.abort(),fe()},[]),t.jsx(Vt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(It,{windowSize:i,ref:Z,children:[t.jsx(ke,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current)??r.strings.empty,backgroundColor:g.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(Lt,{windowSize:i,onClick:G,"data-testid":Ee("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:Z,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),b===!0?t.jsx(ie,{windowSize:i,isLoading:b,children:t.jsx(gt,{})}):t.jsxs(ie,{windowSize:i,isLoading:b,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current}),T.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Bt,{}),t.jsxs(Nt,{children:[t.jsx(zt,{children:Ce}),t.jsx(At,{children:Se})]})]}):null,ve()&&t.jsxs(Ot,{children:[t.jsx(k,{}),t.jsx(Rt,{children:S.vendorDetails.banner})]}),t.jsx(Oe,{...m,children:t.jsx("form",{id:K(l),onSubmit:$e,children:t.jsxs(Dt,{isLoading:b,children:[t.jsx(O,{children:f?.legalName===!0&&!b?t.jsx(k,{}):null}),t.jsx(C,{label:{label:A.legalName,width:I,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:P(l,ue),defaultValue:d.legalName,placeholder:S.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:y=>y!==r.strings.empty}}}),t.jsx(B,{}),t.jsxs(t.Fragment,{children:[t.jsx(C,{label:{label:A.email,width:I,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:P(l,pe),defaultValue:d.contact?.email,placeholder:S.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(B,{}),t.jsx(Re,{label:{label:A.phone,width:I,style:{marginLeft:s.sp4}},text:{name:P(l,he),placeholder:S.vendorDetails.phonePlaceHolder,defaultValue:d.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(B,{})]}),t.jsxs(Wt,{isLoading:b,children:[t.jsx(O,{children:f?.taxClassification===!0&&!b?t.jsx(k,{}):null}),t.jsxs(re,{children:[t.jsx(kt,{width:I,windowSize:i,children:A.taxClassification}),t.jsx(Et,{size:i,labelWidth:I,children:t.jsx(We,{name:P(l,ge),value:{allTypes:W?.map(y=>({code:y.code,name:y.name,label:y.name}))??[],selectedType:d.taxClassification},placeholderLabel:S.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(B,{}),t.jsx(O,{children:(f?.tin.type===!0||f?.tin.value===!0)&&!b?t.jsx(k,{}):null}),t.jsx(re,{children:t.jsx(rt,{name:P(l,me),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:d.tin?.type??r.strings.empty,dropDownList:[{code:r.texts.ein,label:r.texts.ein.toUpperCase()},{code:r.texts.ssn,label:r.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:I},placeholderLabel:S.placeholders.tinType,formattedText:{type:"text",name:P(l,ye),placeholder:S.placeholders.tinValue,format:d.tin?.type===r.texts.ssn?He:Ke,registerOptions:{required:!!d?.tin?.type,pattern:d.tin?.type===r.texts.ssn?qe:Me},style:{width:"100%",height:s.sp6},defaultValue:d.tin?.value??r.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:d.tin?.type===null?"disabled":void 0}})}),t.jsx(B,{}),t.jsxs(qt,{children:[t.jsx(O,{children:f?.address===!0&&!b?t.jsx(k,{}):null}),t.jsx(Ue,{label:A.address,style:{marginLeft:s.sp4,marginTop:$.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(ot,{googleAPIKey:be,formId:K(l),addressToEdit:V?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(_e,{separatorStyle:{marginRight:s.sp4},formId:K(l),cancelBtn:{label:le.cancel,style:{width:"83px"},onClick:G},primaryBtn:{label:le.save,isLoading:T.fetchState==="In-Progress",style:{width:"83px"},isDisabled:Ve()},style:mt})]})})},Ct=o.div`
36
+ `,gt=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(ut,{children:[t.jsx(L,{style:{marginBottom:s.sp4},width:120,height:c[4]}),t.jsxs(pt,{children:[[...Array(5)].map((a,g)=>t.jsxs(H,{children:[t.jsx(L,{width:70,height:c[4]}),t.jsx(L,{width:140,height:c[4]})]},g)),t.jsx(H,{children:t.jsx(L,{width:120,height:c[4]})}),t.jsx(ht,{children:[...Array(7)].map((a,g)=>t.jsxs(H,{children:[t.jsx(L,{width:70,height:c[4]}),t.jsx(L,{width:140,height:c[4]})]},g))})]})]},i))}),$={largeLabelWidth:new w(130,200,300),labelMarginLeft:new w(c[3],c[4]),labelMarginTop:new w(c[2],c[3]),labelMarginBottom:new w(c[2],c[3]),containerPaddingLeft:new w(c[3],c[6],c[8]),containerPaddingRight:new w(c[3],c[6],c[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",ue="legalName",pe="email",he="phone",ge="taxClassification",me="tinType",ye="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",K=e=>`${e}_form`,P=(e,i)=>`${e}.${i}`,{spendManagement:St,common:r}=ne.getLocalizedStrings(),S=St.billPay.vendorCreation,A=r.labels,le=r.footer,ts=e=>{const i=ae(),a=new AbortController,g=ze(),R=a.signal,{onVendorFiling1099UploadDetailsSave:E,vendorId:u,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:v,vendorFiling1099UploadDetails:V,fetchVendorFetchStatus:_,onAddressEditHandler:xe,goBackToListPage:G,onResetVendorFiling1099FormStatus:fe,googleAPIKey:be}=e,{vendor1099DetailsSaveStatus:T,vendor1099DetailsLocalData:d,w9FormUploadStatus:Q}=p,[J,Y]=x.useState(V.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),Z=x.useRef(null),{vendorTypeList:W}=V,N=x.useRef(null),z=x.useRef(null),X=x.useRef(!1);x.useEffect(()=>{z.current===null&&d.legalName!=r.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(z.current=d.legalName)},[d.legalName]),x.useEffect(()=>{N.current===null&&d.legalName!==r.strings.empty&&(N.current=d.legalName)},[d.legalName]),x.useEffect(()=>{V?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&X.current===!1&&(Y(V.addressStatus.addressToCreate),X.current=!0)},[V,p.vendor1099DetailsAutoFilledValues?.address]);const m=Ae({mode:"onSubmit",defaultValues:oe(d,W??[],J),values:oe(d,W??[],J)}),{isValid:we}=m.formState,$e=m.handleSubmit(()=>{we&&(xe(m.getValues()),E(u,R))}),{vendor1099DetailsAutoFilledValues:f}=p,ve=()=>f?.tin.type===!0||f?.tin.value===!0||f?.legalName===!0||f?.taxClassification===!0,je=async(y,n)=>{if(y!=null){const h={...n},De=h[l].legalName,Ie=h[l].email,Le=h[l].phone,Pe=h[l].taxClassification,Fe=h[l].tinType,ee=h[l].tinValue,Te={legalName:De??r.strings.empty,vendorId:u,contact:{email:Ie??r.strings.empty,phone:Le??r.strings.empty,fullName:d.contact?.fullName??r.strings.empty,id:d.contact?.id??r.strings.empty},taxClassification:Pe.selectedType??r.strings.empty,tin:{type:Fe??null,value:ee??null},tinValue:ee??null};if(y.includes(`${l}.street`)&&n.vendor1099FilingSectionId.street!=null){const{addressValue:I}=n.vendor1099FilingSectionId.street,Ne=m.getValues(`${l}.country`),q=U(I?.country);m.setValue(l,{...n[l],street:n.vendor1099FilingSectionId.street,city:I?.locality??"",state:I?.administrativeAreaLevel1??"",country:q,countryCode:I?.countryCode??"",postalCode:I?.postalCode??"",secondaryInfo:n.vendor1099FilingSectionId.secondaryInfo??"",suite:n.vendor1099FilingSectionId.suite??""}),Ge(m.formState.errors,`${l}.city`)&&I?.locality&&m.trigger(`${l}.city`),Ne.selectedOption!==q.selectedOption&&m.setValue(`${l}.country`,q)}else y==="vendor1099FilingSectionId.country"&&n[l].country.selectedOption!=null&&m.setValue(`${l}.countryCode`,Qe(n[l].country.selectedOption));v(Te)}};x.useEffect(()=>{const y=m.watch((n,{name:h})=>{h!=null&&n!=null&&((h.startsWith(`${l}.street`)||h.startsWith(`${l}.city`)||h.startsWith(`${l}.state`)||h.startsWith(`${l}.country`)||h.startsWith(`${l}.postalCode`))&&n[l]!=null&&Y({street:[n[l].street?.addressString??r.strings.empty,n[l].suite??r.strings.empty,n[l].secondaryInfo??r.strings.empty],city:n[l].city??r.strings.empty,state:n[l].state??r.strings.empty,country:n[l].country?.selectedOption??r.strings.empty,countryCode:n[l].countryCode,postalCode:n[l].postalCode??r.strings.empty}),Be(()=>je(h,n)))});return()=>{y.unsubscribe()}});const D=$.largeLabelWidth.value(i),Se=T.error?.message??r.strings.empty,Ce=T.error?.title??r.strings.empty,Ve=()=>T?.fetchState==="In-Progress"||_?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",b=_?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress";return x.useEffect(()=>()=>{a.abort(),fe()},[]),t.jsx(Vt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(Dt,{windowSize:i,ref:Z,children:[t.jsx(ke,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current)??r.strings.empty,backgroundColor:g.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(Lt,{windowSize:i,onClick:G,"data-testid":Ee("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:Z,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),b===!0?t.jsx(ie,{windowSize:i,isLoading:b,children:t.jsx(gt,{})}):t.jsxs(ie,{windowSize:i,isLoading:b,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?z.current:N.current}),T.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Bt,{}),t.jsxs(Nt,{children:[t.jsx(zt,{children:Ce}),t.jsx(At,{children:Se})]})]}):null,ve()&&t.jsxs(Ot,{children:[t.jsx(k,{}),t.jsx(Rt,{children:S.vendorDetails.banner})]}),t.jsx(Oe,{...m,children:t.jsx("form",{id:K(l),onSubmit:$e,children:t.jsxs(It,{isLoading:b,children:[t.jsx(O,{children:f?.legalName===!0&&!b?t.jsx(k,{}):null}),t.jsx(C,{label:{label:A.legalName,width:D,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:P(l,ue),defaultValue:d.legalName,placeholder:S.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:y=>y!==r.strings.empty}}}),t.jsx(B,{}),t.jsxs(t.Fragment,{children:[t.jsx(C,{label:{label:A.email,width:D,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:P(l,pe),defaultValue:d.contact?.email,placeholder:S.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(B,{}),t.jsx(Re,{label:{label:A.phone,width:D,style:{marginLeft:s.sp4}},text:{name:P(l,he),placeholder:S.vendorDetails.phonePlaceHolder,defaultValue:d.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(B,{})]}),t.jsxs(Wt,{isLoading:b,children:[t.jsx(O,{children:f?.taxClassification===!0&&!b?t.jsx(k,{}):null}),t.jsxs(re,{children:[t.jsx(kt,{width:D,windowSize:i,children:A.taxClassification}),t.jsx(Et,{size:i,labelWidth:D,children:t.jsx(We,{name:P(l,ge),value:{allTypes:W?.map(y=>({code:y.code,name:y.name,label:y.name}))??[],selectedType:d.taxClassification},placeholderLabel:S.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(B,{}),t.jsx(O,{children:(f?.tin.type===!0||f?.tin.value===!0)&&!b?t.jsx(k,{}):null}),t.jsx(re,{children:t.jsx(rt,{name:P(l,me),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:d.tin?.type??r.strings.empty,dropDownList:[{code:r.texts.ein,label:r.texts.ein.toUpperCase()},{code:r.texts.ssn,label:r.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:D},placeholderLabel:S.placeholders.tinType,formattedText:{type:"text",name:P(l,ye),placeholder:S.placeholders.tinValue,format:d.tin?.type===r.texts.ssn?He:Ke,registerOptions:{required:!!d?.tin?.type,pattern:d.tin?.type===r.texts.ssn?qe:Me},style:{width:"100%",height:s.sp6},defaultValue:d.tin?.value??r.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:d.tin?.type===null?"disabled":void 0}})}),t.jsx(B,{}),t.jsxs(qt,{children:[t.jsx(O,{children:f?.address===!0&&!b?t.jsx(k,{}):null}),t.jsx(Ue,{label:A.address,style:{marginLeft:s.sp4,marginTop:$.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(ot,{googleAPIKey:be,formId:K(l),addressToEdit:V?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(_e,{separatorStyle:{marginRight:s.sp4},formId:K(l),cancelBtn:{label:le.cancel,style:{width:"83px"},onClick:G},primaryBtn:{label:le.save,isLoading:T.fetchState==="In-Progress",style:{width:"83px"},isDisabled:Ve()},style:mt})]})})},Ct=o.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  height: 100%;
@@ -45,14 +45,14 @@ import{J as ae,y as ze,aa as Ae,cI as Be,x as w,V as t,bE as ke,ac as Ee,ae as O
45
45
  padding-right: ${e=>$.containerPaddingRight.valuePx(e.windowSize)};
46
46
  height: ${e=>e.isLoading?void 0:"100%"};
47
47
  padding-bottom: 112px;
48
- `,It=o.div`
48
+ `,Dt=o.div`
49
49
  display: flex;
50
50
  flex-direction: column;
51
51
  background-color: ${e=>e.theme.colors.grey4};
52
52
  overflow-x: hidden;
53
53
  height: 100%;
54
54
  width: 100%;
55
- `,Dt=o.div`
55
+ `,It=o.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  background-color: ${e=>e.isLoading?void 0:e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{J as re,ay as On,y as mn,aa as ot,ii as Oe,cI as it,aA as In,ij as oe,ik as ge,il as we,im as ve,io as le,V as n,id as rt,ac as be,ae as st,bE as at,ab as lt,cs as dt,ct,cu as mt,bX as pt,bQ as ut,co as ht,b5 as gt,dr as wt,cw as vt,L as xt,b as ye,x as g,D as Ce,o as t,aW as Pn,an as Pe,aV as ft,u as m,ak as je,cC as bt,cp as Tn,bR as Ne,bj as zn,cF as St,c1 as yt,dI as jt,bc as Ye,bv as pn,p as E,g as Dn,ha as $t,dm as vn,d4 as rn,ip as sn,aq as Rt,bV as Ae,dS as Vt,eC as xn,bM as Ct,dx as kt,a as fn,cz as Mt,iq as Nt,ir as Ot,cM as It,ey as Pt,eH as Tt,eI as zt,ao as Ln,is as Dt,bK as ie,it as bn,gX as Lt,av as _t,au as At,dw as Bt,w as _n,c as Ft,f as Et,aY as dn}from"./index-CZZQCAd2.js";import{a as b}from"./sentry-KKNtqb_g.js";import{n as i,c as cn}from"./mui-1V4DDk1u.js";import{gu as Wt,GP as Ut}from"./zeni-epic-state-BIDncbwZ.js";import{r as qt}from"./core-BPh6D8v5.js";import"./liveblocks-DYmELrdC.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="f7cd8289-2355-4936-8a2e-cb2f13df3c50",e._sentryDebugIdIdentifier="sentry-dbid-f7cd8289-2355-4936-8a2e-cb2f13df3c50")}catch{}})();const An=({steps:e})=>{const s=re();return n.jsx(Ht,{windowSize:s,children:e.map((c,d)=>n.jsxs(Gt,{children:[n.jsx(Kt,{children:d!==e.length-1?d+1:n.jsx(Yt,{})}),n.jsx(Xt,{children:c}),d<e.length-1?n.jsx(Qt,{}):null]},`step_${d}`))})},Gt=i.div`
1
+ import{J as re,ay as On,y as mn,aa as ot,ii as Oe,cI as it,aA as In,ij as oe,ik as ge,il as we,im as ve,io as le,V as n,id as rt,ac as be,ae as st,bE as at,ab as lt,cs as dt,ct,cu as mt,bX as pt,bQ as ut,co as ht,b5 as gt,dr as wt,cw as vt,L as xt,b as ye,x as g,D as Ce,o as t,aW as Pn,an as Pe,aV as ft,u as m,ak as je,cC as bt,cp as Tn,bR as Ne,bj as zn,cF as St,c1 as yt,dI as jt,bc as Ye,bv as pn,p as E,g as Dn,ha as $t,dm as vn,d4 as rn,ip as sn,aq as Rt,bV as Ae,dS as Vt,eC as xn,bM as Ct,dx as kt,a as fn,cz as Mt,iq as Nt,ir as Ot,cM as It,ey as Pt,eH as Tt,eI as zt,ao as Ln,is as Dt,bK as ie,it as bn,gX as Lt,av as _t,au as At,dw as Bt,w as _n,c as Ft,f as Et,aY as dn}from"./index-CGTxoCJp.js";import{a as b}from"./sentry-CuNQ_GI9.js";import{n as i,c as cn}from"./mui-CD7xFf2d.js";import{gu as Wt,GP as Ut}from"./zeni-epic-state-BJYsNVul.js";import{r as qt}from"./core-CDOHNO2G.js";import"./liveblocks-Dn-9djA8.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d45a281a-28ea-4895-9581-9e7dca48a101",e._sentryDebugIdIdentifier="sentry-dbid-d45a281a-28ea-4895-9581-9e7dca48a101")}catch{}})();const An=({steps:e})=>{const s=re();return n.jsx(Ht,{windowSize:s,children:e.map((c,d)=>n.jsxs(Gt,{children:[n.jsx(Kt,{children:d!==e.length-1?d+1:n.jsx(Yt,{})}),n.jsx(Xt,{children:c}),d<e.length-1?n.jsx(Qt,{}):null]},`step_${d}`))})},Gt=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,J,aa as he,b as U,cI as ye,aG as ge,cs as be,ct as fe,cu as xe,ae as ve,aT as we,x as p,f2 as le,f3 as Ce,o as y,bb as $e,cM as oe,y as ne,f4 as De,f5 as Z,cR as G,b3 as H,cN as je,et as Te,u as a,ey as ke,ac as Se,p as V,c as Oe,L as Fe,bV as Le,ak as Ae,bM as Ie}from"./index-CZZQCAd2.js";import{a as R}from"./sentry-KKNtqb_g.js";import{n as g}from"./mui-1V4DDk1u.js";import{bi as K}from"./zeni-epic-state-BIDncbwZ.js";import{W as We,A as ze}from"./BankAccountWarningSection-DNsentDt-DXrUqr4R.js";import{T as Re}from"./MailingDetailsSection-DXKO0Y-W-Ds1E0EkO.js";import{S as Pe}from"./CurrencySelectField-BsReHqXI-Cpmmr7ON.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="283c0a3e-3b97-45b8-9c68-a021dee80295",e._sentryDebugIdIdentifier="sentry-dbid-283c0a3e-3b97-45b8-9c68-a021dee80295")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Le,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,J,aa as he,b as U,cI as ye,aG as ge,cs as be,ct as fe,cu as xe,ae as ve,aT as we,x as p,f2 as le,f3 as Ce,o as y,bb as $e,cM as oe,y as ne,f4 as De,f5 as Z,cR as G,b3 as H,cN as je,et as Te,u as a,ey as ke,ac as Se,p as V,c as Oe,L as Fe,bV as Le,ak as Ae,bM as Ie}from"./index-CGTxoCJp.js";import{a as P}from"./sentry-CuNQ_GI9.js";import{n as g}from"./mui-CD7xFf2d.js";import{bi as K}from"./zeni-epic-state-BJYsNVul.js";import{W as We,A as ze}from"./BankAccountWarningSection-BR28A3L4-D_D37qnN.js";import{T as Pe}from"./MailingDetailsSection-qtLrrSYF-CTuCvSpe.js";import{S as Re}from"./CurrencySelectField-CP7MSQnS-BpXGyUMj.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="996bd060-7d8a-4f51-bc0c-69ec9b7d6791",e._sentryDebugIdIdentifier="sentry-dbid-996bd060-7d8a-4f51-bc0c-69ec9b7d6791")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Le,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Re,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -130,11 +130,11 @@ import{V as t,J,aa as he,b as U,cI as ye,aG as ge,cs as be,ct as fe,cu as xe,ae
130
130
  flex-grow: 1;
131
131
  height: ${e=>k.controlHeight.valuePx(e.size)};
132
132
  align-items: center;
133
- `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Y="internationalDetailsPage",v="internationalWireSection",Qe="mailingAddressSection",ee=e=>`${e}_form`,Xe=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m=J(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,I=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[E,O]=R.useState(!1),[s,r]=R.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=U.getLocalizedStrings().common.footer,{international:M}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,L)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){O(!0);return}const B=d===`${v}.vendorCountry`,q=d===`${v}.vendorCurrency`;q&&L[v].vendorCurrency.selectedOption!=null&&C(L[v].vendorCurrency.selectedOption,j,i);const pe={...L},me=ie(pe,e,B,q,f);S(me,j,i,q||B)};R.useEffect(()=>{const d=T.watch((L,{name:B})=>{B!=null&&L!=null&&ye(()=>se(B,L))});return()=>{d.unsubscribe()}});const N=R.useCallback(()=>{const d=T.getValues(),L=ie(d,e,!1,!1,f);S(L,j,i,!1),O(!1)},[T,e,f,S,j,i]),de=R.useCallback(()=>{E&&N(),D(n)},[E,N,D,n]),ce=T.handleSubmit(d=>{E&&N(),b()}),ue=!ge(w!=null?K(w):w,o!=null?K(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:M.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(ze,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(Y),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:I,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Qe,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(Y),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Ye=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Ye(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
134
- padding-left: ${e=>P.paddingLeftContainer.valuePx(e.size)};
135
- padding-right: ${e=>P.paddingRightContainer.valuePx(e.size)};
136
- padding-top: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
137
- padding-bottom: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
133
+ `,R={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Y="internationalDetailsPage",v="internationalWireSection",Qe="mailingAddressSection",ee=e=>`${e}_form`,Xe=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m=J(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,I=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:P.useMemo(()=>te(e),[e]),values:te(e)}),[E,O]=P.useState(!1),[s,r]=P.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=U.getLocalizedStrings().common.footer,{international:M}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,L)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){O(!0);return}const B=d===`${v}.vendorCountry`,q=d===`${v}.vendorCurrency`;q&&L[v].vendorCurrency.selectedOption!=null&&C(L[v].vendorCurrency.selectedOption,j,i);const pe={...L},me=ie(pe,e,B,q,f);S(me,j,i,q||B)};P.useEffect(()=>{const d=T.watch((L,{name:B})=>{B!=null&&L!=null&&ye(()=>se(B,L))});return()=>{d.unsubscribe()}});const N=P.useCallback(()=>{const d=T.getValues(),L=ie(d,e,!1,!1,f);S(L,j,i,!1),O(!1)},[T,e,f,S,j,i]),de=P.useCallback(()=>{E&&N(),D(n)},[E,N,D,n]),ce=T.handleSubmit(d=>{E&&N(),b()}),ue=!ge(w!=null?K(w):w,o!=null?K(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:M.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(ze,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(Y),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:I,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Pe,{sectionId:Qe,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(Y),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:R.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:R.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Ye=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Ye(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
134
+ padding-left: ${e=>R.paddingLeftContainer.valuePx(e.size)};
135
+ padding-right: ${e=>R.paddingRightContainer.valuePx(e.size)};
136
+ padding-top: ${e=>R.paddingTopBottomContainer.valuePx(e.size)};
137
+ padding-bottom: ${e=>R.paddingTopBottomContainer.valuePx(e.size)};
138
138
  `,it=g.div`
139
139
  background-color: ${e=>e.theme.colors.grey4};
140
140
  display: flex;
@@ -147,6 +147,6 @@ import{V as t,J,aa as he,b as U,cI as ye,aG as ge,cs as be,ct as fe,cu as xe,ae
147
147
  flex-grow: 1;
148
148
  `,ot=g($e)`
149
149
  color: ${e=>e.theme.colors.champion};
150
- margin-left: ${e=>P.marginLeft.valuePx(e.size)};
150
+ margin-left: ${e=>R.marginLeft.valuePx(e.size)};
151
151
  margin-top: ${y.sp3};
152
- `,vt=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,I=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Xe,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:j,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:S,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:I})};export{vt as default};
152
+ `,vt=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,I=m.vendorBasic?.currencyCode!=null||c;return P.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Xe,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:j,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:S,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:I})};export{vt as default};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CGTxoCJp.js";import{a as S}from"./sentry-CuNQ_GI9.js";import{f as k}from"./InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./zeni-epic-state-BJYsNVul.js";import"./mui-CD7xFf2d.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.js";import"./BankAccountWarningSection-BR28A3L4-D_D37qnN.js";import"./MailingDetailsSection-qtLrrSYF-CTuCvSpe.js";import"./LabeledAddressValueField-ig7qAURp-BZ_M96P1.js";import"./MagicLinkTitleSection-B33mBOG9-35QrlIpm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0c328154-8abb-4917-93ed-001e5d4bdc33",e._sentryDebugIdIdentifier="sentry-dbid-0c328154-8abb-4917-93ed-001e5d4bdc33")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),b.jsx(k,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{J as ie,y as oe,b as te,x as c,gO as w,aX as k,V as i,i5 as g,o as r,i2 as m,c as ne,p as re,dC as de,ak as se,u as a}from"./index-CZZQCAd2.js";import{n as s}from"./mui-1V4DDk1u.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="00be525b-2b00-432c-8a7d-860301e80d83",e._sentryDebugIdIdentifier="sentry-dbid-00be525b-2b00-432c-8a7d-860301e80d83")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},P={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{J as ie,y as oe,b as te,x as c,gO as w,aX as k,V as i,i5 as g,o as r,i2 as m,c as ne,p as re,dC as de,ak as se,u as a}from"./index-CGTxoCJp.js";import{n as s}from"./mui-CD7xFf2d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="00be525b-2b00-432c-8a7d-860301e80d83",e._sentryDebugIdIdentifier="sentry-dbid-00be525b-2b00-432c-8a7d-860301e80d83")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},P={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};