(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34219],{20508:(e,n,t)=>{Promise.resolve().then(t.bind(t,96135))},96135:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var o=t(80534),r=t(74166);function i(e){var n,t;return!!("ChunkLoadError"===e.name||(null==(n=e.message)?void 0:n.includes("Loading chunk"))||(null==(t=e.message)?void 0:t.includes("Loading CSS chunk")))}function a(e){let{error:n,reset:t}=e;return(0,r.useEffect)(()=>{if(i(n)){let e="__chunk_reload";if(!sessionStorage.getItem(e)){sessionStorage.setItem(e,"1"),window.location.reload();return}sessionStorage.removeItem(e)}},[n]),(0,o.jsx)("html",{lang:"en",children:(0,o.jsx)("body",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100vh",fontFamily:"Inter, system-ui, sans-serif",background:"#0a0a0a",color:"#e5e5e5"},children:(0,o.jsxs)("div",{style:{textAlign:"center",maxWidth:420,padding:24},children:[(0,o.jsx)("h2",{style:{fontSize:20,fontWeight:600,marginBottom:8},children:i(n)?"A new version is available":"Something went wrong"}),(0,o.jsx)("p",{style:{fontSize:14,color:"#a3a3a3",marginBottom:20},children:i(n)?"The app was updated while you had it open. Reload to get the latest version.":"An unexpected error occurred. Try reloading the page."}),(0,o.jsx)("button",{onClick:()=>window.location.reload(),style:{padding:"8px 20px",borderRadius:6,border:"1px solid #333",background:"#1a1a1a",color:"#e5e5e5",cursor:"pointer",fontSize:14},children:"Reload"})]})})})}}},e=>{e.O(0,[21705,98522,77358],()=>e(e.s=20508)),_N_E=e.O()}]);