1import{C as e,I as t,N as n,k as r,t as i}from"./jsx-runtime-BKHn-iCA.js";import{n as a,t as o}from"./Box-Bq47Rm6t.js";import{t as s}from"./Container-CpfZoehj.js";import{t as c}from"./createSvgIcon-DRaEMdoT.js";import{t as l}from"./Button-CK4YYC9z.js";import{t as u}from"./Paper-BvwhYggy.js";import{t as d}from"./ErrorOutline-Cshrl6cU.js";t();var f=i(),p=c((0,f.jsx)(`path`,{d:`M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z`}),`Home`),m=c((0,f.jsx)(`path`,{d:`M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z`}),`Refresh`),h={en:{TITLE:`Oops! Something went wrong`,MESSAGE:`We're sorry for the inconvenience. An unexpected error occurred while processing your request.`,GO_TO_HOME:`Go to Home`,RELOAD_PAGE:`Reload Page`,CONTACT_SUPPORT:`If this problem persists, please contact support.`,CHECK_STATUS:`SoundStack & Live365 Status Dashboard`,NOT_FOUND_TITLE:`Page Not Found`,NOT_FOUND_MESSAGE:`Oops! Looks like you tried to visit a page that does not exist.`,UNAUTHORIZED_TITLE:`Unauthorized`,UNAUTHORIZED_MESSAGE:`Oops! Looks like you tried to visit a page that you do not have access to.`},es:{TITLE:`¡Ups! Algo salió mal`,MESSAGE:`Lamentamos las molestias. Ocurrió un error inesperado al procesar su solicitud.`,GO_TO_HOME:`Ir al inicio`,RELOAD_PAGE:`Recargar página`,CONTACT_SUPPORT:`Si este problema persiste, por favor contacte a soporte.`,CHECK_STATUS:`Panel de estado de SoundStack y Live365`,NOT_FOUND_TITLE:`Página no encontrada`,NOT_FOUND_MESSAGE:`¡Ups! Parece que intentaste visitar una página que no existe.`,UNAUTHORIZED_TITLE:`No autorizado`,UNAUTHORIZED_MESSAGE:`¡Ups! Parece que intentaste visitar una página a la que no tienes acceso.`}};function g(){let t=n(),i=h[r().pathname.startsWith(`/es`)?`es`:`en`],c=i.TITLE,g=i.MESSAGE;return e(t)?t.status===404?(c=i.NOT_FOUND_TITLE,g=i.NOT_FOUND_MESSAGE):t.status===401?(c=i.UNAUTHORIZED_TITLE,g=i.UNAUTHORIZED_MESSAGE):(c=`${t.status}: ${t.statusText}`,g=typeof t.data==`string`?t.data:g):t instanceof Error,(0,f.jsx)(o,{component:`main`,sx:{minHeight:`100vh`,display:`flex`,alignItems:`center`,justifyContent:`center`,bgcolor:`grey.100`,p:2},children:(0,f.jsx)(s,{maxWidth:`sm`,children:(0,f.jsxs)(u,{elevation:3,sx:{p:4,display:`flex`,flexDirection:`column`,alignItems:`center`,textAlign:`center`,borderRadius:2},children:[(0,f.jsx)(d,{color:`error`,sx:{fontSize:64,mb:2,opacity:.8}}),(0,f.jsx)(a,{variant:`h4`,component:`h1`,gutterBottom:!0,fontWeight:`bold`,children:c}),(0,f.jsx)(a,{variant:`body1`,color:`text.secondary`,paragraph:!0,sx:{mb:4},children:g}),(0,f.jsxs)(o,{sx:{display:`flex`,gap:2,flexWrap:`wrap`,justifyContent:`center`,mb:4},children:[(0,f.jsx)(l,{variant:`contained`,startIcon:(0,f.jsx)(p,{}),onClick:()=>{window.location.href=`/`},size:`large`,children:i.GO_TO_HOME}),(0,f.jsx)(l,{variant:`outlined`,startIcon:(0,f.jsx)(m,{}),onClick:()=>{window.location.reload()},size:`large`,children:i.RELOAD_PAGE})]}),(0,f.jsx)(a,{variant:`caption`,color:`text.disabled`,display:`block`,children:i.CONTACT_SUPPORT}),(0,f.jsx)(l,{href:`https://status.live365.com/`,target:`_blank`,rel:`noopener noreferrer`,variant:`text`,size:`small`,sx:{mt:1,textTransform:`none`},children:i.CHECK_STATUS}),!1]})})})}export{g as t};
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.