@zeniai/web-app-ui 5.3.94-dev → 5.3.95-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AccountMappingScreen-DaAsvWlG.js → AccountMappingScreen-CJpxPjym.js} +2 -2
- package/dist/assets/{ActualMatchingMatchDetailScreen-DsOtbvkM.js → ActualMatchingMatchDetailScreen-BI1Xbj3L.js} +1 -1
- package/dist/assets/AddressRoutes-27wvZSFH.js +1 -0
- package/dist/assets/{AddressScreen-C0JLhAcE.js → AddressScreen-Ce6wpOqL.js} +1 -1
- package/dist/assets/{AiCfoScreen-BUHwXAf6.js → AiCfoScreen-baKqq38G.js} +1 -1
- package/dist/assets/{AppDrawer-vbC-QV57.js → AppDrawer-BAy3i2Dk.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-DzF0eyUE.js → BillPayApprovalRoutes-BLLQGNfF.js} +1 -1
- package/dist/assets/{BillPayRoutes-Bi056p3z.js → BillPayRoutes-BF0qZi8Q.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-D1nbOYUs.js → BusinessVerificationPageScreen-B6gKgGKZ.js} +2 -2
- package/dist/assets/{CardsAiCfoScreen-CfZl8Gyx.js → CardsAiCfoScreen-495-iwbX.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-S3N8oI1a.js → ChargeCardRoutes-CsLMN32g.js} +6 -6
- package/dist/assets/{CompanyPassportScreen-Cb0WDItw.js → CompanyPassportScreen-DFOWHlG6.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-DscrSY_4.js → ConnectionAuthScreen-DcGlWxyf.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-Da1wSVu0.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-Q5YqE-pG.js → CustomerOnboardingRoutes-7Bwv09dV.js} +3 -3
- package/dist/assets/{DashboardRoutes-CHLUwZtv.js → DashboardRoutes-s3deN1Di.js} +1 -1
- package/dist/assets/{DefaultTenantHome-BSW3FKbq.js → DefaultTenantHome-Bi2eWO-I.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-BqNLFPCz.js → DomesticWireDetailScreen-CVJejZP9.js} +3 -3
- package/dist/assets/{DrawerScreen-CjvLDWWa.js → DrawerScreen-Bev9sxN6.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-CiuhVFP6.js → EntityDetailRoutes-DTd2OX4g.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-yHkHWhCB.js → ExpenseAutomationRoutes-BNvZ1Bwi.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-t6-81tB3.js → FeaturePreviewScreen-DETqyCpy.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-6v8VBEj0.js → HubSpotOAuthCallbackScreen-LgF5qdxr.js} +1 -1
- package/dist/assets/{InboxNotificationsProvider--Aami2sh.js → InboxNotificationsProvider-LdTK3V9o.js} +1 -1
- package/dist/assets/{InvoicingRoutes-DYvbJYG6.js → InvoicingRoutes-Mbynj2-j.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-C2OazRqD.js → MagicLinkRoutes-BAL4OpO8.js} +2 -2
- package/dist/assets/{MagicLinkSignInScreen-Cn6GsNEp.js → MagicLinkSignInScreen-BIY2mGLo.js} +1 -1
- package/dist/assets/{MobileAppDrawer-CPwvCIYa.js → MobileAppDrawer-CsfNveW9.js} +1 -1
- package/dist/assets/NotFoundScreen-DDA41Ig7.js +1 -0
- package/dist/assets/{NotificationRoutes-aekj_lXX.js → NotificationRoutes-_8GAMr1Q.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-xUzU6tqX.js → OAuthConsentScreen-DrAajreS.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-DbBbI4iD.js → PandLWithForecastRoutes-BoihVLwz.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-wDbMp6EU.js → PaymentLinkScreen-QPSeahMe.js} +1 -1
- package/dist/assets/{PeopleRoutes-DLFd4iV8.js → PeopleRoutes-BJ_Rsbpd.js} +3 -3
- package/dist/assets/{PerformanceRoutes-DgAZpNgm.js → PerformanceRoutes-BU_ssv__.js} +1 -1
- package/dist/assets/{Preview-9JjGFG_v.js → Preview-S6mtKRFK.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-Dn2zy1VD.js → QBOConnectionScreen-DMcsRcZG.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-y4qFEQsq.js → ReimbursementApprovalRoutes-c_eicF80.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-D0_gOHEu.js → ReimbursementApprovalRuleDetailScreen-NQbCpzYz.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-BnId3F39.js → ReimbursementRoutes-BVOB8GHt.js} +4 -4
- package/dist/assets/{ReportsRoutes-DbeoJpVK.js → ReportsRoutes-BaXWnnZZ.js} +1 -1
- package/dist/assets/RewardsRoutes-Dr_V6CBY.js +1 -0
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-ISVWQj5Q.js → ScheduleDetailsPrepaidExpensesScreen-OdknWRFf.js} +1 -1
- package/dist/assets/ScreenRoutes-MAHnboyU.js +2 -0
- package/dist/assets/{SettingsRoutes-tCVJI0Fg.js → SettingsRoutes-CwikuwVk.js} +6 -6
- package/dist/assets/{SetupPagesScreen-fiQdFdcd.js → SetupPagesScreen-B0b-Fgla.js} +1 -1
- package/dist/assets/{SignInScreen-DiXsocpm.js → SignInScreen-DYTURHhx.js} +1 -1
- package/dist/assets/{SignOutScreen-BiwH5m6t.js → SignOutScreen-Be_uJc5B.js} +1 -1
- package/dist/assets/{TaskListScreen-BgIlrtZe.js → TaskListScreen-adKZru26.js} +2 -2
- package/dist/assets/{TaskRoutes-BNd4w4Bb.js → TaskRoutes-B74sfUtJ.js} +2 -2
- package/dist/assets/TransactionDetailRoutes-DRKjV_CD.js +1 -0
- package/dist/assets/{TransactionDetailScreen-BkV8Yidz.js → TransactionDetailScreen-CS9DS32g.js} +1 -1
- package/dist/assets/{TransactionListRoutes-Dy1QqSzY.js → TransactionListRoutes-BIufDhIc.js} +1 -1
- package/dist/assets/{TreasuryRoutes-Caywh1RR.js → TreasuryRoutes-Bt27xnQK.js} +5 -5
- package/dist/assets/{VendorsRoutes-g-EHYY2y.js → VendorsRoutes-ZMV0CecT.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-C46GF-q1.js → WiseConfirmationScreen-ZJ4gewaT.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-B6_vZk4u.js → ZeniAccountRoutes-DV3rsGFn.js} +9 -9
- package/dist/assets/{ZeniAccountStatementScreen-BjT0Ja6v.js → ZeniAccountStatementScreen-B-L8iMJL.js} +1 -1
- package/dist/assets/{accountMappingHelper-jzkx0QiS.js → accountMappingHelper-1wM-u5pk.js} +1 -1
- package/dist/assets/{analytics-BE49_JfE.js → analytics-DhotUQIQ.js} +1 -1
- package/dist/assets/{analyticsHelper-DZVn8KPX.js → analyticsHelper-BkudU6tc.js} +1 -1
- package/dist/assets/{core-R1zvmcG1.js → core-B1R51LGS.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-D4d600vS.js → decodeURIComponentSafe-sNmSv15A.js} +1 -1
- package/dist/assets/{dnd-LSyMQh_7.js → dnd-CBDtHD8g.js} +1 -1
- package/dist/assets/{empty-BfAyW5rR.js → empty-1ZFG33kK.js} +1 -1
- package/dist/assets/{empty-CtFP9XJw.js → empty-DDVSRnUK.js} +1 -1
- package/dist/assets/{emptyVideoElement-DYu9DRPv.js → emptyVideoElement-Cmgjsfjv.js} +1 -1
- package/dist/assets/{epic-DI5821Fd.js → epic--rTGN1ZF.js} +2 -2
- package/dist/assets/{expenseAutomationHelper-BlCRyV8f.js → expenseAutomationHelper-Bb1c_nBx.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DZAPKjbH.js → getLocaleForTenant-Nj4zPyxj.js} +1 -1
- package/dist/assets/{index-IzH6rGRi.js → index-4kuDVIdn.js} +1 -1
- package/dist/assets/{index-ARkELHLC.js → index-B4fRbcqK.js} +1 -1
- package/dist/assets/{index-LeoAhFsn.js → index-BgCxp-PW.js} +1 -1
- package/dist/assets/{index-CooR7eTi.js → index-C5-029-z.js} +1 -1
- package/dist/assets/{index-D7BxdwHb.js → index-CmqWYVaK.js} +1 -1
- package/dist/assets/{index-DhHwwWlj.js → index-DUjhchTx.js} +1 -1
- package/dist/assets/{index-B-tyZK_L.js → index-DaxOKW2h.js} +2 -2
- package/dist/assets/{index-Cvus_VBr.js → index-Dp_Uc3gy.js} +1704 -1703
- package/dist/assets/{lexical-BG-nDmQN.js → lexical-Cft6chCX.js} +1 -1
- package/dist/assets/{liveblocks-DOdRxZ-H.js → liveblocks-BYqz0SWy.js} +1 -1
- package/dist/assets/{lottie-Z_NAxrmn.js → lottie-C4orech3.js} +1 -1
- package/dist/assets/{mui-ZKvbmPSP.js → mui-D-_RYGgU.js} +1 -1
- package/dist/assets/{pathToGoBack-DioXT2-t.js → pathToGoBack-DZ8Lgq0-.js} +1 -1
- package/dist/assets/{pdf-_w1KRTSP.js → pdf-DFgrdLB6.js} +3 -3
- package/dist/assets/{pdf-lib-Ctu1umZQ.js → pdf-lib-2bJZTByw.js} +1 -1
- package/dist/assets/{plaid-tDbexfSh.js → plaid-B0PWXAfV.js} +1 -1
- package/dist/assets/{pusher-9ZSIvZ4p.js → pusher-F6-lSe0Y.js} +1 -1
- package/dist/assets/{react-DofVj9Pu.js → react-BwTGo4yk.js} +1 -1
- package/dist/assets/{react-dAAwh8YD.js → react-CB4vP-t_.js} +1 -1
- package/dist/assets/{react-V1QPqCMR.js → react-CM16A7NA.js} +1 -1
- package/dist/assets/{react-DLfHBjuE.js → react-DUg8Ws81.js} +1 -1
- package/dist/assets/{react-CNq4EJHI.js → react-D_SPu3Ud.js} +1 -1
- package/dist/assets/{react-BwaH8vjo.js → react-DyLpv-r1.js} +1 -1
- package/dist/assets/{recharts-UmMlzZlF.js → recharts-By7FVN8f.js} +1 -1
- package/dist/assets/{routePaths-ME1g30cL.js → routePaths-BALvGXpp.js} +1 -1
- package/dist/assets/{sentry-DvoFEQx8.js → sentry-DjmIorbX.js} +1 -1
- package/dist/assets/{stripSplatSuffix-BaAbZcaB.js → stripSplatSuffix-B5IwbFj2.js} +1 -1
- package/dist/assets/{url-C4ptnP9R.js → url-B8llcdww.js} +1 -1
- package/dist/assets/{url-CxALZHMf.js → url-SyxPcinx.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-CuSDY9wd.js → useActualMatchingMatchDetail-CuDY29_K.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-B-4Cv_Hc.js → useAiCfoDashboardSuggestedQuestionsChips-B5pmnrb8.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-DWkTPomv.js +1 -0
- package/dist/assets/{useChargeCardPusherEvents-Cd0ovQSz.js → useChargeCardPusherEvents-Ce-wULUB.js} +1 -1
- package/dist/assets/{useDeviceId-DiDVtEd4.js → useDeviceId-D6nAUa-g.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-neeIEIrq.js → useEmailConnectResultRefresh-CQX3dx0q.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-mCNzqzEf.js → useInitialThreadRequest-BaIZPAUw.js} +1 -1
- package/dist/assets/useTaskManagerAccess-CFJAytRv.js +1 -0
- package/dist/assets/{useTaskManagerPusherEvents-D1CY3bdf.js → useTaskManagerPusherEvents-B_vM_sss.js} +1 -1
- package/dist/assets/{utils-D06mHID-.js → utils-iOnDyQuG.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-LlSL3tvn.js → withTransactionSidePanel-BuJ7rAhb.js} +2 -2
- package/dist/assets/{zeni-epic-state-Mdu-dKQU.js → zeni-epic-state-M9sMLOaG.js} +5 -5
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AddressRoutes-DYRqLyFY.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-DZSTKSts.js +0 -1
- package/dist/assets/NotFoundScreen-BR0tBeJN.js +0 -1
- package/dist/assets/RewardsRoutes-CbVAxJ_Q.js +0 -1
- package/dist/assets/ScreenRoutes-BxsiowEM.js +0 -2
- package/dist/assets/TransactionDetailRoutes-BYsmhufD.js +0 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-D5Ew-Qzm.js +0 -1
- package/dist/assets/useTaskManagerAccess-CcPTnvTg.js +0 -1
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-Dp_Uc3gy.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-DjmIorbX.js"><link rel="modulepreload" crossorigin href="/assets/core-B1R51LGS.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-M9sMLOaG.js"><link rel="modulepreload" crossorigin href="/assets/mui-D-_RYGgU.js"><link rel="modulepreload" crossorigin href="/assets/analytics-DhotUQIQ.js"><link rel="modulepreload" crossorigin href="/assets/utils-iOnDyQuG.js"><link rel="stylesheet" crossorigin href="/assets/index-BQ3cXEYt.css"></head><body style="margin:0"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><div class="app-shell-loader" id="app-shell-loader"><div class="app-shell-sidebar"><div class="app-shell-sidebar-group"><div class="app-shell-bar zeni-logo" style="width:96px;height:20px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:78px;height:16px"></div><div class="app-shell-bar" style="width:46px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:110px;height:16px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div><div class="app-shell-bar" style="width:64px;height:16px"></div></div></div><div class="app-shell-main"><div class="app-shell-navbar"><div class="app-shell-bar" style="width:106px;height:27px"></div><div class="app-shell-bar" style="width:111px;height:32px"></div></div><div class="app-shell-logo"><svg width="96" height="96" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.768 0.0270284C16.571 -0.055168 16.348 0.0572476 16.2913 0.267574C16.2713 0.342517 16.2489 0.417461 16.2253 0.491196C16.0094 1.15723 15.6459 1.76645 15.148 2.27776C14.3056 3.14203 13.1847 3.61949 11.9918 3.6207H11.9883C10.7978 3.6207 9.67689 3.14565 8.83445 2.2838C8.33653 1.7737 7.97077 1.16448 7.75367 0.499657C7.73007 0.425922 7.70765 0.350979 7.68641 0.276035C7.62978 0.065709 7.40678 -0.0454978 7.20974 0.0366985C6.05463 0.522624 4.98565 1.17899 4.0323 1.97436C3.91195 2.07468 3.87301 2.24512 3.93083 2.39259C3.9792 2.51589 4.03112 2.63797 4.08539 2.75764C4.51133 3.70894 5.10364 4.5853 5.84815 5.34682C7.48937 7.0246 9.66863 7.9493 11.9871 7.9493H11.9954C14.3162 7.94689 16.4978 7.01855 18.1379 5.33595C18.8812 4.57321 19.4711 3.69564 19.8959 2.74434C19.9502 2.62347 20.0009 2.50138 20.0493 2.37809C20.1071 2.23062 20.0682 2.06018 19.9478 1.95985C18.9933 1.16569 17.9231 0.511745 16.768 0.0270284Z"/><path d="M19.9102 21.2422C19.4843 20.2933 18.8931 19.4194 18.151 18.6603C16.5086 16.9801 14.3223 16.053 12.0038 16.0578C8.50304 16.0614 5.48371 18.1961 4.11031 21.2603C4.05722 21.38 4.0053 21.5009 3.95575 21.623C3.89675 21.7704 3.93569 21.9421 4.05722 22.0436C5.01175 22.8366 6.08073 23.4893 7.23466 23.9728C7.4317 24.055 7.65352 23.9438 7.71134 23.7335C7.73139 23.6573 7.75381 23.5836 7.77859 23.5086C8.37207 21.6979 10.0416 20.3888 12.0073 20.3864H12.012C13.2025 20.3864 14.3234 20.8614 15.1659 21.7233C15.6626 22.231 16.026 22.8378 16.2431 23.5002C16.2679 23.5739 16.2903 23.6489 16.3104 23.7238C16.3682 23.9341 16.59 24.0453 16.787 23.9619C17.9422 23.476 19.01 22.8209 19.9633 22.0255C20.0837 21.9252 20.1226 21.7535 20.0648 21.606C20.0164 21.4828 19.9645 21.3631 19.9102 21.2422Z"/><path d="M0.132148 10.1666C0.158105 9.98769 0.305591 9.85352 0.482575 9.85352L23.5093 9.81726C23.6863 9.81726 23.8338 9.95022 23.8609 10.1291C23.9518 10.7347 23.999 11.3548 23.999 11.9858C24.0001 12.6131 23.9541 13.2284 23.8668 13.8292C23.8408 14.0081 23.6934 14.1422 23.5164 14.1422L0.489654 14.1773C0.312671 14.1773 0.165185 14.0443 0.138047 13.8654C0.0471956 13.2598 0 12.6397 0 12.0088C0 11.3826 0.0448358 10.7673 0.132148 10.1666Z"/></svg></div></div></div></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-app-ui",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.95-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/*"
|
|
6
6
|
],
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@sentry/react": "^9.42.1",
|
|
30
30
|
"@stripe/stripe-js": "^4.4.0",
|
|
31
31
|
"@zeniai/client-analytics": "2.1.6",
|
|
32
|
-
"@zeniai/client-epic-state": "5.2.
|
|
33
|
-
"@zeniai/web-components": "4.4.
|
|
32
|
+
"@zeniai/client-epic-state": "5.2.88",
|
|
33
|
+
"@zeniai/web-components": "4.4.31",
|
|
34
34
|
"color": "3.1.3",
|
|
35
35
|
"crypto-js": "4.2.0",
|
|
36
36
|
"dnd-core": "^16.0.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./liveblocks-DOdRxZ-H.js";import{A as i}from"./AddressScreen-C0JLhAcE.js";import s from"./NotFoundScreen-BR0tBeJN.js";import"./sentry-DvoFEQx8.js";import{n as d,o as r}from"./core-R1zvmcG1.js";import"./zeni-epic-state-Mdu-dKQU.js";import"./recharts-UmMlzZlF.js";import"./index-Cvus_VBr.js";import"./mui-ZKvbmPSP.js";import"./analytics-BE49_JfE.js";import"./plaid-tDbexfSh.js";import"./dnd-LSyMQh_7.js";import"./stripe-cKAAJElX.js";import"./lottie-Z_NAxrmn.js";import"./lexical-BG-nDmQN.js";import"./pdf-_w1KRTSP.js";import"./utils-D06mHID-.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="81cbb5c1-1b56-4d87-a240-ae6c03b91825",t._sentryDebugIdIdentifier="sentry-dbid-81cbb5c1-1b56-4d87-a240-ae6c03b91825")}catch{}})();function _(){return e.jsxs(d,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(i,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(i,{})}),e.jsx(r,{path:"*",element:e.jsx(s,{})})]})}export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./liveblocks-DOdRxZ-H.js";import{z as m}from"./index-Cvus_VBr.js";import{g as n}from"./QBOConnectionScreen-Dn2zy1VD.js";import"./sentry-DvoFEQx8.js";import{g as p,N as a}from"./core-R1zvmcG1.js";import"./zeni-epic-state-Mdu-dKQU.js";import"./recharts-UmMlzZlF.js";import"./mui-ZKvbmPSP.js";import"./analytics-BE49_JfE.js";import"./plaid-tDbexfSh.js";import"./dnd-LSyMQh_7.js";import"./stripe-cKAAJElX.js";import"./lottie-Z_NAxrmn.js";import"./lexical-BG-nDmQN.js";import"./pdf-_w1KRTSP.js";import"./utils-D06mHID-.js";import"./empty-CtFP9XJw.js";import"./pdf-lib-Ctu1umZQ.js";import"./index-DhHwwWlj.js";import"./url-CxALZHMf.js";import"./index-LeoAhFsn.js";import"./decodeURIComponentSafe-D4d600vS.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="a1205b81-d106-415b-bd92-85aeae53ace3",t._sentryDebugIdIdentifier="sentry-dbid-a1205b81-d106-415b-bd92-85aeae53ace3")}catch{}})();const U=()=>{const t=p(),{code:o,realmId:r,state:e}=n(t.search),s=m.getSignedInUser()?.userId??"";if(f(o,r,e,s)===!0){const d=`../../${e}/onboarding?code=${o}&realmId=${r}&state=auth_flow`;return i.jsx(a,{to:d})}return i.jsx(a,{to:"../../"})},f=(t,o,r,e)=>t!=""&&o!=""&&r!=""&&e!=null&&e!="";export{U as default,f as hasValidParams};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./liveblocks-DOdRxZ-H.js";import{h as r,l as i}from"./core-R1zvmcG1.js";import{ak as n}from"./index-Cvus_VBr.js";import"./mui-ZKvbmPSP.js";import"./sentry-DvoFEQx8.js";import"./zeni-epic-state-Mdu-dKQU.js";import"./recharts-UmMlzZlF.js";import"./analytics-BE49_JfE.js";import"./plaid-tDbexfSh.js";import"./dnd-LSyMQh_7.js";import"./stripe-cKAAJElX.js";import"./lottie-Z_NAxrmn.js";import"./lexical-BG-nDmQN.js";import"./pdf-_w1KRTSP.js";import"./utils-D06mHID-.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="e1fe4b0b-a509-4443-892f-577d1dfd5036",o._sentryDebugIdIdentifier="sentry-dbid-e1fe4b0b-a509-4443-892f-577d1dfd5036")}catch{}})();const a=i(null,(function(o,t){return{onGoBack:()=>{t.navigate(-1)},onGoHome:()=>{t.navigate("/")}}}))(n);function _(){const o=r();return e.jsx(a,{navigate:o})}export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as a}from"./liveblocks-DOdRxZ-H.js";import{z as j,a6 as S,l as u,K as b,e1 as I,Y as k,$ as C}from"./index-Cvus_VBr.js";import"./mui-ZKvbmPSP.js";import g from"./NotFoundScreen-BR0tBeJN.js";import{a as c}from"./sentry-DvoFEQx8.js";import{u as D,j as h,h as F,g as L,l as T,n as U,o as f,N as y}from"./core-R1zvmcG1.js";import{fI as _,a2F as w,a2G as p,Ei as P,q3 as V,a2H as G,Eg as q}from"./zeni-epic-state-Mdu-dKQU.js";import"./recharts-UmMlzZlF.js";import"./analytics-BE49_JfE.js";import"./plaid-tDbexfSh.js";import"./dnd-LSyMQh_7.js";import"./stripe-cKAAJElX.js";import"./lottie-Z_NAxrmn.js";import"./lexical-BG-nDmQN.js";import"./pdf-_w1KRTSP.js";import"./utils-D06mHID-.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]="99d310d7-8166-4146-84e3-efe28ae528cf",e._sentryDebugIdIdentifier="sentry-dbid-99d310d7-8166-4146-84e3-efe28ae528cf")}catch{}})();const z=T((function(e,t){const n=w(e);return{inviteFormView:n.localData,submitStatus:n.saveStatus,userName:t.userName,rewardsPlan:n.rewardsPlan,companyLegalName:t.companyName}}),(function(e,t){const{navigate:n}=t,i=j.getSignedInUser();return{onDismissClick:()=>{e(p()),n("/")},onSendClick:()=>{if(i!=null){const s=[],r=[];t.inviteFormCompayData.forEach((l=>{s.push(l.companyName),r.push(l.emailIds[0])})),u.trackInviteEmailClicked("send",s,r,s.length)}e(q())},onUpdateInviteFormLocalData:s=>{e(G({localData:s}))},onSubmitSuccess:()=>{e(p())},onCancelClick:()=>{i!=null&&u.trackInviteEmailClicked("cancel")}}}))(I),H=()=>{const e=D(),[t,n]=c.useState(!1),[i,s]=c.useState(!1),r=h((o=>_(o))),l=F(),x=L(),d=j.getSignedInUser();if(d==null)throw Error("Can't access invite referral screen without signing in...");const m=h((o=>w(o))),E=d?.firstName!=null?d.firstName:"User";c.useEffect((()=>{e(p()),r?.rewardsLastViewedTime==null&&i===!1&&(e(P()),s(!0))}),[]),c.useEffect((()=>{t||m.fetchState!=="Not-Started"||(n(!0),e(V(!0)))}),[m.fetchState,e]);const v=r.company?.companyInfo.companyLegalName??r.companyName;return a.jsxs(a.Fragment,{children:[m.fetchState==="Completed"?a.jsx(S,{analytics:u,onLoad:o=>(N=>N.trackPageLoaded(b.Event.inviteEmailViewed))(o)}):null,a.jsx(z,{navigate:l,location:x,currentTenant:r,companyName:v,userName:E,inviteFormCompayData:m.localData})]})};function ne(){const{useFeatureGate:e}=k(),{isFeatureEnabled:t}=e(C.isReferralFeatureEnabled);return a.jsxs(U,{children:[a.jsx(f,{path:"/",element:a.jsx(y,{to:"refer",replace:!0})}),a.jsx(f,{path:"how-it-works",element:a.jsx(y,{to:"refer",replace:!0})}),a.jsx(f,{path:"refer/*",element:t?a.jsx(H,{}):a.jsx(g,{})}),a.jsx(f,{path:"*",element:a.jsx(g,{})})]})}export{ne as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NotFoundScreen-BR0tBeJN.js","assets/sentry-DvoFEQx8.js","assets/core-R1zvmcG1.js","assets/zeni-epic-state-Mdu-dKQU.js","assets/index-Cvus_VBr.js","assets/mui-ZKvbmPSP.js","assets/analytics-BE49_JfE.js","assets/utils-D06mHID-.js","assets/index-BQ3cXEYt.css","assets/DashboardRoutes-CHLUwZtv.js","assets/withTransactionSidePanel-LlSL3tvn.js","assets/useAskAiCfoHostNavButtonProps-D5Ew-Qzm.js","assets/TransactionDetailScreen-BkV8Yidz.js","assets/decodeURIComponentSafe-D4d600vS.js","assets/useInitialThreadRequest-mCNzqzEf.js","assets/routePaths-ME1g30cL.js","assets/expenseAutomationHelper-BlCRyV8f.js","assets/stripSplatSuffix-BaAbZcaB.js","assets/analyticsHelper-DZVn8KPX.js","assets/CompanyPassportScreen-Cb0WDItw.js","assets/MobileAppDrawer-CPwvCIYa.js","assets/InboxNotificationsProvider--Aami2sh.js","assets/useTaskManagerAccess-CcPTnvTg.js","assets/useAiCfoDashboardSuggestedQuestionsChips-B-4Cv_Hc.js","assets/FeaturePreviewScreen-t6-81tB3.js","assets/BillPayRoutes-Bi056p3z.js","assets/AddressScreen-C0JLhAcE.js","assets/DomesticWireDetailScreen-BqNLFPCz.js","assets/BusinessVerificationPageScreen-D1nbOYUs.js","assets/DrawerScreen-CjvLDWWa.js","assets/SetupPagesScreen-fiQdFdcd.js","assets/BillPayApprovalRoutes-DzF0eyUE.js","assets/ReimbursementApprovalRuleDetailScreen-D0_gOHEu.js","assets/getLocaleForTenant-DZAPKjbH.js","assets/ReimbursementRoutes-BnId3F39.js","assets/ReimbursementApprovalRoutes-y4qFEQsq.js","assets/TransactionListRoutes-Dy1QqSzY.js","assets/ZeniAccountStatementScreen-BjT0Ja6v.js","assets/SettingsRoutes-tCVJI0Fg.js","assets/AccountMappingScreen-DaAsvWlG.js","assets/QBOConnectionScreen-Dn2zy1VD.js","assets/empty-CtFP9XJw.js","assets/index-DhHwwWlj.js","assets/url-CxALZHMf.js","assets/index-LeoAhFsn.js","assets/accountMappingHelper-jzkx0QiS.js","assets/useEmailConnectResultRefresh-neeIEIrq.js","assets/ReportsRoutes-DbeoJpVK.js","assets/ChargeCardRoutes-S3N8oI1a.js","assets/useChargeCardPusherEvents-Cd0ovQSz.js","assets/PeopleRoutes-DLFd4iV8.js","assets/ExpenseAutomationRoutes-yHkHWhCB.js","assets/useActualMatchingMatchDetail-CuSDY9wd.js","assets/ScheduleDetailsPrepaidExpensesScreen-ISVWQj5Q.js","assets/pathToGoBack-DioXT2-t.js","assets/TreasuryRoutes-Caywh1RR.js","assets/VendorsRoutes-g-EHYY2y.js","assets/ZeniAccountRoutes-B6_vZk4u.js","assets/AddressRoutes-DYRqLyFY.js","assets/PandLWithForecastRoutes-DbBbI4iD.js","assets/CustomerOnboardingRoutes-Q5YqE-pG.js","assets/TransactionDetailRoutes-BYsmhufD.js","assets/EntityDetailRoutes-CiuhVFP6.js","assets/InvoicingRoutes-DYvbJYG6.js","assets/NotificationRoutes-aekj_lXX.js","assets/PerformanceRoutes-DgAZpNgm.js","assets/ActualMatchingMatchDetailScreen-DsOtbvkM.js","assets/RewardsRoutes-CbVAxJ_Q.js","assets/TaskRoutes-BNd4w4Bb.js","assets/TaskListScreen-BgIlrtZe.js","assets/useTaskManagerPusherEvents-D1CY3bdf.js","assets/AiCfoScreen-BUHwXAf6.js","assets/CardsAiCfoScreen-CfZl8Gyx.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as s,bn as Es,fI as hs,e0 as ps,d$ as xs,Bo as gs,dj as Rs,c9 as Is,gM as js,gc as Ts,dg as pe,cH as As,gq as bs,cz as Ds,bF as fs,br as ys,UN as vs,v as Cs,UQ as Os,bq as Us,UR as Ps,bL as ws,bK as Fs,bu as Ls,cv as Hs,US as Vs,UT as ks,db as Ss,de as Bs,dd as Ns,cG as Ms,cN as Zs,pW as xe,gl as ge,h0 as $s,gn as Re,gO as Ie,gP as je,go as zs}from"./zeni-epic-state-Mdu-dKQU.js";import{j as e}from"./liveblocks-DOdRxZ-H.js";import{a as P}from"./sentry-DvoFEQx8.js";import{N as u,u as Gs,h as qs,i as Ys,g as Ws,j as $,q as Te,n as Ks,o as n}from"./core-R1zvmcG1.js";import{F as l,u as Qs,z as y,Y as Xs,d as Js,e as et,$ as B,g as st,H as tt,V as nt,L as F,G as Ae,t as _,P as at,I as ot,l as ne}from"./index-Cvus_VBr.js";import{u as rt}from"./mui-ZKvbmPSP.js";import{f as be}from"./analyticsHelper-DZVn8KPX.js";import{t as it}from"./getLocaleForTenant-DZAPKjbH.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},D=new o.Error().stack;D&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[D]="15e186ab-dd64-4775-b88a-2150ef53e171",o._sentryDebugIdIdentifier="sentry-dbid-15e186ab-dd64-4775-b88a-2150ef53e171")}catch{}})();const lt=l((()=>s((()=>import("./NotFoundScreen-BR0tBeJN.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))),ut=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/reimbursements`}),dt=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/bills`}),De=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/treasury`}),fe=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/checking`}),ye=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/cards`}),v=({showZeniAccountRoute:o,isUserHasBillPayAccess:D,isUserHasReimbursementAccess:N,showTreasuryRoute:i,isTenantBankingOnly:H,showChargeCardRoute:O,tenantEmailDomain:C})=>{if(H===!0){if(o)return e.jsx(fe,{tenantEmailDomain:C});if(i)return e.jsx(De,{tenantEmailDomain:C});if(O)return e.jsx(ye,{tenantEmailDomain:C})}return o?e.jsx(fe,{tenantEmailDomain:C}):i?e.jsx(De,{tenantEmailDomain:C}):O?e.jsx(ye,{tenantEmailDomain:C}):D?e.jsx(dt,{tenantEmailDomain:C}):N?e.jsx(ut,{tenantEmailDomain:C}):e.jsx(lt,{})},ct={dashboard:()=>s((()=>import("./DashboardRoutes-CHLUwZtv.js")),__vite__mapDeps([9,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,0,18,19,20,21,22,23,24,8])),bills:()=>s((()=>import("./BillPayRoutes-Bi056p3z.js")),__vite__mapDeps([25,1,2,3,4,5,6,7,26,0,27,11,14,28,15,20,21,22,29,24,30,18,31,32,33,8])),reimbursement:()=>s((()=>import("./ReimbursementRoutes-BnId3F39.js")),__vite__mapDeps([34,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,24,11,14,29,35,32,33,8])),transactions:()=>s((()=>import("./TransactionListRoutes-Dy1QqSzY.js")),__vite__mapDeps([36,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,37,8])),settings:()=>s((()=>import("./SettingsRoutes-tCVJI0Fg.js")),__vite__mapDeps([38,1,2,3,4,5,6,7,22,39,20,21,40,41,42,43,44,13,45,26,0,18,28,15,19,46,31,32,35,8])),reports:()=>s((()=>import("./ReportsRoutes-DbeoJpVK.js")),__vite__mapDeps([47,1,2,3,4,5,6,7,0,24,14,15,20,21,22,8])),chargeCards:()=>s((()=>import("./ChargeCardRoutes-S3N8oI1a.js")),__vite__mapDeps([48,1,2,3,4,5,6,7,11,20,21,22,30,28,15,0,18,14,49,26,8])),people:()=>s((()=>import("./PeopleRoutes-DLFd4iV8.js")),__vite__mapDeps([50,1,2,3,4,5,6,7,0,11,20,21,22,8])),expenseAutomation:()=>s((()=>import("./ExpenseAutomationRoutes-yHkHWhCB.js")),__vite__mapDeps([51,1,2,3,0,4,5,6,7,11,12,13,14,15,16,52,17,10,53,54,45,29,8])),treasury:()=>s((()=>import("./TreasuryRoutes-Caywh1RR.js")),__vite__mapDeps([55,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,11,14,24,8])),vendors:()=>s((()=>import("./VendorsRoutes-g-EHYY2y.js")),__vite__mapDeps([56,1,2,3,4,5,6,7,26,0,24,53,54,15,11,20,21,22,29,45,8])),zeniAccounts:()=>s((()=>import("./ZeniAccountRoutes-B6_vZk4u.js")),__vite__mapDeps([57,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,24,27,26,11,37,8]))},mt=["bills","transactions","settings","reimbursement","reports","chargeCards","people"],ae=o=>{"requestIdleCallback"in window?requestIdleCallback(o):setTimeout(o,100)},_t=l((()=>s((()=>import("./ReportsRoutes-DbeoJpVK.js")),__vite__mapDeps([47,1,2,3,4,5,6,7,0,24,14,15,20,21,22,8])))),Et=l((()=>s((()=>import("./AddressRoutes-DYRqLyFY.js")),__vite__mapDeps([58,1,2,3,26,4,5,6,7,0,8])))),ht=l((()=>s((()=>import("./PeopleRoutes-DLFd4iV8.js")),__vite__mapDeps([50,1,2,3,4,5,6,7,0,11,20,21,22,8])))),pt=l((()=>s((()=>import("./PandLWithForecastRoutes-DbBbI4iD.js")),__vite__mapDeps([59,1,2,3,4,5,6,7,0,24,11,14,15,20,21,22,8])))),xt=l((()=>s((()=>import("./CustomerOnboardingRoutes-Q5YqE-pG.js")),__vite__mapDeps([60,1,2,3,26,4,5,6,7,0,40,41,42,43,44,13,46,49,8])))),gt=l((()=>s((()=>import("./VendorsRoutes-g-EHYY2y.js")),__vite__mapDeps([56,1,2,3,4,5,6,7,26,0,24,53,54,15,11,20,21,22,29,45,8])))),Rt=l((()=>s((()=>import("./TransactionDetailRoutes-BYsmhufD.js")),__vite__mapDeps([61,1,2,3,0,4,5,6,7,12,11,13,14,15,16,8])))),ve=l((()=>s((()=>import("./EntityDetailRoutes-CiuhVFP6.js")),__vite__mapDeps([62,1,2,3,4,5,6,7,13,10,11,12,14,15,16,17,8])))),It=l((()=>s((()=>import("./DashboardRoutes-CHLUwZtv.js")),__vite__mapDeps([9,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,0,18,19,20,21,22,23,24,8])))),Ce=l((()=>s((()=>import("./BillPayRoutes-Bi056p3z.js")),__vite__mapDeps([25,1,2,3,4,5,6,7,26,0,27,11,14,28,15,20,21,22,29,24,30,18,31,32,33,8])))),jt=l((()=>s((()=>import("./SettingsRoutes-tCVJI0Fg.js")),__vite__mapDeps([38,1,2,3,4,5,6,7,22,39,20,21,40,41,42,43,44,13,45,26,0,18,28,15,19,46,31,32,35,8])))),Tt=l((()=>s((()=>import("./InvoicingRoutes-DYvbJYG6.js")),__vite__mapDeps([63,1,2,3,4,5,6,7,26,0,20,21,22,40,41,42,43,44,13,8])))),Oe=l((()=>s((()=>import("./ReimbursementRoutes-BnId3F39.js")),__vite__mapDeps([34,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,24,11,14,29,35,32,33,8])))),At=l((()=>s((()=>import("./ZeniAccountRoutes-B6_vZk4u.js")),__vite__mapDeps([57,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,24,27,26,11,37,8])))),bt=l((()=>s((()=>import("./TreasuryRoutes-Caywh1RR.js")),__vite__mapDeps([55,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,11,14,24,8])))),Dt=l((()=>s((()=>import("./TransactionListRoutes-Dy1QqSzY.js")),__vite__mapDeps([36,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,37,8])))),ft=l((()=>s((()=>import("./ChargeCardRoutes-S3N8oI1a.js")),__vite__mapDeps([48,1,2,3,4,5,6,7,11,20,21,22,30,28,15,0,18,14,49,26,8])))),yt=l((()=>s((()=>import("./NotificationRoutes-aekj_lXX.js")),__vite__mapDeps([64,1,2,3,0,4,5,6,7,11,22,8])))),vt=l((()=>s((()=>import("./PerformanceRoutes-DgAZpNgm.js")),__vite__mapDeps([65,1,2,3,0,4,5,6,7,11,20,21,22,8])))),Ct=l((()=>s((()=>import("./ExpenseAutomationRoutes-yHkHWhCB.js")),__vite__mapDeps([51,1,2,3,0,4,5,6,7,11,12,13,14,15,16,52,17,10,53,54,45,29,8])))),Ot=l((()=>s((()=>import("./ActualMatchingMatchDetailScreen-DsOtbvkM.js")),__vite__mapDeps([66,1,2,3,4,5,6,7,52,17,13,15,0,8])))),Ut=l((()=>s((()=>import("./RewardsRoutes-CbVAxJ_Q.js")),__vite__mapDeps([67,1,2,3,4,5,6,7,0,8])))),Pt=l((()=>s((()=>import("./TaskRoutes-BNd4w4Bb.js")),__vite__mapDeps([68,1,2,3,0,4,5,6,7,14,20,21,22,69,11,70,8])))),wt=l((()=>s((()=>import("./AiCfoScreen-BUHwXAf6.js")),__vite__mapDeps([71,1,2,3,4,5,6,7,23,54,15,70,8])))),Ue=l((()=>s((()=>import("./CardsAiCfoScreen-CfZl8Gyx.js")),__vite__mapDeps([72,1,2,3,4,5,6,7,8])))),b=l((()=>s((()=>import("./NotFoundScreen-BR0tBeJN.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))),Ft=l((()=>s((()=>import("./TaskListScreen-BgIlrtZe.js").then((o=>o.f))),__vite__mapDeps([69,1,2,3,4,5,6,7,11,20,21,22,70,8])))),Lt=({isDashboardAccess:o,showZeniAccountRoute:D,isUserHasBillPayAccess:N,isUserHasReimbursementAccess:i,showTreasuryRoute:H,isTenantBankingOnly:O,isTenantCardsOnly:C,showChargeCardRoute:V})=>{if(O===!0){if(D)return e.jsx(u,{to:"checking"});if(H)return e.jsx(u,{to:"treasury"});if(V)return e.jsx(u,{to:"cards"})}return C===!0&&V?e.jsx(u,{to:"cards"}):o?e.jsx(u,{to:"dashboard"}):D?e.jsx(u,{to:"checking"}):H?e.jsx(u,{to:"treasury"}):V?e.jsx(u,{to:"cards"}):N?e.jsx(u,{to:"bills"}):i?e.jsx(u,{to:"reimbursements"}):e.jsx(u,{to:"dashboard"})},Pe=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/dashboard`}),$t=Object.freeze(Object.defineProperty({__proto__:null,default:function({setTenantEmailDomain:o}){const D=Gs(),N=qs(),{tenantEmailDomain:i}=Ys(),H=rt().mode,{setLoading:O,clearAllLoading:C,clearLoading:V}=Qs(),f=y.getSignedInUserTenant(i)?.tenantId,j=y.getSignedInUser(),K=Es(j),z=Ws(),[L,we]=P.useState(!1),r=$((a=>hs(a))),{useFeatureGate:k}=Xs(),M=Js(),Q=et(),Fe=!!r.company?.companyZeniAccountInfo?.isZeniAccountEnabled,Le=r.companyTreasuryInfo?.info?.businessVerificationStatus?.code==="verified",{isFeatureEnabled:He}=k(B.isChargeCardFeatureEnabled),{isFeatureEnabled:oe}=k(B.isDebitCardFeatureEnabled),T=$((a=>a.tenantState.fetchState)),p=$((a=>a.tenantState.activeTenantFetchState.fetchState)),E=p==="Completed"||T==="Completed"?ps(oe,r):void 0,X=p==="Completed"||T==="Completed"?xs(r):void 0,re=p==="Completed"||T==="Completed"?gs(r)&&!Rs(r):void 0,Ve=st(r,He,oe),{isCardsHidden:ke}=tt(r?.tenantId),Se=!Ve||!!ke,{isFeatureEnabled:Be}=k(B.isSettingsFeatureEnabled),{isFeatureEnabled:J}=k(B.isAiCfoFileUploadEnabled),{isFeatureEnabled:Ne}=k(B.isInvoicingFeatureEnabled??"is_invoicing_feature_enabled"),Me=Ne||ot==="DEV",Ze=r?.userRole!=null&&Is(r.userRole),G=$((a=>js(a)));if(i!=null){const a=y.getSignedInUserTenant(i);j!=null&&a!=null&&be(j,r,H)}const Z={tenantId:f,userId:j?.userId,sessionId:j?.zeniSessionId},ie=Ts(),h=nt(),$e=r.company==null||h?.loggedInUserRoleMap!=null&&pe(h.loggedInUserRole),ze=As(h?.loggedInUserRoleMap),ee=Te("/:tenantEmailDomain/onboarding/*")!==null,Ge=Te("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*"),se=Ge?.params.selectedPeriod,qe=$((a=>Z.tenantId!=null?bs(a,Z.tenantId):void 0));P.useEffect((()=>{O(F.TENANT_FETCHING),o(i)}),[i]),P.useEffect((()=>{if(se!=null&&f!=null){const a=se.split("-");if(a.length===2){const A=Ds(Number(a[0])),c=Number(a[1]),t=fs(`01-${A<10?`0${A}`:A}-${c}`,Ae.getLocalizedStrings().dateFormat.analytics.DDDashMMDashYYYY),d=ys();t.isAfter(d,"month")===!1?D(vs(f,{month:A,year:c})):N(`/${i}/month_end_close_checks/review`)}}}),[se,i,f]),P.useEffect((()=>{L||(we(!0),O(F.TENANT_FETCHING))}),[L,Z,ie,j,D,y]),P.useLayoutEffect((()=>{!Cs(ie,Z)&&y.isSignedIn()&&(O(F.TENANT_FETCHING),(function(a,A,c,t){if(ge(A?.userId,A?.zeniSessionId,a.tenantId),c($s(!0)),c(Re(a.tenantId)),a.tenantId!=null&&_.clearTenant(a.tenantId),a.tenantId!=null){const d=y.getSignedInUserTenantWithId(a.tenantId);t&&Ae.updateAppLocaleID(it(t)),d?.tenantEmailDomain!=null&&y.saveActiveTenantDomainForUser(d?.tenantEmailDomain)}a.userId!=null?ne.identify(a.userId,{tenant_id:a.tenantId}):ne.resetUserIdentity()})(Z,j,D,qe))}),[f]),P.useEffect((()=>{y.isSignedIn()&&(O(F.TENANT_FETCHING),(function(a,A,c,t,d,q,S){if(c==null&&t==null)return void console.warn("There is no current tenant selected!!");const Y=t!=null&&d?.zeniSessionId!=null,cs=c==null||c.tenantId!==t,ms=c!=null&&c.excludedResources==null,_s=c!=null&&c.externalConnections==null;if(Y&&cs){S(Re(t));const W=y.getSignedInUserTenantWithId(t);W?.tenantEmailDomain!=null&&y.saveActiveTenantDomainForUser(W?.tenantEmailDomain),ge(d?.userId,d?.zeniSessionId,t),_.shouldFetchExcludedResources(t)&&(_.markExcludedResourcesFetchStarted(t),S(Ie(d.userId,t))),_.shouldFetchConnections(t)&&(_.markConnectionsFetchStarted(t),S(je(d.userId,t)))}else Y&&ms&&_.shouldFetchExcludedResources(t)&&(_.markExcludedResourcesFetchStarted(t),S(Ie(d.userId,t))),Y&&_s&&_.shouldFetchConnections(t)&&(_.markConnectionsFetchStarted(t),S(je(d.userId,t)));if(Y){ne.identify(d.userId,{tenant_id:t});const W=t==null||t!=null&&(A==="Completed"||A==="Error");a==="Completed"||A!=="Not-Started"&&A!=="Error"||t==null||!_.shouldFetchActiveTenant(t)||(_.markActiveTenantFetchStarted(t),q(F.TENANT_FETCHING),S(zs(d.userId,t,d.zeniSessionId))),W&&(a==="Not-Started"||a==="Error")&&_.shouldFetchAllTenants()&&(_.markAllTenantsFetchStarted(),S(xe(d.userId,d.zeniSessionId)))}})(T,p,r,f,j,O,D))}),[f,p]),P.useEffect((()=>{y.isSignedIn()&&T==="Completed"&&G.tenantsBaseInOrder.length>0&&(V(F.TENANT_FETCHING),y.saveSignedInUserTenants(Os(G.tenantsBaseInOrder)),j!=null&&be(j,r,H,void 0,G.tenantsBaseInOrder))}),[G,T,r,j]),P.useEffect((()=>{p==="In-Progress"&&O(F.TENANT_FETCHING),p!=="Completed"&&p!=="Error"||(p==="Completed"&&f!=null?(C(),_.markActiveTenantFetchCompleted(f)):p==="Error"&&f!=null&&(_.markActiveTenantFetchFailed(f),V(F.TENANT_FETCHING),V(F.TENANT_SWITCHING))),T!=="Completed"&&T!=="Error"||(T==="Completed"?_.markAllTenantsFetchCompleted():T==="Error"&&_.markAllTenantsFetchFailed())}),[p,T,f,L]);const le=P.useRef(!1);P.useEffect((()=>{!le.current&&p==="Completed"&&L&&(le.current=!0,(function(a=mt,A=3e3){setTimeout((()=>{const c=t=>{if(t>=a.length)return;const d=a[t],q=ct[d];q!=null?q().then((()=>ae((()=>c(t+1))))).catch((()=>ae((()=>c(t+1))))):c(t+1)};ae((()=>c(0)))}),A)})())}),[p,L]);const U=r?.userRole!=null&&Us(r?.userRole),{isFeatureEnabled:Ye}=k(B.isReferralFeatureEnabled),{isFeatureEnabled:We}=k(B.isAccrualEnabled),Ke=r?.userRole!=null&&r.userRole.includes("charge_card_user"),Qe=r?.userRole!=null&&r.userRole.includes("charge_card_admin"),w=r?.userRole!=null&&pe(r.userRole),ue=r?.company==null||r.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!U,de=!Se&&!U,Xe=Ps(h?.loggedInUserRoleMap),Je=r.externalConnections?.accounting[0]?.isValid,es=r.externalConnections?.fetchState==="Completed",te=r.company?.companyOnboardingInfo.isOnboardingCompleted,ce=r?.company==null||r.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!U,me=ce&&ws(h?.loggedInUserRoleMap),_e=Fe&&!U,ss=Le&&!U,ts=ue&&Fs(h?.loggedInUserRoleMap),ns=de&&Ls(h?.loggedInUserRoleMap),as=_e&&Hs(h?.loggedInUserRoleMap),os=Vs(h?.loggedInUserRoleMap),rs=ks(h?.loggedInUserRoleMap),is=Ss(h?.loggedInUserRoleMap),ls=Bs(h?.loggedInUserRoleMap),us=Ns(h?.loggedInUserRoleMap),x=Ms(h?.loggedInUserRoleMap),g=Zs(h?.loggedInUserRoleMap),Ee=ue&&x,he=ce&&g,R=_e&&is,I=ss&&ls,m=de&&us,ds=r.excludedResources?.resources?.find((a=>a.resource==="/invites"))!=null||ze===!0||Xe===!0||os===!0||rs===!0;return y.isSignedIn()?f==null?T==="Completed"?e.jsx(u,{to:"/",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}):(j!=null&&T!=="In-Progress"&&D(xe(j.userId,j.zeniSessionId)),null):p!=="In-Progress"&&p!=="Not-Started"||T==="Completed"?(te===!0||K&&!ee)&&es&&Je!==!0&&E===!1&&X===!1&&re===!1?(o(void 0),e.jsx(u,{to:"/connection/auth",replace:!0})):!L||re!==!0||te!==!0||ee||K?!L||te!==!1||ee||K?L&&r?.userRole&&E!=null&&X!=null&&i!=null&&Object.keys(h.loggedInUserRoleMap).length>0?e.jsx(Ks,{children:e.jsxs(n,{element:e.jsx(at,{}),children:[e.jsx(n,{path:"/",element:e.jsx(Lt,{isDashboardAccess:w,showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,isTenantCardsOnly:X,showChargeCardRoute:m})}),e.jsx(n,{path:"dashboard/*",element:w?e.jsx(It,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"reports/*",element:w?e.jsx(_t,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"people/*",element:ds||w?e.jsx(ht,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"forecast/*",element:w?e.jsx(pt,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"onboarding/*",element:e.jsx(xt,{})}),e.jsx(n,{path:"transaction/*",element:w&&U===!1||Ke||Qe?e.jsx(Rt,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"transactions/*",element:w&&U===!1?e.jsx(Dt,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"customer/*",element:w&&U===!1?e.jsx(ve,{entityType:"customer"}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,isTenantBankingOnly:E,showTreasuryRoute:I,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"vendor/*",element:w&&U===!1?e.jsx(ve,{entityType:"vendor"}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"tasks",element:e.jsx(Ft,{})}),e.jsx(n,{path:"tasks/*",element:e.jsx(Pt,{})}),e.jsx(n,{path:"address/*",element:ts||me||as||ns?e.jsx(Et,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"checking/*",element:R?e.jsx(At,{}):e.jsx(b,{})}),e.jsx(n,{path:"treasury/*",element:I?e.jsx(bt,{}):e.jsx(b,{})}),e.jsx(n,{path:"performance",element:Q===!0?e.jsx(vt,{}):e.jsx(Pe,{tenantEmailDomain:i})}),e.jsx(n,{path:"month_end_close_checks/review/*",element:Q===!0&&U===!1?e.jsx(Ct,{}):e.jsx(Pe,{tenantEmailDomain:i})}),e.jsx(n,{path:"expense-automation/actual-matching/:matchId",element:Q===!0&&U===!1&&We===!0?e.jsx(Ot,{}):e.jsx(b,{})}),e.jsx(n,{path:"notifications/*",element:e.jsx(yt,{})}),e.jsx(n,{path:"vendors/*",element:$e?e.jsx(gt,{}):e.jsx(b,{})}),e.jsx(n,{path:"bill/*",element:Ee?e.jsx(Ce,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"bills/*",element:Ee?e.jsx(Ce,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"reimbursement/*",element:he?e.jsx(Oe,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"reimbursements/*",element:he?e.jsx(Oe,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:I,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"settings/*",element:Be?e.jsx(jt,{hasAdminLevelAccess:me}):e.jsx(b,{})}),e.jsx(n,{path:"invoicing/*",element:Me&&Ze?e.jsx(Tt,{}):e.jsx(b,{})}),e.jsx(n,{path:"cards/ask",element:m&&M?e.jsx(Ue,{isFileUploadEnabled:J}):e.jsx(b,{})}),e.jsx(n,{path:"cards/ask/:session_id",element:m&&M?e.jsx(Ue,{isFileUploadEnabled:J}):e.jsx(b,{})}),e.jsx(n,{path:"cards/*",element:m?e.jsx(ft,{}):e.jsx(b,{})}),e.jsx(n,{path:"rewards/*",element:Ye?e.jsx(Ut,{}):e.jsx(b,{})}),e.jsx(n,{path:"/ai-cfo",element:M?e.jsx(u,{to:"explore"}):e.jsx(b,{})}),e.jsx(n,{path:"/ai-cfo/",element:M?e.jsx(u,{to:"explore"}):e.jsx(b,{})}),e.jsx(n,{path:"/ai-cfo/:session_id",element:M?e.jsx(wt,{isFileUploadEnabled:J}):e.jsx(b,{})}),e.jsx(n,{path:"*",element:e.jsx(b,{})})]})}):null:(o(void 0),e.jsx(u,{to:`/${i}/onboarding`,replace:!0})):(o(void 0),e.jsx(u,{to:`/${i}/onboarding/thankyou`,replace:!0})):null:(console.warn("User logged out!!"),o(void 0),e.jsx(u,{to:"/signin/auth",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}))}},Symbol.toStringTag,{value:"Module"}));export{v as F,$t as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./liveblocks-DOdRxZ-H.js";import i from"./NotFoundScreen-BR0tBeJN.js";import{T as r}from"./TransactionDetailScreen-BkV8Yidz.js";import"./sentry-DvoFEQx8.js";import{n as a,o as e}from"./core-R1zvmcG1.js";import"./zeni-epic-state-Mdu-dKQU.js";import"./recharts-UmMlzZlF.js";import"./index-Cvus_VBr.js";import"./mui-ZKvbmPSP.js";import"./analytics-BE49_JfE.js";import"./plaid-tDbexfSh.js";import"./dnd-LSyMQh_7.js";import"./stripe-cKAAJElX.js";import"./lottie-Z_NAxrmn.js";import"./lexical-BG-nDmQN.js";import"./pdf-_w1KRTSP.js";import"./utils-D06mHID-.js";import"./useAskAiCfoHostNavButtonProps-D5Ew-Qzm.js";import"./decodeURIComponentSafe-D4d600vS.js";import"./useInitialThreadRequest-mCNzqzEf.js";import"./routePaths-ME1g30cL.js";import"./expenseAutomationHelper-BlCRyV8f.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new o.Error().stack;n&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[n]="bfd19369-9f5a-4875-9ff9-f0a50fe2624d",o._sentryDebugIdIdentifier="sentry-dbid-bfd19369-9f5a-4875-9ff9-f0a50fe2624d")}catch{}})();function z(){return t.jsxs(a,{children:[t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId",element:t.jsx(r,{})}),t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId/page-not-found",element:t.jsx(i,{})}),t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId/vendor/create",element:t.jsx(r,{})}),t.jsx(e,{path:"/*",element:t.jsx(r,{})})]})}export{z as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./sentry-DvoFEQx8.js";import{h as u,g,i as h,j as S}from"./core-R1zvmcG1.js";import{fI as y}from"./zeni-epic-state-Mdu-dKQU.js";import{a as k,_ as C,d as A,ap as I,x as T,p as w,as as x}from"./index-Cvus_VBr.js";import"./mui-ZKvbmPSP.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]="a52b9eb7-abc4-4f37-9f60-d35ca20a68fe",e._sentryDebugIdIdentifier="sentry-dbid-a52b9eb7-abc4-4f37-9f60-d35ca20a68fe")}catch{}})();function j(e){const{mobileExploreReferrer:a}=e,{isAiCfoOpen:r,setIsAiCfoOpen:f}=k(),s=u(),o=g(),{tenantEmailDomain:n}=h(),d=C(),i=x(d),l=A(),p=I(),m=S((t=>t.tenantState.fetchState==="Completed"||t.tenantState.activeTenantFetchState.fetchState==="Completed"?y(t):void 0)),c=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&l&&!r,onAskAiCfoClick:b.useCallback((()=>{if(n!=null)if(c)if(i){const t=w(o.state?.pathnameStackToGoBack,o.pathname);s(`/${n}/ai-cfo/explore`,{state:{pathnameStackToGoBack:t,referrer:a}})}else f(!0);else T({location:o,navigate:s,mergeState:{referrer:a}})}),[c,i,o,a,s,f,n])}}export{j as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./sentry-DvoFEQx8.js";import{bn as i}from"./zeni-epic-state-Mdu-dKQU.js";import{Y as d,$ as t}from"./index-Cvus_VBr.js";import"./mui-ZKvbmPSP.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]="40fc63c9-81e7-46bd-9189-bf6c8cb7650e",e._sentryDebugIdIdentifier="sentry-dbid-40fc63c9-81e7-46bd-9189-bf6c8cb7650e")}catch{}})();const u=e=>{const{useFeatureGate:s}=d(),{isFeatureEnabled:a}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),n=r.useMemo((()=>i(e)),[e]);return{isNotificationControlsEnabled:n||o,isTaskManagerAccessEnabled:n||a,isZeniUser:n}};export{u};
|