import{_ as v,a as x,b as T,c as y}from"./BfPjfeWt.js";import{_ as N}from"./DxB0DKYp.js";import{u as k}from"./BZ7f31ti.js";import{u as w,p as H,c,b as s,a as o,e as t,t as i,w as A,o as r,d as L,m as B}from"./BKiFavna.js";import{u as V}from"./BYRNlgE9.js";import{u as $}from"./BOqT4ZDK.js";import{_ as C}from"./DlAUqK2U.js";import"./DKzHUNYh.js";const D={"data-theme":"light"},I={id:"main-content",role:"main"},M={class:"container cms-page"},E={key:0},F={class:"page-title"},R={class:"breadcrumb"},S=["innerHTML"],j={key:1,class:"loading"},q={__name:"about",async setup(z){let _,p;const{lang:a}=w(),{api:m}=k(),{data:d}=([_,p]=H(()=>V("page-about",()=>m.get("/pages/about").catch(()=>({data:{}})))),_=await _,p(),_),e=B(()=>d.value?.data?.page||null);return $(()=>{const n=e.value;return n?{title:a.value==="bn"?n.meta_title_bn||n.title_bn:n.meta_title_en||n.title_en||n.title_bn,meta:[{name:"description",content:a.value==="bn"?n.meta_description_bn:n.meta_description_en}]}:{title:"About"}}),(n,l)=>{const u=v,b=x,h=T,f=N,g=y;return r(),c("div",D,[s(u),s(b),s(h),o("main",I,[o("div",M,[t(e)?(r(),c("div",E,[o("h1",F,i(t(a)==="bn"?t(e).title_bn:t(e).title_en||t(e).title_bn),1),o("div",R,[s(f,{to:"/"},{default:A(()=>[L(i(t(a)==="bn"?"হোম":"Home"),1)]),_:1}),l[0]||(l[0]=o("span",null," › ",-1)),o("span",null,i(t(a)==="bn"?t(e).title_bn:t(e).title_en||t(e).title_bn),1)]),o("div",{class:"page-content",innerHTML:t(a)==="bn"?t(e).content_bn:t(e).content_en||t(e).content_bn},null,8,S)])):(r(),c("div",j,[o("p",null,i(t(a)==="bn"?"লোড হচ্ছে...":"Loading..."),1)]))])]),s(g)])}}},X=C(q,[["__scopeId","data-v-629ed607"]]);export{X as default};
