1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5954],{75954:(e,r,t)=>{t.r(r),t.d(r,{DetectViteDevServerStopped:()=>u,DevServerStoppedErrorScreen:()=>v});var o=t(95155),s=t(45054),n=t(3818),i=t(12115);let c="Dev server stopped";class l extends Error{constructor(){super(c),this.name="ViteDevServerStoppedError",this.ViteDevServerStoppedError=!0}}let d=void 0,p=e=>!!e,a=()=>{let e,r,t,o;let n=(0,s.c)(5),[c,l]=(0,i.useState)(!1);n[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>l(!0),n[0]=e):e=n[0];let a=e;return n[1]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{p(d)&&d.on("vite:ws:disconnect",a)},t=[a],n[1]=r,n[2]=t):(r=n[1],t=n[2]),(0,i.useEffect)(r,t),n[3]!==c?(o={devServerStopped:c},n[3]=c,n[4]=o):o=n[4],o},h=()=>{let{devServerStopped:e}=a();if(e)throw new l;return null},u=()=>p(d)?(0,o.jsx)(h,{}):null,v=()=>(0,o.jsx)(n.Zp,{height:"fill",overflow:"auto",paddingY:[4,5,6,7],paddingX:4,sizing:"border",tone:"critical",children:(0,o.jsx)(n.mc,{width:3,children:(0,o.jsxs)(n.BJ,{space:4,children:[(0,o.jsx)(n.DZ,{children:c}),(0,o.jsx)(n.Zp,{border:!0,radius:2,overflow:"auto",padding:4,tone:"inherit",children:(0,o.jsx)(n.BJ,{space:4,children:(0,o.jsx)(n.EY,{size:2,children:"The development server has stopped. You may need to restart it to continue working."})})})]})})})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.