@zeniai/web-app-ui 5.3.33-dev → 5.3.34-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 (113) hide show
  1. package/dist/assets/{AccountMappingScreen-DDC4e1RD.js → AccountMappingScreen-CJqOZP-B.js} +1 -1
  2. package/dist/assets/AddressRoutes--HafU47v.js +1 -0
  3. package/dist/assets/{AddressScreen-BtP59nWf.js → AddressScreen-DDf9yvUB.js} +1 -1
  4. package/dist/assets/{AiCfoScreen-0WwVR_RT.js → AiCfoScreen-DPT3CXPb.js} +1 -1
  5. package/dist/assets/{AppDrawer-C7u6yO5k.js → AppDrawer-DSVPC8lI.js} +1 -1
  6. package/dist/assets/{BillPayApprovalRoutes-B12E_S91.js → BillPayApprovalRoutes-D3VbaSva.js} +1 -1
  7. package/dist/assets/{BillPayRoutes-D3YiGZXB.js → BillPayRoutes-U2B7iPFb.js} +1 -1
  8. package/dist/assets/{BusinessVerificationPageScreen-Bh5Bjz_t.js → BusinessVerificationPageScreen-bjXN390x.js} +1 -1
  9. package/dist/assets/{CardsAiCfoScreen-StazhLCy.js → CardsAiCfoScreen-Bd6_NUus.js} +1 -1
  10. package/dist/assets/{ChargeCardRoutes-BpwgRJW2.js → ChargeCardRoutes-BC-IVdue.js} +1 -1
  11. package/dist/assets/{CompanyPassportScreen-1B8KqxCX.js → CompanyPassportScreen-B2b_nD38.js} +1 -1
  12. package/dist/assets/{ConnectionAuthScreen-_WPAiqQD.js → ConnectionAuthScreen-Blj9jq6T.js} +1 -1
  13. package/dist/assets/CustomerOnboardingAuthScreen-D31qgEEW.js +1 -0
  14. package/dist/assets/{CustomerOnboardingRoutes-eoKq-jK4.js → CustomerOnboardingRoutes-BLNPLejT.js} +1 -1
  15. package/dist/assets/{DashboardRoutes-CKdZegGm.js → DashboardRoutes-KpbiWU3o.js} +1 -1
  16. package/dist/assets/{DefaultTenantHome-CvzwpBoC.js → DefaultTenantHome-D-W0Zz4M.js} +1 -1
  17. package/dist/assets/{DomesticWireDetailScreen-BOxoSeoJ.js → DomesticWireDetailScreen-D33tY8fM.js} +1 -1
  18. package/dist/assets/{DrawerScreen-Cvypy_pu.js → DrawerScreen-CoVXShPF.js} +1 -1
  19. package/dist/assets/{EntityDetailRoutes-BLeAjK3e.js → EntityDetailRoutes-BH1wC0sU.js} +1 -1
  20. package/dist/assets/{ExpenseAutomationRoutes-t_w4KaUv.js → ExpenseAutomationRoutes-TOowYqM9.js} +1 -1
  21. package/dist/assets/{FeaturePreviewScreen-KgN7vGcF.js → FeaturePreviewScreen-CtjrWbQq.js} +1 -1
  22. package/dist/assets/{HubSpotOAuthCallbackScreen-Bj9Wgjht.js → HubSpotOAuthCallbackScreen-DMdvKmda.js} +1 -1
  23. package/dist/assets/{InboxNotificationsProvider-B-NFQuyv.js → InboxNotificationsProvider-C5ikUDhJ.js} +1 -1
  24. package/dist/assets/{InvoicingRoutes-DD8ii9Jo.js → InvoicingRoutes-B37vv1db.js} +1 -1
  25. package/dist/assets/{MagicLinkRoutes-B5onTuVg.js → MagicLinkRoutes-DtuMD64g.js} +1 -1
  26. package/dist/assets/{MagicLinkSignInScreen-Z_KEEjY_.js → MagicLinkSignInScreen-D1iOO-WG.js} +1 -1
  27. package/dist/assets/{MobileAppDrawer-PtjV_ofL.js → MobileAppDrawer-CgETvlX1.js} +1 -1
  28. package/dist/assets/NotFoundScreen-C2zJ8cfI.js +1 -0
  29. package/dist/assets/{NotificationRoutes-Ct_RdrSm.js → NotificationRoutes-jxpWiMgJ.js} +1 -1
  30. package/dist/assets/{OAuthConsentScreen-Cp21VEUM.js → OAuthConsentScreen-C0AQQOfP.js} +1 -1
  31. package/dist/assets/{PandLWithForecastRoutes-B8aCeyQm.js → PandLWithForecastRoutes-C0qlSlEF.js} +1 -1
  32. package/dist/assets/{PaymentLinkScreen-Dom-ZdiQ.js → PaymentLinkScreen-D2dPHaXS.js} +1 -1
  33. package/dist/assets/{PeopleRoutes-CMQ5JoaT.js → PeopleRoutes-BzM4qrR2.js} +1 -1
  34. package/dist/assets/{PerformanceRoutes-BaFYyetl.js → PerformanceRoutes-C6KzbBAD.js} +1 -1
  35. package/dist/assets/{Preview-BUFd_sPW.js → Preview-DGkUqHej.js} +1 -1
  36. package/dist/assets/{QBOConnectionScreen-DLKvgPCe.js → QBOConnectionScreen-CgzjkkKh.js} +1 -1
  37. package/dist/assets/{ReimbursementApprovalRoutes-yZ6qt8vR.js → ReimbursementApprovalRoutes-Dbcvq2Ed.js} +1 -1
  38. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-PjSqLE3K.js → ReimbursementApprovalRuleDetailScreen-C_25293T.js} +1 -1
  39. package/dist/assets/{ReimbursementRoutes-BHhFNphA.js → ReimbursementRoutes-kPii3egS.js} +1 -1
  40. package/dist/assets/{ReportsRoutes-DwjpNsBH.js → ReportsRoutes-Dew3K44t.js} +1 -1
  41. package/dist/assets/{RewardsRoutes-D1qLb1Hr.js → RewardsRoutes--_w31CyX.js} +1 -1
  42. package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-BXydpQNl.js → ScheduleDetailsPrepaidExpensesScreen-DktKZtnA.js} +1 -1
  43. package/dist/assets/{ScreenRoutes-C2Pczg6X.js → ScreenRoutes-B3BB7J7C.js} +2 -2
  44. package/dist/assets/{SettingsRoutes-DNifcLKF.js → SettingsRoutes-Bp-MPbwV.js} +1 -1
  45. package/dist/assets/{SetupPagesScreen-DxyeAl-N.js → SetupPagesScreen-CvFvYb75.js} +1 -1
  46. package/dist/assets/{SignInScreen-xjjVbfK1.js → SignInScreen-OWr7JYT3.js} +1 -1
  47. package/dist/assets/{SignOutScreen-z53qiWi7.js → SignOutScreen-DWK7qHmn.js} +1 -1
  48. package/dist/assets/{TaskListScreen-B_OtLRex.js → TaskListScreen-B0WUXuKg.js} +1 -1
  49. package/dist/assets/{TaskRoutes-CwGUiyuW.js → TaskRoutes-D2eFoY16.js} +1 -1
  50. package/dist/assets/TransactionDetailRoutes-S6U1PW_n.js +1 -0
  51. package/dist/assets/{TransactionDetailScreen-C21UfodB.js → TransactionDetailScreen-CTTKAecr.js} +1 -1
  52. package/dist/assets/{TransactionListRoutes-c14Zp_GU.js → TransactionListRoutes-CSbSGn0X.js} +1 -1
  53. package/dist/assets/{TreasuryRoutes-BOUBbZba.js → TreasuryRoutes-B45yFXNp.js} +1 -1
  54. package/dist/assets/{VendorsRoutes-DQPJ2ahX.js → VendorsRoutes-NJtzmbUL.js} +1 -1
  55. package/dist/assets/{WiseConfirmationScreen-BgAYLRbZ.js → WiseConfirmationScreen-sNuIZv12.js} +1 -1
  56. package/dist/assets/{ZeniAccountRoutes-Cm5PZOYy.js → ZeniAccountRoutes-BsbJpCzn.js} +1 -1
  57. package/dist/assets/{ZeniAccountStatementScreen-C-8gKp6H.js → ZeniAccountStatementScreen-DXImrInd.js} +1 -1
  58. package/dist/assets/{accountMappingHelper-C_PJMCg9.js → accountMappingHelper-CJL-kxIR.js} +1 -1
  59. package/dist/assets/{analytics-elDziMbO.js → analytics-Bg9sHj4I.js} +1 -1
  60. package/dist/assets/{analyticsHelper-vLClPvL0.js → analyticsHelper-C250WxOz.js} +1 -1
  61. package/dist/assets/{core-DF6XZR6t.js → core-CqflqGv9.js} +1 -1
  62. package/dist/assets/{decodeURIComponentSafe-DjR1JOrN.js → decodeURIComponentSafe-Bw5_joHN.js} +1 -1
  63. package/dist/assets/{dnd-Cjk62kit.js → dnd-OUjwZlfC.js} +1 -1
  64. package/dist/assets/{empty-BFMGUQ5p.js → empty-BaQDcuze.js} +1 -1
  65. package/dist/assets/{empty-Blp6QSRg.js → empty-D2Qv8UjS.js} +1 -1
  66. package/dist/assets/{emptyVideoElement-BxiyyOIX.js → emptyVideoElement-CRjToyxO.js} +1 -1
  67. package/dist/assets/{epic-CjuOPpmP.js → epic-6r2G7Ljw.js} +1 -1
  68. package/dist/assets/{expenseAutomationHelper-DtYcu9lZ.js → expenseAutomationHelper-BTi1SBkX.js} +1 -1
  69. package/dist/assets/{getLocaleForTenant-BghPhTTn.js → getLocaleForTenant-CtXCDnm8.js} +1 -1
  70. package/dist/assets/{index-DV9ITGuT.js → index-B8Cs9uSY.js} +2 -2
  71. package/dist/assets/{index-73l2EN6L.js → index-BWWz0Sm7.js} +1 -1
  72. package/dist/assets/{index-DDlsb2Pe.js → index-BeWY4STZ.js} +6 -6
  73. package/dist/assets/{index-CGw0d03E.js → index-C-1mKpRP.js} +1 -1
  74. package/dist/assets/{index-Cm1WGUI8.js → index-CNoRQUH7.js} +1 -1
  75. package/dist/assets/{index-DvD4ADMb.js → index-DFz0hCrW.js} +1 -1
  76. package/dist/assets/{index-BJMpQHkg.js → index-DjGdOTXi.js} +1 -1
  77. package/dist/assets/{index-BN3P-M0E.js → index-i9f1kxGC.js} +1 -1
  78. package/dist/assets/{lexical-CSD0azk6.js → lexical-BHqkUsiS.js} +1 -1
  79. package/dist/assets/{liveblocks-D4WYBu5d.js → liveblocks-B0EpRifM.js} +1 -1
  80. package/dist/assets/{lottie-BmpBYIvu.js → lottie-x3DIllPk.js} +1 -1
  81. package/dist/assets/{mui-B4yW9pH-.js → mui-Splhybhe.js} +1 -1
  82. package/dist/assets/{pathToGoBack-D8-KE8Du.js → pathToGoBack-LnL-ovI6.js} +1 -1
  83. package/dist/assets/{pdf-CGyqZzIC.js → pdf-BZfLFbU_.js} +4 -4
  84. package/dist/assets/{pdf-lib-Dh61rZh4.js → pdf-lib-CpxtL5pi.js} +1 -1
  85. package/dist/assets/{plaid-D38FQUk-.js → plaid-D5Rs2Xbn.js} +1 -1
  86. package/dist/assets/{pusher-CqUxDVhu.js → pusher-9E3ynLMf.js} +1 -1
  87. package/dist/assets/{react-DhQUnxri.js → react-BHgTygpo.js} +1 -1
  88. package/dist/assets/{react-DuBQLZ-9.js → react-BWMsOlMm.js} +1 -1
  89. package/dist/assets/{react-Uo80T9aY.js → react-Cdqh8MuG.js} +1 -1
  90. package/dist/assets/{react-BMMd1waU.js → react-DPAdkb-c.js} +1 -1
  91. package/dist/assets/{react-BMRcwifd.js → react-_LAOK0QT.js} +1 -1
  92. package/dist/assets/{react-CIXsO3WM.js → react-bYlWEvlR.js} +1 -1
  93. package/dist/assets/{recharts-BiczA0FA.js → recharts-C-DOhwH-.js} +1 -1
  94. package/dist/assets/{routePaths-DGP8B7_s.js → routePaths-D0bA5Y4F.js} +1 -1
  95. package/dist/assets/{sentry-xA0rcm0B.js → sentry-BefEASz6.js} +1 -1
  96. package/dist/assets/{url-teROgVHf.js → url-DGJ2AapT.js} +1 -1
  97. package/dist/assets/{url-D7Tfrndr.js → url-DWw1bUBN.js} +1 -1
  98. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-p6fhiYGJ.js → useAiCfoDashboardSuggestedQuestionsChips-nsQRxyc8.js} +1 -1
  99. package/dist/assets/{useAskAiCfoHostNavButtonProps-d04WxUMr.js → useAskAiCfoHostNavButtonProps-PSLo9KIk.js} +1 -1
  100. package/dist/assets/{useChargeCardPusherEvents-EdGQYrNX.js → useChargeCardPusherEvents-6Op_z2XG.js} +1 -1
  101. package/dist/assets/{useDeviceId-CIwJhP5U.js → useDeviceId-C-MNChOb.js} +1 -1
  102. package/dist/assets/{useEmailConnectResultRefresh-DkeO72N3.js → useEmailConnectResultRefresh-abRk_Nf-.js} +1 -1
  103. package/dist/assets/{useInitialThreadRequest-BCZ9SXeA.js → useInitialThreadRequest-CcM4GEQ7.js} +1 -1
  104. package/dist/assets/{useTaskManagerAccess-GgG1qznV.js → useTaskManagerAccess-_bds9sOj.js} +1 -1
  105. package/dist/assets/{utils-Tr_0gxNT.js → utils-JmZUGXv-.js} +1 -1
  106. package/dist/assets/{withTransactionSidePanel-DKKp2Btj.js → withTransactionSidePanel-DArawFTA.js} +1 -1
  107. package/dist/assets/{zeni-epic-state-C1PKBe4c.js → zeni-epic-state-Sf5HhdfR.js} +3 -3
  108. package/dist/index.html +1 -1
  109. package/package.json +3 -3
  110. package/dist/assets/AddressRoutes-zzmrmZ16.js +0 -1
  111. package/dist/assets/CustomerOnboardingAuthScreen-B2-KkeTM.js +0 -1
  112. package/dist/assets/NotFoundScreen-BYb00fRD.js +0 -1
  113. package/dist/assets/TransactionDetailRoutes-Dlicv1YU.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zeni-epic-state-C1PKBe4c.js","assets/sentry-xA0rcm0B.js","assets/core-DF6XZR6t.js","assets/index-DV9ITGuT.js","assets/DefaultTenantHome-CvzwpBoC.js","assets/mui-B4yW9pH-.js","assets/getLocaleForTenant-BghPhTTn.js","assets/analytics-elDziMbO.js","assets/utils-Tr_0gxNT.js","assets/AppDrawer-C7u6yO5k.js","assets/InboxNotificationsProvider-B-NFQuyv.js","assets/useTaskManagerAccess-GgG1qznV.js","assets/expenseAutomationHelper-DtYcu9lZ.js","assets/ScreenRoutes-C2Pczg6X.js","assets/analyticsHelper-vLClPvL0.js","assets/ConnectionAuthScreen-_WPAiqQD.js","assets/AccountMappingScreen-DDC4e1RD.js","assets/MobileAppDrawer-PtjV_ofL.js","assets/QBOConnectionScreen-DLKvgPCe.js","assets/empty-Blp6QSRg.js","assets/index-Cm1WGUI8.js","assets/url-teROgVHf.js","assets/index-CGw0d03E.js","assets/decodeURIComponentSafe-DjR1JOrN.js","assets/accountMappingHelper-C_PJMCg9.js","assets/SignInScreen-xjjVbfK1.js","assets/useDeviceId-CIwJhP5U.js","assets/MagicLinkSignInScreen-Z_KEEjY_.js","assets/NotFoundScreen-BYb00fRD.js","assets/MagicLinkRoutes-B5onTuVg.js","assets/PaymentLinkScreen-Dom-ZdiQ.js","assets/WiseConfirmationScreen-BgAYLRbZ.js","assets/HubSpotOAuthCallbackScreen-Bj9Wgjht.js","assets/CustomerOnboardingAuthScreen-B2-KkeTM.js","assets/SignOutScreen-z53qiWi7.js","assets/OAuthConsentScreen-Cp21VEUM.js"])))=>i.map(i=>d[i]);
2
- import{a as m,R as P,b as _4e,e as Zon,p as Pae,r as y0,g as WCt,d as Mke,f as Jon,s as Oke,i as Xon,w as ern,j as trn,S as nrn,k as irn,l as orn,m as rrn,n as arn,o as srn}from"./sentry-xA0rcm0B.js";import{L as lrn,C as Fke,_ as rh,a as xN,b as crn,c as mte,d as yN,u as QCt,T as drn,e as urn,f as prn,g as hrn,h as mrn,i as YCt,k as grn,l as frn,j as Kt}from"./liveblocks-D4WYBu5d.js";import{f as GCt,r as ba,R as Kv,P as _l,O as xrn,N as qCt,u as Gp,g as i2,h as gte,i as KCt,j as Qr,m as A9e,s as uZ,k as ZCt,l as yrn,n as brn,o as sp,p as wrn,B as Crn}from"./core-DF6XZR6t.js";import{L as Rke,bl as vrn,bm as Arn,bn as bN,bo as Srn,bp as krn,bq as Fs,br as Ut,bs as RT,bt as ef,bu as jrn,bv as O7,bw as Ps,bx as $rn,by as Ern,bz as Irn,bA as s1,bB as J1,bC as ZR,bD as _9,bE as un,bF as JCt,bG as H1,bH as Ja,bI as MD,bJ as XCt,bK as evt,bL as S9e,bM as X5,bN as Xu,bO as Zy,bP as Drn,bQ as Rc,bR as Trn,bS as zT,bT as Lrn,bU as Brn,bV as JR,bW as Prn,bX as Mrn,bY as pZ,bZ as Orn,b_ as Frn,b$ as V9,c0 as zke,c1 as Rrn,c2 as zrn,c3 as Nrn,c4 as _rn,c5 as Vrn,c6 as Hrn,c7 as Urn,c8 as Jy,c9 as fte,ca as Wrn,cb as xte,cc as yte,cd as bte,ce as k9e,cf as wN,cg as rS,ch as CN,ci as OD,cj as FD,ck as aS,cl as wte,cm as TA,cn as Qrn,co as Nke,cp as Yrn,cq as Grn,cr as qrn,cs as Krn,ct as tvt,cu as Zrn,cv as Jrn,cw as Lw,cx as _ke,cy as Xrn,cz as ean,cA as tan,cB as VS,cC as HS,cD as nvt,cE as ivt,cF as j9e,cG as nan,cH as ovt,cI as ian,cJ as hZ,cK as rvt,cL as oan,cM as avt,cN as ran,cO as $O,cP as aan,cQ as san,cR as Vke,cS as lan,cT as $9e,cU as E9e,cV as can,cW as dan,cX as uan,cY as pan,cZ as uV,c_ as XR,c$ as pV,d0 as han,d1 as man,d2 as svt,d3 as gan,d4 as fan,d5 as xan,d6 as yan,d7 as lvt,d8 as Hke,d9 as ban,da as I9e,db as wan,dc as Can,dd as van,de as cvt,df as fu,dg as Ul,dh as Cte,di as Aan,dj as San,dk as M1,dl as dvt,dm as kan,dn as ez,dp as LA,dq as Us,dr as Uke,ds as jan,dt as $an,du as Ean,dv as uvt,dw as D9e,dx as hV,dy as Eg,dz as Ian,dA as Dan,dB as Tan,dC as Lan,dD as Ban,dE as Pan,dF as Man,dG as Oan,dH as mV,dI as sS,dJ as vte,dK as Fan,dL as Ran,dM as US,dN as U1,dO as pvt,dP as hvt,dQ as zan,dR as mvt,dS as Nan,dT as _an,dU as Van,dV as Han,dW as NT,dX as T9e,dY as L9e,dZ as Uan,d_ as B9e,d$ as gvt,e0 as fvt,e1 as xvt,e2 as yvt,e3 as bvt,e4 as wvt,e5 as Wan,_ as Bd,e6 as _T,e7 as Cvt,e8 as Qan,e9 as LF,ea as I0,eb as Xy,ec as vvt,ed as Avt,ee as Svt,ef as V4e,eg as Yan,eh as Eq,ei as Gan,ej as qan,ek as Kan,el as Zan,em as Jan,en as kvt,eo as jvt,ep as Xan,eq as esn,er as $vt,es as BF,et as PF,eu as Evt,ev as tsn,ew as nsn,ex as P9e,ey as Ivt,ez as Dvt,eA as M9e,eB as VT,eC as Ate,eD as O9e,eE as F9e,eF as R9e,eG as z9e,eH as isn,eI as osn,eJ as Tvt,eK as Wke,eL as rsn,eM as N9e,eN as Lvt,eO as Bvt,eP as asn,eQ as _9e,eR as V9e,eS as ssn,eT as lsn,eU as csn,eV as Pvt,eW as dsn,eX as usn,eY as psn,eZ as hsn,e_ as Mvt,e$ as Ovt,f0 as Qke,f1 as Yke,f2 as msn,f3 as gsn,f4 as Gke,f5 as qke,f6 as fsn,f7 as xsn,f8 as Fvt,f9 as ysn,fa as Kke,fb as Ste,fc as bsn,fd as wsn,fe as Csn,ff as vsn,fg as Asn,fh as Ssn,fi as ksn,fj as jsn,fk as R1,fl as $sn,fm as kte,fn as Esn,fo as Isn,fp as Ug,fq as Zke,fr as Rvt,fs as zvt,ft as Nvt,fu as _vt,fv as Vvt,fw as Hvt,fx as RD,fy as Dsn,fz as Tsn,fA as Lsn,fB as H4e,fC as Bsn,v as Psn,fD as jte,fE as h0,fF as Uvt,fG as Wvt,fH as Msn,fI as Osn,fJ as Jke,fK as Fsn,fL as Rsn,fM as zsn,fN as Nsn,fO as _sn,fP as Vsn,fQ as Hsn,fR as Usn,fS as Wsn,fT as Qsn,fU as Ysn,fV as Gsn,fW as qsn,fX as Ksn,fY as Zsn,fZ as Jsn,f_ as Xsn,f$ as eln,g0 as tln,g1 as Xke,g2 as nln,g3 as iln,g4 as oln,g5 as rln,g6 as aln,g7 as Qvt,g8 as $te,g9 as H9e,ga as Yvt,gb as sln,gc as lln,gd as cln,ge as Gvt,gf as eje,gg as qvt,gh as Kvt,gi as dln,gj as Zvt,gk as Jvt,gl as uln,gm as pln,gn as U4e,go as hln,gp as MF,gq as mln,gr as gln,gs as fln,gt as xln,gu as yln,gv as bln,gw as wln,gx as Cln,gy as vln,gz as Aln,gA as Sln,gB as kln,gC as Xvt,gD as jln,gE as $ln,gF as Eln,gG as tje,gH as Iln,gI as Dln,gJ as Tln,gK as Lln,gL as Bln,gM as Pln,gN as eAt,gO as tAt,gP as Mln,gQ as nAt,gR as Oln,gS as Fln,gT as W4e,gU as Rln,gV as zln,gW as Nln,gX as _ln,gY as Vln,gZ as Hln,g_ as nje,g$ as Uln,h0 as Wln,h1 as Qln}from"./zeni-epic-state-C1PKBe4c.js";import{n as a,T as iAt,G as vN,j as ko,c as Te,k as ri,C as oAt,u as Yln,D as rAt,S as aAt,a as Gln}from"./mui-B4yW9pH-.js";import{r as qln,m as bg}from"./analytics-elDziMbO.js";import{u as ep}from"./plaid-D38FQUk-.js";import{D as U9e,H as Ete,g as Kln,O as Zln,S as Jln,T as Xln,u as W9e,a as Q9e,b as ecn}from"./dnd-Cjk62kit.js";import{l as Y9e}from"./stripe-cKAAJElX.js";import{L as YI}from"./lottie-BmpBYIvu.js";import{r as ad}from"./lexical-CSD0azk6.js";import{D as Q4e,P as Y4e,_ as sAt,a as lAt}from"./pdf-CGyqZzIC.js";import{R as lS,G as H9,H as eh,X as Gl,Y as Tl,I as Id,J as U9,K as y8,L as BA,M as K1,N as HT,O as cAt,P as tcn,Q as ncn,S as Ite,U as icn,V as G9e,W as ocn,Z as rcn,_ as acn,d as scn}from"./recharts-BiczA0FA.js";import{r as lcn,n as ije}from"./utils-Tr_0gxNT.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]="667fdf12-0a95-4e82-b3f4-15acda2dd6af",e._sentryDebugIdIdentifier="sentry-dbid-667fdf12-0a95-4e82-b3f4-15acda2dd6af")}catch{}})();(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver((i=>{for(const r of i)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)})).observe(document,{childList:!0,subtree:!0})}function n(i){if(i.ep)return;i.ep=!0;const r=(function(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l})(i);fetch(i.href,r)}})();var oje,gV={},ccn=(function(){if(oje)return gV;oje=1;var e=GCt();return gV.createRoot=e.createRoot,gV.hydrateRoot=e.hydrateRoot,gV})(),r0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof _4e<"u"?_4e:typeof self<"u"?self:{};function cr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rje,aje,sje={exports:{}},KL={};function dAt(){return aje||(aje=1,sje.exports=(function(){if(rje)return KL;rje=1;var e=P,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={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)r.call(u,h)&&!l.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:s.current}}return KL.Fragment=i,KL.jsx=c,KL.jsxs=c,KL})()),sje.exports}var t=dAt();const dcn=m.createContext(null),Mae={didCatch:!1,error:null};let ucn=class extends m.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Mae}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var n,i,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];(n=(i=this.props).onReset)===null||n===void 0||n.call(i,{args:s,reason:"imperative-api"}),this.setState(Mae)}}componentDidCatch(e,n){var i,r;(i=(r=this.props).onError)===null||i===void 0||i.call(r,e,n)}componentDidUpdate(e,n){const{didCatch:i}=this.state,{resetKeys:r}=this.props;var s,l;i&&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,r)&&((s=(l=this.props).onReset)===null||s===void 0||s.call(l,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(Mae))}render(){const{children:e,fallbackRender:n,FallbackComponent:i,fallback:r}=this.props,{didCatch:s,error:l}=this.state;let c=e;if(s){const d={error:l,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")c=n(d);else if(i)c=m.createElement(i,d);else{if(r===void 0)throw l;c=r}}return m.createElement(dcn.Provider,{value:{didCatch:s,error:l,resetErrorBoundary:this.resetErrorBoundary}},c)}};var lje,Oae={exports:{}},Fae,pcn=(lje||(lje=1,Fae=Oae,(function(e,n){Fae.exports?Fae.exports=n():e.numeral=n()})(Oae.exports,(function(){var e,n,i,r,s,l={},c={},d={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:d.currentLocale,zeroFormat:d.zeroFormat,nullFormat:d.nullFormat,defaultFormat:d.defaultFormat,scalePercentBy100:d.scalePercentBy100};function p(h,g){this._input=h,this._value=g}return e=function(h){var g,f,x,y;if(e.isNumeral(h))g=h.value();else if(h===0||typeof h>"u")g=0;else if(h===null||n.isNaN(h))g=null;else if(typeof h=="string")if(u.zeroFormat&&h===u.zeroFormat)g=0;else if(u.nullFormat&&h===u.nullFormat||!h.replace(/[^0-9]+/g,"").length)g=null;else{for(f in l)if((y=typeof l[f].regexps.unformat=="function"?l[f].regexps.unformat():l[f].regexps.unformat)&&h.match(y)){x=l[f].unformat;break}g=(x=x||e._.stringToNumber)(h)}else g=Number(h)||null;return new p(h,g)},e.version="2.0.6",e.isNumeral=function(h){return h instanceof p},e._=n={numberToFormat:function(h,g,f){var x,y,b,w,C,v,A,k,$=c[e.options.currentLocale],j=!1,E=!1,D="",I=1e12,L=1e9,R=1e6,O="",_=!1;if(h=h||0,b=Math.abs(h),e._.includes(g,"(")?(j=!0,g=g.replace(/[\(|\)]/g,"")):(e._.includes(g,"+")||e._.includes(g,"-"))&&(v=e._.includes(g,"+")?g.indexOf("+"):h<0?g.indexOf("-"):-1,g=g.replace(/[\+|\-]/g,"")),e._.includes(g,"a")&&(y=!!(y=g.match(/a(k|m|b|t)?/))&&y[1],e._.includes(g," a")&&(D=" "),g=g.replace(new RegExp(D+"a[kmbt]?"),""),b>=I&&!y||y==="t"?(D+=$.abbreviations.trillion,h/=I):b<I&&b>=L&&!y||y==="b"?(D+=$.abbreviations.billion,h/=L):b<L&&b>=R&&!y||y==="m"?(D+=$.abbreviations.million,h/=R):(b<R&&b>=1e3&&!y||y==="k")&&(D+=$.abbreviations.thousand,h/=1e3)),e._.includes(g,"[.]")&&(E=!0,g=g.replace("[.]",".")),w=h.toString().split(".")[0],C=g.split(".")[1],A=g.indexOf(","),x=(g.split(".")[0].split(",")[0].match(/0/g)||[]).length,C?(e._.includes(C,"[")?(C=(C=C.replace("]","")).split("["),O=e._.toFixed(h,C[0].length+C[1].length,f,C[1].length)):O=e._.toFixed(h,C.length,f),w=O.split(".")[0],O=e._.includes(O,".")?$.delimiters.decimal+O.split(".")[1]:"",E&&Number(O.slice(1))===0&&(O="")):w=e._.toFixed(h,0,f),D&&!y&&Number(w)>=1e3&&D!==$.abbreviations.trillion)switch(w=String(Number(w)/1e3),D){case $.abbreviations.thousand:D=$.abbreviations.million;break;case $.abbreviations.million:D=$.abbreviations.billion;break;case $.abbreviations.billion:D=$.abbreviations.trillion}if(e._.includes(w,"-")&&(w=w.slice(1),_=!0),w.length<x)for(var N=x-w.length;N>0;N--)w="0"+w;return A>-1&&(w=w.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+$.delimiters.thousands)),g.indexOf(".")===0&&(w=""),k=w+O+(D||""),j?k=(j&&_?"(":"")+k+(j&&_?")":""):v>=0?k=v===0?(_?"-":"+")+k:k+(_?"-":"+"):_&&(k="-"+k),k},stringToNumber:function(h){var g,f,x,y=c[u.currentLocale],b=h,w={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&h===u.zeroFormat)f=0;else if(u.nullFormat&&h===u.nullFormat||!h.replace(/[^0-9]+/g,"").length)f=null;else{for(g in f=1,y.delimiters.decimal!=="."&&(h=h.replace(/\./g,"").replace(y.delimiters.decimal,".")),w)if(x=new RegExp("[^a-zA-Z]"+y.abbreviations[g]+"(?:\\)|(\\"+y.currency.symbol+")?(?:\\))?)?$"),b.match(x)){f*=Math.pow(10,w[g]);break}f*=(h.split("-").length+Math.min(h.split("(").length-1,h.split(")").length-1))%2?1:-1,h=h.replace(/[^0-9\.]+/g,""),f*=Number(h)}return f},isNaN:function(h){return typeof h=="number"&&isNaN(h)},includes:function(h,g){return h.indexOf(g)!==-1},insert:function(h,g,f){return h.slice(0,f)+g+h.slice(f)},reduce:function(h,g){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof g!="function")throw new TypeError(g+" is not a function");var f,x=Object(h),y=x.length>>>0,b=0;if(arguments.length===3)f=arguments[2];else{for(;b<y&&!(b in x);)b++;if(b>=y)throw new TypeError("Reduce of empty array with no initial value");f=x[b++]}for(;b<y;b++)b in x&&(f=g(f,x[b],b,x));return f},multiplier:function(h){var g=h.toString().split(".");return g.length<2?1:Math.pow(10,g[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(h,g){var f=n.multiplier(g);return h>f?h:f}),1)},toFixed:function(h,g,f,x){var y,b,w,C,v=h.toString().split("."),A=g-(x||0);return y=v.length===2?Math.min(Math.max(v[1].length,A),g):A,w=Math.pow(10,y),C=(f(h+"e+"+y)/w).toFixed(y),x>g-y&&(b=new RegExp("\\.?0{1,"+(x-(g-y))+"}$"),C=C.replace(b,"")),C}},e.options=u,e.formats=l,e.locales=c,e.locale=function(h){return h&&(u.currentLocale=h.toLowerCase()),u.currentLocale},e.localeData=function(h){if(!h)return c[u.currentLocale];if(h=h.toLowerCase(),!c[h])throw new Error("Unknown locale : "+h);return c[h]},e.reset=function(){for(var h in d)u[h]=d[h]},e.zeroFormat=function(h){u.zeroFormat=typeof h=="string"?h:null},e.nullFormat=function(h){u.nullFormat=typeof h=="string"?h:null},e.defaultFormat=function(h){u.defaultFormat=typeof h=="string"?h:"0.0"},e.register=function(h,g,f){if(g=g.toLowerCase(),this[h+"s"][g])throw new TypeError(g+" "+h+" already registered.");return this[h+"s"][g]=f,f},e.validate=function(h,g){var f,x,y,b,w,C,v,A;if(typeof h!="string"&&(h+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",h)),(h=h.trim()).match(/^\d+$/))return!0;if(h==="")return!1;try{v=e.localeData(g)}catch{v=e.localeData(e.locale())}return y=v.currency.symbol,w=v.abbreviations,f=v.delimiters.decimal,x=v.delimiters.thousands==="."?"\\.":v.delimiters.thousands,!((A=h.match(/^[^\d]+/))!==null&&(h=h.substr(1),A[0]!==y)||(A=h.match(/[^\d]+$/))!==null&&(h=h.slice(0,-1),A[0]!==w.thousand&&A[0]!==w.million&&A[0]!==w.billion&&A[0]!==w.trillion)||(C=new RegExp(x+"{2}"),h.match(/[^\d.,]/g)||(b=h.split(f)).length>2||(b.length<2?!b[0].match(/^\d+.*\d$/)||b[0].match(C):b[0].length===1?!b[0].match(/^\d+$/)||b[0].match(C)||!b[1].match(/^\d+$/):!b[0].match(/^\d+.*\d$/)||b[0].match(C)||!b[1].match(/^\d+$/))))},e.fn=p.prototype={clone:function(){return e(this)},format:function(h,g){var f,x,y,b=this._value,w=h||u.defaultFormat;if(g=g||Math.round,b===0&&u.zeroFormat!==null)x=u.zeroFormat;else if(b===null&&u.nullFormat!==null)x=u.nullFormat;else{for(f in l)if(w.match(l[f].regexps.format)){y=l[f].format;break}x=(y=y||e._.numberToFormat)(b,w,g)}return x},value:function(){return this._value},input:function(){return this._input},set:function(h){return this._value=Number(h),this},add:function(h){var g=n.correctionFactor.call(null,this._value,h);return this._value=n.reduce([this._value,h],(function(f,x,y,b){return f+Math.round(g*x)}),0)/g,this},subtract:function(h){var g=n.correctionFactor.call(null,this._value,h);return this._value=n.reduce([h],(function(f,x,y,b){return f-Math.round(g*x)}),Math.round(this._value*g))/g,this},multiply:function(h){return this._value=n.reduce([this._value,h],(function(g,f,x,y){var b=n.correctionFactor(g,f);return Math.round(g*b)*Math.round(f*b)/Math.round(b*b)}),1),this},divide:function(h){return this._value=n.reduce([this._value,h],(function(g,f,x,y){var b=n.correctionFactor(g,f);return Math.round(g*b)/Math.round(f*b)})),this},difference:function(h){return Math.abs(e(this._value).subtract(h).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(h){var g=h%10;return~~(h%100/10)==1?"th":g===1?"st":g===2?"nd":g===3?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(h,g,f){var x,y=e._.includes(g," BPS")?" ":"";return h*=1e4,g=g.replace(/\s?BPS/,""),x=e._.numberToFormat(h,g,f),e._.includes(x,")")?((x=x.split("")).splice(-1,0,y+"BPS"),x=x.join("")):x=x+y+"BPS",x},unformat:function(h){return+(1e-4*e._.stringToNumber(h)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},s="("+(s=(i={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(h){return i.suffixes.indexOf(h)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(s)},format:function(h,g,f){var x,y,b,w=e._.includes(g,"ib")?r:i,C=e._.includes(g," b")||e._.includes(g," ib")?" ":"";for(g=g.replace(/\s?i?b/,""),x=0;x<=w.suffixes.length;x++)if(y=Math.pow(w.base,x),b=Math.pow(w.base,x+1),h===null||h===0||h>=y&&h<b){C+=w.suffixes[x],y>0&&(h/=y);break}return e._.numberToFormat(h,g,f)+C},unformat:function(h){var g,f,x=e._.stringToNumber(h);if(x){for(g=i.suffixes.length-1;g>=0;g--){if(e._.includes(h,i.suffixes[g])){f=Math.pow(i.base,g);break}if(e._.includes(h,r.suffixes[g])){f=Math.pow(r.base,g);break}}x*=f||1}return x}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(h,g,f){var x,y,b,w=e.locales[e.options.currentLocale],C={before:g.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:g.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(g=g.replace(/\s?\$\s?/,""),x=e._.numberToFormat(h,g,f),h>=0?(C.before=C.before.replace(/[\-\(]/,""),C.after=C.after.replace(/[\-\)]/,"")):h<0&&!e._.includes(C.before,"-")&&!e._.includes(C.before,"(")&&(C.before="-"+C.before),b=0;b<C.before.length;b++)switch(y=C.before[b],y){case"$":x=e._.insert(x,w.currency.symbol,b);break;case" ":x=e._.insert(x," ",b+w.currency.symbol.length-1)}for(b=C.after.length-1;b>=0;b--)switch(y=C.after[b],y){case"$":x=b===C.after.length-1?x+w.currency.symbol:e._.insert(x,w.currency.symbol,-(C.after.length-(1+b)));break;case" ":x=b===C.after.length-1?x+" ":e._.insert(x," ",-(C.after.length-(1+b)+w.currency.symbol.length-1))}return x}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(h,g,f){var x=(typeof h!="number"||e._.isNaN(h)?"0e+0":h.toExponential()).split("e");return g=g.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(x[0]),g,f)+"e"+x[1]},unformat:function(h){var g=e._.includes(h,"e+")?h.split("e+"):h.split("e-"),f=Number(g[0]),x=Number(g[1]);return x=e._.includes(h,"e-")?x*=-1:x,e._.reduce([f,Math.pow(10,x)],(function(y,b,w,C){var v=e._.correctionFactor(y,b);return y*v*(b*v)/(v*v)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(h,g,f){var x=e.locales[e.options.currentLocale],y=e._.includes(g," o")?" ":"";return g=g.replace(/\s?o/,""),y+=x.ordinal(h),e._.numberToFormat(h,g,f)+y}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(h,g,f){var x,y=e._.includes(g," %")?" ":"";return e.options.scalePercentBy100&&(h*=100),g=g.replace(/\s?\%/,""),x=e._.numberToFormat(h,g,f),e._.includes(x,")")?((x=x.split("")).splice(-1,0,y+"%"),x=x.join("")):x=x+y+"%",x},unformat:function(h){var g=e._.stringToNumber(h);return e.options.scalePercentBy100?.01*g:g}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(h,g,f){var x=Math.floor(h/60/60),y=Math.floor((h-60*x*60)/60),b=Math.round(h-60*x*60-60*y);return x+":"+(y<10?"0"+y:y)+":"+(b<10?"0"+b:b)},unformat:function(h){var g=h.split(":"),f=0;return g.length===3?(f+=60*Number(g[0])*60,f+=60*Number(g[1]),f+=Number(g[2])):g.length===2&&(f+=60*Number(g[0]),f+=Number(g[1])),Number(f)}}),e}))),Oae.exports);const L3=cr(pcn);function C7(e,...n){const i=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach((r=>i.searchParams.append("args[]",r))),`Minified MUI error #${e}; visit ${i} for the full message.`}const p7="$$material";var hcn={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 mcn(e){var n=Object.create(null);return function(i){return n[i]===void 0&&(n[i]=e(i)),n[i]}}var gcn=/[A-Z]|^ms/g,fcn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,uAt=function(e){return e.charCodeAt(1)===45},cje=function(e){return e!=null&&typeof e!="boolean"},Rae=mcn((function(e){return uAt(e)?e:e.replace(gcn,"-$&").toLowerCase()})),dje=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(fcn,(function(i,r,s){return u9={name:r,styles:s,next:u9},r}))}return hcn[e]===1||uAt(e)||typeof n!="number"||n===0?n:n+"px"};function mZ(e,n,i){if(i==null)return"";var r=i;if(r.__emotion_styles!==void 0)return r;switch(typeof i){case"boolean":return"";case"object":var s=i;if(s.anim===1)return u9={name:s.name,styles:s.styles,next:u9},s.name;var l=i;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)u9={name:c.name,styles:c.styles,next:u9},c=c.next;return l.styles+";"}return(function(d,u,p){var h="";if(Array.isArray(p))for(var g=0;g<p.length;g++)h+=mZ(d,u,p[g])+";";else for(var f in p){var x=p[f];if(typeof x!="object"){var y=x;cje(y)&&(h+=Rae(f)+":"+dje(f,y)+";")}else if(Array.isArray(x)&&typeof x[0]=="string"&&u==null)for(var b=0;b<x.length;b++)cje(x[b])&&(h+=Rae(f)+":"+dje(f,x[b])+";");else{var w=mZ(d,u,x);switch(f){case"animation":case"animationName":h+=Rae(f)+":"+w+";";break;default:h+=f+"{"+w+"}"}}}return h})(e,n,i)}return i}var u9,uje=/label:\s*([^\s;{]+)\s*(;|$)/g,pje,hje,mje,gje,fje,xje={exports:{}};function xcn(){return hje?pje:(hje=1,pje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function ycn(){if(gje)return mje;gje=1;var e=xcn();function n(){}function i(){}return i.resetWarningCache=n,mje=function(){function r(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 s(){return r}r.isRequired=r;var l={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:s,element:r,elementType:r,instanceOf:s,node:r,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:i,resetWarningCache:n};return l.PropTypes=l,l}}function q9e(){return fje||(fje=1,xje.exports=ycn()()),xje.exports}const _n=cr(q9e());var bcn=(function(){function e(i){var r=this;this._insertTag=function(s){var l;l=r.tags.length===0?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(s,l),r.tags.push(s)},this.isSpeedy=i.speedy===void 0||i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(i){i.forEach(this._insertTag)},n.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag((function(l){var c=document.createElement("style");return c.setAttribute("data-emotion",l.key),l.nonce!==void 0&&c.setAttribute("nonce",l.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c})(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=(function(l){if(l.sheet)return l.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===l)return document.styleSheets[c]})(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},n.flush=function(){this.tags.forEach((function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)})),this.tags=[],this.ctr=0},e})(),k1="-ms-",yje="-moz-",Ya="-webkit-",pAt="comm",K9e="rule",Z9e="decl",hAt="@keyframes",wcn=Math.abs,Dte=String.fromCharCode,Ccn=Object.assign;function mAt(e){return e.trim()}function qa(e,n,i){return e.replace(n,i)}function G4e(e,n){return e.indexOf(n)}function Wu(e,n){return 0|e.charCodeAt(n)}function tz(e,n,i){return e.slice(n,i)}function t5(e){return e.length}function J9e(e){return e.length}function fV(e,n){return n.push(e),e}var Tte=1,zD=1,gAt=0,m0=0,Xc=0,UT="";function Lte(e,n,i,r,s,l,c){return{value:e,root:n,parent:i,type:r,props:s,children:l,line:Tte,column:zD,length:c,return:""}}function ZL(e,n){return Ccn(Lte("",null,null,"",null,null,0),e,{length:-e.length},n)}function gm(){return Xc=m0<gAt?Wu(UT,m0++):0,zD++,Xc===10&&(zD=1,Tte++),Xc}function _5(){return Wu(UT,m0)}function Iq(){return m0}function AN(e,n){return tz(UT,e,n)}function nz(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 fAt(e){return Tte=zD=1,gAt=t5(UT=e),m0=0,[]}function xAt(e){return UT="",e}function Dq(e){return mAt(AN(m0-1,q4e(e===91?e+2:e===40?e+1:e)))}function vcn(e){for(;(Xc=_5())&&Xc<33;)gm();return nz(e)>2||nz(Xc)>3?"":" "}function Acn(e,n){for(;--n&&gm()&&!(Xc<48||Xc>102||Xc>57&&Xc<65||Xc>70&&Xc<97););return AN(e,Iq()+(n<6&&_5()==32&&gm()==32))}function q4e(e){for(;gm();)switch(Xc){case e:return m0;case 34:case 39:e!==34&&e!==39&&q4e(Xc);break;case 40:e===41&&q4e(e);break;case 92:gm()}return m0}function Scn(e,n){for(;gm()&&e+Xc!==57&&(e+Xc!==84||_5()!==47););return"/*"+AN(n,m0-1)+"*"+Dte(e===47?e:gm())}function kcn(e){for(;!nz(_5());)gm();return AN(e,m0)}function jcn(e){return xAt(Tq("",null,null,null,[""],e=fAt(e),0,[0],e))}function Tq(e,n,i,r,s,l,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,A="",k=s,$=l,j=r,E=A;w;)switch(y=v,v=gm()){case 40:if(y!=108&&Wu(E,g-1)==58){G4e(E+=qa(Dq(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=Dq(v);break;case 9:case 10:case 13:case 32:E+=vcn(y);break;case 92:E+=Acn(Iq()-1,7);continue;case 47:switch(_5()){case 42:case 47:fV($cn(Scn(gm(),Iq()),n,i),u);break;default:E+="/"}break;case 123*b:d[p++]=t5(E)*C;case 125*b:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+h:C==-1&&(E=qa(E,/\f/g,"")),x>0&&t5(E)-g&&fV(x>32?wje(E+";",r,i,g-1):wje(qa(E," ","")+";",r,i,g-2),u);break;case 59:E+=";";default:if(fV(j=bje(E,n,i,p,h,s,d,A,k=[],$=[],g),l),v===123)if(h===0)Tq(E,n,j,j,k,l,g,d,$);else switch(f===99&&Wu(E,3)===110?100:f){case 100:case 108:case 109:case 115:Tq(e,j,j,r&&fV(bje(e,j,j,0,0,s,d,A,s,k=[],g),$),s,$,g,d,r?k:$);break;default:Tq(E,j,j,j,[""],$,0,d,$)}}p=h=x=0,b=C=1,A=E="",g=c;break;case 58:g=1+t5(E),x=y;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&(Xc=m0>0?Wu(UT,--m0):0,zD--,Xc===10&&(zD=1,Tte--),Xc==125))continue}switch(E+=Dte(v),v*b){case 38:C=h>0?1:(E+="\f",-1);break;case 44:d[p++]=(t5(E)-1)*C,C=1;break;case 64:_5()===45&&(E+=Dq(gm())),f=_5(),h=g=t5(A=E+=kcn(Iq())),v++;break;case 45:y===45&&t5(E)==2&&(b=0)}}return l}function bje(e,n,i,r,s,l,c,d,u,p,h){for(var g=s-1,f=s===0?l:[""],x=J9e(f),y=0,b=0,w=0;y<r;++y)for(var C=0,v=tz(e,g+1,g=wcn(b=c[y])),A=e;C<x;++C)(A=mAt(b>0?f[C]+" "+v:qa(v,/&\f/g,f[C])))&&(u[w++]=A);return Lte(e,n,i,s===0?K9e:d,u,p,h)}function $cn(e,n,i){return Lte(e,n,i,pAt,Dte(Xc),tz(e,2,-2),0)}function wje(e,n,i,r){return Lte(e,n,i,Z9e,tz(e,0,r),tz(e,r+1,-1),r)}function GI(e,n){for(var i="",r=J9e(e),s=0;s<r;s++)i+=n(e[s],s,e,n)||"";return i}function Ecn(e,n,i,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Z9e:return e.return=e.return||e.value;case pAt:return"";case hAt:return e.return=e.value+"{"+GI(e.children,r)+"}";case K9e:e.value=e.props.join(",")}return t5(i=GI(e.children,r))?e.return=e.value+"{"+i+"}":""}function Icn(e){return function(n){n.root||(n=n.return)&&e(n)}}var Dcn=function(e,n,i){for(var r=0,s=0;r=s,s=_5(),r===38&&s===12&&(n[i]=1),!nz(s);)gm();return AN(e,m0)},Tcn=function(e,n){return xAt((function(i,r){var s=-1,l=44;do switch(nz(l)){case 0:l===38&&_5()===12&&(r[s]=1),i[s]+=Dcn(m0-1,r,s);break;case 2:i[s]+=Dq(l);break;case 4:if(l===44){i[++s]=_5()===58?"&\f":"",r[s]=i[s].length;break}default:i[s]+=Dte(l)}while(l=gm());return i})(fAt(e),n))},Cje=new WeakMap,Lcn=function(e){if(e.type==="rule"&&e.parent&&!(e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(!(i=i.parent))return;if((e.props.length!==1||n.charCodeAt(0)===58||Cje.get(i))&&!r){Cje.set(e,!0);for(var s=[],l=Tcn(n,s),c=i.props,d=0,u=0;d<l.length;d++)for(var p=0;p<c.length;p++,u++)e.props[u]=s[d]?l[d].replace(/&\f/g,c[p]):c[p]+" "+l[d]}}},Bcn=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function yAt(e,n){switch((function(i,r){return 45^Wu(i,0)?(((r<<2^Wu(i,0))<<2^Wu(i,1))<<2^Wu(i,2))<<2^Wu(i,3):0})(e,n)){case 5103:return Ya+"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 Ya+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ya+e+yje+e+k1+e+e;case 6828:case 4268:return Ya+e+k1+e+e;case 6165:return Ya+e+k1+"flex-"+e+e;case 5187:return Ya+e+qa(e,/(\w+).+(:[^]+)/,Ya+"box-$1$2"+k1+"flex-$1$2")+e;case 5443:return Ya+e+k1+"flex-item-"+qa(e,/flex-|-self/,"")+e;case 4675:return Ya+e+k1+"flex-line-pack"+qa(e,/align-content|flex-|-self/,"")+e;case 5548:return Ya+e+k1+qa(e,"shrink","negative")+e;case 5292:return Ya+e+k1+qa(e,"basis","preferred-size")+e;case 6060:return Ya+"box-"+qa(e,"-grow","")+Ya+e+k1+qa(e,"grow","positive")+e;case 4554:return Ya+qa(e,/([^-])(transform)/g,"$1"+Ya+"$2")+e;case 6187:return qa(qa(qa(e,/(zoom-|grab)/,Ya+"$1"),/(image-set)/,Ya+"$1"),e,"")+e;case 5495:case 3959:return qa(e,/(image-set\([^]*)/,Ya+"$1$`$1");case 4968:return qa(qa(e,/(.+:)(flex-)?(.*)/,Ya+"box-pack:$3"+k1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ya+e+e;case 4095:case 3583:case 4068:case 2532:return qa(e,/(.+)-inline(.+)/,Ya+"$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(t5(e)-1-n>6)switch(Wu(e,n+1)){case 109:if(Wu(e,n+4)!==45)break;case 102:return qa(e,/(.+:)(.+)-([^]+)/,"$1"+Ya+"$2-$3$1"+yje+(Wu(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~G4e(e,"stretch")?yAt(qa(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Wu(e,n+1)!==115)break;case 6444:switch(Wu(e,t5(e)-3-(~G4e(e,"!important")&&10))){case 107:return qa(e,":",":"+Ya)+e;case 101:return qa(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ya+(Wu(e,14)===45?"inline-":"")+"box$3$1"+Ya+"$2$3$1"+k1+"$2box$3")+e}break;case 5936:switch(Wu(e,n+11)){case 114:return Ya+e+k1+qa(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ya+e+k1+qa(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ya+e+k1+qa(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ya+e+k1+e+e}return e}var Pcn=[function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case Z9e:e.return=yAt(e.value,e.length);break;case hAt:return GI([ZL(e,{value:qa(e.value,"@","@"+Ya)})],r);case K9e:if(e.length)return(function(s,l){return s.map(l).join("")})(e.props,(function(s){switch((function(l,c){return(l=c.exec(l))?l[0]:l})(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return GI([ZL(e,{props:[qa(s,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return GI([ZL(e,{props:[qa(s,/:(plac\w+)/,":"+Ya+"input-$1")]}),ZL(e,{props:[qa(s,/:(plac\w+)/,":-moz-$1")]}),ZL(e,{props:[qa(s,/:(plac\w+)/,k1+"input-$1")]})],r)}return""}))}}],bAt=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,(function(x){x.getAttribute("data-emotion").indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))}))}var r,s=e.stylisPlugins||Pcn,l={},c=[];r=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++)l[y[b]]=!0;c.push(x)}));var d,u,p=[Lcn,Bcn],h=[Ecn,Icn((function(x){u.insert(x)}))],g=(function(x){var y=J9e(x);return function(b,w,C,v){for(var A="",k=0;k<y;k++)A+=x[k](b,w,C,v)||"";return A}})(p.concat(s,h));d=function(x,y,b,w){u=b,(function(C){GI(jcn(C),g)})(x?x+"{"+y.styles+"}":y.styles),w&&(f.inserted[y.name]=!0)};var f={key:n,sheet:new bcn({key:n,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:d};return f.sheet.hydrate(c),f};function wAt(e){const{styles:n,defaultTheme:i={}}=e,r=typeof n=="function"?s=>n((function(l){return l==null||Object.keys(l).length===0})(s)?i:s):n;return t.jsx(vN,{styles:r})}const vje=[];function E9(e){return vje[0]=e,(function(n,i,r){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var s=!0,l="";u9=void 0;var c=n[0];c==null||c.raw===void 0?(s=!1,l+=mZ(r,i,c)):l+=c[0];for(var d=1;d<n.length;d++)l+=mZ(r,i,n[d]),s&&(l+=c[d]);uje.lastIndex=0;for(var u,p="";(u=uje.exec(l))!==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)})(l)+p;return{name:h,styles:l,next:u9}})(vje)}var Aje,Sje,kje={exports:{}},Es={};function Mcn(){if(Aje)return Es;Aje=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=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 i:case s:case r:case u:case p:case f:return b;default:switch(b=b&&b.$$typeof){case c:case d:case g:case h:case l:return b;default:return w}}case n:return w}}}return Es.ContextConsumer=l,Es.ContextProvider=c,Es.Element=e,Es.ForwardRef=d,Es.Fragment=i,Es.Lazy=g,Es.Memo=h,Es.Portal=n,Es.Profiler=s,Es.StrictMode=r,Es.Suspense=u,Es.SuspenseList=p,Es.isContextConsumer=function(b){return y(b)===l},Es.isContextProvider=function(b){return y(b)===c},Es.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Es.isForwardRef=function(b){return y(b)===d},Es.isFragment=function(b){return y(b)===i},Es.isLazy=function(b){return y(b)===g},Es.isMemo=function(b){return y(b)===h},Es.isPortal=function(b){return y(b)===n},Es.isProfiler=function(b){return y(b)===s},Es.isStrictMode=function(b){return y(b)===r},Es.isSuspense=function(b){return y(b)===u},Es.isSuspenseList=function(b){return y(b)===p},Es.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===i||b===s||b===r||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===l||b.$$typeof===d||b.$$typeof===x||b.getModuleId!==void 0)},Es.typeOf=y,Es}function Ocn(){return Sje||(Sje=1,kje.exports=Mcn()),kje.exports}var CAt=Ocn();function Ny(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 vAt(e){if(m.isValidElement(e)||CAt.isValidElementType(e)||!Ny(e))return e;const n={};return Object.keys(e).forEach((i=>{n[i]=vAt(e[i])})),n}function W1(e,n,i={clone:!0}){const r=i.clone?{...e}:e;return Ny(e)&&Ny(n)&&Object.keys(n).forEach((s=>{m.isValidElement(n[s])||CAt.isValidElementType(n[s])?r[s]=n[s]:Ny(n[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Ny(e[s])?r[s]=W1(e[s],n[s],i):i.clone?r[s]=Ny(n[s])?vAt(n[s]):n[s]:r[s]=n[s]})),r}function Fcn(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:r=5,...s}=e,l=(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(l);function d(h){return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${i})`}function u(h){return`@media (max-width:${(typeof n[h]=="number"?n[h]:h)-r/100}${i})`}function p(h,g){const f=c.indexOf(g);return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${i}) and (max-width:${(f!==-1&&typeof n[c[f]]=="number"?n[c[f]]:g)-r/100}${i})`}return{keys:c,values:l,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:i,...s}}function jje(e,n){if(!e.containerQueries)return n;const i=Object.keys(n).filter((r=>r.startsWith("@container"))).sort(((r,s)=>{const l=/min-width:\s*([0-9.]+)/;return+(r.match(l)?.[1]||0)-+(s.match(l)?.[1]||0)}));return i.length?i.reduce(((r,s)=>{const l=n[s];return delete r[s],r[s]=l,r}),{...n}):n}const Rcn={borderRadius:4};function OF(e,n){return n?W1(e,n,{clone:!1}):e}const Bte={xs:0,sm:600,md:900,lg:1200,xl:1536},$je={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Bte[e]}px)`},zcn={containerQueries:e=>({up:n=>{let i=typeof n=="number"?n:Bte[n]||n;return typeof i=="number"&&(i=`${i}px`),e?`@container ${e} (min-width:${i})`:`@container (min-width:${i})`}})};function v7(e,n,i){const r=e.theme||{};if(Array.isArray(n)){const s=r.breakpoints||$je;return n.reduce(((l,c,d)=>(l[s.up(s.keys[d])]=i(n[d]),l)),{})}if(typeof n=="object"){const s=r.breakpoints||$je;return Object.keys(n).reduce(((l,c)=>{if((function(d,u){return u==="@"||u.startsWith("@")&&(d.some((p=>u.startsWith(`@${p}`)))||!!u.match(/^@\d/))})(s.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)})(r.containerQueries?r:zcn,c);d&&(l[d]=i(n[c],c))}else if(Object.keys(s.values||Bte).includes(c))l[s.up(c)]=i(n[c],c);else{const d=c;l[d]=n[d]}return l}),{})}return i(n)}function Eje(e,n){return e.reduce(((i,r)=>{const s=i[r];return(!s||Object.keys(s).length===0)&&delete i[r],i}),n)}function Ko(e){if(typeof e!="string")throw new Error(C7(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pte(e,n,i=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&i){const r=`vars.${n}`.split(".").reduce(((s,l)=>s&&s[l]?s[l]:null),e);if(r!=null)return r}return n.split(".").reduce(((r,s)=>r&&r[s]!=null?r[s]:null),e)}function gZ(e,n,i,r=i){let s;return s=typeof e=="function"?e(i):Array.isArray(e)?e[i]||r:Pte(e,i)||r,n&&(s=n(s,r,e)),s}function Tc(e){const{prop:n,cssProperty:i=e.prop,themeKey:r,transform:s}=e,l=c=>{if(c[n]==null)return null;const d=c[n],u=Pte(c.theme,r)||{};return v7(c,d,(p=>{let h=gZ(u,s,p);return p===h&&typeof p=="string"&&(h=gZ(u,s,`${n}${p==="default"?"":Ko(p)}`,p)),i===!1?h:{[i]:h}}))};return l.propTypes={},l.filterProps=[n],l}const Ncn={m:"margin",p:"padding"},_cn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ije={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Vcn=(function(e){const n={};return i=>(n[i]===void 0&&(n[i]=e(i)),n[i])})((e=>{if(e.length>2){if(!Ije[e])return[e];e=Ije[e]}const[n,i]=e.split(""),r=Ncn[n],s=_cn[i]||"";return Array.isArray(s)?s.map((l=>r+l)):[r+s]})),AAt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],SAt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function SN(e,n,i,r){const s=Pte(e,n,!0)??i;return typeof s=="number"||typeof s=="string"?l=>typeof l=="string"?l:typeof s=="string"?s.startsWith("var(")&&l===0?0:s.startsWith("var(")&&l===1?s:`calc(${l} * ${s})`:s*l:Array.isArray(s)?l=>{if(typeof l=="string")return l;const c=Math.abs(l),d=s[c];return l>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof s=="function"?s:()=>{}}function X9e(e){return SN(e,"spacing",8)}function kN(e,n){return typeof n=="string"||n==null?n:e(n)}function Hcn(e,n,i,r){if(!n.includes(i))return null;const s=(function(l,c){return d=>l.reduce(((u,p)=>(u[p]=kN(c,d),u)),{})})(Vcn(i),r);return v7(e,e[i],s)}function kAt(e,n){const i=X9e(e.theme);return Object.keys(e).map((r=>Hcn(e,n,r,i))).reduce(OF,{})}function ic(e){return kAt(e,AAt)}function oc(e){return kAt(e,SAt)}function jAt(e=8,n=X9e({spacing:e})){if(e.mui)return e;const i=(...r)=>(r.length===0?[1]:r).map((s=>{const l=n(s);return typeof l=="number"?`${l}px`:l})).join(" ");return i.mui=!0,i}function Mte(...e){const n=e.reduce(((r,s)=>(s.filterProps.forEach((l=>{r[l]=s})),r)),{}),i=r=>Object.keys(r).reduce(((s,l)=>n[l]?OF(s,n[l](r)):s),{});return i.propTypes={},i.filterProps=e.reduce(((r,s)=>r.concat(s.filterProps)),[]),i}function Ig(e){return typeof e!="number"?e:`${e}px solid`}function p2(e,n){return Tc({prop:e,themeKey:"borders",transform:n})}ic.propTypes={},ic.filterProps=AAt,oc.propTypes={},oc.filterProps=SAt;const Ucn=p2("border",Ig),Wcn=p2("borderTop",Ig),Qcn=p2("borderRight",Ig),Ycn=p2("borderBottom",Ig),Gcn=p2("borderLeft",Ig),qcn=p2("borderColor"),Kcn=p2("borderTopColor"),Zcn=p2("borderRightColor"),Jcn=p2("borderBottomColor"),Xcn=p2("borderLeftColor"),edn=p2("outline",Ig),tdn=p2("outlineColor"),Lq=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=SN(e.theme,"shape.borderRadius",4),i=r=>({borderRadius:kN(n,r)});return v7(e,e.borderRadius,i)}return null};Lq.propTypes={},Lq.filterProps=["borderRadius"],Mte(Ucn,Wcn,Qcn,Ycn,Gcn,qcn,Kcn,Zcn,Jcn,Xcn,Lq,edn,tdn);const fZ=e=>{if(e.gap!==void 0&&e.gap!==null){const n=SN(e.theme,"spacing",8),i=r=>({gap:kN(n,r)});return v7(e,e.gap,i)}return null};fZ.propTypes={},fZ.filterProps=["gap"];const xZ=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=SN(e.theme,"spacing",8),i=r=>({columnGap:kN(n,r)});return v7(e,e.columnGap,i)}return null};xZ.propTypes={},xZ.filterProps=["columnGap"];const yZ=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=SN(e.theme,"spacing",8),i=r=>({rowGap:kN(n,r)});return v7(e,e.rowGap,i)}return null};yZ.propTypes={},yZ.filterProps=["rowGap"];function qI(e,n){return n==="grey"?n:e}Mte(fZ,xZ,yZ,Tc({prop:"gridColumn"}),Tc({prop:"gridRow"}),Tc({prop:"gridAutoFlow"}),Tc({prop:"gridAutoColumns"}),Tc({prop:"gridAutoRows"}),Tc({prop:"gridTemplateColumns"}),Tc({prop:"gridTemplateRows"}),Tc({prop:"gridTemplateAreas"}),Tc({prop:"gridArea"}));function om(e){return e<=1&&e!==0?100*e+"%":e}Mte(Tc({prop:"color",themeKey:"palette",transform:qI}),Tc({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qI}),Tc({prop:"backgroundColor",themeKey:"palette",transform:qI}));const ndn=Tc({prop:"width",transform:om}),e8e=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=i=>{const r=e.theme?.breakpoints?.values?.[i]||Bte[i];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:om(i)}};return v7(e,e.maxWidth,n)}return null};e8e.filterProps=["maxWidth"];const idn=Tc({prop:"minWidth",transform:om}),odn=Tc({prop:"height",transform:om}),rdn=Tc({prop:"maxHeight",transform:om}),adn=Tc({prop:"minHeight",transform:om});Tc({prop:"size",cssProperty:"width",transform:om}),Tc({prop:"size",cssProperty:"height",transform:om});Mte(ndn,e8e,idn,odn,rdn,adn,Tc({prop:"boxSizing"}));const Ote={border:{themeKey:"borders",transform:Ig},borderTop:{themeKey:"borders",transform:Ig},borderRight:{themeKey:"borders",transform:Ig},borderBottom:{themeKey:"borders",transform:Ig},borderLeft:{themeKey:"borders",transform:Ig},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ig},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lq},color:{themeKey:"palette",transform:qI},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qI},backgroundColor:{themeKey:"palette",transform:qI},p:{style:oc},pt:{style:oc},pr:{style:oc},pb:{style:oc},pl:{style:oc},px:{style:oc},py:{style:oc},padding:{style:oc},paddingTop:{style:oc},paddingRight:{style:oc},paddingBottom:{style:oc},paddingLeft:{style:oc},paddingX:{style:oc},paddingY:{style:oc},paddingInline:{style:oc},paddingInlineStart:{style:oc},paddingInlineEnd:{style:oc},paddingBlock:{style:oc},paddingBlockStart:{style:oc},paddingBlockEnd:{style:oc},m:{style:ic},mt:{style:ic},mr:{style:ic},mb:{style:ic},ml:{style:ic},mx:{style:ic},my:{style:ic},margin:{style:ic},marginTop:{style:ic},marginRight:{style:ic},marginBottom:{style:ic},marginLeft:{style:ic},marginX:{style:ic},marginY:{style:ic},marginInline:{style:ic},marginInlineStart:{style:ic},marginInlineEnd:{style:ic},marginBlock:{style:ic},marginBlockStart:{style:ic},marginBlockEnd:{style:ic},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:fZ},rowGap:{style:yZ},columnGap:{style:xZ},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:om},maxWidth:{style:e8e},minWidth:{transform:om},height:{transform:om},maxHeight:{transform:om},minHeight:{transform:om},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"}},cS=(function(){function e(n,i,r,s){const l={[n]:i,theme:r},c=s[n];if(!c)return{[n]:i};const{cssProperty:d=n,themeKey:u,transform:p,style:h}=c;if(i==null)return null;if(u==="typography"&&i==="inherit")return{[n]:i};const g=Pte(r,u)||{};return h?h(l):v7(l,i,(f=>{let x=gZ(g,p,f);return f===x&&typeof f=="string"&&(x=gZ(g,p,`${n}${f==="default"?"":Ko(f)}`,f)),d===!1?x:{[d]:x}}))}return function n(i){const{sx:r,theme:s={},nested:l}=i||{};if(!r)return null;const c=s.unstable_sxConfig??Ote;function d(u){let p=u;if(typeof u=="function")p=u(s);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)),{})||{}})(s.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],s);if(y!=null)if(typeof y=="object")if(c[x])f=OF(f,e(x,y,s,c));else{const b=v7({theme:s},y,(w=>({[x]:w})));(function(...w){const C=w.reduce(((A,k)=>A.concat(Object.keys(k))),[]),v=new Set(C);return w.every((A=>v.size===Object.keys(A).length))})(b,y)?f[x]=n({sx:y,theme:s,nested:!0}):f=OF(f,b)}else f=OF(f,e(x,y,s,c))})),!l&&s.modularCssLayers?{"@layer sx":jje(s,Eje(g,f))}:jje(s,Eje(g,f))}return Array.isArray(r)?r.map(d):d(r)}})();function sdn(e,n){const i=this;if(i.vars){if(!i.colorSchemes?.[e]||typeof i.getColorSchemeSelector!="function")return{};let r=i.getColorSchemeSelector(e);return r==="&"?n:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:n})}return i.palette.mode===e?n:{}}function t8e(e={},...n){const{breakpoints:i={},palette:r={},spacing:s,shape:l={},...c}=e;let d=W1({breakpoints:Fcn(i),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:jAt(s),shape:{...Rcn,...l}},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=sdn,d=n.reduce(((u,p)=>W1(u,p)),d),d.unstable_sxConfig={...Ote,...c?.unstable_sxConfig},d.unstable_sx=function(u){return cS({sx:u,theme:this})},d}function K4e(e=null){const n=m.useContext(iAt);return!n||(function(i){return Object.keys(i).length===0})(n)?e:n}cS.filterProps=["sx"];const ldn=t8e();function $At(e=ldn){return K4e(e)}function Dje(e){const n=E9(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function EAt({styles:e,themeId:n,defaultTheme:i={}}){const r=$At(i),s=n&&r[n]||r;let l=typeof e=="function"?e(s):e;return s.modularCssLayers&&(l=Array.isArray(l)?l.map((c=>Dje(typeof c=="function"?c(s):c))):Dje(l)),t.jsx(wAt,{styles:l})}const Tje=e=>e,cdn=(()=>{let e=Tje;return{configure(n){e=n},generate:n=>e(n),reset(){e=Tje}}})();function IAt(e){var n,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(i=IAt(e[n]))&&(r&&(r+=" "),r+=i)}else for(i in e)e[i]&&(r&&(r+=" "),r+=i);return r}function Jo(){for(var e,n,i=0,r="",s=arguments.length;i<s;i++)(e=arguments[i])&&(n=IAt(e))&&(r&&(r+=" "),r+=n);return r}const ddn={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 es(e,n,i="Mui"){const r=ddn[n];return r?`${i}-${r}`:`${cdn.generate(e)}-${n}`}function Ea(e,n,i="Mui"){const r={};return n.forEach((s=>{r[s]=es(e,s,i)})),r}function DAt(e){const{variants:n,...i}=e,r={variants:n,style:E9(i),isProcessed:!0};return r.style===i||n&&n.forEach((s=>{typeof s.style!="function"&&(s.style=E9(s.style))})),r}const udn=t8e();function zae(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Zv(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function pdn(e){return e?(n,i)=>i[e]:null}function Bq(e,n,i){const r=typeof n=="function"?n(e):n;if(Array.isArray(r))return r.flatMap((s=>Bq(e,s,i)));if(Array.isArray(r?.variants)){let s;if(r.isProcessed)s=i?Zv(r.style,i):r.style;else{const{variants:l,...c}=r;s=i?Zv(E9(c),i):c}return TAt(e,r.variants,[s],i)}return r?.isProcessed?i?Zv(E9(r.style),i):r.style:i?Zv(E9(r),i):r}function TAt(e,n,i=[],r=void 0){let s;e:for(let l=0;l<n.length;l+=1){const c=n[l];if(typeof c.props=="function"){if(s??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(s))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"?(s??={...e,...e.ownerState,ownerState:e.ownerState},i.push(r?Zv(E9(c.style(s)),r):c.style(s))):i.push(r?Zv(E9(c.style),r):c.style)}return i}function hdn(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Z4e(e,n,i=!1){const r={...n};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const l=s;if(l==="components"||l==="slots")r[l]={...e[l],...r[l]};else if(l==="componentsProps"||l==="slotProps"){const c=e[l],d=n[l];if(d)if(c){r[l]={...d};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const p=u;r[l][p]=Z4e(c[p],d[p],i)}}else r[l]=d;else r[l]=c||{}}else l==="className"&&i&&n.className?r.className=Jo(e?.className,n?.className):l==="style"&&i&&n.style?r.style={...e?.style,...n?.style}:r[l]===void 0&&(r[l]=e[l])}return r}const Cm=typeof window<"u"?m.useLayoutEffect:m.useEffect;function n8e(e,n=0,i=1){return(function(r,s=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(s,Math.min(r,l))})(e,n,i)}function W9(e){if(e.type)return e;if(e.charAt(0)==="#")return W9((function(l){l=l.slice(1);const c=new RegExp(`.{1,${l.length>=6?2:1}}`,"g");let d=l.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("("),i=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(C7(9,e));let r,s=e.substring(n+1,e.length-1);if(i==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(C7(10,r))}else s=s.split(",");return s=s.map((l=>parseFloat(l))),{type:i,values:s,colorSpace:r}}const EO=(e,n)=>{try{return(i=>{const r=W9(i);return r.values.slice(0,3).map(((s,l)=>r.type.includes("hsl")&&l!==0?`${s}%`:s)).join(" ")})(e)}catch{return e}};function Fte(e){const{type:n,colorSpace:i}=e;let{values:r}=e;return n.includes("rgb")?r=r.map(((s,l)=>l<3?parseInt(s,10):s)):n.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=n.includes("color")?`${i} ${r.join(" ")}`:`${r.join(", ")}`,`${n}(${r})`}function LAt(e){e=W9(e);const{values:n}=e,i=n[0],r=n[1]/100,s=n[2]/100,l=r*Math.min(s,1-s),c=(p,h=(p+i/30)%12)=>s-l*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])),Fte({type:d,values:u})}function J4e(e){let n=(e=W9(e)).type==="hsl"||e.type==="hsla"?W9(LAt(e)).values:e.values;return n=n.map((i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4))),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function bZ(e,n){return e=W9(e),n=n8e(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,Fte(e)}function Bw(e,n,i){try{return bZ(e,n)}catch{return e}}function Rte(e,n){if(e=W9(e),n=n8e(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-n;return Fte(e)}function ds(e,n,i){try{return Rte(e,n)}catch{return e}}function zte(e,n){if(e=W9(e),n=n8e(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*n;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*n;return Fte(e)}function us(e,n,i){try{return zte(e,n)}catch{return e}}function xV(e,n,i){try{return(function(r,s=.15){return J4e(r)>.5?Rte(r,s):zte(r,s)})(e,n)}catch{return e}}const BAt=m.createContext(null);function i8e(){return m.useContext(BAt)}const mdn=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function gdn(e){const{children:n,theme:i}=e,r=i8e(),s=m.useMemo((()=>{const l=r===null?{...i}:(function(c,d){return typeof d=="function"?d(c):{...c,...d}})(r,i);return l!=null&&(l[mdn]=r!==null),l}),[i,r]);return t.jsx(BAt.Provider,{value:s,children:n})}const PAt=m.createContext();function fdn({value:e,...n}){return t.jsx(PAt.Provider,{value:e??!0,...n})}const Nte=()=>m.useContext(PAt)??!1,MAt=m.createContext(void 0);function xdn({value:e,children:n}){return t.jsx(MAt.Provider,{value:e,children:n})}function ydn({props:e,name:n}){return(function(i){const{theme:r,name:s,props:l}=i;if(!r||!r.components||!r.components[s])return l;const c=r.components[s];return c.defaultProps?Z4e(c.defaultProps,l,r.components.mergeClassNameAndStyle):c.styleOverrides||c.variants?l:Z4e(c,l,r.components.mergeClassNameAndStyle)})({props:e,name:n,theme:{components:m.useContext(MAt)}})}let Lje=0;const Bje={...Zon}.useId;function _te(e){if(Bje!==void 0){const n=Bje();return e??n}return(function(n){const[i,r]=m.useState(n),s=n||i;return m.useEffect((()=>{i==null&&(Lje+=1,r(`mui-${Lje}`))}),[i]),s})(e)}const Pje={};function Mje(e,n,i,r=!1){return m.useMemo((()=>{const s=e&&n[e]||n;if(typeof i=="function"){const l=i(s),c=e?{...n,[e]:l}:l;return r?()=>c:c}return e?{...n,[e]:i}:{...n,...i}}),[e,n,i,r])}function OAt(e){const{children:n,theme:i,themeId:r}=e,s=K4e(Pje),l=i8e()||Pje,c=Mje(r,s,i),d=Mje(r,l,i,!0),u=(r?c[r]:c).direction==="rtl",p=(function(h){const g=K4e(),f=_te()||"",{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};`:"",Cm((()=>{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(EAt,{styles:y}):null})(c);return t.jsx(gdn,{theme:d,children:t.jsx(iAt.Provider,{value:c,children:t.jsx(fdn,{value:u,children:t.jsxs(xdn,{value:r?c[r].components:c.components,children:[p,n]})})})})}const Oje={theme:void 0},X4e="mode",e5e="color-scheme",bdn="data-color-scheme";function wdn(){}const Cdn=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(i){if(typeof window>"u")return;if(!n)return i;let r;try{r=n.localStorage.getItem(e)}catch{}return r||i},set:i=>{if(n)try{n.localStorage.setItem(e,i)}catch{}},subscribe:i=>{if(!n)return wdn;const r=s=>{const l=s.newValue;s.key===e&&i(l)};return n.addEventListener("storage",r),()=>{n.removeEventListener("storage",r)}}});function Nae(){}function Fje(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Rje(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 vdn(e){const{defaultMode:n="light",defaultLightColorScheme:i,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:l=X4e,colorSchemeStorageKey:c=e5e,storageWindow:d=typeof window>"u"?void 0:window,storageManager:u=Cdn,noSsr:p=!1}=e,h=s.join(","),g=s.length>1,f=m.useMemo((()=>u?.({key:l,storageWindow:d})),[u,l,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 D=f?.get(n)||n,I=x?.get(i)||i,L=y?.get(r)||r;return{mode:D,systemMode:Fje(D),lightColorScheme:I,darkColorScheme:L}})),[C,v]=m.useState(p||!g);m.useEffect((()=>{v(!0)}),[]);const A=(function(D){return Rje(D,(I=>I==="light"?D.lightColorScheme:I==="dark"?D.darkColorScheme:void 0))})(b),k=m.useCallback((D=>{w((I=>{if(D===I.mode)return I;const L=D??n;return f?.set(L),{...I,mode:L,systemMode:Fje(L)}}))}),[f,n]),$=m.useCallback((D=>{D?typeof D=="string"?D&&!h.includes(D)?console.error(`\`${D}\` does not exist in \`theme.colorSchemes\`.`):w((I=>{const L={...I};return Rje(I,(R=>{R==="light"&&(x?.set(D),L.lightColorScheme=D),R==="dark"&&(y?.set(D),L.darkColorScheme=D)})),L})):w((I=>{const L={...I},R=D.light===null?i:D.light,O=D.dark===null?r:D.dark;return R&&(h.includes(R)?(L.lightColorScheme=R,x?.set(R)):console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`)),O&&(h.includes(O)?(L.darkColorScheme=O,y?.set(O)):console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`)),L})):w((I=>(x?.set(i),y?.set(r),{...I,lightColorScheme:i,darkColorScheme:r})))}),[h,x,y,i,r]),j=m.useCallback((D=>{b.mode==="system"&&w((I=>{const L=D?.matches?"dark":"light";return I.systemMode===L?I:{...I,systemMode:L}}))}),[b.mode]),E=m.useRef(j);return E.current=j,m.useEffect((()=>{if(typeof window.matchMedia!="function"||!g)return;const D=(...L)=>E.current(...L),I=window.matchMedia("(prefers-color-scheme: dark)");return I.addListener(D),D(I),()=>{I.removeListener(D)}}),[g]),m.useEffect((()=>{if(g){const D=f?.subscribe((R=>{(!R||["light","dark","system"].includes(R))&&k(R||n)}))||Nae,I=x?.subscribe((R=>{(!R||h.match(R))&&$({light:R})}))||Nae,L=y?.subscribe((R=>{(!R||h.match(R))&&$({dark:R})}))||Nae;return()=>{D(),I(),L()}}}),[$,k,h,n,d,g,f,x,y]),{...b,mode:C?b.mode:void 0,systemMode:C?b.systemMode:void 0,colorScheme:C?A:void 0,setMode:k,setColorScheme:$}}function Adn(e=""){function n(...i){if(!i.length)return"";const r=i[0];return typeof r!="string"||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${n(...i.slice(1))})`}return(i,...r)=>`var(--${e?`${e}-`:""}${i}${n(...r)})`}const zje=(e,n,i,r=[])=>{let s=e;n.forEach(((l,c)=>{c===n.length-1?Array.isArray(s)?s[Number(l)]=i:s&&typeof s=="object"&&(s[l]=i):s&&typeof s=="object"&&(s[l]||(s[l]=r.includes(l)?[]:{}),s=s[l])}))};function _ae(e,n){const{prefix:i,shouldSkipGeneratingVar:r}=n||{},s={},l={},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"||r&&r(d,u))){const h=`--${i?`${i}-`:""}${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(s,{[h]:g}),zje(l,d,`var(${h})`,p),zje(c,d,`var(${h}, ${g})`,p)}}),(d=>d[0]==="vars")),{css:s,vars:l,varsWithDefaults:c}}function ts(e,n,i=void 0){const r={};for(const s in e){const l=e[s];let c="",d=!0;for(let u=0;u<l.length;u+=1){const p=l[u];p&&(c+=(d===!0?"":" ")+n(p),d=!1,i&&i[p]&&(c+=" "+i[p]))}r[s]=c}return r}function Vae(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const iz={black:"#000",white:"#fff"},Sdn={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"},kdn="#f3e5f5",jdn="#ce93d8",$dn="#ba68c8",Edn="#ab47bc",Idn="#9c27b0",Ddn="#7b1fa2",Tdn="#e57373",Ldn="#ef5350",Bdn="#f44336",Nje="#d32f2f",Pdn="#c62828",Mdn="#ffb74d",Odn="#ffa726",Fdn="#ff9800",Rdn="#f57c00",zdn="#e65100",Ndn="#e3f2fd",_dn="#90caf9",_je="#42a5f5",Vdn="#1976d2",Hdn="#1565c0",Udn="#4fc3f7",Wdn="#29b6f6",Qdn="#03a9f4",Vje="#0288d1",Ydn="#01579b",Gdn="#81c784",qdn="#66bb6a",Kdn="#4caf50",Zdn="#388e3c",Jdn="#2e7d32",Xdn="#1b5e20";function FAt(){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:iz.white,default:iz.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 RAt=FAt();function zAt(){return{text:{primary:iz.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:iz.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 t5e=zAt();function Hje(e,n,i,r){const s=r.light||r,l=r.dark||1.5*r;e[n]||(e.hasOwnProperty(i)?e[n]=e[i]:n==="light"?e.light=zte(e.main,s):n==="dark"&&(e.dark=Rte(e.main,l)))}function Uje(e,n,i,r,s){const l=s.light||s,c=s.dark||1.5*s;n[i]||(n.hasOwnProperty(r)?n[i]=n[r]:i==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(100*l).toFixed(0)}%)`:i==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(100*c).toFixed(0)}%)`))}function o8e(e){const{mode:n="light",contrastThreshold:i=3,tonalOffset:r=.2,colorSpace:s,...l}=e,c=e.primary||(function(b="light"){return b==="dark"?{main:_dn,light:Ndn,dark:_je}:{main:Vdn,light:_je,dark:Hdn}})(n),d=e.secondary||(function(b="light"){return b==="dark"?{main:jdn,light:kdn,dark:Edn}:{main:Idn,light:$dn,dark:Ddn}})(n),u=e.error||(function(b="light"){return b==="dark"?{main:Bdn,light:Tdn,dark:Nje}:{main:Nje,light:Ldn,dark:Pdn}})(n),p=e.info||(function(b="light"){return b==="dark"?{main:Wdn,light:Udn,dark:Vje}:{main:Vje,light:Qdn,dark:Ydn}})(n),h=e.success||(function(b="light"){return b==="dark"?{main:qdn,light:Gdn,dark:Zdn}:{main:Jdn,light:Kdn,dark:Xdn}})(n),g=e.warning||(function(b="light"){return b==="dark"?{main:Odn,light:Mdn,dark:Rdn}:{main:"#ed6c02",light:Fdn,dark:zdn}})(n);function f(b){return s?(function(C){return`oklch(from ${C} var(--__l) 0 h / var(--__a))`})(b):(function(C,v){const A=J4e(C),k=J4e(v);return(Math.max(A,k)+.05)/(Math.min(A,k)+.05)})(b,t5e.text.primary)>=i?t5e.text.primary:RAt.text.primary}const x=({color:b,name:w,mainShade:C=500,lightShade:v=300,darkShade:A=700})=>{if(!(b={...b}).main&&b[C]&&(b.main=b[C]),!b.hasOwnProperty("main"))throw new Error(C7(11,w?` (${w})`:"",C));if(typeof b.main!="string")throw new Error(C7(12,w?` (${w})`:"",JSON.stringify(b.main)));return s?(Uje(s,b,"light",v,r),Uje(s,b,"dark",A,r)):(Hje(b,"light",v,r),Hje(b,"dark",A,r)),b.contrastText||(b.contrastText=f(b.main)),b};let y;return n==="light"?y=FAt():n==="dark"&&(y=zAt()),W1({common:{...iz},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:Sdn,contrastThreshold:i,getContrastText:f,augmentColor:x,tonalOffset:r,...y},l)}function eun(e){const n={};return Object.entries(e).forEach((i=>{const[r,s]=i;typeof s=="object"&&(n[r]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)})),n}function tun(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function nun(e){return Math.round(1e5*e)/1e5}const Wje={textTransform:"uppercase"},Qje='"Roboto", "Helvetica", "Arial", sans-serif';function NAt(e,n){const{fontFamily:i=Qje,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:u=16,allVariants:p,pxToRem:h,...g}=typeof n=="function"?n(e):n,f=r/14,x=h||(w=>w/u*f+"rem"),y=(w,C,v,A,k)=>({fontFamily:i,fontWeight:w,fontSize:x(C),lineHeight:v,...i===Qje?{letterSpacing:`${nun(A/C)}em`}:{},...k,...p}),b={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,Wje),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,Wje),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return W1({htmlFontSize:u,pxToRem:x,fontFamily:i,fontSize:r,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:d,...b},g,{clone:!1})}function Al(...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 iun=["none",Al(0,2,1,-1,0,1,1,0,0,1,3,0),Al(0,3,1,-2,0,2,2,0,0,1,5,0),Al(0,3,3,-2,0,3,4,0,0,1,8,0),Al(0,2,4,-1,0,4,5,0,0,1,10,0),Al(0,3,5,-1,0,5,8,0,0,1,14,0),Al(0,3,5,-1,0,6,10,0,0,1,18,0),Al(0,4,5,-2,0,7,10,1,0,2,16,1),Al(0,5,5,-3,0,8,10,1,0,3,14,2),Al(0,5,6,-3,0,9,12,1,0,3,16,2),Al(0,6,6,-3,0,10,14,1,0,4,18,3),Al(0,6,7,-4,0,11,15,1,0,4,20,3),Al(0,7,8,-4,0,12,17,2,0,5,22,4),Al(0,7,8,-4,0,13,19,2,0,5,24,4),Al(0,7,9,-4,0,14,21,2,0,5,26,4),Al(0,8,9,-5,0,15,22,2,0,6,28,5),Al(0,8,10,-5,0,16,24,2,0,6,30,5),Al(0,8,11,-5,0,17,26,2,0,6,32,5),Al(0,9,11,-5,0,18,28,2,0,7,34,6),Al(0,9,12,-6,0,19,29,2,0,7,36,6),Al(0,10,13,-6,0,20,31,3,0,8,38,7),Al(0,10,13,-6,0,21,33,3,0,8,40,7),Al(0,10,14,-6,0,22,35,3,0,8,42,7),Al(0,11,14,-7,0,23,36,3,0,9,44,8),Al(0,11,15,-7,0,24,38,3,0,9,46,8)],oun={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)"},_At={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Yje(e){return`${Math.round(e)}ms`}function run(e){if(!e)return 0;const n=e/36;return Math.min(Math.round(10*(4+15*n**.25+n/5)),3e3)}function aun(e){const n={...oun,...e.easing},i={..._At,...e.duration};return{getAutoHeightDuration:run,create:(r=["all"],s={})=>{const{duration:l=i.standard,easing:c=n.easeInOut,delay:d=0,...u}=s;return(Array.isArray(r)?r:[r]).map((p=>`${p} ${typeof l=="string"?l:Yje(l)} ${c} ${typeof d=="string"?d:Yje(d)}`)).join(",")},...e,easing:n,duration:i}}const sun={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function lun(e){return Ny(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function VAt(e={}){const n={...e};return(function i(r){const s=Object.entries(r);for(let l=0;l<s.length;l++){const[c,d]=s[l];!lun(d)||c.startsWith("unstable_")?delete r[c]:Ny(d)&&(r[c]={...d},i(r[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-Sf5HhdfR.js","assets/sentry-BefEASz6.js","assets/core-CqflqGv9.js","assets/index-B8Cs9uSY.js","assets/DefaultTenantHome-D-W0Zz4M.js","assets/mui-Splhybhe.js","assets/getLocaleForTenant-CtXCDnm8.js","assets/analytics-Bg9sHj4I.js","assets/utils-JmZUGXv-.js","assets/AppDrawer-DSVPC8lI.js","assets/InboxNotificationsProvider-C5ikUDhJ.js","assets/useTaskManagerAccess-_bds9sOj.js","assets/expenseAutomationHelper-BTi1SBkX.js","assets/ScreenRoutes-B3BB7J7C.js","assets/analyticsHelper-C250WxOz.js","assets/ConnectionAuthScreen-Blj9jq6T.js","assets/AccountMappingScreen-CJqOZP-B.js","assets/MobileAppDrawer-CgETvlX1.js","assets/QBOConnectionScreen-CgzjkkKh.js","assets/empty-D2Qv8UjS.js","assets/index-CNoRQUH7.js","assets/url-DGJ2AapT.js","assets/index-C-1mKpRP.js","assets/decodeURIComponentSafe-Bw5_joHN.js","assets/accountMappingHelper-CJL-kxIR.js","assets/SignInScreen-OWr7JYT3.js","assets/useDeviceId-C-MNChOb.js","assets/MagicLinkSignInScreen-D1iOO-WG.js","assets/NotFoundScreen-C2zJ8cfI.js","assets/MagicLinkRoutes-DtuMD64g.js","assets/PaymentLinkScreen-D2dPHaXS.js","assets/WiseConfirmationScreen-sNuIZv12.js","assets/HubSpotOAuthCallbackScreen-DMdvKmda.js","assets/CustomerOnboardingAuthScreen-D31qgEEW.js","assets/SignOutScreen-DWK7qHmn.js","assets/OAuthConsentScreen-C0AQQOfP.js"])))=>i.map(i=>d[i]);
2
+ import{a as m,R as P,b as _4e,e as Zon,p as Pae,r as y0,g as WCt,d as Mke,f as Jon,s as Oke,i as Xon,w as ern,j as trn,S as nrn,k as irn,l as orn,m as rrn,n as arn,o as srn}from"./sentry-BefEASz6.js";import{L as lrn,C as Fke,_ as rh,a as xN,b as crn,c as mte,d as yN,u as QCt,T as drn,e as urn,f as prn,g as hrn,h as mrn,i as YCt,k as grn,l as frn,j as Kt}from"./liveblocks-B0EpRifM.js";import{f as GCt,r as ba,R as Kv,P as _l,O as xrn,N as qCt,u as Gp,g as i2,h as gte,i as KCt,j as Qr,m as A9e,s as uZ,k as ZCt,l as yrn,n as brn,o as sp,p as wrn,B as Crn}from"./core-CqflqGv9.js";import{L as Rke,bl as vrn,bm as Arn,bn as bN,bo as Srn,bp as krn,bq as Fs,br as Ut,bs as RT,bt as ef,bu as jrn,bv as O7,bw as Ps,bx as $rn,by as Ern,bz as Irn,bA as s1,bB as J1,bC as ZR,bD as _9,bE as un,bF as JCt,bG as H1,bH as Ja,bI as MD,bJ as XCt,bK as evt,bL as S9e,bM as X5,bN as Xu,bO as Zy,bP as Drn,bQ as Rc,bR as Trn,bS as zT,bT as Lrn,bU as Brn,bV as JR,bW as Prn,bX as Mrn,bY as pZ,bZ as Orn,b_ as Frn,b$ as V9,c0 as zke,c1 as Rrn,c2 as zrn,c3 as Nrn,c4 as _rn,c5 as Vrn,c6 as Hrn,c7 as Urn,c8 as Jy,c9 as fte,ca as Wrn,cb as xte,cc as yte,cd as bte,ce as k9e,cf as wN,cg as rS,ch as CN,ci as OD,cj as FD,ck as aS,cl as wte,cm as TA,cn as Qrn,co as Nke,cp as Yrn,cq as Grn,cr as qrn,cs as Krn,ct as tvt,cu as Zrn,cv as Jrn,cw as Lw,cx as _ke,cy as Xrn,cz as ean,cA as tan,cB as VS,cC as HS,cD as nvt,cE as ivt,cF as j9e,cG as nan,cH as ovt,cI as ian,cJ as hZ,cK as rvt,cL as oan,cM as avt,cN as ran,cO as $O,cP as aan,cQ as san,cR as Vke,cS as lan,cT as $9e,cU as E9e,cV as can,cW as dan,cX as uan,cY as pan,cZ as uV,c_ as XR,c$ as pV,d0 as han,d1 as man,d2 as svt,d3 as gan,d4 as fan,d5 as xan,d6 as yan,d7 as lvt,d8 as Hke,d9 as ban,da as I9e,db as wan,dc as Can,dd as van,de as cvt,df as fu,dg as Ul,dh as Cte,di as Aan,dj as San,dk as M1,dl as dvt,dm as kan,dn as ez,dp as LA,dq as Us,dr as Uke,ds as jan,dt as $an,du as Ean,dv as uvt,dw as D9e,dx as hV,dy as Eg,dz as Ian,dA as Dan,dB as Tan,dC as Lan,dD as Ban,dE as Pan,dF as Man,dG as Oan,dH as mV,dI as sS,dJ as vte,dK as Fan,dL as Ran,dM as US,dN as U1,dO as pvt,dP as hvt,dQ as zan,dR as mvt,dS as Nan,dT as _an,dU as Van,dV as Han,dW as NT,dX as T9e,dY as L9e,dZ as Uan,d_ as B9e,d$ as gvt,e0 as fvt,e1 as xvt,e2 as yvt,e3 as bvt,e4 as wvt,e5 as Wan,_ as Bd,e6 as _T,e7 as Cvt,e8 as Qan,e9 as LF,ea as I0,eb as Xy,ec as vvt,ed as Avt,ee as Svt,ef as V4e,eg as Yan,eh as Eq,ei as Gan,ej as qan,ek as Kan,el as Zan,em as Jan,en as kvt,eo as jvt,ep as Xan,eq as esn,er as $vt,es as BF,et as PF,eu as Evt,ev as tsn,ew as nsn,ex as P9e,ey as Ivt,ez as Dvt,eA as M9e,eB as VT,eC as Ate,eD as O9e,eE as F9e,eF as R9e,eG as z9e,eH as isn,eI as osn,eJ as Tvt,eK as Wke,eL as rsn,eM as N9e,eN as Lvt,eO as Bvt,eP as asn,eQ as _9e,eR as V9e,eS as ssn,eT as lsn,eU as csn,eV as Pvt,eW as dsn,eX as usn,eY as psn,eZ as hsn,e_ as Mvt,e$ as Ovt,f0 as Qke,f1 as Yke,f2 as msn,f3 as gsn,f4 as Gke,f5 as qke,f6 as fsn,f7 as xsn,f8 as Fvt,f9 as ysn,fa as Kke,fb as Ste,fc as bsn,fd as wsn,fe as Csn,ff as vsn,fg as Asn,fh as Ssn,fi as ksn,fj as jsn,fk as R1,fl as $sn,fm as kte,fn as Esn,fo as Isn,fp as Ug,fq as Zke,fr as Rvt,fs as zvt,ft as Nvt,fu as _vt,fv as Vvt,fw as Hvt,fx as RD,fy as Dsn,fz as Tsn,fA as Lsn,fB as H4e,fC as Bsn,v as Psn,fD as jte,fE as h0,fF as Uvt,fG as Wvt,fH as Msn,fI as Osn,fJ as Jke,fK as Fsn,fL as Rsn,fM as zsn,fN as Nsn,fO as _sn,fP as Vsn,fQ as Hsn,fR as Usn,fS as Wsn,fT as Qsn,fU as Ysn,fV as Gsn,fW as qsn,fX as Ksn,fY as Zsn,fZ as Jsn,f_ as Xsn,f$ as eln,g0 as tln,g1 as Xke,g2 as nln,g3 as iln,g4 as oln,g5 as rln,g6 as aln,g7 as Qvt,g8 as $te,g9 as H9e,ga as Yvt,gb as sln,gc as lln,gd as cln,ge as Gvt,gf as eje,gg as qvt,gh as Kvt,gi as dln,gj as Zvt,gk as Jvt,gl as uln,gm as pln,gn as U4e,go as hln,gp as MF,gq as mln,gr as gln,gs as fln,gt as xln,gu as yln,gv as bln,gw as wln,gx as Cln,gy as vln,gz as Aln,gA as Sln,gB as kln,gC as Xvt,gD as jln,gE as $ln,gF as Eln,gG as tje,gH as Iln,gI as Dln,gJ as Tln,gK as Lln,gL as Bln,gM as Pln,gN as eAt,gO as tAt,gP as Mln,gQ as nAt,gR as Oln,gS as Fln,gT as W4e,gU as Rln,gV as zln,gW as Nln,gX as _ln,gY as Vln,gZ as Hln,g_ as nje,g$ as Uln,h0 as Wln,h1 as Qln}from"./zeni-epic-state-Sf5HhdfR.js";import{n as a,T as iAt,G as vN,j as ko,c as Te,k as ri,C as oAt,u as Yln,D as rAt,S as aAt,a as Gln}from"./mui-Splhybhe.js";import{r as qln,m as bg}from"./analytics-Bg9sHj4I.js";import{u as ep}from"./plaid-D5Rs2Xbn.js";import{D as U9e,H as Ete,g as Kln,O as Zln,S as Jln,T as Xln,u as W9e,a as Q9e,b as ecn}from"./dnd-OUjwZlfC.js";import{l as Y9e}from"./stripe-cKAAJElX.js";import{L as YI}from"./lottie-x3DIllPk.js";import{r as ad}from"./lexical-BHqkUsiS.js";import{D as Q4e,P as Y4e,_ as sAt,a as lAt}from"./pdf-BZfLFbU_.js";import{R as lS,G as H9,H as eh,X as Gl,Y as Tl,I as Id,J as U9,K as y8,L as BA,M as K1,N as HT,O as cAt,P as tcn,Q as ncn,S as Ite,U as icn,V as G9e,W as ocn,Z as rcn,_ as acn,d as scn}from"./recharts-C-DOhwH-.js";import{r as lcn,n as ije}from"./utils-JmZUGXv-.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]="667fdf12-0a95-4e82-b3f4-15acda2dd6af",e._sentryDebugIdIdentifier="sentry-dbid-667fdf12-0a95-4e82-b3f4-15acda2dd6af")}catch{}})();(function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver((i=>{for(const r of i)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)})).observe(document,{childList:!0,subtree:!0})}function n(i){if(i.ep)return;i.ep=!0;const r=(function(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l})(i);fetch(i.href,r)}})();var oje,gV={},ccn=(function(){if(oje)return gV;oje=1;var e=GCt();return gV.createRoot=e.createRoot,gV.hydrateRoot=e.hydrateRoot,gV})(),r0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof _4e<"u"?_4e:typeof self<"u"?self:{};function cr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rje,aje,sje={exports:{}},KL={};function dAt(){return aje||(aje=1,sje.exports=(function(){if(rje)return KL;rje=1;var e=P,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={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)r.call(u,h)&&!l.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:s.current}}return KL.Fragment=i,KL.jsx=c,KL.jsxs=c,KL})()),sje.exports}var t=dAt();const dcn=m.createContext(null),Mae={didCatch:!1,error:null};let ucn=class extends m.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Mae}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){const{error:e}=this.state;if(e!==null){for(var n,i,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];(n=(i=this.props).onReset)===null||n===void 0||n.call(i,{args:s,reason:"imperative-api"}),this.setState(Mae)}}componentDidCatch(e,n){var i,r;(i=(r=this.props).onError)===null||i===void 0||i.call(r,e,n)}componentDidUpdate(e,n){const{didCatch:i}=this.state,{resetKeys:r}=this.props;var s,l;i&&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,r)&&((s=(l=this.props).onReset)===null||s===void 0||s.call(l,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(Mae))}render(){const{children:e,fallbackRender:n,FallbackComponent:i,fallback:r}=this.props,{didCatch:s,error:l}=this.state;let c=e;if(s){const d={error:l,resetErrorBoundary:this.resetErrorBoundary};if(typeof n=="function")c=n(d);else if(i)c=m.createElement(i,d);else{if(r===void 0)throw l;c=r}}return m.createElement(dcn.Provider,{value:{didCatch:s,error:l,resetErrorBoundary:this.resetErrorBoundary}},c)}};var lje,Oae={exports:{}},Fae,pcn=(lje||(lje=1,Fae=Oae,(function(e,n){Fae.exports?Fae.exports=n():e.numeral=n()})(Oae.exports,(function(){var e,n,i,r,s,l={},c={},d={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:d.currentLocale,zeroFormat:d.zeroFormat,nullFormat:d.nullFormat,defaultFormat:d.defaultFormat,scalePercentBy100:d.scalePercentBy100};function p(h,g){this._input=h,this._value=g}return e=function(h){var g,f,x,y;if(e.isNumeral(h))g=h.value();else if(h===0||typeof h>"u")g=0;else if(h===null||n.isNaN(h))g=null;else if(typeof h=="string")if(u.zeroFormat&&h===u.zeroFormat)g=0;else if(u.nullFormat&&h===u.nullFormat||!h.replace(/[^0-9]+/g,"").length)g=null;else{for(f in l)if((y=typeof l[f].regexps.unformat=="function"?l[f].regexps.unformat():l[f].regexps.unformat)&&h.match(y)){x=l[f].unformat;break}g=(x=x||e._.stringToNumber)(h)}else g=Number(h)||null;return new p(h,g)},e.version="2.0.6",e.isNumeral=function(h){return h instanceof p},e._=n={numberToFormat:function(h,g,f){var x,y,b,w,C,v,A,k,$=c[e.options.currentLocale],j=!1,E=!1,D="",I=1e12,L=1e9,R=1e6,O="",_=!1;if(h=h||0,b=Math.abs(h),e._.includes(g,"(")?(j=!0,g=g.replace(/[\(|\)]/g,"")):(e._.includes(g,"+")||e._.includes(g,"-"))&&(v=e._.includes(g,"+")?g.indexOf("+"):h<0?g.indexOf("-"):-1,g=g.replace(/[\+|\-]/g,"")),e._.includes(g,"a")&&(y=!!(y=g.match(/a(k|m|b|t)?/))&&y[1],e._.includes(g," a")&&(D=" "),g=g.replace(new RegExp(D+"a[kmbt]?"),""),b>=I&&!y||y==="t"?(D+=$.abbreviations.trillion,h/=I):b<I&&b>=L&&!y||y==="b"?(D+=$.abbreviations.billion,h/=L):b<L&&b>=R&&!y||y==="m"?(D+=$.abbreviations.million,h/=R):(b<R&&b>=1e3&&!y||y==="k")&&(D+=$.abbreviations.thousand,h/=1e3)),e._.includes(g,"[.]")&&(E=!0,g=g.replace("[.]",".")),w=h.toString().split(".")[0],C=g.split(".")[1],A=g.indexOf(","),x=(g.split(".")[0].split(",")[0].match(/0/g)||[]).length,C?(e._.includes(C,"[")?(C=(C=C.replace("]","")).split("["),O=e._.toFixed(h,C[0].length+C[1].length,f,C[1].length)):O=e._.toFixed(h,C.length,f),w=O.split(".")[0],O=e._.includes(O,".")?$.delimiters.decimal+O.split(".")[1]:"",E&&Number(O.slice(1))===0&&(O="")):w=e._.toFixed(h,0,f),D&&!y&&Number(w)>=1e3&&D!==$.abbreviations.trillion)switch(w=String(Number(w)/1e3),D){case $.abbreviations.thousand:D=$.abbreviations.million;break;case $.abbreviations.million:D=$.abbreviations.billion;break;case $.abbreviations.billion:D=$.abbreviations.trillion}if(e._.includes(w,"-")&&(w=w.slice(1),_=!0),w.length<x)for(var N=x-w.length;N>0;N--)w="0"+w;return A>-1&&(w=w.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+$.delimiters.thousands)),g.indexOf(".")===0&&(w=""),k=w+O+(D||""),j?k=(j&&_?"(":"")+k+(j&&_?")":""):v>=0?k=v===0?(_?"-":"+")+k:k+(_?"-":"+"):_&&(k="-"+k),k},stringToNumber:function(h){var g,f,x,y=c[u.currentLocale],b=h,w={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&h===u.zeroFormat)f=0;else if(u.nullFormat&&h===u.nullFormat||!h.replace(/[^0-9]+/g,"").length)f=null;else{for(g in f=1,y.delimiters.decimal!=="."&&(h=h.replace(/\./g,"").replace(y.delimiters.decimal,".")),w)if(x=new RegExp("[^a-zA-Z]"+y.abbreviations[g]+"(?:\\)|(\\"+y.currency.symbol+")?(?:\\))?)?$"),b.match(x)){f*=Math.pow(10,w[g]);break}f*=(h.split("-").length+Math.min(h.split("(").length-1,h.split(")").length-1))%2?1:-1,h=h.replace(/[^0-9\.]+/g,""),f*=Number(h)}return f},isNaN:function(h){return typeof h=="number"&&isNaN(h)},includes:function(h,g){return h.indexOf(g)!==-1},insert:function(h,g,f){return h.slice(0,f)+g+h.slice(f)},reduce:function(h,g){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof g!="function")throw new TypeError(g+" is not a function");var f,x=Object(h),y=x.length>>>0,b=0;if(arguments.length===3)f=arguments[2];else{for(;b<y&&!(b in x);)b++;if(b>=y)throw new TypeError("Reduce of empty array with no initial value");f=x[b++]}for(;b<y;b++)b in x&&(f=g(f,x[b],b,x));return f},multiplier:function(h){var g=h.toString().split(".");return g.length<2?1:Math.pow(10,g[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(h,g){var f=n.multiplier(g);return h>f?h:f}),1)},toFixed:function(h,g,f,x){var y,b,w,C,v=h.toString().split("."),A=g-(x||0);return y=v.length===2?Math.min(Math.max(v[1].length,A),g):A,w=Math.pow(10,y),C=(f(h+"e+"+y)/w).toFixed(y),x>g-y&&(b=new RegExp("\\.?0{1,"+(x-(g-y))+"}$"),C=C.replace(b,"")),C}},e.options=u,e.formats=l,e.locales=c,e.locale=function(h){return h&&(u.currentLocale=h.toLowerCase()),u.currentLocale},e.localeData=function(h){if(!h)return c[u.currentLocale];if(h=h.toLowerCase(),!c[h])throw new Error("Unknown locale : "+h);return c[h]},e.reset=function(){for(var h in d)u[h]=d[h]},e.zeroFormat=function(h){u.zeroFormat=typeof h=="string"?h:null},e.nullFormat=function(h){u.nullFormat=typeof h=="string"?h:null},e.defaultFormat=function(h){u.defaultFormat=typeof h=="string"?h:"0.0"},e.register=function(h,g,f){if(g=g.toLowerCase(),this[h+"s"][g])throw new TypeError(g+" "+h+" already registered.");return this[h+"s"][g]=f,f},e.validate=function(h,g){var f,x,y,b,w,C,v,A;if(typeof h!="string"&&(h+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",h)),(h=h.trim()).match(/^\d+$/))return!0;if(h==="")return!1;try{v=e.localeData(g)}catch{v=e.localeData(e.locale())}return y=v.currency.symbol,w=v.abbreviations,f=v.delimiters.decimal,x=v.delimiters.thousands==="."?"\\.":v.delimiters.thousands,!((A=h.match(/^[^\d]+/))!==null&&(h=h.substr(1),A[0]!==y)||(A=h.match(/[^\d]+$/))!==null&&(h=h.slice(0,-1),A[0]!==w.thousand&&A[0]!==w.million&&A[0]!==w.billion&&A[0]!==w.trillion)||(C=new RegExp(x+"{2}"),h.match(/[^\d.,]/g)||(b=h.split(f)).length>2||(b.length<2?!b[0].match(/^\d+.*\d$/)||b[0].match(C):b[0].length===1?!b[0].match(/^\d+$/)||b[0].match(C)||!b[1].match(/^\d+$/):!b[0].match(/^\d+.*\d$/)||b[0].match(C)||!b[1].match(/^\d+$/))))},e.fn=p.prototype={clone:function(){return e(this)},format:function(h,g){var f,x,y,b=this._value,w=h||u.defaultFormat;if(g=g||Math.round,b===0&&u.zeroFormat!==null)x=u.zeroFormat;else if(b===null&&u.nullFormat!==null)x=u.nullFormat;else{for(f in l)if(w.match(l[f].regexps.format)){y=l[f].format;break}x=(y=y||e._.numberToFormat)(b,w,g)}return x},value:function(){return this._value},input:function(){return this._input},set:function(h){return this._value=Number(h),this},add:function(h){var g=n.correctionFactor.call(null,this._value,h);return this._value=n.reduce([this._value,h],(function(f,x,y,b){return f+Math.round(g*x)}),0)/g,this},subtract:function(h){var g=n.correctionFactor.call(null,this._value,h);return this._value=n.reduce([h],(function(f,x,y,b){return f-Math.round(g*x)}),Math.round(this._value*g))/g,this},multiply:function(h){return this._value=n.reduce([this._value,h],(function(g,f,x,y){var b=n.correctionFactor(g,f);return Math.round(g*b)*Math.round(f*b)/Math.round(b*b)}),1),this},divide:function(h){return this._value=n.reduce([this._value,h],(function(g,f,x,y){var b=n.correctionFactor(g,f);return Math.round(g*b)/Math.round(f*b)})),this},difference:function(h){return Math.abs(e(this._value).subtract(h).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(h){var g=h%10;return~~(h%100/10)==1?"th":g===1?"st":g===2?"nd":g===3?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(h,g,f){var x,y=e._.includes(g," BPS")?" ":"";return h*=1e4,g=g.replace(/\s?BPS/,""),x=e._.numberToFormat(h,g,f),e._.includes(x,")")?((x=x.split("")).splice(-1,0,y+"BPS"),x=x.join("")):x=x+y+"BPS",x},unformat:function(h){return+(1e-4*e._.stringToNumber(h)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},s="("+(s=(i={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(h){return i.suffixes.indexOf(h)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(s)},format:function(h,g,f){var x,y,b,w=e._.includes(g,"ib")?r:i,C=e._.includes(g," b")||e._.includes(g," ib")?" ":"";for(g=g.replace(/\s?i?b/,""),x=0;x<=w.suffixes.length;x++)if(y=Math.pow(w.base,x),b=Math.pow(w.base,x+1),h===null||h===0||h>=y&&h<b){C+=w.suffixes[x],y>0&&(h/=y);break}return e._.numberToFormat(h,g,f)+C},unformat:function(h){var g,f,x=e._.stringToNumber(h);if(x){for(g=i.suffixes.length-1;g>=0;g--){if(e._.includes(h,i.suffixes[g])){f=Math.pow(i.base,g);break}if(e._.includes(h,r.suffixes[g])){f=Math.pow(r.base,g);break}}x*=f||1}return x}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(h,g,f){var x,y,b,w=e.locales[e.options.currentLocale],C={before:g.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:g.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(g=g.replace(/\s?\$\s?/,""),x=e._.numberToFormat(h,g,f),h>=0?(C.before=C.before.replace(/[\-\(]/,""),C.after=C.after.replace(/[\-\)]/,"")):h<0&&!e._.includes(C.before,"-")&&!e._.includes(C.before,"(")&&(C.before="-"+C.before),b=0;b<C.before.length;b++)switch(y=C.before[b],y){case"$":x=e._.insert(x,w.currency.symbol,b);break;case" ":x=e._.insert(x," ",b+w.currency.symbol.length-1)}for(b=C.after.length-1;b>=0;b--)switch(y=C.after[b],y){case"$":x=b===C.after.length-1?x+w.currency.symbol:e._.insert(x,w.currency.symbol,-(C.after.length-(1+b)));break;case" ":x=b===C.after.length-1?x+" ":e._.insert(x," ",-(C.after.length-(1+b)+w.currency.symbol.length-1))}return x}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(h,g,f){var x=(typeof h!="number"||e._.isNaN(h)?"0e+0":h.toExponential()).split("e");return g=g.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(x[0]),g,f)+"e"+x[1]},unformat:function(h){var g=e._.includes(h,"e+")?h.split("e+"):h.split("e-"),f=Number(g[0]),x=Number(g[1]);return x=e._.includes(h,"e-")?x*=-1:x,e._.reduce([f,Math.pow(10,x)],(function(y,b,w,C){var v=e._.correctionFactor(y,b);return y*v*(b*v)/(v*v)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(h,g,f){var x=e.locales[e.options.currentLocale],y=e._.includes(g," o")?" ":"";return g=g.replace(/\s?o/,""),y+=x.ordinal(h),e._.numberToFormat(h,g,f)+y}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(h,g,f){var x,y=e._.includes(g," %")?" ":"";return e.options.scalePercentBy100&&(h*=100),g=g.replace(/\s?\%/,""),x=e._.numberToFormat(h,g,f),e._.includes(x,")")?((x=x.split("")).splice(-1,0,y+"%"),x=x.join("")):x=x+y+"%",x},unformat:function(h){var g=e._.stringToNumber(h);return e.options.scalePercentBy100?.01*g:g}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(h,g,f){var x=Math.floor(h/60/60),y=Math.floor((h-60*x*60)/60),b=Math.round(h-60*x*60-60*y);return x+":"+(y<10?"0"+y:y)+":"+(b<10?"0"+b:b)},unformat:function(h){var g=h.split(":"),f=0;return g.length===3?(f+=60*Number(g[0])*60,f+=60*Number(g[1]),f+=Number(g[2])):g.length===2&&(f+=60*Number(g[0]),f+=Number(g[1])),Number(f)}}),e}))),Oae.exports);const L3=cr(pcn);function C7(e,...n){const i=new URL(`https://mui.com/production-error/?code=${e}`);return n.forEach((r=>i.searchParams.append("args[]",r))),`Minified MUI error #${e}; visit ${i} for the full message.`}const p7="$$material";var hcn={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 mcn(e){var n=Object.create(null);return function(i){return n[i]===void 0&&(n[i]=e(i)),n[i]}}var gcn=/[A-Z]|^ms/g,fcn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,uAt=function(e){return e.charCodeAt(1)===45},cje=function(e){return e!=null&&typeof e!="boolean"},Rae=mcn((function(e){return uAt(e)?e:e.replace(gcn,"-$&").toLowerCase()})),dje=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(fcn,(function(i,r,s){return u9={name:r,styles:s,next:u9},r}))}return hcn[e]===1||uAt(e)||typeof n!="number"||n===0?n:n+"px"};function mZ(e,n,i){if(i==null)return"";var r=i;if(r.__emotion_styles!==void 0)return r;switch(typeof i){case"boolean":return"";case"object":var s=i;if(s.anim===1)return u9={name:s.name,styles:s.styles,next:u9},s.name;var l=i;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)u9={name:c.name,styles:c.styles,next:u9},c=c.next;return l.styles+";"}return(function(d,u,p){var h="";if(Array.isArray(p))for(var g=0;g<p.length;g++)h+=mZ(d,u,p[g])+";";else for(var f in p){var x=p[f];if(typeof x!="object"){var y=x;cje(y)&&(h+=Rae(f)+":"+dje(f,y)+";")}else if(Array.isArray(x)&&typeof x[0]=="string"&&u==null)for(var b=0;b<x.length;b++)cje(x[b])&&(h+=Rae(f)+":"+dje(f,x[b])+";");else{var w=mZ(d,u,x);switch(f){case"animation":case"animationName":h+=Rae(f)+":"+w+";";break;default:h+=f+"{"+w+"}"}}}return h})(e,n,i)}return i}var u9,uje=/label:\s*([^\s;{]+)\s*(;|$)/g,pje,hje,mje,gje,fje,xje={exports:{}};function xcn(){return hje?pje:(hje=1,pje="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function ycn(){if(gje)return mje;gje=1;var e=xcn();function n(){}function i(){}return i.resetWarningCache=n,mje=function(){function r(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 s(){return r}r.isRequired=r;var l={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:s,element:r,elementType:r,instanceOf:s,node:r,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:i,resetWarningCache:n};return l.PropTypes=l,l}}function q9e(){return fje||(fje=1,xje.exports=ycn()()),xje.exports}const _n=cr(q9e());var bcn=(function(){function e(i){var r=this;this._insertTag=function(s){var l;l=r.tags.length===0?r.insertionPoint?r.insertionPoint.nextSibling:r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(s,l),r.tags.push(s)},this.isSpeedy=i.speedy===void 0||i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(i){i.forEach(this._insertTag)},n.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag((function(l){var c=document.createElement("style");return c.setAttribute("data-emotion",l.key),l.nonce!==void 0&&c.setAttribute("nonce",l.nonce),c.appendChild(document.createTextNode("")),c.setAttribute("data-s",""),c})(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var s=(function(l){if(l.sheet)return l.sheet;for(var c=0;c<document.styleSheets.length;c++)if(document.styleSheets[c].ownerNode===l)return document.styleSheets[c]})(r);try{s.insertRule(i,s.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},n.flush=function(){this.tags.forEach((function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)})),this.tags=[],this.ctr=0},e})(),k1="-ms-",yje="-moz-",Ya="-webkit-",pAt="comm",K9e="rule",Z9e="decl",hAt="@keyframes",wcn=Math.abs,Dte=String.fromCharCode,Ccn=Object.assign;function mAt(e){return e.trim()}function qa(e,n,i){return e.replace(n,i)}function G4e(e,n){return e.indexOf(n)}function Wu(e,n){return 0|e.charCodeAt(n)}function tz(e,n,i){return e.slice(n,i)}function t5(e){return e.length}function J9e(e){return e.length}function fV(e,n){return n.push(e),e}var Tte=1,zD=1,gAt=0,m0=0,Xc=0,UT="";function Lte(e,n,i,r,s,l,c){return{value:e,root:n,parent:i,type:r,props:s,children:l,line:Tte,column:zD,length:c,return:""}}function ZL(e,n){return Ccn(Lte("",null,null,"",null,null,0),e,{length:-e.length},n)}function gm(){return Xc=m0<gAt?Wu(UT,m0++):0,zD++,Xc===10&&(zD=1,Tte++),Xc}function _5(){return Wu(UT,m0)}function Iq(){return m0}function AN(e,n){return tz(UT,e,n)}function nz(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 fAt(e){return Tte=zD=1,gAt=t5(UT=e),m0=0,[]}function xAt(e){return UT="",e}function Dq(e){return mAt(AN(m0-1,q4e(e===91?e+2:e===40?e+1:e)))}function vcn(e){for(;(Xc=_5())&&Xc<33;)gm();return nz(e)>2||nz(Xc)>3?"":" "}function Acn(e,n){for(;--n&&gm()&&!(Xc<48||Xc>102||Xc>57&&Xc<65||Xc>70&&Xc<97););return AN(e,Iq()+(n<6&&_5()==32&&gm()==32))}function q4e(e){for(;gm();)switch(Xc){case e:return m0;case 34:case 39:e!==34&&e!==39&&q4e(Xc);break;case 40:e===41&&q4e(e);break;case 92:gm()}return m0}function Scn(e,n){for(;gm()&&e+Xc!==57&&(e+Xc!==84||_5()!==47););return"/*"+AN(n,m0-1)+"*"+Dte(e===47?e:gm())}function kcn(e){for(;!nz(_5());)gm();return AN(e,m0)}function jcn(e){return xAt(Tq("",null,null,null,[""],e=fAt(e),0,[0],e))}function Tq(e,n,i,r,s,l,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,A="",k=s,$=l,j=r,E=A;w;)switch(y=v,v=gm()){case 40:if(y!=108&&Wu(E,g-1)==58){G4e(E+=qa(Dq(v),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:E+=Dq(v);break;case 9:case 10:case 13:case 32:E+=vcn(y);break;case 92:E+=Acn(Iq()-1,7);continue;case 47:switch(_5()){case 42:case 47:fV($cn(Scn(gm(),Iq()),n,i),u);break;default:E+="/"}break;case 123*b:d[p++]=t5(E)*C;case 125*b:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+h:C==-1&&(E=qa(E,/\f/g,"")),x>0&&t5(E)-g&&fV(x>32?wje(E+";",r,i,g-1):wje(qa(E," ","")+";",r,i,g-2),u);break;case 59:E+=";";default:if(fV(j=bje(E,n,i,p,h,s,d,A,k=[],$=[],g),l),v===123)if(h===0)Tq(E,n,j,j,k,l,g,d,$);else switch(f===99&&Wu(E,3)===110?100:f){case 100:case 108:case 109:case 115:Tq(e,j,j,r&&fV(bje(e,j,j,0,0,s,d,A,s,k=[],g),$),s,$,g,d,r?k:$);break;default:Tq(E,j,j,j,[""],$,0,d,$)}}p=h=x=0,b=C=1,A=E="",g=c;break;case 58:g=1+t5(E),x=y;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&(Xc=m0>0?Wu(UT,--m0):0,zD--,Xc===10&&(zD=1,Tte--),Xc==125))continue}switch(E+=Dte(v),v*b){case 38:C=h>0?1:(E+="\f",-1);break;case 44:d[p++]=(t5(E)-1)*C,C=1;break;case 64:_5()===45&&(E+=Dq(gm())),f=_5(),h=g=t5(A=E+=kcn(Iq())),v++;break;case 45:y===45&&t5(E)==2&&(b=0)}}return l}function bje(e,n,i,r,s,l,c,d,u,p,h){for(var g=s-1,f=s===0?l:[""],x=J9e(f),y=0,b=0,w=0;y<r;++y)for(var C=0,v=tz(e,g+1,g=wcn(b=c[y])),A=e;C<x;++C)(A=mAt(b>0?f[C]+" "+v:qa(v,/&\f/g,f[C])))&&(u[w++]=A);return Lte(e,n,i,s===0?K9e:d,u,p,h)}function $cn(e,n,i){return Lte(e,n,i,pAt,Dte(Xc),tz(e,2,-2),0)}function wje(e,n,i,r){return Lte(e,n,i,Z9e,tz(e,0,r),tz(e,r+1,-1),r)}function GI(e,n){for(var i="",r=J9e(e),s=0;s<r;s++)i+=n(e[s],s,e,n)||"";return i}function Ecn(e,n,i,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Z9e:return e.return=e.return||e.value;case pAt:return"";case hAt:return e.return=e.value+"{"+GI(e.children,r)+"}";case K9e:e.value=e.props.join(",")}return t5(i=GI(e.children,r))?e.return=e.value+"{"+i+"}":""}function Icn(e){return function(n){n.root||(n=n.return)&&e(n)}}var Dcn=function(e,n,i){for(var r=0,s=0;r=s,s=_5(),r===38&&s===12&&(n[i]=1),!nz(s);)gm();return AN(e,m0)},Tcn=function(e,n){return xAt((function(i,r){var s=-1,l=44;do switch(nz(l)){case 0:l===38&&_5()===12&&(r[s]=1),i[s]+=Dcn(m0-1,r,s);break;case 2:i[s]+=Dq(l);break;case 4:if(l===44){i[++s]=_5()===58?"&\f":"",r[s]=i[s].length;break}default:i[s]+=Dte(l)}while(l=gm());return i})(fAt(e),n))},Cje=new WeakMap,Lcn=function(e){if(e.type==="rule"&&e.parent&&!(e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(!(i=i.parent))return;if((e.props.length!==1||n.charCodeAt(0)===58||Cje.get(i))&&!r){Cje.set(e,!0);for(var s=[],l=Tcn(n,s),c=i.props,d=0,u=0;d<l.length;d++)for(var p=0;p<c.length;p++,u++)e.props[u]=s[d]?l[d].replace(/&\f/g,c[p]):c[p]+" "+l[d]}}},Bcn=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function yAt(e,n){switch((function(i,r){return 45^Wu(i,0)?(((r<<2^Wu(i,0))<<2^Wu(i,1))<<2^Wu(i,2))<<2^Wu(i,3):0})(e,n)){case 5103:return Ya+"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 Ya+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ya+e+yje+e+k1+e+e;case 6828:case 4268:return Ya+e+k1+e+e;case 6165:return Ya+e+k1+"flex-"+e+e;case 5187:return Ya+e+qa(e,/(\w+).+(:[^]+)/,Ya+"box-$1$2"+k1+"flex-$1$2")+e;case 5443:return Ya+e+k1+"flex-item-"+qa(e,/flex-|-self/,"")+e;case 4675:return Ya+e+k1+"flex-line-pack"+qa(e,/align-content|flex-|-self/,"")+e;case 5548:return Ya+e+k1+qa(e,"shrink","negative")+e;case 5292:return Ya+e+k1+qa(e,"basis","preferred-size")+e;case 6060:return Ya+"box-"+qa(e,"-grow","")+Ya+e+k1+qa(e,"grow","positive")+e;case 4554:return Ya+qa(e,/([^-])(transform)/g,"$1"+Ya+"$2")+e;case 6187:return qa(qa(qa(e,/(zoom-|grab)/,Ya+"$1"),/(image-set)/,Ya+"$1"),e,"")+e;case 5495:case 3959:return qa(e,/(image-set\([^]*)/,Ya+"$1$`$1");case 4968:return qa(qa(e,/(.+:)(flex-)?(.*)/,Ya+"box-pack:$3"+k1+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ya+e+e;case 4095:case 3583:case 4068:case 2532:return qa(e,/(.+)-inline(.+)/,Ya+"$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(t5(e)-1-n>6)switch(Wu(e,n+1)){case 109:if(Wu(e,n+4)!==45)break;case 102:return qa(e,/(.+:)(.+)-([^]+)/,"$1"+Ya+"$2-$3$1"+yje+(Wu(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~G4e(e,"stretch")?yAt(qa(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Wu(e,n+1)!==115)break;case 6444:switch(Wu(e,t5(e)-3-(~G4e(e,"!important")&&10))){case 107:return qa(e,":",":"+Ya)+e;case 101:return qa(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ya+(Wu(e,14)===45?"inline-":"")+"box$3$1"+Ya+"$2$3$1"+k1+"$2box$3")+e}break;case 5936:switch(Wu(e,n+11)){case 114:return Ya+e+k1+qa(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ya+e+k1+qa(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ya+e+k1+qa(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ya+e+k1+e+e}return e}var Pcn=[function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case Z9e:e.return=yAt(e.value,e.length);break;case hAt:return GI([ZL(e,{value:qa(e.value,"@","@"+Ya)})],r);case K9e:if(e.length)return(function(s,l){return s.map(l).join("")})(e.props,(function(s){switch((function(l,c){return(l=c.exec(l))?l[0]:l})(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return GI([ZL(e,{props:[qa(s,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return GI([ZL(e,{props:[qa(s,/:(plac\w+)/,":"+Ya+"input-$1")]}),ZL(e,{props:[qa(s,/:(plac\w+)/,":-moz-$1")]}),ZL(e,{props:[qa(s,/:(plac\w+)/,k1+"input-$1")]})],r)}return""}))}}],bAt=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,(function(x){x.getAttribute("data-emotion").indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))}))}var r,s=e.stylisPlugins||Pcn,l={},c=[];r=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++)l[y[b]]=!0;c.push(x)}));var d,u,p=[Lcn,Bcn],h=[Ecn,Icn((function(x){u.insert(x)}))],g=(function(x){var y=J9e(x);return function(b,w,C,v){for(var A="",k=0;k<y;k++)A+=x[k](b,w,C,v)||"";return A}})(p.concat(s,h));d=function(x,y,b,w){u=b,(function(C){GI(jcn(C),g)})(x?x+"{"+y.styles+"}":y.styles),w&&(f.inserted[y.name]=!0)};var f={key:n,sheet:new bcn({key:n,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:d};return f.sheet.hydrate(c),f};function wAt(e){const{styles:n,defaultTheme:i={}}=e,r=typeof n=="function"?s=>n((function(l){return l==null||Object.keys(l).length===0})(s)?i:s):n;return t.jsx(vN,{styles:r})}const vje=[];function E9(e){return vje[0]=e,(function(n,i,r){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var s=!0,l="";u9=void 0;var c=n[0];c==null||c.raw===void 0?(s=!1,l+=mZ(r,i,c)):l+=c[0];for(var d=1;d<n.length;d++)l+=mZ(r,i,n[d]),s&&(l+=c[d]);uje.lastIndex=0;for(var u,p="";(u=uje.exec(l))!==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)})(l)+p;return{name:h,styles:l,next:u9}})(vje)}var Aje,Sje,kje={exports:{}},Es={};function Mcn(){if(Aje)return Es;Aje=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=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 i:case s:case r:case u:case p:case f:return b;default:switch(b=b&&b.$$typeof){case c:case d:case g:case h:case l:return b;default:return w}}case n:return w}}}return Es.ContextConsumer=l,Es.ContextProvider=c,Es.Element=e,Es.ForwardRef=d,Es.Fragment=i,Es.Lazy=g,Es.Memo=h,Es.Portal=n,Es.Profiler=s,Es.StrictMode=r,Es.Suspense=u,Es.SuspenseList=p,Es.isContextConsumer=function(b){return y(b)===l},Es.isContextProvider=function(b){return y(b)===c},Es.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Es.isForwardRef=function(b){return y(b)===d},Es.isFragment=function(b){return y(b)===i},Es.isLazy=function(b){return y(b)===g},Es.isMemo=function(b){return y(b)===h},Es.isPortal=function(b){return y(b)===n},Es.isProfiler=function(b){return y(b)===s},Es.isStrictMode=function(b){return y(b)===r},Es.isSuspense=function(b){return y(b)===u},Es.isSuspenseList=function(b){return y(b)===p},Es.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===i||b===s||b===r||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===h||b.$$typeof===c||b.$$typeof===l||b.$$typeof===d||b.$$typeof===x||b.getModuleId!==void 0)},Es.typeOf=y,Es}function Ocn(){return Sje||(Sje=1,kje.exports=Mcn()),kje.exports}var CAt=Ocn();function Ny(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 vAt(e){if(m.isValidElement(e)||CAt.isValidElementType(e)||!Ny(e))return e;const n={};return Object.keys(e).forEach((i=>{n[i]=vAt(e[i])})),n}function W1(e,n,i={clone:!0}){const r=i.clone?{...e}:e;return Ny(e)&&Ny(n)&&Object.keys(n).forEach((s=>{m.isValidElement(n[s])||CAt.isValidElementType(n[s])?r[s]=n[s]:Ny(n[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Ny(e[s])?r[s]=W1(e[s],n[s],i):i.clone?r[s]=Ny(n[s])?vAt(n[s]):n[s]:r[s]=n[s]})),r}function Fcn(e){const{values:n={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:r=5,...s}=e,l=(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(l);function d(h){return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${i})`}function u(h){return`@media (max-width:${(typeof n[h]=="number"?n[h]:h)-r/100}${i})`}function p(h,g){const f=c.indexOf(g);return`@media (min-width:${typeof n[h]=="number"?n[h]:h}${i}) and (max-width:${(f!==-1&&typeof n[c[f]]=="number"?n[c[f]]:g)-r/100}${i})`}return{keys:c,values:l,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:i,...s}}function jje(e,n){if(!e.containerQueries)return n;const i=Object.keys(n).filter((r=>r.startsWith("@container"))).sort(((r,s)=>{const l=/min-width:\s*([0-9.]+)/;return+(r.match(l)?.[1]||0)-+(s.match(l)?.[1]||0)}));return i.length?i.reduce(((r,s)=>{const l=n[s];return delete r[s],r[s]=l,r}),{...n}):n}const Rcn={borderRadius:4};function OF(e,n){return n?W1(e,n,{clone:!1}):e}const Bte={xs:0,sm:600,md:900,lg:1200,xl:1536},$je={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Bte[e]}px)`},zcn={containerQueries:e=>({up:n=>{let i=typeof n=="number"?n:Bte[n]||n;return typeof i=="number"&&(i=`${i}px`),e?`@container ${e} (min-width:${i})`:`@container (min-width:${i})`}})};function v7(e,n,i){const r=e.theme||{};if(Array.isArray(n)){const s=r.breakpoints||$je;return n.reduce(((l,c,d)=>(l[s.up(s.keys[d])]=i(n[d]),l)),{})}if(typeof n=="object"){const s=r.breakpoints||$je;return Object.keys(n).reduce(((l,c)=>{if((function(d,u){return u==="@"||u.startsWith("@")&&(d.some((p=>u.startsWith(`@${p}`)))||!!u.match(/^@\d/))})(s.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)})(r.containerQueries?r:zcn,c);d&&(l[d]=i(n[c],c))}else if(Object.keys(s.values||Bte).includes(c))l[s.up(c)]=i(n[c],c);else{const d=c;l[d]=n[d]}return l}),{})}return i(n)}function Eje(e,n){return e.reduce(((i,r)=>{const s=i[r];return(!s||Object.keys(s).length===0)&&delete i[r],i}),n)}function Ko(e){if(typeof e!="string")throw new Error(C7(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pte(e,n,i=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&i){const r=`vars.${n}`.split(".").reduce(((s,l)=>s&&s[l]?s[l]:null),e);if(r!=null)return r}return n.split(".").reduce(((r,s)=>r&&r[s]!=null?r[s]:null),e)}function gZ(e,n,i,r=i){let s;return s=typeof e=="function"?e(i):Array.isArray(e)?e[i]||r:Pte(e,i)||r,n&&(s=n(s,r,e)),s}function Tc(e){const{prop:n,cssProperty:i=e.prop,themeKey:r,transform:s}=e,l=c=>{if(c[n]==null)return null;const d=c[n],u=Pte(c.theme,r)||{};return v7(c,d,(p=>{let h=gZ(u,s,p);return p===h&&typeof p=="string"&&(h=gZ(u,s,`${n}${p==="default"?"":Ko(p)}`,p)),i===!1?h:{[i]:h}}))};return l.propTypes={},l.filterProps=[n],l}const Ncn={m:"margin",p:"padding"},_cn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ije={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Vcn=(function(e){const n={};return i=>(n[i]===void 0&&(n[i]=e(i)),n[i])})((e=>{if(e.length>2){if(!Ije[e])return[e];e=Ije[e]}const[n,i]=e.split(""),r=Ncn[n],s=_cn[i]||"";return Array.isArray(s)?s.map((l=>r+l)):[r+s]})),AAt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],SAt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function SN(e,n,i,r){const s=Pte(e,n,!0)??i;return typeof s=="number"||typeof s=="string"?l=>typeof l=="string"?l:typeof s=="string"?s.startsWith("var(")&&l===0?0:s.startsWith("var(")&&l===1?s:`calc(${l} * ${s})`:s*l:Array.isArray(s)?l=>{if(typeof l=="string")return l;const c=Math.abs(l),d=s[c];return l>=0?d:typeof d=="number"?-d:typeof d=="string"&&d.startsWith("var(")?`calc(-1 * ${d})`:`-${d}`}:typeof s=="function"?s:()=>{}}function X9e(e){return SN(e,"spacing",8)}function kN(e,n){return typeof n=="string"||n==null?n:e(n)}function Hcn(e,n,i,r){if(!n.includes(i))return null;const s=(function(l,c){return d=>l.reduce(((u,p)=>(u[p]=kN(c,d),u)),{})})(Vcn(i),r);return v7(e,e[i],s)}function kAt(e,n){const i=X9e(e.theme);return Object.keys(e).map((r=>Hcn(e,n,r,i))).reduce(OF,{})}function ic(e){return kAt(e,AAt)}function oc(e){return kAt(e,SAt)}function jAt(e=8,n=X9e({spacing:e})){if(e.mui)return e;const i=(...r)=>(r.length===0?[1]:r).map((s=>{const l=n(s);return typeof l=="number"?`${l}px`:l})).join(" ");return i.mui=!0,i}function Mte(...e){const n=e.reduce(((r,s)=>(s.filterProps.forEach((l=>{r[l]=s})),r)),{}),i=r=>Object.keys(r).reduce(((s,l)=>n[l]?OF(s,n[l](r)):s),{});return i.propTypes={},i.filterProps=e.reduce(((r,s)=>r.concat(s.filterProps)),[]),i}function Ig(e){return typeof e!="number"?e:`${e}px solid`}function p2(e,n){return Tc({prop:e,themeKey:"borders",transform:n})}ic.propTypes={},ic.filterProps=AAt,oc.propTypes={},oc.filterProps=SAt;const Ucn=p2("border",Ig),Wcn=p2("borderTop",Ig),Qcn=p2("borderRight",Ig),Ycn=p2("borderBottom",Ig),Gcn=p2("borderLeft",Ig),qcn=p2("borderColor"),Kcn=p2("borderTopColor"),Zcn=p2("borderRightColor"),Jcn=p2("borderBottomColor"),Xcn=p2("borderLeftColor"),edn=p2("outline",Ig),tdn=p2("outlineColor"),Lq=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const n=SN(e.theme,"shape.borderRadius",4),i=r=>({borderRadius:kN(n,r)});return v7(e,e.borderRadius,i)}return null};Lq.propTypes={},Lq.filterProps=["borderRadius"],Mte(Ucn,Wcn,Qcn,Ycn,Gcn,qcn,Kcn,Zcn,Jcn,Xcn,Lq,edn,tdn);const fZ=e=>{if(e.gap!==void 0&&e.gap!==null){const n=SN(e.theme,"spacing",8),i=r=>({gap:kN(n,r)});return v7(e,e.gap,i)}return null};fZ.propTypes={},fZ.filterProps=["gap"];const xZ=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const n=SN(e.theme,"spacing",8),i=r=>({columnGap:kN(n,r)});return v7(e,e.columnGap,i)}return null};xZ.propTypes={},xZ.filterProps=["columnGap"];const yZ=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const n=SN(e.theme,"spacing",8),i=r=>({rowGap:kN(n,r)});return v7(e,e.rowGap,i)}return null};yZ.propTypes={},yZ.filterProps=["rowGap"];function qI(e,n){return n==="grey"?n:e}Mte(fZ,xZ,yZ,Tc({prop:"gridColumn"}),Tc({prop:"gridRow"}),Tc({prop:"gridAutoFlow"}),Tc({prop:"gridAutoColumns"}),Tc({prop:"gridAutoRows"}),Tc({prop:"gridTemplateColumns"}),Tc({prop:"gridTemplateRows"}),Tc({prop:"gridTemplateAreas"}),Tc({prop:"gridArea"}));function om(e){return e<=1&&e!==0?100*e+"%":e}Mte(Tc({prop:"color",themeKey:"palette",transform:qI}),Tc({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qI}),Tc({prop:"backgroundColor",themeKey:"palette",transform:qI}));const ndn=Tc({prop:"width",transform:om}),e8e=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const n=i=>{const r=e.theme?.breakpoints?.values?.[i]||Bte[i];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:om(i)}};return v7(e,e.maxWidth,n)}return null};e8e.filterProps=["maxWidth"];const idn=Tc({prop:"minWidth",transform:om}),odn=Tc({prop:"height",transform:om}),rdn=Tc({prop:"maxHeight",transform:om}),adn=Tc({prop:"minHeight",transform:om});Tc({prop:"size",cssProperty:"width",transform:om}),Tc({prop:"size",cssProperty:"height",transform:om});Mte(ndn,e8e,idn,odn,rdn,adn,Tc({prop:"boxSizing"}));const Ote={border:{themeKey:"borders",transform:Ig},borderTop:{themeKey:"borders",transform:Ig},borderRight:{themeKey:"borders",transform:Ig},borderBottom:{themeKey:"borders",transform:Ig},borderLeft:{themeKey:"borders",transform:Ig},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ig},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lq},color:{themeKey:"palette",transform:qI},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qI},backgroundColor:{themeKey:"palette",transform:qI},p:{style:oc},pt:{style:oc},pr:{style:oc},pb:{style:oc},pl:{style:oc},px:{style:oc},py:{style:oc},padding:{style:oc},paddingTop:{style:oc},paddingRight:{style:oc},paddingBottom:{style:oc},paddingLeft:{style:oc},paddingX:{style:oc},paddingY:{style:oc},paddingInline:{style:oc},paddingInlineStart:{style:oc},paddingInlineEnd:{style:oc},paddingBlock:{style:oc},paddingBlockStart:{style:oc},paddingBlockEnd:{style:oc},m:{style:ic},mt:{style:ic},mr:{style:ic},mb:{style:ic},ml:{style:ic},mx:{style:ic},my:{style:ic},margin:{style:ic},marginTop:{style:ic},marginRight:{style:ic},marginBottom:{style:ic},marginLeft:{style:ic},marginX:{style:ic},marginY:{style:ic},marginInline:{style:ic},marginInlineStart:{style:ic},marginInlineEnd:{style:ic},marginBlock:{style:ic},marginBlockStart:{style:ic},marginBlockEnd:{style:ic},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:fZ},rowGap:{style:yZ},columnGap:{style:xZ},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:om},maxWidth:{style:e8e},minWidth:{transform:om},height:{transform:om},maxHeight:{transform:om},minHeight:{transform:om},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"}},cS=(function(){function e(n,i,r,s){const l={[n]:i,theme:r},c=s[n];if(!c)return{[n]:i};const{cssProperty:d=n,themeKey:u,transform:p,style:h}=c;if(i==null)return null;if(u==="typography"&&i==="inherit")return{[n]:i};const g=Pte(r,u)||{};return h?h(l):v7(l,i,(f=>{let x=gZ(g,p,f);return f===x&&typeof f=="string"&&(x=gZ(g,p,`${n}${f==="default"?"":Ko(f)}`,f)),d===!1?x:{[d]:x}}))}return function n(i){const{sx:r,theme:s={},nested:l}=i||{};if(!r)return null;const c=s.unstable_sxConfig??Ote;function d(u){let p=u;if(typeof u=="function")p=u(s);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)),{})||{}})(s.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],s);if(y!=null)if(typeof y=="object")if(c[x])f=OF(f,e(x,y,s,c));else{const b=v7({theme:s},y,(w=>({[x]:w})));(function(...w){const C=w.reduce(((A,k)=>A.concat(Object.keys(k))),[]),v=new Set(C);return w.every((A=>v.size===Object.keys(A).length))})(b,y)?f[x]=n({sx:y,theme:s,nested:!0}):f=OF(f,b)}else f=OF(f,e(x,y,s,c))})),!l&&s.modularCssLayers?{"@layer sx":jje(s,Eje(g,f))}:jje(s,Eje(g,f))}return Array.isArray(r)?r.map(d):d(r)}})();function sdn(e,n){const i=this;if(i.vars){if(!i.colorSchemes?.[e]||typeof i.getColorSchemeSelector!="function")return{};let r=i.getColorSchemeSelector(e);return r==="&"?n:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:n})}return i.palette.mode===e?n:{}}function t8e(e={},...n){const{breakpoints:i={},palette:r={},spacing:s,shape:l={},...c}=e;let d=W1({breakpoints:Fcn(i),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:jAt(s),shape:{...Rcn,...l}},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=sdn,d=n.reduce(((u,p)=>W1(u,p)),d),d.unstable_sxConfig={...Ote,...c?.unstable_sxConfig},d.unstable_sx=function(u){return cS({sx:u,theme:this})},d}function K4e(e=null){const n=m.useContext(iAt);return!n||(function(i){return Object.keys(i).length===0})(n)?e:n}cS.filterProps=["sx"];const ldn=t8e();function $At(e=ldn){return K4e(e)}function Dje(e){const n=E9(e);return e!==n&&n.styles?(n.styles.match(/^@layer\s+[^{]*$/)||(n.styles=`@layer global{${n.styles}}`),n):e}function EAt({styles:e,themeId:n,defaultTheme:i={}}){const r=$At(i),s=n&&r[n]||r;let l=typeof e=="function"?e(s):e;return s.modularCssLayers&&(l=Array.isArray(l)?l.map((c=>Dje(typeof c=="function"?c(s):c))):Dje(l)),t.jsx(wAt,{styles:l})}const Tje=e=>e,cdn=(()=>{let e=Tje;return{configure(n){e=n},generate:n=>e(n),reset(){e=Tje}}})();function IAt(e){var n,i,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(n=0;n<s;n++)e[n]&&(i=IAt(e[n]))&&(r&&(r+=" "),r+=i)}else for(i in e)e[i]&&(r&&(r+=" "),r+=i);return r}function Jo(){for(var e,n,i=0,r="",s=arguments.length;i<s;i++)(e=arguments[i])&&(n=IAt(e))&&(r&&(r+=" "),r+=n);return r}const ddn={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 es(e,n,i="Mui"){const r=ddn[n];return r?`${i}-${r}`:`${cdn.generate(e)}-${n}`}function Ea(e,n,i="Mui"){const r={};return n.forEach((s=>{r[s]=es(e,s,i)})),r}function DAt(e){const{variants:n,...i}=e,r={variants:n,style:E9(i),isProcessed:!0};return r.style===i||n&&n.forEach((s=>{typeof s.style!="function"&&(s.style=E9(s.style))})),r}const udn=t8e();function zae(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Zv(e,n){return n&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${n}{${String(e.styles)}}`),e}function pdn(e){return e?(n,i)=>i[e]:null}function Bq(e,n,i){const r=typeof n=="function"?n(e):n;if(Array.isArray(r))return r.flatMap((s=>Bq(e,s,i)));if(Array.isArray(r?.variants)){let s;if(r.isProcessed)s=i?Zv(r.style,i):r.style;else{const{variants:l,...c}=r;s=i?Zv(E9(c),i):c}return TAt(e,r.variants,[s],i)}return r?.isProcessed?i?Zv(E9(r.style),i):r.style:i?Zv(E9(r),i):r}function TAt(e,n,i=[],r=void 0){let s;e:for(let l=0;l<n.length;l+=1){const c=n[l];if(typeof c.props=="function"){if(s??={...e,...e.ownerState,ownerState:e.ownerState},!c.props(s))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"?(s??={...e,...e.ownerState,ownerState:e.ownerState},i.push(r?Zv(E9(c.style(s)),r):c.style(s))):i.push(r?Zv(E9(c.style),r):c.style)}return i}function hdn(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Z4e(e,n,i=!1){const r={...n};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const l=s;if(l==="components"||l==="slots")r[l]={...e[l],...r[l]};else if(l==="componentsProps"||l==="slotProps"){const c=e[l],d=n[l];if(d)if(c){r[l]={...d};for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u)){const p=u;r[l][p]=Z4e(c[p],d[p],i)}}else r[l]=d;else r[l]=c||{}}else l==="className"&&i&&n.className?r.className=Jo(e?.className,n?.className):l==="style"&&i&&n.style?r.style={...e?.style,...n?.style}:r[l]===void 0&&(r[l]=e[l])}return r}const Cm=typeof window<"u"?m.useLayoutEffect:m.useEffect;function n8e(e,n=0,i=1){return(function(r,s=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(s,Math.min(r,l))})(e,n,i)}function W9(e){if(e.type)return e;if(e.charAt(0)==="#")return W9((function(l){l=l.slice(1);const c=new RegExp(`.{1,${l.length>=6?2:1}}`,"g");let d=l.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("("),i=e.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw new Error(C7(9,e));let r,s=e.substring(n+1,e.length-1);if(i==="color"){if(s=s.split(" "),r=s.shift(),s.length===4&&s[3].charAt(0)==="/"&&(s[3]=s[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(C7(10,r))}else s=s.split(",");return s=s.map((l=>parseFloat(l))),{type:i,values:s,colorSpace:r}}const EO=(e,n)=>{try{return(i=>{const r=W9(i);return r.values.slice(0,3).map(((s,l)=>r.type.includes("hsl")&&l!==0?`${s}%`:s)).join(" ")})(e)}catch{return e}};function Fte(e){const{type:n,colorSpace:i}=e;let{values:r}=e;return n.includes("rgb")?r=r.map(((s,l)=>l<3?parseInt(s,10):s)):n.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=n.includes("color")?`${i} ${r.join(" ")}`:`${r.join(", ")}`,`${n}(${r})`}function LAt(e){e=W9(e);const{values:n}=e,i=n[0],r=n[1]/100,s=n[2]/100,l=r*Math.min(s,1-s),c=(p,h=(p+i/30)%12)=>s-l*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])),Fte({type:d,values:u})}function J4e(e){let n=(e=W9(e)).type==="hsl"||e.type==="hsla"?W9(LAt(e)).values:e.values;return n=n.map((i=>(e.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4))),Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}function bZ(e,n){return e=W9(e),n=n8e(n),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${n}`:e.values[3]=n,Fte(e)}function Bw(e,n,i){try{return bZ(e,n)}catch{return e}}function Rte(e,n){if(e=W9(e),n=n8e(n),e.type.includes("hsl"))e.values[2]*=1-n;else if(e.type.includes("rgb")||e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]*=1-n;return Fte(e)}function ds(e,n,i){try{return Rte(e,n)}catch{return e}}function zte(e,n){if(e=W9(e),n=n8e(n),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*n;else if(e.type.includes("rgb"))for(let i=0;i<3;i+=1)e.values[i]+=(255-e.values[i])*n;else if(e.type.includes("color"))for(let i=0;i<3;i+=1)e.values[i]+=(1-e.values[i])*n;return Fte(e)}function us(e,n,i){try{return zte(e,n)}catch{return e}}function xV(e,n,i){try{return(function(r,s=.15){return J4e(r)>.5?Rte(r,s):zte(r,s)})(e,n)}catch{return e}}const BAt=m.createContext(null);function i8e(){return m.useContext(BAt)}const mdn=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function gdn(e){const{children:n,theme:i}=e,r=i8e(),s=m.useMemo((()=>{const l=r===null?{...i}:(function(c,d){return typeof d=="function"?d(c):{...c,...d}})(r,i);return l!=null&&(l[mdn]=r!==null),l}),[i,r]);return t.jsx(BAt.Provider,{value:s,children:n})}const PAt=m.createContext();function fdn({value:e,...n}){return t.jsx(PAt.Provider,{value:e??!0,...n})}const Nte=()=>m.useContext(PAt)??!1,MAt=m.createContext(void 0);function xdn({value:e,children:n}){return t.jsx(MAt.Provider,{value:e,children:n})}function ydn({props:e,name:n}){return(function(i){const{theme:r,name:s,props:l}=i;if(!r||!r.components||!r.components[s])return l;const c=r.components[s];return c.defaultProps?Z4e(c.defaultProps,l,r.components.mergeClassNameAndStyle):c.styleOverrides||c.variants?l:Z4e(c,l,r.components.mergeClassNameAndStyle)})({props:e,name:n,theme:{components:m.useContext(MAt)}})}let Lje=0;const Bje={...Zon}.useId;function _te(e){if(Bje!==void 0){const n=Bje();return e??n}return(function(n){const[i,r]=m.useState(n),s=n||i;return m.useEffect((()=>{i==null&&(Lje+=1,r(`mui-${Lje}`))}),[i]),s})(e)}const Pje={};function Mje(e,n,i,r=!1){return m.useMemo((()=>{const s=e&&n[e]||n;if(typeof i=="function"){const l=i(s),c=e?{...n,[e]:l}:l;return r?()=>c:c}return e?{...n,[e]:i}:{...n,...i}}),[e,n,i,r])}function OAt(e){const{children:n,theme:i,themeId:r}=e,s=K4e(Pje),l=i8e()||Pje,c=Mje(r,s,i),d=Mje(r,l,i,!0),u=(r?c[r]:c).direction==="rtl",p=(function(h){const g=K4e(),f=_te()||"",{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};`:"",Cm((()=>{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(EAt,{styles:y}):null})(c);return t.jsx(gdn,{theme:d,children:t.jsx(iAt.Provider,{value:c,children:t.jsx(fdn,{value:u,children:t.jsxs(xdn,{value:r?c[r].components:c.components,children:[p,n]})})})})}const Oje={theme:void 0},X4e="mode",e5e="color-scheme",bdn="data-color-scheme";function wdn(){}const Cdn=({key:e,storageWindow:n})=>(!n&&typeof window<"u"&&(n=window),{get(i){if(typeof window>"u")return;if(!n)return i;let r;try{r=n.localStorage.getItem(e)}catch{}return r||i},set:i=>{if(n)try{n.localStorage.setItem(e,i)}catch{}},subscribe:i=>{if(!n)return wdn;const r=s=>{const l=s.newValue;s.key===e&&i(l)};return n.addEventListener("storage",r),()=>{n.removeEventListener("storage",r)}}});function Nae(){}function Fje(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Rje(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 vdn(e){const{defaultMode:n="light",defaultLightColorScheme:i,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:l=X4e,colorSchemeStorageKey:c=e5e,storageWindow:d=typeof window>"u"?void 0:window,storageManager:u=Cdn,noSsr:p=!1}=e,h=s.join(","),g=s.length>1,f=m.useMemo((()=>u?.({key:l,storageWindow:d})),[u,l,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 D=f?.get(n)||n,I=x?.get(i)||i,L=y?.get(r)||r;return{mode:D,systemMode:Fje(D),lightColorScheme:I,darkColorScheme:L}})),[C,v]=m.useState(p||!g);m.useEffect((()=>{v(!0)}),[]);const A=(function(D){return Rje(D,(I=>I==="light"?D.lightColorScheme:I==="dark"?D.darkColorScheme:void 0))})(b),k=m.useCallback((D=>{w((I=>{if(D===I.mode)return I;const L=D??n;return f?.set(L),{...I,mode:L,systemMode:Fje(L)}}))}),[f,n]),$=m.useCallback((D=>{D?typeof D=="string"?D&&!h.includes(D)?console.error(`\`${D}\` does not exist in \`theme.colorSchemes\`.`):w((I=>{const L={...I};return Rje(I,(R=>{R==="light"&&(x?.set(D),L.lightColorScheme=D),R==="dark"&&(y?.set(D),L.darkColorScheme=D)})),L})):w((I=>{const L={...I},R=D.light===null?i:D.light,O=D.dark===null?r:D.dark;return R&&(h.includes(R)?(L.lightColorScheme=R,x?.set(R)):console.error(`\`${R}\` does not exist in \`theme.colorSchemes\`.`)),O&&(h.includes(O)?(L.darkColorScheme=O,y?.set(O)):console.error(`\`${O}\` does not exist in \`theme.colorSchemes\`.`)),L})):w((I=>(x?.set(i),y?.set(r),{...I,lightColorScheme:i,darkColorScheme:r})))}),[h,x,y,i,r]),j=m.useCallback((D=>{b.mode==="system"&&w((I=>{const L=D?.matches?"dark":"light";return I.systemMode===L?I:{...I,systemMode:L}}))}),[b.mode]),E=m.useRef(j);return E.current=j,m.useEffect((()=>{if(typeof window.matchMedia!="function"||!g)return;const D=(...L)=>E.current(...L),I=window.matchMedia("(prefers-color-scheme: dark)");return I.addListener(D),D(I),()=>{I.removeListener(D)}}),[g]),m.useEffect((()=>{if(g){const D=f?.subscribe((R=>{(!R||["light","dark","system"].includes(R))&&k(R||n)}))||Nae,I=x?.subscribe((R=>{(!R||h.match(R))&&$({light:R})}))||Nae,L=y?.subscribe((R=>{(!R||h.match(R))&&$({dark:R})}))||Nae;return()=>{D(),I(),L()}}}),[$,k,h,n,d,g,f,x,y]),{...b,mode:C?b.mode:void 0,systemMode:C?b.systemMode:void 0,colorScheme:C?A:void 0,setMode:k,setColorScheme:$}}function Adn(e=""){function n(...i){if(!i.length)return"";const r=i[0];return typeof r!="string"||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${n(...i.slice(1))})`}return(i,...r)=>`var(--${e?`${e}-`:""}${i}${n(...r)})`}const zje=(e,n,i,r=[])=>{let s=e;n.forEach(((l,c)=>{c===n.length-1?Array.isArray(s)?s[Number(l)]=i:s&&typeof s=="object"&&(s[l]=i):s&&typeof s=="object"&&(s[l]||(s[l]=r.includes(l)?[]:{}),s=s[l])}))};function _ae(e,n){const{prefix:i,shouldSkipGeneratingVar:r}=n||{},s={},l={},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"||r&&r(d,u))){const h=`--${i?`${i}-`:""}${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(s,{[h]:g}),zje(l,d,`var(${h})`,p),zje(c,d,`var(${h}, ${g})`,p)}}),(d=>d[0]==="vars")),{css:s,vars:l,varsWithDefaults:c}}function ts(e,n,i=void 0){const r={};for(const s in e){const l=e[s];let c="",d=!0;for(let u=0;u<l.length;u+=1){const p=l[u];p&&(c+=(d===!0?"":" ")+n(p),d=!1,i&&i[p]&&(c+=" "+i[p]))}r[s]=c}return r}function Vae(e,n){return m.isValidElement(e)&&n.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const iz={black:"#000",white:"#fff"},Sdn={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"},kdn="#f3e5f5",jdn="#ce93d8",$dn="#ba68c8",Edn="#ab47bc",Idn="#9c27b0",Ddn="#7b1fa2",Tdn="#e57373",Ldn="#ef5350",Bdn="#f44336",Nje="#d32f2f",Pdn="#c62828",Mdn="#ffb74d",Odn="#ffa726",Fdn="#ff9800",Rdn="#f57c00",zdn="#e65100",Ndn="#e3f2fd",_dn="#90caf9",_je="#42a5f5",Vdn="#1976d2",Hdn="#1565c0",Udn="#4fc3f7",Wdn="#29b6f6",Qdn="#03a9f4",Vje="#0288d1",Ydn="#01579b",Gdn="#81c784",qdn="#66bb6a",Kdn="#4caf50",Zdn="#388e3c",Jdn="#2e7d32",Xdn="#1b5e20";function FAt(){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:iz.white,default:iz.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 RAt=FAt();function zAt(){return{text:{primary:iz.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:iz.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 t5e=zAt();function Hje(e,n,i,r){const s=r.light||r,l=r.dark||1.5*r;e[n]||(e.hasOwnProperty(i)?e[n]=e[i]:n==="light"?e.light=zte(e.main,s):n==="dark"&&(e.dark=Rte(e.main,l)))}function Uje(e,n,i,r,s){const l=s.light||s,c=s.dark||1.5*s;n[i]||(n.hasOwnProperty(r)?n[i]=n[r]:i==="light"?n.light=`color-mix(in ${e}, ${n.main}, #fff ${(100*l).toFixed(0)}%)`:i==="dark"&&(n.dark=`color-mix(in ${e}, ${n.main}, #000 ${(100*c).toFixed(0)}%)`))}function o8e(e){const{mode:n="light",contrastThreshold:i=3,tonalOffset:r=.2,colorSpace:s,...l}=e,c=e.primary||(function(b="light"){return b==="dark"?{main:_dn,light:Ndn,dark:_je}:{main:Vdn,light:_je,dark:Hdn}})(n),d=e.secondary||(function(b="light"){return b==="dark"?{main:jdn,light:kdn,dark:Edn}:{main:Idn,light:$dn,dark:Ddn}})(n),u=e.error||(function(b="light"){return b==="dark"?{main:Bdn,light:Tdn,dark:Nje}:{main:Nje,light:Ldn,dark:Pdn}})(n),p=e.info||(function(b="light"){return b==="dark"?{main:Wdn,light:Udn,dark:Vje}:{main:Vje,light:Qdn,dark:Ydn}})(n),h=e.success||(function(b="light"){return b==="dark"?{main:qdn,light:Gdn,dark:Zdn}:{main:Jdn,light:Kdn,dark:Xdn}})(n),g=e.warning||(function(b="light"){return b==="dark"?{main:Odn,light:Mdn,dark:Rdn}:{main:"#ed6c02",light:Fdn,dark:zdn}})(n);function f(b){return s?(function(C){return`oklch(from ${C} var(--__l) 0 h / var(--__a))`})(b):(function(C,v){const A=J4e(C),k=J4e(v);return(Math.max(A,k)+.05)/(Math.min(A,k)+.05)})(b,t5e.text.primary)>=i?t5e.text.primary:RAt.text.primary}const x=({color:b,name:w,mainShade:C=500,lightShade:v=300,darkShade:A=700})=>{if(!(b={...b}).main&&b[C]&&(b.main=b[C]),!b.hasOwnProperty("main"))throw new Error(C7(11,w?` (${w})`:"",C));if(typeof b.main!="string")throw new Error(C7(12,w?` (${w})`:"",JSON.stringify(b.main)));return s?(Uje(s,b,"light",v,r),Uje(s,b,"dark",A,r)):(Hje(b,"light",v,r),Hje(b,"dark",A,r)),b.contrastText||(b.contrastText=f(b.main)),b};let y;return n==="light"?y=FAt():n==="dark"&&(y=zAt()),W1({common:{...iz},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:Sdn,contrastThreshold:i,getContrastText:f,augmentColor:x,tonalOffset:r,...y},l)}function eun(e){const n={};return Object.entries(e).forEach((i=>{const[r,s]=i;typeof s=="object"&&(n[r]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)})),n}function tun(e,n){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...n}}function nun(e){return Math.round(1e5*e)/1e5}const Wje={textTransform:"uppercase"},Qje='"Roboto", "Helvetica", "Arial", sans-serif';function NAt(e,n){const{fontFamily:i=Qje,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:u=16,allVariants:p,pxToRem:h,...g}=typeof n=="function"?n(e):n,f=r/14,x=h||(w=>w/u*f+"rem"),y=(w,C,v,A,k)=>({fontFamily:i,fontWeight:w,fontSize:x(C),lineHeight:v,...i===Qje?{letterSpacing:`${nun(A/C)}em`}:{},...k,...p}),b={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,Wje),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,Wje),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return W1({htmlFontSize:u,pxToRem:x,fontFamily:i,fontSize:r,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:d,...b},g,{clone:!1})}function Al(...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 iun=["none",Al(0,2,1,-1,0,1,1,0,0,1,3,0),Al(0,3,1,-2,0,2,2,0,0,1,5,0),Al(0,3,3,-2,0,3,4,0,0,1,8,0),Al(0,2,4,-1,0,4,5,0,0,1,10,0),Al(0,3,5,-1,0,5,8,0,0,1,14,0),Al(0,3,5,-1,0,6,10,0,0,1,18,0),Al(0,4,5,-2,0,7,10,1,0,2,16,1),Al(0,5,5,-3,0,8,10,1,0,3,14,2),Al(0,5,6,-3,0,9,12,1,0,3,16,2),Al(0,6,6,-3,0,10,14,1,0,4,18,3),Al(0,6,7,-4,0,11,15,1,0,4,20,3),Al(0,7,8,-4,0,12,17,2,0,5,22,4),Al(0,7,8,-4,0,13,19,2,0,5,24,4),Al(0,7,9,-4,0,14,21,2,0,5,26,4),Al(0,8,9,-5,0,15,22,2,0,6,28,5),Al(0,8,10,-5,0,16,24,2,0,6,30,5),Al(0,8,11,-5,0,17,26,2,0,6,32,5),Al(0,9,11,-5,0,18,28,2,0,7,34,6),Al(0,9,12,-6,0,19,29,2,0,7,36,6),Al(0,10,13,-6,0,20,31,3,0,8,38,7),Al(0,10,13,-6,0,21,33,3,0,8,40,7),Al(0,10,14,-6,0,22,35,3,0,8,42,7),Al(0,11,14,-7,0,23,36,3,0,9,44,8),Al(0,11,15,-7,0,24,38,3,0,9,46,8)],oun={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)"},_At={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Yje(e){return`${Math.round(e)}ms`}function run(e){if(!e)return 0;const n=e/36;return Math.min(Math.round(10*(4+15*n**.25+n/5)),3e3)}function aun(e){const n={...oun,...e.easing},i={..._At,...e.duration};return{getAutoHeightDuration:run,create:(r=["all"],s={})=>{const{duration:l=i.standard,easing:c=n.easeInOut,delay:d=0,...u}=s;return(Array.isArray(r)?r:[r]).map((p=>`${p} ${typeof l=="string"?l:Yje(l)} ${c} ${typeof d=="string"?d:Yje(d)}`)).join(",")},...e,easing:n,duration:i}}const sun={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function lun(e){return Ny(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function VAt(e={}){const n={...e};return(function i(r){const s=Object.entries(r);for(let l=0;l<s.length;l++){const[c,d]=s[l];!lun(d)||c.startsWith("unstable_")?delete r[c]:Ny(d)&&(r[c]={...d},i(r[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
 
@@ -10581,7 +10581,7 @@ To reactivate your account, please settle the outstanding balance. Contact suppo
10581
10581
  padding-top: ${e=>f0.ButtonContainerPaddingTop.valuePx(e.windowSize)};
10582
10582
  `,Bfi=a.div``,Pfi=a((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"}))))`
10583
10583
  transform: scale(1, 0.9);
10584
- `,Mfi=a(ll)``,eGe="application/pdf",cRt=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],Ofi={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2};async function Ffi(e,n,i){const r=e.getViewport({scale:n}),s=document.createElement("canvas");s.width=Math.floor(r.width),s.height=Math.floor(r.height);const l=s.getContext("2d");if(l==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:l,viewport:r}).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)}))})(s,i)).arrayBuffer()}async function Rfi(e,n){const i=e instanceof File?e:new File([e],n,{type:e.type});if(e.type===eGe){const s=await(async function(l,c){const[{PDFDocument:d},u]=await Promise.all([Bd((()=>import("./pdf-lib-Dh61rZh4.js").then((b=>b.i))),__vite__mapDeps([0,1,2])),Bd((()=>import("./pdf-CGyqZzIC.js").then((b=>b.i))),__vite__mapDeps([0,1,2])).then((b=>b.pdfjs))]),p=await l.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 Ffi(w,1.5,.7),v=await f.embedJpg(new Uint8Array(C)),A=v.scale(1);f.addPage([A.width,A.height]).drawImage(v,{x:0,y:0,width:A.width,height:A.height})}const x=await f.save(),y=c.toLowerCase().endsWith(".pdf")?c:`${c}.pdf`;return new File([x],y,{type:eGe,lastModified:l.lastModified})})(i,n);return s.size<i.size?{blob:s,name:s.name}:{blob:e,name:n}}const r=await(async(s,l)=>{if(cRt.includes(s.type)===!1)return s;const c=await Nu(s,Ofi),d=c.type.split("/")[1],u=`${l.replace(/\.[^.]+$/,"")||"image"}.${d}`;return new File([c],u,{lastModified:s.lastModified,type:c.type})})(i,n);return{blob:r,name:r.name}}const zfi=({fileType:e="file",fileRef:n,name:i,value:r="",multiple:s=!1,acceptableTypes:l,onFileSizeError:c,onImageChange:d})=>t.jsx("input",{type:e,ref:n,name:i,value:r,size:1e3,"data-testid":Y("input-file-element-mobile",i),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:`${(l??"image/jpg, image/jpeg").toString()}`,multiple:s,capture:!0}),e_=({shouldDisplay:e,width:n=30,height:i=30,styles:r,animationInLoop:s=!1})=>{const[,l]=Hwe(UPt),[c]=ea("MoneyTransferSuccess");return P.useEffect((()=>{e&&l(!0)}),[e,l]),e&&c!=null?t.jsx(Ys,{style:{width:n,height:i,...r},play:!0,animationData:c,loop:s,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},NCe=e=>m.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{d:"M7.5055 4L1.5 9.54354L22.5 9.5435",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M16.4945 19.7067L22.5 14.1632H1.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));lAt.workerSrc=`//cdnjs.cloudflare.com/ajax/libs/pdf.js/${sAt}/pdf.worker.mjs`;const{common:tGe}=le.getLocalizedStrings(),nGe=(e,n,i)=>e.variant==="deleted"?"deleted":e.variant==="excluded"?"excluded":n!=null&&e.statementTransactionId===n||i!=null&&e.statementTransactionId===i?"hovered":e.variant??"default",iGe=(e,n,i)=>{const r=Array.from(e.querySelectorAll("[data-statement-transaction-id]"));for(const s of r){if(s.dataset.citationVariant==="excluded")continue;const l=s.getBoundingClientRect();if(n>=l.left&&n<=l.right&&i>=l.top&&i<=l.bottom)return s.dataset.statementTransactionId}},oGe=(e,n)=>n==null?void 0:e.find((i=>i.statementTransactionId===n))?.page,Nfi=(e,n,i="smooth")=>{const r=n??(d=>{let u=d.parentElement;for(;u!=null;){const{overflowY:p}=window.getComputedStyle(u);if((p==="auto"||p==="scroll")&&u.scrollHeight>u.clientHeight)return u;u=u.parentElement}return null})(e);if(r==null)return void e.scrollIntoView({behavior:i,block:"center"});const s=e.getBoundingClientRect(),l=r.getBoundingClientRect(),c=r.scrollTop+(s.top-l.top)-(r.clientHeight-s.height)/2;r.scrollTo({top:Math.max(0,c),behavior:i})};function rGe(e,n,i){const{minX:r,maxX:s,minY:l,maxY:c}=(function(d){const u=d.map((h=>h.x)),p=d.map((h=>h.y));return{maxX:Math.max(...u),maxY:Math.max(...p),minX:Math.min(...u),minY:Math.min(...p)}})(e);return{height:(c-l)/i*100,left:r/n*100,top:l/i*100,width:(s-r)/n*100}}function jz(e){const[n,i]=m.useState(0),[r,s]=m.useState(void 0),[l,c]=m.useState(null),[d,u]=m.useState(void 0),p=fe(),h=m.useRef(null),g=m.useRef(null),f=m.useRef(void 0),x=e.highlightedCitations!=null&&e.highlightedCitations.length>0;m.useLayoutEffect((()=>{if(e.isFullScreen)return void s(void 0);const $=g.current;if($==null)return;const j=()=>{const D=Math.floor($.clientWidth);D>0&&s((I=>I===D?I:D))};j();const E=new ResizeObserver(j);return E.observe($),()=>{E.disconnect()}}),[e.isFullScreen,e.fileUrl]);const y=$=>{f.current!==$&&(f.current=$,u($),e.onCitationHover?.($))},b=$=>{x===!0&&y(iGe($.currentTarget,$.clientX,$.clientY))},w=()=>{x===!0&&y(void 0)},C=$=>{e.onCitationClick!=null&&e.onCitationClick(iGe($.currentTarget,$.clientX,$.clientY))},v=m.useCallback((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0)return;const $=oGe(e.highlightedCitations,e.selectedStatementTransactionId);if($==null)return;const j=g.current?.querySelector(`[data-testid="pdf-page-${$}"]`);if(j!=null){const E=g.current,D=E!=null&&E.scrollHeight>E.clientHeight?E:null,I=(e.selectedStatementTransactionId!=null?j.querySelector(`[data-statement-transaction-id="${CSS.escape(String(e.selectedStatementTransactionId))}"]`):null)??j;if(((L,R)=>{const O=L.getBoundingClientRect(),_=R!=null?R.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return O.bottom>_.top&&O.top<_.bottom&&O.right>_.left&&O.left<_.right})(I,D))return;Nfi(I,D)}}),[e.highlightedCitations,e.selectedStatementTransactionId]);m.useEffect((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0||e.selectedStatementTransactionId==null)return;v();const $=requestAnimationFrame(v),j=window.setTimeout(v,150);return()=>{cancelAnimationFrame($),window.clearTimeout(j)}}),[e.highlightedCitations,e.selectedStatementTransactionId,n,v]),m.useEffect((()=>{c(null),i(0)}),[e.fileUrl]);const A=$=>{if(!e.highlightedCitations)return null;const j=e.highlightedCitations.filter((E=>E.page===$));return j.length===0?null:t.jsx(aGe,{children:j.flatMap(((E,D)=>{const I=rGe(E.polygon,E.pageWidth,E.pageHeight),L=nGe(E,e.selectedStatementTransactionId,d);return t.jsx(sGe,{"data-citation-variant":L,"data-statement-transaction-id":E.statementTransactionId,$variant:L,style:{height:`${I.height}%`,left:`${I.left}%`,top:`${I.top}%`,width:`${I.width}%`}},`${D}`)}))})},k=()=>{e.setShowFullScreenView(!0)};return t.jsxs(t.Fragment,{children:[t.jsx(nh,{fileRef:h,name:"invoice",onFileChange:$=>{if($.target.files!=null){const j=$.target.files[0];e.onUploadAttachment?.([j],[j.name])}},multiple:e.allowMultiFiles,sizeLimit:VA,onFileSizeError:$=>e.openSizeLimitPopup?.($)}),t.jsx(_fi,{maxHeight:e.maxHeight??!1,$allowTextSelection:x,"data-statement-pdf-surface":"",onClick:()=>{x||k()},onDoubleClick:()=>{x&&k()},windowSize:p,"data-testid":Y("attachment-container",e.pdfTitle),children:t.jsxs(Vfi,{isFullScreen:e.isFullScreen,ref:g,children:[e.showTitlebar===!0?t.jsxs(Hfi,{children:[t.jsx(Ufi,{children:e.pdfTitle}),e.showTitlebarIcon===!0?t.jsxs(Wfi,{className:"actionIcons",children:[e.showReplaceIcon!==!1?t.jsx(Ge,{enterDelay:600,display:"flex",title:tGe.texts.replace,placement:"top-end",children:t.jsx(Qfi,{"data-testid":Y("replace-attachment",e.pdfTitle),onClick:$=>{$.stopPropagation(),h.current?.click()}})}):null,p==="small"?t.jsx(Gfi,{"data-testid":e.deleteAttachmentDataTestId!=null?`${e.deleteAttachmentDataTestId}-mobile`:Y("delete-attachment-mobile",e.pdfTitle),onClick:$=>{$.stopPropagation(),e.onDeleteClick?.()}}):t.jsx(Ge,{enterDelay:600,display:"flex",title:tGe.delete,placement:"top",children:t.jsx(Yfi,{onClick:$=>{$.stopPropagation(),e.onDeleteClick?.()},"data-testid":e.deleteAttachmentDataTestId??Y("delete-attachment",e.pdfTitle)})})]}):null]}):null,(()=>{const $=e.fileUrl.toLowerCase();return[".jpg",".jpeg",".png",".gif",".webp",".bmp"].some((j=>$.includes(j)))})()?t.jsx(Xfi,{children:t.jsxs(e4i,{onMouseMove:b,onMouseLeave:w,onClick:C,children:[t.jsx(t4i,{src:e.fileUrl,alt:e.pdfTitle,onLoad:$=>{const j=$.currentTarget;c({width:j.naturalWidth,height:j.naturalHeight})}},e.fileUrl),(()=>{if(!e.highlightedCitations||l==null)return null;const $=e.highlightedCitations.filter((j=>j.page===1));return $.length===0?null:t.jsx(aGe,{children:$.flatMap(((j,E)=>{const D=rGe(j.polygon,j.pageWidth,j.pageHeight),I=nGe(j,e.selectedStatementTransactionId,d);return t.jsx(sGe,{"data-citation-variant":I,"data-statement-transaction-id":j.statementTransactionId,$variant:I,style:{height:`${D.height}%`,left:`${D.left}%`,top:`${D.top}%`,width:`${D.width}%`}},`${E}`)}))})})()]})}):t.jsxs(Q4e,{file:e.fileUrl,onLoadSuccess:({numPages:$})=>i($),onLoadError:()=>i(0),loading:t.jsx(Zfi,{children:t.jsx(qn,{size:"ExtraLarge",start:!0})}),className:"pdfDoc",children:[Array.from(new Array(n),(($,j)=>t.jsx(si,{onClickAway:()=>e.onCrossClick?.(),children:t.jsxs(qfi,{windowSize:p,isFullScreen:e.isFullScreen,children:[t.jsxs(Jfi,{"data-testid":`pdf-page-${j+1}`,isFullScreen:e.isFullScreen,onMouseMove:b,onMouseLeave:w,onClick:C,children:[t.jsx(Y4e,{pageNumber:j+1,className:"reactPdfPage",...e.isFullScreen?{scale:1.5}:r!=null?{width:r}:{scale:1},error:t.jsx("div",{}),onRenderSuccess:()=>{(e.highlightedCitations!=null?oGe(e.highlightedCitations,e.selectedStatementTransactionId):void 0)===j+1&&v()}},`page_${j+1}`),A(j+1)]}),n!=j+1?t.jsx(Kfi,{}):null]})},`page_${j+1}`))),t.jsx("div",{})]},e.fileUrl)]})})]})}const _fi=a.div`
10584
+ `,Mfi=a(ll)``,eGe="application/pdf",cRt=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],Ofi={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2};async function Ffi(e,n,i){const r=e.getViewport({scale:n}),s=document.createElement("canvas");s.width=Math.floor(r.width),s.height=Math.floor(r.height);const l=s.getContext("2d");if(l==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:l,viewport:r}).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)}))})(s,i)).arrayBuffer()}async function Rfi(e,n){const i=e instanceof File?e:new File([e],n,{type:e.type});if(e.type===eGe){const s=await(async function(l,c){const[{PDFDocument:d},u]=await Promise.all([Bd((()=>import("./pdf-lib-CpxtL5pi.js").then((b=>b.i))),__vite__mapDeps([0,1,2])),Bd((()=>import("./pdf-BZfLFbU_.js").then((b=>b.i))),__vite__mapDeps([0,1,2])).then((b=>b.pdfjs))]),p=await l.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 Ffi(w,1.5,.7),v=await f.embedJpg(new Uint8Array(C)),A=v.scale(1);f.addPage([A.width,A.height]).drawImage(v,{x:0,y:0,width:A.width,height:A.height})}const x=await f.save(),y=c.toLowerCase().endsWith(".pdf")?c:`${c}.pdf`;return new File([x],y,{type:eGe,lastModified:l.lastModified})})(i,n);return s.size<i.size?{blob:s,name:s.name}:{blob:e,name:n}}const r=await(async(s,l)=>{if(cRt.includes(s.type)===!1)return s;const c=await Nu(s,Ofi),d=c.type.split("/")[1],u=`${l.replace(/\.[^.]+$/,"")||"image"}.${d}`;return new File([c],u,{lastModified:s.lastModified,type:c.type})})(i,n);return{blob:r,name:r.name}}const zfi=({fileType:e="file",fileRef:n,name:i,value:r="",multiple:s=!1,acceptableTypes:l,onFileSizeError:c,onImageChange:d})=>t.jsx("input",{type:e,ref:n,name:i,value:r,size:1e3,"data-testid":Y("input-file-element-mobile",i),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:`${(l??"image/jpg, image/jpeg").toString()}`,multiple:s,capture:!0}),e_=({shouldDisplay:e,width:n=30,height:i=30,styles:r,animationInLoop:s=!1})=>{const[,l]=Hwe(UPt),[c]=ea("MoneyTransferSuccess");return P.useEffect((()=>{e&&l(!0)}),[e,l]),e&&c!=null?t.jsx(Ys,{style:{width:n,height:i,...r},play:!0,animationData:c,loop:s,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},NCe=e=>m.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},m.createElement("path",{d:"M7.5055 4L1.5 9.54354L22.5 9.5435",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M16.4945 19.7067L22.5 14.1632H1.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}));lAt.workerSrc=`//cdnjs.cloudflare.com/ajax/libs/pdf.js/${sAt}/pdf.worker.mjs`;const{common:tGe}=le.getLocalizedStrings(),nGe=(e,n,i)=>e.variant==="deleted"?"deleted":e.variant==="excluded"?"excluded":n!=null&&e.statementTransactionId===n||i!=null&&e.statementTransactionId===i?"hovered":e.variant??"default",iGe=(e,n,i)=>{const r=Array.from(e.querySelectorAll("[data-statement-transaction-id]"));for(const s of r){if(s.dataset.citationVariant==="excluded")continue;const l=s.getBoundingClientRect();if(n>=l.left&&n<=l.right&&i>=l.top&&i<=l.bottom)return s.dataset.statementTransactionId}},oGe=(e,n)=>n==null?void 0:e.find((i=>i.statementTransactionId===n))?.page,Nfi=(e,n,i="smooth")=>{const r=n??(d=>{let u=d.parentElement;for(;u!=null;){const{overflowY:p}=window.getComputedStyle(u);if((p==="auto"||p==="scroll")&&u.scrollHeight>u.clientHeight)return u;u=u.parentElement}return null})(e);if(r==null)return void e.scrollIntoView({behavior:i,block:"center"});const s=e.getBoundingClientRect(),l=r.getBoundingClientRect(),c=r.scrollTop+(s.top-l.top)-(r.clientHeight-s.height)/2;r.scrollTo({top:Math.max(0,c),behavior:i})};function rGe(e,n,i){const{minX:r,maxX:s,minY:l,maxY:c}=(function(d){const u=d.map((h=>h.x)),p=d.map((h=>h.y));return{maxX:Math.max(...u),maxY:Math.max(...p),minX:Math.min(...u),minY:Math.min(...p)}})(e);return{height:(c-l)/i*100,left:r/n*100,top:l/i*100,width:(s-r)/n*100}}function jz(e){const[n,i]=m.useState(0),[r,s]=m.useState(void 0),[l,c]=m.useState(null),[d,u]=m.useState(void 0),p=fe(),h=m.useRef(null),g=m.useRef(null),f=m.useRef(void 0),x=e.highlightedCitations!=null&&e.highlightedCitations.length>0;m.useLayoutEffect((()=>{if(e.isFullScreen)return void s(void 0);const $=g.current;if($==null)return;const j=()=>{const D=Math.floor($.clientWidth);D>0&&s((I=>I===D?I:D))};j();const E=new ResizeObserver(j);return E.observe($),()=>{E.disconnect()}}),[e.isFullScreen,e.fileUrl]);const y=$=>{f.current!==$&&(f.current=$,u($),e.onCitationHover?.($))},b=$=>{x===!0&&y(iGe($.currentTarget,$.clientX,$.clientY))},w=()=>{x===!0&&y(void 0)},C=$=>{e.onCitationClick!=null&&e.onCitationClick(iGe($.currentTarget,$.clientX,$.clientY))},v=m.useCallback((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0)return;const $=oGe(e.highlightedCitations,e.selectedStatementTransactionId);if($==null)return;const j=g.current?.querySelector(`[data-testid="pdf-page-${$}"]`);if(j!=null){const E=g.current,D=E!=null&&E.scrollHeight>E.clientHeight?E:null,I=(e.selectedStatementTransactionId!=null?j.querySelector(`[data-statement-transaction-id="${CSS.escape(String(e.selectedStatementTransactionId))}"]`):null)??j;if(((L,R)=>{const O=L.getBoundingClientRect(),_=R!=null?R.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return O.bottom>_.top&&O.top<_.bottom&&O.right>_.left&&O.left<_.right})(I,D))return;Nfi(I,D)}}),[e.highlightedCitations,e.selectedStatementTransactionId]);m.useEffect((()=>{if(e.highlightedCitations==null||e.highlightedCitations.length===0||e.selectedStatementTransactionId==null)return;v();const $=requestAnimationFrame(v),j=window.setTimeout(v,150);return()=>{cancelAnimationFrame($),window.clearTimeout(j)}}),[e.highlightedCitations,e.selectedStatementTransactionId,n,v]),m.useEffect((()=>{c(null),i(0)}),[e.fileUrl]);const A=$=>{if(!e.highlightedCitations)return null;const j=e.highlightedCitations.filter((E=>E.page===$));return j.length===0?null:t.jsx(aGe,{children:j.flatMap(((E,D)=>{const I=rGe(E.polygon,E.pageWidth,E.pageHeight),L=nGe(E,e.selectedStatementTransactionId,d);return t.jsx(sGe,{"data-citation-variant":L,"data-statement-transaction-id":E.statementTransactionId,$variant:L,style:{height:`${I.height}%`,left:`${I.left}%`,top:`${I.top}%`,width:`${I.width}%`}},`${D}`)}))})},k=()=>{e.setShowFullScreenView(!0)};return t.jsxs(t.Fragment,{children:[t.jsx(nh,{fileRef:h,name:"invoice",onFileChange:$=>{if($.target.files!=null){const j=$.target.files[0];e.onUploadAttachment?.([j],[j.name])}},multiple:e.allowMultiFiles,sizeLimit:VA,onFileSizeError:$=>e.openSizeLimitPopup?.($)}),t.jsx(_fi,{maxHeight:e.maxHeight??!1,$allowTextSelection:x,"data-statement-pdf-surface":"",onClick:()=>{x||k()},onDoubleClick:()=>{x&&k()},windowSize:p,"data-testid":Y("attachment-container",e.pdfTitle),children:t.jsxs(Vfi,{isFullScreen:e.isFullScreen,ref:g,children:[e.showTitlebar===!0?t.jsxs(Hfi,{children:[t.jsx(Ufi,{children:e.pdfTitle}),e.showTitlebarIcon===!0?t.jsxs(Wfi,{className:"actionIcons",children:[e.showReplaceIcon!==!1?t.jsx(Ge,{enterDelay:600,display:"flex",title:tGe.texts.replace,placement:"top-end",children:t.jsx(Qfi,{"data-testid":Y("replace-attachment",e.pdfTitle),onClick:$=>{$.stopPropagation(),h.current?.click()}})}):null,p==="small"?t.jsx(Gfi,{"data-testid":e.deleteAttachmentDataTestId!=null?`${e.deleteAttachmentDataTestId}-mobile`:Y("delete-attachment-mobile",e.pdfTitle),onClick:$=>{$.stopPropagation(),e.onDeleteClick?.()}}):t.jsx(Ge,{enterDelay:600,display:"flex",title:tGe.delete,placement:"top",children:t.jsx(Yfi,{onClick:$=>{$.stopPropagation(),e.onDeleteClick?.()},"data-testid":e.deleteAttachmentDataTestId??Y("delete-attachment",e.pdfTitle)})})]}):null]}):null,(()=>{const $=e.fileUrl.toLowerCase();return[".jpg",".jpeg",".png",".gif",".webp",".bmp"].some((j=>$.includes(j)))})()?t.jsx(Xfi,{children:t.jsxs(e4i,{onMouseMove:b,onMouseLeave:w,onClick:C,children:[t.jsx(t4i,{src:e.fileUrl,alt:e.pdfTitle,onLoad:$=>{const j=$.currentTarget;c({width:j.naturalWidth,height:j.naturalHeight})}},e.fileUrl),(()=>{if(!e.highlightedCitations||l==null)return null;const $=e.highlightedCitations.filter((j=>j.page===1));return $.length===0?null:t.jsx(aGe,{children:$.flatMap(((j,E)=>{const D=rGe(j.polygon,j.pageWidth,j.pageHeight),I=nGe(j,e.selectedStatementTransactionId,d);return t.jsx(sGe,{"data-citation-variant":I,"data-statement-transaction-id":j.statementTransactionId,$variant:I,style:{height:`${D.height}%`,left:`${D.left}%`,top:`${D.top}%`,width:`${D.width}%`}},`${E}`)}))})})()]})}):t.jsxs(Q4e,{file:e.fileUrl,onLoadSuccess:({numPages:$})=>i($),onLoadError:()=>i(0),loading:t.jsx(Zfi,{children:t.jsx(qn,{size:"ExtraLarge",start:!0})}),className:"pdfDoc",children:[Array.from(new Array(n),(($,j)=>t.jsx(si,{onClickAway:()=>e.onCrossClick?.(),children:t.jsxs(qfi,{windowSize:p,isFullScreen:e.isFullScreen,children:[t.jsxs(Jfi,{"data-testid":`pdf-page-${j+1}`,isFullScreen:e.isFullScreen,onMouseMove:b,onMouseLeave:w,onClick:C,children:[t.jsx(Y4e,{pageNumber:j+1,className:"reactPdfPage",...e.isFullScreen?{scale:1.5}:r!=null?{width:r}:{scale:1},error:t.jsx("div",{}),onRenderSuccess:()=>{(e.highlightedCitations!=null?oGe(e.highlightedCitations,e.selectedStatementTransactionId):void 0)===j+1&&v()}},`page_${j+1}`),A(j+1)]}),n!=j+1?t.jsx(Kfi,{}):null]})},`page_${j+1}`))),t.jsx("div",{})]},e.fileUrl)]})})]})}const _fi=a.div`
10585
10585
  max-height: ${e=>e.maxHeight===!0?"650px":"auto"};
10586
10586
  display: flex;
10587
10587
  flex-direction: column;
@@ -23906,7 +23906,7 @@ to {
23906
23906
  ${({isMenuVisible:e})=>e===!1?Te`
23907
23907
  display: none;
23908
23908
  `:null};
23909
- `,Fve=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)"})))),IXe=m.lazy((()=>Bd((()=>import("./index-DV9ITGuT.js")),__vite__mapDeps([3,0,1,2]))));function Rve({src:e,autoPlay:n=!0,config:i,controls:r=!0,height:s="100%",isModalOpen:l,loop:c=!1,muted:d=!1,showPlayButton:u=!1,style:p,thumbnail:h,width:g="100%",onEnded:f,onModalClose:x,onPlay:y}){const b=fe(),[w,C]=m.useState(!1);m.useEffect((()=>{l===!0&&n?C(!0):l===!1&&C(!1)}),[l,n]);const v={};i?.youtube&&(v.youtube=i.youtube);const A=()=>{C(!1),f?.(),l!=null&&x?.()},k=()=>{C(!0),y?.()};return l!=null?l?ba.createPortal(t.jsx(hqi,{windowSize:b,role:"presentation",children:t.jsx(si,{onClickAway:()=>{C(!1),x?.()},children:t.jsx(mqi,{windowSize:b,"data-testid":"video-player-modal",children:t.jsxs(gqi,{children:[u&&!w&&t.jsxs(t.Fragment,{children:[h!=null&&h!==""&&t.jsx(pqi,{src:h,alt:"Video thumbnail"}),t.jsx(dqi,{onClick:()=>{C(!0),y?.()},children:t.jsx(uqi,{windowSize:b})})]}),(!u||w)&&t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:"100%",height:"100%"}}),children:t.jsx(IXe,{src:e,playing:w,controls:r,muted:d,loop:c,width:"100%",height:"100%",onEnded:A,onPlay:k,config:v})})]})})})}),document.body):null:t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:g,height:s,...p}}),children:t.jsx(IXe,{src:e,playing:w,controls:r,muted:d,loop:c,width:g,height:s,style:p,light:!(!u||w)&&(h??!0),onEnded:A,onPlay:k,config:v})})}const cqi=ri`
23909
+ `,Fve=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)"})))),IXe=m.lazy((()=>Bd((()=>import("./index-B8Cs9uSY.js")),__vite__mapDeps([3,0,1,2]))));function Rve({src:e,autoPlay:n=!0,config:i,controls:r=!0,height:s="100%",isModalOpen:l,loop:c=!1,muted:d=!1,showPlayButton:u=!1,style:p,thumbnail:h,width:g="100%",onEnded:f,onModalClose:x,onPlay:y}){const b=fe(),[w,C]=m.useState(!1);m.useEffect((()=>{l===!0&&n?C(!0):l===!1&&C(!1)}),[l,n]);const v={};i?.youtube&&(v.youtube=i.youtube);const A=()=>{C(!1),f?.(),l!=null&&x?.()},k=()=>{C(!0),y?.()};return l!=null?l?ba.createPortal(t.jsx(hqi,{windowSize:b,role:"presentation",children:t.jsx(si,{onClickAway:()=>{C(!1),x?.()},children:t.jsx(mqi,{windowSize:b,"data-testid":"video-player-modal",children:t.jsxs(gqi,{children:[u&&!w&&t.jsxs(t.Fragment,{children:[h!=null&&h!==""&&t.jsx(pqi,{src:h,alt:"Video thumbnail"}),t.jsx(dqi,{onClick:()=>{C(!0),y?.()},children:t.jsx(uqi,{windowSize:b})})]}),(!u||w)&&t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:"100%",height:"100%"}}),children:t.jsx(IXe,{src:e,playing:w,controls:r,muted:d,loop:c,width:"100%",height:"100%",onEnded:A,onPlay:k,config:v})})]})})})}),document.body):null:t.jsx(m.Suspense,{fallback:t.jsx("div",{style:{width:g,height:s,...p}}),children:t.jsx(IXe,{src:e,playing:w,controls:r,muted:d,loop:c,width:g,height:s,style:p,light:!(!u||w)&&(h??!0),onEnded:A,onPlay:k,config:v})})}const cqi=ri`
23910
23910
  0% {
23911
23911
  transform: rotate(0deg);
23912
23912
  }
@@ -85106,7 +85106,7 @@ ${hO.gap.expectedStartDate(u)}.`:f.description,y=p===!0||d!=null;return t.jsx(Di
85106
85106
  color: ${F.tagWarningColorLight};
85107
85107
  `,fss=a(vt)`
85108
85108
  color: ${F.tagWarningColorLight};
85109
- `,{expenseAutomation:{accountRecon:{statementProcessing:W0}},common:JG}=le.getLocalizedStrings(),ry="statement-processing-page";function xss(){const[e]=ea("AiStar");return t.jsx(Yg,{$slotSize:o.sp4,children:e!=null?t.jsx(tL,{animationData:e,play:!0,loop:!0,slotSize:o.sp4}):t.jsx(kss,{})})}function yss({isUploadComplete:e,_storyCompletedSteps:n,_storyPageCount:i,accountMapping:r,isParsedDataReady:s,statementFile:l,onCancel:c,onContinueInBackground:d,onAllStepsComplete:u,onCompletedStepsChange:p}){const h=W0.steps.length,g=Math.max(h-1,0),f=r!=null&&r.accounts.length>0,x=r?.isConfirmLoading===!0,y=r?.isConfirmCompleted===!0,[b,w]=m.useState(n??0),[C,v]=m.useState([]),[A,k]=m.useState(!1),$=m.useCallback(((ue,re)=>{v(ue),k(re)}),[]),[j,E]=m.useState((()=>h===0?0:(n??0)/h*100)),D=l?.signedUrl?.trim()??"",[I,L]=m.useState(i),[R,O]=m.useState(i!=null),[_,N]=m.useState(null),[T,M]=m.useState(0),B=m.useRef(null),V=m.useRef(!1),H=m.useRef(null),Q=m.useRef(!1);m.useEffect((()=>{if(i!=null)return L(i),void O(!0);if(D==="")return L(void 0),void O(!1);let ue=!1;return O(!1),(async function(re){if(re==null)return;if(oin(re))return 1;if(!(function(de){return de.contentType?.toLowerCase()==="application/pdf"||de.extension?.toLowerCase()===".pdf"})(re))return;const oe=re.signedUrl.trim();if(oe!=="")try{const de=await fetch(oe);return de.ok?(await(await Bd((()=>import("./pdf-CGyqZzIC.js").then((ge=>ge.i))),__vite__mapDeps([0,1,2])).then((ge=>ge.pdfjs))).getDocument({data:new Uint8Array(await de.arrayBuffer())}).promise).numPages:void 0}catch{return}})({signedUrl:D,contentType:l?.contentType,extension:l?.extension}).then((re=>{ue||(L(re),O(!0))})),()=>{ue=!0}}),[i,D,l?.contentType,l?.extension]),m.useEffect((()=>{N(null)}),[D]),m.useEffect((()=>{!R||_!=null||N((function(ue){return ue==null||ue<=0?125:ue<=2?65:ue<=4?120:ue<=8?160:ue<=12?190:200})(I))}),[R,_,I]);const W=_??125,U=i9e(h),q=1e3*W,K=Math.floor(q/Math.max(U,1));m.useEffect((()=>{if(!e)return B.current=null,V.current=!1,M(0),void N(null);if(!V.current){const oe=(function(de,ge,me){const ye=i9e(me);return ge*(Math.max(0,Math.min(de,me)-1)/ye)})(Math.max(n??0,b,1),W,h);B.current=Date.now()-1e3*oe,V.current=!0}const ue=()=>{B.current!=null&&M(Math.floor((Date.now()-B.current)/1e3))};ue();const re=setInterval(ue,5e3);return()=>clearInterval(re)}),[e,W,h,n,b]);const Z=_!=null?Math.max(0,_-T):0,ne=_!=null?(function(ue,re,oe){return re?null:ue<=0?{label:oe.takingLongerThanExpected,showClock:!1}:ue<60?{label:oe.timeRemainingSeconds(ue),showClock:!0}:{label:oe.timeRemainingMinutes(Math.ceil(ue/60)),showClock:!0}})(Z,b>=h,W0):null;m.useEffect((()=>{p?.(b)}),[b,p]),m.useEffect((()=>{n!=null&&n>b&&w(n)}),[n,b]),m.useEffect((()=>{e&&b===0&&w(1)}),[e,b]);const ie=s===!0||f===!0&&b<g;m.useEffect((()=>{if(b===0||b>=h||s!==!0&&b>=g||f===!0&&b>=g)return;const ue=setTimeout((()=>{w((re=>re+1))}),ie?300:K);return()=>clearTimeout(ue)}),[b,s,f,g,ie,K,h]),m.useEffect((()=>{if(b!==h||u==null||f===!0)return;const ue=setTimeout(u,1e3);return()=>clearTimeout(ue)}),[b,f,u,h]);const X=f===!0&&b>=g,ae=m.useCallback((()=>{const ue=B.current??Date.now();d({completedSteps:b,startedAtMs:ue,totalDurationSeconds:W,accountMappings:X===!0?C:void 0})}),[b,X,C,d,W]);m.useEffect((()=>{if(X!==!0)return void(Q.current=!1);if(Q.current===!0)return;Q.current=!0;const ue=requestAnimationFrame((()=>{const re=H.current;re?.scrollTo({top:re.scrollHeight,behavior:"smooth"})}));return()=>cancelAnimationFrame(ue)}),[X]),m.useEffect((()=>{if(h===0)return void E(0);const ue=b/h*100;if(b===0)return void E(0);if(b>=h)return void E(100);if(s!==!0&&f!==!0&&b>=g||f===!0&&b>=g)return void E(ue);const re=(b+1)/h*100,oe=ie?300:K,de=performance.now();let ge=0;const me=ye=>{const we=Math.min((ye-de)/oe,1);E(ue+(re-ue)*we),we<1&&(ge=requestAnimationFrame(me))};return ge=requestAnimationFrame(me),()=>cancelAnimationFrame(ge)}),[b,s,f,g,ie,K,h]);const ee=Math.min(100,Math.round(j)),se=b>=h?h-1:Math.min(b,W0.stepSubtitles.length-1),he=r?.accounts.length??0,ce=X===!0&&he>0?r?.accountType==="bank"?W0.accountMapping.headerSubtitleAccounts(he):W0.accountMapping.headerSubtitle(he):W0.stepSubtitles[se];return t.jsxs(t.Fragment,{children:[t.jsxs(bss,{ref:H,"data-testid":Y(ry,"container"),children:[t.jsxs(Css,{"data-testid":Y(ry,"header"),children:[t.jsxs(vss,{children:[t.jsxs(Ass,{children:[t.jsxs(Sss,{children:[t.jsx(xss,{}),t.jsx(jss,{children:W0.headerTitle})]}),X===!0?t.jsxs(R9t,{"data-testid":Y(ry,"action-needed"),children:[t.jsx(Dss,{}),t.jsx(Tss,{children:W0.actionNeeded})]}):ne!=null?t.jsxs(R9t,{"data-testid":Y(ry,"time-remaining"),children:[ne.showClock?t.jsx(Ess,{}):null,t.jsx(Iss,{children:ne.label})]}):null]}),t.jsx($ss,{children:ce})]}),t.jsxs(Lss,{children:[t.jsxs(Bss,{children:[t.jsx(Pss,{children:W0.stepProgressLabel(b,h)}),t.jsx(Mss,{children:`${ee}%`})]}),t.jsx(Oss,{children:t.jsx(Fss,{style:{width:`${j}%`}})})]})]}),t.jsx(wss,{"data-testid":Y(ry,"steps"),children:W0.steps.map(((ue,re)=>{const oe=re+1,de=re===W0.steps.length-1,ge=X===!0&&y!==!0&&de===!0,me=f===!0&&y===!0&&de===!0&&b>=g,ye=ge!==!0&&me!==!0&&oe<=b,we=me===!0||ge!==!0&&oe===b+1;return t.jsxs(Rss,{"data-testid":Y(ry,`step-${oe}`),children:[t.jsxs(zss,{children:[t.jsx(_ss,{$isDone:ye,$isInProgress:we,children:oe}),de?null:t.jsx(Nss,{$isDone:ye})]}),t.jsx(Gss,{children:ue}),t.jsx(qss,{children:ge===!0?t.jsx(Wss,{"data-testid":Y(ry,"action-required"),children:t.jsx(Qss,{children:JG.texts.actionRequired})}):ye?t.jsx(Vss,{}):we?t.jsxs(Hss,{children:[t.jsx(Yss,{}),t.jsx(Uss,{children:JG.aiAgentsActivatingPage.ledgerSection.workingPillLabel})]}):null})]},oe)}))}),X===!0&&r!=null?t.jsx(Gas,{accounts:r.accounts,fileName:l?.fileName??"",ledgerAccounts:r.ledgerAccounts,accountType:r.accountType,initialMappings:r.initialMappings,statementOverrideWarningAccountIds:r.statementOverrideWarningAccountIds,unavailableLedgerAccountIds:r.unavailableLedgerAccountIds,onMappingsChange:$}):null]}),X===!0&&r!=null?t.jsx(ei,{formId:ry,showCancel:!0,cancelBtn:{label:W0.continueInBackground,onClick:ae,style:{width:"195px"}},primaryBtn:{label:JG.confirm,isDisabled:A!==!0||x===!0||y===!0,isLoading:x,onClick:()=>{y===!0||x===!0||r.onConfirmMapping(C)},style:{width:"195px"}}}):t.jsx(ei,{formId:ry,showCancel:!0,cancelBtn:{label:JG.cancel,onClick:c,style:{width:"195px"}},primaryBtn:{label:W0.continueInBackground,onClick:ae,variant:"secondary",style:{width:"195px"}}})]})}const bss=a.div`
85109
+ `,{expenseAutomation:{accountRecon:{statementProcessing:W0}},common:JG}=le.getLocalizedStrings(),ry="statement-processing-page";function xss(){const[e]=ea("AiStar");return t.jsx(Yg,{$slotSize:o.sp4,children:e!=null?t.jsx(tL,{animationData:e,play:!0,loop:!0,slotSize:o.sp4}):t.jsx(kss,{})})}function yss({isUploadComplete:e,_storyCompletedSteps:n,_storyPageCount:i,accountMapping:r,isParsedDataReady:s,statementFile:l,onCancel:c,onContinueInBackground:d,onAllStepsComplete:u,onCompletedStepsChange:p}){const h=W0.steps.length,g=Math.max(h-1,0),f=r!=null&&r.accounts.length>0,x=r?.isConfirmLoading===!0,y=r?.isConfirmCompleted===!0,[b,w]=m.useState(n??0),[C,v]=m.useState([]),[A,k]=m.useState(!1),$=m.useCallback(((ue,re)=>{v(ue),k(re)}),[]),[j,E]=m.useState((()=>h===0?0:(n??0)/h*100)),D=l?.signedUrl?.trim()??"",[I,L]=m.useState(i),[R,O]=m.useState(i!=null),[_,N]=m.useState(null),[T,M]=m.useState(0),B=m.useRef(null),V=m.useRef(!1),H=m.useRef(null),Q=m.useRef(!1);m.useEffect((()=>{if(i!=null)return L(i),void O(!0);if(D==="")return L(void 0),void O(!1);let ue=!1;return O(!1),(async function(re){if(re==null)return;if(oin(re))return 1;if(!(function(de){return de.contentType?.toLowerCase()==="application/pdf"||de.extension?.toLowerCase()===".pdf"})(re))return;const oe=re.signedUrl.trim();if(oe!=="")try{const de=await fetch(oe);return de.ok?(await(await Bd((()=>import("./pdf-BZfLFbU_.js").then((ge=>ge.i))),__vite__mapDeps([0,1,2])).then((ge=>ge.pdfjs))).getDocument({data:new Uint8Array(await de.arrayBuffer())}).promise).numPages:void 0}catch{return}})({signedUrl:D,contentType:l?.contentType,extension:l?.extension}).then((re=>{ue||(L(re),O(!0))})),()=>{ue=!0}}),[i,D,l?.contentType,l?.extension]),m.useEffect((()=>{N(null)}),[D]),m.useEffect((()=>{!R||_!=null||N((function(ue){return ue==null||ue<=0?125:ue<=2?65:ue<=4?120:ue<=8?160:ue<=12?190:200})(I))}),[R,_,I]);const W=_??125,U=i9e(h),q=1e3*W,K=Math.floor(q/Math.max(U,1));m.useEffect((()=>{if(!e)return B.current=null,V.current=!1,M(0),void N(null);if(!V.current){const oe=(function(de,ge,me){const ye=i9e(me);return ge*(Math.max(0,Math.min(de,me)-1)/ye)})(Math.max(n??0,b,1),W,h);B.current=Date.now()-1e3*oe,V.current=!0}const ue=()=>{B.current!=null&&M(Math.floor((Date.now()-B.current)/1e3))};ue();const re=setInterval(ue,5e3);return()=>clearInterval(re)}),[e,W,h,n,b]);const Z=_!=null?Math.max(0,_-T):0,ne=_!=null?(function(ue,re,oe){return re?null:ue<=0?{label:oe.takingLongerThanExpected,showClock:!1}:ue<60?{label:oe.timeRemainingSeconds(ue),showClock:!0}:{label:oe.timeRemainingMinutes(Math.ceil(ue/60)),showClock:!0}})(Z,b>=h,W0):null;m.useEffect((()=>{p?.(b)}),[b,p]),m.useEffect((()=>{n!=null&&n>b&&w(n)}),[n,b]),m.useEffect((()=>{e&&b===0&&w(1)}),[e,b]);const ie=s===!0||f===!0&&b<g;m.useEffect((()=>{if(b===0||b>=h||s!==!0&&b>=g||f===!0&&b>=g)return;const ue=setTimeout((()=>{w((re=>re+1))}),ie?300:K);return()=>clearTimeout(ue)}),[b,s,f,g,ie,K,h]),m.useEffect((()=>{if(b!==h||u==null||f===!0)return;const ue=setTimeout(u,1e3);return()=>clearTimeout(ue)}),[b,f,u,h]);const X=f===!0&&b>=g,ae=m.useCallback((()=>{const ue=B.current??Date.now();d({completedSteps:b,startedAtMs:ue,totalDurationSeconds:W,accountMappings:X===!0?C:void 0})}),[b,X,C,d,W]);m.useEffect((()=>{if(X!==!0)return void(Q.current=!1);if(Q.current===!0)return;Q.current=!0;const ue=requestAnimationFrame((()=>{const re=H.current;re?.scrollTo({top:re.scrollHeight,behavior:"smooth"})}));return()=>cancelAnimationFrame(ue)}),[X]),m.useEffect((()=>{if(h===0)return void E(0);const ue=b/h*100;if(b===0)return void E(0);if(b>=h)return void E(100);if(s!==!0&&f!==!0&&b>=g||f===!0&&b>=g)return void E(ue);const re=(b+1)/h*100,oe=ie?300:K,de=performance.now();let ge=0;const me=ye=>{const we=Math.min((ye-de)/oe,1);E(ue+(re-ue)*we),we<1&&(ge=requestAnimationFrame(me))};return ge=requestAnimationFrame(me),()=>cancelAnimationFrame(ge)}),[b,s,f,g,ie,K,h]);const ee=Math.min(100,Math.round(j)),se=b>=h?h-1:Math.min(b,W0.stepSubtitles.length-1),he=r?.accounts.length??0,ce=X===!0&&he>0?r?.accountType==="bank"?W0.accountMapping.headerSubtitleAccounts(he):W0.accountMapping.headerSubtitle(he):W0.stepSubtitles[se];return t.jsxs(t.Fragment,{children:[t.jsxs(bss,{ref:H,"data-testid":Y(ry,"container"),children:[t.jsxs(Css,{"data-testid":Y(ry,"header"),children:[t.jsxs(vss,{children:[t.jsxs(Ass,{children:[t.jsxs(Sss,{children:[t.jsx(xss,{}),t.jsx(jss,{children:W0.headerTitle})]}),X===!0?t.jsxs(R9t,{"data-testid":Y(ry,"action-needed"),children:[t.jsx(Dss,{}),t.jsx(Tss,{children:W0.actionNeeded})]}):ne!=null?t.jsxs(R9t,{"data-testid":Y(ry,"time-remaining"),children:[ne.showClock?t.jsx(Ess,{}):null,t.jsx(Iss,{children:ne.label})]}):null]}),t.jsx($ss,{children:ce})]}),t.jsxs(Lss,{children:[t.jsxs(Bss,{children:[t.jsx(Pss,{children:W0.stepProgressLabel(b,h)}),t.jsx(Mss,{children:`${ee}%`})]}),t.jsx(Oss,{children:t.jsx(Fss,{style:{width:`${j}%`}})})]})]}),t.jsx(wss,{"data-testid":Y(ry,"steps"),children:W0.steps.map(((ue,re)=>{const oe=re+1,de=re===W0.steps.length-1,ge=X===!0&&y!==!0&&de===!0,me=f===!0&&y===!0&&de===!0&&b>=g,ye=ge!==!0&&me!==!0&&oe<=b,we=me===!0||ge!==!0&&oe===b+1;return t.jsxs(Rss,{"data-testid":Y(ry,`step-${oe}`),children:[t.jsxs(zss,{children:[t.jsx(_ss,{$isDone:ye,$isInProgress:we,children:oe}),de?null:t.jsx(Nss,{$isDone:ye})]}),t.jsx(Gss,{children:ue}),t.jsx(qss,{children:ge===!0?t.jsx(Wss,{"data-testid":Y(ry,"action-required"),children:t.jsx(Qss,{children:JG.texts.actionRequired})}):ye?t.jsx(Vss,{}):we?t.jsxs(Hss,{children:[t.jsx(Yss,{}),t.jsx(Uss,{children:JG.aiAgentsActivatingPage.ledgerSection.workingPillLabel})]}):null})]},oe)}))}),X===!0&&r!=null?t.jsx(Gas,{accounts:r.accounts,fileName:l?.fileName??"",ledgerAccounts:r.ledgerAccounts,accountType:r.accountType,initialMappings:r.initialMappings,statementOverrideWarningAccountIds:r.statementOverrideWarningAccountIds,unavailableLedgerAccountIds:r.unavailableLedgerAccountIds,onMappingsChange:$}):null]}),X===!0&&r!=null?t.jsx(ei,{formId:ry,showCancel:!0,cancelBtn:{label:W0.continueInBackground,onClick:ae,style:{width:"195px"}},primaryBtn:{label:JG.confirm,isDisabled:A!==!0||x===!0||y===!0,isLoading:x,onClick:()=>{y===!0||x===!0||r.onConfirmMapping(C)},style:{width:"195px"}}}):t.jsx(ei,{formId:ry,showCancel:!0,cancelBtn:{label:JG.cancel,onClick:c,style:{width:"195px"}},primaryBtn:{label:W0.continueInBackground,onClick:ae,variant:"secondary",style:{width:"195px"}}})]})}const bss=a.div`
85110
85110
  flex: 1;
85111
85111
  display: flex;
85112
85112
  flex-direction: column;
@@ -90026,7 +90026,7 @@ ${hO.gap.expectedStartDate(u)}.`:f.description,y=p===!0||d!=null;return t.jsx(Di
90026
90026
  display: flex;
90027
90027
  min-height: 100%;
90028
90028
  flex-direction: column;
90029
- `,Z5s=()=>{const[e,n]=m.useState((()=>jr.getSignedInUser())),i=Gp(),[r,s]=m.useState(!1),[l,c]=m.useState(!1),d=Qr((g=>Xvt(g).fetchState)),u=Qr((g=>h0(g)));m.useEffect((()=>{const g=e!=null&&e.authProvider==="email"&&(!e?.firstName||!e?.lastName||!e.phoneNumber);s(g)}),[e]);const p=m.useCallback((()=>{const g=jr.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"&&i(Iln(u.companyId))}),[d,u.companyId,i]);const h=m.useMemo((()=>!!e?.firstName&&!e?.phoneNumber),[e]);return Kt.jsxs(m.Fragment,{children:[l&&Kt.jsx(kve,{showConfetti:!0}),e?.userEmail!=null&&e.authProvider==="email"?Kt.jsx(q5s,{userEmail:e.userEmail,isCompleteProfileOpen:r,closeDrawerHandler:()=>{s(!1),c(!0)},hasUserEnteredBasicDetails:h}):null]})},kCt="init-enter",J5s=m.memo((function({location:e,visitedUrl:n}){const{pathname:i}=e;return m.useLayoutEffect((()=>{const r=n.get(i||kCt);X5s(r!==void 0?r:0)})),null}),((e,n)=>{const{location:i,visitedUrl:r}=e,{location:s}=n,l=i.pathname||kCt,c=exs();return r.set(l,c),!((s.pathname!==i.pathname||s.search!==i.search)&&s.hash==="")})),X5s=(e=0)=>window.requestAnimationFrame((()=>{window.scrollTo(0,e)})),exs=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},$0=e=>m.lazy((async()=>{const n=e.toString(),i=jr.getForceRefreshedComponents(),r=new Set(i),s=jr.isSignedIn(),l=r.has(n);try{const c=await e();return r.delete(n),s&&jr.saveForceRefreshedComponents(Array.from(r)),c}catch(c){throw l||(r.add(n),s&&jr.saveForceRefreshedComponents(Array.from(r)),location.reload()),c}})),CCs=(e,n,i)=>{const r=T9e(e),s=Cte(e),l=L9e(i,e);return(n||i||s||r||l)&&I9e(e.company)},Hon=globalThis.window?.location.href.startsWith("https://delhi-dot-zeni"),Uon=globalThis.window?.location.href.startsWith("https://pune-dot-zeni"),Won=globalThis.window?.location.href.startsWith("https://sunnyvale-dot-zeni"),Qon=globalThis.window?.location.href.startsWith("https://dev.app.zeni.ai");function Ec(...e){const n=Bc==="DEV"||Bc==="QA";if(Hon||Uon||Won||Qon)return void console.log(...e);const i=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&i&&console.log(...e)}function PD(...e){const n=Bc==="DEV"||Bc==="QA";if(Hon||Uon||Won||Qon)return void console.warn(...e);const i=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&i&&console.warn(...e)}let CE=null,jO=!1;const Ic=Bc==="PROD"?"https://api.zeni.ai":Bc==="DEV"?"https://dev.api.zeni.ai":"https://qa.api.zeni.ai";function jCt(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),s=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),l=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:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Reports - Profit & Loss by Months (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Reports - Profit & Loss by Quarters (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${r}`,priority:"HIGH",reason:"Reports - Profit & Loss by Years (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/balance_sheet?query=${s}`,priority:"HIGH",reason:"Reports - Balance Sheet by Months (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/balance_sheet?query=${l}`,priority:"HIGH",reason:"Reports - Balance Sheet by Quarters (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/balance_sheet?query=${c}`,priority:"HIGH",reason:"Reports - Balance Sheet by Years (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/cash_flow?query=${d}`,priority:"HIGH",reason:"Reports - Cash Flow by Months (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/cash_flow?query=${u}`,priority:"HIGH",reason:"Reports - Cash Flow by Quarters (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/cash_flow?query=${p}`,priority:"HIGH",reason:"Reports - Cash Flow by Years (first load)",apiType:"reports"}]}const txs={dashboard:function(e){return[...jCt()]},reports:jCt,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})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"],forecast_id:e.forecastId,is_forecast_vs_actual:!0}));return[{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Months (first load)",apiType:"forecast"},{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Quarters (first load)",apiType:"forecast"},{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${r}`,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:`${Ic}/banking/1.0/deposit-accounts?query=${n}`,priority:"HIGH",reason:"Checking - Deposit Accounts (first load)",apiType:"checking"},{url:`${Ic}/pay/1.0/payment-accounts`,priority:"HIGH",reason:"Checking - Payment Accounts (first load)",apiType:"checking"},{url:`${Ic}/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:`${Ic}/tenant/1.0/company-refer-reward-plan?query=${n}`,priority:"HIGH",reason:"Rewards Page - Rewards Plan (first load)",apiType:"rewards"},{url:`${Ic}/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:i}=e,r=encodeURIComponent(JSON.stringify({view:"passport"}));return[{url:`${Ic}/tenant/1.0/user-roles`,priority:"HIGH",reason:"People Page - User Roles (first load)",apiType:"people"},{url:`${Ic}/tenant/1.0/users?query=${n}`,priority:"HIGH",reason:"People Page - Users (first load)",apiType:"people"},{url:`${Ic}/accounting/1.0/classes`,priority:"HIGH",reason:"People Page - Classes (first load)",apiType:"people"},{url:`${Ic}/tenant/1.0/companies/${i}?query=${r}`,priority:"HIGH",reason:"People Page - Company Passport (first load)",apiType:"people"}]}};function $Ct(e){const{currentPage:n,isRewardsFeatureEnabled:i,isPeopleTabVisible:r,isReportsPageVisible:s,isPageIndependent:l=!1}=e,c=(0,txs[l?"dashboard":n])(e),d=c.filter((u=>i===!1&&u.reason.includes("Rewards")?(Ec(`[Prefetch Manager - Service Worker] ⚠️ Skipping rewards URL (feature disabled): ${u.url}`),!1):r===!1&&u.reason.includes("People")?(Ec(`[Prefetch Manager - Service Worker] ⚠️ Skipping people URL (feature disabled): ${u.url}`),!1):s!==!1||!u.reason.includes("Reports")||(Ec(`[Prefetch Manager - Service Worker] ⚠️ Skipping reports URL (feature disabled): ${u.url}`),!1)));return Ec(`[Prefetch Manager - Service Worker] 📋 Prefetch list: ${c.length} total, ${d.length} after filtering`),d}async function ECt(e,n=0,i){if("serviceWorker"in navigator)try{const r=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?(Ec("[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),s=navigator.serviceWorker.controller||r.active;if(!s)return void PD("[Prefetch Manager - Service Worker] No active Service Worker available");const l=(function(u){const p={HIGH:0,MEDIUM:1,LOW:2};return u.sort(((h,g)=>p[h.priority]-p[g.priority]))})(e);Ec("[Prefetch Manager - Service Worker] 📋 Sending prefetch list to SW:",{total:l.length,high:l.filter((u=>u.priority==="HIGH")).length,medium:l.filter((u=>u.priority==="MEDIUM")).length,low:l.filter((u=>u.priority==="LOW")).length,batchSize:n>0?n:"disabled",expirationTime:i??"20 minutes",viaController:!!navigator.serviceWorker.controller}),l.forEach(((u,p)=>{Ec(`[Prefetch Manager - Service Worker] ${p+1}. [${u.priority}] ${u.reason} - ${u.url}`),Ec(` URL: ${u.url}`)}));const c=$te(),d={"zeni-session-id":c.sessionId,"zeni-user-id":c.userId,"zeni-tenant-id":c.tenantId};s.postMessage({type:"PREFETCH_URLS",payload:{urls:l.map((u=>({url:u.url,priority:u.priority,apiType:u.apiType}))),authHeaders:d,batchSize:n,expirationTime:i}}),Ec("[Prefetch Manager - Service Worker] ✅ Prefetch request sent to Service Worker")}catch(r){PD("[Prefetch Manager - Service Worker] Failed to send prefetch request:",r instanceof Error?r.message:"Unknown error")}else PD("[Prefetch Manager - Service Worker] Service Worker not supported in this browser")}function nxs({children:e,currentPage:n,tenantId:i,batchCalls:r=0,expirationTime:s,delay:l=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=i2(),A=jr.getSignedInUser(),{useFeatureGate:k}=fs(),{isFeatureEnabled:$}=k(Wr.isReferralFeatureEnabled),j=$n(),E=Jy(j?.loggedInUserRole??[]),D=Qr((_=>h0(_))),{isFeatureEnabled:I}=k(Wr.isDebitCardFeatureEnabled),L=L9e(I,D),R=T9e(D),O=L===!1&&R===!1;return m.useEffect((()=>{if(!c||x||!A||!i)return;const _=$Ct({currentPage:n,userId:A.userId,tenantId:i,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:O,companyId:D?.companyId??"",isPageIndependent:g}),N=g?"dashboard":n;if(_.length===0)return void Ec(`[Prefetch Provider - ${N}${g?" (base)":""}] No URLs to prefetch`);Ec(`[Prefetch Provider - ${N}${g?" (base)":""}] 📦 Generated ${_.length} URLs to prefetch`);const T=setTimeout((()=>{ECt(_,r,s).catch((M=>{PD(`[Prefetch Provider - ${N}${g?" (base)":""}] Prefetch failed:`,M)})),y(!0)}),l);return()=>clearTimeout(T)}),[c,x,A,i,n,u,p,$,E,O,D?.companyId,g,r,s,l,v.pathname]),m.useEffect((()=>{y(!1)}),[i,v.pathname]),m.useEffect((()=>{g||(y(!1),w(!1))}),[v.pathname,g]),m.useEffect((()=>{if(C.current&&(C.current(),C.current=null),!(c&&d&&A&&i)||b)return;Ec(`[Prefetch Provider - Idle] 👀 Setting up idle prefetch detection (timeout: ${h}ms)`);const _=(function(N){const{timeout:T=2e3,onIdle:M}=N;Ec(`[Idle Detection - Service Worker] 👀 Starting Idle Detection - Service Worker (timeout: ${T}ms)`);const B=()=>{jO&&(Ec("[Idle Detection - Service Worker] 🏃 User became active again"),jO=!1),CE&&clearTimeout(CE),CE=setTimeout((()=>{jO||(Ec("[Idle Detection - Service Worker] ⏱️ Browser is now IDLE"),jO=!0,M())}),T)},V=["mousedown","mousemove","keypress","scroll","touchstart","click"];return V.forEach((H=>{document.addEventListener(H,B,!0)})),B(),()=>{Ec("[Idle Detection - Service Worker] 🛑 Stopping Idle Detection - Service Worker"),CE&&(clearTimeout(CE),CE=null),V.forEach((H=>{document.removeEventListener(H,B,!0)})),jO=!1}})({timeout:h,onIdle:()=>{if(b)return;Ec("[Prefetch Provider - Idle] ⏱️ Browser is idle, fetching prefetch list with isIdleCallEnabled=true");const N=$Ct({currentPage:n,userId:A.userId,tenantId:i,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:O,companyId:D.companyId,isPageIndependent:g,isIdleCallEnabled:!0}),T=g?"dashboard":n;N.length!==0?(Ec(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] 📦 Generated ${N.length} URLs to prefetch on idle`),ECt(N,r,s).catch((M=>{PD(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] Idle prefetch failed:`,M)})),w(!0)):Ec(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] No URLs to prefetch on idle`)}});return C.current=_,()=>{C.current&&(C.current(),C.current=null)}}),[c,d,h,A,i,b,n,u,p,$,E,O,D.companyId,g,r,s]),m.useEffect((()=>{w(!1)}),[i]),m.useEffect((()=>{(function(){const _=performance.getEntriesByType("navigation");if(_.length>0)return _[0].type==="reload";const N=performance.navigation;return!(!N||typeof N.type!="number")&&N.type===1})()&&f&&(Ec("[Prefetch Provider] 🔄 Page refresh detected - will bypass cache for fresh data"),(async function(){if("serviceWorker"in navigator)try{const _=await navigator.serviceWorker.ready,N=navigator.serviceWorker.controller||_.active;if(!N)return;Ec("[Prefetch Provider] 🔄 Page refresh detected, notifying service worker to bypass cache"),N.postMessage({type:"PAGE_REFRESH",payload:{timestamp:Date.now()}})}catch(_){PD("[Prefetch Provider] Failed to notify service worker of refresh:",_)}})())}),[]),Kt.jsx(Kt.Fragment,{children:e})}function ixs({children:e,isPageIndependent:n=!1,batchCalls:i=0,enableIdlePrefetch:r=!1,expirationTime:s,idleTimeout:l=2e3,isRefreshTriggerEnabled:c=!1}){const d=i2(),u=Qr((y=>h0(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}=fs(),{isFeatureEnabled:x}=f(Wr.isServiceWorkerPrefetchingEnabled);return g&&p?Kt.jsx(nxs,{currentPage:p,tenantId:g,delay:5e3,enabled:x,batchCalls:i,enableIdlePrefetch:r,expirationTime:s,idleTimeout:l,isRefreshTriggerEnabled:c,isPageIndependent:n,children:e}):Kt.jsx(Kt.Fragment,{children:e})}function oxs(e,n){const i=Mi.extractUtmParamsFromUrl(n),r=new URLSearchParams(i).toString();if(!r)return e;const s=e.includes("?")?"&":"?";return`${e}${s}${r}`}const rxs=$0((()=>Bd((()=>import("./DefaultTenantHome-CvzwpBoC.js")),__vite__mapDeps([4,1,2,0,5,6,7,8])))),axs=$0((()=>Bd((()=>import("./AppDrawer-C7u6yO5k.js")),__vite__mapDeps([9,1,2,0,5,10,11,12,7,8])))),ICt=$0((()=>Bd((()=>import("./ScreenRoutes-C2Pczg6X.js").then((e=>e.S))),__vite__mapDeps([13,0,1,2,5,14,6])))),sxs=$0((()=>Bd((()=>import("./ConnectionAuthScreen-_WPAiqQD.js")),__vite__mapDeps([15,1,2,0,5,16,17,10,11,18,8,19,20,21,22,23,24,6,7])))),lxs=$0((()=>Bd((()=>import("./SignInScreen-xjjVbfK1.js")),__vite__mapDeps([25,1,2,0,5,26,14,6,7,8])))),cxs=$0((()=>Bd((()=>import("./MagicLinkSignInScreen-Z_KEEjY_.js")),__vite__mapDeps([27,1,2,0,5,26,14,6,7,8])))),DCt=$0((()=>Bd((()=>import("./NotFoundScreen-BYb00fRD.js")),__vite__mapDeps([28,1,2,0,5,7,8])))),dxs=$0((()=>Bd((()=>import("./MagicLinkRoutes-B5onTuVg.js")),__vite__mapDeps([29,1,2,0,5,28,7,8])))),uxs=$0((()=>Bd((()=>import("./PaymentLinkScreen-Dom-ZdiQ.js")),__vite__mapDeps([30,1,2,0,5,7,8])))),pxs=$0((()=>Bd((()=>import("./WiseConfirmationScreen-BgAYLRbZ.js")),__vite__mapDeps([31,1,2,0,5,7,8])))),hxs=$0((()=>Bd((()=>import("./HubSpotOAuthCallbackScreen-Bj9Wgjht.js")),__vite__mapDeps([32,1,2,0,5,7,8])))),mxs=$0((()=>Bd((()=>import("./CustomerOnboardingAuthScreen-B2-KkeTM.js")),__vite__mapDeps([33,1,2,0,18,8,19,20,21,22,5,23,7])))),gxs=$0((()=>Bd((()=>import("./SignOutScreen-z53qiWi7.js")),__vite__mapDeps([34,1,2,0,5,7,8])))),fxs=$0((()=>Bd((()=>import("./OAuthConsentScreen-Cp21VEUM.js")),__vite__mapDeps([35,1,2,0,5,7,8])))),xxs=()=>{const e=i2(),n=new URLSearchParams(e.search),i=n.get("question"),r=i?.replace(/^["']|["']$/g,"")??null,s=n.get("should_submit")==="true",l=oxs("/",n);return Kt.jsx(qCt,{to:l,replace:!0,state:{origin:"/aicfo",message:"",queryParams:{aiCfoQuestion:r,aiCfoShouldSubmit:s?"true":"false"}}})};function yxs(){const{isOpen:e}=fk(),n=n0i(),{isAiCfoOpen:i,setIsAiCfoOpen:r}=Ake(),s=m.useRef(!1),l=m.useRef(i),c=m.useRef(!1);return m.useLayoutEffect((()=>{const d=i&&!l.current;l.current=i,d&&e&&(r(!1),n(),c.current=!0)}),[i,e,r,n]),m.useEffect((()=>{e&&!s.current&&(c.current=!1,i&&r(!1)),s.current=e}),[e,i,r]),m.useEffect((()=>{!e&&c.current&&(c.current=!1,r(!0))}),[e,r]),null}const bxs=({tenantEmailDomain:e,setTenantEmailDomain:n})=>{const i=jr.isSignedIn(),r=Qr((T=>h0(T))),s=jr.getSignedInUser(),l=i&&bN(s),c=Qr((T=>Dln(T))).tenantsBaseInOrder.map((T=>({companyId:T.companyId,tenantId:T.tenantId,companyName:T.companyName}))),d={userId:s?.userId??"",sessionId:s?.zeniSessionId??"",tenantId:r.tenantId??""},u=Gp(),p=ou(["/:tenantEmailDomain/dashboard/*","/:tenantEmailDomain/dashboard"]),h=fon(),g=Tke(),[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}=fs(),{isFeatureEnabled:v}=C(Wr.isAiCfoFileUploadEnabled),{isFeatureEnabled:A}=C(Wr.isBillPayCommentingEnabled),{isFeatureEnabled:k}=C(Wr.isReimbursementCommentingEnabled),{isFeatureEnabled:$}=C(Wr.isExpenseAutomationEnabled),{isFeatureEnabled:j}=C(Wr.isExpenseAutomationEnabledV2),{isFeatureEnabled:E}=C(Wr.isTreasuryCommentingEnabled),{isFeatureEnabled:D}=C(Wr.isCheckingCommentingEnabled),{isFeatureEnabled:I}=C(Wr.isTransactionCommentingEnabled),{isFeatureEnabled:L}=C(Wr.isCardsCommentingEnabled),R=A||k||l&&$||!l&&j||E||D||I||L;m.useEffect((()=>{!h&&f&&x(!1)}),[h,f]),m.useEffect((()=>{h||u(Tln())}),[u,h]);const O=i2().pathname.includes("/collect-payment/"),_=Kt.jsx(wxs,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v});if(O)return Kt.jsx(fYe,{children:Kt.jsx(Wft,{children:Kt.jsx(b9e.Provider,{value:w,children:_})})});const N=Kt.jsxs(b9e.Provider,{value:w,children:[Kt.jsx(yxs,{}),Kt.jsxs(Axs,{children:[Kt.jsx(axs,{tenantEmailDomain:e}),Kt.jsx(Cxs,{children:_})]})]});return Kt.jsx(fYe,{children:r.tenantId!=null?Kt.jsx(P2a,{roomId:`dashboard_${r.companyId}`,authParams:d,users:[],companies:c,authUrlEndPoint:`${x8.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!0,commentingUsersUrlEndPoint:`${x8.tenantMicroServiceBaseUrl}/1.0/users/commenting-users`,isZeniUser:l,autoConnect:l||I||L,loggedInUser:s,withRoomProvider:!0,withThreadsProvider:R,threadsIndexStrategy:"roomThreads",filter:{application:"dashboard",companyId:r.companyId},children:N},r.tenantId):Kt.jsx(Wft,{children:N})})},wxs=({setTenantEmailDomain:e,isOnDashboard:n,userHasZeniAiCfoAccess:i,isAiCfoFileUploadEnabled:r})=>{const s=Qr((x=>x.tenantState.loggedInUser)),{useDynamicConfig:l}=fs(),{configValue:c}=l(_7.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}=jke(),{isAiCfoOpen:g,setIsAiCfoOpen:f}=Ake();return m.useEffect((()=>{h(yon.APP_INITIALIZATION)}),[h]),Kt.jsx(m.Suspense,{fallback:null,children:Kt.jsx(ixs,{isPageIndependent:!0,batchCalls:d,isRefreshTriggerEnabled:!1,enableIdlePrefetch:!1,idleTimeout:u,expirationTime:p,children:Kt.jsxs(brn,{children:[Kt.jsx(sp,{path:"/magic_links/*",element:Kt.jsx(dxs,{})}),Kt.jsx(sp,{path:"/collect-payment/:namespace/:token",element:Kt.jsx(uxs,{})}),Kt.jsx(sp,{path:"/wise/callback/link-account/*",element:Kt.jsx(pxs,{})}),Kt.jsx(sp,{path:"/page-not-found",element:Kt.jsx(DCt,{})}),Kt.jsx(sp,{path:"/",element:Kt.jsx(rxs,{})}),Kt.jsx(sp,{path:"/aicfo",element:Kt.jsx(xxs,{})}),Kt.jsx(sp,{path:"/onboarding/auth",element:Kt.jsx(mxs,{})}),Kt.jsx(sp,{path:"/:tenantEmailDomain/*",element:Kt.jsx(kxs,{children:Kt.jsxs(g5s,{children:[Kt.jsxs(jxs,{children:[s!=null?Kt.jsx(Z5s,{}):null,n?Kt.jsx(ICt,{setTenantEmailDomain:e}):Kt.jsx(z4e,{children:Kt.jsx(ICt,{setTenantEmailDomain:e})})]}),i?Kt.jsxs(Kt.Fragment,{children:[Kt.jsx(Y4s,{}),Kt.jsx($xs,{isOpen:g,children:Kt.jsx(_5s,{isOpen:g,onClose:()=>f(!1),isFileUploadEnabled:r})})]}):null]})})}),Kt.jsx(sp,{path:"/signin/auth",element:Kt.jsx(z4e,{children:Kt.jsx(lxs,{setTenantEmailDomain:e})})}),Kt.jsx(sp,{path:"/signin/magic-link",element:Kt.jsx(z4e,{children:Kt.jsx(cxs,{})})}),Kt.jsx(sp,{path:"/signout",element:Kt.jsx(gxs,{})}),Kt.jsx(sp,{path:"/connection/auth",element:Kt.jsx(sxs,{})}),Kt.jsx(sp,{path:"/oauth/hubspot/callback",element:Kt.jsx(hxs,{})}),Kt.jsx(sp,{path:"/oauth/authorize",element:Kt.jsx(fxs,{})}),Kt.jsx(sp,{path:"*",element:Kt.jsx(DCt,{})})]})})})},Cxs=({children:e})=>{const{isOpen:n,width:i}=fk();return Kt.jsx(Sxs,{commentsDrawerWidth:n?i:0,children:e})},vxs=pi("div")`
90029
+ `,Z5s=()=>{const[e,n]=m.useState((()=>jr.getSignedInUser())),i=Gp(),[r,s]=m.useState(!1),[l,c]=m.useState(!1),d=Qr((g=>Xvt(g).fetchState)),u=Qr((g=>h0(g)));m.useEffect((()=>{const g=e!=null&&e.authProvider==="email"&&(!e?.firstName||!e?.lastName||!e.phoneNumber);s(g)}),[e]);const p=m.useCallback((()=>{const g=jr.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"&&i(Iln(u.companyId))}),[d,u.companyId,i]);const h=m.useMemo((()=>!!e?.firstName&&!e?.phoneNumber),[e]);return Kt.jsxs(m.Fragment,{children:[l&&Kt.jsx(kve,{showConfetti:!0}),e?.userEmail!=null&&e.authProvider==="email"?Kt.jsx(q5s,{userEmail:e.userEmail,isCompleteProfileOpen:r,closeDrawerHandler:()=>{s(!1),c(!0)},hasUserEnteredBasicDetails:h}):null]})},kCt="init-enter",J5s=m.memo((function({location:e,visitedUrl:n}){const{pathname:i}=e;return m.useLayoutEffect((()=>{const r=n.get(i||kCt);X5s(r!==void 0?r:0)})),null}),((e,n)=>{const{location:i,visitedUrl:r}=e,{location:s}=n,l=i.pathname||kCt,c=exs();return r.set(l,c),!((s.pathname!==i.pathname||s.search!==i.search)&&s.hash==="")})),X5s=(e=0)=>window.requestAnimationFrame((()=>{window.scrollTo(0,e)})),exs=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},$0=e=>m.lazy((async()=>{const n=e.toString(),i=jr.getForceRefreshedComponents(),r=new Set(i),s=jr.isSignedIn(),l=r.has(n);try{const c=await e();return r.delete(n),s&&jr.saveForceRefreshedComponents(Array.from(r)),c}catch(c){throw l||(r.add(n),s&&jr.saveForceRefreshedComponents(Array.from(r)),location.reload()),c}})),CCs=(e,n,i)=>{const r=T9e(e),s=Cte(e),l=L9e(i,e);return(n||i||s||r||l)&&I9e(e.company)},Hon=globalThis.window?.location.href.startsWith("https://delhi-dot-zeni"),Uon=globalThis.window?.location.href.startsWith("https://pune-dot-zeni"),Won=globalThis.window?.location.href.startsWith("https://sunnyvale-dot-zeni"),Qon=globalThis.window?.location.href.startsWith("https://dev.app.zeni.ai");function Ec(...e){const n=Bc==="DEV"||Bc==="QA";if(Hon||Uon||Won||Qon)return void console.log(...e);const i=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&i&&console.log(...e)}function PD(...e){const n=Bc==="DEV"||Bc==="QA";if(Hon||Uon||Won||Qon)return void console.warn(...e);const i=globalThis.window!==void 0&&(globalThis.window.location.hostname==="localhost"||globalThis.window.location.hostname==="127.0.0.1")&&globalThis.window.location.port==="3000";n&&i&&console.warn(...e)}let CE=null,jO=!1;const Ic=Bc==="PROD"?"https://api.zeni.ai":Bc==="DEV"?"https://dev.api.zeni.ai":"https://qa.api.zeni.ai";function jCt(e){const n=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"]})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"]})),s=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["months"]})),l=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:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Reports - Profit & Loss by Months (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Reports - Profit & Loss by Quarters (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${r}`,priority:"HIGH",reason:"Reports - Profit & Loss by Years (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/balance_sheet?query=${s}`,priority:"HIGH",reason:"Reports - Balance Sheet by Months (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/balance_sheet?query=${l}`,priority:"HIGH",reason:"Reports - Balance Sheet by Quarters (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/balance_sheet?query=${c}`,priority:"HIGH",reason:"Reports - Balance Sheet by Years (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/cash_flow?query=${d}`,priority:"HIGH",reason:"Reports - Cash Flow by Months (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/cash_flow?query=${u}`,priority:"HIGH",reason:"Reports - Cash Flow by Quarters (first load)",apiType:"reports"},{url:`${Ic}/accounting/2.0/reports/cash_flow?query=${p}`,priority:"HIGH",reason:"Reports - Cash Flow by Years (first load)",apiType:"reports"}]}const txs={dashboard:function(e){return[...jCt()]},reports:jCt,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})),i=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["quarters"],forecast_id:e.forecastId,is_forecast_vs_actual:!0})),r=encodeURIComponent(JSON.stringify({is_full_response:!0,time_series_groups:["years"],forecast_id:e.forecastId,is_forecast_vs_actual:!0}));return[{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${n}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Months (first load)",apiType:"forecast"},{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${i}`,priority:"HIGH",reason:"Forecast - Profit & Loss by Quarters (first load)",apiType:"forecast"},{url:`${Ic}/accounting/2.0/reports/profit_and_loss?query=${r}`,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:`${Ic}/banking/1.0/deposit-accounts?query=${n}`,priority:"HIGH",reason:"Checking - Deposit Accounts (first load)",apiType:"checking"},{url:`${Ic}/pay/1.0/payment-accounts`,priority:"HIGH",reason:"Checking - Payment Accounts (first load)",apiType:"checking"},{url:`${Ic}/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:`${Ic}/tenant/1.0/company-refer-reward-plan?query=${n}`,priority:"HIGH",reason:"Rewards Page - Rewards Plan (first load)",apiType:"rewards"},{url:`${Ic}/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:i}=e,r=encodeURIComponent(JSON.stringify({view:"passport"}));return[{url:`${Ic}/tenant/1.0/user-roles`,priority:"HIGH",reason:"People Page - User Roles (first load)",apiType:"people"},{url:`${Ic}/tenant/1.0/users?query=${n}`,priority:"HIGH",reason:"People Page - Users (first load)",apiType:"people"},{url:`${Ic}/accounting/1.0/classes`,priority:"HIGH",reason:"People Page - Classes (first load)",apiType:"people"},{url:`${Ic}/tenant/1.0/companies/${i}?query=${r}`,priority:"HIGH",reason:"People Page - Company Passport (first load)",apiType:"people"}]}};function $Ct(e){const{currentPage:n,isRewardsFeatureEnabled:i,isPeopleTabVisible:r,isReportsPageVisible:s,isPageIndependent:l=!1}=e,c=(0,txs[l?"dashboard":n])(e),d=c.filter((u=>i===!1&&u.reason.includes("Rewards")?(Ec(`[Prefetch Manager - Service Worker] ⚠️ Skipping rewards URL (feature disabled): ${u.url}`),!1):r===!1&&u.reason.includes("People")?(Ec(`[Prefetch Manager - Service Worker] ⚠️ Skipping people URL (feature disabled): ${u.url}`),!1):s!==!1||!u.reason.includes("Reports")||(Ec(`[Prefetch Manager - Service Worker] ⚠️ Skipping reports URL (feature disabled): ${u.url}`),!1)));return Ec(`[Prefetch Manager - Service Worker] 📋 Prefetch list: ${c.length} total, ${d.length} after filtering`),d}async function ECt(e,n=0,i){if("serviceWorker"in navigator)try{const r=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?(Ec("[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),s=navigator.serviceWorker.controller||r.active;if(!s)return void PD("[Prefetch Manager - Service Worker] No active Service Worker available");const l=(function(u){const p={HIGH:0,MEDIUM:1,LOW:2};return u.sort(((h,g)=>p[h.priority]-p[g.priority]))})(e);Ec("[Prefetch Manager - Service Worker] 📋 Sending prefetch list to SW:",{total:l.length,high:l.filter((u=>u.priority==="HIGH")).length,medium:l.filter((u=>u.priority==="MEDIUM")).length,low:l.filter((u=>u.priority==="LOW")).length,batchSize:n>0?n:"disabled",expirationTime:i??"20 minutes",viaController:!!navigator.serviceWorker.controller}),l.forEach(((u,p)=>{Ec(`[Prefetch Manager - Service Worker] ${p+1}. [${u.priority}] ${u.reason} - ${u.url}`),Ec(` URL: ${u.url}`)}));const c=$te(),d={"zeni-session-id":c.sessionId,"zeni-user-id":c.userId,"zeni-tenant-id":c.tenantId};s.postMessage({type:"PREFETCH_URLS",payload:{urls:l.map((u=>({url:u.url,priority:u.priority,apiType:u.apiType}))),authHeaders:d,batchSize:n,expirationTime:i}}),Ec("[Prefetch Manager - Service Worker] ✅ Prefetch request sent to Service Worker")}catch(r){PD("[Prefetch Manager - Service Worker] Failed to send prefetch request:",r instanceof Error?r.message:"Unknown error")}else PD("[Prefetch Manager - Service Worker] Service Worker not supported in this browser")}function nxs({children:e,currentPage:n,tenantId:i,batchCalls:r=0,expirationTime:s,delay:l=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=i2(),A=jr.getSignedInUser(),{useFeatureGate:k}=fs(),{isFeatureEnabled:$}=k(Wr.isReferralFeatureEnabled),j=$n(),E=Jy(j?.loggedInUserRole??[]),D=Qr((_=>h0(_))),{isFeatureEnabled:I}=k(Wr.isDebitCardFeatureEnabled),L=L9e(I,D),R=T9e(D),O=L===!1&&R===!1;return m.useEffect((()=>{if(!c||x||!A||!i)return;const _=$Ct({currentPage:n,userId:A.userId,tenantId:i,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:O,companyId:D?.companyId??"",isPageIndependent:g}),N=g?"dashboard":n;if(_.length===0)return void Ec(`[Prefetch Provider - ${N}${g?" (base)":""}] No URLs to prefetch`);Ec(`[Prefetch Provider - ${N}${g?" (base)":""}] 📦 Generated ${_.length} URLs to prefetch`);const T=setTimeout((()=>{ECt(_,r,s).catch((M=>{PD(`[Prefetch Provider - ${N}${g?" (base)":""}] Prefetch failed:`,M)})),y(!0)}),l);return()=>clearTimeout(T)}),[c,x,A,i,n,u,p,$,E,O,D?.companyId,g,r,s,l,v.pathname]),m.useEffect((()=>{y(!1)}),[i,v.pathname]),m.useEffect((()=>{g||(y(!1),w(!1))}),[v.pathname,g]),m.useEffect((()=>{if(C.current&&(C.current(),C.current=null),!(c&&d&&A&&i)||b)return;Ec(`[Prefetch Provider - Idle] 👀 Setting up idle prefetch detection (timeout: ${h}ms)`);const _=(function(N){const{timeout:T=2e3,onIdle:M}=N;Ec(`[Idle Detection - Service Worker] 👀 Starting Idle Detection - Service Worker (timeout: ${T}ms)`);const B=()=>{jO&&(Ec("[Idle Detection - Service Worker] 🏃 User became active again"),jO=!1),CE&&clearTimeout(CE),CE=setTimeout((()=>{jO||(Ec("[Idle Detection - Service Worker] ⏱️ Browser is now IDLE"),jO=!0,M())}),T)},V=["mousedown","mousemove","keypress","scroll","touchstart","click"];return V.forEach((H=>{document.addEventListener(H,B,!0)})),B(),()=>{Ec("[Idle Detection - Service Worker] 🛑 Stopping Idle Detection - Service Worker"),CE&&(clearTimeout(CE),CE=null),V.forEach((H=>{document.removeEventListener(H,B,!0)})),jO=!1}})({timeout:h,onIdle:()=>{if(b)return;Ec("[Prefetch Provider - Idle] ⏱️ Browser is idle, fetching prefetch list with isIdleCallEnabled=true");const N=$Ct({currentPage:n,userId:A.userId,tenantId:i,sessionId:A.zeniSessionId??"",features:u,forecastId:p,isRewardsFeatureEnabled:$,isPeopleTabVisible:E,isReportsPageVisible:O,companyId:D.companyId,isPageIndependent:g,isIdleCallEnabled:!0}),T=g?"dashboard":n;N.length!==0?(Ec(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] 📦 Generated ${N.length} URLs to prefetch on idle`),ECt(N,r,s).catch((M=>{PD(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] Idle prefetch failed:`,M)})),w(!0)):Ec(`[Prefetch Provider - Idle - ${T}${g?" (base)":""}] No URLs to prefetch on idle`)}});return C.current=_,()=>{C.current&&(C.current(),C.current=null)}}),[c,d,h,A,i,b,n,u,p,$,E,O,D.companyId,g,r,s]),m.useEffect((()=>{w(!1)}),[i]),m.useEffect((()=>{(function(){const _=performance.getEntriesByType("navigation");if(_.length>0)return _[0].type==="reload";const N=performance.navigation;return!(!N||typeof N.type!="number")&&N.type===1})()&&f&&(Ec("[Prefetch Provider] 🔄 Page refresh detected - will bypass cache for fresh data"),(async function(){if("serviceWorker"in navigator)try{const _=await navigator.serviceWorker.ready,N=navigator.serviceWorker.controller||_.active;if(!N)return;Ec("[Prefetch Provider] 🔄 Page refresh detected, notifying service worker to bypass cache"),N.postMessage({type:"PAGE_REFRESH",payload:{timestamp:Date.now()}})}catch(_){PD("[Prefetch Provider] Failed to notify service worker of refresh:",_)}})())}),[]),Kt.jsx(Kt.Fragment,{children:e})}function ixs({children:e,isPageIndependent:n=!1,batchCalls:i=0,enableIdlePrefetch:r=!1,expirationTime:s,idleTimeout:l=2e3,isRefreshTriggerEnabled:c=!1}){const d=i2(),u=Qr((y=>h0(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}=fs(),{isFeatureEnabled:x}=f(Wr.isServiceWorkerPrefetchingEnabled);return g&&p?Kt.jsx(nxs,{currentPage:p,tenantId:g,delay:5e3,enabled:x,batchCalls:i,enableIdlePrefetch:r,expirationTime:s,idleTimeout:l,isRefreshTriggerEnabled:c,isPageIndependent:n,children:e}):Kt.jsx(Kt.Fragment,{children:e})}function oxs(e,n){const i=Mi.extractUtmParamsFromUrl(n),r=new URLSearchParams(i).toString();if(!r)return e;const s=e.includes("?")?"&":"?";return`${e}${s}${r}`}const rxs=$0((()=>Bd((()=>import("./DefaultTenantHome-D-W0Zz4M.js")),__vite__mapDeps([4,1,2,0,5,6,7,8])))),axs=$0((()=>Bd((()=>import("./AppDrawer-DSVPC8lI.js")),__vite__mapDeps([9,1,2,0,5,10,11,12,7,8])))),ICt=$0((()=>Bd((()=>import("./ScreenRoutes-B3BB7J7C.js").then((e=>e.S))),__vite__mapDeps([13,0,1,2,5,14,6])))),sxs=$0((()=>Bd((()=>import("./ConnectionAuthScreen-Blj9jq6T.js")),__vite__mapDeps([15,1,2,0,5,16,17,10,11,18,8,19,20,21,22,23,24,6,7])))),lxs=$0((()=>Bd((()=>import("./SignInScreen-OWr7JYT3.js")),__vite__mapDeps([25,1,2,0,5,26,14,6,7,8])))),cxs=$0((()=>Bd((()=>import("./MagicLinkSignInScreen-D1iOO-WG.js")),__vite__mapDeps([27,1,2,0,5,26,14,6,7,8])))),DCt=$0((()=>Bd((()=>import("./NotFoundScreen-C2zJ8cfI.js")),__vite__mapDeps([28,1,2,0,5,7,8])))),dxs=$0((()=>Bd((()=>import("./MagicLinkRoutes-DtuMD64g.js")),__vite__mapDeps([29,1,2,0,5,28,7,8])))),uxs=$0((()=>Bd((()=>import("./PaymentLinkScreen-D2dPHaXS.js")),__vite__mapDeps([30,1,2,0,5,7,8])))),pxs=$0((()=>Bd((()=>import("./WiseConfirmationScreen-sNuIZv12.js")),__vite__mapDeps([31,1,2,0,5,7,8])))),hxs=$0((()=>Bd((()=>import("./HubSpotOAuthCallbackScreen-DMdvKmda.js")),__vite__mapDeps([32,1,2,0,5,7,8])))),mxs=$0((()=>Bd((()=>import("./CustomerOnboardingAuthScreen-D31qgEEW.js")),__vite__mapDeps([33,1,2,0,18,8,19,20,21,22,5,23,7])))),gxs=$0((()=>Bd((()=>import("./SignOutScreen-DWK7qHmn.js")),__vite__mapDeps([34,1,2,0,5,7,8])))),fxs=$0((()=>Bd((()=>import("./OAuthConsentScreen-C0AQQOfP.js")),__vite__mapDeps([35,1,2,0,5,7,8])))),xxs=()=>{const e=i2(),n=new URLSearchParams(e.search),i=n.get("question"),r=i?.replace(/^["']|["']$/g,"")??null,s=n.get("should_submit")==="true",l=oxs("/",n);return Kt.jsx(qCt,{to:l,replace:!0,state:{origin:"/aicfo",message:"",queryParams:{aiCfoQuestion:r,aiCfoShouldSubmit:s?"true":"false"}}})};function yxs(){const{isOpen:e}=fk(),n=n0i(),{isAiCfoOpen:i,setIsAiCfoOpen:r}=Ake(),s=m.useRef(!1),l=m.useRef(i),c=m.useRef(!1);return m.useLayoutEffect((()=>{const d=i&&!l.current;l.current=i,d&&e&&(r(!1),n(),c.current=!0)}),[i,e,r,n]),m.useEffect((()=>{e&&!s.current&&(c.current=!1,i&&r(!1)),s.current=e}),[e,i,r]),m.useEffect((()=>{!e&&c.current&&(c.current=!1,r(!0))}),[e,r]),null}const bxs=({tenantEmailDomain:e,setTenantEmailDomain:n})=>{const i=jr.isSignedIn(),r=Qr((T=>h0(T))),s=jr.getSignedInUser(),l=i&&bN(s),c=Qr((T=>Dln(T))).tenantsBaseInOrder.map((T=>({companyId:T.companyId,tenantId:T.tenantId,companyName:T.companyName}))),d={userId:s?.userId??"",sessionId:s?.zeniSessionId??"",tenantId:r.tenantId??""},u=Gp(),p=ou(["/:tenantEmailDomain/dashboard/*","/:tenantEmailDomain/dashboard"]),h=fon(),g=Tke(),[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}=fs(),{isFeatureEnabled:v}=C(Wr.isAiCfoFileUploadEnabled),{isFeatureEnabled:A}=C(Wr.isBillPayCommentingEnabled),{isFeatureEnabled:k}=C(Wr.isReimbursementCommentingEnabled),{isFeatureEnabled:$}=C(Wr.isExpenseAutomationEnabled),{isFeatureEnabled:j}=C(Wr.isExpenseAutomationEnabledV2),{isFeatureEnabled:E}=C(Wr.isTreasuryCommentingEnabled),{isFeatureEnabled:D}=C(Wr.isCheckingCommentingEnabled),{isFeatureEnabled:I}=C(Wr.isTransactionCommentingEnabled),{isFeatureEnabled:L}=C(Wr.isCardsCommentingEnabled),R=A||k||l&&$||!l&&j||E||D||I||L;m.useEffect((()=>{!h&&f&&x(!1)}),[h,f]),m.useEffect((()=>{h||u(Tln())}),[u,h]);const O=i2().pathname.includes("/collect-payment/"),_=Kt.jsx(wxs,{setTenantEmailDomain:n,isOnDashboard:p,userHasZeniAiCfoAccess:g,isAiCfoFileUploadEnabled:v});if(O)return Kt.jsx(fYe,{children:Kt.jsx(Wft,{children:Kt.jsx(b9e.Provider,{value:w,children:_})})});const N=Kt.jsxs(b9e.Provider,{value:w,children:[Kt.jsx(yxs,{}),Kt.jsxs(Axs,{children:[Kt.jsx(axs,{tenantEmailDomain:e}),Kt.jsx(Cxs,{children:_})]})]});return Kt.jsx(fYe,{children:r.tenantId!=null?Kt.jsx(P2a,{roomId:`dashboard_${r.companyId}`,authParams:d,users:[],companies:c,authUrlEndPoint:`${x8.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!0,commentingUsersUrlEndPoint:`${x8.tenantMicroServiceBaseUrl}/1.0/users/commenting-users`,isZeniUser:l,autoConnect:l||I||L,loggedInUser:s,withRoomProvider:!0,withThreadsProvider:R,threadsIndexStrategy:"roomThreads",filter:{application:"dashboard",companyId:r.companyId},children:N},r.tenantId):Kt.jsx(Wft,{children:N})})},wxs=({setTenantEmailDomain:e,isOnDashboard:n,userHasZeniAiCfoAccess:i,isAiCfoFileUploadEnabled:r})=>{const s=Qr((x=>x.tenantState.loggedInUser)),{useDynamicConfig:l}=fs(),{configValue:c}=l(_7.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}=jke(),{isAiCfoOpen:g,setIsAiCfoOpen:f}=Ake();return m.useEffect((()=>{h(yon.APP_INITIALIZATION)}),[h]),Kt.jsx(m.Suspense,{fallback:null,children:Kt.jsx(ixs,{isPageIndependent:!0,batchCalls:d,isRefreshTriggerEnabled:!1,enableIdlePrefetch:!1,idleTimeout:u,expirationTime:p,children:Kt.jsxs(brn,{children:[Kt.jsx(sp,{path:"/magic_links/*",element:Kt.jsx(dxs,{})}),Kt.jsx(sp,{path:"/collect-payment/:namespace/:token",element:Kt.jsx(uxs,{})}),Kt.jsx(sp,{path:"/wise/callback/link-account/*",element:Kt.jsx(pxs,{})}),Kt.jsx(sp,{path:"/page-not-found",element:Kt.jsx(DCt,{})}),Kt.jsx(sp,{path:"/",element:Kt.jsx(rxs,{})}),Kt.jsx(sp,{path:"/aicfo",element:Kt.jsx(xxs,{})}),Kt.jsx(sp,{path:"/onboarding/auth",element:Kt.jsx(mxs,{})}),Kt.jsx(sp,{path:"/:tenantEmailDomain/*",element:Kt.jsx(kxs,{children:Kt.jsxs(g5s,{children:[Kt.jsxs(jxs,{children:[s!=null?Kt.jsx(Z5s,{}):null,n?Kt.jsx(ICt,{setTenantEmailDomain:e}):Kt.jsx(z4e,{children:Kt.jsx(ICt,{setTenantEmailDomain:e})})]}),i?Kt.jsxs(Kt.Fragment,{children:[Kt.jsx(Y4s,{}),Kt.jsx($xs,{isOpen:g,children:Kt.jsx(_5s,{isOpen:g,onClose:()=>f(!1),isFileUploadEnabled:r})})]}):null]})})}),Kt.jsx(sp,{path:"/signin/auth",element:Kt.jsx(z4e,{children:Kt.jsx(lxs,{setTenantEmailDomain:e})})}),Kt.jsx(sp,{path:"/signin/magic-link",element:Kt.jsx(z4e,{children:Kt.jsx(cxs,{})})}),Kt.jsx(sp,{path:"/signout",element:Kt.jsx(gxs,{})}),Kt.jsx(sp,{path:"/connection/auth",element:Kt.jsx(sxs,{})}),Kt.jsx(sp,{path:"/oauth/hubspot/callback",element:Kt.jsx(hxs,{})}),Kt.jsx(sp,{path:"/oauth/authorize",element:Kt.jsx(fxs,{})}),Kt.jsx(sp,{path:"*",element:Kt.jsx(DCt,{})})]})})})},Cxs=({children:e})=>{const{isOpen:n,width:i}=fk();return Kt.jsx(Sxs,{commentsDrawerWidth:n?i:0,children:e})},vxs=pi("div")`
90030
90030
  display:flex;
90031
90031
  `,Axs=pi("div")`
90032
90032
  display: flex;