import{_ as f}from"./Navbar.vue_vue_type_script_setup_true_lang.3fc875da.js";import{g as p}from"./api.23f13796.js";import{a as _}from"./asyncComputed.31721c4c.js";import{W as y}from"./WidgetsFrame.0d474e9c.js";import{d as b,eB as g,b as n,ev as h,e as a,u as t,c as d,w as v,ex as l,eD as u,v as w}from"./outputWidgets.3b5544a6.js";import"./index.a4a25f88.js";import"./pubsub.3378c421.js";import"./Text.4f034af0.js";import"./Base.ed5c11ff.js";import"./Typography.c58b2a2b.js";import"./index.538e88f3.js";import"./Link.48d1c15c.js";import"./Paragraph.52c6b305.js";import"./Title.0af7b814.js";import"./index.2f5e8d55.js";import"./ArrowRightOutlined.08fa31dd.js";import"./runnerData.9bb742cb.js";import"./url.ddec584d.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]="23f4089a-f05b-49d8-91ad-af6b08eeb051",o._sentryDebugIdIdentifier="sentry-dbid-23f4089a-f05b-49d8-91ad-af6b08eeb051")}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(),d(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var m,c;return[t(e)?(n(),d(f,{key:0,"brand-name":((m=t(e))==null?void 0:m.brandName)||((c=t(e))==null?void 0:c.name),"logo-url":t(e).logoUrl},null,8,["brand-name","logo-url"])):l("",!0),a("div",I,[a("h1",null,u(i().status),1),a("p",null,u(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.513be595.js.map
