@zeniai/web-cockpit-ui 1.15.40-dev → 1.15.40-qa

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 (219) hide show
  1. package/dist/assets/{ACHDetailsPage-DpLTXUS2-D0c1tGuw.js → ACHDetailsPage-DpLTXUS2-DeZvjxIU.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-ByRPO3mW-3EbdmQ_-.js → AIPerformancePage-ByRPO3mW-C8wgD1IY.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BfVVOaTL-D3vk9TdW.js → AccountInfoPage-BfVVOaTL-ByrZkVS3.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BAzd-LkX-BjwkJSBP.js → AccountInfoPageContent-BAzd-LkX-DNPsLnCn.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js → AccountLockedInfoModal-BI8dkiAz-BPPOyH1t.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cu_UrL9J-Bn-PtQx2.js → AccountReconDetailsDrawerPage-Cu_UrL9J-CBwuT0a_.js} +1 -1
  7. package/dist/assets/{AccountRow-nSloLUTN-C7-a59B1.js → AccountRow-nSloLUTN-BLBdAAwB.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Z8O9Tv5P-BHHWsVbt.js → AccountsPromoCardStack-Z8O9Tv5P-krl6eiOL.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-GDXK5rJA-DyijyVI8.js → AddAddressForCardDrawer-GDXK5rJA-CJ2uGUpK.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CKOnAq6_-CqcvkHGd.js → AddToWalletPage-CKOnAq6_-gF0yDXsu.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CUcu_cHV-Do94-_mv.js → AgingReportsPage-CUcu_cHV-t0FRHmuR.js} +1 -1
  12. package/dist/assets/{AllUserItems-BbhDuv3Y-CPWfHpie.js → AllUserItems-BbhDuv3Y-D2G75G0F.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-DLvP7G6Q-DhXBARgG.js → ApAgingDetailPage-DLvP7G6Q-DS5offEk.js} +1 -1
  14. package/dist/assets/{AppBasePage-Cc3o50Ar-BZVIdQ2o.js → AppBasePage-Cc3o50Ar-DBzrmUcd.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-moxx3tLo-DWEBLXQy.js → AppDrawerContent-moxx3tLo-BAfspkCS.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BiL2dANi-BvGx2tm4.js → ApprovalRulesSettingsPage-BiL2dANi-Br4cVApp.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DuwEWasX-B7DcyKyM.js → ArAgingChart-DuwEWasX-CJ94-bxN.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DGETibBB-BtDKR53R.js → ArAgingDetailPage-DGETibBB-JZoe3Cd6.js} +1 -1
  19. package/dist/assets/{AttachmentView-Q7kiwPOS-BNETSDSC.js → AttachmentView-Q7kiwPOS-NFqxQJbp.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Ct31GOKt-CADjKttV.js → BankAccountSection-Ct31GOKt-C1dwM1qT.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-ko9DqAKK-BfybEzCK.js → BankAccountWarningSection-ko9DqAKK-uCqYdc6s.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Ds9FSEMV-B2mXxuP2.js → BankConnectionsSettingsPage-Ds9FSEMV-CqCGZBvP.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DKDNgnqK-2cg0C7-c.js → BillDetailPage-DKDNgnqK-B-8qUelt.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DUprxSDP-B3qYmqgn.js → BillPayApprovalRuleDetailPage-DUprxSDP-DGs19HOA.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DuRefUEE-B2lK8SV2.js → BillPayApprovalRulesPage-DuRefUEE-DbFAyGGC.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CszEgRZk-BTqdbqxQ.js → BillPayPromoPage-CszEgRZk-CqHypB3T.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-UfS3JsLW-Zxv-DayC.js → BillPaySetUpPage-UfS3JsLW-COLk34q-.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-9uV4vEJB-CnXv1V73.js → BillingSettingsPage-9uV4vEJB-Bfjr-9tL.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DKGmWv9w-CuPH1foN.js → BillsBulkReviewDrawerPage-DKGmWv9w-CluhksEn.js} +1 -1
  30. package/dist/assets/{BoxItem-Qhw9iPt9-CzMCE4d7.js → BoxItem-Qhw9iPt9-XipvGpZe.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CVZrCy-t-DHZcdzsr.js → BusinessVerificationPage-CVZrCy-t-F9z4Omf_.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-r5Tf-P5n-CPkrSmch.js → CardNumberSubText-r5Tf-P5n-Bd9XWjBs.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-Bo_ZMMG7-O_F3xD1y.js → CashbackDetailPage-Bo_ZMMG7-DY4uwuk6.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BlQdk9jC-CEJAXstZ.js → ChargeCardDetailPage-BlQdk9jC-p_2F8M2-.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CsFYpoaM-guNcti1f.js → ChargeCardListPage-CsFYpoaM-BLYEqwpJ.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D8exMgXq-BTYKr9bX.js → ChargeCardListTable-D8exMgXq-KEvwZvUd.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DBc981J5-C_KsK_Zd.js → ChargeCardPaymentHistoryPage-DBc981J5-KlteZutK.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-Dk1xNNTk-Cya5z3jm.js → ChargeCardPromoPage-Dk1xNNTk-CxmbCQB1.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-Bco5-BZh-DmUwzBF1.js → ChargeCardSetupPage-Bco5-BZh-B8-6cLwe.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-uEDAQkC5-Ca3X6gkv.js → ChargeCardStatementsPage-uEDAQkC5-BIct3fMb.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-CNRKyz3v-gmMux-Qd.js → CheckDepositDrawerPage-CNRKyz3v-CnOsgnvp.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CoDaSHJN-BeRkup1e.js → CollapsableReportTable-CoDaSHJN-7ZWnBJFb.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DzleqDta-BzbJLAhM.js → CompanyOfficerDetailsSection-DzleqDta-BazZ5VDR.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-CG5saSQ3-DNwsmEMg.js → CompanyPassportCard-CG5saSQ3-XTPNCjrJ.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-ZCNGHjZ9-KZyi_Mzu.js → CompanyPassportPage-ZCNGHjZ9-acGpYX0O.js} +1 -1
  46. package/dist/assets/{CompleteProfile-BqPvCgUX-A6-sj2cx.js → CompleteProfile-BqPvCgUX-DzRQX5Ux.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-B2xVyUMV-0H5gfw7o.js → ConfettiBurst-B2xVyUMV-DA1X_WQP.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BthMTEWM.js → ConstrainedInnerElement-BeIpAPjB-DQdCN5Vt.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CfFzrga_-BPUVECKH.js → CreateOrEditVendorPage-CfFzrga_-DxXqEs4P.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Cjnbhvmv-eb3LqJz4.js → CreditCardPaymentDrawerPage-Cjnbhvmv-DMdj8CR9.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-DDmu3bja-D1d_Ut_Z.js → CurrencySelectField-DDmu3bja-D2vp1THT.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-hnf-eIo--C4K5Zxpz.js → CustomerOnboardingActivationPage-hnf-eIo--M_wsSKO-.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-qNlamMUH.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-C4F_bhLR.js → CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-B7KTZSYL.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CA0h5UTQ-BjW3LXd6.js → CustomerOnboardingNoStepsPage-CA0h5UTQ-DBNnVKOk.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-rvO0Stsl-D7f95vft.js → CustomerOnboardingPage-rvO0Stsl-CkDyZpNl.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BIgNTp2U-BwO9ehCm.js → CustomerOnboardingProductSuitePage-BIgNTp2U-BsO86wph.js} +1 -1
  58. package/dist/assets/{Dashboard-BFesVYJk-BNAlL83k.js → Dashboard-BFesVYJk-4woXtpia.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CdNJfWUo-DOYF0wYK.js → DashboardReportPage-CdNJfWUo-Cf8lKrZc.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CJDhi61--XjtCq4Xk.js → DashboardSidebarBackgroundAnimation-CJDhi61--CktrU5Ad.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js → DepositAccTransactionItem-DJ_V8Mx7-by48Rliz.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-DBsJOm1m-nTfqP2ee.js → DepositAccTransactionListPage-DBsJOm1m-D_ehdQxy.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-B1_C38p0-CovZ6vni.js → DomesticWireDetailsPage-B1_C38p0-LBotQQPG.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-DYUlDQr8-qBFIPpKK.js → DownloadOverlay-DYUlDQr8-DfH_nzsv.js} +1 -1
  65. package/dist/assets/{DrawerPage-jU38Lq6Q-AHgBQfC_.js → DrawerPage-jU38Lq6Q-DntQUH4G.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Dw9mMyyp-DPDs2n-w.js → EditPeoplePage-Dw9mMyyp-DiGi0hM-.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-PRaUQsZj-DqTgKZsB.js → EditReimbursementDetailPage-PRaUQsZj-GAOScwtW.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-C2Ix5fwl-gSVT_FTR.js → EntityDetailPage-C2Ix5fwl-CmyWUTjP.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-BzzwWXw2-D_F7Rlzp.js → EntitySummarySection-BzzwWXw2-BUQmskR8.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CMzFQB6V-DM_yh2Rl.js → ExpenseAutomationOverviewPage-CMzFQB6V-BneT-ssd.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-BOOA30kB-BufH1Btg.js → ExpenseAutomationPage-BOOA30kB-BM3NBAD7.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-B8_m64s9-wdqPmdTX.js → ExpressPayPage-B8_m64s9-BIjoX2VD.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BLWGNRVo-C92AU0mn.js → FeaturePreviewPage-BLWGNRVo-BiqYU_wG.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CBVDfZ38-nmHmpAVz.js → FollowStepsSection-CBVDfZ38-Cm3kUK7f.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DlBZ4OnM-xT4_H-8W.js → GlobalReviewListPage-DlBZ4OnM-Cawl2-xW.js} +1 -1
  76. package/dist/assets/{InformationCardStack-D8hkkUkN-B1MHqZTM.js → InformationCardStack-D8hkkUkN-B2RyJn0I.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-T3ZL19C0-BBaRu6Cu.js → InsightsCardStack-T3ZL19C0-BFPxQf02.js} +1 -1
  78. package/dist/assets/{InsightsSection-CVioRrr2-CEMLw-o0.js → InsightsSection-CVioRrr2-CizKqTLz.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-DKqNc7bF-BOmO6Qyo.js → IntegrationsSettingsPage-DKqNc7bF-mYzl5LCA.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js → InternationalWireSwiftDetailsPage-qzmJ8_r9-BiS6yUCF.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-8XEibbVK-cjj-JWJ4.js → InternationalWireVerificationPage-8XEibbVK-DwoiwomB.js} +1 -1
  82. package/dist/assets/{InviteFormPage-Dw-l-O7n-B74WmVBo.js → InviteFormPage-Dw-l-O7n-Cz-JNup5.js} +1 -1
  83. package/dist/assets/{InvitePageListView-CGjk-eOP-ClDlh7fM.js → InvitePageListView-CGjk-eOP-2mHJ7_iY.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-DSg5Quam-VrkZhbUi.js → InvitePeoplePage-DSg5Quam-Cv5VMzd7.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js → InvoiceUploadSection-D_uWzQW4-C1m2dtsx.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BASDviuN-Der3X_t9.js → IssueChargeCardPage-BASDviuN-DswvQgbA.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-IPGwjeYh-CkaMLxji.js → LabeledAddressValue-IPGwjeYh-BvT-j9mU.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js → LabeledAddressValueField-DYjUauc7-DSedpeee.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-DVf8zpcv-CnTD9x1u.js → LabeledControlledCheckBoxField-DVf8zpcv-uvcMPlBZ.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-CekqwoGI-FfKjwgoC.js → LabeledCountryMultiSelectField-CekqwoGI-DS9X4qNq.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-By3V1BNi-3t8vaX2e.js → LabeledCreatableSingleSelectField-By3V1BNi-CLJBRY7A.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CN-BH7Gq-D_XxeGxN.js → LabeledDocumentField-CN-BH7Gq-Dl3puSK8.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CQkl7AeY-DLVKw4TX.js → LabeledDropDownFormattedTextField-CQkl7AeY-DiICXjNp.js} +1 -1
  94. package/dist/assets/{LabeledText-D1RmgOs9-q82PtDVl.js → LabeledText-D1RmgOs9-BCpwQ2NH.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-0XX6kAaj.js → LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-DQPpbING.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BiVOlFVe-DAdgSY4x.js → LabeledZeniRolesDropDownField-BiVOlFVe-B-ws_hw8.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DbA8sdwa-BFuJnTLq.js → LinkJETransactionPage-DbA8sdwa-BffLhyw9.js} +1 -1
  98. package/dist/assets/{LockCardPage-BVpW2BeO-aNMVewaJ.js → LockCardPage-BVpW2BeO-dES1IrE-.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DTUaytjD-DS1CDgAE.js → LowBalancePopup-DTUaytjD-Nlk7Oegk.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-k34ybVrp-BxWmvoNw.js → MagicLinkACHDetailsPage-k34ybVrp-BnrCgMi8.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-Cc9sI0Na-DYhrOrMG.js → MagicLinkDomesticWireDetailsPage-Cc9sI0Na-Ds77XqOu.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DI9_mzqN-g6BD3Bf4.js → MagicLinkInternationalWireDetailsPage-DI9_mzqN-CInb-3B9.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-RG1qZ5Kj-CBdchHNz.js → MagicLinkSuccessPage-RG1qZ5Kj-DFBOSu17.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.js → MagicLinkTitleSection-BeTuROc4-BR3dzAQx.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-q49nDsf9-CpQRrqml.js → MailingDetailsSection-q49nDsf9-KADN4irS.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-B9kH0sVB-CBACGGM8.js → MyBankConnectionsSettingsPage-B9kH0sVB-DIJAR2CQ.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-SRoiz1Qu-CXlkfrZl.js → MyPendingActivationChargeCardListPage-SRoiz1Qu-rIIP-ybe.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-D40mm3Me-BP-31NhD.js → MyProfileSettingsPage-D40mm3Me-DrTJIZZW.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DuTo0ZPb-C_jShNIM.js → NavBarWithPicker-DuTo0ZPb-DGyZ00lO.js} +1 -1
  110. package/dist/assets/{NavigationArrow-BvkBQmTR-Df9u1P7d.js → NavigationArrow-BvkBQmTR-DSC0I_hV.js} +1 -1
  111. package/dist/assets/{NavigationDots-DyeJVxnu-BWgE-kd3.js → NavigationDots-DyeJVxnu-By_cIuC3.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-D15HmpS7-7O1eYItX.js → NewGlobalMerchantPage-D15HmpS7-xHXEFrqA.js} +1 -1
  113. package/dist/assets/{NoDataChart-j3LPkJML-DH_2yb3S.js → NoDataChart-j3LPkJML-BXxvwRE9.js} +1 -1
  114. package/dist/assets/{NoDataTable-BnwGiTCu-DdjmD7IA.js → NoDataTable-BnwGiTCu-flA7AVBK.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Ds5RxwiG-CAZIdfn2.js → NotFoundPage-Ds5RxwiG-BFanF1xy.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-CeWmIGY8-DtH4x4Zr.js → NotificationSettingsPage-CeWmIGY8-Ic6qjJdr.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-_L5Loigk-C2rXa9XH.js → NotificationsListConfig-_L5Loigk-B1QH-Ysi.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DYE-ZefG-CQb2VS6_.js → NotificationsPage-DYE-ZefG-Bp-gEWJR.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-Br2UmBAk-C4xtYWdA.js → OpExByVendorPage-Br2UmBAk-CNnq3yMm.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-C2DruCao.js → OverlayContainerPage-D4QU0p4o-BXZodTOA.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-vAvSbwIq-D4RAUyzB.js → PandLWithForecastPage-vAvSbwIq-98GaQeW2.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-2cz94sYW-D8fR2crL.js → PaymentAccountSetupBillingAddressSection-2cz94sYW-D3SmZnFI.js} +1 -1
  123. package/dist/assets/{PeoplePage-DSSY4CbY-CUJyHd04.js → PeoplePage-DSSY4CbY-3pfM0-Hi.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-JcjsFk4w-xghMAqt2.js → ProductsCarousel-JcjsFk4w-DjQBtb1W.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-D8xPcjkz-DtK0GWHd.js → PromoBaseCards-D8xPcjkz-B7rXHyWj.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-KDwylUf5-DEEWOQtl.js → QBOConnectionDialog-KDwylUf5-BRlYxKof.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-Dts3QjOd-CSmveDbb.js → QBOSetupSection-Dts3QjOd-Bp3K4lTY.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dz5HZk-8--6Vs9cIS.js → ReimbursementApprovalRuleDetailPage-Dz5HZk-8-BkjW2lt9.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-BcmW2ws5-Che0m033.js → ReimbursementApprovalRulesPage-BcmW2ws5-CY2-LSyA.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-BdJYqqCn-CYh1sneh.js → ReimbursementDetailPage-BdJYqqCn-DqEBhH79.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-B7nNFf49-09B6QAJH.js → ReimbursementPromoPage-B7nNFf49-B9SzIG9q.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-B6l3L19G-D3utfB62.js → ReimbursementSetUpPage-B6l3L19G-DNTa_A6C.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-DWSGEIbO.js → ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-jSl1Bsqv.js} +1 -1
  134. package/dist/assets/{ReloadCard-pCquFw6w-C5Nq3bfI.js → ReloadCard-pCquFw6w-DBjkOmV7.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-BOA9cxem-D95Rl8Pv.js → ReportTableViewSelector-BOA9cxem-BS3REeZ4.js} +1 -1
  136. package/dist/assets/{ReportsPage-BOsLdYhx-DZO6PKlQ.js → ReportsPage-BOsLdYhx-owB_THDz.js} +1 -1
  137. package/dist/assets/{RevenueChart-DPse5Wdo-AFfFtyYx.js → RevenueChart-DPse5Wdo-OIgl53W3.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-DTCm09MF-BtzB7MPB.js → ReviewDetailsPage-DTCm09MF--rKhGALN.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-B2XV0Wf1-9HOJu6NK.js → ReviewOverlay-B2XV0Wf1-S0QB0UpN.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-DpaXFRka-BbRU76xe.js → RoleWithToolTip-DpaXFRka-iJGT3yYd.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DLpikyWD-kK0JFjhN.js → ScheduleDetailsFixedAssetsPage-DLpikyWD-PAHhNfg2.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-DIvnRAi6-CXakgTSA.js → ScheduleDetailsPage-DIvnRAi6-BUZ2wDgW.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-O93ZenyD-DnPGdohK.js → ScheduleSequenceTable-O93ZenyD-DYUAgpkH.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-uNOGWUGZ.js → ScreenRoutes-DMGgz6fG.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-Dl68db5l-B4jqgZUp.js → SetUpAccountSection-Dl68db5l-B6F1JcoI.js} +1 -1
  146. package/dist/assets/{SignIn-D6twztsA-CW5yhgyV.js → SignIn-D6twztsA-YUm5BDkx.js} +1 -1
  147. package/dist/assets/{SignInScreen-CxdUYlBE.js → SignInScreen-I5BSgBaD.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-DsTTqmEx-yOHixb_V.js → SpendManagementListViewPage-DsTTqmEx-CExDQlz7.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-Dt9HEmXn-CJK-wCrp.js → SpendManagementPerTabPage-Dt9HEmXn-DNlOC3cE.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-DbsdVrJv-B_c96ZIs.js → SpendManagementSection-DbsdVrJv-BoDC5w_Q.js} +1 -1
  151. package/dist/assets/{StatementItem-D1vvnzNl-lXFrHXXQ.js → StatementItem-D1vvnzNl-GYPnsACz.js} +1 -1
  152. package/dist/assets/{StatementsPage-XAVpAiKL-Ch4pndMa.js → StatementsPage-XAVpAiKL-CY-e_AuK.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-B4EYXc0F-D3lCfolE.js → StatusSwitcher-B4EYXc0F-DpiYpLJi.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-CM9v4rRl-lIA1fOJE.js → SubTabSwitcher-CM9v4rRl-43o4mkFF.js} +1 -1
  155. package/dist/assets/{SummaryCard-CF9Nbk_i-CKrtYMiz.js → SummaryCard-CF9Nbk_i-Cdw0cmDy.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-ChTC8Nzf-c9kZ-1iP.js → TaskManagementPage-ChTC8Nzf-I3OgMNev.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-37ytEy0X-BPg3_wjC.js → TimeRangeSwitcher-37ytEy0X-CTP_e5KI.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-Ca28fZEt-4kauNdEu.js → TimeframeSwitcher-Ca28fZEt-C-hl5gNV.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-BSWY0nMa-u1tKN6th.js → TimeframeSwitcherWithToggle-BSWY0nMa-Bfvl6KZo.js} +1 -1
  160. package/dist/assets/{TopExCard-DHDNaLww-Cp9pW08N.js → TopExCard-DHDNaLww-DB285z1L.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-DFzrCiVG-BvTfiPwy.js → TopExDetailPage-DFzrCiVG-B2zTG092.js} +1 -1
  162. package/dist/assets/{TransactionActivityLogPage-DcbQgckT-BCk9nFR3.js → TransactionActivityLogPage-DcbQgckT-Ba81TPeG.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-BCTtqHfm-n6NqpKTK.js → TransactionDetailPage-BCTtqHfm-CJfUf_vE.js} +1 -1
  164. package/dist/assets/{TransactionList-DVFUdewa-8p0Xausj.js → TransactionList-DVFUdewa-CPfZsrKw.js} +1 -1
  165. package/dist/assets/{TransactionListBig-Daypmugt-AiYr5uVw.js → TransactionListBig-Daypmugt-DwHxOfjW.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CzwkHzb_-Dnj7c_uL.js → TransactionListPage-CzwkHzb_-mCApqsUa.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-BsKafcmj-QLBH3pzt.js → TransactionVendorDetailPage-BsKafcmj-DH3_qYvS.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-DyFcSYZt-7PU8dYYK.js → TransferDrawerPage-DyFcSYZt-B0ozVQqC.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-BPkFbqCZ-BGWLrsqk.js → TreasuryOverviewPage-BPkFbqCZ-CV2aWJxX.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-pEVzLiB4-CckQ4gPa.js → TreasuryPromoPage-pEVzLiB4-B82QIuOP.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-izaxVrJg-BOmcBurT.js → TreasuryStatementsPage-izaxVrJg-BGqMqQJD.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-DIa79RKC-BaoTF3DV.js → TreasuryTaxLetterPage-DIa79RKC-wwC8dOa6.js} +1 -1
  173. package/dist/assets/{TrendChart--F9P_tcq-CTI_f8th.js → TrendChart--F9P_tcq-DJqwDs8S.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-B0R1TMMK-BIx_Ucxw.js → TrendWithTransactions-B0R1TMMK-BbKWUd5F.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-CToVvQYm-DSBjQ-vG.js → UncategorizedAccountsMappingPage-CToVvQYm-9kavTn2k.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-DGmrRY2v-CpdFvEi5.js → UnitIntegrationPage-DGmrRY2v-DNfHimpf.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js → UploadAdditionalDocumentOverlay-B3JZwTBb-QsUkBJ86.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BRMPwclY-C7lmw7U-.js → Vendor2FAPopup-BRMPwclY-D1eZdzWb.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-FgtLHn1A-BN5W-Bsc.js → VendorACHDetailsPage-FgtLHn1A-CMn1_jF0.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-DTQ-KiJz-BjFrWJYo.js → VendorDetailPage-DTQ-KiJz-DEif5VV0.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-yy6bXxb9-D2ssuNks.js → VendorDomesticWireDetailsPage-yy6bXxb9-B5dr8PD-.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-z9q_fohc-ld-WK3qa.js → VendorFiling1099EditablePage-z9q_fohc-Siz26Gl2.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-DTOwONia-CpI3YCe1.js → VendorFirstReviewPage-DTOwONia-C_vwhEcD.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-DR-BKbDb-DaH2MsUT.js → VendorInternationalWireDetailsPage-DR-BKbDb-Bx_d25D9.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DK94_VqZ-DJpWsPVZ.js → VendorInternationalWireSwiftDetailsPage-DK94_VqZ-D8BksFf-.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-CWyBBs2G-BHKKM3ME.js → VendorsAccountsSection-CWyBBs2G-DF4y-0lY.js} +1 -1
  187. package/dist/assets/{VerifyDevice-CG1Qj4Lm-DigRc0-f.js → VerifyDevice-CG1Qj4Lm-wINn4dC9.js} +1 -1
  188. package/dist/assets/{VideoPlayer-BdIPlzSd-DYXLi2NY.js → VideoPlayer-BdIPlzSd-cxqcdWGN.js} +1 -1
  189. package/dist/assets/{VideoPopup-W2U47mhU-BbkemVhS.js → VideoPopup-W2U47mhU-BsRFoOfq.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-D0aOjGDf-CAbcgcID.js → WarningsDrawerPage-D0aOjGDf-DK5g7sIL.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-DJyYOR4V-DHVbCPEu.js → ZeniAccountDetailPage-DJyYOR4V-BPJb7ZK6.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-BTOIvLCF-mMpckNBs.js → ZeniAccountListViewPage-BTOIvLCF-BE5Fz2oe.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js → ZeniAccountNavBarPieces-vGgpCYIn-DDtNsnT1.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-DYxM2WNa-jQgPA6gu.js → ZeniAccountPromoPage-DYxM2WNa-Cb1S3bKA.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DUq-PiMf-DWgEim6l.js → ZeniAccountSetupPage-DUq-PiMf-BpXOTxw-.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-Chrw_zb6-BKj6eUA-.js → ZeniCopyright-Chrw_zb6-1JklLzl_.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js → ZeniTransferAmountSlider-CuZPJv1--DQCAOoSf.js} +1 -1
  198. package/dist/assets/{analyticsHelper-BqOb8jb5-CGkPFK_O.js → analyticsHelper-BqOb8jb5-uqb4ePYk.js} +1 -1
  199. package/dist/assets/{analyticsHelper-j8OuskUt.js → analyticsHelper-C_HqdDnn.js} +1 -1
  200. package/dist/assets/{chartTypes-kba3vib6-DZ27Jj39.js → chartTypes-kba3vib6-C61cdgbs.js} +1 -1
  201. package/dist/assets/{commonDimensions-D0kIxeo5-RDa02x_3.js → commonDimensions-D0kIxeo5-BAZA0IsC.js} +1 -1
  202. package/dist/assets/{commonTypes-0d0JMX8y-CalDLikD.js → commonTypes-0d0JMX8y-BSQsYm1G.js} +1 -1
  203. package/dist/assets/{detailCommon-ttGeF18U-BSDu3BLp.js → detailCommon-ttGeF18U-CkrL3UJn.js} +1 -1
  204. package/dist/assets/{downloadPdf-DX8GL4Ja-x4buR44L.js → downloadPdf-DX8GL4Ja-CuxJivYU.js} +1 -1
  205. package/dist/assets/{helper-YFgDgQKT-BC5Bdlf5.js → helper-YFgDgQKT-DOqzu1V3.js} +1 -1
  206. package/dist/assets/{index-Dfs8yBxm.js → index-CwKB-c-N.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-DuIK129X-C7sz-zfO.js → mapLoadingInProgressToTreeNode-DuIK129X-4igJl9im.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co-aYc3j-BzIgtJky.js → mapSectionWithAcOnlyToTreeNode-Co-aYc3j-D6xOAgQb.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-COaFWgJv-CpUvCKfW.js → mapSpacerToTreeNode-COaFWgJv-DdrmZWgR.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-330OiGav-D2arADsc.js → mapTimeframeBalancesToTreeNode-330OiGav-Bl_AiEgV.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-CATud2li-D_4USxAl.js → mapTimeframeBalancesToTreeNode-CATud2li-pzlCPJi2.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-D6BhbnL-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-8cZ2jysT.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-iCDy3BRW-D-QioPYy.js → toCOABalancesWithID-iCDy3BRW-COkl1OQ2.js} +1 -1
  214. package/dist/assets/{toChartData-CLrjl2HT-B5rnppiY.js → toChartData-CLrjl2HT-DfwKdJKJ.js} +1 -1
  215. package/dist/assets/{uploadAttachment-_EPHKVvJ-BI-TRaFx.js → uploadAttachment-_EPHKVvJ-2oM7SHqA.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-dznVP6mr.js → uploadReceipts-Dge0cNF1-CY3ueoqj.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-C6hmKSZu.js +0 -1
@@ -1 +1 @@
1
- import{V as S}from"./index-Dfs8yBxm.js";import{a as k}from"./sentry-Dje-_Mky.js";import{f as y}from"./InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./mui-BoUXdMXW.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./BankAccountWarningSection-ko9DqAKK-BfybEzCK.js";import"./MailingDetailsSection-q49nDsf9-CpQRrqml.js";import"./LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js";import"./MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c908e442-e181-44e2-a80d-d563832c3c58",e._sentryDebugIdIdentifier="sentry-dbid-c908e442-e181-44e2-a80d-d563832c3c58")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return k.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),S.jsx(y,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
1
+ import{V as S}from"./index-CwKB-c-N.js";import{a as k}from"./sentry-Dje-_Mky.js";import{f as y}from"./InternationalWireSwiftDetailsPage-qzmJ8_r9-BiS6yUCF.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./mui-BoUXdMXW.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./BankAccountWarningSection-ko9DqAKK-uCqYdc6s.js";import"./MailingDetailsSection-q49nDsf9-KADN4irS.js";import"./LabeledAddressValueField-DYjUauc7-DSedpeee.js";import"./MagicLinkTitleSection-BeTuROc4-BR3dzAQx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c908e442-e181-44e2-a80d-d563832c3c58",e._sentryDebugIdIdentifier="sentry-dbid-c908e442-e181-44e2-a80d-d563832c3c58")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return k.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),S.jsx(y,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{J as ie,y as oe,F as te,x as c,gL as w,aW as T,V as i,h$ as g,o as r,hY as f,z as ne,p as re,dB as de,aj as se,u as a}from"./index-Dfs8yBxm.js";import{n as s}from"./mui-BoUXdMXW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="304888cb-903b-4e0c-bc05-62fac67dc5df",e._sentryDebugIdIdentifier="sentry-dbid-304888cb-903b-4e0c-bc05-62fac67dc5df")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{J as ie,y as oe,F as te,x as c,gL as w,aW as T,V as i,h$ as g,o as r,hY as f,z as ne,p as re,dB as de,aj as se,u as a}from"./index-CwKB-c-N.js";import{n as s}from"./mui-BoUXdMXW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="304888cb-903b-4e0c-bc05-62fac67dc5df",e._sentryDebugIdIdentifier="sentry-dbid-304888cb-903b-4e0c-bc05-62fac67dc5df")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aR as z,a9 as U,V as r,bT as W,aa as p,ad as X,bU as Z,aj as x,bV as B,o as n,F as L,r as E,bW as G,am as O,bX as Y,bY as I,bL as q,p as j,bb as v,bZ as J}from"./index-Dfs8yBxm.js";import{a as c}from"./sentry-Dje-_Mky.js";import{n as t}from"./mui-BoUXdMXW.js";import{bh as K}from"./zeni-epic-state-DjuGgMVt.js";import{A as Q,Z as V}from"./AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./handshake-BPg58FML-CaQoUCG-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="67d8da90-3ba1-4a77-a44f-103c987a5e87",e._sentryDebugIdIdentifier="sentry-dbid-67d8da90-3ba1-4a77-a44f-103c987a5e87")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Y(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},C=120,k=30,_=2,re="456px",te="256px",T=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Ae=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(C),[h,S]=c.useState(k),D=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},A=()=>{$.trim().length===T&&e.onVerifyOtp($)},H=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const M=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>_,children:r.jsx(Q,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=_,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Z,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${V}`,children:V})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(B,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",M(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(C),S(k))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:A,style:{width:82},loading:i,disabled:$.trim().length!==T||l===!0})]}),r.jsx(me,{children:H})]})]})})})]})})},ne=t.div`
1
+ import{aR as z,a9 as U,V as r,bT as W,aa as p,ad as X,bU as Z,aj as x,bV as B,o as n,F as L,r as E,bW as G,am as O,bX as Y,bY as I,bL as q,p as j,bb as v,bZ as J}from"./index-CwKB-c-N.js";import{a as c}from"./sentry-Dje-_Mky.js";import{n as t}from"./mui-BoUXdMXW.js";import{bh as K}from"./zeni-epic-state-DjuGgMVt.js";import{A as Q,Z as V}from"./AccountLockedInfoModal-BI8dkiAz-BPPOyH1t.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./handshake-BPg58FML-CaQoUCG-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="67d8da90-3ba1-4a77-a44f-103c987a5e87",e._sentryDebugIdIdentifier="sentry-dbid-67d8da90-3ba1-4a77-a44f-103c987a5e87")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Y(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},C=120,k=30,_=2,re="456px",te="256px",T=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Ae=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(C),[h,S]=c.useState(k),D=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},A=()=>{$.trim().length===T&&e.onVerifyOtp($)},H=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const M=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>_,children:r.jsx(Q,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=_,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Z,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${V}`,children:V})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(B,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",M(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(C),S(k))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:A,style:{width:82},loading:i,disabled:$.trim().length!==T||l===!0})]}),r.jsx(me,{children:H})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-eG3wjELA.js","assets/sentry-Dje-_Mky.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-ClpUcFhc.js","assets/zeni-epic-state-DjuGgMVt.js","assets/core-XvwDdaId.js","assets/index-DfiMoEY6.js","assets/react-BM1bLfCE.js","assets/react-B6Zv-pk5.js","assets/react-D4fY6Hdc.js","assets/react-D2vJQnJN.js","assets/react-BEh8f-x0.js","assets/react-CGUy3-Ee.js","assets/Preview-DH9wlYN4.js"])))=>i.map(i=>d[i]);
2
- import{J as W,V as f,ap as X,p as Y}from"./index-Dfs8yBxm.js";import{P as _,a as t}from"./sentry-Dje-_Mky.js";import{n as k,k as K}from"./mui-BoUXdMXW.js";import{r as Z}from"./core-XvwDdaId.js";import{ba as y}from"./zeni-epic-state-DjuGgMVt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f903db24-5273-4131-b864-8e9d741886c6",e._sentryDebugIdIdentifier="sentry-dbid-f903db24-5273-4131-b864-8e9d741886c6")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-eG3wjELA.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-ClpUcFhc.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DfiMoEY6.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BM1bLfCE.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-B6Zv-pk5.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-D4fY6Hdc.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-D2vJQnJN.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BEh8f-x0.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CGUy3-Ee.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,c,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-DH9wlYN4.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
2
+ import{J as W,V as f,ap as X,p as Y}from"./index-CwKB-c-N.js";import{P as _,a as t}from"./sentry-Dje-_Mky.js";import{n as k,k as K}from"./mui-BoUXdMXW.js";import{r as Z}from"./core-XvwDdaId.js";import{ba as y}from"./zeni-epic-state-DjuGgMVt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f903db24-5273-4131-b864-8e9d741886c6",e._sentryDebugIdIdentifier="sentry-dbid-f903db24-5273-4131-b864-8e9d741886c6")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-eG3wjELA.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-ClpUcFhc.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DfiMoEY6.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BM1bLfCE.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-B6Zv-pk5.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-D4fY6Hdc.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-D2vJQnJN.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BEh8f-x0.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CGUy3-Ee.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,c,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-DH9wlYN4.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -1,4 +1,4 @@
1
- import{J as s,V as t,ap as l,ab as a,p as c,o,x as d}from"./index-Dfs8yBxm.js";import{n}from"./mui-BoUXdMXW.js";import{N as f}from"./VideoPlayer-BdIPlzSd-DYXLi2NY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="a34c168b-80f5-46f5-8cb9-22d675f7b130",e._sentryDebugIdIdentifier="sentry-dbid-a34c168b-80f5-46f5-8cb9-22d675f7b130")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
1
+ import{J as s,V as t,ap as l,ab as a,p as c,o,x as d}from"./index-CwKB-c-N.js";import{n}from"./mui-BoUXdMXW.js";import{N as f}from"./VideoPlayer-BdIPlzSd-cxqcdWGN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="a34c168b-80f5-46f5-8cb9-22d675f7b130",e._sentryDebugIdIdentifier="sentry-dbid-a34c168b-80f5-46f5-8cb9-22d675f7b130")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{J as C,V as s,R as D,Q as j,r as B,w as S,o as n,F as M,x as $,z as E,M as L,a as z,b as P,p as h,m as N,c as T,u,d as A}from"./index-Dfs8yBxm.js";import{n as a}from"./mui-BoUXdMXW.js";import{cG as R}from"./zeni-epic-state-DjuGgMVt.js";import"./sentry-Dje-_Mky.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="d5ebc705-bb57-474c-a324-9720c8c639bf",r._sentryDebugIdIdentifier="sentry-dbid-d5ebc705-bb57-474c-a324-9720c8c639bf")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?R(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=_(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=Q(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=V(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=G(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:D(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
1
+ import{J as C,V as s,R as D,Q as j,r as B,w as S,o as n,F as M,x as $,z as E,M as L,a as z,b as P,p as h,m as N,c as T,u,d as A}from"./index-CwKB-c-N.js";import{n as a}from"./mui-BoUXdMXW.js";import{cG as R}from"./zeni-epic-state-DjuGgMVt.js";import"./sentry-Dje-_Mky.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="d5ebc705-bb57-474c-a324-9720c8c639bf",r._sentryDebugIdIdentifier="sentry-dbid-d5ebc705-bb57-474c-a324-9720c8c639bf")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?R(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=_(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=Q(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=V(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=G(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:D(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
2
  ${D(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(j,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(B,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},_=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},Q=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=a.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a9 as Te,J as H,ax as Pe,y as pe,aR as Be,V as t,aP as P,bU as B,o,bD as Le,w as S,cr as O,cs as R,ct as G,ad as Ne,es as He,p as y,ex as Me,ab as C,T as ue,aj as w,F as X,bL as Ee,bP as Ie,aU as Ue,x as b,h1 as We,fl as ae,u,am as q,hB as Oe,b8 as Re,b0 as Ge,hC as Fe,d as Ve,hD as Ye,m as Je,h4 as _e,d7 as Ke,an as Xe,z as qe,cj as Ze}from"./index-Dfs8yBxm.js";import{a as r}from"./sentry-Dje-_Mky.js";import{n as a}from"./mui-BoUXdMXW.js";import{GJ as Qe,bL as F}from"./zeni-epic-state-DjuGgMVt.js";import{$ as et}from"./BoxItem-Qhw9iPt9-CzMCE4d7.js";import{w as tt}from"./downloadPdf-DX8GL4Ja-x4buR44L.js";import{q as ot}from"./DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js";import{T as at}from"./ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-Dx_NgewX.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./commonDimensions-D0kIxeo5-RDa02x_3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4d6400cb-7980-4523-9b2d-d09ab067dac3",e._sentryDebugIdIdentifier="sentry-dbid-4d6400cb-7980-4523-9b2d-d09ab067dac3")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
1
+ import{a9 as Te,J as H,ax as Pe,y as pe,aR as Be,V as t,aP as P,bU as B,o,bD as Le,w as S,cr as O,cs as R,ct as G,ad as Ne,es as He,p as y,ex as Me,ab as C,T as ue,aj as w,F as X,bL as Ee,bP as Ie,aU as Ue,x as b,h1 as We,fl as ae,u,am as q,hB as Oe,b8 as Re,b0 as Ge,hC as Fe,d as Ve,hD as Ye,m as Je,h4 as _e,d7 as Ke,an as Xe,z as qe,cj as Ze}from"./index-CwKB-c-N.js";import{a as r}from"./sentry-Dje-_Mky.js";import{n as a}from"./mui-BoUXdMXW.js";import{GJ as Qe,bL as F}from"./zeni-epic-state-DjuGgMVt.js";import{$ as et}from"./BoxItem-Qhw9iPt9-XipvGpZe.js";import{w as tt}from"./downloadPdf-DX8GL4Ja-CuxJivYU.js";import{q as ot}from"./DepositAccTransactionItem-DJ_V8Mx7-by48Rliz.js";import{T as at}from"./ZeniAccountNavBarPieces-vGgpCYIn-DDtNsnT1.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-Dx_NgewX.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./commonDimensions-D0kIxeo5-BAZA0IsC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4d6400cb-7980-4523-9b2d-d09ab067dac3",e._sentryDebugIdIdentifier="sentry-dbid-4d6400cb-7980-4523-9b2d-d09ab067dac3")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{J as Q,a9 as Ie,aR as _e,y as De,aZ as Ee,aQ as Ge,V as t,cr as W,p as o,ad as Fe,o as n,es as Ne,ex as Re,cs as ne,ct as ie,hy as Ue,aP as F,bU as fe,bD as Oe,w as C,F as K,ar as We,am as Ye,d as Ve,c0 as Ze,bL as ye,aj as j,ax as Je,ce as qe,fl as G,ab as N,x as b,an as X,g$ as He,z as Qe,M as Ke,ao as Xe,d1 as et,cj as tt,ga as nt,u,dP as it,fO as ot,hz as rt,r as st,h0 as at,bP as ct,aU as lt}from"./index-Dfs8yBxm.js";import{a as g}from"./sentry-Dje-_Mky.js";import{n as i}from"./mui-BoUXdMXW.js";import{GJ as dt}from"./zeni-epic-state-DjuGgMVt.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-HGlxBiye.js";import{o as ut}from"./shield-DOlUxcFf-DsKmOO4l.js";import{T as mt}from"./ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js";import{v as ht}from"./ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="584b5a09-4d46-4f4c-8201-beaba6dbc926",e._sentryDebugIdIdentifier="sentry-dbid-584b5a09-4d46-4f4c-8201-beaba6dbc926")}catch{}})();const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=Q(),v=(c,T)=>Object.entries(T).reduce((M,[A,w])=>M.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(bt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
1
+ import{J as Q,a9 as Ie,aR as _e,y as De,aZ as Ee,aQ as Ge,V as t,cr as W,p as o,ad as Fe,o as n,es as Ne,ex as Re,cs as ne,ct as ie,hy as Ue,aP as F,bU as fe,bD as Oe,w as C,F as K,ar as We,am as Ye,d as Ve,c0 as Ze,bL as ye,aj as j,ax as Je,ce as qe,fl as G,ab as N,x as b,an as X,g$ as He,z as Qe,M as Ke,ao as Xe,d1 as et,cj as tt,ga as nt,u,dP as it,fO as ot,hz as rt,r as st,h0 as at,bP as ct,aU as lt}from"./index-CwKB-c-N.js";import{a as g}from"./sentry-Dje-_Mky.js";import{n as i}from"./mui-BoUXdMXW.js";import{GJ as dt}from"./zeni-epic-state-DjuGgMVt.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-HGlxBiye.js";import{o as ut}from"./shield-DOlUxcFf-DsKmOO4l.js";import{T as mt}from"./ZeniAccountNavBarPieces-vGgpCYIn-DDtNsnT1.js";import{v as ht}from"./ZeniTransferAmountSlider-CuZPJv1--DQCAOoSf.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="584b5a09-4d46-4f4c-8201-beaba6dbc926",e._sentryDebugIdIdentifier="sentry-dbid-584b5a09-4d46-4f4c-8201-beaba6dbc926")}catch{}})();const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=Q(),v=(c,T)=>Object.entries(T).reduce((M,[A,w])=>M.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(bt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{ax as D,fY as N,V as i,ab as P,h5 as p,hA as y,F as _,o as c,h7 as $}from"./index-Dfs8yBxm.js";import{n as m}from"./mui-BoUXdMXW.js";import{bS as I}from"./zeni-epic-state-DjuGgMVt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a4c6a0e4-bc8e-49c8-9db0-b67c3c2764a5",e._sentryDebugIdIdentifier="sentry-dbid-a4c6a0e4-bc8e-49c8-9db0-b67c3c2764a5")}catch{}})();const n=_.getLocalizedStrings().spendManagement.zeniAccounts,g=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],b={value:"payBill",label:n.moveMoney.payBills},f={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[b,f,v,M],z=[v,f,b,M],C=({zeniBankProps:e,isBillPayEnabled:a,isExpressPayEnabled:r,analytics:h,onSettingsClick:k})=>{const l=D(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||N(l),w=I(l.loggedInUserRoleMap),x=g.filter(t=>t.value==="accountStatement"),d=a===!0?O:z,u=r===!0?d:d.filter(t=>t.value!=="sendMoney"),S=w?u:u.filter(t=>t.value!=="payBill");return i.jsxs(B,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?i.jsx(A,{onClick:k,"data-testid":P("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?x:g,title:n.moveMoney.title}),s?null:i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:S,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},A=m($)`
1
+ import{ax as D,fY as N,V as i,ab as P,h5 as p,hA as y,F as _,o as c,h7 as $}from"./index-CwKB-c-N.js";import{n as m}from"./mui-BoUXdMXW.js";import{bS as I}from"./zeni-epic-state-DjuGgMVt.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a4c6a0e4-bc8e-49c8-9db0-b67c3c2764a5",e._sentryDebugIdIdentifier="sentry-dbid-a4c6a0e4-bc8e-49c8-9db0-b67c3c2764a5")}catch{}})();const n=_.getLocalizedStrings().spendManagement.zeniAccounts,g=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],b={value:"payBill",label:n.moveMoney.payBills},f={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[b,f,v,M],z=[v,f,b,M],C=({zeniBankProps:e,isBillPayEnabled:a,isExpressPayEnabled:r,analytics:h,onSettingsClick:k})=>{const l=D(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||N(l),w=I(l.loggedInUserRoleMap),x=g.filter(t=>t.value==="accountStatement"),d=a===!0?O:z,u=r===!0?d:d.filter(t=>t.value!=="sendMoney"),S=w?u:u.filter(t=>t.value!=="payBill");return i.jsxs(B,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?i.jsx(A,{onClick:k,"data-testid":P("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?x:g,title:n.moveMoney.title}),s?null:i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:S,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},A=m($)`
2
2
  cursor: pointer;
3
3
  min-width: ${c.sp4};
4
4
  width: ${c.sp4};
@@ -1,4 +1,4 @@
1
- import{y as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,d as he,o,cF as ge,ar as Z,r as M,ab as L,af as j,F as _,b as we,aZ as z,aQ as k,aU as O,bz as je,x,p as A,cG as ye,aV as $e,bb as fe,u as F,z as y,M as C,an as T,ag as Se}from"./index-Dfs8yBxm.js";import{a as G}from"./sentry-Dje-_Mky.js";import{n}from"./mui-BoUXdMXW.js";import{M as B}from"./usp-line-BBd1wKwW-19qrO-Ih.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="db26f812-0133-4ac1-87d2-23a9a573c083",e._sentryDebugIdIdentifier="sentry-dbid-db26f812-0133-4ac1-87d2-23a9a573c083")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(F[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,F[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},I={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{y as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,d as he,o,cF as ge,ar as Z,r as M,ab as L,af as j,F as _,b as we,aZ as z,aQ as k,aU as O,bz as je,x,p as A,cG as ye,aV as $e,bb as fe,u as F,z as y,M as C,an as T,ag as Se}from"./index-CwKB-c-N.js";import{a as G}from"./sentry-Dje-_Mky.js";import{n}from"./mui-BoUXdMXW.js";import{M as B}from"./usp-line-BBd1wKwW-19qrO-Ih.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="db26f812-0133-4ac1-87d2-23a9a573c083",e._sentryDebugIdIdentifier="sentry-dbid-db26f812-0133-4ac1-87d2-23a9a573c083")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(F[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,F[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},I={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as ye,J as Se,aR as O,a9 as we,cH as xe,aW as B,V as t,ff as Ae,p as Pe,x as f,bD as Ce,T as ke,ad as ve,fy as Te,dR as Fe,fz as Ve,bx as Ie,aS as ze,o as De,fB as Ee,F as je,u as a,am as Ue}from"./index-Dfs8yBxm.js";import{a as g}from"./sentry-Dje-_Mky.js";import{n as S}from"./mui-BoUXdMXW.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="0fa3f1aa-f8ec-492f-837b-b0530267f49b",e._sentryDebugIdIdentifier="sentry-dbid-0fa3f1aa-f8ec-492f-837b-b0530267f49b")}catch{}})();const c={titleWidth:new f(343,580,726,826),setupDetailsRowGap:new f(12,a[5],a[5]),sectionRowGap:new f(a[5],a[9],a[9]),iconWidthHeight:new f(20,a[4]),subTitlePaddingTop:new f(12,a[3]),subTitlePaddingBottom:new f(a[3],a[3]),overlayWidth:new f(100,100,59)},R="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:W,spendManagement:Re}=je.getLocalizedStrings(),{zeniAccounts:$}=Re,{zeniAccountSetUp:I}=$,{setUp:z}=W,nt=({isDisabled:e,meetingUrl:p,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:Y,onUpdatePaymentAccountLoginStatus:K,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const x=ye(),i=Se(),[A,h]=g.useState(!1),{fetchState:b,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:fe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(b),P=O(u.fetchState),T=we({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>_(l),[l]),values:_(l)}),pe=T.handleSubmit(y=>{d.trackEnableZeniAccounts(),G()}),me=async(y,k)=>{const n=k[v];if(y.includes(v)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&j==="In-Progress"&&b==="Completed"&&h(!1)},[o,b,j]),g.useEffect(()=>{const y=T.watch((k,{name:n})=>{n!=null&&k!=null&&xe(()=>me(n,k))});return()=>{y.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const C=fe?.isZeniAccountEnabled===!0,F=D?.isBusinessVerified===!0,ge=b==="In-Progress"||b==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const he=F?W.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=x.mode==="light"?new B(x.colors.brandColorJadeLight):new B(x.colors.brandColorJadeDark),be=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs(Le,{children:[t.jsx(Ae,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:x.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(_e,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:he}),ge?t.jsx($e,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...T,children:t.jsx("form",{id:L(R),onSubmit:pe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Te,{onClick:be,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Fe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:$.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:Y,onUpdatePaymentAccountLoginStatus:K,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),F&&!C?t.jsx(ze,{formId:L(R),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:F&&!C,meetingUrl:p,analytics:d,productType:"zeni_accounts"})]})},_=e=>{const{allBankAccounts:p,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},_e=S.div`
1
+ import{y as ye,J as Se,aR as O,a9 as we,cH as xe,aW as B,V as t,ff as Ae,p as Pe,x as f,bD as Ce,T as ke,ad as ve,fy as Te,dR as Fe,fz as Ve,bx as Ie,aS as ze,o as De,fB as Ee,F as je,u as a,am as Ue}from"./index-CwKB-c-N.js";import{a as g}from"./sentry-Dje-_Mky.js";import{n as S}from"./mui-BoUXdMXW.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-B3JZwTBb-QsUkBJ86.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="0fa3f1aa-f8ec-492f-837b-b0530267f49b",e._sentryDebugIdIdentifier="sentry-dbid-0fa3f1aa-f8ec-492f-837b-b0530267f49b")}catch{}})();const c={titleWidth:new f(343,580,726,826),setupDetailsRowGap:new f(12,a[5],a[5]),sectionRowGap:new f(a[5],a[9],a[9]),iconWidthHeight:new f(20,a[4]),subTitlePaddingTop:new f(12,a[3]),subTitlePaddingBottom:new f(a[3],a[3]),overlayWidth:new f(100,100,59)},R="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:W,spendManagement:Re}=je.getLocalizedStrings(),{zeniAccounts:$}=Re,{zeniAccountSetUp:I}=$,{setUp:z}=W,nt=({isDisabled:e,meetingUrl:p,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:Y,onUpdatePaymentAccountLoginStatus:K,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const x=ye(),i=Se(),[A,h]=g.useState(!1),{fetchState:b,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:fe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(b),P=O(u.fetchState),T=we({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>_(l),[l]),values:_(l)}),pe=T.handleSubmit(y=>{d.trackEnableZeniAccounts(),G()}),me=async(y,k)=>{const n=k[v];if(y.includes(v)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&j==="In-Progress"&&b==="Completed"&&h(!1)},[o,b,j]),g.useEffect(()=>{const y=T.watch((k,{name:n})=>{n!=null&&k!=null&&xe(()=>me(n,k))});return()=>{y.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const C=fe?.isZeniAccountEnabled===!0,F=D?.isBusinessVerified===!0,ge=b==="In-Progress"||b==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const he=F?W.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=x.mode==="light"?new B(x.colors.brandColorJadeLight):new B(x.colors.brandColorJadeDark),be=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs(Le,{children:[t.jsx(Ae,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:x.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(_e,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:he}),ge?t.jsx($e,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...T,children:t.jsx("form",{id:L(R),onSubmit:pe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Te,{onClick:be,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Fe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:$.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:Y,onUpdatePaymentAccountLoginStatus:K,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),F&&!C?t.jsx(ze,{formId:L(R),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:F&&!C,meetingUrl:p,analytics:d,productType:"zeni_accounts"})]})},_=e=>{const{allBankAccounts:p,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},_e=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{F as r,V as t}from"./index-Dfs8yBxm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec308fc6-b81e-41ef-9546-108e5fba84b6",e._sentryDebugIdIdentifier="sentry-dbid-ec308fc6-b81e-41ef-9546-108e5fba84b6")}catch{}})();function d(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{d as a};
1
+ import{F as r,V as t}from"./index-CwKB-c-N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec308fc6-b81e-41ef-9546-108e5fba84b6",e._sentryDebugIdIdentifier="sentry-dbid-ec308fc6-b81e-41ef-9546-108e5fba84b6")}catch{}})();function d(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{d as a};
@@ -1,4 +1,4 @@
1
- import{V as f,ab as z,o as i,p as j,aj as Y,F as V}from"./index-Dfs8yBxm.js";import{a as w}from"./sentry-Dje-_Mky.js";import{n as m}from"./mui-BoUXdMXW.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="94e17151-8cdc-403f-8dde-efb2ffeb805a",t._sentryDebugIdIdentifier="sentry-dbid-94e17151-8cdc-403f-8dde-efb2ffeb805a")}catch{}})();const I=V.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,d=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:p}=v(r);k(r),$(o),x(p)},T=e=>`${D(e)}${I.transferDrawer.calculator.sliderTooltipText}`,D=e=>e===0?d[0]:e>0&&e<1?d[1]:e>=1&&e<2?d[2]:e>=2&&e<3?d[3]:d[4],v=e=>{const r=D(e),[o,p]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},M=e=>{const{returnedYield:r,totalAmount:o}=v(e);k(e),x(o),$(r)},C=w.useCallback((e,r,o,p)=>{let a=0,s=0,P=0,A=0;if(e<o[0])a=r[0];else{for(let u=0;u<o.length-1;u++)if(e>=o[u]&&e<o[u+1]){a=r[u+1],s=(o[u+1]-o[u])*p,P=e-o[u],A=P/s*p+u;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),C(e,d,n,l)},[g,y,x,d,l,$,n,C]),f.jsxs(_,{sliderValue:c,children:[f.jsx(L,{sliderValue:c,type:"range",min:0,max:d.length-1,step:l,value:c,onChange:S}),f.jsx(B,{style:{width:`calc(${c/(d.length-1)*100}% - ${c*7.5}px)`}}),f.jsx(G,{sliderValue:c,style:{left:`calc(${c/(d.length-1)*100}% - ${c*10+20}px)`},children:T(c)}),f.jsx(H,{children:n.map((e,r)=>f.jsx(N,{onClick:()=>M(r),"data-testid":z("slider-label",e.toString()),style:{left:E(r)},children:f.jsx(X,{isSelected:c>=r,children:F(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},E=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},F=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=m.input`
1
+ import{V as f,ab as z,o as i,p as j,aj as Y,F as V}from"./index-CwKB-c-N.js";import{a as w}from"./sentry-Dje-_Mky.js";import{n as m}from"./mui-BoUXdMXW.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="94e17151-8cdc-403f-8dde-efb2ffeb805a",t._sentryDebugIdIdentifier="sentry-dbid-94e17151-8cdc-403f-8dde-efb2ffeb805a")}catch{}})();const I=V.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,d=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:p}=v(r);k(r),$(o),x(p)},T=e=>`${D(e)}${I.transferDrawer.calculator.sliderTooltipText}`,D=e=>e===0?d[0]:e>0&&e<1?d[1]:e>=1&&e<2?d[2]:e>=2&&e<3?d[3]:d[4],v=e=>{const r=D(e),[o,p]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},M=e=>{const{returnedYield:r,totalAmount:o}=v(e);k(e),x(o),$(r)},C=w.useCallback((e,r,o,p)=>{let a=0,s=0,P=0,A=0;if(e<o[0])a=r[0];else{for(let u=0;u<o.length-1;u++)if(e>=o[u]&&e<o[u+1]){a=r[u+1],s=(o[u+1]-o[u])*p,P=e-o[u],A=P/s*p+u;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),C(e,d,n,l)},[g,y,x,d,l,$,n,C]),f.jsxs(_,{sliderValue:c,children:[f.jsx(L,{sliderValue:c,type:"range",min:0,max:d.length-1,step:l,value:c,onChange:S}),f.jsx(B,{style:{width:`calc(${c/(d.length-1)*100}% - ${c*7.5}px)`}}),f.jsx(G,{sliderValue:c,style:{left:`calc(${c/(d.length-1)*100}% - ${c*10+20}px)`},children:T(c)}),f.jsx(H,{children:n.map((e,r)=>f.jsx(N,{onClick:()=>M(r),"data-testid":z("slider-label",e.toString()),style:{left:E(r)},children:f.jsx(X,{isSelected:c>=r,children:F(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},E=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},F=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1 +1 @@
1
- import{FU as n}from"./zeni-epic-state-DjuGgMVt.js";import{F as o}from"./index-Dfs8yBxm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2efbb013-badb-49c0-ab67-8e1879f8a8e4",e._sentryDebugIdIdentifier="sentry-dbid-2efbb013-badb-49c0-ab67-8e1879f8a8e4")}catch{}})();const d=e=>{switch(e){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return e}},_=(e,a,t)=>{const{dateFormat:{analytics:r},common:{strings:{atTheRate:s}}}=o.getLocalizedStrings();if(t==null)return"";switch(a){case"month":return s+n(t.startDate,r.MMMYYFormat,e);case"quarter":return s+"Q"+n(t.startDate,r.QYYYYFormat,e);case"year":return s+n(t.startDate,r.YYYYFormat,e);case"free_range":case"week":return s+n(t.startDate,r.MMMYYYYFormat,e)}};export{_ as l,d as m};
1
+ import{FU as n}from"./zeni-epic-state-DjuGgMVt.js";import{F as o}from"./index-CwKB-c-N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2efbb013-badb-49c0-ab67-8e1879f8a8e4",e._sentryDebugIdIdentifier="sentry-dbid-2efbb013-badb-49c0-ab67-8e1879f8a8e4")}catch{}})();const d=e=>{switch(e){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return e}},_=(e,a,t)=>{const{dateFormat:{analytics:r},common:{strings:{atTheRate:s}}}=o.getLocalizedStrings();if(t==null)return"";switch(a){case"month":return s+n(t.startDate,r.MMMYYFormat,e);case"quarter":return s+"Q"+n(t.startDate,r.QYYYYFormat,e);case"year":return s+n(t.startDate,r.YYYYFormat,e);case"free_range":case"week":return s+n(t.startDate,r.MMMYYYYFormat,e)}};export{_ as l,d as m};
@@ -1 +1 @@
1
- import{f as n}from"./index-Dfs8yBxm.js";import"./sentry-Dje-_Mky.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="9b224005-b492-4c1d-ad1a-182a24520cc8",a._sentryDebugIdIdentifier="sentry-dbid-9b224005-b492-4c1d-ad1a-182a24520cc8")}catch{}})();const t=(a,i,e,d)=>{n.identify(a.userId,{tenant_id:e?.tenantId,tenant_email_domain:e?.tenantEmailDomain,company_id:e?.companyId,company_name:e?.companyName,user_role:e?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:i})};export{t as f};
1
+ import{f as n}from"./index-CwKB-c-N.js";import"./sentry-Dje-_Mky.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="9b224005-b492-4c1d-ad1a-182a24520cc8",a._sentryDebugIdIdentifier="sentry-dbid-9b224005-b492-4c1d-ad1a-182a24520cc8")}catch{}})();const t=(a,i,e,d)=>{n.identify(a.userId,{tenant_id:e?.tenantId,tenant_email_domain:e?.tenantEmailDomain,company_id:e?.companyId,company_name:e?.companyName,user_role:e?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:i})};export{t as f};
@@ -1 +1 @@
1
- import{aP as i}from"./index-Dfs8yBxm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d1e84f57-070b-4683-8018-a0d0e5209693",e._sentryDebugIdIdentifier="sentry-dbid-d1e84f57-070b-4683-8018-a0d0e5209693")}catch{}})();const u=e=>i("0,0.[00]a",e),_=(e,n,r)=>{const t=n.findIndex(d=>d===e);let o=e,s=t<n.length?n[t]:void 0;return r>1&&(o=t-r+1>=0?n[t-r+1]:void 0,o===void 0?s=t===0?n[t+r-1]:n[t+r-2]:s=n[t]),[o,s]},a=e=>{const n=e.recordByTimeseries;if(n.length>0){const r=n[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=e=>{const n=e.recordByDurations;if(n.length>0){const r=n[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},y={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},b=(e,n)=>`${e}_${n}`,f=e=>e.substring(0,e.lastIndexOf("_")),g=(e,n)=>`${e}_${n}`,p=e=>{const[n]=e.split("_");return n},h=e=>{const[n,...r]=e.split("_");return r.join("_")};export{l as _,f as b,a as d,_ as g,h,g as l,p as m,b as p,u,y};
1
+ import{aP as i}from"./index-CwKB-c-N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d1e84f57-070b-4683-8018-a0d0e5209693",e._sentryDebugIdIdentifier="sentry-dbid-d1e84f57-070b-4683-8018-a0d0e5209693")}catch{}})();const u=e=>i("0,0.[00]a",e),_=(e,n,r)=>{const t=n.findIndex(d=>d===e);let o=e,s=t<n.length?n[t]:void 0;return r>1&&(o=t-r+1>=0?n[t-r+1]:void 0,o===void 0?s=t===0?n[t+r-1]:n[t+r-2]:s=n[t]),[o,s]},a=e=>{const n=e.recordByTimeseries;if(n.length>0){const r=n[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=e=>{const n=e.recordByDurations;if(n.length>0){const r=n[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},y={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},b=(e,n)=>`${e}_${n}`,f=e=>e.substring(0,e.lastIndexOf("_")),g=(e,n)=>`${e}_${n}`,p=e=>{const[n]=e.split("_");return n},h=e=>{const[n,...r]=e.split("_");return r.join("_")};export{l as _,f as b,a as d,_ as g,h,g as l,p as m,b as p,u,y};
@@ -1 +1 @@
1
- import{x as t}from"./index-Dfs8yBxm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="55dc47ef-299d-4555-a22b-d851a25fb75b",e._sentryDebugIdIdentifier="sentry-dbid-55dc47ef-299d-4555-a22b-d851a25fb75b")}catch{}})();const d=58,o=76,f={transactionItemHeight:d,transactionItemHeightResponsive:new t(o,d),amountWidth:new t(105,200)};export{f as o,o as s};
1
+ import{x as t}from"./index-CwKB-c-N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="55dc47ef-299d-4555-a22b-d851a25fb75b",e._sentryDebugIdIdentifier="sentry-dbid-55dc47ef-299d-4555-a22b-d851a25fb75b")}catch{}})();const d=58,o=76,f={transactionItemHeight:d,transactionItemHeightResponsive:new t(o,d),amountWidth:new t(105,200)};export{f as o,o as s};
@@ -1 +1 @@
1
- import{F as s}from"./index-Dfs8yBxm.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="2ee12513-814a-4593-b14e-62990bf2cd6c",o._sentryDebugIdIdentifier="sentry-dbid-2ee12513-814a-4593-b14e-62990bf2cd6c")}catch{}})();const t=["government_contracts_grants","donations_fundraising","import_export_revenue"],n=["1000001_2000000","over_2000000"],g=["cash_heavy_operations","professional_services_handling_funds","charitable_nonprofit","commercial_cash_operations","third_party_payment_processing"],{cardBrands:a}=s.getLocalizedStrings().cardPayment,r={visa:{name:a.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:a.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:a.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:a.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:a.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:a.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:a.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:a.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:a.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:a.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:a.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:a.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:a.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:a.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:a.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:a.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:a.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:a.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:a.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:a.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:a.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:a.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:a.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:a.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}};export{n as i,r as n,t as p,g as t};
1
+ import{F as s}from"./index-CwKB-c-N.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="2ee12513-814a-4593-b14e-62990bf2cd6c",o._sentryDebugIdIdentifier="sentry-dbid-2ee12513-814a-4593-b14e-62990bf2cd6c")}catch{}})();const t=["government_contracts_grants","donations_fundraising","import_export_revenue"],n=["1000001_2000000","over_2000000"],g=["cash_heavy_operations","professional_services_handling_funds","charitable_nonprofit","commercial_cash_operations","third_party_payment_processing"],{cardBrands:a}=s.getLocalizedStrings().cardPayment,r={visa:{name:a.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:a.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:a.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:a.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:a.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:a.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:a.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:a.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:a.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:a.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:a.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:a.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:a.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:a.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:a.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:a.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:a.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:a.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:a.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:a.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:a.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:a.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:a.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:a.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}};export{n as i,r as n,t as p,g as t};
@@ -1,4 +1,4 @@
1
- import{J as $,V as n,ap as x,bR as b,o as r,bt as y,bL as u,x as m,am as M,u as h,F as D}from"./index-Dfs8yBxm.js";import{a as v}from"./sentry-Dje-_Mky.js";import{n as s,c as P}from"./mui-BoUXdMXW.js";import{J as S}from"./CollapsableReportTable-CoDaSHJN-BeRkup1e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9d43f88f-e18c-4f57-a828-5c143aa0c6e8",e._sentryDebugIdIdentifier="sentry-dbid-9d43f88f-e18c-4f57-a828-5c143aa0c6e8")}catch{}})();const p={tooltipLeftPosition:new m(h[0],-156),tooltipTopPosition:new m(h[3],h[4]),tooltipWidth:new m(300,350)},w=P`
1
+ import{J as $,V as n,ap as x,bR as b,o as r,bt as y,bL as u,x as m,am as M,u as h,F as D}from"./index-CwKB-c-N.js";import{a as v}from"./sentry-Dje-_Mky.js";import{n as s,c as P}from"./mui-BoUXdMXW.js";import{J as S}from"./CollapsableReportTable-CoDaSHJN-7ZWnBJFb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9d43f88f-e18c-4f57-a828-5c143aa0c6e8",e._sentryDebugIdIdentifier="sentry-dbid-9d43f88f-e18c-4f57-a828-5c143aa0c6e8")}catch{}})();const p={tooltipLeftPosition:new m(h[0],-156),tooltipTopPosition:new m(h[3],h[4]),tooltipWidth:new m(300,350)},w=P`
2
2
  position: relative;
3
3
  `,z=s.div`
4
4
  color: ${e=>e.theme.colors.primary};
@@ -1 +1 @@
1
- import{cg as i,ch as r,ci as l}from"./index-Dfs8yBxm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="006f81ac-39e7-49af-84b0-aa76c7fbeaae",e._sentryDebugIdIdentifier="sentry-dbid-006f81ac-39e7-49af-84b0-aa76c7fbeaae")}catch{}})();async function u(e,a,n,t,f=!1){t?.(!0);try{const o=await i({urlEndPoint:e,authParams:n,fileType:"pdf"});if(o.ok){const s=r(o.headers,a),d=await o.arrayBuffer();l(d,f?s:a),t?.(!1)}else console.error(`${a} download Failed with ${o.statusText}`),t?.(!1)}catch(o){console.error(`${a} download Failed with ${JSON.stringify(o)}`),t?.(!1)}}export{u as w};
1
+ import{cg as i,ch as r,ci as l}from"./index-CwKB-c-N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="006f81ac-39e7-49af-84b0-aa76c7fbeaae",e._sentryDebugIdIdentifier="sentry-dbid-006f81ac-39e7-49af-84b0-aa76c7fbeaae")}catch{}})();async function u(e,a,n,t,f=!1){t?.(!0);try{const o=await i({urlEndPoint:e,authParams:n,fileType:"pdf"});if(o.ok){const s=r(o.headers,a),d=await o.arrayBuffer();l(d,f?s:a),t?.(!1)}else console.error(`${a} download Failed with ${o.statusText}`),t?.(!1)}catch(o){console.error(`${a} download Failed with ${JSON.stringify(o)}`),t?.(!1)}}export{u as w};
@@ -1,4 +1,4 @@
1
- import{F as h,J as F,V as i,cQ as I,x as u,o as l,u as r,cL as M,y as R,ex as C,eG as P,bI as N,bJ as p,a as T,am as E,w as m,bH as H,p as w}from"./index-Dfs8yBxm.js";import{n as a}from"./mui-BoUXdMXW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="94606ead-916f-466b-b836-6f2209d9d4d6",e._sentryDebugIdIdentifier="sentry-dbid-94606ead-916f-466b-b836-6f2209d9d4d6")}catch{}})();const B=({name:e,registerOptions:o,defaultValue:t,isDisabled:n,getOptionLabel:c,style:g,placeholder:b})=>{const{control:S,formState:{errors:j}}=M(),$=R(),k=C(j,e??""),D={container:s=>({...s,width:"100%",...g}),menu:s=>({...s,backgroundColor:$.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:s=>({...s,borderRadius:0})},_={hasError:k},v=s=>s.map(f=>O(f)),O=s=>({value:s,label:c?.(s)??s});return i.jsx(P,{name:e,control:S,defaultValue:t,rules:o,render:({field:{onChange:s,onBlur:f,value:x,ref:V}})=>i.jsx(N,{..._,ref:V,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:v(x.selectedOptions),options:v(x.allOptions),onChange:L=>{s({selectedOptions:L.map(z=>z.value),allOptions:x.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:f,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:U,Option:X,Input:G,MultiValue:Q,MultiValueLabel:W,MultiValueRemove:A,ValueContainer:J,DropdownIndicator:se,IndicatorSeparator:ne,Placeholder:K,ClearIndicator:q},hideSelectedOptions:!1,styles:D,isDisabled:n!=null})})},U=e=>{const{menuIsOpen:o,isFocused:t,isDisabled:n,selectProps:c}=e,{value:g,hasError:b}=c;return i.jsx(Y,{menuIsOpen:o,isFocused:t,isDisabled:n,optionsLen:g.length,hasError:b,children:i.jsx(p.Control,{...e,className:"select-control",children:e.children})})},J=e=>{const{selectProps:o}=e,{value:t}=o;return i.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,i.jsx(Z,{className:"selected-options",children:t.map(n=>n.label??n.value).join(", ")})]})},G=e=>{const{selectProps:o}=e,{placeholder:t,value:n}=o;return i.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:n.length===0?t:void 0,children:e.children})},Q=e=>i.jsx(p.MultiValue,{...e,children:e.children}),W=e=>{const{data:o}=e;return i.jsx(p.MultiValueLabel,{...e,children:o.label??o.value})},A=e=>i.jsx(p.MultiValueRemove,{...e,children:i.jsx(y,{style:{marginTop:"2px"}})}),q=e=>i.jsx(p.ClearIndicator,{...e,children:i.jsx(y,{})}),K=()=>null,X=e=>{const{isSelected:o,isDisabled:t,isFocused:n}=e;return i.jsx(ee,{isFocused:n,isSelected:o,isDisabled:t,children:i.jsx(p.Option,{...e,className:"select-option",children:i.jsxs(oe,{children:[i.jsx(le,{children:i.jsx(ie,{isSelected:o,isDisabled:t,children:e.label})}),o?i.jsxs(te,{children:[i.jsx(re,{className:"right-tick-icon"}),i.jsx(y,{className:"close-tick-icon"})]}):null]})})})},Y=a.div`
1
+ import{F as h,J as F,V as i,cQ as I,x as u,o as l,u as r,cL as M,y as R,ex as C,eG as P,bI as N,bJ as p,a as T,am as E,w as m,bH as H,p as w}from"./index-CwKB-c-N.js";import{n as a}from"./mui-BoUXdMXW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="94606ead-916f-466b-b836-6f2209d9d4d6",e._sentryDebugIdIdentifier="sentry-dbid-94606ead-916f-466b-b836-6f2209d9d4d6")}catch{}})();const B=({name:e,registerOptions:o,defaultValue:t,isDisabled:n,getOptionLabel:c,style:g,placeholder:b})=>{const{control:S,formState:{errors:j}}=M(),$=R(),k=C(j,e??""),D={container:s=>({...s,width:"100%",...g}),menu:s=>({...s,backgroundColor:$.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:s=>({...s,borderRadius:0})},_={hasError:k},v=s=>s.map(f=>O(f)),O=s=>({value:s,label:c?.(s)??s});return i.jsx(P,{name:e,control:S,defaultValue:t,rules:o,render:({field:{onChange:s,onBlur:f,value:x,ref:V}})=>i.jsx(N,{..._,ref:V,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:v(x.selectedOptions),options:v(x.allOptions),onChange:L=>{s({selectedOptions:L.map(z=>z.value),allOptions:x.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:f,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:U,Option:X,Input:G,MultiValue:Q,MultiValueLabel:W,MultiValueRemove:A,ValueContainer:J,DropdownIndicator:se,IndicatorSeparator:ne,Placeholder:K,ClearIndicator:q},hideSelectedOptions:!1,styles:D,isDisabled:n!=null})})},U=e=>{const{menuIsOpen:o,isFocused:t,isDisabled:n,selectProps:c}=e,{value:g,hasError:b}=c;return i.jsx(Y,{menuIsOpen:o,isFocused:t,isDisabled:n,optionsLen:g.length,hasError:b,children:i.jsx(p.Control,{...e,className:"select-control",children:e.children})})},J=e=>{const{selectProps:o}=e,{value:t}=o;return i.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,i.jsx(Z,{className:"selected-options",children:t.map(n=>n.label??n.value).join(", ")})]})},G=e=>{const{selectProps:o}=e,{placeholder:t,value:n}=o;return i.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:n.length===0?t:void 0,children:e.children})},Q=e=>i.jsx(p.MultiValue,{...e,children:e.children}),W=e=>{const{data:o}=e;return i.jsx(p.MultiValueLabel,{...e,children:o.label??o.value})},A=e=>i.jsx(p.MultiValueRemove,{...e,children:i.jsx(y,{style:{marginTop:"2px"}})}),q=e=>i.jsx(p.ClearIndicator,{...e,children:i.jsx(y,{})}),K=()=>null,X=e=>{const{isSelected:o,isDisabled:t,isFocused:n}=e;return i.jsx(ee,{isFocused:n,isSelected:o,isDisabled:t,children:i.jsx(p.Option,{...e,className:"select-option",children:i.jsxs(oe,{children:[i.jsx(le,{children:i.jsx(ie,{isSelected:o,isDisabled:t,children:e.label})}),o?i.jsxs(te,{children:[i.jsx(re,{className:"right-tick-icon"}),i.jsx(y,{className:"close-tick-icon"})]}):null]})})})},Y=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};