import{_ as g}from"./BlogLayout.vue_vue_type_script_setup_true_lang-CjfkGBtk.js";import{d as y,G as f,c as s,o,a as h,b as t,j as l,h as a,x as i,a5 as p,f as _,t as m,u as k,m as w,F as c,p as N}from"./app-DJb_CRLj.js";import"./simplebar.min-CZ5saGqI.js";import"./debounce-CDPmhVE8.js";/* empty css                          *//* empty css            *//* empty css             */import"./useToastify-DqLaHt3f.js";import"./AdminNavigation.vue_vue_type_script_setup_true_lang-BfIfENbj.js";import"./useRandomStr-7r5tQ8Eq.js";import"./useHexToRgb-Crf73LpK.js";const $=["href"],b=["content"],B=["content"],C=["content"],V=["content"],v=["content"],F=["content"],j=["content"],D=["content"],I=["content"],U=["content"],E=["content"],G={class:"d-none"},P=y({layout:g,__name:"Index",props:{components:{},seo:{}},setup(u){const d=f(u.components);return(e,n)=>(o(),s(c,null,[h(k(w),null,{default:l(()=>[t("link",{rel:"canonical",href:e.seo.canonical!=null&&e.seo.canonical!=""?e.seo.canonical:e.$page.props.currentUrl},null,8,$),e.seo.description!=null?(o(),s("meta",{key:0,name:"description",content:e.seo.description},null,8,b)):a("",!0),t("meta",{name:"author",content:e.$page.props.appName},null,8,B),e.seo.title!=null?(o(),s("meta",{key:1,property:"og:title",content:e.seo.title},null,8,C)):a("",!0),e.seo.description!=null?(o(),s("meta",{key:2,property:"og:description",content:e.seo.description},null,8,V)):a("",!0),t("meta",{property:"og:url",content:e.$page.props.currentUrl},null,8,v),t("meta",{property:"og:image",content:e.$page.props.appFavicon},null,8,F),n[0]||(n[0]=t("meta",{property:"og:type",content:"blog"},null,-1)),t("meta",{property:"og:site_name",content:e.seo.site_name},null,8,j),n[1]||(n[1]=t("meta",{property:"og:locale",content:"fa_IR"},null,-1)),n[2]||(n[2]=t("meta",{name:"twitter:card",content:"summary_large_image"},null,-1)),t("meta",{name:"twitter:site",content:e.route("blog.index")},null,8,D),t("meta",{name:"twitter:creator",content:e.$page.props.appName},null,8,I),e.seo.title!=null?(o(),s("meta",{key:3,name:"twitter:title",content:e.seo.title},null,8,U)):a("",!0),e.seo.description!=null?(o(),s("meta",{key:4,name:"twitter:description",content:e.seo.description},null,8,E)):a("",!0),n[3]||(n[3]=t("meta",{name:"robots",content:"index, follow"},null,-1)),e.seo.schema!=null?(o(),i(p("script"),{key:5,type:"application/ld+json"},{default:l(()=>[_(m(e.seo.schema),1)]),_:1})):a("",!0)]),_:1}),t("h1",G,m(e.$page.props.appName),1),(o(!0),s(c,null,N(d,r=>(o(),i(p(r.component),{key:r.id,component_id:r.id,data:r.data,status:"prod"},null,8,["component_id","data"]))),128))],64))}});export{P as default};
