import{_ as f}from"./Navbar.vue_vue_type_script_setup_true_lang.70c1e779.js";import{g as p}from"./api.423dcc38.js";import{a as _}from"./asyncComputed.53ec0023.js";import{W as y}from"./WidgetsFrame.5fe742dc.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.c849273f.js";import"./index.ba6972e5.js";import"./pubsub.4b8cd066.js";import"./Text.4e6778b2.js";import"./Base.f58dc0d7.js";import"./Typography.69f3ca41.js";import"./index.2acee326.js";import"./Link.033fb53b.js";import"./Paragraph.9b9c9580.js";import"./Title.c7ac8182.js";import"./index.d8f3b2c5.js";import"./runnerData.d1133baa.js";import"./url.acb8fdc2.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]="f6ad64bf-687a-41b5-8358-c722bf311a50",o._sentryDebugIdIdentifier="sentry-dbid-f6ad64bf-687a-41b5-8358-c722bf311a50")}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 c,m;return[t(e)?(n(),d(f,{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.07f54b02.js.map
