PageSourceSearch

https://korfin.kr/assets/NewsList-B1fuUjPu.js

js korfin.kr collected 2026-10-08 08:12:01 UTC 2,476 bytes, 1 lines download raw bytes

1import{D as v}from"./DataEmpty-CwY6Lrq4.js";import{T as y}from"./TopPinTag-q3Q3NP46.js";import{i as b}from"./img_nodata-Bkpj-X6S.js";import{h as f}from"./highlight-DjVaM0J2.js";import{_ as k,f as h,o as s,c as i,a as m,n as w,F as p,m as T,h as o,p as l,G as I,t as u}from"./index-CVcpmTxc.js";const L={name:"NewsList",components:{DataEmpty:v,TopPinTag:y},props:{list:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},appliedKeyword:{type:String,default:""}},emits:["go-detail","search-author"],setup(){return{imgNodata:b}},watch:{list(){this.$nextTick(this.observeItems)}},mounted(){this._revealObserver=new IntersectionObserver((a,r)=>{a.forEach((t,n)=>{t.isIntersecting&&(t.target.style.animationDelay=`${n%8*110}ms`,t.target.classList.add("is-visible"),r.unobserve(t.target))})},{threshold:.15,rootMargin:"0px 0px -5% 0px"}),this.observeItems()},beforeUnmount(){this._revealObserver?.disconnect()},methods:{observeItems(){this.$el.querySelectorAll?.(".reveal-item").forEach(a=>this._revealObserver?.observe(a))},hl(a){return f(a,this.appliedKeyword)}}},C=["onClick"],D={class:"item-body"},E={class:"title-row"},N=["title","innerHTML"],x=["title","innerHTML"],M={class:"item-meta"},B=["title","onClick"],H={class:"item-date"},O={key:0,class:"item-thumb"},K=["src","alt"];function P(a,r,t,n,S,c){const _=h("DataEmpty"),g=h("TopPinTag");return s(),i("div",null,[t.loading||!t.list.length?(s(),m(_,{key:0,loading:t.loading,"applied-keyword":t.appliedKeyword},null,8,["loading","applied-keyword"])):(s(),i("ul",{key:1,class:w(["news-list",{"is-loading":t.loading}])},[(s(!0),i(p,null,T(t.list,e=>(s(),i("li",{key:e.bbsId,class:"news-item reveal-item",onClick:d=>a.$emit("go-detail",e.bbsId)},[o("div",D,[o("div",E,[o("p",{class:"item-title",title:e.title,innerHTML:c.hl(e.title)},null,8,N),e.top?(s(),m(g,{key:0,class:"pin-tag"})):l("",!0)]),e.desc?(s(),i("p",{key:0,class:"item-desc",title:e.desc,innerHTML:c.hl(e.desc)},null,8,x)):l("",!0),o("span",M,[e.author?(s(),i(p,{key:0},[o("button",{type:"button",class:"item-author",title:e.author,onClick:I(d=>a.$emit("search-author",e.author),["stop"])},u(e.author),9,B),r[1]||(r[1]=o("span",{class:"item-meta-sep","aria-hidden":"true"},"|",-1))],64)):l("",!0),o("span",H,u(e.regDt),1)])]),e.imgUrl?(s(),i("div",O,[o("img",{src:e.imgUrl,alt:e.title,onError:r[0]||(r[0]=d=>d.target.src=n.imgNodata)},null,40,K)])):l("",!0)],8,C))),128))],2))])}const q=k(L,[["render",P],["__scopeId","data-v-c9dc3959"]]);export{q as N};

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.