import{a as v,C as h}from"./index.4b887428.js";import{B as S}from"./Img.85371eb9.js";import{C as y}from"./Button.9a301412.js";import{S as b}from"./Profile.1de11420.js";import{_ as k}from"./_plugin-vue_export-helper.eefbdd86.js";import{a6 as n,o as c,c as l,_ as e,l as r,$ as s,ae as C,a4 as I,a3 as x,a7 as B,ah as N,ai as V}from"./runtime-core.esm-bundler.ce5add0b.js";const w={setup(){return{rootStore:v()}},components:{BaseImg:S,CoreLoader:y,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=>(N("data-v-d177735a"),o=o(),V(),o),A={class:"aioseo-facebook-preview"},D={class:"facebook-post"},L={class:"facebook-header"},P={class:"profile-photo"},q={class:"poster"},E={class:"poster-name"},O={class:"poster-date"},R=d(()=>e("div",{class:"ellipsis"},[e("div"),e("div"),e("div")],-1)),z={key:0,class:"loader"},F={class:"facebook-site-description"},T={class:"site-domain"},U={class:"site-title"},j={class:"site-description"},G=d(()=>e("div",{class:"facebook-footer"},null,-1));function H(o,i,a,_,u,t){const p=n("svg-dannie-profile"),m=n("base-img"),f=n("core-loader");return c(),l("div",A,[e("div",D,[e("div",L,[e("div",P,[r(p)]),e("div",q,[e("div",E,s(t.appName),1),e("div",O,s(t.date),1)]),R]),e("div",{class:C(["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",z,[r(f)])):I("",!0),e("div",F,[e("div",T,[x(o.$slots,"site-url",{},()=>[B(s(_.rootStore.aioseo.urls.domain),1)],!0)]),e("div",U,s(t.truncate(a.title,60)),1),e("div",j,s(t.truncate(a.description,110)),1)])],2),G])])}const Y=k(w,[["render",H],["__scopeId","data-v-d177735a"]]);export{Y as C};
