@zeniai/web-app-ui 5.3.85-prod → 5.3.86-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/assets/{AccountMappingScreen-WogquAoN.js → AccountMappingScreen-BXvURRvs.js} +2 -2
  2. package/dist/assets/{ActualMatchingMatchDetailScreen-ux7ImM3V.js → ActualMatchingMatchDetailScreen-CkPu1Iyz.js} +1 -1
  3. package/dist/assets/AddressRoutes-CRV9O3fJ.js +1 -0
  4. package/dist/assets/{AddressScreen-CwwzK2GG.js → AddressScreen-CbqqBPeg.js} +2 -2
  5. package/dist/assets/{AiCfoScreen-DEOppX8Y.js → AiCfoScreen-Akbbu7OO.js} +1 -1
  6. package/dist/assets/{AppDrawer-CegAI52d.js → AppDrawer-B4rZP8Bn.js} +1 -1
  7. package/dist/assets/{BillPayApprovalRoutes-Z3nCuHQ6.js → BillPayApprovalRoutes-BG_fZlTC.js} +1 -1
  8. package/dist/assets/{BillPayRoutes-CfyXP1Sf.js → BillPayRoutes-pg5PH9Oh.js} +1 -1
  9. package/dist/assets/{BusinessVerificationPageScreen-DwWalCFB.js → BusinessVerificationPageScreen-B81g6W18.js} +2 -2
  10. package/dist/assets/{CardsAiCfoScreen-Ble1fk_F.js → CardsAiCfoScreen-hMGqj2aq.js} +1 -1
  11. package/dist/assets/{ChargeCardRoutes-CAp7f3jA.js → ChargeCardRoutes-STh2Wp7w.js} +7 -7
  12. package/dist/assets/{CompanyPassportScreen-tG19-jh3.js → CompanyPassportScreen-LxcAg-6u.js} +1 -1
  13. package/dist/assets/{ConnectionAuthScreen-BTY1bqub.js → ConnectionAuthScreen-BKVwXbSh.js} +1 -1
  14. package/dist/assets/CustomerOnboardingAuthScreen-yvp5XDgC.js +1 -0
  15. package/dist/assets/{CustomerOnboardingRoutes-BJMvCpvW.js → CustomerOnboardingRoutes-CNIJctLU.js} +3 -3
  16. package/dist/assets/{DashboardRoutes-BIQx58oK.js → DashboardRoutes-Cq-Lxh3h.js} +3 -3
  17. package/dist/assets/{DefaultTenantHome-Cc9PF-bd.js → DefaultTenantHome-CshmDcap.js} +1 -1
  18. package/dist/assets/{DomesticWireDetailScreen-DjYGwrLg.js → DomesticWireDetailScreen-BSEUD6C3.js} +1 -1
  19. package/dist/assets/{DrawerScreen-Dsgg9Nif.js → DrawerScreen-CBAh6dJa.js} +1 -1
  20. package/dist/assets/EntityDetailRoutes-CKxj6mH-.js +1 -0
  21. package/dist/assets/{ExpenseAutomationRoutes-C2g7Anx2.js → ExpenseAutomationRoutes-FZqTLeVo.js} +7 -7
  22. package/dist/assets/FeaturePreviewScreen-CZR8YW-L.js +1 -0
  23. package/dist/assets/{HubSpotOAuthCallbackScreen-Kz67EEdw.js → HubSpotOAuthCallbackScreen-CUlI7cbh.js} +1 -1
  24. package/dist/assets/{InboxNotificationsProvider-B02pbbOA.js → InboxNotificationsProvider-T1CjerOs.js} +1 -1
  25. package/dist/assets/{InvoicingRoutes-utINQAtA.js → InvoicingRoutes-Ys89tvz2.js} +1 -1
  26. package/dist/assets/{MagicLinkRoutes-CkT1AXmt.js → MagicLinkRoutes-DR9AEDCZ.js} +17 -17
  27. package/dist/assets/MagicLinkSignInScreen-2HP7A3da.js +12 -0
  28. package/dist/assets/MobileAppDrawer-CtIgBgQ-.js +1 -0
  29. package/dist/assets/NotFoundScreen-oJupr3pq.js +1 -0
  30. package/dist/assets/{NotificationRoutes-D0OkMTAh.js → NotificationRoutes-DPQX5f6K.js} +1 -1
  31. package/dist/assets/{OAuthConsentScreen-D-gBK9zc.js → OAuthConsentScreen-BFDI6eC9.js} +1 -1
  32. package/dist/assets/{PandLWithForecastRoutes-BphUzEcN.js → PandLWithForecastRoutes-DyZHHb1Z.js} +1 -1
  33. package/dist/assets/{PaymentLinkScreen-BPiMJwsV.js → PaymentLinkScreen-EXZ3ZrN9.js} +1 -1
  34. package/dist/assets/{PeopleRoutes-DWuqSKNH.js → PeopleRoutes-CCoQcfmM.js} +5 -5
  35. package/dist/assets/PerformanceRoutes-Bx8pszb9.js +1 -0
  36. package/dist/assets/{Preview-B5CU5bXs.js → Preview-C3KwiSeU.js} +1 -1
  37. package/dist/assets/{QBOConnectionScreen-B71X_LbE.js → QBOConnectionScreen-B_IVukb7.js} +1 -1
  38. package/dist/assets/{ReimbursementApprovalRoutes-B3SFQha7.js → ReimbursementApprovalRoutes-Dm2Et1-C.js} +1 -1
  39. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-cq589xgn.js → ReimbursementApprovalRuleDetailScreen-CKOH-HzU.js} +1 -1
  40. package/dist/assets/{ReimbursementRoutes-T-vuTP7i.js → ReimbursementRoutes-D1jTtRL_.js} +1 -1
  41. package/dist/assets/{ReportsRoutes-Bj7RqNPf.js → ReportsRoutes-DwdL-iuL.js} +1 -1
  42. package/dist/assets/{RewardsRoutes-Pd29m0P-.js → RewardsRoutes-CKpKVKBM.js} +1 -1
  43. package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-Btguby5R.js → ScheduleDetailsPrepaidExpensesScreen-BTUJ8zwC.js} +4 -4
  44. package/dist/assets/ScreenRoutes-_NAgJfqV.js +2 -0
  45. package/dist/assets/{SettingsRoutes-CyYf50SY.js → SettingsRoutes-BK2pVuXm.js} +6 -6
  46. package/dist/assets/{SetupPagesScreen-U-HIMcAF.js → SetupPagesScreen-CUiMxOyt.js} +1 -1
  47. package/dist/assets/SignInScreen-B16ytfH2.js +1 -0
  48. package/dist/assets/SignOutScreen-CYY1dAbn.js +9 -0
  49. package/dist/assets/{TaskListScreen-XBenYOQn.js → TaskListScreen-DHzPd6H5.js} +2 -2
  50. package/dist/assets/TaskRoutes-hldsrW8n.js +9 -0
  51. package/dist/assets/TransactionDetailRoutes-Cii1a7bV.js +1 -0
  52. package/dist/assets/{TransactionDetailScreen-eoc-VhhS.js → TransactionDetailScreen-DFFAXF6x.js} +1 -1
  53. package/dist/assets/{TransactionListRoutes-CXOun_1G.js → TransactionListRoutes-bvLvzle-.js} +1 -1
  54. package/dist/assets/{TreasuryRoutes-DNmmUFyU.js → TreasuryRoutes-DYIO-YgE.js} +4 -4
  55. package/dist/assets/{VendorsRoutes-DUz9rKfZ.js → VendorsRoutes-DxWng3tY.js} +1 -1
  56. package/dist/assets/{WiseConfirmationScreen-D1VtGh8z.js → WiseConfirmationScreen-3GfsXfj0.js} +1 -1
  57. package/dist/assets/{ZeniAccountRoutes-BRP6LvYs.js → ZeniAccountRoutes-bTRWcMAn.js} +7 -7
  58. package/dist/assets/{ZeniAccountStatementScreen-BV0WUHyd.js → ZeniAccountStatementScreen-ulCu2kq_.js} +1 -1
  59. package/dist/assets/{accountMappingHelper-BOlj7W8u.js → accountMappingHelper-Cl-vw8fd.js} +1 -1
  60. package/dist/assets/{analytics-BGwrWzlB.js → analytics-bcpq8FmH.js} +1 -1
  61. package/dist/assets/{analyticsHelper-B-3FGXip.js → analyticsHelper-DTKAaOR4.js} +1 -1
  62. package/dist/assets/{core-CVq4LBxv.js → core-CLbwxogo.js} +1 -1
  63. package/dist/assets/{decodeURIComponentSafe-BE1hO5jf.js → decodeURIComponentSafe-CTII6a9j.js} +1 -1
  64. package/dist/assets/{dnd-DavleiTg.js → dnd-D7kr6gj3.js} +1 -1
  65. package/dist/assets/{empty-DmK-tVx1.js → empty-BIuVl5i4.js} +1 -1
  66. package/dist/assets/{empty-BL3enJ5k.js → empty-BdckjUGv.js} +1 -1
  67. package/dist/assets/{emptyVideoElement-DeJoNMnb.js → emptyVideoElement-CsPLODSh.js} +1 -1
  68. package/dist/assets/epic-AKFDmlZB.js +2 -0
  69. package/dist/assets/{expenseAutomationHelper-Qk_wD9yj.js → expenseAutomationHelper-C40iB_7D.js} +1 -1
  70. package/dist/assets/{getLocaleForTenant-BwOgrgnl.js → getLocaleForTenant-BdgPeU-B.js} +1 -1
  71. package/dist/assets/{index-CJU49kKj.js → index-BGZGT2EB.js} +1 -1
  72. package/dist/assets/{index-jvHns0_r.js → index-BWTXRZ02.js} +14315 -14289
  73. package/dist/assets/{index-B3cuKCap.js → index-C31Y0QTF.js} +1 -1
  74. package/dist/assets/{index-CnD1q0vY.js → index-CFqdtjWk.js} +2 -2
  75. package/dist/assets/{index-BOQxjd1f.js → index-CGtk3Boq.js} +1 -1
  76. package/dist/assets/{index-DpAAfaKm.js → index-COZnX9q1.js} +1 -1
  77. package/dist/assets/{index-YtTwG_rA.js → index-CtHN3MJR.js} +1 -1
  78. package/dist/assets/{index-BKc83OTI.js → index-DPWxOeVp.js} +1 -1
  79. package/dist/assets/{lexical-CduZ0_X9.js → lexical-DBQnrckW.js} +1 -1
  80. package/dist/assets/{liveblocks-D6xqUYTh.js → liveblocks-B8NMVuJ_.js} +1 -1
  81. package/dist/assets/{lottie-P_bprivz.js → lottie-DZboDKA6.js} +1 -1
  82. package/dist/assets/{mui-B7xKU661.js → mui-DB2eP-4H.js} +1 -1
  83. package/dist/assets/{pathToGoBack-D0Fi-bK8.js → pathToGoBack-kLAH7lQZ.js} +1 -1
  84. package/dist/assets/{pdf-D6Fql5BS.js → pdf-ByO6Vz9p.js} +4 -4
  85. package/dist/assets/{pdf-lib-Q-uTYYfn.js → pdf-lib-B2sKhaXv.js} +1 -1
  86. package/dist/assets/{plaid-CjupXQIq.js → plaid-BjkLQcpb.js} +1 -1
  87. package/dist/assets/{pusher-BqP-5KrY.js → pusher-DLAXsv5D.js} +1 -1
  88. package/dist/assets/{react-BUBe6Th9.js → react-3YBksWOJ.js} +1 -1
  89. package/dist/assets/{react-DhxhDd5l.js → react-6e8jc3Wj.js} +1 -1
  90. package/dist/assets/{react-DsGBqq9I.js → react-Bdnz9ur-.js} +1 -1
  91. package/dist/assets/{react-BjLaG94V.js → react-Bnoavnug.js} +1 -1
  92. package/dist/assets/{react-CwLj3lBO.js → react-CSeNOqFc.js} +1 -1
  93. package/dist/assets/{react-COROK2uo.js → react-DnFO_FFm.js} +1 -1
  94. package/dist/assets/{recharts-q8JrD0wI.js → recharts-DLaK4yUy.js} +1 -1
  95. package/dist/assets/{routePaths-Xhah4Bp8.js → routePaths-D7Q4znoA.js} +1 -1
  96. package/dist/assets/{sentry-CG4v3BoH.js → sentry-Di8VmQH9.js} +1 -1
  97. package/dist/assets/{stripSplatSuffix-6rFnNIdy.js → stripSplatSuffix-vknm6I0a.js} +1 -1
  98. package/dist/assets/{url-DNx2XGDP.js → url-D-LhAzLP.js} +1 -1
  99. package/dist/assets/{url-DgGdpiOR.js → url-DQtqpgyq.js} +1 -1
  100. package/dist/assets/{useActualMatchingMatchDetail-KSh9tsux.js → useActualMatchingMatchDetail-BtihcKgk.js} +1 -1
  101. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-DsknQ_Ah.js → useAiCfoDashboardSuggestedQuestionsChips-CoIOeMrO.js} +1 -1
  102. package/dist/assets/useAskAiCfoHostNavButtonProps-2NTBRuLk.js +1 -0
  103. package/dist/assets/{useChargeCardPusherEvents-DEPutmvj.js → useChargeCardPusherEvents-CyCKOPqT.js} +1 -1
  104. package/dist/assets/{useDeviceId-DTB7Uefo.js → useDeviceId-D9wKXTe6.js} +1 -1
  105. package/dist/assets/{useEmailConnectResultRefresh-BS08g6eI.js → useEmailConnectResultRefresh-CLDF1mnr.js} +1 -1
  106. package/dist/assets/{useInitialThreadRequest-9i3K9cvJ.js → useInitialThreadRequest-_cR9E-my.js} +1 -1
  107. package/dist/assets/{useTaskManagerAccess-zB2ZLJH3.js → useTaskManagerAccess-DYYDLTVZ.js} +1 -1
  108. package/dist/assets/{useTaskManagerPusherEvents-QavEPu8U.js → useTaskManagerPusherEvents-DaFacbHX.js} +1 -1
  109. package/dist/assets/{utils-BGXIbd5c.js → utils-cD9C-nwV.js} +1 -1
  110. package/dist/assets/{withTransactionSidePanel-DyRI_fCR.js → withTransactionSidePanel-BOBG-nk3.js} +1 -1
  111. package/dist/assets/{zeni-epic-state-Gp2wOm50.js → zeni-epic-state-DuYWeJse.js} +5 -5
  112. package/dist/index.html +1 -1
  113. package/package.json +4 -4
  114. package/dist/assets/AddressRoutes-1UM8OW0r.js +0 -1
  115. package/dist/assets/CustomerOnboardingAuthScreen-BS6EhRKT.js +0 -1
  116. package/dist/assets/EntityDetailRoutes-Bof-gK2X.js +0 -1
  117. package/dist/assets/FeaturePreviewScreen-ByQP-uw1.js +0 -1
  118. package/dist/assets/MagicLinkSignInScreen-BG5Kd_Xk.js +0 -12
  119. package/dist/assets/MobileAppDrawer-C9azTUWk.js +0 -1
  120. package/dist/assets/NotFoundScreen-CtBMKSd4.js +0 -1
  121. package/dist/assets/PerformanceRoutes-BjUmiQkb.js +0 -1
  122. package/dist/assets/ScreenRoutes-Cc-eNblT.js +0 -2
  123. package/dist/assets/SignInScreen-ByNCoTx5.js +0 -1
  124. package/dist/assets/SignOutScreen-D3JTrK8K.js +0 -9
  125. package/dist/assets/TaskRoutes-Dk80n3Ne.js +0 -9
  126. package/dist/assets/TransactionDetailRoutes-QimTckae.js +0 -1
  127. package/dist/assets/epic-CyoDw4XM.js +0 -2
  128. package/dist/assets/useAskAiCfoHostNavButtonProps-DCD9kAwQ.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-jvHns0_r.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-CG4v3BoH.js"><link rel="modulepreload" crossorigin href="/assets/core-CVq4LBxv.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-Gp2wOm50.js"><link rel="modulepreload" crossorigin href="/assets/mui-B7xKU661.js"><link rel="modulepreload" crossorigin href="/assets/analytics-BGwrWzlB.js"><link rel="modulepreload" crossorigin href="/assets/utils-BGXIbd5c.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>
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-BWTXRZ02.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-Di8VmQH9.js"><link rel="modulepreload" crossorigin href="/assets/core-CLbwxogo.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-DuYWeJse.js"><link rel="modulepreload" crossorigin href="/assets/mui-DB2eP-4H.js"><link rel="modulepreload" crossorigin href="/assets/analytics-bcpq8FmH.js"><link rel="modulepreload" crossorigin href="/assets/utils-cD9C-nwV.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.85-prod",
3
+ "version": "5.3.86-dev",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],
@@ -28,9 +28,9 @@
28
28
  "@sentry/core": "^9.42.1",
29
29
  "@sentry/react": "^9.42.1",
30
30
  "@stripe/stripe-js": "^4.4.0",
31
- "@zeniai/client-analytics": "2.1.3",
32
- "@zeniai/client-epic-state": "5.2.81",
33
- "@zeniai/web-components": "4.4.23",
31
+ "@zeniai/client-analytics": "2.1.2",
32
+ "@zeniai/client-epic-state": "5.2.82",
33
+ "@zeniai/web-components": "4.4.24",
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-D6xqUYTh.js";import{A as i}from"./AddressScreen-CwwzK2GG.js";import s from"./NotFoundScreen-CtBMKSd4.js";import"./sentry-CG4v3BoH.js";import{n as d,o as r}from"./core-CVq4LBxv.js";import"./zeni-epic-state-Gp2wOm50.js";import"./recharts-q8JrD0wI.js";import"./index-jvHns0_r.js";import"./mui-B7xKU661.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.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-D6xqUYTh.js";import{z as m}from"./index-jvHns0_r.js";import{g as n}from"./QBOConnectionScreen-B71X_LbE.js";import"./sentry-CG4v3BoH.js";import{g as p,N as a}from"./core-CVq4LBxv.js";import"./zeni-epic-state-Gp2wOm50.js";import"./recharts-q8JrD0wI.js";import"./mui-B7xKU661.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.js";import"./empty-BL3enJ5k.js";import"./pdf-lib-Q-uTYYfn.js";import"./index-B3cuKCap.js";import"./url-DNx2XGDP.js";import"./index-YtTwG_rA.js";import"./decodeURIComponentSafe-BE1hO5jf.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 s}from"./liveblocks-D6xqUYTh.js";import{a as d}from"./sentry-CG4v3BoH.js";import{h as B,u as A,g as X,i as q,j as l,N as F,l as W,n as N,o as O}from"./core-CVq4LBxv.js";import{Xn as _,fI as M,WE as R,n3 as Y,SF as I,Xs as $,Xh as z,m3 as J,SG as P,WJ as K,WK as V,Xj as H,Xi as L}from"./zeni-epic-state-Gp2wOm50.js";import{b6 as Q,j as U,a2 as Z,p as tt}from"./index-jvHns0_r.js";import"./mui-B7xKU661.js";import{d as S}from"./decodeURIComponentSafe-BE1hO5jf.js";import{w as et}from"./withTransactionSidePanel-DyRI_fCR.js";import{f as at,c as nt}from"./routePaths-Xhah4Bp8.js";import"./recharts-q8JrD0wI.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.js";import"./useAskAiCfoHostNavButtonProps-DCD9kAwQ.js";import"./TransactionDetailScreen-eoc-VhhS.js";import"./useInitialThreadRequest-9i3K9cvJ.js";import"./expenseAutomationHelper-Qk_wD9yj.js";import"./stripSplatSuffix-6rFnNIdy.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="c12a93b1-71bb-4b00-bfe8-3de142b92b1d",a._sentryDebugIdIdentifier="sentry-dbid-c12a93b1-71bb-4b00-bfe8-3de142b92b1d")}catch{}})();const it=W((function(a,t){const e=t.entity,i=$(a,t.entity,"EntityDetail");return{selectedEntity:e,autoCompleteData:{autoCompleteText:e.name,entityAutoCompleteView:z(a,"common")},trendWithTransactionsReport:i,analytics:U,isAccountingClassesEnabled:J(a)}}),(function(a,t){return{onTransactionItemClick:e=>{if(t.openTransactionPanel)return void t.openTransactionPanel(e.id,e.type);const i=`${nt(e,t.tenantEmailDomain)}`,c=tt(t.location.state?.pathnameStackToGoBack,t.location.pathname);t.navigate(i,{state:{pathnameStackToGoBack:c}})},autoCompleteActions:{onAutoCompleteInputChange:e=>{e.trim().length>=2?a(H({searchString:e,searchOrigin:"common"})):e.trim().length===0&&a(L("common"))},onAutoCompleteEntity:e=>{const i=at(e,t.tenantEmailDomain);a(K()),a(V()),t.resetTrendIsFetchedStates(),t.navigate(i,{replace:!0,state:{pathnameStackToGoBack:t.location.state?.pathnameStackToGoBack}})},onCancelAutoComplete:()=>{const e=Z(t.location.state?.pathnameStackToGoBack),i=e.poppedPathname??k();t.navigate(i,{state:{pathnameStackToGoBack:e.newStack}})}},onTrendSelectedPeriodChange:e=>{if(t.closeSidePanel?.(),e==null)t.defaultTransactionTimePeriod!=null&&a(P(t.entity,"EntityDetail",{timeframe:"quarter",timePeriod:t.defaultTransactionTimePeriod}));else{const i=e.currentTimePeriod==null?e.addTimePeriod:{startDate:e.addTimePeriod.startDate,endDate:e.currentTimePeriod.endDate};a(I(t.entity,"EntityDetail",{timeframe:e.timeframe,timePeriod:e.addTimePeriod})),a(P(t.entity,"EntityDetail",{timeframe:e.timeframe,timePeriod:i}))}}}}))(Q),ot=et((function({entityType:a,...t}){const e=B(),i=A(),c=X(),[m,h]=d.useState(!1),[T,b]=d.useState(!1),{tenantEmailDomain:C,entityIdEncoded:j,entityNameEncoded:x}=q(),r=S(j??""),p=S(x??""),u=rt(r,p),v=[r,p].filter((n=>n!=null)),o={name:p,id:r,type:a,zeniId:r,qboId:r},D=l((n=>_(n.customerIncomeState,n.vendorExpenseState,n.trendState,o,"quarter"))),w=l((n=>M(n).company?.companyInfo.firstMonthOfFY??1)),f=l((n=>R(n.trendWithTransactionsState,o,"EntityDetail")));d.useEffect((()=>{m===!1&&u===!0&&(h(!0),i(Y(o)))}),[m,u,o]);const g=l((n=>n.trendState.fetchState)),E=f?.selectedPeriod?.timePeriod??D,G=(function(n,y){return n!=null&&y!=null?{startDate:n.startDate,endDate:y?.endDate}:y})(f?.selectedPeriod?.timePeriod,D);return d.useEffect((()=>{m===!0&&T===!1&&g==="Completed"&&(b(!0),E!=null&&i(I(o,"EntityDetail",{timeframe:f?.selectedPeriod?.timeframe??"quarter",timePeriod:E})))}),[m,T,g]),u?s.jsx(it,{firstMonthOfFY:w,tenantEmailDomain:C,location:c,navigate:e,entity:o,defaultTransactionTimePeriod:G,resetTrendIsFetchedStates:()=>{h(!1),b(!1)},...t}):s.jsx(F,{to:k(v.length)})})),rt=(a,t)=>t!=null&&t.length>0&&a!=null&&a.length>0,k=(a=2)=>{let t="../";for(let e=0;e<a;e++)t=`${t}../`;return t};function wt({entityType:a}){return s.jsx(N,{children:s.jsx(O,{path:"/:entityIdEncoded/:entityNameEncoded/*",element:s.jsx(ot,{entityType:a})})})}export{wt as EntityDetailRoutes,wt as default};
@@ -1 +0,0 @@
1
- import{j as s}from"./liveblocks-D6xqUYTh.js";import{a as r}from"./sentry-CG4v3BoH.js";import{au as d,av as l,B as p,a2 as m}from"./index-jvHns0_r.js";import"./mui-B7xKU661.js";import b from"./NotFoundScreen-CtBMKSd4.js";import{h as u,g as c}from"./core-CVq4LBxv.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="f295f1df-9143-40bb-a50f-a839aa60ebfa",a._sentryDebugIdIdentifier="sentry-dbid-f295f1df-9143-40bb-a50f-a839aa60ebfa")}catch{}})();const _=()=>{const a=u(),e=c(),t=r.useCallback((()=>{window.open("https://www.zeni.ai/demo/request","_blank")}),[]),f=r.useCallback((()=>{(()=>{const n=m(e.state?.pathnameStackToGoBack),i=n.poppedPathname??k();a(i,{state:{pathnameStackToGoBack:n.newStack}})})()}),[]),o=d(e.pathname);return o!=null?s.jsx(l,{menuItem:p(o),onDemoClick:t,onGoBack:f}):s.jsx(b,{})},k=(a=2)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e};export{_ as F};
@@ -1,12 +0,0 @@
1
- import{j as u}from"./liveblocks-D6xqUYTh.js";import{a as g}from"./sentry-CG4v3BoH.js";import{u as O,g as _,h as w,t as M,j as l,N as U}from"./core-CVq4LBxv.js";import{z as r,G as P,K as V,j as A,N,Y as Q,Z as R,Q as Y}from"./index-jvHns0_r.js";import{fI as G,Un as H,UQ as K,UH as W,gl as Z,gn as $,UM as q,gY as B,dk as J,UR as X,US as ee}from"./zeni-epic-state-Gp2wOm50.js";import{u as te,n as ne}from"./mui-B7xKU661.js";import{u as se}from"./useDeviceId-DTB7Uefo.js";import{f as ae}from"./analyticsHelper-B-3FGXip.js";import{t as ie}from"./getLocaleForTenant-BwOgrgnl.js";import"./recharts-q8JrD0wI.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="41abe66e-14ea-461f-ba73-38578c0845e6",t._sentryDebugIdIdentifier="sentry-dbid-41abe66e-14ea-461f-ba73-38578c0845e6")}catch{}})();const T=(t,a)=>t!=null&&t.length>0&&a==="magic_links";function Te(){const t=O(),a=_(),f=w(),[b]=M(),n=b.get("token"),p=b.get("stytch_token_type"),m=r.getMagicLinkCodeVerifier(),i=se(),{otpChallenge:d,twoFAPhoneNumber:x,magicLinkEmail:c,verifyDeviceFetchState:z,resendVerifyDeviceOTPFetchState:C}=l((e=>e.tenantState)),S=l((e=>e.tenantState.fetchState)),y=l((e=>e.tenantState.activeTenantFetchState.fetchState)),I=l((e=>e.tenantState.signInState)),h=l((e=>e.tenantState.magicLinkSignInFetchState.fetchState)),s=l((e=>e.tenantState.loggedInUser)),o=l((e=>G(e))),k=l((e=>H(e))),D=r.getSignedInUser(),v=te().mode;g.useEffect((()=>{s?.zeniSessionId==null&&n!=null&&T(n,p)&&i!=null&&m!=null&&(r.saveMagicLinkTriggered(n),t(K(n,i,m)))}),[n,p,t,i,m,s?.zeniSessionId]),g.useEffect((()=>{I!=="In-Progress"||S!=="Completed"&&y!=="Completed"||s?.zeniSessionId==null||o==null||(n!=null&&r.saveLastUsedMagicLinkToken(n),r.saveSignedInUserWithSession(s,s.zeniSessionId),r.saveSignedInUserTenants(W(k.tenantsInOrder),s.zeniSessionId),Z(s.userId,s.zeniSessionId,o.tenantId),t($(o.tenantId)),r.saveActiveTenantDomainForUser(o.tenantEmailDomain),t(q("Completed")),P.updateAppLocaleID(ie(o)),ae(s,o,v,void 0,k.tenantsInOrder),B().then((()=>{const e=Y();e!=null&&V(e)})),setTimeout((()=>{A.trackLogin(N.Event.loginSuccess,"email",J(o.productSettings))}),2e3))}),[I,S,y,s,o,k,v,a.state,t]);const E=g.useCallback((()=>{f("/signin/auth")}),[f]),j=g.useCallback((()=>{i!=null&&d!=null&&c!=null&&t(X(i,c,d))}),[i,d,t,c]),F=g.useCallback((e=>{i!=null&&n!=null&&c!=null&&d!=null&&t(ee(e,i,c,d))}),[i,n,t,c,d]);if(h==="Completed"&&d!=null)return u.jsx(Q,{phoneNumber:x,verifyOtpFetchState:z.fetchState,resendVerifyDeviceOTPFetchState:C,onResendOtp:j,onVerifyOtp:F,onCancelVerifyDevice:E});if(I==="In-Progress"&&S==="Completed"&&s?.zeniSessionId!=null&&o!=null||D!=null){const e=a.state?.origin??"/";return u.jsx(U,{to:e,state:{...a.state,origin:""}})}if(!T(n,p)||m==null||h==="Error"){const e=a.state?.origin??"/",L=n!=null&&r.getLastUsedMagicLinkToken()===n;return u.jsx(U,{to:e,state:{...a.state,origin:"",magicLinkAlreadyUsed:L,magicLinkExpired:!L&&(r.isMagicLinkTriggered(n??"")||h==="Error"&&s?.zeniSessionId==null)}})}return u.jsx(oe,{"data-testid":"smooth-loader",children:u.jsx(R,{size:"ExtraLarge",start:!0})})}const oe=ne.div`
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- right: 0;
6
- bottom: 0;
7
- display: flex;
8
- align-items: center;
9
- justify-content: center;
10
- z-index: 9999;
11
- background-color: ${t=>t.theme.colors.background};
12
- `;export{Te as default};
@@ -1 +0,0 @@
1
- import{j as B}from"./liveblocks-D6xqUYTh.js";import{a as m}from"./sentry-CG4v3BoH.js";import{u as te,j as t,i as $e,g as Ge,h as Ue,q as _}from"./core-CVq4LBxv.js";import{fI as ne,Uo as Me,Up as se,gc as xe,fH as Ne,Uy as Re,Ur as Pe,Us as Ve,q3 as je,gp as Le,Uv as b,UA as Oe,UB as K,gq as Ze,UC as qe,Ev as ze,h5 as He,cW as We,UD as Ye,gb as Xe,gr as Je}from"./zeni-epic-state-Gp2wOm50.js";import{w as Ke,i as Qe,X as ea,W as aa,c as ta,f as na,u as sa,A as c,g as oa,e as ia,z as ra,d as da,k as ca,M as la,o as ua,l as ma,n as Q,L as fa,C as ha,D as ba,p as S,j as ee,s as pa,R as ae,x as ga,y as Sa}from"./index-jvHns0_r.js";import{D as ka}from"./mui-B7xKU661.js";import{u as Ea}from"./InboxNotificationsProvider-B02pbbOA.js";import{u as Ca}from"./useTaskManagerAccess-zB2ZLJH3.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new l.Error().stack;i&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[i]="332a40ad-0ccd-4d26-9c73-6e8569bd94d4",l._sentryDebugIdIdentifier="sentry-dbid-332a40ad-0ccd-4d26-9c73-6e8569bd94d4")}catch{}})();const Ta=Ke((({isAppContentDrawerOpen:l,handleDrawerToggle:i})=>{const{tenantEmailDomain:s}=$e(),a=Ge(),k=ea(),n=Ue(),F=xe(),r=te(),{useFeatureGate:d}=aa(),p=ta(),{isTaskManagerAccessEnabled:E}=Ca(p),o=t((e=>ne(e))),oe=o.masterTOSInfo?.isMasterTOSAccepted??!1,$=t((e=>Ne(e))),{status:ie}=t(Re),G=$.uiState.currentChatSessionId,C=na(),{setLoading:re}=sa(),[w,U]=m.useState(void 0),A=_("/:tenantEmailDomain/dashboard")!==null,M=_("/:tenantEmailDomain/reports")!==null,f=_("/:tenantEmailDomain/onboarding/*")!==null,de=!!o.company?.companyZeniAccountInfo?.isZeniAccountEnabled,{isFeatureEnabled:ce}=d(c.isChargeCardFeatureEnabled),{isFeatureEnabled:x}=d(c.isDebitCardFeatureEnabled),le=oa(o,ce,x),{isFeatureEnabled:ue}=d(c.isSettingsFeatureEnabled),N=t((e=>Pe(e))),{isFeatureEnabled:T}=d(c.isReferralFeatureEnabled),v=t((e=>Ve(e)));m.useEffect((()=>{C&&T&&!f&&v.fetchState==="Not-Started"&&r(je(!0))}),[C,T,v.fetchState,f]);const D=t((e=>e.tenantState)),me=t((e=>D.fetchState==="Completed"?Le(e):[])),g=t((e=>e.expenseAutomationViewState.selectedPeriodByTenantId)),{isFeatureEnabled:fe}=d(c.isApAgingFeatureEnabled),{isFeatureEnabled:he}=d(c.isArAgingFeatureEnabled),R=ia(),{isFeatureEnabled:be}=d(c.isDashboardSidebarHalloweenAnimationEnabled),{isFeatureEnabled:pe}=d(c.isDashboardSidebarThanksGivingAnimationEnabled),{isFeatureEnabled:ge}=d(c.isDashboardSidebarChristmasAnimationEnabled),{isFeatureEnabled:Se}=d(c.isDashboardSidebarNewYearAnimationEnabled),ke=o.companyTreasuryInfo?.info?.businessVerificationStatus?.code==="verified",Ee=t((e=>b(e).totalUnreadCount)),Ce=t((e=>b(e).reducedFetchCountState)),P=t((e=>b(e).notificationDetailsByTab.tasks.uiState.unreadCount)),V=t((e=>b(e).notificationDetailsByTab.comments.uiState.unreadCount)),j=t((e=>b(e).notificationDetailsByTab.tasks.fetchCountState)),I=t((e=>b(e).notificationDetailsByTab.comments.fetchCountState)),{inboxNotifications:L,isLoading:O,isFetchingMore:Z,hasFetchedAll:q,fetchMore:Te}=Ea();m.useEffect((()=>{const e=setTimeout((()=>Te?.()),0);return()=>clearTimeout(e)})),m.useEffect((()=>{if(O===!1&&Z===!1&&q===!0)if(o?.companyId!=null&&L!=null){const e=`dashboard_${o.companyId}`;U(L.filter((u=>u.roomId===e&&u.readAt==null)).length)}else U(0)}),[O,Z,q]),m.useEffect((()=>{C&&E&&!f&&j.fetchState==="Not-Started"&&F.tenantId!=null&&r(Oe("task_manager","dashboard"))}),[C,E,f,j.fetchState,F.tenantId,r]),m.useEffect((()=>{f||I.fetchState!=="Not-Started"||r(K({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))}),[f,I.fetchState,r]),m.useEffect((()=>{w!=null&&I.fetchState==="In-Progress"&&(r(K({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),r(se({unreadCount:w},"comments")))}),[w,I.fetchState]);const Ie={fetchStatus:Ce,count:Ee},z=s!=null?ra.getSignedInUserTenant(s):null,H=t((e=>z?.tenantId!=null?Ze(e,z.tenantId):void 0)),h=[];fe===!1&&h.push("accounts_payable_aging"),he===!1&&h.push("accounts_receivable_aging"),h.push("zeni_accounts_promo_card","treasury_promo_card"),T===!1&&h.push("rewards_card"),R===!1&&h.push("expense_automation_card");const W=t((e=>qe(e,h).fetchState)),Y=t((e=>ze(e).fetchState)),ye=A&&(W==="Completed"||W==="Error")||M&&(Y==="Completed"||Y==="Error")||!A&&!M?void 0:"disabled",we=m.useMemo((()=>He(o.userRole)),[o.userRole]),Ae=We(we),ve=o?.rewardsLastViewedTime==null,De=p?.userEmail!=null&&N.fetchState==="Completed"&&Ye(N.notificationSettings,p.userEmail,x,o,E),X=da(),_e=X&&ca(a);return B.jsx(ka,{container:window.document.body,variant:"temporary",open:l,onClose:()=>i(!1),PaperProps:{sx:{width:240,zIndex:8,borderRight:"none",backgroundImage:"none"}},ModalProps:{keepMounted:!0},children:B.jsx(la,{signedInUser:p,currentTenantId:D.currentTenantId??"",tenants:D.fetchState==="Completed"?me:H!=null?[H]:[],currentTenant:o,isTenantDropdownDisabled:ye,isSettings:Q(a),isInvoicing:ma(a)&&ie==="completed",isSettingsFeatureEnabled:ue,isVendorsTabVisible:Ae,isZeniAccountEnabled:de,isChargeCardEnabled:le,isTreasuryEnabled:ke,isNotificationsTabVisible:De,notificationCountDetails:Ie,isExpenseAutomationEnabledForUser:R,selectedMenu:ua(a),rewardsConfiguration:{isRewardsTabVisible:T,isRewardsAnimated:ve,rewardsPlan:v.rewardsPlan},isAiCfoAccessEnabled:X,onNotificationIconClick:()=>{i(!1);let e=P===0&&V>0?"notifications/comments":"notifications/tasks";Q(a)&&(e=P===0&&V>0?"../../notifications/comments":"../../notifications/tasks");const u=S(a.state?.pathnameStackToGoBack,a.pathname);n(e,{state:{pathnameStackToGoBack:u}})},handleCockpitClick:()=>{window.open("/cockpit")},handleLogOutClick:()=>{i(!1);const e=S(a.state?.pathnameStackToGoBack,a.pathname);n("/signout",{replace:!0,state:{pathnameStackToGoBack:e,message:"logout"}})},handleMenuChange:e=>{if(i(!1),s==null)return;if(e.type==="invoicing")return void n(`../${s}/invoicing/overview`,{state:{pathnameStackToGoBack:S(a.state?.pathnameStackToGoBack,a.pathname),referrer:"Sidebar"}});if(e.type==="ai_cfo"){if(ee.trackAICFOChatScreenStateChanged("viewed","left_menu",G??null,null),!oe)return void pa({location:a,navigate:n,mergeState:{referrer:"Sidebar"}});const y=S(a.state?.pathnameStackToGoBack,a.pathname);return void n(`/${s}/ai-cfo/explore`,{state:{pathnameStackToGoBack:y,referrer:"Sidebar"}})}const u=S(a.state?.pathnameStackToGoBack,a.pathname),J=e.type,Be=ae(J)&&J!=="command_center";if(ae(e.type)&&g[o.tenantId]!=null&&ee.trackMonthEndCloseClicked(g[o.tenantId].month,g[o.tenantId].year,"Sidebar"),Be&&g[o.tenantId]!=null){const y=g[o.tenantId];return void n(`/${s}/month_end_close_checks/review/${e.type}/${y.month}-${y.year}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})}const Fe=ga(e.type);Sa(e.type)?(G!=null&&r(Je()),n(`/${s}/ai-cfo/${e.type}`,{state:{pathnameStackToGoBack:u.slice(0,-1),referrer:"Sidebar"}})):n(`/${s}/${Fe}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})},handleMyProfileClick:()=>{i(!1),n(`/${s}/settings/my_profile`)},handleReferralsClick:()=>{i(!1),n(`/${s}/rewards`)},handleBackClick:()=>{n(`/${s}/dashboard`)},handleTenantSelect:e=>{re(fa.TENANT_SWITCHING),i(!1),ha({dispatch:r,navigate:n,pathToNavigate:ba(e.tenantEmailDomain,a),selectedTenant:e,signedInUser:p})},onZeniLogoClick:()=>{k.toggle()},isAiCfo:_e,aiCfoView:$,isOnDashboard:A,updateCurrentChatSessionId:e=>{r(Xe({sessionId:e,agentId:"controller"})),n(`/${s}/ai-cfo/${e}`,{state:{...a.state}})},halloweenAnimationEnabled:be,isTaskManagerAccessEnabled:E,thanksGivingAnimationEnabled:pe,christmasAnimationEnabled:ge,newYearAnimationEnabled:Se})})})),Fa=l=>{const i=te(),s=t((k=>ne(k))),a={events:s.userRoleId!=null?[`private-encrypted-${s.userRoleId}.dashboard-user-notification`]:[],eventCallback:(k,n)=>{Qe(n)&&Me(n.mode)==="dashboard"&&i(se({unreadCount:n.data.unread},"tasks"))}};return B.jsx(Ta,{...l,...a})};export{Fa as M};
@@ -1 +0,0 @@
1
- import{j as e}from"./liveblocks-D6xqUYTh.js";import{h as r,l as i}from"./core-CVq4LBxv.js";import{ak as n}from"./index-jvHns0_r.js";import"./mui-B7xKU661.js";import"./sentry-CG4v3BoH.js";import"./zeni-epic-state-Gp2wOm50.js";import"./recharts-q8JrD0wI.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.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 s}from"./liveblocks-D6xqUYTh.js";import E from"./NotFoundScreen-CtBMKSd4.js";import{a as r}from"./sentry-CG4v3BoH.js";import{h as _,g as v,j as p,i as M,u as P,N as U,l as z,n as O,o as h}from"./core-CVq4LBxv.js";import{fI as B,a1v as b,bo as F,bn as N,iP as V,gk as q}from"./zeni-epic-state-Gp2wOm50.js";import{X as L,z as I,aq as X,dL as $}from"./index-jvHns0_r.js";import"./mui-B7xKU661.js";import{u as G}from"./useAskAiCfoHostNavButtonProps-DCD9kAwQ.js";import{M as H}from"./MobileAppDrawer-C9azTUWk.js";import"./recharts-q8JrD0wI.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.js";import"./InboxNotificationsProvider-B02pbbOA.js";import"./useTaskManagerAccess-zB2ZLJH3.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]="748a927c-d9d4-448c-a235-c14367f96047",e._sentryDebugIdIdentifier="sentry-dbid-748a927c-d9d4-448c-a235-c14367f96047")}catch{}})();const J=z((function(e){const t=I.getSignedInUser(),c=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:c??""},{aggregatedReportViewState:n}=b(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:n}}),(function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}}))($),K=()=>{const e=_(),t=v(),c=L(),o=p((a=>B(a))),{aggregatedReportViewState:n}=p((a=>b(a))),{tenantEmailDomain:f}=M(),u=P(),l=I.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const m=r.useRef(!1),[w,S]=r.useState(!1),C=F(o?.userRole??[]),k=o?.userRole?.includes("bookkeeping_admin")??!1,x=N(l),y=C||k||x,d=r.useCallback(((a,i,T)=>{u(V({fromMonth:a,toMonth:i,cacheOverride:T}))}),[]);r.useEffect((()=>{n?.fetchState==="Completed"&&m.current&&(u(q({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),m.current=!1)}),[n?.fetchState]);const D=r.useCallback(((a,i)=>{n!=null&&n?.fetchState==="In-Progress"||d(a,i,!0),m.current=!0}),[n?.fetchState,d]),j=r.useCallback(((a,i)=>{d(a,i,!1)}),[d]),g=a=>{S(a)},{isAiCfoAccessEnabled:R,onAskAiCfoClick:A}=G({mobileExploreReferrer:"Performance"});return X({isDataReady:n?.fetchState==="Completed"}),y?s.jsxs(s.Fragment,{children:[s.jsx(H,{isAppContentDrawerOpen:w,handleDrawerToggle:g}),s.jsx(J,{navigate:e,location:t,themeState:c,currentTenant:o,signedInUser:l,tenantEmailDomain:f,onReload:D,onTimeRangeSelect:j,handleDrawerToggle:g,isAiCfoAccessEnabled:R,onAskAiCfoClick:A})]}):s.jsx(U,{to:`/${f}/dashboard`,replace:!0})};function he(){return s.jsxs(O,{children:[s.jsx(h,{path:"*",element:s.jsx(K,{})}),s.jsx(h,{path:"*",element:s.jsx(E,{})})]})}export{he as default};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NotFoundScreen-CtBMKSd4.js","assets/sentry-CG4v3BoH.js","assets/core-CVq4LBxv.js","assets/zeni-epic-state-Gp2wOm50.js","assets/index-jvHns0_r.js","assets/mui-B7xKU661.js","assets/analytics-BGwrWzlB.js","assets/utils-BGXIbd5c.js","assets/index-BQ3cXEYt.css","assets/DashboardRoutes-BIQx58oK.js","assets/withTransactionSidePanel-DyRI_fCR.js","assets/useAskAiCfoHostNavButtonProps-DCD9kAwQ.js","assets/TransactionDetailScreen-eoc-VhhS.js","assets/decodeURIComponentSafe-BE1hO5jf.js","assets/useInitialThreadRequest-9i3K9cvJ.js","assets/routePaths-Xhah4Bp8.js","assets/expenseAutomationHelper-Qk_wD9yj.js","assets/stripSplatSuffix-6rFnNIdy.js","assets/analyticsHelper-B-3FGXip.js","assets/CompanyPassportScreen-tG19-jh3.js","assets/MobileAppDrawer-C9azTUWk.js","assets/InboxNotificationsProvider-B02pbbOA.js","assets/useTaskManagerAccess-zB2ZLJH3.js","assets/useAiCfoDashboardSuggestedQuestionsChips-DsknQ_Ah.js","assets/FeaturePreviewScreen-ByQP-uw1.js","assets/BillPayRoutes-CfyXP1Sf.js","assets/AddressScreen-CwwzK2GG.js","assets/DomesticWireDetailScreen-DjYGwrLg.js","assets/BusinessVerificationPageScreen-DwWalCFB.js","assets/DrawerScreen-Dsgg9Nif.js","assets/SetupPagesScreen-U-HIMcAF.js","assets/BillPayApprovalRoutes-Z3nCuHQ6.js","assets/ReimbursementApprovalRuleDetailScreen-cq589xgn.js","assets/getLocaleForTenant-BwOgrgnl.js","assets/ReimbursementRoutes-T-vuTP7i.js","assets/ReimbursementApprovalRoutes-B3SFQha7.js","assets/TransactionListRoutes-CXOun_1G.js","assets/ZeniAccountStatementScreen-BV0WUHyd.js","assets/SettingsRoutes-CyYf50SY.js","assets/AccountMappingScreen-WogquAoN.js","assets/QBOConnectionScreen-B71X_LbE.js","assets/empty-BL3enJ5k.js","assets/index-B3cuKCap.js","assets/url-DNx2XGDP.js","assets/index-YtTwG_rA.js","assets/accountMappingHelper-BOlj7W8u.js","assets/useEmailConnectResultRefresh-BS08g6eI.js","assets/ReportsRoutes-Bj7RqNPf.js","assets/ChargeCardRoutes-CAp7f3jA.js","assets/useChargeCardPusherEvents-DEPutmvj.js","assets/PeopleRoutes-DWuqSKNH.js","assets/ExpenseAutomationRoutes-C2g7Anx2.js","assets/useActualMatchingMatchDetail-KSh9tsux.js","assets/ScheduleDetailsPrepaidExpensesScreen-Btguby5R.js","assets/pathToGoBack-D0Fi-bK8.js","assets/TreasuryRoutes-DNmmUFyU.js","assets/VendorsRoutes-DUz9rKfZ.js","assets/ZeniAccountRoutes-BRP6LvYs.js","assets/AddressRoutes-1UM8OW0r.js","assets/PandLWithForecastRoutes-BphUzEcN.js","assets/CustomerOnboardingRoutes-BJMvCpvW.js","assets/TransactionDetailRoutes-QimTckae.js","assets/EntityDetailRoutes-Bof-gK2X.js","assets/InvoicingRoutes-utINQAtA.js","assets/NotificationRoutes-D0OkMTAh.js","assets/PerformanceRoutes-BjUmiQkb.js","assets/ActualMatchingMatchDetailScreen-ux7ImM3V.js","assets/RewardsRoutes-Pd29m0P-.js","assets/TaskRoutes-Dk80n3Ne.js","assets/TaskListScreen-XBenYOQn.js","assets/useTaskManagerPusherEvents-QavEPu8U.js","assets/AiCfoScreen-DEOppX8Y.js","assets/CardsAiCfoScreen-Ble1fk_F.js"])))=>i.map(i=>d[i]);
2
- import{_ as s,bn as Es,fI as hs,e0 as ps,d$ as xs,Bl as gs,dj as Rs,c9 as js,gM as Is,gc as Ts,dg as pe,cH as As,gq as fs,cz as bs,bF as Ds,br as ys,UE as vs,v as Cs,UH as Os,bq as Us,UI as Ps,bL as ws,bK as Fs,bu as Ls,cv as Hs,UJ as Vs,UK as ks,db as Bs,de as Ss,dd as Ns,cG as Ms,cN as Zs,pW as xe,gl as ge,h0 as $s,gn as Re,gO as je,gP as Ie,go as zs}from"./zeni-epic-state-Gp2wOm50.js";import{j as e}from"./liveblocks-D6xqUYTh.js";import{a as P}from"./sentry-CG4v3BoH.js";import{N as u,u as Gs,h as qs,i as Ws,g as Ys,j as $,q as Te,n as Js,o as n}from"./core-CVq4LBxv.js";import{F as l,u as Ks,z as y,W as Qs,d as Xs,e as et,A as S,g as st,H as tt,V as nt,L as F,G as Ae,t as _,P as at,J as ot,j as ne}from"./index-jvHns0_r.js";import{u as rt}from"./mui-B7xKU661.js";import{f as fe}from"./analyticsHelper-B-3FGXip.js";import{t as it}from"./getLocaleForTenant-BwOgrgnl.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},b=new o.Error().stack;b&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[b]="fc7f4f6e-3767-488c-be09-66da9dc28d82",o._sentryDebugIdIdentifier="sentry-dbid-fc7f4f6e-3767-488c-be09-66da9dc28d82")}catch{}})();const lt=l((()=>s((()=>import("./NotFoundScreen-CtBMKSd4.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`}),be=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/treasury`}),De=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/checking`}),ye=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/cards`}),v=({showZeniAccountRoute:o,isUserHasBillPayAccess:b,isUserHasReimbursementAccess:N,showTreasuryRoute:i,isTenantBankingOnly:H,showChargeCardRoute:O,tenantEmailDomain:C})=>{if(H===!0){if(o)return e.jsx(De,{tenantEmailDomain:C});if(i)return e.jsx(be,{tenantEmailDomain:C});if(O)return e.jsx(ye,{tenantEmailDomain:C})}return o?e.jsx(De,{tenantEmailDomain:C}):i?e.jsx(be,{tenantEmailDomain:C}):O?e.jsx(ye,{tenantEmailDomain:C}):b?e.jsx(dt,{tenantEmailDomain:C}):N?e.jsx(ut,{tenantEmailDomain:C}):e.jsx(lt,{})},ct={dashboard:()=>s((()=>import("./DashboardRoutes-BIQx58oK.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-CfyXP1Sf.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-T-vuTP7i.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-CXOun_1G.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-CyYf50SY.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-Bj7RqNPf.js")),__vite__mapDeps([47,1,2,3,4,5,6,7,0,24,14,15,20,21,22,8])),chargeCards:()=>s((()=>import("./ChargeCardRoutes-CAp7f3jA.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-DWuqSKNH.js")),__vite__mapDeps([50,1,2,3,4,5,6,7,0,11,20,21,22,8])),expenseAutomation:()=>s((()=>import("./ExpenseAutomationRoutes-C2g7Anx2.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-DNmmUFyU.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-DUz9rKfZ.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-BRP6LvYs.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-Bj7RqNPf.js")),__vite__mapDeps([47,1,2,3,4,5,6,7,0,24,14,15,20,21,22,8])))),Et=l((()=>s((()=>import("./AddressRoutes-1UM8OW0r.js")),__vite__mapDeps([58,1,2,3,26,4,5,6,7,0,8])))),ht=l((()=>s((()=>import("./PeopleRoutes-DWuqSKNH.js")),__vite__mapDeps([50,1,2,3,4,5,6,7,0,11,20,21,22,8])))),pt=l((()=>s((()=>import("./PandLWithForecastRoutes-BphUzEcN.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-BJMvCpvW.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-DUz9rKfZ.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-QimTckae.js")),__vite__mapDeps([61,1,2,3,0,4,5,6,7,12,11,13,14,15,16,8])))),ve=l((()=>s((()=>import("./EntityDetailRoutes-Bof-gK2X.js")),__vite__mapDeps([62,1,2,3,4,5,6,7,13,10,11,12,14,15,16,17,8])))),jt=l((()=>s((()=>import("./DashboardRoutes-BIQx58oK.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-CfyXP1Sf.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])))),It=l((()=>s((()=>import("./SettingsRoutes-CyYf50SY.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-utINQAtA.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-T-vuTP7i.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-BRP6LvYs.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])))),ft=l((()=>s((()=>import("./TreasuryRoutes-DNmmUFyU.js")),__vite__mapDeps([55,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,11,14,24,8])))),bt=l((()=>s((()=>import("./TransactionListRoutes-CXOun_1G.js")),__vite__mapDeps([36,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,37,8])))),Dt=l((()=>s((()=>import("./ChargeCardRoutes-CAp7f3jA.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-D0OkMTAh.js")),__vite__mapDeps([64,1,2,3,0,4,5,6,7,11,22,8])))),vt=l((()=>s((()=>import("./PerformanceRoutes-BjUmiQkb.js")),__vite__mapDeps([65,1,2,3,0,4,5,6,7,11,20,21,22,8])))),Ct=l((()=>s((()=>import("./ExpenseAutomationRoutes-C2g7Anx2.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-ux7ImM3V.js")),__vite__mapDeps([66,1,2,3,4,5,6,7,52,17,13,15,0,8])))),Ut=l((()=>s((()=>import("./RewardsRoutes-Pd29m0P-.js")),__vite__mapDeps([67,1,2,3,4,5,6,7,0,8])))),Pt=l((()=>s((()=>import("./TaskRoutes-Dk80n3Ne.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-DEOppX8Y.js")),__vite__mapDeps([71,1,2,3,4,5,6,7,23,54,15,70,8])))),Ue=l((()=>s((()=>import("./CardsAiCfoScreen-Ble1fk_F.js")),__vite__mapDeps([72,1,2,3,4,5,6,7,8])))),f=l((()=>s((()=>import("./NotFoundScreen-CtBMKSd4.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))),Ft=l((()=>s((()=>import("./TaskListScreen-XBenYOQn.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:b,isUserHasBillPayAccess:N,isUserHasReimbursementAccess:i,showTreasuryRoute:H,isTenantBankingOnly:O,isTenantCardsOnly:C,showChargeCardRoute:V})=>{if(O===!0){if(b)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"}):b?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 b=Gs(),N=qs(),{tenantEmailDomain:i}=Ws(),H=rt().mode,{setLoading:O,clearAllLoading:C,clearLoading:V}=Ks(),D=y.getSignedInUserTenant(i)?.tenantId,I=y.getSignedInUser(),J=Es(I),z=Ys(),[L,we]=P.useState(!1),r=$((a=>hs(a))),{useFeatureGate:k}=Qs(),M=Xs(),K=et(),Fe=!!r.company?.companyZeniAccountInfo?.isZeniAccountEnabled,Le=r.companyTreasuryInfo?.info?.businessVerificationStatus?.code==="verified",{isFeatureEnabled:He}=k(S.isChargeCardFeatureEnabled),{isFeatureEnabled:oe}=k(S.isDebitCardFeatureEnabled),T=$((a=>a.tenantState.fetchState)),p=$((a=>a.tenantState.activeTenantFetchState.fetchState)),E=p==="Completed"||T==="Completed"?ps(oe,r):void 0,Q=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),Be=!Ve||!!ke,{isFeatureEnabled:Se}=k(S.isSettingsFeatureEnabled),{isFeatureEnabled:X}=k(S.isAiCfoFileUploadEnabled),{isFeatureEnabled:Ne}=k(S.isInvoicingFeatureEnabled??"is_invoicing_feature_enabled"),Me=Ne||ot==="DEV",Ze=r?.userRole!=null&&js(r.userRole),G=$((a=>Is(a)));if(i!=null){const a=y.getSignedInUserTenant(i);I!=null&&a!=null&&fe(I,r,H)}const Z={tenantId:D,userId:I?.userId,sessionId:I?.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?fs(a,Z.tenantId):void 0));P.useEffect((()=>{O(F.TENANT_FETCHING),o(i)}),[i]),P.useEffect((()=>{if(se!=null&&D!=null){const a=se.split("-");if(a.length===2){const A=bs(Number(a[0])),c=Number(a[1]),t=Ds(`01-${A<10?`0${A}`:A}-${c}`,Ae.getLocalizedStrings().dateFormat.analytics.DDDashMMDashYYYY),d=ys();t.isAfter(d,"month")===!1?b(vs(D,{month:A,year:c})):N(`/${i}/month_end_close_checks/review`)}}}),[se,i,D]),P.useEffect((()=>{L||(we(!0),O(F.TENANT_FETCHING))}),[L,Z,ie,I,b,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,I,b,qe))}),[D]),P.useEffect((()=>{y.isSignedIn()&&(O(F.TENANT_FETCHING),(function(a,A,c,t,d,q,B){if(c==null&&t==null)return void console.warn("There is no current tenant selected!!");const W=t!=null&&d?.zeniSessionId!=null,cs=c==null||c.tenantId!==t,ms=c!=null&&c.excludedResources==null,_s=c!=null&&c.externalConnections==null;if(W&&cs){B(Re(t));const Y=y.getSignedInUserTenantWithId(t);Y?.tenantEmailDomain!=null&&y.saveActiveTenantDomainForUser(Y?.tenantEmailDomain),ge(d?.userId,d?.zeniSessionId,t),_.shouldFetchExcludedResources(t)&&(_.markExcludedResourcesFetchStarted(t),B(je(d.userId,t))),_.shouldFetchConnections(t)&&(_.markConnectionsFetchStarted(t),B(Ie(d.userId,t)))}else W&&ms&&_.shouldFetchExcludedResources(t)&&(_.markExcludedResourcesFetchStarted(t),B(je(d.userId,t))),W&&_s&&_.shouldFetchConnections(t)&&(_.markConnectionsFetchStarted(t),B(Ie(d.userId,t)));if(W){ne.identify(d.userId,{tenant_id:t});const Y=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),B(zs(d.userId,t,d.zeniSessionId))),Y&&(a==="Not-Started"||a==="Error")&&_.shouldFetchAllTenants()&&(_.markAllTenantsFetchStarted(),B(xe(d.userId,d.zeniSessionId)))}})(T,p,r,D,I,O,b))}),[D,p]),P.useEffect((()=>{y.isSignedIn()&&T==="Completed"&&G.tenantsBaseInOrder.length>0&&(V(F.TENANT_FETCHING),y.saveSignedInUserTenants(Os(G.tenantsBaseInOrder)),I!=null&&fe(I,r,H,void 0,G.tenantsBaseInOrder))}),[G,T,r,I]),P.useEffect((()=>{p==="In-Progress"&&O(F.TENANT_FETCHING),p!=="Completed"&&p!=="Error"||(p==="Completed"&&D!=null?(C(),_.markActiveTenantFetchCompleted(D)):p==="Error"&&D!=null&&(_.markActiveTenantFetchFailed(D),V(F.TENANT_FETCHING),V(F.TENANT_SWITCHING))),T!=="Completed"&&T!=="Error"||(T==="Completed"?_.markAllTenantsFetchCompleted():T==="Error"&&_.markAllTenantsFetchFailed())}),[p,T,D,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:We}=k(S.isReferralFeatureEnabled),{isFeatureEnabled:Ye}=k(S.isAccrualEnabled),Je=r?.userRole!=null&&r.userRole.includes("charge_card_user"),Ke=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=!Be&&!U,Qe=Ps(h?.loggedInUserRoleMap),Xe=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=Bs(h?.loggedInUserRoleMap),ls=Ss(h?.loggedInUserRoleMap),us=Ns(h?.loggedInUserRoleMap),x=Ms(h?.loggedInUserRoleMap),g=Zs(h?.loggedInUserRoleMap),Ee=ue&&x,he=ce&&g,R=_e&&is,j=ss&&ls,m=de&&us,ds=r.excludedResources?.resources?.find((a=>a.resource==="/invites"))!=null||ze===!0||Qe===!0||os===!0||rs===!0;return y.isSignedIn()?D==null?T==="Completed"?e.jsx(u,{to:"/",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}):(I!=null&&T!=="In-Progress"&&b(xe(I.userId,I.zeniSessionId)),null):p!=="In-Progress"&&p!=="Not-Started"||T==="Completed"?(te===!0||J&&!ee)&&es&&Xe!==!0&&E===!1&&Q===!1&&re===!1?(o(void 0),e.jsx(u,{to:"/connection/auth",replace:!0})):!L||re!==!0||te!==!0||ee||J?!L||te!==!1||ee||J?L&&r?.userRole&&E!=null&&Q!=null&&i!=null&&Object.keys(h.loggedInUserRoleMap).length>0?e.jsx(Js,{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:j,isTenantBankingOnly:E,isTenantCardsOnly:Q,showChargeCardRoute:m})}),e.jsx(n,{path:"dashboard/*",element:w?e.jsx(jt,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,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:j,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:j,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:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"onboarding/*",element:e.jsx(xt,{})}),e.jsx(n,{path:"transaction/*",element:w&&U===!1||Je||Ke?e.jsx(Rt,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"transactions/*",element:w&&U===!1?e.jsx(bt,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,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:j,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:j,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:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"checking/*",element:R?e.jsx(At,{}):e.jsx(f,{})}),e.jsx(n,{path:"treasury/*",element:j?e.jsx(ft,{}):e.jsx(f,{})}),e.jsx(n,{path:"performance",element:K===!0?e.jsx(vt,{}):e.jsx(Pe,{tenantEmailDomain:i})}),e.jsx(n,{path:"month_end_close_checks/review/*",element:K===!0&&U===!1?e.jsx(Ct,{}):e.jsx(Pe,{tenantEmailDomain:i})}),e.jsx(n,{path:"expense-automation/actual-matching/:matchId",element:K===!0&&U===!1&&Ye===!0?e.jsx(Ot,{}):e.jsx(f,{})}),e.jsx(n,{path:"notifications/*",element:e.jsx(yt,{})}),e.jsx(n,{path:"vendors/*",element:$e?e.jsx(gt,{}):e.jsx(f,{})}),e.jsx(n,{path:"bill/*",element:Ee?e.jsx(Ce,{}):e.jsx(v,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,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:j,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:j,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:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"settings/*",element:Se?e.jsx(It,{hasAdminLevelAccess:me}):e.jsx(f,{})}),e.jsx(n,{path:"invoicing/*",element:Me&&Ze?e.jsx(Tt,{}):e.jsx(f,{})}),e.jsx(n,{path:"cards/ask",element:m&&M?e.jsx(Ue,{isFileUploadEnabled:X}):e.jsx(f,{})}),e.jsx(n,{path:"cards/ask/:session_id",element:m&&M?e.jsx(Ue,{isFileUploadEnabled:X}):e.jsx(f,{})}),e.jsx(n,{path:"cards/*",element:m?e.jsx(Dt,{}):e.jsx(f,{})}),e.jsx(n,{path:"rewards/*",element:We?e.jsx(Ut,{}):e.jsx(f,{})}),e.jsx(n,{path:"/ai-cfo",element:M?e.jsx(u,{to:"explore"}):e.jsx(f,{})}),e.jsx(n,{path:"/ai-cfo/",element:M?e.jsx(u,{to:"explore"}):e.jsx(f,{})}),e.jsx(n,{path:"/ai-cfo/:session_id",element:M?e.jsx(wt,{isFileUploadEnabled:X}):e.jsx(f,{})}),e.jsx(n,{path:"*",element:e.jsx(f,{})})]})}):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 u}from"./liveblocks-D6xqUYTh.js";import{a as f,R as T,t as A}from"./sentry-CG4v3BoH.js";import{u as z,h as D,j as d,g as M,N as O,l as j}from"./core-CVq4LBxv.js";import{u as P,z as s,j as E,G as F,K as N,N as _,O as B,Q as V,S as $,U as v}from"./index-jvHns0_r.js";import{fI as H,Un as J,UH as K,gl as Q,gn as R,UM as W,gY as Y,dk as G,UN as y,UO as q,UP as X,c0 as U}from"./zeni-epic-state-Gp2wOm50.js";import{u as Z}from"./mui-B7xKU661.js";import{u as ee}from"./useDeviceId-DTB7Uefo.js";import{f as te}from"./analyticsHelper-B-3FGXip.js";import{t as ne}from"./getLocaleForTenant-BwOgrgnl.js";import"./recharts-q8JrD0wI.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="ce16dace-aa41-4439-9f37-c94c3e333ce6",t._sentryDebugIdIdentifier="sentry-dbid-ce16dace-aa41-4439-9f37-c94c3e333ce6")}catch{}})();const ie=j((function(t,i){const c=t.tenantState.fetchState,g=t.tenantState.sendEmailMagicLinkFetchState,{magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:l}=i;return{googleClientId:v.googleClientId,microsoftClientId:v.microsoftClientId,signInError:t.tenantState.error?.error,fetchState:c,sendMagicLinkStatus:g,magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:l}}),(function(t,i){const{location:c,navigate:g}=i;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,a)=>{A({message:`OAuth error from provider ${a} with error ${n}`,level:"error",tags:{authProvider:a,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,a)=>{const l=a==="google"?window.location.origin:window.location.origin+window.location.pathname;t(X({authCode:n,oauthProvider:a,appType:"web",redirectUri:U(l),sourceUri:U(c.state!=null?c.state.origin:"")}))},getSignedInUser:()=>s.getSignedInUser(),onSignedInCallback:()=>{const n=c.state?.origin;n&&n!=="/"?g(n,{replace:!0}):window.open(window.location.origin,"_self")},sendMagicLink:n=>{const{deviceId:a}=i;a!=null&&(s.saveMagicLinkEmail(n),t(q(n,a)))},clearSignInError:()=>{t(y())}}}))($),ae=T.memo(ie);function ve({setTenantEmailDomain:t}){const i=z(),c=D(),{clearAllLoading:g}=P(),n=s.getSignedInUser();f.useLayoutEffect((()=>{g()}),[g]);const a=ee(),l=d((e=>e.tenantState.magicLinkCodeVerifier)),{sendEmailMagicLinkFetchState:k,accountLocked:C,accountUnlockTime:L}=d((e=>e.tenantState)),p=d((e=>e.tenantState.fetchState)),h=d((e=>e.tenantState.activeTenantFetchState.fetchState)),S=d((e=>e.tenantState.signInState)),o=d((e=>e.tenantState.loggedInUser)),r=d((e=>H(e))),I=d((e=>J(e))),m=M(),w=Z().mode,x=m.state?.magicLinkExpired,b=m.state?.magicLinkAlreadyUsed;if(f.useEffect((()=>{k.fetchState==="Completed"&&l!=null&&(E.trackSignInLinkSent(),s.saveMagicLinkCodeVerifier(l))}),[k.fetchState,l]),f.useEffect((()=>{t(void 0)}),[]),f.useEffect((()=>{S!=="In-Progress"||p!=="Completed"&&h!=="Completed"||o?.zeniSessionId==null||r==null||(s.savePayNowInfoTooltip(!0,o.zeniSessionId),s.saveSignedInUserWithSession(o,o.zeniSessionId),s.saveSignedInUserTenants(K(I.tenantsInOrder),o.zeniSessionId),Q(o.userId,o.zeniSessionId,r.tenantId),i(R(r.tenantId)),s.saveActiveTenantDomainForUser(r.tenantEmailDomain),i(W("Completed")),F.updateAppLocaleID(ne(r)),te(o,r,w,void 0,I.tenantsInOrder),Y().then((()=>{const e=V();e!=null&&N(e)})),setTimeout((()=>{E.trackLogin(_.Event.loginSuccess,o.authProvider??"google",G(r.productSettings))}),2e3))}),[S,p,h,o,r,I,w,m.state,i]),S==="In-Progress"&&p==="Completed"&&o?.zeniSessionId!=null&&r!=null||n!=null){const e=m.state?.origin??"/";return u.jsx(O,{to:e,state:{...m.state,origin:""}})}return u.jsxs(u.Fragment,{children:[u.jsx(ae,{magicLinkExpired:!!x,magicLinkAlreadyUsed:!!b,magicLinkExpiredEmail:s.getMagicLinkEmail()??void 0,location:m,navigate:c,deviceId:a??void 0,showEmailLogin:!0}),C===!0&&L!=null?u.jsx(B,{onClose:()=>i(y()),unlockDate:L}):null]})}export{ve as default};
@@ -1,9 +0,0 @@
1
- import{j as s}from"./liveblocks-D6xqUYTh.js";import{a as i}from"./sentry-CG4v3BoH.js";import{u as l,g as c,N as u}from"./core-CVq4LBxv.js";import{z as n,j as a,N as m,a5 as p}from"./index-jvHns0_r.js";import{g$ as g,V1 as y}from"./zeni-epic-state-Gp2wOm50.js";import{n as b}from"./mui-B7xKU661.js";import"./recharts-q8JrD0wI.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.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]="03d087ef-a8ab-4ee0-be62-0d593a1859cd",e._sentryDebugIdIdentifier="sentry-dbid-03d087ef-a8ab-4ee0-be62-0d593a1859cd")}catch{}})();function L(){const e=l(),t=c(),r=i.useRef(!1),d=n.isSignedIn(),o=t.state?.message==="logout"||d;return i.useEffect((()=>{if(o&&!r.current){r.current=!0;try{e(g()),y(),a.trackLogout(m.Event.logoutSuccess),a.resetUserIdentity(),n.clearAll()}catch(f){console.error("Error during sign out:",f)}finally{window.location.replace("/signin/auth")}}}),[o,e]),o?s.jsx(h,{children:s.jsx(p,{fetchState:"In-Progress"})}):s.jsx(u,{to:"../",replace:!0})}const h=b.div`
2
- display: flex;
3
- height: 100vh;
4
- width: 100%;
5
- flex: 1 1 auto;
6
- flex-direction: column;
7
- align-items: center;
8
- background-color: ${e=>e.theme.colors.grey4};
9
- `;export{L as default};
@@ -1,9 +0,0 @@
1
- import{j as i}from"./liveblocks-D6xqUYTh.js";import he from"./NotFoundScreen-CtBMKSd4.js";import{a as k}from"./sentry-CG4v3BoH.js";import{h as te,u as ne,j as g,g as Ee,i as be,N as De,l as Ie,n as Ce,o as E}from"./core-CVq4LBxv.js";import{Qq as oe,Qt as Ge,Qn as ye,a2x as Ue,fI as re,a2y as ie,QU as D,QH as b,Qk as _e,Rn as Ae,Rg as Re,a2z as ce,gk as le,a2A as Y,Qg as ve,Qd as Be,v2 as xe,uS as we,mD as je,QF as Pe,a2B as Fe,Rz as Le,QB as Ke,R2 as Qe,Q$ as $e,Qw as Ne,QY as ze,QR as Ze}from"./zeni-epic-state-Gp2wOm50.js";import{z as I,e1 as Oe,X as Ve,W as qe,A as U,a2 as de,p as _,a6 as Me,j as H,N as We,e2 as Xe,U as J,ac as Ye}from"./index-jvHns0_r.js";import{n as He}from"./mui-B7xKU661.js";import{u as Je}from"./useInitialThreadRequest-9i3K9cvJ.js";import{M as ea}from"./MobileAppDrawer-C9azTUWk.js";import{T as m,t as aa,b as sa,a as ta,c as na,d as ee,e as oa}from"./TaskListScreen-XBenYOQn.js";import{u as ra}from"./useTaskManagerPusherEvents-QavEPu8U.js";import"./recharts-q8JrD0wI.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.js";import"./InboxNotificationsProvider-B02pbbOA.js";import"./useTaskManagerAccess-zB2ZLJH3.js";import"./useAskAiCfoHostNavButtonProps-DCD9kAwQ.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]="578af25d-7d64-462f-bc76-b32ce18320e8",e._sentryDebugIdIdentifier="sentry-dbid-578af25d-7d64-462f-bc76-b32ce18320e8")}catch{}})();function ia(){const e=te(),a=ne(),n=I.getSignedInUser(),{cannedResponses:c,fetchState:t,saveFetchState:l}=g((r=>r.cannedResponsesState)),d=k.useCallback((()=>{a(oe())}),[a]),S=k.useCallback(((r,C,G)=>{a(Ge({name:r,content:C,cannedResponseId:G}))}),[a]),s=k.useCallback((r=>{a(ye({cannedResponseId:r}))}),[a]);if(n==null)throw Error("Can't access quick responses page without signing in...");return i.jsx(Oe,{cannedResponses:c,isLoading:t==="In-Progress"||t==="Not-Started",isSaving:l==="In-Progress",onBackClick:()=>e(-1),onDelete:s,onFetch:d,onSave:S})}const Q=e=>e?.taskState?.taskByID,L=(e,a)=>{const n=Q(e);if(a!=null&&n!=null)return n[a]?.parentTaskId??void 0},ca=Ue([L,(e,a)=>{const n=L(e,a),c=Q(e);if(n!=null&&c!=null)return c[n]?.name},(e,a)=>{const n=L(e,a),c=Q(e);return n!=null&&c!=null&&c[n]!=null}],((e,a,n)=>{if(e!=null&&n===!0)return{id:e,name:a??""}}));let ae,se=[];const la=Ie((function(e,a){const{location:n,taskGroupId:c}=a,t=ce(e,a.taskId),l=re(e),d=ca(e,a.taskId),S=t.taskGroupId??c,s=S!=null?Y(e.taskGroupState,S):void 0,r=I.getSignedInUser(),C=l.tenantId,G={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:C??""},B=ie(e),{tenantEmailDomain:x}=l,A=t.recurringSourceTaskId,w=A!=null?`${J.appUrl}/${x}/tasks/${encodeURIComponent(A)}`:void 0;var h;return{taskDetailSelectorView:t,authParams:G,isZeniUser:I.isZeniUser(),userGroupList:((h=e.userGroupsState.userGroupByUserGroupId)!==ae&&(ae=h,se=Object.values(h)),se),isNewClicked:n.state?.message==="comingFromTaskListPage",filesEndPoint:Ye.fileMicroServiceBaseUrl,companyName:a.currentTenant.companyName,companyId:a.currentTenant.companyId,currentUrl:`${J.appUrl}${a.location.pathname}`,cannedResponses:e.cannedResponsesState.cannedResponses,isCannedResponsesLoading:e.cannedResponsesState.fetchState==="In-Progress",recurringSourceTaskUrl:w,tagListView:B,taskGroupName:S!=null&&s!=null&&s.isDefault===!1?s.name:void 0,taskGroupList:e.taskGroupViewState.taskGroupsIds.map((f=>Y(e.taskGroupState,f))).filter((f=>f!=null&&!f.isDeleted)).map((f=>({id:f.id,name:f.name,isDefault:f.isDefault}))),subtasks:t.subtasks,parentTaskRef:d,subTaskCreateStatus:e.taskDetailState?.subTaskCreateStatus?.fetchState}}),(function(e,a){const{taskId:n,navigate:c,currentTenant:t,location:l,taskGroupId:d}=a,{tenantEmailDomain:S}=t;return{onSaveChangesToLocalStore:s=>{e(Ze({taskDetailLocalData:s,taskId:n}))},onSaveDetailClick:s=>{e(ze(n,s??d))},onArchiveTaskClick:()=>{a.taskId!=null&&e(Ne(a.taskId))},onSnoozeTask:(s,r)=>{e($e(s,r))},onUnsnoozeTask:s=>{e(Qe(s))},onCreateSubtask:(s,r)=>{e(Ke({...r,parentTaskId:s}))},onSubtaskUpdate:(s,r)=>{e(Le({task:s,updates:r}))},onShowToast:s=>{e(le(s))},onSubtaskRowClick:s=>{c(`/${S}/tasks/${s}`,{state:{pathnameStackToGoBack:_(l.state?.pathnameStackToGoBack,l.pathname)}})},onParentBreadcrumbClick:s=>{c(`/${S}/tasks/${s}`,{state:{pathnameStackToGoBack:_(l.state?.pathnameStackToGoBack,l.pathname)}})},onDismissClick:()=>{if(l.state?.message==="triggerBackClick"){const s=de(l.state?.pathnameStackToGoBack),r=s.poppedPathname??"../../dashboard";c(r,{state:{pathnameStackToGoBack:s.newStack}})}else{const s=v(S),r=_(l.state?.pathnameStackToGoBack,l.pathname);c(s,{state:{pathnameStackToGoBack:r}})}e(Fe({taskId:n}))},onDeleteTaskClick:()=>{e(Pe(n))},updateFilesEntity:s=>{e(je({files:s}))},onDeleteFile:s=>{e(we(s))},onEditFileName:(s,r)=>{e(xe(s,r.split(".")[0]))},onReloadTaskDetailPage:()=>{e(D(!1,n))},onCreateTagClick:s=>{e(Be(s,n))},onDeleteTagClick:s=>{e(ve(s,n))},onFetchCannedResponses:()=>{e(oe())},onManageTemplatesClick:()=>{c(`/${t.tenantEmailDomain}/tasks/quick-responses`)}}}))(Xe);function K(){const e=te(),a=ne(),n=Ee(),c=Ve(),{taskId:t,taskGroupId:l}=be(),d=g((o=>re(o))),S=Je(d?.companyId),{useFeatureGate:s}=qe(),{isFeatureEnabled:r}=s(U.isTaskSnoozeEnabled),{isFeatureEnabled:C}=s(U.isTaskVisibilityEnabled),{isFeatureEnabled:G}=s(U.isTaskCannedResponsesEnabled),{isFeatureEnabled:B}=s(U.isTaskRecurringParentEnabled),{isFeatureEnabled:x}=s(U.isTaskGroupAssigneesEnabled),[A,w]=k.useState(!1),[h,f]=k.useState(!1),[$,ue]=k.useState(!1),[N,j]=k.useState(!1),y=k.useRef(!1),R=g((o=>o.taskListState.updateTasksFetchState.fetchState)),z=g((o=>ie(o))),Z=g((o=>o.taskGroupViewState.fetchState));k.useEffect((()=>{a(D(!1,t)),t!=null&&a(b(t))}),[a,t]);const O=I.getSignedInUser()?.userId,ke=I.isZeniUser(),pe=g((o=>t!=null?o.taskState.taskByID[t]?.syncToken:void 0)),V=()=>{d?.tenantEmailDomain!=null&&e(v(d.tenantEmailDomain))},q=()=>{a(le({messageSection:"delete_task",messageText:"success",type:"success"})),V()},me=k.useMemo((()=>{const o=[m.TASK_CREATED,m.TASK_UPDATED,m.TASKS_BULK_UPDATED,m.TASKS_BULK_DELETED],u=[...o,m.TASK_SNOOZE_RESURFACED];return[...sa(d?.companyId,o),...ta(O,u)]}),[d?.companyId,O]);ra({events:me,onSubscribed:()=>{t!=null&&(a(D(!0,t)),a(b(t)))},onEvent:(o,u)=>{if(t!=null)switch(o){case m.TASK_CREATED:case m.TASK_UPDATED:{const p=((F,fe,{isZeniUser:Te,storedSyncToken:ge,taskId:X})=>{if(F!==m.TASK_CREATED&&F!==m.TASK_UPDATED)return"none";const T=aa(fe);return T==null?"none":T.parent_task_id===X?"refreshSubtasks":F!==m.TASK_UPDATED||T.task_id!==X?"none":T.is_deleted===!0?"leaveDeleted":T.is_private!==!0||Te?T.sync_token!=null&&T.sync_token===ge?"none":"refreshTask":"leaveNoAccess"})(o,u,{isZeniUser:ke,storedSyncToken:pe,taskId:t});p==="refreshTask"?(a(D(!0,t)),a(b(t))):p==="refreshSubtasks"?a(b(t)):p==="leaveDeleted"?q():p==="leaveNoAccess"&&V();break}case m.TASKS_BULK_UPDATED:{const p=ee(u);if(p==null)break;p.task_ids.includes(t)&&a(D(!0,t)),a(b(t));break}case m.TASKS_BULK_DELETED:{const p=ee(u);if(p==null)break;if(p.task_ids.includes(t)){q();break}a(b(t));break}case m.TASK_SNOOZE_RESURFACED:{na(u)?.task_id===t&&a(D(!0,t));break}}}}),k.useEffect((()=>{h||z.fetchState==="Completed"||(f(!0),a(_e()))}),[h,a,z.fetchState]),k.useEffect((()=>{$||Z==="Completed"||(ue(!0),a(Ae()))}),[$,a,Z]);const Se=k.useCallback((()=>{t!=null&&(y.current=!1,a(Re([t],null,{isArchived:!1})),j(!0))}),[a,t]);k.useEffect((()=>{if(N)if(R!=="In-Progress"){if(y.current){if(R==="Error")return j(!1),void(y.current=!1);if(R==="Completed"){j(!1),y.current=!1;const{tenantEmailDomain:o}=d;if(n.state?.message==="triggerBackClick"){const u=de(n.state?.pathnameStackToGoBack);e(u.poppedPathname??"../../dashboard",{state:{pathnameStackToGoBack:u.newStack}})}else{const u=v(o);e(u,{state:{pathnameStackToGoBack:_(n.state?.pathnameStackToGoBack,n.pathname)}})}}}}else y.current=!0}),[N,R,d,n,e]);const M=g((o=>ce(o,t))),P=M.fetchState,W=I.getSignedInUser();if(W==null)throw Error("Can't access task detail page without signing in...");if(P==="Error"&&M.error?.code===400){const{tenantEmailDomain:o}=d,u=v(o),p=_(n.state?.pathnameStackToGoBack,n.pathname);return i.jsx(De,{to:u,state:{pathnameStackToGoBack:p}})}return i.jsxs(i.Fragment,{children:[P==="Completed"?i.jsx(Me,{analytics:H,onLoad:o=>(u=>u.trackPageLoaded(We.Event.taskDetailPage))(o)}):null,i.jsxs(da,{children:[i.jsx(ea,{isAppContentDrawerOpen:A,handleDrawerToggle:o=>{w(o)}}),i.jsx(la,{analytics:H,currentTenant:d,handleZeniLogoClick:()=>{c.toggle()},initialOpenThreadRequest:S,location:n,loggedInUser:W,navigate:e,taskGroupId:l,taskId:t,taskDetailFetchState:P,onUnarchiveTaskClick:Se,isTaskSnoozeEnabled:r,isTaskVisibilityEnabled:C,isTaskCannedResponsesEnabled:G,isTaskRecurringParentEnabled:B,isTaskGroupAssigneesEnabled:x})]})]})}const da=He.div`
2
- display: flex;
3
- min-height: 100%;
4
- width: 100%;
5
- flex: 1 1 auto;
6
- flex-direction: column;
7
- align-items: center;
8
- background-color: ${e=>e.theme.colors.grey4};
9
- `,v=e=>`/${e}/tasks`;function wa(){return i.jsxs(Ce,{children:[i.jsx(E,{path:"/new",element:i.jsx(K,{})}),i.jsx(E,{path:"/new/:taskGroupId",element:i.jsx(K,{})}),i.jsx(E,{path:"/group/:taskGroupId",element:i.jsx(oa,{})}),i.jsx(E,{path:"/quick-responses",element:i.jsx(ia,{})}),i.jsx(E,{path:"/:taskId",element:i.jsx(K,{})}),i.jsx(E,{path:"*",element:i.jsx(he,{})})]})}export{wa as default};
@@ -1 +0,0 @@
1
- import{j as t}from"./liveblocks-D6xqUYTh.js";import i from"./NotFoundScreen-CtBMKSd4.js";import{T as r}from"./TransactionDetailScreen-eoc-VhhS.js";import"./sentry-CG4v3BoH.js";import{n as a,o as e}from"./core-CVq4LBxv.js";import"./zeni-epic-state-Gp2wOm50.js";import"./recharts-q8JrD0wI.js";import"./index-jvHns0_r.js";import"./mui-B7xKU661.js";import"./analytics-BGwrWzlB.js";import"./plaid-CjupXQIq.js";import"./dnd-DavleiTg.js";import"./stripe-cKAAJElX.js";import"./lottie-P_bprivz.js";import"./lexical-CduZ0_X9.js";import"./pdf-D6Fql5BS.js";import"./utils-BGXIbd5c.js";import"./useAskAiCfoHostNavButtonProps-DCD9kAwQ.js";import"./decodeURIComponentSafe-BE1hO5jf.js";import"./useInitialThreadRequest-9i3K9cvJ.js";import"./routePaths-Xhah4Bp8.js";import"./expenseAutomationHelper-Qk_wD9yj.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};