1import{_ as x}from"./BywkTk5F.js";import{_ as N}from"./mdYCa3Sz.js";import{_ as B}from"./DfYnkfWu.js";import{u as C,x as L,e as M,N as R,f as y,_ as H}from"./D5FAwWCd.js";import{u as S}from"./-pI9FhSw.js";import{V as d,a as c,b as i,c as r,d as u}from"./Bu5EdTVt.js";import{p as D,b as _,x as E,Q as p,R as v,U as t,z as e,Y as s,a4 as f,a1 as o,$ as b,a3 as j,F,a5 as P}from"./BjkNzLDZ.js";import"./BJz6k-k4.js";const Y={class:"text-h5 text-center font-weight-bold text-wrap w-100 w-md-75",style:{"line-height":"1.5"}},q={class:"text-h5 font-weight-bold mt-10"},A={class:"text-s-grey-2-p font-weight-bold mt-6"},G={class:"px-1"},O=["src","poster"],Q={class:"text-h5 font-weight-bold mb-8"},U=["innerHTML"],W=["innerHTML"],J={class:"text-h5 font-weight-bold"},X={class:"text-s-grey-2-p font-weight-bold mt-2"},Z={class:"pdf-preview-shell mb-4"},ee={class:"d-flex align-center mb-4"},te={class:"text-right"},se={class:"font-weight-bold text-s-grey-7"},ae={class:"text-caption text-s-grey-2-p mb-0"},oe={class:"text-body-2 text-s-grey-2-p font-weight-bold flex-grow-1"},le={class:"d-flex flex-wrap ga-2 mt-4"},ne="MTg=",w="/breastfeeding-pdfs/bg-cover.png",ie=D({__name:"sarem-breastfeeding",setup(re){const{locale:z}=C(),{request:$}=S(),k=L(),K=M({duration:800,offset:-300,easing:"easeInOutCubic"}),h=_(!1),l=_({key:"",category:"",lang:"",author:"",title:"",sub_title:"",photo:"",short_description:"",video:"",description:""}),m=_(null),V=[{titleKey:"pdf_section.items.healthy_generation.title",descriptionKey:"pdf_section.items.healthy_generation.description",file:"/breastfeeding-pdfs/healthy-generation-breastmilk.pdf",previewImage:"/breastfeeding-pdfs/healthy-generation-cover.png",downloadName:"nesli-salem-ba-shire-madar.pdf",sizeKey:"pdf_section.items.healthy_generation.size"},{titleKey:"pdf_section.items.consultants_info.title",descriptionKey:"pdf_section.items.consultants_info.description",file:"/breastfeeding-pdfs/iran-university-lactation-consultants.pdf",previewImage:"/breastfeeding-pdfs/consultants-info-cover.png",downloadName:"moshaverin-shirdehi-iriums.pdf",sizeKey:"pdf_section.items.consultants_info.size"}];async function T(){try{h.value=!0;const a=await $("primary",`/news/show?key=${ne}&lang=${z.value}`);if(a.error)return R(k("/"));l.value=a.data}catch(a){console.error(a)}finally{h.value=!1}}return E(()=>{T(),K(m.value)}),(a,g)=>(p(),v(d,{fluid:""},{default:t(()=>[e(r,null,{default:t(()=>[e(c,{src:w,"lazy-src":w,cover:"",height:"700px",width:"100%","content-class":"d-flex align-center"},{default:t(()=>[e(i,{cols:"12",sm:"10",md:"8",lg:"6",xl:"4",class:"mx-auto mx-md-4"},{default:t(()=>[s("h5",Y,[f(o(a.$t("header"))+" ",1),g[0]||(g[0]=s("br",null,null,-1)),f(" "+o(a.$t("sub_header")),1)])]),_:1})]),_:1})]),_:1}),e(r,{class:"pa-0 position-relative",style:{top:"-250px"}},{default:t(()=>[e(d,{class:"position-relative",style:{top:"300px"}},{default:t(()=>[e(r,{class:"flex-column position-relative overflow-hidden"},{default:t(()=>[e(i,{cols:"12",md:"10",lg:"8",xl:"6",class:"text-center mx-auto",style:{"z-index":"2"}},{default:t(()=>[s("div",{ref_key:"contentRef",ref:m},[s("h4",q,o(l.value.title),1),s("p",A,[s("span",null,o(a.$t("written_by")),1),s("span",G,o(l.value.author),1),s("span",null,o(l.value.created_at),1)])],512)]),_:1}),e(i,{cols:"12",xl:"8",class:"mx-auto pa-0 mt-16 mb-4",style:{"z-index":"2"}},{default:t(()=>[e(u,{class:"rounded-xl d-flex flex-wrap"},{default:t(()=>[l.value.video?(p(),b("video",{key:0,src:l.value.video,poster:l.value.photo,controls:"",preload:"metadata",playsinline:"",class:"w-100",style:{"max-height":"700px"}},null,8,O)):(p(),v(c,{key:1,src:l.value.photo,"lazy-src":l.value.photo,cover:"","max-height":"700px"},null,8,["src","lazy-src"]))]),_:1})]),_:1})]),_:1})]),_:1}),e(i,{cols:"12",class:"pa-0 position-relative",style:{top:"100px","z-index":"1"}},{default:t(()=>[e(c,{src:x,"lazy-src":x,alt:"ipd_1","min-height":"900px","content-class":"d-flex align-center justify-center w-100",cover:""},{default:t(()=>[e(i,{cols:"12",md:"10",lg:"8",class:"d-flex flex-wrap align-center text-center mx-auto"},{default:t(()=>[e(i,{cols:"12",class:"text-black"},{default:t(()=>
1[s("h4",Q,o(l.value.title),1),s("p",{class:"font-weight-bold text-center",innerHTML:l.value.short_description},null,8,U)]),_:1})]),_:1})]),_:1})]),_:1}),e(d,{class:"position-relative",style:{top:"130px"}},{default:t(()=>[e(r,null,{default:t(()=>[e(i,{cols:"12",class:"mx-auto"},{default:t(()=>[e(u,{class:"rounded-xl border border-custom bg-s-blue-2-dark elevation-6 pa-6 mt-10 text-center"},{default:t(()=>[s("div",{class:"news-description text-body-1 text-justify",innerHTML:l.value.description},null,8,W)]),_:1})]),_:1})]),_:1})]),_:1}),e(d,{class:"position-relative breastfeeding-pdf-section",style:{top:"150px"}},{default:t(()=>[e(r,null,{default:t(()=>[e(i,{cols:"12",class:"text-center mb-4"},{default:t(()=>[s("h4",J,o(a.$t("pdf_section.title")),1),s("p",X,o(a.$t("pdf_section.subtitle")),1)]),_:1}),(p(),b(F,null,j(V,(n,I)=>e(i,{key:n.file,cols:"12",md:"6",class:"pdf-col",style:P({animationDelay:`${I*120}ms`})},{default:t(()=>[e(u,{class:"pdf-card rounded-xl border border-custom bg-s-blue-2-dark pa-4 h-100 d-flex flex-column overflow-hidden"},{default:t(()=>[s("div",Z,[e(c,{src:n.previewImage,"lazy-src":n.previewImage,height:"100%",class:"rounded-xl pdf-preview",contain:""},null,8,["src","lazy-src"])]),s("div",ee,[s("div",te,[s("h5",se,o(a.$t(n.titleKey)),1),s("p",ae,o(a.$t(n.sizeKey)),1)])]),s("p",oe,o(a.$t(n.descriptionKey)),1),s("div",le,[e(y,{href:n.file,target:"_blank",rel:"noopener noreferrer",variant:"tonal",color:"dark",class:"pdf-action-btn rounded-pill px-5"},{default:t(()=>[f(o(a.$t("pdf_section.view_online")),1)]),_:2},1032,["href"]),e(y,{href:n.file,download:n.downloadName,variant:"flat",color:"s-yellow-100",class:"pdf-action-btn pdf-action-btn-outline rounded-pill px-5"},{default:t(()=>[f(o(a.$t("pdf_section.download_file")),1)]),_:2},1032,["href","download"])])]),_:2},1024)]),_:2},1032,["style"])),64))]),_:1})]),_:1}),e(B,{class:"position-relative",style:{top:"200px"}}),e(N,{class:"position-relative",style:{top:"250px"}})]),_:1})]),_:1}))}}),ge=H(ie,[["__scopeId","data-v-a381b7a9"]]);export{ge as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.