import{_ as f}from"./Navbar.vue_vue_type_script_setup_true_lang.105cb1c8.js";import{a as p}from"./api.751039da.js";import{a as _}from"./asyncComputed.223cd718.js";import{W as y}from"./WidgetsFrame.3b8d9223.js";import{d as g,eB as b,b as n,ev as h,e as a,u as t,c as m,w as v,ex as l,eD as u,v as w}from"./outputWidgets.65314838.js";import"./index.e5677374.js";import"./pubsub.07a23b99.js";import"./Text.171782d7.js";import"./Base.c866b7a3.js";import"./index.e097d797.js";import"./Link.85f863b0.js";import"./Paragraph.8de48e53.js";import"./Title.465916fc.js";import"./index.a2971980.js";import"./runnerData.7e3dae75.js";import"./url.209588c6.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]="77780c82-d70c-4f21-a017-ad16afd3d6ee",o._sentryDebugIdIdentifier="sentry-dbid-77780c82-d70c-4f21-a017-ad16afd3d6ee")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=g({__name:"Error",setup(o){const r=b(),{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(),m(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var i,d;return[t(e)?(n(),m(f,{key:0,"brand-name":((i=t(e))==null?void 0:i.brandName)||((d=t(e))==null?void 0:d.name),"logo-url":t(e).logoUrl},null,8,["brand-name","logo-url"])):l("",!0),a("div",I,[a("h1",null,u(c().status),1),a("p",null,u(c().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.b0008019.js.map
