import{_ as f}from"./Navbar.vue_vue_type_script_setup_true_lang.00daffe6.js";import{g as p}from"./api.787503df.js";import{a as _}from"./asyncComputed.37b7af98.js";import{W as y}from"./WidgetsFrame.53b7430c.js";import{d as b,eB as g,b as n,eu as h,e as a,u as t,c as m,w,ew as l,eE as u,v}from"./outputWidgets.e9677800.js";import"./index.3c41cd1a.js";import"./pubsub.9e36d89a.js";import"./index.c478ec95.js";import"./ArrowRightOutlined.08fa31dd.js";import"./Base.64d54b8f.js";import"./Typography.511f4fec.js";import"./Text.fd9e90fd.js";import"./runnerData.11ae4383.js";import"./url.89c6b244.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new B().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="b6d9d521-b621-4104-8b7d-fd6a218e9c08",o._sentryDebugIdIdentifier="sentry-dbid-b6d9d521-b621-4104-8b7d-fd6a218e9c08")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=b({__name:"Error",setup(o){const r=g(),{result:e}=_(p),c=()=>{const{status:s}=r.params;switch(s){case"404":return{status:s,message:"Page not found."};case"403":return{status:s,message:"Access denied. Please contact your administrator."};default:return{status:"500",message:"An unknown error ocurred. Please try again or contact support."}}};return(s,C)=>(n(),h("div",null,[a("div",k,[t(e)?(n(),m(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:w(()=>{var d,i;return[t(e)?(n(),m(f,{key:0,"brand-name":((d=t(e))==null?void 0:d.brandName)||((i=t(e))==null?void 0:i.name),"logo-url":t(e).logoUrl},null,8,["brand-name","logo-url"])):l("",!0),a("div",I,[a("h1",null,u(c().status),1),a("p",null,u(c().message),1)])]}),_:1},8,["main-color","theme","font-family"])):l("",!0)])]))}});const B=v(x,[["__scopeId","data-v-befb94cf"]]);export{B as default};
//# sourceMappingURL=Error.935356b3.js.map
