import{K as c,m as i,j as _,k as s,t as e,q as a,Z as m,l as d,w as l,_ as p}from"./BCLrUOBx.js";import{h as f}from"./zH0z38ay.js";import{u}from"./Bxmfm8sn.js";import h from"./Bvs3L9q-.js";import b from"./BnapQtOb.js";import"./CWalxxGV.js";const x={name:"StoreTile",data(){return{ajaxing:!1}},components:{FollowBtn:b,AjaxButton:h},props:{store:{type:Object}},mixins:[u],computed:{storeName(){var t;return(t=this.store)==null?void 0:t.name},storeDate(){var t;return f((t=this.store)==null?void 0:t.created_at).format("MMM DD, YYYY")}},methods:{},async mounted(){}},k={class:"store-info"},v={class:"btn-wrap"},w={class:"w-100"},B={class:"store-name"},$={class:"store-date"},j={class:"block"},D={class:"action-btn"};function N(t,S,n,Y,y,o){const r=p;return _(),i("div",k,[s("div",v,[s("div",w,[s("p",B,e(o.storeName),1),s("h6",$,[a(e(t.$t("store.memberSince"))+" ",1),s("b",j,e(o.storeDate),1)])]),s("div",D,[m(t.$slots,"followBtn"),d(r,{class:"visit-btn ajax-btn",to:t.storeLink(n.store)},{default:l(()=>[a(e(t.$t("store.visitStore")),1)]),_:1},8,["to"])])])])}const C=c(x,[["render",N]]);export{C as default};
