import{K as v,m as g,j as m,k as s,C as r,l,w as n,q as u,t as c,_ as f,Z as k}from"./BCLrUOBx.js";const y={name:"AccountLayout",data(){return{}},mixins:[],watch:{},props:{activeRoute:{type:String}},computed:{},mounted(){},methods:{goingNext(t){const e=t.split("/");this.$emit(`clicked-${e[e.length-1]}`)}}},_={class:"container-fluid mtb-20 mtb-sm-15"},w={class:"order-wrapper"},N={class:"left-sidebar"},C={class:"right-area grow pos-rel"};function x(t,e,o,L,R,i){const a=f;return m(),g("div",_,[s("div",w,[s("ul",N,[s("li",{class:r({active:o.activeRoute==="profile"})},[l(a,{to:"/user/profile",onClick:e[0]||(e[0]=d=>i.goingNext("/user/profile"))},{default:n(()=>[u(c(t.$t("accountLayout.myProfile")),1)]),_:1})],2),s("li",{class:r({active:o.activeRoute==="addresses"})},[l(a,{to:"/user/addresses",onClick:e[1]||(e[1]=d=>i.goingNext("/user/addresses"))},{default:n(()=>[u(c(t.$t("accountLayout.myAddressBook")),1)]),_:1})],2),s("li",{class:r({active:o.activeRoute==="vouchers"})},[l(a,{to:"/user/vouchers",onClick:e[2]||(e[2]=d=>i.goingNext("/user/vouchers"))},{default:n(()=>[u(c(t.$t("accountLayout.vouchers")),1)]),_:1})],2),s("li",{class:r({active:o.activeRoute==="orders"})},[l(a,{to:"/user/orders",onClick:e[3]||(e[3]=d=>i.goingNext("/user/orders"))},{default:n(()=>[u(c(t.$t("accountLayout.myOrders")),1)]),_:1})],2),s("li",{class:r({active:o.activeRoute==="following"})},[l(a,{to:"/user/following",onClick:e[4]||(e[4]=d=>i.goingNext("/user/following"))},{default:n(()=>[u(c(t.$t("store.followingStores")),1)]),_:1})],2),s("li",{class:r({active:o.activeRoute==="wishlists"})},[l(a,{to:"/user/wishlists",onClick:e[5]||(e[5]=d=>i.goingNext("/user/wishlists"))},{default:n(()=>[u(c(t.$t("accountLayout.myWishlist")),1)]),_:1})],2),s("li",{class:r({active:o.activeRoute==="compared"})},[l(a,{to:"/user/compared",onClick:e[6]||(e[6]=d=>i.goingNext("/user/compared"))},{default:n(()=>[u(c(t.$t("accountLayout.comparedList")),1)]),_:1})],2)]),s("div",C,[k(t.$slots,"rightArea")])])])}const h=v(y,[["render",x]]);export{h as default};
