@zeniai/web-cockpit-ui 1.14.42-qa → 1.14.43-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 (228) hide show
  1. package/dist/assets/{ACHDetailsPage-C0Ys2JJm-DO_oU6A_.js → ACHDetailsPage-CmrHphBc-CCjHb-P6.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CsR8PRb9-CR5nd_X3.js → AIPerformancePage-DVLZQQLx-zn-23nDO.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-GuppZ3vX-CeDVgzX0.js → AccountInfoPage-imteGSK1-C9QvJYjb.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BLKO0eIw-bPEBjQFC.js → AccountInfoPageContent-DIjQnfrv-BrFyIq6Y.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DxcSHNgE-D2uL0GmW.js → AccountLockedInfoModal-LYiLlZrv-CQT40dfU.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BoS3J4pw-CHY_XEBy.js → AccountReconDetailsDrawerPage-CSzw7Xdo-Bv21u4kp.js} +1 -1
  7. package/dist/assets/{AccountRow-Dj74AzIh-xP3FLMcB.js → AccountRow-DnMX1pTV-DzyPY1GP.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-MQ_e8aZu-B-b5q7Pi.js → AccountsPromoCardStack-BY9-YdTi-oCbxhKHP.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-LpGynQhq-CazlktNs.js → AddAddressForCardDrawer-BY8rla0d-DeNAiW75.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-wtm2Oua5-BVXzwSjP.js → AddToWalletPage-BND3tkMk-DnGY-X4j.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-e98Qmrut-BLJFH4aK.js → AgingReportsPage-C1HG4wzc-D_51o2Vw.js} +1 -1
  12. package/dist/assets/{AllUserItems-Cyr74U6h-BEjcecnQ.js → AllUserItems-rYc34keO-Cx2yE3IC.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Kjz7NPLx-BSVEV7Qf.js → ApAgingDetailPage-CNG6prpn-C4L_FUMN.js} +1 -1
  14. package/dist/assets/{AppBasePage-DrR3bM5Z-DwrgkTN9.js → AppBasePage-Dk4672v_-krp90oaN.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-C2GlTktJ-BervwsJr.js → AppDrawerContent-Y99P1DCR-DnO5NpXg.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Cy9uHg-R-sb01mezt.js → ApprovalRulesSettingsPage-CO8-E7dA-D6eiQ5KV.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CtxyhI9X-B5YCVZL2.js → ArAgingChart-CsuanjH1-DSoDp9i5.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-GX7S1gNm-I8t7YWod.js → ArAgingDetailPage-D6CHRGxo-d25mgZbl.js} +1 -1
  19. package/dist/assets/{AttachmentView-C8CksG-9-hqMTc_ZB.js → AttachmentView-B3p8mkIi-DG3k711N.js} +1 -1
  20. package/dist/assets/{BankAccountSection-8JPKANMP-C-OF_cda.js → BankAccountSection--gqsJj6B-UPd-Yh1u.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-HW7t6lPN-BxYKpJiW.js → BankAccountWarningSection-BM-Bu8CI-BPZDfXvA.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-C_jyBPLn-Wg4RTCY7.js → BankConnectionsSettingsPage-B_RVLsvX-Chn1l7AE.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BwuHMPBb-BthKHLXO.js → BillDetailPage-Bu20m9VL-BUA39mWG.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-9RqkaWf2-Ce6S7eTt.js → BillPayApprovalRuleDetailPage-CR168utn-CkPCJz8P.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CZmACduz-DMDHXhbZ.js → BillPayApprovalRulesPage-DQbLEENj-DZMa4MYn.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-C2m0GTw3-BiegkzcQ.js → BillPayPromoPage-DqUNPVeq-DgNZSmr8.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-C71BRWUw-C_vuAOSC.js → BillPaySetUpPage-BO8V-KVh-B0fHP_CJ.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-Gc3cUKmE-ClnSz0Xy.js → BillingSettingsPage-clzpJwrI-D8bCm6Ri.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CO1oJuvH-BWr9AvlU.js → BillsBulkReviewDrawerPage-CFldRiX8-CLbuQuW0.js} +1 -1
  30. package/dist/assets/{BoxItem-D09XMKDc-Bw3kfbzM.js → BoxItem-CnpQOIVn-CNkfS6h2.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Ef4KSPWc-FGSd4FWB.js → BusinessVerificationPage-DKmaCoDK-pfIQg2S-.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-Chba_z2--CnmWtDil.js → CardNumberSubText-uaXIushe-Bx2nZV75.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DAM-IJ8V-msI_KaQs.js → CashbackDetailPage-DrW60zjw-Dbf3vfs6.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-U_ZuntGp-DdRX435G.js → ChargeCardDetailPage-X1HoUp96-DOMbUjNw.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DJ5TbLO--DC8i8t37.js → ChargeCardListPage-_0lUmAxM-B3fy-mzD.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D7BV3Iv9-C5GhRKBn.js → ChargeCardListTable-mfIUvL0A-CPKekIhI.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CMqzRnza-CJ_g_fWc.js → ChargeCardPromoPage-Bo2JJ5g4-CLbzwd3s.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-dOz2soLF-BNyPEoCo.js → ChargeCardSetupPage-D9IikPGO-RTClLCON.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-S2JH9s6i-DZCRS7UG.js → ChargeCardStatementsPage-Ck3qug5N-Bb-MPmDp.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-Bv0OpE88-aSHBcI_8.js → ChargeCardUtils-BEBqV4Ri-D_Hnspw1.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-4Rv__bdV-BGiRorBN.js → ChaseOverlay-CauClKmi-CFbGjU4W.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BKogbkJv-BgGR0y3z.js → CheckDepositDrawerPage-DmszT7bh-rDvzmJWy.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-B_qvVX0p-BzLwdCFV.js → CollapsableReportTable-CHthdzdj-ChiC9ii3.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-aAwv9WfC-CXS756Yr.js → CompanyOfficerDetailsSection-BEb3_zYO-DcsmBnYA.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-DchSKG4l-DSlNuaik.js → CompanyPassportCard-FhjZyorS-BMpg0d2K.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-DLIJn7Fp-BtIHuALv.js → CompanyPassportPage-BlhNB8Ah-VPSKwD76.js} +1 -1
  47. package/dist/assets/{CompleteProfile-Bf5sNhdg-CmWt1hc0.js → CompleteProfile-Bk9Oyn1_-BwRdLNNT.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BPWFB4Ty-CXWnM85o.js → ConfettiBurst-DZLI1m4w-CVaN18FA.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BTWihvJ--DyiROacC.js → CreateOrEditVendorPage-C3CFRcUl-Cs6KHLA1.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-B5p_onzw-DA0RqcSj.js → CreditCardPaymentDrawerPage-Drl9yZi5-gMAp6Fc4.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-CTpwe7CS-BwlpGWY3.js → CreditCardPaymentPlgSection-D-Ptzdeo-DV96PY8N.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-Dn9EcyiE-BaNsJGR4.js → CurrencySelectField-CTAalWEI-CLkCFXC5.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage--C7Nj5oq-BhxcUwoR.js → CustomerOnboardingActivationPage-BkPgpEPw-HvYys8Le.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-BAZbPHa2-HrAOAIJ-.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BEldzNUC-DgSmlNNg.js → CustomerOnboardingDetailPageSkeleton-DzG4nVbk-Dl9zYjyQ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BWPx0oGa-CH7bgFJQ.js → CustomerOnboardingNoStepsPage-Czttv30c-DMfPS84t.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CQsXgrSi-DtqPleyX.js → CustomerOnboardingPage-CNXBzMG5-DJK4W9F2.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Ba-hBJDr-CRi7Fs7-.js → CustomerOnboardingProductSuitePage-BArjfUBb-C4vD90lw.js} +1 -1
  59. package/dist/assets/{Dashboard-D9a8ZSVk-CqZBwIFD.js → Dashboard-DyA5sBz3-BbKJ3Sxy.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DC7almyE-CxGTnBBu.js → DashboardReportPage-DvUvM8lA-BLhDX9Wv.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-BZPfkv0W-C9IxzdCW.js → DashboardSidebarBackgroundAnimation-CAa8yETt-jTqz5gzA.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-D6Pxnskx-CkQ-E6uU.js → DepositAccTransactionItem-VZZvr2Gl-jIVsrsNC.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-RPv15wO3-C1khFOLd.js → DepositAccTransactionListPage-xt11Y65Z-D4SLXGqA.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-C7SMSdym-C6AsUgPa.js → DomesticWireDetailsPage-DmE3TVQk-DloHnEEV.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DSuuIFd2-CtAaHiDX.js → DownloadOverlay-DBhAvmRv-CCJvxfZh.js} +1 -1
  66. package/dist/assets/{DrawerPage-G3indLUm-KDBiLr1g.js → DrawerPage-BSy9zQ8e-BnYB7jC2.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-B3OUzvId-DupE09Ur.js → EditPeoplePage-DyaHesFS-m0sJIT4p.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-BDtXtGDU-BcBuZIRV.js → EditReimbursementDetailPage-EEKR__zQ-C-PImemb.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-Duk7QFjU-BxvKwYnJ.js → EntityDetailPage-BECoxBfR-C7abLrXu.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-Cr7WMJ8D-DJAnI7E2.js → EntitySummarySection-wzMCZjZE-DrhMPVSS.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-hpARiJiY-BasbCxne.js → ExpenseAutomationOverviewPage-MlPZZ_Mz-Dd7OsYXY.js} +1 -1
  72. package/dist/assets/ExpenseAutomationPage-mdYWsafr-qx5nkQ54.js +1650 -0
  73. package/dist/assets/{ExpressPayPage-I-QL4uh--D9TF_lu8.js → ExpressPayPage-Dg03hVzu-B2avGC_K.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-BHb59Q7j-DmfTfLoX.js → FeaturePreviewPage-BePsYONK-B2yH8Fph.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DONqc9yn-D0mWYYLp.js → FollowStepsSection-BqqrsOIP-DBSaHnE2.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-BFAgZIJv-CjcolAPg.js → GlobalReviewListPage-BVpHhHli-BVaUXk67.js} +1 -1
  77. package/dist/assets/{HelpButton-DoSu6q8h-D2QNiRS_.js → HelpButton-DXDj1Qju-DnQQURkZ.js} +1 -1
  78. package/dist/assets/{InformationCardStack-JtvRODJe-BckRaEiX.js → InformationCardStack-CauWOEJQ-QIe84Z5T.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-BEceNZZE-DZzBavNp.js → InsightsCardStack-C-52awo8-BlPifdQR.js} +1 -1
  80. package/dist/assets/{InsightsSection-KsnkYRQw-B7Aa3iSu.js → InsightsSection-Bq2ZlQ8--bZpQBOUU.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-D4cEY5iJ-Xpo32vjI.js → IntegrationsSettingsPage-CQCxjOHh-NHelX_xc.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Tf_vaD2v-DshYJiDx.js → InternationalWireSwiftDetailsPage-Bi3ERJ96-CaFnSRYh.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-qIIqh0iv-Bta_KUnQ.js → InternationalWireVerificationPage-DhX_OpJ6-BpviOc29.js} +1 -1
  84. package/dist/assets/{InviteFormPage-ByA4uyh2-C8GZgkKz.js → InviteFormPage-BJkMxjIE-C7G5Q0E2.js} +1 -1
  85. package/dist/assets/{InvitePageListView-0_dBCqFt-BFjmWrp0.js → InvitePageListView-0zD-YAJA-CIxbN6SJ.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-C4d-Ov5z-BxDTKzbB.js → InvitePeoplePage-CvQNFpjb-DB6AeZGB.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-MEPQPiCt-th9B9DiY.js → InvoiceUploadSection-BrnUjxIH-DvK-NqPJ.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-C77SyJR9-DFBBjnIj.js → IssueChargeCardPage-agEqgGPg-DtDWJTwt.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-DKKL0jnt-Df_7m6cr.js → LabeledAddressValue-DphNZz4y-BbhziMPr.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-Ca10mEAm-BYXlyxvu.js → LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-BYk2-ixd-BEj9gH8B.js → LabeledControlledCheckBoxField-CBRqbUDe-zjklDavb.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DMhTj1GM-CwLykRyb.js → LabeledCreatableSingleSelectField-DOjtbusw-O47c6W6Y.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-DX4zVKkz-WJvH9-Ei.js → LabeledDocumentField-Bxggz66t-Cwirfoo_.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BoizuD7H-v4Q8CQfZ.js → LabeledDropDownFormattedTextField-1dqcE0E4-BkupDBAp.js} +1 -1
  95. package/dist/assets/{LabeledText-4NNrEynJ-DGSkmo9K.js → LabeledText-BJFW2h6S-DNf9x09V.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DaXDpM0N-DvOiGuc2.js → LabeledUserSingleSelectWithSubtitlesField-CLzwYw4O-BiN7ZdIi.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-zRamZWIQ-Dvg7Ba_y.js → LabeledZeniRolesDropDownField-DGsJbILm-D0lgOjM8.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-FMYLsvT_-CYlVNKOt.js → LinkJETransactionPage-CvdbDO5J-BQoBCpbx.js} +4 -4
  99. package/dist/assets/{LowBalancePopup-Ig5iJGIg-KnO8OBAh.js → LowBalancePopup-BhLxnyK0-BxHV5E9i.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-Cf-TvH4n-B0L8_YVG.js → MagicLinkACHDetailsPage-CcD-_iOV-D_4ibNuj.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CLJo-rez-CdiJYIeQ.js → MagicLinkDomesticWireDetailsPage-C-YfhiNr-BjXKGnQe.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-cD6L4u-C0367lWO.js → MagicLinkInternationalWireDetailsPage-DXZBFcUc-DgGAF9HQ.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-cJ0PjYEe-CdKZYAi2.js → MagicLinkSuccessPage-OikwemO4-C9bkoZsD.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Dc8RKV1p-CofIGuzn.js → MagicLinkTitleSection-CcsVjT5g-CoREkk_L.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-BD9QWumq-BBGbTuq8.js → MailingDetailsSection-ClULuPML-Q3RQkre6.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-D10SioCO-1_HeRLgo.js → MeetingCalenderPopup-DJHrBVXi-BogUsqxG.js} +1 -1
  107. package/dist/assets/{Menu-DV3oFAip-lRllgVp1.js → Menu-C3EXvt9P-B2-q6Czj.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-jrPeCDe3-DnlrQZ-B.js → MyBankConnectionsSettingsPage-Cn-dlR5V-B_zrG4ku.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-CpaPeIYq-b4lVf6j4.js → MyPendingActivationChargeCardListPage-B3xeafnf-ItSEItx9.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-DLj2PeG9-CmYpnx4K.js → MyProfileSettingsPage-CcyS0ijJ-CPWTUrys.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-CilKdL1D-CUI5Ot55.js → NavBarWithPicker-C3MsVwsg-CBrULXjZ.js} +1 -1
  112. package/dist/assets/{NavigationArrow-DvGjNVsn-t1BRpFFN.js → NavigationArrow-DSMn_azz-zpYBMo3g.js} +1 -1
  113. package/dist/assets/{NavigationDots-BZNvrGBo-Lo2Iyk3a.js → NavigationDots-BiiEFlFj-zDNVZc4v.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-D5ESBBO5-D03F13z-.js → NewGlobalMerchantPage-DJ0zT8Xy-DWdOFNFW.js} +1 -1
  115. package/dist/assets/{NoDataChart-D9tQhnyu-CFEwB6jg.js → NoDataChart-O6Mg_gf4-DcekUaqa.js} +1 -1
  116. package/dist/assets/{NoDataTable-8FGbkVty-aqfoH-V1.js → NoDataTable-BgKg_U0s-DNuaeMW7.js} +1 -1
  117. package/dist/assets/{NotFoundPage-D8qvMFgl-BdhhCh3s.js → NotFoundPage-DA6cvlNW-DHFTqUjU.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-BSJTBlX6-CxUhyf7Q.js → NotificationSettingsPage-BwqCG-6J-DqpXFIhc.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-EynMAcn9-BYkKFFfF.js → NotificationsListConfig-DqM-Z8oE-CuDCUFPm.js} +1 -1
  120. package/dist/assets/{NotificationsPage-d4HJEE7S-fSuBY2pQ.js → NotificationsPage-iYF222-C-C2fO1XcZ.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-CmuEz33W-9eGP2hA8.js → OpExByVendorPage-BwekpbHo-DhL9GePe.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-Bjkff-6V.js → OverlayContainerPage-Bmu909Fo-Bsb5IMg7.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-C7WaIZ8e-CVd9unuB.js → PandLWithForecastPage-B7IxSSMo-DudAcLk6.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B3m8zs_b-BX8-54k0.js → PaymentAccountSetupBillingAddressSection-CJk4EUwr-D0h0XeO4.js} +1 -1
  125. package/dist/assets/{PeoplePage-BN8tiBew-DktNBsvw.js → PeoplePage-97Qe6dqr-B3BHOXBh.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-BD1u1-Or-_9hkXIsm.js → PortfolioAllocationFormPage-Df2lZK30-CgKreoEg.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-fLO6-kOh-DqBirAUP.js → PortfolioDetails-CGVqC5q--BeoFkSLS.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-RHO5BWU--CKeK3hr3.js → ProductsCarousel-DqvLLayZ-DeMZpSQB.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-Bm6GGzhn-NcCsm_GX.js → PromoBaseCards-Bq-mwvkh-DjLYfAja.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-Dp_Zkpup-Bj92J1hC.js → QBOConnectionDialog-DWZd5o0q-uzGQQJYB.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-C1hBKDG3-DuCsXQ2D.js → QBOSetupSection-B_V2Y6DW-SjwVzAFH.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DFUyL8tS-Cdi6rK0Z.js → ReimbursementApprovalRuleDetailPage-hWUoXT59-C-Kz7IOK.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-CGb7oMjB-Dy2cQd1k.js → ReimbursementApprovalRulesPage-C20mPnJH-UI1oZkMb.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-ByD43ffh-DbazdLJO.js → ReimbursementDetailPage-DAVdVUp0-C07knSwN.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-CPFAYaW8-BD2qUwGu.js → ReimbursementPromoPage-TKdLARUD-CCC9lI90.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-B_jUtf6N-BFBLA9Wl.js → ReimbursementSetUpPage-CW10ZPs7-CoVdJvFs.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DU-QA2n3-B6KRALO7.js → ReimbursementsBulkReviewDrawerPage-_rgixsBG-1ORB6LSI.js} +1 -1
  138. package/dist/assets/{ReloadCard-HsDGbgTn-CogYt9k2.js → ReloadCard-Bzt6gIzi-DStfhNjw.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-BzFUam8T-BhaKwC2u.js → ReportTableViewSelector-CPc3yRAI-rxPTNVbQ.js} +1 -1
  140. package/dist/assets/{ReportsPage-MQSNDA98-BzJpYpJ_.js → ReportsPage-DIHjl3Xd-DvAuC-5b.js} +1 -1
  141. package/dist/assets/{RevenueChart-BzYEiXeP-CqwHafPG.js → RevenueChart-MkoD0EoE-Da8rUny4.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-w2tTvIFQ-Cs9m1WmD.js → ReviewDetailsPage-B96vIWt9-DkFTWrbI.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-DbYrvPld-DqEZFPx8.js → ReviewOverlay-CKOAcLzJ-JwWyu_Z9.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-B_Ivheco-CS2u-SUl.js → RoleWithToolTip-BiydziFE-Q-xg-fVJ.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CSiXckiF-1K9HNlY8.js → ScheduleDetailsFixedAssetsPage-Ce2BDLCX-BfoIrqo1.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-BUprw9Sk-DvPPq-1B.js → ScheduleDetailsPage-ClK-ymjD-Bt58f9EO.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-DnIgU9m6-DHuLrlek.js → ScheduleSequenceTable-BOFaTbv5-88y97LwV.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-BUTzMwOP.js → ScreenRoutes-D1x9fjK_.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-DDxjcjeg-Nsmn_Kay.js → SetUpAccountSection-DPEjJt-s-DbxecFrv.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-BSWh5Hvi-BOsknp6D.js → SetUpDefaultSection-Br-a1ECs-Cis1Rx0T.js} +1 -1
  151. package/dist/assets/{SignIn-CImCEnZS-C_paDK6W.js → SignIn-B7p2vrI4-B0gBOkIG.js} +1 -1
  152. package/dist/assets/{SignInScreen-C-BLiTmk.js → SignInScreen-DWtytZ4U.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-B61K65wh-iO25bbcu.js → SpendManagementListViewPage-Ds1WRCNc-BEPVq15t.js} +11 -11
  154. package/dist/assets/SpendManagementPerTabPage-uBi60ESx-GN_GmWoa.js +754 -0
  155. package/dist/assets/{SpendManagementSection-Ddoo9sSg-C6BGVA5R.js → SpendManagementSection-CESND8ho-CRWiaZIA.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-GjJmiN01-u7mV3Ko6.js → SpendMgmtSetupAccountSection-CiPoUdg_-D55PFMrP.js} +1 -1
  157. package/dist/assets/{StatementItem-D_ctLWr0-BGFGp8G0.js → StatementItem-BSfAH9fl-Bs-0cP-o.js} +1 -1
  158. package/dist/assets/{StatementsPage-D1M95WeY-CfQLlRfA.js → StatementsPage-BQ-wkg9f-CI_Wd3xM.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-ZC7lyTov-CK4-copc.js → StatusSwitcher-CoX1TvcC-BX39ulZO.js} +2 -2
  160. package/dist/assets/{SubTabSwitcher-BNFnbB_T-COPPhMcX.js → SubTabSwitcher-C4Kvmep7-DBYw0ksy.js} +1 -1
  161. package/dist/assets/{SummaryCard-CSo1L2R4-C8XHG3oH.js → SummaryCard-Cdh_w38m-DLTVVQZ4.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-CAcMcS83-Dzo6IaaJ.js → TaskManagementPage-CCiARHPO-CUVWW_h-.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-CNdJhUPl-LVlhLdwC.js → TimeRangeSwitcher-CMNnx0hW-D2iXnh9p.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-B7t79hiQ-v3qnXON1.js → TimeframeSwitcher-BAkn3cys-Bpob1MlE.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-gywVFoaK-Dq8bdSg_.js → TimeframeSwitcherWithToggle-Bp8FBsnD-mJytFc_W.js} +1 -1
  166. package/dist/assets/{TopExCard-D_LHVo5q-CiYt7BMD.js → TopExCard-CH7QX8Xe-DZTLNcIB.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-DuiVBT_3-DpY9bqTT.js → TopExDetailPage-CJuOpApW-CCZjCdMZ.js} +1 -1
  168. package/dist/assets/TransactionDetailPage-280hbOwA-DbVllBjK.js +912 -0
  169. package/dist/assets/{TransactionList-Xd2JupaK-Dyt3TjcD.js → TransactionList-BV18tWaE-vlDng4jw.js} +1 -1
  170. package/dist/assets/{TransactionListBig-CnJaFkxR-DoCpmZbP.js → TransactionListBig-DmVgWxvf-s2_CLDsp.js} +1 -1
  171. package/dist/assets/{TransactionListPage-DJXFQaro-D4RWLZFg.js → TransactionListPage-CE61eqZh-7Ng-Dwo6.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-Yd_VuyUP-BFDTNSi7.js → TransactionVendorDetailPage-CKRUJzG5-BfxXE0nd.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-DAQ23FUW-BiZn6wvM.js → TransferDrawerPage-DdIXX8dR-QDp_h_zO.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-D7PkIffG-BqGHTe2l.js → TreasuryOverviewPage-D9NcFBhg-CiLY6I-B.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-BjVUBF-M-PIDTDbdn.js → TreasuryPromoPage-BKXMayjO-DOitctTn.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-CTwhrB6V-BUWRZA3R.js → TreasurySetupPage-Bo24F7wL-DZFA_IDY.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-jvmgqTxl-BXKXw881.js → TreasuryStatementsPage-DUKtmwwf-CPfJrl6T.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-CtKw-_Ab-enlCPtr8.js → TreasuryTaxLetterPage-vqThZpY5-h8GfcnUs.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-HDfVKjSA-0NrqZs7l.js → TreasuryTransferOrReviewPage-1Kqod57a-BftVr2x0.js} +1 -1
  180. package/dist/assets/{TrendChart-BqU6zv7L-DKZM8Asl.js → TrendChart-uCE73Vf8-DAeYNFwV.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-CbzZEtLk-BWdNScRD.js → TrendWithTransactions-lNYrtUkf-Didi-rkf.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-BqfWXEzv-DliYz2eG.js → UncategorizedAccountsMappingPage-CbLMkBab-C6ijUMSu.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-DOt0PQxi-CfxjJMKV.js → UnitIntegrationPage-DzfchgLS-BhcBVaTd.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DCG_biA8-BJmhb05s.js → UploadAdditionalDocumentOverlay-CJwjYpvy-BM1gvPaq.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-AFJ4ji6z-Bm5FuZX1.js → Vendor2FAPopup-BDatjVhv-xckjR8GQ.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-CMZezqhj-vkz7wU-U.js → VendorACHDetailsPage-BTo9s38E-BkO_uBxu.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-iMWNwLtE-C2zNvoxa.js → VendorDetailPage-DOdRZKwE-CiF7RbY2.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-LLQSi6rq-Cc7eNflp.js → VendorDomesticWireDetailsPage-Ch_HedkY-C-FBXIHe.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BFWuxMl8-C75iU2LR.js → VendorFiling1099EditablePage-ChgTi2cq-bvFFEvbb.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-G_Cr6q5s-D3fFbYJs.js → VendorFirstReviewPage-C_HBOo29-ChTUQzmE.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-DReuPGpX-yLpvmkH9.js → VendorInternationalWireDetailsPage-Ct42LbtQ-XCBxG3kr.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CmAzQ-7v-C0MV63fk.js → VendorInternationalWireSwiftDetailsPage-CalHOqYH-BbZmA4Jh.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-Cjwpb7Ej-Dbu7JZ5x.js → VendorsAccountsSection-Briqd_pt-DRwMIKOs.js} +1 -1
  194. package/dist/assets/{VerifyDevice-CvJ2zJdk-Daj-imTj.js → VerifyDevice-DxP4a4YR-WzF7jf1V.js} +1 -1
  195. package/dist/assets/{VideoPlayer-9UKbocWs-D6ldVshR.js → VideoPlayer-DqRss8fV-CPfVjMmq.js} +1 -1
  196. package/dist/assets/{VideoPopup-DfQxE-EQ-C_Goo9ju.js → VideoPopup-CwEiOVHQ-BFbb_zgA.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-2QsB6DYE-BNokYOvg.js → WarningsDrawerPage-Cdd0mag5-jaWJbGg5.js} +1 -1
  198. package/dist/assets/{ZeniAccountDetailPage-gFXGgRzS-iXevsl83.js → ZeniAccountDetailPage-5sn9Wphj-DKdbO4Vy.js} +1 -1
  199. package/dist/assets/{ZeniAccountListViewPage-Daboqhbe-H893CIj9.js → ZeniAccountListViewPage-BLCYWphf-M5fLX64J.js} +1 -1
  200. package/dist/assets/{ZeniAccountNavBarPieces-DhpbtWHu-UFQA7PsK.js → ZeniAccountNavBarPieces-Cwo5QtoT-D1SMOFic.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-Df5MahOc-Duh5-gql.js → ZeniAccountPromoPage-CKQOu6Ab-CpoFwUjo.js} +1 -1
  202. package/dist/assets/{ZeniAccountSetupPage-DLlRCOCj-BdXC0xKV.js → ZeniAccountSetupPage-BW1l7qJf-Bv0SVArc.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-D-Z193Re-Bvi63P7L.js → ZeniCopyright-B6fSw5kZ-CRgQ6kVa.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-D8dT_-Hq-D83Z4tyt.js → ZeniTransferAmountSlider-DgkjDK9D-CVt2TkCY.js} +1 -1
  205. package/dist/assets/{analyticsHelper-c9SRwhe3-snrr44LY.js → analyticsHelper-BIYs-BU5-BBbQGYqz.js} +1 -1
  206. package/dist/assets/{analyticsHelper-CqRk-xPI.js → analyticsHelper-DzajxkoA.js} +1 -1
  207. package/dist/assets/{chartTypes-C2jC2nzT-Dd9Dm_ev.js → chartTypes-BFc-FQm9-BY56epjm.js} +1 -1
  208. package/dist/assets/{commonDimensions-CtVQ1dPI-DOovbubg.js → commonDimensions-B_ShoU61-B2BQjped.js} +1 -1
  209. package/dist/assets/{detailCommon-BBImn49A-CpSlTw_V.js → detailCommon-CoFrLjgw-BialcQVh.js} +1 -1
  210. package/dist/assets/{downloadPdf-BvdzZp_S-nn1wV9jH.js → downloadPdf-yID9qiGz-Dx8pLF3I.js} +1 -1
  211. package/dist/assets/{index-DxZ9Uw7o.js → index-DVFYvj7P.js} +8 -8
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-CKsE235C-Chr95ITX.js → mapLoadingInProgressToTreeNode-xaG_j34l-D4x68Lia.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D1DheCOl-CKCzpetC.js → mapSectionWithAcOnlyToTreeNode-Cf1Q8iLQ-Ck75U1M4.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-DkIeEOlL-BXF8YPij.js → mapSpacerToTreeNode-CiLMcagY-091j94NC.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-Vy-w7j2m-CAANn3O8.js → mapTimeframeBalancesToTreeNode-BpcCExFt-gIWGlkbh.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-BhmM7oKt-CuzK25Ny.js → mapTimeframeBalancesToTreeNode-VuMYRsaA-EBj_hl8w.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGrrLYwc-c_ZMN85O.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Cfz6o8XS-DL8hiZjS.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-BdeWiors-CAMQCzY4.js → toCOABalancesWithID-CL2W-2Ks-CpVda8Yv.js} +1 -1
  219. package/dist/assets/{toChartData-BCFss2y_-Y9xIvEBL.js → toChartData-CD4rOlNx-BE4t5CeX.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-BJcGoSGt-Ho84Gr1_.js → treasuryColorHelper-DHqBe6al-DjRQFofZ.js} +1 -1
  221. package/dist/assets/{uploadAttachment-PMsRrXUz-CsErn5g7.js → uploadAttachment-Bqf6VI3L-BUGZbe1u.js} +1 -1
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-DPzJ4iG4.js → uploadReceipts-dxsKhm9I-ss2G_wQJ.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +3 -3
  225. package/dist/assets/CustomerOnboardingContainerPage-BDHp6tYk-FIpE3fG6.js +0 -1
  226. package/dist/assets/ExpenseAutomationPage-BC5qS_i3-B75wBbZR.js +0 -1650
  227. package/dist/assets/SpendManagementPerTabPage-Bxo7BTP3-CTkuSFDU.js +0 -754
  228. package/dist/assets/TransactionDetailPage-BWbWafDA-_L4jc956.js +0 -912
@@ -1,4 +1,4 @@
1
- import{e as I,cn as W,cv as g,j as o,W as U,ct as k,C as l,eT as N,R as O,q as i,o as s,f as A,X as q}from"./index-DxZ9Uw7o.js";import{n as d}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},V={infoLabel:new q("extraSmallRegular","smallRegular")};function G({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showUploadSuccessAnimation:R,showWebCamPopUpCloseIcon:L,updateFilesEntity:j,onDeleteFile:C,onEditFileName:M,onFileSizeError:B}){const a=I(),{formState:{errors:m}}=W(),h=g(m,n),D=g(m,`${n}.fileName`);return o.jsxs(X,{size:a,style:c,isDisabled:r!=null,"data-testid":U("document-field",n),children:[o.jsx(k,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(J,{labelWidth:e.width,size:a,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:j,onFileSizeError:B,onDeleteFile:C,onEditFileName:M,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:R}),h&&o.jsx(K,{size:a,isError:h,children:D&&p!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const X=d.div`
1
+ import{e as I,cn as W,cv as g,j as o,W as U,ct as k,C as l,eT as N,R as O,q as i,o as s,f as A,X as q}from"./index-DVFYvj7P.js";import{n as d}from"./vendor-rkTZJa59.js";const t={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},V={infoLabel:new q("extraSmallRegular","smallRegular")};function G({label:e,isDisabled:r,isOptional:u,style:c,file:p,name:n,registerOptions:b,additionalInfoLabel:f,acceptableTypes:x,sizeLimit:y,filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:E,hasError:F=!1,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showUploadSuccessAnimation:R,showWebCamPopUpCloseIcon:L,updateFilesEntity:j,onDeleteFile:C,onEditFileName:M,onFileSizeError:B}){const a=I(),{formState:{errors:m}}=W(),h=g(m,n),D=g(m,`${n}.fileName`);return o.jsxs(X,{size:a,style:c,isDisabled:r!=null,"data-testid":U("document-field",n),children:[o.jsx(k,{isDisabled:r,label:e.label,isOptional:u,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:e.width??"auto",...e.style}}),o.jsxs(J,{labelWidth:e.width,size:a,children:[o.jsx(N,{name:n,filesEndPoint:P,authParams:E,registerOptions:b,file:p,sizeLimit:y,acceptableTypes:x,isDisabled:r==="disabled"||r==="readonly",filemetadataPayload:w,deleteFileStatusById:$,updateFileStatusById:z,hasError:F,updateFilesEntity:j,onFileSizeError:B,onDeleteFile:C,onEditFileName:M,placeholderText:S,showPhotoPicker:v,useMobileCam:T,showWebCamPopUpCloseIcon:L,showUploadSuccessAnimation:R}),h&&o.jsx(K,{size:a,isError:h,children:D&&p!=null?O.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const X=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as R,u as T,cn as p,cv as V,j as r,o,cw as O,bn as P,v as A,fO as F,f as l,X as M,b1 as U}from"./index-DxZ9Uw7o.js";import{n as i}from"./vendor-rkTZJa59.js";const X={infoLabel:new M("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(Y,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:A.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(q,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(B,{children:r.jsx(J,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const Y=i.div`
1
+ import{e as R,u as T,cn as p,cv as V,j as r,o,cw as O,bn as P,v as A,fO as F,f as l,X as M,b1 as U}from"./index-DVFYvj7P.js";import{n as i}from"./vendor-rkTZJa59.js";const X={infoLabel:new M("extraSmallRegular","smallRegular")};function Q({isDisabled:e,label:m,formattedText:s,dropdownStyle:f,style:b,additionalInfoLabel:x,showAdditionalInfoLabel:y=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:j,defaultValue:u,isSelectDisabled:v,menuPlacement:k,name:E,placeholderLabel:S}){const a=R(),h=T(),{formState:{errors:D}}=p(),d=V(D,s.name),{control:z}=p(),C=t=>typeof t=="string"?t.toLocaleUpperCase():t.toString().toLocaleUpperCase();return r.jsxs(Y,{size:a,style:b,isDisabled:e!=null,isError:d||n,children:[r.jsx(K,{windowSize:a,style:{width:m?.width??"auto",marginRight:o.sp2},children:r.jsx(G,{style:{width:"auto",...f},children:r.jsx(O,{name:E,control:z,defaultValue:u.dropDownValue,rules:j,render:({field:{value:t,onChange:I}})=>r.jsx(P,{pickerValues:u.dropDownList.map(c=>c.code),valueToLabel:C,selectedValue:t??void 0,isDisabled:e!=null||v,onPickerSelectionChanged:c=>{I(c)},menuPlacement:k,titleTextStyle:A.standardRegular,titleColor:h.colors.hero,valueOpacity:1,backgroundColor:h.colors.grey5,placeholder:S})})})}),r.jsxs(q,{children:[r.jsx(F,{...s,style:s.style,isDisabled:s.isDisabled,isMasked:!0}),(y||d||n)&&r.jsxs(g,{size:a,isError:d||n,children:[w===!0?r.jsx(B,{children:r.jsx(J,{})}):null,x]}),$===!0&&r.jsx(g,{size:a,isError:!0,children:L})]})]})}const Y=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as b,j as r,W as s,ct as u,C as l,q as t,o as a,y as m,X as x}from"./index-DxZ9Uw7o.js";import{n}from"./vendor-rkTZJa59.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
1
+ import{e as b,j as r,W as s,ct as u,C as l,q as t,o as a,y as m,X as x}from"./index-DVFYvj7P.js";import{n}from"./vendor-rkTZJa59.js";const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},f={infoLabel:new x("extraSmallRegular","smallRegular")};function z({label:e,value:g,additionalInfoLabel:d,style:h,infoLabelStyle:p}){const o=b();return r.jsxs(c,{size:o,style:h,"data-testid":s("labeled-text",e.label),children:[r.jsx(u,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(o),marginRight:i.labelMarginRight.value(o),marginTop:i.labelMarginTop.value(o),width:e.width??"auto"}}),r.jsxs($,{labelWidth:e.width,children:[r.jsx(w,{"data-testid":s("labeled-text-input",e.label),children:g}),d!=null?r.jsx(y,{size:o,style:p,children:d}):null]})]})}const c=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as U,j as l,W as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as fe,u as xe,fy as be,R as k,X as we,b4 as H,fz as K,bW as _,fA as X,b1 as q,f as F,v as B,y as Y,fB as $e,n as ye,w as ve}from"./index-DxZ9Uw7o.js";import{n as r}from"./vendor-rkTZJa59.js";import{T as je}from"./RoleWithToolTip-B_Ivheco-CS2u-SUl.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
1
+ import{e as U,j as l,W as Q,ct as me,o as s,C,q as m,cn as Z,cw as ge,cv as fe,u as xe,fy as be,R as k,X as we,b4 as H,fz as K,bW as _,fA as X,b1 as q,f as F,v as B,y as Y,fB as $e,n as ye,w as ve}from"./index-DVFYvj7P.js";import{n as r}from"./vendor-rkTZJa59.js";import{T as je}from"./RoleWithToolTip-BiydziFE-Q-xg-fVJ.js";const ee={selectContainerMarginHorizontal:new C(m[2],m[3]),marginTop:new C(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as M,j as l,W as A,ct as J,C as m,o,q as n,cn as U,cw as G,cv as q,u as X,v as V,b3 as ie,l as I,R as te,fv as se,fC as ae,U as ne,ah as de,f as D,b4 as B,ap as ce,b1 as pe,c6 as ue,fD as F,bO as K,Q as he,w as Y,y as ge,n as me,fn as be,f9 as fe,aS as xe,fo as ye,aC as we,fE as ve}from"./index-DxZ9Uw7o.js";import{n as d,j as $e,b as k}from"./vendor-rkTZJa59.js";import{T as Re}from"./RoleWithToolTip-B_Ivheco-CS2u-SUl.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
1
+ import{e as M,j as l,W as A,ct as J,C as m,o,q as n,cn as U,cw as G,cv as q,u as X,v as V,b3 as ie,l as I,R as te,fv as se,fC as ae,U as ne,ah as de,f as D,b4 as B,ap as ce,b1 as pe,c6 as ue,fD as F,bO as K,Q as he,w as Y,y as ge,n as me,fn as be,f9 as fe,aS as xe,fo as ye,aC as we,fE as ve}from"./index-DVFYvj7P.js";import{n as d,j as $e,b as k}from"./vendor-rkTZJa59.js";import{T as Re}from"./RoleWithToolTip-BiydziFE-Q-xg-fVJ.js";const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},je=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{e as H,a2 as ue,l as w,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j as a,F as ge,fF as xe,a4 as fe,o as t,C as m,T as be,a3 as je,cd as B,i4 as ye,f as we,v as I,aB as Ce,q as r}from"./index-DxZ9Uw7o.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-BWbWafDA-_L4jc956.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledControlledCheckBoxField-BYk2-ixd-BEj9gH8B.js";import"./TrendWithTransactions-CbzZEtLk-BWdNScRD.js";import"./TrendChart-BqU6zv7L-DKZM8Asl.js";import"./chartTypes-C2jC2nzT-Dd9Dm_ev.js";import"./toCOABalancesWithID-BdeWiors-CAMQCzY4.js";import"./toChartData-BCFss2y_-Y9xIvEBL.js";import"./NoDataChart-D9tQhnyu-CFEwB6jg.js";import"./InsightsSection-KsnkYRQw-B7Aa3iSu.js";import"./NavigationDots-BZNvrGBo-Lo2Iyk3a.js";import"./TransactionList-Xd2JupaK-Dyt3TjcD.js";import"./BoxItem-D09XMKDc-Bw3kfbzM.js";import"./commonDimensions-CtVQ1dPI-DOovbubg.js";import"./uploadAttachment-PMsRrXUz-CsErn5g7.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{e as H,a2 as ue,l as w,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j as a,F as ge,fF as xe,a4 as fe,o as t,C as m,T as be,a3 as je,cd as B,i4 as ye,f as we,v as I,aB as Ce,q as r}from"./index-DVFYvj7P.js";import{b as O,n as i}from"./vendor-rkTZJa59.js";import Se from"./TransactionDetailPage-280hbOwA-DbVllBjK.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./LabeledControlledCheckBoxField-CBRqbUDe-zjklDavb.js";import"./TrendWithTransactions-lNYrtUkf-Didi-rkf.js";import"./TrendChart-uCE73Vf8-DAeYNFwV.js";import"./chartTypes-BFc-FQm9-BY56epjm.js";import"./toCOABalancesWithID-CL2W-2Ks-CpVda8Yv.js";import"./toChartData-CD4rOlNx-BE4t5CeX.js";import"./NoDataChart-O6Mg_gf4-DcekUaqa.js";import"./InsightsSection-Bq2ZlQ8--bZpQBOUU.js";import"./NavigationDots-BiiEFlFj-zDNVZc4v.js";import"./TransactionList-BV18tWaE-vlDng4jw.js";import"./BoxItem-CnpQOIVn-CNkfS6h2.js";import"./commonDimensions-B_ShoU61-B2BQjped.js";import"./uploadAttachment-Bqf6VI3L-BUGZbe1u.js";import"./radio-default-CiSgisfh-Z5w0WcFM.js";const J={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -19,7 +19,7 @@ import{e as H,a2 as ue,l as w,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(B,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:we.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},Y="linkJETransactionPage",G="linkJETransaction",X=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:A,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),U=ue(u),j=w.getQBOUrlForLink(h.toString(),s.jeLink),$=w.getFirstControllerEmail(A.controllers),v=w.getFirstControllerId(A.controllerUserIds),F=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&U==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),T()}},[u,U,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&R&&k||D&&z&&k,E=R&&k;return a.jsxs(Le,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Fe,{children:a.jsx(Ne,{onClick:F})})]}),a.jsxs(Ie,{children:[a.jsx(Te,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(Y),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Be,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ue,{children:a.jsx(Se,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Re,{children:[re?a.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?a.jsx(fe,{formId:y?q(Y):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:F}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:w.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
22
+ `,V=(e,l)=>`${e}.${l}`;function Ee({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(De,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(B,{label:{label:o.jePostingDate,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:V(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(B,{label:{label:o.jeLink,width:J.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:V(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:we.link},options:{pattern:ye}},isDisabled:s?"disabled":void 0})]})]})}const b={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},Y="linkJETransactionPage",G="linkJETransaction",X=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=X,ut=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:Z,controllerUserDetails:T,isVendorBulkUpdateOnTransactionEnabled:K,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),U=ue(u),j=w.getQBOUrlForLink(h.toString(),s.jeLink),$=w.getFirstControllerEmail(T.controllers),v=w.getFirstControllerId(T.controllerUserIds),F=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),te()},x=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};O.useEffect(()=>{const d=x.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),O.useEffect(()=>{if(u==="Completed"&&U==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),A()}},[u,U,A]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:f}}}=X,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...L(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...P(s,j?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:$,controllerUserIds:v}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",D=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",z=s.jeLink.type==="recommended",R=he(x.formState.dirtyFields),k=x.formState.isValid,y=D&&R&&k||D&&z&&k,E=R&&k;return a.jsxs(Le,{children:[a.jsxs(Te,{windowSize:p,children:[a.jsx(ze,{windowSize:p,children:f.linkJE}),a.jsx(Fe,{children:a.jsx(Ne,{onClick:F})})]}),a.jsxs(Ie,{children:[a.jsx(Ae,{windowSize:p,children:a.jsx(ge,{...x,children:a.jsx("form",{id:q(Y),onSubmit:x.handleSubmit(oe),children:a.jsx(Ee,{jePostingDate:s.postingDate,sectionId:G,qboURL:j,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Be,{windowSize:p,children:[a.jsx(Oe,{})," ",f.zeniRecommendation]}):null,D?a.jsx(Ue,{children:a.jsx(Se,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:Z??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:K,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Re,{children:[re?a.jsx(Q,{windowSize:p,children:f.transactionFetchError}):null,de?a.jsx(Q,{windowSize:p,children:f.jeDetails}):null]}),se?a.jsx(xe,{fetchState:o?.fetchState}):null]}),y||E?a.jsx(fe,{formId:y?q(Y):void 0,primaryBtn:{onClick:E&&!y?le:void 0,label:E&&!y?f.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:F}}):null]})},q=e=>`${e}_form`,_=(e,l)=>({[G]:{qboURL:w.getQBOUrlForLink(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Le=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -31,7 +31,7 @@ import{e as H,a2 as ue,l as w,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j
31
31
  `,Ie=i.div`
32
32
  padding: ${t.sp0} ${t.sp8};
33
33
  flex-grow: 1;
34
- `,Ae=i.div`
34
+ `,Te=i.div`
35
35
  display: flex;
36
36
  align-items: center;
37
37
  top: ${t.sp0};
@@ -40,7 +40,7 @@ import{e as H,a2 as ue,l as w,a as pe,ca as me,i3 as P,hQ as L,R as W,cb as he,j
40
40
  padding-right: ${e=>b.containerPaddingRight.valuePx(e.windowSize)};
41
41
  padding-top: ${e=>b.navbarContainerPaddingTop.valuePx(e.windowSize)};
42
42
  padding-bottom: ${e=>b.navbarContainerPaddingBottom.valuePx(e.windowSize)};
43
- `,Te=i.div`
43
+ `,Ae=i.div`
44
44
  max-width: 100%;
45
45
  margin-bottom: ${t.sp5};
46
46
  `,Ue=i.div`
@@ -1,4 +1,4 @@
1
- import{R as S,e as R,a as T,l as s,j as a,F as z,bV as C,cg as A,C as m,cj as W,o as e,bY as E,q as u,ap as U,a7 as Y,br as N}from"./index-DxZ9Uw7o.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
1
+ import{R as S,e as R,a as T,l as s,j as a,F as z,bV as C,cg as A,C as m,cj as W,o as e,bY as E,q as u,ap as U,a7 as Y,br as N}from"./index-DVFYvj7P.js";import{n as r}from"./vendor-rkTZJa59.js";const d={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},V=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${t=>t.theme.colors.grey5};
@@ -1 +1 @@
1
- import{j as l}from"./index-DxZ9Uw7o.js";import{f as y}from"./ACHDetailsPage-C0Ys2JJm-DO_oU6A_.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-HW7t6lPN-BxYKpJiW.js";import"./MagicLinkTitleSection-Dc8RKV1p-CofIGuzn.js";import"./BankAccountSection-8JPKANMP-C-OF_cda.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
1
+ import{j as l}from"./index-DVFYvj7P.js";import{f as y}from"./ACHDetailsPage-CmrHphBc-CCjHb-P6.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-BM-Bu8CI-BPZDfXvA.js";import"./MagicLinkTitleSection-CcsVjT5g-CoREkk_L.js";import"./BankAccountSection--gqsJj6B-UPd-Yh1u.js";const j=({magicLinkViewState:t,magicLinkBankAccountDetails:a,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:s,fetchBankNameByRoutingStatus:u}=a,{currencySymbol:k,amount:f}=t;return l.jsx(y,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,fetchBankNameByRoutingStatus:u,onSaveHandler:e,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:k,amount:f})};export{j as default};
@@ -1 +1 @@
1
- import{j as S}from"./index-DxZ9Uw7o.js";import{y as b}from"./DomesticWireDetailsPage-C7SMSdym-C6AsUgPa.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountSection-8JPKANMP-C-OF_cda.js";import"./MagicLinkTitleSection-Dc8RKV1p-CofIGuzn.js";import"./BankAccountWarningSection-HW7t6lPN-BxYKpJiW.js";import"./MailingDetailsSection-BD9QWumq-BBGbTuq8.js";import"./LabeledAddressValueField-Ca10mEAm-BYXlyxvu.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
1
+ import{j as S}from"./index-DVFYvj7P.js";import{y as b}from"./DomesticWireDetailsPage-DmE3TVQk-DloHnEEV.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountSection--gqsJj6B-UPd-Yh1u.js";import"./MagicLinkTitleSection-CcsVjT5g-CoREkk_L.js";import"./BankAccountWarningSection-BM-Bu8CI-BPZDfXvA.js";import"./MailingDetailsSection-ClULuPML-Q3RQkre6.js";import"./LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js";const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:o,companyName:r,onSaveHandler:i,onWireDetailsUpdated:n,onFetchBankName:m,onAddressClick:s})=>{const{fetchState:c,error:d,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:k}=e,{currencySymbol:l,amount:y}=t;return S.jsx(b,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:d},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:k,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:n,onAddressClick:s,onFetchBankName:m,companyName:r,isMagicLink:!0,currencySymbol:l,amount:y})};export{F as default};
@@ -1 +1 @@
1
- import{j as B}from"./index-DxZ9Uw7o.js";import{f as S}from"./InternationalWireSwiftDetailsPage-Tf_vaD2v-DshYJiDx.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-HW7t6lPN-BxYKpJiW.js";import"./MailingDetailsSection-BD9QWumq-BBGbTuq8.js";import"./LabeledAddressValueField-Ca10mEAm-BYXlyxvu.js";import"./MagicLinkTitleSection-Dc8RKV1p-CofIGuzn.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
1
+ import{j as B}from"./index-DVFYvj7P.js";import{f as S}from"./InternationalWireSwiftDetailsPage-Bi3ERJ96-CaFnSRYh.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./BankAccountWarningSection-BM-Bu8CI-BPZDfXvA.js";import"./MailingDetailsSection-ClULuPML-Q3RQkre6.js";import"./LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js";import"./MagicLinkTitleSection-CcsVjT5g-CoREkk_L.js";const L=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:m,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:d,fetchBankNameBySwiftStatus:p,bankNameBySwift:k}=a,{currencySymbol:l,amount:u}=t;return B.jsx(S,{bankAccountToCreate:d,bankAccountCreationState:c,bankNameBySwift:k,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:p,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:m,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{L as default};
@@ -1,4 +1,4 @@
1
- import{ac as r,R as n,j as t,ak as l,o,M as c,c7 as a,T as p}from"./index-DxZ9Uw7o.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
1
+ import{ac as r,R as n,j as t,ak as l,o,M as c,c7 as a,T as p}from"./index-DVFYvj7P.js";import{n as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const S=()=>{const[e]=r("Confetti"),s=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(m,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(x,{})}),t.jsxs(d,{children:[t.jsx(g,{children:s.successTitle}),t.jsx(h,{children:s.successNote})]})]}):null},m=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{R as C,ab as p,j as t,c7 as m,o as s,y as g,f as x,bO as d}from"./index-DxZ9Uw7o.js";import{n,b as i}from"./vendor-rkTZJa59.js";const h=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(u,{children:o}),t.jsxs(y,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=n(d)`
1
+ import{R as C,ab as p,j as t,c7 as m,o as s,y as g,f as x,bO as d}from"./index-DVFYvj7P.js";import{n,b as i}from"./vendor-rkTZJa59.js";const h=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:l,amount:r})=>{const a=C.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,c=r>0?` ${p("0,0.[00]",r,l)}`:"",o=a.title.replace(/<tenant_name>/,e)+c;return t.jsxs(t.Fragment,{children:[t.jsx(u,{children:o}),t.jsxs(y,{children:[a.description.replace(/<tenant_name>/,e),t.jsxs(w,{children:[t.jsx(f,{}),a.encrypted]})]})]})},w=n(d)`
2
2
  display: flex;
3
3
  gap: ${s.sp1};
4
4
  color: ${x.successDark};
@@ -1,4 +1,4 @@
1
- import{e as h,R as u,C as r,j as s,o as a,cf as x,ao as b,q as i}from"./index-DxZ9Uw7o.js";import{n}from"./vendor-rkTZJa59.js";import{C as f}from"./LabeledAddressValueField-Ca10mEAm-BYXlyxvu.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
1
+ import{e as h,R as u,C as r,j as s,o as a,cf as x,ao as b,q as i}from"./index-DVFYvj7P.js";import{n}from"./vendor-rkTZJa59.js";import{C as f}from"./LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js";const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},j=({sectionId:e,addressToEdit:t,addressType:m,isDisabled:p,onAddressClick:g})=>{const l=h(),d=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,$=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(L,{size:l,children:d.addressDetailTitle}),s.jsx(v,{size:l,children:s.jsx(f,{isDisabled:p,label:{label:d.address,width:$},addressValueField:{name:w(e,"mailingAddress"),placeholder:x(d.address),defaultValue:t,registerOptions:{validate:c=>c!=null},onClick:()=>{g(m)}},additionalInfoLabel:d.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,t)=>`${e}.${t}`,v=n.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as o,j as i,W as d,p as c,f as l,o as p,C as r}from"./index-DxZ9Uw7o.js";import{n as a}from"./vendor-rkTZJa59.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
1
+ import{e as o,j as i,W as d,p as c,f as l,o as p,C as r}from"./index-DVFYvj7P.js";import{n as a}from"./vendor-rkTZJa59.js";const s={width:new r(425,850,850),height:new r(320,640,640)},h=a.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,p as u,eM as h,o as s,u as d,eN as m}from"./index-DxZ9Uw7o.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
1
+ import{j as o,p as u,eM as h,o as s,u as d,eN as m}from"./index-DVFYvj7P.js";import{b as x,n as c,j as f}from"./vendor-rkTZJa59.js";const b=({open:e,onClose:r,anchorEl:i,children:n,styles:l})=>{const t=d();return o.jsx(m,{transitionDuration:0,anchorEl:i,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:t.colors.grey5,boxShadow:`${s.sp0} 2px ${s.sp2} ${t.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:s.sp1}}},onClose:r,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},y=c.div`
2
2
  position: relative;
3
3
  `,C=({menuItems:e,isMenuOpen:r,isMenuVisible:i=!0,setIsMenuOpen:n,styles:l,menuIconStyles:t})=>{const p=x.useRef(null);return o.jsx(u,{onClickAway:()=>{n(!1)},children:o.jsxs(y,{ref:p,children:[o.jsx(j,{className:"placeholder",style:t,onClick:a=>{a.stopPropagation(),n(!r)},children:o.jsx(g,{isMenuVisible:i,children:o.jsx(h,{})})}),r?o.jsx(b,{open:r,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:p.current,styles:l,children:e}):null]})})},j=c.div`
4
4
  height: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{u as z,e as M,f2 as H,R as v,a8 as p,j as i,l as L,aX as _,_ as $,o as t,aS as P,C as d,n as I,y as B,v as R,X as W,f3 as j,f4 as C,q as u,f6 as E,f as A,w as F}from"./index-DxZ9Uw7o.js";import{b,n}from"./vendor-rkTZJa59.js";import{q as J}from"./SetUpDefaultSection-BSWh5Hvi-BOsknp6D.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},q=n.img`
1
+ import{u as z,e as M,f2 as H,R as v,a8 as p,j as i,l as L,aX as _,_ as $,o as t,aS as P,C as d,n as I,y as B,v as R,X as W,f3 as j,f4 as C,q as u,f6 as E,f as A,w as F}from"./index-DVFYvj7P.js";import{b,n}from"./vendor-rkTZJa59.js";import{q as J}from"./SetUpDefaultSection-Br-a1ECs-Cis1Rx0T.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const r={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},N={title:new W("standardMedium","largeMedium")},q=n.img`
2
2
  width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${t.sp11};
@@ -1,4 +1,4 @@
1
- import{u as D,Y as M,l as O,R as j,fm as t,j as r,aX as w,fF as F,o as B}from"./index-DxZ9Uw7o.js";import{n as P}from"./vendor-rkTZJa59.js";import{O as U}from"./ChargeCardListTable-D7BV3Iv9-C5GhRKBn.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./Menu-DV3oFAip-lRllgVp1.js";import"./RoleWithToolTip-B_Ivheco-CS2u-SUl.js";import"./CardNumberSubText-Chba_z2--CnmWtDil.js";import"./ChargeCardUtils-Bv0OpE88-aSHBcI_8.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=O.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),R=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),v=R&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,E=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,I=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(w,{title:v,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(F,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:E,creditAccountInformation:I,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
1
+ import{u as D,Y as M,l as O,R as j,fm as t,j as r,aX as w,fF as F,o as B}from"./index-DVFYvj7P.js";import{n as P}from"./vendor-rkTZJa59.js";import{O as U}from"./ChargeCardListTable-mfIUvL0A-CPKekIhI.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./Menu-C3EXvt9P-B2-q6Czj.js";import"./RoleWithToolTip-BiydziFE-Q-xg-fVJ.js";import"./CardNumberSubText-uaXIushe-Bx2nZV75.js";import"./ChargeCardUtils-BEBqV4Ri-D_Hnspw1.js";const{spendManagement:{chargeCard:u}}=j.getLocalizedStrings(),_=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:i,creditAccount:c,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:h,signedInUser:p,onChargeCardRowClick:g,onBackClick:A,onReloadCards:f,onColumnSortConfigChanged:k})=>{const S=D(),y=M(),m=O.hasChargeCardAdminLevelAccess(y.loggedInUserRoleMap),R=e.cards.some(a=>a.type.code.includes("credit")),b=e.cards.some(a=>a.type.code.includes("debit")),v=R&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,E=m===!0?{creditCardCashbackOffer:`${i.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${i.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:t(i.cashbackSummary.cashbackEarned.amount),redeemedCashback:t(i.cashbackSummary.cashbackRedeemed.amount),availableCashback:t(i.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:i.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:i.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,I=o&&l&&m===!0?{creditAccountId:c.id,creditAccountLimit:t(c.limit.amount),creditAccountAvailableAmount:t(c.available.amount),creditAccountSpentAmount:t(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:t(C.remainingAmountDue.amount)}:void 0,x=n&&s?{debitAccountId:d.depositAccounts.map(a=>a.id),debitAccountName:d.depositAccounts.map(a=>a.accountName),debitAccountBalance:d.depositAccounts.map(a=>t(a.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(a=>a.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l};return r.jsxs($,{children:[r.jsx(w,{title:v,backgroundColor:S.colors.grey4,style:{zIndex:3},onBackClick:A,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?r.jsx(F,{fetchState:e.fetchState,styles:{margin:"auto"}}):r.jsx(U,{controllerEmails:h,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:C,productInformation:L,cashbackInformation:E,creditAccountInformation:I,debitAccountInformation:x,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,onReloadCards:f,onChargeCardRowClick:g,uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{},onChargeCardRevokeInviteClick:()=>{}})]})},$=P.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${B.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as te,fq as ie,u as fe,Y as ge,fr as be,a as xe,J as ye,l as z,cb as we,ca as Pe,R as re,j as l,fs as ve,aX as $e,F as De,a4 as Re,o as s,ft as ne,fu as de,fv as ce,c5 as ue,C as L,n as me,v as Se,X as je,U as le,cm as Ce,cd as Oe,fw as q,cj as Le,ch as Te,fx as Ie,af as Ve,q as _}from"./index-DxZ9Uw7o.js";import{b as v,n as m}from"./vendor-rkTZJa59.js";import{C as Fe}from"./LabeledAddressValueField-Ca10mEAm-BYXlyxvu.js";import{X as ke}from"./LabeledUserSingleSelectWithSubtitlesField-DaXDpM0N-DvOiGuc2.js";import{C as Be,j as ze}from"./LabeledZeniRolesDropDownField-zRamZWIQ-Dvg7Ba_y.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./RoleWithToolTip-B_Ivheco-CS2u-SUl.js";const b=(e,i)=>`${e}.${i}`,B={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:k,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:x,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:y})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:Y}=e,H=e.person.user?.birthday!=null?"readonly":void 0,D=B.largeLabelWidth.value(n),I=B.largeLabelWidth.value(n),J=v.useMemo(()=>ie(x,p,o,f,$,T,h),[x,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:R}=v.useMemo(()=>{const c=le(M),S=c.splice(0,1),j=c.reduce((V,F)=>V.concat(`${F.email},`),"");return{firstController:S,restControllerEmailsStr:j}},[M]),Q=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),E=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:X.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:k.firstNamePlaceholder,lastName:k.lastNamePlaceholder,name:k.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(O,{}),l.jsx(Oe,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${B.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(O,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:k.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(O,{}),l.jsx(Fe,{label:{label:X.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:k.addressPlaceholder,defaultValue:Y?.addressToCreate,onClick:()=>{y("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(O,{}),l.jsx(Te,{label:{label:X.phone,width:I},text:{name:b(t,"phone"),placeholder:k.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(O,{}),i?l.jsx(Be,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:Q},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(O,{}),l.jsx(ke,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:B.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const S=A.findIndex(j=>j.userId===c);if(S!==-1){const j=A[S],V=N.find(K=>K.classId===j.userRole.accountingClassIDs[0]),F=[];return V!=null&&F.push(V.className),F}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(O,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:E,selectedOption:d?void 0:E.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(_e,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ee,{href:`mailto:${w[0].email}?cc=${R}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ze,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
1
+ import{e as te,fq as ie,u as fe,Y as ge,fr as be,a as xe,J as ye,l as z,cb as we,ca as Pe,R as re,j as l,fs as ve,aX as $e,F as De,a4 as Re,o as s,ft as ne,fu as de,fv as ce,c5 as ue,C as L,n as me,v as Se,X as je,U as le,cm as Ce,cd as Oe,fw as q,cj as Le,ch as Te,fx as Ie,af as Ve,q as _}from"./index-DVFYvj7P.js";import{b as v,n as m}from"./vendor-rkTZJa59.js";import{C as Fe}from"./LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js";import{X as ke}from"./LabeledUserSingleSelectWithSubtitlesField-CLzwYw4O-BiN7ZdIi.js";import{C as Be,j as ze}from"./LabeledZeniRolesDropDownField-DGsJbILm-D0lgOjM8.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./RoleWithToolTip-BiydziFE-Q-xg-fVJ.js";const b=(e,i)=>`${e}.${i}`,B={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:k,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:x,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:y})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:Y}=e,H=e.person.user?.birthday!=null?"readonly":void 0,D=B.largeLabelWidth.value(n),I=B.largeLabelWidth.value(n),J=v.useMemo(()=>ie(x,p,o,f,$,T,h),[x,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:R}=v.useMemo(()=>{const c=le(M),S=c.splice(0,1),j=c.reduce((V,F)=>V.concat(`${F.email},`),"");return{firstController:S,restControllerEmailsStr:j}},[M]),Q=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),E=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:X.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:k.firstNamePlaceholder,lastName:k.lastNamePlaceholder,name:k.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(O,{}),l.jsx(Oe,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${B.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(O,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:k.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(O,{}),l.jsx(Fe,{label:{label:X.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:k.addressPlaceholder,defaultValue:Y?.addressToCreate,onClick:()=>{y("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(O,{}),l.jsx(Te,{label:{label:X.phone,width:I},text:{name:b(t,"phone"),placeholder:k.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(O,{}),i?l.jsx(Be,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:Q},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(O,{}),l.jsx(ke,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:B.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const S=A.findIndex(j=>j.userId===c);if(S!==-1){const j=A[S],V=N.find(K=>K.classId===j.userRole.accountingClassIDs[0]),F=[];return V!=null&&F.push(V.className),F}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(O,{}),l.jsx(Ie,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:E,selectedOption:d?void 0:E.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(_e,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ee,{href:`mailto:${w[0].email}?cc=${R}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ze,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{u as p,e as m,j as o,W as u,bp as g,R as x,o as t,a$ as b,eQ as k,by as y,bn as C,v}from"./index-DxZ9Uw7o.js";import{n as l}from"./vendor-rkTZJa59.js";const j=l.div`
1
+ import{u as p,e as m,j as o,W as u,bp as g,R as x,o as t,a$ as b,eQ as k,by as y,bn as C,v}from"./index-DVFYvj7P.js";import{n as l}from"./vendor-rkTZJa59.js";const j=l.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{j as e,o as r,af as i,by as h}from"./index-DxZ9Uw7o.js";import{j as l,n as s}from"./vendor-rkTZJa59.js";const c=l`
1
+ import{j as e,o as r,af as i,by as h}from"./index-DVFYvj7P.js";import{j as l,n as s}from"./vendor-rkTZJa59.js";const c=l`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{j as e,W as v,o as t}from"./index-DxZ9Uw7o.js";import{n as l}from"./vendor-rkTZJa59.js";const C=l.div`
1
+ import{j as e,W as v,o as t}from"./index-DVFYvj7P.js";import{n as l}from"./vendor-rkTZJa59.js";const C=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,y=l.div`
@@ -1,4 +1,4 @@
1
- import{e as z,a as A,ca as X,a2 as Y,j as t,R as C,F as Q,a4 as Z,C as i,o as a,a3 as ee,X as _,g as te,gp as ae,y as le,cn as O,hC as ne,cf as U,cd as oe,q as l,ao as re,cv as ie,ct as de,cH as se,m as ce,eu as me,dj as he,aB as ge,f as V}from"./index-DxZ9Uw7o.js";import{b as j,n as o,j as be}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=C.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:b,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(fe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),b?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
1
+ import{e as z,a as A,ca as X,a2 as Y,j as t,R as C,F as Q,a4 as Z,C as i,o as a,a3 as ee,X as _,g as te,gp as ae,y as le,cn as O,hC as ne,cf as U,cd as oe,q as l,ao as re,cv as ie,ct as de,cH as se,m as ce,eu as me,dj as he,aB as ge,f as V}from"./index-DVFYvj7P.js";import{b as j,n as o,j as be}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const w={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ue={infoLabel:new _("smallRegular","standardRegular")},pe=C.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:b,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(fe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),b?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as l,j as t,f as s,o as h,y as r,C as m,u as o}from"./index-DxZ9Uw7o.js";import{n as i,b as a}from"./vendor-rkTZJa59.js";const v=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},z=i.div`
1
+ import{e as l,j as t,f as s,o as h,y as r,C as m,u as o}from"./index-DVFYvj7P.js";import{n as i,b as a}from"./vendor-rkTZJa59.js";const v=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new m(288,360)},z=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{j as e,o as t,u as s}from"./index-DxZ9Uw7o.js";import{n as i}from"./vendor-rkTZJa59.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const r=i.div`
1
+ import{j as e,o as t,u as s}from"./index-DVFYvj7P.js";import{n as i}from"./vendor-rkTZJa59.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const r=i.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
@@ -1,4 +1,4 @@
1
- import{j as o,R as i,bv as s,c7 as l,y as c,f as a,n as d}from"./index-DxZ9Uw7o.js";import{n as t}from"./vendor-rkTZJa59.js";import{a as h}from"./ZeniCopyright-D-Z193Re-Bvi63P7L.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const g=t.div`
1
+ import{j as o,R as i,bv as s,c7 as l,y as c,f as a,n as d}from"./index-DVFYvj7P.js";import{n as t}from"./vendor-rkTZJa59.js";import{a as h}from"./ZeniCopyright-B6fSw5kZ-CRgQ6kVa.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const g=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,fF as ne,o as i,bg as se,R as I,a6 as re,u as Y,e as J,a as le,ca as ae,l as P,aX as ce,F as de,_ as w,a4 as pe,C as T,fa as me,fG as ue,eH as he,fH as ge,fI as fe,af as xe,q as S,ao as K,w as Q,y as W,n as $e}from"./index-DxZ9Uw7o.js";import{n as o,b as E}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const{common:ye}=I.getLocalizedStrings(),B={notePadding:new T(S[3],S[4]),noteGap:new T(S[0],6)},z=(e,n)=>`${e}.${n}`,be=o.div`
1
+ import{j as t,fF as ne,o as i,bg as se,R as I,a6 as re,u as Y,e as J,a as le,ca as ae,l as P,aX as ce,F as de,_ as w,a4 as pe,C as T,fa as me,fG as ue,eH as he,fH as ge,fI as fe,af as xe,q as S,ao as K,w as Q,y as W,n as $e}from"./index-DVFYvj7P.js";import{n as o,b as E}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const{common:ye}=I.getLocalizedStrings(),B={notePadding:new T(S[3],S[4]),noteGap:new T(S[0],6)},z=(e,n)=>`${e}.${n}`,be=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -1 +1 @@
1
- import{v as e,q as a}from"./index-DxZ9Uw7o.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
1
+ import{v as e,q as a}from"./index-DVFYvj7P.js";const r=a[5],o=59,i=a[5],l=e.standardRegular.lineHeightValue,n=1,p=1e3;export{l as A,i as E,n as I,p as L,o as a,r as t};
@@ -1,4 +1,4 @@
1
- import{u as Q,e as v,a as Jt,R as P,ca as qt,j as t,aX as Zt,l as g,F as Xt,a4 as Qt,o as i,_ as we,gu as Kt,C as R,hu as ei,v as Ne,m as ti,D as et,bS as tt,aj as it,dl as ot,b_ as st,jd as at,q as y,Q as ii,je as oi,dj as ce,ae as si,X as ai,g as rt,f as S,w as ri,bh as z,cn as ue,fG as he,jf as pe,Y as nt,b as lt,dt as E,d4 as dt,fP as ni,y as K,hI as li,n as H,f3 as di,a8 as ye,ap as fe,jg as ci,be as ct,jh as Ie,aR as ui}from"./index-DxZ9Uw7o.js";import{b as x,n as r,j as A}from"./vendor-rkTZJa59.js";import{k as hi}from"./SubTabSwitcher-BNFnbB_T-COPPhMcX.js";import{d as ut}from"./useLongPress-GCK2COYQ-BoJXFS3o.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-EynMAcn9-BYkKFFfF.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=Q(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(fi,{windowSize:h,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(hi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
1
+ import{u as Q,e as v,a as Jt,R as P,ca as qt,j as t,aX as Zt,l as g,F as Xt,a4 as Qt,o as i,_ as we,gu as Kt,C as R,hu as ei,v as Ne,m as ti,D as et,bS as tt,aj as it,dl as ot,b_ as st,jd as at,q as y,Q as ii,je as oi,dj as ce,ae as si,X as ai,g as rt,f as S,w as ri,bh as z,cn as ue,fG as he,jf as pe,Y as nt,b as lt,dt as E,d4 as dt,fP as ni,y as K,hI as li,n as H,f3 as di,a8 as ye,ap as fe,jg as ci,be as ct,jh as Ie,aR as ui}from"./index-DVFYvj7P.js";import{b as x,n as r,j as A}from"./vendor-rkTZJa59.js";import{k as hi}from"./SubTabSwitcher-C4Kvmep7-DBYw0ksy.js";import{d as ut}from"./useLongPress-GCK2COYQ-BoJXFS3o.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-DqM-Z8oE-CuDCUFPm.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),p=Q(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(fi,{windowSize:h,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(hi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as H,ht as xe,R as B,u as q,bJ as be,D as _e,j as t,W as Se,bg as ke,hs as we,aZ as ve,aX as Be,hu as $e,hv as Oe,o as u,a6 as je,m as Pe,C as F,aj as le,J as ie,a8 as Te,q as $,b0 as De,bL as Ne,bM as Ee,bN as Ie,f as a,y as ce,bd as Ae,b8 as Me,aw as Le,v as Z,av as Fe,ab as Re,b9 as Ve,bb as ze,l as We}from"./index-DxZ9Uw7o.js";import{b as x,n as m,f as Ke}from"./vendor-rkTZJa59.js";import{p as Ye,d as Ge,y as G,b as de,u as ee}from"./chartTypes-C2jC2nzT-Dd9Dm_ev.js";import{V as He}from"./toChartData-BCFss2y_-Y9xIvEBL.js";import{m as R}from"./analyticsHelper-c9SRwhe3-snrr44LY.js";import{p as qe}from"./TimeRangeSwitcher-CNdJhUPl-LVlhLdwC.js";import{M as Je}from"./TimeframeSwitcherWithToggle-gywVFoaK-Dq8bdSg_.js";import{C as Qe}from"./NoDataChart-D9tQhnyu-CFEwB6jg.js";import{d as Ue}from"./NoDataTable-8FGbkVty-aqfoH-V1.js";import{H as Xe,N as oe}from"./detailCommon-BBImn49A-CpSlTw_V.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Ze,W as J}from"./CollapsableReportTable-B_qvVX0p-BzLwdCFV.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-Vy-w7j2m-CAANn3O8.js";import{d as re}from"./mapLoadingInProgressToTreeNode-CKsE235C-Chr95ITX.js";import{l as eo}from"./mapSpacerToTreeNode-DkIeEOlL-BXF8YPij.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TimeframeSwitcher-B7t79hiQ-v3qnXON1.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";import"./AccountRow-Dj74AzIh-xP3FLMcB.js";const oo=m.div`
1
+ import{e as H,ht as xe,R as B,u as q,bJ as be,D as _e,j as t,W as Se,bg as ke,hs as we,aZ as ve,aX as Be,hu as $e,hv as Oe,o as u,a6 as je,m as Pe,C as F,aj as le,J as ie,a8 as Te,q as $,b0 as De,bL as Ne,bM as Ee,bN as Ie,f as a,y as ce,bd as Ae,b8 as Me,aw as Le,v as Z,av as Fe,ab as Re,b9 as Ve,bb as ze,l as We}from"./index-DVFYvj7P.js";import{b as x,n as m,f as Ke}from"./vendor-rkTZJa59.js";import{p as Ye,d as Ge,y as G,b as de,u as ee}from"./chartTypes-BFc-FQm9-BY56epjm.js";import{V as He}from"./toChartData-CD4rOlNx-BE4t5CeX.js";import{m as R}from"./analyticsHelper-BIYs-BU5-BBbQGYqz.js";import{p as qe}from"./TimeRangeSwitcher-CMNnx0hW-D2iXnh9p.js";import{M as Je}from"./TimeframeSwitcherWithToggle-Bp8FBsnD-mJytFc_W.js";import{C as Qe}from"./NoDataChart-O6Mg_gf4-DcekUaqa.js";import{d as Ue}from"./NoDataTable-BgKg_U0s-DNuaeMW7.js";import{H as Xe,N as oe}from"./detailCommon-CoFrLjgw-BialcQVh.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Ze,W as J}from"./CollapsableReportTable-CHthdzdj-ChiC9ii3.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-BpcCExFt-gIWGlkbh.js";import{d as re}from"./mapLoadingInProgressToTreeNode-xaG_j34l-D4x68Lia.js";import{l as eo}from"./mapSpacerToTreeNode-CiLMcagY-091j94NC.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TimeframeSwitcher-BAkn3cys-Bpob1MlE.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";import"./AccountRow-DnMX1pTV-DzyPY1GP.js";const oo=m.div`
2
2
  display: flex;
3
3
  `,ro=m.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{u as i,j as r}from"./index-DxZ9Uw7o.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const p=n.div`
1
+ import{u as i,j as r}from"./index-DVFYvj7P.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const p=n.div`
2
2
  display: ${({isOpen:o})=>o?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{j as o,I as M,u as T,e as z,W as A,aX as re,R as c,Q as ie,m as ae,C as D,v as ce,o as s,J as le,a8 as de,c7 as ge,c8 as pe,aU as me,q as C,l as U,b0 as he,c9 as ue,a6 as fe,a7 as xe,ap as we}from"./index-DxZ9Uw7o.js";import{n as r,b as F}from"./vendor-rkTZJa59.js";import{L as Se}from"./NavBarWithPicker-CilKdL1D-CUI5Ot55.js";import{m as je}from"./analyticsHelper-c9SRwhe3-snrr44LY.js";import{M as $e}from"./TimeframeSwitcherWithToggle-gywVFoaK-Dq8bdSg_.js";import{R as be,a as Ce}from"./CollapsableReportTable-B_qvVX0p-BzLwdCFV.js";import{M as E}from"./usp-line-BBd1wKwW-u-VMxix8.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-D1DheCOl-CKCzpetC.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-BhmM7oKt-CuzK25Ny.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TimeframeSwitcher-B7t79hiQ-v3qnXON1.js";import"./AccountRow-Dj74AzIh-xP3FLMcB.js";const H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
1
+ import{j as o,I as M,u as T,e as z,W as A,aX as re,R as c,Q as ie,m as ae,C as D,v as ce,o as s,J as le,a8 as de,c7 as ge,c8 as pe,aU as me,q as C,l as U,b0 as he,c9 as ue,a6 as fe,a7 as xe,ap as we}from"./index-DVFYvj7P.js";import{n as r,b as F}from"./vendor-rkTZJa59.js";import{L as Se}from"./NavBarWithPicker-C3MsVwsg-CBrULXjZ.js";import{m as je}from"./analyticsHelper-BIYs-BU5-BBbQGYqz.js";import{M as $e}from"./TimeframeSwitcherWithToggle-Bp8FBsnD-mJytFc_W.js";import{R as be,a as Ce}from"./CollapsableReportTable-CHthdzdj-ChiC9ii3.js";import{M as E}from"./usp-line-BBd1wKwW-u-VMxix8.js";import{T as Pe,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-Cf1Q8iLQ-Ck75U1M4.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-VuMYRsaA-EBj_hl8w.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./TimeframeSwitcher-BAkn3cys-Bpob1MlE.js";import"./AccountRow-DnMX1pTV-DzyPY1GP.js";const H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ve=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{eS as pe,R as le,a2 as Me,v as te,o as u,f as H,e as ue,j as i,bo as De,u as Re,cn as Ve,a8 as ae,C as oe,aS as qe,br as Fe,y as ke,a4 as He,d as me,q as Ke,gn as Je,n as Ge,X as Xe}from"./index-DxZ9Uw7o.js";import{f as l,b as O,n as y}from"./vendor-rkTZJa59.js";import{P as p}from"./mui-C42whWwM.js";import{O as Ye}from"./SetUpAccountSection-DDxjcjeg-Nsmn_Kay.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t,e){return Ze(t)||Qe(t,e)||et(t,e)||tt()}function Ze(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{eS as pe,R as le,a2 as Me,v as te,o as u,f as H,e as ue,j as i,bo as De,u as Re,cn as Ve,a8 as ae,C as oe,aS as qe,br as Fe,y as ke,a4 as He,d as me,q as Ke,gn as Je,n as Ge,X as Xe}from"./index-DVFYvj7P.js";import{f as l,b as O,n as y}from"./vendor-rkTZJa59.js";import{P as p}from"./mui-C42whWwM.js";import{O as Ye}from"./SetUpAccountSection-DPEjJt-s-DbxecFrv.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){$e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(t,e){return Ze(t)||Qe(t,e)||et(t,e)||tt()}function Ze(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ve="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ve,c=Object.prototype.toString.call(r)===ve;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var w=e,P=r,S=function($){return t(w[$],P[$])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},$e({},s,e[s])):a},null):null},Oe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ye(a,r)})};var n=ye(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=Ae(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,w=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(P){P&&g&&w(P)}):s.tag==="sync"&&!o.stripe&&w(s.stripe),function(){g=!1}},[s,o,n]);var f=se(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var Te=l.createContext(null);Te.displayName="CustomCheckoutSdkContext";var lt=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(Te),n=l.useContext(ne);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,w=o.onBlur,P=o.onFocus,S=o.onReady,j=o.onChange,$=o.onEscape,D=o.onClick,V=o.onLoadError,q=o.onLoaderStart,N=o.onNetworksChange,A=o.onConfirm,J=o.onCancel,B=o.onShippingAddressChange,M=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),T="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),_=Ae(z,2),v=_[0],W=_[1],L=l.useRef(null),F=l.useRef(null);R(v,"blur",w),R(v,"focus",P),R(v,"escape",$),R(v,"click",D),R(v,"loaderror",V),R(v,"loaderstart",q),R(v,"networkschange",N),R(v,"confirm",A),R(v,"cancel",J),R(v,"shippingaddresschange",B),R(v,"shippingratechange",M),R(v,"change",j);var G;S&&(e==="expressCheckout"?G=S:G=function(){S(v)}),R(v,"ready",G),l.useLayoutEffect(function(){if(L.current===null&&F.current!==null&&(T||E)){var I=null;E?I=E.createElement(e,g):T&&(I=T.create(e,g)),L.current=I,W(I),I&&I.mount(F.current)}},[T,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:F})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var _e="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(_e,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(_e).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},X=null,Q=null,ee=null,vt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return X!==null?X:(X=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&Q!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",Q),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=yt(r,n),Q=vt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),X.catch(function(r){return X=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Y,We=!1,Ne=function(){return Y||(Y=St(null).catch(function(e){return Y=null,Promise.reject(e)}),Y)};Promise.resolve().then(function(){return Ne()}).catch(function(t){We||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];We=!0;var a=Date.now();return Ne().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},Pt=y.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{u as $e,e as I,R as y,j as t,W as a,aX as le,bg as Ne,o as s,bR as De,bS as Oe,m as F,a6 as G,bT as we,Q as Le,v as be,bU as _e,a2 as Ae,bV as Ve,bW as Me,bX as We,bY as Be,aj as Ue,J as U,bZ as He,C as $,b_ as Fe,b$ as je,q as b,l as A,c0 as ee,bK as N,a as Ee,F as Ke,c1 as Ze,c2 as qe,U as Qe,w as D,c3 as Xe,y as O,n as te,f as V,c4 as Je,bO as Se,ap as ie,c5 as ke,be as Ye,c6 as Ge}from"./index-DxZ9Uw7o.js";import{f as ce,b as v,n as i}from"./vendor-rkTZJa59.js";import{R as Ie}from"./Menu-DV3oFAip-lRllgVp1.js";import{T as Re}from"./RoleWithToolTip-B_Ivheco-CS2u-SUl.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],H=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Qe(d==="off"?S:H));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Xe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
1
+ import{u as $e,e as I,R as y,j as t,W as a,aX as le,bg as Ne,o as s,bR as De,bS as Oe,m as F,a6 as G,bT as we,Q as Le,v as be,bU as _e,a2 as Ae,bV as Ve,bW as Me,bX as We,bY as Be,aj as Ue,J as U,bZ as He,C as $,b_ as Fe,b$ as je,q as b,l as A,c0 as ee,bK as N,a as Ee,F as Ke,c1 as Ze,c2 as qe,U as Qe,w as D,c3 as Xe,y as O,n as te,f as V,c4 as Je,bO as Se,ap as ie,c5 as ke,be as Ye,c6 as Ge}from"./index-DVFYvj7P.js";import{f as ce,b as v,n as i}from"./vendor-rkTZJa59.js";import{R as Ie}from"./Menu-C3EXvt9P-B2-q6Czj.js";import{T as Re}from"./RoleWithToolTip-BiydziFE-Q-xg-fVJ.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],H=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Qe(d==="off"?S:H));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Xe,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=i.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
@@ -1,4 +1,4 @@
1
- import{e as q,J as S,j as i,bp as U,R as X,W as Y,C as u,a4 as H,o as t,a3 as J,X as Q,g as K,y as Z,q as l,v as _,am as ee,n as W,f as v,w as ie,bO as ne}from"./index-DxZ9Uw7o.js";import{b as k,n}from"./vendor-rkTZJa59.js";import{V as te}from"./PortfolioDetails-fLO6-kOh-DqBirAUP.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./treasuryColorHelper-BJcGoSGt-Ho84Gr1_.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=X.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new Q("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(V=>V.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(U,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":Y("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(te,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(T,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(T,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(H,{style:{zIndex:4,paddingTop:t.sp2,paddingBottom:t.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=n.div`
1
+ import{e as q,J as S,j as i,bp as U,R as X,W as Y,C as u,a4 as H,o as t,a3 as J,X as Q,g as K,y as Z,q as l,v as _,am as ee,n as W,f as v,w as ie,bO as ne}from"./index-DVFYvj7P.js";import{b as k,n}from"./vendor-rkTZJa59.js";import{V as te}from"./PortfolioDetails-CGVqC5q--BeoFkSLS.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./treasuryColorHelper-DHqBe6al-DjRQFofZ.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=X.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new Q("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=q(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(V=>V.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(U,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":Y("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(te,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(T,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(T,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(H,{style:{zIndex:4,paddingTop:t.sp2,paddingBottom:t.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{j as e,R as X,o as n,iB as _,y as E,b as G,u as K,e as Q,a0 as L,C as O,bp as f,f as Y,bO as H,w as N,ds as Z,af as ee,am as ie,b6 as se,be as ne,n as le,d7 as oe,q as te}from"./index-DxZ9Uw7o.js";import{n as s,b as re}from"./vendor-rkTZJa59.js";import{l as ae}from"./treasuryColorHelper-BJcGoSGt-Ho84Gr1_.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=X.getLocalizedStrings(),w={portfolioYieldMarginTop:new O(-4,te[0]),sliderWidth:new O(143,177)},Oe=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:g,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(ge,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const A=v?.find(h=>h.fundCode===m[x].fundCode)?.amount;return e.jsx(pe,{portfolio:$,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:l,isLast:x===a.length-1,amount:g,currentAllocationAmount:A,page:j},m[x]?.fundCode||x)})]})},ce=i=>i.map(l=>[{label:o.promoPage.liquidity,value:l.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:_(l.fundSize,l.currencyCode)},{label:o.promoPage.maturity,value:`${l.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${l.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:l.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(l.compositions)&&l.compositions.length>0?`${l.compositions[0].investedIn} ${l.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(l.compositions)&&l.compositions.length>1?`+${l.compositions.length-1}`:void 0,compositions:l.compositions??[]}]),pe=({portfolio:i,fund:l,fundIndex:m,allocationPercentage:d,isInReview:g,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const A=G().analytics,h=K(),t=Q(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,J]=re.useState(!1),u=ae(m,h),S=()=>{p||A.trackTreasuryProspectusClick(l.fundName,l.fundCode,x),J(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{children:e.jsxs(ue,{windowSize:t,children:[e.jsxs(he,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:g,windowSize:t,children:[e.jsx(we,{children:l.fundCode}),e.jsx(ve,{color:u.fundNameColor,children:`${l.fundCompanyName} ${l.fundName}`})]}),t!=="small"&&e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:g?e.jsxs(q,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?L("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs($e,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(q,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(R,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(ke,{children:v?e.jsxs(Ae,{children:[e.jsxs(Ie,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(R,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}),e.jsxs(z,{onClick:S,style:{marginBottom:n.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}):g?e.jsxs(Re,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?L("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(z,{onClick:S,style:{margin:`${n.sp2} ${n.sp0}`,...j?{marginBottom:n.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),e.jsxs(V,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(R,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),e.jsxs(V,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(R,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(Se,{children:[e.jsx(T,{children:l.description}),e.jsx(be,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Ce,{windowSize:t,children:[e.jsx(T,{children:r.strings.dividerDot}),e.jsx(T,{style:{minWidth:"140px"},children:c.label}),e.jsxs(T,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:h.colors.primary,borderBottom:`1px solid ${h.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(B=>({text:`${r.strings.dividerDot} ${B.investedIn}`,amount:`${B.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(De,{children:c.tag})})]})]},c.label))}),e.jsxs(Pe,{onClick:()=>window.open(l.url,"_blank"),children:[e.jsx(je,{children:`${o.promoPage.asOf} ${l.asOfDate.format(de.visual.MMMDCommaYYYYformat)}`}),e.jsx(ze,{})]})]}),(!j||v)&&e.jsx(Te,{style:{width:"100%",marginBottom:n.sp3}})]})},xe=s.div`
1
+ import{j as e,R as X,o as n,iB as _,y as E,b as G,u as K,e as Q,a0 as L,C as O,bp as f,f as Y,bO as H,w as N,ds as Z,af as ee,am as ie,b6 as se,be as ne,n as le,d7 as oe,q as te}from"./index-DVFYvj7P.js";import{n as s,b as re}from"./vendor-rkTZJa59.js";import{l as ae}from"./treasuryColorHelper-DHqBe6al-DjRQFofZ.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=X.getLocalizedStrings(),w={portfolioYieldMarginTop:new O(-4,te[0]),sliderWidth:new O(143,177)},Oe=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:g,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(ge,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const A=v?.find(h=>h.fundCode===m[x].fundCode)?.amount;return e.jsx(pe,{portfolio:$,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:l,isLast:x===a.length-1,amount:g,currentAllocationAmount:A,page:j},m[x]?.fundCode||x)})]})},ce=i=>i.map(l=>[{label:o.promoPage.liquidity,value:l.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:_(l.fundSize,l.currencyCode)},{label:o.promoPage.maturity,value:`${l.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${l.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:l.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(l.compositions)&&l.compositions.length>0?`${l.compositions[0].investedIn} ${l.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(l.compositions)&&l.compositions.length>1?`+${l.compositions.length-1}`:void 0,compositions:l.compositions??[]}]),pe=({portfolio:i,fund:l,fundIndex:m,allocationPercentage:d,isInReview:g,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const A=G().analytics,h=K(),t=Q(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,J]=re.useState(!1),u=ae(m,h),S=()=>{p||A.trackTreasuryProspectusClick(l.fundName,l.fundCode,x),J(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{children:e.jsxs(ue,{windowSize:t,children:[e.jsxs(he,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:g,windowSize:t,children:[e.jsx(we,{children:l.fundCode}),e.jsx(ve,{color:u.fundNameColor,children:`${l.fundCompanyName} ${l.fundName}`})]}),t!=="small"&&e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:g?e.jsxs(q,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?L("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs($e,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(q,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(R,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(ke,{children:v?e.jsxs(Ae,{children:[e.jsxs(Ie,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(R,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}),e.jsxs(z,{onClick:S,style:{marginBottom:n.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}):g?e.jsxs(Re,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(F,{children:b!=null?L("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(z,{onClick:S,style:{margin:`${n.sp2} ${n.sp0}`,...j?{marginBottom:n.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),e.jsxs(V,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(R,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(k,{}):e.jsx(P,{})]})]}),e.jsxs(V,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(R,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(Se,{children:[e.jsx(T,{children:l.description}),e.jsx(be,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Ce,{windowSize:t,children:[e.jsx(T,{children:r.strings.dividerDot}),e.jsx(T,{style:{minWidth:"140px"},children:c.label}),e.jsxs(T,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:h.colors.primary,borderBottom:`1px solid ${h.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(B=>({text:`${r.strings.dividerDot} ${B.investedIn}`,amount:`${B.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(De,{children:c.tag})})]})]},c.label))}),e.jsxs(Pe,{onClick:()=>window.open(l.url,"_blank"),children:[e.jsx(je,{children:`${o.promoPage.asOf} ${l.asOfDate.format(de.visual.MMMDCommaYYYYformat)}`}),e.jsx(ze,{})]})]}),(!j||v)&&e.jsx(Te,{style:{width:"100%",marginBottom:n.sp3}})]})},xe=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  gap: ${n.sp2};
@@ -1,4 +1,4 @@
1
- import{R as E,j as t,b as A,o as l,by as B,af as N,q as U,d6 as G,r as H,y as X,d7 as J,f as y}from"./index-DxZ9Uw7o.js";import{b as $,n as i}from"./vendor-rkTZJa59.js";const u=E.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:X,seeMoreLink:X}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=Y.large,K=i.div`
1
+ import{R as E,j as t,b as A,o as l,by as B,af as N,q as U,d6 as G,r as H,y as X,d7 as J,f as y}from"./index-DVFYvj7P.js";import{b as $,n as i}from"./vendor-rkTZJa59.js";const u=E.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:X,seeMoreLink:X}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=Y.large,K=i.div`
2
2
  width: ${e=>e.scale*o.width}px;
3
3
  height: ${e=>e.scale*o.height}px;
4
4
  overflow: hidden;