import{_ as u}from"./Navbar.vue_vue_type_script_setup_true_lang.020f37f2.js";import{g as p}from"./api.55619793.js";import{a as _}from"./asyncComputed.8e0b1df8.js";import{W as y}from"./WidgetsFrame.2f980296.js";import{d as b,eB as g,b as n,ev as h,e as a,u as t,c,w as v,ex as l,eD as f,v as w}from"./outputWidgets.59990c05.js";import"./index.d0984c8b.js";import"./pubsub.581fae3d.js";import"./Text.f3fc4f5d.js";import"./Base.98c977f1.js";import"./Typography.164def35.js";import"./index.fa3d114e.js";import"./Link.010d33fe.js";import"./Paragraph.e3acb63e.js";import"./Title.27bf4527.js";import"./index.47de3f6a.js";import"./runnerData.fd965c02.js";import"./url.2d4b3ba8.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new D().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="af1f1372-b22f-45d8-a0e2-ddf9d5a4bb69",o._sentryDebugIdIdentifier="sentry-dbid-af1f1372-b22f-45d8-a0e2-ddf9d5a4bb69")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=b({__name:"Error",setup(o){const r=g(),{result:e}=_(p),i=()=>{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,B)=>(n(),h("div",null,[a("div",k,[t(e)?(n(),c(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var m,d;return[t(e)?(n(),c(u,{key:0,"brand-name":((m=t(e))==null?void 0:m.brandName)||((d=t(e))==null?void 0:d.name),"logo-url":t(e).logoUrl},null,8,["brand-name","logo-url"])):l("",!0),a("div",I,[a("h1",null,f(i().status),1),a("p",null,f(i().message),1)])]}),_:1},8,["main-color","theme","font-family"])):l("",!0)])]))}});const D=w(x,[["__scopeId","data-v-befb94cf"]]);export{D as default};
//# sourceMappingURL=Error.95eee053.js.map
