1import{k as _,ac as f,a9 as h,l as k,w as n,ad as g,o as i,a as c,d as t,t as b,v as o,c as v,x as y,b as w,P as A,F as u,_ as C}from"./DewhrteW.js";const x={class:"error-copy"},V=["data-error"],B=_({__name:"error",setup(N){const l=f(),{signIn:p}=h(),r=u(()=>l.query.error),s=u(()=>{let a="An unknown error has occurred.",e=r.value;switch(r.value){case"AccessDenied":a="You do not have access to this application.";break;case"MonitorUser":a="Monitor accounts cannot sign in to the web application. Please use the mobile app or API.";break;case"Configuration":a="There is a problem with the server configuration.";break;case"EmailSignin":case"Verification":a="The token has expired or has already been used.";break;default:e="Unknown"}return{message:a,error:r.value,type:e}});return(a,e)=>{const d=A,m=g("AuthAuthCard");return i(),k(m,{eyebrow:"Sign-in interrupted",title:"We hit a snag"},{default:n(()=>[c("p",x,[t(b(o(s).message)+" ",1),o(s).type!=="Verification"?(i(),v("span",{key:0,"data-error":o(s).error},[...e[1]||(e[1]=[t(" Please reach out at ",-1),c("a",{href:"mailto:[email protected]"},"[email protected]",-1),t(" for assistance. ",-1)])],8,V)):y("",!0)]),w(d,{onClick:e[0]||(e[0]=()=>o(p)())},{default:n(()=>[...e[2]||(e[2]=[t(" Try again ",-1)])]),_:1})]),_:1})}}}),T=C(B,[["__scopeId","data-v-80c4e8ae"]]);export{T as default};
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.