import{_ as p}from"./DxB0DKYp.js";import{u,o as l,c as r,a as e,t as o,e as s,b as g,w as b,d as m,m as h}from"./BKiFavna.js";import{D as f}from"./COSXZqlt.js";import{_ as v}from"./DlAUqK2U.js";const x={key:0},L={class:"page-title"},k={class:"breadcrumb"},w=["innerHTML"],y={key:1,class:"loading"},T={__name:"CmsPageView",props:{page:{type:Object,default:null}},setup(t){const a=t,{lang:n}=u(),d=h(()=>{if(!a.page)return"";const i=n.value==="bn"?a.page.content_bn:a.page.content_en||a.page.content_bn;return f.sanitize(i||"",{ALLOWED_TAGS:["p","br","b","i","em","strong","a","ul","ol","li","blockquote","code","pre","h2","h3","h4","img","figure","figcaption","table","thead","tbody","tr","th","td","span","div"],ALLOWED_ATTR:["href","src","alt","title","class","id","target","rel","width","height"]})});return(i,c)=>{const _=p;return t.page?(l(),r("div",x,[e("h1",L,o(s(n)==="bn"?t.page.title_bn:t.page.title_en||t.page.title_bn),1),e("div",k,[g(_,{to:"/"},{default:b(()=>[m(o(s(n)==="bn"?"হোম":"Home"),1)]),_:1}),c[0]||(c[0]=e("span",null," › ",-1)),e("span",null,o(s(n)==="bn"?t.page.title_bn:t.page.title_en||t.page.title_bn),1)]),e("div",{class:"page-content",innerHTML:d.value},null,8,w)])):(l(),r("div",y,[e("p",null,o(s(n)==="bn"?"লোড হচ্ছে...":"Loading..."),1)]))}}},V=v(T,[["__scopeId","data-v-5391a11b"]]);export{V as _};
