import{u as v}from"./links.96ffe3f0.js";import{t as h}from"./html.51334e3e.js";import{B as y}from"./Img.763f078b.js";import{C as S}from"./Caret.b5c2e4ec.js";import{S as b}from"./Profile.6dd34133.js";import{r as n,o as c,c as l,a as e,g as r,x as s,n as k,b as x,e as I,B,L as C,M as N}from"./vue.runtime.esm-bundler.f433d23f.js";import{_ as V}from"./_plugin-vue_export-helper.3febc96a.js";const w={setup(){return{rootStore:v()}},components:{BaseImg:y,CoreLoader:S,SvgDannieProfile:b},props:{description:{type:String,required:!0},image:String,loading:{type:Boolean,default:!1},title:{type:String,required:!0}},data(){return{images:{}}},computed:{appName(){return"All in One SEO"},date(){const o=new Date;return o.toLocaleString("default",{month:"long"})+" "+o.getDate()},isVerticalImage(){const o=this.images[this.image];return o?o.vertical:!1}},methods:{truncate:h}},d=o=>(C("data-v-55e2045a"),o=o(),N(),o),L={class:"aioseo-facebook-preview"},A={class:"facebook-post"},D={class:"facebook-header"},P={class:"profile-photo"},q={class:"poster"},E={class:"poster-name"},F={class:"poster-date"},O=d(()=>e("div",{class:"ellipsis"},[e("div"),e("div"),e("div")],-1)),R={key:0,class:"loader"},z={class:"facebook-site-description"},M={class:"site-domain"},T={class:"site-title"},U={class:"site-description"},j=d(()=>e("div",{class:"facebook-footer"},null,-1));function G(o,i,a,_,u,t){const p=n("svg-dannie-profile"),m=n("base-img"),f=n("core-loader");return c(),l("div",L,[e("div",A,[e("div",D,[e("div",P,[r(p)]),e("div",q,[e("div",E,s(t.appName),1),e("div",F,s(t.date),1)]),O]),e("div",{class:k(["facebook-content",{vertical:t.isVerticalImage}])},[r(m,{debounce:!1,src:a.image,onImages:i[0]||(i[0]=g=>u.images=g),class:"facebook-content__image"},null,8,["src"]),a.loading?(c(),l("div",R,[r(f)])):x("",!0),e("div",z,[e("div",M,[I(o.$slots,"site-url",{},()=>[B(s(_.rootStore.aioseo.urls.domain),1)],!0)]),e("div",T,s(t.truncate(a.title,60)),1),e("div",U,s(t.truncate(a.description,110)),1)])],2),j])])}const Z=V(w,[["render",G],["__scopeId","data-v-55e2045a"]]);export{Z as C};
