import{_ as p}from"./Navbar.vue_vue_type_script_setup_true_lang.8b8e2532.js";import{g as f}from"./api.6d12ed41.js";import{a as _}from"./asyncComputed.a6744f4b.js";import{W as y}from"./WidgetsFrame.e9aaef6e.js";import{d as g,eB as b,b as n,ev as h,e as a,u as t,c as l,w as v,ex as u,eD as d,v as w}from"./outputWidgets.6c92e954.js";import"./index.2de4261b.js";import"./pubsub.e3166cf5.js";import"./Text.42d18ad1.js";import"./Base.1c8cd5a1.js";import"./Typography.ddb46fbe.js";import"./index.eda2f51f.js";import"./Link.0d700775.js";import"./Paragraph.09928799.js";import"./Title.1b72d44e.js";import"./index.da275d63.js";import"./ArrowRightOutlined.08fa31dd.js";import"./runnerData.16fc15f1.js";import"./url.3097d400.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]="0aa4bf79-4789-46c9-95c4-8738309ce386",o._sentryDebugIdIdentifier="sentry-dbid-0aa4bf79-4789-46c9-95c4-8738309ce386")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=g({__name:"Error",setup(o){const r=b(),{result:e}=_(f),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,B)=>(n(),h("div",null,[a("div",k,[t(e)?(n(),l(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var i,m;return[t(e)?(n(),l(p,{key:0,"brand-name":((i=t(e))==null?void 0:i.brandName)||((m=t(e))==null?void 0:m.name),"logo-url":t(e).logoUrl},null,8,["brand-name","logo-url"])):u("",!0),a("div",I,[a("h1",null,d(c().status),1),a("p",null,d(c().message),1)])]}),_:1},8,["main-color","theme","font-family"])):u("",!0)])]))}});const D=w(x,[["__scopeId","data-v-befb94cf"]]);export{D as default};
//# sourceMappingURL=Error.1ba52606.js.map
