@zeniai/web-app-ui 5.0.82-dev → 5.0.83-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 (103) hide show
  1. package/dist/assets/AddressRoutes-JvTiiWK5.js +1 -0
  2. package/dist/assets/{AddressScreen-BO5kE47C.js → AddressScreen-DT0Q15o7.js} +1 -1
  3. package/dist/assets/{AiCfoScreen-n-g5ZCq7.js → AiCfoScreen-v5CVNL3j.js} +1 -1
  4. package/dist/assets/{BillPayApprovalRoutes-BA_vIxAT.js → BillPayApprovalRoutes-BVQZfKuM.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-D_6WStre.js → BillPayRoutes-BnuP6nVO.js} +1 -1
  6. package/dist/assets/{BusinessVerificationPageScreen-Ctv5uoxk.js → BusinessVerificationPageScreen-CdptLI3O.js} +1 -1
  7. package/dist/assets/{ChargeCardRoutes-BIMHkQHv.js → ChargeCardRoutes-D3SdjHvX.js} +1 -1
  8. package/dist/assets/{CompanyPassportScreen-EJi3DgAW.js → CompanyPassportScreen-BSC4O5TV.js} +1 -1
  9. package/dist/assets/{ConnectionAuthScreen-CGIK6duf.js → ConnectionAuthScreen-Dr1IfznG.js} +1 -1
  10. package/dist/assets/CustomerOnboardingAuthScreen-YfK_o0qz.js +1 -0
  11. package/dist/assets/{CustomerOnboardingRoutes-Dfk02AGT.js → CustomerOnboardingRoutes-BXabGwpN.js} +1 -1
  12. package/dist/assets/{DashboardRoutes-DznhOqNV.js → DashboardRoutes-CvNojOn1.js} +1 -1
  13. package/dist/assets/{DefaultTenantHome-Cu24mQdG.js → DefaultTenantHome-BkycKg61.js} +1 -1
  14. package/dist/assets/{DomesticWireDetailScreen-U3JdTr0p.js → DomesticWireDetailScreen-cxTAfHcb.js} +1 -1
  15. package/dist/assets/{DrawerScreen-DTyA42lM.js → DrawerScreen-C7_25xjY.js} +1 -1
  16. package/dist/assets/{EntityDetailRoutes-Ci84GPuO.js → EntityDetailRoutes-CQUv4fcU.js} +1 -1
  17. package/dist/assets/{ExpenseAutomationRoutes-B06zryLs.js → ExpenseAutomationRoutes-DMlkcAnN.js} +1 -1
  18. package/dist/assets/{FeaturePreviewScreen-FgARC5V8.js → FeaturePreviewScreen-C38iY35s.js} +1 -1
  19. package/dist/assets/{HubSpotOAuthCallbackScreen-Ey74LUTw.js → HubSpotOAuthCallbackScreen-453Cbbtd.js} +1 -1
  20. package/dist/assets/{MagicLinkRoutes-Cb21pYTK.js → MagicLinkRoutes-CyBHzAa4.js} +1 -1
  21. package/dist/assets/{MagicLinkSignInScreen-X0YMlO94.js → MagicLinkSignInScreen-DUAV5Zdq.js} +1 -1
  22. package/dist/assets/{MobileAppDrawer-BueQODeb.js → MobileAppDrawer-B5ryN7bV.js} +1 -1
  23. package/dist/assets/NotFoundScreen-CiYbMRBm.js +1 -0
  24. package/dist/assets/{NotificationRoutes-CODqH4m6.js → NotificationRoutes-DVeyMkq-.js} +1 -1
  25. package/dist/assets/{OAuthConsentScreen-jvssXoBP.js → OAuthConsentScreen-_8k8Mx_3.js} +1 -1
  26. package/dist/assets/{PandLWithForecastRoutes-DekQYAm1.js → PandLWithForecastRoutes-C2_HmJpg.js} +1 -1
  27. package/dist/assets/{PeopleRoutes-D84cA3AE.js → PeopleRoutes-BP3GsUae.js} +1 -1
  28. package/dist/assets/{PerformanceRoutes-CULTxdg0.js → PerformanceRoutes-Do9BajCP.js} +1 -1
  29. package/dist/assets/{Preview-7pvb10lj.js → Preview-Dk35mkO2.js} +1 -1
  30. package/dist/assets/{QBOConnectionScreen-BEIBHFJV.js → QBOConnectionScreen-D3T_HW3H.js} +1 -1
  31. package/dist/assets/{ReferralListScreen-CkP_92Ie.js → ReferralListScreen-BIW3RLSW.js} +1 -1
  32. package/dist/assets/{ReimbursementApprovalRoutes-D-7zxW_G.js → ReimbursementApprovalRoutes-v95q9aWZ.js} +1 -1
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-B-BrMEXt.js → ReimbursementApprovalRuleDetailScreen-DxQnj1Nr.js} +1 -1
  34. package/dist/assets/{ReimbursementRoutes-CIl3zBFz.js → ReimbursementRoutes-_EXm0KMO.js} +1 -1
  35. package/dist/assets/{ReportsRoutes-BG40-ygm.js → ReportsRoutes-C1AXA5Bz.js} +1 -1
  36. package/dist/assets/{RewardsRoutes-cCyG5a3O.js → RewardsRoutes-GXGSL_JR.js} +1 -1
  37. package/dist/assets/{ScreenRoutes-CbuBXRoq.js → ScreenRoutes-BFCvivVX.js} +2 -2
  38. package/dist/assets/{SettingsRoutes-zF3HF10E.js → SettingsRoutes-DtVKDqWM.js} +1 -1
  39. package/dist/assets/{SetupPagesScreen-BQGBgHyQ.js → SetupPagesScreen-BbHEiKJR.js} +1 -1
  40. package/dist/assets/{SignInScreen-DegCyRah.js → SignInScreen-DsOYu6LX.js} +1 -1
  41. package/dist/assets/{SignOutScreen-DhCUt8NL.js → SignOutScreen-BLqW2pDa.js} +1 -1
  42. package/dist/assets/{TaskListScreen-BUamgaz2.js → TaskListScreen-BBtnIRpq.js} +1 -1
  43. package/dist/assets/{TaskRoutes-BPqp__CB.js → TaskRoutes-D8Wkm19g.js} +1 -1
  44. package/dist/assets/TransactionDetailRoutes-l-T5k5a_.js +1 -0
  45. package/dist/assets/{TransactionDetailScreen-2jVMUnKw.js → TransactionDetailScreen-DBF06PeT.js} +1 -1
  46. package/dist/assets/{TransactionListRoutes-CFkkzo55.js → TransactionListRoutes-BocCKVMK.js} +1 -1
  47. package/dist/assets/{TreasuryRoutes-kQ3DN0PE.js → TreasuryRoutes-B9p98adV.js} +1 -1
  48. package/dist/assets/{VendorsRoutes-C65XiXXp.js → VendorsRoutes-D5Vv_W7I.js} +1 -1
  49. package/dist/assets/{WiseConfirmationScreen-C-CMayHy.js → WiseConfirmationScreen-Br0VqiWX.js} +1 -1
  50. package/dist/assets/{ZeniAccountRoutes-BBvtMFBX.js → ZeniAccountRoutes-D4wfXaC9.js} +1 -1
  51. package/dist/assets/{ZeniAccountStatementScreen-DKQAWQ4j.js → ZeniAccountStatementScreen-C83btU9G.js} +1 -1
  52. package/dist/assets/{accountMappingHelper-BonLh9TQ.js → accountMappingHelper-DN2NK9FA.js} +1 -1
  53. package/dist/assets/{analytics-B4UJAsLA.js → analytics-B134UjSL.js} +1 -1
  54. package/dist/assets/{analyticsHelper-E0KniwhU.js → analyticsHelper-CRpkSjLL.js} +1 -1
  55. package/dist/assets/{core-BR1djmRq.js → core-B1Jz41nC.js} +1 -1
  56. package/dist/assets/{decodeURIComponentSafe-rU-V5qiY.js → decodeURIComponentSafe-HQbzOYEL.js} +1 -1
  57. package/dist/assets/{dnd-WGKE6-QR.js → dnd-DumzdahX.js} +1 -1
  58. package/dist/assets/{empty-Ojvc40D_.js → empty-ByyVwI2e.js} +1 -1
  59. package/dist/assets/{empty-fPNr7WEf.js → empty-oTLwTSll.js} +1 -1
  60. package/dist/assets/{emptyVideoElement-CELRYPbu.js → emptyVideoElement-C6Cu7fXI.js} +1 -1
  61. package/dist/assets/{epic-qi_TA2Na.js → epic-BnAvJDb_.js} +1 -1
  62. package/dist/assets/{getLocaleForTenant-DmXc_MIz.js → getLocaleForTenant-D68g9mo1.js} +1 -1
  63. package/dist/assets/{index-FsVF33P-.js → index-B90Cr8bv.js} +1 -1
  64. package/dist/assets/{index-RLXxDu6p.js → index-C6t5Pm8y.js} +1 -1
  65. package/dist/assets/{index-GH_WOHnD.js → index-C8wkuIN5.js} +1 -1
  66. package/dist/assets/{index-Cp8OWlD9.js → index-DbMluP3a.js} +1 -1
  67. package/dist/assets/{index-C2lHPYmZ.js → index-DegTeG1R.js} +1 -1
  68. package/dist/assets/{index-DyLQ8mi9.js → index-DnoGJKuR.js} +5 -5
  69. package/dist/assets/{index-CjfIOV0m.js → index-Ve4RRM-O.js} +1 -1
  70. package/dist/assets/{index-BC1PrBTy.js → index-jkshGKhR.js} +2 -2
  71. package/dist/assets/{lexical-GYG14AuY.js → lexical-DsIUchFW.js} +1 -1
  72. package/dist/assets/{liveblocks-DNAiUJc8.js → liveblocks-Cjqg1XsV.js} +1 -1
  73. package/dist/assets/{lottie-CXwx4IFe.js → lottie-B-v1nIzb.js} +1 -1
  74. package/dist/assets/{mui-CgXDoZXy.js → mui-DSSmRxLI.js} +1 -1
  75. package/dist/assets/{pathToGoBack-oVjtOboc.js → pathToGoBack-DUiwH7Zn.js} +1 -1
  76. package/dist/assets/{pdf-B31DLhP9.js → pdf-SAu_SEbF.js} +3 -3
  77. package/dist/assets/{pdf-lib-BJaZbPRK.js → pdf-lib-DFDlNXnV.js} +1 -1
  78. package/dist/assets/{plaid-A3mYO1wj.js → plaid-H6p_O3yl.js} +1 -1
  79. package/dist/assets/{pusher-CUyOQlLA.js → pusher-fPmkj0tk.js} +1 -1
  80. package/dist/assets/{react-ByhUurzo.js → react-B5_vH0ZV.js} +1 -1
  81. package/dist/assets/{react-D0AyXc_c.js → react-BNA9zwlm.js} +1 -1
  82. package/dist/assets/{react-C9za7tht.js → react-CmgKrC8_.js} +1 -1
  83. package/dist/assets/{react-LoJfqmu-.js → react-CykgLUvo.js} +1 -1
  84. package/dist/assets/{react-C10xY9rt.js → react-Db4JNA42.js} +1 -1
  85. package/dist/assets/{react-ggLrwSum.js → react-OAg8acZB.js} +1 -1
  86. package/dist/assets/{recharts-DzRX0aWK.js → recharts-DW5j2-RD.js} +1 -1
  87. package/dist/assets/{routePaths-mOv9oizB.js → routePaths-DBUEUOgS.js} +1 -1
  88. package/dist/assets/{sentry-3H-Lcjnl.js → sentry-DTwqiEdO.js} +1 -1
  89. package/dist/assets/{url-c0rW6TXY.js → url-CFX7crLz.js} +1 -1
  90. package/dist/assets/{url-0VTK57Fm.js → url-CQOi-x1h.js} +1 -1
  91. package/dist/assets/{useAskAiCfoHostNavButtonProps-DOg8XSPO.js → useAskAiCfoHostNavButtonProps-D1ncSYVo.js} +1 -1
  92. package/dist/assets/{useDeviceId-D7AFffaE.js → useDeviceId-DOSS9iCb.js} +1 -1
  93. package/dist/assets/{useFetchSuggestedQuestionsWhenReady-BGkosJUF.js → useFetchSuggestedQuestionsWhenReady-BD5FIrcH.js} +1 -1
  94. package/dist/assets/{useInitialThreadRequest-BCkp7NE4.js → useInitialThreadRequest-CPdwuo-t.js} +1 -1
  95. package/dist/assets/{utils-BrTYpNjH.js → utils-CCEyXo02.js} +1 -1
  96. package/dist/assets/{withTransactionSidePanel-CyW-aabp.js → withTransactionSidePanel-75BTvZCV.js} +1 -1
  97. package/dist/assets/{zeni-epic-state-B1K_6mks.js → zeni-epic-state-CFJ-5drS.js} +3 -3
  98. package/dist/index.html +1 -1
  99. package/package.json +3 -3
  100. package/dist/assets/AddressRoutes-BqJUiqUV.js +0 -1
  101. package/dist/assets/CustomerOnboardingAuthScreen-C7l8GcmG.js +0 -1
  102. package/dist/assets/NotFoundScreen-CeLQUNEa.js +0 -1
  103. package/dist/assets/TransactionDetailRoutes-bwrsAwRj.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zeni-epic-state-B1K_6mks.js","assets/sentry-3H-Lcjnl.js","assets/core-BR1djmRq.js","assets/index-BC1PrBTy.js","assets/DefaultTenantHome-Cu24mQdG.js","assets/mui-CgXDoZXy.js","assets/getLocaleForTenant-DmXc_MIz.js","assets/analytics-B4UJAsLA.js","assets/utils-BrTYpNjH.js","assets/ScreenRoutes-CbuBXRoq.js","assets/analyticsHelper-E0KniwhU.js","assets/ConnectionAuthScreen-CGIK6duf.js","assets/QBOConnectionScreen-BEIBHFJV.js","assets/empty-fPNr7WEf.js","assets/index-RLXxDu6p.js","assets/url-c0rW6TXY.js","assets/index-FsVF33P-.js","assets/decodeURIComponentSafe-rU-V5qiY.js","assets/SignInScreen-DegCyRah.js","assets/useDeviceId-D7AFffaE.js","assets/MagicLinkSignInScreen-X0YMlO94.js","assets/NotFoundScreen-CeLQUNEa.js","assets/MagicLinkRoutes-Cb21pYTK.js","assets/WiseConfirmationScreen-C-CMayHy.js","assets/HubSpotOAuthCallbackScreen-Ey74LUTw.js","assets/CustomerOnboardingAuthScreen-C7l8GcmG.js","assets/SignOutScreen-DhCUt8NL.js","assets/OAuthConsentScreen-jvssXoBP.js"])))=>i.map(i=>d[i]);
2
- import{a as m,b as T,c as dne,R as L9t,p as hW,r as Vu,g as Pqe,e as Ppe,f as T9t,s as Bpe,i as D9t,w as P9t,j as B9t,S as M9t,k as _9t,l as z9t,m as O9t,n as F9t,o as R9t}from"./sentry-3H-Lcjnl.js";import{L as N9t,C as Mpe,_ as Hu,a as LI,b as V9t,c as kR,d as TI,u as Bqe,T as H9t,e as U9t,f as W9t,g as Q9t,h as Mqe,i as G9t,k as Y9t,j as Dt,l as q9t}from"./liveblocks-DNAiUJc8.js";import{f as _qe,r as Tr,R as hx,P as ul,u as e0,m as dle,g as fi,h as r3,O as K9t,N as zqe,i as cj,j as $R,k as Z9t,l as J9t,n as X9t,o as J1,p as e8t,B as t8t}from"./core-BR1djmRq.js";import{L as _pe,bl as n8t,bm as o8t,bn as $4,bo as Oqe,bp as i8t,bq as Vt,br as VS,bs as H2,bt as r8t,bu as A4,bv as Ua,bw as Na,bx as a8t,by as l8t,bz as s8t,bA as EE,bB as p4,bC as a3,bD as AR,bE as an,bF as Fqe,bG as Rqe,bH as ule,bI as zp,bJ as l3,bK as Jc,bL as Qf,bM as c8t,bN as _l,bO as d8t,bP as HS,bQ as u8t,bR as p8t,bS as h8t,bT as uy,bU as m8t,bV as zpe,bW as g8t,bX as f8t,bY as x8t,bZ as y8t,b_ as b8t,b$ as w8t,c0 as C8t,c1 as v8t,c2 as A7,c3 as jR,c4 as S8t,c5 as ER,c6 as IR,c7 as LR,c8 as ple,c9 as TR,ca as nS,cb as oS,cc as DR,cd as k8t,ce as $8t,cf as Ope,cg as A8t,ch as j8t,ci as E8t,cj as zd,ck as Nqe,cl as hle,cm as I8t,cn as k9,co as Fpe,cp as L8t,cq as T8t,cr as D8t,cs as Vy,ct as Hy,cu as Vqe,cv as Hqe,cw as mle,cx as P8t,cy as B8t,cz as lz,cA as Uqe,cB as M8t,cC as Wqe,cD as _8t,cE as dj,cF as Rpe,cG as z8t,cH as Qqe,cI as Gqe,cJ as Yqe,cK as O8t,cL as US,cM as Npe,cN as F8t,cO as R8t,cP as qqe,cQ as N8t,cR as Vpe,cS as bc,cT as ml,cU as V8t,cV as iS,cW as Ld,cX as Kqe,cY as H8t,cZ as IE,c_ as Vx,c$ as ba,d0 as U8t,d1 as W8t,d2 as Q8t,d3 as G8t,d4 as qL,d5 as Dh,d6 as Y8t,d7 as q8t,d8 as K8t,d9 as Z8t,da as KL,db as py,dc as PR,dd as J8t,de as X8t,df as Uy,dg as Od,dh as Zqe,di as Jqe,dj as ext,dk as une,dl as txt,dm as k1,dn as hy,dp as gle,dq as Xqe,dr as eKe,ds as tKe,dt as nKe,du as oKe,dv as iKe,dw as nxt,dx as Hpe,dy as oxt,_ as rd,dz as fle,dA as rKe,dB as ixt,dC as Upe,dD as Xu,dE as Gf,dF as rxt,dG as axt,dH as aKe,dI as pne,dJ as qM,dK as lxt,dL as sxt,dM as cxt,dN as dxt,dO as uxt,dP as pxt,dQ as hxt,dR as mxt,dS as gxt,dT as fxt,dU as Nj,dV as Vj,dW as lKe,dX as KC,dY as xle,dZ as yle,d_ as WS,d$ as ble,e0 as wle,e1 as Cle,e2 as vle,e3 as sKe,e4 as Sle,e5 as xxt,e6 as yxt,e7 as cKe,e8 as Wpe,e9 as bxt,ea as kle,eb as wxt,ec as Cxt,ed as dKe,ee as vxt,ef as Sxt,eg as uKe,eh as kxt,ei as pKe,ej as hKe,ek as $xt,el as Axt,em as jxt,en as Ext,eo as Ixt,ep as Lxt,eq as Txt,er as Dxt,es as Pxt,et as Qpe,eu as BR,ev as Bxt,ew as Mxt,ex as _xt,ey as zxt,ez as Oxt,eA as Fxt,eB as Rxt,eC as Nxt,eD as Gpe,eE as mKe,eF as gKe,eG as fKe,eH as xKe,eI as yKe,eJ as bKe,eK as Vxt,eL as Hxt,eM as Uxt,v as Wxt,eN as Qxt,eO as Gxt,eP as $le,eQ as Uu,eR as wKe,eS as DI,eT as Yxt,eU as CKe,eV as qxt,eW as vKe,eX as Kxt,eY as SKe,eZ as Zxt,e_ as Jxt,e$ as Xxt,f0 as eyt,f1 as tyt,f2 as Ype,f3 as kKe,f4 as _b,f5 as MR,f6 as qpe,f7 as nyt,f8 as Kpe,f9 as oyt,fa as iyt,fb as $Ke,fc as AKe,fd as ryt,fe as ayt,ff as lyt,fg as syt,fh as cyt,fi as dyt,fj as sz,fk as Ale,fl as jKe,fm as uyt,fn as Hj,fo as pyt,fp as hyt,fq as myt,fr as gyt,fs as fyt,ft as xyt,fu as yyt,fv as byt,fw as wyt,fx as Cyt,fy as vyt,fz as EKe,fA as Syt,fB as kyt,fC as $yt,fD as Zpe,fE as Ayt,fF as jyt,fG as Eyt,fH as Iyt,fI as Lyt,fJ as hne,fK as Tyt,fL as Dyt,fM as Pyt,fN as Byt,fO as Myt,fP as _yt,fQ as zyt,fR as Oyt,fS as Jpe,fT as Fyt,fU as Ryt}from"./zeni-epic-state-B1K_6mks.js";import{n as l,T as IKe,G as PI,j as qo,c as De,k as zn,C as LKe,u as jle,a as mne,A as Nyt,b as Vyt,I as Hyt,d as Uyt,D as cz,S as TKe}from"./mui-CgXDoZXy.js";import{r as Wyt,m as vh}from"./analytics-B4UJAsLA.js";import{u as Hp}from"./plaid-A3mYO1wj.js";import{g as Qyt,O as Gyt,H as Yyt,S as qyt,T as Kyt,a as Zyt,u as Jyt,b as Xyt}from"./dnd-WGKE6-QR.js";import{l as ebt}from"./stripe-DMRn4zHo.js";import{L as Cv}from"./lottie-CXwx4IFe.js";import{r as As}from"./lexical-GYG14AuY.js";import{D as gne,P as fne,_ as DKe,a as PKe}from"./pdf-B31DLhP9.js";import{R as LE,G as my,X as es,Y as zl,H as gy,I as nd,J as Op,K as Wy,L as Up,M as tbt,N as QS,O as BKe,P as nbt,Q as _R,S as vv,U as obt,V as Ele,W as ibt,Z as rbt,_ as abt}from"./recharts-DzRX0aWK.js";import{r as lbt}from"./utils-BrTYpNjH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="43b70074-88a6-459d-b727-eced1d0563c6",e._sentryDebugIdIdentifier="sentry-dbid-43b70074-88a6-459d-b727-eced1d0563c6")}catch{}})();(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0})}function n(o){if(o.ep)return;o.ep=!0;const i=function(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}(o);fetch(o.href,i)}})();var Xpe,ZL={},sbt=function(){if(Xpe)return ZL;Xpe=1;var e=_qe();return ZL.createRoot=e.createRoot,ZL.hydrateRoot=e.hydrateRoot,ZL}(),ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof dne<"u"?dne:typeof self<"u"?self:{};function Ei(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ehe,the,nhe={exports:{}},Vk={};function MKe(){return the||(the=1,nhe.exports=function(){if(ehe)return Vk;ehe=1;var e=T,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(d,u,p){var h,g={},f=null,x=null;for(h in p!==void 0&&(f=""+p),u.key!==void 0&&(f=""+u.key),u.ref!==void 0&&(x=u.ref),u)i.call(u,h)&&!s.hasOwnProperty(h)&&(g[h]=u[h]);if(d&&d.defaultProps)for(h in u=d.defaultProps)g[h]===void 0&&(g[h]=u[h]);return{$$typeof:n,type:d,key:f,ref:x,props:g,_owner:a.current}}return Vk.Fragment=o,Vk.jsx=c,Vk.jsxs=c,Vk}()),nhe.exports}var t=MKe();const cbt=m.createContext(null),mW={didCatch:!1,error:null};let dbt=class extends m.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=mW}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var n,o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];(n=(o=this.props).onReset)===null||n===void 0||n.call(o,{args:a,reason:"imperative-api"}),this.setState(mW)}}componentDidCatch(e,n){var o,i;(o=(i=this.props).onError)===null||o===void 0||o.call(i,e,n)}componentDidUpdate(e,n){const{didCatch:o}=this.state,{resetKeys:i}=this.props;var a,s;o&&n.error!==null&&function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return c.length!==d.length||c.some((u,p)=>!Object.is(u,d[p]))}(e.resetKeys,i)&&((a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:i,prev:e.resetKeys,reason:"keys"}),this.setState(mW))}render(){const{children:e,fallbackRender:n,FallbackComponent:o,fallback:i}=this.props,{didCatch:a,error:s}=this.state;let c=e;if(a){const d={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")c=n(d);else if(o)c=m.createElement(o,d);else{if(i===void 0)throw s;c=i}}return m.createElement(cbt.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},c)}};var ohe,gW={exports:{}},ihe,rhe,fW,ubt=(ohe||(ohe=1,rhe=gW.exports,fW=function(){var e,n,o,i,a,s,c={},d={},u={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},p={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function h(g,f){this._input=g,this._value=f}return e=function(g){var f,x,y,b;if(e.isNumeral(g))f=g.value();else if(g===0||typeof g>"u")f=0;else if(g===null||n.isNaN(g))f=null;else if(typeof g=="string")if(p.zeroFormat&&g===p.zeroFormat)f=0;else if(p.nullFormat&&g===p.nullFormat||!g.replace(/[^0-9]+/g,"").length)f=null;else{for(x in c)if((b=typeof c[x].regexps.unformat=="function"?c[x].regexps.unformat():c[x].regexps.unformat)&&g.match(b)){y=c[x].unformat;break}f=(y=y||e._.stringToNumber)(g)}else f=Number(g)||null;return new h(g,f)},e.version="2.0.6",e.isNumeral=function(g){return g instanceof h},e._=n={numberToFormat:function(g,f,x){var y,b,w,C,v,S,$,j,A=d[e.options.currentLocale],E=!1,L=!1,I="",_=1e12,z=1e9,M=1e6,R="",N=!1;if(g=g||0,w=Math.abs(g),e._.includes(f,"(")?(E=!0,f=f.replace(/[\(|\)]/g,"")):(e._.includes(f,"+")||e._.includes(f,"-"))&&(S=e._.includes(f,"+")?f.indexOf("+"):g<0?f.indexOf("-"):-1,f=f.replace(/[\+|\-]/g,"")),e._.includes(f,"a")&&(b=!!(b=f.match(/a(k|m|b|t)?/))&&b[1],e._.includes(f," a")&&(I=" "),f=f.replace(new RegExp(I+"a[kmbt]?"),""),w>=_&&!b||b==="t"?(I+=A.abbreviations.trillion,g/=_):w<_&&w>=z&&!b||b==="b"?(I+=A.abbreviations.billion,g/=z):w<z&&w>=M&&!b||b==="m"?(I+=A.abbreviations.million,g/=M):(w<M&&w>=1e3&&!b||b==="k")&&(I+=A.abbreviations.thousand,g/=1e3)),e._.includes(f,"[.]")&&(L=!0,f=f.replace("[.]",".")),C=g.toString().split(".")[0],v=f.split(".")[1],$=f.indexOf(","),y=(f.split(".")[0].split(",")[0].match(/0/g)||[]).length,v?(e._.includes(v,"[")?(v=(v=v.replace("]","")).split("["),R=e._.toFixed(g,v[0].length+v[1].length,x,v[1].length)):R=e._.toFixed(g,v.length,x),C=R.split(".")[0],R=e._.includes(R,".")?A.delimiters.decimal+R.split(".")[1]:"",L&&Number(R.slice(1))===0&&(R="")):C=e._.toFixed(g,0,x),I&&!b&&Number(C)>=1e3&&I!==A.abbreviations.trillion)switch(C=String(Number(C)/1e3),I){case A.abbreviations.thousand:I=A.abbreviations.million;break;case A.abbreviations.million:I=A.abbreviations.billion;break;case A.abbreviations.billion:I=A.abbreviations.trillion}if(e._.includes(C,"-")&&(C=C.slice(1),N=!0),C.length<y)for(var O=y-C.length;O>0;O--)C="0"+C;return $>-1&&(C=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+A.delimiters.thousands)),f.indexOf(".")===0&&(C=""),j=C+R+(I||""),E?j=(E&&N?"(":"")+j+(E&&N?")":""):S>=0?j=S===0?(N?"-":"+")+j:j+(N?"-":"+"):N&&(j="-"+j),j},stringToNumber:function(g){var f,x,y,b=d[p.currentLocale],w=g,C={thousand:3,million:6,billion:9,trillion:12};if(p.zeroFormat&&g===p.zeroFormat)x=0;else if(p.nullFormat&&g===p.nullFormat||!g.replace(/[^0-9]+/g,"").length)x=null;else{for(f in x=1,b.delimiters.decimal!=="."&&(g=g.replace(/\./g,"").replace(b.delimiters.decimal,".")),C)if(y=new RegExp("[^a-zA-Z]"+b.abbreviations[f]+"(?:\\)|(\\"+b.currency.symbol+")?(?:\\))?)?$"),w.match(y)){x*=Math.pow(10,C[f]);break}x*=(g.split("-").length+Math.min(g.split("(").length-1,g.split(")").length-1))%2?1:-1,g=g.replace(/[^0-9\.]+/g,""),x*=Number(g)}return x},isNaN:function(g){return typeof g=="number"&&isNaN(g)},includes:function(g,f){return g.indexOf(f)!==-1},insert:function(g,f,x){return g.slice(0,x)+f+g.slice(x)},reduce:function(g,f){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof f!="function")throw new TypeError(f+" is not a function");var x,y=Object(g),b=y.length>>>0,w=0;if(arguments.length===3)x=arguments[2];else{for(;w<b&&!(w in y);)w++;if(w>=b)throw new TypeError("Reduce of empty array with no initial value");x=y[w++]}for(;w<b;w++)w in y&&(x=f(x,y[w],w,y));return x},multiplier:function(g){var f=g.toString().split(".");return f.length<2?1:Math.pow(10,f[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce(function(g,f){var x=n.multiplier(f);return g>x?g:x},1)},toFixed:function(g,f,x,y){var b,w,C,v,S=g.toString().split("."),$=f-(y||0);return b=S.length===2?Math.min(Math.max(S[1].length,$),f):$,C=Math.pow(10,b),v=(x(g+"e+"+b)/C).toFixed(b),y>f-b&&(w=new RegExp("\\.?0{1,"+(y-(f-b))+"}$"),v=v.replace(w,"")),v}},e.options=p,e.formats=c,e.locales=d,e.locale=function(g){return g&&(p.currentLocale=g.toLowerCase()),p.currentLocale},e.localeData=function(g){if(!g)return d[p.currentLocale];if(g=g.toLowerCase(),!d[g])throw new Error("Unknown locale : "+g);return d[g]},e.reset=function(){for(var g in u)p[g]=u[g]},e.zeroFormat=function(g){p.zeroFormat=typeof g=="string"?g:null},e.nullFormat=function(g){p.nullFormat=typeof g=="string"?g:null},e.defaultFormat=function(g){p.defaultFormat=typeof g=="string"?g:"0.0"},e.register=function(g,f,x){if(f=f.toLowerCase(),this[g+"s"][f])throw new TypeError(f+" "+g+" already registered.");return this[g+"s"][f]=x,x},e.validate=function(g,f){var x,y,b,w,C,v,S,$;if(typeof g!="string"&&(g+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",g)),(g=g.trim()).match(/^\d+$/))return!0;if(g==="")return!1;try{S=e.localeData(f)}catch{S=e.localeData(e.locale())}return b=S.currency.symbol,C=S.abbreviations,x=S.delimiters.decimal,y=S.delimiters.thousands==="."?"\\.":S.delimiters.thousands,!(($=g.match(/^[^\d]+/))!==null&&(g=g.substr(1),$[0]!==b)||($=g.match(/[^\d]+$/))!==null&&(g=g.slice(0,-1),$[0]!==C.thousand&&$[0]!==C.million&&$[0]!==C.billion&&$[0]!==C.trillion)||(v=new RegExp(y+"{2}"),g.match(/[^\d.,]/g)||(w=g.split(x)).length>2||(w.length<2?!w[0].match(/^\d+.*\d$/)||w[0].match(v):w[0].length===1?!w[0].match(/^\d+$/)||w[0].match(v)||!w[1].match(/^\d+$/):!w[0].match(/^\d+.*\d$/)||w[0].match(v)||!w[1].match(/^\d+$/))))},e.fn=h.prototype={clone:function(){return e(this)},format:function(g,f){var x,y,b,w=this._value,C=g||p.defaultFormat;if(f=f||Math.round,w===0&&p.zeroFormat!==null)y=p.zeroFormat;else if(w===null&&p.nullFormat!==null)y=p.nullFormat;else{for(x in c)if(C.match(c[x].regexps.format)){b=c[x].format;break}y=(b=b||e._.numberToFormat)(w,C,f)}return y},value:function(){return this._value},input:function(){return this._input},set:function(g){return this._value=Number(g),this},add:function(g){var f=n.correctionFactor.call(null,this._value,g);return this._value=n.reduce([this._value,g],function(x,y,b,w){return x+Math.round(f*y)},0)/f,this},subtract:function(g){var f=n.correctionFactor.call(null,this._value,g);return this._value=n.reduce([g],function(x,y,b,w){return x-Math.round(f*y)},Math.round(this._value*f))/f,this},multiply:function(g){return this._value=n.reduce([this._value,g],function(f,x,y,b){var w=n.correctionFactor(f,x);return Math.round(f*w)*Math.round(x*w)/Math.round(w*w)},1),this},divide:function(g){return this._value=n.reduce([this._value,g],function(f,x,y,b){var w=n.correctionFactor(f,x);return Math.round(f*w)/Math.round(x*w)}),this},difference:function(g){return Math.abs(e(this._value).subtract(g).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(g){var f=g%10;return~~(g%100/10)==1?"th":f===1?"st":f===2?"nd":f===3?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(g,f,x){var y,b=e._.includes(f," BPS")?" ":"";return g*=1e4,f=f.replace(/\s?BPS/,""),y=e._.numberToFormat(g,f,x),e._.includes(y,")")?((y=y.split("")).splice(-1,0,b+"BPS"),y=y.join("")):y=y+b+"BPS",y},unformat:function(g){return+(1e-4*e._.stringToNumber(g)).toFixed(15)}}),i={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a=(o={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(i.suffixes.filter(function(g){return o.suffixes.indexOf(g)<0})),s="("+(s=a.join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(s)},format:function(g,f,x){var y,b,w,C=e._.includes(f,"ib")?i:o,v=e._.includes(f," b")||e._.includes(f," ib")?" ":"";for(f=f.replace(/\s?i?b/,""),y=0;y<=C.suffixes.length;y++)if(b=Math.pow(C.base,y),w=Math.pow(C.base,y+1),g===null||g===0||g>=b&&g<w){v+=C.suffixes[y],b>0&&(g/=b);break}return e._.numberToFormat(g,f,x)+v},unformat:function(g){var f,x,y=e._.stringToNumber(g);if(y){for(f=o.suffixes.length-1;f>=0;f--){if(e._.includes(g,o.suffixes[f])){x=Math.pow(o.base,f);break}if(e._.includes(g,i.suffixes[f])){x=Math.pow(i.base,f);break}}y*=x||1}return y}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(g,f,x){var y,b,w,C=e.locales[e.options.currentLocale],v={before:f.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:f.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(f=f.replace(/\s?\$\s?/,""),y=e._.numberToFormat(g,f,x),g>=0?(v.before=v.before.replace(/[\-\(]/,""),v.after=v.after.replace(/[\-\)]/,"")):g<0&&!e._.includes(v.before,"-")&&!e._.includes(v.before,"(")&&(v.before="-"+v.before),w=0;w<v.before.length;w++)switch(b=v.before[w],b){case"$":y=e._.insert(y,C.currency.symbol,w);break;case" ":y=e._.insert(y," ",w+C.currency.symbol.length-1)}for(w=v.after.length-1;w>=0;w--)switch(b=v.after[w],b){case"$":y=w===v.after.length-1?y+C.currency.symbol:e._.insert(y,C.currency.symbol,-(v.after.length-(1+w)));break;case" ":y=w===v.after.length-1?y+" ":e._.insert(y," ",-(v.after.length-(1+w)+C.currency.symbol.length-1))}return y}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(g,f,x){var y=(typeof g!="number"||e._.isNaN(g)?"0e+0":g.toExponential()).split("e");return f=f.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(y[0]),f,x)+"e"+y[1]},unformat:function(g){var f=e._.includes(g,"e+")?g.split("e+"):g.split("e-"),x=Number(f[0]),y=Number(f[1]);return y=e._.includes(g,"e-")?y*=-1:y,e._.reduce([x,Math.pow(10,y)],function(b,w,C,v){var S=e._.correctionFactor(b,w);return b*S*(w*S)/(S*S)},1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(g,f,x){var y=e.locales[e.options.currentLocale],b=e._.includes(f," o")?" ":"";return f=f.replace(/\s?o/,""),b+=y.ordinal(g),e._.numberToFormat(g,f,x)+b}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(g,f,x){var y,b=e._.includes(f," %")?" ":"";return e.options.scalePercentBy100&&(g*=100),f=f.replace(/\s?\%/,""),y=e._.numberToFormat(g,f,x),e._.includes(y,")")?((y=y.split("")).splice(-1,0,b+"%"),y=y.join("")):y=y+b+"%",y},unformat:function(g){var f=e._.stringToNumber(g);return e.options.scalePercentBy100?.01*f:f}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(g,f,x){var y=Math.floor(g/60/60),b=Math.floor((g-60*y*60)/60),w=Math.round(g-60*y*60-60*b);return y+":"+(b<10?"0"+b:b)+":"+(w<10?"0"+w:w)},unformat:function(g){var f=g.split(":"),x=0;return f.length===3?(x+=60*Number(f[0])*60,x+=60*Number(f[1]),x+=Number(f[2])):f.length===2&&(x+=60*Number(f[0]),x+=Number(f[1])),Number(x)}}),e},(ihe=gW).exports?ihe.exports=fW():rhe.numeral=fW()),gW.exports);const e4=Ei(ubt);function h4(e,...n){const o=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach(i=>o.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${o} for the full message.`}const t4="$$material";var pbt={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function hbt(e){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=e(o)),n[o]}}var mbt=/[A-Z]|^ms/g,gbt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_Ke=function(e){return e.charCodeAt(1)===45},ahe=function(e){return e!=null&&typeof e!="boolean"},xW=hbt(function(e){return _Ke(e)?e:e.replace(mbt,"-$&").toLowerCase()}),lhe=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(gbt,function(o,i,a){return s7={name:i,styles:a,next:s7},i})}return pbt[e]===1||_Ke(e)||typeof n!="number"||n===0?n:n+"px"};function dz(e,n,o){if(o==null)return"";var i=o;if(i.__emotion_styles!==void 0)return i;switch(typeof o){case"boolean":return"";case"object":var a=o;if(a.anim===1)return s7={name:a.name,styles:a.styles,next:s7},a.name;var s=o;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)s7={name:c.name,styles:c.styles,next:s7},c=c.next;return s.styles+";"}return function(d,u,p){var h="";if(Array.isArray(p))for(var g=0;g<p.length;g++)h+=dz(d,u,p[g])+";";else for(var f in p){var x=p[f];if(typeof x!="object"){var y=x;ahe(y)&&(h+=xW(f)+":"+lhe(f,y)+";")}else if(Array.isArray(x)&&typeof x[0]=="string"&&u==null)for(var b=0;b<x.length;b++)ahe(x[b])&&(h+=xW(f)+":"+lhe(f,x[b])+";");else{var w=dz(d,u,x);switch(f){case"animation":case"animationName":h+=xW(f)+":"+w+";";break;default:h+=f+"{"+w+"}"}}}return h}(e,n,o)}return o}var s7,she=/label:\s*([^\s;{]+)\s*(;|$)/g,che,dhe,uhe,phe,hhe,mhe={exports:{}};function fbt(){return dhe?che:(dhe=1,che="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function xbt(){if(phe)return uhe;phe=1;var e=fbt();function n(){}function o(){}return o.resetWarningCache=n,uhe=function(){function i(c,d,u,p,h,g){if(g!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}function a(){return i}i.isRequired=i;var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:o,resetWarningCache:n};return s.PropTypes=s,s}}function Ile(){return hhe||(hhe=1,mhe.exports=xbt()()),mhe.exports}const fn=Ei(Ile());var ybt=function(){function e(o){var i=this;this._insertTag=function(a){var s;s=i.tags.length===0?i.insertionPoint?i.insertionPoint.nextSibling:i.prepend?i.container.firstChild:i.before:i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,s),i.tags.push(a)},this.isSpeedy=o.speedy===void 0||o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(o){o.forEach(this._insertTag)},n.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(s){var c=document.createElement("style");return c.setAttribute("data-emotion",s.key),s.nonce!==void 0&&c.setAttribute("nonce",s.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c}(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=function(s){if(s.sheet)return s.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===s)return document.styleSheets[c]}(i);try{a.insertRule(o,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(o));this.ctr++},n.flush=function(){this.tags.forEach(function(o){var i;return(i=o.parentNode)==null?void 0:i.removeChild(o)}),this.tags=[],this.ctr=0},e}(),Sd="-ms-",ghe="-moz-",_r="-webkit-",zKe="comm",Lle="rule",Tle="decl",OKe="@keyframes",bbt=Math.abs,zR=String.fromCharCode,wbt=Object.assign;function FKe(e){return e.trim()}function zr(e,n,o){return e.replace(n,o)}function xne(e,n){return e.indexOf(n)}function Wc(e,n){return 0|e.charCodeAt(n)}function TE(e,n,o){return e.slice(n,o)}function yg(e){return e.length}function Dle(e){return e.length}function JL(e,n){return n.push(e),e}var OR=1,rS=1,RKe=0,_u=0,vs=0,GS="";function FR(e,n,o,i,a,s,c){return{value:e,root:n,parent:o,type:i,props:a,children:s,line:OR,column:rS,length:c,return:""}}function Hk(e,n){return wbt(FR("",null,null,"",null,null,0),e,{length:-e.length},n)}function Pp(){return vs=_u<RKe?Wc(GS,_u++):0,rS++,vs===10&&(rS=1,OR++),vs}function Yg(){return Wc(GS,_u)}function KM(){return _u}function BI(e,n){return TE(GS,e,n)}function DE(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function NKe(e){return OR=rS=1,RKe=yg(GS=e),_u=0,[]}function VKe(e){return GS="",e}function ZM(e){return FKe(BI(_u-1,yne(e===91?e+2:e===40?e+1:e)))}function Cbt(e){for(;(vs=Yg())&&vs<33;)Pp();return DE(e)>2||DE(vs)>3?"":" "}function vbt(e,n){for(;--n&&Pp()&&!(vs<48||vs>102||vs>57&&vs<65||vs>70&&vs<97););return BI(e,KM()+(n<6&&Yg()==32&&Pp()==32))}function yne(e){for(;Pp();)switch(vs){case e:return _u;case 34:case 39:e!==34&&e!==39&&yne(vs);break;case 40:e===41&&yne(e);break;case 92:Pp()}return _u}function Sbt(e,n){for(;Pp()&&e+vs!==57&&(e+vs!==84||Yg()!==47););return"/*"+BI(n,_u-1)+"*"+zR(e===47?e:Pp())}function kbt(e){for(;!DE(Yg());)Pp();return BI(e,_u)}function $bt(e){return VKe(JM("",null,null,null,[""],e=NKe(e),0,[0],e))}function JM(e,n,o,i,a,s,c,d,u){for(var p=0,h=0,g=c,f=0,x=0,y=0,b=1,w=1,C=1,v=0,S="",$=a,j=s,A=i,E=S;w;)switch(y=v,v=Pp()){case 40:if(y!=108&&Wc(E,g-1)==58){xne(E+=zr(ZM(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=ZM(v);break;case 9:case 10:case 13:case 32:E+=Cbt(y);break;case 92:E+=vbt(KM()-1,7);continue;case 47:switch(Yg()){case 42:case 47:JL(Abt(Sbt(Pp(),KM()),n,o),u);break;default:E+="/"}break;case 123*b:d[p++]=yg(E)*C;case 125*b:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+h:C==-1&&(E=zr(E,/\f/g,"")),x>0&&yg(E)-g&&JL(x>32?xhe(E+";",i,o,g-1):xhe(zr(E," ","")+";",i,o,g-2),u);break;case 59:E+=";";default:if(JL(A=fhe(E,n,o,p,h,a,d,S,$=[],j=[],g),s),v===123)if(h===0)JM(E,n,A,A,$,s,g,d,j);else switch(f===99&&Wc(E,3)===110?100:f){case 100:case 108:case 109:case 115:JM(e,A,A,i&&JL(fhe(e,A,A,0,0,a,d,S,a,$=[],g),j),a,j,g,d,i?$:j);break;default:JM(E,A,A,A,[""],j,0,d,j)}}p=h=x=0,b=C=1,S=E="",g=c;break;case 58:g=1+yg(E),x=y;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&(vs=_u>0?Wc(GS,--_u):0,rS--,vs===10&&(rS=1,OR--),vs==125))continue}switch(E+=zR(v),v*b){case 38:C=h>0?1:(E+="\f",-1);break;case 44:d[p++]=(yg(E)-1)*C,C=1;break;case 64:Yg()===45&&(E+=ZM(Pp())),f=Yg(),h=g=yg(S=E+=kbt(KM())),v++;break;case 45:y===45&&yg(E)==2&&(b=0)}}return s}function fhe(e,n,o,i,a,s,c,d,u,p,h){for(var g=a-1,f=a===0?s:[""],x=Dle(f),y=0,b=0,w=0;y<i;++y)for(var C=0,v=TE(e,g+1,g=bbt(b=c[y])),S=e;C<x;++C)(S=FKe(b>0?f[C]+" "+v:zr(v,/&\f/g,f[C])))&&(u[w++]=S);return FR(e,n,o,a===0?Lle:d,u,p,h)}function Abt(e,n,o){return FR(e,n,o,zKe,zR(vs),TE(e,2,-2),0)}function xhe(e,n,o,i){return FR(e,n,o,Tle,TE(e,0,i),TE(e,i+1,-1),i)}function Sv(e,n){for(var o="",i=Dle(e),a=0;a<i;a++)o+=n(e[a],a,e,n)||"";return o}function jbt(e,n,o,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Tle:return e.return=e.return||e.value;case zKe:return"";case OKe:return e.return=e.value+"{"+Sv(e.children,i)+"}";case Lle:e.value=e.props.join(",")}return yg(o=Sv(e.children,i))?e.return=e.value+"{"+o+"}":""}function Ebt(e){return function(n){n.root||(n=n.return)&&e(n)}}var Ibt=function(e,n,o){for(var i=0,a=0;i=a,a=Yg(),i===38&&a===12&&(n[o]=1),!DE(a);)Pp();return BI(e,_u)},Lbt=function(e,n){return VKe(function(o,i){var a=-1,s=44;do switch(DE(s)){case 0:s===38&&Yg()===12&&(i[a]=1),o[a]+=Ibt(_u-1,i,a);break;case 2:o[a]+=ZM(s);break;case 4:if(s===44){o[++a]=Yg()===58?"&\f":"",i[a]=o[a].length;break}default:o[a]+=zR(s)}while(s=Pp());return o}(NKe(e),n))},yhe=new WeakMap,Tbt=function(e){if(e.type==="rule"&&e.parent&&!(e.length<1)){for(var n=e.value,o=e.parent,i=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(!(o=o.parent))return;if((e.props.length!==1||n.charCodeAt(0)===58||yhe.get(o))&&!i){yhe.set(e,!0);for(var a=[],s=Lbt(n,a),c=o.props,d=0,u=0;d<s.length;d++)for(var p=0;p<c.length;p++,u++)e.props[u]=a[d]?s[d].replace(/&\f/g,c[p]):c[p]+" "+s[d]}}},Dbt=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function HKe(e,n){switch(function(o,i){return 45^Wc(o,0)?(((i<<2^Wc(o,0))<<2^Wc(o,1))<<2^Wc(o,2))<<2^Wc(o,3):0}(e,n)){case 5103:return _r+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _r+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _r+e+ghe+e+Sd+e+e;case 6828:case 4268:return _r+e+Sd+e+e;case 6165:return _r+e+Sd+"flex-"+e+e;case 5187:return _r+e+zr(e,/(\w+).+(:[^]+)/,_r+"box-$1$2"+Sd+"flex-$1$2")+e;case 5443:return _r+e+Sd+"flex-item-"+zr(e,/flex-|-self/,"")+e;case 4675:return _r+e+Sd+"flex-line-pack"+zr(e,/align-content|flex-|-self/,"")+e;case 5548:return _r+e+Sd+zr(e,"shrink","negative")+e;case 5292:return _r+e+Sd+zr(e,"basis","preferred-size")+e;case 6060:return _r+"box-"+zr(e,"-grow","")+_r+e+Sd+zr(e,"grow","positive")+e;case 4554:return _r+zr(e,/([^-])(transform)/g,"$1"+_r+"$2")+e;case 6187:return zr(zr(zr(e,/(zoom-|grab)/,_r+"$1"),/(image-set)/,_r+"$1"),e,"")+e;case 5495:case 3959:return zr(e,/(image-set\([^]*)/,_r+"$1$`$1");case 4968:return zr(zr(e,/(.+:)(flex-)?(.*)/,_r+"box-pack:$3"+Sd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_r+e+e;case 4095:case 3583:case 4068:case 2532:return zr(e,/(.+)-inline(.+)/,_r+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(yg(e)-1-n>6)switch(Wc(e,n+1)){case 109:if(Wc(e,n+4)!==45)break;case 102:return zr(e,/(.+:)(.+)-([^]+)/,"$1"+_r+"$2-$3$1"+ghe+(Wc(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~xne(e,"stretch")?HKe(zr(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Wc(e,n+1)!==115)break;case 6444:switch(Wc(e,yg(e)-3-(~xne(e,"!important")&&10))){case 107:return zr(e,":",":"+_r)+e;case 101:return zr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_r+(Wc(e,14)===45?"inline-":"")+"box$3$1"+_r+"$2$3$1"+Sd+"$2box$3")+e}break;case 5936:switch(Wc(e,n+11)){case 114:return _r+e+Sd+zr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _r+e+Sd+zr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _r+e+Sd+zr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _r+e+Sd+e+e}return e}var Pbt=[function(e,n,o,i){if(e.length>-1&&!e.return)switch(e.type){case Tle:e.return=HKe(e.value,e.length);break;case OKe:return Sv([Hk(e,{value:zr(e.value,"@","@"+_r)})],i);case Lle:if(e.length)return function(a,s){return a.map(s).join("")}(e.props,function(a){switch(function(s,c){return(s=c.exec(s))?s[0]:s}(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Sv([Hk(e,{props:[zr(a,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return Sv([Hk(e,{props:[zr(a,/:(plac\w+)/,":"+_r+"input-$1")]}),Hk(e,{props:[zr(a,/:(plac\w+)/,":-moz-$1")]}),Hk(e,{props:[zr(a,/:(plac\w+)/,Sd+"input-$1")]})],i)}return""})}}],UKe=function(e){var n=e.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(x){x.getAttribute("data-emotion").indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var i,a=e.stylisPlugins||Pbt,s={},c=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var y=x.getAttribute("data-emotion").split(" "),b=1;b<y.length;b++)s[y[b]]=!0;c.push(x)});var d,u,p=[Tbt,Dbt],h=[jbt,Ebt(function(x){u.insert(x)})],g=function(x){var y=Dle(x);return function(b,w,C,v){for(var S="",$=0;$<y;$++)S+=x[$](b,w,C,v)||"";return S}}(p.concat(a,h));d=function(x,y,b,w){u=b,function(C){Sv($bt(C),g)}(x?x+"{"+y.styles+"}":y.styles),w&&(f.inserted[y.name]=!0)};var f={key:n,sheet:new ybt({key:n,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:d};return f.sheet.hydrate(c),f};function WKe(e){const{styles:n,defaultTheme:o={}}=e,i=typeof n=="function"?a=>n(function(s){return s==null||Object.keys(s).length===0}(a)?o:a):n;return t.jsx(PI,{styles:i})}const bhe=[];function j7(e){return bhe[0]=e,function(n,o,i){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var a=!0,s="";s7=void 0;var c=n[0];c==null||c.raw===void 0?(a=!1,s+=dz(i,o,c)):s+=c[0];for(var d=1;d<n.length;d++)s+=dz(i,o,n[d]),a&&(s+=c[d]);she.lastIndex=0;for(var u,p="";(u=she.exec(s))!==null;)p+="-"+u[1];var h=function(g){for(var f,x=0,y=0,b=g.length;b>=4;++y,b-=4)f=1540483477*(65535&(f=255&g.charCodeAt(y)|(255&g.charCodeAt(++y))<<8|(255&g.charCodeAt(++y))<<16|(255&g.charCodeAt(++y))<<24))+(59797*(f>>>16)<<16),x=1540483477*(65535&(f^=f>>>24))+(59797*(f>>>16)<<16)^1540483477*(65535&x)+(59797*(x>>>16)<<16);switch(b){case 3:x^=(255&g.charCodeAt(y+2))<<16;case 2:x^=(255&g.charCodeAt(y+1))<<8;case 1:x=1540483477*(65535&(x^=255&g.charCodeAt(y)))+(59797*(x>>>16)<<16)}return(((x=1540483477*(65535&(x^=x>>>13))+(59797*(x>>>16)<<16))^x>>>15)>>>0).toString(36)}(s)+p;return{name:h,styles:s,next:s7}}(bhe)}var whe,Che,vhe={exports:{}},la={};function Bbt(){if(whe)return la;whe=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function y(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case e:switch(b=b.type){case o:case a:case i:case u:case p:case f:return b;default:switch(b=b&&b.$$typeof){case c:case d:case g:case h:case s:return b;default:return w}}case n:return w}}}return la.ContextConsumer=s,la.ContextProvider=c,la.Element=e,la.ForwardRef=d,la.Fragment=o,la.Lazy=g,la.Memo=h,la.Portal=n,la.Profiler=a,la.StrictMode=i,la.Suspense=u,la.SuspenseList=p,la.isContextConsumer=function(b){return y(b)===s},la.isContextProvider=function(b){return y(b)===c},la.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},la.isForwardRef=function(b){return y(b)===d},la.isFragment=function(b){return y(b)===o},la.isLazy=function(b){return y(b)===g},la.isMemo=function(b){return y(b)===h},la.isPortal=function(b){return y(b)===n},la.isProfiler=function(b){return y(b)===a},la.isStrictMode=function(b){return y(b)===i},la.isSuspense=function(b){return y(b)===u},la.isSuspenseList=function(b){return y(b)===p},la.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===o||b===a||b===i||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===s||b.$$typeof===d||b.$$typeof===x||b.getModuleId!==void 0)},la.typeOf=y,la}function Mbt(){return Che||(Che=1,vhe.exports=Bbt()),vhe.exports}var QKe=Mbt();function Bf(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return!(n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.toStringTag in e||Symbol.iterator in e)}function GKe(e){if(m.isValidElement(e)||QKe.isValidElementType(e)||!Bf(e))return e;const n={};return Object.keys(e).forEach(o=>{n[o]=GKe(e[o])}),n}function Fd(e,n,o={clone:!0}){const i=o.clone?{...e}:e;return Bf(e)&&Bf(n)&&Object.keys(n).forEach(a=>{m.isValidElement(n[a])||QKe.isValidElementType(n[a])?i[a]=n[a]:Bf(n[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Bf(e[a])?i[a]=Fd(e[a],n[a],o):o.clone?i[a]=Bf(n[a])?GKe(n[a]):n[a]:i[a]=n[a]}),i}function _bt(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:i=5,...a}=e,s=(h=>{const g=Object.keys(h).map(f=>({key:f,val:h[f]}))||[];return g.sort((f,x)=>f.val-x.val),g.reduce((f,x)=>({...f,[x.key]:x.val}),{})})(n),c=Object.keys(s);function d(h){return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${o})`}function u(h){return`@media (max-width:${(typeof n[h]=="number"?n[h]:h)-i/100}${o})`}function p(h,g){const f=c.indexOf(g);return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${o}) and (max-width:${(f!==-1&&typeof n[c[f]]=="number"?n[c[f]]:g)-i/100}${o})`}return{keys:c,values:s,up:d,down:u,between:p,only:function(h){return c.indexOf(h)+1<c.length?p(h,c[c.indexOf(h)+1]):d(h)},not:function(h){const g=c.indexOf(h);return g===0?d(c[1]):g===c.length-1?u(c[g]):p(h,c[c.indexOf(h)+1]).replace("@media","@media not all and")},unit:o,...a}}function She(e,n){if(!e.containerQueries)return n;const o=Object.keys(n).filter(i=>i.startsWith("@container")).sort((i,a)=>{const s=/min-width:\s*([0-9.]+)/;return+(i.match(s)?.[1]||0)-+(a.match(s)?.[1]||0)});return o.length?o.reduce((i,a)=>{const s=n[a];return delete i[a],i[a]=s,i},{...n}):n}const zbt={borderRadius:4};function Uj(e,n){return n?Fd(e,n,{clone:!1}):e}const RR={xs:0,sm:600,md:900,lg:1200,xl:1536},khe={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${RR[e]}px)`},Obt={containerQueries:e=>({up:n=>{let o=typeof n=="number"?n:RR[n]||n;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function m4(e,n,o){const i=e.theme||{};if(Array.isArray(n)){const a=i.breakpoints||khe;return n.reduce((s,c,d)=>(s[a.up(a.keys[d])]=o(n[d]),s),{})}if(typeof n=="object"){const a=i.breakpoints||khe;return Object.keys(n).reduce((s,c)=>{if(function(d,u){return u==="@"||u.startsWith("@")&&(d.some(p=>u.startsWith(`@${p}`))||!!u.match(/^@\d/))}(a.keys,c)){const d=function(u,p){const h=p.match(/^@([^/]+)?\/?(.+)?$/);if(!h)return null;const[,g,f]=h,x=Number.isNaN(+g)?g||0:+g;return u.containerQueries(f).up(x)}(i.containerQueries?i:Obt,c);d&&(s[d]=o(n[c],c))}else if(Object.keys(a.values||RR).includes(c))s[a.up(c)]=o(n[c],c);else{const d=c;s[d]=n[d]}return s},{})}return o(n)}function $he(e,n){return e.reduce((o,i)=>{const a=o[i];return(!a||Object.keys(a).length===0)&&delete o[i],o},n)}function yi(e){if(typeof e!="string")throw new Error(h4(7));return e.charAt(0).toUpperCase()+e.slice(1)}function NR(e,n,o=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&o){const i=`vars.${n}`.split(".").reduce((a,s)=>a&&a[s]?a[s]:null,e);if(i!=null)return i}return n.split(".").reduce((i,a)=>i&&i[a]!=null?i[a]:null,e)}function uz(e,n,o,i=o){let a;return a=typeof e=="function"?e(o):Array.isArray(e)?e[o]||i:NR(e,o)||i,n&&(a=n(a,i,e)),a}function ql(e){const{prop:n,cssProperty:o=e.prop,themeKey:i,transform:a}=e,s=c=>{if(c[n]==null)return null;const d=c[n],u=NR(c.theme,i)||{};return m4(c,d,p=>{let h=uz(u,a,p);return p===h&&typeof p=="string"&&(h=uz(u,a,`${n}${p==="default"?"":yi(p)}`,p)),o===!1?h:{[o]:h}})};return s.propTypes={},s.filterProps=[n],s}const Fbt={m:"margin",p:"padding"},Rbt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ahe={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Nbt=function(e){const n={};return o=>(n[o]===void 0&&(n[o]=e(o)),n[o])}(e=>{if(e.length>2){if(!Ahe[e])return[e];e=Ahe[e]}const[n,o]=e.split(""),i=Fbt[n],a=Rbt[o]||"";return Array.isArray(a)?a.map(s=>i+s):[i+a]}),YKe=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],qKe=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function MI(e,n,o,i){const a=NR(e,n,!0)??o;return typeof a=="number"||typeof a=="string"?s=>typeof s=="string"?s:typeof a=="string"?a.startsWith("var(")&&s===0?0:a.startsWith("var(")&&s===1?a:`calc(${s} * ${a})`:a*s:Array.isArray(a)?s=>{if(typeof s=="string")return s;const c=Math.abs(s),d=a[c];return s>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof a=="function"?a:()=>{}}function Ple(e){return MI(e,"spacing",8)}function _I(e,n){return typeof n=="string"||n==null?n:e(n)}function Vbt(e,n,o,i){if(!n.includes(o))return null;const a=function(s,c){return d=>s.reduce((u,p)=>(u[p]=_I(c,d),u),{})}(Nbt(o),i);return m4(e,e[o],a)}function KKe(e,n){const o=Ple(e.theme);return Object.keys(e).map(i=>Vbt(e,n,i,o)).reduce(Uj,{})}function Al(e){return KKe(e,YKe)}function jl(e){return KKe(e,qKe)}function ZKe(e=8,n=Ple({spacing:e})){if(e.mui)return e;const o=(...i)=>(i.length===0?[1]:i).map(a=>{const s=n(a);return typeof s=="number"?`${s}px`:s}).join(" ");return o.mui=!0,o}function VR(...e){const n=e.reduce((i,a)=>(a.filterProps.forEach(s=>{i[s]=a}),i),{}),o=i=>Object.keys(i).reduce((a,s)=>n[s]?Uj(a,n[s](i)):a,{});return o.propTypes={},o.filterProps=e.reduce((i,a)=>i.concat(a.filterProps),[]),o}function Ph(e){return typeof e!="number"?e:`${e}px solid`}function g0(e,n){return ql({prop:e,themeKey:"borders",transform:n})}Al.propTypes={},Al.filterProps=YKe,jl.propTypes={},jl.filterProps=qKe;const Hbt=g0("border",Ph),Ubt=g0("borderTop",Ph),Wbt=g0("borderRight",Ph),Qbt=g0("borderBottom",Ph),Gbt=g0("borderLeft",Ph),Ybt=g0("borderColor"),qbt=g0("borderTopColor"),Kbt=g0("borderRightColor"),Zbt=g0("borderBottomColor"),Jbt=g0("borderLeftColor"),Xbt=g0("outline",Ph),ewt=g0("outlineColor"),XM=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=MI(e.theme,"shape.borderRadius",4),o=i=>({borderRadius:_I(n,i)});return m4(e,e.borderRadius,o)}return null};XM.propTypes={},XM.filterProps=["borderRadius"],VR(Hbt,Ubt,Wbt,Qbt,Gbt,Ybt,qbt,Kbt,Zbt,Jbt,XM,Xbt,ewt);const pz=e=>{if(e.gap!==void 0&&e.gap!==null){const n=MI(e.theme,"spacing",8),o=i=>({gap:_I(n,i)});return m4(e,e.gap,o)}return null};pz.propTypes={},pz.filterProps=["gap"];const hz=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=MI(e.theme,"spacing",8),o=i=>({columnGap:_I(n,i)});return m4(e,e.columnGap,o)}return null};hz.propTypes={},hz.filterProps=["columnGap"];const mz=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=MI(e.theme,"spacing",8),o=i=>({rowGap:_I(n,i)});return m4(e,e.rowGap,o)}return null};mz.propTypes={},mz.filterProps=["rowGap"];function kv(e,n){return n==="grey"?n:e}VR(pz,hz,mz,ql({prop:"gridColumn"}),ql({prop:"gridRow"}),ql({prop:"gridAutoFlow"}),ql({prop:"gridAutoColumns"}),ql({prop:"gridAutoRows"}),ql({prop:"gridTemplateColumns"}),ql({prop:"gridTemplateRows"}),ql({prop:"gridTemplateAreas"}),ql({prop:"gridArea"}));function Ap(e){return e<=1&&e!==0?100*e+"%":e}VR(ql({prop:"color",themeKey:"palette",transform:kv}),ql({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:kv}),ql({prop:"backgroundColor",themeKey:"palette",transform:kv}));const twt=ql({prop:"width",transform:Ap}),Ble=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=o=>{const i=e.theme?.breakpoints?.values?.[o]||RR[o];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ap(o)}};return m4(e,e.maxWidth,n)}return null};Ble.filterProps=["maxWidth"];const nwt=ql({prop:"minWidth",transform:Ap}),owt=ql({prop:"height",transform:Ap}),iwt=ql({prop:"maxHeight",transform:Ap}),rwt=ql({prop:"minHeight",transform:Ap});ql({prop:"size",cssProperty:"width",transform:Ap}),ql({prop:"size",cssProperty:"height",transform:Ap});VR(twt,Ble,nwt,owt,iwt,rwt,ql({prop:"boxSizing"}));const HR={border:{themeKey:"borders",transform:Ph},borderTop:{themeKey:"borders",transform:Ph},borderRight:{themeKey:"borders",transform:Ph},borderBottom:{themeKey:"borders",transform:Ph},borderLeft:{themeKey:"borders",transform:Ph},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ph},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:XM},color:{themeKey:"palette",transform:kv},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:kv},backgroundColor:{themeKey:"palette",transform:kv},p:{style:jl},pt:{style:jl},pr:{style:jl},pb:{style:jl},pl:{style:jl},px:{style:jl},py:{style:jl},padding:{style:jl},paddingTop:{style:jl},paddingRight:{style:jl},paddingBottom:{style:jl},paddingLeft:{style:jl},paddingX:{style:jl},paddingY:{style:jl},paddingInline:{style:jl},paddingInlineStart:{style:jl},paddingInlineEnd:{style:jl},paddingBlock:{style:jl},paddingBlockStart:{style:jl},paddingBlockEnd:{style:jl},m:{style:Al},mt:{style:Al},mr:{style:Al},mb:{style:Al},ml:{style:Al},mx:{style:Al},my:{style:Al},margin:{style:Al},marginTop:{style:Al},marginRight:{style:Al},marginBottom:{style:Al},marginLeft:{style:Al},marginX:{style:Al},marginY:{style:Al},marginInline:{style:Al},marginInlineStart:{style:Al},marginInlineEnd:{style:Al},marginBlock:{style:Al},marginBlockStart:{style:Al},marginBlockEnd:{style:Al},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:pz},rowGap:{style:mz},columnGap:{style:hz},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ap},maxWidth:{style:Ble},minWidth:{transform:Ap},height:{transform:Ap},maxHeight:{transform:Ap},minHeight:{transform:Ap},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},fy=function(){function e(n,o,i,a){const s={[n]:o,theme:i},c=a[n];if(!c)return{[n]:o};const{cssProperty:d=n,themeKey:u,transform:p,style:h}=c;if(o==null)return null;if(u==="typography"&&o==="inherit")return{[n]:o};const g=NR(i,u)||{};return h?h(s):m4(s,o,f=>{let x=uz(g,p,f);return f===x&&typeof f=="string"&&(x=uz(g,p,`${n}${f==="default"?"":yi(f)}`,f)),d===!1?x:{[d]:x}})}return function n(o){const{sx:i,theme:a={},nested:s}=o||{};if(!i)return null;const c=a.unstable_sxConfig??HR;function d(u){let p=u;if(typeof u=="function")p=u(a);else if(typeof u!="object")return u;if(!p)return null;const h=function(x={}){return x.keys?.reduce((y,b)=>(y[x.up(b)]={},y),{})||{}}(a.breakpoints),g=Object.keys(h);let f=h;return Object.keys(p).forEach(x=>{const y=function(b,w){return typeof b=="function"?b(w):b}(p[x],a);if(y!=null)if(typeof y=="object")if(c[x])f=Uj(f,e(x,y,a,c));else{const b=m4({theme:a},y,w=>({[x]:w}));(function(...w){const C=w.reduce((S,$)=>S.concat(Object.keys($)),[]),v=new Set(C);return w.every(S=>v.size===Object.keys(S).length)})(b,y)?f[x]=n({sx:y,theme:a,nested:!0}):f=Uj(f,b)}else f=Uj(f,e(x,y,a,c))}),!s&&a.modularCssLayers?{"@layer sx":She(a,$he(g,f))}:She(a,$he(g,f))}return Array.isArray(i)?i.map(d):d(i)}}();function awt(e,n){const o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let i=o.getColorSchemeSelector(e);return i==="&"?n:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:n})}return o.palette.mode===e?n:{}}function Mle(e={},...n){const{breakpoints:o={},palette:i={},spacing:a,shape:s={},...c}=e;let d=Fd({breakpoints:_bt(o),direction:"ltr",components:{},palette:{mode:"light",...i},spacing:ZKe(a),shape:{...zbt,...s}},c);return d=function(u){const p=(x,y)=>x.replace("@media",y?`@container ${y}`:"@container");function h(x,y){x.up=(...b)=>p(u.breakpoints.up(...b),y),x.down=(...b)=>p(u.breakpoints.down(...b),y),x.between=(...b)=>p(u.breakpoints.between(...b),y),x.only=(...b)=>p(u.breakpoints.only(...b),y),x.not=(...b)=>{const w=p(u.breakpoints.not(...b),y);return w.includes("not all and")?w.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):w}}const g={},f=x=>(h(g,x),g);return h(f),{...u,containerQueries:f}}(d),d.applyStyles=awt,d=n.reduce((u,p)=>Fd(u,p),d),d.unstable_sxConfig={...HR,...c?.unstable_sxConfig},d.unstable_sx=function(u){return fy({sx:u,theme:this})},d}function bne(e=null){const n=m.useContext(IKe);return!n||function(o){return Object.keys(o).length===0}(n)?e:n}fy.filterProps=["sx"];const lwt=Mle();function JKe(e=lwt){return bne(e)}function jhe(e){const n=j7(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function XKe({styles:e,themeId:n,defaultTheme:o={}}){const i=JKe(o),a=n&&i[n]||i;let s=typeof e=="function"?e(a):e;return a.modularCssLayers&&(s=Array.isArray(s)?s.map(c=>jhe(typeof c=="function"?c(a):c)):jhe(s)),t.jsx(WKe,{styles:s})}const Ehe=e=>e,swt=(()=>{let e=Ehe;return{configure(n){e=n},generate:n=>e(n),reset(){e=Ehe}}})();function eZe(e){var n,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(o=eZe(e[n]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function bi(){for(var e,n,o=0,i="",a=arguments.length;o<a;o++)(e=arguments[o])&&(n=eZe(e))&&(i&&(i+=" "),i+=n);return i}const cwt={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Nr(e,n,o="Mui"){const i=cwt[n];return i?`${o}-${i}`:`${swt.generate(e)}-${n}`}function yr(e,n,o="Mui"){const i={};return n.forEach(a=>{i[a]=Nr(e,a,o)}),i}function tZe(e){const{variants:n,...o}=e,i={variants:n,style:j7(o),isProcessed:!0};return i.style===o||n&&n.forEach(a=>{typeof a.style!="function"&&(a.style=j7(a.style))}),i}const dwt=Mle();function yW(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function mx(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function uwt(e){return e?(n,o)=>o[e]:null}function e_(e,n,o){const i=typeof n=="function"?n(e):n;if(Array.isArray(i))return i.flatMap(a=>e_(e,a,o));if(Array.isArray(i?.variants)){let a;if(i.isProcessed)a=o?mx(i.style,o):i.style;else{const{variants:s,...c}=i;a=o?mx(j7(c),o):c}return nZe(e,i.variants,[a],o)}return i?.isProcessed?o?mx(j7(i.style),o):i.style:o?mx(j7(i),o):i}function nZe(e,n,o=[],i=void 0){let a;e:for(let s=0;s<n.length;s+=1){const c=n[s];if(typeof c.props=="function"){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(a))continue}else for(const d in c.props)if(e[d]!==c.props[d]&&e.ownerState?.[d]!==c.props[d])continue e;typeof c.style=="function"?(a??={...e,...e.ownerState,ownerState:e.ownerState},o.push(i?mx(j7(c.style(a)),i):c.style(a))):o.push(i?mx(j7(c.style),i):c.style)}return o}function pwt(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function wne(e,n,o=!1){const i={...n};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const s=a;if(s==="components"||s==="slots")i[s]={...e[s],...i[s]};else if(s==="componentsProps"||s==="slotProps"){const c=e[s],d=n[s];if(d)if(c){i[s]={...d};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const p=u;i[s][p]=wne(c[p],d[p],o)}}else i[s]=d;else i[s]=c||{}}else s==="className"&&o&&n.className?i.className=bi(e?.className,n?.className):s==="style"&&o&&n.style?i.style={...e?.style,...n?.style}:i[s]===void 0&&(i[s]=e[s])}return i}const t0=typeof window<"u"?m.useLayoutEffect:m.useEffect;function _le(e,n=0,o=1){return function(i,a=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(i,s))}(e,n,o)}function H7(e){if(e.type)return e;if(e.charAt(0)==="#")return H7(function(s){s=s.slice(1);const c=new RegExp(`.{1,${s.length>=6?2:1}}`,"g");let d=s.match(c);return d&&d[0].length===1&&(d=d.map(u=>u+u)),d?`rgb${d.length===4?"a":""}(${d.map((u,p)=>p<3?parseInt(u,16):Math.round(parseInt(u,16)/255*1e3)/1e3).join(", ")})`:""}(e));const n=e.indexOf("("),o=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(h4(9,e));let i,a=e.substring(n+1,e.length-1);if(o==="color"){if(a=a.split(" "),i=a.shift(),a.length===4&&a[3].charAt(0)==="/"&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(h4(10,i))}else a=a.split(",");return a=a.map(s=>parseFloat(s)),{type:o,values:a,colorSpace:i}}const uj=(e,n)=>{try{return(o=>{const i=H7(o);return i.values.slice(0,3).map((a,s)=>i.type.includes("hsl")&&s!==0?`${a}%`:a).join(" ")})(e)}catch{return e}};function UR(e){const{type:n,colorSpace:o}=e;let{values:i}=e;return n.includes("rgb")?i=i.map((a,s)=>s<3?parseInt(a,10):a):n.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),i=n.includes("color")?`${o} ${i.join(" ")}`:`${i.join(", ")}`,`${n}(${i})`}function oZe(e){e=H7(e);const{values:n}=e,o=n[0],i=n[1]/100,a=n[2]/100,s=i*Math.min(a,1-a),c=(p,h=(p+o/30)%12)=>a-s*Math.max(Math.min(h-3,9-h,1),-1);let d="rgb";const u=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return e.type==="hsla"&&(d+="a",u.push(n[3])),UR({type:d,values:u})}function Cne(e){let n=(e=H7(e)).type==="hsl"||e.type==="hsla"?H7(oZe(e)).values:e.values;return n=n.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function gz(e,n){return e=H7(e),n=_le(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,UR(e)}function $9(e,n,o){try{return gz(e,n)}catch{return e}}function WR(e,n){if(e=H7(e),n=_le(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-n;return UR(e)}function Jr(e,n,o){try{return WR(e,n)}catch{return e}}function QR(e,n){if(e=H7(e),n=_le(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*n;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*n;return UR(e)}function Xr(e,n,o){try{return QR(e,n)}catch{return e}}function XL(e,n,o){try{return function(i,a=.15){return Cne(i)>.5?WR(i,a):QR(i,a)}(e,n)}catch{return e}}const iZe=m.createContext(null);function zle(){return m.useContext(iZe)}const hwt=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function mwt(e){const{children:n,theme:o}=e,i=zle(),a=m.useMemo(()=>{const s=i===null?{...o}:function(c,d){return typeof d=="function"?d(c):{...c,...d}}(i,o);return s!=null&&(s[hwt]=i!==null),s},[o,i]);return t.jsx(iZe.Provider,{value:a,children:n})}const rZe=m.createContext();function gwt({value:e,...n}){return t.jsx(rZe.Provider,{value:e??!0,...n})}const GR=()=>m.useContext(rZe)??!1,aZe=m.createContext(void 0);function fwt({value:e,children:n}){return t.jsx(aZe.Provider,{value:e,children:n})}function xwt({props:e,name:n}){return function(o){const{theme:i,name:a,props:s}=o;if(!i||!i.components||!i.components[a])return s;const c=i.components[a];return c.defaultProps?wne(c.defaultProps,s,i.components.mergeClassNameAndStyle):c.styleOverrides||c.variants?s:wne(c,s,i.components.mergeClassNameAndStyle)}({props:e,name:n,theme:{components:m.useContext(aZe)}})}let Ihe=0;const Lhe={...L9t}.useId;function YR(e){if(Lhe!==void 0){const n=Lhe();return e??n}return function(n){const[o,i]=m.useState(n),a=n||o;return m.useEffect(()=>{o==null&&(Ihe+=1,i(`mui-${Ihe}`))},[o]),a}(e)}const The={};function Dhe(e,n,o,i=!1){return m.useMemo(()=>{const a=e&&n[e]||n;if(typeof o=="function"){const s=o(a),c=e?{...n,[e]:s}:s;return i?()=>c:c}return e?{...n,[e]:o}:{...n,...o}},[e,n,o,i])}function lZe(e){const{children:n,theme:o,themeId:i}=e,a=bne(The),s=zle()||The,c=Dhe(i,a,o),d=Dhe(i,s,o,!0),u=(i?c[i]:c).direction==="rtl",p=function(h){const g=bne(),f=YR()||"",{modularCssLayers:x}=h;let y="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return y=x&&g===null?typeof x=="string"?x.replace(/mui(?!\.)/g,y):`@layer ${y};`:"",t0(()=>{const b=document.querySelector("head");if(!b)return;const w=b.firstChild;if(y){if(w&&w.hasAttribute?.("data-mui-layer-order")&&w.getAttribute("data-mui-layer-order")===f)return;const C=document.createElement("style");C.setAttribute("data-mui-layer-order",f),C.textContent=y,b.prepend(C)}else b.querySelector(`style[data-mui-layer-order="${f}"]`)?.remove()},[y,f]),y?t.jsx(XKe,{styles:y}):null}(c);return t.jsx(mwt,{theme:d,children:t.jsx(IKe.Provider,{value:c,children:t.jsx(gwt,{value:u,children:t.jsxs(fwt,{value:i?c[i].components:c.components,children:[p,n]})})})})}const Phe={theme:void 0},vne="mode",Sne="color-scheme",ywt="data-color-scheme";function bwt(){}const wwt=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(o){if(typeof window>"u")return;if(!n)return o;let i;try{i=n.localStorage.getItem(e)}catch{}return i||o},set:o=>{if(n)try{n.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!n)return bwt;const i=a=>{const s=a.newValue;a.key===e&&o(s)};return n.addEventListener("storage",i),()=>{n.removeEventListener("storage",i)}}});function bW(){}function Bhe(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Mhe(e,n){return e.mode==="light"||e.mode==="system"&&e.systemMode==="light"?n("light"):e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark"?n("dark"):void 0}function Cwt(e){const{defaultMode:n="light",defaultLightColorScheme:o,defaultDarkColorScheme:i,supportedColorSchemes:a=[],modeStorageKey:s=vne,colorSchemeStorageKey:c=Sne,storageWindow:d=typeof window>"u"?void 0:window,storageManager:u=wwt,noSsr:p=!1}=e,h=a.join(","),g=a.length>1,f=m.useMemo(()=>u?.({key:s,storageWindow:d}),[u,s,d]),x=m.useMemo(()=>u?.({key:`${c}-light`,storageWindow:d}),[u,c,d]),y=m.useMemo(()=>u?.({key:`${c}-dark`,storageWindow:d}),[u,c,d]),[b,w]=m.useState(()=>{const L=f?.get(n)||n,I=x?.get(o)||o,_=y?.get(i)||i;return{mode:L,systemMode:Bhe(L),lightColorScheme:I,darkColorScheme:_}}),[C,v]=m.useState(p||!g);m.useEffect(()=>{v(!0)},[]);const S=function(L){return Mhe(L,I=>I==="light"?L.lightColorScheme:I==="dark"?L.darkColorScheme:void 0)}(b),$=m.useCallback(L=>{w(I=>{if(L===I.mode)return I;const _=L??n;return f?.set(_),{...I,mode:_,systemMode:Bhe(_)}})},[f,n]),j=m.useCallback(L=>{L?typeof L=="string"?L&&!h.includes(L)?console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`):w(I=>{const _={...I};return Mhe(I,z=>{z==="light"&&(x?.set(L),_.lightColorScheme=L),z==="dark"&&(y?.set(L),_.darkColorScheme=L)}),_}):w(I=>{const _={...I},z=L.light===null?o:L.light,M=L.dark===null?i:L.dark;return z&&(h.includes(z)?(_.lightColorScheme=z,x?.set(z)):console.error(`\`${z}\` does not exist in \`theme.colorSchemes\`.`)),M&&(h.includes(M)?(_.darkColorScheme=M,y?.set(M)):console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`)),_}):w(I=>(x?.set(o),y?.set(i),{...I,lightColorScheme:o,darkColorScheme:i}))},[h,x,y,o,i]),A=m.useCallback(L=>{b.mode==="system"&&w(I=>{const _=L?.matches?"dark":"light";return I.systemMode===_?I:{...I,systemMode:_}})},[b.mode]),E=m.useRef(A);return E.current=A,m.useEffect(()=>{if(typeof window.matchMedia!="function"||!g)return;const L=(..._)=>E.current(..._),I=window.matchMedia("(prefers-color-scheme: dark)");return I.addListener(L),L(I),()=>{I.removeListener(L)}},[g]),m.useEffect(()=>{if(g){const L=f?.subscribe(z=>{(!z||["light","dark","system"].includes(z))&&$(z||n)})||bW,I=x?.subscribe(z=>{(!z||h.match(z))&&j({light:z})})||bW,_=y?.subscribe(z=>{(!z||h.match(z))&&j({dark:z})})||bW;return()=>{L(),I(),_()}}},[j,$,h,n,d,g,f,x,y]),{...b,mode:C?b.mode:void 0,systemMode:C?b.systemMode:void 0,colorScheme:C?S:void 0,setMode:$,setColorScheme:j}}function vwt(e=""){function n(...o){if(!o.length)return"";const i=o[0];return typeof i!="string"||i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${i}`:`, var(--${e?`${e}-`:""}${i}${n(...o.slice(1))})`}return(o,...i)=>`var(--${e?`${e}-`:""}${o}${n(...i)})`}const _he=(e,n,o,i=[])=>{let a=e;n.forEach((s,c)=>{c===n.length-1?Array.isArray(a)?a[Number(s)]=o:a&&typeof a=="object"&&(a[s]=o):a&&typeof a=="object"&&(a[s]||(a[s]=i.includes(s)?[]:{}),a=a[s])})};function wW(e,n){const{prefix:o,shouldSkipGeneratingVar:i}=n||{},a={},s={},c={};return((d,u,p)=>{(function h(g,f=[],x=[]){Object.entries(g).forEach(([y,b])=>{(!p||p&&!p([...f,y]))&&b!=null&&(typeof b=="object"&&Object.keys(b).length>0?h(b,[...f,y],Array.isArray(b)?[...x,y]:x):u([...f,y],b,x))})})(d)})(e,(d,u,p)=>{if(!(typeof u!="string"&&typeof u!="number"||i&&i(d,u))){const h=`--${o?`${o}-`:""}${d.join("-")}`,g=((f,x)=>typeof x=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(y=>f.includes(y))||f[f.length-1].toLowerCase().includes("opacity")?x:`${x}px`:x)(d,u);Object.assign(a,{[h]:g}),_he(s,d,`var(${h})`,p),_he(c,d,`var(${h}, ${g})`,p)}},d=>d[0]==="vars"),{css:a,vars:s,varsWithDefaults:c}}function Vr(e,n,o=void 0){const i={};for(const a in e){const s=e[a];let c="",d=!0;for(let u=0;u<s.length;u+=1){const p=s[u];p&&(c+=(d===!0?"":" ")+n(p),d=!1,o&&o[p]&&(c+=" "+o[p]))}i[a]=c}return i}function CW(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const PE={black:"#000",white:"#fff"},Swt={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},kwt="#f3e5f5",$wt="#ce93d8",Awt="#ba68c8",jwt="#ab47bc",Ewt="#9c27b0",Iwt="#7b1fa2",Lwt="#e57373",Twt="#ef5350",Dwt="#f44336",zhe="#d32f2f",Pwt="#c62828",Bwt="#ffb74d",Mwt="#ffa726",_wt="#ff9800",zwt="#f57c00",Owt="#e65100",Fwt="#e3f2fd",Rwt="#90caf9",Ohe="#42a5f5",Nwt="#1976d2",Vwt="#1565c0",Hwt="#4fc3f7",Uwt="#29b6f6",Wwt="#03a9f4",Fhe="#0288d1",Qwt="#01579b",Gwt="#81c784",Ywt="#66bb6a",qwt="#4caf50",Kwt="#388e3c",Zwt="#2e7d32",Jwt="#1b5e20";function sZe(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:PE.white,default:PE.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const cZe=sZe();function dZe(){return{text:{primary:PE.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:PE.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const kne=dZe();function Rhe(e,n,o,i){const a=i.light||i,s=i.dark||1.5*i;e[n]||(e.hasOwnProperty(o)?e[n]=e[o]:n==="light"?e.light=QR(e.main,a):n==="dark"&&(e.dark=WR(e.main,s)))}function Nhe(e,n,o,i,a){const s=a.light||a,c=a.dark||1.5*a;n[o]||(n.hasOwnProperty(i)?n[o]=n[i]:o==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(100*s).toFixed(0)}%)`:o==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(100*c).toFixed(0)}%)`))}function Ole(e){const{mode:n="light",contrastThreshold:o=3,tonalOffset:i=.2,colorSpace:a,...s}=e,c=e.primary||function(b="light"){return b==="dark"?{main:Rwt,light:Fwt,dark:Ohe}:{main:Nwt,light:Ohe,dark:Vwt}}(n),d=e.secondary||function(b="light"){return b==="dark"?{main:$wt,light:kwt,dark:jwt}:{main:Ewt,light:Awt,dark:Iwt}}(n),u=e.error||function(b="light"){return b==="dark"?{main:Dwt,light:Lwt,dark:zhe}:{main:zhe,light:Twt,dark:Pwt}}(n),p=e.info||function(b="light"){return b==="dark"?{main:Uwt,light:Hwt,dark:Fhe}:{main:Fhe,light:Wwt,dark:Qwt}}(n),h=e.success||function(b="light"){return b==="dark"?{main:Ywt,light:Gwt,dark:Kwt}:{main:Zwt,light:qwt,dark:Jwt}}(n),g=e.warning||function(b="light"){return b==="dark"?{main:Mwt,light:Bwt,dark:zwt}:{main:"#ed6c02",light:_wt,dark:Owt}}(n);function f(b){return a?function(C){return`oklch(from ${C} var(--__l) 0 h / var(--__a))`}(b):function(C,v){const S=Cne(C),$=Cne(v);return(Math.max(S,$)+.05)/(Math.min(S,$)+.05)}(b,kne.text.primary)>=o?kne.text.primary:cZe.text.primary}const x=({color:b,name:w,mainShade:C=500,lightShade:v=300,darkShade:S=700})=>{if(!(b={...b}).main&&b[C]&&(b.main=b[C]),!b.hasOwnProperty("main"))throw new Error(h4(11,w?` (${w})`:"",C));if(typeof b.main!="string")throw new Error(h4(12,w?` (${w})`:"",JSON.stringify(b.main)));return a?(Nhe(a,b,"light",v,i),Nhe(a,b,"dark",S,i)):(Rhe(b,"light",v,i),Rhe(b,"dark",S,i)),b.contrastText||(b.contrastText=f(b.main)),b};let y;return n==="light"?y=sZe():n==="dark"&&(y=dZe()),Fd({common:{...PE},mode:n,primary:x({color:c,name:"primary"}),secondary:x({color:d,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:u,name:"error"}),warning:x({color:g,name:"warning"}),info:x({color:p,name:"info"}),success:x({color:h,name:"success"}),grey:Swt,contrastThreshold:o,getContrastText:f,augmentColor:x,tonalOffset:i,...y},s)}function Xwt(e){const n={};return Object.entries(e).forEach(o=>{const[i,a]=o;typeof a=="object"&&(n[i]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),n}function eCt(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function tCt(e){return Math.round(1e5*e)/1e5}const Vhe={textTransform:"uppercase"},Hhe='"Roboto", "Helvetica", "Arial", sans-serif';function uZe(e,n){const{fontFamily:o=Hhe,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:u=16,allVariants:p,pxToRem:h,...g}=typeof n=="function"?n(e):n,f=i/14,x=h||(w=>w/u*f+"rem"),y=(w,C,v,S,$)=>({fontFamily:o,fontWeight:w,fontSize:x(C),lineHeight:v,...o===Hhe?{letterSpacing:`${tCt(S/C)}em`}:{},...$,...p}),b={h1:y(a,96,1.167,-1.5),h2:y(a,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(c,14,1.75,.4,Vhe),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,Vhe),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fd({htmlFontSize:u,pxToRem:x,fontFamily:o,fontSize:i,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:c,fontWeightBold:d,...b},g,{clone:!1})}function Xa(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const nCt=["none",Xa(0,2,1,-1,0,1,1,0,0,1,3,0),Xa(0,3,1,-2,0,2,2,0,0,1,5,0),Xa(0,3,3,-2,0,3,4,0,0,1,8,0),Xa(0,2,4,-1,0,4,5,0,0,1,10,0),Xa(0,3,5,-1,0,5,8,0,0,1,14,0),Xa(0,3,5,-1,0,6,10,0,0,1,18,0),Xa(0,4,5,-2,0,7,10,1,0,2,16,1),Xa(0,5,5,-3,0,8,10,1,0,3,14,2),Xa(0,5,6,-3,0,9,12,1,0,3,16,2),Xa(0,6,6,-3,0,10,14,1,0,4,18,3),Xa(0,6,7,-4,0,11,15,1,0,4,20,3),Xa(0,7,8,-4,0,12,17,2,0,5,22,4),Xa(0,7,8,-4,0,13,19,2,0,5,24,4),Xa(0,7,9,-4,0,14,21,2,0,5,26,4),Xa(0,8,9,-5,0,15,22,2,0,6,28,5),Xa(0,8,10,-5,0,16,24,2,0,6,30,5),Xa(0,8,11,-5,0,17,26,2,0,6,32,5),Xa(0,9,11,-5,0,18,28,2,0,7,34,6),Xa(0,9,12,-6,0,19,29,2,0,7,36,6),Xa(0,10,13,-6,0,20,31,3,0,8,38,7),Xa(0,10,13,-6,0,21,33,3,0,8,40,7),Xa(0,10,14,-6,0,22,35,3,0,8,42,7),Xa(0,11,14,-7,0,23,36,3,0,9,44,8),Xa(0,11,15,-7,0,24,38,3,0,9,46,8)],oCt={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},pZe={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Uhe(e){return`${Math.round(e)}ms`}function iCt(e){if(!e)return 0;const n=e/36;return Math.min(Math.round(10*(4+15*n**.25+n/5)),3e3)}function rCt(e){const n={...oCt,...e.easing},o={...pZe,...e.duration};return{getAutoHeightDuration:iCt,create:(i=["all"],a={})=>{const{duration:s=o.standard,easing:c=n.easeInOut,delay:d=0,...u}=a;return(Array.isArray(i)?i:[i]).map(p=>`${p} ${typeof s=="string"?s:Uhe(s)} ${c} ${typeof d=="string"?d:Uhe(d)}`).join(",")},...e,easing:n,duration:o}}const aCt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function lCt(e){return Bf(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function hZe(e={}){const n={...e};return function o(i){const a=Object.entries(i);for(let s=0;s<a.length;s++){const[c,d]=a[s];!lCt(d)||c.startsWith("unstable_")?delete i[c]:Bf(d)&&(i[c]={...d},o(i[c]))}}(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zeni-epic-state-CFJ-5drS.js","assets/sentry-DTwqiEdO.js","assets/core-B1Jz41nC.js","assets/index-jkshGKhR.js","assets/DefaultTenantHome-BkycKg61.js","assets/mui-DSSmRxLI.js","assets/getLocaleForTenant-D68g9mo1.js","assets/analytics-B134UjSL.js","assets/utils-CCEyXo02.js","assets/ScreenRoutes-BFCvivVX.js","assets/analyticsHelper-CRpkSjLL.js","assets/ConnectionAuthScreen-Dr1IfznG.js","assets/QBOConnectionScreen-D3T_HW3H.js","assets/empty-oTLwTSll.js","assets/index-C6t5Pm8y.js","assets/url-CFX7crLz.js","assets/index-B90Cr8bv.js","assets/decodeURIComponentSafe-HQbzOYEL.js","assets/SignInScreen-DsOYu6LX.js","assets/useDeviceId-DOSS9iCb.js","assets/MagicLinkSignInScreen-DUAV5Zdq.js","assets/NotFoundScreen-CiYbMRBm.js","assets/MagicLinkRoutes-CyBHzAa4.js","assets/WiseConfirmationScreen-Br0VqiWX.js","assets/HubSpotOAuthCallbackScreen-453Cbbtd.js","assets/CustomerOnboardingAuthScreen-YfK_o0qz.js","assets/SignOutScreen-BLqW2pDa.js","assets/OAuthConsentScreen-_8k8Mx_3.js"])))=>i.map(i=>d[i]);
2
+ import{a as m,b as T,c as dne,R as L9t,p as hW,r as Vu,g as Pqe,e as Ppe,f as T9t,s as Bpe,i as D9t,w as P9t,j as B9t,S as M9t,k as _9t,l as z9t,m as O9t,n as F9t,o as R9t}from"./sentry-DTwqiEdO.js";import{L as N9t,C as Mpe,_ as Hu,a as LI,b as V9t,c as kR,d as TI,u as Bqe,T as H9t,e as U9t,f as W9t,g as Q9t,h as Mqe,i as G9t,k as Y9t,j as Dt,l as q9t}from"./liveblocks-Cjqg1XsV.js";import{f as _qe,r as Tr,R as hx,P as ul,u as e0,m as dle,g as fi,h as r3,O as K9t,N as zqe,i as cj,j as $R,k as Z9t,l as J9t,n as X9t,o as J1,p as e8t,B as t8t}from"./core-B1Jz41nC.js";import{L as _pe,bl as n8t,bm as o8t,bn as $4,bo as Oqe,bp as i8t,bq as Vt,br as VS,bs as H2,bt as r8t,bu as A4,bv as Ua,bw as Na,bx as a8t,by as l8t,bz as s8t,bA as EE,bB as p4,bC as a3,bD as AR,bE as an,bF as Fqe,bG as Rqe,bH as ule,bI as zp,bJ as l3,bK as Jc,bL as Qf,bM as c8t,bN as _l,bO as d8t,bP as HS,bQ as u8t,bR as p8t,bS as h8t,bT as uy,bU as m8t,bV as zpe,bW as g8t,bX as f8t,bY as x8t,bZ as y8t,b_ as b8t,b$ as w8t,c0 as C8t,c1 as v8t,c2 as A7,c3 as jR,c4 as S8t,c5 as ER,c6 as IR,c7 as LR,c8 as ple,c9 as TR,ca as nS,cb as oS,cc as DR,cd as k8t,ce as $8t,cf as Ope,cg as A8t,ch as j8t,ci as E8t,cj as zd,ck as Nqe,cl as hle,cm as I8t,cn as k9,co as Fpe,cp as L8t,cq as T8t,cr as D8t,cs as Vy,ct as Hy,cu as Vqe,cv as Hqe,cw as mle,cx as P8t,cy as B8t,cz as lz,cA as Uqe,cB as M8t,cC as Wqe,cD as _8t,cE as dj,cF as Rpe,cG as z8t,cH as Qqe,cI as Gqe,cJ as Yqe,cK as O8t,cL as US,cM as Npe,cN as F8t,cO as R8t,cP as qqe,cQ as N8t,cR as Vpe,cS as bc,cT as ml,cU as V8t,cV as iS,cW as Ld,cX as Kqe,cY as H8t,cZ as IE,c_ as Vx,c$ as ba,d0 as U8t,d1 as W8t,d2 as Q8t,d3 as G8t,d4 as qL,d5 as Dh,d6 as Y8t,d7 as q8t,d8 as K8t,d9 as Z8t,da as KL,db as py,dc as PR,dd as J8t,de as X8t,df as Uy,dg as Od,dh as Zqe,di as Jqe,dj as ext,dk as une,dl as txt,dm as k1,dn as hy,dp as gle,dq as Xqe,dr as eKe,ds as tKe,dt as nKe,du as oKe,dv as iKe,dw as nxt,dx as Hpe,dy as oxt,_ as rd,dz as fle,dA as rKe,dB as ixt,dC as Upe,dD as Xu,dE as Gf,dF as rxt,dG as axt,dH as aKe,dI as pne,dJ as qM,dK as lxt,dL as sxt,dM as cxt,dN as dxt,dO as uxt,dP as pxt,dQ as hxt,dR as mxt,dS as gxt,dT as fxt,dU as Nj,dV as Vj,dW as lKe,dX as KC,dY as xle,dZ as yle,d_ as WS,d$ as ble,e0 as wle,e1 as Cle,e2 as vle,e3 as sKe,e4 as Sle,e5 as xxt,e6 as yxt,e7 as cKe,e8 as Wpe,e9 as bxt,ea as kle,eb as wxt,ec as Cxt,ed as dKe,ee as vxt,ef as Sxt,eg as uKe,eh as kxt,ei as pKe,ej as hKe,ek as $xt,el as Axt,em as jxt,en as Ext,eo as Ixt,ep as Lxt,eq as Txt,er as Dxt,es as Pxt,et as Qpe,eu as BR,ev as Bxt,ew as Mxt,ex as _xt,ey as zxt,ez as Oxt,eA as Fxt,eB as Rxt,eC as Nxt,eD as Gpe,eE as mKe,eF as gKe,eG as fKe,eH as xKe,eI as yKe,eJ as bKe,eK as Vxt,eL as Hxt,eM as Uxt,v as Wxt,eN as Qxt,eO as Gxt,eP as $le,eQ as Uu,eR as wKe,eS as DI,eT as Yxt,eU as CKe,eV as qxt,eW as vKe,eX as Kxt,eY as SKe,eZ as Zxt,e_ as Jxt,e$ as Xxt,f0 as eyt,f1 as tyt,f2 as Ype,f3 as kKe,f4 as _b,f5 as MR,f6 as qpe,f7 as nyt,f8 as Kpe,f9 as oyt,fa as iyt,fb as $Ke,fc as AKe,fd as ryt,fe as ayt,ff as lyt,fg as syt,fh as cyt,fi as dyt,fj as sz,fk as Ale,fl as jKe,fm as uyt,fn as Hj,fo as pyt,fp as hyt,fq as myt,fr as gyt,fs as fyt,ft as xyt,fu as yyt,fv as byt,fw as wyt,fx as Cyt,fy as vyt,fz as EKe,fA as Syt,fB as kyt,fC as $yt,fD as Zpe,fE as Ayt,fF as jyt,fG as Eyt,fH as Iyt,fI as Lyt,fJ as hne,fK as Tyt,fL as Dyt,fM as Pyt,fN as Byt,fO as Myt,fP as _yt,fQ as zyt,fR as Oyt,fS as Jpe,fT as Fyt,fU as Ryt}from"./zeni-epic-state-CFJ-5drS.js";import{n as l,T as IKe,G as PI,j as qo,c as De,k as zn,C as LKe,u as jle,a as mne,A as Nyt,b as Vyt,I as Hyt,d as Uyt,D as cz,S as TKe}from"./mui-DSSmRxLI.js";import{r as Wyt,m as vh}from"./analytics-B134UjSL.js";import{u as Hp}from"./plaid-H6p_O3yl.js";import{g as Qyt,O as Gyt,H as Yyt,S as qyt,T as Kyt,a as Zyt,u as Jyt,b as Xyt}from"./dnd-DumzdahX.js";import{l as ebt}from"./stripe-DMRn4zHo.js";import{L as Cv}from"./lottie-B-v1nIzb.js";import{r as As}from"./lexical-DsIUchFW.js";import{D as gne,P as fne,_ as DKe,a as PKe}from"./pdf-SAu_SEbF.js";import{R as LE,G as my,X as es,Y as zl,H as gy,I as nd,J as Op,K as Wy,L as Up,M as tbt,N as QS,O as BKe,P as nbt,Q as _R,S as vv,U as obt,V as Ele,W as ibt,Z as rbt,_ as abt}from"./recharts-DW5j2-RD.js";import{r as lbt}from"./utils-CCEyXo02.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="43b70074-88a6-459d-b727-eced1d0563c6",e._sentryDebugIdIdentifier="sentry-dbid-43b70074-88a6-459d-b727-eced1d0563c6")}catch{}})();(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0})}function n(o){if(o.ep)return;o.ep=!0;const i=function(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}(o);fetch(o.href,i)}})();var Xpe,ZL={},sbt=function(){if(Xpe)return ZL;Xpe=1;var e=_qe();return ZL.createRoot=e.createRoot,ZL.hydrateRoot=e.hydrateRoot,ZL}(),ju=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof dne<"u"?dne:typeof self<"u"?self:{};function Ei(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ehe,the,nhe={exports:{}},Vk={};function MKe(){return the||(the=1,nhe.exports=function(){if(ehe)return Vk;ehe=1;var e=T,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(d,u,p){var h,g={},f=null,x=null;for(h in p!==void 0&&(f=""+p),u.key!==void 0&&(f=""+u.key),u.ref!==void 0&&(x=u.ref),u)i.call(u,h)&&!s.hasOwnProperty(h)&&(g[h]=u[h]);if(d&&d.defaultProps)for(h in u=d.defaultProps)g[h]===void 0&&(g[h]=u[h]);return{$$typeof:n,type:d,key:f,ref:x,props:g,_owner:a.current}}return Vk.Fragment=o,Vk.jsx=c,Vk.jsxs=c,Vk}()),nhe.exports}var t=MKe();const cbt=m.createContext(null),mW={didCatch:!1,error:null};let dbt=class extends m.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=mW}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var n,o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];(n=(o=this.props).onReset)===null||n===void 0||n.call(o,{args:a,reason:"imperative-api"}),this.setState(mW)}}componentDidCatch(e,n){var o,i;(o=(i=this.props).onError)===null||o===void 0||o.call(i,e,n)}componentDidUpdate(e,n){const{didCatch:o}=this.state,{resetKeys:i}=this.props;var a,s;o&&n.error!==null&&function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return c.length!==d.length||c.some((u,p)=>!Object.is(u,d[p]))}(e.resetKeys,i)&&((a=(s=this.props).onReset)===null||a===void 0||a.call(s,{next:i,prev:e.resetKeys,reason:"keys"}),this.setState(mW))}render(){const{children:e,fallbackRender:n,FallbackComponent:o,fallback:i}=this.props,{didCatch:a,error:s}=this.state;let c=e;if(a){const d={error:s,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")c=n(d);else if(o)c=m.createElement(o,d);else{if(i===void 0)throw s;c=i}}return m.createElement(cbt.Provider,{value:{didCatch:a,error:s,resetErrorBoundary:this.resetErrorBoundary}},c)}};var ohe,gW={exports:{}},ihe,rhe,fW,ubt=(ohe||(ohe=1,rhe=gW.exports,fW=function(){var e,n,o,i,a,s,c={},d={},u={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},p={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function h(g,f){this._input=g,this._value=f}return e=function(g){var f,x,y,b;if(e.isNumeral(g))f=g.value();else if(g===0||typeof g>"u")f=0;else if(g===null||n.isNaN(g))f=null;else if(typeof g=="string")if(p.zeroFormat&&g===p.zeroFormat)f=0;else if(p.nullFormat&&g===p.nullFormat||!g.replace(/[^0-9]+/g,"").length)f=null;else{for(x in c)if((b=typeof c[x].regexps.unformat=="function"?c[x].regexps.unformat():c[x].regexps.unformat)&&g.match(b)){y=c[x].unformat;break}f=(y=y||e._.stringToNumber)(g)}else f=Number(g)||null;return new h(g,f)},e.version="2.0.6",e.isNumeral=function(g){return g instanceof h},e._=n={numberToFormat:function(g,f,x){var y,b,w,C,v,S,$,j,A=d[e.options.currentLocale],E=!1,L=!1,I="",_=1e12,z=1e9,M=1e6,R="",N=!1;if(g=g||0,w=Math.abs(g),e._.includes(f,"(")?(E=!0,f=f.replace(/[\(|\)]/g,"")):(e._.includes(f,"+")||e._.includes(f,"-"))&&(S=e._.includes(f,"+")?f.indexOf("+"):g<0?f.indexOf("-"):-1,f=f.replace(/[\+|\-]/g,"")),e._.includes(f,"a")&&(b=!!(b=f.match(/a(k|m|b|t)?/))&&b[1],e._.includes(f," a")&&(I=" "),f=f.replace(new RegExp(I+"a[kmbt]?"),""),w>=_&&!b||b==="t"?(I+=A.abbreviations.trillion,g/=_):w<_&&w>=z&&!b||b==="b"?(I+=A.abbreviations.billion,g/=z):w<z&&w>=M&&!b||b==="m"?(I+=A.abbreviations.million,g/=M):(w<M&&w>=1e3&&!b||b==="k")&&(I+=A.abbreviations.thousand,g/=1e3)),e._.includes(f,"[.]")&&(L=!0,f=f.replace("[.]",".")),C=g.toString().split(".")[0],v=f.split(".")[1],$=f.indexOf(","),y=(f.split(".")[0].split(",")[0].match(/0/g)||[]).length,v?(e._.includes(v,"[")?(v=(v=v.replace("]","")).split("["),R=e._.toFixed(g,v[0].length+v[1].length,x,v[1].length)):R=e._.toFixed(g,v.length,x),C=R.split(".")[0],R=e._.includes(R,".")?A.delimiters.decimal+R.split(".")[1]:"",L&&Number(R.slice(1))===0&&(R="")):C=e._.toFixed(g,0,x),I&&!b&&Number(C)>=1e3&&I!==A.abbreviations.trillion)switch(C=String(Number(C)/1e3),I){case A.abbreviations.thousand:I=A.abbreviations.million;break;case A.abbreviations.million:I=A.abbreviations.billion;break;case A.abbreviations.billion:I=A.abbreviations.trillion}if(e._.includes(C,"-")&&(C=C.slice(1),N=!0),C.length<y)for(var O=y-C.length;O>0;O--)C="0"+C;return $>-1&&(C=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+A.delimiters.thousands)),f.indexOf(".")===0&&(C=""),j=C+R+(I||""),E?j=(E&&N?"(":"")+j+(E&&N?")":""):S>=0?j=S===0?(N?"-":"+")+j:j+(N?"-":"+"):N&&(j="-"+j),j},stringToNumber:function(g){var f,x,y,b=d[p.currentLocale],w=g,C={thousand:3,million:6,billion:9,trillion:12};if(p.zeroFormat&&g===p.zeroFormat)x=0;else if(p.nullFormat&&g===p.nullFormat||!g.replace(/[^0-9]+/g,"").length)x=null;else{for(f in x=1,b.delimiters.decimal!=="."&&(g=g.replace(/\./g,"").replace(b.delimiters.decimal,".")),C)if(y=new RegExp("[^a-zA-Z]"+b.abbreviations[f]+"(?:\\)|(\\"+b.currency.symbol+")?(?:\\))?)?$"),w.match(y)){x*=Math.pow(10,C[f]);break}x*=(g.split("-").length+Math.min(g.split("(").length-1,g.split(")").length-1))%2?1:-1,g=g.replace(/[^0-9\.]+/g,""),x*=Number(g)}return x},isNaN:function(g){return typeof g=="number"&&isNaN(g)},includes:function(g,f){return g.indexOf(f)!==-1},insert:function(g,f,x){return g.slice(0,x)+f+g.slice(x)},reduce:function(g,f){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof f!="function")throw new TypeError(f+" is not a function");var x,y=Object(g),b=y.length>>>0,w=0;if(arguments.length===3)x=arguments[2];else{for(;w<b&&!(w in y);)w++;if(w>=b)throw new TypeError("Reduce of empty array with no initial value");x=y[w++]}for(;w<b;w++)w in y&&(x=f(x,y[w],w,y));return x},multiplier:function(g){var f=g.toString().split(".");return f.length<2?1:Math.pow(10,f[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce(function(g,f){var x=n.multiplier(f);return g>x?g:x},1)},toFixed:function(g,f,x,y){var b,w,C,v,S=g.toString().split("."),$=f-(y||0);return b=S.length===2?Math.min(Math.max(S[1].length,$),f):$,C=Math.pow(10,b),v=(x(g+"e+"+b)/C).toFixed(b),y>f-b&&(w=new RegExp("\\.?0{1,"+(y-(f-b))+"}$"),v=v.replace(w,"")),v}},e.options=p,e.formats=c,e.locales=d,e.locale=function(g){return g&&(p.currentLocale=g.toLowerCase()),p.currentLocale},e.localeData=function(g){if(!g)return d[p.currentLocale];if(g=g.toLowerCase(),!d[g])throw new Error("Unknown locale : "+g);return d[g]},e.reset=function(){for(var g in u)p[g]=u[g]},e.zeroFormat=function(g){p.zeroFormat=typeof g=="string"?g:null},e.nullFormat=function(g){p.nullFormat=typeof g=="string"?g:null},e.defaultFormat=function(g){p.defaultFormat=typeof g=="string"?g:"0.0"},e.register=function(g,f,x){if(f=f.toLowerCase(),this[g+"s"][f])throw new TypeError(f+" "+g+" already registered.");return this[g+"s"][f]=x,x},e.validate=function(g,f){var x,y,b,w,C,v,S,$;if(typeof g!="string"&&(g+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",g)),(g=g.trim()).match(/^\d+$/))return!0;if(g==="")return!1;try{S=e.localeData(f)}catch{S=e.localeData(e.locale())}return b=S.currency.symbol,C=S.abbreviations,x=S.delimiters.decimal,y=S.delimiters.thousands==="."?"\\.":S.delimiters.thousands,!(($=g.match(/^[^\d]+/))!==null&&(g=g.substr(1),$[0]!==b)||($=g.match(/[^\d]+$/))!==null&&(g=g.slice(0,-1),$[0]!==C.thousand&&$[0]!==C.million&&$[0]!==C.billion&&$[0]!==C.trillion)||(v=new RegExp(y+"{2}"),g.match(/[^\d.,]/g)||(w=g.split(x)).length>2||(w.length<2?!w[0].match(/^\d+.*\d$/)||w[0].match(v):w[0].length===1?!w[0].match(/^\d+$/)||w[0].match(v)||!w[1].match(/^\d+$/):!w[0].match(/^\d+.*\d$/)||w[0].match(v)||!w[1].match(/^\d+$/))))},e.fn=h.prototype={clone:function(){return e(this)},format:function(g,f){var x,y,b,w=this._value,C=g||p.defaultFormat;if(f=f||Math.round,w===0&&p.zeroFormat!==null)y=p.zeroFormat;else if(w===null&&p.nullFormat!==null)y=p.nullFormat;else{for(x in c)if(C.match(c[x].regexps.format)){b=c[x].format;break}y=(b=b||e._.numberToFormat)(w,C,f)}return y},value:function(){return this._value},input:function(){return this._input},set:function(g){return this._value=Number(g),this},add:function(g){var f=n.correctionFactor.call(null,this._value,g);return this._value=n.reduce([this._value,g],function(x,y,b,w){return x+Math.round(f*y)},0)/f,this},subtract:function(g){var f=n.correctionFactor.call(null,this._value,g);return this._value=n.reduce([g],function(x,y,b,w){return x-Math.round(f*y)},Math.round(this._value*f))/f,this},multiply:function(g){return this._value=n.reduce([this._value,g],function(f,x,y,b){var w=n.correctionFactor(f,x);return Math.round(f*w)*Math.round(x*w)/Math.round(w*w)},1),this},divide:function(g){return this._value=n.reduce([this._value,g],function(f,x,y,b){var w=n.correctionFactor(f,x);return Math.round(f*w)/Math.round(x*w)}),this},difference:function(g){return Math.abs(e(this._value).subtract(g).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(g){var f=g%10;return~~(g%100/10)==1?"th":f===1?"st":f===2?"nd":f===3?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(g,f,x){var y,b=e._.includes(f," BPS")?" ":"";return g*=1e4,f=f.replace(/\s?BPS/,""),y=e._.numberToFormat(g,f,x),e._.includes(y,")")?((y=y.split("")).splice(-1,0,b+"BPS"),y=y.join("")):y=y+b+"BPS",y},unformat:function(g){return+(1e-4*e._.stringToNumber(g)).toFixed(15)}}),i={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},a=(o={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(i.suffixes.filter(function(g){return o.suffixes.indexOf(g)<0})),s="("+(s=a.join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(s)},format:function(g,f,x){var y,b,w,C=e._.includes(f,"ib")?i:o,v=e._.includes(f," b")||e._.includes(f," ib")?" ":"";for(f=f.replace(/\s?i?b/,""),y=0;y<=C.suffixes.length;y++)if(b=Math.pow(C.base,y),w=Math.pow(C.base,y+1),g===null||g===0||g>=b&&g<w){v+=C.suffixes[y],b>0&&(g/=b);break}return e._.numberToFormat(g,f,x)+v},unformat:function(g){var f,x,y=e._.stringToNumber(g);if(y){for(f=o.suffixes.length-1;f>=0;f--){if(e._.includes(g,o.suffixes[f])){x=Math.pow(o.base,f);break}if(e._.includes(g,i.suffixes[f])){x=Math.pow(i.base,f);break}}y*=x||1}return y}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(g,f,x){var y,b,w,C=e.locales[e.options.currentLocale],v={before:f.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:f.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(f=f.replace(/\s?\$\s?/,""),y=e._.numberToFormat(g,f,x),g>=0?(v.before=v.before.replace(/[\-\(]/,""),v.after=v.after.replace(/[\-\)]/,"")):g<0&&!e._.includes(v.before,"-")&&!e._.includes(v.before,"(")&&(v.before="-"+v.before),w=0;w<v.before.length;w++)switch(b=v.before[w],b){case"$":y=e._.insert(y,C.currency.symbol,w);break;case" ":y=e._.insert(y," ",w+C.currency.symbol.length-1)}for(w=v.after.length-1;w>=0;w--)switch(b=v.after[w],b){case"$":y=w===v.after.length-1?y+C.currency.symbol:e._.insert(y,C.currency.symbol,-(v.after.length-(1+w)));break;case" ":y=w===v.after.length-1?y+" ":e._.insert(y," ",-(v.after.length-(1+w)+C.currency.symbol.length-1))}return y}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(g,f,x){var y=(typeof g!="number"||e._.isNaN(g)?"0e+0":g.toExponential()).split("e");return f=f.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(y[0]),f,x)+"e"+y[1]},unformat:function(g){var f=e._.includes(g,"e+")?g.split("e+"):g.split("e-"),x=Number(f[0]),y=Number(f[1]);return y=e._.includes(g,"e-")?y*=-1:y,e._.reduce([x,Math.pow(10,y)],function(b,w,C,v){var S=e._.correctionFactor(b,w);return b*S*(w*S)/(S*S)},1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(g,f,x){var y=e.locales[e.options.currentLocale],b=e._.includes(f," o")?" ":"";return f=f.replace(/\s?o/,""),b+=y.ordinal(g),e._.numberToFormat(g,f,x)+b}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(g,f,x){var y,b=e._.includes(f," %")?" ":"";return e.options.scalePercentBy100&&(g*=100),f=f.replace(/\s?\%/,""),y=e._.numberToFormat(g,f,x),e._.includes(y,")")?((y=y.split("")).splice(-1,0,b+"%"),y=y.join("")):y=y+b+"%",y},unformat:function(g){var f=e._.stringToNumber(g);return e.options.scalePercentBy100?.01*f:f}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(g,f,x){var y=Math.floor(g/60/60),b=Math.floor((g-60*y*60)/60),w=Math.round(g-60*y*60-60*b);return y+":"+(b<10?"0"+b:b)+":"+(w<10?"0"+w:w)},unformat:function(g){var f=g.split(":"),x=0;return f.length===3?(x+=60*Number(f[0])*60,x+=60*Number(f[1]),x+=Number(f[2])):f.length===2&&(x+=60*Number(f[0]),x+=Number(f[1])),Number(x)}}),e},(ihe=gW).exports?ihe.exports=fW():rhe.numeral=fW()),gW.exports);const e4=Ei(ubt);function h4(e,...n){const o=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach(i=>o.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${o} for the full message.`}const t4="$$material";var pbt={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function hbt(e){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=e(o)),n[o]}}var mbt=/[A-Z]|^ms/g,gbt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_Ke=function(e){return e.charCodeAt(1)===45},ahe=function(e){return e!=null&&typeof e!="boolean"},xW=hbt(function(e){return _Ke(e)?e:e.replace(mbt,"-$&").toLowerCase()}),lhe=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(gbt,function(o,i,a){return s7={name:i,styles:a,next:s7},i})}return pbt[e]===1||_Ke(e)||typeof n!="number"||n===0?n:n+"px"};function dz(e,n,o){if(o==null)return"";var i=o;if(i.__emotion_styles!==void 0)return i;switch(typeof o){case"boolean":return"";case"object":var a=o;if(a.anim===1)return s7={name:a.name,styles:a.styles,next:s7},a.name;var s=o;if(s.styles!==void 0){var c=s.next;if(c!==void 0)for(;c!==void 0;)s7={name:c.name,styles:c.styles,next:s7},c=c.next;return s.styles+";"}return function(d,u,p){var h="";if(Array.isArray(p))for(var g=0;g<p.length;g++)h+=dz(d,u,p[g])+";";else for(var f in p){var x=p[f];if(typeof x!="object"){var y=x;ahe(y)&&(h+=xW(f)+":"+lhe(f,y)+";")}else if(Array.isArray(x)&&typeof x[0]=="string"&&u==null)for(var b=0;b<x.length;b++)ahe(x[b])&&(h+=xW(f)+":"+lhe(f,x[b])+";");else{var w=dz(d,u,x);switch(f){case"animation":case"animationName":h+=xW(f)+":"+w+";";break;default:h+=f+"{"+w+"}"}}}return h}(e,n,o)}return o}var s7,she=/label:\s*([^\s;{]+)\s*(;|$)/g,che,dhe,uhe,phe,hhe,mhe={exports:{}};function fbt(){return dhe?che:(dhe=1,che="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function xbt(){if(phe)return uhe;phe=1;var e=fbt();function n(){}function o(){}return o.resetWarningCache=n,uhe=function(){function i(c,d,u,p,h,g){if(g!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}function a(){return i}i.isRequired=i;var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:o,resetWarningCache:n};return s.PropTypes=s,s}}function Ile(){return hhe||(hhe=1,mhe.exports=xbt()()),mhe.exports}const fn=Ei(Ile());var ybt=function(){function e(o){var i=this;this._insertTag=function(a){var s;s=i.tags.length===0?i.insertionPoint?i.insertionPoint.nextSibling:i.prepend?i.container.firstChild:i.before:i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(a,s),i.tags.push(a)},this.isSpeedy=o.speedy===void 0||o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(o){o.forEach(this._insertTag)},n.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(s){var c=document.createElement("style");return c.setAttribute("data-emotion",s.key),s.nonce!==void 0&&c.setAttribute("nonce",s.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c}(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=function(s){if(s.sheet)return s.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===s)return document.styleSheets[c]}(i);try{a.insertRule(o,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(o));this.ctr++},n.flush=function(){this.tags.forEach(function(o){var i;return(i=o.parentNode)==null?void 0:i.removeChild(o)}),this.tags=[],this.ctr=0},e}(),Sd="-ms-",ghe="-moz-",_r="-webkit-",zKe="comm",Lle="rule",Tle="decl",OKe="@keyframes",bbt=Math.abs,zR=String.fromCharCode,wbt=Object.assign;function FKe(e){return e.trim()}function zr(e,n,o){return e.replace(n,o)}function xne(e,n){return e.indexOf(n)}function Wc(e,n){return 0|e.charCodeAt(n)}function TE(e,n,o){return e.slice(n,o)}function yg(e){return e.length}function Dle(e){return e.length}function JL(e,n){return n.push(e),e}var OR=1,rS=1,RKe=0,_u=0,vs=0,GS="";function FR(e,n,o,i,a,s,c){return{value:e,root:n,parent:o,type:i,props:a,children:s,line:OR,column:rS,length:c,return:""}}function Hk(e,n){return wbt(FR("",null,null,"",null,null,0),e,{length:-e.length},n)}function Pp(){return vs=_u<RKe?Wc(GS,_u++):0,rS++,vs===10&&(rS=1,OR++),vs}function Yg(){return Wc(GS,_u)}function KM(){return _u}function BI(e,n){return TE(GS,e,n)}function DE(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function NKe(e){return OR=rS=1,RKe=yg(GS=e),_u=0,[]}function VKe(e){return GS="",e}function ZM(e){return FKe(BI(_u-1,yne(e===91?e+2:e===40?e+1:e)))}function Cbt(e){for(;(vs=Yg())&&vs<33;)Pp();return DE(e)>2||DE(vs)>3?"":" "}function vbt(e,n){for(;--n&&Pp()&&!(vs<48||vs>102||vs>57&&vs<65||vs>70&&vs<97););return BI(e,KM()+(n<6&&Yg()==32&&Pp()==32))}function yne(e){for(;Pp();)switch(vs){case e:return _u;case 34:case 39:e!==34&&e!==39&&yne(vs);break;case 40:e===41&&yne(e);break;case 92:Pp()}return _u}function Sbt(e,n){for(;Pp()&&e+vs!==57&&(e+vs!==84||Yg()!==47););return"/*"+BI(n,_u-1)+"*"+zR(e===47?e:Pp())}function kbt(e){for(;!DE(Yg());)Pp();return BI(e,_u)}function $bt(e){return VKe(JM("",null,null,null,[""],e=NKe(e),0,[0],e))}function JM(e,n,o,i,a,s,c,d,u){for(var p=0,h=0,g=c,f=0,x=0,y=0,b=1,w=1,C=1,v=0,S="",$=a,j=s,A=i,E=S;w;)switch(y=v,v=Pp()){case 40:if(y!=108&&Wc(E,g-1)==58){xne(E+=zr(ZM(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=ZM(v);break;case 9:case 10:case 13:case 32:E+=Cbt(y);break;case 92:E+=vbt(KM()-1,7);continue;case 47:switch(Yg()){case 42:case 47:JL(Abt(Sbt(Pp(),KM()),n,o),u);break;default:E+="/"}break;case 123*b:d[p++]=yg(E)*C;case 125*b:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+h:C==-1&&(E=zr(E,/\f/g,"")),x>0&&yg(E)-g&&JL(x>32?xhe(E+";",i,o,g-1):xhe(zr(E," ","")+";",i,o,g-2),u);break;case 59:E+=";";default:if(JL(A=fhe(E,n,o,p,h,a,d,S,$=[],j=[],g),s),v===123)if(h===0)JM(E,n,A,A,$,s,g,d,j);else switch(f===99&&Wc(E,3)===110?100:f){case 100:case 108:case 109:case 115:JM(e,A,A,i&&JL(fhe(e,A,A,0,0,a,d,S,a,$=[],g),j),a,j,g,d,i?$:j);break;default:JM(E,A,A,A,[""],j,0,d,j)}}p=h=x=0,b=C=1,S=E="",g=c;break;case 58:g=1+yg(E),x=y;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&(vs=_u>0?Wc(GS,--_u):0,rS--,vs===10&&(rS=1,OR--),vs==125))continue}switch(E+=zR(v),v*b){case 38:C=h>0?1:(E+="\f",-1);break;case 44:d[p++]=(yg(E)-1)*C,C=1;break;case 64:Yg()===45&&(E+=ZM(Pp())),f=Yg(),h=g=yg(S=E+=kbt(KM())),v++;break;case 45:y===45&&yg(E)==2&&(b=0)}}return s}function fhe(e,n,o,i,a,s,c,d,u,p,h){for(var g=a-1,f=a===0?s:[""],x=Dle(f),y=0,b=0,w=0;y<i;++y)for(var C=0,v=TE(e,g+1,g=bbt(b=c[y])),S=e;C<x;++C)(S=FKe(b>0?f[C]+" "+v:zr(v,/&\f/g,f[C])))&&(u[w++]=S);return FR(e,n,o,a===0?Lle:d,u,p,h)}function Abt(e,n,o){return FR(e,n,o,zKe,zR(vs),TE(e,2,-2),0)}function xhe(e,n,o,i){return FR(e,n,o,Tle,TE(e,0,i),TE(e,i+1,-1),i)}function Sv(e,n){for(var o="",i=Dle(e),a=0;a<i;a++)o+=n(e[a],a,e,n)||"";return o}function jbt(e,n,o,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Tle:return e.return=e.return||e.value;case zKe:return"";case OKe:return e.return=e.value+"{"+Sv(e.children,i)+"}";case Lle:e.value=e.props.join(",")}return yg(o=Sv(e.children,i))?e.return=e.value+"{"+o+"}":""}function Ebt(e){return function(n){n.root||(n=n.return)&&e(n)}}var Ibt=function(e,n,o){for(var i=0,a=0;i=a,a=Yg(),i===38&&a===12&&(n[o]=1),!DE(a);)Pp();return BI(e,_u)},Lbt=function(e,n){return VKe(function(o,i){var a=-1,s=44;do switch(DE(s)){case 0:s===38&&Yg()===12&&(i[a]=1),o[a]+=Ibt(_u-1,i,a);break;case 2:o[a]+=ZM(s);break;case 4:if(s===44){o[++a]=Yg()===58?"&\f":"",i[a]=o[a].length;break}default:o[a]+=zR(s)}while(s=Pp());return o}(NKe(e),n))},yhe=new WeakMap,Tbt=function(e){if(e.type==="rule"&&e.parent&&!(e.length<1)){for(var n=e.value,o=e.parent,i=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(!(o=o.parent))return;if((e.props.length!==1||n.charCodeAt(0)===58||yhe.get(o))&&!i){yhe.set(e,!0);for(var a=[],s=Lbt(n,a),c=o.props,d=0,u=0;d<s.length;d++)for(var p=0;p<c.length;p++,u++)e.props[u]=a[d]?s[d].replace(/&\f/g,c[p]):c[p]+" "+s[d]}}},Dbt=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function HKe(e,n){switch(function(o,i){return 45^Wc(o,0)?(((i<<2^Wc(o,0))<<2^Wc(o,1))<<2^Wc(o,2))<<2^Wc(o,3):0}(e,n)){case 5103:return _r+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _r+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _r+e+ghe+e+Sd+e+e;case 6828:case 4268:return _r+e+Sd+e+e;case 6165:return _r+e+Sd+"flex-"+e+e;case 5187:return _r+e+zr(e,/(\w+).+(:[^]+)/,_r+"box-$1$2"+Sd+"flex-$1$2")+e;case 5443:return _r+e+Sd+"flex-item-"+zr(e,/flex-|-self/,"")+e;case 4675:return _r+e+Sd+"flex-line-pack"+zr(e,/align-content|flex-|-self/,"")+e;case 5548:return _r+e+Sd+zr(e,"shrink","negative")+e;case 5292:return _r+e+Sd+zr(e,"basis","preferred-size")+e;case 6060:return _r+"box-"+zr(e,"-grow","")+_r+e+Sd+zr(e,"grow","positive")+e;case 4554:return _r+zr(e,/([^-])(transform)/g,"$1"+_r+"$2")+e;case 6187:return zr(zr(zr(e,/(zoom-|grab)/,_r+"$1"),/(image-set)/,_r+"$1"),e,"")+e;case 5495:case 3959:return zr(e,/(image-set\([^]*)/,_r+"$1$`$1");case 4968:return zr(zr(e,/(.+:)(flex-)?(.*)/,_r+"box-pack:$3"+Sd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_r+e+e;case 4095:case 3583:case 4068:case 2532:return zr(e,/(.+)-inline(.+)/,_r+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(yg(e)-1-n>6)switch(Wc(e,n+1)){case 109:if(Wc(e,n+4)!==45)break;case 102:return zr(e,/(.+:)(.+)-([^]+)/,"$1"+_r+"$2-$3$1"+ghe+(Wc(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~xne(e,"stretch")?HKe(zr(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Wc(e,n+1)!==115)break;case 6444:switch(Wc(e,yg(e)-3-(~xne(e,"!important")&&10))){case 107:return zr(e,":",":"+_r)+e;case 101:return zr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_r+(Wc(e,14)===45?"inline-":"")+"box$3$1"+_r+"$2$3$1"+Sd+"$2box$3")+e}break;case 5936:switch(Wc(e,n+11)){case 114:return _r+e+Sd+zr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _r+e+Sd+zr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _r+e+Sd+zr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _r+e+Sd+e+e}return e}var Pbt=[function(e,n,o,i){if(e.length>-1&&!e.return)switch(e.type){case Tle:e.return=HKe(e.value,e.length);break;case OKe:return Sv([Hk(e,{value:zr(e.value,"@","@"+_r)})],i);case Lle:if(e.length)return function(a,s){return a.map(s).join("")}(e.props,function(a){switch(function(s,c){return(s=c.exec(s))?s[0]:s}(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Sv([Hk(e,{props:[zr(a,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return Sv([Hk(e,{props:[zr(a,/:(plac\w+)/,":"+_r+"input-$1")]}),Hk(e,{props:[zr(a,/:(plac\w+)/,":-moz-$1")]}),Hk(e,{props:[zr(a,/:(plac\w+)/,Sd+"input-$1")]})],i)}return""})}}],UKe=function(e){var n=e.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(x){x.getAttribute("data-emotion").indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var i,a=e.stylisPlugins||Pbt,s={},c=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var y=x.getAttribute("data-emotion").split(" "),b=1;b<y.length;b++)s[y[b]]=!0;c.push(x)});var d,u,p=[Tbt,Dbt],h=[jbt,Ebt(function(x){u.insert(x)})],g=function(x){var y=Dle(x);return function(b,w,C,v){for(var S="",$=0;$<y;$++)S+=x[$](b,w,C,v)||"";return S}}(p.concat(a,h));d=function(x,y,b,w){u=b,function(C){Sv($bt(C),g)}(x?x+"{"+y.styles+"}":y.styles),w&&(f.inserted[y.name]=!0)};var f={key:n,sheet:new ybt({key:n,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:d};return f.sheet.hydrate(c),f};function WKe(e){const{styles:n,defaultTheme:o={}}=e,i=typeof n=="function"?a=>n(function(s){return s==null||Object.keys(s).length===0}(a)?o:a):n;return t.jsx(PI,{styles:i})}const bhe=[];function j7(e){return bhe[0]=e,function(n,o,i){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var a=!0,s="";s7=void 0;var c=n[0];c==null||c.raw===void 0?(a=!1,s+=dz(i,o,c)):s+=c[0];for(var d=1;d<n.length;d++)s+=dz(i,o,n[d]),a&&(s+=c[d]);she.lastIndex=0;for(var u,p="";(u=she.exec(s))!==null;)p+="-"+u[1];var h=function(g){for(var f,x=0,y=0,b=g.length;b>=4;++y,b-=4)f=1540483477*(65535&(f=255&g.charCodeAt(y)|(255&g.charCodeAt(++y))<<8|(255&g.charCodeAt(++y))<<16|(255&g.charCodeAt(++y))<<24))+(59797*(f>>>16)<<16),x=1540483477*(65535&(f^=f>>>24))+(59797*(f>>>16)<<16)^1540483477*(65535&x)+(59797*(x>>>16)<<16);switch(b){case 3:x^=(255&g.charCodeAt(y+2))<<16;case 2:x^=(255&g.charCodeAt(y+1))<<8;case 1:x=1540483477*(65535&(x^=255&g.charCodeAt(y)))+(59797*(x>>>16)<<16)}return(((x=1540483477*(65535&(x^=x>>>13))+(59797*(x>>>16)<<16))^x>>>15)>>>0).toString(36)}(s)+p;return{name:h,styles:s,next:s7}}(bhe)}var whe,Che,vhe={exports:{}},la={};function Bbt(){if(whe)return la;whe=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),x=Symbol.for("react.client.reference");function y(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case e:switch(b=b.type){case o:case a:case i:case u:case p:case f:return b;default:switch(b=b&&b.$$typeof){case c:case d:case g:case h:case s:return b;default:return w}}case n:return w}}}return la.ContextConsumer=s,la.ContextProvider=c,la.Element=e,la.ForwardRef=d,la.Fragment=o,la.Lazy=g,la.Memo=h,la.Portal=n,la.Profiler=a,la.StrictMode=i,la.Suspense=u,la.SuspenseList=p,la.isContextConsumer=function(b){return y(b)===s},la.isContextProvider=function(b){return y(b)===c},la.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},la.isForwardRef=function(b){return y(b)===d},la.isFragment=function(b){return y(b)===o},la.isLazy=function(b){return y(b)===g},la.isMemo=function(b){return y(b)===h},la.isPortal=function(b){return y(b)===n},la.isProfiler=function(b){return y(b)===a},la.isStrictMode=function(b){return y(b)===i},la.isSuspense=function(b){return y(b)===u},la.isSuspenseList=function(b){return y(b)===p},la.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===o||b===a||b===i||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===s||b.$$typeof===d||b.$$typeof===x||b.getModuleId!==void 0)},la.typeOf=y,la}function Mbt(){return Che||(Che=1,vhe.exports=Bbt()),vhe.exports}var QKe=Mbt();function Bf(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return!(n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.toStringTag in e||Symbol.iterator in e)}function GKe(e){if(m.isValidElement(e)||QKe.isValidElementType(e)||!Bf(e))return e;const n={};return Object.keys(e).forEach(o=>{n[o]=GKe(e[o])}),n}function Fd(e,n,o={clone:!0}){const i=o.clone?{...e}:e;return Bf(e)&&Bf(n)&&Object.keys(n).forEach(a=>{m.isValidElement(n[a])||QKe.isValidElementType(n[a])?i[a]=n[a]:Bf(n[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Bf(e[a])?i[a]=Fd(e[a],n[a],o):o.clone?i[a]=Bf(n[a])?GKe(n[a]):n[a]:i[a]=n[a]}),i}function _bt(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:i=5,...a}=e,s=(h=>{const g=Object.keys(h).map(f=>({key:f,val:h[f]}))||[];return g.sort((f,x)=>f.val-x.val),g.reduce((f,x)=>({...f,[x.key]:x.val}),{})})(n),c=Object.keys(s);function d(h){return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${o})`}function u(h){return`@media (max-width:${(typeof n[h]=="number"?n[h]:h)-i/100}${o})`}function p(h,g){const f=c.indexOf(g);return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${o}) and (max-width:${(f!==-1&&typeof n[c[f]]=="number"?n[c[f]]:g)-i/100}${o})`}return{keys:c,values:s,up:d,down:u,between:p,only:function(h){return c.indexOf(h)+1<c.length?p(h,c[c.indexOf(h)+1]):d(h)},not:function(h){const g=c.indexOf(h);return g===0?d(c[1]):g===c.length-1?u(c[g]):p(h,c[c.indexOf(h)+1]).replace("@media","@media not all and")},unit:o,...a}}function She(e,n){if(!e.containerQueries)return n;const o=Object.keys(n).filter(i=>i.startsWith("@container")).sort((i,a)=>{const s=/min-width:\s*([0-9.]+)/;return+(i.match(s)?.[1]||0)-+(a.match(s)?.[1]||0)});return o.length?o.reduce((i,a)=>{const s=n[a];return delete i[a],i[a]=s,i},{...n}):n}const zbt={borderRadius:4};function Uj(e,n){return n?Fd(e,n,{clone:!1}):e}const RR={xs:0,sm:600,md:900,lg:1200,xl:1536},khe={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${RR[e]}px)`},Obt={containerQueries:e=>({up:n=>{let o=typeof n=="number"?n:RR[n]||n;return typeof o=="number"&&(o=`${o}px`),e?`@container ${e} (min-width:${o})`:`@container (min-width:${o})`}})};function m4(e,n,o){const i=e.theme||{};if(Array.isArray(n)){const a=i.breakpoints||khe;return n.reduce((s,c,d)=>(s[a.up(a.keys[d])]=o(n[d]),s),{})}if(typeof n=="object"){const a=i.breakpoints||khe;return Object.keys(n).reduce((s,c)=>{if(function(d,u){return u==="@"||u.startsWith("@")&&(d.some(p=>u.startsWith(`@${p}`))||!!u.match(/^@\d/))}(a.keys,c)){const d=function(u,p){const h=p.match(/^@([^/]+)?\/?(.+)?$/);if(!h)return null;const[,g,f]=h,x=Number.isNaN(+g)?g||0:+g;return u.containerQueries(f).up(x)}(i.containerQueries?i:Obt,c);d&&(s[d]=o(n[c],c))}else if(Object.keys(a.values||RR).includes(c))s[a.up(c)]=o(n[c],c);else{const d=c;s[d]=n[d]}return s},{})}return o(n)}function $he(e,n){return e.reduce((o,i)=>{const a=o[i];return(!a||Object.keys(a).length===0)&&delete o[i],o},n)}function yi(e){if(typeof e!="string")throw new Error(h4(7));return e.charAt(0).toUpperCase()+e.slice(1)}function NR(e,n,o=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&o){const i=`vars.${n}`.split(".").reduce((a,s)=>a&&a[s]?a[s]:null,e);if(i!=null)return i}return n.split(".").reduce((i,a)=>i&&i[a]!=null?i[a]:null,e)}function uz(e,n,o,i=o){let a;return a=typeof e=="function"?e(o):Array.isArray(e)?e[o]||i:NR(e,o)||i,n&&(a=n(a,i,e)),a}function ql(e){const{prop:n,cssProperty:o=e.prop,themeKey:i,transform:a}=e,s=c=>{if(c[n]==null)return null;const d=c[n],u=NR(c.theme,i)||{};return m4(c,d,p=>{let h=uz(u,a,p);return p===h&&typeof p=="string"&&(h=uz(u,a,`${n}${p==="default"?"":yi(p)}`,p)),o===!1?h:{[o]:h}})};return s.propTypes={},s.filterProps=[n],s}const Fbt={m:"margin",p:"padding"},Rbt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ahe={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Nbt=function(e){const n={};return o=>(n[o]===void 0&&(n[o]=e(o)),n[o])}(e=>{if(e.length>2){if(!Ahe[e])return[e];e=Ahe[e]}const[n,o]=e.split(""),i=Fbt[n],a=Rbt[o]||"";return Array.isArray(a)?a.map(s=>i+s):[i+a]}),YKe=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],qKe=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function MI(e,n,o,i){const a=NR(e,n,!0)??o;return typeof a=="number"||typeof a=="string"?s=>typeof s=="string"?s:typeof a=="string"?a.startsWith("var(")&&s===0?0:a.startsWith("var(")&&s===1?a:`calc(${s} * ${a})`:a*s:Array.isArray(a)?s=>{if(typeof s=="string")return s;const c=Math.abs(s),d=a[c];return s>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof a=="function"?a:()=>{}}function Ple(e){return MI(e,"spacing",8)}function _I(e,n){return typeof n=="string"||n==null?n:e(n)}function Vbt(e,n,o,i){if(!n.includes(o))return null;const a=function(s,c){return d=>s.reduce((u,p)=>(u[p]=_I(c,d),u),{})}(Nbt(o),i);return m4(e,e[o],a)}function KKe(e,n){const o=Ple(e.theme);return Object.keys(e).map(i=>Vbt(e,n,i,o)).reduce(Uj,{})}function Al(e){return KKe(e,YKe)}function jl(e){return KKe(e,qKe)}function ZKe(e=8,n=Ple({spacing:e})){if(e.mui)return e;const o=(...i)=>(i.length===0?[1]:i).map(a=>{const s=n(a);return typeof s=="number"?`${s}px`:s}).join(" ");return o.mui=!0,o}function VR(...e){const n=e.reduce((i,a)=>(a.filterProps.forEach(s=>{i[s]=a}),i),{}),o=i=>Object.keys(i).reduce((a,s)=>n[s]?Uj(a,n[s](i)):a,{});return o.propTypes={},o.filterProps=e.reduce((i,a)=>i.concat(a.filterProps),[]),o}function Ph(e){return typeof e!="number"?e:`${e}px solid`}function g0(e,n){return ql({prop:e,themeKey:"borders",transform:n})}Al.propTypes={},Al.filterProps=YKe,jl.propTypes={},jl.filterProps=qKe;const Hbt=g0("border",Ph),Ubt=g0("borderTop",Ph),Wbt=g0("borderRight",Ph),Qbt=g0("borderBottom",Ph),Gbt=g0("borderLeft",Ph),Ybt=g0("borderColor"),qbt=g0("borderTopColor"),Kbt=g0("borderRightColor"),Zbt=g0("borderBottomColor"),Jbt=g0("borderLeftColor"),Xbt=g0("outline",Ph),ewt=g0("outlineColor"),XM=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=MI(e.theme,"shape.borderRadius",4),o=i=>({borderRadius:_I(n,i)});return m4(e,e.borderRadius,o)}return null};XM.propTypes={},XM.filterProps=["borderRadius"],VR(Hbt,Ubt,Wbt,Qbt,Gbt,Ybt,qbt,Kbt,Zbt,Jbt,XM,Xbt,ewt);const pz=e=>{if(e.gap!==void 0&&e.gap!==null){const n=MI(e.theme,"spacing",8),o=i=>({gap:_I(n,i)});return m4(e,e.gap,o)}return null};pz.propTypes={},pz.filterProps=["gap"];const hz=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=MI(e.theme,"spacing",8),o=i=>({columnGap:_I(n,i)});return m4(e,e.columnGap,o)}return null};hz.propTypes={},hz.filterProps=["columnGap"];const mz=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=MI(e.theme,"spacing",8),o=i=>({rowGap:_I(n,i)});return m4(e,e.rowGap,o)}return null};mz.propTypes={},mz.filterProps=["rowGap"];function kv(e,n){return n==="grey"?n:e}VR(pz,hz,mz,ql({prop:"gridColumn"}),ql({prop:"gridRow"}),ql({prop:"gridAutoFlow"}),ql({prop:"gridAutoColumns"}),ql({prop:"gridAutoRows"}),ql({prop:"gridTemplateColumns"}),ql({prop:"gridTemplateRows"}),ql({prop:"gridTemplateAreas"}),ql({prop:"gridArea"}));function Ap(e){return e<=1&&e!==0?100*e+"%":e}VR(ql({prop:"color",themeKey:"palette",transform:kv}),ql({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:kv}),ql({prop:"backgroundColor",themeKey:"palette",transform:kv}));const twt=ql({prop:"width",transform:Ap}),Ble=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=o=>{const i=e.theme?.breakpoints?.values?.[o]||RR[o];return i?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ap(o)}};return m4(e,e.maxWidth,n)}return null};Ble.filterProps=["maxWidth"];const nwt=ql({prop:"minWidth",transform:Ap}),owt=ql({prop:"height",transform:Ap}),iwt=ql({prop:"maxHeight",transform:Ap}),rwt=ql({prop:"minHeight",transform:Ap});ql({prop:"size",cssProperty:"width",transform:Ap}),ql({prop:"size",cssProperty:"height",transform:Ap});VR(twt,Ble,nwt,owt,iwt,rwt,ql({prop:"boxSizing"}));const HR={border:{themeKey:"borders",transform:Ph},borderTop:{themeKey:"borders",transform:Ph},borderRight:{themeKey:"borders",transform:Ph},borderBottom:{themeKey:"borders",transform:Ph},borderLeft:{themeKey:"borders",transform:Ph},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ph},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:XM},color:{themeKey:"palette",transform:kv},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:kv},backgroundColor:{themeKey:"palette",transform:kv},p:{style:jl},pt:{style:jl},pr:{style:jl},pb:{style:jl},pl:{style:jl},px:{style:jl},py:{style:jl},padding:{style:jl},paddingTop:{style:jl},paddingRight:{style:jl},paddingBottom:{style:jl},paddingLeft:{style:jl},paddingX:{style:jl},paddingY:{style:jl},paddingInline:{style:jl},paddingInlineStart:{style:jl},paddingInlineEnd:{style:jl},paddingBlock:{style:jl},paddingBlockStart:{style:jl},paddingBlockEnd:{style:jl},m:{style:Al},mt:{style:Al},mr:{style:Al},mb:{style:Al},ml:{style:Al},mx:{style:Al},my:{style:Al},margin:{style:Al},marginTop:{style:Al},marginRight:{style:Al},marginBottom:{style:Al},marginLeft:{style:Al},marginX:{style:Al},marginY:{style:Al},marginInline:{style:Al},marginInlineStart:{style:Al},marginInlineEnd:{style:Al},marginBlock:{style:Al},marginBlockStart:{style:Al},marginBlockEnd:{style:Al},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:pz},rowGap:{style:mz},columnGap:{style:hz},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ap},maxWidth:{style:Ble},minWidth:{transform:Ap},height:{transform:Ap},maxHeight:{transform:Ap},minHeight:{transform:Ap},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},fy=function(){function e(n,o,i,a){const s={[n]:o,theme:i},c=a[n];if(!c)return{[n]:o};const{cssProperty:d=n,themeKey:u,transform:p,style:h}=c;if(o==null)return null;if(u==="typography"&&o==="inherit")return{[n]:o};const g=NR(i,u)||{};return h?h(s):m4(s,o,f=>{let x=uz(g,p,f);return f===x&&typeof f=="string"&&(x=uz(g,p,`${n}${f==="default"?"":yi(f)}`,f)),d===!1?x:{[d]:x}})}return function n(o){const{sx:i,theme:a={},nested:s}=o||{};if(!i)return null;const c=a.unstable_sxConfig??HR;function d(u){let p=u;if(typeof u=="function")p=u(a);else if(typeof u!="object")return u;if(!p)return null;const h=function(x={}){return x.keys?.reduce((y,b)=>(y[x.up(b)]={},y),{})||{}}(a.breakpoints),g=Object.keys(h);let f=h;return Object.keys(p).forEach(x=>{const y=function(b,w){return typeof b=="function"?b(w):b}(p[x],a);if(y!=null)if(typeof y=="object")if(c[x])f=Uj(f,e(x,y,a,c));else{const b=m4({theme:a},y,w=>({[x]:w}));(function(...w){const C=w.reduce((S,$)=>S.concat(Object.keys($)),[]),v=new Set(C);return w.every(S=>v.size===Object.keys(S).length)})(b,y)?f[x]=n({sx:y,theme:a,nested:!0}):f=Uj(f,b)}else f=Uj(f,e(x,y,a,c))}),!s&&a.modularCssLayers?{"@layer sx":She(a,$he(g,f))}:She(a,$he(g,f))}return Array.isArray(i)?i.map(d):d(i)}}();function awt(e,n){const o=this;if(o.vars){if(!o.colorSchemes?.[e]||typeof o.getColorSchemeSelector!="function")return{};let i=o.getColorSchemeSelector(e);return i==="&"?n:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:n})}return o.palette.mode===e?n:{}}function Mle(e={},...n){const{breakpoints:o={},palette:i={},spacing:a,shape:s={},...c}=e;let d=Fd({breakpoints:_bt(o),direction:"ltr",components:{},palette:{mode:"light",...i},spacing:ZKe(a),shape:{...zbt,...s}},c);return d=function(u){const p=(x,y)=>x.replace("@media",y?`@container ${y}`:"@container");function h(x,y){x.up=(...b)=>p(u.breakpoints.up(...b),y),x.down=(...b)=>p(u.breakpoints.down(...b),y),x.between=(...b)=>p(u.breakpoints.between(...b),y),x.only=(...b)=>p(u.breakpoints.only(...b),y),x.not=(...b)=>{const w=p(u.breakpoints.not(...b),y);return w.includes("not all and")?w.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):w}}const g={},f=x=>(h(g,x),g);return h(f),{...u,containerQueries:f}}(d),d.applyStyles=awt,d=n.reduce((u,p)=>Fd(u,p),d),d.unstable_sxConfig={...HR,...c?.unstable_sxConfig},d.unstable_sx=function(u){return fy({sx:u,theme:this})},d}function bne(e=null){const n=m.useContext(IKe);return!n||function(o){return Object.keys(o).length===0}(n)?e:n}fy.filterProps=["sx"];const lwt=Mle();function JKe(e=lwt){return bne(e)}function jhe(e){const n=j7(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function XKe({styles:e,themeId:n,defaultTheme:o={}}){const i=JKe(o),a=n&&i[n]||i;let s=typeof e=="function"?e(a):e;return a.modularCssLayers&&(s=Array.isArray(s)?s.map(c=>jhe(typeof c=="function"?c(a):c)):jhe(s)),t.jsx(WKe,{styles:s})}const Ehe=e=>e,swt=(()=>{let e=Ehe;return{configure(n){e=n},generate:n=>e(n),reset(){e=Ehe}}})();function eZe(e){var n,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(o=eZe(e[n]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function bi(){for(var e,n,o=0,i="",a=arguments.length;o<a;o++)(e=arguments[o])&&(n=eZe(e))&&(i&&(i+=" "),i+=n);return i}const cwt={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Nr(e,n,o="Mui"){const i=cwt[n];return i?`${o}-${i}`:`${swt.generate(e)}-${n}`}function yr(e,n,o="Mui"){const i={};return n.forEach(a=>{i[a]=Nr(e,a,o)}),i}function tZe(e){const{variants:n,...o}=e,i={variants:n,style:j7(o),isProcessed:!0};return i.style===o||n&&n.forEach(a=>{typeof a.style!="function"&&(a.style=j7(a.style))}),i}const dwt=Mle();function yW(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function mx(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function uwt(e){return e?(n,o)=>o[e]:null}function e_(e,n,o){const i=typeof n=="function"?n(e):n;if(Array.isArray(i))return i.flatMap(a=>e_(e,a,o));if(Array.isArray(i?.variants)){let a;if(i.isProcessed)a=o?mx(i.style,o):i.style;else{const{variants:s,...c}=i;a=o?mx(j7(c),o):c}return nZe(e,i.variants,[a],o)}return i?.isProcessed?o?mx(j7(i.style),o):i.style:o?mx(j7(i),o):i}function nZe(e,n,o=[],i=void 0){let a;e:for(let s=0;s<n.length;s+=1){const c=n[s];if(typeof c.props=="function"){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(a))continue}else for(const d in c.props)if(e[d]!==c.props[d]&&e.ownerState?.[d]!==c.props[d])continue e;typeof c.style=="function"?(a??={...e,...e.ownerState,ownerState:e.ownerState},o.push(i?mx(j7(c.style(a)),i):c.style(a))):o.push(i?mx(j7(c.style),i):c.style)}return o}function pwt(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function wne(e,n,o=!1){const i={...n};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const s=a;if(s==="components"||s==="slots")i[s]={...e[s],...i[s]};else if(s==="componentsProps"||s==="slotProps"){const c=e[s],d=n[s];if(d)if(c){i[s]={...d};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const p=u;i[s][p]=wne(c[p],d[p],o)}}else i[s]=d;else i[s]=c||{}}else s==="className"&&o&&n.className?i.className=bi(e?.className,n?.className):s==="style"&&o&&n.style?i.style={...e?.style,...n?.style}:i[s]===void 0&&(i[s]=e[s])}return i}const t0=typeof window<"u"?m.useLayoutEffect:m.useEffect;function _le(e,n=0,o=1){return function(i,a=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(i,s))}(e,n,o)}function H7(e){if(e.type)return e;if(e.charAt(0)==="#")return H7(function(s){s=s.slice(1);const c=new RegExp(`.{1,${s.length>=6?2:1}}`,"g");let d=s.match(c);return d&&d[0].length===1&&(d=d.map(u=>u+u)),d?`rgb${d.length===4?"a":""}(${d.map((u,p)=>p<3?parseInt(u,16):Math.round(parseInt(u,16)/255*1e3)/1e3).join(", ")})`:""}(e));const n=e.indexOf("("),o=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(h4(9,e));let i,a=e.substring(n+1,e.length-1);if(o==="color"){if(a=a.split(" "),i=a.shift(),a.length===4&&a[3].charAt(0)==="/"&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(h4(10,i))}else a=a.split(",");return a=a.map(s=>parseFloat(s)),{type:o,values:a,colorSpace:i}}const uj=(e,n)=>{try{return(o=>{const i=H7(o);return i.values.slice(0,3).map((a,s)=>i.type.includes("hsl")&&s!==0?`${a}%`:a).join(" ")})(e)}catch{return e}};function UR(e){const{type:n,colorSpace:o}=e;let{values:i}=e;return n.includes("rgb")?i=i.map((a,s)=>s<3?parseInt(a,10):a):n.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),i=n.includes("color")?`${o} ${i.join(" ")}`:`${i.join(", ")}`,`${n}(${i})`}function oZe(e){e=H7(e);const{values:n}=e,o=n[0],i=n[1]/100,a=n[2]/100,s=i*Math.min(a,1-a),c=(p,h=(p+o/30)%12)=>a-s*Math.max(Math.min(h-3,9-h,1),-1);let d="rgb";const u=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return e.type==="hsla"&&(d+="a",u.push(n[3])),UR({type:d,values:u})}function Cne(e){let n=(e=H7(e)).type==="hsl"||e.type==="hsla"?H7(oZe(e)).values:e.values;return n=n.map(o=>(e.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function gz(e,n){return e=H7(e),n=_le(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,UR(e)}function $9(e,n,o){try{return gz(e,n)}catch{return e}}function WR(e,n){if(e=H7(e),n=_le(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-n;return UR(e)}function Jr(e,n,o){try{return WR(e,n)}catch{return e}}function QR(e,n){if(e=H7(e),n=_le(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*n;else if(e.type.includes("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*n;return UR(e)}function Xr(e,n,o){try{return QR(e,n)}catch{return e}}function XL(e,n,o){try{return function(i,a=.15){return Cne(i)>.5?WR(i,a):QR(i,a)}(e,n)}catch{return e}}const iZe=m.createContext(null);function zle(){return m.useContext(iZe)}const hwt=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function mwt(e){const{children:n,theme:o}=e,i=zle(),a=m.useMemo(()=>{const s=i===null?{...o}:function(c,d){return typeof d=="function"?d(c):{...c,...d}}(i,o);return s!=null&&(s[hwt]=i!==null),s},[o,i]);return t.jsx(iZe.Provider,{value:a,children:n})}const rZe=m.createContext();function gwt({value:e,...n}){return t.jsx(rZe.Provider,{value:e??!0,...n})}const GR=()=>m.useContext(rZe)??!1,aZe=m.createContext(void 0);function fwt({value:e,children:n}){return t.jsx(aZe.Provider,{value:e,children:n})}function xwt({props:e,name:n}){return function(o){const{theme:i,name:a,props:s}=o;if(!i||!i.components||!i.components[a])return s;const c=i.components[a];return c.defaultProps?wne(c.defaultProps,s,i.components.mergeClassNameAndStyle):c.styleOverrides||c.variants?s:wne(c,s,i.components.mergeClassNameAndStyle)}({props:e,name:n,theme:{components:m.useContext(aZe)}})}let Ihe=0;const Lhe={...L9t}.useId;function YR(e){if(Lhe!==void 0){const n=Lhe();return e??n}return function(n){const[o,i]=m.useState(n),a=n||o;return m.useEffect(()=>{o==null&&(Ihe+=1,i(`mui-${Ihe}`))},[o]),a}(e)}const The={};function Dhe(e,n,o,i=!1){return m.useMemo(()=>{const a=e&&n[e]||n;if(typeof o=="function"){const s=o(a),c=e?{...n,[e]:s}:s;return i?()=>c:c}return e?{...n,[e]:o}:{...n,...o}},[e,n,o,i])}function lZe(e){const{children:n,theme:o,themeId:i}=e,a=bne(The),s=zle()||The,c=Dhe(i,a,o),d=Dhe(i,s,o,!0),u=(i?c[i]:c).direction==="rtl",p=function(h){const g=bne(),f=YR()||"",{modularCssLayers:x}=h;let y="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return y=x&&g===null?typeof x=="string"?x.replace(/mui(?!\.)/g,y):`@layer ${y};`:"",t0(()=>{const b=document.querySelector("head");if(!b)return;const w=b.firstChild;if(y){if(w&&w.hasAttribute?.("data-mui-layer-order")&&w.getAttribute("data-mui-layer-order")===f)return;const C=document.createElement("style");C.setAttribute("data-mui-layer-order",f),C.textContent=y,b.prepend(C)}else b.querySelector(`style[data-mui-layer-order="${f}"]`)?.remove()},[y,f]),y?t.jsx(XKe,{styles:y}):null}(c);return t.jsx(mwt,{theme:d,children:t.jsx(IKe.Provider,{value:c,children:t.jsx(gwt,{value:u,children:t.jsxs(fwt,{value:i?c[i].components:c.components,children:[p,n]})})})})}const Phe={theme:void 0},vne="mode",Sne="color-scheme",ywt="data-color-scheme";function bwt(){}const wwt=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(o){if(typeof window>"u")return;if(!n)return o;let i;try{i=n.localStorage.getItem(e)}catch{}return i||o},set:o=>{if(n)try{n.localStorage.setItem(e,o)}catch{}},subscribe:o=>{if(!n)return bwt;const i=a=>{const s=a.newValue;a.key===e&&o(s)};return n.addEventListener("storage",i),()=>{n.removeEventListener("storage",i)}}});function bW(){}function Bhe(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Mhe(e,n){return e.mode==="light"||e.mode==="system"&&e.systemMode==="light"?n("light"):e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark"?n("dark"):void 0}function Cwt(e){const{defaultMode:n="light",defaultLightColorScheme:o,defaultDarkColorScheme:i,supportedColorSchemes:a=[],modeStorageKey:s=vne,colorSchemeStorageKey:c=Sne,storageWindow:d=typeof window>"u"?void 0:window,storageManager:u=wwt,noSsr:p=!1}=e,h=a.join(","),g=a.length>1,f=m.useMemo(()=>u?.({key:s,storageWindow:d}),[u,s,d]),x=m.useMemo(()=>u?.({key:`${c}-light`,storageWindow:d}),[u,c,d]),y=m.useMemo(()=>u?.({key:`${c}-dark`,storageWindow:d}),[u,c,d]),[b,w]=m.useState(()=>{const L=f?.get(n)||n,I=x?.get(o)||o,_=y?.get(i)||i;return{mode:L,systemMode:Bhe(L),lightColorScheme:I,darkColorScheme:_}}),[C,v]=m.useState(p||!g);m.useEffect(()=>{v(!0)},[]);const S=function(L){return Mhe(L,I=>I==="light"?L.lightColorScheme:I==="dark"?L.darkColorScheme:void 0)}(b),$=m.useCallback(L=>{w(I=>{if(L===I.mode)return I;const _=L??n;return f?.set(_),{...I,mode:_,systemMode:Bhe(_)}})},[f,n]),j=m.useCallback(L=>{L?typeof L=="string"?L&&!h.includes(L)?console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`):w(I=>{const _={...I};return Mhe(I,z=>{z==="light"&&(x?.set(L),_.lightColorScheme=L),z==="dark"&&(y?.set(L),_.darkColorScheme=L)}),_}):w(I=>{const _={...I},z=L.light===null?o:L.light,M=L.dark===null?i:L.dark;return z&&(h.includes(z)?(_.lightColorScheme=z,x?.set(z)):console.error(`\`${z}\` does not exist in \`theme.colorSchemes\`.`)),M&&(h.includes(M)?(_.darkColorScheme=M,y?.set(M)):console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`)),_}):w(I=>(x?.set(o),y?.set(i),{...I,lightColorScheme:o,darkColorScheme:i}))},[h,x,y,o,i]),A=m.useCallback(L=>{b.mode==="system"&&w(I=>{const _=L?.matches?"dark":"light";return I.systemMode===_?I:{...I,systemMode:_}})},[b.mode]),E=m.useRef(A);return E.current=A,m.useEffect(()=>{if(typeof window.matchMedia!="function"||!g)return;const L=(..._)=>E.current(..._),I=window.matchMedia("(prefers-color-scheme: dark)");return I.addListener(L),L(I),()=>{I.removeListener(L)}},[g]),m.useEffect(()=>{if(g){const L=f?.subscribe(z=>{(!z||["light","dark","system"].includes(z))&&$(z||n)})||bW,I=x?.subscribe(z=>{(!z||h.match(z))&&j({light:z})})||bW,_=y?.subscribe(z=>{(!z||h.match(z))&&j({dark:z})})||bW;return()=>{L(),I(),_()}}},[j,$,h,n,d,g,f,x,y]),{...b,mode:C?b.mode:void 0,systemMode:C?b.systemMode:void 0,colorScheme:C?S:void 0,setMode:$,setColorScheme:j}}function vwt(e=""){function n(...o){if(!o.length)return"";const i=o[0];return typeof i!="string"||i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${i}`:`, var(--${e?`${e}-`:""}${i}${n(...o.slice(1))})`}return(o,...i)=>`var(--${e?`${e}-`:""}${o}${n(...i)})`}const _he=(e,n,o,i=[])=>{let a=e;n.forEach((s,c)=>{c===n.length-1?Array.isArray(a)?a[Number(s)]=o:a&&typeof a=="object"&&(a[s]=o):a&&typeof a=="object"&&(a[s]||(a[s]=i.includes(s)?[]:{}),a=a[s])})};function wW(e,n){const{prefix:o,shouldSkipGeneratingVar:i}=n||{},a={},s={},c={};return((d,u,p)=>{(function h(g,f=[],x=[]){Object.entries(g).forEach(([y,b])=>{(!p||p&&!p([...f,y]))&&b!=null&&(typeof b=="object"&&Object.keys(b).length>0?h(b,[...f,y],Array.isArray(b)?[...x,y]:x):u([...f,y],b,x))})})(d)})(e,(d,u,p)=>{if(!(typeof u!="string"&&typeof u!="number"||i&&i(d,u))){const h=`--${o?`${o}-`:""}${d.join("-")}`,g=((f,x)=>typeof x=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(y=>f.includes(y))||f[f.length-1].toLowerCase().includes("opacity")?x:`${x}px`:x)(d,u);Object.assign(a,{[h]:g}),_he(s,d,`var(${h})`,p),_he(c,d,`var(${h}, ${g})`,p)}},d=>d[0]==="vars"),{css:a,vars:s,varsWithDefaults:c}}function Vr(e,n,o=void 0){const i={};for(const a in e){const s=e[a];let c="",d=!0;for(let u=0;u<s.length;u+=1){const p=s[u];p&&(c+=(d===!0?"":" ")+n(p),d=!1,o&&o[p]&&(c+=" "+o[p]))}i[a]=c}return i}function CW(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const PE={black:"#000",white:"#fff"},Swt={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},kwt="#f3e5f5",$wt="#ce93d8",Awt="#ba68c8",jwt="#ab47bc",Ewt="#9c27b0",Iwt="#7b1fa2",Lwt="#e57373",Twt="#ef5350",Dwt="#f44336",zhe="#d32f2f",Pwt="#c62828",Bwt="#ffb74d",Mwt="#ffa726",_wt="#ff9800",zwt="#f57c00",Owt="#e65100",Fwt="#e3f2fd",Rwt="#90caf9",Ohe="#42a5f5",Nwt="#1976d2",Vwt="#1565c0",Hwt="#4fc3f7",Uwt="#29b6f6",Wwt="#03a9f4",Fhe="#0288d1",Qwt="#01579b",Gwt="#81c784",Ywt="#66bb6a",qwt="#4caf50",Kwt="#388e3c",Zwt="#2e7d32",Jwt="#1b5e20";function sZe(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:PE.white,default:PE.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const cZe=sZe();function dZe(){return{text:{primary:PE.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:PE.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const kne=dZe();function Rhe(e,n,o,i){const a=i.light||i,s=i.dark||1.5*i;e[n]||(e.hasOwnProperty(o)?e[n]=e[o]:n==="light"?e.light=QR(e.main,a):n==="dark"&&(e.dark=WR(e.main,s)))}function Nhe(e,n,o,i,a){const s=a.light||a,c=a.dark||1.5*a;n[o]||(n.hasOwnProperty(i)?n[o]=n[i]:o==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(100*s).toFixed(0)}%)`:o==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(100*c).toFixed(0)}%)`))}function Ole(e){const{mode:n="light",contrastThreshold:o=3,tonalOffset:i=.2,colorSpace:a,...s}=e,c=e.primary||function(b="light"){return b==="dark"?{main:Rwt,light:Fwt,dark:Ohe}:{main:Nwt,light:Ohe,dark:Vwt}}(n),d=e.secondary||function(b="light"){return b==="dark"?{main:$wt,light:kwt,dark:jwt}:{main:Ewt,light:Awt,dark:Iwt}}(n),u=e.error||function(b="light"){return b==="dark"?{main:Dwt,light:Lwt,dark:zhe}:{main:zhe,light:Twt,dark:Pwt}}(n),p=e.info||function(b="light"){return b==="dark"?{main:Uwt,light:Hwt,dark:Fhe}:{main:Fhe,light:Wwt,dark:Qwt}}(n),h=e.success||function(b="light"){return b==="dark"?{main:Ywt,light:Gwt,dark:Kwt}:{main:Zwt,light:qwt,dark:Jwt}}(n),g=e.warning||function(b="light"){return b==="dark"?{main:Mwt,light:Bwt,dark:zwt}:{main:"#ed6c02",light:_wt,dark:Owt}}(n);function f(b){return a?function(C){return`oklch(from ${C} var(--__l) 0 h / var(--__a))`}(b):function(C,v){const S=Cne(C),$=Cne(v);return(Math.max(S,$)+.05)/(Math.min(S,$)+.05)}(b,kne.text.primary)>=o?kne.text.primary:cZe.text.primary}const x=({color:b,name:w,mainShade:C=500,lightShade:v=300,darkShade:S=700})=>{if(!(b={...b}).main&&b[C]&&(b.main=b[C]),!b.hasOwnProperty("main"))throw new Error(h4(11,w?` (${w})`:"",C));if(typeof b.main!="string")throw new Error(h4(12,w?` (${w})`:"",JSON.stringify(b.main)));return a?(Nhe(a,b,"light",v,i),Nhe(a,b,"dark",S,i)):(Rhe(b,"light",v,i),Rhe(b,"dark",S,i)),b.contrastText||(b.contrastText=f(b.main)),b};let y;return n==="light"?y=sZe():n==="dark"&&(y=dZe()),Fd({common:{...PE},mode:n,primary:x({color:c,name:"primary"}),secondary:x({color:d,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:u,name:"error"}),warning:x({color:g,name:"warning"}),info:x({color:p,name:"info"}),success:x({color:h,name:"success"}),grey:Swt,contrastThreshold:o,getContrastText:f,augmentColor:x,tonalOffset:i,...y},s)}function Xwt(e){const n={};return Object.entries(e).forEach(o=>{const[i,a]=o;typeof a=="object"&&(n[i]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),n}function eCt(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function tCt(e){return Math.round(1e5*e)/1e5}const Vhe={textTransform:"uppercase"},Hhe='"Roboto", "Helvetica", "Arial", sans-serif';function uZe(e,n){const{fontFamily:o=Hhe,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:u=16,allVariants:p,pxToRem:h,...g}=typeof n=="function"?n(e):n,f=i/14,x=h||(w=>w/u*f+"rem"),y=(w,C,v,S,$)=>({fontFamily:o,fontWeight:w,fontSize:x(C),lineHeight:v,...o===Hhe?{letterSpacing:`${tCt(S/C)}em`}:{},...$,...p}),b={h1:y(a,96,1.167,-1.5),h2:y(a,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(c,14,1.75,.4,Vhe),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,Vhe),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fd({htmlFontSize:u,pxToRem:x,fontFamily:o,fontSize:i,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:c,fontWeightBold:d,...b},g,{clone:!1})}function Xa(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const nCt=["none",Xa(0,2,1,-1,0,1,1,0,0,1,3,0),Xa(0,3,1,-2,0,2,2,0,0,1,5,0),Xa(0,3,3,-2,0,3,4,0,0,1,8,0),Xa(0,2,4,-1,0,4,5,0,0,1,10,0),Xa(0,3,5,-1,0,5,8,0,0,1,14,0),Xa(0,3,5,-1,0,6,10,0,0,1,18,0),Xa(0,4,5,-2,0,7,10,1,0,2,16,1),Xa(0,5,5,-3,0,8,10,1,0,3,14,2),Xa(0,5,6,-3,0,9,12,1,0,3,16,2),Xa(0,6,6,-3,0,10,14,1,0,4,18,3),Xa(0,6,7,-4,0,11,15,1,0,4,20,3),Xa(0,7,8,-4,0,12,17,2,0,5,22,4),Xa(0,7,8,-4,0,13,19,2,0,5,24,4),Xa(0,7,9,-4,0,14,21,2,0,5,26,4),Xa(0,8,9,-5,0,15,22,2,0,6,28,5),Xa(0,8,10,-5,0,16,24,2,0,6,30,5),Xa(0,8,11,-5,0,17,26,2,0,6,32,5),Xa(0,9,11,-5,0,18,28,2,0,7,34,6),Xa(0,9,12,-6,0,19,29,2,0,7,36,6),Xa(0,10,13,-6,0,20,31,3,0,8,38,7),Xa(0,10,13,-6,0,21,33,3,0,8,40,7),Xa(0,10,14,-6,0,22,35,3,0,8,42,7),Xa(0,11,14,-7,0,23,36,3,0,9,44,8),Xa(0,11,15,-7,0,24,38,3,0,9,46,8)],oCt={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},pZe={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Uhe(e){return`${Math.round(e)}ms`}function iCt(e){if(!e)return 0;const n=e/36;return Math.min(Math.round(10*(4+15*n**.25+n/5)),3e3)}function rCt(e){const n={...oCt,...e.easing},o={...pZe,...e.duration};return{getAutoHeightDuration:iCt,create:(i=["all"],a={})=>{const{duration:s=o.standard,easing:c=n.easeInOut,delay:d=0,...u}=a;return(Array.isArray(i)?i:[i]).map(p=>`${p} ${typeof s=="string"?s:Uhe(s)} ${c} ${typeof d=="string"?d:Uhe(d)}`).join(",")},...e,easing:n,duration:o}}const aCt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function lCt(e){return Bf(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function hZe(e={}){const n={...e};return function o(i){const a=Object.entries(i);for(let s=0;s<a.length;s++){const[c,d]=a[s];!lCt(d)||c.startsWith("unstable_")?delete i[c]:Bf(d)&&(i[c]={...d},o(i[c]))}}(n),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
3
3
 
4
4
  const theme = ${JSON.stringify(n,null,2)};
5
5
 
@@ -6595,7 +6595,7 @@ Initiate your first transfer to start earning yield.`,insuredFundsTooltip:"Secur
6595
6595
  padding-top: ${e=>Fu.ButtonContainerPaddingTop.valuePx(e.windowSize)};
6596
6596
  `,fxn=l.div``,xxn=l(e=>m.createElement("svg",{width:598,height:361,viewBox:"0 0 598 361",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{d:"M3 42V10C3 5.58172 6.58172 2 11 2H43",stroke:"#FEFEFE",strokeWidth:3,strokeLinejoin:"round"}),m.createElement("path",{d:"M595 42V10C595 5.58172 591.418 2 587 2H555",stroke:"#FEFEFE",strokeWidth:3,strokeLinejoin:"round"}),m.createElement("path",{d:"M3 319V351C3 355.418 6.58172 359 11 359H43",stroke:"#FEFEFE",strokeWidth:3,strokeLinejoin:"round"}),m.createElement("path",{d:"M595 319V351C595 355.418 591.418 359 587 359H555",stroke:"#FEFEFE",strokeWidth:3,strokeLinejoin:"round"}),m.createElement("path",{d:"M160 164.999C160 163.344 161.05 162 162.344 162L232.656 162C233.95 162 235 163.344 235 164.999C235 166.655 233.95 167.999 232.656 167.999L162.344 167.999C161.05 167.999 160 166.655 160 164.999Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M337.544 164.999C337.544 163.344 338.944 162 340.669 162L434.419 162C436.144 162 437.544 163.344 437.544 164.999C437.544 166.655 436.144 167.999 434.419 167.999L340.669 167.999C338.944 167.999 337.544 166.655 337.544 164.999Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M261.544 165C261.544 163.344 262.594 162 263.888 162L309.2 162C310.494 162 311.544 163.344 311.544 165C311.544 166.656 310.494 168 309.2 168L263.888 168C262.594 168 261.544 166.656 261.544 165Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M138 202C138 200.344 140.924 199 144.527 199L453.473 199C457.076 199 460 200.344 460 202C460 203.656 457.076 205 453.473 205L144.527 205C140.924 205 138 203.656 138 202Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M138 276C138 274.344 140.924 273 144.527 273L453.473 273C457.076 273 460 274.344 460 276C460 277.656 457.076 279 453.473 279L144.527 279C140.924 279 138 277.656 138 276Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M207 239C207 237.344 209.29 236 212.111 236L385.889 236C388.71 236 391 237.344 391 239C391 240.656 388.71 242 385.889 242L212.111 242C209.29 242 207 240.656 207 239Z",fill:"#FEFEFE"}),m.createElement("path",{d:"M3 113C234.19 51.6667 363.81 51.6667 595 113",stroke:"#FAFAFA",strokeWidth:5,strokeLinecap:"round"})))`
6597
6597
  transform: scale(1, 0.9);
6598
- `,yxn=l(ns)``,Jve="application/pdf",rdt=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],bxn={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2};async function wxn(e,n,o){const i=e.getViewport({scale:n}),a=document.createElement("canvas");a.width=Math.floor(i.width),a.height=Math.floor(i.height);const s=a.getContext("2d");if(s==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:s,viewport:i}).promise,(await function(c,d){return new Promise((u,p)=>{c.toBlob(h=>{h!=null?u(h):p(new Error("canvas.toBlob returned null"))},"image/jpeg",d)})}(a,o)).arrayBuffer()}async function Cxn(e,n){const o=e instanceof File?e:new File([e],n,{type:e.type});if(e.type===Jve){const a=await async function(s,c){const[{PDFDocument:d},u]=await Promise.all([rd(()=>import("./pdf-lib-BJaZbPRK.js").then(b=>b.i),__vite__mapDeps([0,1,2])),rd(()=>import("./pdf-B31DLhP9.js").then(b=>b.i),__vite__mapDeps([0,1,2])).then(b=>b.pdfjs)]),p=await s.arrayBuffer(),h=await u.getDocument({data:new Uint8Array(p)}).promise,g=h.numPages,f=await d.create();for(let b=1;b<=g;b++){const w=await h.getPage(b),C=await wxn(w,1.5,.7),v=await f.embedJpg(new Uint8Array(C)),S=v.scale(1);f.addPage([S.width,S.height]).drawImage(v,{x:0,y:0,width:S.width,height:S.height})}const x=await f.save(),y=c.toLowerCase().endsWith(".pdf")?c:`${c}.pdf`;return new File([x],y,{type:Jve,lastModified:s.lastModified})}(o,n);return a.size<o.size?{blob:a,name:a.name}:{blob:e,name:n}}const i=await(async(a,s)=>{if(rdt.includes(a.type)===!1)return a;const c=await Uc(a,bxn),d=c.type.split("/")[1],u=`${s.replace(/\.[^.]+$/,"")||"image"}.${d}`;return new File([c],u,{lastModified:a.lastModified,type:c.type})})(o,n);return{blob:i,name:i.name}}const vxn=({fileType:e="file",fileRef:n,name:o,value:i="",multiple:a=!1,acceptableTypes:s,onFileSizeError:c,onImageChange:d})=>t.jsx("input",{type:e,ref:n,name:o,value:i,size:1e3,"data-testid":K("input-file-element-mobile",o),onChange:async u=>{const p=u.target.files?.[0],h=p?.size;p!=null&&h!=null?(c?.(!1),d(p),u.target.value=""):(c?.(!0),u.target.value="")},style:{display:"none"},accept:`${(s??"image/jpg, image/jpeg").toString()}`,multiple:a,capture:!0}),dL=({shouldDisplay:e,width:n=30,height:o=30,styles:i,animationInLoop:a=!1})=>{const[,s]=gce(Hlt),[c]=Ar("MoneyTransferSuccess");return T.useEffect(()=>{e&&s(!0)},[e,s]),e&&c!=null?t.jsx(Ga,{style:{width:n,height:o,...i},play:!0,animationData:c,loop:a,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null};l.div`
6598
+ `,yxn=l(ns)``,Jve="application/pdf",rdt=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],bxn={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2};async function wxn(e,n,o){const i=e.getViewport({scale:n}),a=document.createElement("canvas");a.width=Math.floor(i.width),a.height=Math.floor(i.height);const s=a.getContext("2d");if(s==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:s,viewport:i}).promise,(await function(c,d){return new Promise((u,p)=>{c.toBlob(h=>{h!=null?u(h):p(new Error("canvas.toBlob returned null"))},"image/jpeg",d)})}(a,o)).arrayBuffer()}async function Cxn(e,n){const o=e instanceof File?e:new File([e],n,{type:e.type});if(e.type===Jve){const a=await async function(s,c){const[{PDFDocument:d},u]=await Promise.all([rd(()=>import("./pdf-lib-DFDlNXnV.js").then(b=>b.i),__vite__mapDeps([0,1,2])),rd(()=>import("./pdf-SAu_SEbF.js").then(b=>b.i),__vite__mapDeps([0,1,2])).then(b=>b.pdfjs)]),p=await s.arrayBuffer(),h=await u.getDocument({data:new Uint8Array(p)}).promise,g=h.numPages,f=await d.create();for(let b=1;b<=g;b++){const w=await h.getPage(b),C=await wxn(w,1.5,.7),v=await f.embedJpg(new Uint8Array(C)),S=v.scale(1);f.addPage([S.width,S.height]).drawImage(v,{x:0,y:0,width:S.width,height:S.height})}const x=await f.save(),y=c.toLowerCase().endsWith(".pdf")?c:`${c}.pdf`;return new File([x],y,{type:Jve,lastModified:s.lastModified})}(o,n);return a.size<o.size?{blob:a,name:a.name}:{blob:e,name:n}}const i=await(async(a,s)=>{if(rdt.includes(a.type)===!1)return a;const c=await Uc(a,bxn),d=c.type.split("/")[1],u=`${s.replace(/\.[^.]+$/,"")||"image"}.${d}`;return new File([c],u,{lastModified:a.lastModified,type:c.type})})(o,n);return{blob:i,name:i.name}}const vxn=({fileType:e="file",fileRef:n,name:o,value:i="",multiple:a=!1,acceptableTypes:s,onFileSizeError:c,onImageChange:d})=>t.jsx("input",{type:e,ref:n,name:o,value:i,size:1e3,"data-testid":K("input-file-element-mobile",o),onChange:async u=>{const p=u.target.files?.[0],h=p?.size;p!=null&&h!=null?(c?.(!1),d(p),u.target.value=""):(c?.(!0),u.target.value="")},style:{display:"none"},accept:`${(s??"image/jpg, image/jpeg").toString()}`,multiple:a,capture:!0}),dL=({shouldDisplay:e,width:n=30,height:o=30,styles:i,animationInLoop:a=!1})=>{const[,s]=gce(Hlt),[c]=Ar("MoneyTransferSuccess");return T.useEffect(()=>{e&&s(!0)},[e,s]),e&&c!=null?t.jsx(Ga,{style:{width:n,height:o,...i},play:!0,animationData:c,loop:a,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null};l.div`
6599
6599
  display: flex;
6600
6600
  overflow: hidden;
6601
6601
  width: 100%;
@@ -20402,7 +20402,7 @@ to {
20402
20402
  justify-content: center;
20403
20403
  align-items: center;
20404
20404
  margin-right: ${e=>yZn.approvalCountMarginRight.valuePx(e.windowSize)};
20405
- `,gpt=({card:e,data:n,actions:o,isExpenseAutomationEnabledForUser:i,analytics:a,dndProps:s})=>{const{isUncategorizedExpensesTransactionsExist:c,isUncategorizedIncomeTransactionsExist:d,isUncategorizedExpenseAccountIdentified:u,isUncategorizedIncomeAccountIdentified:p,numOfBillsPendingApproval:h,numOfReimbursementsPendingApproval:g}=n.tasks,f=u===!1||p===!1,x=ue();return t.jsx(vl,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:y=>s?.onDragStart(e.cardType,y),onDragOver:y=>s?.onDragOver(y,e.cardType),onDragLeave:y=>s?.onDragLeave(y),onDrop:y=>s?.onDrop(y,e.cardType),dimension:e.dimension,children:t.jsx(Zu,{card:e,actions:{onCardClick:()=>{},onReloadData:o.onReloadData},children:t.jsx(Cl,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(bZn,{windowSize:x,children:[t.jsx(wZn,{children:t.jsx(vZn,{children:ee.getLocalizedStrings().taskCard.title})}),t.jsxs(CZn,{children:[g>0&&t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("remi-awaiting-approval"),onClick:()=>{a?.trackReimbursementTaskCard(g),o.onCategoryClick?.("reimbursement","pending_approval","awaitingMyApproval")},"data-testid":K("dashboard-tasks-card-remi-awaiting-approval",e.cardType),children:[ee.getLocalizedStrings().taskCard.reimbursementsAwaitingApproval,t.jsxs(Cje,{children:[t.jsx(vje,{windowSize:x,textColor:W9("remi-awaiting-approval"),children:g}),t.jsx(H$,{})]})]})}),h>0&&t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("bills-awaiting-approval"),onClick:()=>{a?.trackBillPayTaskCard(h),o.onCategoryClick?.("bill-pay","pending_approval","awaiting_my_approval")},"data-testid":K("dashboard-tasks-card-bills-awaiting-approval",e.cardType),children:[ee.getLocalizedStrings().taskCard.billsAwaitingApproval,t.jsxs(Cje,{children:[t.jsx(vje,{windowSize:x,textColor:W9("bills-awaiting-approval"),children:h}),t.jsx(H$,{})]})]})}),f===!0?t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("uncategorized-account-mapping"),onClick:()=>o.onCategoryClick?.("uncategorized-account-mapping"),"data-testid":K("dashboard-tasks-card-uncategorized-account-mapping",e.cardType),children:[ee.getLocalizedStrings().taskCard.uncategorizedAccountMappingText,t.jsx(H$,{})]})}):null,!i&&c?t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("uncategorized-expense"),onClick:()=>o.onCategoryClick?.("uncategorized-expense"),"data-testid":K("dashboard-tasks-card-uncategorized-expense",e.cardType),children:[ee.getLocalizedStrings().taskCard.expensesText,t.jsx(H$,{})]})}):null,!i&&d?t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("uncategorized-income"),onClick:()=>o.onCategoryClick?.("uncategorized-income"),"data-testid":K("dashboard-tasks-card-uncategorized-income",e.cardType),children:[ee.getLocalizedStrings().taskCard.incomeText,t.jsx(H$,{})]})}):null]})]})})})},e.cardIndex)},W9=e=>{switch(e){case"uncategorized-income":return new Zt(w2.graphColor33);case"uncategorized-expense":return new Zt(w2.graphColor17);case"bills-awaiting-approval":return new Zt(w2.graphColor09);case"remi-awaiting-approval":return new Zt(w2.graphColor05);case"uncategorized-account-mapping":return new Zt(w2.graphColor34);default:return new Zt(Vo.brandColorJadeDark)}};T.memo(gpt);const _de=e=>m.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("g",{filter:"url(#filter0_f_251_38441)"},m.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),m.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),m.createElement("g",{filter:"url(#filter1_d_251_38441)"},m.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),m.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),m.createElement("g",{clipPath:"url(#clip0_251_38441)"},m.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),m.createElement("defs",null,m.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},m.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),m.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),m.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),m.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},m.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),m.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),m.createElement("feOffset",{dy:4}),m.createElement("feGaussianBlur",{stdDeviation:2}),m.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),m.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),m.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),m.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),m.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("clipPath",{id:"clip0_251_38441"},m.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"})))),Sje=m.lazy(()=>rd(()=>import("./index-BC1PrBTy.js"),__vite__mapDeps([3,0,1,2])));function zde({src:e,autoPlay:n=!0,config:o,controls:i=!0,height:a="100%",isModalOpen:s,loop:c=!1,muted:d=!1,showPlayButton:u=!1,style:p,thumbnail:h,width:g="100%",onEnded:f,onModalClose:x,onPlay:y}){const b=ue(),[w,C]=m.useState(!1);m.useEffect(()=>{s===!0&&n?C(!0):s===!1&&C(!1)},[s,n]);const v={};o?.youtube&&(v.youtube=o.youtube);const S=()=>{C(!1),f?.(),s!=null&&x?.()},$=()=>{C(!0),y?.()};return s!=null?s?Tr.createPortal(t.jsx(jZn,{windowSize:b,role:"presentation",children:t.jsx(Yn,{onClickAway:()=>{C(!1),x?.()},children:t.jsx(EZn,{windowSize:b,"data-testid":"video-player-modal",children:t.jsxs(IZn,{children:[u&&!w&&t.jsxs(t.Fragment,{children:[h!=null&&h!==""&&t.jsx(AZn,{src:h,alt:"Video thumbnail"}),t.jsx(kZn,{onClick:()=>{C(!0),y?.()},children:t.jsx($Zn,{windowSize:b})})]}),(!u||w)&&t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:"100%",height:"100%"}}),children:t.jsx(Sje,{src:e,playing:w,controls:i,muted:d,loop:c,width:"100%",height:"100%",onEnded:S,onPlay:$,config:v})})]})})})}),document.body):null:t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:g,height:a,...p}}),children:t.jsx(Sje,{src:e,playing:w,controls:i,muted:d,loop:c,width:g,height:a,style:p,light:!(!u||w)&&(h??!0),onEnded:S,onPlay:$,config:v})})}const SZn=zn`
20405
+ `,gpt=({card:e,data:n,actions:o,isExpenseAutomationEnabledForUser:i,analytics:a,dndProps:s})=>{const{isUncategorizedExpensesTransactionsExist:c,isUncategorizedIncomeTransactionsExist:d,isUncategorizedExpenseAccountIdentified:u,isUncategorizedIncomeAccountIdentified:p,numOfBillsPendingApproval:h,numOfReimbursementsPendingApproval:g}=n.tasks,f=u===!1||p===!1,x=ue();return t.jsx(vl,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:y=>s?.onDragStart(e.cardType,y),onDragOver:y=>s?.onDragOver(y,e.cardType),onDragLeave:y=>s?.onDragLeave(y),onDrop:y=>s?.onDrop(y,e.cardType),dimension:e.dimension,children:t.jsx(Zu,{card:e,actions:{onCardClick:()=>{},onReloadData:o.onReloadData},children:t.jsx(Cl,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(bZn,{windowSize:x,children:[t.jsx(wZn,{children:t.jsx(vZn,{children:ee.getLocalizedStrings().taskCard.title})}),t.jsxs(CZn,{children:[g>0&&t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("remi-awaiting-approval"),onClick:()=>{a?.trackReimbursementTaskCard(g),o.onCategoryClick?.("reimbursement","pending_approval","awaitingMyApproval")},"data-testid":K("dashboard-tasks-card-remi-awaiting-approval",e.cardType),children:[ee.getLocalizedStrings().taskCard.reimbursementsAwaitingApproval,t.jsxs(Cje,{children:[t.jsx(vje,{windowSize:x,textColor:W9("remi-awaiting-approval"),children:g}),t.jsx(H$,{})]})]})}),h>0&&t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("bills-awaiting-approval"),onClick:()=>{a?.trackBillPayTaskCard(h),o.onCategoryClick?.("bill-pay","pending_approval","awaiting_my_approval")},"data-testid":K("dashboard-tasks-card-bills-awaiting-approval",e.cardType),children:[ee.getLocalizedStrings().taskCard.billsAwaitingApproval,t.jsxs(Cje,{children:[t.jsx(vje,{windowSize:x,textColor:W9("bills-awaiting-approval"),children:h}),t.jsx(H$,{})]})]})}),f===!0?t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("uncategorized-account-mapping"),onClick:()=>o.onCategoryClick?.("uncategorized-account-mapping"),"data-testid":K("dashboard-tasks-card-uncategorized-account-mapping",e.cardType),children:[ee.getLocalizedStrings().taskCard.uncategorizedAccountMappingText,t.jsx(H$,{})]})}):null,!i&&c?t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("uncategorized-expense"),onClick:()=>o.onCategoryClick?.("uncategorized-expense"),"data-testid":K("dashboard-tasks-card-uncategorized-expense",e.cardType),children:[ee.getLocalizedStrings().taskCard.expensesText,t.jsx(H$,{})]})}):null,!i&&d?t.jsx(N$,{children:t.jsxs(V$,{textColor:W9("uncategorized-income"),onClick:()=>o.onCategoryClick?.("uncategorized-income"),"data-testid":K("dashboard-tasks-card-uncategorized-income",e.cardType),children:[ee.getLocalizedStrings().taskCard.incomeText,t.jsx(H$,{})]})}):null]})]})})})},e.cardIndex)},W9=e=>{switch(e){case"uncategorized-income":return new Zt(w2.graphColor33);case"uncategorized-expense":return new Zt(w2.graphColor17);case"bills-awaiting-approval":return new Zt(w2.graphColor09);case"remi-awaiting-approval":return new Zt(w2.graphColor05);case"uncategorized-account-mapping":return new Zt(w2.graphColor34);default:return new Zt(Vo.brandColorJadeDark)}};T.memo(gpt);const _de=e=>m.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("g",{filter:"url(#filter0_f_251_38441)"},m.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),m.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),m.createElement("g",{filter:"url(#filter1_d_251_38441)"},m.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),m.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),m.createElement("g",{clipPath:"url(#clip0_251_38441)"},m.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),m.createElement("defs",null,m.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},m.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),m.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),m.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),m.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},m.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),m.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),m.createElement("feOffset",{dy:4}),m.createElement("feGaussianBlur",{stdDeviation:2}),m.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),m.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),m.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),m.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),m.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},m.createElement("stop",{stopColor:"#7135FF"}),m.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),m.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),m.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),m.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),m.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),m.createElement("stop",{offset:1,stopColor:"#EE609C"})),m.createElement("clipPath",{id:"clip0_251_38441"},m.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"})))),Sje=m.lazy(()=>rd(()=>import("./index-jkshGKhR.js"),__vite__mapDeps([3,0,1,2])));function zde({src:e,autoPlay:n=!0,config:o,controls:i=!0,height:a="100%",isModalOpen:s,loop:c=!1,muted:d=!1,showPlayButton:u=!1,style:p,thumbnail:h,width:g="100%",onEnded:f,onModalClose:x,onPlay:y}){const b=ue(),[w,C]=m.useState(!1);m.useEffect(()=>{s===!0&&n?C(!0):s===!1&&C(!1)},[s,n]);const v={};o?.youtube&&(v.youtube=o.youtube);const S=()=>{C(!1),f?.(),s!=null&&x?.()},$=()=>{C(!0),y?.()};return s!=null?s?Tr.createPortal(t.jsx(jZn,{windowSize:b,role:"presentation",children:t.jsx(Yn,{onClickAway:()=>{C(!1),x?.()},children:t.jsx(EZn,{windowSize:b,"data-testid":"video-player-modal",children:t.jsxs(IZn,{children:[u&&!w&&t.jsxs(t.Fragment,{children:[h!=null&&h!==""&&t.jsx(AZn,{src:h,alt:"Video thumbnail"}),t.jsx(kZn,{onClick:()=>{C(!0),y?.()},children:t.jsx($Zn,{windowSize:b})})]}),(!u||w)&&t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:"100%",height:"100%"}}),children:t.jsx(Sje,{src:e,playing:w,controls:i,muted:d,loop:c,width:"100%",height:"100%",onEnded:S,onPlay:$,config:v})})]})})})}),document.body):null:t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:g,height:a,...p}}),children:t.jsx(Sje,{src:e,playing:w,controls:i,muted:d,loop:c,width:g,height:a,style:p,light:!(!u||w)&&(h??!0),onEnded:S,onPlay:$,config:v})})}const SZn=zn`
20406
20406
  0% {
20407
20407
  transform: rotate(0deg);
20408
20408
  }
@@ -73889,7 +73889,7 @@ ${Sa.beneficiaryAddress} ${ne}`,d(ge),I(!0)})(o),"data-testid":K("title-text-cop
73889
73889
  display: flex;
73890
73890
  min-height: 100%;
73891
73891
  flex-direction: column;
73892
- `,O8r=()=>{const[e,n]=m.useState(()=>Si.getSignedInUser()),o=r3(),[i,a]=m.useState(!1),[s,c]=m.useState(!1),d=fi(g=>EKe(g).fetchState),u=fi(g=>Uu(g));m.useEffect(()=>{const g=e!=null&&e.authProvider==="email"&&(!e?.firstName||!e?.lastName||!e.phoneNumber);a(g)},[e]);const p=m.useCallback(()=>{const g=Si.getSignedInUser();n(f=>JSON.stringify(f)!==JSON.stringify(g)?g:f)},[]);m.useEffect(()=>(window.addEventListener("completeProfileDone",p),()=>{window.removeEventListener("completeProfileDone",p)}),[]),m.useEffect(()=>{d!=="In-Progress"&&d!=="Completed"&&o(Ayt(u.companyId))},[d,u.companyId,o]);const h=m.useMemo(()=>!!e?.firstName&&!e?.phoneNumber,[e]);return Dt.jsxs(m.Fragment,{children:[s&&Dt.jsx(Ede,{showConfetti:!0}),e?.userEmail!=null&&e.authProvider==="email"?Dt.jsx(_8r,{userEmail:e.userEmail,isCompleteProfileOpen:i,closeDrawerHandler:()=>{a(!1),c(!0)},hasUserEnteredBasicDetails:h}):null]})},hqe="init-enter",F8r=m.memo(function({location:e,visitedUrl:n}){const{pathname:o}=e;return m.useLayoutEffect(()=>{const i=n.get(o||hqe);R8r(i!==void 0?i:0)}),null},(e,n)=>{const{location:o,visitedUrl:i}=e,{location:a}=n,s=o.pathname||hqe,c=N8r();return i.set(s,c),!((a.pathname!==o.pathname||a.search!==o.search)&&a.hash==="")}),R8r=(e=0)=>window.requestAnimationFrame(()=>{window.scrollTo(0,e)}),N8r=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},x9t=m.createContext(void 0),V8r=({children:e})=>{const{tenantEmailDomain:n}=J9t(),o=n!=null?Si.getSignedInUserTenant(n):void 0,i=fi(u=>Uu(u)),a=DI().tenantId,s=o?.tenantId,c=i?.tenantId,d=m.useMemo(()=>s!=null&&s===c&&c===a,[s,c,a]);return Dt.jsx(x9t.Provider,{value:{areTenantIdsInSync:d,tenantIdFromEmailDomain:s,currentTenantId:c,tenantIdFromConfig:a},children:e})},Uwr=()=>{const e=m.useContext(x9t);if(!e)throw new Error("useTenantSync must be used within a TenantSyncProvider");return e},Kp=e=>m.lazy(async()=>{const n=e.toString(),o=Si.getForceRefreshedComponents(),i=new Set(o),a=Si.isSignedIn(),s=i.has(n);try{const c=await e();return i.delete(n),a&&Si.saveForceRefreshedComponents(Array.from(i)),c}catch(c){throw s||(i.add(n),a&&Si.saveForceRefreshedComponents(Array.from(i)),location.reload()),c}}),y9t=globalThis.window?.location.href.startsWith("https://delhi-dot-zeni"),b9t=globalThis.window?.location.href.startsWith("https://pune-dot-zeni"),w9t=globalThis.window?.location.href.startsWith("https://sunnyvale-dot-zeni"),C9t=globalThis.window?.location.href.startsWith("https://dev.app.zeni.ai");function Gl(...e){const n=yc==="DEV"||yc==="QA";if(y9t||b9t||w9t||C9t)return void console.log(...e);const o=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&o&&console.log(...e)}function tS(...e){const n=yc==="DEV"||yc==="QA";if(y9t||b9t||w9t||C9t)return void console.warn(...e);const o=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&o&&console.warn(...e)}let AC=null,sj=!1;const Yl=yc==="PROD"?"https://api.zeni.ai":yc==="DEV"?"https://dev.api.zeni.ai":"https://qa.api.zeni.ai";function mqe(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),o=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),a=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),s=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),c=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),d=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),u=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),p=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]}));return[{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Reports - Profit & Loss by Months (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${o}`,priority:"HIGH",reason:"Reports - Profit & Loss by Quarters (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Reports - Profit & Loss by Years (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/balance_sheet?query=${a}`,priority:"HIGH",reason:"Reports - Balance Sheet by Months (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/balance_sheet?query=${s}`,priority:"HIGH",reason:"Reports - Balance Sheet by Quarters (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/balance_sheet?query=${c}`,priority:"HIGH",reason:"Reports - Balance Sheet by Years (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/cash_flow?query=${d}`,priority:"HIGH",reason:"Reports - Cash Flow by Months (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/cash_flow?query=${u}`,priority:"HIGH",reason:"Reports - Cash Flow by Quarters (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/cash_flow?query=${p}`,priority:"HIGH",reason:"Reports - Cash Flow by Years (first load)",apiType:"reports"}]}const H8r={dashboard:function(e){return[...mqe()]},reports:mqe,aging:function(e){return[]},transactions:function(e){return[]},forecast:function(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),o=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"],forecast_id:e.forecastId,is_forecast_vs_actual:!0}));return[{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Months (first load)",apiType:"forecast"},{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${o}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Quarters (first load)",apiType:"forecast"},{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Years (first load)",apiType:"forecast"}]},checking:function(e){const n=encodeURIComponent(JSON.stringify({is_include_deposit_accounts_summary:!0}));return[{url:`${Yl}/banking/1.0/deposit-accounts?query=${n}`,priority:"HIGH",reason:"Checking - Deposit Accounts (first load)",apiType:"checking"},{url:`${Yl}/pay/1.0/payment-accounts`,priority:"HIGH",reason:"Checking - Payment Accounts (first load)",apiType:"checking"},{url:`${Yl}/banking/1.0/baas/config`,priority:"HIGH",reason:"Checking - BAAS Config (first load)",apiType:"checking"}]},rewards:function(e){const n=encodeURIComponent(JSON.stringify({is_primary_refer_reward_plan:!0}));return[{url:`${Yl}/tenant/1.0/company-refer-reward-plan?query=${n}`,priority:"HIGH",reason:"Rewards Page - Rewards Plan (first load)",apiType:"rewards"},{url:`${Yl}/tenant/1.0/company-referrals`,priority:"HIGH",reason:"Rewards Page - Referrals (first load)",apiType:"rewards"}]},people:function(e){const n=encodeURIComponent(JSON.stringify({is_manager_candidate:!0})),{companyId:o}=e,i=encodeURIComponent(JSON.stringify({view:"passport"}));return[{url:`${Yl}/tenant/1.0/user-roles`,priority:"HIGH",reason:"People Page - User Roles (first load)",apiType:"people"},{url:`${Yl}/tenant/1.0/users?query=${n}`,priority:"HIGH",reason:"People Page - Users (first load)",apiType:"people"},{url:`${Yl}/accounting/1.0/classes`,priority:"HIGH",reason:"People Page - Classes (first load)",apiType:"people"},{url:`${Yl}/tenant/1.0/companies/${o}?query=${i}`,priority:"HIGH",reason:"People Page - Company Passport (first load)",apiType:"people"}]}};function gqe(e){const{currentPage:n,isRewardsFeatureEnabled:o,isPeopleTabVisible:i,isReportsPageVisible:a,isPageIndependent:s=!1}=e,c=(0,H8r[s?"dashboard":n])(e),d=c.filter(u=>o===!1&&u.reason.includes("Rewards")?(Gl(`[Prefetch Manager - Service Worker] ⚠️ Skipping rewards URL (feature disabled): ${u.url}`),!1):i===!1&&u.reason.includes("People")?(Gl(`[Prefetch Manager - Service Worker] ⚠️ Skipping people URL (feature disabled): ${u.url}`),!1):a!==!1||!u.reason.includes("Reports")||(Gl(`[Prefetch Manager - Service Worker] ⚠️ Skipping reports URL (feature disabled): ${u.url}`),!1));return Gl(`[Prefetch Manager - Service Worker] 📋 Prefetch list: ${c.length} total, ${d.length} after filtering`),d}async function fqe(e,n=0,o){if("serviceWorker"in navigator)try{const i=await async function(u=1e4){if(!("serviceWorker"in navigator))throw new Error("Service Worker not supported");if(navigator.serviceWorker.controller)return navigator.serviceWorker.ready;const p=await navigator.serviceWorker.ready;return navigator.serviceWorker.controller!=null?p:new Promise((h,g)=>{const f=Date.now();let x=100;const y=()=>navigator.serviceWorker.controller?(C(),void h(p)):Date.now()-f>=u?(C(),void(p.active?(Gl("[Prefetch Manager - Service Worker] ⚠️ No controller but SW is active, proceeding anyway"),h(p)):g(new Error("Service Worker controller timeout")))):(x=Math.min(1.5*x,1e3),void(b=setTimeout(y,x)));let b;const w=()=>{navigator.serviceWorker.controller&&(C(),h(p))},C=()=>{clearTimeout(b),navigator.serviceWorker.removeEventListener("controllerchange",w)};navigator.serviceWorker.addEventListener("controllerchange",w),b=setTimeout(y,x)})}(1e4),a=navigator.serviceWorker.controller||i.active;if(!a)return void tS("[Prefetch Manager - Service Worker] No active Service Worker available");const s=function(u){const p={HIGH:0,MEDIUM:1,LOW:2};return u.sort((h,g)=>p[h.priority]-p[g.priority])}(e);Gl("[Prefetch Manager - Service Worker] 📋 Sending prefetch list to SW:",{total:s.length,high:s.filter(u=>u.priority==="HIGH").length,medium:s.filter(u=>u.priority==="MEDIUM").length,low:s.filter(u=>u.priority==="LOW").length,batchSize:n>0?n:"disabled",expirationTime:o??"20 minutes",viaController:!!navigator.serviceWorker.controller}),s.forEach((u,p)=>{Gl(`[Prefetch Manager - Service Worker] ${p+1}. [${u.priority}] ${u.reason} - ${u.url}`),Gl(` URL: ${u.url}`)});const c=DI(),d={"zeni-session-id":c.sessionId,"zeni-user-id":c.userId,"zeni-tenant-id":c.tenantId};a.postMessage({type:"PREFETCH_URLS",payload:{urls:s.map(u=>({url:u.url,priority:u.priority,apiType:u.apiType})),authHeaders:d,batchSize:n,expirationTime:o}}),Gl("[Prefetch Manager - Service Worker] ✅ Prefetch request sent to Service Worker")}catch(i){tS("[Prefetch Manager - Service Worker] Failed to send prefetch request:",i instanceof Error?i.message:"Unknown error")}else tS("[Prefetch Manager - Service Worker] Service Worker not supported in this browser")}function U8r({children:e,currentPage:n,tenantId:o,batchCalls:i=0,expirationTime:a,delay:s=1e3,enabled:c=!0,enableIdlePrefetch:d=!1,features:u,forecastId:p,idleTimeout:h=2e3,isPageIndependent:g=!1,isRefreshTriggerEnabled:f=!1}){const[x,y]=m.useState(!1),[b,w]=m.useState(!1),C=m.useRef(null),v=e0(),S=Si.getSignedInUser(),{useFeatureGate:$}=os(),{isFeatureEnabled:j}=$(qi.isReferralFeatureEnabled),A=pn(),E=A7(A?.loggedInUserRole??[]),L=fi(R=>Uu(R)),{isFeatureEnabled:I}=$(qi.isDebitCardFeatureEnabled),_=vKe(I,L),z=CKe(L),M=_===!1&&z===!1;return m.useEffect(()=>{if(!c||x||!S||!o)return;const R=gqe({currentPage:n,userId:S.userId,tenantId:o,sessionId:S.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:j,isPeopleTabVisible:E,isReportsPageVisible:M,companyId:L?.companyId??"",isPageIndependent:g}),N=g?"dashboard":n;if(R.length===0)return void Gl(`[Prefetch Provider - ${N}${g?" (base)":""}] No URLs to prefetch`);Gl(`[Prefetch Provider - ${N}${g?" (base)":""}] 📦 Generated ${R.length} URLs to prefetch`);const O=setTimeout(()=>{fqe(R,i,a).catch(F=>{tS(`[Prefetch Provider - ${N}${g?" (base)":""}] Prefetch failed:`,F)}),y(!0)},s);return()=>clearTimeout(O)},[c,x,S,o,n,u,p,j,E,M,L?.companyId,g,i,a,s,v.pathname]),m.useEffect(()=>{y(!1)},[o,v.pathname]),m.useEffect(()=>{g||(y(!1),w(!1))},[v.pathname,g]),m.useEffect(()=>{if(C.current&&(C.current(),C.current=null),!(c&&d&&S&&o)||b)return;Gl(`[Prefetch Provider - Idle] 👀 Setting up idle prefetch detection (timeout: ${h}ms)`);const R=function(N){const{timeout:O=2e3,onIdle:F}=N;Gl(`[Idle Detection - Service Worker] 👀 Starting Idle Detection - Service Worker (timeout: ${O}ms)`);const P=()=>{sj&&(Gl("[Idle Detection - Service Worker] 🏃 User became active again"),sj=!1),AC&&clearTimeout(AC),AC=setTimeout(()=>{sj||(Gl("[Idle Detection - Service Worker] ⏱️ Browser is now IDLE"),sj=!0,F())},O)},H=["mousedown","mousemove","keypress","scroll","touchstart","click"];return H.forEach(V=>{document.addEventListener(V,P,!0)}),P(),()=>{Gl("[Idle Detection - Service Worker] 🛑 Stopping Idle Detection - Service Worker"),AC&&(clearTimeout(AC),AC=null),H.forEach(V=>{document.removeEventListener(V,P,!0)}),sj=!1}}({timeout:h,onIdle:()=>{if(b)return;Gl("[Prefetch Provider - Idle] ⏱️ Browser is idle, fetching prefetch list with isIdleCallEnabled=true");const N=gqe({currentPage:n,userId:S.userId,tenantId:o,sessionId:S.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:j,isPeopleTabVisible:E,isReportsPageVisible:M,companyId:L.companyId,isPageIndependent:g,isIdleCallEnabled:!0}),O=g?"dashboard":n;N.length!==0?(Gl(`[Prefetch Provider - Idle - ${O}${g?" (base)":""}] 📦 Generated ${N.length} URLs to prefetch on idle`),fqe(N,i,a).catch(F=>{tS(`[Prefetch Provider - Idle - ${O}${g?" (base)":""}] Idle prefetch failed:`,F)}),w(!0)):Gl(`[Prefetch Provider - Idle - ${O}${g?" (base)":""}] No URLs to prefetch on idle`)}});return C.current=R,()=>{C.current&&(C.current(),C.current=null)}},[c,d,h,S,o,b,n,u,p,j,E,M,L.companyId,g,i,a]),m.useEffect(()=>{w(!1)},[o]),m.useEffect(()=>{(function(){const R=performance.getEntriesByType("navigation");if(R.length>0)return R[0].type==="reload";const N=performance.navigation;return!(!N||typeof N.type!="number")&&N.type===1})()&&f&&(Gl("[Prefetch Provider] 🔄 Page refresh detected - will bypass cache for fresh data"),async function(){if("serviceWorker"in navigator)try{const R=await navigator.serviceWorker.ready,N=navigator.serviceWorker.controller||R.active;if(!N)return;Gl("[Prefetch Provider] 🔄 Page refresh detected, notifying service worker to bypass cache"),N.postMessage({type:"PAGE_REFRESH",payload:{timestamp:Date.now()}})}catch(R){tS("[Prefetch Provider] Failed to notify service worker of refresh:",R)}}())},[]),Dt.jsx(Dt.Fragment,{children:e})}function W8r({children:e,isPageIndependent:n=!1,batchCalls:o=0,enableIdlePrefetch:i=!1,expirationTime:a,idleTimeout:s=2e3,isRefreshTriggerEnabled:c=!1}){const d=e0(),u=fi(y=>Uu(y)),p=(h=d.pathname).includes("/dashboard")?"dashboard":h.includes("/reports")||h.includes("/financials")?"reports":h.includes("/aging")?"aging":h.includes("/transactions")?"transactions":h.includes("/forecast")?"forecast":h.includes("/checking")||h.includes("/bank-accounts")?"checking":h.includes("/rewards")?"rewards":null;var h;const g=u.tenantId,{useFeatureGate:f}=os(),{isFeatureEnabled:x}=f(qi.isServiceWorkerPrefetchingEnabled);return g&&p?Dt.jsx(U8r,{currentPage:p,tenantId:g,delay:5e3,enabled:x,batchCalls:o,enableIdlePrefetch:i,expirationTime:a,idleTimeout:s,isRefreshTriggerEnabled:c,isPageIndependent:n,children:e}):Dt.jsx(Dt.Fragment,{children:e})}function Q8r(e,n){const o=ro.extractUtmParamsFromUrl(n),i=new URLSearchParams(o).toString();if(!i)return e;const a=e.includes("?")?"&":"?";return`${e}${a}${i}`}const G8r=Kp(()=>rd(()=>import("./DefaultTenantHome-Cu24mQdG.js"),__vite__mapDeps([4,1,2,0,5,6,7,8]))),xqe=Kp(()=>rd(()=>Promise.resolve().then(()=>m8r),void 0)),yqe=Kp(()=>rd(()=>import("./ScreenRoutes-CbuBXRoq.js"),__vite__mapDeps([9,0,1,2,5,10,6,7,8]))),Y8r=Kp(()=>rd(()=>import("./ConnectionAuthScreen-CGIK6duf.js"),__vite__mapDeps([11,1,2,0,5,6,12,8,13,14,15,16,17,7]))),q8r=Kp(()=>rd(()=>import("./SignInScreen-DegCyRah.js"),__vite__mapDeps([18,1,2,0,5,19,10,6,7,8]))),K8r=Kp(()=>rd(()=>import("./MagicLinkSignInScreen-X0YMlO94.js"),__vite__mapDeps([20,1,2,0,5,19,10,6,7,8]))),bqe=Kp(()=>rd(()=>import("./NotFoundScreen-CeLQUNEa.js"),__vite__mapDeps([21,1,2,0,5,7,8]))),Z8r=Kp(()=>rd(()=>import("./MagicLinkRoutes-Cb21pYTK.js"),__vite__mapDeps([22,1,2,0,5,21,7,8]))),J8r=Kp(()=>rd(()=>import("./WiseConfirmationScreen-C-CMayHy.js"),__vite__mapDeps([23,1,2,0,5,7,8]))),X8r=Kp(()=>rd(()=>import("./HubSpotOAuthCallbackScreen-Ey74LUTw.js"),__vite__mapDeps([24,1,2,0,5,7,8]))),exr=Kp(()=>rd(()=>import("./CustomerOnboardingAuthScreen-C7l8GcmG.js"),__vite__mapDeps([25,1,2,0,12,8,13,14,15,16,5,17,7]))),txr=Kp(()=>rd(()=>import("./SignOutScreen-DhCUt8NL.js"),__vite__mapDeps([26,1,2,0,5,7,8]))),nxr=Kp(()=>rd(()=>import("./OAuthConsentScreen-jvssXoBP.js"),__vite__mapDeps([27,1,2,0,5,7,8]))),oxr=()=>{const e=e0(),n=new URLSearchParams(e.search),o=n.get("question"),i=o?.replace(/^["']|["']$/g,"")??null,a=n.get("should_submit")==="true",s=Q8r("/",n);return Dt.jsx(zqe,{to:s,replace:!0,state:{origin:"/aicfo",message:"",queryParams:{aiCfoQuestion:i,aiCfoShouldSubmit:a?"true":"false"}}})};function wqe(){const{isOpen:e}=mb(),n=h5n(),{isAiCfoOpen:o,setIsAiCfoOpen:i}=aW(),a=m.useRef(!1),s=m.useRef(o),c=m.useRef(!1);return m.useLayoutEffect(()=>{const d=o&&!s.current;s.current=o,d&&e&&(i(!1),n(),c.current=!0)},[o,e,i,n]),m.useEffect(()=>{e&&!a.current&&(c.current=!1,o&&i(!1)),a.current=e},[e,o,i]),m.useEffect(()=>{!e&&c.current&&(c.current=!1,i(!0))},[e,i]),null}const ixr=({tenantEmailDomain:e,setTenantEmailDomain:n})=>{const o=Si.isSignedIn(),i=fi(M=>Uu(M)),a=Si.getSignedInUser(),s=o&&$4(a),c=fi(M=>jyt(M)).tenantsBaseInOrder.map(M=>({companyId:M.companyId,tenantId:M.tenantId,companyName:M.companyName})),d={userId:a?.userId??"",sessionId:a?.zeniSessionId??"",tenantId:i.tenantId??""},u=r3(),p=pc(["/:tenantEmailDomain/dashboard/*","/:tenantEmailDomain/dashboard"]),h=cpe(),g=p9t(),[f,x]=m.useState(!1),[y,b]=m.useState(null),w=m.useMemo(()=>({isAiCfoOpen:f,setIsAiCfoOpen:x,aiCfoSidePanelQuestionToSubmit:y,setAiCfoSidePanelQuestionToSubmit:b}),[f,y,x,b]),{useFeatureGate:C}=os(),{isFeatureEnabled:v}=C(qi.isAiCfoFileUploadEnabled),{isFeatureEnabled:S}=C(qi.isBillPayCommentingEnabled),{isFeatureEnabled:$}=C(qi.isReimbursementCommentingEnabled),{isFeatureEnabled:j}=C(qi.isExpenseAutomationEnabled),{isFeatureEnabled:A}=C(qi.isExpenseAutomationEnabledV2),{isFeatureEnabled:E}=C(qi.isTreasuryCommentingEnabled),{isFeatureEnabled:L}=C(qi.isCheckingCommentingEnabled),{isFeatureEnabled:I}=C(qi.isTransactionCommentingEnabled),{isFeatureEnabled:_}=C(qi.isCardsCommentingEnabled),z=S||$||s&&j||!s&&A||E||L||I||_;return m.useEffect(()=>{!h&&f&&x(!1)},[h,f]),m.useEffect(()=>{h||u(Eyt())},[u,h]),Dt.jsx(p5n,{children:i.tenantId!=null?Dt.jsx(MUi,{roomId:`dashboard_${i.companyId}`,authParams:d,users:[],companies:c,authUrlEndPoint:`${NS.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!0,commentingUsersUrlEndPoint:`${NS.tenantMicroServiceBaseUrl}/1.0/users/commenting-users`,isZeniUser:s,autoConnect:s||I||_,loggedInUser:a,withRoomProvider:!0,withThreadsProvider:z,threadsIndexStrategy:"roomThreads",filter:{application:"dashboard",companyId:i.companyId},children:Dt.jsxs(rle.Provider,{value:w,children:[Dt.jsx(wqe,{}),Dt.jsxs(Sqe,{children:[Dt.jsx(xqe,{tenantEmailDomain:e}),Dt.jsx(vqe,{children:Dt.jsx(Cqe,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v})})]})]})}):Dt.jsx(zUi,{children:Dt.jsxs(rle.Provider,{value:w,children:[Dt.jsx(wqe,{}),Dt.jsxs(Sqe,{children:[Dt.jsx(xqe,{tenantEmailDomain:e}),Dt.jsx(vqe,{children:Dt.jsx(Cqe,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v})})]})]})})})},Cqe=({setTenantEmailDomain:e,isOnDashboard:n,userHasZeniAiCfoAccess:o,isAiCfoFileUploadEnabled:i})=>{const a=fi(x=>x.tenantState.loggedInUser),{useDynamicConfig:s}=os(),{configValue:c}=s(Pm.webappPrefetchConfig),d=typeof c.SERVICE_WORKER_BATCH_CALLS=="number"?c.SERVICE_WORKER_BATCH_CALLS:15,u=typeof c.SERVICE_WORKER_IDLE_TIMEOUT=="number"?c.SERVICE_WORKER_IDLE_TIMEOUT:3e3,p=typeof c.EXPIRATION_TIME=="number"&&c.EXPIRATION_TIME>0?c.EXPIRATION_TIME:12e5,{clearLoading:h}=lW(),{isAiCfoOpen:g,setIsAiCfoOpen:f}=aW();return m.useEffect(()=>{h(ppe.APP_INITIALIZATION)},[h]),Dt.jsx(m.Suspense,{fallback:null,children:Dt.jsx(W8r,{isPageIndependent:!0,batchCalls:d,isRefreshTriggerEnabled:!1,enableIdlePrefetch:!1,idleTimeout:u,expirationTime:p,children:Dt.jsxs(X9t,{children:[Dt.jsx(J1,{path:"/magic_links/*",element:Dt.jsx(Z8r,{})}),Dt.jsx(J1,{path:"/wise/callback/link-account/*",element:Dt.jsx(J8r,{})}),Dt.jsx(J1,{path:"/page-not-found",element:Dt.jsx(bqe,{})}),Dt.jsx(J1,{path:"/",element:Dt.jsx(G8r,{})}),Dt.jsx(J1,{path:"/aicfo",element:Dt.jsx(oxr,{})}),Dt.jsx(J1,{path:"/onboarding/auth",element:Dt.jsx(exr,{})}),Dt.jsx(J1,{path:"/:tenantEmailDomain/*",element:Dt.jsxs(lxr,{children:[Dt.jsx(sxr,{children:Dt.jsxs(V8r,{children:[a!=null?Dt.jsx(O8r,{}):null,n?Dt.jsx(yqe,{setTenantEmailDomain:e}):Dt.jsx(sne,{children:Dt.jsx(yqe,{setTenantEmailDomain:e})})]})}),o?Dt.jsx(cxr,{isOpen:g,children:Dt.jsx(E8r,{isOpen:g,onClose:()=>f(!1),isFileUploadEnabled:i})}):null]})}),Dt.jsx(J1,{path:"/signin/auth",element:Dt.jsx(sne,{children:Dt.jsx(q8r,{setTenantEmailDomain:e})})}),Dt.jsx(J1,{path:"/signin/magic-link",element:Dt.jsx(sne,{children:Dt.jsx(K8r,{})})}),Dt.jsx(J1,{path:"/signout",element:Dt.jsx(txr,{})}),Dt.jsx(J1,{path:"/connection/auth",element:Dt.jsx(Y8r,{})}),Dt.jsx(J1,{path:"/oauth/hubspot/callback",element:Dt.jsx(X8r,{})}),Dt.jsx(J1,{path:"/oauth/authorize",element:Dt.jsx(nxr,{})}),Dt.jsx(J1,{path:"*",element:Dt.jsx(bqe,{})})]})})})},vqe=({children:e})=>{const{isOpen:n,width:o}=mb();return Dt.jsx(axr,{commentsDrawerWidth:n?o:0,children:e})},rxr=Dn("div")`
73892
+ `,O8r=()=>{const[e,n]=m.useState(()=>Si.getSignedInUser()),o=r3(),[i,a]=m.useState(!1),[s,c]=m.useState(!1),d=fi(g=>EKe(g).fetchState),u=fi(g=>Uu(g));m.useEffect(()=>{const g=e!=null&&e.authProvider==="email"&&(!e?.firstName||!e?.lastName||!e.phoneNumber);a(g)},[e]);const p=m.useCallback(()=>{const g=Si.getSignedInUser();n(f=>JSON.stringify(f)!==JSON.stringify(g)?g:f)},[]);m.useEffect(()=>(window.addEventListener("completeProfileDone",p),()=>{window.removeEventListener("completeProfileDone",p)}),[]),m.useEffect(()=>{d!=="In-Progress"&&d!=="Completed"&&o(Ayt(u.companyId))},[d,u.companyId,o]);const h=m.useMemo(()=>!!e?.firstName&&!e?.phoneNumber,[e]);return Dt.jsxs(m.Fragment,{children:[s&&Dt.jsx(Ede,{showConfetti:!0}),e?.userEmail!=null&&e.authProvider==="email"?Dt.jsx(_8r,{userEmail:e.userEmail,isCompleteProfileOpen:i,closeDrawerHandler:()=>{a(!1),c(!0)},hasUserEnteredBasicDetails:h}):null]})},hqe="init-enter",F8r=m.memo(function({location:e,visitedUrl:n}){const{pathname:o}=e;return m.useLayoutEffect(()=>{const i=n.get(o||hqe);R8r(i!==void 0?i:0)}),null},(e,n)=>{const{location:o,visitedUrl:i}=e,{location:a}=n,s=o.pathname||hqe,c=N8r();return i.set(s,c),!((a.pathname!==o.pathname||a.search!==o.search)&&a.hash==="")}),R8r=(e=0)=>window.requestAnimationFrame(()=>{window.scrollTo(0,e)}),N8r=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},x9t=m.createContext(void 0),V8r=({children:e})=>{const{tenantEmailDomain:n}=J9t(),o=n!=null?Si.getSignedInUserTenant(n):void 0,i=fi(u=>Uu(u)),a=DI().tenantId,s=o?.tenantId,c=i?.tenantId,d=m.useMemo(()=>s!=null&&s===c&&c===a,[s,c,a]);return Dt.jsx(x9t.Provider,{value:{areTenantIdsInSync:d,tenantIdFromEmailDomain:s,currentTenantId:c,tenantIdFromConfig:a},children:e})},Uwr=()=>{const e=m.useContext(x9t);if(!e)throw new Error("useTenantSync must be used within a TenantSyncProvider");return e},Kp=e=>m.lazy(async()=>{const n=e.toString(),o=Si.getForceRefreshedComponents(),i=new Set(o),a=Si.isSignedIn(),s=i.has(n);try{const c=await e();return i.delete(n),a&&Si.saveForceRefreshedComponents(Array.from(i)),c}catch(c){throw s||(i.add(n),a&&Si.saveForceRefreshedComponents(Array.from(i)),location.reload()),c}}),y9t=globalThis.window?.location.href.startsWith("https://delhi-dot-zeni"),b9t=globalThis.window?.location.href.startsWith("https://pune-dot-zeni"),w9t=globalThis.window?.location.href.startsWith("https://sunnyvale-dot-zeni"),C9t=globalThis.window?.location.href.startsWith("https://dev.app.zeni.ai");function Gl(...e){const n=yc==="DEV"||yc==="QA";if(y9t||b9t||w9t||C9t)return void console.log(...e);const o=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&o&&console.log(...e)}function tS(...e){const n=yc==="DEV"||yc==="QA";if(y9t||b9t||w9t||C9t)return void console.warn(...e);const o=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&o&&console.warn(...e)}let AC=null,sj=!1;const Yl=yc==="PROD"?"https://api.zeni.ai":yc==="DEV"?"https://dev.api.zeni.ai":"https://qa.api.zeni.ai";function mqe(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),o=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),a=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),s=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),c=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),d=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),u=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),p=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]}));return[{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Reports - Profit & Loss by Months (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${o}`,priority:"HIGH",reason:"Reports - Profit & Loss by Quarters (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Reports - Profit & Loss by Years (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/balance_sheet?query=${a}`,priority:"HIGH",reason:"Reports - Balance Sheet by Months (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/balance_sheet?query=${s}`,priority:"HIGH",reason:"Reports - Balance Sheet by Quarters (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/balance_sheet?query=${c}`,priority:"HIGH",reason:"Reports - Balance Sheet by Years (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/cash_flow?query=${d}`,priority:"HIGH",reason:"Reports - Cash Flow by Months (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/cash_flow?query=${u}`,priority:"HIGH",reason:"Reports - Cash Flow by Quarters (first load)",apiType:"reports"},{url:`${Yl}/accounting/2.0/reports/cash_flow?query=${p}`,priority:"HIGH",reason:"Reports - Cash Flow by Years (first load)",apiType:"reports"}]}const H8r={dashboard:function(e){return[...mqe()]},reports:mqe,aging:function(e){return[]},transactions:function(e){return[]},forecast:function(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),o=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"],forecast_id:e.forecastId,is_forecast_vs_actual:!0}));return[{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Months (first load)",apiType:"forecast"},{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${o}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Quarters (first load)",apiType:"forecast"},{url:`${Yl}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Years (first load)",apiType:"forecast"}]},checking:function(e){const n=encodeURIComponent(JSON.stringify({is_include_deposit_accounts_summary:!0}));return[{url:`${Yl}/banking/1.0/deposit-accounts?query=${n}`,priority:"HIGH",reason:"Checking - Deposit Accounts (first load)",apiType:"checking"},{url:`${Yl}/pay/1.0/payment-accounts`,priority:"HIGH",reason:"Checking - Payment Accounts (first load)",apiType:"checking"},{url:`${Yl}/banking/1.0/baas/config`,priority:"HIGH",reason:"Checking - BAAS Config (first load)",apiType:"checking"}]},rewards:function(e){const n=encodeURIComponent(JSON.stringify({is_primary_refer_reward_plan:!0}));return[{url:`${Yl}/tenant/1.0/company-refer-reward-plan?query=${n}`,priority:"HIGH",reason:"Rewards Page - Rewards Plan (first load)",apiType:"rewards"},{url:`${Yl}/tenant/1.0/company-referrals`,priority:"HIGH",reason:"Rewards Page - Referrals (first load)",apiType:"rewards"}]},people:function(e){const n=encodeURIComponent(JSON.stringify({is_manager_candidate:!0})),{companyId:o}=e,i=encodeURIComponent(JSON.stringify({view:"passport"}));return[{url:`${Yl}/tenant/1.0/user-roles`,priority:"HIGH",reason:"People Page - User Roles (first load)",apiType:"people"},{url:`${Yl}/tenant/1.0/users?query=${n}`,priority:"HIGH",reason:"People Page - Users (first load)",apiType:"people"},{url:`${Yl}/accounting/1.0/classes`,priority:"HIGH",reason:"People Page - Classes (first load)",apiType:"people"},{url:`${Yl}/tenant/1.0/companies/${o}?query=${i}`,priority:"HIGH",reason:"People Page - Company Passport (first load)",apiType:"people"}]}};function gqe(e){const{currentPage:n,isRewardsFeatureEnabled:o,isPeopleTabVisible:i,isReportsPageVisible:a,isPageIndependent:s=!1}=e,c=(0,H8r[s?"dashboard":n])(e),d=c.filter(u=>o===!1&&u.reason.includes("Rewards")?(Gl(`[Prefetch Manager - Service Worker] ⚠️ Skipping rewards URL (feature disabled): ${u.url}`),!1):i===!1&&u.reason.includes("People")?(Gl(`[Prefetch Manager - Service Worker] ⚠️ Skipping people URL (feature disabled): ${u.url}`),!1):a!==!1||!u.reason.includes("Reports")||(Gl(`[Prefetch Manager - Service Worker] ⚠️ Skipping reports URL (feature disabled): ${u.url}`),!1));return Gl(`[Prefetch Manager - Service Worker] 📋 Prefetch list: ${c.length} total, ${d.length} after filtering`),d}async function fqe(e,n=0,o){if("serviceWorker"in navigator)try{const i=await async function(u=1e4){if(!("serviceWorker"in navigator))throw new Error("Service Worker not supported");if(navigator.serviceWorker.controller)return navigator.serviceWorker.ready;const p=await navigator.serviceWorker.ready;return navigator.serviceWorker.controller!=null?p:new Promise((h,g)=>{const f=Date.now();let x=100;const y=()=>navigator.serviceWorker.controller?(C(),void h(p)):Date.now()-f>=u?(C(),void(p.active?(Gl("[Prefetch Manager - Service Worker] ⚠️ No controller but SW is active, proceeding anyway"),h(p)):g(new Error("Service Worker controller timeout")))):(x=Math.min(1.5*x,1e3),void(b=setTimeout(y,x)));let b;const w=()=>{navigator.serviceWorker.controller&&(C(),h(p))},C=()=>{clearTimeout(b),navigator.serviceWorker.removeEventListener("controllerchange",w)};navigator.serviceWorker.addEventListener("controllerchange",w),b=setTimeout(y,x)})}(1e4),a=navigator.serviceWorker.controller||i.active;if(!a)return void tS("[Prefetch Manager - Service Worker] No active Service Worker available");const s=function(u){const p={HIGH:0,MEDIUM:1,LOW:2};return u.sort((h,g)=>p[h.priority]-p[g.priority])}(e);Gl("[Prefetch Manager - Service Worker] 📋 Sending prefetch list to SW:",{total:s.length,high:s.filter(u=>u.priority==="HIGH").length,medium:s.filter(u=>u.priority==="MEDIUM").length,low:s.filter(u=>u.priority==="LOW").length,batchSize:n>0?n:"disabled",expirationTime:o??"20 minutes",viaController:!!navigator.serviceWorker.controller}),s.forEach((u,p)=>{Gl(`[Prefetch Manager - Service Worker] ${p+1}. [${u.priority}] ${u.reason} - ${u.url}`),Gl(` URL: ${u.url}`)});const c=DI(),d={"zeni-session-id":c.sessionId,"zeni-user-id":c.userId,"zeni-tenant-id":c.tenantId};a.postMessage({type:"PREFETCH_URLS",payload:{urls:s.map(u=>({url:u.url,priority:u.priority,apiType:u.apiType})),authHeaders:d,batchSize:n,expirationTime:o}}),Gl("[Prefetch Manager - Service Worker] ✅ Prefetch request sent to Service Worker")}catch(i){tS("[Prefetch Manager - Service Worker] Failed to send prefetch request:",i instanceof Error?i.message:"Unknown error")}else tS("[Prefetch Manager - Service Worker] Service Worker not supported in this browser")}function U8r({children:e,currentPage:n,tenantId:o,batchCalls:i=0,expirationTime:a,delay:s=1e3,enabled:c=!0,enableIdlePrefetch:d=!1,features:u,forecastId:p,idleTimeout:h=2e3,isPageIndependent:g=!1,isRefreshTriggerEnabled:f=!1}){const[x,y]=m.useState(!1),[b,w]=m.useState(!1),C=m.useRef(null),v=e0(),S=Si.getSignedInUser(),{useFeatureGate:$}=os(),{isFeatureEnabled:j}=$(qi.isReferralFeatureEnabled),A=pn(),E=A7(A?.loggedInUserRole??[]),L=fi(R=>Uu(R)),{isFeatureEnabled:I}=$(qi.isDebitCardFeatureEnabled),_=vKe(I,L),z=CKe(L),M=_===!1&&z===!1;return m.useEffect(()=>{if(!c||x||!S||!o)return;const R=gqe({currentPage:n,userId:S.userId,tenantId:o,sessionId:S.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:j,isPeopleTabVisible:E,isReportsPageVisible:M,companyId:L?.companyId??"",isPageIndependent:g}),N=g?"dashboard":n;if(R.length===0)return void Gl(`[Prefetch Provider - ${N}${g?" (base)":""}] No URLs to prefetch`);Gl(`[Prefetch Provider - ${N}${g?" (base)":""}] 📦 Generated ${R.length} URLs to prefetch`);const O=setTimeout(()=>{fqe(R,i,a).catch(F=>{tS(`[Prefetch Provider - ${N}${g?" (base)":""}] Prefetch failed:`,F)}),y(!0)},s);return()=>clearTimeout(O)},[c,x,S,o,n,u,p,j,E,M,L?.companyId,g,i,a,s,v.pathname]),m.useEffect(()=>{y(!1)},[o,v.pathname]),m.useEffect(()=>{g||(y(!1),w(!1))},[v.pathname,g]),m.useEffect(()=>{if(C.current&&(C.current(),C.current=null),!(c&&d&&S&&o)||b)return;Gl(`[Prefetch Provider - Idle] 👀 Setting up idle prefetch detection (timeout: ${h}ms)`);const R=function(N){const{timeout:O=2e3,onIdle:F}=N;Gl(`[Idle Detection - Service Worker] 👀 Starting Idle Detection - Service Worker (timeout: ${O}ms)`);const P=()=>{sj&&(Gl("[Idle Detection - Service Worker] 🏃 User became active again"),sj=!1),AC&&clearTimeout(AC),AC=setTimeout(()=>{sj||(Gl("[Idle Detection - Service Worker] ⏱️ Browser is now IDLE"),sj=!0,F())},O)},H=["mousedown","mousemove","keypress","scroll","touchstart","click"];return H.forEach(V=>{document.addEventListener(V,P,!0)}),P(),()=>{Gl("[Idle Detection - Service Worker] 🛑 Stopping Idle Detection - Service Worker"),AC&&(clearTimeout(AC),AC=null),H.forEach(V=>{document.removeEventListener(V,P,!0)}),sj=!1}}({timeout:h,onIdle:()=>{if(b)return;Gl("[Prefetch Provider - Idle] ⏱️ Browser is idle, fetching prefetch list with isIdleCallEnabled=true");const N=gqe({currentPage:n,userId:S.userId,tenantId:o,sessionId:S.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:j,isPeopleTabVisible:E,isReportsPageVisible:M,companyId:L.companyId,isPageIndependent:g,isIdleCallEnabled:!0}),O=g?"dashboard":n;N.length!==0?(Gl(`[Prefetch Provider - Idle - ${O}${g?" (base)":""}] 📦 Generated ${N.length} URLs to prefetch on idle`),fqe(N,i,a).catch(F=>{tS(`[Prefetch Provider - Idle - ${O}${g?" (base)":""}] Idle prefetch failed:`,F)}),w(!0)):Gl(`[Prefetch Provider - Idle - ${O}${g?" (base)":""}] No URLs to prefetch on idle`)}});return C.current=R,()=>{C.current&&(C.current(),C.current=null)}},[c,d,h,S,o,b,n,u,p,j,E,M,L.companyId,g,i,a]),m.useEffect(()=>{w(!1)},[o]),m.useEffect(()=>{(function(){const R=performance.getEntriesByType("navigation");if(R.length>0)return R[0].type==="reload";const N=performance.navigation;return!(!N||typeof N.type!="number")&&N.type===1})()&&f&&(Gl("[Prefetch Provider] 🔄 Page refresh detected - will bypass cache for fresh data"),async function(){if("serviceWorker"in navigator)try{const R=await navigator.serviceWorker.ready,N=navigator.serviceWorker.controller||R.active;if(!N)return;Gl("[Prefetch Provider] 🔄 Page refresh detected, notifying service worker to bypass cache"),N.postMessage({type:"PAGE_REFRESH",payload:{timestamp:Date.now()}})}catch(R){tS("[Prefetch Provider] Failed to notify service worker of refresh:",R)}}())},[]),Dt.jsx(Dt.Fragment,{children:e})}function W8r({children:e,isPageIndependent:n=!1,batchCalls:o=0,enableIdlePrefetch:i=!1,expirationTime:a,idleTimeout:s=2e3,isRefreshTriggerEnabled:c=!1}){const d=e0(),u=fi(y=>Uu(y)),p=(h=d.pathname).includes("/dashboard")?"dashboard":h.includes("/reports")||h.includes("/financials")?"reports":h.includes("/aging")?"aging":h.includes("/transactions")?"transactions":h.includes("/forecast")?"forecast":h.includes("/checking")||h.includes("/bank-accounts")?"checking":h.includes("/rewards")?"rewards":null;var h;const g=u.tenantId,{useFeatureGate:f}=os(),{isFeatureEnabled:x}=f(qi.isServiceWorkerPrefetchingEnabled);return g&&p?Dt.jsx(U8r,{currentPage:p,tenantId:g,delay:5e3,enabled:x,batchCalls:o,enableIdlePrefetch:i,expirationTime:a,idleTimeout:s,isRefreshTriggerEnabled:c,isPageIndependent:n,children:e}):Dt.jsx(Dt.Fragment,{children:e})}function Q8r(e,n){const o=ro.extractUtmParamsFromUrl(n),i=new URLSearchParams(o).toString();if(!i)return e;const a=e.includes("?")?"&":"?";return`${e}${a}${i}`}const G8r=Kp(()=>rd(()=>import("./DefaultTenantHome-BkycKg61.js"),__vite__mapDeps([4,1,2,0,5,6,7,8]))),xqe=Kp(()=>rd(()=>Promise.resolve().then(()=>m8r),void 0)),yqe=Kp(()=>rd(()=>import("./ScreenRoutes-BFCvivVX.js"),__vite__mapDeps([9,0,1,2,5,10,6,7,8]))),Y8r=Kp(()=>rd(()=>import("./ConnectionAuthScreen-Dr1IfznG.js"),__vite__mapDeps([11,1,2,0,5,6,12,8,13,14,15,16,17,7]))),q8r=Kp(()=>rd(()=>import("./SignInScreen-DsOYu6LX.js"),__vite__mapDeps([18,1,2,0,5,19,10,6,7,8]))),K8r=Kp(()=>rd(()=>import("./MagicLinkSignInScreen-DUAV5Zdq.js"),__vite__mapDeps([20,1,2,0,5,19,10,6,7,8]))),bqe=Kp(()=>rd(()=>import("./NotFoundScreen-CiYbMRBm.js"),__vite__mapDeps([21,1,2,0,5,7,8]))),Z8r=Kp(()=>rd(()=>import("./MagicLinkRoutes-CyBHzAa4.js"),__vite__mapDeps([22,1,2,0,5,21,7,8]))),J8r=Kp(()=>rd(()=>import("./WiseConfirmationScreen-Br0VqiWX.js"),__vite__mapDeps([23,1,2,0,5,7,8]))),X8r=Kp(()=>rd(()=>import("./HubSpotOAuthCallbackScreen-453Cbbtd.js"),__vite__mapDeps([24,1,2,0,5,7,8]))),exr=Kp(()=>rd(()=>import("./CustomerOnboardingAuthScreen-YfK_o0qz.js"),__vite__mapDeps([25,1,2,0,12,8,13,14,15,16,5,17,7]))),txr=Kp(()=>rd(()=>import("./SignOutScreen-BLqW2pDa.js"),__vite__mapDeps([26,1,2,0,5,7,8]))),nxr=Kp(()=>rd(()=>import("./OAuthConsentScreen-_8k8Mx_3.js"),__vite__mapDeps([27,1,2,0,5,7,8]))),oxr=()=>{const e=e0(),n=new URLSearchParams(e.search),o=n.get("question"),i=o?.replace(/^["']|["']$/g,"")??null,a=n.get("should_submit")==="true",s=Q8r("/",n);return Dt.jsx(zqe,{to:s,replace:!0,state:{origin:"/aicfo",message:"",queryParams:{aiCfoQuestion:i,aiCfoShouldSubmit:a?"true":"false"}}})};function wqe(){const{isOpen:e}=mb(),n=h5n(),{isAiCfoOpen:o,setIsAiCfoOpen:i}=aW(),a=m.useRef(!1),s=m.useRef(o),c=m.useRef(!1);return m.useLayoutEffect(()=>{const d=o&&!s.current;s.current=o,d&&e&&(i(!1),n(),c.current=!0)},[o,e,i,n]),m.useEffect(()=>{e&&!a.current&&(c.current=!1,o&&i(!1)),a.current=e},[e,o,i]),m.useEffect(()=>{!e&&c.current&&(c.current=!1,i(!0))},[e,i]),null}const ixr=({tenantEmailDomain:e,setTenantEmailDomain:n})=>{const o=Si.isSignedIn(),i=fi(M=>Uu(M)),a=Si.getSignedInUser(),s=o&&$4(a),c=fi(M=>jyt(M)).tenantsBaseInOrder.map(M=>({companyId:M.companyId,tenantId:M.tenantId,companyName:M.companyName})),d={userId:a?.userId??"",sessionId:a?.zeniSessionId??"",tenantId:i.tenantId??""},u=r3(),p=pc(["/:tenantEmailDomain/dashboard/*","/:tenantEmailDomain/dashboard"]),h=cpe(),g=p9t(),[f,x]=m.useState(!1),[y,b]=m.useState(null),w=m.useMemo(()=>({isAiCfoOpen:f,setIsAiCfoOpen:x,aiCfoSidePanelQuestionToSubmit:y,setAiCfoSidePanelQuestionToSubmit:b}),[f,y,x,b]),{useFeatureGate:C}=os(),{isFeatureEnabled:v}=C(qi.isAiCfoFileUploadEnabled),{isFeatureEnabled:S}=C(qi.isBillPayCommentingEnabled),{isFeatureEnabled:$}=C(qi.isReimbursementCommentingEnabled),{isFeatureEnabled:j}=C(qi.isExpenseAutomationEnabled),{isFeatureEnabled:A}=C(qi.isExpenseAutomationEnabledV2),{isFeatureEnabled:E}=C(qi.isTreasuryCommentingEnabled),{isFeatureEnabled:L}=C(qi.isCheckingCommentingEnabled),{isFeatureEnabled:I}=C(qi.isTransactionCommentingEnabled),{isFeatureEnabled:_}=C(qi.isCardsCommentingEnabled),z=S||$||s&&j||!s&&A||E||L||I||_;return m.useEffect(()=>{!h&&f&&x(!1)},[h,f]),m.useEffect(()=>{h||u(Eyt())},[u,h]),Dt.jsx(p5n,{children:i.tenantId!=null?Dt.jsx(MUi,{roomId:`dashboard_${i.companyId}`,authParams:d,users:[],companies:c,authUrlEndPoint:`${NS.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!0,commentingUsersUrlEndPoint:`${NS.tenantMicroServiceBaseUrl}/1.0/users/commenting-users`,isZeniUser:s,autoConnect:s||I||_,loggedInUser:a,withRoomProvider:!0,withThreadsProvider:z,threadsIndexStrategy:"roomThreads",filter:{application:"dashboard",companyId:i.companyId},children:Dt.jsxs(rle.Provider,{value:w,children:[Dt.jsx(wqe,{}),Dt.jsxs(Sqe,{children:[Dt.jsx(xqe,{tenantEmailDomain:e}),Dt.jsx(vqe,{children:Dt.jsx(Cqe,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v})})]})]})}):Dt.jsx(zUi,{children:Dt.jsxs(rle.Provider,{value:w,children:[Dt.jsx(wqe,{}),Dt.jsxs(Sqe,{children:[Dt.jsx(xqe,{tenantEmailDomain:e}),Dt.jsx(vqe,{children:Dt.jsx(Cqe,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v})})]})]})})})},Cqe=({setTenantEmailDomain:e,isOnDashboard:n,userHasZeniAiCfoAccess:o,isAiCfoFileUploadEnabled:i})=>{const a=fi(x=>x.tenantState.loggedInUser),{useDynamicConfig:s}=os(),{configValue:c}=s(Pm.webappPrefetchConfig),d=typeof c.SERVICE_WORKER_BATCH_CALLS=="number"?c.SERVICE_WORKER_BATCH_CALLS:15,u=typeof c.SERVICE_WORKER_IDLE_TIMEOUT=="number"?c.SERVICE_WORKER_IDLE_TIMEOUT:3e3,p=typeof c.EXPIRATION_TIME=="number"&&c.EXPIRATION_TIME>0?c.EXPIRATION_TIME:12e5,{clearLoading:h}=lW(),{isAiCfoOpen:g,setIsAiCfoOpen:f}=aW();return m.useEffect(()=>{h(ppe.APP_INITIALIZATION)},[h]),Dt.jsx(m.Suspense,{fallback:null,children:Dt.jsx(W8r,{isPageIndependent:!0,batchCalls:d,isRefreshTriggerEnabled:!1,enableIdlePrefetch:!1,idleTimeout:u,expirationTime:p,children:Dt.jsxs(X9t,{children:[Dt.jsx(J1,{path:"/magic_links/*",element:Dt.jsx(Z8r,{})}),Dt.jsx(J1,{path:"/wise/callback/link-account/*",element:Dt.jsx(J8r,{})}),Dt.jsx(J1,{path:"/page-not-found",element:Dt.jsx(bqe,{})}),Dt.jsx(J1,{path:"/",element:Dt.jsx(G8r,{})}),Dt.jsx(J1,{path:"/aicfo",element:Dt.jsx(oxr,{})}),Dt.jsx(J1,{path:"/onboarding/auth",element:Dt.jsx(exr,{})}),Dt.jsx(J1,{path:"/:tenantEmailDomain/*",element:Dt.jsxs(lxr,{children:[Dt.jsx(sxr,{children:Dt.jsxs(V8r,{children:[a!=null?Dt.jsx(O8r,{}):null,n?Dt.jsx(yqe,{setTenantEmailDomain:e}):Dt.jsx(sne,{children:Dt.jsx(yqe,{setTenantEmailDomain:e})})]})}),o?Dt.jsx(cxr,{isOpen:g,children:Dt.jsx(E8r,{isOpen:g,onClose:()=>f(!1),isFileUploadEnabled:i})}):null]})}),Dt.jsx(J1,{path:"/signin/auth",element:Dt.jsx(sne,{children:Dt.jsx(q8r,{setTenantEmailDomain:e})})}),Dt.jsx(J1,{path:"/signin/magic-link",element:Dt.jsx(sne,{children:Dt.jsx(K8r,{})})}),Dt.jsx(J1,{path:"/signout",element:Dt.jsx(txr,{})}),Dt.jsx(J1,{path:"/connection/auth",element:Dt.jsx(Y8r,{})}),Dt.jsx(J1,{path:"/oauth/hubspot/callback",element:Dt.jsx(X8r,{})}),Dt.jsx(J1,{path:"/oauth/authorize",element:Dt.jsx(nxr,{})}),Dt.jsx(J1,{path:"*",element:Dt.jsx(bqe,{})})]})})})},vqe=({children:e})=>{const{isOpen:n,width:o}=mb();return Dt.jsx(axr,{commentsDrawerWidth:n?o:0,children:e})},rxr=Dn("div")`
73893
73893
  display:flex;
73894
73894
  `,Sqe=Dn("div")`
73895
73895
  display: flex;