import{_ as p}from"./Navbar.vue_vue_type_script_setup_true_lang.9ef9f6c1.js";import{g as f}from"./api.7d950ad9.js";import{a as _}from"./asyncComputed.3431552f.js";import{W as b}from"./WidgetsFrame.4d8b5d5e.js";import{d as y,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.1d9bc483.js";import"./index.9f2d3185.js";import"./pubsub.1ce944f4.js";import"./Text.dd7d318a.js";import"./Base.1fa74c0b.js";import"./Typography.a8278e90.js";import"./index.5e545546.js";import"./Link.3ce52ad1.js";import"./Paragraph.fe3e888e.js";import"./Title.e5c6db47.js";import"./index.45dc5101.js";import"./ArrowRightOutlined.08fa31dd.js";import"./runnerData.c29d5b4a.js";import"./url.d3539301.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]="6b1079d6-cc05-42a8-8306-5fa0b6db0be7",o._sentryDebugIdIdentifier="sentry-dbid-6b1079d6-cc05-42a8-8306-5fa0b6db0be7")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=y({__name:"Error",setup(o){const r=g(),{result:e}=_(f),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(b,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var c,m;return[t(e)?(n(),d(p,{key:0,"brand-name":((c=t(e))==null?void 0:c.brandName)||((m=t(e))==null?void 0:m.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.9393101a.js.map
