1import d from"./Paging.Codo259r.js";import{_ as u}from"./index.VRUltArI.js";import{e as _}from"./vendor-vuetify.Dvtop9lb.js";import{c as r,z as t,B as h,g as v,j as f,s as P,F as k,l as b,W as B,b as a}from"./vendor-vue.DQyCMu5a.js";import{b3 as c}from"./vendor-misc.DlM92jT6.js";import"./vendor-axios.B9ygI19o.js";import"./vendor-moment.C5S46NFB.js";import"./vendor-quill.BiOiM682.js";import"./vendor-date-io.C_LH91PS.js";import"./vendor-maps.B8dKhpM0.js";/* empty css */const L="/images/info.png",y={name:"HairLossBlogPopup",components:{Paging:d},emits:["closePopup"],data(){return{list:[],totalCnt:0,pageNo:1,pageSize:5}},mounted(){this.getHairLossBlogList()},methods:{closePopup(){this.$emit("closePopup","hairlossBlog")},stripHtml(o){if(!o)return"";const s=document.createElement("div");return s.innerHTML=o,(s.textContent||s.innerText||"").trim()},getHairLossBlogList(){const o={page:this.pageNo,blockPage:this.pageSize},s={success:e=>{e.code==="S"&&(this.list=e.list.map(p=>({...p,plainDescription:this.stripHtml(p.description)})),this.totalCnt=e.totalCnt)},error:e=>{console.log("blog-list-error:",e)}};this.$api.chat.getHairLossBlogList(o,s)},formatPubDate(o){return o?o.split(" ")[0]:""},onActivePage(o){this.pageNo=o,this.getHairLossBlogList()}}},C={class:"popup-wrap"},H={class:"popup video",role:"dialog","aria-modal":"true"},N={class:"pop-head"},x={class:"pop-body"},z={class:"popup-list"},D={key:0},S={class:"item-header"},V={class:"item-title"},A={class:"item-times"},I={class:"item-summary"},T={class:"item-actions"},E=["href"],F={key:1,class:"popup-item"};function j(o,s,e,p,i,l){const m=B("paging");return a(),r("div",C,[t("div",H,[t("div",N,[s[1]||(s[1]=t("span",{class:"title"},[t("img",{src:L,alt:"titleIcon"}),h("í모 ë¸ë¡ê·¸")],-1)),t("button",{type:"button",class:"popup-close",onClick:s[0]||(s[0]=n=>l.closePopup())},[v(_,{icon:"mdi:mdi-close"})])]),t("div",x,[t("div",z,[i.list.length>0?(a(),r("div",D,[(a(!0),r(k,null,b(i.list,(n,g)=>(a(),r("div",{key:g,class:"popup-item",translate:"yes"},[t("div",S,[t("h4",V,c(n.title),1),t("span",A,c(l.formatPubDate(n.pubDate)),1)]),t("p",I,c(n.plainDescription),1),t("div",T,[t("a",{target:"_blank",href:n.link,class:"btn-link"},"ë¸ë¡ê·¸ìì íì¸í기",8,E)])]))),128))])):(a(),r("div",F,s[2]||(s[2]=[t("p",{class:"item-summary"},"ë¸ë¡ê·¸ì ê¸ì´ ììµëë¤.",-1)]))),i.totalCnt>0?(a(),f(m,{key:2,"cur-page-no":i.pageNo,"total-cnt":i.totalCnt,"page-size":i.pageSize,onActivePage:l.onActivePage,class:"mt-4"},null,8,["cur-page-no","total-cnt","page-size","onActivePage"])):P("",!0)])])])])}const X=u(y,[["render",j],["__scopeId","data-v-4a9157c1"]]);export{X 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.