import{d as C,bF as S,z as k,G as w,bG as y,f as P,bH as L,q as n,o as r,l as a,i as $,s as u,j as i,a4 as N,bI as I,$ as F,a0 as H,k as t,bJ as T,C as V,bK as x,m as z}from"./D3yeoG_9.js";import{_ as A}from"./By3nA3KB.js";const G=C({__name:"error-layout",props:{showFooter:{type:Boolean},showLogin:{type:Boolean},isAuth:{type:Boolean},brand:{},showCustomerService:{type:Boolean},customerServiceProps:{},logoLink:{},variant:{}},emits:["login","logout"],setup(m){const e=m,c=S(),{t:l}=k(),{phoneNumber:d}=w(),p=y({brand:e.brand,phoneNumber:d.value,t:l,isBusinessHour:e.customerServiceProps?.isBusinessHour??!1}),_=P(()=>({...p,...e.customerServiceProps})),v=e.brand?L(e.brand):[];return(o,s)=>{const b=I,g=T,h=x,f=A;return r(),n(f,{"brand-code":t(c),class:"layout-error"},{default:a(()=>[$("div",null,[i(g,{"is-auth":e.isAuth,"menu-items":t(v),"show-login":e.showLogin,"logo-link":e.logoLink,onLogin:s[0]||(s[0]=B=>o.$emit("login")),onLogout:s[1]||(s[1]=B=>o.$emit("logout"))},N({_:2},[o.showCustomerService?{name:"service",fn:a(()=>[i(b,F(H(t(_))),null,16)]),key:"0"}:void 0]),1032,["is-auth","menu-items","show-login","logo-link"]),u(o.$slots,"default",{},void 0,!0)]),u(o.$slots,"footer",{},()=>[o.showFooter?(r(),n(h,{key:0})):V("",!0)],!0)]),_:3},8,["brand-code"])}}}),D=z(G,[["__scopeId","data-v-4ab2d3bc"]]);export{D as default}; //# sourceMappingURL=DlfdgwPX.js.map