import{_ as f}from"./Navbar.vue_vue_type_script_setup_true_lang.e7faa922.js";import{a as p}from"./api.f1e7b757.js";import{a as _}from"./asyncComputed.35cc7f64.js";import{W as y}from"./WidgetsFrame.2ba1aca7.js";import{d as b,eB as g,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.dbd82eb7.js";import"./index.8290c50d.js";import"./pubsub.56ebc718.js";import"./Text.2567a5bf.js";import"./Base.9ecb2d1e.js";import"./index.4a72e789.js";import"./Link.dc03c6cd.js";import"./Paragraph.1b3bd714.js";import"./Title.8245238f.js";import"./index.b8f03c84.js";import"./runnerData.48f35186.js";import"./url.1be4a3aa.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]="e869f9a6-c998-4969-a269-b9e62bf62ecb",o._sentryDebugIdIdentifier="sentry-dbid-e869f9a6-c998-4969-a269-b9e62bf62ecb")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=b({__name:"Error",setup(o){const r=g(),{result:e}=_(p),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(f,{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.9d17980f.js.map
